分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 L  }& j" P" X. v  r( ~; R1 d9 U5 @: d9 Z5 j) T
  1. [PHP]6 g$ C7 `/ Y1 z
  2. 4 I5 r  g; |' [' l+ C  K+ o
  3. ;;;;;;;;;;;;;;;;;;;3 e; ^8 E( I; o9 y) u6 w5 M
  4. ; About php.ini   ;* a' @3 G5 y/ }# c$ ~8 l( K
  5. ;;;;;;;;;;;;;;;;;;;
    # \8 X/ ~% l7 q
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 R0 I3 M: U) h' W* b% R9 [; x) N
  7. ; configuring many of the aspects of PHP's behavior.
    ( c, \" l/ f7 @, R$ G
  8. / Z- N3 Q% s% O2 ]& X& N* }/ r
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # k, U' J9 A0 k
  10. ; The following is a summary of its search order:
    4 K; \9 ^' [5 f* G$ j0 u6 I
  11. ; 1. SAPI module specific location.
    3 i. l* A5 R, _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    & K$ I6 R. q7 r, W5 m9 J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & D. k- u2 q; m0 G0 D4 R9 _
  14. ; 4. Current working directory (except CLI)/ t0 T# F1 t3 N) O4 c" ^
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP" D0 c+ P# D# x; k
  16. ; (otherwise in Windows)
    6 O7 R8 c* D8 L
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ [6 r4 E* m! Q; k+ L
  18. ; Windows directory (C:\windows or C:\winnt): j" o' o8 R! ~  n( @6 |# P: V: g
  19. ; See the PHP docs for more specific information.
    / f; a" z: g- d5 E
  20. ; http://php.net/configuration.file
    5 \2 ~  X) C, r) S/ D! o6 ^* Q% y8 c  x
  21. ' c  n- w( h8 {6 }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 n2 h6 s2 ^( T0 [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ( p9 f# `) X) T. m7 H! ~6 R" u3 f- C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 _, z$ y, Z1 Q+ Q* G: Z  s# f% O
  25. ; they might mean something in the future.( C8 ^+ ~$ a& k8 `6 G( D
  26. * X! \6 T' K4 d. Q8 I9 h5 L4 H( K
  27. ; Directives following the section heading [PATH=/www/mysite] only8 Y) M$ Y: J: |5 `8 q3 k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 W1 A& a% p. U: ]
  29. ; following the section heading [HOST=www.example.com] only apply to" B! [& W( H$ r0 z- F6 G9 g$ Z# B
  30. ; PHP files served from www.example.com.  Directives set in these
    % Y& s* d: x6 D" ^
  31. ; special sections cannot be overridden by user-defined INI files or
    # _6 ^0 N& Y  Q" N& H0 J8 t: e; [0 G
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under! b( W/ _7 l* n) A2 P+ v  c
  33. ; CGI/FastCGI.. }4 D4 n9 s& G: L
  34. ; http://php.net/ini.sections
    ! p9 c3 P4 k3 k3 [) ~
  35. 0 [7 k# o- s! R; \' T! o; k
  36. ; Directives are specified using the following syntax:0 P# N7 [) c: p: _
  37. ; directive = value
    1 k7 v' g# ]+ q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 t: k# {; B# l3 S- l, k, j' X
  39. ; Directives are variables used to configure PHP or PHP extensions.# B; Y4 o4 s* J# w* s
  40. ; There is no name validation.  If PHP can't find an expected' W; Q$ c8 P+ ~' L8 l
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " x' V3 q- ]& k4 Y
  42. + R: X* P: v% A0 j$ o
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' g+ J; ]2 |2 i! M  o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" z1 D5 Y. Y7 {+ B2 G. k; L
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + y9 B9 ^! c9 B  g
  46. ; previously set variable or directive (e.g. ${foo})% H8 m) m0 ]( c; g- N$ U  A

  47. 4 B* |0 e* w8 t& x5 j7 u! Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 G! x" Z& m% f3 G* G& j
  49. ; |  bitwise OR9 F8 F9 P9 z; G
  50. ; ^  bitwise XOR
    : Y9 p5 P# d8 s8 w9 V& d  M8 Z
  51. ; &  bitwise AND
    * e! J% H; k* U/ X& U) d0 s
  52. ; ~  bitwise NOT1 d: e! l( f- L) v( O/ [# z
  53. ; !  boolean NOT
    % L0 A! [4 q2 i$ R7 E4 o1 ^
  54. ' ^. e) r2 u7 t+ k# c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; E+ P- g; g/ X8 K$ l3 t
  56. ; They can be turned off using the values 0, Off, False or No.
    % f# D9 G" `! S/ Q& v: Q
  57.   Q/ T( N' D7 B2 }2 ^" H2 \* N
  58. ; An empty string can be denoted by simply not writing anything after the equal! |0 X% z# c' Q7 E
  59. ; sign, or by using the None keyword:/ V1 Y* Z. O: Z  E2 c& }
  60. ( K: }6 S3 t8 f  `. i
  61. ;  foo =         ; sets foo to an empty string/ T" q) K4 ^3 d  ~0 i- N- |# q
  62. ;  foo = None    ; sets foo to an empty string
    + p- a/ W0 M: ~' s& C1 M
  63. ;  foo = "None"  ; sets foo to the string 'None'
    " Z) |/ p7 `+ d" Z! q
  64. 7 c2 V9 A5 c: T( s4 l7 ?) ~
  65. ; If you use constants in your value, and these constants belong to a
    ! T5 k+ _8 L) X# s1 V, h
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( Q: D) }$ j: x9 @4 ?( X3 W5 e8 ?
  67. ; you may only use these constants *after* the line that loads the extension.
    7 a- ]; M! _' y' B
  68. * _# p  E4 R6 G3 N0 F9 |
  69. ;;;;;;;;;;;;;;;;;;;- f+ e+ p& S6 C8 e7 P
  70. ; About this file ;
    4 p5 `: u0 {& d: f6 C
  71. ;;;;;;;;;;;;;;;;;;;. b0 t' s) Q$ A3 k/ i
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 M: v# o7 y8 c' S/ {8 f6 l
  73. ; in production environments and one that is recommended to be used in( F* R9 c" v( p& a
  74. ; development environments.
    % n; v2 }  \. S: I2 S( C' S
  75. , G+ m' B, L0 @+ r6 V2 H
  76. ; php.ini-production contains settings which hold security, performance and
    9 N5 P/ C# o0 `9 _- {' q
  77. ; best practices at its core. But please be aware, these settings may break% R( X6 k0 C5 M- a! K+ N
  78. ; compatibility with older or less security conscience applications. We
    % m) \3 e$ j4 k1 F  A* {3 ]0 f
  79. ; recommending using the production ini in production and testing environments.
    - K, S' y  Z; p! X- B7 o7 N

  80. 2 h- s1 {1 I* j- S6 f+ F
  81. ; php.ini-development is very similar to its production variant, except it is
    / u9 L& S# U+ B
  82. ; much more verbose when it comes to errors. We recommend using the) i; ]  t9 U- R8 u  n
  83. ; development version only in development environments, as errors shown to+ ^& o+ J3 Z% v
  84. ; application users can inadvertently leak otherwise secure information.
    0 p1 E  N9 q9 [6 |0 B
  85. / E# z* \0 u) K6 s8 V# X9 W8 A
  86. ; This is php.ini-production INI file.+ W$ c4 Q. T5 z0 O8 S

  87. 9 e! d$ @2 ?" _/ t/ h, M
  88. ;;;;;;;;;;;;;;;;;;;
    ; H# A$ g* K& a0 Q  U
  89. ; Quick Reference ;
    $ Z0 @& t! Q0 x% S7 M: a
  90. ;;;;;;;;;;;;;;;;;;;
    ; ?: {/ `2 I- j& V
  91. ; The following are all the settings which are different in either the production7 i5 M1 l' H. l" a$ o; H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % }* B# c" ]! a1 ?% j7 n
  93. ; Please see the actual settings later in the document for more details as to why- V* Z3 H, \1 I! U4 j
  94. ; we recommend these changes in PHP's behavior.7 I5 l+ |9 h: k3 v, O
  95. 4 X+ `8 y2 B# J' o! g9 h
  96. ; display_errors2 a5 C* }$ _: v' Z2 o) b4 i$ ?
  97. ;   Default Value: On
    , L1 f' h2 T8 o! p& c5 G! \( `
  98. ;   Development Value: On* L% X  k" r/ A4 s( ?
  99. ;   Production Value: Off
    0 }; w  u+ [' x5 j& `: L1 ^6 d
  100. 7 z% t. F! S+ k4 A
  101. ; display_startup_errors7 I. j1 ^6 [6 {2 C% m  e" Q
  102. ;   Default Value: Off
      [& h- @/ |& o* V) G4 f. ]1 n
  103. ;   Development Value: On, `0 ?6 C2 B3 l$ s) e3 B; n
  104. ;   Production Value: Off# r3 D5 J; O6 H. I
  105. $ v! \: {+ n9 O# g, L
  106. ; error_reporting
    ; t+ K# s( G8 i$ {! T. g# }
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 J" W3 O7 Y2 w
  108. ;   Development Value: E_ALL, |% ~2 b) ?# R, u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / B1 K* z% y5 u3 J, L: y& G
  110. # |! q# o6 x/ P# S
  111. ; html_errors! e/ {; y1 t9 Z0 X
  112. ;   Default Value: On
    8 A, _7 [% G% Q/ o# K
  113. ;   Development Value: On
    4 M) Q1 q3 c3 k. k
  114. ;   Production value: On
    $ i& B  ^! U' b  s3 ^$ v0 L, |
  115. / l$ A* f" e# x- g* Z
  116. ; log_errors' Q. g& p/ G2 D# j& b
  117. ;   Default Value: Off% L: E+ ~( l7 V9 P0 H/ ~- C
  118. ;   Development Value: On
    # G) S7 R7 Q9 D- d9 G- ?2 g
  119. ;   Production Value: On
    ( d2 x# ^! x' t. c8 \  o

  120. ! u) n& e2 ?4 c, C: J
  121. ; max_input_time; f( f+ S% b4 Q3 @) \. E# I
  122. ;   Default Value: -1 (Unlimited)- S  F" L; T3 Q7 X( b1 z
  123. ;   Development Value: 60 (60 seconds)1 M+ `& b$ W: G" t: s+ ]3 z1 l
  124. ;   Production Value: 60 (60 seconds)4 a/ a0 U: W0 c2 \

  125. 2 H7 n  w) d! C& \  F
  126. ; output_buffering
    , C: U/ T0 c; G- X# \  C: J+ O
  127. ;   Default Value: Off6 K! }* p2 I3 G( `4 _
  128. ;   Development Value: 4096: N! ^$ Q& Y  E1 {4 N- o5 ?8 M
  129. ;   Production Value: 4096* x# G7 n3 y0 k/ P
  130. , X1 o+ R. c* o3 G0 b
  131. ; register_argc_argv8 g6 r9 i' }8 U. m# D
  132. ;   Default Value: On
    & O$ D- |# }0 _( m+ A% |1 P6 S
  133. ;   Development Value: Off) g3 {! _+ L' H% [/ Q5 A
  134. ;   Production Value: Off
    9 W+ N6 g; r3 L8 u. o. V0 ^

  135. 3 M% |+ h, Z  v2 I0 r) p
  136. ; request_order' p; j/ D% f) f: |( A
  137. ;   Default Value: None
    ( \3 X$ Y2 l) d0 b1 ~- m  z
  138. ;   Development Value: "GP"
    0 O0 @# R7 M( d# Y
  139. ;   Production Value: "GP"' ?# s0 \. `4 k4 p
  140. 0 |# _, d- n6 ]% W% Z1 f/ f( ~
  141. ; session.gc_divisor
    4 t: W8 a' i! O8 g6 [
  142. ;   Default Value: 100
    ; d& S, s+ _+ P7 {
  143. ;   Development Value: 10002 S  Y$ j( m4 \
  144. ;   Production Value: 1000# b/ Z. n5 D; o! e; L" a

  145. $ R  O) J. S5 [0 {8 i
  146. ; session.hash_bits_per_character) N8 z8 m& b7 M
  147. ;   Default Value: 4& ^+ j+ p5 N( N9 v
  148. ;   Development Value: 57 B0 g' F  m5 K
  149. ;   Production Value: 5- v1 G3 x+ f4 F8 |
  150. * m4 h) X2 S- O: ^$ j
  151. ; short_open_tag
    9 e' {# o, t" F& K) S: d
  152. ;   Default Value: On, E7 \% y) y7 y
  153. ;   Development Value: Off& B" n' z$ p; C" v4 d1 A
  154. ;   Production Value: Off$ I3 g' ]9 y" V. \' }7 U

  155. 0 w* o4 [- t, W
  156. ; track_errors/ Z0 E2 s4 d# a( |  Z" c2 Q
  157. ;   Default Value: Off
    & X, A$ }4 m; _' V* M
  158. ;   Development Value: On1 Q+ w4 ^! f8 ]- l! t( C
  159. ;   Production Value: Off7 N/ G+ h! m5 ]2 Q
  160. , |+ |& H4 d2 Y# ^/ N
  161. ; url_rewriter.tags
    6 I9 H0 z; ]# A# r: o  _; S
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 ]. v, s, t% M# X( W$ I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; t; g* R& ?& `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " F9 G2 z) e0 L6 q! ]( e7 m

  165. # o# T2 n+ K2 D0 Q+ `
  166. ; variables_order
    4 S: C/ w% U5 ?: \% S* q9 |" f
  167. ;   Default Value: "EGPCS"0 ~1 F9 O0 X' F1 ~* _) w: B5 p
  168. ;   Development Value: "GPCS"1 A3 Z0 f( J2 d7 e1 D7 X& z
  169. ;   Production Value: "GPCS"
    : J6 X4 Z; z% K. `/ k' m, [
  170. , u  q! u8 p2 T6 q. l( o' D
  171. ;;;;;;;;;;;;;;;;;;;;
    2 p- P9 y$ b6 `& s- U4 @4 |
  172. ; php.ini Options  ;
    3 u, l. K7 X$ N; N$ E
  173. ;;;;;;;;;;;;;;;;;;;;- V; N1 ]. L, v. _8 i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"8 s9 p8 P, J9 O: v: ?$ ^+ o6 u! ?
  175. ;user_ini.filename = ".user.ini"4 t' ?% ~  c( w( L, [

  176. # \9 m) t; l9 a* g
  177. ; To disable this feature set this option to empty value9 ^9 P: `: {5 R- V' [) q
  178. ;user_ini.filename =
    1 Q* a4 P3 R) i1 f
  179. 0 z: A# t( Z( V* O2 B( G! R
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & Z4 w8 u" D) E  S8 x7 h% H
  181. ;user_ini.cache_ttl = 300( K) r- M! C' X: }% f
  182. . @" B1 J$ H; P: F* k# A
  183. ;;;;;;;;;;;;;;;;;;;;. c% T+ o' Z5 a
  184. ; Language Options ;
    " k8 c, Z- P4 A
  185. ;;;;;;;;;;;;;;;;;;;;: b' T, F( @1 ]% I% C  L

  186. 0 U, ~6 ~% N1 x) y- V; ]/ y
  187. ; Enable the PHP scripting language engine under Apache.
    7 G. [0 q' T/ u$ o4 c! ]: z
  188. ; http://php.net/engine
    6 `" v% y- A& b
  189. engine = On
    3 k. Q8 j7 T1 E' o; \
  190. ( V% q1 ~$ q0 k7 d$ B, H
  191. ; This directive determines whether or not PHP will recognize code between$ ~9 s2 b( [/ P; P
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    9 j9 n4 ]8 i6 A& R( p  r/ F& y$ n
  193. ; generally recommended that <?php and ?> should be used and that this feature! `4 G4 A: ]7 R2 F" c8 L5 q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 c$ \' q: U9 V8 Q
  195. ; documents, however this remains supported for backward compatibility reasons./ k+ k/ i, g3 Y- L- Q+ D
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      ^/ g. \+ ~) U* h; C
  197. ; used regardless of this directive.+ |3 l% ^+ \4 Y
  198. ; Default Value: On
    , t1 Y* x8 P/ _9 K3 ?1 f
  199. ; Development Value: Off
    1 N) c/ d- J1 L1 d5 R% @: m
  200. ; Production Value: Off
    7 |; Q* P( M0 C% P! e2 i
  201. ; http://php.net/short-open-tag+ Z5 `) B, q/ X' b. i
  202. short_open_tag = On- \  d$ ~5 o9 J6 i0 c# Y

  203. + C" _6 Y; ~, K1 h, f5 ?3 N+ O( G
  204. ; The number of significant digits displayed in floating point numbers.
    2 m0 V. g; y/ L& Y$ _8 l- M
  205. ; http://php.net/precision. K# ?5 U, ]0 B$ L
  206. precision = 14
    5 I+ \% e: A% h1 o4 [

  207. 5 O% G9 v! z( I# t  W. ^
  208. ; Output buffering is a mechanism for controlling how much output data
    3 l8 q6 {/ ?6 g& y/ a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that9 v. @: J5 d2 G" E' |" S  p  H6 f
  210. ; data to the client. If your application's output exceeds this setting, PHP. p8 j8 _+ o2 `6 f  ]9 n
  211. ; will send that data in chunks of roughly the size you specify.% D" ]; h2 |- u" N1 e3 i6 N9 O
  212. ; Turning on this setting and managing its maximum buffer size can yield some/ I- [# Q( h1 F# F5 L1 Y$ b
  213. ; interesting side-effects depending on your application and web server.
    ' F% L% B+ i) d1 @+ p0 s
  214. ; You may be able to send headers and cookies after you've already sent output. q% y2 m& Z2 g
  215. ; through print or echo. You also may see performance benefits if your server is
    6 ], v1 c/ o( d5 j+ q: Q
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    + X+ u( L7 Y2 H7 d/ t6 I& Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 C4 l9 k' t/ z& W8 Z/ Q/ c
  218. ; reasons.. w3 A2 {( i, v% n
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    + ~7 P! x/ D& u2 B" e2 h
  220. ;   functions.+ w; I! l, I$ t0 W
  221. ; Possible Values:' T! `9 e! e' n8 Z  T
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)2 R1 N3 u7 c( f- m7 Z/ N. L
  223. ;   Off = Disabled7 {5 ~# ^; f* x# d* c$ n6 n+ s! ^$ V
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.. s0 ]7 X- k) G5 O
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI4 s" e* N6 L' V7 R/ l
  226. ; Default Value: Off
    ; ?3 B4 D- ]9 l" g% d0 M: v+ m
  227. ; Development Value: 4096
    $ J' C# F% P) J
  228. ; Production Value: 4096! c1 p- e. I8 @9 n" D! n: e! v4 t
  229. ; http://php.net/output-buffering. C8 r9 Q2 q& g) @$ ^" E
  230. output_buffering = 4096+ h$ I" I% B# Z3 h# {% h# R+ L

  231. " c+ A: e6 w7 i3 v; e* c& z, m& V
  232. ; You can redirect all of the output of your scripts to a function.  For( i, T: C5 r% m. n, C
  233. ; example, if you set output_handler to "mb_output_handler", character- O) p7 p/ j8 v+ T8 |
  234. ; encoding will be transparently converted to the specified encoding.
    2 W; P8 k, z% t% t3 Y
  235. ; Setting any output handler automatically turns on output buffering.
    , Y. p7 N* q  L0 A* q
  236. ; Note: People who wrote portable scripts should not depend on this ini
    & i* V' b" G8 @4 U  I$ q$ Q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    8 J. T3 L3 t& U" \( }/ |
  238. ;   Using this ini directive may cause problems unless you know what script
    ) Y$ U) n5 P4 t3 ]
  239. ;   is doing.' M8 A7 k3 ?% X/ d, R* x
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"& n5 r, y9 i/ F& z
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"." \* x4 K8 q* w- K4 X" n+ n
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    / H; _* `4 y  e7 a0 P/ L
  243. ;   Instead you must use zlib.output_handler.
    $ m! d' }: t/ ~' N7 c1 E
  244. ; http://php.net/output-handler% W& z! G' h7 D) k- I
  245. ;output_handler =
    - J: o# |  P* g* Q) ?
  246. & {" s* [+ d3 R# u. `8 q
  247. ; Transparent output compression using the zlib library
    : o! m. J/ r& `/ s) X7 m: I
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size1 a0 t2 g& w' @* w# w7 |$ `
  249. ; to be used for compression (default is 4KB). V$ R; F8 z( Y
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 R; b. [8 J5 U' S% D9 X
  251. ;   outputs chunks that are few hundreds bytes each as a result of' y7 ~, h/ N" |0 I* O
  252. ;   compression. If you prefer a larger chunk size for better
    3 {1 B% Z- X' R+ \
  253. ;   performance, enable output_buffering in addition.
    & X/ z0 l4 r1 L* J2 x+ Q9 H/ q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    - A: `. [: M: e5 Q; M  H
  255. ;   output_handler, or otherwise the output will be corrupted.
    ) ]8 e, \* L* M* S
  256. ; http://php.net/zlib.output-compression8 Y; l  U5 g3 b  V$ l
  257. zlib.output_compression = Off
    $ `* s4 \/ m: `% N
  258. * f; F( i6 X/ h$ i+ v/ g; A' q
  259. ; http://php.net/zlib.output-compression-level1 N, X, n1 Z8 q
  260. ;zlib.output_compression_level = -1* [3 N- T1 W9 j/ c: \( }

  261. 2 n5 F3 @0 B# T7 Y
  262. ; You cannot specify additional output handlers if zlib.output_compression
    8 q: |9 V: L$ l" J6 J
  263. ; is activated here. This setting does the same as output_handler but in5 S7 S) ?  m2 v& I# y
  264. ; a different order.% K3 ?- A2 p. E3 w
  265. ; http://php.net/zlib.output-handler& q% F! x& G& I
  266. ;zlib.output_handler =0 d- ~; z3 j2 Z' D. z

  267. : j. Y' L; m" s# _  L- w% H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    . P( \* a) ?' I" C" G5 H. D% h+ @
  269. ; automatically after every output block.  This is equivalent to calling the- x8 q2 H) a- a6 G" F1 d7 D, d
  270. ; PHP function flush() after each and every call to print() or echo() and each  y9 j. J, d1 m$ Q
  271. ; and every HTML block.  Turning this option on has serious performance
    2 N  g) Y+ U5 w; v3 y9 d2 C3 k+ h1 C
  272. ; implications and is generally recommended for debugging purposes only.
    $ ]8 k) P6 R; ], L& O9 k. j* z, g
  273. ; http://php.net/implicit-flush
    0 X/ c$ A, {) |& ^! ]- V4 R' n  K
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : Y+ t: r) s9 w: X. l/ z" |, n
  275. implicit_flush = Off
    6 H& h, L* [3 z4 {/ x: G8 M

  276. , b' \8 j2 V( `8 z! k$ y; ]
  277. ; The unserialize callback function will be called (with the undefined class'# W: J; g; d& ?/ {* F1 S. }
  278. ; name as parameter), if the unserializer finds an undefined class
    % [) }  i. v4 o  o1 o% O
  279. ; which should be instantiated. A warning appears if the specified function is
    $ I7 q1 G' \3 M2 K
  280. ; not defined, or if the function doesn't include/implement the missing class.6 C. u, G- h& U
  281. ; So only set this entry, if you really want to implement such a9 s8 W( L1 O5 K$ b
  282. ; callback-function.
    " x  u. a: v7 R0 n
  283. unserialize_callback_func =
    * `1 `2 E4 H: l7 g' d

  284. ( q  e- t- F- j; b# n
  285. ; When floats & doubles are serialized store serialize_precision significant. X( U- N5 @* F
  286. ; digits after the floating point. The default value ensures that when floats
    $ c) I: H% ]  [6 Z9 z* F3 [
  287. ; are decoded with unserialize, the data will remain the same.
    ) Q" T- ~6 F! r. U  v
  288. serialize_precision = 17! q0 W+ a% @0 V

  289. 3 t6 L" @" t2 |" {% @5 \
  290. ; open_basedir, if set, limits all file operations to the defined directory' m$ q2 {6 k, {* B7 P
  291. ; and below.  This directive makes most sense if used in a per-directory) c9 Z/ q/ D# R% \' U( X3 h- _
  292. ; or per-virtualhost web server configuration file.1 @" K$ ^8 z$ K" f
  293. ; http://php.net/open-basedir; \" B3 {8 e" @
  294. ;open_basedir =
    ' R3 |0 O! _3 G& g! m/ L

  295. & X# ^) m6 h% B
  296. ; This directive allows you to disable certain functions for security reasons.
    2 o0 B; b1 X/ B; j0 l
  297. ; It receives a comma-delimited list of function names.
    7 c( P5 W( f7 ]( }; G2 C
  298. ; http://php.net/disable-functions9 B* s% |& c& \" X5 a; `5 ?
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  \% S* g! }% j
  300.   P6 ^( M6 r, ]0 d4 Q
  301. ; This directive allows you to disable certain classes for security reasons., `% U6 K& @6 j0 v. f% M
  302. ; It receives a comma-delimited list of class names.
    ) W0 U5 o- ~# {, f( n5 a
  303. ; http://php.net/disable-classes
    6 ^( T3 A+ u  S' N! T
  304. disable_classes =
    - {3 M4 v0 m3 m

  305. ) h4 U# a3 @+ K) j7 @$ l
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 j5 v; j- m: z3 o& U$ R& R
  307. ; <span style="color: ???????"> would work.# n6 j0 G4 Y9 X% I' U6 Y
  308. ; http://php.net/syntax-highlighting% R% V; R8 `+ ?# g% [5 ^
  309. ;highlight.string  = #DD0000
    8 }  O- n- A/ t# ~2 }
  310. ;highlight.comment = #FF9900" @7 }% [0 r% z' O
  311. ;highlight.keyword = #007700
    % h5 r: A# `+ l1 n1 _, t
  312. ;highlight.default = #0000BB
    0 U  p* `- Q5 x( G, Q
  313. ;highlight.html    = #000000
    : ?  k3 ?; |/ F: a
  314. * T$ i" `9 {* U) ]9 z6 }
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " b: Q( q0 Z0 M. O
  316. ; the request. Consider enabling it if executing long requests, which may end up
    1 G1 D; l8 [5 u, I: s& a) J
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 A4 _  h3 U, A0 Z  ]! f
  318. ; is to disable this feature.2 |" }5 i% m. S
  319. ; http://php.net/ignore-user-abort
    * s/ c' A1 R! k* E1 b% e
  320. ;ignore_user_abort = On: V& x" K: V3 a2 L: Z' ?
  321. 4 S! A% P, W- U: u- z, m: V& b
  322. ; Determines the size of the realpath cache to be used by PHP. This value should, K0 T/ ^' X6 V5 {9 h
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 P" H* t9 }+ B
  324. ; the file operations performed.; {3 M2 Q+ f2 l0 n
  325. ; http://php.net/realpath-cache-size, o% d) Q$ A* _" O
  326. ;realpath_cache_size = 4096k" f3 A. h% x. @7 x

  327. 0 C2 e, m8 X/ e% c
  328. ; Duration of time, in seconds for which to cache realpath information for a given& {: R5 G8 l  n% g
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    * C5 D: |, F  r9 ^8 M/ H9 R
  330. ; value.% c% ]/ G/ _3 e# d6 J) e
  331. ; http://php.net/realpath-cache-ttl( T1 W/ @- Q9 d$ n" ]
  332. ;realpath_cache_ttl = 1201 x/ O4 K3 I6 U9 f" v
  333. # d8 o, ~% y. p$ H- _& n; n6 J
  334. ; Enables or disables the circular reference collector.! m4 I; C5 ?- M
  335. ; http://php.net/zend.enable-gc& V- \" }% S! r9 n6 v& l
  336. zend.enable_gc = On
    6 ~0 f" O+ V5 q% G6 m

  337. # p+ f0 Y# g$ u5 p% h) F) M
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    : e: b2 l  E4 e) D/ \9 O
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 @, m. e- a- X& r8 W3 M
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    8 B8 h6 C9 }) J5 m* g7 h
  341. ; Default: Off6 l- x: `: ?: U* Y
  342. ;zend.multibyte = Off2 e( n  ?+ t( b2 @! w% S

  343. , p9 s$ F+ }+ p0 M; D" x2 E! x% ?
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    2 }% O& E) E9 z( E
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * ^, ^6 L+ G& n6 I
  346. ; Only affects if zend.multibyte is set.! S1 W4 u6 R- D
  347. ; Default: ""7 ?: q7 |5 q# ^. ]
  348. ;zend.script_encoding =- Z* ^& F( P, H0 I) }/ Q4 `

  349. 3 f# ~: @* E1 T4 m2 ~) v/ q; Z
  350. ;;;;;;;;;;;;;;;;;
    0 R0 {' D' b- {
  351. ; Miscellaneous ;
    . j% j3 G: n' Q) ]
  352. ;;;;;;;;;;;;;;;;;
    ) l7 _* T$ y% G4 V, q% C  P8 h5 {. Q3 _
  353. - \9 s" t1 X, f
  354. ; Decides whether PHP may expose the fact that it is installed on the server" }  _- Q3 b; F+ O% v3 t9 l
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    % _' l. f: d# I5 r% a
  356. ; threat in any way, but it makes it possible to determine whether you use PHP. O* C2 S9 W& n% _
  357. ; on your server or not.7 F  b7 s$ e, a! T, ~! |
  358. ; http://php.net/expose-php% a- F  N) _' [: W6 S: N& P( o
  359. expose_php = On
    # U7 ^/ K( @# _& f
  360. 6 {8 F; b9 n" ]4 y) t' I
  361. ;;;;;;;;;;;;;;;;;;;7 S3 @9 m* M! y& a/ u9 A* `
  362. ; Resource Limits ;
    % K' M' \5 Q. T: C" n9 e& _
  363. ;;;;;;;;;;;;;;;;;;;
    1 ~- ^( i8 s) @: d; y6 L: J
  364. + X1 y/ g1 e  ~, v- w6 T, O3 C& p
  365. ; Maximum execution time of each script, in seconds' n0 @) F. o! ?8 m0 ~0 o
  366. ; http://php.net/max-execution-time
    8 v7 w( [* R3 c- j
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 M: K9 ?, U0 x0 a
  368. max_execution_time = 300" T' ]1 ]& {  p/ \& _9 j0 V/ S

  369. 2 A! K" A/ k& Q# I0 [
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    . |, N4 ?. _) z& f
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / X# ~, P& Z0 z* p* n6 }8 H; d
  372. ; long running scripts.
    6 b" h: o3 [' s, r
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - O0 x9 f7 h# |; L2 p: o
  374. ; Default Value: -1 (Unlimited)
    % P/ p$ Y% K+ p5 j5 I, m' z4 m
  375. ; Development Value: 60 (60 seconds)
    5 U$ p, L3 R( A4 b
  376. ; Production Value: 60 (60 seconds)
    ; p* U! @6 ?9 G4 L( B
  377. ; http://php.net/max-input-time! I5 b+ m$ a0 d7 b# g
  378. max_input_time = 60
    2 M( j- z% Q- H- y* c- J
  379. # Y; N* N5 C5 M/ |, N0 U9 f% V
  380. ; Maximum input variable nesting level
    ' M* e1 B. |0 ?4 h- ]5 [
  381. ; http://php.net/max-input-nesting-level
    5 l. v+ H! ~- f
  382. ;max_input_nesting_level = 64' j% ^- F& @8 |, M5 K2 R5 }) z

  383. 3 k3 h( `2 L, J- V$ c! f
  384. ; How many GET/POST/COOKIE input variables may be accepted/ H: T" V% Z3 B7 {
  385. ; max_input_vars = 1000
    # r. M% f% r5 z3 S4 ^7 a

  386. % A3 {  b. E  t, f7 _' H
  387. ; Maximum amount of memory a script may consume (128MB)
    , J8 a) T% l/ `2 [, R' D
  388. ; http://php.net/memory-limit' A( v. `; O) @6 ]9 x8 z! d6 m
  389. memory_limit = 128M. q5 W, Y. w" O# j, {

  390. ( @8 p3 g0 k1 Q$ v4 a
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% g' U" Y  o/ L. X! ]& i3 o6 ]5 j
  392. ; Error handling and logging ;# B0 \' s1 z9 J. l
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : V2 ^, {8 v2 r! @

  394. " @. _- e2 b- P. i
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 G3 @+ q2 i5 L: d4 N' C! C
  396. ; it to take action for. The recommended way of setting values for this
    5 q4 H/ ^+ U; J
  397. ; directive is through the use of the error level constants and bitwise& [, C' ?: z0 O2 ^
  398. ; operators. The error level constants are below here for convenience as well as) N5 K0 G' ]  J$ H& r/ R
  399. ; some common settings and their meanings.
    ! Q3 u( t0 D$ @
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT" V* d/ O" g4 m
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 Q- P0 W: W/ f3 N% @. V& L
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    % I% E1 X# V6 F# s% e: B- A
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 \2 M/ h7 Q/ d# K& h' ~( c/ [5 S5 o
  404. ; resources complaining about best practices and coding standards. That's what
    8 d5 K/ `' G! V; K
  405. ; development servers and development settings are for.2 f, c# e0 L" {9 T; z* d' Q$ U" L( {( O2 C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 T0 F2 b, ]2 u" ]7 B' ?9 g
  407. ; means it pretty much reports everything which is exactly what you want during) E9 B: s- B+ Q/ }: ?
  408. ; development and early testing.
    - G1 x" U) e7 \, m+ n$ }
  409. ;
    2 @8 ~( i) \( o% a
  410. ; Error Level Constants:
      v, V* Q1 t$ x4 W
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 ^# g& ?6 x  F; s
  412. ; E_ERROR           - fatal run-time errors; N7 F  ~* f  b, b8 N' N
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* l" ?& B- }2 B# j' g9 H
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ ^& R+ c  G& G( z, J# [  X
  415. ; E_PARSE           - compile-time parse errors
    : {- E( r0 I! ]$ H5 Z  o$ C
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    9 u& D; w, v: V) H! Z' ^& r
  417. ;                     from a bug in your code, but it's possible that it was
      u8 E0 G$ _9 X/ ~8 e( [: x
  418. ;                     intentional (e.g., using an uninitialized variable and
    ) D: m* ]+ W& n" {% \9 {, D/ U3 E
  419. ;                     relying on the fact it is automatically initialized to an' U/ ~& V( F# X# T4 J  q8 ]( u( {
  420. ;                     empty string)0 ^2 c, g6 H" E- M' o$ M' L
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : b7 D% c: h; i, e- [- }
  422. ;                     to your code which will ensure the best interoperability- X$ ^9 E% h. O" {' p/ Q
  423. ;                     and forward compatibility of your code1 K! X+ N# Z/ c' y
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& v& @4 x7 n" |& u/ M8 u2 X  o$ ?
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# t2 G* C" G6 e9 F# k. f8 n
  426. ;                     initial startup
    & D* X. S3 ?+ d6 s
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 N+ ^& \1 J4 V( g3 K2 f( b  t
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 k6 e7 t7 n- H3 a
  429. ; E_USER_ERROR      - user-generated error message
    * c. L; h: G$ t* q
  430. ; E_USER_WARNING    - user-generated warning message
    3 X2 C2 E" \/ m5 }( T9 P9 S
  431. ; E_USER_NOTICE     - user-generated notice message
    9 G3 R6 C/ Y+ O1 B9 s% e
  432. ; E_DEPRECATED      - warn about code that will not work in future versions$ V$ J! y! A2 B/ a% Y
  433. ;                     of PHP
    6 F6 |8 l3 l8 h" D$ X" S) }5 `
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% W' d5 E6 \! }4 }
  435. ;/ }% B8 I5 N' @9 g8 M
  436. ; Common Values:
    3 {  W& H9 u- U7 E. k1 F8 \
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)! T( v1 Z$ n; h* h+ @# e' e5 ~
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# t. u  ?) p4 y; W
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  |; ]: T& Y: {+ O
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    - Q1 I, J2 R  [9 E, h% @8 Y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 j' M& T# L2 z* A- V
  442. ; Development Value: E_ALL
    4 N+ j" M  g9 N4 h( s( P; b% z! B
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 ^- r( T8 n) o: a1 N- [
  444. ; http://php.net/error-reporting
      I( v# w: E; K% x; s
  445. error_reporting = E_ALL & ~E_NOTICE
    6 c- C2 N3 [+ A4 c0 a

  446. 0 K7 [; h+ g1 ^: k/ l
  447. ; This directive controls whether or not and where PHP will output errors,
    & J6 l4 j8 }% N" q, U
  448. ; notices and warnings too. Error output is very useful during development, but
    3 ]- R" F) U4 k; I4 e3 X8 s
  449. ; it could be very dangerous in production environments. Depending on the code2 t. g/ U' c# p) H
  450. ; which is triggering the error, sensitive information could potentially leak6 B  k8 {- h4 m% n. Q
  451. ; out of your application such as database usernames and passwords or worse.+ h5 a1 M' g$ n
  452. ; For production environments, we recommend logging errors rather than
    1 T% a3 j. i3 {6 k- T  V
  453. ; sending them to STDOUT.% ?. t, J+ P7 {; \; _
  454. ; Possible Values:
    3 A" v: K  g% q' W' k' _
  455. ;   Off = Do not display any errors
    1 @2 }/ K6 x9 n: ]3 |
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 Y; s% E- e) R3 e( S" q/ o: Z, ]* S5 @
  457. ;   On or stdout = Display errors to STDOUT1 E9 V1 |0 o6 u# q8 n& C/ E( L  C1 b
  458. ; Default Value: On5 l& ^& ^& D5 W/ H1 ?' G7 \
  459. ; Development Value: On. k6 z, y. G' ]4 k" m* m" ]# w
  460. ; Production Value: Off
    , s/ H' Z9 A; G# [6 A
  461. ; http://php.net/display-errors8 n' t8 R5 q  v7 E  {& \3 w
  462. display_errors = On
    0 k( [+ h& l6 A, p3 K& N* D

  463. 3 P) Q; C5 q" I( k) R
  464. ; The display of errors which occur during PHP's startup sequence are handled
    7 [  Y1 b( u# N# o+ ^  \2 j- x
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    7 Z4 L. ^+ ?; H5 Q( [
  466. ; errors from clients. Turning the display of startup errors on can be useful in$ @8 ?7 f* y# |: d6 F) i
  467. ; debugging configuration problems. We strongly recommend you) k! A; i! v0 I* |9 v! W( V
  468. ; set this to 'off' for production servers.  n0 y  h; r" N+ v' y
  469. ; Default Value: Off& d+ e- L- a6 k* p" T! u7 G
  470. ; Development Value: On) D) E2 q  L$ p" B' h/ h3 \3 }% ^* Q
  471. ; Production Value: Off
    . W. U9 S7 q; }4 m9 @" S
  472. ; http://php.net/display-startup-errors
    / T/ R9 t$ B  e% `8 ?3 R
  473. display_startup_errors = Off
    - v. x5 l% {+ W
  474. $ M. ?& I& \  i# N0 n! j, E
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. B! T( k" S3 a4 n! W# t
  476. ; server-specific log, STDERR, or a location specified by the error_log- R- \2 D2 h* r  G% a  v
  477. ; directive found below. While errors should not be displayed on productions0 u9 q/ Y2 n5 R2 y. \
  478. ; servers they should still be monitored and logging is a great way to do that.
    2 p4 a4 v7 P& R8 J' n. s' l! r
  479. ; Default Value: Off
    6 B1 T0 R# C3 t4 p- m1 L2 f
  480. ; Development Value: On8 ?, H  b' i% n
  481. ; Production Value: On
      t8 d) e# h+ h1 k/ _
  482. ; http://php.net/log-errors
    : s# P( v5 |7 k7 G* f0 b
  483. log_errors = On0 t7 j$ o- [9 {* M) G$ S

  484. ( b' t# J$ J1 K" Q$ D, H
  485. ; Set maximum length of log_errors. In error_log information about the source is
    9 L5 R5 }* I" }! @) S& [  y- |
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " W, G1 L9 w# r- }3 w' l# y$ W! D
  487. ; http://php.net/log-errors-max-len
    3 {$ h! V7 Y& w5 u
  488. log_errors_max_len = 1024
    ! e) c" y, E. \4 M  `( ]& i, E
  489. 2 Y: ^% g1 C) }; l0 i9 d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    5 e9 N3 v  Z( R/ \- T" B
  491. ; line unless ignore_repeated_source is set true.% k+ B) S1 `' d- k
  492. ; http://php.net/ignore-repeated-errors
    8 F( Y4 H* ]' V% v8 `
  493. ignore_repeated_errors = Off) t( n' D4 c1 ]/ i5 j% P3 W

  494. * ]8 T# t! B( Y  ^7 Z
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . U' i  A. s0 D
  496. ; is On you will not log errors with repeated messages from different files or! Z- P" b% r. j4 Y
  497. ; source lines.+ k  B5 n. \0 N! J# v/ M; W) F/ Z8 Q
  498. ; http://php.net/ignore-repeated-source+ ~/ J) }# z8 [; o) u0 V
  499. ignore_repeated_source = Off( |9 v' o' E$ X# {+ A  r

  500. ( b0 P$ z1 d# e5 U8 M
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % L# p9 Y8 ~/ A5 P" {/ ?4 {
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ) V( ]' V% T5 E0 N2 X& `  f
  503. ; error reporting includes E_WARNING in the allowed list' S" \8 N6 ]0 q4 U
  504. ; http://php.net/report-memleaks
    2 l+ p  v3 A8 x1 r
  505. report_memleaks = On6 s' l6 d8 b! w
  506. 0 T* I; _: I9 v/ s  R0 W* I
  507. ; This setting is on by default.6 x0 N/ ]  j# h5 X$ P! Q/ {, Z
  508. ;report_zend_debug = 0
    3 h, e/ _& }6 @8 u
  509. ) [0 R! [# M1 O/ P
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 j% y4 r1 @+ z) B1 V2 w3 c
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    - t5 y. k. O; E& u9 Q
  512. ; however be disabled on production servers." I& @) h4 u  {
  513. ; Default Value: Off' I0 {" B" ?8 ~3 C6 u2 v. F, }4 V! g/ @
  514. ; Development Value: On, u& g6 v  e  N
  515. ; Production Value: Off
    % x! {$ Y- D+ n, f, {
  516. ; http://php.net/track-errors  P; x  S" y  ]" p0 ?
  517. track_errors = Off
    1 a* E6 ^/ _' C; o; z  d0 i
  518. 8 m5 `) C0 k) U5 ]
  519. ; Turn off normal error reporting and emit XML-RPC error XML7 v- `" y% s8 r3 x; {: _% t# u
  520. ; http://php.net/xmlrpc-errors
    . Z, [# r# U6 f4 ^4 m$ Y" b7 V
  521. ;xmlrpc_errors = 0
    * j# m7 G; V2 K6 w2 \
  522. % K9 |4 ]$ \9 m7 j5 V
  523. ; An XML-RPC faultCode
    6 l$ E5 O+ [2 p! }( w1 o* ]
  524. ;xmlrpc_error_number = 0
    & Q( p5 e) T$ U% e$ m1 f7 O# C
  525. $ e8 L4 z: {6 t- r4 w5 h; g
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    + m% Y+ y% n% k: `- u
  527. ; error message as HTML for easier reading. This directive controls whether
    & L; P& I, \' w" G% E( l) q$ K& d
  528. ; the error message is formatted as HTML or not.2 z' m1 X3 }6 [  a8 D' p. ]% y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI2 N0 B7 b6 O4 k% {
  530. ; Default Value: On: d, m' L& ~$ f, y
  531. ; Development Value: On
    6 z% g+ X% t5 s: X0 ~
  532. ; Production value: On( T* t  [$ b9 ?: H0 v/ E7 p  O
  533. ; http://php.net/html-errors: Q1 R4 P( L% O' C4 y* Z) J
  534. html_errors = On% H' e0 m( o" |. N% D8 X
  535. * U3 C' g- \1 ]; }0 T3 a. N7 g
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " p7 r1 u# d! H
  537. ; produces clickable error messages that direct to a page describing the error! U! B4 e- J/ C3 u$ d: a# N
  538. ; or function causing the error in detail.
    . f; X8 E+ I$ d4 r
  539. ; You can download a copy of the PHP manual from http://php.net/docs$ ~5 ?* j7 M6 s6 u  \- _  K, B( R
  540. ; and change docref_root to the base URL of your local copy including the
    & ^0 l) u; {6 x+ {: w2 \( K' r
  541. ; leading '/'. You must also specify the file extension being used including7 u% D+ u# |4 i3 X' w' N2 }
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which  X4 M) _2 E. y% h; }
  543. ; case no links to documentation are generated.
    8 w" f  w! p* A% Z3 |* b7 b4 i
  544. ; Note: Never use this feature for production boxes.
    & c+ Y( i2 g6 Z0 y8 v& k
  545. ; http://php.net/docref-root3 z% Q. x$ v7 _. D2 l6 Q4 a4 o: @
  546. ; Examples
    , v. H0 d4 ]! v! ?) q
  547. ;docref_root = "/phpmanual/"4 o( t" C5 q* z3 S6 l7 A# |+ h
  548. / P, _% u% q# M; J# r* b  I
  549. ; http://php.net/docref-ext3 T" s  W7 K! E  K- e& a4 t* m
  550. ;docref_ext = .html0 \6 I) L) p' ^) `, A
  551. & M' W; x0 ~7 T7 R
  552. ; String to output before an error message. PHP's default behavior is to leave7 U6 M( q# E4 L% w
  553. ; this setting blank.
    & O( P# i/ Z- F9 @
  554. ; http://php.net/error-prepend-string
    ( d+ C" J3 d& }" R# l- K
  555. ; Example:
    / x" o  Z2 c3 h& L4 m. t/ G
  556. ;error_prepend_string = "<span style='color: #ff0000'>"* y/ a7 `7 U5 G; v3 R

  557. : o% ?5 [6 `5 O3 S/ s# z
  558. ; String to output after an error message. PHP's default behavior is to leave
    ) B; s$ E7 T4 ?$ w7 ^9 M+ l
  559. ; this setting blank.6 m8 G& T: d% \3 Y* ^
  560. ; http://php.net/error-append-string
    * E- B7 r+ V: F# V
  561. ; Example:; b7 V) J  l; d4 }* t
  562. ;error_append_string = "</span>"* J7 [0 ^  {4 K
  563. 6 b- V0 f- m' H* K9 l9 K) p8 n
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    . f6 R# _& N+ A: V
  565. ; empty.
    ' ^2 q3 w* d  R+ C( z3 u! `( a- {
  566. ; http://php.net/error-log
    $ t6 W4 h8 {2 k
  567. ; Example:; V+ e; P, I) i$ t- u  c6 f8 X
  568. ;error_log = php_errors.log6 B. S; m3 L$ S8 D% f
  569. ; Log errors to syslog (Event Log on Windows).2 l+ b, `9 U; C3 C; \
  570. ;error_log = syslog
    : U  P4 t5 d  d+ Y+ B( u
  571. 6 i* C& m) f" Y% q3 u
  572. ;windows.show_crt_warning
      ]* c' ~2 W$ W% ]
  573. ; Default value: 0- A2 m7 i# N4 ^5 a: y% @
  574. ; Development value: 0
      o* E% ~+ u+ g$ j2 g1 {
  575. ; Production value: 0# K. |; w8 }* v& r$ r. c
  576. ; s. Q& u1 j5 [" S3 f
  577. ;;;;;;;;;;;;;;;;;1 P- S2 \7 Y2 h' g5 t. X& P
  578. ; Data Handling ;
    4 o7 S7 O# P$ [5 d/ _! Q; ?/ d# Y
  579. ;;;;;;;;;;;;;;;;;
    . h$ e5 Y0 n1 g& l3 j

  580. , F7 T2 j* g( g/ `
  581. ; The separator used in PHP generated URLs to separate arguments.6 ^7 X+ l2 C$ [% ?' h0 Z5 Q1 A
  582. ; PHP's default setting is "&".
    2 B& p- e/ ], Y7 H/ X7 K. I
  583. ; http://php.net/arg-separator.output/ C- y% ^& s) y9 D0 D0 E
  584. ; Example:! A# K8 F' M+ }0 V$ r
  585. ;arg_separator.output = "&"
    % Y7 ~+ l' k  ~
  586. ; O, o0 J  m6 q4 q) ^. u% k. ^
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    * I% D, J7 O. }
  588. ; PHP's default setting is "&"., R, i4 x4 Y  `5 [% f
  589. ; NOTE: Every character in this directive is considered as separator!
    2 e5 h; Y  ~0 j3 L* g4 c( `
  590. ; http://php.net/arg-separator.input
    7 n" i$ P: U" P- u0 Z
  591. ; Example:0 n- |# H' `- Z$ J2 L
  592. ;arg_separator.input = ";&"6 e. w* A& J- x6 x& O* Y$ s5 S
  593. 1 b; `/ ]8 @; X  h, |
  594. ; This directive determines which super global arrays are registered when PHP& {9 R# r: U  T# G# g* o8 Q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super& Q1 ^. [. o0 }0 o6 C' c
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty* m( R" t5 S, t; O& ~) M3 s
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 X5 j9 P2 i9 M) b5 j( P# A/ F
  598. ; used as the others, ENV is not recommended on productions servers. You
    " S" Q. W) Y) r4 m9 [5 E3 B
  599. ; can still get access to the environment variables through getenv() should you1 P, n! A# D7 k
  600. ; need to.* x/ l( h% V; @2 Y. n4 G3 W( n
  601. ; Default Value: "EGPCS"; j' Z/ i8 f, j5 T
  602. ; Development Value: "GPCS"/ U/ R& t, I; @- r
  603. ; Production Value: "GPCS";6 k/ V7 m2 p  n3 ~# n& d! o$ k
  604. ; http://php.net/variables-order
    ! C: Z7 `6 C1 _" T. l
  605. variables_order = "GPCS"
    ) n; N+ z' c1 @# @6 N
  606. " l: R5 p" p# A! K7 t7 s" o( W
  607. ; This directive determines which super global data (G,P & C) should be
    ( S6 e0 V, v1 F( \; y+ Q2 L& ^
  608. ; registered into the super global array REQUEST. If so, it also determines8 h! }, [6 H& x. J; m9 }
  609. ; the order in which that data is registered. The values for this directive
    $ C. Z/ A+ ~  Q; `) |
  610. ; are specified in the same manner as the variables_order directive,
    : T3 E; k# [3 R2 B% @
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) r- r8 @8 B& R8 i
  612. ; in the variables_order directive. It does not mean it will leave the super* [$ B* `6 ^1 o2 |6 g  A
  613. ; globals array REQUEST empty.0 `' c, n# F) t. y& h
  614. ; Default Value: None
    ) X7 z- c& c; I& |* y/ F7 D" \& a( S
  615. ; Development Value: "GP"
    ) Q! U3 k) w' ?( a( I0 Y5 k: N
  616. ; Production Value: "GP", O& r0 T5 E; z& L0 F
  617. ; http://php.net/request-order
    ) M: U6 @8 y' L
  618. request_order = "GP"
    + I/ o8 m7 ]* X9 f

  619. & o: {( ^0 X2 B
  620. ; This directive determines whether PHP registers $argv & $argc each time it' r" z, x6 P3 i
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script: t9 x/ k7 H9 |% d; C& y
  622. ; is invoked. $argc contains an integer representing the number of arguments; t& p. A( ?+ {/ S& w: \, L8 z; @
  623. ; that were passed when the script was invoked. These arrays are extremely
    * x5 E# y+ ]# b9 f  K4 G
  624. ; useful when running scripts from the command line. When this directive is3 H5 Y# n2 i% Z- z& H# J. r& f
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    , C6 ?2 @2 ~3 ?- Q" F- n% F
  626. ; a script is executed. For performance reasons, this feature should be disabled! h! Y. [. j0 N1 b  k
  627. ; on production servers.
    0 E0 T$ j1 ?! u
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  }% A3 ?# u; ^+ j9 a" [# V
  629. ; Default Value: On
    ( ]1 R0 M3 M/ Y5 \
  630. ; Development Value: Off7 Q# p0 J2 E. s( Z) E( u, P
  631. ; Production Value: Off
    6 P- T/ ^+ G: e( S: c0 B9 [
  632. ; http://php.net/register-argc-argv
    / n9 x+ A* U' N& v' P* w& n$ f! d0 s
  633. register_argc_argv = Off
    ) U5 e- z8 E7 E2 a* J' h

  634. + a. Q+ q% O" `# A
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( I$ v2 E! H: n. W5 }/ t6 ]8 _( G( e
  636. ; first used (Just In Time) instead of when the script starts. If these
    * E1 v2 Y8 r4 @7 _2 j. s
  637. ; variables are not used within a script, having this directive on will result
    ! V8 n8 B) f: ^9 o  O$ K* a: J
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 t3 \: |9 G6 L* q# z
  639. ; for this directive to have any affect.: K" W6 L' D' U- S# W3 P
  640. ; http://php.net/auto-globals-jit1 e& s9 ]. z6 \8 o9 U) ~, r2 l) L
  641. auto_globals_jit = On
    : G0 O2 D. m7 |: h

  642. & @( h9 S( X  @% c/ J" g
  643. ; Whether PHP will read the POST data.
    - W9 p% m) _  S7 C, ]* c3 i
  644. ; This option is enabled by default.$ k8 \( l3 X5 I
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & O  t& t  C. B& `
  646. ; and $_FILES to always be empty; the only way you will be able to read the+ p1 L* E# U' [# [- R/ n' B
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 K1 E2 V7 X# j0 m- p0 L  _5 i" [
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.1 ]+ }- s& N& o( y4 q4 H: F
  649. ; http://php.net/enable-post-data-reading
    / Q- m% Q# k# _$ Y+ H
  650. ;enable_post_data_reading = Off+ U* P, |) e7 a1 K6 {4 k

  651. , N9 F5 k  W. |( v. u( U- {
  652. ; Maximum size of POST data that PHP will accept.
    # j5 ?! g# u6 i: P. s6 ]
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading. p/ M, U4 k- C  k- @4 B/ q
  654. ; is disabled through enable_post_data_reading.& F* Z5 c4 t7 q
  655. ; http://php.net/post-max-size$ W9 Y+ y. w& w& T; T+ q8 N" y- i/ l
  656. post_max_size = 50M8 y; |8 s8 b! G! ?7 T
  657. 3 ?, `' E7 z& ^  u
  658. ; Automatically add files before PHP document.3 ?7 ~, c" d" K7 E1 d8 J9 X/ X3 V
  659. ; http://php.net/auto-prepend-file, r) x/ {" {' ]* I
  660. auto_prepend_file =. @9 K1 o4 T, m/ n1 R( d3 x( F
  661. 0 {# x  S5 h$ S" ^) e
  662. ; Automatically add files after PHP document.4 `$ r/ }8 v: |8 S, [8 [! G; e" c/ |
  663. ; http://php.net/auto-append-file
    ! i- F* h* R' w" y# Q& F% c9 u/ L
  664. auto_append_file =( y9 ~2 M7 {5 ?7 W1 z5 k* t

  665. 8 ]- c3 p* b0 O
  666. ; By default, PHP will output a media type using the Content-Type header. To, P  F: }1 _$ f) e7 W( g6 C/ X3 b
  667. ; disable this, simply set it to be empty.
    9 I% g* E9 ?& E
  668. ;4 L( Q! K. q0 G+ w
  669. ; PHP's built-in default media type is set to text/html.! x. w" H$ g% |7 I
  670. ; http://php.net/default-mimetype1 w0 {3 z! }- c# w7 X  m8 @
  671. default_mimetype = "text/html"# r0 ~0 u% U( @

  672. ! ?6 m4 k6 ~! C( r% f) n$ X
  673. ; PHP's default character set is set to UTF-8.: S4 Y" {( {  A1 W9 p7 X2 ^
  674. ; http://php.net/default-charset
    3 @; t+ B4 O1 d" m+ K! j, W
  675. default_charset = "UTF-8"
    ' t# W3 [8 k. O9 S( U! d: l$ D; _
  676. 6 W% J3 ~5 n: f! P# O6 O; x8 y
  677. ; PHP internal character encoding is set to empty.
    3 u% G+ h7 [  B6 R1 a' I
  678. ; If empty, default_charset is used.& G# N) `/ s+ e
  679. ; http://php.net/internal-encoding# \( Z* H/ Z: X" t8 S8 `
  680. ;internal_encoding =. w; B# c4 ~1 ~) [/ n
  681. # c& _* B; X' X8 t  a# ~" e- e6 H
  682. ; PHP input character encoding is set to empty.
    3 F( U4 B$ P& b' \5 k+ ?
  683. ; If empty, default_charset is used.( o' Y5 S( }. q8 N6 c
  684. ; http://php.net/input-encoding' p' T% {: R  V& W
  685. ;input_encoding =
    ! C; u; p6 ]7 }: m0 G9 d" ?9 O+ l  G1 o
  686. 2 K. ~5 x* B! c4 h0 C
  687. ; PHP output character encoding is set to empty.* M; y4 J: X5 [; k$ N
  688. ; If empty, default_charset is used.; e8 ~( W# t/ W& x' v
  689. ; See also output_buffer.
    & m% y0 O" O- N' {, b
  690. ; http://php.net/output-encoding
    ; t) l. c4 d$ z; x+ P- D
  691. ;output_encoding =
    & N8 F1 `9 G  P( u) a. ^

  692. 5 H0 y: w$ o6 i0 z0 A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % @3 O9 Z2 C0 c& s( H
  694. ; Paths and Directories ;
    0 x# n' T# L5 {: R
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;" e8 D# B+ [% [

  696. ( R% T% |. |6 M! H
  697. ; UNIX: "/path1:/path2"
    " R  q9 L) F* }! ?, Y
  698. ;include_path = ".:/php/includes"8 g: m1 V3 z: t0 g; {' f) Q
  699. ;% f8 K$ g/ W2 O! D) Z! c
  700. ; Windows: "\path1;\path2"
      \. x3 [# _! o6 f
  701. ;include_path = ".;c:\php\includes"
      [% Y" o8 _" C& C! U
  702. ;
    ' b  ^5 q1 e6 M( _9 ?8 I# a0 _
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"" v0 _* D# [& U: v" M
  704. ; http://php.net/include-path8 d$ U, E& m% u3 h" W) J) ^6 P
  705. & s% s+ v/ q5 i
  706. ; The root of the PHP pages, used only if nonempty.
    2 Q% i# y) E6 |; H- m: E, y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 ~) K7 q. e8 u7 y) v% y  x) h
  708. ; if you are running php as a CGI under any web server (other than IIS)9 e! {+ R1 B& c0 q5 ?8 C3 M
  709. ; see documentation for security issues.  The alternate is to use the
    $ w2 V0 h5 N& R0 w6 t5 L: S8 E
  710. ; cgi.force_redirect configuration below
    # n9 }/ y/ t. M' [; M
  711. ; http://php.net/doc-root
    : C& }2 q- D% r6 T' e1 n
  712. doc_root =
    5 n8 p) R- {; Z" Q
  713. , x1 p& d6 S; u6 p! w2 {0 E
  714. ; The directory under which PHP opens the script using /~username used only2 x# q( M! u9 P8 A) d" }; x) o( i
  715. ; if nonempty.2 g- B& I9 g' v; h: H! c/ `# |
  716. ; http://php.net/user-dir
    ! f+ i2 _7 C/ f* c% {6 x9 [0 e' \
  717. user_dir =
    ) [( U* M: o2 f4 C" K
  718. 7 S$ n+ m0 L+ K9 e" A
  719. ; Directory in which the loadable extensions (modules) reside.
    1 Z+ F& f8 M5 x- q% s
  720. ; http://php.net/extension-dir
    0 D. ?$ J9 H: [3 w2 y. I% G3 ^5 S
  721. ; extension_dir = "./"! i' L+ f, x1 F3 S4 _
  722. ; On windows:  Z5 S( x( H% G
  723. ; extension_dir = "ext"
    ) J$ Q% S7 B* ]

  724. 8 t6 i' N+ v$ J* C) ^
  725. ; Directory where the temporary files should be placed.& K( i* P8 ]& v* _1 S4 R: W
  726. ; Defaults to the system default (see sys_get_temp_dir)+ N4 U2 z4 X, K
  727. ; sys_temp_dir = "/tmp"
    7 g( a' g- [3 ]0 H6 `

  728. - l$ y8 _6 q5 A6 s
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 \& j7 B9 d) R1 t$ L) Y5 e$ G+ Z
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - g/ O% x9 L1 y% _3 g1 }
  731. ; disabled on them.
    - Z& g( z4 X! x+ Z
  732. ; http://php.net/enable-dl
    ( }: @! v0 W( \) j2 T4 B. \
  733. enable_dl = Off3 n: J! W2 X+ w( \9 q2 G, E

  734. ' o% {6 x* a: q' L  ~& k
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 `9 ~8 [5 _  Z$ ?
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& }6 |$ U' }* ]. m; x0 I& d  t
  737. ; turn it off here AT YOUR OWN RISK4 d5 w$ d1 c8 k
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- [4 C; ^) W; v# J1 R
  739. ; http://php.net/cgi.force-redirect
    7 t4 c1 s* ^2 ]- m, v2 y7 F
  740. ;cgi.force_redirect = 1" a% U9 Z' T( o% I

  741. $ W* x: l, p- T9 C# m* J
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 b! k$ p( Q; ~: j
  743. ; every request. PHP's default behavior is to disable this feature.
    - K* U. p  ]. s! @7 w
  744. ;cgi.nph = 1
    & M2 M* E: H8 l8 N# _1 B) X

  745. + T8 J, {2 b* c  e# K# ]$ T, t
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    . _5 }1 p, e. Y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    6 @" S- G- G6 W- U5 b
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 \, K# _9 {- z5 w( ~. ?# X- b
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.$ }7 A! a, Q( C+ ^- y
  750. ; http://php.net/cgi.redirect-status-env
    9 p, ~7 e8 S& t# ~9 g* w
  751. ;cgi.redirect_status_env =
    3 ~2 m4 ?3 B" }) R. g+ m$ K* O, }

  752. % i4 p- P0 L: V# q3 V8 z7 p3 `. P
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 g/ T; l& ]  O$ V  w& q
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# i: ?5 q0 r! c. S5 {, O
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    7 c& ~( d, Y8 k
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( c; y0 r$ B0 b' D' H" a
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    7 z$ I* C, n% k$ F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.* K8 e* T8 f4 B/ g% H) q4 `. g. p# h. J
  759. ; http://php.net/cgi.fix-pathinfo$ o- d  n: `0 d! I) e& u( j
  760. cgi.fix_pathinfo=1
    ' i& h( n( |8 r* K4 I5 n8 N
  761.   Z/ I. |* q% r5 N# P6 }% c, O
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : w& i- g- w9 {, d6 y' N# ?- b0 F
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    . Q; J. F$ f' r, D: `
  764. ; http://php.net/cgi.dicard-path
    , Q+ u2 ~8 J; l- F  v% N! R4 a
  765. ;cgi.discard_path=1
    " b. f+ l6 z& i+ v( q& p, E

  766. $ `5 }$ v- D# C8 r( F+ N: d
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; M9 _7 `3 \& V# W* u
  768. ; security tokens of the calling client.  This allows IIS to define the+ f) w: F: V" }6 G3 R3 J
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    7 L, f. ~# b, L0 [, ]1 b8 C4 d! m
  770. ; does not currently support this feature (03/17/2002)
    9 m9 K2 y8 a# u: J
  771. ; Set to 1 if running under IIS.  Default is zero.
    1 R; G4 @0 R1 a. D* i
  772. ; http://php.net/fastcgi.impersonate
    6 ?* ?# i' ?# j0 }% L. S4 i2 u; U# r
  773. ;fastcgi.impersonate = 1: K  b! L/ n. U: t9 W/ Z

  774. 9 a/ f6 b  }% I
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 i+ ~+ t/ S' f4 Z$ s* P( B
  776. ; this feature.
    : Y9 R9 B7 J2 ?. A0 ]2 g" F
  777. ;fastcgi.logging = 0$ E- h8 ]/ I9 n. W
  778. ) `2 V: W: r) {, z3 m6 F3 `/ S
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 J0 |' s/ P9 x. E3 K) L% m; u2 e# v* m
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      U( Y. u: x( S# V% B# k! c
  781. ; is supported by Apache. When this option is set to 1, PHP will send
      v$ C, `. N0 T
  782. ; RFC2616 compliant header.
    - m/ p! t% K. r7 ]- c$ x
  783. ; Default is zero.- Q# R0 |0 Y+ Z) H  q# s  Y# R
  784. ; http://php.net/cgi.rfc2616-headers
    ! A; S0 H; x5 q1 d6 J! x- a& n, N
  785. ;cgi.rfc2616_headers = 0
    . P1 p" }3 I/ ?2 J8 c6 ?

  786. # y& ^3 [3 ]* a6 i' c
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!1 a& c1 f1 r$ O+ W
  788. ; (shebang) at the top of the running script. This line might be needed if the
      ?$ T& T# B1 E3 B4 q" i) I2 s
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" E6 T6 X- t# T: U
  790. ; mode skips this line and ignores its content if this directive is turned on.
    - w$ |9 ^% y# `  J4 ^# B: U- b
  791. ; http://php.net/cgi.check-shebang-line
    0 ^) o( ^# F/ [! g
  792. ;cgi.check_shebang_line=1
    ! v; \7 P: I# H2 v& ~! }* g' o* q

  793. : Y9 C6 Z7 q/ b0 t2 U9 x
  794. ;;;;;;;;;;;;;;;;
    + O, b0 {$ s# e" B4 L
  795. ; File Uploads ;; s. T! U6 v+ L' _5 v* L( [
  796. ;;;;;;;;;;;;;;;;
    6 b1 v6 A. T) |& G
  797. % S; q2 G" C. j7 B, `) j
  798. ; Whether to allow HTTP file uploads.0 r, d5 t' D9 n# z, E
  799. ; http://php.net/file-uploads1 }( N1 w2 r" n/ _
  800. file_uploads = On! f  J  p2 m& J! P
  801. 6 J+ {8 l  s5 |2 e
  802. ; Temporary directory for HTTP uploaded files (will use system default if not1 n* X0 }& T1 ]/ F2 s( K
  803. ; specified).
    ; z. d: e" H9 v) U/ ^
  804. ; http://php.net/upload-tmp-dir
    + T( l! [9 N! l. V# P
  805. ;upload_tmp_dir =- \9 D+ q4 r: q) z

  806. ' B; i( x8 w. ]: R. h; g  f
  807. ; Maximum allowed size for uploaded files.
    ' e" J% W: Y$ N7 Z2 j" T  Z% B
  808. ; http://php.net/upload-max-filesize) w+ _" B) G5 N! a! [0 @4 \! T" V' v
  809. upload_max_filesize = 50M& w1 J, \4 f* w, N% D; X& L

  810. # ^, E) {+ ?& R( B0 e* R8 M- B
  811. ; Maximum number of files that can be uploaded via a single request
    " z0 @: A$ a: H6 F( o
  812. max_file_uploads = 20
    9 S: R6 m- C' X# U" B1 D

  813. $ F- A& I4 J8 t+ e
  814. ;;;;;;;;;;;;;;;;;;
    4 E8 M. C7 K7 l, A# u$ R
  815. ; Fopen wrappers ;0 F. A! F1 G1 U6 k$ s/ A/ y
  816. ;;;;;;;;;;;;;;;;;;
    . I4 ~! Y2 P) {

  817. 3 h, \$ j8 v' i2 E' L6 d2 V
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + z% C. o% J% _
  819. ; http://php.net/allow-url-fopen
    - m: p% s, r2 g5 l. b& Q5 F0 N
  820. allow_url_fopen = On
    * e. \3 [5 d& Q
  821. . @" \; V9 d) E% u/ p: D
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- n1 z, X6 l/ s. Q
  823. ; http://php.net/allow-url-include
    ( w- n% {5 B% Z) a1 O' m6 j
  824. allow_url_include = Off
    ( f8 |6 i/ q5 @+ l4 U
  825. ( G' D7 a1 ]1 q: }" _/ t
  826. ; Define the anonymous ftp password (your email address). PHP's default setting) E: n0 @! q0 q9 s% U; u0 [( C
  827. ; for this is empty.6 _$ d7 ~% ?& C  M
  828. ; http://php.net/from
    1 B! `* C0 g3 P" s0 y& n
  829. ;from="john@doe.com"5 E3 b. [8 }3 x* g* E0 v
  830. " y( M& K! N$ f9 x4 f& t+ ~  t5 Y- g6 M
  831. ; Define the User-Agent string. PHP's default setting for this is empty.) Y5 e# L2 t, h5 u
  832. ; http://php.net/user-agent
    : M( ^1 E, Q4 I2 ^7 L7 E
  833. ;user_agent="PHP"# U' N' l: z4 h" g. A, A* |

  834. 2 E! q0 _) m- k1 a/ b; q6 \4 ?* `
  835. ; Default timeout for socket based streams (seconds)* ~# K. r$ k8 S  @/ C! l) j4 A
  836. ; http://php.net/default-socket-timeout
    6 q( q6 y/ A3 Z4 q1 C4 X- |8 f
  837. default_socket_timeout = 60
    0 S9 C5 [- w8 F6 s, @$ Z
  838. 7 z; Z/ v0 c- D- u% E8 f4 Y
  839. ; If your scripts have to deal with files from Macintosh systems,$ w. K; e8 w! g# G1 ]
  840. ; or you are running on a Mac and need to deal with files from' U: H, p& x! E; N  g
  841. ; unix or win32 systems, setting this flag will cause PHP to; o% c6 @( l  C" K3 d. B
  842. ; automatically detect the EOL character in those files so that6 H- J& q+ @9 B& K& |; {( G8 W0 m
  843. ; fgets() and file() will work regardless of the source of the file.
    ; a: o; u1 O' \
  844. ; http://php.net/auto-detect-line-endings: y" {$ U7 Q6 [8 S( k$ D. c) {
  845. ;auto_detect_line_endings = Off
    - W* r7 o# F: Y3 F, `: h
  846. 5 R# m4 ^1 m( @% o! n- \# f" z1 h3 P
  847. ;;;;;;;;;;;;;;;;;;;;;;* y' S9 Z, x, `, L* x8 `
  848. ; Dynamic Extensions ;
    + N1 j; l7 x0 G/ h2 v# Y
  849. ;;;;;;;;;;;;;;;;;;;;;;/ `8 P6 s4 _3 V7 e/ T% U% q
  850. + k( I/ Y: E8 J& s4 G
  851. ; If you wish to have an extension loaded automatically, use the following1 t* Y# @- U/ Q  d$ h0 C6 n
  852. ; syntax:
    9 `1 {# w: y; e! P2 U3 A7 W
  853. ;) R& D1 m, R0 \$ V( |. |
  854. ;   extension=modulename.extension
    * A4 V3 ]/ c7 K: M- L4 Z3 Z
  855. ;
    1 Q6 B# |6 a1 K% ]
  856. ; For example, on Windows:
    ( }4 m% O: S% ?& d  W% |, K: g' e
  857. ;
    3 t" e3 Z0 P4 f1 U
  858. ;   extension=msql.dll
    1 E! z0 Q/ S1 p; o) R4 J
  859. ;) T) P1 k, E- `) v3 s
  860. ; ... or under UNIX:
    $ S6 K* Q; G6 }$ L' l( d: v
  861. ;* K! Z2 M9 \5 C
  862. ;   extension=msql.so' e) H! `5 b5 |& l
  863. ;
    - p  j2 K) O5 N4 Q+ m7 V4 @2 g. x
  864. ; ... or with a path:
    ( Z6 |. P2 D/ U7 Z7 a4 U* `$ o
  865. ;
    4 i0 M  c  j& x9 ?0 L
  866. ;   extension=/path/to/extension/msql.so
    & X% U5 M; G4 G" g/ w: S* o" ^
  867. ;- C& ]3 b% f4 |9 @3 I8 U
  868. ; If you only provide the name of the extension, PHP will look for it in its& D- ~" M  u! H2 U1 S
  869. ; default extension directory.0 K% D* w& {1 s+ u$ O4 f
  870. ;
    3 v: Q% H9 T2 j# I
  871. ; Windows Extensions* o8 f" d# [  H6 [; F
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    5 o, f# C# o0 Y7 u% N2 |. b) I8 w
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    " Q& M9 r! t  y; V4 J
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).- M+ b/ I* }6 m% X' W( k6 [* Y
  875. ; Be sure to appropriately set the extension_dir directive.
    8 _9 R. k! k1 A4 w  Q$ x' M
  876. ;
    9 ?: L3 }& e$ I0 [
  877. ;extension=php_bz2.dll6 v, J" `2 l; W
  878. ;extension=php_curl.dll# n# [1 V, B7 q8 X  f) c& @
  879. ;extension=php_fileinfo.dll
    , O5 d: }: j/ h% X6 y" _( Z
  880. ;extension=php_ftp.dll
    ( b# R1 B1 g* _! T/ @, T/ _
  881. ;extension=php_gd2.dll5 ~- O0 Z/ Q, F6 ~' ]& H
  882. ;extension=php_gettext.dll/ M5 J1 b6 {5 i( x- u- Y# n
  883. ;extension=php_gmp.dll
    ! u/ x2 ]' B# Y  T" [7 m3 s( z
  884. ;extension=php_intl.dll
    9 Y! o2 W' L& K  o! {4 H
  885. ;extension=php_imap.dll
    ; l* @% I4 y- T' n
  886. ;extension=php_interbase.dll
    ' P: {7 J; ]7 ~& K* Q
  887. ;extension=php_ldap.dll
    / {7 e9 x0 X" a5 @& j% E
  888. ;extension=php_mbstring.dll
    ( R/ G- I% q2 ~3 K
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % d2 g+ u2 o7 C8 H% S( d3 Y
  890. ;extension=php_mysqli.dll/ N2 V+ F. i2 v" e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client% d; X+ ?5 G; |) j2 I1 u
  892. ;extension=php_openssl.dll2 ?. V& |) b9 S1 I
  893. ;extension=php_pdo_firebird.dll, z3 @  X- E' ?: y+ Z: d
  894. ;extension=php_pdo_mysql.dll
    # G! i2 @8 p1 y- D  k- ]! D
  895. ;extension=php_pdo_oci.dll
    , z  v" b3 P& r
  896. ;extension=php_pdo_odbc.dll
    - `3 a/ |+ X! ~! q2 v
  897. ;extension=php_pdo_pgsql.dll) w- ]6 ^+ b: l* \; L# [
  898. ;extension=php_pdo_sqlite.dll: k4 K4 {& x9 x7 P2 @
  899. ;extension=php_pgsql.dll
    8 T1 K' U/ e3 u- H- Q$ i
  900. ;extension=php_shmop.dll; [  @& \) |% B0 C
  901. ! V% ]! m, a: J) P8 [
  902. ; The MIBS data available in the PHP distribution must be installed.$ B" B' f% g- i- J3 r& [( Q
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' g/ ?$ ~+ A) t8 L% l7 B8 H2 T1 [
  904. ;extension=php_snmp.dll; I3 p1 |) _/ n$ s  b8 y4 m

  905. : b- Z8 x) C8 P6 L
  906. ;extension=php_soap.dll
    9 g8 g% \" b3 a& }! g' c/ }
  907. ;extension=php_sockets.dll
    " i* r" r% m0 Y1 {
  908. ;extension=php_sqlite3.dll
    9 _2 s# h: H; h6 T! g
  909. ;extension=php_tidy.dll2 ?0 a' @2 i  S2 e
  910. ;extension=php_xmlrpc.dll
    ) {" H) F7 M" I" i+ o9 G* h
  911. ;extension=php_xsl.dll
    4 z8 `* L) v! w+ R7 d9 C% X
  912. / V& B* i' U. A
  913. ;;;;;;;;;;;;;;;;;;;" A$ d7 N% ]9 p9 b. M* V: u3 o
  914. ; Module Settings ;
    , m9 I/ c' m, Q. |( r. {+ G
  915. ;;;;;;;;;;;;;;;;;;;& \' [5 `4 U3 Z+ j" |

  916. , D& V( e0 ^. v- b. ^% j3 `9 \
  917. [CLI Server]
    : R' ~% Q" O2 h- \7 n6 b9 |/ }4 |
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# F6 C/ e" W' J; }# G9 ~2 s/ P5 h( o/ a
  919. cli_server.color = On
    4 X. i) o1 |2 ^, g2 Q7 h

  920. 8 G( l% Y2 M/ f0 ]3 Z
  921. [Date]
    , v9 Z2 o' c3 k% Z
  922. ; Defines the default timezone used by the date functions
    , ]& W2 J1 t$ j, x2 X
  923. ; http://php.net/date.timezone
    8 K" r4 P& A) J8 N* }* c
  924. date.timezone = PRC6 C/ ^1 J. Q" f+ n2 P! T0 R* P
  925. 0 z3 ~9 c1 X7 a1 M
  926. ; http://php.net/date.default-latitude( j+ y' u3 {! z9 j: i  g
  927. ;date.default_latitude = 31.7667
    ) a; g6 @( w) I' F

  928. % n: d  j1 d5 ~; c
  929. ; http://php.net/date.default-longitude
    8 K/ j8 k# \0 i) U9 B3 d; J0 ~
  930. ;date.default_longitude = 35.2333
    - [8 y8 }. V6 t4 m; H! u

  931. ' M$ k' r5 B# c; X0 z; R
  932. ; http://php.net/date.sunrise-zenith
    " j1 o$ p1 d( f# \9 c% v+ H
  933. ;date.sunrise_zenith = 90.5833333 t, e% t+ ]$ {5 J
  934. $ K, ?- }$ i3 c* R' o9 |2 Y
  935. ; http://php.net/date.sunset-zenith
    0 a! m8 S7 `/ l, m- t3 f9 h
  936. ;date.sunset_zenith = 90.583333
    : M4 K/ n) g! l/ Z% |5 j
  937. . [5 b% e  F$ g2 c. b5 {
  938. [filter]4 u% h# p4 S7 `
  939. ; http://php.net/filter.default. j1 P6 W# w8 r$ p( v* E
  940. ;filter.default = unsafe_raw& W5 R+ R9 G) w; k4 M1 ~' O
  941. 9 t" C: [2 n1 O6 d
  942. ; http://php.net/filter.default-flags! ^0 R$ [. }/ e' ?# x
  943. ;filter.default_flags =( G, L( i% _. W3 n8 I- |
  944. + N$ u& [( X( b! i. ~! j6 }8 c' S
  945. [iconv]' j; Q5 |/ _5 p2 d
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.' L$ \; I! f: n4 ?3 F$ T, \4 Z5 g: W
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : D; w0 A* D! K9 Q: O
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 n; p: [) k  h0 \1 x/ Q
  949. ;iconv.input_encoding =* j) d9 l( A3 J7 |- W
  950. ( p$ r+ c, k; [0 B* x7 i% A
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 A% A! D; B9 A; r
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : F2 ?3 ?1 S$ O1 N+ d( U, r
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ }' N/ ?3 ~8 D) ]. |
  954. ;iconv.internal_encoding =2 y+ u4 c, ~, @3 _( c
  955. ! n& s. Q" X9 P7 n. b; b4 Z$ Q
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) ~# q. h4 p3 c& b1 I3 r& a
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& z$ w6 x0 g& v  b% g& r* Y  F1 g6 _
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" V2 Z4 c+ {( X9 E* B2 M% F
  959. ; To use an output encoding conversion, iconv's output handler must be set7 O9 P1 y% _! S$ H
  960. ; otherwise output encoding conversion cannot be performed.% H$ ?2 a+ d% Y7 ~0 f& Z) n' P
  961. ;iconv.output_encoding =
    : T+ r& \. r" ^9 N+ {) W9 b
  962. & k! f- j# `. v: @3 k0 j6 h
  963. [intl]0 \' i7 q9 u& W; b
  964. ;intl.default_locale =
    ; c9 X7 z& n" z1 h) w2 d
  965. ; This directive allows you to produce PHP errors when some error& G" N: a4 r! p1 x8 u
  966. ; happens within intl functions. The value is the level of the error produced.
    % J6 x2 m' S; r/ I, a/ O
  967. ; Default is 0, which does not produce any errors.
    6 J& v, m( o  y3 w" A' ]" E
  968. ;intl.error_level = E_WARNING
    5 i0 w# f  ?9 [" L0 y, ]# Q
  969. ;intl.use_exceptions = 0
    8 V/ c' d/ {0 K

  970. / r8 W  W& d3 D9 s& K% m) ]( u
  971. [sqlite3]
    3 q9 H* K& S4 I
  972. ;sqlite3.extension_dir =
    8 P' A* Z. Z7 B( T9 t' a% Y8 c2 c

  973. ' J% N: \: R1 f: g
  974. [Pcre]2 u9 ?- J0 w* |4 p7 S
  975. ;PCRE library backtracking limit.! Y8 `/ w8 d4 r+ \% A6 u
  976. ; http://php.net/pcre.backtrack-limit
    9 p9 ~$ V- x' Y: P
  977. ;pcre.backtrack_limit=100000! v; ~8 {. }* m
  978. / j% v  h! K6 N: S1 z
  979. ;PCRE library recursion limit.
    ' c! O6 c* c3 P! O/ p& I
  980. ;Please note that if you set this value to a high number you may consume all3 o6 R0 T- s3 p; j- ~5 \# T
  981. ;the available process stack and eventually crash PHP (due to reaching the0 D9 N. a" A% S# p
  982. ;stack size limit imposed by the Operating System).
    2 o5 O- x. h3 [$ B# O' V& a0 N
  983. ; http://php.net/pcre.recursion-limit1 X( L) p- K: p
  984. ;pcre.recursion_limit=100000
    : g. b. \% ~/ V' C/ @2 W
  985. : O! [$ ^/ q% e& e) K4 }4 i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE7 b( |/ n( U! a, k/ m, ?
  987. ;library to be compiled with JIT support." ]4 V8 W' O# U
  988. ;pcre.jit=1
    " w* z! @% N: h( {9 y0 N1 k

  989. 2 t" [1 z# ?$ y& |2 L) h; D( V
  990. [Pdo]
    0 Z* y; W/ h  I5 X, p; B0 Y/ b
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"- [, ?' t% p  V* g" ?0 E
  992. ; http://php.net/pdo-odbc.connection-pooling3 N4 |) N( D  |
  993. ;pdo_odbc.connection_pooling=strict
    ) z( U  `9 j* Z9 @7 C
  994. 2 h6 H  `: W/ I! P3 C
  995. ;pdo_odbc.db2_instance_name7 P' i. c: `2 I. v
  996. 2 F5 q! {  _' x# _: q. b
  997. [Pdo_mysql]2 S! W5 K7 Z1 r% G) F
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # _/ m: u% r: k- B6 g! U* y5 b
  999. ; http://php.net/pdo_mysql.cache_size
    1 T- Q  k3 B0 l
  1000. pdo_mysql.cache_size = 2000
    * R# V/ x- n! r, c+ p& V

  1001. 9 s0 w/ _. t3 _* R) o3 @# n6 A
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 b7 U/ `- d( [' _
  1003. ; MySQL defaults.& t$ x+ U6 }) n) S
  1004. ; http://php.net/pdo_mysql.default-socket
    - w' D3 g, y) k/ K* G
  1005. pdo_mysql.default_socket=
    7 z' }$ i) a( d1 M/ D
  1006. , |% ]+ {2 s! p6 m/ @! e6 v/ g
  1007. [Phar]
    + w# d$ _" h5 S9 G' q9 d" l
  1008. ; http://php.net/phar.readonly
      r/ W9 r( ?+ C, @
  1009. ;phar.readonly = On
    ! s4 f, U3 n# B- {5 m# g( v  Q. Q0 Y

  1010. + ~6 m. a( _9 L2 s- Q  F
  1011. ; http://php.net/phar.require-hash
    % t1 d2 l! k3 j$ l" d+ n  I
  1012. ;phar.require_hash = On  B2 s& g+ m# ]( D. Y
  1013. & M% Q" ?; M+ h1 C6 A) O" ^
  1014. ;phar.cache_list =6 S: V; I2 O+ l5 h1 e7 |
  1015. 5 T' S+ R. e7 d7 N- C) t0 ?
  1016. [mail function]
    + _4 c$ I) T( M) R* x; @4 E
  1017. ; For Win32 only.
    9 K' u* i1 K: l/ b" _
  1018. ; http://php.net/smtp
    6 s$ |* R  D, W, v6 u
  1019. SMTP = localhost
    9 U3 Z# J' i4 [: k) V
  1020. ; http://php.net/smtp-port* q6 o3 u- l" n& S/ k- ?" X+ W
  1021. smtp_port = 25
    9 X# \0 e+ j2 r* U# v4 W
  1022. & W( k1 ], r  }+ x2 K0 F6 L) g
  1023. ; For Win32 only.; B) }% I5 ^, y8 c* I
  1024. ; http://php.net/sendmail-from
    : j6 C( P! k, p+ A/ n* h" K
  1025. ;sendmail_from = me@example.com0 u& U3 Q. [% a* w
  1026. . t! Y4 K6 {7 k# F* e9 s
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / C% B9 v* i3 r0 n. G
  1028. ; http://php.net/sendmail-path
    ' \6 u! G4 S! R2 H* R8 a
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    + j( \# R( E- h1 R
  1030. 0 Z  C$ |+ v$ ^2 a% M; `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ! a# b& g8 s$ {- \+ Q+ e& L
  1032. ; to the sendmail binary. These parameters will always replace the value of  u. I6 f- V, D
  1033. ; the 5th parameter to mail().
    1 V; s7 p% m8 h# R) {
  1034. ;mail.force_extra_parameters =' p- ?5 e" ~! B( l% e) u3 E% _
  1035. ) c& d7 ^$ E3 R: W& p
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " x5 {% A7 }& P' d7 F% r2 k
  1037. mail.add_x_header = On
      v' M  I' e2 Y& C" j
  1038. - y5 J% S. P: H2 z( a
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    4 ^! N' T  [' c9 j5 x+ p2 `% c9 r# u
  1040. ; the full path of the script, line number, To address and headers.- v2 |/ X" Z, o* P4 W0 y: `+ I4 e
  1041. ;mail.log =; \: {; T7 D$ ]/ ]/ M5 N
  1042. ; Log mail to syslog (Event Log on Windows).. C6 S" ^; r6 H4 {- R
  1043. ;mail.log = syslog
    6 Q- _3 v; ]: d

  1044. * r  z0 P1 G" \4 l
  1045. [SQL]
    2 F1 W7 {* w; v
  1046. ; http://php.net/sql.safe-mode" t1 o0 P9 ?# O- l  }& K, ?& ^
  1047. sql.safe_mode = Off
    $ `. }9 y5 I6 y$ B  G+ c( l

  1048. ( L* N/ L4 [7 G& N3 j) X8 I
  1049. [ODBC]* L& {, W) W' j1 a" a
  1050. ; http://php.net/odbc.default-db: x( z- `9 R/ U8 z! ]
  1051. ;odbc.default_db    =  Not yet implemented
    6 f7 k  @" X4 M$ L, T, ~+ Q/ Q

  1052. : H6 Z1 q4 t% X! t/ [5 r
  1053. ; http://php.net/odbc.default-user
    " S1 n& R8 r, E& X# J, Y9 ~0 V
  1054. ;odbc.default_user  =  Not yet implemented9 U; g  \, c, ]7 }

  1055. . q! @) I0 i9 v" U& H9 f
  1056. ; http://php.net/odbc.default-pw$ q; r2 r' Q# J7 U/ ^. T. ]
  1057. ;odbc.default_pw    =  Not yet implemented
    6 z7 @* H$ a$ b0 \$ N- I
  1058. / t+ D& S% B/ K+ |2 v
  1059. ; Controls the ODBC cursor model.# W0 B- V2 A: R" O! W
  1060. ; Default: SQL_CURSOR_STATIC (default).% R( }2 R  {- ]% ~  i' x; r1 ?
  1061. ;odbc.default_cursortype% q; X1 ?2 K* Z  q1 [
  1062. 5 X- Q$ ~+ w' l; y1 Z" [- D% a9 J
  1063. ; Allow or prevent persistent links.7 C1 c' F- @) w& x( f! Q6 Y
  1064. ; http://php.net/odbc.allow-persistent
    ( P0 n9 H' a3 g* I
  1065. odbc.allow_persistent = On; M+ ~3 r; \4 F# s$ P3 F, ~( H
  1066. 6 H% ]; x+ z5 y) _5 p3 L
  1067. ; Check that a connection is still valid before reuse.% _& p# ]. R' p0 z1 J% X' ~# k
  1068. ; http://php.net/odbc.check-persistent
    5 n2 {$ V! T- ~  I* h6 t7 d
  1069. odbc.check_persistent = On
    0 G) W3 j8 X. y
  1070.   D+ \% E6 G. G
  1071. ; Maximum number of persistent links.  -1 means no limit.
    3 g$ p3 W, _4 T7 v4 Y
  1072. ; http://php.net/odbc.max-persistent  j' d2 V2 M* I
  1073. odbc.max_persistent = -19 @. l; X6 ]8 L+ d( i

  1074. ' y1 c/ l8 u7 L0 J- I
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* t4 i6 ~$ k0 g6 L3 |& s# E
  1076. ; http://php.net/odbc.max-links
    3 L5 o9 H* I4 u! R9 {! f
  1077. odbc.max_links = -1' m7 i: N5 [$ f8 T1 b( w' A6 I, r
  1078. 9 b- P1 ]3 Y) _. c5 _+ Q( q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 s% _( M; t3 I/ B' f
  1080. ; passthru.5 W' q! ]4 [! P6 J  W
  1081. ; http://php.net/odbc.defaultlrl
    + Z" z4 I$ D3 ]. F
  1082. odbc.defaultlrl = 4096
    8 k1 i0 T& _) m2 i

  1083. - |- x/ P* ?7 J% A& B* e$ D
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* K% i; N0 o! f1 j4 |% k% m( M1 N
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation! R: Q, i! `  }3 i1 H. ^9 m7 B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    . E2 |  u1 }0 }6 l, a2 M
  1087. ; http://php.net/odbc.defaultbinmode
    9 Z- q4 g0 i3 `% k% L) j
  1088. odbc.defaultbinmode = 1
    " t& B8 g6 t  w( I
  1089. * ]: ^6 U8 o# i4 A" R; K/ ~
  1090. ;birdstep.max_links = -1! o3 Y2 S" U! _- H* [

  1091. 2 E' A* D; H4 l- D* Q
  1092. [Interbase]+ I) \# B' T/ O( V  C
  1093. ; Allow or prevent persistent links.
    ! ?7 k, s" A, ?' @: i
  1094. ibase.allow_persistent = 1+ M1 `( y9 `8 b2 s( I8 B
  1095. ; |# J# ?+ _+ p+ V# L
  1096. ; Maximum number of persistent links.  -1 means no limit.3 Z5 I7 R: }0 N! s, h* R' ^7 n
  1097. ibase.max_persistent = -1
    6 t8 B- G: \1 V3 @9 o

  1098. # i- b. R( S: V- c
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 |( l8 \& o: ?# h- v( X+ d
  1100. ibase.max_links = -1
    : E/ u* z0 w5 T, ~& \% T0 P

  1101. & s  Y7 o5 B# L; S( {' j# s
  1102. ; Default database name for ibase_connect().
    5 G0 a, m" ~  F+ R1 i1 |8 C
  1103. ;ibase.default_db =
    4 W- P$ O7 G/ i
  1104. + C9 }, Q2 U, |7 z( \3 J
  1105. ; Default username for ibase_connect().
    / E  ~+ ~( K. i# Y5 l  W" G: P
  1106. ;ibase.default_user =
    0 x  M3 v9 b6 g$ W! g% m( u
  1107. 8 |( Z  `, o9 P) z. X) B; z" m7 U
  1108. ; Default password for ibase_connect().
    9 A9 @8 C1 ]# V# l' E# f
  1109. ;ibase.default_password =
    4 @. B4 o# }$ H. c$ ]

  1110. + U! s  L3 D# z  b; W* X
  1111. ; Default charset for ibase_connect().
    & D. i9 [4 k1 @" f9 Z3 i- h. R
  1112. ;ibase.default_charset =
    1 c. }3 N4 H* o6 s. F
  1113. 3 i6 m2 {" z9 S3 _. [; W; a
  1114. ; Default timestamp format.# q6 O. p! F: f, I7 w+ x. A  @) g. Z
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 d" H& M8 u* @- |7 ~) O

  1116. 6 e4 R1 Z6 C+ i
  1117. ; Default date format.
    ; n0 _' x3 ?. U& F# F# ]) p
  1118. ibase.dateformat = "%Y-%m-%d"
    : h) T$ J0 U; V6 T9 a3 s
  1119. ' h. C" ^0 |# i+ h( e
  1120. ; Default time format.
    ) h0 K0 B2 w7 P; C  |6 n6 R' Q
  1121. ibase.timeformat = "%H:%M:%S"
    6 D9 e5 [' d# y. Z$ N
  1122. , `) Y1 `: m3 e
  1123. [MySQLi]
    ) H8 {) H! u' C
  1124. , C( _2 R/ u. G
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( L. f$ k8 Y0 L; S- c6 i
  1126. ; http://php.net/mysqli.max-persistent
    0 @% S% g+ ~, l6 W3 l: ^2 s5 d
  1127. mysqli.max_persistent = -1
      }) Z2 L: [8 M$ W/ f8 S% \% A! ~/ d

  1128. - k% I) X2 z6 n; v
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 N; w6 ~6 `7 ~1 P" q8 a
  1130. ; http://php.net/mysqli.allow_local_infile5 y1 H6 o. |  ~, [7 S4 O: q
  1131. ;mysqli.allow_local_infile = On
    ; }2 O; h. T+ Z; V& g+ h

  1132. 3 S" N' M: J& t; _& _3 E$ W: w
  1133. ; Allow or prevent persistent links.
    % T# T6 ]/ j& r
  1134. ; http://php.net/mysqli.allow-persistent
    - u# @, {7 b& N. M, L* h
  1135. mysqli.allow_persistent = On
    . k) k$ ^% m4 X' y! d: u4 M/ }

  1136. : i9 {" k' O% N% V2 y% _" i4 P
  1137. ; Maximum number of links.  -1 means no limit.1 _7 L) s6 w! z: V1 D& G7 r
  1138. ; http://php.net/mysqli.max-links
    * m1 F" b0 X$ I$ f' ?8 Y
  1139. mysqli.max_links = -1
    6 [! a% l+ i+ p% d

  1140. / m3 S: S7 Z- w! S+ a6 u) @
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 E& F* A4 i* y5 h6 S* D, l
  1142. ; http://php.net/mysqli.cache_size
    + v. @" O; P5 q9 p0 p: `1 [
  1143. mysqli.cache_size = 2000
    2 @# ?( c, V% \  ^, L* t- y
  1144. : Z3 L* m" k5 g7 i! z$ g2 e4 E
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 e, o  B2 |6 D9 q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 N: U4 X, p0 o, V3 K- z% O8 O0 ]
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 B* H' C& F/ I6 n! @
  1148. ; at MYSQL_PORT./ k4 V' t7 V  j6 T9 t- s
  1149. ; http://php.net/mysqli.default-port
    , S* [' m- }& ~' ^2 n5 B6 c
  1150. mysqli.default_port = 3306; S' L1 M1 B# d2 y0 X8 |) x

  1151. & a( s! ^# Z: m& v7 a- Z. B0 p
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 b# C/ Y/ N. q* r( }
  1153. ; MySQL defaults.' \' O( z' W9 G! R3 }
  1154. ; http://php.net/mysqli.default-socket
    6 F/ x1 k6 b; E$ {& L
  1155. mysqli.default_socket =
    - ^1 C" Z1 S* ?: p, i5 h( j
  1156. # c. X& r. A% N/ [( J' y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . ~2 T/ z. E! n$ J  T
  1158. ; http://php.net/mysqli.default-host/ b  x2 Y6 x  R6 r# y3 H* f
  1159. mysqli.default_host =1 q5 {$ h$ M* V
  1160. ' y* Y+ u" O; p5 n& r6 N6 o8 _
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : {9 X- n1 b: V5 w# z6 |0 h
  1162. ; http://php.net/mysqli.default-user
    * v* Q2 l/ {' O5 A/ Y
  1163. mysqli.default_user =  ~) o! e9 J: d* g# ?) Q) q6 Q
  1164. : R2 e. ^- Q+ [: u9 r
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).9 i3 z' F  O) J- P
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.8 C* f3 `! a; E4 j
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ; a' K1 o3 a1 o( ^
  1168. ; and reveal this password!  And of course, any users with read access to this
    $ p  S1 W. f; @% T% x  v& T, ?
  1169. ; file will be able to reveal the password as well.
    # e- `$ z" r1 t7 r+ q& \
  1170. ; http://php.net/mysqli.default-pw
    # @/ t9 t$ n* m" m8 |, F
  1171. mysqli.default_pw =
    & x3 y: T2 d* Q; Z+ e

  1172. . |, e( Y0 @: D: F2 w  ~+ @
  1173. ; Allow or prevent reconnect& ]0 P5 T3 z& ^2 R9 R
  1174. mysqli.reconnect = Off
    & n0 i9 M: k2 [4 _  H# e
  1175. ; P$ X2 \2 c/ _# R
  1176. [mysqlnd]
    # B" y5 u3 {$ S* b" r3 h
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / z" s& C7 W$ P! g# V
  1178. ; used to tune and monitor MySQL operations.
    ) g9 s' ~9 s5 [2 U1 u8 p
  1179. ; http://php.net/mysqlnd.collect_statistics5 Y0 f2 Q7 N$ e+ Z+ S6 _8 T6 F+ Q9 L
  1180. mysqlnd.collect_statistics = On
    - W& f+ j1 P& h  n+ J- k, g

  1181. 6 M" ?" R3 }, N
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    : E% b7 j/ E* T
  1183. ; used to tune and monitor MySQL operations.
    ' ~, c9 K7 b6 K/ w6 g' G  a; x. z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics  ]% p2 ~0 S/ u
  1185. mysqlnd.collect_memory_statistics = Off
    ) n+ L; o5 b% C

  1186. & Q% t5 o4 @5 C- d- S
  1187. ; Records communication from all extensions using mysqlnd to the specified log/ ]5 @0 p0 e& Z9 l3 I( M
  1188. ; file.
    : n2 I$ A2 D. r/ D0 g0 \
  1189. ; http://php.net/mysqlnd.debug; u  y2 `6 Q+ q9 x8 }
  1190. ;mysqlnd.debug =
    ) c9 ]* b; [! t* ?
  1191. 3 o+ }0 ~% ?) b+ P/ p$ v+ R# }
  1192. ; Defines which queries will be logged.$ P& o: L4 D  O, h9 G$ n4 f5 H8 ]6 _
  1193. ; http://php.net/mysqlnd.log_mask# V4 T/ H5 y/ n# X- G( V
  1194. ;mysqlnd.log_mask = 00 \6 e# O, y8 s: h8 b

  1195. , s3 n( O; Y) L) Q% y6 |. R2 T
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    4 |7 g2 l  K# a/ G8 V
  1197. ; http://php.net/mysqlnd.mempool_default_size
    & o5 }( t0 P+ X# r
  1198. ;mysqlnd.mempool_default_size = 16000
      K) i# X& U( D* [. z" x6 @' A4 O
  1199. + s5 d! x3 ~4 M2 `% J+ N" u/ M
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 ~/ n! n% p9 e( R4 ~; O
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    % k# u2 r9 K! {# w+ D) n
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    4 e6 C( }) J6 k- \! U
  1203. 2 v7 C/ S5 F# J* O; k7 J! f
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 r  ~5 z4 A! X1 [1 v5 F
  1205. ; bytes.
    ) o5 C$ f% o- a" p4 U$ c' _
  1206. ; http://php.net/mysqlnd.net_read_buffer_size7 P4 x1 q6 h% S. E) J. _
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 I1 X$ V' B8 t6 O8 z& z& r/ E

  1208. 2 T1 H- L" ]' m% G7 X: }! b( S
  1209. ; Timeout for network requests in seconds.
    / z0 R4 u9 ]& ]2 j" B$ z6 h9 q
  1210. ; http://php.net/mysqlnd.net_read_timeout9 \8 y% k5 Y- x0 j9 G
  1211. ;mysqlnd.net_read_timeout = 31536000
    & K  a) G2 q& N( S
  1212. 8 O1 e! @2 a" O$ T
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ |: U" S. ^/ V
  1214. ; key.: N. }# J0 F8 Q0 Q
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    $ ?4 \# s& a7 \, l& |% {
  1216. ;mysqlnd.sha256_server_public_key =6 i! z, U4 }" F! N

  1217. # `  T+ @' G" B, C+ G* T' g4 R: w
  1218. [OCI8]
    . [& t3 @$ H. x# p2 q3 d3 N
  1219. , w% t: ^1 u6 v- b$ a, L$ T
  1220. ; Connection: Enables privileged connections using external
    " z4 A. A! c9 _! j' |+ x
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)3 {+ ^7 n5 J, N1 x6 m2 j- V- _
  1222. ; http://php.net/oci8.privileged-connect
    7 ~4 F! y$ O, g4 I% m
  1223. ;oci8.privileged_connect = Off3 i% _) W- O& C: K
  1224. 9 q& c6 S- C7 @( A4 u
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    4 h  j7 T% O8 H. ]8 i7 u
  1226. ; process. Using -1 means no limit., p+ P3 |6 K' n' w: Z
  1227. ; http://php.net/oci8.max-persistent! @$ A6 s* o& w" E9 R; E
  1228. ;oci8.max_persistent = -1: B* d3 h! K4 ^1 p

  1229. 9 k* v$ m, I9 j0 S5 i* Y6 l! ]
  1230. ; Connection: The maximum number of seconds a process is allowed to
    & L  K" {- K0 b9 b
  1231. ; maintain an idle persistent connection. Using -1 means idle
    8 u. x. y6 }; H7 T, j- j  {
  1232. ; persistent connections will be maintained forever.& e+ F9 O# J2 w: m, A; e
  1233. ; http://php.net/oci8.persistent-timeout) j5 \$ c% A% K: k1 M# [
  1234. ;oci8.persistent_timeout = -1! x/ x2 X. f* G9 i: b. L
  1235. ( I3 M( v& T3 h5 F: Z& c
  1236. ; Connection: The number of seconds that must pass before issuing a: r( V8 w' q. c: @( I
  1237. ; ping during oci_pconnect() to check the connection validity. When; v# I: G2 b% B( D( |
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ' _* u2 }$ G% ?5 [
  1239. ; pings completely.
    4 I' X. j$ Y3 d) S2 N- y, o" K
  1240. ; http://php.net/oci8.ping-interval+ ~6 s& q/ d# K1 c: o- w
  1241. ;oci8.ping_interval = 60' `( l3 p1 f* z1 S0 a' \5 s
  1242. / \# l1 k2 k8 W5 k3 g
  1243. ; Connection: Set this to a user chosen connection class to be used
    6 S5 n2 c$ @* \9 O# d& E$ f" C
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    : _1 ]* `2 q" r9 X# D0 V+ ]
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 a8 W: h: G# g% j
  1246. ; the same string for all web servers running the same application,
    2 C4 ^8 Y( s* B# q+ N, @0 G; {% w1 o2 S
  1247. ; the database pool must be configured, and the connection string must! ~+ ], O+ j6 S
  1248. ; specify to use a pooled server.
    ! h- N* T! v) A1 y1 F, u
  1249. ;oci8.connection_class =/ `2 G1 u+ W; q4 j
  1250. & C" Q2 b4 x5 X, C; _* }' J
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ d: a+ F/ Y9 m6 {  C
  1252. ; Notification (FAN) events generated when a database node fails. The
    ! R0 {, ?: V1 _1 w( t
  1253. ; database must also be configured to post FAN events.
      k' s) L3 W- w5 d( @& ^0 Q& _8 \
  1254. ;oci8.events = Off
    6 G6 n$ L: F# e' A" r
  1255. : W% S+ p! b  o; j
  1256. ; Tuning: This option enables statement caching, and specifies how
    , M; h: `% ^: |1 s; l; d% }
  1257. ; many statements to cache. Using 0 disables statement caching.( M2 a* f8 ^! t/ C# H9 d
  1258. ; http://php.net/oci8.statement-cache-size0 `5 ~: j  }+ F! g* h, r: y
  1259. ;oci8.statement_cache_size = 20& m* @, i/ e8 Z6 r0 i
  1260. ) z% H' ~1 |' S4 o' W: b  V
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    * Q/ A7 n0 {$ z, i
  1262. ; rows that will be fetched automatically after statement execution.
    & e) v2 l; b  a  N8 E8 w
  1263. ; http://php.net/oci8.default-prefetch
    # Z/ j7 P4 C% }% o( ~- O6 |
  1264. ;oci8.default_prefetch = 100  `+ u+ j7 ]7 t$ N4 x! s

  1265. , u0 X7 l. U- v4 M
  1266. ; Compatibility. Using On means oci_close() will not close- Z! Y1 A9 E  M% X2 [
  1267. ; oci_connect() and oci_new_connect() connections.
    & t5 C" `8 i6 A! q
  1268. ; http://php.net/oci8.old-oci-close-semantics
    9 @3 a9 ]( y  z! B$ n
  1269. ;oci8.old_oci_close_semantics = Off
    & f+ X' n& s  K, G

  1270. $ @$ w8 h/ p- L- v
  1271. [PostgreSQL]
    3 q8 b3 C3 f- J) |
  1272. ; Allow or prevent persistent links.( |/ j2 L( t6 R- H* Q
  1273. ; http://php.net/pgsql.allow-persistent0 N  o- |4 v1 N
  1274. pgsql.allow_persistent = On
    ( m: U) @& B8 b
  1275. + R$ k& f6 k! k& m; y( |
  1276. ; Detect broken persistent links always with pg_pconnect()./ u: ~* s; P8 k' u; |8 G/ ]! Z* o7 C
  1277. ; Auto reset feature requires a little overheads.
    2 i' b8 m% t+ a$ _/ f
  1278. ; http://php.net/pgsql.auto-reset-persistent
    * K! H7 R0 q3 W# `. P- b
  1279. pgsql.auto_reset_persistent = Off" {( c3 T$ t/ I
  1280. . u+ G- C( E+ f8 a
  1281. ; Maximum number of persistent links.  -1 means no limit.& ?9 S2 x) z" T: G3 @; N
  1282. ; http://php.net/pgsql.max-persistent
    ! B. i. b+ g4 K1 m8 q
  1283. pgsql.max_persistent = -1
    + m$ S! y( p# S1 p8 l3 {* C

  1284. 0 M; q* G3 s8 T/ E
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % [: ]1 D! `/ _: }7 Q+ I
  1286. ; http://php.net/pgsql.max-links; Z8 I/ U8 I  ]6 u* v
  1287. pgsql.max_links = -1
    ) W# x, N! \4 A! C$ K& j

  1288. ' q/ s; L  y0 Y7 W* x8 |
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 I1 z8 Z( f. B' r
  1290. ; Notice message logging require a little overheads.0 x: M" A7 L! U% A9 h! v
  1291. ; http://php.net/pgsql.ignore-notice
    9 W; N* J2 h9 Z. @
  1292. pgsql.ignore_notice = 02 O+ _' s' l& X! K+ C

  1293. 8 K; |8 Q% [% f3 x* [' w. I
  1294. ; Log PostgreSQL backends Notice message or not.. e) ~% N) M3 f8 |4 p
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 y* k' i$ n# p( d) R9 {$ p  ^) d
  1296. ; http://php.net/pgsql.log-notice
    4 {. V2 M1 z7 x. V5 y  \) B8 w
  1297. pgsql.log_notice = 0/ I+ m$ t5 h& m( l, G- A; ?" W

  1298. 2 a, D2 _6 s  _7 f* {
  1299. [bcmath]7 s! ~8 _0 [* z4 ^' E8 ~. f
  1300. ; Number of decimal digits for all bcmath functions.6 s9 a8 N) w  g. {2 w
  1301. ; http://php.net/bcmath.scale* `4 L! b& q6 S: U+ ]7 U1 L6 l
  1302. bcmath.scale = 0- d) i/ J" N! M  N0 ^7 j

  1303. & f5 D# |# t6 E* L. y. b: j+ T& M* r
  1304. [browscap]
    - D3 @6 Z# q9 N# m$ u# U# _5 H/ K
  1305. ; http://php.net/browscap
    9 Z' k  s8 `# C5 x6 P
  1306. ;browscap = extra/browscap.ini
    0 ~4 Y" j" ]$ d& M2 p0 X
  1307. 4 B* L, c% e) x, `  R% l/ K7 \4 m
  1308. [Session]$ d( T; R2 M0 y2 I' O7 y; W3 q
  1309. ; Handler used to store/retrieve data.
    7 W0 h5 d; }( t$ R- A1 L4 q
  1310. ; http://php.net/session.save-handler
    ( Z& o8 B2 l: N- V
  1311. session.save_handler = files
    - R) Z7 U1 B3 o" u0 Q, O
  1312. 1 _! Z9 Q, x# q9 g2 c0 U$ w# \
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ( `# \8 }, y6 d; z$ d
  1314. ; where data files are stored. Note: Windows users have to change this
    , i; @4 j$ A0 S% m3 T- p7 _- v
  1315. ; variable in order to use PHP's session functions.8 z7 u$ E9 I: f
  1316. ;) F& q  d- z# Z0 U, Y
  1317. ; The path can be defined as:9 z; v: o$ |0 q: y# g
  1318. ;
    9 X8 e) o" R" V8 t) a' ?/ \
  1319. ;     session.save_path = "N;/path". h% O0 }+ v. q. L
  1320. ;
    1 k8 ]  c  i. ~
  1321. ; where N is an integer.  Instead of storing all the session files in, ?6 E2 O! H; Q# j9 h; g# W4 `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and. y/ H1 c1 A* r+ V7 U
  1323. ; store the session data in those directories.  This is useful if( ~0 \% v/ P9 L0 f4 k
  1324. ; your OS has problems with many files in one directory, and is# e% q$ p$ L3 w, ^# O
  1325. ; a more efficient layout for servers that handle many sessions.
    , e! P* z$ |: Q
  1326. ;6 s. J0 Z- B. Y% O* N
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    7 g( N% y- m2 T' p" D
  1328. ;         You can use the script in the ext/session dir for that purpose.# ]. ~; s; l% e- b$ f) R
  1329. ; NOTE 2: See the section on garbage collection below if you choose to  F7 M5 a+ d) l
  1330. ;         use subdirectories for session storage+ d0 F2 X- A. X% |8 m
  1331. ;
    0 i6 k* R4 x6 K1 Y/ ~9 j4 E
  1332. ; The file storage module creates files using mode 600 by default.
    1 g- ]1 Y4 i& ~9 D7 Z
  1333. ; You can change that by using1 {7 Q5 {0 q  T
  1334. ;
    ! c, F. }! U8 |6 R% s9 Z+ |( U
  1335. ;     session.save_path = "N;MODE;/path"" R7 G+ U  W7 N, t) M; j" p
  1336. ;, d+ O& L3 x. K" p( ~# \0 L9 ]
  1337. ; where MODE is the octal representation of the mode. Note that this' y" B, O7 ]& }# a' V7 W
  1338. ; does not overwrite the process's umask.- w( d, S% Q3 N* U4 N
  1339. ; http://php.net/session.save-path
    # g4 N8 g. u$ o% l# q5 R- {
  1340. ;session.save_path = "/tmp"5 N+ X& S& g" |" q, K

  1341. : v# m5 n/ ~' G  W
  1342. ; Whether to use strict session mode.
    ( L" ~0 W& V# Z
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate- }, r* D9 u* ]& X3 r
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    : }) M' F: |$ W$ \, @
  1345. ; applications from session fixation via session adoption vulnerability. It is( z2 r* p9 l0 S4 }
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.& \, m; v: @6 M( D. N, d: w% H  `
  1347. ; https://wiki.php.net/rfc/strict_sessions2 P2 f& M0 K, I) o) t  ^
  1348. session.use_strict_mode = 0- D4 ~7 n2 V+ m' u) I5 _. ~

  1349. / ]3 f3 @1 l3 O
  1350. ; Whether to use cookies.
    ! ]  E4 j" x! J# z. G) Q7 x
  1351. ; http://php.net/session.use-cookies; U6 E* [4 P6 Z) A4 T
  1352. session.use_cookies = 1! x' d; N, Z3 r3 J3 U- ^2 E; P

  1353. . g) Z" c& L3 }1 C* n, D
  1354. ; http://php.net/session.cookie-secure
    / k$ \& D7 M* a; E: t' z. E" B
  1355. ;session.cookie_secure =. w% |8 h: `! r! E$ X6 `7 W

  1356. 2 a8 ~) e' r& u' F
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining# i2 @8 [6 j; t
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ; K( R$ ~4 `: C; U" P: W) E; `
  1359. ; session hijacking when not specifying and managing your own session id. It is
    + X7 D2 l) a, u% c8 l  M, @
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # M  m( t) y. i5 v* Z
  1361. ; http://php.net/session.use-only-cookies1 u& {& U+ i  }1 j  h5 M
  1362. session.use_only_cookies = 1" }3 V) E( P- F' g5 K3 f

  1363. - P/ T0 H  Y6 e9 ^- {
  1364. ; Name of the session (used as cookie name).# u% }# [& f- m9 s8 Z  w
  1365. ; http://php.net/session.name! c$ [8 i+ r, A: t( @! `; N) O& M
  1366. session.name = PHPSESSID
    2 I- w4 o& ]! f3 J
  1367. 2 D- d: Y. U: |& @8 g: q2 v3 k' h
  1368. ; Initialize session on request startup.
    $ p1 O( B. U5 v" Z6 J% Y4 y
  1369. ; http://php.net/session.auto-start
    " f4 d. }) X+ x3 w
  1370. session.auto_start = 0
    0 n; E6 z; H/ |( t5 s
  1371. $ F' n! K- ]5 Z3 I$ U" O# l
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 r0 T3 E- @# y) C7 @$ v+ g4 i
  1373. ; http://php.net/session.cookie-lifetime6 g) v% ]1 m  q% f$ N3 G
  1374. session.cookie_lifetime = 0
    * Z& O3 w* P, w$ m6 v# E1 Z

  1375. 6 m3 _# O% H2 H+ }0 a/ c5 m
  1376. ; The path for which the cookie is valid.
    * C/ L+ s% u. t
  1377. ; http://php.net/session.cookie-path
    2 J5 l: x1 L( y% h
  1378. session.cookie_path = /
    , @# D  v- M! G  u9 I( A( n7 ^

  1379. 2 }5 Z$ E: r. t1 a1 U- ^) F
  1380. ; The domain for which the cookie is valid.
    ' n7 B( i& a$ E2 h9 Q4 D
  1381. ; http://php.net/session.cookie-domain
    6 g' C1 J% c' w$ h6 p/ h
  1382. session.cookie_domain =) G5 d3 }  i( ~7 L# s) y; X
  1383. . h% E) z" j' f
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 w- v' {- c: I
  1385. ; http://php.net/session.cookie-httponly
    9 ]8 p0 l) A$ A1 y0 k* a
  1386. session.cookie_httponly =
    ' O* R' n* m: j3 c6 K* J

  1387. ) `( N* Y: f6 d& V0 }! M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    * K* W) F9 G& M3 y/ a3 v7 A4 Q7 z- n9 g
  1389. ; http://php.net/session.serialize-handler  `/ g1 w6 N! M8 h
  1390. session.serialize_handler = php
    / Q$ K. M, I, A" x; E9 l2 E
  1391. 1 s1 R: y* b% B" @0 i: }$ {
  1392. ; Defines the probability that the 'garbage collection' process is started0 I$ R# [; F' D3 B+ k
  1393. ; on every session initialization. The probability is calculated by using3 \  c, G( X& ?
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: r/ c3 U/ @" U0 t3 c5 _. y8 k8 l
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    * W/ ]$ r( g- D- M5 C" L$ l& Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" ~- M, V5 I' H' G$ h
  1397. ; the gc will run on any give request." s& T3 l. p6 S0 `5 R
  1398. ; Default Value: 1
    - T- p. g0 p9 V' ?$ z
  1399. ; Development Value: 1% ?9 |8 {# e3 i' a2 m& s& s
  1400. ; Production Value: 1  s/ C* |, e% B
  1401. ; http://php.net/session.gc-probability4 m3 H5 n4 n, x/ U- T
  1402. session.gc_probability = 1* H1 M7 P7 E* V; v, s3 Z

  1403. " S+ {8 K7 c. \
  1404. ; Defines the probability that the 'garbage collection' process is started on every  x5 r' }$ n) b: m# v+ @
  1405. ; session initialization. The probability is calculated by using the following equation:  G3 o- J/ g3 J' T1 h3 v4 o
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 I: v5 J; S: l/ x/ r* k" `
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - P6 W' b; [5 V! F
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 R/ R4 K. u, |! ]
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 z9 R; @/ \4 u
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    / I% h+ u) }0 P- e
  1411. ; this is a more efficient approach.
    " \' W! d8 k4 `& c8 w. s0 j
  1412. ; Default Value: 100
    % @. e4 o6 Y% j0 S4 U
  1413. ; Development Value: 1000
    " t4 {. |1 U4 Y0 I' v: j
  1414. ; Production Value: 10003 P0 B$ m, Z7 N$ p) @; j% r/ z
  1415. ; http://php.net/session.gc-divisor
    & d' p: J4 S) y  g
  1416. session.gc_divisor = 1000
    ) ]& c, Y1 x( ]1 Y

  1417. ; _6 p& n9 e6 g, c) @% U& f
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 ~+ h+ i1 M9 a9 e, x- o' m% V* Y
  1419. ; cleaned up by the garbage collection process.4 n. M! V( M5 G) v+ ~; g0 P
  1420. ; http://php.net/session.gc-maxlifetime
    + I- Q; |) L* F
  1421. session.gc_maxlifetime = 1440
    & v; P+ x4 b+ G  C2 W: [% ?3 ~' m; N
  1422. 9 Z7 h  }5 d* M
  1423. ; NOTE: If you are using the subdirectory option for storing session files' }7 r6 `# U0 H/ s2 I
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ; Y) g1 \0 I( Q
  1425. ;       happen automatically.  You will need to do your own garbage
    5 x* F; G3 v) t/ J& @
  1426. ;       collection through a shell script, cron entry, or some other method.
    4 p3 U! Q+ ?  S
  1427. ;       For example, the following script would is the equivalent of8 G) Q# r7 |9 g$ u
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 }, E6 K3 _! F/ H  P4 I$ v* ?
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& ?. }& G0 |: P. {8 t
  1430. 9 }6 ~# a' K* B8 A) V0 z: \! c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    $ b& }. p0 o; }* ^
  1432. ; HTTP_REFERER has to contain this substring for the session to be, ]+ q' y( |" ?* R# E0 @
  1433. ; considered as valid.
    ' z1 t/ j! R) F6 k8 e  B' S
  1434. ; http://php.net/session.referer-check
    * x1 K+ q/ y, Y; X
  1435. session.referer_check =
    0 S9 D! _: J+ ?* a

  1436. : Q5 f6 P- p& h. p- Y
  1437. ; How many bytes to read from the file.  |& _; ~3 V# Z; u: x+ z
  1438. ; http://php.net/session.entropy-length1 M9 `8 S7 N% K* i, k
  1439. ;session.entropy_length = 32
    ; l1 M, @  Y; E
  1440. 2 P8 p7 I5 f  F8 H
  1441. ; Specified here to create the session id.' C$ R" {$ z2 L6 o: k! D: S
  1442. ; http://php.net/session.entropy-file  k1 l! \6 t- Q. Z/ L: r
  1443. ; Defaults to /dev/urandom
    ' j% s  K( I5 V+ v, X% z0 d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . W" Y0 c9 G9 A- `; S; S2 o) H: e
  1445. ; If neither are found at compile time, the default is no entropy file." D3 z- \( H! V) p% |
  1446. ; On windows, setting the entropy_length setting will activate the
    " D' L5 m: [& t( Y
  1447. ; Windows random source (using the CryptoAPI)
    ' `( v* [$ p$ E( s  a2 A  O
  1448. ;session.entropy_file = /dev/urandom
    6 @6 h2 K9 l  I9 X7 J7 Y

  1449. * z5 k. N1 S( x7 ]4 z, ?, \
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ ]2 Y3 [4 m" Q  V! z7 Q8 D
  1451. ; or leave this empty to avoid sending anti-caching headers./ a( B7 E/ m) J- W6 u
  1452. ; http://php.net/session.cache-limiter: e4 w. S( w' \2 @4 ?! k1 E. \
  1453. session.cache_limiter = nocache, k  s6 |# S- \" @
  1454. / S) E% Q4 p4 j4 ?6 E5 r" Y: F) c* N# u
  1455. ; Document expires after n minutes.( U) y3 W( s. a& y) M& g8 k% I
  1456. ; http://php.net/session.cache-expire% |/ ?" Q( c  k, F$ z, k
  1457. session.cache_expire = 180
    3 z/ ]2 H  C' c6 _  J

  1458. 7 _9 }- x; ~* e( }5 s
  1459. ; trans sid support is disabled by default.
    , v) D6 q. n7 ?
  1460. ; Use of trans sid may risk your users' security.' ^, R4 U/ w8 g1 c. p! u8 H1 V4 ?4 P
  1461. ; Use this option with caution.
    6 _- J% G+ f7 V  u. }% K) J
  1462. ; - User may send URL contains active session ID
    ; D; o* \# c. M/ n( q& z! u
  1463. ;   to other person via. email/irc/etc.: f! M3 w( K* ^2 `! S+ L; Y$ ~
  1464. ; - URL that contains active session ID may be stored, z3 O# D, |( n: t$ k
  1465. ;   in publicly accessible computer.. w- d# c  J* A% G& o, p
  1466. ; - User may access your site with the same session ID
    8 p' f/ \* s5 p  e+ e* C! C
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 ]6 |% D* J( [( d) i: ~& I
  1468. ; http://php.net/session.use-trans-sid& r7 ~1 |/ z! j1 P
  1469. session.use_trans_sid = 0- x# D; t$ l" ^  K& _$ b. h
  1470. & ?; G% d" V  m* y& R) _4 r$ `- k
  1471. ; Select a hash function for use in generating session ids.) S) S5 F5 V4 o, R1 W& b+ t0 |
  1472. ; Possible Values7 Z) V2 X: m3 @( t& d
  1473. ;   0  (MD5 128 bits)9 N. H" v2 U4 N* t* x% i4 G! v
  1474. ;   1  (SHA-1 160 bits)' U# z  x7 L; Y$ {: ]
  1475. ; This option may also be set to the name of any hash function supported by
    # A8 ?; d" T) K2 t; O! [1 u
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()( x7 p0 V& u; k5 c4 y6 p
  1477. ; function.
    . h- i+ J1 }- n' P& l# o  \
  1478. ; http://php.net/session.hash-function  W. L3 w1 {2 m4 R2 K+ S$ w
  1479. session.hash_function = 0
    ' N% X- d$ I) \
  1480. 2 J6 ~4 `) z8 }' R1 `( z
  1481. ; Define how many bits are stored in each character when converting
    # W# g' L, o' m8 S# A) ~8 I* P+ }
  1482. ; the binary hash data to something readable.
    ) |  W8 o! r' o6 D
  1483. ; Possible values:3 z' L8 r6 U7 T# J% H4 d
  1484. ;   4  (4 bits: 0-9, a-f)
    ) ]. U" q3 Q; S
  1485. ;   5  (5 bits: 0-9, a-v)
    ; \$ F, t0 x5 o) n6 H! F/ Y
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* g/ T- {* F3 q! R
  1487. ; Default Value: 4
    : w6 P; g6 \6 O: K( x: T
  1488. ; Development Value: 5' B; y7 l0 N2 T1 b
  1489. ; Production Value: 5
    - J! S* x  t1 M. o1 `$ _  l
  1490. ; http://php.net/session.hash-bits-per-character0 c0 m( v2 L; u2 b/ s; s
  1491. session.hash_bits_per_character = 5. a9 K* Y  N5 t  W2 W

  1492. ) }9 [' H) x$ K5 u+ I! k  T: D# _
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 i; W" B9 ~0 R8 \& l0 c# j' J! K& D
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    $ u2 h* o% }- I! |  T, E* m
  1495. ; add a hidden <input> field with the info which is otherwise appended) y8 n8 U# ]6 R, U+ E9 s+ R3 K3 `/ Q& q
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.0 _, k# c3 g( X% l. k( Z
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ' ^" E; s# L! T9 _2 T, `+ v) g
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="( K; V, V8 o; S( c6 f' V
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! B) ?  C7 g" ?, w  e9 _( ^" |, S. J
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", p) E* O, C6 b
  1501. ; http://php.net/url-rewriter.tags  @: n1 R. m3 ^5 r$ B
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 U9 \4 s7 T9 g4 p4 A* m
  1503. + ]$ S' l2 x$ `( z
  1504. ; Enable upload progress tracking in $_SESSION
    " Q2 ~* m# B% |" M; @
  1505. ; Default Value: On
    0 W. @( l" v7 q5 B2 s* ~
  1506. ; Development Value: On& h; G3 [' s, ~
  1507. ; Production Value: On, _  L* E/ |8 k7 y4 S5 Q6 U
  1508. ; http://php.net/session.upload-progress.enabled. N, s* c4 K& N6 P1 B# K  [
  1509. ;session.upload_progress.enabled = On
    4 I# \) G* k+ j+ c+ Q
  1510. + c. ?2 e/ Q) K8 K: l# S
  1511. ; Cleanup the progress information as soon as all POST data has been read, s  ]% M9 _5 c6 N* `8 N: h9 t
  1512. ; (i.e. upload completed).
    9 {2 {2 l5 @; F# n+ }# y; c
  1513. ; Default Value: On
    & ~  ~3 F9 s9 t' C2 K2 f& ^1 a
  1514. ; Development Value: On
    % q+ n' B: e& ]4 B
  1515. ; Production Value: On
    ! w' W" b6 V( f2 T3 g# ?' G$ N
  1516. ; http://php.net/session.upload-progress.cleanup
    9 g8 Y' C% v6 B2 U* O2 |' i* d+ b
  1517. ;session.upload_progress.cleanup = On- x6 S, i9 {4 y0 V4 t

  1518. , Y5 Y6 b& B, k  m& p( g  b
  1519. ; A prefix used for the upload progress key in $_SESSION
    1 `% J) ]5 c3 w* F
  1520. ; Default Value: "upload_progress_"  x% z. P) M* K9 o
  1521. ; Development Value: "upload_progress_"( G. ^7 p  V+ i
  1522. ; Production Value: "upload_progress_"
    ( {7 j* K$ s1 J  l' }& a4 e, {
  1523. ; http://php.net/session.upload-progress.prefix" F( r. p9 u/ j0 g9 T+ t
  1524. ;session.upload_progress.prefix = "upload_progress_"& V( _& f  H7 [1 `" Z9 h* s
  1525. ) E8 y; w: z+ [, O9 C& {* g  p& C; m
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    8 m  v' k) x4 K: e% N
  1527. ; containing the upload progress information
    9 {6 Y; _$ }; k' }8 x
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 O$ J9 y, {4 F1 z! @/ F
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 |. @& E, F$ ~9 o! k1 T& w
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" H0 A6 n6 B; K4 b- y
  1531. ; http://php.net/session.upload-progress.name
      r6 y& Y& \$ {! E
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"$ v/ \# E! j9 ?0 x

  1533. " ~' k8 L" k6 P
  1534. ; How frequently the upload progress should be updated.
    # r5 V& e0 J6 S3 S# F
  1535. ; Given either in percentages (per-file), or in bytes
    8 N) T) ?9 t1 W' h
  1536. ; Default Value: "1%"+ u! M9 b+ [; x$ h% o
  1537. ; Development Value: "1%"
    ' s) H3 L) ]; ~& h% W' H
  1538. ; Production Value: "1%"1 J/ w! |" o/ b
  1539. ; http://php.net/session.upload-progress.freq. a1 ~  K) U& r/ v) V" p) h
  1540. ;session.upload_progress.freq =  "1%"
    * h* b( d) m. s6 ]' D6 G6 d

  1541. , Q1 d+ R! d3 b5 E7 E) e( n
  1542. ; The minimum delay between updates, in seconds
    4 K" T' k$ z2 b% T: \
  1543. ; Default Value: 19 a" d  ]1 N& Z+ v$ u
  1544. ; Development Value: 1
    ! G0 T2 U" u9 [+ z# M! |
  1545. ; Production Value: 1
    ; l# k# j7 e( i7 V  y! u# k
  1546. ; http://php.net/session.upload-progress.min-freq
    2 r0 P4 B: r9 y: R- B
  1547. ;session.upload_progress.min_freq = "1"/ w( l; _/ O/ b! V3 X6 g
  1548. # o, z) `) z/ S7 u$ {
  1549. ; Only write session data when session data is changed. Enabled by default.; i: k  g5 C+ u; s6 l) D
  1550. ; http://php.net/session.lazy-write0 s7 h4 F; w' _8 B2 k8 O
  1551. ;session.lazy_write = On( b2 o$ `- C1 h% }- C3 y
  1552. % K  c9 g* o( X- a" ?+ \5 o' G0 M! o: {
  1553. [Assertion]
    0 d9 J( v$ }1 Y! v+ H- F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    4 \! }( O1 D  S$ A% ]+ A
  1555. ; -1: Do not compile at all
    " E# t. t% I" ~. V2 s. Y' g
  1556. ;  0: Jump over assertion at run-time
    3 U$ N' k6 L9 x# [/ f$ k! n
  1557. ;  1: Execute assertions- _3 {- a! Y+ T: C# ~
  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)
      a9 r/ C3 V. j8 n
  1559. ; Default Value: 1% P8 N8 j% V- a8 Y1 d0 G, }& z' c
  1560. ; Development Value: 1: A' C% K; V, f2 ]* |8 O
  1561. ; Production Value: -12 z" }) h; _0 `7 h, e4 p" [( Z9 l
  1562. ; http://php.net/zend.assertions: x5 c; B9 q4 f/ G- I$ G! T
  1563. zend.assertions = -1# B/ p4 w& h& i7 m; x

  1564. # T1 e: D$ F9 R5 X9 k
  1565. ; Assert(expr); active by default.) O) K2 Z6 q1 c( \
  1566. ; http://php.net/assert.active
    3 I4 E( Y+ H6 n, r
  1567. ;assert.active = On
    6 w; T! D/ d' P/ w! @8 F

  1568. & ]1 w( `0 h6 N2 V7 P( p
  1569. ; Throw an AssertationException on failed assertions' M: C* N  d* k$ y
  1570. ; http://php.net/assert.exception6 b( S" a0 U# r7 B
  1571. ;assert.exception = On( v7 B+ D% x! d8 w( J3 ^$ p8 |
  1572. , g% G4 }. \1 \7 X- O! A- `
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    4 H3 Z8 X- C6 U  V. |+ O6 Z4 B
  1574. ; http://php.net/assert.warning4 E/ b& O. [" I" b' L& x$ w
  1575. ;assert.warning = On( G7 C' C+ P: J
  1576. 4 B+ i& X- @1 b2 j% S+ @
  1577. ; Don't bail out by default.8 u4 d5 C; Y/ `; n# Z  ?! R: Z
  1578. ; http://php.net/assert.bail) g$ S+ V& y. O' s8 T/ S
  1579. ;assert.bail = Off# P: |5 @3 r: n9 B8 @1 a5 i3 g- `
  1580. % n1 J& H+ _! \! ]- s
  1581. ; User-function to be called if an assertion fails.
    9 z  u# C9 P7 `7 D  {7 g
  1582. ; http://php.net/assert.callback/ O# p+ @% d) y/ u5 _, l4 @' q
  1583. ;assert.callback = 05 h8 |2 j) B5 r0 ?
  1584. ) ?  a1 [; ~' x
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 d. j: p! |4 Q; b
  1586. ; error_reporting(0) around the eval().
    2 F6 N3 F9 m' e5 M' J
  1587. ; http://php.net/assert.quiet-eval
    ' f* X; K2 c0 I% [3 b' s$ {! z
  1588. ;assert.quiet_eval = 0
    ; e; F5 k0 N5 Y  J: @+ u

  1589. . I1 g7 d5 y& P$ c1 k
  1590. [COM]
    ! [; J6 ~7 C+ S6 _# ]* D
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    1 A" n" P" H& {
  1592. ; http://php.net/com.typelib-file
    , W5 `! V  n. s) t2 M
  1593. ;com.typelib_file =
    0 |3 w0 J/ t: F# w3 N# @
  1594. : E0 z, `3 l( Z7 b
  1595. ; allow Distributed-COM calls
    $ z# x7 H6 a9 q5 x: ]% T
  1596. ; http://php.net/com.allow-dcom- d4 w8 Y2 `3 b$ A2 S5 E* j
  1597. ;com.allow_dcom = true
    " K0 ]$ _% ~: A

  1598. % x7 p6 R4 L) t4 x5 \
  1599. ; autoregister constants of a components typlib on com_load()/ j  r% F5 u6 K8 N% r5 F: K
  1600. ; http://php.net/com.autoregister-typelib
    ; U1 ?5 A1 a; D- U) K
  1601. ;com.autoregister_typelib = true
    # O  g  g6 K  Y# y6 ]. T
  1602. 2 H% @* a) b7 V# Z( {/ a: Z
  1603. ; register constants casesensitive, {1 r/ x# D& s0 ^
  1604. ; http://php.net/com.autoregister-casesensitive* Z; A7 Q0 O8 R
  1605. ;com.autoregister_casesensitive = false) V9 C# Z( Y& Z8 ]

  1606. 2 f3 B) E1 T  K8 s, j
  1607. ; show warnings on duplicate constant registrations  V4 {$ q- ]6 W& o
  1608. ; http://php.net/com.autoregister-verbose
    # l# H" V) h( W2 n( j) V
  1609. ;com.autoregister_verbose = true$ `! b4 a- A$ p
  1610. + }( y% l1 B. V4 x. t: f
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    7 i0 H% Q) e$ q' ~3 r+ O7 y. V
  1612. ; Default: system ANSI code page
    ) `# \' a: e- v9 A$ J
  1613. ;com.code_page=
    & N% S$ q. b2 d7 S* A
  1614. ; M7 a" q2 ^+ x" P  ~
  1615. [mbstring]
    ) O; b" V) z8 [4 s. T
  1616. ; language for internal character representation.
    2 u9 \+ H3 i' j0 ?; y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    : Z0 e2 Z/ v: q
  1618. ; http://php.net/mbstring.language! q( H* |6 I1 e/ w- n
  1619. ;mbstring.language = Japanese
    " @) E( _, L; |+ F

  1620. 2 |) Q% @. L- w6 d! Y: J3 f: D
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.. a$ w. R! A6 J
  1622. ; internal/script encoding.: _7 [  U1 }. V! C
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 Q( B' d  K- P" G, ?0 I* Q, G
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., }6 H% ^- `% k5 p
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ b' S2 M+ T* @" ]* r  U
  1626. ;mbstring.internal_encoding =( s5 w$ U: b) F* _& K) ]! h0 \
  1627. * D4 F1 N0 N- ~3 x- |' f" r
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.- i. e9 R/ T) _6 D& w8 f, t
  1629. ; http input encoding.+ q( Q+ u  U& p! m. C
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    - a- g9 X2 Q* q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.0 y$ S, i0 q7 C* K4 m1 t. S
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    % b/ S& P3 R$ @9 P# L0 r
  1633. ; http://php.net/mbstring.http-input- R1 D! |5 U0 w: T- Y
  1634. ;mbstring.http_input =1 r) O, l. `6 K3 u9 ?+ k) ]( P

  1635. / y3 E9 f( y% o
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 |+ ^) z. M- f. v' x9 s) R
  1637. ; http output encoding.% I7 f: s  X% E1 v3 f3 {
  1638. ; mb_output_handler must be registered as output buffer to function.* {$ Q, _4 E4 F$ {$ c
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & P6 q$ [( Y7 s' ]. _& d
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 x4 [& r! r! n6 U* U
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    0 q# J. p# b7 s" q5 `
  1642. ; otherwise output encoding conversion cannot be performed.
    3 \0 ~& i  `9 g6 A
  1643. ; http://php.net/mbstring.http-output
    * L+ i/ I. H1 R  V+ X, N0 N7 j
  1644. ;mbstring.http_output =
    1 O6 {4 L9 m2 q' y( y: p! L

  1645. / D3 o7 n& V  z( {7 {- M
  1646. ; enable automatic encoding translation according to
      J5 j: O: U5 ~
  1647. ; mbstring.internal_encoding setting. Input chars are! J( o1 u9 O5 o( e2 e
  1648. ; converted to internal encoding by setting this to On.
    " i2 y. t2 h, J( d, T; j1 x6 N
  1649. ; Note: Do _not_ use automatic encoding translation for
    9 h. S+ b- @5 }3 S6 \) e
  1650. ;       portable libs/applications.5 V0 I, e  j* ~3 v; a( w, I
  1651. ; http://php.net/mbstring.encoding-translation
    0 [. k- \+ J$ M, q/ ?- B& E
  1652. ;mbstring.encoding_translation = Off
    + i, W& Q( c6 h! x

  1653. $ N2 R+ n3 ~; F' m
  1654. ; automatic encoding detection order.
    ( o4 v+ M' m4 @2 v4 \6 [# ~0 _* H, b
  1655. ; "auto" detect order is changed according to mbstring.language: V. v; ~' P) H5 C
  1656. ; http://php.net/mbstring.detect-order2 J# X+ T) v  o. B. [, L
  1657. ;mbstring.detect_order = auto
    & z; y. J$ v' L% n6 y, E
  1658. ( ]1 a, Y" x' G- u$ [7 o  e5 R
  1659. ; substitute_character used when character cannot be converted; D3 P( l# `$ M+ {1 B' }1 s: W
  1660. ; one from another
    8 J8 [9 l" j% C! ?4 i- K, |+ H, I
  1661. ; http://php.net/mbstring.substitute-character  U& T# j& E! T3 O
  1662. ;mbstring.substitute_character = none
    # L1 |6 U: V6 C$ R" q3 k
  1663. 2 ?9 @  u- l/ H; ?
  1664. ; overload(replace) single byte functions by mbstring functions.+ {" N% [. Y: b. x
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* N4 n1 p- Y: i0 u" o
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.6 }2 Y+ U$ {3 q! W: r
  1667. ; For example, 7 for overload everything.
    9 T$ r6 \- W. Y) r/ P
  1668. ; 0: No overload* a! l: m4 i* R+ r
  1669. ; 1: Overload mail() function& ?# {& Z7 j7 Z* P% M3 E0 o" N, F
  1670. ; 2: Overload str*() functions
    9 U3 I! @! T6 u! L7 K' u
  1671. ; 4: Overload ereg*() functions+ f* Q+ B* _0 O0 Y* q6 j
  1672. ; http://php.net/mbstring.func-overload
    3 v- k- s) f% `2 h+ d6 L5 Q
  1673. ;mbstring.func_overload = 0  l8 I  {: P; C6 e

  1674. $ J8 ]+ m; E5 c& C
  1675. ; enable strict encoding detection.: Z" A$ I, N+ ^( _* R
  1676. ; Default: Off0 c* {0 O  y, S. L9 W4 G. H0 a
  1677. ;mbstring.strict_detection = On
    1 c* |, A. w, R& A+ `/ g3 z
  1678. % t! M8 V8 Z1 k6 w
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(), l. o* y  O0 H5 h& {( t$ l: W; K
  1680. ; is activated.
    . X) ~1 f; \+ ^& a
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 y4 j6 k/ i! C; a' [$ J
  1682. ;mbstring.http_output_conv_mimetype=
    6 S- Y8 z" c0 x/ @8 l' ~
  1683. 8 Z. {' l" X2 ?( _( H; t
  1684. [gd]
    . D0 y6 p, j3 J# |6 ]: I
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ' h( q/ N# M7 ^
  1686. ; a gd image. The warning will then be displayed as notices
    / c: w5 k- x5 q4 H5 w' U$ N
  1687. ; disabled by default5 a4 r0 P/ L; @1 Y) V2 E
  1688. ; http://php.net/gd.jpeg-ignore-warning3 A2 q1 U) @# l. I8 `" \
  1689. ;gd.jpeg_ignore_warning = 03 V# @7 Q1 ?7 h, q1 x) I% W8 z

  1690. ! V4 S5 `, n. N" x. F  f
  1691. [exif]
    . }( n" N7 \1 R1 \9 N+ l0 b6 [
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.7 |6 F3 \  A; t
  1693. ; With mbstring support this will automatically be converted into the encoding+ F) |# Z  G) r
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ M! J0 j8 h3 K5 ?* m3 c/ N
  1695. ; is used. For the decode settings you can distinguish between motorola and; G8 M7 e9 f5 t. I, B
  1696. ; intel byte order. A decode setting cannot be empty.
    , ]7 x- A- w/ f$ [
  1697. ; http://php.net/exif.encode-unicode
    , M! c4 W' W5 |
  1698. ;exif.encode_unicode = ISO-8859-15  H8 ?. H7 J* t1 _
  1699. 6 F4 A7 M; O5 I
  1700. ; http://php.net/exif.decode-unicode-motorola* j) b, w- N( V6 n3 ^
  1701. ;exif.decode_unicode_motorola = UCS-2BE8 z; m( U$ p. g7 m" F
  1702. 4 L+ N+ P& M- @/ G' d
  1703. ; http://php.net/exif.decode-unicode-intel
    ) o) O  A3 Y/ ~0 _. h2 [4 X+ Z
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( C3 U4 B9 p& ~& q' Z( a! Q# ]
  1705. 7 I4 d: _+ Y* v1 b- O: y+ t( _
  1706. ; http://php.net/exif.encode-jis
    ) k9 Q) D; `* ?: ?
  1707. ;exif.encode_jis =
    1 @" p* U+ Y9 \9 d# G, F

  1708. % K' j. r, {" O( M9 _5 [
  1709. ; http://php.net/exif.decode-jis-motorola
    % W; t7 o) p! ?, W7 s
  1710. ;exif.decode_jis_motorola = JIS! M, x7 m  I, |3 g
  1711. 0 U; v% u/ r- e  U% F4 G' ?  R
  1712. ; http://php.net/exif.decode-jis-intel, t# t1 f4 L+ T
  1713. ;exif.decode_jis_intel    = JIS
    ) ], F- R/ u% k9 M0 M

  1714. 7 }- G5 R. Q: H. ]' ?. T7 b4 E$ d
  1715. [Tidy]
    7 \1 B+ B* G/ y8 r' d/ n+ B
  1716. ; The path to a default tidy configuration file to use when using tidy8 U2 R5 i, ]! c! o/ J% U4 z: U, |
  1717. ; http://php.net/tidy.default-config$ s, R" k; \# B& K3 x2 m* w; u
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 u* H& D" w: t5 N8 O
  1719. ; @. T4 S, t- s; W2 c3 d2 D/ @
  1720. ; Should tidy clean and repair output automatically?" E; K: D1 m$ l* ?1 j, h4 s4 w
  1721. ; WARNING: Do not use this option if you are generating non-html content0 v0 ^9 c6 U7 j1 _
  1722. ; such as dynamic images$ h6 [: i5 b5 @2 a$ d% D# M
  1723. ; http://php.net/tidy.clean-output
      ]9 l, T7 @) u4 E# W0 t
  1724. tidy.clean_output = Off
    # u; E8 p$ A1 B' j

  1725. & I! P6 i! L3 l/ \( _; ?
  1726. [soap]
    2 ?: ~0 Y9 U8 F9 B& V) o! Z. H
  1727. ; Enables or disables WSDL caching feature.) ^9 j' x; p. ?
  1728. ; http://php.net/soap.wsdl-cache-enabled
    + ^& Q& I. j; J) g; u! [5 W
  1729. soap.wsdl_cache_enabled=1! Q" F  F9 t0 t3 z
  1730. - @3 J( L4 n  w. E# y
  1731. ; Sets the directory name where SOAP extension will put cache files.& [- W* |4 X1 h  B9 ]5 g6 x( f
  1732. ; http://php.net/soap.wsdl-cache-dir
    ' o0 {! e* w% J* K* D8 n8 R
  1733. soap.wsdl_cache_dir="/tmp"7 B9 V* b% c% r, a+ b

  1734. + ~  U  m# `; Q! X  j$ N7 r
  1735. ; (time to live) Sets the number of second while cached file will be used3 B  I: S6 H3 I: I% |
  1736. ; instead of original one.$ o' l8 S% ^, B7 T3 R
  1737. ; http://php.net/soap.wsdl-cache-ttl
    * {" ?+ W( i7 F& i
  1738. soap.wsdl_cache_ttl=86400% B9 v$ r, i9 N; E3 o1 c+ h5 M: V3 @
  1739. 8 F, z, b- c9 M/ X, Q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): e; G+ e" L2 g) C5 g+ a, F
  1741. soap.wsdl_cache_limit = 56 ]/ i1 ^! D! a

  1742. 2 ]# a# R2 Q2 p- S
  1743. [sysvshm]: w  F4 s- r: j" E, j) Q6 q, z
  1744. ; A default size of the shared memory segment
    2 F( y- C' Y+ n/ l4 y8 U
  1745. ;sysvshm.init_mem = 10000
    # n0 W3 ]& ^, K  {
  1746. * j% a! _5 Y( w$ z8 g, j9 ^. F
  1747. [ldap]. Z- Y3 N4 y  \, e9 m# v
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    2 H, P4 V6 a2 H
  1749. ldap.max_links = -1
    5 `8 S6 P$ p6 \
  1750. / {# Y9 p4 r* {  m
  1751. [mcrypt]
    : T! M( K7 X" U% _0 ?! y0 T# T- r$ V4 j
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. U( e) y/ q* D

  1753. ) n3 p8 k4 ~) K2 ^2 B
  1754. ; Directory where to load mcrypt algorithms
    2 S5 e6 u, Q6 E1 B+ b; K% Z
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 I1 l" |) Y* w- k/ Q6 e& V
  1756. ;mcrypt.algorithms_dir=; e: l) Y4 K. e4 x0 A7 P# g3 [

  1757. - j1 m& M4 [* H( q3 _# x
  1758. ; Directory where to load mcrypt modes
    . e7 c0 H; _/ S% k3 m1 V: \
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* ^8 ~/ l3 w! ^9 s' B' P
  1760. ;mcrypt.modes_dir=4 d4 ~9 J/ J! F: ]
  1761. % b) ]( W6 V# d3 k% f/ q! u, R
  1762. [dba]3 _  m$ N% L* v5 p) ^& O
  1763. ;dba.default_handler=* x/ }( n3 v- X% z+ x# [. [/ F. F

  1764. 4 `( j# j1 V6 ?& b3 m. S
  1765. [opcache]
    : a! f) N3 K; c; Z
  1766. ; Determines if Zend OPCache is enabled
    - l  r" g7 m, `
  1767. ;opcache.enable=0  K! k. a/ W# W, H9 K" ~) t* f+ \0 u

  1768. ; o$ P" ]" }( R7 z4 b8 \, n1 R
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP( O  a3 B! P1 O* H+ L# v" G
  1770. ;opcache.enable_cli=0
    ' d: M. W! e- h$ ~, q0 {, t

  1771. 3 r: m: W* ^2 ]( @8 N4 H7 C
  1772. ; The OPcache shared memory storage size.6 L) f/ r5 _% I! Q
  1773. ;opcache.memory_consumption=64; O  m1 _; N6 p$ p8 l
  1774.   L' e5 Z, V: L  A5 p0 b/ Z
  1775. ; The amount of memory for interned strings in Mbytes.
    1 _) K2 J" a0 g+ S  y5 O8 t; ]( J
  1776. ;opcache.interned_strings_buffer=4
    ' H+ [1 Q% \( c2 r, X! @- r. m

  1777. 3 x0 s, Z' s) o" h( B& z3 Q( {
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    1 p7 z# O8 |+ L& ]1 O+ {- B, C3 g+ {! h
  1779. ; Only numbers between 200 and 1000000 are allowed.
    6 G5 j" c* F4 h9 W; _
  1780. ;opcache.max_accelerated_files=2000( ~- k: r0 X$ w$ j6 Q) e% m

  1781. $ w1 Z# Z. \6 m' h+ o5 _
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.. Q6 S* T" l' y/ K% }/ j0 s/ ~
  1783. ;opcache.max_wasted_percentage=5$ f& g) ]% x+ X# y- |) m

  1784. & R2 i, K0 g* Q& m
  1785. ; When this directive is enabled, the OPcache appends the current working3 f, L! w7 b/ ~* O7 ^# ?8 ~( w1 V
  1786. ; directory to the script key, thus eliminating possible collisions between$ e4 ]( D1 T4 X! Q6 m7 h
  1787. ; files with the same name (basename). Disabling the directive improves! q1 V' k- S8 t$ F" g) j' Y* D
  1788. ; performance, but may break existing applications.
    5 S$ V' v& s5 H  I( L
  1789. ;opcache.use_cwd=1
    ; g& n+ h" {/ V: ]: R% |( x, n
  1790. ( d+ ~2 O8 b5 |
  1791. ; When disabled, you must reset the OPcache manually or restart the
    $ A8 C/ d: K  z$ \/ X# J
  1792. ; webserver for changes to the filesystem to take effect.8 t/ H( ~* C' F
  1793. ;opcache.validate_timestamps=1
    + O7 m& T% V6 I1 Y2 ^" J- V
  1794. 6 z0 P+ U. I) d  {7 F3 ~
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    . z7 R) l( ]6 @4 @( x
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    7 C' K7 U% }% A& ^* F+ i1 b
  1797. ; once per request. "0" means always validate)
    , ^$ F& _% Y4 k& `
  1798. ;opcache.revalidate_freq=2
    0 W, p" I) o& y/ j  O
  1799. - {2 n. o& p5 ^8 J* X3 V8 E, J
  1800. ; Enables or disables file search in include_path optimization
    + O6 s7 X* V3 F8 C. {  w
  1801. ;opcache.revalidate_path=0, O3 `3 V/ ?# L9 J+ v7 m- C* V

  1802. ( `$ W: s( X2 K# O
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) m$ e/ B. Y% l+ l$ m- U1 a6 u
  1804. ; size of the optimized code.
    ) ?' L, }+ o; B
  1805. ;opcache.save_comments=1
    4 V! w, ~6 M8 f8 r9 v

  1806. $ @; w3 @+ q' ]9 f' P
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code5 G4 n1 k( W7 }7 c2 z
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.1 \# @5 |0 `( }# @6 a% m
  1809. ;opcache.fast_shutdown=0
    / o! c  ^! k9 W( z/ q1 P% n

  1810. ; h1 E' e& f- b- J, ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.9 s4 J) h  W# F! @% n5 @
  1812. ;opcache.enable_file_override=0$ }; p/ a  L, ^- c- f( ^! w; J  M- Y' \

  1813. - p8 V! p: g. G- T$ V7 h$ a
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ D, ]+ J: \& O  L' |, y
  1815. ; passes8 T% E5 U" I5 ^/ F0 l
  1816. ;opcache.optimization_level=0xffffffff
    $ P6 ^# w7 R, I; r6 v9 G% `7 A- Y$ j, ?

  1817. * y) F9 R4 U4 i6 P
  1818. ;opcache.inherited_hack=13 ^2 J* A  C) Q) x
  1819. ;opcache.dups_fix=02 }& B4 a# I7 v5 T

  1820. # B* m. n3 ]0 E! k( A
  1821. ; The location of the OPcache blacklist file (wildcards allowed).7 s* y; t% d4 O3 D: z  s. k
  1822. ; Each OPcache blacklist file is a text file that holds the names of files0 d5 n& G2 A- b' i
  1823. ; that should not be accelerated. The file format is to add each filename. S! N! S( c, J
  1824. ; to a new line. The filename may be a full path or just a file prefix4 `* \6 d2 q; x$ C) R7 @
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 {% K2 v# Y: K+ {
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).' a* @+ t, a2 \6 X& i
  1827. ;opcache.blacklist_filename=; K- A% q! {% G

  1828.   f# a) A- n, {) v/ R* J2 o
  1829. ; Allows exclusion of large files from being cached. By default all files  l" a7 U  @3 j. B1 Q
  1830. ; are cached.3 V" x* f- V' I) x% }# z
  1831. ;opcache.max_file_size=03 w/ w* e, L  h' V1 W
  1832. . U! q: D% E: p9 i0 _4 J
  1833. ; Check the cache checksum each N requests.
    & `4 S+ W7 T; N) h& q1 X6 O
  1834. ; The default value of "0" means that the checks are disabled.* j9 T0 |. d1 z$ h( f# v1 C
  1835. ;opcache.consistency_checks=01 w' v! v0 W0 ^( J9 }& x$ ?4 {
  1836. 5 n, i7 v% @' d5 V$ O& Y; R
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache) N$ a/ m$ k* t6 j$ a1 ^
  1838. ; is not being accessed.
    : U* P$ l3 g5 F% C  P9 J
  1839. ;opcache.force_restart_timeout=180
    7 }% d6 [- L% F- y+ l) E+ {8 Z

  1840. 8 q1 b" u& V+ s* n% N7 q
  1841. ; OPcache error_log file name. Empty string assumes "stderr"., r% Q* F; ^  Q1 c6 ~3 ^
  1842. ;opcache.error_log=
    / V4 R, X5 O) x: Q# G$ K
  1843. . B* Q) f: N6 y
  1844. ; All OPcache errors go to the Web server log.8 ~! p+ @6 y  s; a" F
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' _/ `( s0 _. n
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 `: X, L0 H( w* ^8 j  W" b6 ]& g
  1847. ; debug messages (level 4).2 Y: C' S: m8 U: M2 ?' P' u
  1848. ;opcache.log_verbosity_level=1
    ; E/ {9 D( W- b2 n# ?

  1849. " B( n8 e- C% h0 v& P( @& J
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      o  x: C" `# Y7 H5 k
  1851. ;opcache.preferred_memory_model=
    1 n. v( M9 h( b8 i
  1852. / v0 b% v9 D3 p% [
  1853. ; Protect the shared memory from unexpected writing during script execution.1 m1 O  O( H' {; g
  1854. ; Useful for internal debugging only.' v3 O* [: ~( R1 c# X4 R9 s
  1855. ;opcache.protect_memory=0
    - N0 d7 w8 l% Y* n
  1856. - Z- u; o4 G) C& X+ u" L* p
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    + w$ A8 _) L5 y1 S
  1858. ; started from specified string. The default "" means no restriction3 g) c) q/ ~; k, q' u! }( L" `+ T
  1859. ;opcache.restrict_api=
    % j4 b# S* P7 Q$ x

  1860. : h* Z9 o# s: h
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    - G& u' J% q+ k. \8 g6 Q1 ?8 z7 R$ A
  1862. ; processes have to map shared memory into the same address space. This
    9 x" d" G- r; ?4 K/ S
  1863. ; directive allows to manually fix the "Unable to reattach to base address"" W, J! G; w, {' r. X: U5 d
  1864. ; errors.( `( c2 I2 P! n+ Y, `
  1865. ;opcache.mmap_base=. [  j# \3 r% }8 G; J
  1866. 1 W. b8 `5 {2 B1 G) x
  1867. ; Enables and sets the second level cache directory.
    - I" Y2 \" e& l+ G0 D6 X8 @
  1868. ; It should improve performance when SHM memory is full, at server restart or9 i- W" k- Q  l3 q
  1869. ; SHM reset. The default "" disables file based caching.
    . u$ K. Q2 u1 V# k" j7 ?
  1870. ;opcache.file_cache=1 `: e# I% Y+ d/ ?! \; F" Y
  1871. ! \, K3 Z: |- h* a8 J
  1872. ; Enables or disables opcode caching in shared memory.
    & q& W+ j9 j1 r, Z" C
  1873. ;opcache.file_cache_only=0  ]) N. B3 p# |" {; V2 k2 @

  1874. ) y( Y2 ?+ q! i. Y! Y- j: r
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    & A8 h& P" i* k0 g
  1876. ;opcache.file_cache_consistency_checks=1
    % H; r% M4 r8 x4 G- a6 b
  1877. : c8 v+ K( \" k3 N+ F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to$ n$ p, I: n3 \: I
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file# q" T8 e2 y6 b8 a4 g8 @. X" ]/ c9 o
  1880. ; cache is required.
    & \% \( P8 l0 T0 S' w9 V
  1881. ;opcache.file_cache_fallback=1
    2 V" r$ ~0 z0 t5 O! R

  1882. ) d/ u- X6 d* Z+ z, @  G1 ?/ C: j
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.: j% C% u! D2 g: s* S2 O
  1884. ; This should improve performance, but requires appropriate OS configuration.9 @, O, h7 `0 Y7 J
  1885. ;opcache.huge_code_pages=1
    : c, {4 R9 v1 D6 r; g) B
  1886.   ?5 f6 G+ Z. M
  1887. ; Validate cached file permissions.
    0 P2 ^/ z" Y: W* I
  1888. ; opcache.validate_permission=0# v% ]/ |/ F7 }. [' `8 L! G) F2 Y" W
  1889. : b* D) g$ X/ k) `7 C7 q$ [
  1890. ; Prevent name collisions in chroot'ed environment.% _; E4 o, e. b7 c
  1891. ; opcache.validate_root=0
    - u6 h2 @% t  X. C

  1892. 1 D/ b' e7 X' Y8 Y! h1 {! ]
  1893. [curl]
    ! e# _$ j! f% i8 B' |' R
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , k- l3 h, y8 r0 t+ B$ A0 m3 n
  1895. ; absolute path.
    0 m; u& j6 k  c
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' T3 j+ P$ S0 |0 M

  1897. - P7 \$ w, X& X; l  q
  1898. [openssl]
    * ^% o8 j7 K! t0 P
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem/ L1 [+ S$ B- q% `1 O  D( {
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 _1 e, `; [/ n& v8 ~0 ~; G5 ]
  1901. ; not specify a value for this directive as PHP will attempt to use the3 s4 [9 j4 o7 I% n; Y8 L
  1902. ; OS-managed cert stores in its absence. If specified, this value may still( t9 Y3 e7 D- b* w
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context: d2 m1 ?# t; f! X$ q  h/ z
  1904. ; option.& d# V' X, p/ u! _$ I
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, D. i) j4 C- @% ]3 L

  1906. ; M5 E2 U+ E. J- L$ O9 y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    : x- d9 w5 S! P* q% F; x9 P
  1908. ; directory pointed to by openssl.capath is searched for a suitable8 V7 @5 N  [) K6 I# w6 u
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 Y$ i, q/ C* u1 }# @
  1910. ; Most users should not specify a value for this directive as PHP will
    8 f  N) J- U/ d% N6 q5 g
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 `/ W" x+ t6 r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"8 C2 A% D2 w6 @6 K; N. I0 M- Z7 V
  1913. ; SSL stream context option.
    , l. s0 }: O- ]6 n. }
  1914. ;openssl.capath=
    , d  y' Y( I& F6 O

  1915. & Q% }( z0 D+ U( j6 o' Q$ V
  1916. ; Local Variables:$ }; j/ j) l5 H, j+ i: l& T
  1917. ; tab-width: 40 d" T3 L" f( t# B8 d* H5 ]
  1918. ; End:  b. a* D1 H0 D! L* p. U0 y! `

  1919. $ n% V2 g9 A6 I- u( a% W- u( X
  1920. ;eaccelerator
    + S" f/ n2 _' l* f8 B
  1921. ; u; d+ Q1 B% a; O  A
  1922. ;ionCube
    0 g; x; b  }' k, n* `& U7 Y- U: X" ]

  1923. & j8 q' v; c8 W# e5 w2 t0 P* B
  1924. ;opcache: G" E7 h8 E8 _# q4 Q% F

  1925. 3 x7 v/ S1 a0 q) ^9 z
  1926. [Zend ZendGuard Loader]# m+ D: Q- T- V, d* @
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ( M' D5 |' z8 ?0 Z. I
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so. C1 p8 G: E' D/ P5 k
  1929. ;zend_loader.enable=1& h: X6 Z5 K) B
  1930. ;zend_loader.disable_licensing=0
    3 k* u5 d1 S% _( o
  1931. ;zend_loader.obfuscation_level_support=3; e/ h8 k/ A# ^* ^
  1932. ;zend_loader.license_path=
    + o4 x3 V1 H  i3 Q+ R3 r; a$ E& b
  1933. ' b* k! ], w- v9 U7 Y1 _+ P
  1934. ;xcache
    " O6 R- R% ^! r9 C1 J
  1935. ! S! ~+ V% A' G8 b
复制代码

3 U& A" x% }# _. e& t* O  U4 p0 X  W/ X6 l& [. E: A

/ c0 [' O& Y* d4 a% m; e
3 T& M8 m# X' O$ A1 E! s: e0 c7 Z  v; ^1 V' y
* ?# h) h" m9 K+ W7 W( S) G
* A( M/ s  v7 J- n  J) _
PHP5.6版本原始设置7 ]8 T/ A  w+ Y. |4 T3 S. T% q
1 t- D7 |; x3 O, U5 \
  1. [PHP]( z) B, O( O, {- M8 b
  2. ; c% Q+ C  k, Y2 @  N; J% r4 ?
  3. ;;;;;;;;;;;;;;;;;;;
    ; E' Q# v3 j# o. V: G9 E! M7 W
  4. ; About php.ini   ;
    * W0 i8 R5 _6 e$ k/ M( C, O0 _: T
  5. ;;;;;;;;;;;;;;;;;;;
    7 a3 @. V1 w2 n  \3 p7 Y* v  F6 X
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ t' L0 l; m0 P+ u- X& ?  J0 T3 D5 M8 U
  7. ; configuring many of the aspects of PHP's behavior.
      N3 c! x5 h7 E9 a7 |
  8. ! T; u7 {% M& `* ]; Q) |- K+ m% \
  9. ; PHP attempts to find and load this configuration from a number of locations./ z) L4 M2 P7 x+ \+ L6 E1 G
  10. ; The following is a summary of its search order:0 ]9 R: G$ Q) @! t& d0 U: B
  11. ; 1. SAPI module specific location.
    # P6 a: `0 Y4 j+ j" T9 |- [$ d. n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      n7 t0 Q0 H+ E. W4 M! Z  e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): [4 s6 ?. d) P! u( l
  14. ; 4. Current working directory (except CLI)3 h' q& a9 Y/ [8 V
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP. o: `9 g1 W9 `9 W7 m
  16. ; (otherwise in Windows)
      O" R' _) o+ P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the: ^9 x- B" N, d6 r7 _" W: n
  18. ; Windows directory (C:\windows or C:\winnt)
    . Z% J% F  A& p6 H  ^; a" F) A" H7 d
  19. ; See the PHP docs for more specific information.- _3 ?! m' G% a; C" c; u$ _
  20. ; http://php.net/configuration.file9 c. E4 X% y; f6 l& S

  21. / T8 D6 J- s! G: [( A0 w( m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. }6 d7 `0 W+ o% W$ D8 b) {
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    / `2 W6 q; p$ ~2 _7 I, l1 d
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) Q  u9 `( X- q! X* Q( H9 r
  25. ; they might mean something in the future.
    ) \' a, r  v5 C' \2 l6 m. ~) s

  26. " a9 G+ x  Q8 X& ~( g" ]# |7 M
  27. ; Directives following the section heading [PATH=/www/mysite] only, g5 e) x' }) j- ?+ z$ E
  28. ; apply to PHP files in the /www/mysite directory.  Directives( E0 i2 D  W2 x: G3 L& s
  29. ; following the section heading [HOST=www.example.com] only apply to
    1 b& N9 i; ^$ _# i5 W
  30. ; PHP files served from www.example.com.  Directives set in these2 J3 s3 `, D  {' l
  31. ; special sections cannot be overridden by user-defined INI files or; k  k  r! \( v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    + \! n5 ^$ E' V% Y: h$ u5 Y
  33. ; CGI/FastCGI.3 B: }) |2 r4 a& y$ _
  34. ; http://php.net/ini.sections1 X: E' M4 h( n) g" F

  35. 8 F4 D2 N- N/ g+ Q8 K, w8 \1 `
  36. ; Directives are specified using the following syntax:
    ) F/ B. k7 z7 k+ z" m' N
  37. ; directive = value4 o* `. c4 ~4 \6 t" l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % O0 _+ }, I7 a7 l+ y  `4 G9 _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 R( ?/ o$ ]" N* z( b% L5 Y
  40. ; There is no name validation.  If PHP can't find an expected5 n" S5 J" d8 ]" O* F( _" N
  41. ; directive because it is not set or is mistyped, a default value will be used.1 d8 h4 s2 }7 W3 ?

  42.   G* H. b* Z# e- s; z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    " _8 O6 w9 t: a1 P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! A( t2 {# _1 m
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 r' p; l/ z2 q* P) J1 C3 N* D0 `
  46. ; previously set variable or directive (e.g. ${foo})( @! g4 P  _# b
  47. & j% ~4 h* C& `; K0 l2 [$ r/ ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! s0 U8 U+ t* @5 V8 X1 T2 ?: U7 O
  49. ; |  bitwise OR/ C% ^; Y% b  r9 t
  50. ; ^  bitwise XOR
    * @8 Q! Y# X# H6 f- T
  51. ; &  bitwise AND
    . s0 F6 v. O0 ?) e  s2 t' |
  52. ; ~  bitwise NOT
    $ `- j# F( z- u5 K9 R' b9 b
  53. ; !  boolean NOT
    ( R& r2 y% i% v
  54. ; H1 u0 {* W8 O: Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.% M! `0 G' F4 v. G( Q- Q
  56. ; They can be turned off using the values 0, Off, False or No.
    0 i  c! R5 ^9 b* N! N; ^# _' w; G
  57. / P/ i0 d2 L; @3 H2 s. F1 w( X
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 z! Z/ T6 s9 e9 p4 C. K
  59. ; sign, or by using the None keyword:* P: ~% F1 q: G! ^6 ]

  60. 2 D) U: W! U% @$ x, [( ]% ?
  61. ;  foo =         ; sets foo to an empty string
    1 y) r' s6 s! g9 d
  62. ;  foo = None    ; sets foo to an empty string
    ! U7 u0 d' G2 i8 O
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - ]. U3 E2 N/ C% K
  64. ; Q, m7 s' `/ C8 t' p  J3 o- N
  65. ; If you use constants in your value, and these constants belong to a
    ) c' I8 P' r: `7 B- y" P& a
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),- G% o+ O% d) \
  67. ; you may only use these constants *after* the line that loads the extension.
    8 B( |$ v2 f- y0 \, C! e- S

  68. : f* w) G  s3 I0 K0 p6 }5 @/ B
  69. ;;;;;;;;;;;;;;;;;;;
    9 F5 o4 x6 [% K  V) {0 b
  70. ; About this file ;& G6 v2 W) k+ s; y0 N5 t: t
  71. ;;;;;;;;;;;;;;;;;;;. s# m5 I# a8 M" ^3 j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 e+ s  [4 E/ D6 [) M0 M' Q
  73. ; in production environments and one that is recommended to be used in. N* G) |$ b( ?$ i1 F' G7 W# i( o7 r
  74. ; development environments.
    9 |& D* y4 A1 m  u: I

  75. " L' w* l8 Q+ L& k2 U
  76. ; php.ini-production contains settings which hold security, performance and; l9 y. ]! \8 }% f' X
  77. ; best practices at its core. But please be aware, these settings may break0 j$ ?* Z8 u+ _5 M1 |% |6 h
  78. ; compatibility with older or less security conscience applications. We
    # O6 ?% W. l' [0 q4 D: g
  79. ; recommending using the production ini in production and testing environments.; ]' }  n0 a/ P0 _8 Z% c
  80. 3 m% O% s- B3 w, I' t% g1 c$ O, \
  81. ; php.ini-development is very similar to its production variant, except it is
    " n2 J" `( I! T+ Z# r
  82. ; much more verbose when it comes to errors. We recommend using the% }0 U6 C# a! ^
  83. ; development version only in development environments, as errors shown to! A5 ?2 P; N% t6 ?# h
  84. ; application users can inadvertently leak otherwise secure information.- j- L* k' l! W& m
  85. . I/ z; _0 N4 i* P3 _. Z, ~
  86. ; This is php.ini-production INI file.
    & T# Q# Y' _% }  \( y) v& V1 q  U

  87. , t2 L% E" p; W; f
  88. ;;;;;;;;;;;;;;;;;;;9 z- i; w9 F5 E* Q: ?
  89. ; Quick Reference ;3 }3 m& |0 V( _6 U& _
  90. ;;;;;;;;;;;;;;;;;;;
    . {: @- p. ]9 o+ }
  91. ; The following are all the settings which are different in either the production
    6 y! ]9 F0 [( v, P" |
  92. ; or development versions of the INIs with respect to PHP's default behavior.; ~2 H4 s1 u/ [( ^5 J
  93. ; Please see the actual settings later in the document for more details as to why
    . t2 p0 A9 V3 F0 z+ ?9 ~" a% }
  94. ; we recommend these changes in PHP's behavior.
    6 {. H$ }( R" l1 `/ f

  95. " C; x9 `. ]) Q8 J9 d. q
  96. ; display_errors
    / q8 O* b! }& Z, c' w7 j/ V5 {
  97. ;   Default Value: On
    / n, _: o9 ?' |* U4 z" d5 p
  98. ;   Development Value: On$ f7 t; _! U6 O* o; _$ V( {
  99. ;   Production Value: Off
    4 m! P: J8 K8 Y) v- V
  100. 6 J/ C" f" {5 t9 W2 X$ S' u$ Z
  101. ; display_startup_errors- Q; c, T+ Q- {7 G  N- w& L* A
  102. ;   Default Value: Off# S* Z" n! P- s" p9 q, _
  103. ;   Development Value: On9 V) Q+ V" N6 M
  104. ;   Production Value: Off
    $ c/ ^% y5 C3 g% ]0 b6 Z2 D

  105. 8 p* T0 v4 \1 W1 P2 e
  106. ; error_reporting
      \4 S7 p8 W: x. Q. I# L
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 G+ J  G# u) C4 t
  108. ;   Development Value: E_ALL0 S3 F8 y5 P$ K9 q5 Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 _3 Y" g8 l' ?5 Z" Q" N
  110. $ L$ d9 {4 e' R* K- I
  111. ; html_errors" a+ N. T) U$ N& ?5 Z
  112. ;   Default Value: On
    . \2 K: a/ a6 \2 O1 V5 w( D* s) i
  113. ;   Development Value: On
    0 w( h' D8 }' E4 d4 O
  114. ;   Production value: On3 y6 ^) E0 K, |0 t, y( ^
  115. ' S6 j0 m% O- e4 C# Q! o
  116. ; log_errors
    & E8 v, s. f4 t  {
  117. ;   Default Value: Off
    2 m% [+ v* o, d  U$ h$ X$ z
  118. ;   Development Value: On4 A0 V3 r. s+ N9 o8 f' \6 w2 v( S* F  D
  119. ;   Production Value: On
    2 E, B# Q2 R6 W

  120.   l& l  G4 R: p# b! H5 r
  121. ; max_input_time9 L/ G$ \" k  y( _8 H( ]! E
  122. ;   Default Value: -1 (Unlimited)
    2 L8 z% m- J' d
  123. ;   Development Value: 60 (60 seconds)' u& C; z+ c4 V0 K
  124. ;   Production Value: 60 (60 seconds)
    9 x, [2 U9 i' s

  125. / `5 U$ b2 h% \9 }' l2 v
  126. ; output_buffering5 P( @$ o& W4 |& U5 B, C+ }
  127. ;   Default Value: Off& T# @- s+ G( g1 ~( k5 B$ v; G
  128. ;   Development Value: 4096
    ( L) b5 S9 `$ I, N
  129. ;   Production Value: 4096& G/ p& y" p- L: `& V% T3 u
  130. ' X: o1 W9 h" ^  p
  131. ; register_argc_argv
    0 k* E$ B" |# {. x
  132. ;   Default Value: On2 D3 a( I+ l0 U9 e* K% k
  133. ;   Development Value: Off) W" G- m# \3 z6 g9 i8 C! ^' \
  134. ;   Production Value: Off* k% ~/ L* z7 }8 L6 U

  135. . ~6 m$ v) E- D8 j
  136. ; request_order
    . S$ f+ c7 U7 b+ Z# T+ v
  137. ;   Default Value: None. J! c' t+ g( x+ e/ F" p# q* V0 C+ L& f' s
  138. ;   Development Value: "GP"* @: x; [1 e( d
  139. ;   Production Value: "GP"5 v- f; A! X0 O

  140. ! E2 _' E& Q# _
  141. ; session.gc_divisor2 S% n" C6 s8 S3 F
  142. ;   Default Value: 100! m6 U2 Q- Y, u- v) N' ?
  143. ;   Development Value: 1000
    1 n; ^- s/ {+ G) e$ }8 \: x" M' N
  144. ;   Production Value: 1000
    & r0 g/ ?* C1 H( F

  145. * T% U, v! A8 ^5 k: L
  146. ; session.hash_bits_per_character+ Y& ]# x; p0 v" d# c( V
  147. ;   Default Value: 4: y! J" E; H+ F6 G$ o# {
  148. ;   Development Value: 5
    ! Z2 O7 o% U, p2 z! R$ p' E& A
  149. ;   Production Value: 5$ R- y, }7 [+ d& I) k+ d, t$ l' @
  150. $ t( g+ R; [+ G5 L  m
  151. ; short_open_tag
    % R& ]! h: h8 z) t6 {" _) R
  152. ;   Default Value: On
    ' H9 _' ], ]" ]& C4 \
  153. ;   Development Value: Off
    1 J5 l! `$ N) _: X
  154. ;   Production Value: Off
    ! _% t- |6 C7 c
  155. ! |0 Z/ l+ e1 K/ |( _% ?( ?, C
  156. ; track_errors* T; B& C$ r. N$ ^' \+ D7 Y
  157. ;   Default Value: Off
      W- f7 U% r' C6 `
  158. ;   Development Value: On
    , q+ j9 k$ K+ S$ |3 Y6 _
  159. ;   Production Value: Off
    ) Q% H; ^! I( i6 j2 q/ \  i

  160. . Y: b1 q# F2 S: P  W6 @6 A7 E
  161. ; url_rewriter.tags
    # H' j9 Q: s. I5 U
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="$ Q; n2 A% L: x2 V5 @
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; q) I0 p! H, e% z* T2 Y1 y9 m
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & Z% H" C; s7 E- Y
  165. 8 {: \& K* {3 D- P" u
  166. ; variables_order
    0 @' Q- @, @$ S8 y
  167. ;   Default Value: "EGPCS"3 v2 G6 x" H: [' v
  168. ;   Development Value: "GPCS"3 I. L8 ^5 X# t. W' @- B
  169. ;   Production Value: "GPCS"' a* p) c% q( u* `# d
  170. , N# N" K5 D. q% G
  171. ;;;;;;;;;;;;;;;;;;;;8 k3 m% c4 z7 p' U
  172. ; php.ini Options  ;
    0 C7 d+ U" ?. e
  173. ;;;;;;;;;;;;;;;;;;;;
    " M- m. V5 E: f+ c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - B7 a2 ]1 ]/ B6 A' `
  175. ;user_ini.filename = ".user.ini"
    4 w; Z5 t* b* j9 f: L1 d& D

  176. ' _; D7 H: d5 I2 g  ^" \
  177. ; To disable this feature set this option to empty value# n6 M6 w6 J8 E0 J9 O
  178. ;user_ini.filename =
    0 a) M% m3 U! ]& R$ D3 w) z4 T- Q/ K
  179. * X6 @2 I- p0 w  B  Z- q0 t: t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) E; Y# J% u$ _9 \. U- [
  181. ;user_ini.cache_ttl = 300& t% x% T3 g, I# c! {7 f

  182. % |' l3 l* l$ b$ X; f3 w: \# K
  183. ;;;;;;;;;;;;;;;;;;;;7 Y5 W; X- g3 I, f9 H- M7 K
  184. ; Language Options ;1 X- L% Q/ O8 M4 o+ x. x1 ?
  185. ;;;;;;;;;;;;;;;;;;;;( j% E) x* t/ {( N, f6 p3 P- e! I
  186. 6 I' f# l& ~2 ?( u
  187. ; Enable the PHP scripting language engine under Apache.
    . H' t4 f" T$ p1 ]3 Q
  188. ; http://php.net/engine" p, Z- W/ N% l! i- K/ p0 b
  189. engine = On* g" S: q# Y1 R6 U% y( x/ w$ p; r9 D
  190. 4 r- L) @: N- `
  191. ; This directive determines whether or not PHP will recognize code between; |2 R  M) _/ F+ c' w: P6 ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 S; o! p! B, I" p$ X) V1 N
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % U* M4 G0 L3 b# Y; q  C: p$ \
  194. ; should be disabled, as enabling it may result in issues when generating XML& G) V$ Y5 ~- I& E' ]
  195. ; documents, however this remains supported for backward compatibility reasons.( I3 ~" P9 L0 [* Z. v$ k9 R/ _( B7 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be  C; l- o7 S3 g
  197. ; used regardless of this directive.- ~7 \* `; F+ Q
  198. ; Default Value: On) i+ d0 J: B/ T* v6 c- u9 @; r, Z
  199. ; Development Value: Off: d, K3 v6 H1 }9 |
  200. ; Production Value: Off
    3 |/ w8 Q( y- t9 Z9 \" ^( ?+ e
  201. ; http://php.net/short-open-tag, Q$ K! g1 v# x3 B- {8 d: N
  202. short_open_tag = On
    6 _& E7 g9 _6 a/ H

  203. , A! w# b$ V( L  [
  204. ; Allow ASP-style <% %> tags.
    8 t  G+ V5 M4 M& @1 T7 g/ ?
  205. ; http://php.net/asp-tags
    ) }1 k3 D+ O4 c
  206. asp_tags = Off
    * G/ [6 `/ R7 @  N2 o1 g7 }
  207. ) R. h1 t" `' V
  208. ; The number of significant digits displayed in floating point numbers.* W0 h8 a1 [8 E
  209. ; http://php.net/precision5 N: `( q( ^+ w" b5 h5 }
  210. precision = 14
    * I% N. D  t- Z2 O6 B5 B7 f0 S

  211. 9 D7 s. m* b* R7 |$ P5 W  |' ?& g' T
  212. ; Output buffering is a mechanism for controlling how much output data* E' W' m2 N( S+ u: d" S
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    * J( v1 u+ T/ ~
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ( w% N" O- p7 [8 n8 j3 q: s
  215. ; will send that data in chunks of roughly the size you specify.# z6 A0 ?' [, \- h7 r
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ; Q1 [) H( M  Q/ X( ]- X9 E
  217. ; interesting side-effects depending on your application and web server.
    $ S4 F0 J6 p" w1 j" q/ _
  218. ; You may be able to send headers and cookies after you've already sent output. T; S) K$ U, s( S* ]. ^) T. C4 s
  219. ; through print or echo. You also may see performance benefits if your server is
    4 R+ W. B# ?2 ~; }# d
  220. ; emitting less packets due to buffered output versus PHP streaming the output7 [! Y$ ~) h5 P7 V
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * n! x. E+ ?: `" |% E
  222. ; reasons.
    . [+ T8 `$ W# M2 ?% g+ W
  223. ; Note: Output buffering can also be controlled via Output Buffering Control& O0 `9 \6 M3 }
  224. ;   functions." `0 O  c  L, |) ~! U! u1 D
  225. ; Possible Values:5 q( @* c1 f8 e& M5 u: i7 V& V
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * l* n) F9 u2 h# P" s
  227. ;   Off = Disabled
    - Q/ K8 W# o3 i; l# B: \1 G  H
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.: c* W4 G; b1 f) {% M$ ~, e3 d1 k$ W2 A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 c" F0 k1 w1 B3 s% A! O1 ?" ]4 d6 }/ {
  230. ; Default Value: Off
    , K* _: M; Q' D9 X' o
  231. ; Development Value: 4096
    % X  @* E% M+ s1 O
  232. ; Production Value: 4096
    5 d4 C* V/ t+ w2 f* c
  233. ; http://php.net/output-buffering0 V; j0 H4 s! C
  234. output_buffering = 4096% C; E3 L' B% {6 K: a7 F5 p" \) d
  235. ) Y7 U( l% o9 {& a' X; r; j7 N( \
  236. ; You can redirect all of the output of your scripts to a function.  For
    8 R3 G( r% E5 z+ c1 u# _" Z
  237. ; example, if you set output_handler to "mb_output_handler", character4 ]$ F0 [4 E' I' A
  238. ; encoding will be transparently converted to the specified encoding.1 H% |& t  V- Q, M3 J$ t& z( r7 v
  239. ; Setting any output handler automatically turns on output buffering.  w! Q0 ]& S7 |1 F7 n# ~; v
  240. ; Note: People who wrote portable scripts should not depend on this ini+ f: ]! F& b8 |- B' O
  241. ;   directive. Instead, explicitly set the output handler using ob_start().$ K) {6 y9 i* m0 Y* O
  242. ;   Using this ini directive may cause problems unless you know what script2 `. y0 ^- g& a! y1 k
  243. ;   is doing.
    . C+ a. E1 r! q( g: n) A
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . u& R& N! T# C; U: A7 z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 s2 ~  Z2 ^7 `2 H
  246. ; Note: output_handler must be empty if this is set 'On' !!!!! d' T% e" o* k+ a% W1 h$ X
  247. ;   Instead you must use zlib.output_handler.9 p7 ^0 Z" \& P6 t  j! H
  248. ; http://php.net/output-handler5 ?2 ?3 B/ x/ G9 r
  249. ;output_handler =
    ; P, E8 |$ j. g- T; K# F3 Y8 R" d

  250. 9 }" P) Z3 K* h" r; Y( j; z
  251. ; Transparent output compression using the zlib library, s5 L* }. I6 y! `& \  K8 Q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. I0 T: V. }( s; |1 Z+ d
  253. ; to be used for compression (default is 4KB)
    1 L4 M/ Y( e$ S6 }8 g; L1 i
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* K  t9 R& ~  N* s4 S" [7 E
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    $ B# g% o0 o  W3 `
  256. ;   compression. If you prefer a larger chunk size for better
    0 I- {! q9 N  h7 ?# Q# P; O
  257. ;   performance, enable output_buffering in addition.
    ) m9 u4 e2 B9 D( L, u3 J# Q8 |8 e) z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    & t1 i$ T7 E, y0 u) T) m/ S5 F
  259. ;   output_handler, or otherwise the output will be corrupted.
    8 R& m0 P( o! B8 l6 `8 ~
  260. ; http://php.net/zlib.output-compression1 L* |, S# }0 B4 p9 S
  261. zlib.output_compression = Off
    % {1 e* u# @' K
  262. + \+ ?! b9 K: ]* i
  263. ; http://php.net/zlib.output-compression-level. G6 N$ V" z0 k# C4 m
  264. ;zlib.output_compression_level = -17 H* `2 K$ \0 F) C' Q

  265. , K/ ]& p! h3 T+ i! |. \5 Y/ K
  266. ; You cannot specify additional output handlers if zlib.output_compression& _# U, P3 q4 U2 V7 I$ i& X  ?$ r
  267. ; is activated here. This setting does the same as output_handler but in
    8 G: n# {  Q; ^  U8 B% f1 C
  268. ; a different order.$ T) `- m- M/ u. K# a% y( ~
  269. ; http://php.net/zlib.output-handler
    / \$ G6 t$ E* X4 m& d4 _
  270. ;zlib.output_handler =3 M2 N3 Y: s5 D9 u# E2 k9 A! X. i

  271. ! h4 ?/ ?& e, i  O
  272. ; Implicit flush tells PHP to tell the output layer to flush itself% M& N, a, z, `, ~6 e: \- c5 M
  273. ; automatically after every output block.  This is equivalent to calling the
    2 [0 b: P4 I: {" C
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ; D. o. \; |3 o3 Z
  275. ; and every HTML block.  Turning this option on has serious performance
    ! t$ V8 ?* p  G
  276. ; implications and is generally recommended for debugging purposes only.+ T/ N2 {; G: ~6 }4 v" l
  277. ; http://php.net/implicit-flush& x( N% p$ ]/ e
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 H3 J# p) |8 L, G% a' Z
  279. implicit_flush = Off
    ' i+ ~! X3 q9 X9 T$ B5 A
  280. 4 {1 q! L9 y  b) x( ]
  281. ; The unserialize callback function will be called (with the undefined class'
    . ]' N0 n5 D" V
  282. ; name as parameter), if the unserializer finds an undefined class4 @9 I. I5 h6 \5 J
  283. ; which should be instantiated. A warning appears if the specified function is
    + d+ G, N/ \- I
  284. ; not defined, or if the function doesn't include/implement the missing class.. [" C. H1 @" G2 E+ U" N5 u4 T- [
  285. ; So only set this entry, if you really want to implement such a$ C. e+ t0 S) H) ]' b0 ~+ }: U
  286. ; callback-function.
    0 s* J! }. @, l( d2 R% R
  287. unserialize_callback_func =
    5 O/ J0 C+ g$ l, v2 b  s7 R
  288.   g; ~- _- y4 ?3 O( o8 I
  289. ; When floats & doubles are serialized store serialize_precision significant+ U5 ^$ O4 P2 ~* O& r  t
  290. ; digits after the floating point. The default value ensures that when floats( D" ?5 k% ]* [$ J
  291. ; are decoded with unserialize, the data will remain the same.
    : _0 }2 Q4 A/ }6 l8 m* G" ^
  292. serialize_precision = 17* ^+ [/ L3 [" h

  293. , B" D7 R1 }/ S% X+ ^1 K
  294. ; open_basedir, if set, limits all file operations to the defined directory0 e, K) s7 G/ N
  295. ; and below.  This directive makes most sense if used in a per-directory% ]3 `- I, i; H
  296. ; or per-virtualhost web server configuration file.2 }, j/ ^' k/ J5 A4 X! J4 u
  297. ; http://php.net/open-basedir
    4 N/ Y) q0 x& ^! A8 F6 _
  298. ;open_basedir =
    $ f( }/ G1 D  F0 m; O7 R4 M' `( S

  299. 2 U- F- Y# w) {" k
  300. ; This directive allows you to disable certain functions for security reasons.) o7 ]5 U8 r; P$ w' L! V2 f8 K
  301. ; It receives a comma-delimited list of function names., ?# G4 A* b5 M" v8 T
  302. ; http://php.net/disable-functions( Z& i& k: _+ Q3 a! n1 e
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ( Q% J/ S% `# }1 ~
  304. 7 U/ C' x; }/ v4 j9 ~/ t
  305. ; This directive allows you to disable certain classes for security reasons.3 [' N) }: M) ?6 S
  306. ; It receives a comma-delimited list of class names.
    3 o9 d/ m) n% R9 ^
  307. ; http://php.net/disable-classes
    5 d! t0 m& d; ]- c6 P" ~
  308. disable_classes =
    ! G) ?+ |4 z# c  W, m+ ~
  309. $ s2 m, p4 [' N4 ?8 U2 I+ `
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in  \2 ~# ^- R8 `1 ?1 o5 W0 `
  311. ; <span style="color: ???????"> would work.# a' J- a; G4 E
  312. ; http://php.net/syntax-highlighting
    * M6 d- v: H; s6 |5 }% t
  313. ;highlight.string  = #DD0000
    # q! v. [5 L* p+ r7 |
  314. ;highlight.comment = #FF99001 Q% }3 X& ^6 F: U# A$ r
  315. ;highlight.keyword = #007700$ z* Q8 P6 [  _& T7 @
  316. ;highlight.default = #0000BB
    ( m6 h! y  _9 T  C6 c( |
  317. ;highlight.html    = #000000- c% T% ^1 n' T' W0 J) v0 [
  318. # S3 Z6 R# w. s
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ( N1 r! r/ b2 z  m, P8 r/ o% X' V
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 }& K1 g' E  R3 _) ^3 ]
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' V: c! L4 c8 x) s* x( S- U$ [
  322. ; is to disable this feature.
    6 G1 B5 h1 }( J) r! d$ u. t
  323. ; http://php.net/ignore-user-abort0 |6 ]7 r, L8 b  s: o$ m& x
  324. ;ignore_user_abort = On& y+ ~. U: ?) e7 L

  325. / G# \, E+ F- r: o. h" i$ I5 H5 o
  326. ; Determines the size of the realpath cache to be used by PHP. This value should  {& W3 D4 a% n
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ ?/ C9 c/ v- |  G7 U
  328. ; the file operations performed.- [3 m; H. c9 ?# `
  329. ; http://php.net/realpath-cache-size/ L* S& ^' n# k0 G  r
  330. ;realpath_cache_size = 16k  M) |0 d3 h; g$ s5 E7 P. o

  331. - A3 H3 ^- n) [
  332. ; Duration of time, in seconds for which to cache realpath information for a given# `* i$ I  y2 i
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : L7 E9 |8 P6 t6 _6 `8 r- ?; D
  334. ; value.
    # ~( {# b5 G5 g4 ]6 I
  335. ; http://php.net/realpath-cache-ttl
    ( A! r( ?- i6 p' n
  336. ;realpath_cache_ttl = 120
    ' P& }1 `! U. ~8 F0 p

  337. $ j/ R* h; [1 I% n5 i
  338. ; Enables or disables the circular reference collector.. h+ I: M$ n% V7 f7 X$ s" F
  339. ; http://php.net/zend.enable-gc  e$ [/ c! T, k5 X% v8 J8 ^/ D
  340. zend.enable_gc = On
    + s5 t. n$ }. B/ A2 z

  341. 6 t! r( q3 Q, D% J  S; j
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 v* |3 M5 h5 E* \6 Q
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such3 j0 {* j/ g4 J0 g  ^" p- f2 L
  344. ; encodings.  To use this feature, mbstring extension must be enabled./ z" K# ]) i6 e" F7 X  g+ A
  345. ; Default: Off
    ( i. D% a: l: P( \
  346. ;zend.multibyte = Off
    1 K( ~3 q3 L0 ?1 o- a. K
  347. % ?# B/ n6 X- l7 s* O+ ]/ D2 {
  348. ; Allows to set the default encoding for the scripts.  This value will be used3 M5 |$ A3 m' r. u7 K
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.5 W! ]( ^) E. f  ?* W8 ~2 H
  350. ; Only affects if zend.multibyte is set.* r' k% \2 b  Y4 O$ N, r
  351. ; Default: ""
    ( r/ N! H$ `2 t: `1 z
  352. ;zend.script_encoding =
    8 q8 E) ~- p. r" }/ a3 O; ^6 d

  353. " S+ ^- m1 O% B
  354. ;;;;;;;;;;;;;;;;;
    - d4 Y. {1 o9 ^/ ^* G% U5 _
  355. ; Miscellaneous ;
    5 `5 |, q5 `' U7 q( \
  356. ;;;;;;;;;;;;;;;;;) `1 E/ K5 F% e
  357. 2 e/ k5 m0 G2 \) z
  358. ; Decides whether PHP may expose the fact that it is installed on the server% ~; Z) ]9 {/ S$ X9 R- ]1 ^
  359. ; (e.g. by adding its signature to the Web server header).  It is no security2 Q+ d) X9 m1 ]* u1 z" w# V
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 i* y" R1 n( v+ P. Q
  361. ; on your server or not.
    $ `% }, n3 f6 {  u! [: z. s
  362. ; http://php.net/expose-php
    ) L# {6 h4 l$ v! b( i
  363. expose_php = On; v( R- F- v( ~# @. h* s5 }

  364. . u9 m4 t$ Q; y; J0 L) d; S7 P$ `
  365. ;;;;;;;;;;;;;;;;;;;
    4 u" L0 W! X+ n# W1 D
  366. ; Resource Limits ;
    7 b+ R( @% T1 m7 ~& V# ]
  367. ;;;;;;;;;;;;;;;;;;;0 `, X, L1 }  t0 ^4 {" }6 b7 |
  368. 6 o, b2 Y: \: j
  369. ; Maximum execution time of each script, in seconds
    ; s9 Z1 e: E% h, {1 Y( w# O
  370. ; http://php.net/max-execution-time* b4 s5 }, ?: q7 v1 i5 e
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ v3 ~3 _) Z& s4 ?& X6 P, E1 Q
  372. max_execution_time = 300) P8 }1 m$ J+ R2 O9 m* r
  373. 3 l) t2 W1 Z0 c
  374. ; Maximum amount of time each script may spend parsing request data. It's a good- R# n& F# o" |. x. A- E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 y7 w# g* N$ N+ ]# ^  B4 y
  376. ; long running scripts.
    + _3 j& L" o4 U- _; E
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI$ h$ }' [3 [- T: H8 l
  378. ; Default Value: -1 (Unlimited)
    6 k- N& d* p( J" X: G- {  O5 G
  379. ; Development Value: 60 (60 seconds): I& ]7 y" a1 U$ d; ?; q6 I  i
  380. ; Production Value: 60 (60 seconds)! ^5 s) [( Z; p3 H2 S6 k
  381. ; http://php.net/max-input-time! H2 p% J) \  _/ `; d- }' o
  382. max_input_time = 60/ P+ E% o" d4 w& N

  383. - l. G# h" ?0 U* S
  384. ; Maximum input variable nesting level+ M( d1 T  m/ v, A' w3 `5 [
  385. ; http://php.net/max-input-nesting-level
    , [7 W' B. e6 V
  386. ;max_input_nesting_level = 646 [8 G7 X* l# a; {& @7 ^) ^# h

  387. % q$ b) F5 D8 G  D/ y6 p
  388. ; How many GET/POST/COOKIE input variables may be accepted) n- m" l& E6 v$ \. H" {
  389. ; max_input_vars = 1000  k) K/ e  s6 l+ i1 a/ g1 o8 R

  390. & M1 C* x  w  Z. M/ K9 c4 J# t; z
  391. ; Maximum amount of memory a script may consume (128MB)0 R, m/ W- U. ]5 c
  392. ; http://php.net/memory-limit
    " y2 X9 C: S: `6 ~9 P0 Z5 z% F: n
  393. memory_limit = 128M" n: W& P1 N! L- [
  394. + X' X- i/ i, E4 k+ _
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 f0 N/ d9 j1 t
  396. ; Error handling and logging ;) i& m# s) h( T5 A
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , t8 e2 w! C4 q' X) X

  398. * h5 I; @- \1 U: [; p! K+ k3 k) P* y0 u3 T+ J
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    - F" F9 B% I9 m
  400. ; it to take action for. The recommended way of setting values for this
    9 ^& m" Q  e  s% k3 L& D; [- p
  401. ; directive is through the use of the error level constants and bitwise
    3 Z1 t/ I" E5 C: Y9 b2 q( M7 o
  402. ; operators. The error level constants are below here for convenience as well as' D* z, e5 n4 Z( X3 e
  403. ; some common settings and their meanings.
    % |1 [4 o9 s1 f. n3 p  N: D
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 L, h, `  o# E0 g/ G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . {! ^5 p, P% X, I! V8 Q
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    1 q! }1 a' D9 T9 T  B
  407. ; recommend error reporting setting. Your production server shouldn't be wasting# A2 m% K/ ^& N& D7 c
  408. ; resources complaining about best practices and coding standards. That's what8 o/ l3 C9 x, W) W# A) r9 v- Y
  409. ; development servers and development settings are for.
    : _& I. }0 n5 f0 ?+ n2 e
  410. ; Note: The php.ini-development file has this setting as E_ALL. This- V) L0 a3 o! U  X8 a+ |+ ]9 i: Y
  411. ; means it pretty much reports everything which is exactly what you want during1 Y  c: u% u$ J% t! b1 @1 B% i6 a
  412. ; development and early testing.
    . v0 j2 R, y4 i7 `7 a1 u
  413. ;
    ; B6 H# @$ M" g" q! y
  414. ; Error Level Constants:* [9 G) Y, ]: f4 V% Y8 T
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + M" r' {3 b1 ^" y
  416. ; E_ERROR           - fatal run-time errors# T& r, @) y0 z1 l+ ?: ?5 `# k
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . `3 X8 q% i* C6 W$ m% {9 o
  418. ; E_WARNING         - run-time warnings (non-fatal errors)* {# e6 r7 h# K, ^/ S
  419. ; E_PARSE           - compile-time parse errors& k5 B+ S9 Z6 t4 a2 i
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " c0 Q+ `, f& Y3 z1 H. W4 A' R
  421. ;                     from a bug in your code, but it's possible that it was( h0 P3 [- p% @- g% I
  422. ;                     intentional (e.g., using an uninitialized variable and
    / X* V# C" k& r/ ]2 b0 @5 U7 Q4 @
  423. ;                     relying on the fact it is automatically initialized to an) L8 l. h) l# e) e* Q
  424. ;                     empty string)$ z, l6 E, X! j- |
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 K8 O4 n4 F9 t3 |, \9 K  k' g0 Y
  426. ;                     to your code which will ensure the best interoperability
    / o1 C3 K( n$ O: B" J& r* `
  427. ;                     and forward compatibility of your code; ^6 T1 {  z3 f4 h8 G
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " v( q" c9 S. w5 `+ J& A$ h# g, t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 _* F4 Z2 o  ]; i2 @
  430. ;                     initial startup
    ! w- D0 d0 Z7 t& H* ]
  431. ; E_COMPILE_ERROR   - fatal compile-time errors) i4 U* n6 H/ r' h; d
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 t9 y( p) }+ H; O
  433. ; E_USER_ERROR      - user-generated error message
    " g; y4 O% T  y0 }1 ?$ D
  434. ; E_USER_WARNING    - user-generated warning message1 A$ g( R9 e  I; w' G5 [/ y
  435. ; E_USER_NOTICE     - user-generated notice message
    , V0 S" h  u4 ^7 K1 l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions* \, g0 g. m/ N
  437. ;                     of PHP
    " I3 |# J) M/ @" ?9 L
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- \$ o+ b/ _2 l* |( y- {0 p; \4 \# p: @
  439. ;
    * q5 b' Y0 J+ u6 r  z+ ?* R
  440. ; Common Values:
    5 y7 f1 z) H  M& H* H
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ; w- R( m' s, W) j) c3 X, l
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 H4 ^: z% c, _9 s+ u
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' ?% L6 Q# a; q7 ?" [1 ^& b+ y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 B5 @( ]5 g1 k6 S4 R# w- @
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! o; l! W' s& Y$ P/ {9 @! _
  446. ; Development Value: E_ALL8 b# K# ]8 T: k
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    5 P# p0 R# y0 b5 |2 O6 B; d
  448. ; http://php.net/error-reporting( L9 B: M: d2 ]5 E9 l) s
  449. error_reporting = E_ALL & ~E_NOTICE
    : l+ m8 P0 }" h4 c
  450. + X; O+ m& u! W& T6 ]8 x0 I
  451. ; This directive controls whether or not and where PHP will output errors,
    2 p" z; n7 a  C$ S1 J( F+ ]
  452. ; notices and warnings too. Error output is very useful during development, but% s' h2 w1 T- D
  453. ; it could be very dangerous in production environments. Depending on the code3 R& B, X% b# }$ c. S; _  b$ ~# i2 I
  454. ; which is triggering the error, sensitive information could potentially leak
    / z6 o( y2 W% [' l, i8 ?& P
  455. ; out of your application such as database usernames and passwords or worse.1 w  o. V! }- l) j3 u
  456. ; For production environments, we recommend logging errors rather than
    7 D- B3 t+ C5 L" y6 }
  457. ; sending them to STDOUT.' @" c. H) q" z, s0 X& u
  458. ; Possible Values:1 o6 G( Z: B$ `
  459. ;   Off = Do not display any errors- H# f. P4 `: ]& n' |" k
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " E7 X' t! A! U! N: O% X. N7 [
  461. ;   On or stdout = Display errors to STDOUT
    4 N# r7 \' z. J) I3 j: L
  462. ; Default Value: On
    5 h$ U4 P& {8 R5 u9 T2 v6 z. c
  463. ; Development Value: On% M2 l" _; o! Q/ u4 }8 V
  464. ; Production Value: Off
    $ N$ ^( g% K0 |. g, G9 g2 d* T
  465. ; http://php.net/display-errors0 I7 t2 y: `0 m! G" T6 j, e5 m
  466. display_errors = On- N: G) b: }: d6 ^+ F

  467. 1 D  Q, S4 @- u* j
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : _- W# c: ?( G2 b: V
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    - ~% V1 w& C4 y6 {$ B, a. M
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ' Z3 L& j, E  {& T" h
  471. ; debugging configuration problems. We strongly recommend you
      \; d/ X4 a4 p7 r' X
  472. ; set this to 'off' for production servers.
    ' e. S( a8 L) w/ L! h( @
  473. ; Default Value: Off. u+ [( i) D, u3 e' a9 {; r  F9 d
  474. ; Development Value: On# E/ r: K5 S( n1 i: D
  475. ; Production Value: Off1 M* d. K: e3 U: t: t' L+ G! y% _
  476. ; http://php.net/display-startup-errors, }* L' H- W: j
  477. display_startup_errors = Off
    % d$ p3 G1 u8 ^7 T7 ]
  478. ( |) N. o" r2 C, U9 A# o! w8 X
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    / u$ _/ v  O9 d$ D- c3 d; e. K- i; M
  480. ; server-specific log, STDERR, or a location specified by the error_log% @6 \% E3 r3 N3 g( Z+ d5 [  B
  481. ; directive found below. While errors should not be displayed on productions5 e/ T1 D  _2 Q6 q
  482. ; servers they should still be monitored and logging is a great way to do that.
    6 p7 b$ c, d# Y! [& v
  483. ; Default Value: Off/ g% b. [* s" u; |. W% s
  484. ; Development Value: On+ H# @. M, c4 b, ^6 Y! l
  485. ; Production Value: On
    9 N3 _5 t! r8 n% A+ E' b
  486. ; http://php.net/log-errors. j, U0 j" C- n" V/ p
  487. log_errors = On
    ; x4 [, L9 f. s. [
  488. 6 ~5 s& V( i) T; ^  ]
  489. ; Set maximum length of log_errors. In error_log information about the source is
    : X. ]) Z$ h1 ?& M% l: h
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." o( U* [' O& l- Q8 i3 e
  491. ; http://php.net/log-errors-max-len, Z" k0 X9 \9 O( n& u4 H; a
  492. log_errors_max_len = 1024- A5 ^: d* l; _* M6 w# p* ^

  493. 7 X3 {4 o* \% A4 [# v* Q# Z9 V- y; C( A! T
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same8 r5 O/ z8 \, F
  495. ; line unless ignore_repeated_source is set true.1 I5 T1 h' N0 y8 _% D. v
  496. ; http://php.net/ignore-repeated-errors* u# r6 }4 D$ Z/ ?9 z6 d
  497. ignore_repeated_errors = Off
    . Q; I- T  _4 s5 g1 B0 c. R" i+ ~

  498. ! Y; s3 Y& e7 n- w4 i' c
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    9 ]3 N5 G0 b3 j8 z( D0 B. |
  500. ; is On you will not log errors with repeated messages from different files or
      a* l& ^4 U, i% a& m6 A
  501. ; source lines.
    : B0 N* P3 Q+ q+ ]8 S  T, d' H
  502. ; http://php.net/ignore-repeated-source
    ( |9 K% e! b' b; Q6 ^
  503. ignore_repeated_source = Off
    ! l' [* \  Q/ z7 A8 `# m
  504. 1 E& I" q8 h  T( N1 R" j
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ( z/ n) Z% ?% \5 t7 h" ?) }
  506. ; stdout or in the log). This has only effect in a debug compile, and if' R7 x* T6 x& H% F/ J8 \! q
  507. ; error reporting includes E_WARNING in the allowed list  O) Z2 o" n9 ^! T0 y8 w
  508. ; http://php.net/report-memleaks, O' E9 K' l2 a4 u
  509. report_memleaks = On2 S9 F0 F0 K- A! p. g& t2 d) s$ b

  510. + ?$ d4 v& b$ N- r
  511. ; This setting is on by default.
    ( c* x- h5 e) T+ ^  S  B
  512. ;report_zend_debug = 0
    2 [, }/ ?  _2 m

  513. 4 ?5 d9 e/ \9 J
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      M5 F9 J7 A  x8 C# R
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    9 Y; a& N4 U1 X9 x; R% V
  516. ; however be disabled on production servers.8 a# w. ]! X, ^) F; T5 ]$ T
  517. ; Default Value: Off* P1 h$ ]4 _2 R( I- [
  518. ; Development Value: On# Y5 j! e0 E: q& w/ `* y- `
  519. ; Production Value: Off
    1 D( Z8 I$ z4 s( Y; w
  520. ; http://php.net/track-errors
    9 n1 D  ~: E0 z; r
  521. track_errors = Off
    3 a" q4 c+ `: g1 }) ^$ C2 o! Y

  522. ; E0 T- L" L: s9 O5 `4 m7 z
  523. ; Turn off normal error reporting and emit XML-RPC error XML% |/ c% ?  R1 x
  524. ; http://php.net/xmlrpc-errors
    7 b& p8 j4 B+ @, t9 J" w
  525. ;xmlrpc_errors = 0
    3 R) s- q$ s6 ~
  526. / _8 {4 J# @/ |2 R7 O% q# r0 `
  527. ; An XML-RPC faultCode
      G' q2 Y+ q# V; C5 s
  528. ;xmlrpc_error_number = 0
    9 J1 l& y% M% ]: I0 X4 q; I- ~
  529. ! P3 v  n0 |7 ~. g
  530. ; When PHP displays or logs an error, it has the capability of formatting the" v9 p. F/ R9 a+ _3 i! W0 j/ u
  531. ; error message as HTML for easier reading. This directive controls whether5 U0 j7 D3 v8 ?: K
  532. ; the error message is formatted as HTML or not.
    * o( L" S: {/ O  a4 c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI7 I2 U1 I+ n$ l- @6 U
  534. ; Default Value: On# r6 W2 ]. H2 Z% e: d8 K: x
  535. ; Development Value: On
    ' I7 \' H) A7 L1 O2 w
  536. ; Production value: On
    0 {. C" z) t* H( K
  537. ; http://php.net/html-errors) Z* j0 h* N4 a2 V, c  c3 a6 s! n" K
  538. html_errors = On
    ) F3 n: k! |/ u9 k5 G5 L$ `8 s

  539. / x! ^/ P" N8 k4 {2 F/ R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; @/ m8 [: n! |; _+ d
  541. ; produces clickable error messages that direct to a page describing the error" j* w2 @* X: K& @
  542. ; or function causing the error in detail.
    % @1 P* b$ I9 x) z: {% D& s) _
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 S# v. `. V, f3 H7 t* C3 H4 t
  544. ; and change docref_root to the base URL of your local copy including the
    / h% K8 h; x2 r9 _
  545. ; leading '/'. You must also specify the file extension being used including
    ( T. \) P; X% ~5 G
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which/ p/ M6 q  h$ \' S# l2 y
  547. ; case no links to documentation are generated.' d9 x! L3 G( @8 ~0 V/ d3 T& W
  548. ; Note: Never use this feature for production boxes.2 P, p6 q+ z3 F: Y" ^/ u" Q
  549. ; http://php.net/docref-root
    + V1 @: P9 H) F9 R7 d. m, _( E
  550. ; Examples1 V; D: F% v, V9 \3 G0 s) W
  551. ;docref_root = "/phpmanual/"8 N$ D% C7 n$ Z; W
  552. 6 B2 x  Q% x1 S+ ~3 A% c: p# S) X
  553. ; http://php.net/docref-ext
      R* _4 G$ Z7 _2 V
  554. ;docref_ext = .html- J! B8 [5 @+ k

  555. ' V  k% J+ v- ~* m, z0 [* u1 b7 V
  556. ; String to output before an error message. PHP's default behavior is to leave
    ; ^8 W& {; ?* k& d
  557. ; this setting blank.
    ! X$ ?8 ]3 b. T9 _$ @
  558. ; http://php.net/error-prepend-string( h4 C! {% X+ Z% Z1 ?1 f
  559. ; Example:7 k" [& E0 _6 m/ G
  560. ;error_prepend_string = "<span style='color: #ff0000'>"' z% m5 v  R2 X$ f9 `5 s0 ?

  561. 4 i7 s- o3 `' t
  562. ; String to output after an error message. PHP's default behavior is to leave( M. v" w% M' E( s* a. g- x8 Y% }
  563. ; this setting blank.
    1 T! W1 i$ Q/ d+ m! n6 }5 R
  564. ; http://php.net/error-append-string
    ' i; u9 @$ H" q2 E- c5 |% g3 x
  565. ; Example:0 V2 `% t9 ]) u% D- g% ?' T) K
  566. ;error_append_string = "</span>"% ^. [$ H; }3 [% S( g$ e3 p

  567. ) [- U/ X0 H7 _, s1 M
  568. ; Log errors to specified file. PHP's default behavior is to leave this value: E! S; T, G4 |+ u9 u& Y0 }
  569. ; empty.
    6 B# N7 M7 m4 \- @- d0 o' h) B- u% }
  570. ; http://php.net/error-log) p" K# S/ R$ h! r9 W" S
  571. ; Example:8 D* Q4 c& n; B8 H7 S7 X
  572. ;error_log = php_errors.log; `% w* w# J& M% c& c
  573. ; Log errors to syslog (Event Log on Windows).
    6 t! z# p8 R  I+ Z) c- X
  574. ;error_log = syslog
    0 t) b# h* {6 A% d
  575. ( t3 Q( }- R& T+ b4 }. Y
  576. ;windows.show_crt_warning6 a% D- o# p+ x7 ]( L
  577. ; Default value: 00 }# i2 R$ \" `3 N" [. s6 i7 O
  578. ; Development value: 06 N2 J$ U& c" e& p) Q- a$ M
  579. ; Production value: 0& K4 l. s: K7 a: ]+ M3 b$ k, ^
  580. / r* v( t1 N: Q" t
  581. ;;;;;;;;;;;;;;;;;0 v' q1 `/ x$ f1 y/ i
  582. ; Data Handling ;$ L5 @* k2 }/ Q% G- p: }
  583. ;;;;;;;;;;;;;;;;;
      X6 `" a) l2 ?- b7 T: z

  584. / N' b# F" C1 i) ]4 H
  585. ; The separator used in PHP generated URLs to separate arguments.
    ! L" G/ |0 _- Q
  586. ; PHP's default setting is "&".7 ]7 ~5 i$ o. \) A
  587. ; http://php.net/arg-separator.output
    % O" X$ |& [5 e0 u, k( X
  588. ; Example:
    2 P; Y7 M3 n. B' I: a0 ~, j- U
  589. ;arg_separator.output = "&amp;"
    ; P& \& ?0 |" M. E4 q
  590. 8 x! s  V! B+ d% f
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    / o  H* W4 N  F, |/ J7 N
  592. ; PHP's default setting is "&".
    5 B7 s( w" |% ?8 b
  593. ; NOTE: Every character in this directive is considered as separator!6 s& W( _8 Q7 k
  594. ; http://php.net/arg-separator.input  m( o' ^* f' U& B3 _' z
  595. ; Example:
    ( P" O9 o1 X5 j, m
  596. ;arg_separator.input = ";&"
    , W, z! Z' l" F; Z2 O6 f' n8 h+ N
  597. 9 c$ K1 ]( d; D2 v  b6 h" M6 h
  598. ; This directive determines which super global arrays are registered when PHP  d9 w: J: v" f4 n+ @( \- E" j
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      H% `# Y0 g: {' L8 W4 t# M
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 ]4 k" W6 Z$ ^2 u) Q
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    , E. W" f1 Y! [7 N  j- Y) c* q
  602. ; used as the others, ENV is not recommended on productions servers. You
    # b7 J& s3 p$ C) a! X
  603. ; can still get access to the environment variables through getenv() should you
      F& F: l( [* g, Y: n
  604. ; need to.5 l" l- \* {2 \2 j
  605. ; Default Value: "EGPCS"
    8 s6 k2 s* N% ?0 N, G
  606. ; Development Value: "GPCS"
    9 E) o* m6 R! |8 t' T( N$ g
  607. ; Production Value: "GPCS";8 H+ f0 P& l( z
  608. ; http://php.net/variables-order, Y3 F0 M+ n+ R! S! v
  609. variables_order = "GPCS"
    6 A' G& N) }! i# Z& I1 B/ b+ I

  610. * W. X7 _, S# A1 P# x5 {
  611. ; This directive determines which super global data (G,P & C) should be
    ' I5 d2 I  g. v2 Y  f
  612. ; registered into the super global array REQUEST. If so, it also determines8 Z' ?  `0 \+ ]- t. p
  613. ; the order in which that data is registered. The values for this directive5 |5 {6 B! _" r5 Q+ g; f: p
  614. ; are specified in the same manner as the variables_order directive,
    0 z% Y& }, b; Y9 e5 r2 Q) e
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    * v4 q: H7 V3 [7 ]$ J" ]2 ?
  616. ; in the variables_order directive. It does not mean it will leave the super
    ) h3 z& N; i) J2 R3 t9 `  e, e0 D
  617. ; globals array REQUEST empty.
    ; F% I1 r3 K* s) P
  618. ; Default Value: None2 D. q# m8 j- ^9 ]5 r* l7 z( S
  619. ; Development Value: "GP"
    5 v" |+ `1 [2 W/ U4 ^. L7 |
  620. ; Production Value: "GP"
    + k+ n1 ~2 `! k$ S
  621. ; http://php.net/request-order  a& U) w0 ^0 q
  622. request_order = "GP"! ^5 i' m7 a: ^8 D! j3 ~
  623. & k0 f! ~' N2 r  M, N& N
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    + O8 U3 s5 d6 H8 n8 ~: R
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ' g- t+ ]9 s  t" W/ h. k9 g2 C4 N3 Y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    - L; ~' O8 X$ q; b& Z+ F
  627. ; that were passed when the script was invoked. These arrays are extremely5 X1 w! \; B' H9 ]6 g% v
  628. ; useful when running scripts from the command line. When this directive is# e: v: c: P# _, ?) x
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 G5 q$ m8 o$ g
  630. ; a script is executed. For performance reasons, this feature should be disabled' ?$ H7 y* U: o, {4 F
  631. ; on production servers.1 G$ d3 [8 S, ~4 U
  632. ; Note: This directive is hardcoded to On for the CLI SAPI# D! ?" h1 t/ |4 O& j' K
  633. ; Default Value: On
    1 m  O. G: k& f4 c2 w7 L
  634. ; Development Value: Off& e! V$ V6 h& a# Y
  635. ; Production Value: Off& ]6 v# N5 }6 S9 h; j
  636. ; http://php.net/register-argc-argv' u' S! z6 O5 M+ `* d2 o
  637. register_argc_argv = Off! W# y" n% g% e" F: l

  638. 1 R$ I2 y, _- ?6 x, z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  N6 N2 x1 c9 N( {0 T1 `4 w7 H
  640. ; first used (Just In Time) instead of when the script starts. If these4 g3 q2 I* k: O% `
  641. ; variables are not used within a script, having this directive on will result
    ( F2 ?+ X, x, K% F& C
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled% _  E  c$ K* j3 r0 w
  643. ; for this directive to have any affect." ]& ~7 b3 t+ q" f* H5 q
  644. ; http://php.net/auto-globals-jit3 X0 g  x5 c. }- E4 i
  645. auto_globals_jit = On
    " |  M+ `3 q" ]% \& J! S

  646. ! V4 \2 b' m% y1 G5 Z- `4 P' c4 E
  647. ; Whether PHP will read the POST data.
    / m6 q9 H) R5 x- f3 y/ p& {  l
  648. ; This option is enabled by default.
    ( L% ?8 C, `; F. ^  Q- f
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 H4 X1 T# e& v! p
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ! Z& k  p. b$ G
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    : d; D* P/ J- _; d' r
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    " n3 J* I0 k3 k$ ], X7 ~
  653. ; http://php.net/enable-post-data-reading
    & Q* I% i6 |" l6 r; b. @/ h
  654. ;enable_post_data_reading = Off
    # _9 b9 [, N% O/ s6 B- J8 o

  655. / `7 s' g/ \$ P2 M9 @0 |
  656. ; Maximum size of POST data that PHP will accept.* u. H3 |" q1 B' \
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & d& m8 {3 M3 O
  658. ; is disabled through enable_post_data_reading.! A+ [1 j" O1 m
  659. ; http://php.net/post-max-size
    ! f' N. U  p) g8 K+ J1 x* q
  660. post_max_size = 50M
    4 ~* Q* H3 O3 E" O1 f

  661. " A6 r+ I0 e. z9 A" N
  662. ; Automatically add files before PHP document.3 L, t, t+ R' L& `# i8 Z: w: S
  663. ; http://php.net/auto-prepend-file% i5 b# p/ e4 R8 B0 _$ }
  664. auto_prepend_file =% q+ h! \! v: c& B8 @; N9 B
  665. / c& H0 t2 B: z/ }$ V  }
  666. ; Automatically add files after PHP document.( b4 r8 D  k9 z3 |2 _  _
  667. ; http://php.net/auto-append-file
    ' X5 M4 F# U! x! _  ?6 t' f: x6 }
  668. auto_append_file =
    9 h. b( ~4 M; E* i* O7 H

  669.   K, g7 h2 O% f/ i( u* S
  670. ; By default, PHP will output a media type using the Content-Type header. To
    1 A! A8 T( G' ^
  671. ; disable this, simply set it to be empty.6 ^+ _* j! t# a: T( \2 _/ x
  672. ;
    * W8 J& }' ?& J7 z7 a% y( Q& `
  673. ; PHP's built-in default media type is set to text/html.' y) ], @9 z) v! n& H5 f' F
  674. ; http://php.net/default-mimetype
    7 Z& ~6 K. ?( T
  675. default_mimetype = "text/html"
    - z* G9 |; t2 m4 K0 N

  676. . ~6 T. j6 b/ _2 N2 X
  677. ; PHP's default character set is set to UTF-8." U& ]7 k" L. u. B" Z" l
  678. ; http://php.net/default-charset
    ) ]8 i  f/ N# g; f; f( w8 a" u
  679. default_charset = "UTF-8"* [/ `: L4 s/ t+ c4 b- f7 V

  680. ! O& g- c" M* p2 f: R5 D2 ?
  681. ; PHP internal character encoding is set to empty.6 I& `8 [5 E' A  _  ?5 t
  682. ; If empty, default_charset is used.
    6 t1 i/ `) l: {* W% c  h0 `2 A
  683. ; http://php.net/internal-encoding
    + W+ D' D6 V. R, l
  684. ;internal_encoding =# |% D# W: f5 _0 r$ U) Y

  685. $ T+ P% U0 Q+ G( a+ y+ T8 `
  686. ; PHP input character encoding is set to empty.
    1 C6 d3 j5 V, h. A! g
  687. ; If empty, default_charset is used.
    : Q$ ^! Z  x3 E& U" w6 q# W7 A4 M
  688. ; http://php.net/input-encoding  [$ M& x' p4 y3 O: ~0 ]
  689. ;input_encoding =! B9 ~$ l0 ]/ L) e6 U

  690. & f- I  z- [  Y8 k. I7 E
  691. ; PHP output character encoding is set to empty.
    % X. Q* D7 `4 }" n7 j3 W4 o1 J! S
  692. ; If empty, default_charset is used.% q; s) b5 F  ~% D" e
  693. ; See also output_buffer.. s, G3 ~2 k8 B0 u8 o3 m
  694. ; http://php.net/output-encoding
      u  o) W, h7 |$ h( U: z% m
  695. ;output_encoding =1 e( Z/ X8 {# i) _+ k2 {. D) e

  696.   ^6 ~2 D" y% f' K. W, h
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is: y  D: Z% N2 C8 h. b. P( j
  698. ; to disable this feature and it will be removed in a future version.
    7 L3 t5 `: U0 `& ]  b6 p0 {
  699. ; If post reading is disabled through enable_post_data_reading,0 A( o+ a) U! u/ P8 c
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    . p* G  P6 k* f& D6 n/ J
  701. ; http://php.net/always-populate-raw-post-data/ D: j7 O3 B& g/ W  z/ c
  702. ;always_populate_raw_post_data = -1
    & J& L& L" [7 y
  703. 4 u# o0 P5 B: I% Q
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;- k  h4 P# m1 U$ ^: K* ]* Q
  705. ; Paths and Directories ;
    4 z$ E2 o& u/ i; T' C/ X' H* P$ m
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;. w6 d* x% l3 c6 v/ }/ }/ A& ]# m) M

  707. - K% I, r9 O% N, @! {  ~
  708. ; UNIX: "/path1:/path2"1 e* G7 }: l1 J9 N3 D3 d% u; f
  709. ;include_path = ".:/php/includes"
    + a1 S/ O" F8 S  y
  710. ;
    ! a" {" ^, O+ T
  711. ; Windows: "\path1;\path2"
    9 |4 M, D7 f3 l" F2 |, ?
  712. ;include_path = ".;c:\php\includes"
    # t9 T: n; ~& H6 N. K, l
  713. ;. P, f( Z7 F) K5 P, F  M
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    9 k. B1 o, u$ T" ^1 P( j4 m
  715. ; http://php.net/include-path
    0 s- B: Q, g1 e4 h1 @) W( ~! b3 }

  716. . m- a: ^& V* K" g2 B! }
  717. ; The root of the PHP pages, used only if nonempty.6 O0 w$ n, r$ K8 T; {4 a
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ! O( S5 q6 c- J5 N0 |
  719. ; if you are running php as a CGI under any web server (other than IIS)9 b: t. z1 A1 g3 S  U
  720. ; see documentation for security issues.  The alternate is to use the. e- n' l  e  F$ i& z8 B; m8 Y
  721. ; cgi.force_redirect configuration below6 w- e7 M6 c* P; `! Y: y
  722. ; http://php.net/doc-root, P8 Q( l/ [5 E. D9 x
  723. doc_root =/ j) y0 k) g/ M$ ~! p- V; |

  724. 7 G; b: o: D$ k! ]' D  X; y4 W* @, q
  725. ; The directory under which PHP opens the script using /~username used only
    5 z1 a) x7 z5 W# _, d7 K; m
  726. ; if nonempty.' E( l& D  o* H& R
  727. ; http://php.net/user-dir2 l# G5 H/ y* ?
  728. user_dir =
    7 i6 ^( |+ U+ W& h% [: w

  729. 9 `$ o8 C; s- }% j" \  ]7 \* @5 I
  730. ; Directory in which the loadable extensions (modules) reside.( k- Q9 E" K& w, g  j
  731. ; http://php.net/extension-dir: [5 i6 b( S+ A6 j' l1 E
  732. ; extension_dir = "./"
    8 K( }+ s( G$ E$ z, k! p
  733. ; On windows:9 g7 [/ D5 r9 A' v+ F5 Y8 b& K- B' e
  734. ; extension_dir = "ext"
    / j5 h+ k/ p/ Q1 ~$ [$ I. z

  735. % E0 t0 ?: |7 B( i
  736. ; Directory where the temporary files should be placed.8 N6 _4 h% [# N. |
  737. ; Defaults to the system default (see sys_get_temp_dir)
    % U2 q( y; G: ^& V4 x8 J' t4 |* ?" m
  738. ; sys_temp_dir = "/tmp"* [0 d7 x$ z% v6 _2 m; u, u( r* v7 h

  739. * ~& Y$ Q' L4 d, x# x3 V. `6 H
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work. v: K: b5 \' O: E. P7 r6 T
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    . @# a& u6 A) J
  742. ; disabled on them.
    5 s% _- c- ~7 K  U+ m) W) Q0 p
  743. ; http://php.net/enable-dl7 d) B1 o. Q/ K& X! U: k& z
  744. enable_dl = Off. w4 i. i8 o! G* A. d
  745. ( a, @: l' Q2 X: Q# e  s$ Y
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " T, N) p" _9 ^# h$ g8 E3 N# t
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can- r3 h# g; k' \) ~; O; b6 v
  748. ; turn it off here AT YOUR OWN RISK* h( ?& h' f% H. ?" L8 L, k) f
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + c! r! S* p7 [7 C0 ^
  750. ; http://php.net/cgi.force-redirect3 ]7 H7 \4 K; O
  751. ;cgi.force_redirect = 11 o: X1 I* k5 D% Q. ?

  752. 7 Q9 a" s" S+ h- x  P# `  U
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with6 ?3 z) Q) _3 G. ~- E
  754. ; every request. PHP's default behavior is to disable this feature.
    9 b& n5 h$ n# T6 X) ~, _4 }! I
  755. ;cgi.nph = 1
    " l' N( A  U% p$ Y( C! W
  756. 0 ]/ B. A: M4 ^  c  b& p
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 u. L/ ~% R3 u( \0 t+ ~
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 T0 N8 a' E$ ?5 r; L* ?# m  A; T7 W' v
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    : b# k/ N8 R  R9 e. e5 r
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    & p( \" o  B/ S; I8 d5 K/ I
  761. ; http://php.net/cgi.redirect-status-env
    . s7 [* K0 H3 q' D- N+ H
  762. ;cgi.redirect_status_env =
    8 q$ Q6 n6 U9 M2 x. k

  763. 3 }' I0 I$ Q9 W4 I' F5 X) V
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " D+ a9 V6 e5 K9 ^
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    % P$ \: y9 E8 Q% ~9 `( m6 S
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) R, J8 Y6 I+ d- [' _* [
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " u; a  k2 N5 k( p9 s! A
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 i* L3 f# N5 }4 t
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.6 n/ t$ E- _, E
  770. ; http://php.net/cgi.fix-pathinfo
    1 ?( d6 R" A. v6 S& Y) F' D
  771. cgi.fix_pathinfo=14 {. z; M3 j2 H

  772. 6 V3 J( x7 t; F" K2 u! O6 e
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  L$ F- l1 y6 J! H5 T
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    $ X) w: _* @& n3 q/ J
  775. ; http://php.net/cgi.dicard-path
    7 y, j( A2 P4 N- o0 a6 |5 u& I
  776. ;cgi.discard_path=1# r$ a# U: v  I# h" W

  777. 2 x  }9 u, Z- G
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 }) i( C0 ]$ S" r
  779. ; security tokens of the calling client.  This allows IIS to define the
    ! N: Y! v. S* ~8 H6 N
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    - b$ G! y. z2 Z
  781. ; does not currently support this feature (03/17/2002)
    0 h7 H9 ]. r- w% \7 D# S# |4 `
  782. ; Set to 1 if running under IIS.  Default is zero.( E6 R8 J& }" R% J, _7 C; U, l5 g
  783. ; http://php.net/fastcgi.impersonate9 F3 |* d2 e* ]. a
  784. ;fastcgi.impersonate = 14 z# f; C' o' Y' F; {4 R

  785. " x% L8 d" J6 D& j0 n5 L) C. P
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable) e& s' s( G; ^( w2 g0 G# X
  787. ; this feature.( M# m% \0 S+ @
  788. ;fastcgi.logging = 0$ t/ [. d8 J7 M7 l+ f; J

  789. " N& g9 Q' V/ V2 C6 s& C0 v) t* p) _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    * C! E# i' g2 ]
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . t0 b  y+ M! q( `8 H3 Z; i
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ) D2 F5 L- p( }$ \2 [5 P
  793. ; RFC2616 compliant header.
    5 g. v! @* Q% C
  794. ; Default is zero.; H' R0 U. M* ?, b% h
  795. ; http://php.net/cgi.rfc2616-headers
    " R; ~3 u) H3 Y+ [" f6 p3 n! |
  796. ;cgi.rfc2616_headers = 0
      ^+ W& S1 I4 B
  797. * _' s- I1 _8 {
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!$ g3 a+ y) P- R
  799. ; (shebang) at the top of the running script. This line might be needed if the& w/ l* O8 Y, w$ d3 V; C
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* Q1 @& j. e# N/ V- Y: Q1 |% r
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + v1 t4 d) ?4 p, u; l' J
  802. ; http://php.net/cgi.check-shebang-line& i( h5 ?- b6 T3 Y& m* N
  803. ;cgi.check_shebang_line=1
    . U+ X6 v7 \7 K4 p
  804. " n, Y0 F8 S: v; h/ y, |
  805. ;;;;;;;;;;;;;;;;
    . l* L) ?$ Q; W# V& w4 {7 L
  806. ; File Uploads ;
    ' }" r6 N1 Y3 M& t' J  Q& l
  807. ;;;;;;;;;;;;;;;;# S" v7 t$ O' B4 d9 c3 S

  808. : \1 Y; n( L& c( M" B: m
  809. ; Whether to allow HTTP file uploads.
    # }( W( V( [+ D$ A" g. A4 h) r$ W
  810. ; http://php.net/file-uploads) T9 M% i* y8 N+ A1 f% J
  811. file_uploads = On, o* Q5 }: \* t1 n1 C
  812. $ p" u6 o' O8 h$ v- Z' N5 s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    8 F( p- r, [! C( V9 u
  814. ; specified).
    0 o0 q3 L" b: d. Q+ m$ X7 t
  815. ; http://php.net/upload-tmp-dir* |) ?: h' F% V. w  C7 C) j
  816. ;upload_tmp_dir =
    7 X! B/ R" y( s. P. J

  817. 8 c- J! S/ d  ]1 ]- W
  818. ; Maximum allowed size for uploaded files.
    / B3 ?9 Y0 _% [6 T0 k, M( I
  819. ; http://php.net/upload-max-filesize9 k. S7 f; w/ ]# `/ X3 d6 @9 u( ^! z
  820. upload_max_filesize = 50M$ a. W% F# {+ t. l
  821. & W, k3 b3 C1 y, O0 \
  822. ; Maximum number of files that can be uploaded via a single request
    ( ^! ?6 Y* c  ~6 \7 ^# E7 F. s! f
  823. max_file_uploads = 20! I, a- B% E3 C1 m
  824. 2 E( N6 K5 A' ]4 z, h5 M( m
  825. ;;;;;;;;;;;;;;;;;;
    ! C' L. n9 Z; X& c% b- ]
  826. ; Fopen wrappers ;" _! l" I  `1 K9 n2 ~' V* z
  827. ;;;;;;;;;;;;;;;;;;/ V9 P3 B! \2 {1 u
  828. - X, o3 L/ n+ |  a
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 b4 ~. x* j+ z" \
  830. ; http://php.net/allow-url-fopen
    & t, B! o# l! Y
  831. allow_url_fopen = On) \5 ]. K+ o" w( q' ?/ S

  832. . h! s% o  h0 s) v2 i
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.( B+ B7 t4 Q3 ]& p' e6 p. m
  834. ; http://php.net/allow-url-include# d8 H: {+ u+ D2 `. a9 Q
  835. allow_url_include = Off1 `" q% d) C7 k: o4 ~6 ~

  836. / `, O  ~2 l$ Q9 l
  837. ; Define the anonymous ftp password (your email address). PHP's default setting+ x8 z3 ^" t+ D5 }: F
  838. ; for this is empty.6 i- a3 O+ x2 F: y0 f3 ?+ n: v
  839. ; http://php.net/from
    ) Q# `( N2 @/ [, D( Q" C" F3 N+ q$ \
  840. ;from="john@doe.com"5 o0 L1 A7 p$ N+ B; w( V

  841.   Q, s: K1 ~% f1 O+ x
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    " q& w- B3 S6 D1 J- i/ P! R3 D
  843. ; http://php.net/user-agent
    - T0 v. Z1 e: @, m3 j
  844. ;user_agent="PHP"
    7 T" j/ P# C$ A) x: q# M
  845. ; M# ^$ @" ?6 x- @
  846. ; Default timeout for socket based streams (seconds)
    " `, B4 f0 S+ g, z% b/ z( q3 V$ |
  847. ; http://php.net/default-socket-timeout5 p7 F. D+ i; L$ c7 @: L; w
  848. default_socket_timeout = 60" }- a5 m7 H6 k" Q/ s

  849. 0 ?3 W" [7 z/ X6 L& J6 C! L
  850. ; If your scripts have to deal with files from Macintosh systems,! g; f& b, N, e% U9 g' C$ i% K; t
  851. ; or you are running on a Mac and need to deal with files from& E1 z+ I* m$ F1 j# C* H6 c
  852. ; unix or win32 systems, setting this flag will cause PHP to9 L( I. }7 p- L8 i# C* }
  853. ; automatically detect the EOL character in those files so that
    * r. Y& A9 l2 U9 V
  854. ; fgets() and file() will work regardless of the source of the file.
    6 s! Z' {1 T5 D% f8 S% h3 w) Q; d
  855. ; http://php.net/auto-detect-line-endings- k% J/ u, ?2 c: }0 D$ i
  856. ;auto_detect_line_endings = Off3 @# j) _" q/ Y4 }/ T

  857. 6 u; E1 i: X" a2 r
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / ^7 P8 Y% a0 ~2 g6 r- v8 Q" i
  859. ; Dynamic Extensions ;
    " U7 X0 q, [7 z3 ~7 Q+ B( h
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ! \1 ]2 K$ y' H2 b
  861. : \* I) T/ p4 z
  862. ; If you wish to have an extension loaded automatically, use the following4 z' g6 l5 t- ]2 Y+ ^+ Y
  863. ; syntax:4 P- r! {  ~& I' U
  864. ;" H' T& {6 B/ R& ]  h  O
  865. ;   extension=modulename.extension
    + \& ?4 i( \: \: J6 n* a
  866. ;
    ' R4 n7 d5 |, A4 S1 H' T
  867. ; For example, on Windows:$ a8 F$ |! C- ^0 i. L8 n3 H7 s, o
  868. ;5 z) x( ?% D4 p) `7 Z  M+ j7 D: {
  869. ;   extension=msql.dll
    4 ~, l& f/ m$ X5 u, ]: E1 q
  870. ;" q. m5 W5 L: x6 T7 T* C
  871. ; ... or under UNIX:& J8 G" t* Z- t2 R' A* |$ |
  872. ;
    5 K# s9 M: ]0 l) r
  873. ;   extension=msql.so0 m3 g2 n) E. n) x2 }9 I5 T
  874. ;
    8 e6 J) L( n. T$ k
  875. ; ... or with a path:3 }/ z9 r/ u( q$ R2 Q, H
  876. ;
    - x/ Y# s& l! ]
  877. ;   extension=/path/to/extension/msql.so
    3 F& \! o7 V: f9 `
  878. ;1 ]4 v  S( o0 x$ h. ?
  879. ; If you only provide the name of the extension, PHP will look for it in its
    9 Y! U8 O9 T& [/ D! U. p
  880. ; default extension directory.3 e5 p8 p8 n5 \- W1 T2 M
  881. ;
    ' W: q6 `) I. X
  882. ; Windows Extensions; ~& P2 X2 H) a. s; I
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    1 w* F, [/ \2 Z$ Y7 c
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    * m9 B* @0 I9 o9 R" A9 w% {% c9 k
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).) f0 J8 i& [; {3 C9 q5 D2 Y  u
  886. ; Be sure to appropriately set the extension_dir directive.4 h: n+ l- c- s7 o0 K
  887. ;
    $ e/ _. ^6 X- p7 V9 L; C
  888. ;extension=php_bz2.dll3 Q" S! W7 [' p3 @
  889. ;extension=php_curl.dll  K: E- Y6 `2 X! z. e( ^4 \7 E
  890. ;extension=php_fileinfo.dll6 ~2 Z" j/ j* y
  891. ;extension=php_gd2.dll
    ; a6 N* G7 F6 |6 E
  892. ;extension=php_gettext.dll: ^& Q" _/ e4 U( d+ B  c  J& P
  893. ;extension=php_gmp.dll7 [* f0 K0 ?7 H
  894. ;extension=php_intl.dll
    ! M0 w6 s/ s( A
  895. ;extension=php_imap.dll2 ]' w" v- o& u4 n
  896. ;extension=php_interbase.dll
    # Y/ x6 N# R7 J8 o9 m. Y9 Z
  897. ;extension=php_ldap.dll
      e/ F+ l* Z1 |9 i3 Y3 b8 S
  898. ;extension=php_mbstring.dll" M0 e0 ?) ]* A1 C2 L  a9 d
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! n% ~1 L- y1 U! X) }: c. {5 ]
  900. ;extension=php_mysql.dll
    * e& f' ~3 @5 `; P# z" f
  901. ;extension=php_mysqli.dll5 g" o! b9 Y* x' h* U8 H
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client% f/ y: s8 b' N; w! w$ w
  903. ;extension=php_openssl.dll9 {! Q( T/ l) J  V) X  ?& r
  904. ;extension=php_pdo_firebird.dll* X4 o2 q: k! j4 r& l& K1 I! T6 r
  905. ;extension=php_pdo_mysql.dll
    ' W4 C2 _0 ^% X6 m
  906. ;extension=php_pdo_oci.dll
    3 M& N% F% p# B; m5 S
  907. ;extension=php_pdo_odbc.dll1 i! d6 ]# N* j
  908. ;extension=php_pdo_pgsql.dll
    5 P$ R( Q% D3 q1 U; N
  909. ;extension=php_pdo_sqlite.dll
    + w/ d6 f& }; h& q' s) ^0 F0 C! B
  910. ;extension=php_pgsql.dll
    / S5 |& ?5 V* T. v$ V  b, T7 q9 }
  911. ;extension=php_shmop.dll
    $ z8 N5 N+ p' P3 U. q
  912. # s0 x% g* o7 e; Z5 I( o
  913. ; The MIBS data available in the PHP distribution must be installed. : ]2 l* J: e8 K5 A5 W: M
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    ! Z1 l) \+ {* e& f
  915. ;extension=php_snmp.dll. d, ?0 ]# T0 ]! I  C
  916.   g% q: k6 p! [4 g. _& R! l
  917. ;extension=php_soap.dll8 C4 b5 I& i: \/ _: ?- z5 Q( E
  918. ;extension=php_sockets.dll8 J. G- g3 j' a$ ~
  919. ;extension=php_sqlite3.dll
    2 _+ x! Q/ V) Y( q& `! d
  920. ;extension=php_sybase_ct.dll" c7 q, Y* _; m% Z9 v& x. ?* I
  921. ;extension=php_tidy.dll* y. k; a5 |: X3 B" W" f" ]
  922. ;extension=php_xmlrpc.dll2 b- u: r0 K1 }. x. B
  923. ;extension=php_xsl.dll
    : I; f6 e) G8 Z+ B4 e
  924. ) v& e6 p7 g# l. z* d$ Z" x! B
  925. ;;;;;;;;;;;;;;;;;;;
    , ], A0 w3 j4 E
  926. ; Module Settings ;& F% r! Q" F# X4 i! i/ F
  927. ;;;;;;;;;;;;;;;;;;;
    4 ^1 S) F; J  W' u' D) x4 A6 z) Q
  928. # e. B2 y; b4 x  V
  929. [CLI Server]8 t$ }  `. l( h1 @, C
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 I, }  s7 [, l3 K% K9 ~( \
  931. cli_server.color = On
    " Y( F0 X) s* j
  932. ; E! ^% e4 Q2 q/ E- Y
  933. [Date]3 Z/ k2 m+ K5 D1 h; j$ N
  934. ; Defines the default timezone used by the date functions2 Q7 R& F9 o, w3 U
  935. ; http://php.net/date.timezone
    9 H1 U3 U1 Y& x5 y- S6 b
  936. date.timezone = PRC
    9 I$ v: A$ U0 c- b
  937. 1 s! u+ `  Z0 `: X+ e' L
  938. ; http://php.net/date.default-latitude( G( g, H- G  [- r8 \# K
  939. ;date.default_latitude = 31.7667; ^. U0 i8 ]* B' z! `& C- ]

  940. " l; E  f$ A& r0 c+ S  G
  941. ; http://php.net/date.default-longitude5 F% X- G$ i7 s/ C7 V
  942. ;date.default_longitude = 35.2333. J* ]5 W" z# A2 ?# B
  943. 5 z  [3 L' E% X/ [, G( u) W
  944. ; http://php.net/date.sunrise-zenith" u; r, W( p. g: H7 j3 t7 o7 a
  945. ;date.sunrise_zenith = 90.583333/ P* O/ h5 Q# I9 v! q9 Q
  946. 2 i3 f" N6 V3 v  i
  947. ; http://php.net/date.sunset-zenith" a1 S3 K; D# n5 h% F! o4 A- d
  948. ;date.sunset_zenith = 90.583333/ U9 ~5 s4 r( u3 D1 x; z  |3 u4 X+ k8 X

  949. & R- w/ [! u! A
  950. [filter]' g) I1 B6 Y! A$ ?" M/ o
  951. ; http://php.net/filter.default
    6 a/ O* n  Q8 v4 U
  952. ;filter.default = unsafe_raw4 q" \) v4 h, ^: e

  953. - f* l/ U" l; a' V! a8 [( o4 K1 w1 ^
  954. ; http://php.net/filter.default-flags
    5 d( e1 n! H/ R7 d" z
  955. ;filter.default_flags =4 ]0 C+ ^. g% a: P. t0 I" q; k
  956. * C3 f' C% c4 V. W- n  e# |
  957. [iconv]
    7 C/ `" L$ s6 P- m
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 R3 c+ S0 G% f& `2 w! D; n
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.' i$ i/ {) R$ h  s7 ~
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    - e# l! o+ f5 ]! [# x9 Z, I
  961. ;iconv.input_encoding =7 O4 t- h# T: S3 t; v
  962. 5 d& T+ a" n  }' P! \! w7 A+ ]
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' {" s- J0 J) L+ l
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , Z* k, u- p" P4 K4 W/ x0 k) B
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, T- u1 J9 r7 n. l* k$ b
  966. ;iconv.internal_encoding =- o8 C, P/ F9 U/ y- w* O2 S
  967. 6 Y5 J9 [- _" |
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.: B7 h% T6 o. m) b2 d
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 n, w( |- k2 B, I" a7 y3 d
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" l5 j/ X5 G% N0 O$ J
  971. ; To use an output encoding conversion, iconv's output handler must be set% e' b' ?' D! m4 T
  972. ; otherwise output encoding conversion cannot be performed.
    8 B, a0 k: M- G! g7 W
  973. ;iconv.output_encoding =% h* `0 F  ^1 n

  974. + \8 q3 ]3 H3 ?
  975. [intl]8 F( a! Q+ r, Z8 h
  976. ;intl.default_locale =1 J# j! J$ {6 _
  977. ; This directive allows you to produce PHP errors when some error& F% I' {- k5 g& p4 d. o
  978. ; happens within intl functions. The value is the level of the error produced.
    : V' t; @4 X" f1 c$ X8 i
  979. ; Default is 0, which does not produce any errors.& ~, W( h% C/ {6 N
  980. ;intl.error_level = E_WARNING! H0 ]# i: T3 I  e2 b" T! u2 Y
  981. ;intl.use_exceptions = 08 E: O+ ?# v1 Q2 H8 ~

  982. 3 X2 Y; ]7 _% w7 W' u2 O4 \2 a$ u6 E
  983. [sqlite3]( n- `/ ~1 N6 s" ^; G# y  O1 m
  984. ;sqlite3.extension_dir =/ ?) }7 A$ f% q7 F( l6 h% c
  985. . k0 O/ O+ f4 s% g, M4 Z+ h
  986. [Pcre]
    3 `# R/ F/ m5 x5 ~
  987. ;PCRE library backtracking limit.% r1 {# x" J+ l* n6 A2 K! w' K
  988. ; http://php.net/pcre.backtrack-limit
    : ~; T. T5 a9 B
  989. ;pcre.backtrack_limit=100000
    / z2 S7 Z" I& C0 c6 ]

  990. 1 P% j: u/ w( n$ z7 V: b' X
  991. ;PCRE library recursion limit.5 Q$ s# i" \( Z
  992. ;Please note that if you set this value to a high number you may consume all
    ! ?+ @. `' [) M2 h
  993. ;the available process stack and eventually crash PHP (due to reaching the! X; F8 U$ D" y. _! ]$ v  x$ C
  994. ;stack size limit imposed by the Operating System).
    ; e* L' m; l  K. w! _: |2 @5 i; N
  995. ; http://php.net/pcre.recursion-limit
    # L/ `% M( v" z9 K9 [8 j
  996. ;pcre.recursion_limit=1000002 n. A" ^3 |; F( L
  997. & e' R/ O- u7 [) y
  998. [Pdo]
    6 X0 f" l- x) p" m9 ^
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 M% }$ p. L) l& Y* |5 O' v+ e
  1000. ; http://php.net/pdo-odbc.connection-pooling& E* X5 ?8 C+ J. i: {  V% {6 i
  1001. ;pdo_odbc.connection_pooling=strict
    % S: U& I3 ^6 D8 f# F

  1002. 0 K* [% E6 ~, W+ l$ v4 Z
  1003. ;pdo_odbc.db2_instance_name
    2 F! H7 v: l, ?' s1 m% o$ a& Q1 p
  1004. 0 R. B4 G1 O, V$ s6 f, ^
  1005. [Pdo_mysql]3 V* R; c4 _$ D2 x) I' j- M
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache: h" x  R3 x! ?, _
  1007. ; http://php.net/pdo_mysql.cache_size
    " c; R/ B( \* t6 \1 U% y
  1008. pdo_mysql.cache_size = 2000
    & X1 ~% C# }5 |

  1009. : _6 A7 l/ b( h3 P; f0 n& v
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 s" |# ]$ J2 c3 H: B0 d! J/ _) G/ W
  1011. ; MySQL defaults.+ z$ ?+ A& C( e+ @
  1012. ; http://php.net/pdo_mysql.default-socket
    , l: L" J0 N! P6 J7 w
  1013. pdo_mysql.default_socket=
    4 F+ X% n8 i! I; C; [" c
  1014. 0 H6 I  a& b7 B5 B" R; @6 I( y
  1015. [Phar]# B0 ~& ~' h8 m
  1016. ; http://php.net/phar.readonly3 p; F9 ~& |# I2 [
  1017. ;phar.readonly = On2 U% N3 ^6 d+ c% B& r/ _

  1018. 4 ?4 B& d9 `3 q! u
  1019. ; http://php.net/phar.require-hash
    5 A! d4 f- d7 f' j
  1020. ;phar.require_hash = On# s7 K2 Z' ^: ?& ^
  1021. ) Z. y4 V' `+ `- @6 X* _2 }
  1022. ;phar.cache_list =
    + O8 n8 x8 g) P4 @4 r9 q, O) ?
  1023. % A! j/ T" H# [9 `/ z, z) i
  1024. [mail function]; N% c+ b# H' ~0 y6 l
  1025. ; For Win32 only.# a' Z, g$ A6 V5 p6 a
  1026. ; http://php.net/smtp
    # C$ H- Q0 |4 B
  1027. SMTP = localhost- Q; |9 ~/ S3 ]0 H
  1028. ; http://php.net/smtp-port
    $ i7 S( W" b8 k7 B/ f; h/ A+ K
  1029. smtp_port = 25% Q4 w1 w6 [1 `0 ]$ L
  1030. 8 K2 E. @" a: {" R- }" {6 ^
  1031. ; For Win32 only.
    : j8 Q& Q8 S$ W8 W% e" m8 e6 z
  1032. ; http://php.net/sendmail-from
    # U  x* f; D) g: k
  1033. ;sendmail_from = me@example.com$ T9 ^+ o. `9 d2 _* Y

  1034. 9 E. v4 l) v5 R7 n0 a9 f# t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 A5 I2 e8 O  Q* o
  1036. ; http://php.net/sendmail-path
    " J( y' U2 C3 ?6 r
  1037. sendmail_path = /usr/sbin/sendmail -t -i3 }4 x/ z6 ~2 H) M) `
  1038. " r# a0 z# O: \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    0 k3 q$ M; z: j% J/ @$ _, `# M* h
  1040. ; to the sendmail binary. These parameters will always replace the value of
    2 d+ v1 v/ Y' Z3 u1 }9 _
  1041. ; the 5th parameter to mail().' V! d6 z, c( O
  1042. ;mail.force_extra_parameters =( p7 Y; H2 c6 t, w6 c" x
  1043. 1 Q( D9 c% V  W; U, c! h
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 _+ l- U- w6 q; E' b
  1045. mail.add_x_header = On/ g2 o$ V7 ]( d! T2 l6 A

  1046. , W4 b8 t5 C3 T$ m2 O5 D
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    3 c; {  z! T, d7 k+ x( ]' c
  1048. ; the full path of the script, line number, To address and headers.
    + T+ N3 {% h$ w3 ^/ ~' v7 C8 [
  1049. ;mail.log =1 K" j; t( ^6 B- _9 e  d2 `
  1050. ; Log mail to syslog (Event Log on Windows)./ M0 Y* B0 [" B1 n% o% K& n7 y$ P
  1051. ;mail.log = syslog1 W3 Y: s6 ~9 m
  1052. 6 a1 d+ B3 C& r
  1053. [SQL]. O0 \7 F; J9 [9 Q
  1054. ; http://php.net/sql.safe-mode
    7 V5 Y6 w6 [' b1 a0 X
  1055. sql.safe_mode = Off% h" e8 M8 K' t: S: X3 M# r  v& m
  1056. * {& X& Q2 {! O  E' v! t
  1057. [ODBC]# u: b- e, K2 l2 t5 C% L4 b
  1058. ; http://php.net/odbc.default-db* {' n; c( [2 x5 S/ R1 s& R
  1059. ;odbc.default_db    =  Not yet implemented
    5 Z% Y. R; l# Z% @4 w, d* b0 R
  1060. 8 T& f. C1 i# H. _+ l
  1061. ; http://php.net/odbc.default-user
    # H+ X5 N* W& e0 Y9 p
  1062. ;odbc.default_user  =  Not yet implemented
    ' @, f0 P0 T5 G3 g

  1063. $ p) w2 w0 ~8 I
  1064. ; http://php.net/odbc.default-pw
    + K8 O: U7 n" |
  1065. ;odbc.default_pw    =  Not yet implemented
    0 _3 \/ e7 X7 ^7 M- B  [4 v1 v# Q
  1066. : D) e7 k" ^. {" M) i# m, `
  1067. ; Controls the ODBC cursor model.
    8 }& b: j; q$ b% h' M
  1068. ; Default: SQL_CURSOR_STATIC (default).
    , A/ j( S' d8 ?- e' ]5 M1 T4 x
  1069. ;odbc.default_cursortype4 `! V+ a2 s2 }% Z7 l# {
  1070. # o" `3 N6 D& a6 O
  1071. ; Allow or prevent persistent links.
    ) `7 l' |) s$ I, R
  1072. ; http://php.net/odbc.allow-persistent- M+ a; C' q5 m5 w
  1073. odbc.allow_persistent = On" Z9 N. Y1 C1 I2 V
  1074. ; [5 s, b/ v' f. f- S
  1075. ; Check that a connection is still valid before reuse.
      ?& q8 V% H! D" U8 F
  1076. ; http://php.net/odbc.check-persistent, V' C1 W0 o. r3 \7 y! _; C
  1077. odbc.check_persistent = On
    9 x+ e4 ?% M2 d' Y  h8 P& c- D

  1078. / s' P( s. [& ]
  1079. ; Maximum number of persistent links.  -1 means no limit.5 d0 x; W' l4 E1 I
  1080. ; http://php.net/odbc.max-persistent
      `% A+ n4 H8 j# x; ^. f
  1081. odbc.max_persistent = -1
    4 o. t% `! M, _  f( ^" F
  1082. 5 L% m1 F' S# Z( G$ J4 j. T; j# [
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 P1 l, Z6 F2 i+ k( i& y$ I
  1084. ; http://php.net/odbc.max-links
    ; ~' z1 |* U9 P" C' A
  1085. odbc.max_links = -1
    ( {+ y' p+ t& o' l! y  G

  1086. . L  ^2 C5 c" \% ^5 o! a- t: }
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 r$ a$ K+ d& C) N7 F
  1088. ; passthru.% e9 C0 M7 c" B( K) h
  1089. ; http://php.net/odbc.defaultlrl& A8 d" A  I: h+ U" j! Z
  1090. odbc.defaultlrl = 4096
    ; F) C  h  Y. e' ]0 ]# l

  1091. . c& D( U( P4 U$ R5 ^9 x4 F
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 K9 u4 V; [7 a
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    5 n7 M, o" u3 b' I1 |0 ~$ y7 g
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      P  ?. n2 H& }% M2 r0 f: _$ G9 j1 Y
  1095. ; http://php.net/odbc.defaultbinmode
    5 \+ S! }$ B1 c
  1096. odbc.defaultbinmode = 1
    1 i8 n2 d+ u- C

  1097. ( h' I! t7 B6 ?3 D# l
  1098. ;birdstep.max_links = -13 B1 N5 C: u# u& q

  1099. - x2 ~: Z" Z& @! Q& i2 B
  1100. [Interbase]
    1 Z% c5 k" R( @+ ~7 B
  1101. ; Allow or prevent persistent links.
    * T' P+ L1 O# Z. i+ F0 Z% @
  1102. ibase.allow_persistent = 1  X# ~, u" u3 [0 A7 }/ a* e
  1103. 8 F% N, R( m+ {% N1 ~/ o
  1104. ; Maximum number of persistent links.  -1 means no limit.
    % M: A' J$ g! M9 Y7 d
  1105. ibase.max_persistent = -1
      ?2 D* m( p! K, B, a* Q7 Z9 k
  1106. 2 ?# q$ g) w& q9 y' Y. ^
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% D; i/ E5 D1 F2 }. g- M0 Z
  1108. ibase.max_links = -1/ J! L/ V6 u/ ~9 Q2 y

  1109. ) {" Q5 }+ j5 j/ S8 S
  1110. ; Default database name for ibase_connect().
    . K% d7 q' `4 i9 _
  1111. ;ibase.default_db =
    % ~2 {6 _8 x6 K$ R* h$ r& P
  1112. ( e" C9 @2 B( i
  1113. ; Default username for ibase_connect().$ v& d# F: W! i2 k8 X" n$ V* O
  1114. ;ibase.default_user =1 t0 h6 p4 X1 g+ f4 ?

  1115. # l9 v& I' r' w( }1 Z
  1116. ; Default password for ibase_connect().0 k# ~* u( D+ |8 [* ?
  1117. ;ibase.default_password =7 K# V9 D6 R: s/ u
  1118. ! u. n; [" @- w
  1119. ; Default charset for ibase_connect().
    3 I+ f; c  p8 `6 j7 }
  1120. ;ibase.default_charset =5 u* Q3 ~7 K4 S1 p. ^
  1121. ) y" f  l) x: b& b2 n* p9 ^
  1122. ; Default timestamp format.
    ) e* y# I" T$ q3 i( T6 }
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ ]# I2 z: h1 i9 X

  1124.   r; a7 l" n" ?6 Q, o4 `
  1125. ; Default date format.
    " K) n+ T9 q9 z: C* q, L/ G
  1126. ibase.dateformat = "%Y-%m-%d"
    3 r# a, w' N7 w: y% S# f% W4 h" x
  1127. + @  t, r2 \( D
  1128. ; Default time format.! w4 u4 h5 K5 G1 ], [4 L' E
  1129. ibase.timeformat = "%H:%M:%S"
      e. v  I! G; C# x2 s; H4 X* ?; F

  1130. 8 ^" _' z6 y# W/ t
  1131. [MySQL]) N7 d) N3 ?9 _4 z8 F  w" B
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; L9 ~; c' _% k4 Q9 v! v7 c
  1133. ; http://php.net/mysql.allow_local_infile, X+ |2 ], D9 r0 W* H
  1134. mysql.allow_local_infile = On# W! t, f. L+ D1 u9 r& ^; X

  1135. * ^3 h5 F! e3 W- M/ n2 R
  1136. ; Allow or prevent persistent links.
    ! z, B- T0 A* e* k- _0 T
  1137. ; http://php.net/mysql.allow-persistent
    ' U- Q  C% L4 ^  C
  1138. mysql.allow_persistent = On$ \- H: S! J- B
  1139. ( {7 `* S9 a/ m! {
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 ]8 p! c* [8 M# C5 L) G& A7 N
  1141. ; http://php.net/mysql.cache_size
    3 n( T# k6 j" F  t) M
  1142. mysql.cache_size = 2000
    2 B  u. H* T1 f8 w

  1143. ) E1 s( Z6 F/ j& m
  1144. ; Maximum number of persistent links.  -1 means no limit.' r- I) o5 y# v5 ~& c
  1145. ; http://php.net/mysql.max-persistent
    : N+ r7 a. Y; B8 a4 U& u
  1146. mysql.max_persistent = -1( Z1 c5 X2 Y, c# `0 ^% z
  1147. ' a: e# j4 H0 }9 ?( }# Q! @
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * f3 A2 y7 x8 f7 U( c
  1149. ; http://php.net/mysql.max-links: J* P: Y; R6 Y) H- E) Y% W/ t% |5 g
  1150. mysql.max_links = -12 Q$ X( e6 Q1 z- q' ]' R
  1151. 3 x% R; f+ C, e0 [/ U! p1 i
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    - t/ g4 m( {4 u3 a( c/ W: C
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # U# \# r" a$ }! `4 T
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: o! n5 c" d: J$ X; Q
  1155. ; at MYSQL_PORT.
    ! s4 C9 @/ B) E0 z! ~
  1156. ; http://php.net/mysql.default-port* h+ s; i$ X5 l2 r
  1157. mysql.default_port =
    ! f; I$ w* g$ P) a+ W+ ]/ V
  1158. & }' E3 ?! |: Z1 Q. w
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! c* S6 Z  m' L8 O( U3 ?
  1160. ; MySQL defaults.
    ( j+ B0 D" Z( m. w% ?
  1161. ; http://php.net/mysql.default-socket
    ( S, }; t0 I5 d4 C: V- K9 l
  1162. mysql.default_socket =) H% l7 s9 ^, U6 o( @: T
  1163. 5 b0 G& y% f: L, i
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & }6 Z9 s9 M$ h: z& Q
  1165. ; http://php.net/mysql.default-host7 q* V! {  M& A' q8 `
  1166. mysql.default_host =  q0 d/ B6 q) M0 Z* D8 [

  1167. - d0 K' k$ q. @+ o' _0 @  s
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).) J/ X  k; {: f9 m4 @+ q8 t
  1169. ; http://php.net/mysql.default-user
    4 ?8 V, m& y9 b2 f; t9 a/ A
  1170. mysql.default_user =
    " ^. Q5 @& O) I( P2 p" o' p
  1171. " f* j! E2 w# q4 I& e1 Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).8 M! l9 _! L1 ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.. v: J% f0 q1 [  y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")/ z5 r: p& f' K1 j  q6 a( z
  1175. ; and reveal this password!  And of course, any users with read access to this& G" y  j- }  N" F% n9 w
  1176. ; file will be able to reveal the password as well.
    : y3 j* T2 u' W
  1177. ; http://php.net/mysql.default-password& y& v2 l8 N$ h  o
  1178. mysql.default_password =
    - c$ }$ Z# z) f/ y8 Z# F8 S) o, P; m

  1179. 2 e' `) A  U* t" J" l; O' m6 h/ V
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit& u5 C9 ?/ X; Z$ e4 R! I) V) e5 D
  1181. ; http://php.net/mysql.connect-timeout1 c0 j1 R  ?2 m8 o8 ^0 I) s+ r
  1182. mysql.connect_timeout = 60
    % N8 ?* x; N6 ?" \6 W

  1183. & k' d8 U) J0 @3 @
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    7 f) J, g" ?) b! r3 F
  1185. ; SQL-Errors will be displayed.4 H& [6 ^2 f, e" s9 @
  1186. ; http://php.net/mysql.trace-mode
    6 l  s; A) f/ f: ^) p/ ]
  1187. mysql.trace_mode = Off5 c# c- E! J% ~( _* w

  1188. + P0 o$ k9 y. b, W+ I
  1189. [MySQLi]
    - t7 x6 j& U" e; w( n
  1190. * U" k& h# l3 F0 r' F' L
  1191. ; Maximum number of persistent links.  -1 means no limit.
    , ^" h; q$ u, b; \5 `
  1192. ; http://php.net/mysqli.max-persistent
    ' I0 u& f- U6 [
  1193. mysqli.max_persistent = -1+ y( v, v4 G( b* C" ~: z/ S
  1194. ( R1 w0 c3 W5 h; k
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " u4 u& K3 @# E9 g: K3 F  y
  1196. ; http://php.net/mysqli.allow_local_infile
    " w' g' c0 @: P
  1197. ;mysqli.allow_local_infile = On6 h/ \& E. U+ A8 }/ `3 r

  1198. 6 F( K' i+ x, Q2 J
  1199. ; Allow or prevent persistent links.
    ; Q9 \+ T' k+ {) {
  1200. ; http://php.net/mysqli.allow-persistent& i5 s6 ^) t8 R) e+ w6 r2 A
  1201. mysqli.allow_persistent = On
    8 R* O3 V* B& |6 [* O4 ^0 k9 g. Q

  1202. , H9 c2 t4 A0 P' ]6 m$ G
  1203. ; Maximum number of links.  -1 means no limit.
    0 c  F3 i! U. Q2 p! p  a1 q9 W4 e
  1204. ; http://php.net/mysqli.max-links/ b1 y5 y' f4 M+ d# h5 z
  1205. mysqli.max_links = -1
    % ^: i' J; B3 ~$ I: }% k

  1206.   s5 K6 f+ g$ _' z, o3 O
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache! G2 o" s, Z7 |$ g4 L
  1208. ; http://php.net/mysqli.cache_size+ x* ^% ~2 ?/ C. q: t
  1209. mysqli.cache_size = 2000
    ; m6 y9 x  z( ], g3 w

  1210. / c$ I- \* C, p  y
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    + X* q5 {$ L7 @8 [% @
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the8 V- Y. c, ~+ ^  A0 V( j! ^
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( s" f. H: T& s4 {4 g" ~
  1214. ; at MYSQL_PORT.4 B1 W2 c4 M* L. @# b: ^
  1215. ; http://php.net/mysqli.default-port
    % k* }% Y- g) b- Q
  1216. mysqli.default_port = 3306
    - W4 T; ~& a. B5 t

  1217. + J6 E' S' m* Q5 D
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ F( e" W2 W5 ^# [2 c* K* h
  1219. ; MySQL defaults.
    0 V6 a: m7 e( u- _3 @# e8 O1 Q
  1220. ; http://php.net/mysqli.default-socket. d9 c4 X- C. O
  1221. mysqli.default_socket =9 U( E& U6 Z! h" @8 _

  1222. % W4 e3 g3 L9 a* Y8 q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).4 j- c' u5 D- u. O
  1224. ; http://php.net/mysqli.default-host5 Y$ L/ O) k, m) v6 k$ z
  1225. mysqli.default_host =3 {4 u' X7 N4 M& ^% L
  1226. 1 h5 J3 G- V8 T7 h. \8 g2 ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ v/ Q5 n, m$ Y& u& G& F7 d
  1228. ; http://php.net/mysqli.default-user; ~7 w& a# I# M2 W
  1229. mysqli.default_user =
    # \9 r/ c1 W5 T6 [( J
  1230. 2 ~, G3 Y& G1 ^3 A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 v; G- |* {& Q& i5 ~5 V, k. w7 O
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    4 O4 u8 Y/ I. O/ h3 b  o
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 y: w& ^2 [' B. R6 f
  1234. ; and reveal this password!  And of course, any users with read access to this2 L6 n% x3 V6 e/ u& i2 ~. ]
  1235. ; file will be able to reveal the password as well.
    . c$ |  v  D# a* F! @
  1236. ; http://php.net/mysqli.default-pw
    8 E& c5 y% j/ U  s; b: a, \# _$ S
  1237. mysqli.default_pw =
    # f, |4 `& t, O( I9 W$ K* V

  1238. - J: x9 s. r2 r/ q8 D( I
  1239. ; Allow or prevent reconnect' X- B  _7 i: B+ D  c$ ^
  1240. mysqli.reconnect = Off
      p$ q4 C1 N$ y. b" U
  1241. ! ]' {' {4 U0 `) }- t
  1242. [mysqlnd]3 X2 i4 k$ e* s7 Y, e3 V
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be3 }$ T& c) A! w( |- ?9 P
  1244. ; used to tune and monitor MySQL operations.
    6 V, Z8 d) |7 O2 A+ @0 |6 S
  1245. ; http://php.net/mysqlnd.collect_statistics
    6 o! ?6 O# w2 W0 V7 b1 `
  1246. mysqlnd.collect_statistics = On
    6 l' `6 V( }" q6 w+ }
  1247. ) j+ w$ j$ E3 B: D. e9 E  b+ l
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ( T6 {2 Z* u/ U
  1249. ; used to tune and monitor MySQL operations.  d" \$ q* m. W3 V
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    + f& e1 w; j, k2 D
  1251. mysqlnd.collect_memory_statistics = Off
    ; b: k% r. z1 v4 R+ j

  1252. + s' N% J% K  X. L6 x
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    - \- n; V$ e3 z. U3 u/ _( @' N
  1254. ; file.1 P/ ~9 E3 R( S* g
  1255. ; http://php.net/mysqlnd.debug3 n6 V# o* ^2 Z: {
  1256. ;mysqlnd.debug =8 Z% j! h) F3 i  j

  1257. 5 _  ?6 G4 i/ r2 E& Z6 T1 P
  1258. ; Defines which queries will be logged.1 h$ y/ E$ e* q
  1259. ; http://php.net/mysqlnd.log_mask
    * i7 e* n: ?; E4 y
  1260. ;mysqlnd.log_mask = 0% f/ p( d" ?* S& {; {! ~  `

  1261. 0 c' o! r% v% i3 T! I
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + a* Q4 _1 }: W0 {/ m6 A+ l0 e% S7 K
  1263. ; http://php.net/mysqlnd.mempool_default_size9 }6 ?1 i& u4 H( @0 ?' Q! O, _  a  i
  1264. ;mysqlnd.mempool_default_size = 16000
    ! i( S- b! O! {: V2 P: O* g
  1265. 1 ~: l. L. v7 a& c
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: i# F' f4 C% C- F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size  f8 I1 |$ |+ L! M, u
  1268. ;mysqlnd.net_cmd_buffer_size = 20482 q6 o( s. M& Q" @* `, f

  1269. 3 t, k  P! g2 |: X+ {
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in- y9 \8 E" D; y
  1271. ; bytes.
    * u3 s9 K7 f7 ^* H: M. b' D# m
  1272. ; http://php.net/mysqlnd.net_read_buffer_size, t+ O' \, Y; W: B
  1273. ;mysqlnd.net_read_buffer_size = 327683 K* l+ g1 O, U& v9 z& F, A$ n0 n  n
  1274. $ d& @7 ^8 s8 m6 s
  1275. ; Timeout for network requests in seconds.- s1 z" i  q- q
  1276. ; http://php.net/mysqlnd.net_read_timeout
    , e1 W. i, ~4 q# b& N2 E9 m
  1277. ;mysqlnd.net_read_timeout = 31536000
    & P" ^) T; J8 Q! \$ j( c; _2 D
  1278. 6 D' m; h7 V& v' r( v* |5 \  n
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , p* ?6 h" I2 N9 M
  1280. ; key.
    0 u( I8 ^8 u6 u! K3 r
  1281. ; http://php.net/mysqlnd.sha256_server_public_key9 c" N: o- O, _9 k
  1282. ;mysqlnd.sha256_server_public_key =8 o3 B7 Y. M4 x0 `" v! b5 D# \. h  q/ H

  1283. + ?0 q$ u8 V) k) N2 c; `! @
  1284. [OCI8]
    ( C/ |! j/ o7 p

  1285. 7 ?- N) q' W" A2 `+ q4 t0 M% d
  1286. ; Connection: Enables privileged connections using external% V8 E" G7 R& {; p, V
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA): R% `/ Y* U6 w7 B, J/ h
  1288. ; http://php.net/oci8.privileged-connect
    0 C2 p5 @$ c# X$ q4 p8 v
  1289. ;oci8.privileged_connect = Off: X& d: Z7 r6 \# R! f
  1290. : |0 M9 [; ^! s0 q. }7 x
  1291. ; Connection: The maximum number of persistent OCI8 connections per1 C% |# V+ R: P6 I' w
  1292. ; process. Using -1 means no limit.
    2 X. ?# H7 }& m9 ^" z3 \5 a# L
  1293. ; http://php.net/oci8.max-persistent0 H# O) y% `' K1 }6 B" M: c/ e+ J. O
  1294. ;oci8.max_persistent = -14 T: c8 n2 m" H

  1295. 2 g/ F# D0 A" x; K5 v
  1296. ; Connection: The maximum number of seconds a process is allowed to; k+ q/ B6 F* Z
  1297. ; maintain an idle persistent connection. Using -1 means idle, V$ s- m) l( M' A8 M
  1298. ; persistent connections will be maintained forever.
    . w  U' `  W" r2 R$ u+ k
  1299. ; http://php.net/oci8.persistent-timeout
    6 C% E6 g. J: N0 T
  1300. ;oci8.persistent_timeout = -1
    ' E1 o1 q0 t" |9 x+ @# c5 x

  1301. - Q& p) H& {' z" C+ B
  1302. ; Connection: The number of seconds that must pass before issuing a
    7 Y8 O8 M5 ~. f- s
  1303. ; ping during oci_pconnect() to check the connection validity. When
    9 I6 t2 I' Z$ X
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 t/ i- Q# S% N; k' u! M
  1305. ; pings completely.
    ) z- d( \1 l6 g+ `' F9 ^8 b
  1306. ; http://php.net/oci8.ping-interval
    + V1 [( @6 K/ w) {6 ?% S
  1307. ;oci8.ping_interval = 607 N2 _( D6 ~' v% S2 T/ {* e

  1308. ! U( X- ]: p2 {  O
  1309. ; Connection: Set this to a user chosen connection class to be used
    $ f" L, N! g- d: `  C
  1310. ; for all pooled server requests with Oracle 11g Database Resident7 R# R- k: p2 e6 `6 W  H
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to; U7 d- N) l. b3 _2 e4 y
  1312. ; the same string for all web servers running the same application,6 V, O7 r  G) \: u1 {
  1313. ; the database pool must be configured, and the connection string must6 b4 d" m. j* ?* O1 y+ c
  1314. ; specify to use a pooled server.1 o  k' ?! _# j0 d2 u& g7 B! f
  1315. ;oci8.connection_class =
    + z9 _. U. `+ k4 m6 b2 G4 Q  N
  1316. 6 ?4 D) A+ w' v4 |9 R# d& f
  1317. ; High Availability: Using On lets PHP receive Fast Application
    * I7 y, f5 j0 L1 O
  1318. ; Notification (FAN) events generated when a database node fails. The
      m+ k* X) Q+ m3 R0 J7 v9 v
  1319. ; database must also be configured to post FAN events.
    1 I5 k6 y  Z: {# F& D, b
  1320. ;oci8.events = Off
    % n3 _) S; `, ?4 z6 O3 ^0 [' a
  1321. # G8 U) s( k& z, v4 r
  1322. ; Tuning: This option enables statement caching, and specifies how
    $ R8 B7 N; o  |- e
  1323. ; many statements to cache. Using 0 disables statement caching.
    9 `. ~& V$ t. c* G$ S, E7 Y
  1324. ; http://php.net/oci8.statement-cache-size1 u" D) T3 ^; k/ u
  1325. ;oci8.statement_cache_size = 20: b- \8 }! I. i& s
  1326. - ^+ Y0 N! A% A0 L0 D. ~( D8 n
  1327. ; Tuning: Enables statement prefetching and sets the default number of0 \- r6 \' d- `/ b& Z- k
  1328. ; rows that will be fetched automatically after statement execution.
    / j; U; T+ ]& F6 ~+ e6 c# D' m, l
  1329. ; http://php.net/oci8.default-prefetch+ h- u. l0 i3 H9 o2 J, E- _! p
  1330. ;oci8.default_prefetch = 100
    & X/ U- ?& M  o1 M7 \7 q
  1331. - ~% A# D; @/ ?( g, `5 l7 P( i
  1332. ; Compatibility. Using On means oci_close() will not close
    : L  `6 C: D6 v1 B1 b1 l6 l
  1333. ; oci_connect() and oci_new_connect() connections.- N  f, ~( c: o9 Z7 ?2 O7 t
  1334. ; http://php.net/oci8.old-oci-close-semantics
    + x  B. t0 U: M1 T
  1335. ;oci8.old_oci_close_semantics = Off7 s7 Z" A. c% C

  1336. ( m  p5 J' H6 H( K% A! C5 J) T% m7 d
  1337. [PostgreSQL]; o1 U) H$ {" u  W2 \/ z' m
  1338. ; Allow or prevent persistent links.1 o5 Z8 H) y9 Z7 Z  H" y0 S
  1339. ; http://php.net/pgsql.allow-persistent
    4 V# M$ W' _+ e/ @6 N
  1340. pgsql.allow_persistent = On0 V3 E( {% q# t/ h% ~& I% g9 [
  1341. : M& h2 x+ P. o4 ^- S& t0 E/ F# n
  1342. ; Detect broken persistent links always with pg_pconnect().
    6 Y  ?; B6 j) ?) k4 L
  1343. ; Auto reset feature requires a little overheads.
    ( E- V/ U" e" d1 \. O- B. V1 k2 H9 n
  1344. ; http://php.net/pgsql.auto-reset-persistent. P7 D# f8 ~6 y" _
  1345. pgsql.auto_reset_persistent = Off' j5 F: a0 z* q& R2 f
  1346. 5 B9 v: Y$ D% x) ?" H9 o
  1347. ; Maximum number of persistent links.  -1 means no limit.) k6 L* t: K# L, }& E8 q
  1348. ; http://php.net/pgsql.max-persistent7 ~( B! A6 q% r% y- T) r( R; {- f
  1349. pgsql.max_persistent = -1+ k; j& d8 X! l  d- y

  1350. + Y5 D: O+ f* B( U3 h
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ X5 ^! t6 S+ u. \& O' G8 d% n
  1352. ; http://php.net/pgsql.max-links
    6 {. `+ C) V8 J
  1353. pgsql.max_links = -12 ~$ N+ g. N3 [  q( s0 j* y  d

  1354. 1 c. q/ ^9 O# c" e' \$ E! S' G
  1355. ; Ignore PostgreSQL backends Notice message or not.- x  @. [9 `# {5 c. N
  1356. ; Notice message logging require a little overheads.; y2 A7 u, |( a* X* e
  1357. ; http://php.net/pgsql.ignore-notice! |, s& q8 A3 t( P8 ]# m
  1358. pgsql.ignore_notice = 0
    6 D: O3 G1 Z- k3 B( H2 B+ H6 {+ v+ H

  1359. + _; M3 {* [9 S. \1 n
  1360. ; Log PostgreSQL backends Notice message or not.
    9 r! A# C5 t7 V1 }- H  c4 a" @
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: \% H/ X3 U  _6 ~
  1362. ; http://php.net/pgsql.log-notice8 E4 ]' a) B  H/ P" q. U. W7 D
  1363. pgsql.log_notice = 0
    ; Z! }9 O9 k1 e, {. ~4 |$ J
  1364. # c" X# P+ P+ |% C4 r
  1365. [Sybase-CT]
    6 L% |: H4 k$ o) U# i4 d7 V& i
  1366. ; Allow or prevent persistent links.
    / B& M4 v8 A1 X  M
  1367. ; http://php.net/sybct.allow-persistent
    5 {2 M: ?  n) v2 c$ K5 u; g
  1368. sybct.allow_persistent = On, F& }: b7 k" w+ l, p

  1369. 5 Q" @* r) x6 k! x
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ) ]. b7 H9 {% [+ i2 m
  1371. ; http://php.net/sybct.max-persistent
    - g9 B. `+ d6 x1 ^
  1372. sybct.max_persistent = -1+ L1 D% E8 V  O4 K7 V' K
  1373. 7 ]+ h" E, G2 M% b  W0 @7 t
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 ]5 y& }. N( [1 ]6 U' s
  1375. ; http://php.net/sybct.max-links9 }6 K! e9 I. m) c
  1376. sybct.max_links = -1
    # t5 }2 k0 |, _4 C/ }
  1377. , E* u4 o( }  {2 d0 [9 S0 K7 N
  1378. ; Minimum server message severity to display.
    . l6 h. v$ D2 E3 t+ L
  1379. ; http://php.net/sybct.min-server-severity+ j0 p) b; ~$ ~/ [, ]  a
  1380. sybct.min_server_severity = 10& @: I1 A' l( ~+ v. V  a. {5 T

  1381. / `; Y# g3 R/ y8 [( w2 x4 I/ R. q
  1382. ; Minimum client message severity to display.- C. P) |- A" ~; n- J
  1383. ; http://php.net/sybct.min-client-severity
    1 P% q+ _$ F6 j% H* {, k. c
  1384. sybct.min_client_severity = 10
    9 ^+ i! e$ X5 t! h, q
  1385. / a  N3 [/ L& b' O; U7 V6 W" U
  1386. ; Set per-context timeout9 y6 @3 ], |, d, T! _
  1387. ; http://php.net/sybct.timeout( w/ @# K  ]. r3 x" J; b
  1388. ;sybct.timeout=/ q1 o/ |- @9 ^& F
  1389. 6 I5 P7 }5 L2 o4 K
  1390. ;sybct.packet_size
    ! I3 w3 F& x9 m# w
  1391. ( O6 Z' X1 t) a: }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    1 a" @1 ^4 w! z0 ]9 c5 y" ~
  1393. ; Default: one minute
    7 C) r+ s5 C/ J* t* i, ]/ k' P( ^
  1394. ;sybct.login_timeout=* {1 _+ ~- W1 c1 i3 ~) w" f6 w: u
  1395. 9 f$ a0 k9 \% p) ?+ f1 c+ r/ p
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    / R- Z# z/ x0 p7 ^) {, S+ C
  1397. ; Default: none4 c3 Y3 f, d  A% ?1 C+ V
  1398. ;sybct.hostname=
    0 Z) j% b6 L, {) j

  1399. ; M( l# m) C2 L% V5 f1 K
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".6 r# N1 q1 O5 C% W
  1401. ; Default: 02 ]4 I6 u; N( ]3 _* b* d
  1402. ;sybct.deadlock_retry_count=, s6 v$ _' i) _: q6 `- A+ T

  1403. 8 `- y* e) q8 s0 {& `7 |1 D
  1404. [bcmath]
    . \: n) M  G. }# W/ u  t5 N6 ]( T! V  T
  1405. ; Number of decimal digits for all bcmath functions.( B  n( k7 E, `2 H  ~
  1406. ; http://php.net/bcmath.scale
    " s, I8 _  J2 b/ D6 U
  1407. bcmath.scale = 0
    ! Z0 v9 [9 u: S
  1408. : L0 E2 ?3 _. u9 @) F" K
  1409. [browscap]* [4 o& d) }* B8 T- x3 |' @; P
  1410. ; http://php.net/browscap0 w8 x( V& ]* D3 Q
  1411. ;browscap = extra/browscap.ini
    - C$ B; y3 W. Y8 s  U4 X

  1412. 4 V- m6 F9 j2 l( _. v4 F8 ^
  1413. [Session]% q- C- y+ |7 m# H* _/ `
  1414. ; Handler used to store/retrieve data.
    0 o4 |2 b4 r! v5 X/ C
  1415. ; http://php.net/session.save-handler
    ; M; X8 V: u) G7 L
  1416. session.save_handler = files& o9 U! B1 b, F5 @) ]+ X. V* N6 j
  1417. 1 C: S) i. n) x$ S# W- _
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; @0 w) r" H- \" v2 L3 I1 F
  1419. ; where data files are stored. Note: Windows users have to change this$ }- P& h) a* q* @. k7 f
  1420. ; variable in order to use PHP's session functions.
    ; E6 {/ a- k* k
  1421. ;1 T. ]' {4 ^4 @( x  ^$ q6 {6 n
  1422. ; The path can be defined as:
    " `3 y* d6 o' a4 K# J1 [/ C" ?6 \
  1423. ;/ E0 L- @* @9 V% V
  1424. ;     session.save_path = "N;/path"
    4 n8 K; D- I9 n! p6 ]1 Y, a
  1425. ;
    * Z6 u7 `! O% n/ B$ n# _
  1426. ; where N is an integer.  Instead of storing all the session files in5 f/ J' L+ K* ?. J  w# M
  1427. ; /path, what this will do is use subdirectories N-levels deep, and$ P6 D; |# y9 }! N* m# w) B- x
  1428. ; store the session data in those directories.  This is useful if4 h/ G( B# e. ~$ a# F
  1429. ; your OS has problems with many files in one directory, and is
    ; Q$ j4 f0 ?% M$ {9 Q8 @
  1430. ; a more efficient layout for servers that handle many sessions.
    6 l% x  x8 I* b2 x# N4 u
  1431. ;
    # c( V+ B! j# p4 m- g* o1 s  a
  1432. ; NOTE 1: PHP will not create this directory structure automatically.4 M. @5 y5 W, `3 U$ _% V
  1433. ;         You can use the script in the ext/session dir for that purpose.9 g( \6 ~' N* Z, c; |* {
  1434. ; NOTE 2: See the section on garbage collection below if you choose to. t& E  |& v3 O6 K- D- k* U
  1435. ;         use subdirectories for session storage
    , _3 g6 |% M0 C6 H& S+ I3 L
  1436. ;
    , m; h5 u4 D; M
  1437. ; The file storage module creates files using mode 600 by default.8 O6 _; X3 r/ s0 y6 r) n7 b/ e  d
  1438. ; You can change that by using
    0 {6 Z' H* Z" o
  1439. ;
    5 x  @9 X' `% r0 f, Z$ l
  1440. ;     session.save_path = "N;MODE;/path"
    - N. M0 H& i# ~- u! u
  1441. ;
    2 ~8 S& U& j+ h9 M; H& {
  1442. ; where MODE is the octal representation of the mode. Note that this
      {2 d6 Q* j; c9 t( ?' c2 O
  1443. ; does not overwrite the process's umask.
    / u0 k& I9 @' |! D; o- e
  1444. ; http://php.net/session.save-path( j# U: s; |% K3 T$ x' ~' j
  1445. ;session.save_path = "/tmp"
    , d  l' s9 p0 t6 \. I  k1 |. _
  1446. + @. v, [# P# Q% Z7 k, o
  1447. ; Whether to use strict session mode.% Q/ u! z- X: R8 Q* L
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate3 z$ h6 q) _) ^& C& }! J
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: F/ t9 v; o2 b1 t( m
  1450. ; applications from session fixation via session adoption vulnerability. It is7 Q" ]+ j4 P9 M2 a  S2 x
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    0 f# m  j, @& @) i
  1452. ; https://wiki.php.net/rfc/strict_sessions
    2 h- i/ i2 A, B
  1453. session.use_strict_mode = 0
    5 S) O7 ^5 A" [* B4 J' r
  1454. 1 Z8 I* n! }+ d- L0 r
  1455. ; Whether to use cookies.
    ' Q- i7 B  k: L; z( V+ c* U" S
  1456. ; http://php.net/session.use-cookies
    3 V  S& n% J' F# U. a2 f- I, B
  1457. session.use_cookies = 1
    8 O- J+ W/ k) Y. \* p+ S
  1458. 0 }7 v- }3 Z; A5 j
  1459. ; http://php.net/session.cookie-secure" h4 [0 w9 M) _$ \* e# e
  1460. ;session.cookie_secure =9 {/ r  e" ~: s1 j" J; u
  1461. 5 r; C. z% w# v. j. U% K
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining" C' G' e0 M; b- k" V2 w) ]
  1463. ; the session id. We encourage this operation as it's very helpful in combating) l. R2 N- A8 ?
  1464. ; session hijacking when not specifying and managing your own session id. It is. A* @6 c* u' s. e/ e- ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 ^8 O$ @' ]( ~) w$ v
  1466. ; http://php.net/session.use-only-cookies& I6 r1 L+ |+ K" M* o# C1 ~9 `
  1467. session.use_only_cookies = 19 ]9 o# c. p$ i6 x# e8 h3 E

  1468. 7 A: V1 \" h3 G( K, J- h
  1469. ; Name of the session (used as cookie name)./ c) x! i  E: P9 v( ], M
  1470. ; http://php.net/session.name
    " F' w9 C: }9 v4 x' k+ c6 m# V
  1471. session.name = PHPSESSID
    : X6 S) f. v! b+ M2 H" q6 K6 M- ^
  1472. ( s6 ?* Z0 }- K; @( i5 F
  1473. ; Initialize session on request startup.
    + ^  f* ]( v' G; c+ ^: ]
  1474. ; http://php.net/session.auto-start
    , n1 S2 A- \+ f9 Y- P
  1475. session.auto_start = 0
    & O' u* i0 G/ ?- G3 k# U

  1476. 5 \  Y1 W; m) W1 ]" z' b. z, L# J
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; j0 v# E8 X5 N/ t$ R' U/ g6 O
  1478. ; http://php.net/session.cookie-lifetime! t8 N4 ]5 K8 A: r" M8 ?# k
  1479. session.cookie_lifetime = 0% s! m" }& ~5 ?; o

  1480. 9 B' T; P2 U8 I5 m8 g
  1481. ; The path for which the cookie is valid.' I5 ]* v# |& G- z
  1482. ; http://php.net/session.cookie-path6 G# f( y! B3 M. B9 U8 U
  1483. session.cookie_path = /
    5 i2 |  U6 |. o) G9 [% W
  1484. 4 a' l/ _3 Q$ N' y' D- D3 s
  1485. ; The domain for which the cookie is valid.
    5 f( P" w- K  K
  1486. ; http://php.net/session.cookie-domain
    6 Z' ?' W1 N! Z8 q9 {1 x+ t+ x
  1487. session.cookie_domain =" l1 A" v9 f! L1 V/ b
  1488. 8 A7 y6 U  a# c$ @8 a6 o
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.  o, e8 }' z+ ]6 u5 X
  1490. ; http://php.net/session.cookie-httponly
    ; A4 u' N0 z+ \8 O6 j1 j2 m
  1491. session.cookie_httponly =
    # z+ A* X0 k0 `/ q, }- W
  1492. 6 I; \( z9 H' p2 Y
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.+ [# |1 r7 }3 ^% U. k
  1494. ; http://php.net/session.serialize-handler3 X9 Z! y5 E5 I% @! G
  1495. session.serialize_handler = php1 J* g9 ~# x4 D+ K2 q2 d& A  M

  1496. / Q6 h5 S9 z( k
  1497. ; Defines the probability that the 'garbage collection' process is started
    9 i- b# y$ O' c3 S
  1498. ; on every session initialization. The probability is calculated by using
    8 x$ U0 D* J1 ~# L
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 }1 g- Q* r8 `: n! K
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1' D+ _) C, ?/ G( N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) }, {1 X; z. h! h' L6 M' r
  1502. ; the gc will run on any give request.0 p4 G( u6 Y; E, j( m& n
  1503. ; Default Value: 1. c+ e% q- \: G$ l& J; K$ ~1 ~9 y
  1504. ; Development Value: 1( _7 m7 i6 U" L; D5 C0 D
  1505. ; Production Value: 1- O0 q' e" _1 \: s" b
  1506. ; http://php.net/session.gc-probability, R4 l5 z7 j: |& Q, M
  1507. session.gc_probability = 1
    $ M% S% D5 S4 |; w
  1508. - b' n! X/ P5 y5 W* m  u! z
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    6 {; z/ m! h0 A, C# }& @- e/ X
  1510. ; session initialization. The probability is calculated by using the following equation:
    ' g' k1 c: ~; g) \5 u& K3 r
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - H+ ?# C6 _. {6 a$ V( l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 n# b, n) k4 n) U" z3 f
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  Q& o8 a9 @) }5 K% y& h! l
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( V! s/ ^+ d5 [
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( W: O& J( ]  g' B- f. c) b# E
  1516. ; this is a more efficient approach.
    $ I* c9 d0 P  `9 V
  1517. ; Default Value: 100% M+ Q. V, J1 h: ^. b( {
  1518. ; Development Value: 1000
    / b6 i' h" C: p) `3 F
  1519. ; Production Value: 1000
    1 ^1 {' I6 D1 i1 x. b9 }/ a2 q
  1520. ; http://php.net/session.gc-divisor
    4 _. R$ S" B1 b$ e, x. |4 J
  1521. session.gc_divisor = 10003 P- q& \5 W' y+ m7 B

  1522. / y4 {' l: z: V8 d8 j5 t' A, G( p
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and& H1 l( N" {7 [  g2 g2 A
  1524. ; cleaned up by the garbage collection process.' N/ D6 u. p2 `+ H0 @* \
  1525. ; http://php.net/session.gc-maxlifetime2 A/ [9 g1 |* M, C- A
  1526. session.gc_maxlifetime = 14405 J0 w" x+ q1 m

  1527. * P8 ^6 Z2 c; V1 ]3 E- w
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    / B4 I9 F  m9 l' ]8 [
  1529. ;       (see session.save_path above), then garbage collection does *not*; V" j+ g6 [2 n) c# m) I# P" w
  1530. ;       happen automatically.  You will need to do your own garbage
    , p$ n' \; j) ?8 k0 n7 ]* ?0 r+ L" j
  1531. ;       collection through a shell script, cron entry, or some other method.9 u1 M! |9 ^& I& G5 G
  1532. ;       For example, the following script would is the equivalent of
    : o4 ~7 w% L1 b+ _& \
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):* }& v0 j8 K5 `9 ]. [" p  m6 F
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 q6 U; Q6 g7 c) K

  1535. 2 Y. x' f( }. B# h- g
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# m$ x" U) ?: t3 b) a9 M+ y
  1537. ; HTTP_REFERER has to contain this substring for the session to be- B7 K  G+ c8 I& j) d  V2 n
  1538. ; considered as valid.3 V5 ]3 X% l) J9 \( B1 p0 t
  1539. ; http://php.net/session.referer-check6 y# U( Y( d# Y6 N8 k$ Y
  1540. session.referer_check =
    * A( \; L  c  v, M! s& d5 E& e% o: w

  1541. 4 {5 f, ^; u4 o4 N" q( G) z3 X
  1542. ; How many bytes to read from the file., @; }* F, A4 ^2 G' e8 u
  1543. ; http://php.net/session.entropy-length
    ' x7 N0 v" s% M& [) `: l
  1544. ;session.entropy_length = 32# d: H: H' M( R3 k

  1545. 2 Z! B! {+ {* c0 t
  1546. ; Specified here to create the session id.
    3 p; P4 Z% ~4 R% K8 h$ A  i
  1547. ; http://php.net/session.entropy-file- f) D7 l* |4 V; M% z) I% d) r0 A
  1548. ; Defaults to /dev/urandom6 L( u8 ^% ^: ?0 |! u( O7 I
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom1 L6 H# N! |( t% e
  1550. ; If neither are found at compile time, the default is no entropy file.
    - Y6 w/ i% t+ Y) R/ T, |4 ~8 A! r
  1551. ; On windows, setting the entropy_length setting will activate the
    # E; U2 O3 G) ^9 `
  1552. ; Windows random source (using the CryptoAPI)
    " l5 \( X4 w% d5 r% ]' x
  1553. ;session.entropy_file = /dev/urandom; Y* I# A5 a- w! Y, h! X
  1554. 9 a/ V3 x  X" g8 j1 w
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    0 [& T7 e+ M- j5 R3 ?- p, u, w
  1556. ; or leave this empty to avoid sending anti-caching headers.8 K" u; R7 n- K7 r2 `/ |# {, M
  1557. ; http://php.net/session.cache-limiter! q3 {. X+ ^4 C; |5 ]
  1558. session.cache_limiter = nocache# `" F" z" T; O4 _3 z5 E6 y

  1559. ' |+ j) V: R, B# q% k; \# S
  1560. ; Document expires after n minutes.
    2 p. W7 C+ r0 l$ M* }, t4 _2 k( R
  1561. ; http://php.net/session.cache-expire7 I9 ~( R% _5 G& y# \
  1562. session.cache_expire = 180' \$ [+ s9 _+ Y3 B4 o  o2 H1 Y
  1563. ' C' `8 V  u7 \: M6 T
  1564. ; trans sid support is disabled by default.
    ' H- W, B2 N4 K% e4 V
  1565. ; Use of trans sid may risk your users' security.' L5 I9 {( A7 S! t; K& s
  1566. ; Use this option with caution.% F1 ?# S, u* ^- Y8 g
  1567. ; - User may send URL contains active session ID/ g3 q1 N" l' T" b2 x
  1568. ;   to other person via. email/irc/etc.; a& G, R9 ]" ]/ F$ j) c  F# m
  1569. ; - URL that contains active session ID may be stored9 Q9 [7 f9 J( d+ i* S( \
  1570. ;   in publicly accessible computer.$ o- Z9 U/ w% B
  1571. ; - User may access your site with the same session ID" ]0 P; ~' U  v8 K
  1572. ;   always using URL stored in browser's history or bookmarks.+ \1 T* Z6 o, _$ M$ S  _) B7 b$ F
  1573. ; http://php.net/session.use-trans-sid
    9 m0 u( N% ]5 y" l7 k
  1574. session.use_trans_sid = 0
    ( d9 p  S) ]$ G. G5 H% ~' M
  1575.   ]8 G/ I3 X( e
  1576. ; Select a hash function for use in generating session ids./ K& N! n2 D; x% l  S
  1577. ; Possible Values- R, F" d0 W5 U2 t0 E9 |
  1578. ;   0  (MD5 128 bits)
    / Z3 \  H  q6 p& q' n& V" t
  1579. ;   1  (SHA-1 160 bits)9 C+ H, s5 E) s4 {" G
  1580. ; This option may also be set to the name of any hash function supported by
    # M  s2 Z# L: {! T9 _  F1 X
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / i$ B0 @, k$ g& m( J. q
  1582. ; function.7 H' r4 p* O% Q& ^$ L
  1583. ; http://php.net/session.hash-function8 V9 U( X1 f2 d) x, a2 c1 B
  1584. session.hash_function = 0- |9 p4 `4 M, J1 M
  1585. 3 ]4 _8 T# a9 E& E
  1586. ; Define how many bits are stored in each character when converting% _5 X0 e7 ]  o+ C! y" P4 a$ |% v
  1587. ; the binary hash data to something readable.
    . o5 A& f- C$ |  {  D9 C) B7 x
  1588. ; Possible values:
    , w" v  {, P6 F! n# M! v: L- \3 A
  1589. ;   4  (4 bits: 0-9, a-f)/ l$ I; e5 G2 e* d! A/ ~4 l& |
  1590. ;   5  (5 bits: 0-9, a-v): U5 L2 G  q- I% t* b  ^
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' Z- v1 Z( v9 ?9 T' Q7 V
  1592. ; Default Value: 4
    5 \! B$ ?: D0 q6 F" h
  1593. ; Development Value: 5
    / E# J9 B0 g% A5 y! h  C! @: u
  1594. ; Production Value: 55 U# l! g$ j3 _6 w; ?! T, O
  1595. ; http://php.net/session.hash-bits-per-character5 I) v. w% Z$ u7 A4 M8 M' O/ R
  1596. session.hash_bits_per_character = 5
    ) O7 j! n' J, S$ c8 y, u
  1597. 9 I5 f0 ?. w6 r, Y( u7 x( A1 z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: k( E7 J" R1 {6 Q
  1599. ; form/fieldset are special; if you include them here, the rewriter will+ S6 e0 T" a3 _" O) L1 P
  1600. ; add a hidden <input> field with the info which is otherwise appended% @2 r1 U- d$ f( H6 @0 u0 p
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.: K& e$ D  L! b( t
  1602. ; Note that all valid entries require a "=", even if no value follows.+ X* {1 f; I5 k1 K7 T2 J, I* ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
      `9 E: O' S* H
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ a  ^5 L9 C5 o' z( t2 X
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # l: x, \0 i  R
  1606. ; http://php.net/url-rewriter.tags4 i0 z# b1 ?5 H
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"3 K) v9 z$ M* }- q
  1608. 2 W4 K% U  L$ w! [  m
  1609. ; Enable upload progress tracking in $_SESSION/ V6 ~7 u* Y* A( j9 ~
  1610. ; Default Value: On& b9 l. [& ]3 s& u
  1611. ; Development Value: On5 T: u5 @6 j# {! y* A% [/ D+ H4 C
  1612. ; Production Value: On
    + ~1 C+ R7 u7 x3 t( L
  1613. ; http://php.net/session.upload-progress.enabled
    , X+ e  P. q3 J" r
  1614. ;session.upload_progress.enabled = On
    7 g6 b4 c5 \7 E$ a: M

  1615. " m0 f: I: y- b# H- H0 _5 J6 D
  1616. ; Cleanup the progress information as soon as all POST data has been read$ @* t; _0 n( b3 Q) r' P
  1617. ; (i.e. upload completed).
    0 k1 O% y( Q) h
  1618. ; Default Value: On3 w4 v& @+ e( i
  1619. ; Development Value: On2 z3 C9 N# ?! O" g: U3 @7 U
  1620. ; Production Value: On
    2 k/ z1 u* Z- p. e
  1621. ; http://php.net/session.upload-progress.cleanup0 h2 x% s$ d% e
  1622. ;session.upload_progress.cleanup = On
    8 |. B0 [) H4 g6 S0 ?
  1623. 8 v6 E8 M+ T$ c. Z
  1624. ; A prefix used for the upload progress key in $_SESSION
    0 R) r3 B* c. I6 J; i
  1625. ; Default Value: "upload_progress_"& ^* C( \' a- @% o3 s
  1626. ; Development Value: "upload_progress_"
    . v% x9 s% n; G( W0 r( t9 l* v
  1627. ; Production Value: "upload_progress_"$ \( u/ w5 W0 s8 s; M
  1628. ; http://php.net/session.upload-progress.prefix* t7 L% E* F8 K+ ^2 B% f1 b
  1629. ;session.upload_progress.prefix = "upload_progress_"0 `; E0 M- ^5 j
  1630. ) ?7 f! V  E: b
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ! ~$ s7 B* `/ I; D( {
  1632. ; containing the upload progress information- H/ p9 @% ]9 ]4 m1 s( G: M0 f
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ O& J: y# y1 I( e, H: v( c3 U9 T  b
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      h1 r' F$ T$ s
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"; [. @8 G6 P* Z  Y
  1636. ; http://php.net/session.upload-progress.name( G' a" v  I9 o3 ?  S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % |2 S0 W& `7 B2 ?' S
  1638. / o, J4 V$ D6 G) v
  1639. ; How frequently the upload progress should be updated.; g5 s0 T$ h) \7 q6 j
  1640. ; Given either in percentages (per-file), or in bytes
    % y3 Q% e! j0 m
  1641. ; Default Value: "1%"
    $ f. U5 M4 z  f5 X" Q6 P( D; g
  1642. ; Development Value: "1%"# Z' i: E5 H3 W7 I% u0 s% {6 Y7 H
  1643. ; Production Value: "1%"
    0 n' U$ P* r( |/ z( S
  1644. ; http://php.net/session.upload-progress.freq
    1 n1 h* |$ k) A" N0 |
  1645. ;session.upload_progress.freq =  "1%"/ z) ^7 N( f8 d. Y) z4 q4 Q* z% W

  1646. 6 b2 n# Y0 l; V4 x' [: B6 n
  1647. ; The minimum delay between updates, in seconds1 i7 z9 v2 `, x& w! |
  1648. ; Default Value: 19 j6 B- W$ ]4 W' p6 u) R
  1649. ; Development Value: 1
    ; P4 |% m" g$ h* W0 O" `. b
  1650. ; Production Value: 1) G$ E! S  m; Z, s, H+ y
  1651. ; http://php.net/session.upload-progress.min-freq* A! {0 \/ D% G- j
  1652. ;session.upload_progress.min_freq = "1"/ a+ f0 @9 ^+ U. p+ k; d9 j+ N
  1653.   \0 t: t. M+ y5 @1 ~
  1654. [MSSQL]: d3 q1 h! ^" Y
  1655. ; Allow or prevent persistent links.
    2 |! N6 C6 a, t
  1656. mssql.allow_persistent = On
    9 m7 N+ k6 P; ]# h7 W" b( e; d

  1657. & q2 _( X2 i8 S+ ]  ^" d
  1658. ; Maximum number of persistent links.  -1 means no limit.% n4 `. ]& A2 c' C% l$ {
  1659. mssql.max_persistent = -1, H9 Q! d2 P5 }7 ^8 C
  1660. $ Q; L1 ?" }  c' r. G" ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) j4 ]3 C+ T' Y; L  S
  1662. mssql.max_links = -1, K, |% D) b5 s! v

  1663. 4 w/ J/ _$ g( N
  1664. ; Minimum error severity to display.
    3 s) u2 a6 |! w- X" L2 k6 b. a
  1665. mssql.min_error_severity = 10
    $ d$ e9 g( b0 N

  1666. # i: B# u* g! `6 x0 T5 C) p
  1667. ; Minimum message severity to display.8 G0 \7 v& w5 u% D4 B0 U4 [* E
  1668. mssql.min_message_severity = 10
    2 l8 i) b. p; ~; z! @! \
  1669. * o% f  B; W) U, D% `0 Z
  1670. ; Compatibility mode with old versions of PHP 3.0.
    * X1 p% `2 ^. h# p. F6 o3 |
  1671. mssql.compatibility_mode = Off
    8 f" ^2 U" D. v
  1672. ) G$ d5 H! l. W, @
  1673. ; Connect timeout
    ( l# q# c* q) U- k9 H+ d/ r
  1674. ;mssql.connect_timeout = 58 m6 [/ C0 f% V  R+ v2 [
  1675. ; Q, U+ d( ^' P, w9 q7 v
  1676. ; Query timeout3 y5 m; n* D$ i% O* L1 U- b
  1677. ;mssql.timeout = 60
    0 J7 e! O5 v' L. ]: |

  1678. ' ~+ J' Q" Z2 Y1 Y8 l' r
  1679. ; Valid range 0 - 2147483647.  Default = 4096.9 T* p6 g! t" {5 d
  1680. ;mssql.textlimit = 4096/ [: c, f3 ^1 \

  1681. 9 h  b: h2 t; q
  1682. ; Valid range 0 - 2147483647.  Default = 4096." F* \. O! u" G, M! v7 F
  1683. ;mssql.textsize = 40967 K/ P. g% X6 W. o) Z5 O6 J; }
  1684. # s) U0 Z$ W: Q' X- s1 Y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.+ L& M  x: }* m2 `
  1686. ;mssql.batchsize = 01 y3 a$ e6 |! }5 ~9 ?) q

  1687.   Z; R; H) Z3 U' g  [- g2 V
  1688. ; Specify how datetime and datetim4 columns are returned
    : m, u5 ]3 T  V$ c; y6 q6 g
  1689. ; On => Returns data converted to SQL server settings( s0 z! s0 D+ D- T5 [' X1 B
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss  B4 V/ [8 R: N1 P" {
  1691. ;mssql.datetimeconvert = On
    # r0 {- E" X2 {- t% K- J9 I

  1692. 9 W' @* h5 F3 l9 h& @! Q
  1693. ; Use NT authentication when connecting to the server& G% S. Y2 L7 R8 W8 f
  1694. mssql.secure_connection = Off* P# @5 ~5 l; r" l$ \

  1695. - M2 c/ J# G+ n' K# P
  1696. ; Specify max number of processes. -1 = library default
    . T3 t7 X. C! Z$ I
  1697. ; msdlib defaults to 250 w& u3 f, I5 I) D2 v5 h
  1698. ; FreeTDS defaults to 4096
    $ z7 M3 K" y) \( Z, C2 @1 Z5 a" a. B
  1699. ;mssql.max_procs = -1
      r1 K& g4 H7 f# p; x) \( }
  1700. 8 f$ j9 ^8 _' y( j5 q
  1701. ; Specify client character set." J8 T" o- m8 i. L) s( E' \$ J
  1702. ; If empty or not set the client charset from freetds.conf is used. L- A, f2 I4 m- A
  1703. ; This is only used when compiled with FreeTDS- t% c. C% W8 O4 \0 k
  1704. ;mssql.charset = "ISO-8859-1"
    0 D2 C& i: W, F) }7 H6 p

  1705. ' R' M9 j8 J4 u- {5 R% q; h
  1706. [Assertion]
    8 Y: W- Z$ @+ a3 V" d; b
  1707. ; Assert(expr); active by default.
    - N+ k; z+ N" p
  1708. ; http://php.net/assert.active
    8 L* k$ S( [( c4 N. @$ _$ g
  1709. ;assert.active = On* V6 a; G% q8 o, l0 g; h

  1710. + v$ L5 N# _( P8 ~
  1711. ; Issue a PHP warning for each failed assertion.
    5 L% R3 |1 Z; ?# Y$ t7 r% C( r
  1712. ; http://php.net/assert.warning0 W5 H$ K7 a; t' z# Z6 H! n' d- c
  1713. ;assert.warning = On9 F; i, K& a( q6 i/ w3 D/ d

  1714. : X% A& \1 e- D  F6 t
  1715. ; Don't bail out by default.
    ) _" K' u3 ^- ]' v2 {2 ^0 x+ [
  1716. ; http://php.net/assert.bail& m3 z* r; s" z% A/ J- T; m7 z3 G
  1717. ;assert.bail = Off
    $ ?$ O6 [- f: _8 h  R) t: y

  1718. 1 M+ s; Z; D: z
  1719. ; User-function to be called if an assertion fails.; \( B1 S( w" I: S( v7 R) z
  1720. ; http://php.net/assert.callback+ d- z; m" G4 Z
  1721. ;assert.callback = 09 T$ k* F  u* G1 l) _+ x

  1722. 3 f, `1 P* {3 B3 b" Z/ R  _
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 E9 e1 ]. z8 e9 d0 @2 |. @
  1724. ; error_reporting(0) around the eval().
    , ]& I1 U, y& q2 R( h! K7 w
  1725. ; http://php.net/assert.quiet-eval/ {/ ]4 d- D' N& _1 n  L8 p
  1726. ;assert.quiet_eval = 01 b, @2 m4 t# G' {
  1727. / t* ~0 G9 f- ~! a
  1728. [COM]/ z! P: u) A  ~- q
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs1 O8 B8 [; P2 a3 a; f& a
  1730. ; http://php.net/com.typelib-file' {( [) o) P% U7 @8 g
  1731. ;com.typelib_file =
    . v4 w/ u; K: q8 g

  1732. % `8 V, g) b% p
  1733. ; allow Distributed-COM calls, t0 Y2 X& \( `
  1734. ; http://php.net/com.allow-dcom& }& P+ V9 R* t3 T* Z
  1735. ;com.allow_dcom = true9 N& A$ ]8 ?5 \4 \/ f5 @
  1736. 1 D" d: j- f, O
  1737. ; autoregister constants of a components typlib on com_load()  p$ w+ I4 m4 }/ V5 ?; r
  1738. ; http://php.net/com.autoregister-typelib
      `: l0 f8 k% f6 p' B( V
  1739. ;com.autoregister_typelib = true
    0 g6 d  m; J. M& U. M6 c$ G) }
  1740. ! p) p1 d$ n7 |
  1741. ; register constants casesensitive
      m& g  `3 g+ N- N2 G3 a
  1742. ; http://php.net/com.autoregister-casesensitive
    7 S+ H0 p3 J7 A- g; h/ ]2 m5 L6 \
  1743. ;com.autoregister_casesensitive = false$ p# a* K8 z5 ]; c5 g

  1744. ' s5 }8 f: ~9 V$ [& o3 s
  1745. ; show warnings on duplicate constant registrations
    6 A+ ~: l4 a6 z
  1746. ; http://php.net/com.autoregister-verbose
    ( p% w3 l7 `- r$ J5 u  ~/ G; c
  1747. ;com.autoregister_verbose = true
    1 K" Q, Q3 J6 G  {3 K9 }  r

  1748. 0 k/ Z0 ?5 n7 M* I
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    & `( K* t! i3 o$ b( p
  1750. ; Default: system ANSI code page3 L) U4 j! k" C' U
  1751. ;com.code_page=
    . A- P9 W2 i1 z- o( }2 t
  1752. 6 p; R, h. b6 w" X9 K( `5 C/ a
  1753. [mbstring]
    $ l0 B+ m1 f2 N# S6 c( t
  1754. ; language for internal character representation.9 q7 p( n( [3 Z, ^% y% ~0 y8 V
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    2 _+ R! T5 i( ^, |' A
  1756. ; http://php.net/mbstring.language
    . [3 B! b3 L. u, D% \) C4 {
  1757. ;mbstring.language = Japanese8 j8 N# l3 x7 R4 `9 Y. t

  1758. 2 p2 b! A1 R6 z; I0 f# a
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 L$ W7 m( P8 S3 m
  1760. ; internal/script encoding.( h- ~: y5 D! r$ s/ t# {3 r! o! ^, d% t
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    5 y' \( n  a$ {; }" Q" s# @
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ Y+ Y( l0 l; x5 w$ ]
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      _4 M" B# r# ?, d% L
  1764. ;mbstring.internal_encoding =
    ! B( |. l+ Q! ^4 I* C& B, |  A

  1765. 2 L: T2 }5 T/ m! I1 i8 M( F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . {! t4 r# m4 L* [. _2 ~+ _$ r
  1767. ; http input encoding.
    5 m3 A) W2 t1 {1 O
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' J: w" w) K7 j  i7 O* {
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% \' _# @8 H- ]8 H/ d1 U
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: M% v. @6 j$ F6 A
  1771. ; http://php.net/mbstring.http-input* ~1 u: Y) _$ {
  1772. ;mbstring.http_input =3 f- y1 j5 G1 H- Q1 o" O/ O, X
  1773. ) y; r6 X  O7 t: O; b
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.# o+ \8 ]% Q& _' W8 X
  1775. ; http output encoding.
    - Q5 j: @' @! i' _3 \3 D" Z
  1776. ; mb_output_handler must be registered as output buffer to function.$ y( H  V$ Y7 V: @/ p
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% V/ ?3 n$ `  a& ]7 j4 T  t
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 B% U1 [& P; n) r+ p$ E
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    & S" ~9 V0 q& n2 i
  1780. ; otherwise output encoding conversion cannot be performed.! R+ Q; m% l' v- _
  1781. ; http://php.net/mbstring.http-output
    - M# {# D8 t- c& B
  1782. ;mbstring.http_output =
    & M% r% }6 g$ J9 V2 m

  1783. 1 T5 u; V$ f. |( D3 h' X
  1784. ; enable automatic encoding translation according to
    9 J3 B% A0 U! V2 q- N
  1785. ; mbstring.internal_encoding setting. Input chars are
    7 x9 N2 R" k# ~0 g( ?
  1786. ; converted to internal encoding by setting this to On.
    ; T( _4 C! A9 h
  1787. ; Note: Do _not_ use automatic encoding translation for
    3 s2 e2 d; D  m1 b" ~1 J
  1788. ;       portable libs/applications.
    0 `0 j, }; {0 d' x2 V% }
  1789. ; http://php.net/mbstring.encoding-translation' B+ \6 _* d6 @% G+ \
  1790. ;mbstring.encoding_translation = Off
    6 A8 h1 x) U4 x3 c2 B3 z

  1791. ! y' s: r# }4 G! I
  1792. ; automatic encoding detection order.1 J2 ]) D, _7 u; |+ j& s
  1793. ; "auto" detect order is changed according to mbstring.language
    + ~# F; @! d" x6 \4 w4 n3 Y2 p% C
  1794. ; http://php.net/mbstring.detect-order, {4 i7 t9 U, [; s- A4 c- ^2 J; v
  1795. ;mbstring.detect_order = auto
    % e! t/ u7 ]2 c& J3 Z1 L* K
  1796. 1 x% W1 k8 A$ z, J
  1797. ; substitute_character used when character cannot be converted
    6 y8 J- l% l8 g4 T
  1798. ; one from another; n0 ^) z  S; m# i5 T1 {) ^
  1799. ; http://php.net/mbstring.substitute-character
    1 _* W6 T# ^1 h$ F# V) b
  1800. ;mbstring.substitute_character = none$ ?+ s3 ]1 O' n
  1801. 7 b" S9 }+ W3 c% Y7 r1 @6 x: z
  1802. ; overload(replace) single byte functions by mbstring functions.
    # F" K. ?# K, Z# d3 r# e8 b
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," n/ _% [. W; X  m) J1 V
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    / |; O& p* t. Y1 M0 [* U6 p# f6 E
  1805. ; For example, 7 for overload everything.! O& m8 p% u1 f
  1806. ; 0: No overload
    ; \7 d% p  k7 W6 i) K6 m+ ^& j+ z' {
  1807. ; 1: Overload mail() function5 a1 G; X. B6 n
  1808. ; 2: Overload str*() functions
    7 e( F- S! e! c6 M* r
  1809. ; 4: Overload ereg*() functions5 v" \5 b$ \" X4 J$ r7 Y' C8 C  P+ }
  1810. ; http://php.net/mbstring.func-overload4 x0 H+ C5 t* T5 V& j# f
  1811. ;mbstring.func_overload = 0
    0 p. u; w8 F1 i6 ~- b

  1812. $ s( G; M+ f0 z- ]; _) M: \
  1813. ; enable strict encoding detection.
    / T" l9 M, Y& i2 v: @* |
  1814. ; Default: Off+ G3 e* k& e& T- Q
  1815. ;mbstring.strict_detection = On
    ! p5 [, Z% E& K7 k, @3 y# }$ _- R
  1816. . ]1 W) K( `2 P
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
      s2 Y/ ~8 O% l1 r/ k
  1818. ; is activated.
      Z& R! h( Z/ R8 q( ?
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! k- D2 U* z3 ?" \- F# f* C0 n" n
  1820. ;mbstring.http_output_conv_mimetype=
    # Y" v  p7 T, D* O. T9 [7 p
  1821. / M" s# a4 ?+ d% @/ t$ p& v
  1822. [gd]$ {; r/ T0 a; i/ \
  1823. ; Tell the jpeg decode to ignore warnings and try to create" U) l9 {3 s$ J0 @9 v- O- ~* D
  1824. ; a gd image. The warning will then be displayed as notices: T+ {: d, j3 l
  1825. ; disabled by default
    ( A# S1 \( Q  v" F6 \( ~& j
  1826. ; http://php.net/gd.jpeg-ignore-warning
    , t- y) B$ r$ J) q+ {. I
  1827. ;gd.jpeg_ignore_warning = 0& ^( k1 D5 E% l

  1828. ' e3 E+ l1 W3 K4 |
  1829. [exif]
      Z2 m' I) L) T; H* y1 F& a
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.3 E& p2 E: S! M. b+ s  @9 f8 F8 b
  1831. ; With mbstring support this will automatically be converted into the encoding
    # e5 X- f: J; p5 W( @2 S
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    & q0 b5 \6 ]5 E
  1833. ; is used. For the decode settings you can distinguish between motorola and6 A6 h/ N/ }( a! R" C; J
  1834. ; intel byte order. A decode setting cannot be empty.
    $ j5 \: ^7 B0 r% g% i9 ^! g
  1835. ; http://php.net/exif.encode-unicode
    ; p# h- D0 f  p& ?0 C
  1836. ;exif.encode_unicode = ISO-8859-15& X* R6 A3 s4 e( ^1 v: V

  1837.   m2 Y3 ^0 s: v) Y# ?
  1838. ; http://php.net/exif.decode-unicode-motorola
    6 }- z* S+ j8 E/ n" Q  q  Y
  1839. ;exif.decode_unicode_motorola = UCS-2BE# A* W4 o; N5 s$ n! V. |
  1840. # }3 R: m5 _: a4 K1 s4 q: ^
  1841. ; http://php.net/exif.decode-unicode-intel
    ' H0 X# S' G  [) \6 B8 A4 U. z
  1842. ;exif.decode_unicode_intel    = UCS-2LE" h& D; b8 K/ L
  1843. " g% _6 B3 y+ X
  1844. ; http://php.net/exif.encode-jis
    % t- q1 w$ h, {+ h
  1845. ;exif.encode_jis =2 X2 Q6 W5 t3 [" V  w2 h) ^  f# @# f- M9 \

  1846. * A- W9 E1 Y+ u5 v
  1847. ; http://php.net/exif.decode-jis-motorola
      I# d: {  h+ z/ ]8 v8 m, ^
  1848. ;exif.decode_jis_motorola = JIS* V  _6 P1 t1 ]% V
  1849. ( J4 {  Q: X% f9 \: t$ x- A! l
  1850. ; http://php.net/exif.decode-jis-intel
    ; H4 h* q& J0 ~4 M
  1851. ;exif.decode_jis_intel    = JIS$ e$ l9 D# V; w+ `! {6 X1 Z4 n

  1852. * @- I5 i1 |) i+ P7 b- o
  1853. [Tidy]
    , A6 b, q# w" c4 d* l8 Z; Y
  1854. ; The path to a default tidy configuration file to use when using tidy7 d( ?5 t7 h0 b0 Y
  1855. ; http://php.net/tidy.default-config
    / a( Q7 ?$ _% x9 z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 ]+ a' I7 ~/ H; N0 C8 Z

  1857. * j1 d: ?' x$ V( C: F
  1858. ; Should tidy clean and repair output automatically?$ S/ g) s$ o; t
  1859. ; WARNING: Do not use this option if you are generating non-html content' g# P. J1 h4 {& i" W
  1860. ; such as dynamic images
    " g& |. M. e6 P( V
  1861. ; http://php.net/tidy.clean-output
    : J, k& b+ |1 a0 Y2 \1 x1 U
  1862. tidy.clean_output = Off
    3 K% g7 w! m! F
  1863. % r7 I3 C" O+ Z& G2 r' V
  1864. [soap]
      Q4 x( T: q' v7 N0 [6 [) X
  1865. ; Enables or disables WSDL caching feature./ H6 ]4 \4 m$ i$ b  t
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ! c" \% O  N! z/ f) `0 k
  1867. soap.wsdl_cache_enabled=1
    1 Z+ ]' o" [$ d( U2 C% r# j3 Q5 y

  1868. 4 J& i( N0 E5 e" s6 G) V
  1869. ; Sets the directory name where SOAP extension will put cache files.' I8 m+ Y" v. q2 Z( W6 Z6 N" y
  1870. ; http://php.net/soap.wsdl-cache-dir
    & H! ]7 M# \) R  G! J
  1871. soap.wsdl_cache_dir="/tmp"
    9 `6 G$ X& a7 S" N9 ]# @2 p
  1872. : Y/ ~4 `, [% a6 F9 B
  1873. ; (time to live) Sets the number of second while cached file will be used- T3 B0 e9 Y( o. X$ `* v
  1874. ; instead of original one.) g  l0 R1 _9 ~1 _( B# t! ]
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ) b2 C1 b* H7 \* p6 w4 r
  1876. soap.wsdl_cache_ttl=86400
      @" }+ H# T$ y- K0 ?: I9 w
  1877. , i  Z$ D7 h  W- m( E3 r0 R" ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    / L# K, s( H0 T, Y& M
  1879. soap.wsdl_cache_limit = 5
    / T; J3 F- W+ f& o

  1880. ; C, }& d  F+ D4 g$ k8 j7 W; @2 p1 }/ Y
  1881. [sysvshm]
    : ^* A% a" }# A. U0 G4 T4 W# O
  1882. ; A default size of the shared memory segment
    : u& S6 r% q" L" Y% S- _+ E
  1883. ;sysvshm.init_mem = 10000. w, [! r0 K9 f/ I/ R) u

  1884. 9 q" o9 y0 {' `- p! X
  1885. [ldap]; _0 Y+ n% |' n' t5 E- C
  1886. ; Sets the maximum number of open links or -1 for unlimited.8 K" G9 F' I( q$ W  J* a2 h! `! S
  1887. ldap.max_links = -1
    * ?! G9 T! O3 _% G
  1888. 0 L$ H; U! J2 Y4 P
  1889. [mcrypt]7 @* r5 v" r0 B' ~& n( r
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ z; g1 x8 Z6 r) }8 A  F% g
  1891. & D9 f) u; e' L9 {6 w4 I
  1892. ; Directory where to load mcrypt algorithms
    $ P9 Q7 e% a7 \; ?! _5 E# Y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); ]. c9 M% M! _; q+ j$ L" J
  1894. ;mcrypt.algorithms_dir=
    0 D/ j9 i5 U" R; r- w% d- J

  1895. ; d! J. I$ Z9 R6 c
  1896. ; Directory where to load mcrypt modes
    2 J1 n( n, t+ E' P& i
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 a% g5 _# t6 W4 a6 G+ ~! @% F
  1898. ;mcrypt.modes_dir=3 u& B5 @" V; Y6 T, A% p7 F

  1899. ! z$ H+ L" J, ]! `) E
  1900. [dba]8 `5 O3 ?* W# u! J; `
  1901. ;dba.default_handler=
    9 M& l* S$ M% `1 ^. K
  1902. 3 z6 V3 {% ]& E$ E0 C
  1903. [opcache]
    ) L0 v1 ?9 f3 C3 }# D; e+ i
  1904. ; Determines if Zend OPCache is enabled
    ) V; {; B# L% g( b9 M& w5 B8 M$ b
  1905. ;opcache.enable=0  R* J$ v3 k% h8 P) M' y, X
  1906. ' H  A6 K/ f4 K7 Z8 ^  l
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 t, i: u5 b* S3 L  j
  1908. ;opcache.enable_cli=00 @# K3 k* T5 v/ r6 `. O7 g
  1909. / e* r& t  |# s: J$ |
  1910. ; The OPcache shared memory storage size.
    5 Y3 C& o7 _, [7 J: P. e1 x
  1911. ;opcache.memory_consumption=64
    % A# Z& C( A" }7 ~

  1912. 0 [6 n6 H& E% k' c5 o+ r
  1913. ; The amount of memory for interned strings in Mbytes.% R: @2 @. O) u: r) P/ u
  1914. ;opcache.interned_strings_buffer=4
    ; s" s' n8 K. w( [8 m

  1915. , p  n* w7 v. Y# ]6 w
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' U" u, N! L9 `  G
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; V( |  T+ N7 Y0 k) q
  1918. ;opcache.max_accelerated_files=2000
    8 m; I: |% _" o# ]& v& r5 Z

  1919. 9 q7 o: w, q) s. j" q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 N; Y" d2 ^3 _% M4 q; w. N2 W
  1921. ;opcache.max_wasted_percentage=5  m0 a7 |9 p) P0 `6 S

  1922. ' D4 h+ j. k" ]$ R
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 e3 I) x2 E5 H5 c7 X. [6 A' L# c
  1924. ; directory to the script key, thus eliminating possible collisions between; q- w( m# K1 {! j
  1925. ; files with the same name (basename). Disabling the directive improves' ?# F$ w3 i, ^# ?- Q0 w
  1926. ; performance, but may break existing applications./ _5 |# v/ w3 Y# H' H  n
  1927. ;opcache.use_cwd=19 O% U) g! P1 y9 @- a) U/ t6 q

  1928. 7 k7 w8 G# M2 C3 B2 v4 N
  1929. ; When disabled, you must reset the OPcache manually or restart the. X. z) v9 i) ^( p3 i3 B
  1930. ; webserver for changes to the filesystem to take effect.0 u+ {0 b# j  ~, d
  1931. ;opcache.validate_timestamps=13 v; q: Y& z+ ~" a) c8 W

  1932. ( Q, |8 e) E; m" s: R
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    1 |8 j5 u2 \$ H7 m* b
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    9 _) O' g) Z5 f8 n  B' \: ~9 }
  1935. ; once per request. "0" means always validate)6 n/ Z4 Y* f, a# `+ w5 \% ]
  1936. ;opcache.revalidate_freq=2
    ; z0 P- T9 S# `, M; j3 t$ X2 `3 i

  1937. 2 k1 t: w: `+ ]0 }
  1938. ; Enables or disables file search in include_path optimization5 Y6 |* l) N+ G3 ]4 F
  1939. ;opcache.revalidate_path=0
    3 `, E' R: ?4 O6 U( ^( k" [/ ?7 q

  1940. , t# f( X( h" ~/ O% W. j
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) i" I3 `7 S; m! W: g/ `2 B
  1942. ; size of the optimized code.) V: Q9 K/ G% `) k! `8 L. ?5 A' v) n
  1943. ;opcache.save_comments=1
    6 g- H8 T' \  ^$ U% r' h2 b/ s( _
  1944. 1 @" C# y3 X" e1 `0 _5 R, y
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    * B9 v! z0 y$ A2 c3 p! v# D
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    1 h0 l+ `  J, \$ \$ K9 b
  1947. ; that don't need them anyway.
    * I  D7 G7 ?+ V/ b+ o/ H- d6 r8 s
  1948. ;opcache.load_comments=1
    ( B$ Q, Q9 ]' L$ [
  1949. 8 X) U7 S( r# n* S! Q5 ]; k: z% w
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code8 D9 ^& [2 F+ I% y- d" @2 R* d
  1951. ;opcache.fast_shutdown=0
    * w$ N* w7 m3 G2 a6 J4 {

  1952. 4 v5 Q, R3 D: Z7 T$ R: w
  1953. ; Allow file existence override (file_exists, etc.) performance feature., E4 r) H  f' h: g3 W
  1954. ;opcache.enable_file_override=00 a/ Z. d  N5 J
  1955. & S3 i( a3 d5 t5 O
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache9 q: o+ s. a) l
  1957. ; passes7 j9 V$ b1 R) u2 |8 d
  1958. ;opcache.optimization_level=0xffffffff; A9 V4 P' _/ _! s! @2 l6 |; T& O

  1959. ( I! b3 z6 m: ]4 @, W( }
  1960. ;opcache.inherited_hack=13 k2 g* B2 K6 C0 M  ?1 b# h
  1961. ;opcache.dups_fix=0
    " r+ M6 ^+ t" P# Q/ J

  1962. 1 {; O/ }3 J, O" m( {4 k4 e
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    7 U! F; K0 d7 [
  1964. ; Each OPcache blacklist file is a text file that holds the names of files0 h( `% E0 T7 [. v
  1965. ; that should not be accelerated. The file format is to add each filename  v* j% J, {# a4 k
  1966. ; to a new line. The filename may be a full path or just a file prefix
    9 ]8 e# q5 T% Y  b) s" b  M2 W0 K/ }
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( Q& u. R' o% n8 ?; b* C* B0 A# M
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).5 O& z; A, V  v. Z# R6 K7 J8 l
  1969. ;opcache.blacklist_filename=3 o% l! a$ E0 n. L2 b

  1970. $ \2 a& {9 }. e1 R/ @2 l8 j
  1971. ; Allows exclusion of large files from being cached. By default all files9 k- z2 O' ^. G- T  _
  1972. ; are cached.
      z! \+ d6 j- m
  1973. ;opcache.max_file_size=0( K* X  c6 {* B( Q& X
  1974. + j" M0 Z( O* _" ]6 b' o/ W' |
  1975. ; Check the cache checksum each N requests.; d! [$ u0 H/ w* H, `" K
  1976. ; The default value of "0" means that the checks are disabled.5 V/ h( Y' F% e' C9 g% f
  1977. ;opcache.consistency_checks=0' \0 O. k: m: {+ w3 ]
  1978. # x$ v; z. W) j; L  [9 U
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 h( d. `( c( a7 g% G) R9 j
  1980. ; is not being accessed.. Z! u. x! `  W8 S" X7 ^
  1981. ;opcache.force_restart_timeout=1806 E" p2 _* W% k  Q

  1982. : C& x4 N, [  v: o
  1983. ; OPcache error_log file name. Empty string assumes "stderr".- D2 |- e+ K8 `' e1 H4 X
  1984. ;opcache.error_log=
    / r, L* j( ^  d5 b. z* Z1 A
  1985.   r  |7 o  r, Z5 y& ]. x- `& M
  1986. ; All OPcache errors go to the Web server log.
    7 S% y/ X/ p7 \
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    3 h8 Y9 p) _$ F1 r  A1 Z/ I
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    , L, E% P$ R! L9 u0 E1 z! _
  1989. ; debug messages (level 4).3 [4 P% v2 o# D5 m% {: G! ]
  1990. ;opcache.log_verbosity_level=1: T/ P% z, i% i0 C: s& v
  1991.   m5 R* V( u$ h+ G; }3 r; k
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 x" f; q3 K$ `+ ^$ N" d
  1993. ;opcache.preferred_memory_model=' C6 S' a- q  M
  1994. & t4 [$ r6 X9 W+ t
  1995. ; Protect the shared memory from unexpected writing during script execution.% |1 O% M" b& L. f( n0 {
  1996. ; Useful for internal debugging only.$ `+ h$ H4 M/ D9 H  L
  1997. ;opcache.protect_memory=0
    4 N) u; B# K8 R6 k  y' ]4 C& N

  1998. $ Z- ]3 l! Q7 P: V, E
  1999. ; Validate cached file permissions.
    % G3 A# p! Z% T3 _2 l# c* D. j8 h3 g
  2000. ; opcache.validate_permission=0
    - }) t/ p! b* `

  2001. ' p7 r; e+ R; a. l& Q2 g
  2002. ; Prevent name collisions in chroot'ed environment.4 \2 l) g+ F# f& P% |$ u, v( Q
  2003. ; opcache.validate_root=0" M9 f0 L& b' f; z' s  @

  2004. ( Z$ `* K) ]) o- U2 I
  2005. [curl]+ R, n' ^' z& {3 g. y
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 g( B. q( Q9 T" `) q& M
  2007. ; absolute path.
    3 o) U5 o/ d' f9 n* R% s' ]) c
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( U1 ^! l+ N! ^3 x; i! P
  2009. 7 T8 D# H$ W" I* Y/ G+ q% o, c# u
  2010. [openssl]& c) }$ x7 q! c8 i4 _
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# {7 R$ [+ B1 ~- a* M: s
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should' o$ i0 a- ~3 @7 e  D" j* @) f
  2013. ; not specify a value for this directive as PHP will attempt to use the+ A0 U. F$ G2 t2 X! x, c4 z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still1 B9 A' L+ N& l4 |& s
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: G3 Y$ n$ _5 w0 T( u3 }
  2016. ; option.1 D( `" t5 V8 v) b5 p) b' ^
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& t: {2 L0 c8 {2 n
  2018.   t( D6 ?: f# @  e# }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the0 S) ?2 M9 v1 N9 c. O. o6 x
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    , U8 {, g/ U9 k( h: B8 J5 s: W5 c
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    - l; H: [3 c5 S+ O+ t
  2022. ; Most users should not specify a value for this directive as PHP will) ~6 X' {* k+ f, D, W2 [
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 Y$ k. ?7 e# `( f/ h
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    - J% r; L* B* ]  p5 X4 k$ d) k; Q
  2025. ; SSL stream context option.
    7 h7 M: H6 R0 }! v% h
  2026. ;openssl.capath=
    7 c# x1 O' D/ z% y
  2027. 2 p# \) y% C1 g
  2028. ; Local Variables:: x! t& O8 i$ L  d" t
  2029. ; tab-width: 4
    , w8 J, C, p4 s5 b* x% C% W) W
  2030. ; End:
    0 z) Q6 |+ G+ d1 M2 d% K' R4 F
  2031. % O& a0 _! R9 _
  2032. ;eaccelerator: i/ Y4 @( ~, i$ Y1 d1 U. O

  2033. + t/ R1 }  _( `; W# K/ b
  2034. ;ionCube
    - Z2 w1 \! E( Y) ~& ?* R

  2035. ) z) w* v/ N3 b0 P* ]
  2036. ;opcache
    ) \( b  n" i8 U3 l
  2037. $ u# e2 j: ^; Z) u% P7 Q
  2038. [Zend ZendGuard Loader]
    " q+ S; T& }1 @, h3 M7 r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so" Q) A. B, p1 p; [% N! ?& M; p
  2040. zend_loader.enable=1
    ( J; A; ?/ _, Y) Q3 D1 ]9 f/ a* o
  2041. zend_loader.disable_licensing=0
    2 z( n% e8 Q8 b- J8 _/ k
  2042. zend_loader.obfuscation_level_support=34 ~: L; K* h5 V7 d4 d
  2043. zend_loader.license_path=
    # U/ ^6 \* F4 d
  2044. . r, @: Q8 P+ ]3 i7 Z% a. z& J
  2045. ;xcache
    : n  [/ y6 v7 O, I
  2046. 3 N8 x3 A  ]  w  B: C8 {3 K# o7 @
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
' w7 O' k" b  f6 p% `$ u5 A6 P" d: B7 }4 C
% ?' I- C0 f7 r
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- A7 D$ n/ ]! {! ]7 {+ c& R
, V& f, s5 s  E* Q7 n7 p: ?
Discuz!程序版本选择:) d8 i7 {- w0 Y' r
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,: u0 m1 D- Q6 K1 a! g
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 u! `/ X* M( J* l8 t6 G
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。+ z+ v! B0 B" C7 R8 e, k/ I

: ]  U0 X- @# u8 y/ JDiscuz!插件模板版本选择:/ F0 }; P. M5 G8 n
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,/ u5 `: p% e+ Q  y7 Z) y
针对这个问题做个统一的普及:
+ x2 s* @7 a) k! {+ S6 \: K* e' DX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% B/ h5 l  D5 ]2 q# G  `; q% a8 E3 S- Z1 d9 [3 ~  l
所以/ Y" p* g8 z3 ^& T
适合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的二级域名。
$ e& F3 J: t! k* @1 b' b4 G2 t打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
( q$ v' E$ d  X+ m* P3 G  q注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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