分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
& b, j( E% P  D7 S" u/ f9 @: J& D$ o+ c- }2 g+ Y: `2 @
  1. [PHP]5 v# o& ?5 d0 t
  2. . a4 t+ f' W9 y6 t% t, K
  3. ;;;;;;;;;;;;;;;;;;;4 z1 E, F; V* a7 P/ ~" V
  4. ; About php.ini   ;
    4 X" J4 N2 ?% K7 Q$ h
  5. ;;;;;;;;;;;;;;;;;;;
    ! `7 U. F- \3 L
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ K3 G5 u9 a) d& M8 x
  7. ; configuring many of the aspects of PHP's behavior.1 C7 k1 t2 P7 T* D6 z% v. _) s

  8. % x; V$ V9 Y2 ?6 I3 k8 Z
  9. ; PHP attempts to find and load this configuration from a number of locations.8 [9 ~  n9 Y  I  H
  10. ; The following is a summary of its search order:
    . d9 T; A9 k9 y
  11. ; 1. SAPI module specific location.# X( C3 Q4 d8 N: ?/ ]
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! |+ X& R; s5 R' x# G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- `! I3 v9 G; w  n; W
  14. ; 4. Current working directory (except CLI)6 Q" {. _5 V. u! i. D" C7 Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # ?" i5 u. d1 S5 }! U- O2 K+ N
  16. ; (otherwise in Windows)' T$ L8 P3 \0 @6 r6 T: S
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & \& {, B  T- D" @7 i
  18. ; Windows directory (C:\windows or C:\winnt)
    " C3 [9 A6 A9 u! Q. O! ^
  19. ; See the PHP docs for more specific information.
    . s9 L* A( j' f, J  i, F+ K
  20. ; http://php.net/configuration.file$ l% c. O+ ~6 S4 K6 G% L& ~
  21. : g4 m8 t. @( f2 z0 ]% i! {
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  k" m# c( ^0 l- o* l! ]! q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).. a2 x) H" Q4 A" N% ^3 V0 G7 n1 _
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 `" f, Q& z+ E) M$ \" a) J' x1 L
  25. ; they might mean something in the future.
    ' T0 Z+ {/ G6 R( i, W

  26. * a/ q  E$ F  k. R# @. w! N) @& Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    7 `0 D. U1 Z  Q9 \9 M
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( |" e8 F! t, M5 D
  29. ; following the section heading [HOST=www.example.com] only apply to3 [& X$ E( a1 A: I0 J" O- Z+ E
  30. ; PHP files served from www.example.com.  Directives set in these3 w, A' A8 }/ O% ~) Y3 @! H3 ?' }% U' \
  31. ; special sections cannot be overridden by user-defined INI files or
    - j" `: R; ^+ Q7 J* N; p6 K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 \  w; J9 L" M' ^4 v
  33. ; CGI/FastCGI.
    $ x' I7 H$ Z& `
  34. ; http://php.net/ini.sections
    4 Q! d" S$ O. F0 W- a7 _. ?5 D

  35. 2 O% u' E: g- E# A# Z7 b/ b
  36. ; Directives are specified using the following syntax:
    7 s' b1 o+ c* O8 o
  37. ; directive = value  n, ?) Z$ `" M" n7 U! C" _4 D" h
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.! L& {. }5 W8 C% c8 y! w. @
  39. ; Directives are variables used to configure PHP or PHP extensions.
    4 b( E9 {" J" I# r
  40. ; There is no name validation.  If PHP can't find an expected  L; ~1 l+ n; v/ _9 N1 d# [/ f2 u% x
  41. ; directive because it is not set or is mistyped, a default value will be used.
      t6 F+ E# E6 E- A; ?
  42. 8 U. B/ J0 x! {: a" E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    & Y  J: ]. G! z9 {% c
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    & M  [% j- w. c5 L' k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a5 D. y9 T: H4 G4 I9 q% H; A0 E
  46. ; previously set variable or directive (e.g. ${foo})0 g& y' K: O4 y* b+ J% R

  47. 4 Q4 t2 d" B) ~9 d: @% H
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / C+ |0 M* D& a- U
  49. ; |  bitwise OR  U0 E" m* G! u  K7 l( _. n
  50. ; ^  bitwise XOR' {$ h, y* C# u* |- F
  51. ; &  bitwise AND3 O" x. R- A! K& k3 n$ U2 |/ k
  52. ; ~  bitwise NOT
    " g% w) I* @+ z& V- @
  53. ; !  boolean NOT1 N: B4 W) _* }+ @! B

  54. 5 T) b1 i8 D) C  L/ ]2 x* O0 `
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    - V+ \4 k: z. ?1 a1 o; `
  56. ; They can be turned off using the values 0, Off, False or No.
    ; z! ~. a8 a6 P! [# O" q  u

  57. " f; W+ E/ a* D% {; G6 C; `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 \2 @* _4 G+ k$ b
  59. ; sign, or by using the None keyword:1 `, R3 P9 r2 y3 q3 K

  60. 0 ^# U* f4 w+ B9 d( H
  61. ;  foo =         ; sets foo to an empty string2 H% M6 Z1 i  ?, ~
  62. ;  foo = None    ; sets foo to an empty string( |% O% M4 G3 p( C
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! r3 S% p, b" u2 ?2 _- e

  64. ' }7 ~1 }/ X6 b2 |
  65. ; If you use constants in your value, and these constants belong to a2 z3 G: d0 }- K* J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    " }6 g! Y/ d5 B9 ?/ W
  67. ; you may only use these constants *after* the line that loads the extension.
    # H3 g) a) m6 k4 A

  68. 5 p: T. i; t& v7 \
  69. ;;;;;;;;;;;;;;;;;;;
    # N. J7 o4 V# r9 K* |1 S6 A9 d
  70. ; About this file ;+ p0 M! Y9 N+ L2 q
  71. ;;;;;;;;;;;;;;;;;;;$ C9 E+ F! i! {8 `5 H, L
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ X# x8 B( ?0 v- D' O
  73. ; in production environments and one that is recommended to be used in6 H, h0 f, J0 ^/ b* c& \- j
  74. ; development environments.
    / P" t* R# F/ T, w
  75. / ]; O' C8 ~& F0 ~3 g* V( p( D
  76. ; php.ini-production contains settings which hold security, performance and: C; U! q0 X9 T
  77. ; best practices at its core. But please be aware, these settings may break
    " o5 F! n' b, c2 G1 {+ Q+ i$ Y+ M
  78. ; compatibility with older or less security conscience applications. We) A+ V7 j  a" C# [* s
  79. ; recommending using the production ini in production and testing environments.
    ! A' {1 J6 q1 U/ [) ^6 |; V

  80. ! x! a/ @4 j9 k8 I3 D0 c! p' U
  81. ; php.ini-development is very similar to its production variant, except it is
    4 |7 R: z6 o$ d/ i) w, E
  82. ; much more verbose when it comes to errors. We recommend using the
    4 ~# b8 W, S0 G; A+ p0 g6 `# X
  83. ; development version only in development environments, as errors shown to
    ) q: [" X- N* H4 `" c
  84. ; application users can inadvertently leak otherwise secure information.6 R& B+ ]% _) q, l  X8 G* z

  85. ! q; n7 Q0 B% q- y4 ^
  86. ; This is php.ini-production INI file.
      M3 W1 p2 C' N% g1 \7 ?
  87. + |2 |2 r: B2 Z+ U
  88. ;;;;;;;;;;;;;;;;;;;
    & O, w; z9 t. @6 b6 Z& K
  89. ; Quick Reference ;
    5 `: }) f- W% S) g( G" W0 f( w
  90. ;;;;;;;;;;;;;;;;;;;
    9 W9 U8 |- H7 K4 x9 }: e
  91. ; The following are all the settings which are different in either the production
    $ T7 L1 P5 M3 U; y. `* C# Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.) U2 o! U& \% C% Z5 }( `( L
  93. ; Please see the actual settings later in the document for more details as to why
    2 j/ s2 G1 O' p/ `3 m; v
  94. ; we recommend these changes in PHP's behavior.
    1 }4 \$ |5 r% d% D, g. p  ]% o

  95. ) [* X# N4 e( R& \7 u
  96. ; display_errors/ x: L2 g9 e2 ?; Z1 K2 ]
  97. ;   Default Value: On
    : o  K# Q+ C! E. f' J! ?$ I. r
  98. ;   Development Value: On
    3 F' s0 O, _6 `% N* H! y
  99. ;   Production Value: Off
    9 B5 Y7 s; [0 l
  100. 8 A  U4 J+ A+ y. \' b
  101. ; display_startup_errors
    ; |5 o- T8 V  B2 W
  102. ;   Default Value: Off: B$ L1 f5 X" F- m/ c
  103. ;   Development Value: On
    ! k0 _7 p% S" O6 L8 }+ J$ N* h/ ]* c
  104. ;   Production Value: Off+ h# |, A! Y  ^* S

  105. " i2 f- {) P& l2 ]& _% s7 d
  106. ; error_reporting
    . F- n# c- Z! o6 i7 O
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. \. @+ h5 }9 B- C1 k
  108. ;   Development Value: E_ALL
    1 F( X5 c4 |, [1 ^2 m
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) }% ]( H/ ]9 L: R, k6 c& |5 G8 Z

  110. 7 H4 u4 B( K( o" Q
  111. ; html_errors
    " j5 C; H1 l1 }
  112. ;   Default Value: On
    ' B0 j2 A, H$ w- E% G' p
  113. ;   Development Value: On
    $ \$ `: Q# R, m0 X
  114. ;   Production value: On" _- |% {# F) h+ T; \+ v

  115. 9 n* Y/ ^, o/ l
  116. ; log_errors
    1 ~; P5 l9 d8 R- w4 W) Z
  117. ;   Default Value: Off
    6 J/ X  G, p0 o  c  _: ?
  118. ;   Development Value: On, R! X# o: z4 n$ Q5 l% e
  119. ;   Production Value: On1 K% T" i0 b2 ?; D4 W- n! R
  120. . w* s1 J" L. G6 H
  121. ; max_input_time  L- x: i: T6 t" w
  122. ;   Default Value: -1 (Unlimited)
    ' M) g0 ~+ b% e
  123. ;   Development Value: 60 (60 seconds)* j* z  X3 ?9 P; ^  T) d
  124. ;   Production Value: 60 (60 seconds)
    + f  [  x: t( O/ ]5 S

  125. 1 l& D! ~3 g' I
  126. ; output_buffering
    . o" h0 ^3 L4 W6 [# K
  127. ;   Default Value: Off( C3 M7 p" d; B
  128. ;   Development Value: 4096/ H9 p- p1 O# y
  129. ;   Production Value: 4096) J' q7 Y) k' {! @# K1 {6 c

  130. - s& X6 [$ O0 x# r
  131. ; register_argc_argv
    5 }: ?9 `3 }3 ?/ S7 w
  132. ;   Default Value: On( z$ E% g) t5 C! _. O- {, F
  133. ;   Development Value: Off" }' k" U7 |$ Q1 E
  134. ;   Production Value: Off2 V$ p( N% _- }
  135. 7 g9 q. I* f% R0 b3 v
  136. ; request_order
    * P; s( O+ C2 _0 E9 `6 r7 e
  137. ;   Default Value: None5 u% N3 ]1 K2 F/ H0 s" O# S% p* `8 s
  138. ;   Development Value: "GP"
    1 j2 a9 m* P+ Y! p2 [5 t6 X
  139. ;   Production Value: "GP"' v: u7 {; W5 w- h3 L
  140. / T5 r, \- F% P/ s+ A; x
  141. ; session.gc_divisor
    ) W. l2 w, S+ J* Y9 }
  142. ;   Default Value: 100, n& m* B( B  ]- W2 h
  143. ;   Development Value: 1000
      J6 }; a3 R% D- @
  144. ;   Production Value: 1000' l0 J3 @" v, v+ Q+ B/ d

  145. ! N& t+ t8 F; h' Z/ K% _4 }5 q1 ^7 A
  146. ; session.hash_bits_per_character$ B3 b6 Z6 {% Y- w. |  y! H
  147. ;   Default Value: 4/ b( y6 R4 w2 ]- s: x' b: c, @
  148. ;   Development Value: 5
    0 V: \! s+ Z) f- x! D
  149. ;   Production Value: 5
    ( }( \0 f4 \# G8 w/ b/ `

  150. # z8 B1 b% _! n. s
  151. ; short_open_tag
    ) v/ S  D" y7 J
  152. ;   Default Value: On
    # k; _+ _8 D. L6 M
  153. ;   Development Value: Off3 C! K& s2 W, m2 O$ b
  154. ;   Production Value: Off- [* K* \$ W3 \0 U

  155. / @  Z( y: k$ p' P5 T
  156. ; track_errors
    - A# f9 B) v. ^+ m* ]: |' s  m% y) |
  157. ;   Default Value: Off, g+ z' q, b* H7 p! _# U
  158. ;   Development Value: On
    1 }# g) B0 s! ^* F! d1 W
  159. ;   Production Value: Off* J# H" s$ u* x- m$ x
  160.   F9 w4 b  w4 M5 g3 x
  161. ; url_rewriter.tags9 t4 v6 |  ~/ }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( L. E  b* K( d8 `# B$ ?7 T# J6 I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) h& ]9 _% I7 A' u9 b- k1 y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' S1 V+ P! q4 l  @

  165. . N+ t3 ?. G0 @7 I3 M
  166. ; variables_order
    2 ~7 x- V( x: K
  167. ;   Default Value: "EGPCS"& |! z% I$ v0 v3 n$ g/ `9 D
  168. ;   Development Value: "GPCS"
      s( e7 q: u* f+ F) T) X+ R
  169. ;   Production Value: "GPCS") `) _1 T7 s/ l* e* D

  170. 5 {, E7 @/ C* m
  171. ;;;;;;;;;;;;;;;;;;;;
    6 C  m. B. a6 j  p4 X5 ^
  172. ; php.ini Options  ;
    8 ~0 J' r( W7 ^* U& w2 T4 L; r* e. w
  173. ;;;;;;;;;;;;;;;;;;;;
    . k9 V/ G2 S$ `
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 B8 [- t" h1 j4 s
  175. ;user_ini.filename = ".user.ini"8 ~  k* ^* f) E. q  U1 ]' N

  176. % u* W: |/ C, c- f) B( h5 Q
  177. ; To disable this feature set this option to empty value" J  r* l  C0 Z5 Y$ y+ B
  178. ;user_ini.filename =
    . W! Y- b# h" J- n4 P, A2 m) K
  179. 9 ?$ f  q9 Y: }% Z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . u$ n% }% m( G+ z% h
  181. ;user_ini.cache_ttl = 300
    $ o9 P% p$ y9 \& x4 R; ~0 L( P
  182. 7 ?7 z3 M2 F/ P" y( N
  183. ;;;;;;;;;;;;;;;;;;;;" E3 n! K: [7 o  S! _& D8 K) C
  184. ; Language Options ;
    / C. p- }' W1 ?2 z1 S
  185. ;;;;;;;;;;;;;;;;;;;;& p! ]! L, ]' I& _

  186. 4 b$ ]5 Y8 H0 G
  187. ; Enable the PHP scripting language engine under Apache.5 w; _- J# D! |0 R; C
  188. ; http://php.net/engine/ G' {2 E- ]/ e+ \. J8 G' v  K; i! |
  189. engine = On1 u+ {6 q9 R* \  {- o( y- I: e
  190. " ?0 y) Z: }) _3 C) S$ {
  191. ; This directive determines whether or not PHP will recognize code between( {+ ~( @: C8 X3 k' k9 |0 w) d' M
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 E- R2 @+ E7 w8 ~3 G
  193. ; generally recommended that <?php and ?> should be used and that this feature
    / f7 _3 t3 Y3 U/ C* Q- Z; \; a
  194. ; should be disabled, as enabling it may result in issues when generating XML; I. T0 y; H3 [7 L  S# y
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 L8 y7 k$ P" c. ]- x  i
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    : n$ g: W, v2 c0 T( P8 w
  197. ; used regardless of this directive.
    * h, L- @+ ~4 r' p
  198. ; Default Value: On/ L5 @! d' [2 c+ ^- u9 G
  199. ; Development Value: Off
    ) }/ q% M0 c' e. _0 j
  200. ; Production Value: Off
    & z0 p  k, T# n, s0 J  }- [
  201. ; http://php.net/short-open-tag
    & v4 u* k8 o; q7 K: g4 i! Z. A
  202. short_open_tag = On1 ^8 i" m3 Z" R# \
  203. : M$ T% P1 i) F. }: C
  204. ; The number of significant digits displayed in floating point numbers.% Z) s& ?, ~: ~: R9 G5 c
  205. ; http://php.net/precision. I) u; ^& E8 F
  206. precision = 14
    * m1 g+ [& f; j+ V+ R3 o

  207. - G5 S( R3 a. l9 A
  208. ; Output buffering is a mechanism for controlling how much output data0 ]9 R" L) s: D2 d% v
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 r9 Q4 n, K9 {% J/ Q8 ?' ?. q( F
  210. ; data to the client. If your application's output exceeds this setting, PHP
    8 d! a  `! j1 O
  211. ; will send that data in chunks of roughly the size you specify.) H0 e7 ~2 {1 v/ f; M5 o; R
  212. ; Turning on this setting and managing its maximum buffer size can yield some4 j) r8 ]' W6 L- m& {2 D
  213. ; interesting side-effects depending on your application and web server.
    ; S! I# Y. M) {( S( l3 m% u, V
  214. ; You may be able to send headers and cookies after you've already sent output: f3 E6 E9 M: I" v
  215. ; through print or echo. You also may see performance benefits if your server is% |; J! _9 B4 b5 |
  216. ; emitting less packets due to buffered output versus PHP streaming the output+ j4 ^. L  F" i) P
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% E7 o( H0 `; F, \/ _
  218. ; reasons.8 H8 b/ b* T8 l
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( s4 j! s! T& Z
  220. ;   functions.! r, O; g$ M5 D
  221. ; Possible Values:
    % C! t4 @( V/ p% F# z9 ~
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 P/ l5 {. `0 |4 M" r
  223. ;   Off = Disabled0 g2 O: W$ S- S
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.  _2 ]1 |3 C/ I: e
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI- T: R! {1 M2 K: d3 M
  226. ; Default Value: Off1 |- }; L5 i* a; F3 M5 l
  227. ; Development Value: 40960 s$ X; f2 x2 G& O
  228. ; Production Value: 4096
    % a5 Y( q1 B+ H" Z$ m9 b
  229. ; http://php.net/output-buffering
    - Q8 n5 ]' K6 e& r* u! ?. [1 f$ E
  230. output_buffering = 4096: A3 f$ V( U3 c' O3 f0 T9 v1 h

  231. * s) c) i( v4 ?! t/ b( @
  232. ; You can redirect all of the output of your scripts to a function.  For& W, s+ y- h' E& f3 I5 g
  233. ; example, if you set output_handler to "mb_output_handler", character
    . x/ _9 l: E0 R. h$ M1 p) H
  234. ; encoding will be transparently converted to the specified encoding.; k7 c8 F1 |  i) x4 k* c: _; w+ R
  235. ; Setting any output handler automatically turns on output buffering.
    4 S! s2 }* r" B
  236. ; Note: People who wrote portable scripts should not depend on this ini
    $ b" d$ G9 q! ~& @. w3 f
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. W2 v, [4 \# @3 C4 m1 C7 o4 n
  238. ;   Using this ini directive may cause problems unless you know what script2 P# D. `% d0 l6 D% x0 j" i# p6 R
  239. ;   is doing.# s8 S8 s1 z$ C0 _+ Z4 ^8 C1 f: l
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    , R) ?  |4 B" b
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 {7 l& m. }9 G0 y
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; J3 D; A; \% p4 c
  243. ;   Instead you must use zlib.output_handler.
    9 {" ^& U7 g& ]9 A: v2 o
  244. ; http://php.net/output-handler
    6 d1 i/ k9 Y$ l
  245. ;output_handler =
    ; {* H. h* Q# m, q& B
  246. ; {6 g8 P& ]- b5 m5 ?- }" I1 g
  247. ; Transparent output compression using the zlib library0 D" o$ @( Z$ E; m
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # R; ?# ?/ |: q
  249. ; to be used for compression (default is 4KB)
    ' m6 d$ t9 e9 R: ?1 ]
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    9 ]  M+ s, n+ |3 g  I
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ( K8 E, `- I) K0 T& P8 `
  252. ;   compression. If you prefer a larger chunk size for better
    7 S2 R  b2 a) q; z* Y  |
  253. ;   performance, enable output_buffering in addition.
    % j! k3 a% D/ i: A; E& Y) H
  254. ; Note: You need to use zlib.output_handler instead of the standard
    7 d# d/ I. K, f  D
  255. ;   output_handler, or otherwise the output will be corrupted.( {; _5 _* f& x9 l" a- `3 N+ O
  256. ; http://php.net/zlib.output-compression2 |* B- m, \: f# Q
  257. zlib.output_compression = Off2 v! e7 ?8 W- p6 F4 g: o) k/ u

  258. ' M  I" _( O) u& S) y. ^7 `" n
  259. ; http://php.net/zlib.output-compression-level7 c4 p3 x3 u. R) U. ]
  260. ;zlib.output_compression_level = -15 N  ~" p7 J: m( ?* n' E
  261. # o. J7 G- _: H
  262. ; You cannot specify additional output handlers if zlib.output_compression$ U! }; h3 \& \* S4 m! n/ w9 n
  263. ; is activated here. This setting does the same as output_handler but in' e& t) n& p* g2 [1 Y
  264. ; a different order.
    $ g' T1 z1 n  F" s0 z# r
  265. ; http://php.net/zlib.output-handler
    " I3 K0 G( L7 G$ t
  266. ;zlib.output_handler =
    7 R  z9 c% {8 u

  267. ' b( q) c! F' g# H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / t% j) |- }1 U, f, G7 l9 n
  269. ; automatically after every output block.  This is equivalent to calling the
    # X, @, D1 `: x5 F3 o7 p
  270. ; PHP function flush() after each and every call to print() or echo() and each
    $ V$ H% A; ]) i; ?, L7 L
  271. ; and every HTML block.  Turning this option on has serious performance
    ! U0 X! E6 I. ^0 u. w
  272. ; implications and is generally recommended for debugging purposes only.
    / t' ]( q& j  V1 J& N1 p
  273. ; http://php.net/implicit-flush: j* a4 J3 {+ P; L6 W
  274. ; Note: This directive is hardcoded to On for the CLI SAPI# ~8 k  b. O" X+ t5 y' b# [: C
  275. implicit_flush = Off
    & a0 K9 Q$ q) `" o+ k0 X5 T( S

  276. 3 [& _2 H# Q7 _4 \) z) ?1 ~
  277. ; The unserialize callback function will be called (with the undefined class'
    # D# e. j5 g- L, r  a% k& v2 Z( D
  278. ; name as parameter), if the unserializer finds an undefined class
    * C# M; P2 I: L9 R$ u* m* m
  279. ; which should be instantiated. A warning appears if the specified function is
    9 K# |/ [; }5 o) n8 i6 s! r
  280. ; not defined, or if the function doesn't include/implement the missing class.3 ?  B! Y# n% Z/ z
  281. ; So only set this entry, if you really want to implement such a
    2 T9 ~; I% |6 g5 `: E
  282. ; callback-function.
    " a1 t$ t) G0 G8 K
  283. unserialize_callback_func =
    8 J4 }7 t6 i: t% u
  284. + M/ x& v# x. _7 Q, E3 @4 D
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) u/ Z- y+ Q% `$ d( T9 H# J
  286. ; digits after the floating point. The default value ensures that when floats9 B8 `# \6 }/ J  V: G) ?
  287. ; are decoded with unserialize, the data will remain the same.8 Q5 @- M! C: |9 S% ^
  288. serialize_precision = 179 _) m# n" p4 j4 {  }5 y  _
  289. 4 R2 g  T: }& m& g! m/ p' H" f
  290. ; open_basedir, if set, limits all file operations to the defined directory2 W- z0 v: E% s1 p& P$ K8 Y
  291. ; and below.  This directive makes most sense if used in a per-directory" h) j; M+ c+ }4 i0 y0 E
  292. ; or per-virtualhost web server configuration file.
    3 Z/ t6 [9 S+ |, s. e" O8 P2 G
  293. ; http://php.net/open-basedir& o: `5 j, z. ^
  294. ;open_basedir =) h; }0 T7 S! k0 [& N( S
  295. " k% m4 }7 O( ~  y% R! `8 D# l, n
  296. ; This directive allows you to disable certain functions for security reasons.
    4 `% b7 f; i: K( R
  297. ; It receives a comma-delimited list of function names.; h* s4 E+ x- v3 J" W- J8 F$ u
  298. ; http://php.net/disable-functions9 |! Z. W) p  T- @1 _
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) V8 P5 B3 i* ]  g$ N
  300. - u, y& ^1 K2 |( _, R
  301. ; This directive allows you to disable certain classes for security reasons.. `& P% V/ D8 t. h8 s5 G2 ?
  302. ; It receives a comma-delimited list of class names.1 U" f# a- ]( ?$ f
  303. ; http://php.net/disable-classes
    & m# J7 z1 c8 ~. G* V
  304. disable_classes =
    8 X2 E7 i' a' v! M- Y1 \1 i
  305. $ d  U& e8 F6 e
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    . ~  m4 b3 D" k/ F! F5 P
  307. ; <span style="color: ???????"> would work.
    ; x  e' c4 T) b1 u# _3 \
  308. ; http://php.net/syntax-highlighting
    1 A6 T. |0 S; Y7 g, t# D
  309. ;highlight.string  = #DD0000
    ; t) E1 F! u+ x0 m* W
  310. ;highlight.comment = #FF9900
    0 }' x+ u* H/ g6 t- z
  311. ;highlight.keyword = #007700, x. z5 r# P. u; c. }* A( L% ~  ?
  312. ;highlight.default = #0000BB) E$ ]6 R- ~6 \$ Q# E# f: Z
  313. ;highlight.html    = #000000: j# I+ Z( n& ~- e; A

  314. , G$ f( j- T% ?3 N
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + [: o# {6 t# G" N5 c3 K4 U
  316. ; the request. Consider enabling it if executing long requests, which may end up1 g" Z7 l4 N$ U. ]  r9 x9 J
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & ~. Q- ]  z9 ]& ^
  318. ; is to disable this feature.8 Z# d2 [. ~; @# v+ z$ I9 s+ N7 C
  319. ; http://php.net/ignore-user-abort! i& z  a* C. l% ^
  320. ;ignore_user_abort = On
    3 z$ `; I- Y, ]* \. N1 w# h

  321. % P8 g0 e( ?- z, n( o
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    % b8 t, @* |0 L  O6 R, `3 m
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    7 N) Q  A( F4 f: c
  324. ; the file operations performed.
    8 P" e, U/ @8 b7 a" W7 V4 t
  325. ; http://php.net/realpath-cache-size
    - r# A/ O; l3 v& Y3 V0 F! M
  326. ;realpath_cache_size = 4096k
    : n$ n/ v, z+ {; `8 F

  327. - S) ^3 f6 k5 U. `6 ?2 e3 i' O5 W
  328. ; Duration of time, in seconds for which to cache realpath information for a given$ ]( d! X" `1 x6 B: h2 x
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 h$ A+ U. O# V2 N0 l+ a5 K4 |  ]6 B
  330. ; value.( w( ~9 Q+ N$ Y1 a
  331. ; http://php.net/realpath-cache-ttl
    : M( N! w0 u; [3 X% s
  332. ;realpath_cache_ttl = 120
      }* N7 i* m: R# P! K* G

  333. 3 g: o8 p# B3 R' E, X% i- B$ s
  334. ; Enables or disables the circular reference collector.
    # k6 s# f1 k9 q& W1 n
  335. ; http://php.net/zend.enable-gc
      [8 z; z, M1 ?6 j
  336. zend.enable_gc = On) V7 |1 p6 [. E5 h2 z8 K
  337. ' e# A0 ^2 N2 b3 i8 K  X, A
  338. ; If enabled, scripts may be written in encodings that are incompatible with% N, Z1 ?! x: V( H/ `% B
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such) H. J  g1 ^. g4 z/ s( J. `9 [
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' @" ?, H+ f9 F+ `5 ~0 M3 T; X
  341. ; Default: Off* D/ ?" o2 k0 \, C1 w. \# D
  342. ;zend.multibyte = Off- f& v$ l! I& y2 x0 j4 U& ]

  343. 8 N( f6 f8 J9 ^3 j7 m
  344. ; Allows to set the default encoding for the scripts.  This value will be used8 M4 x( N8 x& v
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.7 B4 o# R% G4 j1 k- S1 l
  346. ; Only affects if zend.multibyte is set.; [( l8 f  o% u, |/ a. V
  347. ; Default: ""
    ) J, Z4 j# P* Y# T$ X) e7 h, W9 \  \
  348. ;zend.script_encoding =
    + F  I, ~/ c& l- Q. S. F
  349. & f/ ~8 X+ W! e; U. g
  350. ;;;;;;;;;;;;;;;;;
    , O8 }. {& I3 Y+ H  m% E
  351. ; Miscellaneous ;; |% l4 C+ f9 v4 `5 M
  352. ;;;;;;;;;;;;;;;;;$ q/ _! b! x" I; f
  353. 1 ?; w" c& z  {9 b6 l- `9 A1 B# M
  354. ; Decides whether PHP may expose the fact that it is installed on the server2 Q9 Z. K8 P+ A5 y8 M. L' K; L
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* V% s( \# B6 p+ G7 e) d; z
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    - D8 A0 k4 e" c5 \  a
  357. ; on your server or not.9 ^. T& d2 o' I; O3 O6 m9 B! k( F
  358. ; http://php.net/expose-php
    : G2 x* b3 H2 E4 U2 x
  359. expose_php = On  {$ h" a' u9 d8 _

  360. / c+ A4 _, x  N
  361. ;;;;;;;;;;;;;;;;;;;
    # o% k3 ]0 _5 G" z" E
  362. ; Resource Limits ;
    1 r) [4 G' D, \; l% N
  363. ;;;;;;;;;;;;;;;;;;;
    9 j; [2 C% M, O6 V1 k5 H3 c( c2 W
  364. # G" S: F  U2 _  V5 _% X" J( [
  365. ; Maximum execution time of each script, in seconds
    ! r8 y: v9 t4 x. A6 c: U; Q
  366. ; http://php.net/max-execution-time
    1 _& Q1 L# c0 d( i
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! f! D: X: r( B4 s: T+ J, X  J1 I
  368. max_execution_time = 300
    ( c0 J. v6 p6 a$ a" \

  369. + ]3 S8 b0 E/ i# v1 _1 Q7 {
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ t1 ?5 D$ I( x% t2 Y: A
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ! `: z; J1 N4 B( ~
  372. ; long running scripts.
    * N- @+ m4 |2 _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    4 J2 P4 _* N5 e1 B& x
  374. ; Default Value: -1 (Unlimited)* g2 I$ \! X- D+ S0 H( m
  375. ; Development Value: 60 (60 seconds)
    2 @$ l: ]1 L. ]8 e& G+ ]
  376. ; Production Value: 60 (60 seconds)
    & I( F7 z0 x8 G
  377. ; http://php.net/max-input-time
    " X# H) m3 j* D# k0 j
  378. max_input_time = 601 L8 D2 L( D$ E6 |  H/ Q3 x' W: E
  379. - @3 q+ H4 T; E- i* n# R. n
  380. ; Maximum input variable nesting level
    , b8 L. d7 H0 e  o
  381. ; http://php.net/max-input-nesting-level1 }9 {$ A: f7 d
  382. ;max_input_nesting_level = 64
    5 _4 h8 \2 n: w$ K# Z9 r+ {

  383. 4 ~( v( V& B3 w) {2 {
  384. ; How many GET/POST/COOKIE input variables may be accepted
      h5 u1 f" u/ J- ]( P# Q& ^# B
  385. ; max_input_vars = 1000
    " Z" n# M2 E4 E8 o- z) ?5 H

  386.   \! Y& G( z1 {( S1 l
  387. ; Maximum amount of memory a script may consume (128MB)
    # B: {5 R7 |- D2 @1 i) h- T) i
  388. ; http://php.net/memory-limit
    8 u- w" k6 ]; [! O0 J0 B% I1 H; d
  389. memory_limit = 128M
    # y6 q1 q) G' t  F6 n0 A% z+ E

  390. + B/ n6 c+ U1 [6 K6 O2 R7 {
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 {% {1 \* T0 r3 w3 v
  392. ; Error handling and logging ;  s* ^) Q9 m' M$ k. w
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- w) [/ G- k; T9 [5 r3 t

  394. 1 m; U, ~( I1 J# h
  395. ; This directive informs PHP of which errors, warnings and notices you would like# c0 _6 {1 x7 v7 e
  396. ; it to take action for. The recommended way of setting values for this6 Y- L) S; g2 _5 D
  397. ; directive is through the use of the error level constants and bitwise7 f5 X$ N4 L; N  z8 T4 p  M
  398. ; operators. The error level constants are below here for convenience as well as
    2 a  k% I+ B0 T0 ?; H9 d, n8 ?& }
  399. ; some common settings and their meanings.
    6 g+ s" o1 Z: Y. g3 E; S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 ~4 e; h8 M- F, ?! }* c7 _' p
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ x. J  O' @2 T. O8 p  C- S
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ; _7 `  I* U4 a8 c: o  I
  403. ; recommend error reporting setting. Your production server shouldn't be wasting" }+ v- c, M  R* Z; `6 A$ Q
  404. ; resources complaining about best practices and coding standards. That's what
    * W) U) c7 f5 T/ r
  405. ; development servers and development settings are for.! z; x/ R: B7 n' V* e- H  F- x) j
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    5 C" L, F' r6 b" c2 n4 A& U1 }
  407. ; means it pretty much reports everything which is exactly what you want during& F; b0 k+ T8 {1 Z9 t4 g8 W
  408. ; development and early testing.
    - [$ b* @) ?' w* ?3 y
  409. ;
    5 {. g+ i% N+ z/ ~
  410. ; Error Level Constants:4 _2 [: G$ z( N7 L) t$ i5 N
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). K% Q+ q( z. ?8 z: o# X
  412. ; E_ERROR           - fatal run-time errors
    " m$ q  w" \( B5 t! q* f" O
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors, e2 m  x8 Y) b- m: V2 ]; Q
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    : K- \6 P2 e% X/ F9 u2 j% `
  415. ; E_PARSE           - compile-time parse errors
    + b* Y" d* [- b. d  p; m2 N
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 V) B9 ]$ \2 H+ P2 O3 |
  417. ;                     from a bug in your code, but it's possible that it was
    , ^, T& }* F+ D. t  N8 U- {8 P/ w9 f
  418. ;                     intentional (e.g., using an uninitialized variable and
    9 |4 T) ]+ z: G7 P
  419. ;                     relying on the fact it is automatically initialized to an+ u  Q1 G( P3 U: y; f  B
  420. ;                     empty string)
    - X7 C! K4 `  N1 P
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    - H0 k, Y. X0 Q9 d" J  K' h
  422. ;                     to your code which will ensure the best interoperability
    ( t3 q0 w( C" W  q) D6 Q" d
  423. ;                     and forward compatibility of your code
    # C; p5 z$ o5 a
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. Y! N: U. L9 q- v: J! m; M
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      L, W/ q! x' |) E" b8 y
  426. ;                     initial startup- y- I% O, m5 c
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    % _) K/ v7 T3 `3 ^
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 V. d1 J0 J, B9 e& M
  429. ; E_USER_ERROR      - user-generated error message- \) _# i9 G  D* n1 b; _4 q
  430. ; E_USER_WARNING    - user-generated warning message
    2 H, f1 Z- J- ^# d8 F
  431. ; E_USER_NOTICE     - user-generated notice message
    3 L& r8 q1 H, Q6 L/ C
  432. ; E_DEPRECATED      - warn about code that will not work in future versions+ h- d6 _5 G1 j7 E
  433. ;                     of PHP/ N" [( U; _$ t' W1 n
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * y8 K3 A: E0 K3 V+ A( F& S/ A
  435. ;
    " Y- L' ^4 B: w8 {
  436. ; Common Values:
    & O/ L& n, K7 f% T# Y& I& \' x  X% e
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)$ W% C$ T. _0 N8 L6 ~: m. p
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 X" I1 X- |7 [0 k4 `% P
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 \4 D4 s' S; O& r
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    - N. H% F, H7 X; P: a8 k# b' e
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) `0 K, r3 }+ C' V$ N1 Y0 }
  442. ; Development Value: E_ALL
    6 C/ v8 `1 g% o  e8 m
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' O! T! ^5 o& }5 Z7 d' [/ j
  444. ; http://php.net/error-reporting. d. f5 ^/ a. L0 e' ?$ l1 h
  445. error_reporting = E_ALL & ~E_NOTICE9 d, T" |1 N5 A/ h
  446. : S" g% C/ o& H, |! ^! o
  447. ; This directive controls whether or not and where PHP will output errors,
    $ W/ K' i/ {% y# f' g
  448. ; notices and warnings too. Error output is very useful during development, but. u! |+ I; m/ o
  449. ; it could be very dangerous in production environments. Depending on the code
    , B; X/ G. u7 T# z" Q& ^
  450. ; which is triggering the error, sensitive information could potentially leak
      h2 r9 _0 Y. K. c2 v- ]8 D
  451. ; out of your application such as database usernames and passwords or worse.9 H9 k* k: j9 U& e2 m9 ?/ l
  452. ; For production environments, we recommend logging errors rather than6 Q$ D2 |/ ~: K7 v% D- G
  453. ; sending them to STDOUT.
    9 ?5 c( F8 w. T: \( X, U( v
  454. ; Possible Values:! m  ?) ]6 ^, \% U# Y
  455. ;   Off = Do not display any errors
    3 ?7 c: i( b0 q- y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)  `6 O9 H) c! P1 Q6 j. I( h+ X
  457. ;   On or stdout = Display errors to STDOUT
    6 C9 B; W/ o% R( e! ^
  458. ; Default Value: On0 x5 I6 P3 G9 e
  459. ; Development Value: On, i2 p+ h! c: I3 G7 G# @3 q% s! P
  460. ; Production Value: Off: A! n0 x3 @: v' C
  461. ; http://php.net/display-errors" k, P( C1 P% n9 ]# q
  462. display_errors = On$ i5 d+ y1 f& d9 `

  463. % E! T4 u2 V8 u# a2 }! k7 [
  464. ; The display of errors which occur during PHP's startup sequence are handled; n2 v) V/ r1 v; Z
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    7 R$ [7 {) k4 K, \1 J
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    . \" H; ~& ^2 C& \% e9 K8 L
  467. ; debugging configuration problems. We strongly recommend you' Y+ o" l: f; h  `
  468. ; set this to 'off' for production servers.
    " Q* G' i4 n+ J( D3 H( z8 i) A1 T' G4 \
  469. ; Default Value: Off  ~- d5 w; W) s. [
  470. ; Development Value: On
    % A2 @6 P- A1 Y3 q6 h- o2 N0 {. t) [
  471. ; Production Value: Off* E" c. S: G5 O8 T
  472. ; http://php.net/display-startup-errors
    ! x+ S: [, Y, U
  473. display_startup_errors = Off+ U9 Z' R: u2 Y8 ?6 J3 B

  474. % D5 p0 O9 I* h% g
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 j- i- }7 B' q! `* v1 j
  476. ; server-specific log, STDERR, or a location specified by the error_log
    2 ~8 q6 E4 Z, ~6 `3 a- v0 P- \5 Y
  477. ; directive found below. While errors should not be displayed on productions
    0 w7 j' Z' S+ c  I
  478. ; servers they should still be monitored and logging is a great way to do that.
    1 f9 d& J7 [6 C, z/ D) L
  479. ; Default Value: Off/ f5 B) k' w& K! \" F; ^& N7 G
  480. ; Development Value: On
    & g, l0 W, o! N  e6 Z8 Z7 h
  481. ; Production Value: On
    ) v8 h+ C" S! N* {
  482. ; http://php.net/log-errors( S- q) ?# B/ d- u
  483. log_errors = On
    ( _2 K( T5 `7 x/ }1 l& |

  484. ; M  e2 i6 o, p4 \! z8 k3 B
  485. ; Set maximum length of log_errors. In error_log information about the source is  ^" l7 {, J8 H' u8 G7 u* i
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 d% |$ X' e( h( L- R$ _, C
  487. ; http://php.net/log-errors-max-len6 g- a, ]+ L' v
  488. log_errors_max_len = 1024, o# @2 ?! n' V+ }; _" K

  489. . `' F! x  }- p' v7 h0 R0 P
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! k; C1 M3 T6 ?$ l+ l9 n5 {' Z- P& i
  491. ; line unless ignore_repeated_source is set true.3 \8 d7 N6 ]0 D: z; X
  492. ; http://php.net/ignore-repeated-errors
    $ P' e: H6 A- n+ Z3 c4 c# d
  493. ignore_repeated_errors = Off
      @( A3 ]" z! N* G( N7 E3 g4 b, x

  494.   {! z. J# I1 K  [/ j% G9 B
  495. ; Ignore source of message when ignoring repeated messages. When this setting( Q) S% q" E% R' t) g+ h
  496. ; is On you will not log errors with repeated messages from different files or4 p( W2 N0 Y" h$ V1 m5 G7 l
  497. ; source lines.8 j" V4 v$ r& u# Y( w. v
  498. ; http://php.net/ignore-repeated-source% E+ {; E5 V- S, C3 a& S
  499. ignore_repeated_source = Off
    ) G0 r0 u$ U0 Y" n  _# e, E

  500. . D! `$ D4 \* P( Y
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on- H8 F) i$ e( ?8 m
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    7 f$ ~; v8 {+ Z( s9 \7 O; C
  503. ; error reporting includes E_WARNING in the allowed list
    8 M' k1 ]7 n" I. u7 v
  504. ; http://php.net/report-memleaks* G! b" s: f6 F/ B
  505. report_memleaks = On6 n% ^2 U: M+ U: H- Z
  506. # S! ]' t8 p* F, g( H+ g; O
  507. ; This setting is on by default.
    0 e8 ?# `* j3 f, @7 |, P% Q
  508. ;report_zend_debug = 0
    4 d4 d; a* a: C9 }3 C$ w3 A, {8 H
  509. 7 S3 L; F* S& U! K: d1 x' v
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 n7 b5 y1 k- Z8 a7 R3 K0 m
  511. ; to On can assist in debugging and is appropriate for development servers. It should( D* ?3 o) L9 \; S) t- R" N) F& x
  512. ; however be disabled on production servers.
    $ A2 P5 N- c  M
  513. ; Default Value: Off
    5 }" K: f# _0 m! e- I; ?9 T
  514. ; Development Value: On
    / g* D; N1 [8 E; H% S. a
  515. ; Production Value: Off, K" n1 K( V# u" w' [
  516. ; http://php.net/track-errors$ B+ r& N" r' e- r% G8 ^, k
  517. track_errors = Off
    ) G' ?) H& x# v  E# R! i
  518. , G4 ]1 ?, K7 U% l( P" Y, [3 s
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    * N% i' W- e3 u' j5 Z" m) K6 |
  520. ; http://php.net/xmlrpc-errors: D+ e8 ?  P$ x* e3 v; i/ f, x
  521. ;xmlrpc_errors = 0
    " C+ \# Z% W) e* O' Y
  522. + y5 O; i% R0 T" Z
  523. ; An XML-RPC faultCode. d4 p# i+ q; J) s! K* A. m* B- P7 u
  524. ;xmlrpc_error_number = 04 z* v1 F8 r8 S$ I
  525. . X1 }3 K' D* i9 f
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    / p2 Q! G% V0 t6 p. e, D
  527. ; error message as HTML for easier reading. This directive controls whether" F' i$ l7 _# }* [2 L! d5 c! H7 @
  528. ; the error message is formatted as HTML or not.
    6 h- `7 Y8 A. Y5 L
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 I- |; ?- t& U# a: T# s0 ]
  530. ; Default Value: On
    / b" i/ @. M( ]4 [% ]
  531. ; Development Value: On
    % A$ `6 T, d6 [! b/ z) s
  532. ; Production value: On
    5 b2 t1 B4 |) p' i, y4 K
  533. ; http://php.net/html-errors
    7 V: t7 @$ J* m8 V" d
  534. html_errors = On3 e# r7 w+ j9 B& o0 H3 n
  535. ( a' b' @( w- Y- F# a  Q( ~
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP: q( `" c. D/ M( W- P
  537. ; produces clickable error messages that direct to a page describing the error7 E8 u9 I; Q; _, N" @' n, Z
  538. ; or function causing the error in detail.
    ) K/ U# Y) R! U1 f$ v0 {& h  U  N
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    5 i6 q& }) a$ e1 Q8 F
  540. ; and change docref_root to the base URL of your local copy including the- I) q/ C, q+ J+ r
  541. ; leading '/'. You must also specify the file extension being used including6 O& F; b/ b  d9 M  j( e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which/ X' F5 b8 p* }# J: |
  543. ; case no links to documentation are generated.) g2 ^( @$ L4 U$ _4 j
  544. ; Note: Never use this feature for production boxes.$ l2 f( S6 m/ ^- l8 `
  545. ; http://php.net/docref-root1 F2 a* O' i, X, t& e
  546. ; Examples
    ) _6 E. k. O' P/ d2 P
  547. ;docref_root = "/phpmanual/"
    : T; Z5 L# {0 v% y" ?; B
  548. 1 B4 N, A/ B* b0 }$ r
  549. ; http://php.net/docref-ext
    ( n1 z+ w- k1 p7 j! s- R# W9 {! m+ e
  550. ;docref_ext = .html
    1 W. E. U0 O+ v) D3 ]. _6 i7 j
  551. 8 m& U  p; M8 I  T
  552. ; String to output before an error message. PHP's default behavior is to leave. e, D/ I( ?1 D
  553. ; this setting blank.* H/ n5 X* @5 Z* U) k( y
  554. ; http://php.net/error-prepend-string
    - J" ?% X8 D2 {9 @1 t% S* y
  555. ; Example:
      p  `8 d+ F; ?4 H
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ; M+ k) ^$ g  L; |, ^
  557. ; Q: \# U, K7 ?( r8 {9 `8 n& z% o
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 g/ z  ?) [' [' s. [7 m3 P0 U  C& {
  559. ; this setting blank.
    % J0 w) D" ?0 y3 h  E, R1 n
  560. ; http://php.net/error-append-string
    * R' n% ^: t2 z/ Q
  561. ; Example:
    ! z) [7 Y8 i+ Z& H9 v) h/ }9 E
  562. ;error_append_string = "</span>"
    0 J/ l$ i9 ]$ ~$ |0 w- L1 ]
  563. 6 }- P# A- a) i( f8 B$ j
  564. ; Log errors to specified file. PHP's default behavior is to leave this value' Z! n3 L& S/ A# x3 U
  565. ; empty.: l$ @  `; U- L2 \- o+ e9 L) |
  566. ; http://php.net/error-log
    ; p( d- c9 H9 V4 M! m& D
  567. ; Example:
    7 l" T, d& g* b3 o4 Q& Z
  568. ;error_log = php_errors.log7 U! Q* J; ~' u; [, P7 h3 ^
  569. ; Log errors to syslog (Event Log on Windows).+ D# ]! U5 H  K. P0 A- X
  570. ;error_log = syslog# N$ E& g4 v) k. B& |

  571. 1 k! c& \; T5 m. v' F8 ], M
  572. ;windows.show_crt_warning
    + f0 ?6 Z; M" }2 C+ I, P" z
  573. ; Default value: 0
    0 r; K* g' t$ b
  574. ; Development value: 0% I- Z+ T! {* u, v, k9 X
  575. ; Production value: 0* r0 ^4 n  O6 l5 h0 `) I

  576. : t1 \7 H1 L) _. h# j) l, H: x
  577. ;;;;;;;;;;;;;;;;;, g+ |$ N# d/ }' A% h/ y( Z  |6 ^
  578. ; Data Handling ;/ v+ s6 B) J% Z- d5 K
  579. ;;;;;;;;;;;;;;;;;
    , \# T6 e1 G4 j& C& \* k) ~

  580. 3 Z" C/ W8 f/ N9 _& b+ y9 B8 v: ?
  581. ; The separator used in PHP generated URLs to separate arguments.
    4 e) Y* l& O9 `  w$ W# R0 a
  582. ; PHP's default setting is "&".
    0 @( N/ V$ R" j  c
  583. ; http://php.net/arg-separator.output
    ( j5 M9 s' |4 s
  584. ; Example:2 J. a, t/ D6 |$ W) }2 G, }' j
  585. ;arg_separator.output = "&"
    1 ]% F( f8 i8 T* J- M" o
  586. 4 r9 ~9 l6 R' ?3 _3 ~! ~: A6 E
  587. ; List of separator(s) used by PHP to parse input URLs into variables.2 p; z; p) J( X8 U! i: S9 c- S
  588. ; PHP's default setting is "&".
    6 M; G! b. J; a) P2 d7 ?$ M) V
  589. ; NOTE: Every character in this directive is considered as separator!
    0 H7 y3 N) F5 X7 m- ?* o& @4 B
  590. ; http://php.net/arg-separator.input  w, y9 I1 ~; ]+ w& j" S
  591. ; Example:
    ; d3 O& q5 q* |; b4 P; k
  592. ;arg_separator.input = ";&"
    ; W& W/ a" h) U/ G3 ^1 u

  593. , R% C# {3 R! {
  594. ; This directive determines which super global arrays are registered when PHP
    - ]  K; k0 c2 E! D. Z
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 G4 h( ~6 r( M0 G: f  [
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , j0 b9 N" Q/ q$ q; ?3 Z
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    / d# {: X2 W1 q4 r
  598. ; used as the others, ENV is not recommended on productions servers. You
    , P9 t/ @: R( y  k3 M8 M
  599. ; can still get access to the environment variables through getenv() should you& L: z$ E) ]+ e. }/ W  I, D3 p
  600. ; need to.
    1 ~7 H- o6 i2 Q" Y9 m, y
  601. ; Default Value: "EGPCS"
    1 N' [) z1 c% [- |, _( U" J
  602. ; Development Value: "GPCS"
    " b. j' [4 R9 j0 u" S0 ~' [, N
  603. ; Production Value: "GPCS";
    5 m5 u0 S) }* l. U- ^
  604. ; http://php.net/variables-order
    ! B4 Y& e; ?- T" V! C9 E
  605. variables_order = "GPCS"! p1 y5 V, M8 n& k, d
  606. 5 g  b. ^$ C  J4 j
  607. ; This directive determines which super global data (G,P & C) should be' l  ~$ b' Y! G. @3 F* B( H
  608. ; registered into the super global array REQUEST. If so, it also determines
    % ~9 r4 h1 U- N* v
  609. ; the order in which that data is registered. The values for this directive
      R0 y4 A6 \4 [9 E
  610. ; are specified in the same manner as the variables_order directive,
    9 [9 |% M& V2 s$ q- q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ! `2 C# e1 v6 i$ q5 h$ J
  612. ; in the variables_order directive. It does not mean it will leave the super
      f5 b0 Y) Z: H# T% H1 P) V
  613. ; globals array REQUEST empty.
    . s. H" w! w$ K: H
  614. ; Default Value: None# A3 J& A  `4 y
  615. ; Development Value: "GP"
    2 b$ n& m2 Z# K, i& F) U8 o% m/ j5 M
  616. ; Production Value: "GP"
    4 i4 @# f/ T0 N# W, g3 Y5 M3 R
  617. ; http://php.net/request-order* B8 ~) P- z8 G# D( I1 l
  618. request_order = "GP": |7 P9 Y& Z$ a$ M
  619. , b) x' x9 x7 H, |; Y
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    , R9 S) F( [8 C+ F! x
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script: j% ?; a7 {5 R6 ?
  622. ; is invoked. $argc contains an integer representing the number of arguments# q' p) H, H1 H+ t- q& v) c
  623. ; that were passed when the script was invoked. These arrays are extremely
      b- i3 s+ n2 [, b; X% I
  624. ; useful when running scripts from the command line. When this directive is, y' u' R/ }0 F; @! v
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    & Z( t9 s. q* v6 p( u6 i2 \
  626. ; a script is executed. For performance reasons, this feature should be disabled6 G( z4 i# J& Y3 Q
  627. ; on production servers.
    1 O/ C+ C8 J% J8 N
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 ^5 S; _0 ^1 Q9 }4 [3 g
  629. ; Default Value: On
    % `: [% Y9 K- P! L  Y% [" m9 v
  630. ; Development Value: Off3 E* A+ ]" E3 A
  631. ; Production Value: Off
    , S1 d- S- R. Z- K6 s0 w
  632. ; http://php.net/register-argc-argv
    # S  q  L& B: x( q+ E- G3 }
  633. register_argc_argv = Off$ o! J+ @$ j+ L" q: b0 s: s

  634. 6 b4 i) A/ J& K) T: R% G
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 I! ]  K) Q6 ^: h5 m. H: h. D
  636. ; first used (Just In Time) instead of when the script starts. If these, Q" G" r! B! B0 e* }' j1 v7 u
  637. ; variables are not used within a script, having this directive on will result( z/ E& o, D9 `1 z: X
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled+ K1 H6 }7 x: F/ N% V$ X" {
  639. ; for this directive to have any affect.- y2 |  t/ H( E
  640. ; http://php.net/auto-globals-jit9 W* r' c0 y( y1 _' i4 z* n+ M
  641. auto_globals_jit = On( e2 _" v# @) B6 q& }1 x
  642. " ^. B& x, n) I; U/ h
  643. ; Whether PHP will read the POST data.) m4 R+ D1 D7 F9 z
  644. ; This option is enabled by default.
    * }) z4 [3 Y4 ~9 G
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 p/ F3 e, q3 S
  646. ; and $_FILES to always be empty; the only way you will be able to read the5 X+ ?! U- T0 ~' u1 J
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    4 K" w: N2 W, E' |7 a' P' z
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.1 r* N+ d; ?+ ^! ?
  649. ; http://php.net/enable-post-data-reading
    . _2 k! f/ o: C1 C2 k, u
  650. ;enable_post_data_reading = Off
    & w. E( W4 `) q; l, w, S5 E* Z4 B
  651. - F. F7 j/ k0 h3 y) ~7 b. |
  652. ; Maximum size of POST data that PHP will accept.
    ! N9 a" C: g) F% m1 I
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading, s2 Q( }, a! ?( h* Q8 \
  654. ; is disabled through enable_post_data_reading.
      a& P2 l8 `+ b0 b1 w; X# L, j5 ?/ X8 x
  655. ; http://php.net/post-max-size2 |+ \4 N' ^; Y7 H2 c( {
  656. post_max_size = 50M: X7 R, y5 u( [- L

  657. 8 p9 w5 U( `6 O- A, t
  658. ; Automatically add files before PHP document.: ^) B, y- ~( E/ D. X
  659. ; http://php.net/auto-prepend-file5 `6 J# v% W# J. L) ~
  660. auto_prepend_file =& E5 N+ O* v3 `( a6 s; \
  661. + b, j2 s3 Y" t; ~. C
  662. ; Automatically add files after PHP document.1 G& O  }" n7 O9 w5 N( r$ `
  663. ; http://php.net/auto-append-file
      w7 d* M( [7 t4 U# Y+ B3 A9 U
  664. auto_append_file =
    - ~/ J2 }# i2 E) t
  665. & v! R8 i) R% q' S5 I
  666. ; By default, PHP will output a media type using the Content-Type header. To. f3 ]' x& [% M- c+ o9 X3 G; L
  667. ; disable this, simply set it to be empty.
    5 r  X; Q  B8 L
  668. ;
    7 p) W! H' P" g9 k% y5 ^
  669. ; PHP's built-in default media type is set to text/html.
    7 C) c5 f8 s/ w9 R) g: |. W3 o$ o+ W
  670. ; http://php.net/default-mimetype
    ) {, J. e. d$ p6 O1 y% n& c$ i
  671. default_mimetype = "text/html"0 n  }3 y. {) W8 P  N
  672. , e3 r1 i/ K# W6 r! F
  673. ; PHP's default character set is set to UTF-8.
    . {4 H' J. c; @
  674. ; http://php.net/default-charset4 u- [; d1 H1 U, C7 [1 [
  675. default_charset = "UTF-8"
    # q8 y$ I( l% A4 s, Y4 U4 _4 h2 K

  676. 5 N1 J. X. N  I" y
  677. ; PHP internal character encoding is set to empty.
    9 t; `9 W  s& J/ C& P  R; A
  678. ; If empty, default_charset is used.
    6 u( j7 W. v- ]- T" L; L. [
  679. ; http://php.net/internal-encoding6 p6 b. l* _9 e8 Z# H5 u
  680. ;internal_encoding =/ w: R2 x' x% r1 l; I

  681. 2 r0 u) J; G3 o4 u& l5 V3 n, p/ ]
  682. ; PHP input character encoding is set to empty.
    5 c) A7 O- Y+ Y# w! w4 f! D) L# B
  683. ; If empty, default_charset is used.: h- T& G9 N; F' }* L
  684. ; http://php.net/input-encoding
    1 s7 N  V4 _4 _% `$ b) g
  685. ;input_encoding =5 C8 ?" k2 ]2 O8 V+ |
  686. 8 |! [3 X! K4 H! r+ \
  687. ; PHP output character encoding is set to empty.
      P; n/ P& x* d5 s8 d
  688. ; If empty, default_charset is used.: [6 k) \7 Z& e; ?" o9 @* a
  689. ; See also output_buffer.9 z4 h8 i) t' ~# v' g. O+ a
  690. ; http://php.net/output-encoding( _  n: i; O- H1 s. V( H
  691. ;output_encoding =
    3 w6 Q* \$ t; a: v4 }
  692. . h8 B, H& A# {) \7 D
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " h7 ?' h1 D" J
  694. ; Paths and Directories ;
    + y3 F) N* F4 L' Q3 \& p; W
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % V8 a, i: A+ I  v' v* D

  696. 0 {8 }. B/ s# c4 @0 p
  697. ; UNIX: "/path1:/path2"
    1 r8 N/ D# |7 k8 H, M
  698. ;include_path = ".:/php/includes"* k8 p* f4 d2 Y: Y. E
  699. ;  o( h) d3 i( n1 P
  700. ; Windows: "\path1;\path2"4 [7 U* p; e+ s, B% q8 g0 \+ O4 i
  701. ;include_path = ".;c:\php\includes"5 M8 P* s& U8 k% |3 j* C# z/ D
  702. ;
    ) g- ?0 X8 g0 X7 {4 C  W! W0 _3 H4 L
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ z' f2 q$ {+ y% B
  704. ; http://php.net/include-path
    : ]( J9 H+ l" ?3 x9 P

  705. ( Q8 y# n3 {, E' H1 h( W6 N1 C
  706. ; The root of the PHP pages, used only if nonempty./ ]' F& l* u$ L1 [" a+ A. W8 k* a
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& h7 f4 z) u' O6 w* J4 x1 v
  708. ; if you are running php as a CGI under any web server (other than IIS)
    # J* l  \, d# Q7 C9 b. z6 K3 G3 V2 M
  709. ; see documentation for security issues.  The alternate is to use the
    # g7 l; {" {4 ?8 z4 p7 @9 v
  710. ; cgi.force_redirect configuration below; ^4 h2 e# b' M5 M. e' [( @
  711. ; http://php.net/doc-root
    ) R+ {7 J1 h1 i% v
  712. doc_root =- Z2 ~5 p) p4 j' p6 b# u; s% L

  713. 0 |7 `3 m4 K! @: H* ?5 S& J0 A
  714. ; The directory under which PHP opens the script using /~username used only0 V8 I( g$ v/ A% `/ m
  715. ; if nonempty.0 i5 T8 G+ V2 c& @4 m6 g$ F; I
  716. ; http://php.net/user-dir- _" f+ t: j; t" D. Z
  717. user_dir =; G" V2 A6 ?6 E# s& Z/ a+ r, `

  718. . c; w$ E4 {' ]; z7 X# b
  719. ; Directory in which the loadable extensions (modules) reside.
    ) D" Z5 s% {% u+ ~4 m+ ?  W; o
  720. ; http://php.net/extension-dir- E2 r2 M: \" [# i! y; H
  721. ; extension_dir = "./"9 r3 b" V; X$ n
  722. ; On windows:5 ~& F6 Q; n6 S. N! e
  723. ; extension_dir = "ext"6 O; s4 k! @! W* ?
  724. - h% s& y# i/ v
  725. ; Directory where the temporary files should be placed.
    : J! _- i$ j3 G, J6 P
  726. ; Defaults to the system default (see sys_get_temp_dir)
    9 S. y& A0 j" B6 {" x6 h  e+ f
  727. ; sys_temp_dir = "/tmp"
    0 s+ }# k' y7 b( ?; a

  728. $ r0 m9 A$ T2 Z  ]$ s5 B9 u& O  A
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ! _. z( K  a/ |5 ^; `- x6 B
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 a' s: W6 T9 \8 V. i
  731. ; disabled on them.3 R/ j' X% k; a5 ]: y2 W& S
  732. ; http://php.net/enable-dl% Q+ u6 A! q6 k: _* V1 N" e
  733. enable_dl = Off
    5 x, K' M. R9 h) B
  734. ; n4 ^* u5 J9 i; M5 o& |# v' B
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ x$ [9 x  j8 C7 X# A$ j0 W
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can* P. O* F9 m0 S) X" u9 L9 d
  737. ; turn it off here AT YOUR OWN RISK
    . Y( D& u, A/ K( b# q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**/ Z5 \8 t( Y+ E4 y
  739. ; http://php.net/cgi.force-redirect
    ; H2 {/ V0 ?; B0 _
  740. ;cgi.force_redirect = 1
    , y3 }' W/ \! `* N5 ~

  741. 8 F9 }2 C* R6 \: |
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + R8 m/ m! L7 P
  743. ; every request. PHP's default behavior is to disable this feature.$ {1 u* a2 v9 X5 o9 n
  744. ;cgi.nph = 1
    2 V( ^8 T4 Z1 ]  q

  745. , {1 }1 @3 b/ h) C' M! r
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    . p  n% G* v+ J/ l% }& d% p
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 T7 m/ k% L( i; Q, a$ `" ]' P, R
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / ?7 q  |' @3 S. P5 K
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.  C% R/ R! f. B- T
  750. ; http://php.net/cgi.redirect-status-env
    8 v% Q, p! v7 K4 f
  751. ;cgi.redirect_status_env =/ x( I, A4 i; r  I

  752. 1 v9 |  C  Q# a' C8 i4 a0 Z7 [4 v& z
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ; R) [& |. m' @" k, P- q+ A
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    7 J+ z* ^) W" l% e7 n3 g
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting; m( y1 [, g0 I3 H% ], @  Y7 f
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% ]/ C- N  {* ^+ }
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 f  z( T/ ?5 w, w
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., C5 Z1 J" j" j9 f
  759. ; http://php.net/cgi.fix-pathinfo
    7 v) U. A# \2 O0 B
  760. cgi.fix_pathinfo=1
    ) W2 N$ [9 V6 m# W

  761. ! H: n8 C' I) M3 k' l/ L4 s
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    2 J) X! z2 g8 H5 u. L5 M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.( C; @% |. b; s) S2 x1 C/ z
  764. ; http://php.net/cgi.dicard-path
    & n, m6 U( L2 S* B/ [0 ?) Y
  765. ;cgi.discard_path=10 D8 C, Y! U, e: G% I  u. Y2 n' w6 U
  766. 8 N5 U0 K: P) T' Q. V9 ], }0 y
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; R( c/ j4 H9 b0 `7 S. z) o& h3 {
  768. ; security tokens of the calling client.  This allows IIS to define the" n* a) a5 c0 q$ I3 F! p' d
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 L6 I) n; e4 Q) y+ X( H
  770. ; does not currently support this feature (03/17/2002)
    ( P  @, `$ ]  z4 F
  771. ; Set to 1 if running under IIS.  Default is zero.+ i& m$ L4 h7 D1 ^: m5 s) q+ s: j
  772. ; http://php.net/fastcgi.impersonate
    2 l! h6 b* [3 \0 y+ {: G
  773. ;fastcgi.impersonate = 1% K. u* w: V3 ?7 T9 y
  774. ! F( J+ C( E1 G. r9 y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& O! v* j6 h2 D% w
  776. ; this feature.) e+ O& V/ t% M( A$ S+ }: F, r/ s
  777. ;fastcgi.logging = 0
    7 y2 j' @) u! l0 A1 a( [& F3 G

  778. 1 W9 p/ p; c- W2 P% @& u
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    3 q# T* N- J: W  K8 U, F- K+ @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 L1 Z" n6 q3 {, j+ I
  781. ; is supported by Apache. When this option is set to 1, PHP will send9 N5 U5 @5 h+ O# A
  782. ; RFC2616 compliant header.
    9 ]( n3 Y3 L' b6 t* g
  783. ; Default is zero.
    , j' k% M- }) B& y& U: n* }
  784. ; http://php.net/cgi.rfc2616-headers2 U& s. x. k0 m  l1 c/ v
  785. ;cgi.rfc2616_headers = 0
    4 `. m+ e  z* n6 P; ^3 C
  786. # l3 G; ]0 T4 Q( |
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!. l$ U. ^$ ~# T- K4 }" |3 j5 i
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ( ]3 H' d8 b, j- F0 K2 n
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    * W, u" w& F6 c3 J+ Y3 q6 j
  790. ; mode skips this line and ignores its content if this directive is turned on.: H4 ^( g5 a+ g2 \% p
  791. ; http://php.net/cgi.check-shebang-line; U) m, a& C4 n( P: W9 r
  792. ;cgi.check_shebang_line=1/ K% C- r2 p; Y" S
  793. & e8 N# j! v3 V3 W0 T% H) h8 r
  794. ;;;;;;;;;;;;;;;;) ~( H0 N5 T( Y" ~( L; N9 j! N9 _
  795. ; File Uploads ;; @) [+ T3 D$ j* t( W7 [
  796. ;;;;;;;;;;;;;;;;
    6 u, U, o* }5 [: p: d7 n% z- N) K
  797. 8 v, H9 X1 I; o( ~& L0 p5 |
  798. ; Whether to allow HTTP file uploads.) u6 H7 [# P( k
  799. ; http://php.net/file-uploads7 C' ~4 j& S/ W$ b0 P1 {" O. f# y+ s
  800. file_uploads = On
    ; f5 B3 X6 G- T/ |
  801. # [1 t6 G% J6 Z2 N: Z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! h. ?" I& t8 {6 s" G/ @2 B0 M
  803. ; specified).
    8 `8 q. E9 O' W+ q# w
  804. ; http://php.net/upload-tmp-dir
    - e" J+ T) N* g/ E" n$ g" s
  805. ;upload_tmp_dir =! I5 }7 W  ^( n% o% [

  806. 4 i# C9 G/ k& ?; ^+ M% @+ k8 L
  807. ; Maximum allowed size for uploaded files.
    8 q5 {$ N: ~7 V6 |% ?- A2 e
  808. ; http://php.net/upload-max-filesize' d8 D1 h# V4 @8 V$ Y) t+ y
  809. upload_max_filesize = 50M
    7 i% t! Q, E4 I- P& C
  810. 2 l; A0 v8 d- j; u' q
  811. ; Maximum number of files that can be uploaded via a single request
    8 @0 {4 V: r6 o2 U& H, a, Z1 @
  812. max_file_uploads = 20
      b" g" K  v( b5 u* y9 n5 A, E% E

  813. ! V/ a% c- U6 Z, o! b1 V/ Z
  814. ;;;;;;;;;;;;;;;;;;
    3 V  ^0 c* {6 W+ i# @
  815. ; Fopen wrappers ;  K+ o  X' w, v/ P1 Q" e( z
  816. ;;;;;;;;;;;;;;;;;;
    9 s9 c# g( A# t$ b8 w9 b! u! h

  817. % ?' I2 v. O4 P5 {3 Q8 }
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 Q3 L. p( m# X3 {1 E
  819. ; http://php.net/allow-url-fopen
    1 Z5 A) H7 \* z! C/ j, b$ Z
  820. allow_url_fopen = On- X0 U1 J5 m% ~2 v* ?, N( c

  821. 6 F8 K$ U& N# N! Z0 [- W6 e2 t
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& U3 z0 ?$ V. F* [
  823. ; http://php.net/allow-url-include/ v* |# |5 e* o0 }3 p; U
  824. allow_url_include = Off
    ; r$ J( o5 F& t" e" v; W/ H& x
  825. * |; |. H4 [( Y! c" d  A% q. A
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    - \0 \3 m1 x1 ?8 C/ B( S: x  ^
  827. ; for this is empty.
    7 K! x; V* M* s; d
  828. ; http://php.net/from) ]! j7 _* R. E" m: g) e8 }6 k
  829. ;from="john@doe.com"9 n+ r! }/ J, y
  830. % H' F( F; f3 f+ B
  831. ; Define the User-Agent string. PHP's default setting for this is empty." X0 a' q/ z1 w3 h- V
  832. ; http://php.net/user-agent
    + z/ V9 }) u7 U' O& R9 R1 Z
  833. ;user_agent="PHP"* p1 B/ Q  c! z

  834. # Y; u1 F% w$ k* [, O6 A
  835. ; Default timeout for socket based streams (seconds)+ `6 `5 I' C1 l& h2 _( \
  836. ; http://php.net/default-socket-timeout
    / T2 h7 U5 Q( [& T0 Y" @
  837. default_socket_timeout = 60& T. ~) X( j/ o! I7 ]/ @& A* L

  838. * I& b+ d1 d, @
  839. ; If your scripts have to deal with files from Macintosh systems,
    ) B' m6 O+ W: W& ~2 y$ f
  840. ; or you are running on a Mac and need to deal with files from5 s4 u* a6 Q, A, l# U! o
  841. ; unix or win32 systems, setting this flag will cause PHP to
    - _  U1 Y0 u8 X# m
  842. ; automatically detect the EOL character in those files so that* K$ D% {  R# Z
  843. ; fgets() and file() will work regardless of the source of the file.$ Z+ z9 u+ r" L0 q4 f" ?0 M
  844. ; http://php.net/auto-detect-line-endings! f8 G. L6 ?7 j* \" n8 s
  845. ;auto_detect_line_endings = Off
    6 Q0 t- Y# M3 O7 O' ?1 L- s* D
  846. ( q! P8 _% J. I. ]
  847. ;;;;;;;;;;;;;;;;;;;;;;
    % m$ v* U) \( I* S3 v# }
  848. ; Dynamic Extensions ;8 j' B: @/ V; ?+ K  M+ @* H' ]1 Y
  849. ;;;;;;;;;;;;;;;;;;;;;;- U! W/ E; O. n& D

  850. 0 ~: p9 d+ q5 w
  851. ; If you wish to have an extension loaded automatically, use the following
    & Q# S4 f  V% s' h6 G8 P/ ^
  852. ; syntax:! r# l: C7 E8 {% q: }( \4 k
  853. ;
    - O) w; q- a" i0 _0 l' B
  854. ;   extension=modulename.extension+ \+ q% O) x8 R9 p- \3 `& U& j& v
  855. ;
    5 p5 `0 r' R' `: e% z- T$ D& h/ _
  856. ; For example, on Windows:
    / q- H1 R! z. w3 E' q/ _2 V
  857. ;. M$ v6 _+ \9 S, w
  858. ;   extension=msql.dll
    * ~3 c7 O: u; a2 T* D& y2 x6 T
  859. ;
    5 x, a: b- }2 [2 l; z# h- X
  860. ; ... or under UNIX:- q2 B1 F4 ?7 [5 D
  861. ;
    - `% U- u* O2 a% i2 {) ]& y
  862. ;   extension=msql.so& J) W2 @  P* v$ f
  863. ;
    / T; I6 U/ w5 @- j6 X) e3 t, d8 Q9 A
  864. ; ... or with a path:% K' Q9 w+ `5 P7 d/ y6 H
  865. ;
    - E8 h  Q; e5 V; k% Z0 f
  866. ;   extension=/path/to/extension/msql.so
    - j* [, E5 B  @+ t" K. L2 {
  867. ;- i: Y: O% r$ O" `
  868. ; If you only provide the name of the extension, PHP will look for it in its2 i$ }- L- R' U+ b3 {
  869. ; default extension directory.
    ' G2 f; ?2 H1 b4 B2 z
  870. ;9 S  L  u- N2 @4 R8 ~7 J
  871. ; Windows Extensions4 T; _2 o: W# d, C
  872. ; Note that ODBC support is built in, so no dll is needed for it.: V6 p+ {! u% w# C( {" z! |9 Q
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( Y6 U, a7 S  ?- X5 n/ Y8 P+ ?- u
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).5 \- g/ b$ I" [' {# n
  875. ; Be sure to appropriately set the extension_dir directive.
    . n' \  c8 b9 O+ }+ {
  876. ;3 u" I% t& u0 n  F7 q# g
  877. ;extension=php_bz2.dll
    % ]* L9 t$ c7 }* N, W  w; Q
  878. ;extension=php_curl.dll, r: c$ g* r4 J. U9 ]
  879. ;extension=php_fileinfo.dll6 y* ?2 D, ]5 x! i
  880. ;extension=php_ftp.dll
    . Y0 |( }: P: `7 s
  881. ;extension=php_gd2.dll
    1 @, D6 v' p9 a# O/ v$ w2 z) [
  882. ;extension=php_gettext.dll
    / T5 W: b5 e0 q& z! n* R
  883. ;extension=php_gmp.dll" D" B, l0 Y. K! F3 h& Q' f
  884. ;extension=php_intl.dll  [  q# ]( Q( X% l* d+ g
  885. ;extension=php_imap.dll- n% Q. J' F) Y$ W  q
  886. ;extension=php_interbase.dll
    ! t( w1 |; I8 l+ a: g6 F
  887. ;extension=php_ldap.dll
    . ^9 l- A. C* P* R3 d
  888. ;extension=php_mbstring.dll
    4 n0 v9 g- E, w& i( m5 _
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    2 a3 A& G( [( S& f
  890. ;extension=php_mysqli.dll
    : w$ M  R" q8 S( P6 i! B" B
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! _& E& x# l# ~% W7 Z$ c( L) d
  892. ;extension=php_openssl.dll
    + r5 R# G) B  k- M2 F. U) c" B
  893. ;extension=php_pdo_firebird.dll
    $ h) J- O  ~$ U* ]" ?
  894. ;extension=php_pdo_mysql.dll
    5 D8 O- ]; ^8 O) ^7 l0 D# N- A
  895. ;extension=php_pdo_oci.dll1 i, s/ x" F" {* _( |) Y. C- L- F
  896. ;extension=php_pdo_odbc.dll9 X8 R6 \, X5 u( K6 {
  897. ;extension=php_pdo_pgsql.dll
    7 X$ b- Q' a. l+ ]' W5 m' d8 D
  898. ;extension=php_pdo_sqlite.dll
    & E$ Q5 Z" Z+ G. s# G9 i6 g  d
  899. ;extension=php_pgsql.dll/ {& U* t: m& I$ h3 k6 F* T4 i. h
  900. ;extension=php_shmop.dll- y( M" m) h1 B; ~$ m
  901. " `3 ]# A; u" z) M* }
  902. ; The MIBS data available in the PHP distribution must be installed.# @- k9 W2 [  D" L  c
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' e9 k* Y# T. E: f( K) }* ~
  904. ;extension=php_snmp.dll6 [7 h& H: g5 J) x. q) j+ I

  905. 7 \7 W3 g: e' i# t7 f5 I" C6 l/ u
  906. ;extension=php_soap.dll+ T. Q7 x' h6 o1 f
  907. ;extension=php_sockets.dll& Q2 `5 q7 a, ^: a6 Z
  908. ;extension=php_sqlite3.dll
    . u2 m9 B7 P5 v
  909. ;extension=php_tidy.dll
    $ E8 U, y3 L5 J8 S/ a% m" w
  910. ;extension=php_xmlrpc.dll
    8 A/ d( \9 v  y* Y. I% `  g; C) ]
  911. ;extension=php_xsl.dll
    4 B; v* f1 T* ]! J3 I/ c) w0 |

  912. 2 @( F8 g7 D+ t2 E! Y; j
  913. ;;;;;;;;;;;;;;;;;;;+ g0 l: \5 A: l+ q7 |: s: E& Z
  914. ; Module Settings ;
    $ \. w; I* ^3 a; g
  915. ;;;;;;;;;;;;;;;;;;;) n$ a5 `; |7 K; R7 F" {; b& d/ X# n# z
  916. 9 A9 W* V9 M* |+ T) W; i' |$ W" R& ^# x$ h
  917. [CLI Server]
    9 ~' V* Y. q5 r* }( G. j  O
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    & n0 w6 B! H0 ?- m1 N# Y& t
  919. cli_server.color = On! F) Y4 S! S' c' s. R

  920. * m+ `6 X1 B7 O0 f3 g( L! Z
  921. [Date]
    # C: I1 R; g1 U. b
  922. ; Defines the default timezone used by the date functions/ W! ]8 _. j$ r0 G* j0 ^
  923. ; http://php.net/date.timezone  F3 }1 f7 \5 k# K: P& L6 V+ a# R4 _( a
  924. date.timezone = PRC
    ; Q& r, `' T3 Q$ J2 V( f- R8 l

  925. 3 x6 G# x1 V6 I$ ]1 |. f; b
  926. ; http://php.net/date.default-latitude
      Z& U! H3 Y3 C, ^4 C3 q; e& t2 c) j
  927. ;date.default_latitude = 31.7667$ J1 v, V; b9 i' L: m: r/ D

  928.   ]0 W7 a9 J: R: F  b
  929. ; http://php.net/date.default-longitude* L# {. h. q* i7 W
  930. ;date.default_longitude = 35.2333
    , Q! i* {$ v( }/ y, F% b( U; L
  931. 5 B2 n9 v  ]! j2 m8 G
  932. ; http://php.net/date.sunrise-zenith
    9 w5 d) x6 r7 _) v" ]2 b: m
  933. ;date.sunrise_zenith = 90.5833339 X9 k3 j( Z$ @- q) {+ @. |

  934. " d- u/ _6 o$ l5 C7 L% d7 ~
  935. ; http://php.net/date.sunset-zenith
    ) c) v  U) A& K
  936. ;date.sunset_zenith = 90.583333$ t$ D. w0 j/ }$ I1 R+ ~
  937. ; C5 {6 h1 P( x+ G
  938. [filter]
    % g3 p8 d! a' l9 p( n4 [0 x! |
  939. ; http://php.net/filter.default
    0 W5 d) g2 B8 k# P: I
  940. ;filter.default = unsafe_raw& E9 s. r4 Z" T' T8 u

  941. " d/ }0 e' Q) p# v! Z
  942. ; http://php.net/filter.default-flags( n0 f( P; w8 T+ v3 g$ L1 i
  943. ;filter.default_flags =
    ) I" S; }, T& o; u) R
  944. 2 X$ I" j; p" A
  945. [iconv]/ r- c8 y& q' k; ]9 A* z9 ]
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.% I# E& o/ D. D+ w! g6 N: Y) y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    9 h; |. G% E: ^
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 S% r& C7 u6 q$ A
  949. ;iconv.input_encoding =* v- a* |+ O( e( t4 f% @! g
  950. , J; H) |0 {% X" T
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.: Y- O! H* t+ j8 d' ~  U
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ b* T! @2 K: I  @; k7 p* q
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% q4 M  G. h; U) n9 T4 \9 B
  954. ;iconv.internal_encoding =' j* o$ U9 k. A( ?: U

  955. $ Y* \1 m) q; B, O+ o# A( ]$ [
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & K7 C; u3 m" c
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 d: U* U& J6 ?! r% m9 L
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 S( \& U( m1 m4 w6 U8 o) K. Q7 B
  959. ; To use an output encoding conversion, iconv's output handler must be set
    % u8 [) j, b. ?3 k3 Z# \$ U
  960. ; otherwise output encoding conversion cannot be performed.  m) Q' _3 J* \- o
  961. ;iconv.output_encoding =, s5 z. j8 t5 i1 {% l7 S* f! ]
  962. : i4 C9 `+ ~5 x7 a; q" N& l
  963. [intl]
    7 B/ W; Q% V: M+ J: E9 G
  964. ;intl.default_locale =
    : X" p; ~  q! G7 w7 v6 L4 `# ^
  965. ; This directive allows you to produce PHP errors when some error  \0 R) q, X, w/ Y( s
  966. ; happens within intl functions. The value is the level of the error produced.3 M+ n9 W2 q0 i; |/ |$ Q1 g
  967. ; Default is 0, which does not produce any errors.
    / j4 `, X1 X: t" c5 E3 Z
  968. ;intl.error_level = E_WARNING- n# C  X8 S, R: h* u
  969. ;intl.use_exceptions = 0
    " D% v' V" n6 G7 Q* W1 }# @
  970. + m2 u* X) n! s& q  n' W, |. u
  971. [sqlite3]
    % z, j3 y7 ^  Q- g& z. f" V
  972. ;sqlite3.extension_dir =$ O/ W# k5 H$ b* T; l8 X+ ~
  973. ; U% I& q) f  V  p+ V
  974. [Pcre]) N& A+ h! K+ C/ X
  975. ;PCRE library backtracking limit.# ?! N1 z* x/ i
  976. ; http://php.net/pcre.backtrack-limit
    . Q+ b8 _6 o# Y
  977. ;pcre.backtrack_limit=100000
    ; \! P7 e6 r0 d( W* a/ L* W' I
  978. " u" y, {3 r& o9 F. V( t- F3 Y
  979. ;PCRE library recursion limit.
      K" h' e0 x* s0 w0 u# ]8 B
  980. ;Please note that if you set this value to a high number you may consume all
    , i  o' |0 E. w, t' N( S
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ; ~/ N6 v4 m* S; h
  982. ;stack size limit imposed by the Operating System).+ O  R% d) D; Y' F0 R
  983. ; http://php.net/pcre.recursion-limit( m0 D; k4 R( B8 r+ `; F
  984. ;pcre.recursion_limit=1000002 \% q+ Y8 E7 w0 D' s6 o6 ~9 N5 c; ~

  985. 7 K0 a* d$ W+ R4 i& ~- r% l4 o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE" c& _4 w4 g. u: {' `" Z
  987. ;library to be compiled with JIT support.
    - _" ~1 U$ c( Q; V' g) i
  988. ;pcre.jit=1
    1 z, A8 j9 v+ ^' ^* M3 i
  989. - l3 h! `8 l: [  X) l1 w2 k
  990. [Pdo]
    ; w+ h- u" W$ C, f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 N; L3 S; }5 i  u3 s, O
  992. ; http://php.net/pdo-odbc.connection-pooling& s5 z/ h6 {  M. \0 v. i$ l5 _2 ^
  993. ;pdo_odbc.connection_pooling=strict
    1 K, M, C6 k( f* L

  994. 6 \7 V4 O+ P9 B0 e( F
  995. ;pdo_odbc.db2_instance_name
    ; f- b$ z, ~- b/ Q- g9 W& e8 g5 o$ K  k- Q
  996. $ d/ ^( z# o' t$ l7 Y3 {
  997. [Pdo_mysql]( D, [: E, {, Z- ]! U  W
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * `7 t5 \9 c2 _# o1 g7 c& z" d  d* }
  999. ; http://php.net/pdo_mysql.cache_size  [" \. D$ n- q/ Z# l
  1000. pdo_mysql.cache_size = 2000, t: [1 T, X5 y& B! X
  1001. , U2 \; ]5 @+ o" O/ P
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + {5 T3 t7 \% ?8 e. [0 r
  1003. ; MySQL defaults.+ t" J# ~3 _% `6 T/ _
  1004. ; http://php.net/pdo_mysql.default-socket
    1 L8 Z4 f8 g' l! C+ \+ ^) w
  1005. pdo_mysql.default_socket=& m9 s5 \! T7 y, S$ T- w4 R  A
  1006. # F+ j, ~! Y9 T3 p1 a: T- p
  1007. [Phar]+ ^/ J7 |0 ^* ?) b
  1008. ; http://php.net/phar.readonly+ J6 V9 b; g3 k7 I, A- H  A/ U
  1009. ;phar.readonly = On
    7 X+ ^) q' v7 x0 V

  1010. " ~& @( b5 z4 ~, @- c6 ?/ ?
  1011. ; http://php.net/phar.require-hash. M0 e- m; x3 u% U/ X# m
  1012. ;phar.require_hash = On
    9 h3 W$ z/ R1 w( [

  1013. * ], l% `! G$ z: ~
  1014. ;phar.cache_list =
    * l6 L& ~4 d& Z$ K$ p
  1015. 5 ?+ w' ]9 x0 n
  1016. [mail function]
    8 t' `5 U7 D3 e% ~9 N
  1017. ; For Win32 only.
    1 ?) o1 J2 c$ i0 c
  1018. ; http://php.net/smtp7 k$ m+ |! E+ D, w" c- c
  1019. SMTP = localhost* ?+ S* f! B! k* A+ j  j
  1020. ; http://php.net/smtp-port( D1 W+ J' H6 l3 o1 f
  1021. smtp_port = 25
    . \# ~" f+ a  n) p4 V

  1022. . A7 m) F0 j0 Q- E) m
  1023. ; For Win32 only.
    ! A  G+ u% V2 a' b
  1024. ; http://php.net/sendmail-from# c3 z& W4 E0 ?
  1025. ;sendmail_from = me@example.com
    3 o/ N/ F) t2 v' t! a7 x( g1 E
  1026. ! a3 l6 b, {; D' V- t- M! w  Y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 V! z5 a2 }4 U% m0 A: _
  1028. ; http://php.net/sendmail-path1 r7 c$ `3 ?( a+ ]% S
  1029. sendmail_path = /usr/sbin/sendmail -t -i
      O$ S" x1 h# }: ~8 H: _+ `; V2 W

  1030. 7 }2 Q6 ^+ s: e8 M# {
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      u; G2 x% f! \  r' d6 K7 D
  1032. ; to the sendmail binary. These parameters will always replace the value of& k; U* t; ?* E" D: C" A- C( B
  1033. ; the 5th parameter to mail().
    # p& G# u2 l' r6 i
  1034. ;mail.force_extra_parameters =" p1 V% ?8 z" X
  1035. 8 Z" v! u" M6 \: H" W  f3 \
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' b8 q9 ~3 @) A9 e/ l2 j& ]
  1037. mail.add_x_header = On5 i- U6 U' T# i% A% d7 R

  1038. $ U7 P. N' C8 i. X
  1039. ; The path to a log file that will log all mail() calls. Log entries include( t" B" G/ m1 C1 }- A* k
  1040. ; the full path of the script, line number, To address and headers.
    : M* F5 q& V( ~
  1041. ;mail.log =
    9 p' F! E! \( o0 @0 l. H2 F( R7 Y% W
  1042. ; Log mail to syslog (Event Log on Windows).+ H! {* s1 v1 c& |* ?& E
  1043. ;mail.log = syslog2 `. H7 _2 I7 {; @; j
  1044. : c/ a& d( c. b( o3 _  b/ @  Q
  1045. [SQL]
    * g! l6 F$ y3 y, g6 @+ N+ D
  1046. ; http://php.net/sql.safe-mode' K& V9 }( c/ L4 j# r. ~
  1047. sql.safe_mode = Off
    2 R2 R, A: J9 W1 A& ]6 j) r

  1048. 5 y1 Y1 g$ Q" D: i$ m8 o0 @
  1049. [ODBC]
    ' T) ?7 v9 `+ W( j. U: d
  1050. ; http://php.net/odbc.default-db
      _( ]5 w8 K# _% x: }9 C% r1 O
  1051. ;odbc.default_db    =  Not yet implemented& {' Q& Q& E& Z3 C* n$ g" I1 t

  1052. 6 e$ t0 R$ E: O9 {+ t
  1053. ; http://php.net/odbc.default-user( g$ n7 \9 ~# v( U8 x* H2 a* |
  1054. ;odbc.default_user  =  Not yet implemented
    + N, W* W- h  ?5 \6 [3 r4 o! `

  1055. : z2 s: e" }/ H! |; k) J) }; G
  1056. ; http://php.net/odbc.default-pw
    & a, X  }( U6 e0 `" h
  1057. ;odbc.default_pw    =  Not yet implemented( B8 t* S9 K% [3 D8 R

  1058. 7 R; i  Z1 [8 i$ e
  1059. ; Controls the ODBC cursor model.
    0 H! N/ j* x& H  `6 x3 G# s5 e
  1060. ; Default: SQL_CURSOR_STATIC (default).
    & u4 d" v8 r( e) t% X+ g7 @
  1061. ;odbc.default_cursortype( K6 k" a, s, n) K0 Q8 x6 L) G3 @  ?
  1062. / e, n2 p7 Z) K! t" F9 L
  1063. ; Allow or prevent persistent links.
    2 K  ?) W8 r5 s
  1064. ; http://php.net/odbc.allow-persistent/ v1 |  l8 u: D2 c! `
  1065. odbc.allow_persistent = On
    % W- G) [  o7 x$ M5 W' x/ Z
  1066. & N! z2 X: i; |: p
  1067. ; Check that a connection is still valid before reuse.) @( y' x8 R, |1 q1 q7 _$ @" f& V0 ?
  1068. ; http://php.net/odbc.check-persistent
    / Z& X! I/ o) y' f! W
  1069. odbc.check_persistent = On
    " R+ T9 k: |/ |) L4 b, p1 \! \  h7 H

  1070. 1 g% W8 X/ `5 ?2 h+ V
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ! c. W0 a/ [; a
  1072. ; http://php.net/odbc.max-persistent9 K/ z& Y5 t3 ]( J7 C
  1073. odbc.max_persistent = -1
    % K; }3 B: X1 F" I
  1074. . `3 @" j5 |# j; j! |
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. i5 z; [1 G+ {% e5 g4 f9 i
  1076. ; http://php.net/odbc.max-links
    ! @5 G+ \% ?  m4 d
  1077. odbc.max_links = -1
    ) P' j9 \  S; d

  1078. 5 i) v% |8 Q, [6 I1 r* a  |
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    4 |% u( g; q+ x) x8 E5 w0 Z: _
  1080. ; passthru.
    * y( L# e- L) z; ], y
  1081. ; http://php.net/odbc.defaultlrl
    ! D) @( S9 q7 X) x) c  `8 A, E8 V" C
  1082. odbc.defaultlrl = 4096
    " B7 c7 }, ^! I/ o7 b8 p
  1083. , m6 k* D# w$ A& T# O+ E/ X
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + C( F1 a3 v; o- @
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation; k! }7 v0 h( ]5 N/ J) b- j
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode8 h# t8 e  Y5 M2 N
  1087. ; http://php.net/odbc.defaultbinmode
      x$ g1 u$ c6 w# l
  1088. odbc.defaultbinmode = 1
    9 O5 ?$ J" q/ k7 V5 K* X

  1089. ' b. R, E  u: r( _
  1090. ;birdstep.max_links = -1
    4 q% _6 X# t3 ]( O8 |. q$ C
  1091. * m2 ~& [5 E* S6 B# B6 P$ B8 E' g7 g% `& p9 b
  1092. [Interbase]& f2 a7 R" Z$ C9 `/ e) Y
  1093. ; Allow or prevent persistent links.
    5 X7 {& h( ?; ~5 q3 F* e! X
  1094. ibase.allow_persistent = 1( O' n; g' p) d4 ?% k" k

  1095.   b4 T# L9 ?/ ~( d% w2 C
  1096. ; Maximum number of persistent links.  -1 means no limit.
    6 I, A0 Z. t+ ?* N' P6 C5 Z2 U
  1097. ibase.max_persistent = -1/ F& s& I% |2 H& P. j  B: F) W0 g

  1098. 3 I. _; E! `9 d- F, I" v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 V6 R5 V5 @( _! L% q) j8 ?
  1100. ibase.max_links = -10 `6 W9 ?# g  f7 M8 b- v! {2 _

  1101. 7 d2 g9 `0 w6 O* S
  1102. ; Default database name for ibase_connect().7 B& [* p6 w/ p
  1103. ;ibase.default_db =
    ) M, a. m9 l+ O/ E4 ~- v4 O

  1104. 9 h+ @4 ?+ p' M8 Z+ B
  1105. ; Default username for ibase_connect().
      v1 W5 J( O" M9 _6 T9 i
  1106. ;ibase.default_user =
    ! B: A% H; ?& c9 a& l* K' W9 p

  1107. - Y7 E5 B$ |+ r: _* l" j+ i
  1108. ; Default password for ibase_connect().
    % ^1 O- W3 R8 U+ [9 [5 h5 S" Z! e
  1109. ;ibase.default_password =6 T( S) W( ~1 s, ?) R" @" ?
  1110. , F2 H& a. f$ S7 Q, s! `
  1111. ; Default charset for ibase_connect()." [8 B0 e+ P5 q( Y6 Z! |& j
  1112. ;ibase.default_charset =' p$ v- z4 ^4 t0 r

  1113. . C  n) h+ O( U8 f) t4 ?
  1114. ; Default timestamp format., Y( h4 l4 @& s' \! z2 ~
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ' `; V* r& x2 t' |& W4 g3 |: `

  1116. ( ]7 `; a, G; }
  1117. ; Default date format.
    / I9 {  `$ f/ j9 z6 v% @0 g1 m
  1118. ibase.dateformat = "%Y-%m-%d"
      Z# F5 J9 F% V2 ~. u8 q
  1119. ( w2 J' g% ~% F' P
  1120. ; Default time format.
    8 F% P( F# Z6 O  L) Q
  1121. ibase.timeformat = "%H:%M:%S"
    - f$ l) ?. F, f5 [2 W: d

  1122. 9 p6 r" T4 @) d0 x8 O% |( ^
  1123. [MySQLi]
    8 [3 }3 B7 B8 G$ v

  1124. $ s! l' U% G$ w$ x$ L
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ; j2 i! q# [7 L) Y
  1126. ; http://php.net/mysqli.max-persistent1 X/ e# L- \+ w; u: P4 k$ o
  1127. mysqli.max_persistent = -13 f$ I& h& F3 L& e: f4 R/ f3 U/ y
  1128. % P3 }  a. v6 E: \# A+ ^
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 ]# N8 r- W* T1 m
  1130. ; http://php.net/mysqli.allow_local_infile3 [0 q7 o" o: X9 _! k
  1131. ;mysqli.allow_local_infile = On% ]5 Y6 q3 S" |4 }4 h6 a

  1132. ; {+ }) X# C  l: y
  1133. ; Allow or prevent persistent links.' E! C' f/ _7 N' j
  1134. ; http://php.net/mysqli.allow-persistent
    " v" N) }$ V- _/ H8 E3 z
  1135. mysqli.allow_persistent = On
    # X8 Y* b' R; }$ o, Q( g

  1136. ; Y5 a0 \' ^$ E6 u/ H& x" v
  1137. ; Maximum number of links.  -1 means no limit." N* S0 I! i2 _& q
  1138. ; http://php.net/mysqli.max-links
    8 h' i7 L9 C% B5 }
  1139. mysqli.max_links = -15 h+ A) e/ y( d

  1140. 6 `$ ^6 d% q2 U/ s0 ]7 j- A" _7 k
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache, {" |1 T# L& h0 U8 w% h3 b* g
  1142. ; http://php.net/mysqli.cache_size% b" X* k. K/ v4 z2 R7 k
  1143. mysqli.cache_size = 2000' G. O) J$ L0 G

  1144. 3 A3 Y' R7 v) L9 S: T
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ) Y  b# {( F0 n1 ]* `
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ V. z4 ^- v0 d- ^, I
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 @, i4 l* l# z: ~, g/ I4 ^
  1148. ; at MYSQL_PORT.
    - t9 B+ E7 V: k% A5 O8 L  M$ m
  1149. ; http://php.net/mysqli.default-port" l( z& w; C. L/ D2 q5 ]. X7 z8 T
  1150. mysqli.default_port = 3306# N2 D: t8 y/ J$ Q

  1151. + |0 j2 m1 T8 ], _: J" Y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " t; `9 s3 A9 F% o0 C. d
  1153. ; MySQL defaults.# \: e  B6 \9 A! [1 d1 \0 q
  1154. ; http://php.net/mysqli.default-socket3 `' R$ a* w/ k) \4 k' N3 K) b
  1155. mysqli.default_socket =
    % g2 v7 }! @; `3 \5 f
  1156. $ @% S  {! @+ U7 w
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' `. `5 y1 i& J) R. W0 |' _$ r' o
  1158. ; http://php.net/mysqli.default-host0 n# q/ Y# Q% p2 d. e( j9 {5 I
  1159. mysqli.default_host =3 e  |, o  I+ V9 A4 ]

  1160. # r  K9 n3 Z$ p2 V1 v7 Q
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * O" I/ [8 F/ c) X7 J
  1162. ; http://php.net/mysqli.default-user
    2 \& f2 I& e. {- ?) m
  1163. mysqli.default_user =
    - g) S, Q! K3 g
  1164. ! f7 `  D' I! ^1 D% J8 \) H
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    % A/ `/ s0 C6 C' |
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.9 ]0 j3 i( c6 D
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - k2 i( v+ J6 t
  1168. ; and reveal this password!  And of course, any users with read access to this
    1 y' m- O5 c& g1 F
  1169. ; file will be able to reveal the password as well.9 y8 @  N* L) ?0 @9 p0 J
  1170. ; http://php.net/mysqli.default-pw' w/ N% u: b& o1 E
  1171. mysqli.default_pw =6 a2 r% Z# M1 D  t2 Y2 J

  1172. * _$ J8 r0 P$ a
  1173. ; Allow or prevent reconnect
    / x5 r% o, s$ I  H
  1174. mysqli.reconnect = Off# G7 \* ]7 k* N1 U! P4 U: a, f

  1175. * @  h, o/ X% l  E# Y4 h6 y
  1176. [mysqlnd]
    ( o* n3 {5 Y% Z* W
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 N: {) w$ P0 s* ~0 T1 {/ r
  1178. ; used to tune and monitor MySQL operations.
    9 f0 O* Q+ {# m& @7 S5 \# j+ b4 w& U
  1179. ; http://php.net/mysqlnd.collect_statistics
    ; @9 N: a3 E9 F5 ~" t
  1180. mysqlnd.collect_statistics = On, ~) |. m% G; T1 h  ?

  1181. $ P% w$ @: q/ n3 {! I0 q# V- h/ w
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 \; q" s) W, J
  1183. ; used to tune and monitor MySQL operations.
    ( [# i( H, ~1 ^; T# a* O
  1184. ; http://php.net/mysqlnd.collect_memory_statistics7 U+ Y( p1 N& J( I1 ^: X
  1185. mysqlnd.collect_memory_statistics = Off, `" @5 b; ^1 H

  1186. & d* r" d% b5 P9 L; P% T) D( l% K7 B9 G
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    $ y4 i% z7 t: G( O6 j, D* ~( a
  1188. ; file.
      Y) j' K; f2 y3 q, T' B
  1189. ; http://php.net/mysqlnd.debug
    5 m" x- P, q& j3 W
  1190. ;mysqlnd.debug =& i3 R. i# K8 M9 h* \" q

  1191. " R& q7 Z7 S9 v& h: h/ x; k
  1192. ; Defines which queries will be logged.
      Z, p9 a* I- Z- ?' k
  1193. ; http://php.net/mysqlnd.log_mask0 G5 e( Y$ D) l' P
  1194. ;mysqlnd.log_mask = 0
    ! C, }* U! c6 L. }
  1195. * D- L3 P- \7 J& _9 M
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 O; \8 `) u" y, E: }& ?4 U; |
  1197. ; http://php.net/mysqlnd.mempool_default_size
    / M" ~! T& q6 U, ?6 [7 x6 ~/ J2 e6 [
  1198. ;mysqlnd.mempool_default_size = 16000
    ' F$ O& b) ~7 I
  1199. 7 D. w$ f1 ^5 [# I' i- W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ L7 F% \2 x2 A: q7 [6 |1 B2 O
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size. ^" U) P' A" {3 E8 Y
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    * L* a$ [1 r- N' X: B

  1203. " d: ?/ o7 q  |- x& L) w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in5 y3 L+ G7 M* g2 a& g8 d
  1205. ; bytes.& f1 ]* D! @0 u0 @4 q
  1206. ; http://php.net/mysqlnd.net_read_buffer_size2 y. f1 q* l* b; l' x/ `; S
  1207. ;mysqlnd.net_read_buffer_size = 32768
    % U6 B7 n8 Y6 O! P2 U1 Z
  1208. / M9 H1 D5 U" t) ~" q8 b
  1209. ; Timeout for network requests in seconds.
    , @. d" A; b  Z
  1210. ; http://php.net/mysqlnd.net_read_timeout8 u/ S% i, f* D: [7 T
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 F7 e6 [8 e, t( S: R  K

  1212.   D" ?# o8 E! {: I% _7 R. Z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " v  p* C8 q7 k9 T, }
  1214. ; key.* }) Y5 e8 i! r( m9 W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% u& ~1 @6 W* l% ^. f
  1216. ;mysqlnd.sha256_server_public_key =. T3 y$ T* h4 u: z; O, y& S% L

  1217. % p% [) }) f) @2 P5 V" B
  1218. [OCI8]2 X- a$ a/ ]! r$ @0 a
  1219. " m/ V' I; t  N+ i
  1220. ; Connection: Enables privileged connections using external
    - }& n. h* s4 S* o  ?- V4 s% O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( w, f8 ?* G) c2 k4 F
  1222. ; http://php.net/oci8.privileged-connect% V2 x5 }/ A2 F) j
  1223. ;oci8.privileged_connect = Off4 X# F0 Z2 R2 x$ l6 _% \2 s6 M
  1224. 1 S' ?  Q, G- o+ S: C- J
  1225. ; Connection: The maximum number of persistent OCI8 connections per
      q) t$ ?. s5 b$ P  y- x
  1226. ; process. Using -1 means no limit.( t( l1 N8 E& ]* k" \  b7 w6 o* V
  1227. ; http://php.net/oci8.max-persistent6 m0 y5 b( c/ ^4 d' S
  1228. ;oci8.max_persistent = -1( f8 r! q5 R" R, e! k

  1229. 5 E, w  X* u8 t5 S
  1230. ; Connection: The maximum number of seconds a process is allowed to
    . ?) @" y  W' _- ^4 M$ }0 z
  1231. ; maintain an idle persistent connection. Using -1 means idle
    , b  V9 Q/ J8 L8 N
  1232. ; persistent connections will be maintained forever.' y" \. J8 r. G" x( @/ a2 O$ V
  1233. ; http://php.net/oci8.persistent-timeout
    # W9 Y) B# ~; O
  1234. ;oci8.persistent_timeout = -1
    / V2 B& I1 _& h: K2 c
  1235. 9 J5 w4 d; D& P
  1236. ; Connection: The number of seconds that must pass before issuing a
    # w: z: U7 I3 |* q. e2 [- s$ S
  1237. ; ping during oci_pconnect() to check the connection validity. When
    : K" L; D& X0 }6 j( f
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% K2 y! e, m( ~1 ?  C- @, o$ j% D
  1239. ; pings completely.) q$ R1 Y4 ]' W6 P$ U6 |
  1240. ; http://php.net/oci8.ping-interval( \: `3 r- x5 d# w  G
  1241. ;oci8.ping_interval = 60
    0 o. ]8 J5 s0 z7 z# u0 S

  1242. 7 `& ]5 K6 K" o8 D3 p
  1243. ; Connection: Set this to a user chosen connection class to be used
    & S$ B) `4 K; C! o: g) u8 Z
  1244. ; for all pooled server requests with Oracle 11g Database Resident* J% t+ }! Q$ M4 m! h& f
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' N6 u0 a4 l# R) f0 f$ U0 A
  1246. ; the same string for all web servers running the same application,
    ! }* b. u/ g) n, H
  1247. ; the database pool must be configured, and the connection string must
    5 i9 D: n1 r/ U# }/ T$ \, S
  1248. ; specify to use a pooled server.$ M0 N9 ~5 p4 V5 C5 D8 I# S/ Y
  1249. ;oci8.connection_class =
    : @2 Y, x0 L' I- o) {, M

  1250. ; Y. E; M  H4 j; Q  \8 h
  1251. ; High Availability: Using On lets PHP receive Fast Application. |4 \) V; j: }1 F) E9 j1 w; |
  1252. ; Notification (FAN) events generated when a database node fails. The
    2 |  ]2 d0 X( R9 R: m  K2 }
  1253. ; database must also be configured to post FAN events.1 Y( c$ q6 Z/ E
  1254. ;oci8.events = Off) b6 J( ^( r. @. `) j" `

  1255. $ l1 O5 d' a2 G% C$ L2 e
  1256. ; Tuning: This option enables statement caching, and specifies how! t% C$ N: w8 D2 c0 }% c
  1257. ; many statements to cache. Using 0 disables statement caching.
    6 S6 q' [3 c) V9 p8 f
  1258. ; http://php.net/oci8.statement-cache-size+ g: H/ v/ P$ q
  1259. ;oci8.statement_cache_size = 20" l  m3 y6 j2 S4 d4 Z

  1260. / D" `1 ~7 g! L# k
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 _6 d- {# Y  g2 a( D7 A  J- N
  1262. ; rows that will be fetched automatically after statement execution.
    5 o7 C2 X" X* D+ k1 G2 t( |: @
  1263. ; http://php.net/oci8.default-prefetch
    $ i8 M3 Z# Z6 N) q& n" w
  1264. ;oci8.default_prefetch = 100& ?! T; u0 m1 K: z+ v

  1265. ; x$ C! c+ E7 J. j. }
  1266. ; Compatibility. Using On means oci_close() will not close# m) \! e: h  R! a9 b! [
  1267. ; oci_connect() and oci_new_connect() connections./ M6 v  E' x3 d$ u' ]
  1268. ; http://php.net/oci8.old-oci-close-semantics& x" I) V% U+ R( L# y/ e
  1269. ;oci8.old_oci_close_semantics = Off
    " S* ~+ j9 f8 e) I
  1270. # M, c! J; e% P3 E, T
  1271. [PostgreSQL]
    3 u% U9 R* P3 i  f$ Y: ?6 f5 y
  1272. ; Allow or prevent persistent links.
    9 b, n- F; s" `" g, H) \
  1273. ; http://php.net/pgsql.allow-persistent
    * d% _! o$ _) X/ l- Z, k- P, e$ i/ M
  1274. pgsql.allow_persistent = On; O# |; i( F3 z- ^6 e/ A
  1275. ! c% j# U# W+ F
  1276. ; Detect broken persistent links always with pg_pconnect().* h$ U+ F' L- ?$ [. B
  1277. ; Auto reset feature requires a little overheads.% j' J8 ?3 h% f# v2 Q/ R1 v4 z
  1278. ; http://php.net/pgsql.auto-reset-persistent8 V! N' P+ B2 V/ M& {- \
  1279. pgsql.auto_reset_persistent = Off' Y; e8 T/ H$ s; i2 x

  1280. 5 R3 K* u5 [& Q% K- Z( o6 Z  r2 O
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ' L% e$ _% Y9 @
  1282. ; http://php.net/pgsql.max-persistent
    ; ]  L$ h! R+ O8 j! S
  1283. pgsql.max_persistent = -1- B8 c1 V! D/ H- h
  1284. ; \, y& `9 Q5 j$ C2 q, `& B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 r, A# K& P6 a: c
  1286. ; http://php.net/pgsql.max-links; C7 e: X! i" a& X' [( b* S" l
  1287. pgsql.max_links = -1
    & n8 D9 y5 W7 h, y2 K; ]) B8 y

  1288. ! g5 u' W/ v. k8 p2 ^
  1289. ; Ignore PostgreSQL backends Notice message or not.1 ^1 ?& l/ X3 G5 G9 }  p
  1290. ; Notice message logging require a little overheads.
    % ]3 s3 R) g, c. r. A
  1291. ; http://php.net/pgsql.ignore-notice* b  @9 L1 ^; u
  1292. pgsql.ignore_notice = 0
    4 D: _: M+ g& e+ O1 \2 J7 m

  1293. : M) b, M/ I5 u0 p1 F# g
  1294. ; Log PostgreSQL backends Notice message or not.. t; J: }6 Y8 C9 u
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    / A. ?( ]' e7 a% M+ Y
  1296. ; http://php.net/pgsql.log-notice! m" H, n6 O4 r* {) s8 q5 U
  1297. pgsql.log_notice = 09 A$ Y: A3 S0 ^0 ?( P
  1298. + H" ?3 [. g* i, Y3 @. P& v
  1299. [bcmath]
    & `/ A8 I" O5 v! b7 N2 ^9 l  N
  1300. ; Number of decimal digits for all bcmath functions.& l% Q3 J  i/ a# G
  1301. ; http://php.net/bcmath.scale
    / e* @8 T7 i% M( M) ~
  1302. bcmath.scale = 0" [, q/ y: ?7 a: b" ~1 n6 b
  1303. , e: ]: |) O; d
  1304. [browscap]
    , P3 n4 ?/ r9 _, b$ I' V" F
  1305. ; http://php.net/browscap
    1 O' A' {! W  X$ G0 t3 o1 }! T' f
  1306. ;browscap = extra/browscap.ini
    ( g' s& g& ~3 D+ g  a

  1307. ; D7 p1 G+ q) P+ s5 x! L
  1308. [Session]* k5 ?0 J1 \1 W0 m. a9 z/ T4 `" r( \
  1309. ; Handler used to store/retrieve data.2 y: g5 k# z# q2 `0 i$ |; K  I
  1310. ; http://php.net/session.save-handler; w/ [. w' v6 s; T% J) W& E- V- B5 `
  1311. session.save_handler = files
    ) l0 G9 v! i- V" S5 J; H
  1312. " b& P7 M4 A" ?* j* n) i
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    4 t. \. A, K: ], d
  1314. ; where data files are stored. Note: Windows users have to change this
    . k& s  A% Q, ~6 T7 N* n( c1 \
  1315. ; variable in order to use PHP's session functions.
    ! C# Y! S4 t# a1 s! @0 m& I7 R
  1316. ;, E) L1 g# I! D5 S. o
  1317. ; The path can be defined as:; J- S1 f9 [2 O" I, [: `8 j
  1318. ;" W, l- N; u2 E5 n- H; P' N/ s
  1319. ;     session.save_path = "N;/path"
    ! H2 |; z& m$ H' B- X
  1320. ;, v" B5 o7 B. I% D& s% v* x" @) ^
  1321. ; where N is an integer.  Instead of storing all the session files in7 s% H3 k+ h1 e! {+ W
  1322. ; /path, what this will do is use subdirectories N-levels deep, and; Y; M/ V; D* q
  1323. ; store the session data in those directories.  This is useful if
    8 R/ t2 P8 |; Z4 u% @
  1324. ; your OS has problems with many files in one directory, and is
    1 S$ d/ _; g  s: M7 n' n
  1325. ; a more efficient layout for servers that handle many sessions.
    : y7 u7 N) j, ~+ e6 E8 s0 }
  1326. ;
    . `4 Z. z4 b- [( D) ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically.5 I6 r2 I* B7 W
  1328. ;         You can use the script in the ext/session dir for that purpose.
    3 \6 |% V5 J: H$ G  R8 ?6 ?  [. A
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    / _8 C: y0 a7 O0 P' p
  1330. ;         use subdirectories for session storage; v/ `1 N/ l$ f, z) n( W+ C& V3 E
  1331. ;$ g% g6 ~2 W% `& w+ c" X* x" F
  1332. ; The file storage module creates files using mode 600 by default.2 x8 Y  u7 c7 e3 ~& E$ [6 I
  1333. ; You can change that by using/ k9 n: Q$ |  e; @/ Q
  1334. ;
    / ^5 ~6 _8 @- H8 x2 g0 u' B
  1335. ;     session.save_path = "N;MODE;/path"
    8 p# x  F- E' e2 [9 U/ o( m
  1336. ;& @; h7 ~; t8 H! b4 O' V; X2 E
  1337. ; where MODE is the octal representation of the mode. Note that this
    ( W/ I$ n2 D% j1 m+ Q2 y3 \; V2 I
  1338. ; does not overwrite the process's umask.
    . C, c/ B  A: e- r
  1339. ; http://php.net/session.save-path% Y6 m& r* V7 p6 e3 Q3 d
  1340. ;session.save_path = "/tmp". O  m+ z, i3 \9 R- O9 Z
  1341. ( n" h. C4 D' B5 T3 J* _' M
  1342. ; Whether to use strict session mode.
    # L, S6 S9 o  p2 r1 @! P2 H4 j
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate+ _/ K( b- @' V- B
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 @: @  H( ?5 W' T. l
  1345. ; applications from session fixation via session adoption vulnerability. It is" M( ^: r/ [4 A( j' u
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    : J' Y9 i# S( k- q4 a9 i
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ( k, Q- D; ^: N* N; p
  1348. session.use_strict_mode = 0& C# t  n8 K6 J) N/ q) x

  1349. * P- A0 c1 J4 R
  1350. ; Whether to use cookies.% T  A/ ~' I- U' }- N' t/ Z+ C
  1351. ; http://php.net/session.use-cookies' o! ^0 c# |) `. l9 Y" c* [
  1352. session.use_cookies = 18 ]  }! W; k; Q1 H! b

  1353. . ?4 j% M/ |4 |1 {3 m- G
  1354. ; http://php.net/session.cookie-secure- t( Q1 V/ h; D% c# f
  1355. ;session.cookie_secure =9 F2 ^1 Y+ ]( d! I* a: Q* J1 v6 Y
  1356. # D( w8 H+ X9 O( |  c
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ D/ C4 Y9 V) D
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ! @" S5 l% n, I8 b" J/ f! n$ L
  1359. ; session hijacking when not specifying and managing your own session id. It is
    & N# H: i, `$ v0 _- q# F) C! h4 p! E. E" a
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.' M/ J2 _4 u8 i4 }
  1361. ; http://php.net/session.use-only-cookies
    0 D& W$ h; @# S
  1362. session.use_only_cookies = 1; l; @; I' K9 n8 q# S
  1363. , F# S0 G. I7 c6 r+ w9 [$ p
  1364. ; Name of the session (used as cookie name).
    ! h  f+ x' f: j
  1365. ; http://php.net/session.name
    ( c  \% t$ g9 b9 H( `) P
  1366. session.name = PHPSESSID7 T5 i4 I# u4 O- K4 q

  1367.   g: v' K2 R+ D
  1368. ; Initialize session on request startup.
    2 @& _# b" B# V0 L. V
  1369. ; http://php.net/session.auto-start# ]. X3 E( U8 I* C
  1370. session.auto_start = 0
    * f; R; o" R1 k

  1371. + A6 t( q$ ?1 t  {" }  n
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( E5 N' W/ u+ q. T' t$ S
  1373. ; http://php.net/session.cookie-lifetime
    * t3 `# B6 D% v5 n! N. y
  1374. session.cookie_lifetime = 0$ E1 {5 g/ G3 P( _
  1375. 9 Z& G7 Y$ r! @# K" |
  1376. ; The path for which the cookie is valid.2 C1 x" {& ^; f" \3 Z
  1377. ; http://php.net/session.cookie-path$ S" E) `7 N) a
  1378. session.cookie_path = /3 Y( v' R: s% h4 x- ^; X

  1379. ' n; O% ]1 \, m$ t0 i% C1 W2 |
  1380. ; The domain for which the cookie is valid.) v1 J) y$ n% F
  1381. ; http://php.net/session.cookie-domain
    9 G# i8 }7 j0 Q/ K) A: M' q! O
  1382. session.cookie_domain =6 T" f! S5 ~# ~

  1383. 7 Y6 O  p* V# ?" X! C5 A
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' D$ O- o) s# e
  1385. ; http://php.net/session.cookie-httponly! i1 {" f7 Z, I9 f! Y) @) V$ P; j
  1386. session.cookie_httponly =8 V' @) ?$ G6 c" _9 a2 P2 ]7 |6 g, q
  1387. # L- M1 g+ P) G3 ?9 ]8 X
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . w/ F7 b3 y- _( l0 T
  1389. ; http://php.net/session.serialize-handler! W4 u& B% w: f  a
  1390. session.serialize_handler = php
      }* U  V/ L1 p
  1391. : ^4 n; d  ~- Y, A
  1392. ; Defines the probability that the 'garbage collection' process is started/ I0 M8 E- |. Y; s) r
  1393. ; on every session initialization. The probability is calculated by using
    5 B, [: `* h* i# F' h6 ]3 f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator$ L/ l  I: f! a. W+ N" {8 Y1 b
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 19 [) Y, s# Y( ~
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 j9 @1 Q. I9 v  `2 I) B
  1397. ; the gc will run on any give request.
    ; h+ W. n+ e' t8 o* d
  1398. ; Default Value: 1) j; ]  L6 s( I7 W
  1399. ; Development Value: 1& ~2 k1 x  e' j& z
  1400. ; Production Value: 1
    , x7 L0 L  N% Z, X
  1401. ; http://php.net/session.gc-probability7 F6 w' K" ], j# i; s; d! }
  1402. session.gc_probability = 1
    : F  E; E/ F+ R

  1403.   s. k3 E+ m+ g' C  _3 r; Z
  1404. ; Defines the probability that the 'garbage collection' process is started on every* S) {. Y; }& O0 d: j% w
  1405. ; session initialization. The probability is calculated by using the following equation:+ n( f$ Q4 a5 O0 [# h9 f7 q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    9 w9 f# d; y+ n9 e2 [. b. E* `" @
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 x  H' Q( T( h
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : ?+ d5 ~# K; h# |; t9 M
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you# J4 O' T5 ^% ?
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; X* P; u7 i- a5 ], w0 K7 Y+ H! r
  1411. ; this is a more efficient approach.  K/ t, V7 Y4 Z% \4 `! s# S
  1412. ; Default Value: 100+ w. I1 y$ J3 R# f" M
  1413. ; Development Value: 1000" t8 k) F1 s8 f4 `
  1414. ; Production Value: 1000
    4 j  o! y" C. H; R, i0 y
  1415. ; http://php.net/session.gc-divisor' L( l  Y" j6 g, O9 ?8 b2 E# y8 T
  1416. session.gc_divisor = 1000
    ( {# m8 e( O/ ?

  1417. # Q; d5 i! l; k, C. s3 S5 a: u, \
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ d' J7 ?1 O# C* p8 r! \
  1419. ; cleaned up by the garbage collection process.& U& G* ]0 N3 m' d7 o: H9 g2 }* F
  1420. ; http://php.net/session.gc-maxlifetime
    2 U- \: h0 n: a. i. c
  1421. session.gc_maxlifetime = 1440
    : P6 R) d& o5 o

  1422. 8 b4 I! P7 y) h6 Q3 \$ j% X5 ]
  1423. ; NOTE: If you are using the subdirectory option for storing session files* b4 U" s# s- {; w8 e0 Y
  1424. ;       (see session.save_path above), then garbage collection does *not*
    , h7 f0 `. u3 a. x, c
  1425. ;       happen automatically.  You will need to do your own garbage
    2 H1 {  Z- e5 M/ \; ]
  1426. ;       collection through a shell script, cron entry, or some other method.) W0 x* f- y$ q3 P
  1427. ;       For example, the following script would is the equivalent of
    $ Y6 N# f% R, N! E; u; j. s
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- x* d( L3 L6 h0 s+ m
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm* V: f7 i% Y# e, U# ^
  1430. 3 m+ }* m% L. W+ h" S
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! }5 T7 R6 O- ^5 F, e) x
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    % }( u/ W# \0 w/ c% K
  1433. ; considered as valid.9 \2 h) C" L/ m/ B! r
  1434. ; http://php.net/session.referer-check4 h* f- u: |' D; c+ ^, O2 }
  1435. session.referer_check =
      P# Y, u9 E7 j9 s) t

  1436. 0 G$ W8 p% f8 C1 K: t, E
  1437. ; How many bytes to read from the file.
    ' v5 v1 T# i/ X. D1 t4 `
  1438. ; http://php.net/session.entropy-length& W, X9 F4 D! ^1 D
  1439. ;session.entropy_length = 32. {4 A8 Q% G0 x
  1440. $ x* _3 u* q  w$ A
  1441. ; Specified here to create the session id.4 u2 f4 r6 h8 G$ a8 C1 [) _% G$ z
  1442. ; http://php.net/session.entropy-file6 h4 |6 v8 F% z: b0 n. O4 w0 W# C
  1443. ; Defaults to /dev/urandom
    + \" ], W1 i$ }( |* z6 J
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom' @. v' @( V; t! T# U" O
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! L9 ^( i$ C9 [1 n, |8 o: T
  1446. ; On windows, setting the entropy_length setting will activate the$ D8 H0 q1 B# b4 W; a5 R7 V
  1447. ; Windows random source (using the CryptoAPI)6 Y2 j* e; ]: _% {+ J' |
  1448. ;session.entropy_file = /dev/urandom7 A" @+ s& s. `" x) b

  1449. / Y; |2 J' ^/ A  M- m
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects& M1 f6 i7 X: ~  G
  1451. ; or leave this empty to avoid sending anti-caching headers.9 Y1 a! g9 |' v: Q9 y
  1452. ; http://php.net/session.cache-limiter: S* v- ~6 b; Q& R  U
  1453. session.cache_limiter = nocache: j% N8 i* X- f* |* t6 S
  1454. 0 t, H2 {3 R7 j, q' G
  1455. ; Document expires after n minutes.% w" u7 n' r5 T! N1 c3 a# r( I
  1456. ; http://php.net/session.cache-expire
    : T* u5 n  t4 Y6 R, |1 p4 K
  1457. session.cache_expire = 180
    7 K8 B1 }) F1 L, m0 G+ P

  1458. 4 A4 F+ l3 w$ `  K
  1459. ; trans sid support is disabled by default.6 K$ m8 C. _' x3 W* M) t
  1460. ; Use of trans sid may risk your users' security.
    ; l2 d7 A7 v: W) R* {
  1461. ; Use this option with caution.  f7 f5 A9 J  ~
  1462. ; - User may send URL contains active session ID2 j+ p3 @- F: ^7 U/ U
  1463. ;   to other person via. email/irc/etc.. V" J+ k: c7 N  ~7 o9 \
  1464. ; - URL that contains active session ID may be stored
    ( m% a/ ^7 c5 e7 U' o7 G' {
  1465. ;   in publicly accessible computer.
    ' V% `. o& @% ^: y2 J
  1466. ; - User may access your site with the same session ID; w+ s, e! ?  G; J8 c
  1467. ;   always using URL stored in browser's history or bookmarks.
    2 v) P0 |: ?. v' A8 K
  1468. ; http://php.net/session.use-trans-sid
    ' V' G/ m) G1 t* f, w/ e
  1469. session.use_trans_sid = 0
      p! A( Q( g8 z8 Q3 X
  1470. ; d. r' d8 B% g; X
  1471. ; Select a hash function for use in generating session ids.
    + t8 `; G$ k& m' ~3 V% F
  1472. ; Possible Values
    # H( `3 ~4 _$ e) p
  1473. ;   0  (MD5 128 bits)) E8 T0 h; j0 ^7 d" t3 a
  1474. ;   1  (SHA-1 160 bits)4 j' ~1 H+ E' T! |  l
  1475. ; This option may also be set to the name of any hash function supported by4 K$ [1 ?& H+ p4 [6 [+ r
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()& c1 ~1 o9 t2 J8 J% `
  1477. ; function.  K$ ~& F: D. B& u# n
  1478. ; http://php.net/session.hash-function% _  ]2 D) m& E' l
  1479. session.hash_function = 0
    * ~' x- a  A4 n3 P% \& S( U
  1480.   Q& S2 f& P8 g* T
  1481. ; Define how many bits are stored in each character when converting
    2 k" C2 Z$ \2 P9 H
  1482. ; the binary hash data to something readable.
    " X4 \, V9 X8 \3 t( X  H
  1483. ; Possible values:
    7 G$ X& i# Q- e  R
  1484. ;   4  (4 bits: 0-9, a-f)+ B: k4 d7 T7 ?0 }" T
  1485. ;   5  (5 bits: 0-9, a-v)
    & q; R$ R1 Z! {2 S2 v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")& W! ~3 |4 z2 Z9 ^/ g' P
  1487. ; Default Value: 4/ T0 G; _7 f6 Q- D
  1488. ; Development Value: 5
    * Z5 v, x0 n; t2 l
  1489. ; Production Value: 5
    " H' m' H8 T8 f9 _( I4 Q4 o) v/ S
  1490. ; http://php.net/session.hash-bits-per-character6 C2 D9 o- s0 f! x' k
  1491. session.hash_bits_per_character = 53 M. K7 b( m9 L4 H
  1492. # G, `, |0 v7 Q" X
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags./ l& ~) A& s& m  Q$ ~2 @( U7 M
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ' A6 P  P! |# O/ J2 Y! ?
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ! k2 B3 B( D- G5 F% ?* P# |
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.7 @; W: j& @- j- V, S
  1497. ; Note that all valid entries require a "=", even if no value follows.% i6 r0 w6 T$ L# V
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - c3 W; [0 }, G, J) U/ O
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 B, y0 O. O" r, Q/ l- F
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! u7 [' ^/ N4 H/ P$ `9 _
  1501. ; http://php.net/url-rewriter.tags
    8 h$ N$ W2 i  W6 V- {
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& c; P1 \3 z- I2 y' O6 Q$ O

  1503. ! U+ I7 e. A7 _% B8 h% x4 _
  1504. ; Enable upload progress tracking in $_SESSION: m- C* ~$ g: q. w: d
  1505. ; Default Value: On! C! f  I) }7 R. d$ t, \; v
  1506. ; Development Value: On) r! E$ B: H( _, L  i2 v, P  K
  1507. ; Production Value: On/ _, i' k6 }. h8 H; ^$ o8 G" v
  1508. ; http://php.net/session.upload-progress.enabled
    ' n( ~# n1 o4 P/ [3 F# N
  1509. ;session.upload_progress.enabled = On
    8 s2 c6 ^+ l4 a
  1510. . Q* z3 g: ^! i8 o
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ! l) |: W3 K/ f6 e9 I- `& q
  1512. ; (i.e. upload completed).$ }5 i$ W' {" A& h5 [$ i+ X. T' {4 @
  1513. ; Default Value: On
    / K9 Q. ]0 D2 u; D5 t+ t
  1514. ; Development Value: On7 g8 c! {$ }3 T! x* W0 {
  1515. ; Production Value: On
    2 |/ `- s' a7 i9 [/ @4 f+ R" F
  1516. ; http://php.net/session.upload-progress.cleanup
    & I3 B0 H+ _8 ]- _  }: T1 K+ E, C  q/ y
  1517. ;session.upload_progress.cleanup = On% v# c4 Y$ t+ D. _/ A2 ~

  1518. " n. z1 o+ T- I% Y# r9 }4 J! F
  1519. ; A prefix used for the upload progress key in $_SESSION; q" Y$ d+ q7 c' C3 j1 a2 W& c
  1520. ; Default Value: "upload_progress_"
    7 S7 t+ a) g6 x. M% z% M+ g' u
  1521. ; Development Value: "upload_progress_"
    1 ~1 C" ^6 J" C" V
  1522. ; Production Value: "upload_progress_"
    8 Y  {; `4 Z* g5 r" v  h, h
  1523. ; http://php.net/session.upload-progress.prefix
    8 u/ k- \4 g# L" d7 R
  1524. ;session.upload_progress.prefix = "upload_progress_"! S& B( I  w1 ]- t3 X7 L$ z

  1525. $ ?7 X4 E4 r, \
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( v7 X: ^( _. r* D& `
  1527. ; containing the upload progress information* U2 M* j% P. {$ E% B/ s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * R" [7 z; Q% b- k: l1 u5 J
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"2 {# ~3 \( v# w/ y  N
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) ?  ]' C. v' a7 C
  1531. ; http://php.net/session.upload-progress.name/ ~- \# E5 X6 [9 j4 V1 p( ^
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    2 w! V# x  J9 U% s3 ]

  1533. : N/ Q% o$ \: j' ?: F, v. {# ^
  1534. ; How frequently the upload progress should be updated.2 R" \4 K, }5 [9 X0 D
  1535. ; Given either in percentages (per-file), or in bytes
    2 @6 T" l8 M: \  E4 r- H. P
  1536. ; Default Value: "1%"
    9 f4 p; q5 ~5 ]8 N9 \. b+ B/ D
  1537. ; Development Value: "1%": [8 z: t4 f! q" t" u, Y3 O
  1538. ; Production Value: "1%"* N2 e- z/ k9 f0 S0 b. q
  1539. ; http://php.net/session.upload-progress.freq
    * ^0 {/ h) F6 Z: |; h) q5 I& A
  1540. ;session.upload_progress.freq =  "1%"
    6 \4 q' [+ |9 q' l; p" a+ o4 F

  1541. " A' U! c& `2 l% j, M
  1542. ; The minimum delay between updates, in seconds, q  f6 C: y8 `+ w: k
  1543. ; Default Value: 1
    ; V4 F: j$ h" {0 _8 H
  1544. ; Development Value: 1
    * i, C0 @5 J3 G/ L1 y  |
  1545. ; Production Value: 1
    : K. y% G: V  Z, y
  1546. ; http://php.net/session.upload-progress.min-freq
    % x: h) k2 R8 G8 @
  1547. ;session.upload_progress.min_freq = "1"
    1 M- m7 Y& h8 Q7 F- J
  1548. * }; S8 L/ e' V  B2 B8 f/ e; z
  1549. ; Only write session data when session data is changed. Enabled by default.* q% a2 d) I# n- o% c9 G
  1550. ; http://php.net/session.lazy-write
    . y2 ]% [! f. [3 w
  1551. ;session.lazy_write = On/ i& M) F4 Z1 M7 L0 H

  1552. / [4 u0 K! @, [" Z
  1553. [Assertion]3 W0 ~& B+ Y) r- N8 o. R3 N
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" k) J, A& ^: O; _* n" f! d
  1555. ; -1: Do not compile at all1 h! [& F( R, W! G* G* `. G
  1556. ;  0: Jump over assertion at run-time( |( s# Q" O# J( m: r& c$ g
  1557. ;  1: Execute assertions7 W, ]2 {! h$ S/ V4 y* J3 i
  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)
    ; j4 Z- V9 G; A
  1559. ; Default Value: 1: o! Z! Q# Q" Q6 \: l
  1560. ; Development Value: 1
    ' ^0 k. X) p- B+ u$ }+ x
  1561. ; Production Value: -1
    4 w# i1 R; L$ t& J
  1562. ; http://php.net/zend.assertions) p2 Y, s  D: {& R( e
  1563. zend.assertions = -1
    $ e: p$ e8 T( \" b$ T8 F
  1564. 6 M5 _1 ]# s$ T# ~" a% G
  1565. ; Assert(expr); active by default.
    ' x( n5 q% h8 v6 H
  1566. ; http://php.net/assert.active
    4 {8 C# w8 @2 @. L* p
  1567. ;assert.active = On& d' C' v+ {% r+ i3 T9 X- C
  1568. # N' K9 {/ H; T$ D' ^2 g
  1569. ; Throw an AssertationException on failed assertions  E' F0 @! F" p" J
  1570. ; http://php.net/assert.exception) P- C1 W  k8 Y& m- `6 U. a" M
  1571. ;assert.exception = On, a3 J+ Q2 s9 i0 P
  1572. , Z, N- E- P. d( E; Z5 J( E5 S9 v
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    3 G0 X* Q+ a" N' q9 @2 y
  1574. ; http://php.net/assert.warning
    ' B1 z7 M8 n% X; b/ Z
  1575. ;assert.warning = On! A; @7 d4 W+ K6 {
  1576. # a! V& q9 y# `3 y9 K/ j# n0 x& [* a
  1577. ; Don't bail out by default.
    9 d6 Z1 q8 c0 ^  X, g
  1578. ; http://php.net/assert.bail
    ( g) a* w6 f7 Y: x+ r$ D
  1579. ;assert.bail = Off9 Z; p3 R  G. v4 t7 G/ a/ F, {! C5 ?

  1580. 4 C2 @, y7 Y5 j& H) i
  1581. ; User-function to be called if an assertion fails.
      s3 ?2 ]) w" H5 `- j: P4 r
  1582. ; http://php.net/assert.callback$ j  u3 R* L& ?2 ^  j, s) k3 y  v
  1583. ;assert.callback = 0
    / R& E8 r! e+ x1 W
  1584. # z5 C+ P2 o  N% W2 x
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    : Y$ o# u% T- V7 y# N
  1586. ; error_reporting(0) around the eval().
    , X4 v( D2 B) c% A% R$ L
  1587. ; http://php.net/assert.quiet-eval
    # G" i: u# ?3 |7 z. q9 i4 T
  1588. ;assert.quiet_eval = 0
    5 Q! L/ b; ]' O" w
  1589. " U: P7 m8 {0 D; u
  1590. [COM]" B" z8 d4 f, g# w  ?, m, B: P! M
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 M; h5 H4 a7 j6 J7 O1 ?8 i3 r) b
  1592. ; http://php.net/com.typelib-file
    ; B+ p0 ]( {% }, V
  1593. ;com.typelib_file =1 k  u1 x+ I, ]5 N  |8 g4 l" O

  1594.   j8 N! e, ]( G3 f
  1595. ; allow Distributed-COM calls
    - X: Y! v2 O- R- D0 ]0 @/ _
  1596. ; http://php.net/com.allow-dcom
    / k: `/ `0 V# |6 g: U
  1597. ;com.allow_dcom = true
    9 A+ K" v' \* V$ C% v

  1598. & [2 I. U& f/ M# S/ O) \& Y! k
  1599. ; autoregister constants of a components typlib on com_load(), ^+ r$ w6 @1 K7 \( U
  1600. ; http://php.net/com.autoregister-typelib
    & j0 s7 t6 |. E4 e5 |
  1601. ;com.autoregister_typelib = true
    & ]3 a8 u7 _- u; U  z4 B  C1 B/ U9 c4 L
  1602. 0 B( ^* V; c5 H& p& f
  1603. ; register constants casesensitive
    ; N! x8 [! u; k
  1604. ; http://php.net/com.autoregister-casesensitive
    ; ?4 C+ J- R, a& i
  1605. ;com.autoregister_casesensitive = false$ v' w% \1 ^) X1 H* p

  1606. & g/ K* b$ f. R2 q
  1607. ; show warnings on duplicate constant registrations
    - h4 m" C. u# R& n- P
  1608. ; http://php.net/com.autoregister-verbose9 x- _9 c, R& ?
  1609. ;com.autoregister_verbose = true
    + x$ ?  z2 B3 I  V" y
  1610. 4 Z3 ?/ y, {7 W6 I* k1 c
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    / L% ^: b9 c. N
  1612. ; Default: system ANSI code page
    " M' h0 a2 U  g" d0 I1 i
  1613. ;com.code_page=
    7 |0 E$ n% M* C! ^
  1614. - A- b) A# `0 X4 ~
  1615. [mbstring]
    ) @% S+ {" @  }# O( \  r! P( F$ A! Q
  1616. ; language for internal character representation.6 c4 a( d" D) T1 c5 J2 y) n$ d
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    & y5 j6 q" g9 O5 G6 R8 J
  1618. ; http://php.net/mbstring.language$ V; `! ~' W6 z1 C
  1619. ;mbstring.language = Japanese2 ^2 Y* V6 i$ k" H0 m6 i6 f

  1620. 3 K2 v: E! S8 Z; M8 g& @* G9 }! y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 I! W" Y0 f) A% L
  1622. ; internal/script encoding./ w2 z" I" \3 k- H( M/ s8 [- u
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)( I- I7 w' [( y+ P, t4 P4 ^0 N
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 L' I" Y; X6 }
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 p6 G7 F+ U3 i2 Q+ v2 `
  1626. ;mbstring.internal_encoding =
    3 J2 Q  ]8 |/ L
  1627. ) a- g5 n+ ]. s2 @
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . t3 J; H5 D) ?$ D8 a
  1629. ; http input encoding.
      `' ^% ]) Z2 ~+ [  A, s
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! `* J( ?5 X$ U: y4 b0 x/ o" ]- L; V& {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 I* K# S8 c' U2 M
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: k% v9 s9 c$ T: g9 O
  1633. ; http://php.net/mbstring.http-input' l2 F3 y0 ~2 G9 U) N- ]8 C
  1634. ;mbstring.http_input =; `4 c  w3 d' k/ S$ y2 C: |
  1635. ( t3 J; e, J0 V- P9 m' h$ D
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : k, D2 P& h9 K) K- e- l  @
  1637. ; http output encoding.' |# `1 N2 x0 ~9 O
  1638. ; mb_output_handler must be registered as output buffer to function.; V! g5 T: w, d0 M0 X
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ u! Q8 R7 q7 m5 }- B  z
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 r$ e& V7 I% i3 s6 [) d, s
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    & j2 I; r8 h$ T- v, J3 t1 b. ?
  1642. ; otherwise output encoding conversion cannot be performed.
    1 U: l% h9 C( I
  1643. ; http://php.net/mbstring.http-output
    4 {& w4 x. q% o2 ~$ `
  1644. ;mbstring.http_output =
    " I6 H, T' P4 B! ]5 ]
  1645. $ ^- R* {+ ^* E4 \- D" N* s
  1646. ; enable automatic encoding translation according to- o$ k6 L0 r7 @0 h
  1647. ; mbstring.internal_encoding setting. Input chars are+ }! U. _$ `! H
  1648. ; converted to internal encoding by setting this to On.( Y7 L% t# \) _
  1649. ; Note: Do _not_ use automatic encoding translation for7 l/ q' X( \/ N8 E' O3 k& T- W! V
  1650. ;       portable libs/applications.
      c! h, X3 c9 C0 ]6 o
  1651. ; http://php.net/mbstring.encoding-translation
    2 F( L4 Y8 Y6 v
  1652. ;mbstring.encoding_translation = Off
    ; q( {0 t8 D( u6 ^- g8 G

  1653. * x2 K2 U0 e3 _* _) F
  1654. ; automatic encoding detection order.
    1 R) D4 r2 n4 I. E
  1655. ; "auto" detect order is changed according to mbstring.language
    - _1 f( v7 F: v% j# I0 K$ O3 b
  1656. ; http://php.net/mbstring.detect-order  |7 M% J& @7 R& m6 C# |
  1657. ;mbstring.detect_order = auto
    4 m, \: ?! ]7 G$ z+ w+ `

  1658. 2 a. w7 d& Y  P+ k7 @
  1659. ; substitute_character used when character cannot be converted
    6 m3 A4 N$ t7 ?9 v5 W! k( X
  1660. ; one from another, Z- t# [5 U" r: K! _
  1661. ; http://php.net/mbstring.substitute-character6 T6 L' ]" X" r* n" b. x4 T. @$ P
  1662. ;mbstring.substitute_character = none
    6 c7 n+ h3 P  o9 ], A8 a

  1663. 4 F# A; @4 w8 G7 o. u
  1664. ; overload(replace) single byte functions by mbstring functions./ @8 G1 U2 o- h; R: y
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    : A0 e: L4 e  ~) m4 W# F$ n
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    * l' M( c, c0 Q3 ]; K8 F
  1667. ; For example, 7 for overload everything.' E* h0 {# W" d$ c6 G4 Z
  1668. ; 0: No overload
      o6 F: U! R$ E4 J  k, M# O& B
  1669. ; 1: Overload mail() function- Q+ s3 V, X( m2 U5 Y: D& a, Y
  1670. ; 2: Overload str*() functions+ q' ^$ ?$ t0 X+ X7 g2 G6 X- f
  1671. ; 4: Overload ereg*() functions
    % o( G/ N& S. H/ [$ C8 t( Q& T
  1672. ; http://php.net/mbstring.func-overload
    / c  r1 ~0 X0 U. P" Q5 B) h
  1673. ;mbstring.func_overload = 0
    " X- f0 E' r" g; J

  1674. ! t( t0 V! p1 `% @+ [
  1675. ; enable strict encoding detection.
    , B. [7 j5 _4 K4 O# k' l7 }
  1676. ; Default: Off
    : \6 }  z  i& G9 K) ^' u
  1677. ;mbstring.strict_detection = On
    ) M: {3 c/ e4 `6 Z
  1678. 0 t1 X4 V; P+ o0 B1 w+ Q6 B+ c2 G
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()5 [$ M$ d: u! h; i
  1680. ; is activated.
    0 q( A, ]% A" q  X9 p& M
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* |' e) ]2 |3 l
  1682. ;mbstring.http_output_conv_mimetype=
    ; f* r# H. X& \" t( J
  1683. 2 J& l. d: q" g4 T8 m" I$ [
  1684. [gd]
    , Y. Q9 |" d: P: }2 n
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ! \5 M: ?: _1 T- b4 m, w* @
  1686. ; a gd image. The warning will then be displayed as notices
    , T% ^) t0 C$ \: q
  1687. ; disabled by default) o3 t3 Z, M* o1 B' a% W4 X
  1688. ; http://php.net/gd.jpeg-ignore-warning$ L$ T3 |$ T* ]; `
  1689. ;gd.jpeg_ignore_warning = 0
    8 ~' g- Z1 M% k. C/ J! c7 q5 i# w

  1690. 1 U( V4 u) ?0 J( J
  1691. [exif]3 f2 y+ m) h! Z; X% M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 j0 [, Q0 N6 w3 \7 G( x
  1693. ; With mbstring support this will automatically be converted into the encoding- N( x. b5 q, q5 g* q3 ]$ w3 ]& `& V
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    8 m2 _, R# p/ I6 E4 K
  1695. ; is used. For the decode settings you can distinguish between motorola and! Z4 Y+ {  n; B3 O: j/ r; ?6 A5 o
  1696. ; intel byte order. A decode setting cannot be empty.
    9 }6 [8 S$ F! t6 B8 O9 _/ m
  1697. ; http://php.net/exif.encode-unicode% D$ _  n+ Q# ?# B9 v
  1698. ;exif.encode_unicode = ISO-8859-15  \7 G4 X$ t6 v4 I
  1699. , \. k4 H5 a# t: e4 u
  1700. ; http://php.net/exif.decode-unicode-motorola
    7 T* j/ A/ U3 h8 S# u
  1701. ;exif.decode_unicode_motorola = UCS-2BE# h4 ~2 K) r* }% R( w, r5 z

  1702. ; t/ O8 H+ c+ }( ?
  1703. ; http://php.net/exif.decode-unicode-intel! y1 k' G  X% f/ l
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ( o  y& K; [) e! T6 W  z

  1705. 3 |" @; P5 f& c. ~7 }. x+ s7 E
  1706. ; http://php.net/exif.encode-jis3 R) |- M4 U' s& i7 A" o0 t9 _
  1707. ;exif.encode_jis =) v5 P* M  A0 C
  1708.   ^. g' j, m: W3 M; m) u( D
  1709. ; http://php.net/exif.decode-jis-motorola0 ]- a$ `( H1 p& Y
  1710. ;exif.decode_jis_motorola = JIS
    4 L" W7 D. r* f6 D

  1711. : C9 `& X. ~2 H+ Z0 [6 e! k
  1712. ; http://php.net/exif.decode-jis-intel
    " d- Q7 w1 d; _+ X
  1713. ;exif.decode_jis_intel    = JIS
    / D  f5 }1 t9 m# V

  1714. 0 O$ r5 ]) d8 c" N7 Q$ m4 ]
  1715. [Tidy]
    5 R6 _7 ]: I7 M5 n* S1 j: `' m
  1716. ; The path to a default tidy configuration file to use when using tidy
    & @4 t! |$ B" ]# A9 f, c& E
  1717. ; http://php.net/tidy.default-config$ c! p" u# e. ~
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % G. H5 E! d2 f1 S0 a' r

  1719. $ a! T5 [9 N4 N  Z
  1720. ; Should tidy clean and repair output automatically?
    $ l  z$ s/ I7 n$ F4 H4 N7 S
  1721. ; WARNING: Do not use this option if you are generating non-html content
    4 A. d- d) [( I' G% p
  1722. ; such as dynamic images
    , F1 H0 \7 [! n# T7 g- t1 N& J: l
  1723. ; http://php.net/tidy.clean-output
    : R* f. c& |/ \( p# C# }
  1724. tidy.clean_output = Off! l* t. L. r/ G: i- ~4 ~3 N" r

  1725. 9 C0 X! m% @3 |/ j) n; M
  1726. [soap]1 b$ d7 r% u$ L# Q, I
  1727. ; Enables or disables WSDL caching feature.3 g( H8 f7 b7 w- k( m1 _: {& C
  1728. ; http://php.net/soap.wsdl-cache-enabled( g9 P; Z9 ^* q/ q: o
  1729. soap.wsdl_cache_enabled=1
    # L: W7 q7 U6 r' `
  1730. % ]% d# u0 [6 n8 E* l* w9 E, s
  1731. ; Sets the directory name where SOAP extension will put cache files.: S! ~7 L$ E" m
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 f; P9 E. S' z/ E! ]; X
  1733. soap.wsdl_cache_dir="/tmp"; H0 z9 g; K5 Z  T

  1734. ( |7 M7 r" T6 ]* F5 u2 n' t6 U3 O
  1735. ; (time to live) Sets the number of second while cached file will be used0 n2 K3 K/ W/ ]7 w% q- j
  1736. ; instead of original one.( U' _0 _. }  S. q
  1737. ; http://php.net/soap.wsdl-cache-ttl; v1 E; ^$ Q5 B, O2 I
  1738. soap.wsdl_cache_ttl=86400
    & S& ?& y* L$ C' d0 [: k( w: I

  1739. . Q1 J* Z. O* I
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 W/ R* z# I) Q2 H0 _; o
  1741. soap.wsdl_cache_limit = 5% g9 K' Q$ M8 k5 g- F

  1742. 9 N7 [" X; n) r0 @  a9 K
  1743. [sysvshm], P" ^) A# C+ y9 Z6 s  k
  1744. ; A default size of the shared memory segment
    5 w5 E& b4 x* D8 J* y+ h- p
  1745. ;sysvshm.init_mem = 10000
    0 j, q* p; x6 a3 f+ f; e4 G  X
  1746.   M+ n  D6 f; R' Q0 |$ {, u
  1747. [ldap]
    2 T' ?$ X8 C0 T8 ~
  1748. ; Sets the maximum number of open links or -1 for unlimited., A9 j* o& I  x
  1749. ldap.max_links = -1# L& p# Y; m3 T
  1750. ! Q# n5 H8 A! A6 d5 B) l# D2 v
  1751. [mcrypt]
    % I, b) S0 p3 i
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. O- ~* U- h4 {4 w- Y1 S
  1753. ( c& X  y# A  ?* m4 C  g
  1754. ; Directory where to load mcrypt algorithms7 I! U8 A6 R4 k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( j: W$ ]: r  z7 |; j' ?. T  v
  1756. ;mcrypt.algorithms_dir=9 \6 ?$ T& x. O5 C) f

  1757. * O! q* M) `6 Z
  1758. ; Directory where to load mcrypt modes, G$ k' J' o4 ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ f# }# c; z0 P1 y0 E
  1760. ;mcrypt.modes_dir=
    1 E  m% ?" `% z$ w* n
  1761. 2 F8 z7 ^6 |1 l. o2 a/ b' z0 k* p1 V9 O
  1762. [dba]9 j! G# e# V+ H% c2 @$ E; y( @3 z; M
  1763. ;dba.default_handler=
    0 q! L+ P& c' Q1 C

  1764. 9 a& w$ }, w+ D2 N6 I9 h
  1765. [opcache]
      _% e( {9 ?* L! Y
  1766. ; Determines if Zend OPCache is enabled, Y7 |. y- d  Z
  1767. ;opcache.enable=0
    0 R8 G) p) l2 F0 g& `' |; g: F
  1768. , J, ]% P3 y  a0 E& H
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 m8 d, O9 T6 t; R( g
  1770. ;opcache.enable_cli=0
    4 S, W4 V$ }$ W1 G9 [6 R

  1771. + E5 C2 q- X& ]5 {  B
  1772. ; The OPcache shared memory storage size.
    0 K: i* d" z: a
  1773. ;opcache.memory_consumption=649 c* H  _( b) X$ [( ^, e
  1774. 1 V: j) F) j  ?
  1775. ; The amount of memory for interned strings in Mbytes.
    / H- P1 y6 o/ ~7 W9 V
  1776. ;opcache.interned_strings_buffer=4
    2 W6 u+ i  L2 T  s
  1777. # F$ W1 f, K( j+ g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    $ C5 p  y% S% g
  1779. ; Only numbers between 200 and 1000000 are allowed.& f$ b& P  x4 i) r
  1780. ;opcache.max_accelerated_files=2000
    . {7 {: v- v% B* E5 }
  1781. * v1 d$ J1 x0 f! h8 y: G: U4 O
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 G4 M3 g2 \3 t4 \. Z9 }/ a/ P
  1783. ;opcache.max_wasted_percentage=5
    9 z" E& s0 A* s3 N

  1784. + j: J, ~9 P- p) t9 [1 g7 a0 m& k
  1785. ; When this directive is enabled, the OPcache appends the current working
    % F; p0 J& i& r/ z
  1786. ; directory to the script key, thus eliminating possible collisions between
    * q" T; U: M3 W' ?4 l
  1787. ; files with the same name (basename). Disabling the directive improves
    # M. F) q/ d: D/ y  H# }5 L
  1788. ; performance, but may break existing applications.
    5 D+ Q$ a$ {) }, M
  1789. ;opcache.use_cwd=1; M; \4 K, l2 b

  1790. $ f2 q! w1 C3 N$ a0 \' o0 b5 s
  1791. ; When disabled, you must reset the OPcache manually or restart the
    / X5 U% i; H* \0 `' a- w  [8 c
  1792. ; webserver for changes to the filesystem to take effect.. }  c; E+ S, K0 s4 \+ L( I
  1793. ;opcache.validate_timestamps=1. w. X5 s% \5 p1 I2 j

  1794. 9 r) L  ?/ w1 ~( H
  1795. ; How often (in seconds) to check file timestamps for changes to the shared5 q& R& q) j/ X8 M
  1796. ; memory storage allocation. ("1" means validate once per second, but only8 s2 f: A% X1 R8 u
  1797. ; once per request. "0" means always validate)
    ( D( E. r9 h: ?0 o6 d: _
  1798. ;opcache.revalidate_freq=2% m0 V% N, l- e# p& }

  1799. % n2 \* N4 Y1 W: f
  1800. ; Enables or disables file search in include_path optimization
    / H, b3 _. a% f
  1801. ;opcache.revalidate_path=07 l" G, W( ]4 e5 f: u

  1802. , K. i4 D' |2 J% e4 Z3 g
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. A' i- t: i5 G* ~. K2 h
  1804. ; size of the optimized code.' `* E- v9 F! M  |4 f% ]& ^5 y
  1805. ;opcache.save_comments=1  T& ^4 O) q' n8 }( y
  1806. 0 R/ o; U/ t9 X
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    $ {5 Y* `+ C+ N3 Y5 S' t* O: q( C
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.+ w+ Z3 m! D5 \% Y$ J- n+ |
  1809. ;opcache.fast_shutdown=0
    ) m( l; J" G6 |; t) l* W4 X/ `

  1810. - N+ w) U$ r9 V+ z5 ~2 K
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ) |+ k$ H0 M/ ?4 G5 E5 ?! m
  1812. ;opcache.enable_file_override=0
    ) D; i% X& C* x; _# E

  1813. - a, n& Z7 ?2 B" ~
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache, N: z- d4 a$ `5 t8 R2 t
  1815. ; passes5 n- M3 i+ E! L& A; b
  1816. ;opcache.optimization_level=0xffffffff
    9 W* P+ W# u+ R# ?0 c
  1817. & ~! p- d2 z, P" `
  1818. ;opcache.inherited_hack=1- w7 a7 x. b! E
  1819. ;opcache.dups_fix=0
      T0 q% f, ~9 B
  1820. 6 e7 n. ?% p6 R  V* {& u
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ k; i# \4 x  [0 _" s
  1822. ; Each OPcache blacklist file is a text file that holds the names of files4 B+ G  F$ _2 @' ?+ z; _
  1823. ; that should not be accelerated. The file format is to add each filename$ b+ N! N. P4 R( _# M
  1824. ; to a new line. The filename may be a full path or just a file prefix
    0 Y% T" W* x' }. }+ ]
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 U; {  D5 B4 a. M% G
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)., v( k+ a& a/ F$ @$ f1 k
  1827. ;opcache.blacklist_filename=
      X. |# X9 Z& Q# ~  F
  1828. 7 e( [* D" e2 H; @/ U" G
  1829. ; Allows exclusion of large files from being cached. By default all files+ ^# y% O0 I% C/ R; a. r, S
  1830. ; are cached.: t4 V6 B# O" ^& Z& M
  1831. ;opcache.max_file_size=09 B) G  D1 A7 N1 t0 R

  1832. ' s$ O7 R# p( B; s! w; |
  1833. ; Check the cache checksum each N requests.' a& A% |/ J+ c5 a$ f
  1834. ; The default value of "0" means that the checks are disabled.; x$ o& [& W4 M! |$ S( g- W" X
  1835. ;opcache.consistency_checks=0
    - L  k9 }- m. y: J+ u" E9 F

  1836. 4 h5 H1 \/ W' n# r
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; S$ v6 S7 g$ R! E
  1838. ; is not being accessed., v  Z; w! Y6 z0 o
  1839. ;opcache.force_restart_timeout=180
      D! I6 N. u, T$ Q6 _0 \8 J* U9 T
  1840. ) ?' m6 {5 j4 _: O6 R5 s* }
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    % Q: f  B" b' m+ ^; _* F- |! c4 y, i
  1842. ;opcache.error_log=4 n" S$ \2 Q; P2 P7 B7 ^

  1843. 7 w( ^) K7 |8 q; w) u- p" v& p& A' ~& \
  1844. ; All OPcache errors go to the Web server log.
    8 m  E) X+ R" p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / i" b: |& ]* h* V  e3 ^; W
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    $ ]4 \0 Y1 ?& _' O. t: p, u1 x& Z/ ^
  1847. ; debug messages (level 4).
    - M+ z4 K9 T0 M3 o2 w8 n7 b
  1848. ;opcache.log_verbosity_level=1: V1 a8 l$ T! U- w5 x5 N2 R

  1849. , N, v/ a& V, T( t6 l7 m5 F! a4 q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' Q) M6 R! S! R- |; O9 j) D
  1851. ;opcache.preferred_memory_model=$ ^  p. N8 S+ G& k( `  o
  1852. : k; \  o& B  t* X/ t8 ]8 V
  1853. ; Protect the shared memory from unexpected writing during script execution.
    - k  Q2 ~. `& e+ B. e( \& G
  1854. ; Useful for internal debugging only.8 R- a- U. c" X+ |' h( Q! p
  1855. ;opcache.protect_memory=0
    & V1 z4 p8 M3 n& a: F: T

  1856. . i1 T3 x/ {4 D/ \* W) C1 ]
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is6 ?' M9 M4 a7 `
  1858. ; started from specified string. The default "" means no restriction6 l5 r9 u) q: J  Y3 f9 e
  1859. ;opcache.restrict_api=
    ; M9 s) u) D; r! J% Q  l9 [
  1860. ! ^  O1 e: x+ k1 d
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP4 I- ~- g# g4 K2 h7 [2 i6 e0 U
  1862. ; processes have to map shared memory into the same address space. This
    ) @5 n7 \8 }, {! w# ^& d
  1863. ; directive allows to manually fix the "Unable to reattach to base address") {( I/ g7 s! P. A0 d
  1864. ; errors.
    : M! M6 _  k# p9 j# S; Z
  1865. ;opcache.mmap_base=
    $ n% Z5 _% B. h" p/ J9 t
  1866. " T5 U- q; g. X3 }8 y
  1867. ; Enables and sets the second level cache directory.
    9 n/ G4 y. J( u- }2 H9 V
  1868. ; It should improve performance when SHM memory is full, at server restart or( o& J- {- v6 l
  1869. ; SHM reset. The default "" disables file based caching.
    2 @9 d) u  [2 a3 \$ a
  1870. ;opcache.file_cache=2 |* O0 v. L: e! ]

  1871. : e& ?+ Y1 \, j4 o* a" x1 V
  1872. ; Enables or disables opcode caching in shared memory.
    . _8 o: Y0 N  h" F
  1873. ;opcache.file_cache_only=0  q5 P- k% |# g6 z( }
  1874. 7 D5 y+ E, S0 w/ R/ N( q
  1875. ; Enables or disables checksum validation when script loaded from file cache.6 J6 D9 ~% ?9 _) a
  1876. ;opcache.file_cache_consistency_checks=19 k) o6 \$ o/ k, k) @9 ]3 ~: |

  1877. ; C+ u9 d, j" U# F3 a' a8 f' T
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to! Q1 R5 Z  Q2 i: w' v/ l
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, Q: a7 E* Q* |4 T
  1880. ; cache is required.+ R: u9 c9 M- V1 j% Q. U9 y
  1881. ;opcache.file_cache_fallback=1
    $ T* m# r% l! U3 R9 ]2 d

  1882. 7 j/ y8 c/ g, [6 b2 d& }
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.& Q. E2 r) n( G
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + y% b  y$ ~& T$ L$ e& D7 P
  1885. ;opcache.huge_code_pages=1! l; w* X) y" w, a4 K- }
  1886. : \+ p+ h0 R5 G8 ?7 B8 V+ s
  1887. ; Validate cached file permissions.' f. e$ k2 w: @. A
  1888. ; opcache.validate_permission=0( \# V1 P3 H: p# D2 N" i. C- s

  1889. 8 [! S7 o9 H, ?9 z/ ~( R; [
  1890. ; Prevent name collisions in chroot'ed environment.
    6 L$ @( W+ k( c8 j
  1891. ; opcache.validate_root=0
    0 k# c: u+ ^3 M6 M$ W+ D4 k$ }

  1892. * J6 _$ F/ U7 U9 R, a
  1893. [curl]
    ! o9 M4 [- D: H9 k
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    - N" [3 d' x$ k/ m3 f
  1895. ; absolute path.* }& _; `; `) @% W
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 `/ F- ^& _2 l7 V+ t0 U
  1897. ' G5 P) P# |3 g, M8 w& f. k% u
  1898. [openssl]( [* T6 h! l6 x$ ~( C- \
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
      Y& y7 B7 U* R
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % J; W7 i& M. e
  1901. ; not specify a value for this directive as PHP will attempt to use the' `# Z1 M1 T- B0 f5 i( ?2 E
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ( S5 @: Q  e+ \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context5 u+ D# b# D, Z0 R8 d+ a3 ]
  1904. ; option.
    ; b1 q3 n+ u$ l4 d. H4 b
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ( r1 G+ ]9 O0 ?. ]' V* p3 j
  1906. 7 A' Z! z7 A% h2 T2 u
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the0 F3 }' Y, [1 S* s
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    + t' q: w6 j9 X0 G3 B7 q4 B+ L5 s
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    4 _3 e5 c; G7 g, @
  1910. ; Most users should not specify a value for this directive as PHP will% r; r  m, ^& u3 W& ]
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,  |; j% ]1 Y# U- l) V' L
  1912. ; this value may still be overridden on a per-stream basis via the "capath"6 k2 w* V- l% N3 X3 I/ |  J- N
  1913. ; SSL stream context option.8 ~& f8 Z& x% v) T; X* W: u! U, `
  1914. ;openssl.capath=( ]8 X0 e' I8 h8 n

  1915. " j2 Y: `7 M' H" z& Y/ m4 p0 j1 m' M
  1916. ; Local Variables:
    5 V0 j6 Z  Z& F! h& Q8 Y
  1917. ; tab-width: 4  ^5 ^9 P) S# Y
  1918. ; End:
    3 m; h- J' O  R9 K; L- w  p
  1919. + A$ r7 s2 w9 A
  1920. ;eaccelerator( U/ y3 k1 x+ v; F

  1921. ' v; }' @5 x0 O  R/ i& [
  1922. ;ionCube( h) }; D# Z1 ^! [% p2 c  q

  1923. # w! i8 p; }; P" Q  B5 H
  1924. ;opcache+ S: [2 J  [; R# K; n5 B3 t

  1925. + e, t" n. N( }% d$ g- f9 Q$ B$ s
  1926. [Zend ZendGuard Loader]7 Y2 R% {% X, h% K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ' ?( @# W  G/ V- D  ^
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    7 p+ P! J) s1 k* I& x
  1929. ;zend_loader.enable=1
    3 q; V" {2 L7 d- k
  1930. ;zend_loader.disable_licensing=0
    4 i' C% @4 k- k4 S5 F5 \
  1931. ;zend_loader.obfuscation_level_support=3. G7 m) k, H5 W+ r
  1932. ;zend_loader.license_path=
    9 J; x, I; B& d4 |
  1933. " U  K4 g& G/ p! Z' U. r( M
  1934. ;xcache
    2 w, b& G3 t1 |6 X0 i

  1935. . u2 E1 y, q! N5 z# d0 n
复制代码

6 E1 ?+ Y; J1 ]: g5 V' S+ o% K' y# P! w

$ z. V- v+ |) A8 L( Y- c! x+ w$ f& {8 h8 l; K! t( ^- v* c
- x! y+ ^% T, ^9 Z6 h6 p5 B

+ }' j" m4 b! E
3 ~/ A, n; a0 K0 l) hPHP5.6版本原始设置
: b- a& t3 P" ?1 ~) O1 t
/ o0 O0 I! S- Y4 }4 B' o7 E
  1. [PHP]- c* N7 \0 V" g0 J5 s

  2. 2 G" N: q) [1 V& M# [; a* P- w
  3. ;;;;;;;;;;;;;;;;;;;
    + a/ E6 ]. w9 v
  4. ; About php.ini   ;
    2 G( N5 O7 p. i$ P0 U
  5. ;;;;;;;;;;;;;;;;;;;
    7 l( w+ M4 V6 |* L' v
  6. ; PHP's initialization file, generally called php.ini, is responsible for% ]4 p( ?: q$ z. b, D7 B* T! K6 R
  7. ; configuring many of the aspects of PHP's behavior.( D' {7 J/ p: [# O; k
  8. 5 E6 o9 O! R( Z
  9. ; PHP attempts to find and load this configuration from a number of locations.2 K0 Q4 p" W& e3 C
  10. ; The following is a summary of its search order:
    ; r0 E4 `8 v5 k& b$ y7 T% U
  11. ; 1. SAPI module specific location./ Z' t8 E& [* [# o, _& J' K
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 k9 ^" z* A; v8 ^" H- `7 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 ?8 X" r) K, I1 v+ b0 k
  14. ; 4. Current working directory (except CLI)
    8 J( G; J! ^7 {% S
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / A* l7 z" X0 A3 J
  16. ; (otherwise in Windows)
    4 N8 I3 \4 o. C! @8 ^- @! O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    4 d' t$ H4 }. P5 z  t
  18. ; Windows directory (C:\windows or C:\winnt)" m3 L1 y3 D/ F4 }6 c% e+ n* F  I( ~
  19. ; See the PHP docs for more specific information., O% J- w: e+ ~. H( A4 y' I
  20. ; http://php.net/configuration.file
    8 N$ l- m* \6 i' U7 @9 x$ }
  21. & _1 l. K6 O0 N% [
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 X3 @: K2 t& M, m: K
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - `0 f; N4 }: `& t
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & n) A, v! f/ m; S
  25. ; they might mean something in the future.) x7 q1 g& f3 A" }! L

  26. ! q! }5 Q) h/ F0 y) U1 f. V3 r( q
  27. ; Directives following the section heading [PATH=/www/mysite] only4 y- D* m$ x4 Y, _9 T& ^
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( ?/ \9 L4 w  ~
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 y: p, `2 j5 T0 Z. Q' N( ?& }
  30. ; PHP files served from www.example.com.  Directives set in these
    1 k/ j  }4 G) R! x8 j- n/ y% |: Z
  31. ; special sections cannot be overridden by user-defined INI files or
    1 j0 E! o3 {2 G) j0 @0 d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ u, U+ d; \7 u2 P, m$ q; T" X( i
  33. ; CGI/FastCGI.
    9 ?5 W9 P# J, b/ t+ M7 y2 _) ^5 c
  34. ; http://php.net/ini.sections% a! ^& U' p9 T- ^/ L8 }/ Y9 S
  35.   h' Z, w, R/ P8 J7 x% T# @
  36. ; Directives are specified using the following syntax:
    . H6 q( f; Q7 o+ U
  37. ; directive = value% R6 W/ D7 i  Z! ?/ J' L* e+ e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; k: W- F4 Q7 k: [6 c0 a- ~
  39. ; Directives are variables used to configure PHP or PHP extensions.; U! H  [6 A+ P0 \( |6 `
  40. ; There is no name validation.  If PHP can't find an expected7 p+ P0 m! {) W& S& u
  41. ; directive because it is not set or is mistyped, a default value will be used.1 {0 Q/ R1 p9 d: U0 ]2 i6 j

  42. , l+ {& i' l: y4 K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& M* `+ l! E" n+ J7 I+ \  ~% T8 m
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression0 k6 T* i; E: d! ~9 Y0 j$ @8 }. }$ l( v9 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! v5 ?3 H+ @4 n8 V6 U) A- s, C
  46. ; previously set variable or directive (e.g. ${foo})! a# N/ q/ y" I( }5 k

  47. 0 B" T9 [6 a- }9 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    + {. D0 x( ?5 `$ ]) ]% e* I
  49. ; |  bitwise OR
    2 N5 c! X" q& \& u
  50. ; ^  bitwise XOR: G) T/ r' h. b8 ]' e2 ?7 ~& N2 k. I
  51. ; &  bitwise AND! q" L: y6 L: d& T# R! @
  52. ; ~  bitwise NOT
    / @5 Q9 q4 s; S6 }7 _2 X' ]. p* _% B
  53. ; !  boolean NOT
    6 s5 m+ K0 x/ P
  54. 7 O( d/ R4 x1 \" g  \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 L1 N; N, _" r, Q- t! ~& C6 [
  56. ; They can be turned off using the values 0, Off, False or No.
    ; p' H, r8 B% |: y( H( j
  57. , _1 o; t! y8 ?
  58. ; An empty string can be denoted by simply not writing anything after the equal1 p( @9 u$ A' q% k8 ~; \2 ?/ m. _* Y
  59. ; sign, or by using the None keyword:1 ]: Y" O1 s0 X/ j" Q7 `/ O
  60. , M9 H4 t2 \9 ~) N& a; i) l
  61. ;  foo =         ; sets foo to an empty string% V3 W3 j0 \3 t! N& [; [3 c* k
  62. ;  foo = None    ; sets foo to an empty string6 \2 i' w5 M  Q5 H+ d0 I
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! V2 @8 M! `5 Z6 z
  64. 9 n1 r/ \- Y$ ^( p' V. D
  65. ; If you use constants in your value, and these constants belong to a
    % }) v9 U+ l7 L6 f' k" X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),) L: b( z/ Q4 r3 d: v) s
  67. ; you may only use these constants *after* the line that loads the extension.+ k3 a. \4 \, `

  68. 8 L" v) Z9 J0 a5 e9 Q
  69. ;;;;;;;;;;;;;;;;;;;, V0 X% Q. k# E3 s
  70. ; About this file ;
    - `* q2 I! y' W4 ~/ P
  71. ;;;;;;;;;;;;;;;;;;;% P9 k2 ~9 `2 M2 x3 S
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ j2 u6 ^: x& G9 _7 u$ y: Z6 S
  73. ; in production environments and one that is recommended to be used in  s! Q+ W' [4 n% K0 |
  74. ; development environments., U* l& }+ `& h% |! W5 P! d/ c

  75. ! E3 X0 b: P8 ^& V# i8 n
  76. ; php.ini-production contains settings which hold security, performance and
    $ T5 ~* e! }+ @6 b* p) j7 h& k
  77. ; best practices at its core. But please be aware, these settings may break1 a" i7 |. A, \7 M8 `
  78. ; compatibility with older or less security conscience applications. We: k, a7 A% p& M/ W/ o* ]. ?& b$ [
  79. ; recommending using the production ini in production and testing environments.- V9 i  L* r: h, k
  80. 6 e! \: ~4 l; J) k) L8 E
  81. ; php.ini-development is very similar to its production variant, except it is3 ?/ d/ `: Q1 ^3 J. r6 o( ?
  82. ; much more verbose when it comes to errors. We recommend using the5 i: V4 S' ?' D2 g1 G5 K3 g
  83. ; development version only in development environments, as errors shown to
    5 Q* c& |0 E1 \8 B9 O) d
  84. ; application users can inadvertently leak otherwise secure information.
    ; x. v+ e& o' B* Q) G: Y1 j
  85. ; A; z5 u- ~8 c: {0 \
  86. ; This is php.ini-production INI file.
    ! b+ @1 Q2 c& f2 n5 Y! W

  87. * |7 J6 J+ z! {6 t8 q* B4 K
  88. ;;;;;;;;;;;;;;;;;;;  i/ w2 b- d& E, o4 z
  89. ; Quick Reference ;
    % {4 o7 `, t# O( ^. ~4 r
  90. ;;;;;;;;;;;;;;;;;;;
    + e! `4 V; @, p; }' M
  91. ; The following are all the settings which are different in either the production
    " w& V6 Q0 m8 P) G
  92. ; or development versions of the INIs with respect to PHP's default behavior.0 F5 h8 v. G, ]
  93. ; Please see the actual settings later in the document for more details as to why
    # A" A( K7 f! a
  94. ; we recommend these changes in PHP's behavior.2 B, x+ L) [! b! d' D7 W

  95. 1 Y, |. A# T' ^3 a( f. [3 F
  96. ; display_errors
    $ q0 ]1 M7 W, k5 q
  97. ;   Default Value: On- X  {2 W/ U# u6 h; M) [& R
  98. ;   Development Value: On
    $ B. I$ @% W# ^/ l) E1 P( e
  99. ;   Production Value: Off6 Z( s* n+ M9 S: C3 s! ], m
  100. ) {* H9 O' \: Q; }
  101. ; display_startup_errors
    ' d+ |1 G, ?0 H/ T
  102. ;   Default Value: Off6 w/ T( }( L2 ]
  103. ;   Development Value: On
    , @" J$ Z. j- _+ c5 w
  104. ;   Production Value: Off0 C+ A5 m( f" M( A

  105. 6 q* [& k) c! O8 G( q
  106. ; error_reporting: L0 h' x. @. g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 s# V+ _, u  o+ I( X" w& c
  108. ;   Development Value: E_ALL
    : f" \6 y  [9 _5 N  d
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% f; _) L$ h% U
  110. # A* i& d2 [8 x4 u3 Q
  111. ; html_errors$ A  L% K: ^( N* F- \
  112. ;   Default Value: On
    ; w7 a7 @+ G/ x4 J
  113. ;   Development Value: On
    . y) }- N" b) d8 f1 g! t. C
  114. ;   Production value: On" L$ G; C# J% H

  115. 7 y# ]" c- W9 i6 {+ M  C# W
  116. ; log_errors6 a5 K! V& Y- {5 Y
  117. ;   Default Value: Off
    ( m4 @' A7 s, \* P9 U
  118. ;   Development Value: On( _7 D( r" d" p' g3 z' U
  119. ;   Production Value: On1 m! K: u1 {: T" A

  120. 4 u, \* X/ n9 A: Q+ c" H
  121. ; max_input_time
    6 S+ n7 V* X* }: q' j
  122. ;   Default Value: -1 (Unlimited)
    * ?+ q: H1 M( c8 Q
  123. ;   Development Value: 60 (60 seconds)
    6 T, Q* \) ~9 H
  124. ;   Production Value: 60 (60 seconds)2 K" ~5 P0 d' y' {+ Y, |. b
  125. 3 N2 X- R0 G6 r0 v
  126. ; output_buffering
    & {1 g' Z, S( a7 ^' q
  127. ;   Default Value: Off* N( [( S7 @. m+ V5 m- ~  n% A
  128. ;   Development Value: 4096
    " N5 }6 q" o# N+ ^
  129. ;   Production Value: 4096
    . k, F9 y' O' H! {, q' R9 ^

  130. $ S6 E) z9 R& ^) j
  131. ; register_argc_argv
    . B8 M6 ^9 s# ]* H  _' k+ ~
  132. ;   Default Value: On
    & ^' q' g$ J$ w
  133. ;   Development Value: Off
    6 W9 F. v0 h; U  G
  134. ;   Production Value: Off' [; Q- f7 Y$ p# S
  135. * I- c6 w) C; l7 f: a
  136. ; request_order
    0 c* }, q% b" D! k) O8 v
  137. ;   Default Value: None+ I& Z4 |& r: S& h
  138. ;   Development Value: "GP"8 r0 m. \* m2 A2 H* t
  139. ;   Production Value: "GP"
    0 V2 _$ y' w) t$ {5 s

  140. 0 [8 w2 G- Y3 H) O7 W: W
  141. ; session.gc_divisor
    ' {4 h5 r2 {- S. s
  142. ;   Default Value: 100
    0 U7 U: W* `' \: [" u7 w
  143. ;   Development Value: 1000
    ' Z  n) L8 ?( V9 H) S9 J
  144. ;   Production Value: 10006 D: R9 Q2 x+ N% x4 h- n
  145. 7 G5 l; P2 r- T9 Q, H. Q5 E
  146. ; session.hash_bits_per_character8 g) w' l. ~- H# H: }* J. ]3 F
  147. ;   Default Value: 47 y. L: U2 `' ]0 ~6 p
  148. ;   Development Value: 5( b0 S2 E1 j) m3 z* H* b$ B; w
  149. ;   Production Value: 5
    , Q4 Y( @- b2 p) o. A- B
  150.   V+ F$ n. d2 t  I, I. n3 |7 b
  151. ; short_open_tag
    1 L+ `3 l1 K5 g3 _9 S% k
  152. ;   Default Value: On
    3 J. S$ P1 Q) `; N/ A
  153. ;   Development Value: Off& R2 U3 H: y0 }- T
  154. ;   Production Value: Off5 N! d& b7 I- S- i3 Q
  155. 4 a* j! x0 f; I$ R8 R" w! u
  156. ; track_errors( I1 t4 s: J. Z: p+ U
  157. ;   Default Value: Off
    : \4 V7 ^& ~1 w2 v' y4 W! I
  158. ;   Development Value: On
    6 C* L2 w* h' a) B/ O; _" E4 F
  159. ;   Production Value: Off
    9 D! M* d/ J5 n
  160. 1 x8 z, R9 a2 p# y. C# y
  161. ; url_rewriter.tags
    ! a3 E" N0 k9 n5 x! L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! h9 c/ r5 R4 I, ^" F% v! P/ L2 g
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": y. l% m/ i+ }. F. V- o8 O4 W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 E: e, |: v9 }  m5 s( `
  165. ! Q2 ~8 S7 A9 c9 T2 @  O4 d6 L# x
  166. ; variables_order
    7 U! e6 K2 q5 C
  167. ;   Default Value: "EGPCS"0 ?* g, n2 w3 T# S
  168. ;   Development Value: "GPCS"
    7 \: K: `* Q6 c" ~. A; H" Y
  169. ;   Production Value: "GPCS"
    $ D+ k/ k  W; Y/ C, _/ ^* u' g
  170. . s8 o' p' _- Z
  171. ;;;;;;;;;;;;;;;;;;;;2 K' D3 P) K! A3 {# o- @2 U
  172. ; php.ini Options  ;& ]- R1 q! V/ b  c+ r4 h
  173. ;;;;;;;;;;;;;;;;;;;;8 [' u2 T+ n3 t2 V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( _4 }' S- w- E8 ~9 U5 w
  175. ;user_ini.filename = ".user.ini"5 X5 b. ]' M0 d
  176. 1 e2 p" r0 p8 |( B$ f: ?
  177. ; To disable this feature set this option to empty value, k' c) l' U9 k- W8 c- E
  178. ;user_ini.filename =
    7 h$ S* j, Q4 r- t0 }" b, G
  179. # m5 r) M+ q6 l; ?& V1 x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 S9 P) O2 a% O( J) N5 E7 `! k" ~" K
  181. ;user_ini.cache_ttl = 300
    . a/ f3 O. R- C

  182. ) L5 v$ w: [. s: j9 d  `
  183. ;;;;;;;;;;;;;;;;;;;;
    # [$ \3 S. ~' Y
  184. ; Language Options ;" q# e. K% m% q* e9 }$ z' i* A
  185. ;;;;;;;;;;;;;;;;;;;;
    8 Y, ?. G) m: v6 E( l' \
  186. * R& m5 L7 b, [* i
  187. ; Enable the PHP scripting language engine under Apache.( z  r0 t" C& G1 j8 u' i) I
  188. ; http://php.net/engine
    / m8 E) R2 _* G  B
  189. engine = On! H; U  |. [: m: \! T) t0 Z

  190. % e7 X2 n, \" I$ S" \
  191. ; This directive determines whether or not PHP will recognize code between; @: M# X+ g. e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 g& H6 a  X& w0 _+ U% O/ ~& [  W
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * @. Z$ E, v4 [
  194. ; should be disabled, as enabling it may result in issues when generating XML
      @3 p- s- R( {: \# @+ n0 T" p- H
  195. ; documents, however this remains supported for backward compatibility reasons.
    # z1 r; @) S( b: k$ E$ s9 C# g
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 e+ Y; ^" v7 G5 I3 L! j. [
  197. ; used regardless of this directive.' i1 d) ^" @) I
  198. ; Default Value: On
    # U, D( r, q. H7 V
  199. ; Development Value: Off
    ' V# `* T! ?/ d4 C
  200. ; Production Value: Off! x% j& ?  }4 e
  201. ; http://php.net/short-open-tag* S# L' y7 u5 V# W$ p- G: ^
  202. short_open_tag = On6 Q' n' w! R1 R9 L- V! e' X

  203. , ~3 p" }6 h  o/ w+ y+ v  a
  204. ; Allow ASP-style <% %> tags.& [8 U7 _- p/ P1 U, v
  205. ; http://php.net/asp-tags4 R. W7 J( E1 [8 x
  206. asp_tags = Off
    - B& X/ e: j) t! f! J, j7 a0 n4 B) N

  207. 1 b: p, X6 [& M7 Y$ i; O, \; ~
  208. ; The number of significant digits displayed in floating point numbers.9 T0 D9 |2 l% L0 E8 e+ \8 ?
  209. ; http://php.net/precision2 H; G3 c# a" @0 c4 |9 C8 G3 n
  210. precision = 141 n" L& J, z6 q6 n& m- `3 ?+ _) y
  211. + R& U1 K/ D6 H' @4 m
  212. ; Output buffering is a mechanism for controlling how much output data9 [1 O; o# w- Z. H" n$ s
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    % k; a( F; w8 _* w, S1 d" s% o) _# J
  214. ; data to the client. If your application's output exceeds this setting, PHP
    " X1 o3 l$ h# D2 I  P( _
  215. ; will send that data in chunks of roughly the size you specify.; V, X, ]- g+ z3 h% L
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    # H% x0 g/ [5 c1 [8 _
  217. ; interesting side-effects depending on your application and web server.
    8 A6 \3 H% Q" D: o; A9 g1 \
  218. ; You may be able to send headers and cookies after you've already sent output
    & ?+ |. H6 @9 r4 Q! ]
  219. ; through print or echo. You also may see performance benefits if your server is
    " i, i4 y3 e/ n7 p' T# R
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    # L) v. [$ q% i/ V/ |
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 \* Q: W" M4 Y+ l1 ~. [0 G
  222. ; reasons.
    ) G% M& W+ \7 M6 I! U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control  N) f: I6 A' z: z! L' ]; o" G
  224. ;   functions.
    7 k7 I; p% A) K5 Y& k
  225. ; Possible Values:5 Z& \$ O3 r0 R9 |$ U9 d- a/ ]% e
  226. ;   On = Enabled and buffer is unlimited. (Use with caution); g( x. z/ [# x4 \
  227. ;   Off = Disabled, R7 i4 _9 q3 I9 u& g7 a- A. q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ! i6 D, H" _  A; m, l# f4 x1 {
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - p+ g' U2 M  l3 R  j+ o
  230. ; Default Value: Off3 u+ [/ ~- J* X  [/ a( J; F, K" W5 q
  231. ; Development Value: 4096
    8 f" T3 T/ R0 t7 y
  232. ; Production Value: 4096
    ( A  u1 m7 ^- x- ?* ]! Z
  233. ; http://php.net/output-buffering
    ' N3 i3 g' ?9 ?# k5 |3 ?
  234. output_buffering = 4096
    , G6 [8 r) V4 g' G( G

  235.   @5 Q# A, W8 p5 X1 J; T
  236. ; You can redirect all of the output of your scripts to a function.  For- ~4 x$ b2 x) y/ ]* X0 g
  237. ; example, if you set output_handler to "mb_output_handler", character" b, p+ G* @  f  O: m5 O
  238. ; encoding will be transparently converted to the specified encoding.! y1 p2 \' E, s! [
  239. ; Setting any output handler automatically turns on output buffering.& C4 b9 @# Q7 J
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ; J" O6 B, ^% O+ |8 i
  241. ;   directive. Instead, explicitly set the output handler using ob_start().4 O; \+ o; U, V8 ~
  242. ;   Using this ini directive may cause problems unless you know what script
    ( F. J* @3 m5 G4 I
  243. ;   is doing.4 y6 f" o' `! F/ Y/ t
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; ]8 X& w! f& O
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 m$ {) A3 |$ a
  246. ; Note: output_handler must be empty if this is set 'On' !!!!5 h8 w' J! |* v. }
  247. ;   Instead you must use zlib.output_handler.
    ( y) x6 R( e) f4 B6 a
  248. ; http://php.net/output-handler5 m6 T; l* q3 @
  249. ;output_handler =
    , |$ C' f: h, a' ?& v# D% J
  250. ) c0 Z$ S+ b$ @" R
  251. ; Transparent output compression using the zlib library
    - d8 G& g4 _/ Q. |
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 F9 c+ R- c# A8 i
  253. ; to be used for compression (default is 4KB)1 u' o1 k$ s) N. v: t7 ^
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    9 M( {/ h8 q& a% I& _8 _. L
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    / W( d; ^: R3 h. m
  256. ;   compression. If you prefer a larger chunk size for better9 u+ C4 \+ M! h  p& S5 X
  257. ;   performance, enable output_buffering in addition.0 V8 n/ z. A& H* c0 V  ^0 ?
  258. ; Note: You need to use zlib.output_handler instead of the standard3 k" v9 E1 ~% |3 d( N# A
  259. ;   output_handler, or otherwise the output will be corrupted.
    7 K2 I4 b* @2 b, F" _0 V
  260. ; http://php.net/zlib.output-compression
    7 S9 ]' z$ [" v& \3 Z! J! S
  261. zlib.output_compression = Off
    & B# e. \6 |9 h7 m
  262. $ {* V1 G- k$ F: X, A
  263. ; http://php.net/zlib.output-compression-level- L0 w4 `" ?+ y; N0 _1 ^) l3 N
  264. ;zlib.output_compression_level = -1+ G9 r+ T6 L5 ^8 A* a& ~1 P
  265. , V! H8 E( I. p/ t- V# j, ]
  266. ; You cannot specify additional output handlers if zlib.output_compression- j6 D4 a  ]: Y& K1 W" K# H# _
  267. ; is activated here. This setting does the same as output_handler but in1 ]8 T1 @' ?7 _: O2 T) N
  268. ; a different order.
    / S3 k/ Q: \, l# l. X8 k: ]& H/ l
  269. ; http://php.net/zlib.output-handler
      l) ?$ B, j' e+ n  |* l" y" y# E
  270. ;zlib.output_handler =) Q) G( G4 ~9 m% I: ?: t4 G
  271. + `5 i4 J6 {" n7 ]- z1 a
  272. ; Implicit flush tells PHP to tell the output layer to flush itself1 u) \0 b, [4 H) p
  273. ; automatically after every output block.  This is equivalent to calling the
    5 g- k2 e7 P7 J
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + b0 X& ^1 u0 k. G
  275. ; and every HTML block.  Turning this option on has serious performance
    4 w9 ~& M1 {2 [6 D. I) [9 C& E
  276. ; implications and is generally recommended for debugging purposes only.
    5 a9 K. ?/ y5 ~+ B
  277. ; http://php.net/implicit-flush% _2 [. I* }  W: x- y% Y
  278. ; Note: This directive is hardcoded to On for the CLI SAPI3 V4 N+ {7 l( f2 j8 }# l. O( Y. ~
  279. implicit_flush = Off
    : g( ]5 ~$ F$ r3 Z

  280. % J/ O1 P6 g$ g3 r/ y1 c
  281. ; The unserialize callback function will be called (with the undefined class'
    + U/ {" D- ~. N; i6 z
  282. ; name as parameter), if the unserializer finds an undefined class+ }: T5 H/ d9 l' P
  283. ; which should be instantiated. A warning appears if the specified function is) J$ Y8 K8 t7 f: d. s; E* _4 u- x
  284. ; not defined, or if the function doesn't include/implement the missing class.& O" O) @1 H5 w
  285. ; So only set this entry, if you really want to implement such a
    6 l/ A9 }% U5 r
  286. ; callback-function.* e+ Z1 n1 P9 X* V+ N+ y) l
  287. unserialize_callback_func =
    & z3 v* E0 W" w  v# o0 I8 f
  288. - R6 S5 e4 y# C) `2 G! v
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; Q9 N& i5 u+ i( v# N& M, @3 W6 o
  290. ; digits after the floating point. The default value ensures that when floats
    + q& @2 j& a; j* y( {6 L
  291. ; are decoded with unserialize, the data will remain the same.
    * e2 p! H0 L6 e7 V& A6 k% {8 |) [
  292. serialize_precision = 175 P7 G; k; a7 L% |  ?4 n: H

  293. . y6 R. g  @+ B6 ~; c- r" A
  294. ; open_basedir, if set, limits all file operations to the defined directory* \8 s/ Q* o6 \! H
  295. ; and below.  This directive makes most sense if used in a per-directory
    ( O: \& R, I6 ]- l5 {
  296. ; or per-virtualhost web server configuration file.
    5 Q. i# k9 t# ~8 A' x
  297. ; http://php.net/open-basedir/ n0 y% a% Q8 ?3 D$ t
  298. ;open_basedir =
    / Y! A0 E& q* ]& c' H9 F1 }
  299. , ^8 i# Y, t) c" C* H$ t
  300. ; This directive allows you to disable certain functions for security reasons.
    6 `( M2 f0 ~, I6 @1 _$ T3 k
  301. ; It receives a comma-delimited list of function names.
    1 H1 m! s( g/ C& Z2 p! @& L# l( c7 Z
  302. ; http://php.net/disable-functions
    ) f6 Y& i1 i. v- a+ a% \
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% c& a& S1 O! z7 M% v% M8 X! h
  304. 4 D4 H2 j& B# C, q
  305. ; This directive allows you to disable certain classes for security reasons.
    2 m& E% y- M9 K9 M4 S& w
  306. ; It receives a comma-delimited list of class names.
    $ }( o& V% ?: n7 G) _; q  h0 w% L& T
  307. ; http://php.net/disable-classes
    1 O8 m& P/ W) Y' O. k2 [8 h% W
  308. disable_classes =/ S) ^* f4 B" g4 D3 o/ P

  309. ! O/ v0 q. L/ r8 k
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ! u1 w- N* v3 l) a0 E3 P
  311. ; <span style="color: ???????"> would work.0 M( C* p% g/ Y8 C4 u; h6 b! U
  312. ; http://php.net/syntax-highlighting1 @% s0 K8 u' v- E! i4 v2 G: i
  313. ;highlight.string  = #DD0000
    / X* ?# O8 A4 M
  314. ;highlight.comment = #FF9900
    % z7 K8 W; L8 `+ Z1 D& E
  315. ;highlight.keyword = #007700
    ' k, @8 t% o: X" U+ Y
  316. ;highlight.default = #0000BB/ N9 L8 A1 C9 _6 M1 {+ o
  317. ;highlight.html    = #000000: t4 z2 C* h# Y/ P3 W! |. R

  318. 4 j0 X& B- a0 k" X% v1 ]1 ^
  319. ; If enabled, the request will be allowed to complete even if the user aborts! B( H9 O5 u5 o$ t! F* @! _( V
  320. ; the request. Consider enabling it if executing long requests, which may end up
    & x5 q3 A# c* Y% \: W4 G
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , ?/ y  r6 }+ E$ T5 y
  322. ; is to disable this feature.8 C* l* ~$ P5 d5 P7 k$ H
  323. ; http://php.net/ignore-user-abort
    3 k2 D8 ], w. v
  324. ;ignore_user_abort = On
    - [4 N! R  k( I( y
  325. 2 T( y  v" |. S+ c1 Y8 f9 j- E: N
  326. ; Determines the size of the realpath cache to be used by PHP. This value should$ E& H: K8 J) ^
  327. ; be increased on systems where PHP opens many files to reflect the quantity of5 p# }) r: P, q) a
  328. ; the file operations performed.# X- }2 L$ \# K
  329. ; http://php.net/realpath-cache-size
    ) j; D  L( C6 V* _) _7 O, v1 i
  330. ;realpath_cache_size = 16k
    * \+ n! c$ }2 ?  I( }+ B" _  @
  331. 7 o& r3 m& B: H  e
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    5 o& T( Z5 W4 o& o- q+ f2 B
  333. ; file or directory. For systems with rarely changing files, consider increasing this) O9 v) c6 C4 Z+ T* ]
  334. ; value.
    $ e, x3 ]0 g: _2 w: h
  335. ; http://php.net/realpath-cache-ttl$ e5 ~. b: p! s! P
  336. ;realpath_cache_ttl = 1207 S) a0 H  ?% i5 f

  337. $ \! ~& x) O9 v2 ]4 H4 m$ {* U! D+ j
  338. ; Enables or disables the circular reference collector.2 N# }  }- V# |5 M" V! K4 ]; e
  339. ; http://php.net/zend.enable-gc
    % X3 N1 V5 ]0 O7 C# e: |
  340. zend.enable_gc = On
    * ~. e, N# ^0 g$ C+ O2 @& P
  341. : f' h0 Q. K9 T9 s3 y' U- S
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    # g1 @3 w5 X7 F" t! W# G& G+ Y
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- o( a0 _( O! Y. r* @3 H0 j
  344. ; encodings.  To use this feature, mbstring extension must be enabled.0 [; _8 B# x' E0 d
  345. ; Default: Off
    . R; J0 X  K! L/ R
  346. ;zend.multibyte = Off, a# Y: k" B; ]0 [5 ~2 u: ?( e
  347. & N; ]# z1 X- `0 A  n, K: m
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    4 f6 V4 E; P# A  T3 w" Y
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.$ o  F( `  L, r. N: ?& E/ X
  350. ; Only affects if zend.multibyte is set.7 T5 ^* D0 z2 ^
  351. ; Default: ""4 a5 }% e4 ~# X+ I( ^( F1 W9 _
  352. ;zend.script_encoding =
    & d3 T' k, M, z1 k, R5 Y( [

  353. : u- F8 U) Q2 X' S: Q6 f" y
  354. ;;;;;;;;;;;;;;;;;: b$ P; a" n" X
  355. ; Miscellaneous ;6 L9 `1 K8 E. O8 S. ~
  356. ;;;;;;;;;;;;;;;;;
    " Z, U% S/ v3 I9 l6 y% Q2 L( m

  357. + X6 I2 r0 q3 F$ O1 K# I8 a* Z% F
  358. ; Decides whether PHP may expose the fact that it is installed on the server- Z9 ~. ^; X9 ?& X
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 D* q3 n: ?6 u6 k  b* `' Q* z3 R
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 H0 b" Q) k5 c, ^5 J
  361. ; on your server or not.' J: i( [3 w: ~/ Q1 W4 M
  362. ; http://php.net/expose-php
      F9 q& {3 r6 n# p  _
  363. expose_php = On
    : B1 z+ g* {; L% K$ B" s' q, n! W

  364. . k4 i2 N: z  ~' T6 k
  365. ;;;;;;;;;;;;;;;;;;;
    % f" p) J1 A" i$ v! [  {. H4 c
  366. ; Resource Limits ;
    9 ^6 Z8 G7 I8 T3 e/ g4 [
  367. ;;;;;;;;;;;;;;;;;;;
    / \) O3 c* \6 I! t: c. q; \
  368. - s) d# r* r4 m: b" ?
  369. ; Maximum execution time of each script, in seconds  M9 W1 Q4 d2 l/ g7 d
  370. ; http://php.net/max-execution-time
    ( \" B6 n8 O7 L& Y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 S) ?3 `( x3 K) |1 V
  372. max_execution_time = 300
    ! w9 ?3 q+ S! _. {# U4 Y) T$ J/ f& u
  373. 5 p3 d) N& c! S4 ]1 H, ?% u
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    , ~+ H: Y6 \- m) {. h
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ g1 E$ B& [& W8 B* n
  376. ; long running scripts./ N5 Q9 q. k2 b& Y
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI3 F6 A* [. T# u- H$ U  ?
  378. ; Default Value: -1 (Unlimited)! }2 q! Q8 W5 Z0 ?" h1 ~
  379. ; Development Value: 60 (60 seconds)
    7 s6 A# y8 M/ {1 a0 U+ V& ]+ w
  380. ; Production Value: 60 (60 seconds); g% V, u$ d( }# J2 ?. b  j# u+ Q
  381. ; http://php.net/max-input-time
      m; M  @' C& _: B
  382. max_input_time = 60
    ' Y; e' y# s4 `% V- G: _0 F- ]$ L

  383. " u& l' [  u6 y: f5 g/ S4 D
  384. ; Maximum input variable nesting level
    6 D# s; q7 q8 A% v+ F" h% _
  385. ; http://php.net/max-input-nesting-level
    5 ^0 l3 ?5 Y5 a5 i$ z
  386. ;max_input_nesting_level = 64
    ; E0 P) K0 J5 c. ?
  387. " f9 l& f2 @! J$ c  X
  388. ; How many GET/POST/COOKIE input variables may be accepted) K7 ]0 B& B0 Q9 m5 M& f6 X  x
  389. ; max_input_vars = 10002 N. W# H% e3 M, L1 c

  390. ) b' c% X& i- s" `+ M
  391. ; Maximum amount of memory a script may consume (128MB)
    9 _7 }% ^- T( A- x. [, n6 n
  392. ; http://php.net/memory-limit& ^3 O5 n, J, F" ~& g+ Q
  393. memory_limit = 128M2 s% b7 x- I% X- J$ i
  394. . |( h8 N( Q. R' u
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % k/ }/ k) g. F* a2 U
  396. ; Error handling and logging ;7 n  x1 e+ C" o. U% w
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 m! T" A! t- G( P& j, t3 m/ }

  398. 9 P# o# M4 ^4 J5 \
  399. ; This directive informs PHP of which errors, warnings and notices you would like. Q* _; O" e* a) f; K
  400. ; it to take action for. The recommended way of setting values for this7 K- `2 N( W% t9 T  G
  401. ; directive is through the use of the error level constants and bitwise: W2 f; y0 @* W: h7 F
  402. ; operators. The error level constants are below here for convenience as well as
    ' M, m, v& P. h  y* c
  403. ; some common settings and their meanings.( ~# @+ D& B& r
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% w1 e6 W4 V/ j
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      t$ ^3 H/ L" o( ?
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    : A: Q  }% ~9 M3 [9 E( d5 ^
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 U" x8 c& o$ h+ J) b; y7 _- T7 q
  408. ; resources complaining about best practices and coding standards. That's what7 w# E/ i- c2 a! c: [5 T3 _
  409. ; development servers and development settings are for./ I% g1 ^9 G& }4 z3 \
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 m3 f1 n5 W9 N) ]/ u8 z
  411. ; means it pretty much reports everything which is exactly what you want during
    ' s$ L# \7 K/ ~  W- w2 Y
  412. ; development and early testing.& ~  I# `' k2 U" O, e
  413. ;9 c' D$ w- x8 ]7 j
  414. ; Error Level Constants:
    1 O0 U5 q4 _% `6 s! ~3 m
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)) ^* h# j" y+ h& z- @& m0 h% K
  416. ; E_ERROR           - fatal run-time errors
    9 e; M$ z- R7 }5 }  P
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors) \9 v3 i1 _& w* f( @1 v9 O0 V
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) k2 o9 _# {  A
  419. ; E_PARSE           - compile-time parse errors* j0 M; u& Q' b7 V& C# t' p
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! [3 U3 f3 I% W5 V  h
  421. ;                     from a bug in your code, but it's possible that it was9 V9 a# }7 \6 ?* ]: f- R
  422. ;                     intentional (e.g., using an uninitialized variable and/ U& m" {" ~1 q4 q
  423. ;                     relying on the fact it is automatically initialized to an+ I! J; X" G! H
  424. ;                     empty string)& ~7 s6 z. \) }+ ~
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 q6 u. k- \% b: U7 G& z
  426. ;                     to your code which will ensure the best interoperability
    / e: |0 l5 Z$ N0 T9 G
  427. ;                     and forward compatibility of your code1 o; r* p/ Z% z, R0 k. [1 E
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    9 V8 c- [# Q' n; q* C5 O/ t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's4 ~6 t! w& A% f9 N
  430. ;                     initial startup
    ! x1 v* T! w1 B- @& K5 {/ @$ l8 ?& k
  431. ; E_COMPILE_ERROR   - fatal compile-time errors3 [, ~6 X. g# |# G# M* ?& J; e
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 c' T8 v- \: G* b  k
  433. ; E_USER_ERROR      - user-generated error message8 o! A8 `& d+ K, T9 K, }. `! u& a
  434. ; E_USER_WARNING    - user-generated warning message$ D4 T4 j7 C8 v6 F' N
  435. ; E_USER_NOTICE     - user-generated notice message+ [, V* h7 Y1 O+ I3 P& N, L6 V
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 \- b# I3 j2 Z: T  s
  437. ;                     of PHP: ~6 t1 F, K2 M8 l( o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
      w" g3 U6 N/ \" N/ z: V( ~' u
  439. ;- [! ?& O. Z: `$ Z
  440. ; Common Values:" s  c0 Y0 A: A# a1 |+ y
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! }; t. p& O2 p! Q( ?4 s0 R
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; `) \% `2 j. K* e2 ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 _  U. d& a' N) |; X9 ^
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- N1 Z- k7 x9 l! X) L3 _
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " x$ _5 k$ m! }+ u
  446. ; Development Value: E_ALL0 @9 v6 Q6 I. N) a: }0 e. r% |: g
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 X: O# s7 g# m  M5 }
  448. ; http://php.net/error-reporting
    9 R: s' [9 ^0 f% I4 z2 u
  449. error_reporting = E_ALL & ~E_NOTICE
    . [3 v* X& |  a/ Z/ D0 Z6 s( {

  450. & o! @, w* `. p# q1 t( ~: q
  451. ; This directive controls whether or not and where PHP will output errors,
    , G$ R9 Q1 x$ ~6 b+ ^
  452. ; notices and warnings too. Error output is very useful during development, but! y4 q. W2 P) p' x5 T/ n) t  k
  453. ; it could be very dangerous in production environments. Depending on the code
    & j5 r) \: p% k, h# X4 @
  454. ; which is triggering the error, sensitive information could potentially leak7 I' ]# t' P2 T/ q$ e, L4 o
  455. ; out of your application such as database usernames and passwords or worse.
    5 r8 l9 l. R9 q
  456. ; For production environments, we recommend logging errors rather than& m+ x3 Z2 o: D  h
  457. ; sending them to STDOUT.
    6 Y& d5 l' D9 ^& h( l5 Y. E
  458. ; Possible Values:, _- d+ H% V2 |% [. M7 x
  459. ;   Off = Do not display any errors6 I$ A: Q) ^8 W
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; ?& R5 |! c/ b" u  K
  461. ;   On or stdout = Display errors to STDOUT/ `% R6 `  R4 G1 T: {
  462. ; Default Value: On# X7 @3 `, w7 b
  463. ; Development Value: On, C- T# A8 \$ u8 J# _
  464. ; Production Value: Off
    + K! f$ C+ k1 g2 ]& u% P
  465. ; http://php.net/display-errors4 |; k1 C+ ^" ?" _
  466. display_errors = On
    - c, }! ^3 E, b/ C. P
  467. 6 m/ ?# y  d5 j" u; e
  468. ; The display of errors which occur during PHP's startup sequence are handled
    % L7 r! q0 `8 [7 V5 f
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      ]) S* B5 }; e
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ) }+ Q  a7 Q5 c2 s. S
  471. ; debugging configuration problems. We strongly recommend you6 x% U6 e3 Q3 L) b
  472. ; set this to 'off' for production servers.
    . i9 k" |& f! U# F! Z+ b) g4 Z
  473. ; Default Value: Off
    9 {1 D. H5 Q% h$ D. G
  474. ; Development Value: On
    1 x7 V- C) G. p& i  T; ?) L
  475. ; Production Value: Off
    : o6 S( w: K1 @6 Q
  476. ; http://php.net/display-startup-errors
    7 l: [+ h$ J* Q% e* x* V
  477. display_startup_errors = Off" w+ P4 s* C& w" x  o

  478. 1 ?0 R0 a# R& T; R+ e2 f
  479. ; Besides displaying errors, PHP can also log errors to locations such as a% X: r) a# c" w3 X. l8 z4 L
  480. ; server-specific log, STDERR, or a location specified by the error_log, u: m' L+ k$ F# t4 j$ m
  481. ; directive found below. While errors should not be displayed on productions, s6 J" c1 u& J" r3 c3 L) G
  482. ; servers they should still be monitored and logging is a great way to do that.1 h& F; ?# [6 z. ?& V- u6 o
  483. ; Default Value: Off
    , y+ t( `" }. i1 R' x
  484. ; Development Value: On
    9 J5 h7 Y3 ^/ |. E  C/ P/ a% C
  485. ; Production Value: On
    , C% c: F8 N6 M0 O7 L$ Q. v
  486. ; http://php.net/log-errors0 o/ _& i4 b+ v; a( I4 L
  487. log_errors = On' k/ w: ?8 l6 w
  488. 8 E1 [, s1 A- R% j7 y% {& V% G; Y
  489. ; Set maximum length of log_errors. In error_log information about the source is9 C/ d7 I8 Z, ]1 X# ?
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.1 W! X& B2 f8 _; \
  491. ; http://php.net/log-errors-max-len
    5 q3 d& }1 l0 c+ J# j4 y1 r- R
  492. log_errors_max_len = 10248 {  P* B) B3 ]0 F0 m; d

  493. ) X" ~9 B  ]/ `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / J4 a$ I! G. {" t
  495. ; line unless ignore_repeated_source is set true." V1 S! m' o: b3 _4 I# F+ D2 p
  496. ; http://php.net/ignore-repeated-errors8 p/ T1 X+ p& m5 @
  497. ignore_repeated_errors = Off* \# R0 ^/ P! Z8 x3 n$ u
  498. 7 {6 S- S. v2 c1 B& \
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    $ B5 a  l8 N( ~; @: H. X$ `- G
  500. ; is On you will not log errors with repeated messages from different files or  r1 c- @7 Y* e) g+ P
  501. ; source lines.9 _! g# c% c3 x( X- c
  502. ; http://php.net/ignore-repeated-source
    - r: ~$ s4 r2 B& I* J
  503. ignore_repeated_source = Off2 I8 u2 O$ C; R

  504. 2 U- R: @  n0 e# T  R# n
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    3 u. P, |" P5 q0 U/ I7 x
  506. ; stdout or in the log). This has only effect in a debug compile, and if0 b8 s) b) ?& S# q. h  d
  507. ; error reporting includes E_WARNING in the allowed list
    7 N# ]* j5 N1 y2 J" @9 ?0 J
  508. ; http://php.net/report-memleaks3 j2 D7 a, q1 \& D- _' F: B
  509. report_memleaks = On
    # A, M- z0 I3 H: {2 r0 x
  510. ; N* @0 q% e1 F/ ?/ M
  511. ; This setting is on by default.9 D* }+ i5 Q. D& e: h$ o
  512. ;report_zend_debug = 01 I8 K2 K, W, p, ]
  513. $ r  e9 U0 w: `4 C
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 T3 y9 e4 j- |+ v) q5 H9 h
  515. ; to On can assist in debugging and is appropriate for development servers. It should. B! J7 ], Y- Z3 r, w
  516. ; however be disabled on production servers.; e4 F) h4 z, A, S9 U& K
  517. ; Default Value: Off
    * v  L9 B7 m+ {3 }
  518. ; Development Value: On& ~4 G3 ]4 C1 }0 @9 p
  519. ; Production Value: Off$ R7 _3 R! k" o7 [# B# z
  520. ; http://php.net/track-errors% I3 F3 V1 y0 [& D7 E  P
  521. track_errors = Off
    * u' @; p8 ?6 k- o

  522. , |) c' U1 x4 J1 d8 y# A9 T
  523. ; Turn off normal error reporting and emit XML-RPC error XML% E& b. a1 Q! [+ l6 @
  524. ; http://php.net/xmlrpc-errors5 @) A5 B1 H) r7 [
  525. ;xmlrpc_errors = 0& a" k, j) x- q0 \% ^
  526. . I6 \* k& M# z; W, G  R
  527. ; An XML-RPC faultCode' z  K7 X. r* O. Z$ Y7 i' t) J
  528. ;xmlrpc_error_number = 0) P) l! t8 w& L. C( [+ @

  529. ! W! Y8 R8 }2 |5 O" a1 a2 W! m2 T
  530. ; When PHP displays or logs an error, it has the capability of formatting the$ G6 a% H7 U5 _
  531. ; error message as HTML for easier reading. This directive controls whether) o0 u; ]5 J  X; Q* Y
  532. ; the error message is formatted as HTML or not.
    5 a+ N9 l" C* ?" x+ z. ?; r7 k+ c2 L5 |
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' P7 V  ]9 ?% k7 R- Q) n# K, _8 T
  534. ; Default Value: On- \! }; C6 w. H
  535. ; Development Value: On8 V) F' `! n/ ?: _( f% C, {$ p% A
  536. ; Production value: On0 {7 O; S" E7 e" N) ]
  537. ; http://php.net/html-errors& m' r: ?7 j6 w7 O
  538. html_errors = On8 |/ {7 p! `: ~0 d# Z
  539. ) ]/ K5 ^! V5 a: s) e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP, L' o" z) y( w
  541. ; produces clickable error messages that direct to a page describing the error
    4 V0 C$ z% C6 Q+ C' c5 f
  542. ; or function causing the error in detail.1 T0 J* N8 Y& t( ?% c( B
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / O* h7 ?1 G6 D3 j
  544. ; and change docref_root to the base URL of your local copy including the4 c. W: e3 v5 t* X
  545. ; leading '/'. You must also specify the file extension being used including* W8 O# u8 x) J7 Z
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    " J( o, @, b& H2 @  l0 ~3 Z
  547. ; case no links to documentation are generated.
    6 Y/ Q8 W4 G4 @0 q% d
  548. ; Note: Never use this feature for production boxes.0 g* d. Z3 |- n" a& I
  549. ; http://php.net/docref-root
    # s2 l5 A% |4 W
  550. ; Examples$ D% g+ m. A8 Z7 j
  551. ;docref_root = "/phpmanual/"
    7 [) D/ V6 a6 z; r* |. _

  552. , g) }& s1 U' `1 T" c
  553. ; http://php.net/docref-ext1 m. \' W* M* h$ ~; |- Q  M
  554. ;docref_ext = .html4 x3 v3 q, C2 g4 {
  555. 1 F, k5 J& u0 i% i( v
  556. ; String to output before an error message. PHP's default behavior is to leave0 c: K$ M; \. ^# `/ H  u
  557. ; this setting blank.
    ; W# c! D) {9 |
  558. ; http://php.net/error-prepend-string
    $ p" S( J6 u. [5 A2 s; o
  559. ; Example:
    0 ~" K/ i8 w$ H- s; _9 _- j& d( e
  560. ;error_prepend_string = "<span style='color: #ff0000'>": b' e: ]: K9 c0 B* ^

  561. ; n& d* I2 s) \* P. ^6 \# V# \
  562. ; String to output after an error message. PHP's default behavior is to leave
      ]! l8 W8 [# K$ C3 O
  563. ; this setting blank.
    * @% n4 q6 d8 U# ?7 Z$ y5 ]% b
  564. ; http://php.net/error-append-string' Y1 J! S$ s  N( a6 N
  565. ; Example:
    6 r# N( ^5 u; c$ K: V9 a
  566. ;error_append_string = "</span>"
    : ?. X1 Y0 Y2 V0 f+ p- T

  567. # {1 P( {& J4 @* T
  568. ; Log errors to specified file. PHP's default behavior is to leave this value3 v+ @+ B( r7 P# B8 S( H
  569. ; empty.
    % v$ a, w$ L- x6 _, R% s& e
  570. ; http://php.net/error-log
    . x5 v- G# h# z
  571. ; Example:/ G2 F; h3 |2 ]7 w. y
  572. ;error_log = php_errors.log& [( n3 ?* [0 I& H  A
  573. ; Log errors to syslog (Event Log on Windows).
    4 e$ L. S, y: B  {# T7 i
  574. ;error_log = syslog
    ) M( i  u# E" W, ~

  575. 9 x0 \" L3 q) }
  576. ;windows.show_crt_warning
    $ o; Z* V: j/ H6 G+ @. s6 n
  577. ; Default value: 0
    8 L3 s' _8 ]5 ^4 [
  578. ; Development value: 0) G9 N5 |6 |- u  z9 M9 o
  579. ; Production value: 0
    9 m2 C2 {4 X0 g8 b) F* a
  580. % e$ h- x3 n& o  Q! a7 s6 m, Z
  581. ;;;;;;;;;;;;;;;;;7 x' v) m/ O( S2 W9 O8 x
  582. ; Data Handling ;
    " [) v/ ^3 G2 S/ {
  583. ;;;;;;;;;;;;;;;;;5 Y5 [( Z9 w: f: Y  T  [
  584. - z) F4 w, Y, \: |" v( ~
  585. ; The separator used in PHP generated URLs to separate arguments., U( o' y/ @( p
  586. ; PHP's default setting is "&".1 b% Q  [9 |: o+ w) _
  587. ; http://php.net/arg-separator.output
    4 B& T0 m4 b' W2 N* l$ S3 F
  588. ; Example:
    $ {9 M5 F8 A- q0 y& E
  589. ;arg_separator.output = "&amp;"7 S# ?$ E# t/ e4 V& i( y3 b& `

  590.   a+ h6 G% E% H
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    & c* X( i' W8 j; @( N* m
  592. ; PHP's default setting is "&".6 T* C7 p) ~8 j' d) Y
  593. ; NOTE: Every character in this directive is considered as separator!
    0 V& d, @% D' [  Q
  594. ; http://php.net/arg-separator.input! A. Y/ |4 C8 d* k0 u, c
  595. ; Example:
    % P$ h; e* q' e6 D- h
  596. ;arg_separator.input = ";&"
    " P) E# @+ S8 a' K
  597. % A5 r% k/ j4 F
  598. ; This directive determines which super global arrays are registered when PHP
    / \. r) `$ u; w3 s. e+ \2 _6 v
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & H. D5 o& v7 u7 \8 j
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + Y8 I3 l- |' N4 _! [+ u
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ; E) k& W- v7 c- N" e
  602. ; used as the others, ENV is not recommended on productions servers. You
    6 X* x: {, L! |- R  X( V: |
  603. ; can still get access to the environment variables through getenv() should you
    & P- O& I* e& M+ `4 t3 K2 p
  604. ; need to.- @/ y6 }# T. n
  605. ; Default Value: "EGPCS"# _' t' ^& v) ^. W! @5 P
  606. ; Development Value: "GPCS": ?. B8 R/ \6 {' \
  607. ; Production Value: "GPCS";
    ( u3 V! P' [/ R/ G: S; J
  608. ; http://php.net/variables-order, q0 ~: {, k5 r* a1 E
  609. variables_order = "GPCS"7 d, K% K. V( Q! \
  610. 4 q- Z/ B6 u% Q% S, q5 w
  611. ; This directive determines which super global data (G,P & C) should be
    & y1 r# d" u4 G5 p: ]
  612. ; registered into the super global array REQUEST. If so, it also determines
    # x$ ?/ G3 H) ~% n& \" A
  613. ; the order in which that data is registered. The values for this directive
    " s! o% y& E- c# H, {
  614. ; are specified in the same manner as the variables_order directive,% u* N9 J9 H0 s/ o+ c) g
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; q+ b+ d. X: `: [. C. [
  616. ; in the variables_order directive. It does not mean it will leave the super2 R) [6 l* E. v
  617. ; globals array REQUEST empty.
    ! p2 v9 L+ \/ {# d: Y
  618. ; Default Value: None9 c& v, p4 O1 K/ l" }  w; _
  619. ; Development Value: "GP"/ D  u9 q( F! T% S0 @. Z
  620. ; Production Value: "GP"
    . v8 k  {$ Q0 E3 O- s0 G
  621. ; http://php.net/request-order. u! g, z& G2 Z2 _0 ]5 A' S
  622. request_order = "GP"/ ~8 i1 }, ]5 a
  623. - T, Q0 R2 B+ i. g2 \8 o4 q# E
  624. ; This directive determines whether PHP registers $argv & $argc each time it; x7 Q2 {, F5 w' F# u
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / q% C% G! N) @  z4 U
  626. ; is invoked. $argc contains an integer representing the number of arguments
    # b7 A8 R- A  F" ^, f
  627. ; that were passed when the script was invoked. These arrays are extremely
    * o9 z, l! h$ v& b2 c! [9 \
  628. ; useful when running scripts from the command line. When this directive is/ h( a7 B; H. N1 v- F
  629. ; enabled, registering these variables consumes CPU cycles and memory each time) y7 j4 I7 v: w+ Z& c
  630. ; a script is executed. For performance reasons, this feature should be disabled' o6 N% b0 s  {
  631. ; on production servers.3 R. ?5 R  o1 E1 X
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 U" a8 `7 ^2 p9 K
  633. ; Default Value: On* P7 X/ U0 P1 t- y8 j
  634. ; Development Value: Off
    9 E0 ~& `5 S2 n8 A) l* X9 g9 U
  635. ; Production Value: Off* K( J2 E& c' P
  636. ; http://php.net/register-argc-argv
    ( g: O& W- s% i* \
  637. register_argc_argv = Off) c7 z& |8 G( c' V& K
  638. " Q* D6 R6 _6 Z6 P5 g/ l" Q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + Z( o. S1 R( }5 B" q( F2 f
  640. ; first used (Just In Time) instead of when the script starts. If these) I3 q2 e: N  N; x! T
  641. ; variables are not used within a script, having this directive on will result3 \$ u" A. W/ {8 G3 W! {1 d
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 f( k, o* X$ l9 ~" d9 C
  643. ; for this directive to have any affect.* ]4 `1 C# n9 n5 D; C! k4 k
  644. ; http://php.net/auto-globals-jit
    * D6 [7 w( [! R1 u
  645. auto_globals_jit = On$ I/ e5 G1 ~& V' H/ Y$ }
  646. ! w" s1 X. a8 R) |
  647. ; Whether PHP will read the POST data.
    0 H. Y7 V* |) p
  648. ; This option is enabled by default.
    1 l- d7 y9 k: s- x$ [
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 p8 k. F  w3 I+ @1 c- k) f! ^2 a
  650. ; and $_FILES to always be empty; the only way you will be able to read the2 q9 E; N" f. U1 e
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 [  i9 v% g5 P4 Z* c
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    7 \2 `8 l  `- N
  653. ; http://php.net/enable-post-data-reading
      J- v0 a! M$ _9 X0 A7 r# M
  654. ;enable_post_data_reading = Off! o8 g. y4 }8 y5 D  i8 E

  655. 8 |6 y5 p; }7 z4 }0 S
  656. ; Maximum size of POST data that PHP will accept.
    5 E5 c4 W# S" c# X
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 ]+ }8 [( D, }' K5 u4 o  z
  658. ; is disabled through enable_post_data_reading.
    3 H7 q" T$ }& H, K0 R- N& ^/ h
  659. ; http://php.net/post-max-size7 h7 T/ z4 a5 c2 \3 M
  660. post_max_size = 50M1 o4 j3 \0 W8 o4 |6 J! r
  661. ) D1 E/ P6 O+ B" [- K, z
  662. ; Automatically add files before PHP document.! T+ \# g) u: b% F, q! ^" p; K
  663. ; http://php.net/auto-prepend-file1 e, Z- R/ [, ~8 C
  664. auto_prepend_file =0 e0 [7 N" r! O- H

  665. 0 q0 k3 i% a2 }; l0 _7 W2 M. k" Y
  666. ; Automatically add files after PHP document.
    0 O$ ?3 s$ Z+ \2 C$ v8 t" H; B
  667. ; http://php.net/auto-append-file
    # o( ?" X. \9 ?$ |! \
  668. auto_append_file =5 m& y( x0 o; s1 W  g3 }- c

  669. % H" v9 B3 N8 \* m3 {
  670. ; By default, PHP will output a media type using the Content-Type header. To+ F* A0 \5 C# I7 n2 V
  671. ; disable this, simply set it to be empty.
      [7 b+ y. J0 G
  672. ;+ o8 b- y/ g$ E3 j: s
  673. ; PHP's built-in default media type is set to text/html.
    2 n4 E/ B: {* I' A  i
  674. ; http://php.net/default-mimetype
    $ S$ @7 w- ^5 b/ M1 e- L* ~
  675. default_mimetype = "text/html"
    / w9 S9 Y+ ~! v$ k/ J+ g
  676. . e' c- m+ h& Q' O/ |$ h- Z
  677. ; PHP's default character set is set to UTF-8.  z! M" W, v3 y! H2 b( v& w
  678. ; http://php.net/default-charset
    & L  w0 Z' |) r6 x; i$ `- M
  679. default_charset = "UTF-8"; |6 a% K% D1 \

  680. : ^3 v/ C9 R0 i( C: ]# r
  681. ; PHP internal character encoding is set to empty.+ x  \* f4 x- E' T/ F( I8 V# f
  682. ; If empty, default_charset is used.) @( |" K! c3 \6 R( @$ ~: o
  683. ; http://php.net/internal-encoding5 v  J- W' z3 J% G1 D6 o( o; M$ C
  684. ;internal_encoding =& Y) \5 ]/ Q! h5 s( j
  685. 2 t7 j9 [$ b+ o1 L; N9 ~
  686. ; PHP input character encoding is set to empty.' |4 ]$ i7 }/ W8 {
  687. ; If empty, default_charset is used.3 J* Q$ h' j' i* g" W
  688. ; http://php.net/input-encoding2 ^) |" y- G. E5 `+ S5 |
  689. ;input_encoding =- Z" G/ W! J. A4 K" x  m' b

  690. 6 k! |- ?( ^! g0 n% L+ ~
  691. ; PHP output character encoding is set to empty.
    6 O: a' R* q% Z' I' K
  692. ; If empty, default_charset is used.
    ' L. L- l- _+ r% n2 p
  693. ; See also output_buffer.
    . _! ^* I0 [0 C; n
  694. ; http://php.net/output-encoding
    4 |/ b$ M2 u) q- }
  695. ;output_encoding =
    + \: R" `9 N2 j1 s1 N5 j

  696. ) Q4 _0 c$ M! T8 ^+ t6 p
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 o9 D) P( w2 R: @- S
  698. ; to disable this feature and it will be removed in a future version.: }, X  ?$ u6 E* b2 i" V) T, D
  699. ; If post reading is disabled through enable_post_data_reading,
    3 ~8 @! H: @8 `! O7 Z, {8 [7 x
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated." j: r6 O- U/ \- f6 Y& X8 m' G; t
  701. ; http://php.net/always-populate-raw-post-data8 N5 |: b; f; d: @; A* _
  702. ;always_populate_raw_post_data = -1
    $ C7 K, W# ^$ [, w

  703. 0 [' H- g: [! u( I5 |
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % B0 }% n9 _6 S  E: h# y+ J
  705. ; Paths and Directories ;" Y' K' _, q7 v, J% S( T
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) [0 G. a7 n% ]

  707. 3 z) W; i) H( a
  708. ; UNIX: "/path1:/path2"; q' O" H7 L" z! {! l9 I2 Z+ F  S
  709. ;include_path = ".:/php/includes"
    0 i5 I5 W& m' x& r
  710. ;- c9 m& V9 j* q7 c# u6 x- C4 p
  711. ; Windows: "\path1;\path2"% R% D9 y4 V0 R. O- j
  712. ;include_path = ".;c:\php\includes"# n' q: d. V9 ]* q( P
  713. ;
    6 _- }- ^" g. `8 A" X! b/ [% R
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear". w5 ~1 _% g- Q( ]' _
  715. ; http://php.net/include-path4 T3 E; h. W/ z5 }0 H
  716. " g6 n+ ~' l* w: Y: v
  717. ; The root of the PHP pages, used only if nonempty./ B4 k& a# ]" o; D# L2 S
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root1 {& E9 f4 Y6 Q# s' V1 A
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 I3 ?, j! M2 b! K! M3 Y# y% S+ G4 l
  720. ; see documentation for security issues.  The alternate is to use the$ C; J1 O/ J/ H- f6 F- B$ D0 s
  721. ; cgi.force_redirect configuration below; z6 z' p! t7 f' |5 u
  722. ; http://php.net/doc-root
    ) T. I# j4 N* o+ \+ m; Y
  723. doc_root =3 U) ?! V9 _2 d( c7 i% ~# q4 J0 V/ F
  724. 1 C3 g8 T9 E# i0 R
  725. ; The directory under which PHP opens the script using /~username used only
    8 E  B! [3 S9 T
  726. ; if nonempty.
    5 J" P5 T( `3 U$ C4 T, z
  727. ; http://php.net/user-dir. I5 ^) B  D: {+ ]; x* s
  728. user_dir =
    9 v7 ~4 u/ T) n  W3 w
  729. + u2 b9 w! i9 A3 h0 a
  730. ; Directory in which the loadable extensions (modules) reside.
      e! e/ F9 K. d1 t# M' ?$ V
  731. ; http://php.net/extension-dir9 c1 o7 ~+ U) Q) E, q/ X
  732. ; extension_dir = "./"
    6 }& p) H) f) o" t) z
  733. ; On windows:9 H7 y: _7 ^* t: e5 m) a0 q
  734. ; extension_dir = "ext"
    , ^6 z4 b  d# d# o* P! s1 C

  735. * o* k8 T4 ?3 n
  736. ; Directory where the temporary files should be placed.
    6 D, |* J* o( Y4 t1 R1 j
  737. ; Defaults to the system default (see sys_get_temp_dir)
    , s7 M4 P0 Z7 R. W, I1 j
  738. ; sys_temp_dir = "/tmp"
    * N( M2 P+ D+ L9 l

  739. 3 z1 }! u$ ~) u- \+ j" u
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work) H+ u- S. O( N% R
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 l& Z" {5 }8 Z* x1 z
  742. ; disabled on them.8 a" o$ @; j/ h
  743. ; http://php.net/enable-dl5 v7 h  d, c5 j3 z
  744. enable_dl = Off
    $ R/ z. X* \( y
  745. ( }+ P7 _9 Y( m' N1 V& U
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" O: Q. C1 V" `; F2 u/ u
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      b- O! i+ L' }# |% ~0 I+ W2 P
  748. ; turn it off here AT YOUR OWN RISK
    ; L* N/ `3 D6 W7 a; W$ c5 ^
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 K9 u6 E& w9 n7 n1 B/ [+ F7 ]! q
  750. ; http://php.net/cgi.force-redirect
    . M; \, e& _5 x( p4 c1 D/ g
  751. ;cgi.force_redirect = 1' t& A% r* U( `
  752. " G6 a/ \3 g# I6 ]
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    5 B) t, Z. |1 o5 L4 ?$ A* l  N
  754. ; every request. PHP's default behavior is to disable this feature.( Y5 i5 b$ q: v3 j# y
  755. ;cgi.nph = 1
    0 X5 Z' V, F( X, d6 a
  756. : n* {% x( Q: U0 G7 Q5 b  A, l
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape# d" B. `8 r( }$ E* q8 V* S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    % X" e7 @- p# A6 q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY( D2 r7 K# g2 I7 ]1 m
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! z0 {9 K8 G7 G
  761. ; http://php.net/cgi.redirect-status-env
    - f/ n$ M$ o% ]: n
  762. ;cgi.redirect_status_env =6 y% A; d" _& M& l

  763. , P2 q( i( b* Z8 ?; @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + X9 K' l) S( y. O
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + ~( S$ N6 n8 ~' u$ X3 O/ Z& [
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 r+ y3 C) @- I! I, S9 ?( [
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting" ~, V0 I: k6 j& P" s) r- }+ l
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      ?9 a/ X6 b+ x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.. o$ `! ^- y. V# E: X0 P
  770. ; http://php.net/cgi.fix-pathinfo
    4 P% f: ^( x* @0 o; X& E
  771. cgi.fix_pathinfo=1
    3 B8 r, E* [0 f

  772. & [& r; W# o" c
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 y$ k7 `' m% k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - G) U" r; I" s
  775. ; http://php.net/cgi.dicard-path6 }, c/ H2 P4 J" D4 b7 y$ t7 a
  776. ;cgi.discard_path=1
    # j+ D# _9 \8 y2 J# b, g' E

  777. 6 `* z$ v1 t5 l7 s, R
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* D2 F+ k9 I6 @1 u$ H3 V- B
  779. ; security tokens of the calling client.  This allows IIS to define the
    " G# o, S' L( g8 S
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    : z/ _/ D- `) h6 L1 R0 B' b* U
  781. ; does not currently support this feature (03/17/2002)4 {- @4 N. C8 {7 R8 G
  782. ; Set to 1 if running under IIS.  Default is zero.
    & T+ `; n5 D2 r" j4 T8 }: d
  783. ; http://php.net/fastcgi.impersonate0 J0 Y; N0 ]9 K% {3 N5 P
  784. ;fastcgi.impersonate = 18 q2 ?% |# D# }

  785. 2 T+ b' s- M, @, ?! o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ u9 W) E" p% `7 ]- l2 z. u
  787. ; this feature.
    7 i8 E& V7 ^% ~
  788. ;fastcgi.logging = 0( h1 c, O: G* z/ ]; l4 r
  789. " C% l5 X! S& O8 W4 e* D8 n! P( w
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 z8 n& F' i7 k! o0 R
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      ^. b1 i4 R% h7 J& E
  792. ; is supported by Apache. When this option is set to 1, PHP will send4 F6 X  C4 H6 ]% T& ?0 N" \
  793. ; RFC2616 compliant header.  t( m7 H0 @) ~1 Y0 u% N* e
  794. ; Default is zero.
    ; G3 c1 e) J9 G0 o
  795. ; http://php.net/cgi.rfc2616-headers# Y- j2 D& K& y9 s# N
  796. ;cgi.rfc2616_headers = 0
    9 s: f6 U* w- j  N5 q

  797. $ X+ P6 O" a, [6 s9 X
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!+ R8 s4 h: V0 n0 ?- I: X0 Q: B
  799. ; (shebang) at the top of the running script. This line might be needed if the; C# _" \6 b9 y% Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' C" U+ o% l' k* |4 F4 F$ F
  801. ; mode skips this line and ignores its content if this directive is turned on.2 V+ |- ^; b' ?
  802. ; http://php.net/cgi.check-shebang-line: b( B0 |' ], k
  803. ;cgi.check_shebang_line=1. ]( [7 r7 q5 X$ Z# n, T- f
  804. 7 Y: N, ^/ h- k
  805. ;;;;;;;;;;;;;;;;4 v9 }1 f" ^6 _. L9 q! v( e
  806. ; File Uploads ;8 c" T: X! E. ?8 m- l( ^
  807. ;;;;;;;;;;;;;;;;
    7 U/ Y2 ]. |- D9 e0 J  g( G
  808. - x+ K0 ?$ }0 {, _; L6 t+ h
  809. ; Whether to allow HTTP file uploads.
    % a2 `. m, V) T9 t4 Q( \
  810. ; http://php.net/file-uploads
    ' z6 m+ C2 l# _1 _& q
  811. file_uploads = On
    " P0 w4 x& m' t

  812. & u- R+ ~6 S) y9 i
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 \) d+ D, `& d4 I
  814. ; specified).* t8 b8 j, [) M2 O3 H& ]1 X
  815. ; http://php.net/upload-tmp-dir
      y0 y0 m( M8 u& a7 P
  816. ;upload_tmp_dir =. a8 `9 l) [6 ?" E% S  l( x; x# k

  817. 5 U4 b' N" Z! x- g8 c* P* `
  818. ; Maximum allowed size for uploaded files., b6 [+ h- N- A1 V2 M. F( O
  819. ; http://php.net/upload-max-filesize
    0 w" f) g) f+ G0 L, z6 `( e
  820. upload_max_filesize = 50M7 i' I) ]/ S& m; Z  h: O0 v/ T3 b" c
  821. 5 @" s% K) Q5 F& A; Z  R
  822. ; Maximum number of files that can be uploaded via a single request8 X& R% {6 U9 `% ^0 V2 k! |
  823. max_file_uploads = 20& K  {/ o( z. r% J  Q$ a; o

  824. * P2 H1 t9 [. T/ z6 B' K! N. ^
  825. ;;;;;;;;;;;;;;;;;;4 W* k7 ?1 x- j1 P" g
  826. ; Fopen wrappers ;* r. B8 r3 T: q/ U/ L
  827. ;;;;;;;;;;;;;;;;;;1 V$ I  r; c: B8 [$ S5 a

  828. 7 Q) t0 g! r  \9 V
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + ^% F0 c6 P) I$ {, O2 _8 y0 Q
  830. ; http://php.net/allow-url-fopen1 p) X5 K) ~1 M2 d+ O# q
  831. allow_url_fopen = On
    , T/ R+ Q5 l# N+ r: N( `( ]
  832. 8 g! Q( F' z. G9 D' b) W6 t% L/ s
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    $ f8 \6 M& x3 B8 h. X1 ?; ]+ e0 ?
  834. ; http://php.net/allow-url-include
    $ J& c! S6 u5 q
  835. allow_url_include = Off$ D  a" H0 M' P1 ~' k

  836. 8 a: p8 Y; u! b' J3 C
  837. ; Define the anonymous ftp password (your email address). PHP's default setting6 u: ^/ c+ E" M5 i
  838. ; for this is empty.
    * R" y2 ]* P, S4 ^0 k( B$ D
  839. ; http://php.net/from
    $ [3 q& M4 z2 L4 j# A
  840. ;from="john@doe.com"
    # @- u( Q0 b- h2 H5 o
  841. / d2 I) r1 [! Z' p$ n* ~
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    - r1 z' E. M$ Z1 F
  843. ; http://php.net/user-agent
    4 v* k/ F1 `$ a+ j( S
  844. ;user_agent="PHP"
    % V) L5 i7 z( P' o
  845. 0 T: T8 ?4 V8 \5 |
  846. ; Default timeout for socket based streams (seconds)3 ?% r1 ^, H) c* f4 I
  847. ; http://php.net/default-socket-timeout
    2 q0 [' I% h+ b  x
  848. default_socket_timeout = 60
    8 b  Z% k4 S, ~# f2 I; x

  849.   A+ T% k- e, L4 A" N( U
  850. ; If your scripts have to deal with files from Macintosh systems,4 G, Q, {) J7 s0 k. J
  851. ; or you are running on a Mac and need to deal with files from
    " f. \  @8 b0 I3 n9 X
  852. ; unix or win32 systems, setting this flag will cause PHP to( o* O0 ?4 L! m- ]( \
  853. ; automatically detect the EOL character in those files so that+ `, Q$ B+ f7 x& z
  854. ; fgets() and file() will work regardless of the source of the file.) d! ~( U1 j( E( c3 X
  855. ; http://php.net/auto-detect-line-endings* G) k4 i4 M* m% x
  856. ;auto_detect_line_endings = Off
    7 @8 W& Z4 y8 p% s, E4 u
  857. 2 Y; H) Q. F( O+ c% T- u5 A5 ]# `
  858. ;;;;;;;;;;;;;;;;;;;;;;9 Q; d7 k: l8 Y
  859. ; Dynamic Extensions ;1 R9 ]8 S4 r7 i1 X
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( C' O% w# O! r, ~1 O* t9 o; {

  861. $ P9 o6 t2 s6 I
  862. ; If you wish to have an extension loaded automatically, use the following
    3 y' A* L, C4 d* Z
  863. ; syntax:0 l0 x1 t4 J. @
  864. ;4 b( M5 K" \5 ]: ~! l  r, j
  865. ;   extension=modulename.extension
    0 }5 X& i" u4 C; T3 U) ^7 f
  866. ;
    % A' Z% g& I1 g* V  o+ N
  867. ; For example, on Windows:
    " N/ P+ T! v( N; @3 t( I
  868. ;; U; J8 D$ n, ?
  869. ;   extension=msql.dll
    5 S( P( q8 h2 T9 _/ t, Q0 P* X9 Z
  870. ;; H4 L& [+ I7 X* I7 D+ [& l! A
  871. ; ... or under UNIX:
    2 T% c/ U4 a) K# B( ?
  872. ;
    + M. V$ w4 T, }, m. k/ U/ a2 ~
  873. ;   extension=msql.so7 @, @  v/ _' {* y5 A5 n
  874. ;
    : ?2 }8 K4 U3 b+ p8 V( e" k
  875. ; ... or with a path:8 f2 s% a  Z4 @2 L7 ?
  876. ;* A1 G7 s# K4 M( h5 }' B
  877. ;   extension=/path/to/extension/msql.so
    " n/ H0 F: R- D( h% X
  878. ;/ ?# s* y1 r, Z' q
  879. ; If you only provide the name of the extension, PHP will look for it in its! u7 W' \4 u: _2 t' [
  880. ; default extension directory.3 C" K6 @4 T- b% W- F
  881. ;
    6 a5 i7 `$ g) {2 n/ g1 q$ O' d
  882. ; Windows Extensions
    4 i4 z% w& N# I  ]$ A
  883. ; Note that ODBC support is built in, so no dll is needed for it.; e/ f% U6 o0 c9 o# l1 K. K7 Z
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    9 ^$ I6 V3 y+ Y$ m3 F1 t( r
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).; T2 A0 w' c) s" p/ |. m% m
  886. ; Be sure to appropriately set the extension_dir directive.+ C* ~% }3 M  F9 ^
  887. ;& F7 S2 M1 `3 w& H; z
  888. ;extension=php_bz2.dll: c' C4 u# S2 }0 F3 w  P- ^  Q. K2 U
  889. ;extension=php_curl.dll# S* g  g5 f/ P' p6 j0 `; `$ J
  890. ;extension=php_fileinfo.dll* M9 b& ?8 Z0 i) z0 w& Y
  891. ;extension=php_gd2.dll
    1 C, i" R" ~& y% U8 d
  892. ;extension=php_gettext.dll9 Q3 `2 Y' W# I3 o1 O
  893. ;extension=php_gmp.dll" W/ s6 [; W. W2 r' Q% x
  894. ;extension=php_intl.dll1 _( b. s6 n9 k
  895. ;extension=php_imap.dll
    , P, o6 u8 P$ c  A: A3 \
  896. ;extension=php_interbase.dll
    * F( u7 T3 ~' E& N, u' W' {7 T
  897. ;extension=php_ldap.dll  W  j" M+ S( H1 t
  898. ;extension=php_mbstring.dll
    # G# P% y+ P: \* y/ u
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; [4 b" R; D* F3 a! _
  900. ;extension=php_mysql.dll! w1 J3 |& d* z0 Z
  901. ;extension=php_mysqli.dll# q. h0 _8 B# Y' n* [! i# J1 X) [
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 Q6 r5 Q  W% ~1 t* ~# N0 m
  903. ;extension=php_openssl.dll
    : e' B7 h& u! _  a
  904. ;extension=php_pdo_firebird.dll" v0 z$ e/ P" J! f# @5 J$ |
  905. ;extension=php_pdo_mysql.dll
    * D, ]  @, \5 L4 X+ O+ v" g9 a' a
  906. ;extension=php_pdo_oci.dll
    & G: W/ w! J3 t7 ~
  907. ;extension=php_pdo_odbc.dll
    $ a6 M) u2 e& y0 E, y& b
  908. ;extension=php_pdo_pgsql.dll
    " L7 v/ P! R# _2 S! b
  909. ;extension=php_pdo_sqlite.dll
    2 J3 B( [& E4 v7 c
  910. ;extension=php_pgsql.dll
    & G$ b  S: S- h' _
  911. ;extension=php_shmop.dll. C5 \! C% d2 k2 O
  912. / Y( C/ P( J: K( V( F8 |
  913. ; The MIBS data available in the PHP distribution must be installed.
    4 J8 n! q- v5 z  ~6 m) S- l
  914. ; See http://www.php.net/manual/en/snmp.installation.php 1 m/ ?, F7 S2 {* W1 z
  915. ;extension=php_snmp.dll; V' t& w' E  q, M& n9 K
  916. 5 \, g/ Q6 q& G+ N2 Z' \
  917. ;extension=php_soap.dll" f. ?  t) h/ Y- }
  918. ;extension=php_sockets.dll% p6 X" `# S) x8 `( ]: W$ ?: M" {
  919. ;extension=php_sqlite3.dll
    5 R1 ]) t" {! ?
  920. ;extension=php_sybase_ct.dll
    % A& f3 o6 r+ g
  921. ;extension=php_tidy.dll; k( L  u# t' \  J5 Q3 u( J
  922. ;extension=php_xmlrpc.dll
    ) ~6 i) P$ W0 T0 I1 S
  923. ;extension=php_xsl.dll
    4 p! d% ^) Q: W5 V) q

  924. 6 B. m5 N5 k( z" b! L
  925. ;;;;;;;;;;;;;;;;;;;
    ) H5 e/ r3 k1 m; ?
  926. ; Module Settings ;4 K7 ]0 Z% i. t4 w+ J: e! ~
  927. ;;;;;;;;;;;;;;;;;;;
    ' @4 _+ W. |) j( u
  928. / z$ i; d1 |3 N2 ^5 y8 s
  929. [CLI Server]9 M* B" u+ e: o2 Z" O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    . |" p9 k& ~7 r3 s' X0 d
  931. cli_server.color = On5 J2 `; j' f2 y% W: l( B5 u

  932. ) J8 K( J2 g8 d7 g3 k
  933. [Date]
    ( |& P  @& w! V) S1 k
  934. ; Defines the default timezone used by the date functions
    ; r! G9 b+ I5 i& C- i
  935. ; http://php.net/date.timezone. F( m9 k6 q& s  [
  936. date.timezone = PRC; [% u1 J: `% k' F- V! o
  937. , t4 J- J; |8 K1 Y2 X
  938. ; http://php.net/date.default-latitude
    5 p9 |$ O$ ~% A; E
  939. ;date.default_latitude = 31.7667' S& L1 O. \3 ]1 z

  940. 9 E0 u4 x7 N8 o1 L4 d
  941. ; http://php.net/date.default-longitude; c& s% z/ C, F! S2 O' u* C' e
  942. ;date.default_longitude = 35.2333
    ; t+ u8 a6 q- x* k

  943. 9 V) q- p8 B- L4 q: ~, Z8 C
  944. ; http://php.net/date.sunrise-zenith* z" m% D# P8 c6 v2 {% D
  945. ;date.sunrise_zenith = 90.5833336 F& n! Z: p# a1 J& X
  946. 5 Y" Z  a! |7 L7 q% }3 p
  947. ; http://php.net/date.sunset-zenith4 A) @2 P" v! S2 b1 h: Q! W# l9 l
  948. ;date.sunset_zenith = 90.5833330 d; b- m! a+ Q7 F

  949. . l+ I0 C( s* a9 b
  950. [filter]3 Y: x6 G% m/ [5 [7 S, E& G
  951. ; http://php.net/filter.default+ {+ b) r- E  z' d7 O0 y$ C
  952. ;filter.default = unsafe_raw
    ( c* ?: F; m2 Y5 o2 h
  953. $ P4 U( W9 v3 G0 n2 b4 s$ R+ G) r
  954. ; http://php.net/filter.default-flags
    5 ^4 ]$ K# @# `' S* D; _$ v3 U
  955. ;filter.default_flags =( y4 J7 a, Y$ N/ u
  956. . h$ C, m7 j; y" G( x* P, @/ L
  957. [iconv]# i- p: d) H5 d* ~3 }. M) D+ e- u* z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 @8 H. o  Z. P7 M( s- v# ]$ e
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / N: @) u/ M8 G6 o2 _
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* j, z* u! h9 }! H- D
  961. ;iconv.input_encoding =% G0 `3 ?8 Y0 N' O+ N  r

  962. * V1 T! ]4 m/ D+ r* ]
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ P( g+ [5 B& n1 O5 G# N6 \" R
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 X/ q. G" q: @1 x
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 O- [6 k1 N$ g, @. v* X
  966. ;iconv.internal_encoding =( y1 _& b  ?( x0 [4 Q# c

  967. & A& s1 v0 h( g. w8 v' z( l
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.3 S* {) o; g1 j/ C, N8 f
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.% l- ~- Z: T3 m. t6 o
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. w! F+ U+ L! x
  971. ; To use an output encoding conversion, iconv's output handler must be set$ a( z/ q( d5 F7 q/ S- w
  972. ; otherwise output encoding conversion cannot be performed.
    % E- O6 h5 e5 Q, X
  973. ;iconv.output_encoding =
    & `0 d2 R5 F9 F$ O
  974. 5 ^3 d# w6 O" c+ F! y0 @
  975. [intl]
    ( w- L- E1 n; H- s. m3 [8 |, s
  976. ;intl.default_locale =3 v& X7 e$ c8 K" S% |: r1 [
  977. ; This directive allows you to produce PHP errors when some error* b1 O5 [" h& P( g2 \4 U& D, B( B
  978. ; happens within intl functions. The value is the level of the error produced.
    9 e( m- |8 F" O, d6 g* P% B! N
  979. ; Default is 0, which does not produce any errors.
    1 D; h9 r$ l- R- _/ `
  980. ;intl.error_level = E_WARNING" }3 h& I5 q% T5 u. T/ k( P
  981. ;intl.use_exceptions = 09 G+ F/ `' v. L# p

  982. + ^7 o$ L# B3 Q, }
  983. [sqlite3]
    6 ]- k# o% h2 a( F6 R
  984. ;sqlite3.extension_dir =
    ( z6 u: v4 f( N2 K+ E
  985.   H9 f0 e9 i) G; r+ ?( c1 p3 J
  986. [Pcre]
    3 z6 i. Y' ~  j
  987. ;PCRE library backtracking limit.
    4 R+ T8 N" K1 g- R  n
  988. ; http://php.net/pcre.backtrack-limit
    / P/ b: w7 s7 ]- m
  989. ;pcre.backtrack_limit=1000008 l1 ?1 |! I6 B- c
  990. + \: D4 ?- S% A/ p1 n9 O) S
  991. ;PCRE library recursion limit.$ O9 ~+ Z: `& k9 ^+ h
  992. ;Please note that if you set this value to a high number you may consume all/ F( G8 D/ T* E5 G2 I
  993. ;the available process stack and eventually crash PHP (due to reaching the
    " g) O4 V- _* K7 U  s1 d
  994. ;stack size limit imposed by the Operating System).7 o3 ?3 ?4 ?% K( g. Q$ S; }
  995. ; http://php.net/pcre.recursion-limit6 Y$ e7 s2 T" {( S+ N
  996. ;pcre.recursion_limit=100000  ^8 G+ i8 E0 D) b5 Y1 a

  997. 8 `" K, Q1 F8 }" |
  998. [Pdo]
    ( I& R" g! X4 }, I: Z' c7 }
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    8 `. C. {+ k, c9 g
  1000. ; http://php.net/pdo-odbc.connection-pooling
    + ~: U$ t1 ?5 H+ z1 B% Z% S8 q
  1001. ;pdo_odbc.connection_pooling=strict
    ) Z5 S& x3 v) @2 V
  1002. ; {0 l4 G) L1 V2 }% i* Y
  1003. ;pdo_odbc.db2_instance_name
    % `: `5 g/ v+ R- C
  1004. 7 B* v7 i' f4 B
  1005. [Pdo_mysql]
    ' W' r$ m! T" S3 ?
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache! Z; l1 A" i! [( {
  1007. ; http://php.net/pdo_mysql.cache_size# i6 p. t3 M1 @2 d' a
  1008. pdo_mysql.cache_size = 2000
    8 h' h( Y& {1 T

  1009. 6 P" R2 ~6 r+ D9 M# H, J5 l
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 K' f- J- F, S( j8 G: D
  1011. ; MySQL defaults.8 G: r0 X9 w' ^1 F/ P: \
  1012. ; http://php.net/pdo_mysql.default-socket
    * h0 B1 X( G9 ]3 Q" L2 G
  1013. pdo_mysql.default_socket=
    6 F+ K: `( c8 [, a* f
  1014. 3 E: c$ L4 U/ V9 j1 d; V
  1015. [Phar]
    6 W+ ]; S3 ?' N% z1 I3 U3 u
  1016. ; http://php.net/phar.readonly
    0 }% }( h* s+ O1 R" V$ v
  1017. ;phar.readonly = On" [# C1 x+ p* n
  1018. ) s4 J1 s: K$ t; s* h" b- r
  1019. ; http://php.net/phar.require-hash$ |& w2 Y4 t. U0 ]
  1020. ;phar.require_hash = On
    & f3 c. ?4 _6 q9 Z

  1021. 3 R7 l5 t0 u3 U& Z! O
  1022. ;phar.cache_list =
    0 F. ^% H! m7 W" V

  1023. * Q  o$ i4 k9 b" A+ ~# e
  1024. [mail function]7 ~, b4 W6 q) v' R0 }0 K! M
  1025. ; For Win32 only.
    + ~6 u; T  Y3 g8 B( ]3 N
  1026. ; http://php.net/smtp0 {+ Y9 j( P+ z
  1027. SMTP = localhost
    $ N1 r% I5 |. W; d: P
  1028. ; http://php.net/smtp-port
    7 f) Q9 K, S/ z
  1029. smtp_port = 25
    5 @, X( {( |8 c# T
  1030. 8 f) A' l8 R5 e5 M. m
  1031. ; For Win32 only.$ K6 a, m) v8 h: N
  1032. ; http://php.net/sendmail-from+ M9 N' ?9 Q. J- v* A
  1033. ;sendmail_from = me@example.com
    4 z6 Z0 U3 c0 v5 C: P

  1034. ; h' H" b6 t8 N' u% k) G* L
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    0 R% S; T& f3 }% r# q
  1036. ; http://php.net/sendmail-path! }& z) ?( d. X5 v5 x& N
  1037. sendmail_path = /usr/sbin/sendmail -t -i* D7 c* E- G( H4 n) x! u
  1038. ) C( o/ s5 U+ ?8 ]8 P, R9 T
  1039. ; Force the addition of the specified parameters to be passed as extra parameters5 l0 U  H, [1 a& J/ f
  1040. ; to the sendmail binary. These parameters will always replace the value of; W0 y* j+ s+ ]9 e. I, b- V
  1041. ; the 5th parameter to mail().1 T7 N: @3 M% o" }
  1042. ;mail.force_extra_parameters =
    8 i& [  _6 O( v; e
  1043. ; C/ a; G* N7 b9 p! h* k0 U
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ d; l- C; n% N4 ~' h
  1045. mail.add_x_header = On
    8 y, V$ Y0 V8 a: D" n) b

  1046. * N& A9 z9 V4 C! y1 d
  1047. ; The path to a log file that will log all mail() calls. Log entries include7 ^  C9 C' F0 R; G5 C8 ^" A3 [1 b! k
  1048. ; the full path of the script, line number, To address and headers.$ ]  d' O0 u$ f# i" u, U
  1049. ;mail.log =
    . Q( x! m! k( p" g# ?6 ^
  1050. ; Log mail to syslog (Event Log on Windows).4 A6 A1 s% C, G+ f) g, t* e
  1051. ;mail.log = syslog
    % p! Q8 w3 `) }, @0 i* k6 s

  1052. 7 f0 G9 E& _4 w9 Z1 b" {
  1053. [SQL]5 V# K% J. o4 }/ N' `
  1054. ; http://php.net/sql.safe-mode
    5 a7 k9 b/ F" |0 I- X. _. J/ y
  1055. sql.safe_mode = Off
    0 j1 L: [1 X8 ^. ^  Z

  1056. 4 z2 I  g* Q! A2 C$ l
  1057. [ODBC]
      V+ E# g8 v$ m2 D$ Y" P! e% x  X9 W
  1058. ; http://php.net/odbc.default-db+ q" p/ `) _* E3 u$ Z5 v
  1059. ;odbc.default_db    =  Not yet implemented
    ) i$ b' O6 h- V, z

  1060. ( p2 [! |2 c0 ?2 o/ G
  1061. ; http://php.net/odbc.default-user& g. I/ @8 j, i* }
  1062. ;odbc.default_user  =  Not yet implemented5 H8 M' A  A( @5 n% I: O
  1063. 3 x9 {/ R: [, t$ F* L9 y! F5 ~$ F
  1064. ; http://php.net/odbc.default-pw# b! c& T" I+ }! [& w
  1065. ;odbc.default_pw    =  Not yet implemented
    # m  g2 g6 }6 B, q, r- Y$ S

  1066. ' [) W7 z& X% x3 E5 o( H
  1067. ; Controls the ODBC cursor model.
    5 z0 F# |0 {! g, H. c
  1068. ; Default: SQL_CURSOR_STATIC (default).6 i% J2 W8 {& w; L- d# M2 Q
  1069. ;odbc.default_cursortype
    + G8 Z" n0 s/ Y( w. [1 r. ^
  1070. 4 I( v/ B2 i) X1 I& @* x3 `# o
  1071. ; Allow or prevent persistent links.
    " j& ~; s$ k7 Y! {# ?. ^+ d
  1072. ; http://php.net/odbc.allow-persistent0 J# O* q7 @7 |% F
  1073. odbc.allow_persistent = On
    * @1 o( g# U7 {' U+ j! H
  1074. + ~) }* E6 A2 M3 @
  1075. ; Check that a connection is still valid before reuse.
    9 l" }+ [- j+ j( h* R5 ?3 ?( ]
  1076. ; http://php.net/odbc.check-persistent- z# a8 h; J9 t: h0 f! O& ], O
  1077. odbc.check_persistent = On
    1 B6 G- X0 H  r

  1078. , H# d) `/ Z; ]) K
  1079. ; Maximum number of persistent links.  -1 means no limit.
    % X$ l, W/ S) f% i  E
  1080. ; http://php.net/odbc.max-persistent
    + d: r+ ^# j- V3 s, q- H3 H
  1081. odbc.max_persistent = -1
    # y( {- P  i5 Z" M4 z" b! s

  1082. 6 [# D2 U9 b4 [0 p  u' [" V3 s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- j8 ?' r9 `6 A0 ^: ]. Y
  1084. ; http://php.net/odbc.max-links. D9 V5 C  q# e0 S# t  c
  1085. odbc.max_links = -1
    ! u  T1 Z% G! ~0 b. p

  1086. 0 N, E1 l* J' d7 {, N
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means( \" H- V' O& B: N; e
  1088. ; passthru.
    ' [* E7 L; [) `3 u! \
  1089. ; http://php.net/odbc.defaultlrl1 E1 J2 z( n- ]" k2 R5 D2 k
  1090. odbc.defaultlrl = 4096
    0 f4 `1 M8 E- q

  1091. 3 n7 g2 D4 l. u/ m$ [- [
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 u2 ^; [' ^; `* `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 o5 x& c2 @! |$ q0 @/ w% F* o+ J% X, U
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 _! i- W- Y( p" z8 e
  1095. ; http://php.net/odbc.defaultbinmode: [1 \# n4 T! _- u3 V3 v; J
  1096. odbc.defaultbinmode = 1
      ^+ Q# y) J/ B1 w0 k% D- S4 O

  1097. . W' h4 S5 y2 D2 {4 S
  1098. ;birdstep.max_links = -11 u- P# X: K7 J0 Q, U$ l$ _+ Y

  1099. & T& H# O" s7 d0 m
  1100. [Interbase]
    4 Z) H/ b' e2 k& Y9 l8 h8 H" ~
  1101. ; Allow or prevent persistent links.( {8 k7 N/ p  \
  1102. ibase.allow_persistent = 1
    / \4 F9 r; b. [8 ^

  1103. - |/ c# w: r6 v4 i/ X
  1104. ; Maximum number of persistent links.  -1 means no limit.
      r; A+ W2 D9 K5 k7 n7 D+ B
  1105. ibase.max_persistent = -1  L5 `; }1 m& `) X3 P/ |
  1106. 9 g  w0 p- o, y+ Y7 K: n: D
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      R4 ~7 @* q- b! Q2 P( K. s
  1108. ibase.max_links = -1
    ! b% s1 F" a: Z2 c- i
  1109. : r. u# I! I0 V: B. y& U" _5 [* S
  1110. ; Default database name for ibase_connect().
    ) j2 a' G5 X0 ?, d( r
  1111. ;ibase.default_db =3 @' U# {# I( ], M# Y  g
  1112. 2 Y6 V3 z9 }/ [3 A. B. T! O
  1113. ; Default username for ibase_connect().
    ' W; D( h" Y0 z& _: x" r3 N
  1114. ;ibase.default_user =
    0 }: q5 M$ m- F$ U$ j
  1115. ! _' y' N- A! A4 k2 O
  1116. ; Default password for ibase_connect().
    ) f$ h: r2 C( g  q
  1117. ;ibase.default_password =
    8 n; e6 ^- t) m) [) h8 m
  1118. , M# f) M0 q9 n
  1119. ; Default charset for ibase_connect().
    5 U+ J& e, D. T& t: K
  1120. ;ibase.default_charset =7 m( ^# e* Z1 ?* Q" q

  1121. : A  I; @9 A8 ]2 B( J- W: V) X
  1122. ; Default timestamp format.( I7 e# q$ D+ i; i. U* G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . [' v% A) z  v8 ]7 E4 ~

  1124. + A4 j3 R7 t+ M% R* T
  1125. ; Default date format.7 L4 U/ X$ f" }' [  i
  1126. ibase.dateformat = "%Y-%m-%d"
    $ [" S) E( {- l9 V# `% U' v

  1127. , y8 W' i5 z  ~) ?& C" A. n3 R
  1128. ; Default time format.3 r6 o2 S( X, a
  1129. ibase.timeformat = "%H:%M:%S"& c9 n. ?0 [( O8 p& h4 p/ ^3 k3 K

  1130. ; z; G& ?: B" O8 T/ B% W. L
  1131. [MySQL]
    * S: E' M6 n+ J% T4 X) K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# e- D5 y, V, O5 X9 |; H
  1133. ; http://php.net/mysql.allow_local_infile
    2 w  @8 _, e, N
  1134. mysql.allow_local_infile = On
    0 E8 a/ r  u. ~! y! N
  1135. 5 e# g3 P! [; e5 k9 d* H
  1136. ; Allow or prevent persistent links.
    5 }* `. s, G0 G1 k. l( ^& m" m; Q1 g
  1137. ; http://php.net/mysql.allow-persistent
    9 K" T: ^- {' z' h) k3 @' K" @
  1138. mysql.allow_persistent = On* p; k0 j& n% N+ @: M9 X* b: \$ y+ v

  1139. ! ?/ @" t( G/ c- C5 [! g* g7 ~: Q$ b
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ M, P+ Q2 E2 K+ r; ~1 W0 g
  1141. ; http://php.net/mysql.cache_size
    & e! k, m4 K: l3 M
  1142. mysql.cache_size = 2000: e" H8 d- c; l/ M& G5 C2 j. ?
  1143. 9 t: l* X4 s4 W  |$ ~6 T7 U
  1144. ; Maximum number of persistent links.  -1 means no limit.; v7 e2 r8 M; h4 q& |# i
  1145. ; http://php.net/mysql.max-persistent
    " \1 s9 K0 t# @$ v# o
  1146. mysql.max_persistent = -1
    ! y) f& w% Q! V" ?# P6 r
  1147. & h( B! d$ g3 |* ~3 T
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 i# H9 y# V$ c: O" o0 c9 ^
  1149. ; http://php.net/mysql.max-links
    $ x+ L$ {1 y' S6 w5 o
  1150. mysql.max_links = -1
    ) X: X$ B+ ?0 }1 U9 j. {

  1151. 1 J+ j0 p4 n6 [: ]) ^$ a- z* h$ C
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ; A2 b1 u( {7 L
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 H; [6 z- e/ d, W7 w  V9 M
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 w) _* _  P  X1 l6 k: W
  1155. ; at MYSQL_PORT., k5 b8 g1 Y% p% W: G5 S& q* y
  1156. ; http://php.net/mysql.default-port+ Q  K; E" c# M3 R9 u% [6 y
  1157. mysql.default_port =
    + [) e+ [; p, M7 I) K7 c6 w0 v
  1158. % U+ U! ?/ k. F; k' Z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ ]& F" b3 c3 o+ u
  1160. ; MySQL defaults.
    1 R3 k7 i4 `3 O5 B3 f
  1161. ; http://php.net/mysql.default-socket+ M/ O. R: B! Z
  1162. mysql.default_socket =
    & w$ U2 ^( L1 q; g8 j0 t% z
  1163. % ~- l3 E0 A6 [* f
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 L% A" J* D6 m3 a
  1165. ; http://php.net/mysql.default-host
    . [$ F4 i5 ]# ~+ l# B* L& T
  1166. mysql.default_host =6 z. F0 k0 \) \4 ~
  1167. 2 l. }3 m; k# \% k; c: O8 C3 e1 ~
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).. P. v( H4 u6 }& j+ W8 y2 X
  1169. ; http://php.net/mysql.default-user
    5 t- v  }9 L' L1 X+ J* B
  1170. mysql.default_user =& f) p: j- x) B0 p
  1171. . }  V3 Y! E0 Q1 I& [
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    9 |: i- c; U# D9 W, _! e, b
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.! H+ O8 o3 v8 S1 M: G
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")8 ]: f$ M: ~/ o, @1 t8 v* g
  1175. ; and reveal this password!  And of course, any users with read access to this
    ; s3 n9 R, s  l5 q2 Z% C
  1176. ; file will be able to reveal the password as well.
    3 r. Z7 j% G. Y1 ]3 L9 K) C: D
  1177. ; http://php.net/mysql.default-password
    7 U& M4 {. n: C+ k. s/ E$ c
  1178. mysql.default_password =1 f% }+ k0 d; a9 Q

  1179. , w# C2 ]% |' K1 T* |
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    . U  j% |0 x1 `- f& P2 |7 P% _
  1181. ; http://php.net/mysql.connect-timeout. c5 g, a! t) T# M8 a# I9 c
  1182. mysql.connect_timeout = 60
    5 y( x# B4 b- T# t/ t+ `" g

  1183. 7 U, A* U; T5 S% F5 m
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 f  f# m4 w0 I
  1185. ; SQL-Errors will be displayed.
    9 d: q7 i9 ~# I) }7 u' e0 t
  1186. ; http://php.net/mysql.trace-mode: t; n+ e) V. \, X
  1187. mysql.trace_mode = Off0 e: B; f5 ?" Y" C

  1188. ; {, [! J9 ~; Z( \( x
  1189. [MySQLi]
    2 |! Q  {+ u. D: O4 _0 G, A

  1190. , N7 p( W" S& a' L# W, i$ i( i
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ' A. s" p  z. |; i7 N
  1192. ; http://php.net/mysqli.max-persistent5 T' k9 s" H" p( p% @, m1 |
  1193. mysqli.max_persistent = -1
    ( e" @' ]5 P  F( X/ q( h4 R
  1194. # M$ F2 {( l  I: ^1 l* _# n9 a
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 l+ j. p! v, L/ p5 n2 q- y
  1196. ; http://php.net/mysqli.allow_local_infile0 h* o' E; a% ]; z! d5 [
  1197. ;mysqli.allow_local_infile = On6 h& ?; ~) H- [, Q) W* j' t

  1198. / |2 q) u, ?2 c* M  U% o, F
  1199. ; Allow or prevent persistent links.2 r7 t* H) e, w& [* N% p7 V4 J
  1200. ; http://php.net/mysqli.allow-persistent7 c, L. V# ?* G6 V# h
  1201. mysqli.allow_persistent = On( s$ c* N* c8 i% H# j( ]

  1202. $ @, A* Q& z" m- I- `# |
  1203. ; Maximum number of links.  -1 means no limit.4 D9 z0 |$ z) T6 Y6 Q) B
  1204. ; http://php.net/mysqli.max-links3 t! z: n9 S2 n
  1205. mysqli.max_links = -1
    5 k' b: |4 {) g  K0 [/ ?- a

  1206. , S9 P; i+ h# [- m9 ^0 c  G
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * ]5 K# l; n' t
  1208. ; http://php.net/mysqli.cache_size2 s) a# \5 w4 `0 {/ e
  1209. mysqli.cache_size = 2000% Y! }$ v8 w; y6 {
  1210. , j' N. H; B# ^! z, H
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 d$ |+ H& Y# A* G/ M; ~% J8 u
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ i, r0 f  P: c0 \; l: K) o
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 T8 G- e  ?$ d
  1214. ; at MYSQL_PORT.
    ) W# N0 c. {* V( F
  1215. ; http://php.net/mysqli.default-port! U2 x5 m) ]" f# Y& O
  1216. mysqli.default_port = 3306
    5 C( m# ^* [8 [1 d4 g  w

  1217. 1 `2 m; ~2 x, d$ X4 ]! l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in* {, \5 F6 `8 I  S' R: n0 P
  1219. ; MySQL defaults.
    9 O* C) Z8 [& A. P+ L, i
  1220. ; http://php.net/mysqli.default-socket% K) M3 S, u* C! h7 k1 O( [0 B
  1221. mysqli.default_socket =; R8 e, {: y8 x$ ~
  1222. 9 ]  d& J3 |" o2 _5 Y; O& ^( s
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . I4 u6 @) Z2 e
  1224. ; http://php.net/mysqli.default-host
    ; Z& b3 ]" c8 \. g
  1225. mysqli.default_host =/ d7 G+ d  t  X
  1226. 7 i1 E: O2 E+ b1 n. a$ B! b
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).# S5 I$ t. i: d5 J
  1228. ; http://php.net/mysqli.default-user
    " L, s+ t1 e6 e* m5 O+ V! F: k. [
  1229. mysqli.default_user =
    5 ?! _4 A; [9 K
  1230. 2 ?2 {9 e, s# g
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 _$ W4 S- h6 q: Y$ [
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.- l+ o2 ]* }  e; ~5 B! V1 r2 f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")  k# {7 _3 H+ q) x
  1234. ; and reveal this password!  And of course, any users with read access to this) ?2 ]( |, Q3 `" L( s+ T3 ]0 b  e. V
  1235. ; file will be able to reveal the password as well.
    # i2 Z3 v: z. g) F& r
  1236. ; http://php.net/mysqli.default-pw5 K8 ]+ {1 l# M. G
  1237. mysqli.default_pw =
    - r' {. y; E+ ]' u

  1238. / S3 s+ z+ b( F, G% f" y* D( K
  1239. ; Allow or prevent reconnect
    ; V; r* w( D8 a& D! W
  1240. mysqli.reconnect = Off
    ' v6 H, a% m! S* u% a: @

  1241.   D# l6 I* q  q
  1242. [mysqlnd]5 p% k0 q( U, ?1 Z3 U
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be8 s: z. i+ |  N# l& D: y3 J/ n
  1244. ; used to tune and monitor MySQL operations.
    ( N4 n# [. D" o/ G
  1245. ; http://php.net/mysqlnd.collect_statistics
    7 l: C; y+ M# D. M- o
  1246. mysqlnd.collect_statistics = On
    1 r; ^* }6 U, W7 {

  1247. " }1 c2 H) r) P: s+ h& f' ^
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be7 l5 |  ~3 N9 z% j( L
  1249. ; used to tune and monitor MySQL operations.
    . ?# S5 c* p. j2 Q9 }
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    1 a4 i1 p2 {' D5 _! A( j
  1251. mysqlnd.collect_memory_statistics = Off8 s3 i- L8 G! ^  ?

  1252. ; {4 m& ^# b; }& K  C$ I: `# \' D
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    7 O* T2 e$ n$ U9 O& O3 ?+ _
  1254. ; file./ w) F# Q2 I% V, J
  1255. ; http://php.net/mysqlnd.debug; E4 F/ M8 o/ q# {; W3 Q+ O
  1256. ;mysqlnd.debug =/ S. C8 B  Q5 h# E! I  e! X

  1257. ! o( A% q: t) S+ E
  1258. ; Defines which queries will be logged.0 Y; q2 h6 b( u% @
  1259. ; http://php.net/mysqlnd.log_mask3 m2 {1 {5 ]  A0 [3 e2 s1 S+ M; C
  1260. ;mysqlnd.log_mask = 0' J* Q- v, [/ r9 _' A, }+ G

  1261. % Q6 T# [' Q  e% A. K3 T
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.' Z. e* I$ x) u! [. ]$ U  k4 @
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ( r- m  W( Q$ v0 h! c* ?8 u
  1264. ;mysqlnd.mempool_default_size = 16000# S+ a5 z# A4 x

  1265. 1 a" G2 v* [$ v: C3 L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 P1 P; x4 }: ^* b7 p
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size9 J9 D2 V, s4 N: ]4 M/ F, T
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    " J1 E& h. e9 J

  1269. 8 P2 A% C% f0 a2 }! K* I& K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    * D# `( w" @$ ?* g
  1271. ; bytes.
    # p* l. [$ T) p
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    6 J. l/ J5 r, F& J9 |
  1273. ;mysqlnd.net_read_buffer_size = 32768
    - A- F& r; k/ }; a2 R
  1274. 0 X" }) y: x, Y! t, e' j9 r+ b
  1275. ; Timeout for network requests in seconds.
    & Q6 x; M& b& O$ m
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' O9 R5 S$ W: [; S+ X6 a; e2 b
  1277. ;mysqlnd.net_read_timeout = 31536000
    ! [' @1 V3 {& Z% H  X
  1278. 7 f9 M' u: X) M, ]
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ w6 _2 K, M' F
  1280. ; key." @. [5 w6 g' R; ]: t! S
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    . }$ n2 C* v7 ?8 ]  p
  1282. ;mysqlnd.sha256_server_public_key =7 G  i% R6 i2 Y+ u

  1283. ' D( m6 G# F" y; O
  1284. [OCI8]8 x2 A! @% B+ j6 r% \/ j) e$ N

  1285. - c# _% r3 A5 {4 J$ R. X
  1286. ; Connection: Enables privileged connections using external5 `$ ?9 E- D$ c  @6 [2 i1 i
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 m6 A8 }! x* a, n3 @
  1288. ; http://php.net/oci8.privileged-connect
    ! Y6 D/ ~$ W) q3 z6 Z  k
  1289. ;oci8.privileged_connect = Off$ T( o& S0 x7 \9 ^4 g/ l! q6 ^
  1290. : ~% f$ V( `( S* F5 ]4 \! {
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    " i* g$ E8 f4 v9 J" R$ j
  1292. ; process. Using -1 means no limit.+ y- w( x% u3 Y, j- a
  1293. ; http://php.net/oci8.max-persistent
    0 q; g9 j9 r  F3 }5 U! ]" ]
  1294. ;oci8.max_persistent = -1
    * \5 [- s5 }5 m' _4 w
  1295. 3 j# r8 N5 L* l/ p. b$ K
  1296. ; Connection: The maximum number of seconds a process is allowed to8 K2 J1 s0 P5 t' X  E3 p$ B
  1297. ; maintain an idle persistent connection. Using -1 means idle4 {/ U# D/ ~, ]: q/ F  ~  S4 \
  1298. ; persistent connections will be maintained forever./ s1 b$ ?5 ?% T3 i, ?. p' K
  1299. ; http://php.net/oci8.persistent-timeout
    1 g/ i! a) f" b! }4 _
  1300. ;oci8.persistent_timeout = -12 b6 |# T! x& J! L0 s
  1301. 2 @) G% w' Q+ C. h+ x; ]% G
  1302. ; Connection: The number of seconds that must pass before issuing a
    2 B0 z+ o' P( W; _
  1303. ; ping during oci_pconnect() to check the connection validity. When3 n( K% a8 y4 T, ~# E9 F6 _
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    - L' E6 a% H% ]% U
  1305. ; pings completely." b+ Y& P. D6 I# m7 P
  1306. ; http://php.net/oci8.ping-interval
    8 e+ u$ Y  X: g6 M2 i
  1307. ;oci8.ping_interval = 60
    ) N. h8 L" D! y$ x6 B% A7 k
  1308. 5 p: L" }9 j4 `6 z* M
  1309. ; Connection: Set this to a user chosen connection class to be used
    $ ?( x' L& I0 C# d8 S( S
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , y. ?' R5 U1 N+ k* k
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    - y. q5 s6 M& y7 X7 g. A
  1312. ; the same string for all web servers running the same application,
    - }1 U( i3 j0 K( w
  1313. ; the database pool must be configured, and the connection string must
    0 ?! l5 o- g6 x6 a; ~' l4 ^3 J- J
  1314. ; specify to use a pooled server.- Q0 u9 t# C0 `/ A; T! G/ t
  1315. ;oci8.connection_class =& x$ s7 }& E% A" r1 ^- p1 @6 N* U
  1316. 3 [8 |* L5 b8 x7 v8 z
  1317. ; High Availability: Using On lets PHP receive Fast Application5 n: Y: Q: q. P7 R8 Z5 K
  1318. ; Notification (FAN) events generated when a database node fails. The
    - G( A2 c& J+ V
  1319. ; database must also be configured to post FAN events.1 ^4 }  U2 o% Y2 ~7 A* T# C0 A, _2 V
  1320. ;oci8.events = Off
    6 p6 |& C5 ?/ c$ `, H2 K
  1321. 4 E- i, Q- s. |& Y0 T. Q
  1322. ; Tuning: This option enables statement caching, and specifies how
    5 Q5 P% M2 ^2 R6 n
  1323. ; many statements to cache. Using 0 disables statement caching.$ Z: D8 f. [3 |) J. `* l
  1324. ; http://php.net/oci8.statement-cache-size
    7 o( D1 Y) ^# }$ a: E
  1325. ;oci8.statement_cache_size = 204 M. e- X" O% k: `4 I$ P) v
  1326. ' |/ t1 i! x, z- j4 N  N- e
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 `0 g1 U! |# f" G
  1328. ; rows that will be fetched automatically after statement execution.) k, p: v' z; W/ F% H( t
  1329. ; http://php.net/oci8.default-prefetch: [+ ?. C; e. s7 n
  1330. ;oci8.default_prefetch = 100
    , ]; z- C5 H9 N# @9 h
  1331. 0 W8 `4 ?6 T% u9 ~, Y+ y7 ?% R- v
  1332. ; Compatibility. Using On means oci_close() will not close; O' P, w# Y7 C. I! L( v
  1333. ; oci_connect() and oci_new_connect() connections.
    + y; w5 n6 S3 `1 x/ a. }  Q3 [
  1334. ; http://php.net/oci8.old-oci-close-semantics
    , E9 N: H" X) o  J
  1335. ;oci8.old_oci_close_semantics = Off) Q; C. @* ?; h3 G! Y1 P

  1336. 7 a% |6 H( D+ Z5 L+ M+ T/ b
  1337. [PostgreSQL]& `2 J/ i1 J0 X" \4 u( H) c* R
  1338. ; Allow or prevent persistent links.
    6 g8 C1 g& P' z, [
  1339. ; http://php.net/pgsql.allow-persistent6 V9 ~' e% d7 e
  1340. pgsql.allow_persistent = On! E1 m1 v& P4 K4 n4 r

  1341. ( D, L+ C7 V* L! d1 R
  1342. ; Detect broken persistent links always with pg_pconnect()., s( F) [2 X: e# a- h
  1343. ; Auto reset feature requires a little overheads.
    5 }* e9 w7 I3 \
  1344. ; http://php.net/pgsql.auto-reset-persistent9 ^, h1 A3 s* \- V( ?
  1345. pgsql.auto_reset_persistent = Off
    . N; G! [/ Y# a' ?7 J  k5 {, k

  1346. ; R5 j9 k- L+ L
  1347. ; Maximum number of persistent links.  -1 means no limit.
    $ T5 k% y0 x; W( Z/ D+ u: |9 T! z" z
  1348. ; http://php.net/pgsql.max-persistent
    2 I- M2 {9 n8 x0 N* i; s1 H* G
  1349. pgsql.max_persistent = -1
    % G$ ~2 s/ _; z/ Z& i
  1350. 2 R+ P/ P5 _% I- u
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: p) K( m/ S5 J* U, J, I
  1352. ; http://php.net/pgsql.max-links
    2 \  [3 J* A* n2 [' o
  1353. pgsql.max_links = -1# i& J9 Z. M9 l$ g" {$ d
  1354. 3 E% ?. c; D3 {# B
  1355. ; Ignore PostgreSQL backends Notice message or not.+ Q+ N% q- H6 _) K1 }& g
  1356. ; Notice message logging require a little overheads.- G9 v% [9 R$ V: ^# ^
  1357. ; http://php.net/pgsql.ignore-notice; }: i/ w1 Y, K
  1358. pgsql.ignore_notice = 0. E: W# g0 S/ g- \  c  [' O9 Q
  1359. # m/ x* J9 }8 C# m' A  U
  1360. ; Log PostgreSQL backends Notice message or not./ p2 D9 g3 {) R/ Z2 C" u8 p
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * ]4 d3 _5 i" O! ]/ ^# B. ~
  1362. ; http://php.net/pgsql.log-notice
    / b8 y) I( ^1 d: ], W
  1363. pgsql.log_notice = 0
      Y8 o5 b) z; B2 I+ R
  1364. ( P3 O  V# b- c
  1365. [Sybase-CT]
    0 I" Y3 \) H8 z7 _
  1366. ; Allow or prevent persistent links.
      K7 P0 s) u. W4 \
  1367. ; http://php.net/sybct.allow-persistent
    6 J2 g9 l2 b: i9 \8 T; }: B* }
  1368. sybct.allow_persistent = On
    ) f9 @8 s( v) L4 v) V

  1369. 7 D- U( w& Q6 s* W2 p8 s2 A( a
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # s& T2 M% X7 A" K# G$ Q6 o" c
  1371. ; http://php.net/sybct.max-persistent
    # @- o. ~, |% A5 n2 `% v. C
  1372. sybct.max_persistent = -1
    % H3 z0 C/ P( r9 E5 D
  1373. 2 e9 e' a, p9 F7 T5 R9 Y) }
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 y1 Q- U/ s' O0 b0 S9 A  M: @
  1375. ; http://php.net/sybct.max-links
    / |& m( P- c: S. E/ T% E; B% S; l
  1376. sybct.max_links = -1
    7 ]# c& x  S$ [1 {! {

  1377. % i7 g( K8 ^) p
  1378. ; Minimum server message severity to display.
    & m1 W4 y8 U* c% s5 G3 d0 I- T. y
  1379. ; http://php.net/sybct.min-server-severity* g5 c' Z' D# a8 ?
  1380. sybct.min_server_severity = 10
    * e/ h' D8 Y8 y% C5 I$ N% [  ]% {
  1381. 8 _8 w% f* N: D4 \
  1382. ; Minimum client message severity to display.
    6 ^* f1 c* x* ~! q& B
  1383. ; http://php.net/sybct.min-client-severity
    ! l3 }" y- I6 S) @9 p6 f/ F' S0 w
  1384. sybct.min_client_severity = 10" U* W, i( Z2 g2 y
  1385. 0 A! l, q! o, x3 d( E" K: A: `
  1386. ; Set per-context timeout! M7 ?4 ?0 E# g0 K4 ?
  1387. ; http://php.net/sybct.timeout
    2 r: }0 q. I/ J1 ?0 q2 |* t  g7 p
  1388. ;sybct.timeout=
    6 O+ c: {$ U! y4 s
  1389. ' ?' ^, H  U- A* Y5 |3 g( ]
  1390. ;sybct.packet_size
    9 G& Z& h$ G9 Y' Y) i  f" B

  1391. , ^! C4 s7 i) S4 q/ S# ?' p7 X
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    + ~. U* W7 A/ @8 ?
  1393. ; Default: one minute
    * @. y5 v9 A" R
  1394. ;sybct.login_timeout=
    $ e( K, I8 K: R4 L* E, K

  1395. # ]: a, y# ^2 c- @8 k
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ' B/ i; H. H! T* x! S
  1397. ; Default: none
    + F; J% v  ?" U% r: q0 T0 v: b. }
  1398. ;sybct.hostname=) q2 n4 T4 c" W& l

  1399. 5 u  S* c: V/ j  |- Z. X( L1 R9 {; v
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".2 D) i4 A5 w& y5 G: d; c* ?
  1401. ; Default: 0- e8 y% S5 O1 N8 l; h# N) x7 p
  1402. ;sybct.deadlock_retry_count=% e, P: i. G6 F4 g& F5 z
  1403. 1 B) y, M' I4 x; B4 U
  1404. [bcmath]# Q. s) u9 S$ S: J% t7 q' z8 v
  1405. ; Number of decimal digits for all bcmath functions.$ D$ B  @% ~! |6 s1 ]. R
  1406. ; http://php.net/bcmath.scale
      [4 ~  P3 q; D( C3 ^
  1407. bcmath.scale = 05 y0 V* l4 G' H0 Z7 X0 O
  1408. : f2 e+ r/ e; `
  1409. [browscap]
    7 o: d" G* J2 P, R$ k6 ^: v$ G
  1410. ; http://php.net/browscap0 |1 v1 t& O% M& D6 i
  1411. ;browscap = extra/browscap.ini/ E5 o! e( B9 }4 p! U: h) n
  1412. 2 [# Q/ O. i' J8 H
  1413. [Session]
    ; ?& L  u3 a( o/ w7 d5 a9 v8 H" O
  1414. ; Handler used to store/retrieve data.% D4 y% v* u/ C+ d3 E
  1415. ; http://php.net/session.save-handler
    ( \2 n- D% d( I1 V
  1416. session.save_handler = files% C6 j5 F+ j! u" t! T3 V5 o" \

  1417. 6 L+ a, k, A! A& r4 C6 K5 S
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    7 D3 o4 ?8 H  P) {  e
  1419. ; where data files are stored. Note: Windows users have to change this8 y( p5 A$ P, J1 S# p
  1420. ; variable in order to use PHP's session functions.! j/ j+ ?$ e9 K; Q; ]( w& w
  1421. ;
    9 r: N+ r& p- X9 k7 R
  1422. ; The path can be defined as:, C. E1 S1 G2 ~
  1423. ;& \6 l- m- A5 _) p$ i
  1424. ;     session.save_path = "N;/path"
    8 M. V; h( ?& z
  1425. ;
    $ R5 C2 G: t0 S, K, }
  1426. ; where N is an integer.  Instead of storing all the session files in
    2 n7 v1 V. b" R6 @! Q
  1427. ; /path, what this will do is use subdirectories N-levels deep, and5 d; M1 t+ U2 D6 I
  1428. ; store the session data in those directories.  This is useful if4 w, t4 U/ ^, U4 j5 ]7 @4 K* L
  1429. ; your OS has problems with many files in one directory, and is+ }6 ^- j! |" }: e3 [
  1430. ; a more efficient layout for servers that handle many sessions.
    * C, H) x4 E; G' L. L6 z0 {) P9 H$ u
  1431. ;0 v! @- `6 c6 z6 q  I) X
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    8 s% [& M( N* }) X" d, O
  1433. ;         You can use the script in the ext/session dir for that purpose.
    4 @3 S; G; T) e
  1434. ; NOTE 2: See the section on garbage collection below if you choose to/ i& N; c! s( O; `  A
  1435. ;         use subdirectories for session storage5 \* f& ~+ S  {  u4 R, e
  1436. ;- y5 {, C2 h2 }; W, v- I: _
  1437. ; The file storage module creates files using mode 600 by default.% A4 t6 X; d4 u& O
  1438. ; You can change that by using# a. z1 S- S0 h9 W5 @2 f
  1439. ;1 r  F% m, ~& j' g, ^' n
  1440. ;     session.save_path = "N;MODE;/path"
    ! w* w( u% ?6 E+ T
  1441. ;
    $ N" v- w- P8 _; q2 @
  1442. ; where MODE is the octal representation of the mode. Note that this4 D$ L5 j; {1 K* B
  1443. ; does not overwrite the process's umask.
    ) F( V' O2 a$ C+ w( d( O- E. e/ Q
  1444. ; http://php.net/session.save-path
    ; z' O& }( Q9 _" \" A3 A$ t
  1445. ;session.save_path = "/tmp") X" Q: }3 D  B+ t" D/ J; @

  1446. + X; E  T' K4 @
  1447. ; Whether to use strict session mode.
    3 H& E* u, i& }6 c- ]) Y% }
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate. N8 h/ n5 M0 I- l% [$ b& [; |
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 k  I; i, t- |* A# [4 y5 \
  1450. ; applications from session fixation via session adoption vulnerability. It is
    # k9 Z) T+ z# Q0 d0 J
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.' m) k  U, @7 N2 ^
  1452. ; https://wiki.php.net/rfc/strict_sessions
    6 h  V% a6 A! W1 i& z
  1453. session.use_strict_mode = 0
    ' E4 @  ~; Z/ l% B" }  l

  1454. 6 ^7 K5 I1 f" p* b' K3 f1 b. r* Y
  1455. ; Whether to use cookies.
    & F  g/ r0 a" A+ x/ I5 X- n4 W, A
  1456. ; http://php.net/session.use-cookies
    ' J, s) B' Y9 p8 N# y" [( P# L
  1457. session.use_cookies = 1
    5 i- Q: G/ F5 g6 d7 X1 z

  1458. $ q6 U0 D3 s# v8 s
  1459. ; http://php.net/session.cookie-secure! ]- K9 v* v2 e4 E0 r7 d
  1460. ;session.cookie_secure =, x4 m5 g7 x2 ]' t" p) Z% z, o
  1461. ; T) J0 {* t; p
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' f; w6 X& W$ S, f
  1463. ; the session id. We encourage this operation as it's very helpful in combating: {4 w; P9 C; Y
  1464. ; session hijacking when not specifying and managing your own session id. It is8 P6 `9 x* @8 y+ X/ p* G
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 F, K3 Q/ W6 R: B
  1466. ; http://php.net/session.use-only-cookies
    " F6 m! U1 n( R! I1 C7 o
  1467. session.use_only_cookies = 1
    - c! m$ [# I0 I2 K

  1468. ' E& o. n7 N+ R3 F  n
  1469. ; Name of the session (used as cookie name).2 q5 k7 a! p$ L- e. f) g, f! f) x
  1470. ; http://php.net/session.name8 J# \$ K& |& I+ {! Y
  1471. session.name = PHPSESSID
    ; [- r: M. i, \: v/ a3 C
  1472. & `) T& ?  v  n/ P6 N8 p
  1473. ; Initialize session on request startup.) y" j0 }( _: F
  1474. ; http://php.net/session.auto-start
    7 S( T; K; O: N/ n. S
  1475. session.auto_start = 0
    . {' I/ q4 I% E- M. {
  1476. # I0 a5 X! t& @1 W6 B
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; ^4 \$ H' i4 }4 B( y
  1478. ; http://php.net/session.cookie-lifetime/ x) ^( e) J1 h; G, q8 u: u
  1479. session.cookie_lifetime = 0/ V0 o- H. n8 f! Y( z5 y& s
  1480. ( Y7 _. V- }% B; R4 {6 q) J
  1481. ; The path for which the cookie is valid.% M! J& Z% T* m' K# w! L
  1482. ; http://php.net/session.cookie-path
    6 \7 U& |( z3 v2 n
  1483. session.cookie_path = /+ @# S: w- t, h$ [% F7 u( U
  1484. ! k/ J" D& F  S3 p/ p6 e
  1485. ; The domain for which the cookie is valid.
    ) `6 ]3 C. L* G5 F( L+ k% N
  1486. ; http://php.net/session.cookie-domain/ J3 E/ ?4 O0 {4 O2 ]
  1487. session.cookie_domain =3 H8 k# W1 e/ }, f6 z3 b

  1488. $ S  ]- ^0 s0 E
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ' R3 Y8 s# o$ R6 _
  1490. ; http://php.net/session.cookie-httponly" h$ d' K9 Y8 `3 Z  h% h1 \5 @
  1491. session.cookie_httponly =
    / C7 n9 \* N$ f7 i4 k/ b2 O
  1492. ) |$ g$ S* d% V8 ~- {
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( _- X4 {6 c  b& R
  1494. ; http://php.net/session.serialize-handler
    ! e7 O! _: D" Q; r1 w
  1495. session.serialize_handler = php" ]2 s5 |" H8 X/ A
  1496. 6 }( G- R5 A, v6 u0 c! |
  1497. ; Defines the probability that the 'garbage collection' process is started
    : B6 T7 h/ T! O; L& t. s; F
  1498. ; on every session initialization. The probability is calculated by using
    2 T3 ~5 |) H- @, d  }; O
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( v4 |6 m& E8 W) j3 G0 _
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : R  d5 C; l" U, m; p4 B
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ x% d1 U! C* n7 O. k
  1502. ; the gc will run on any give request.2 x7 `; c: Z4 l# M
  1503. ; Default Value: 1! L3 |* O5 D9 s% |) z7 R
  1504. ; Development Value: 1
    9 K1 q* A* U8 l9 O) a" O% [. C5 t: r
  1505. ; Production Value: 14 l5 k% }1 N) B) o/ }
  1506. ; http://php.net/session.gc-probability) }5 u' m* `; {# R: T0 I4 Z- K
  1507. session.gc_probability = 1/ ?) d) j" a# |. \7 R9 Y

  1508. : T* \- f$ N& l( l3 H6 r8 x
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    # V- p' B" g" v3 k& i- m! j* o6 n
  1510. ; session initialization. The probability is calculated by using the following equation:
    " A4 T4 D5 u$ `8 y9 _* @" K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / N5 v2 o/ ~1 h6 e" r7 \1 t
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( i# f4 h' Q% ~  L" o" H
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  W% g3 Z1 W6 c9 y6 E( m8 z
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ) ~' A2 {7 f$ ^# t, v
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- D6 T6 V8 y, h& I
  1516. ; this is a more efficient approach.
    9 W. B( B6 y0 x: V$ h% T( V. B" c
  1517. ; Default Value: 100  Q0 ~* y7 P$ i. \
  1518. ; Development Value: 1000
    7 t" m- m6 Q, O& U
  1519. ; Production Value: 1000
    ( P3 O" g6 h0 L$ U
  1520. ; http://php.net/session.gc-divisor
    1 [8 M& H0 o4 G& M
  1521. session.gc_divisor = 1000
    & A4 G' T" v6 O) o

  1522. ! x0 E- h8 x; V& J- Q% {0 B
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( \) T0 X5 |- {
  1524. ; cleaned up by the garbage collection process.
    4 A, r: g1 j& ?/ D7 q
  1525. ; http://php.net/session.gc-maxlifetime6 u5 w) D. X% E/ W2 N0 U
  1526. session.gc_maxlifetime = 1440, l! s# o: W: N# h+ H3 }- }
  1527. : Y0 E6 {" k* m$ a
  1528. ; NOTE: If you are using the subdirectory option for storing session files& n7 _& O' _. K- h
  1529. ;       (see session.save_path above), then garbage collection does *not*. Z% |. g$ W  w, s: k2 u
  1530. ;       happen automatically.  You will need to do your own garbage. y* w# u: A1 G9 f/ ?* D
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 L1 l: D' ^" l+ Y$ c
  1532. ;       For example, the following script would is the equivalent of
    9 L1 b, V8 V$ F% ?. V1 j$ w
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    8 Y# T( _5 L$ o* o
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    1 i; q, C2 ?) z. G! |7 W
  1535. % [$ G$ w+ V: {  y8 \% x: p
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 f$ ]% r% x$ Z1 u; ~/ c
  1537. ; HTTP_REFERER has to contain this substring for the session to be/ N6 @6 v1 l" W% L! `
  1538. ; considered as valid.
    " n3 |  r: W! j6 i/ ~
  1539. ; http://php.net/session.referer-check" v) h8 ~7 |0 F9 `3 t; n
  1540. session.referer_check =3 o# u1 a- |& y4 V* H

  1541. 4 h* N% _  W) K( f' ~  @
  1542. ; How many bytes to read from the file.
    ) S+ H$ ~5 g) r( c* V
  1543. ; http://php.net/session.entropy-length8 ?& ~* O& [/ K
  1544. ;session.entropy_length = 32
    ' \: w; @* @! v0 Y3 s

  1545. 9 m) Z/ G  Q2 f1 j/ s0 X
  1546. ; Specified here to create the session id.5 d$ [0 G7 |' S  @4 _
  1547. ; http://php.net/session.entropy-file
    , b0 d3 s8 E% Y) W- u# k1 A
  1548. ; Defaults to /dev/urandom" f* }" u8 j' d  n
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 l& Y( ~) m  x, ]' B
  1550. ; If neither are found at compile time, the default is no entropy file.9 u) F, B" x9 N: y( l+ N
  1551. ; On windows, setting the entropy_length setting will activate the
    1 b6 X- U( l. n9 X1 j. P+ ~
  1552. ; Windows random source (using the CryptoAPI)# U3 G$ l2 ?. _2 x: _# V6 S2 z
  1553. ;session.entropy_file = /dev/urandom
    / c3 x% O5 d) n1 z# ^. w

  1554. 4 O6 u7 q- [, m( i- {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    + E' W; X( O+ u- o6 Q
  1556. ; or leave this empty to avoid sending anti-caching headers.
    + p4 m3 ~4 b, T! f! }4 O8 P
  1557. ; http://php.net/session.cache-limiter  p$ `" W  n  f1 E
  1558. session.cache_limiter = nocache
    ( a1 b  N) q0 L5 \
  1559. 2 r; e0 j8 m! W7 H7 Q  v. x
  1560. ; Document expires after n minutes.
    7 E0 }1 p* J+ x$ K8 G% [
  1561. ; http://php.net/session.cache-expire# C8 y( I/ q- z* V& J, S3 A
  1562. session.cache_expire = 1805 c) z/ f. Z+ n" H1 T9 _
  1563. - e7 L! w2 t$ t2 K$ e5 M9 c1 l
  1564. ; trans sid support is disabled by default.1 O5 L+ p) g  N, K& K
  1565. ; Use of trans sid may risk your users' security.% D0 R: T+ s  Z" @& n7 h0 ~
  1566. ; Use this option with caution.$ h0 m0 w" F- e( S8 @0 o
  1567. ; - User may send URL contains active session ID
    7 m1 l1 w2 W$ m5 P1 F' W6 Z
  1568. ;   to other person via. email/irc/etc.
    ) \+ m- f  t9 w; i
  1569. ; - URL that contains active session ID may be stored: S: J# N- L9 _
  1570. ;   in publicly accessible computer.
    9 s9 e8 J# t; s. ]) g" B
  1571. ; - User may access your site with the same session ID6 u1 o  r/ Q8 I6 a* j+ }
  1572. ;   always using URL stored in browser's history or bookmarks.* H2 i- Y* K3 b( _: i5 e6 p$ T. ^
  1573. ; http://php.net/session.use-trans-sid/ h2 |9 W! S+ C6 a& h6 U
  1574. session.use_trans_sid = 00 K+ P& l: Q, `( I

  1575.   }4 ]! T0 l' T6 m8 |5 j" e
  1576. ; Select a hash function for use in generating session ids.
    : m1 v, g# h& B
  1577. ; Possible Values) H& f- R: X; m/ T, g" \
  1578. ;   0  (MD5 128 bits)
    2 ^/ v- ^+ ^- g! P6 @* K- N) j
  1579. ;   1  (SHA-1 160 bits)* A: [7 X# c+ x) d/ e
  1580. ; This option may also be set to the name of any hash function supported by* Y8 B; F" ]2 Q* a$ `0 M5 \. _- X* d9 z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()$ B7 Y% f' S8 o+ G3 {5 J
  1582. ; function.
    / y9 g0 T: I& d
  1583. ; http://php.net/session.hash-function3 B, X! n' _! {0 _; w
  1584. session.hash_function = 0% F4 B2 B, \! ]6 a
  1585. 9 m% d# F8 S$ d3 u
  1586. ; Define how many bits are stored in each character when converting: A8 z2 e1 }: ~/ {) |
  1587. ; the binary hash data to something readable.1 r1 B' d# v6 R/ m* x2 i$ c* N8 |
  1588. ; Possible values:
    ( R. g& a& @4 q& ]# ~+ o/ e2 l
  1589. ;   4  (4 bits: 0-9, a-f)
      w* m8 s  {9 E
  1590. ;   5  (5 bits: 0-9, a-v)0 c8 ~6 A- W: u
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). f; N6 f; L+ P2 b4 \; b! k
  1592. ; Default Value: 4; H8 d7 O9 C) c! o, \; O! x, y+ r
  1593. ; Development Value: 5
    / m4 O1 r$ `& L# ~1 y; z
  1594. ; Production Value: 5
    5 `/ R: c+ h; d/ d: N
  1595. ; http://php.net/session.hash-bits-per-character
    * O5 V( p( q- n
  1596. session.hash_bits_per_character = 5
    6 |5 F7 s4 U. Z9 P' c* R

  1597. 0 k3 v8 z. @2 _; [/ p% l
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 G$ l) p' h' s0 L2 A# u" u9 o
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ' w8 F0 U0 I% m" Q7 ^$ p6 V6 B
  1600. ; add a hidden <input> field with the info which is otherwise appended
    : [, |) ~% e1 l5 Y$ @+ u+ M
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.: s# W& u' I; ?9 K/ j* l
  1602. ; Note that all valid entries require a "=", even if no value follows.- x/ @6 l3 u3 F; y
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="; J! R( `( c  S
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ Q9 r3 M6 C1 X
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 P: F6 F: P2 ^5 @$ [9 G+ O% j
  1606. ; http://php.net/url-rewriter.tags2 g9 U) n# o6 x4 c
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"$ ]" y% O6 a$ F7 [3 p+ a. D
  1608. . _7 ]1 D$ `& P1 \
  1609. ; Enable upload progress tracking in $_SESSION
    , c" M# s8 G* o5 ^
  1610. ; Default Value: On
    % D1 _/ B& }# R4 G+ |  y/ O, ?
  1611. ; Development Value: On+ V8 A* g/ z+ e! d# j: r
  1612. ; Production Value: On8 y" D4 F9 b- \+ x2 `3 p( L: ^
  1613. ; http://php.net/session.upload-progress.enabled' q& {: G. U9 d3 i- f
  1614. ;session.upload_progress.enabled = On
    + B& q/ W, L  A3 V- V7 f& V% w
  1615. ! E+ H/ g# y, ^9 |3 ]
  1616. ; Cleanup the progress information as soon as all POST data has been read8 C/ z1 x8 q+ u  Z  ^& h  t- j5 E
  1617. ; (i.e. upload completed).
    ( n: ^8 L1 x# l  t' @' b
  1618. ; Default Value: On
    ' t, b- t; V& n+ E
  1619. ; Development Value: On$ ^- K$ b, A8 k& R2 l! e1 ~( H) m
  1620. ; Production Value: On
    : o# K/ B3 X1 k
  1621. ; http://php.net/session.upload-progress.cleanup
    : W; i4 Z# Q% n! J% ]
  1622. ;session.upload_progress.cleanup = On
    7 N4 j4 Q7 T' Q

  1623. 5 O( W1 i6 ~" g& V( ]" Y6 a
  1624. ; A prefix used for the upload progress key in $_SESSION+ C# ^# M9 Z, i2 r4 U! e/ V
  1625. ; Default Value: "upload_progress_"
    ! `8 j/ w; E- q' v5 A; y/ F
  1626. ; Development Value: "upload_progress_"
    $ h  z2 o6 ^( A1 K8 y
  1627. ; Production Value: "upload_progress_"
    ) |- @3 z1 T3 H2 j1 O, N: J) C# n
  1628. ; http://php.net/session.upload-progress.prefix
    & D4 o: l, B) Y  U2 \
  1629. ;session.upload_progress.prefix = "upload_progress_"
    8 R, T. o& @' h7 a$ Q% `) v

  1630. 2 A% `1 e- Z! W0 g# F& n
  1631. ; The index name (concatenated with the prefix) in $_SESSION2 Q* m2 V1 t  d" f  k/ V7 z5 y" [1 O
  1632. ; containing the upload progress information6 Q, `' S. N, o! R. t
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + J$ l/ F4 G' K' X( m
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
      d9 z# k1 w0 B  h
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # ^4 w8 k* s- F& N
  1636. ; http://php.net/session.upload-progress.name
      C; W: e& o7 y- L1 O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( l4 E' h. L/ r0 i  J7 L" T1 y% e
  1638. / p+ t  H7 b# }1 @. f  A8 N& {
  1639. ; How frequently the upload progress should be updated.; w2 o! F) `) |; d! D8 w; V# }
  1640. ; Given either in percentages (per-file), or in bytes( f& E/ f* i4 v: x5 W. s0 }
  1641. ; Default Value: "1%"
    6 q* w; j* a& D
  1642. ; Development Value: "1%"3 `& `$ }/ l. a8 o
  1643. ; Production Value: "1%"
    . x$ b# K. O& {
  1644. ; http://php.net/session.upload-progress.freq
    + M3 `8 s* s# U
  1645. ;session.upload_progress.freq =  "1%"
    8 a5 e  b7 c! O, ?$ S! v( K

  1646. 9 |4 ?  E  x2 @) i7 D% J" a* M
  1647. ; The minimum delay between updates, in seconds' d5 ]/ T' t9 U/ a9 S
  1648. ; Default Value: 1
    7 b9 y; X, i7 F4 ], O8 p
  1649. ; Development Value: 1
    6 o% |; d! {% k
  1650. ; Production Value: 10 L- q  z- [& a2 [
  1651. ; http://php.net/session.upload-progress.min-freq
    + P( D0 f3 p" L! K
  1652. ;session.upload_progress.min_freq = "1"
    7 A8 @- c, W& z

  1653. ) y' r& f& t0 J  E) N, B$ x* h
  1654. [MSSQL]
    7 B' j9 u& w' ~! N- e9 k
  1655. ; Allow or prevent persistent links.
    + t$ E. T. @( Q+ `$ h, V
  1656. mssql.allow_persistent = On
    6 N/ J. B# X9 @

  1657. 6 O9 _! i+ A; H1 v' H% n
  1658. ; Maximum number of persistent links.  -1 means no limit.
    5 R9 q2 ?( q; k% c
  1659. mssql.max_persistent = -1+ t: [: g& i: M, J, Q' b" P6 B3 k
  1660. : E2 F% U9 [) l; ]
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 B+ a- a9 n% V6 Y* M$ g: y
  1662. mssql.max_links = -1
    $ V" W# q9 w  i6 `
  1663. " z1 o6 b, n2 u: T
  1664. ; Minimum error severity to display.
    % e% Z' l* v1 K6 h
  1665. mssql.min_error_severity = 10
    . O4 _6 U1 c2 ]

  1666. / H) R/ K2 I  @- O& I* ~5 m
  1667. ; Minimum message severity to display.6 l* B8 f- r9 M7 l* ~+ a
  1668. mssql.min_message_severity = 10& Z7 |! h3 O* V4 p

  1669. & O7 m" H. s8 [6 |' L
  1670. ; Compatibility mode with old versions of PHP 3.0.# S2 t+ ?5 \8 ?
  1671. mssql.compatibility_mode = Off
    $ {: Z% G( \0 |' j) G6 M, i2 V8 ?

  1672. 6 d. M7 M, P/ T# U. _8 x7 _
  1673. ; Connect timeout" ^: h. O3 n7 N7 z8 j
  1674. ;mssql.connect_timeout = 5$ Z, }8 }; f& C5 u
  1675. & w8 B" m4 }$ H3 |8 u6 `4 @
  1676. ; Query timeout5 j: i& `. G6 r3 Q, S
  1677. ;mssql.timeout = 606 r, d4 O* R( g7 b; y& R" }) _# `

  1678. 5 h8 r8 N) W+ o1 Q! k
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    / |" ?: ^6 U' q' F- r
  1680. ;mssql.textlimit = 4096
    / O+ o$ r* s' A' i1 @

  1681. + a; J% J" T. D& O3 [* ^; V% ]
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    8 L# m# u( n- v+ e, ?+ }6 e: a5 q
  1683. ;mssql.textsize = 4096+ V8 ]$ z, w% X' k4 ]
  1684. . O: E& r+ P, t8 E# q3 ?. F* K7 \% P
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.+ |9 t6 G$ l$ \, f/ A* B
  1686. ;mssql.batchsize = 0
    " P+ W) i/ f  p8 B  T5 A

  1687. * H" g& L( H$ K4 w9 U6 w" Q) [
  1688. ; Specify how datetime and datetim4 columns are returned* m, ^7 Q, |4 G* c' [
  1689. ; On => Returns data converted to SQL server settings2 W' E2 F8 M( c% t' s) q  R% n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    1 f" K) Z) e+ j2 I0 n5 W
  1691. ;mssql.datetimeconvert = On
    % `, W: e1 r$ \7 d/ K7 O

  1692. ! q4 H" t$ p! `
  1693. ; Use NT authentication when connecting to the server2 E2 j$ \/ V1 k5 e5 i( V+ M
  1694. mssql.secure_connection = Off) F8 ]: S; d0 i! W5 e8 c

  1695. + R$ Z3 k( l( [" p- H+ N
  1696. ; Specify max number of processes. -1 = library default4 t. {2 E3 r" B+ i
  1697. ; msdlib defaults to 25
    " g7 m9 A  i1 ^1 r
  1698. ; FreeTDS defaults to 4096
    & {0 T1 z9 h) X1 b5 n7 m
  1699. ;mssql.max_procs = -18 j" C4 t3 e* R

  1700. 6 Y' @& F4 [/ i: d+ j0 a4 l, j
  1701. ; Specify client character set.2 p2 e1 Y: I9 b+ G4 ?
  1702. ; If empty or not set the client charset from freetds.conf is used
    , _' H4 T4 g$ f; |% V1 o! y. G: o
  1703. ; This is only used when compiled with FreeTDS/ m8 t. _# {4 E/ }4 J* s8 a$ z1 X
  1704. ;mssql.charset = "ISO-8859-1"
    ) ~* n# k% u; I9 W. u( F( R

  1705. $ G1 R9 T: g' ~+ y4 y6 ^" p* I
  1706. [Assertion]& T6 q+ R1 R* E( }+ B9 [3 [' ]
  1707. ; Assert(expr); active by default.
    : g/ g& R9 _" s/ a. m( C" v: W
  1708. ; http://php.net/assert.active" Q' m" q8 m5 {- q2 s! D  _& Q
  1709. ;assert.active = On! o, w9 l+ j% B$ A( N) z( _! }

  1710. % n( w& y( e) n9 U! Z; ^
  1711. ; Issue a PHP warning for each failed assertion." i6 x. x' z6 B! R1 m+ T
  1712. ; http://php.net/assert.warning
    + e; }6 W3 {: @5 w# L
  1713. ;assert.warning = On
    3 q2 \0 F# l- S
  1714. 0 X! u& {+ q. R  U5 i
  1715. ; Don't bail out by default.
    8 e8 i/ O8 \* {3 E) s
  1716. ; http://php.net/assert.bail1 t% t' m' p4 k$ H3 c% E) x
  1717. ;assert.bail = Off
    & b3 S, y/ C$ E9 o& M
  1718. ; O( ~  m/ i/ {# R
  1719. ; User-function to be called if an assertion fails., J+ N8 X8 t  J4 }
  1720. ; http://php.net/assert.callback
    , E3 b, V# @  M$ w! X
  1721. ;assert.callback = 0, |# Q( y; t0 U2 @5 a9 Z  S0 Z

  1722. 1 Q3 A; J( }; P( m
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    8 N: M/ y: B" O1 r$ N$ R+ `( o
  1724. ; error_reporting(0) around the eval().  I9 s$ |0 Y5 }, x
  1725. ; http://php.net/assert.quiet-eval  w. J: s; C, R/ M: l1 M
  1726. ;assert.quiet_eval = 04 J3 J8 A; m% }# Z1 k

  1727. 4 {8 c' G3 m" }9 i
  1728. [COM]5 }& W3 k4 V: K0 J7 J; Z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) s( K5 m8 B4 h+ k0 W6 N
  1730. ; http://php.net/com.typelib-file, R8 y8 T6 G( x
  1731. ;com.typelib_file =! {' d& W& m( W! y) ]

  1732. % Q7 f& M% @& f. Y1 C. ?' a
  1733. ; allow Distributed-COM calls3 X/ d' p& o8 k+ u6 p
  1734. ; http://php.net/com.allow-dcom$ b1 x* p  r! ^) ^
  1735. ;com.allow_dcom = true
    * X7 R  {; Q; t- r% ]
  1736. 9 C% N+ D% F* ]8 l4 u
  1737. ; autoregister constants of a components typlib on com_load()
    9 P  ^4 j) E: @5 z+ O% [& J
  1738. ; http://php.net/com.autoregister-typelib
    , O, `/ u4 @# r8 f3 \: t
  1739. ;com.autoregister_typelib = true& G9 t6 |( j  Z$ U& Z

  1740. # O/ s" g  s2 X( A8 |/ a% H) M! S
  1741. ; register constants casesensitive
    * w: \- y3 n/ X- Z, {6 `2 o
  1742. ; http://php.net/com.autoregister-casesensitive
    . d+ Z: P: V+ W2 A. P7 e
  1743. ;com.autoregister_casesensitive = false: R& ?5 x4 _: n2 k  l& R1 b
  1744. * s4 o# v* X; W  X- x* _" }% B
  1745. ; show warnings on duplicate constant registrations8 o' D& p8 A0 D$ {
  1746. ; http://php.net/com.autoregister-verbose8 p/ |( r( A0 Q( {2 U
  1747. ;com.autoregister_verbose = true
    * }* o( N( h7 _

  1748. 3 b$ r  I8 g& m4 ]' n$ X
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 W5 M3 m3 G$ u  Y; k+ y8 S0 m( Z9 g# I
  1750. ; Default: system ANSI code page
    3 G+ R2 ~- K( D+ m- }8 m# r$ Q
  1751. ;com.code_page=4 {6 t- K: c$ d9 Z$ b
  1752. * R6 `/ I/ f9 D  x' C- b
  1753. [mbstring]9 r/ S' ~' L# t# @$ J6 P+ I
  1754. ; language for internal character representation.
    4 \/ z1 \  \9 ~2 M
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.+ G" Y% o: h" w
  1756. ; http://php.net/mbstring.language
    0 j+ P! l) R( O- p' e
  1757. ;mbstring.language = Japanese
    $ G+ Y3 }, |3 N7 W/ n* D

  1758. ( B: Y* K6 D# X1 H0 O
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ l9 P2 ?/ c0 T0 N$ Z
  1760. ; internal/script encoding.. c+ C3 `6 s" t7 f+ l. y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    0 Q3 n2 R8 c5 g7 X& s, t* x
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! N4 H( A; v  ~6 q! T
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ z2 `% m+ {" c: ^
  1764. ;mbstring.internal_encoding =
    ) n! J" C) _0 Z+ {$ i9 R
  1765. 5 N7 x3 S9 o$ K4 K. @" K9 o0 h
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( J% e, ?! Y* K2 y
  1767. ; http input encoding.  j3 U. m4 Z: f6 j
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 v# P: Z6 S$ N. j, h
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    % ?* p9 `% n2 ^. E! J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 R7 e; R% ~4 a3 s! A
  1771. ; http://php.net/mbstring.http-input1 U& X1 A+ ^- Q9 p/ o
  1772. ;mbstring.http_input =2 [8 }& m! y9 n! a& k# U% U

  1773. % O  G4 V  S& s8 i5 N  ?
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - N! ^( [9 [' a- g6 f8 j: A
  1775. ; http output encoding.
    6 f" R) v* X" `' b/ i4 v
  1776. ; mb_output_handler must be registered as output buffer to function.
    4 X& ~1 {7 N' O5 J/ L$ d5 }
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; A# D0 `, Y& P1 R/ I2 {
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output" ]$ ]0 B$ M3 ~: o( m
  1779. ; To use an output encoding conversion, mbstring's output handler must be set+ H8 S2 M% U3 ~  o
  1780. ; otherwise output encoding conversion cannot be performed.
    5 F- w# p+ n8 X5 G
  1781. ; http://php.net/mbstring.http-output
    & s, X; K/ i: a. O$ Y" x3 d
  1782. ;mbstring.http_output =) |; r- T9 j6 m- [- [  z4 Q

  1783. : R3 D  m( E- g- r, E. Y" e/ p
  1784. ; enable automatic encoding translation according to5 P3 }* F& x; Z* O
  1785. ; mbstring.internal_encoding setting. Input chars are  ]9 K. A$ Q$ C/ w, h
  1786. ; converted to internal encoding by setting this to On.+ w5 \, F% L/ V7 N' Q9 b
  1787. ; Note: Do _not_ use automatic encoding translation for
    / Z+ v$ \7 h4 I, V# F7 K) y
  1788. ;       portable libs/applications.  G$ \9 v; n; _
  1789. ; http://php.net/mbstring.encoding-translation
    , \3 Q3 |( W: H  P. z) _7 b/ K+ [
  1790. ;mbstring.encoding_translation = Off
    6 v; n( l: ?+ G/ K

  1791. 9 c+ O# A4 t3 C2 d
  1792. ; automatic encoding detection order.2 b) ^9 C& ~+ T( u
  1793. ; "auto" detect order is changed according to mbstring.language
    ! v8 Y5 X' [6 H% h. i; z
  1794. ; http://php.net/mbstring.detect-order" z& n7 T% s; @% F/ v
  1795. ;mbstring.detect_order = auto
      {, ?% B% V/ _5 v& v
  1796. - A+ h- J9 k5 t6 [+ F3 k5 Z
  1797. ; substitute_character used when character cannot be converted
    ! H' S" O. B/ l* ^9 U8 ~
  1798. ; one from another
    % b. \: p  k* s- }
  1799. ; http://php.net/mbstring.substitute-character! r) z3 \# V! d+ f+ E) d6 x, S: v
  1800. ;mbstring.substitute_character = none
    : b( N5 a/ Q# h" e6 T9 j% @

  1801. 3 t0 p7 I5 j( k) Z
  1802. ; overload(replace) single byte functions by mbstring functions.. N( X) C9 M8 R' Q! I- J
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),. q/ w  X6 h, j8 M
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.7 |# f+ j2 Y; \+ b* i3 @0 e9 |  _* Y; @0 Q) D
  1805. ; For example, 7 for overload everything.3 F+ h4 k7 e0 B& z4 @
  1806. ; 0: No overload
    ' V, ?3 L3 Q  t5 C: Z* T5 z2 j& q
  1807. ; 1: Overload mail() function
    & I9 E$ a. r% _6 |; H
  1808. ; 2: Overload str*() functions: o$ {: ?2 K/ d0 \
  1809. ; 4: Overload ereg*() functions$ ~/ U1 A) d% P
  1810. ; http://php.net/mbstring.func-overload$ j! f5 }! T6 E) L
  1811. ;mbstring.func_overload = 0; w/ f$ k. r# N3 d3 r: b, {' A6 w

  1812. 6 n" W# _: E5 G+ m2 h' M* W1 x
  1813. ; enable strict encoding detection.
    ) Y5 P; k9 V+ Y1 [. O+ C
  1814. ; Default: Off5 {9 j! l* v, l
  1815. ;mbstring.strict_detection = On( @9 N: l2 S! `) u6 Q

  1816. 1 D8 Q* R3 `' J5 Y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 F7 j& s; ?! b6 b
  1818. ; is activated.
    6 ^% O5 V/ v( ?5 [0 p, A
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( U1 z; M7 n* u, [: ?: V) S: m
  1820. ;mbstring.http_output_conv_mimetype=
    . c: i2 q9 G  b$ K0 Y4 x4 m0 L

  1821. 2 Q# }+ a9 r4 i
  1822. [gd]
    & y* k0 W/ K5 a3 r% k3 l& E
  1823. ; Tell the jpeg decode to ignore warnings and try to create4 c5 ]' i  S. a) P. K
  1824. ; a gd image. The warning will then be displayed as notices& o0 T4 J+ U% e" V: @, r
  1825. ; disabled by default
    / \: }, ?9 S; u! z- [) _0 l( V( O
  1826. ; http://php.net/gd.jpeg-ignore-warning( |3 A1 ^, N" @9 d3 J4 V) W* J
  1827. ;gd.jpeg_ignore_warning = 04 u# t0 [2 c2 K8 }
  1828. : \6 V8 K" L: n" }* Q2 V; M! ^4 m+ Z
  1829. [exif]
    8 j6 N( R$ l6 s
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & ^+ m( B% q2 U, C5 `
  1831. ; With mbstring support this will automatically be converted into the encoding( W: m5 M: C0 P# S7 c# j- i0 z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 V6 Q8 x( w8 p+ r: o! E
  1833. ; is used. For the decode settings you can distinguish between motorola and2 |# M9 `3 u6 y) D1 E
  1834. ; intel byte order. A decode setting cannot be empty.
    4 S- B; m( Q/ I+ p  j! S+ C
  1835. ; http://php.net/exif.encode-unicode5 x2 E' Q4 V& y: m0 S4 z
  1836. ;exif.encode_unicode = ISO-8859-15
    - B3 b* h3 ]9 _
  1837. 7 g9 _5 L7 R+ w$ u
  1838. ; http://php.net/exif.decode-unicode-motorola
    " x! d+ @! g9 y/ a% J
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ; j9 I; d& U* _! Y' F; Q9 g
  1840. ! o" x* p' C0 f: e
  1841. ; http://php.net/exif.decode-unicode-intel& o0 d3 g1 A' q
  1842. ;exif.decode_unicode_intel    = UCS-2LE: x9 ]# Z2 |3 [4 n6 y: _) t9 j8 P+ [
  1843. & R- {8 z/ q6 k- y, o$ \
  1844. ; http://php.net/exif.encode-jis
    , a" M* ~% h; T4 y& M7 a- j- c
  1845. ;exif.encode_jis =- w. M5 b+ R3 B

  1846. 2 H& A. ]1 F$ I9 j
  1847. ; http://php.net/exif.decode-jis-motorola
    3 b& w8 V. u8 p3 Q9 T/ m
  1848. ;exif.decode_jis_motorola = JIS
    4 y  a: k' x9 J( R- a

  1849. 9 Q: d; D& G- w3 M4 p+ d3 R; K; s
  1850. ; http://php.net/exif.decode-jis-intel
    % ?, G, a) D% P% r; L' M
  1851. ;exif.decode_jis_intel    = JIS7 m9 U$ U; {" `- m, z

  1852. 0 [% s7 H; A+ j- k
  1853. [Tidy]7 `1 E: e  o% w7 z( h5 F
  1854. ; The path to a default tidy configuration file to use when using tidy
    : j* w: d% G; K, r2 s. q4 {. }5 l
  1855. ; http://php.net/tidy.default-config% P/ b' ~% S1 ~" s* B: F6 K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg2 P5 k! C9 V* ?
  1857. 2 w. `5 U  b* ]% h- `0 m% ^
  1858. ; Should tidy clean and repair output automatically?2 z$ v% W4 P$ a$ H7 O) g( |# P* y
  1859. ; WARNING: Do not use this option if you are generating non-html content
    , I: w* \/ D  x5 n) \( p/ m5 j3 n
  1860. ; such as dynamic images% ~: b# m1 I  a$ u8 y
  1861. ; http://php.net/tidy.clean-output
    7 [- C9 f- |' C" G  G
  1862. tidy.clean_output = Off
    % G" r8 ]; i1 C1 k3 D$ l/ c5 F! X
  1863. ! [* V) e1 c6 M
  1864. [soap]
    ' C8 ?) o5 T9 h6 F
  1865. ; Enables or disables WSDL caching feature.
    , l# t4 r- ^0 n, D. g* s
  1866. ; http://php.net/soap.wsdl-cache-enabled- D; k1 k  ]2 w+ i. L5 w
  1867. soap.wsdl_cache_enabled=12 T* P, ^8 H, h

  1868. ( X' i$ C+ ~; Q
  1869. ; Sets the directory name where SOAP extension will put cache files.
    , G; j+ X1 |4 l
  1870. ; http://php.net/soap.wsdl-cache-dir  L5 U# D6 Y) E
  1871. soap.wsdl_cache_dir="/tmp"6 H8 ~2 X3 x5 b- |4 z

  1872. & m$ x; \  H8 E& j
  1873. ; (time to live) Sets the number of second while cached file will be used
    7 w2 _/ Q$ x0 _; v/ S/ w  f! ^- |7 D( I! q
  1874. ; instead of original one.6 L" n! K8 A% |& e0 K
  1875. ; http://php.net/soap.wsdl-cache-ttl6 y3 Y+ \" ^& ^# a% p
  1876. soap.wsdl_cache_ttl=86400
    6 n* N! r7 Q7 }, }
  1877. 2 a- ]- M) G4 {' m1 q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache), _$ V4 g3 E( j, i
  1879. soap.wsdl_cache_limit = 5
    & E, ^9 t3 R0 F0 ]0 `' x
  1880. % ^. u; a2 L  f* V* ^( b1 \7 E
  1881. [sysvshm]4 E6 E; a' G/ |, a
  1882. ; A default size of the shared memory segment
      j/ _) ~' j; E% u) X
  1883. ;sysvshm.init_mem = 10000
    1 y6 j1 X, H; d2 _

  1884. 0 m( t: O0 Q. K# w! }8 t! v2 y
  1885. [ldap]
    - q6 m2 j1 R6 u" \9 d  G/ a1 g
  1886. ; Sets the maximum number of open links or -1 for unlimited.$ r1 Q2 g: V" _# e: ]: R
  1887. ldap.max_links = -15 i4 u$ x2 M5 Z6 V  g% K

  1888. 7 U, v$ p: b% O# S
  1889. [mcrypt]2 Y8 @; G2 p% ~+ a, P
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' E! `! n9 B; `+ F* \& @' O
  1891. 1 j, G& B' u% t7 l2 e
  1892. ; Directory where to load mcrypt algorithms
    9 P2 J( @0 i+ B% F; a5 w' L
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - U. X9 r; ?# E. B
  1894. ;mcrypt.algorithms_dir=( x# w5 p$ B/ L7 U3 I

  1895. " ?! O& q. h% U# ?( S8 X! c
  1896. ; Directory where to load mcrypt modes. Q  T* }& A/ k6 B, A% B& h* j, N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 g, J) O. _! A1 L, c9 F
  1898. ;mcrypt.modes_dir=% U' T0 F: o$ m

  1899. 9 h8 v" H9 z% ?
  1900. [dba]& @$ v. ?1 M5 Q
  1901. ;dba.default_handler=
    : N, f! \1 j' P& t- @% W
  1902. ! A1 u! A1 @6 ^1 l: r" d
  1903. [opcache]
    ; k6 t& |0 |8 V: `4 m
  1904. ; Determines if Zend OPCache is enabled. {2 C- l3 M+ n* x' K" y
  1905. ;opcache.enable=0
    ; W6 D" m/ h" V1 x

  1906. 2 Y9 [" o% M7 Y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP( t6 j* M. y3 a" [' g
  1908. ;opcache.enable_cli=0
    5 }5 f" `7 a0 n7 T" Q% {/ ~3 w* |
  1909. 1 j8 o6 w; g0 R' H* p4 U# Z! L
  1910. ; The OPcache shared memory storage size.
    5 X. G4 d2 `! j& y! {' }
  1911. ;opcache.memory_consumption=64
    ( Q9 Y) v6 h. P) k) h, V

  1912. % h* m9 p$ e) ?: W3 z
  1913. ; The amount of memory for interned strings in Mbytes.
    * x0 V' j1 J4 a% P
  1914. ;opcache.interned_strings_buffer=4' ^$ [0 q8 ?$ a* p' Z* O
  1915. & y) m8 p3 t% j+ M, W7 l. {
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.; p* v+ }+ ^' h: K* n
  1917. ; Only numbers between 200 and 100000 are allowed.
      s8 r7 b, b6 }3 d$ N
  1918. ;opcache.max_accelerated_files=2000
    + f  b9 X, L1 V% O8 `' t

  1919. % f' ]6 Q; b0 M1 [$ s3 c  N
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 [4 k! J2 r4 L: t5 N5 Y
  1921. ;opcache.max_wasted_percentage=5
    6 y5 L! I4 [; r" R- ]! W/ ^, t) Y
  1922. * Y$ V/ ?0 G- b3 M: E! C. y
  1923. ; When this directive is enabled, the OPcache appends the current working
    & T8 H* L# P- A
  1924. ; directory to the script key, thus eliminating possible collisions between; q( E2 `5 ~1 {$ \& m2 B) M& e
  1925. ; files with the same name (basename). Disabling the directive improves0 C+ V% \, T: X+ ~* h+ W  M- N
  1926. ; performance, but may break existing applications.
    % ]! a7 ?& }" {( u
  1927. ;opcache.use_cwd=1" e; A/ l' B! q9 Q! y* r  e# a

  1928. / y+ j( K  ?! G: j: N) R2 s
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , Y- y# C5 s7 J  `
  1930. ; webserver for changes to the filesystem to take effect.
      N; e7 l3 y6 m+ L
  1931. ;opcache.validate_timestamps=1. f$ |/ h3 o1 N
  1932. ! g- m$ Z7 n8 \5 `+ d
  1933. ; How often (in seconds) to check file timestamps for changes to the shared$ Q5 _, c0 c. `2 S1 R$ {* F3 X
  1934. ; memory storage allocation. ("1" means validate once per second, but only; u/ x+ x* g2 S, f
  1935. ; once per request. "0" means always validate)2 h2 O4 b0 S; s
  1936. ;opcache.revalidate_freq=2
    # e. e3 s0 w' ?: \3 k6 y8 J) }
  1937. 8 S2 R) j4 h- u# I- U; F, l
  1938. ; Enables or disables file search in include_path optimization
    % e# r" ~% d6 l; j( K
  1939. ;opcache.revalidate_path=0
    1 S9 Y; k" X7 r) z* l
  1940. ; Y  x3 Q# u' m/ a* h
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 ?0 x& N; \( _% t3 v' I2 {
  1942. ; size of the optimized code.) D* ]* ?6 S  X% V& k% E
  1943. ;opcache.save_comments=1
    - Y# e8 m3 a) Q0 _; D
  1944. , [( [( h; S( d0 K2 Y
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    " r( Q! r, P  z6 z& |* W$ b1 d
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    , Z! x( ]0 P  a1 _. E
  1947. ; that don't need them anyway.
    " P) I4 N- i9 W+ O. i7 o9 q8 _6 I
  1948. ;opcache.load_comments=1
    % M9 V! X7 F6 E3 P% p" z* C+ V

  1949. ) }5 ]5 ^# r$ m0 Q- U; l9 ~
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # D8 d" S, ~3 S# }' f
  1951. ;opcache.fast_shutdown=0/ C' r& K9 y! Q+ N& d7 j

  1952. 6 D: S- h- o" G) Y" c0 M
  1953. ; Allow file existence override (file_exists, etc.) performance feature.$ K" J* `5 V( v! x0 _
  1954. ;opcache.enable_file_override=0
    $ W' x4 m' A1 x! |# I+ h  a3 T
  1955. * x! F; r) r$ v7 ]
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache; F! N7 V0 }3 b: I5 y. Z; T
  1957. ; passes
    0 }6 A8 o5 m: q* {& [9 K
  1958. ;opcache.optimization_level=0xffffffff
    / b/ ]- _( B& W% @3 y2 j/ n
  1959. 3 ^( A3 i( Z7 w( }# v( z7 C9 }
  1960. ;opcache.inherited_hack=1. a% y' V6 X+ h; m, q
  1961. ;opcache.dups_fix=0
    ! F# a! }! b$ }( z0 t. ]- {

  1962. 4 I( f( F2 w# g
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " N" j4 y5 q8 e6 B
  1964. ; Each OPcache blacklist file is a text file that holds the names of files; B9 K1 Y9 w7 z
  1965. ; that should not be accelerated. The file format is to add each filename
    0 F" a4 u3 w. c' ]: Y/ T0 Y
  1966. ; to a new line. The filename may be a full path or just a file prefix7 j" \! f, c4 {' M7 e+ h
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www: {" G3 f  `3 O$ z2 _0 k
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    2 J) B0 B" f2 [& X1 k
  1969. ;opcache.blacklist_filename=
    5 y8 j/ Z3 Z5 [( }; f( W
  1970. / u7 h9 }* F" P3 a5 R' J4 j
  1971. ; Allows exclusion of large files from being cached. By default all files
    0 u" S8 j# J) k/ C/ o
  1972. ; are cached.- y" v( A5 s2 P2 w9 Z! \
  1973. ;opcache.max_file_size=0/ y' R% e6 J+ X. Z  M: f+ `6 Z
  1974. & k8 S" ]4 }3 M9 d$ I8 }7 C4 v
  1975. ; Check the cache checksum each N requests.
    0 k9 Y, I7 k4 F) k) t( L. g  Q( U
  1976. ; The default value of "0" means that the checks are disabled.
    4 F  Y- ~0 s. i
  1977. ;opcache.consistency_checks=0
    * t! T7 N6 F8 x

  1978. " i  p2 o$ l' S- f$ P5 N7 K3 w
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, t" h/ I2 f" l: {! k. O& b% ~
  1980. ; is not being accessed.
    1 Q4 `0 h5 H2 n; y0 A$ x
  1981. ;opcache.force_restart_timeout=180
    ! d6 |/ P' Z& M" q2 P  M# w. E0 R

  1982. 6 S% u& j$ Q, S4 r0 x
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    : T. M, X7 d9 i6 k
  1984. ;opcache.error_log=
    2 F# `! V9 e# O+ d
  1985. 9 U- h- \0 u2 |  v6 U4 ]% [6 }2 q
  1986. ; All OPcache errors go to the Web server log.: `+ g. Q5 r+ m
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 \$ E& ]! w" i+ p3 l$ E( {
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    4 c  ]- m9 m! h& p. B8 l* a
  1989. ; debug messages (level 4).. ?! O# a0 t- m$ B2 e
  1990. ;opcache.log_verbosity_level=1
    ; D  |& ?! n+ b

  1991. $ Q- |! h$ f- W: \* h% V
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide., Y0 R- @. ~4 W3 b2 ~
  1993. ;opcache.preferred_memory_model=
      S% ^& S) b' p' f2 w# F2 [

  1994. 7 A$ V+ }- m- }; N/ M
  1995. ; Protect the shared memory from unexpected writing during script execution.
    & \/ o' E" T# V: ~! t6 i
  1996. ; Useful for internal debugging only.2 h, P8 @5 Y/ t" L$ A6 H$ M7 b. ~- J
  1997. ;opcache.protect_memory=0, r- \# ^+ Q) y, }  R' J. d+ S

  1998. 3 e) f8 y; J1 X' f* q0 k$ J
  1999. ; Validate cached file permissions.9 ^: L2 U5 v6 V! b% E) O: \! H/ D
  2000. ; opcache.validate_permission=0# s0 E/ l5 v) k! z6 q  t+ b

  2001. . |7 k9 Q5 x1 J& A1 J5 C- d6 t9 ~
  2002. ; Prevent name collisions in chroot'ed environment.' t6 n) {5 x+ k& v3 g
  2003. ; opcache.validate_root=0) d( R4 p; d0 ?0 ?, o1 ^8 ?; K8 y

  2004. + U0 g% v/ d0 C$ o+ Z
  2005. [curl]0 H, [% r8 g% m* E6 n; i
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an# r$ [0 Z, k  s+ p% L
  2007. ; absolute path.% F; i' {  s) h9 b0 i
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 T& Y+ F3 }) r& e) C

  2009. * h3 A0 w* Q% {. z# ?% `! o& h
  2010. [openssl]0 a/ m# Y9 ]- ]3 u1 q" Y5 E
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem$ m/ j; X6 B( O$ [
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      k, A6 h" M. P9 E. F& |- `
  2013. ; not specify a value for this directive as PHP will attempt to use the
    1 w( z: K, c% r; E& C. ~8 k" K
  2014. ; OS-managed cert stores in its absence. If specified, this value may still/ ?( E* \/ i4 x& A+ d% Q
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 K! _( B7 `+ r* M% A+ q6 [
  2016. ; option.
    ' @0 R( u  m" Q2 H4 D8 h- V0 G; n
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 h( U5 H, F& o

  2018. 1 x/ A2 U# m4 R0 p
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    $ _1 h4 j3 b7 p  g5 W, y1 z
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    & h. h2 U1 `% E' O& L
  2021. ; certificate. This value must be a correctly hashed certificate directory.& v" g9 M7 Y# y! [# e2 F5 ]: m( O$ q
  2022. ; Most users should not specify a value for this directive as PHP will
    6 {, c. R: d  g; n5 P9 T) o% A3 r
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
      s8 I* Z7 j/ |8 _0 K
  2024. ; this value may still be overridden on a per-stream basis via the "capath"  I9 @' D# E% I7 n& M: s# e
  2025. ; SSL stream context option.: I0 d$ f! ]- Q# K
  2026. ;openssl.capath=% A- `& M1 c5 \
  2027. ' {5 {8 N+ q+ _7 T* u
  2028. ; Local Variables:
    ; ]5 P% n: [' E
  2029. ; tab-width: 4, \$ M8 e& B$ O& a% I- F3 T
  2030. ; End:
    . k8 F3 d, j5 |4 t$ t

  2031. 8 x4 {5 |) B5 U+ q6 [4 z
  2032. ;eaccelerator
    ) B5 A( u# C0 F

  2033. , L- R, W% c, w+ J
  2034. ;ionCube8 C" P/ U& @6 S* g0 b2 O9 E
  2035. & G# J9 w$ N! l* P+ I& O& b
  2036. ;opcache
    0 U2 S% c; A. p' k; z0 t

  2037. 1 Q4 l' j+ q- x6 s- ^) ^
  2038. [Zend ZendGuard Loader]0 G/ {1 n) v8 x* j
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so5 v( u7 S* H3 w6 q
  2040. zend_loader.enable=1
    5 s6 i' G7 I: T0 T1 K4 f) i
  2041. zend_loader.disable_licensing=0
    & n+ b) t- v' D
  2042. zend_loader.obfuscation_level_support=3
    " o! W3 _  Z; ~3 |. @# q
  2043. zend_loader.license_path=
    & R' ]7 Y4 w4 y
  2044. + I) X7 X! X( f# _
  2045. ;xcache2 k# D# j: L" B1 @. o* b" [2 Q9 w# u

  2046. 5 S5 x3 T: L, o7 U! |; R
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
& j) U2 y4 J5 d7 O( P. F# k0 [
) g/ c3 W) u  F( n9 w; t
$ G" @" _, N$ T) ?/ C8 aDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
7 v3 [- g4 {& ~" y6 K  {) S' c9 t) P, Z( G( x8 J
Discuz!程序版本选择:
5 W3 r- E$ h7 h. T2 [7 f6 [; f' @站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
* V5 [* x# a! f6 b! W( z' J不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
# Q: ^& |) [; nDiscuz!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。
: L5 O% k3 f2 Z" m6 P) ~* t' G/ F( S7 q# u2 K0 N  }
Discuz!插件模板版本选择:
8 O% B( \/ P  N% u& k+ ~( j; O3 F6 e很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,/ u; J. S1 D+ Z3 ?, J( B: [8 B
针对这个问题做个统一的普及:
/ K* Z" \+ u+ U5 l( XX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。, ~6 [& t: A2 c: w% i# b9 c( [
7 E& j# q0 b- _, R$ F( l+ c# R* @
所以
$ l/ L9 {3 Y1 r1 i$ L适合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的二级域名。
8 m; l& p2 F# w0 A打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
2 N: r( q( M$ t注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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