分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 w+ p! ~0 `1 X, [  C5 ^/ e
6 u7 m- q( i6 r  G5 A; n; O
  1. [PHP]# V7 O) T! Z0 {: c* |, z- D
  2. ) F7 q* f( ?" O
  3. ;;;;;;;;;;;;;;;;;;;
    " T/ V& k/ O$ E9 ?
  4. ; About php.ini   ;; z' [: c* t/ t) ?3 {* Z
  5. ;;;;;;;;;;;;;;;;;;;
    1 k6 d' M6 L- g, `# L2 K, E
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 k, D/ ~8 S% t, E
  7. ; configuring many of the aspects of PHP's behavior.
    $ U; z& ?0 D2 _0 n

  8. 6 @# P9 z4 Q, N2 {% ~9 N3 w7 }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    7 v0 ~3 N, L! L. s2 F+ r8 X9 W
  10. ; The following is a summary of its search order:( f9 z5 i' W! t) R2 D
  11. ; 1. SAPI module specific location.
    9 r; y3 ?- X5 W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ N$ O3 W0 C( f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0). o3 T7 Q" a! X. D7 J! [& y: f. f. J
  14. ; 4. Current working directory (except CLI)
    $ \7 k/ @4 J9 O. K! h" n
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * a6 ]# V4 Y& k
  16. ; (otherwise in Windows)* M' C$ F8 y1 _5 M9 e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 K4 K8 J- I# Q4 G7 Y8 O9 O5 \+ p
  18. ; Windows directory (C:\windows or C:\winnt)
    4 U( J2 M) @! M( T$ B9 S
  19. ; See the PHP docs for more specific information.9 ^2 ~! u* l1 }1 T( E
  20. ; http://php.net/configuration.file( N. J! I0 N0 w& @1 E# K! I$ j
  21. / _0 v; P* y* y; @. ^
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    # R: ^. |0 D. v( F$ _
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 A: ?6 }8 F8 u
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though! `2 g7 f7 R! K
  25. ; they might mean something in the future.
    ) T8 l( p) k4 @' d* n
  26. & t6 o# s9 y. Y3 S9 Y4 L' Z
  27. ; Directives following the section heading [PATH=/www/mysite] only1 [- X0 T* K6 q0 i# L8 q& f) {
  28. ; apply to PHP files in the /www/mysite directory.  Directives" H  q$ v" o: J. J6 e) z% a+ {
  29. ; following the section heading [HOST=www.example.com] only apply to
    / J( W, V+ _7 |9 d& r4 Z2 e! h
  30. ; PHP files served from www.example.com.  Directives set in these
      Z  G1 X  e$ R
  31. ; special sections cannot be overridden by user-defined INI files or
    6 s0 C: G5 r9 D6 B& D/ _8 Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% `' N7 ]% ~7 z5 C9 p, }' K
  33. ; CGI/FastCGI.
    ; W3 v. \( y) p7 n7 ~3 [
  34. ; http://php.net/ini.sections
    ' y/ T- T) e8 r- A; R

  35. ; M3 T/ g3 o6 J9 v
  36. ; Directives are specified using the following syntax:" A$ \3 C" ?' ?$ V5 v. |9 i" e2 u; d
  37. ; directive = value8 h- Q- _/ D' |. G2 e8 Q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    8 |# _' K; _- i  ^& `. R/ T1 P" U
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( R/ W4 }. S6 W* J  T' D
  40. ; There is no name validation.  If PHP can't find an expected
    7 J% z1 h& W6 f* {. h& T& O, B
  41. ; directive because it is not set or is mistyped, a default value will be used.6 t5 h- A8 O& Y, t- P
  42. , [/ w( X+ r! t$ J3 {9 w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 ^% w1 W. u- y  t! I, P  _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + c/ U4 Y9 B% U7 E! B9 h$ t0 O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 ~; E9 t, K: `, d
  46. ; previously set variable or directive (e.g. ${foo})
      W) \; L! ]3 C& n

  47. * i- W, N$ k' v* E7 ?+ g! ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / X2 B2 H& v" H% S& g2 H
  49. ; |  bitwise OR8 `" w* L4 L( j1 `. U  F" d" v
  50. ; ^  bitwise XOR
    ; t" g$ `  u* X+ i( s  p. ?- u/ g
  51. ; &  bitwise AND& F$ A: |  d- _7 I& E! g
  52. ; ~  bitwise NOT& t/ S5 D0 I0 w8 }; T" D2 Q
  53. ; !  boolean NOT- Y4 k0 W8 x8 D' |; z- R

  54. 7 D& Q* c, `* _' g  T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' G& E0 K5 N0 N2 V% a8 h
  56. ; They can be turned off using the values 0, Off, False or No.
    . R3 P1 _3 Q+ v; y6 X0 M
  57. # T/ g: L% ?( O1 P2 x, e
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! h' K$ `4 Y" E2 \9 H( A7 D4 {
  59. ; sign, or by using the None keyword:1 K% P2 f( a6 D5 X$ M+ x
  60. ; e; ^* R9 u+ g
  61. ;  foo =         ; sets foo to an empty string
    2 V8 d2 H; q0 Z. v" W: W! w: P0 p
  62. ;  foo = None    ; sets foo to an empty string2 e# |: ~2 K! J2 d- D7 ?
  63. ;  foo = "None"  ; sets foo to the string 'None'
    " O5 e$ |" t1 J- X* T/ L6 J

  64. 7 a( O0 z2 M5 s  l- V# W( T
  65. ; If you use constants in your value, and these constants belong to a8 {: w4 I& j# n1 w) W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 {+ ^2 ^4 R3 H, E3 V
  67. ; you may only use these constants *after* the line that loads the extension.
    ! @6 H; F' s7 Z+ k5 m$ Y$ z
  68. ( A4 \0 D/ p- {3 T! N- [- H
  69. ;;;;;;;;;;;;;;;;;;;
    ! c0 ^& n6 ^1 z; Y7 ~* N
  70. ; About this file ;
    # z3 \! O+ ^1 Y  r. P7 N
  71. ;;;;;;;;;;;;;;;;;;;8 ~/ i# z8 Q1 \* D' @4 J3 Q) D- P, k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . P' ~7 l  j; Z$ _$ q
  73. ; in production environments and one that is recommended to be used in
    0 T  [4 R$ h' [6 H5 @6 a
  74. ; development environments.
    5 l5 i, x5 Q/ _( Q  }: |
  75. ; V' v# }/ [6 \; a, c
  76. ; php.ini-production contains settings which hold security, performance and
    : X7 t) q: P7 P( i) A+ q' g
  77. ; best practices at its core. But please be aware, these settings may break
    - h4 I# s" B- t/ t  y" v
  78. ; compatibility with older or less security conscience applications. We
    ' V/ r8 A" S" L. h
  79. ; recommending using the production ini in production and testing environments.
    + c) Y+ d. m4 V  N" C. O. A$ J

  80. & U9 A/ z& Y. {* |
  81. ; php.ini-development is very similar to its production variant, except it is
    4 y4 F! `7 C2 e; t( J3 `1 H
  82. ; much more verbose when it comes to errors. We recommend using the$ e* y: y# o- J  @
  83. ; development version only in development environments, as errors shown to* t$ ~) h. k! m2 W" ?  f+ P
  84. ; application users can inadvertently leak otherwise secure information.; `- U2 x* A. d7 d( ?( y
  85. 7 N- L' [5 V, o* z4 |
  86. ; This is php.ini-production INI file.2 w; Q" h3 P* c' k8 Q

  87. 0 N0 P9 M$ h: h" L2 W% J1 x
  88. ;;;;;;;;;;;;;;;;;;;
    0 E. ?6 Z: n% |& P) C5 P" ]
  89. ; Quick Reference ;
    $ E8 t- {9 }* a& n% a
  90. ;;;;;;;;;;;;;;;;;;;! m0 |- B& d# O$ G" ?6 Y, N% I$ z
  91. ; The following are all the settings which are different in either the production
    1 p3 o* I$ _: \0 ~. I+ C1 w3 Q
  92. ; or development versions of the INIs with respect to PHP's default behavior.8 a/ B* a- z0 D, Z! C# ]) p
  93. ; Please see the actual settings later in the document for more details as to why
    % M9 K" o, J7 c( E1 v
  94. ; we recommend these changes in PHP's behavior.
    . N2 \, X0 p+ b* s
  95. . A* j& F0 _& `9 g1 l% B4 w
  96. ; display_errors
    0 U) v4 s1 |! t1 e0 M$ i( q& a0 }
  97. ;   Default Value: On
    * L, X$ R7 ^+ C/ x7 K5 F1 x
  98. ;   Development Value: On8 {# }1 D2 w8 t: g7 y8 q
  99. ;   Production Value: Off4 ~' X+ I  I* }( S+ M7 |
  100. + B4 u, |* G$ Z
  101. ; display_startup_errors/ N, ?- h7 ?9 {0 _; t# v
  102. ;   Default Value: Off
    - ?, z8 w9 ]) ~( m' w
  103. ;   Development Value: On2 B, x2 }% I; }" i
  104. ;   Production Value: Off+ ^/ S6 o& \( y8 Z* _

  105. ' k. N, m: n' w6 S" v& I0 t
  106. ; error_reporting
    ! M3 C5 b( u, I6 `- h
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 Y% l( h' t/ {2 _/ x7 p6 J
  108. ;   Development Value: E_ALL
    ! B; |+ c- S5 l' H
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / s: H8 ?: U5 r5 ?' O
  110. * T. Z3 O2 x5 n6 P3 y# |+ ^
  111. ; html_errors
    9 ?4 L. Z7 q; m
  112. ;   Default Value: On2 \( |( H2 E# Z% h5 _9 W8 S3 ^
  113. ;   Development Value: On
    / k8 X0 B2 V) V2 n0 h
  114. ;   Production value: On3 G: F& \: ~% |

  115. 1 k' C* z# @# P* ]8 I6 e* J# f  [
  116. ; log_errors
    + J( P$ K6 c) V( c4 @0 h4 @- G
  117. ;   Default Value: Off4 _9 ^4 d7 m& [4 R' Q. N3 F
  118. ;   Development Value: On
    $ p  E5 [( h$ R4 t7 W2 X0 d/ F) H
  119. ;   Production Value: On
    6 B1 h6 }8 T8 S! l5 h/ G( T% \3 N

  120. 0 R' v  g; x$ U' Y& T
  121. ; max_input_time1 W, p1 F+ Z" E3 T# n
  122. ;   Default Value: -1 (Unlimited)" w( o, z- T. h3 n4 h+ @
  123. ;   Development Value: 60 (60 seconds)* j8 ^0 }0 S) h. A& m% @+ O
  124. ;   Production Value: 60 (60 seconds)0 K: ]7 p" K/ p! ]* r2 ~. A
  125. 5 _, {. g, O2 D* l5 ~8 X4 e9 h
  126. ; output_buffering
    # @7 n% ]: V/ E. J$ M  l
  127. ;   Default Value: Off" d2 S* w0 F  x$ r3 N5 H
  128. ;   Development Value: 4096
    & a$ F: `6 ^% B8 R7 ]" _
  129. ;   Production Value: 4096' {; ?% `+ W( O# M

  130. $ A/ I2 Y4 k0 {; }
  131. ; register_argc_argv
    6 ]: `& f/ ?5 p0 V  v& `4 ?" l
  132. ;   Default Value: On
    : O' F! X: K% A
  133. ;   Development Value: Off
    4 `: y: c2 `, ]: U( N4 L4 P
  134. ;   Production Value: Off( N& ?& \" w( h6 U
  135. 2 t' ^8 u* t0 D
  136. ; request_order
    3 C% T1 y7 A% o; w) f+ @
  137. ;   Default Value: None
    4 W2 T3 y5 M: C  k) K- `9 d" W
  138. ;   Development Value: "GP"8 F, D/ c7 `$ L8 j
  139. ;   Production Value: "GP"  u! _3 D5 D/ C4 z

  140. # f# X2 `. D) p6 a1 m! r- l7 H
  141. ; session.gc_divisor
    & u! X" ?9 b. L" C9 U% ~/ h
  142. ;   Default Value: 100
    ! _4 H$ C4 t4 Q0 Z3 b
  143. ;   Development Value: 1000
    * ^5 f6 z. V3 q; }
  144. ;   Production Value: 1000
    0 r/ ]! }  n) _6 ?# g. W
  145. $ Y* }- z. Y4 D; Z( ~8 x* g8 m9 O
  146. ; session.hash_bits_per_character7 P9 b  ^" b  v' {" _7 x
  147. ;   Default Value: 4
      j) U" c" K9 t* ^% w
  148. ;   Development Value: 51 k: p, u$ ~/ w3 ]) q+ k
  149. ;   Production Value: 5+ ?. t# i( ?- b7 s6 P
  150. " v9 w0 _* H4 p# m/ y
  151. ; short_open_tag
    $ @" j% R  ^, b! `  z
  152. ;   Default Value: On
    . s6 t" O7 F. R' N6 t  _6 G# `" f
  153. ;   Development Value: Off
    - ?; x$ V& |+ W
  154. ;   Production Value: Off/ Y" k0 \1 s6 U) n7 n

  155. 2 G) j6 n3 n9 [4 h* D* Q9 D0 @" h+ ~
  156. ; track_errors* s+ _/ B# p- U; c
  157. ;   Default Value: Off: b* A9 M" q3 U9 L) H
  158. ;   Development Value: On. ?" X; B& E$ [- ?$ o
  159. ;   Production Value: Off6 n. U8 y; H! b! D& c
  160. / U& H5 J; |/ Y7 J. c
  161. ; url_rewriter.tags
    - b( r. h5 i" a) Z; k2 F
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( \5 ?) `- {2 N5 w& i9 I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 D) i2 m* h5 n* Y0 q6 A
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , g- p$ x4 }7 ?

  165. 3 ]2 i' [7 t- Y9 _0 Q) n
  166. ; variables_order$ k6 g: ?9 a1 j
  167. ;   Default Value: "EGPCS"1 ^0 \0 M$ m" A& K' q/ y) w
  168. ;   Development Value: "GPCS"- ~, W# \$ b4 D* L6 Z5 G
  169. ;   Production Value: "GPCS"3 @: K2 ?( i1 l! f2 Z3 `% N

  170. * F* z+ t' C+ R) T  x. O# z, k
  171. ;;;;;;;;;;;;;;;;;;;;
    + s7 _" T: T! c# t2 Q+ }8 W
  172. ; php.ini Options  ;( N) y- w7 S, e6 M
  173. ;;;;;;;;;;;;;;;;;;;;
    , b. g4 h" e6 _2 {# v+ R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& B+ A% S+ T0 X" s1 w3 x) `
  175. ;user_ini.filename = ".user.ini"  H5 a0 G8 u  Z3 x% o
  176. ) `! q' l$ g0 `8 f- r. l/ k
  177. ; To disable this feature set this option to empty value
    ( x% ?" y' l' s( O
  178. ;user_ini.filename =
    ' W7 p( z0 C+ q7 f% ]. \
  179. & v8 {% d& R9 {5 Z4 O  Y2 I/ L6 I3 r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    6 U. A* B* n( M: R; d. k
  181. ;user_ini.cache_ttl = 300% B  G' s# |# h1 H) ~+ C/ i

  182. 6 M5 _5 k; ?" z) a* }
  183. ;;;;;;;;;;;;;;;;;;;;
    ' }! ?& U- }1 i& N, W
  184. ; Language Options ;0 n! H3 j) ~0 E  L3 M- |
  185. ;;;;;;;;;;;;;;;;;;;;
    0 I7 n  M3 P& A; p0 a; m3 t
  186. ; y: N6 U5 w, e# X0 B2 e* y6 O0 ]8 P
  187. ; Enable the PHP scripting language engine under Apache.1 Z- u6 o( j6 r" ^7 o9 U  ~
  188. ; http://php.net/engine2 H# `4 P& R/ U: b- Y! ], r
  189. engine = On
    " A2 q: m0 K' c4 p3 m. I% r5 ]
  190. * P, F7 Q! u/ ?( g2 e- j
  191. ; This directive determines whether or not PHP will recognize code between
      e. q$ x% C0 U* q$ p7 j6 F7 U
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + J+ I& d+ b% N3 v3 `
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 h0 ~& j9 \& t0 U
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , r1 |2 z0 t6 M
  195. ; documents, however this remains supported for backward compatibility reasons.
    1 p+ ^- F- ^9 u* v. S6 ]. ^; w% O
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 L6 F* p2 Z! a  i
  197. ; used regardless of this directive.9 U3 L* c/ n, }. \2 I3 K
  198. ; Default Value: On7 Y# J+ s+ G: I  h% C
  199. ; Development Value: Off& u' R# L9 ~. `# d3 s6 v
  200. ; Production Value: Off
    8 K/ ]8 O& l5 e, s  B0 R6 I/ a3 K' k
  201. ; http://php.net/short-open-tag
    , O% D; g3 n4 g( B; \8 d  Q
  202. short_open_tag = On
    2 w% `" w0 F1 X" @( s

  203. 7 g( H' k% I0 Q3 X
  204. ; The number of significant digits displayed in floating point numbers.. I6 w) ]! O0 I8 j# c
  205. ; http://php.net/precision% {$ C) m8 c4 S% t$ V; ]% y7 {& B
  206. precision = 146 b& A/ X! c; Q. s, I

  207. & g* W; Z* j! f
  208. ; Output buffering is a mechanism for controlling how much output data
    2 U4 j/ j  P2 U' a4 S6 o5 H
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 x8 O) i  v6 o5 f9 O5 A, h4 k
  210. ; data to the client. If your application's output exceeds this setting, PHP$ b4 A/ S" x6 y, |
  211. ; will send that data in chunks of roughly the size you specify.4 \6 X' @7 z* c7 K8 k- C9 p
  212. ; Turning on this setting and managing its maximum buffer size can yield some" s2 M9 |5 w; L/ ]; D- v
  213. ; interesting side-effects depending on your application and web server., M; |% J4 t' W* m1 e
  214. ; You may be able to send headers and cookies after you've already sent output
    : X$ T0 E% O8 \8 o) R4 S. D* z
  215. ; through print or echo. You also may see performance benefits if your server is" o5 [% f, X! Y. V5 h, x+ F
  216. ; emitting less packets due to buffered output versus PHP streaming the output  e  ]: ^1 Q* r( z; O
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : Z* m# w# }) X6 o
  218. ; reasons.
    - i  B$ f: P7 w3 d+ w
  219. ; Note: Output buffering can also be controlled via Output Buffering Control1 k0 d7 ~  _1 `2 o& i7 B3 Y
  220. ;   functions.* \9 f( Z* k. R( S/ ^; U1 M
  221. ; Possible Values:5 V6 g  B2 N9 q: X' \
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    0 A7 k7 l  Q: Q. K+ l6 }
  223. ;   Off = Disabled
    , e; _& T; w) S( @# Y" u: P$ W3 |
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# `5 j  z% a# F' J: E
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % K/ D: m- v3 ~3 W3 }
  226. ; Default Value: Off
    - Q# L% z! t/ D% Z- p' f
  227. ; Development Value: 40964 r. c4 L, [8 x# s1 O  M
  228. ; Production Value: 4096
    8 |/ [  g, ^7 r6 j% _5 I. k7 {5 Z
  229. ; http://php.net/output-buffering
    3 F( A; @7 v, H, |( c3 z! h
  230. output_buffering = 4096
    " @) S8 i3 i) A  t) u& p

  231. : I' T* u- w0 C1 ^+ f
  232. ; You can redirect all of the output of your scripts to a function.  For; X: f+ P! A. q/ f
  233. ; example, if you set output_handler to "mb_output_handler", character
    8 q7 }3 N& J5 y# G! Q
  234. ; encoding will be transparently converted to the specified encoding.
    4 U7 w0 E$ p+ P( l% ~6 K, L
  235. ; Setting any output handler automatically turns on output buffering.& r- P7 @3 J' B7 }
  236. ; Note: People who wrote portable scripts should not depend on this ini
    " n) x5 I3 x9 l& V0 @9 o
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    7 O$ w+ q( X  F) o
  238. ;   Using this ini directive may cause problems unless you know what script
    ) p. T1 ?1 ^  p. O0 K. Q5 i3 u' j
  239. ;   is doing.; S1 B* l$ x+ K# R1 N
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & n6 k3 T6 k$ B  E$ u9 z; ^. q. W" z
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: [& V( F( o. J' C+ ^
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    7 t" s* s5 f5 G+ w: C5 K
  243. ;   Instead you must use zlib.output_handler.
    0 k% k3 O9 P6 `. P
  244. ; http://php.net/output-handler( h9 r# v  ]3 s1 x
  245. ;output_handler =
    6 ^1 X, p9 N; X( Z
  246. 3 ^2 B/ K( X! y6 s" w# _4 S
  247. ; Transparent output compression using the zlib library
    . U1 x- A0 _: b( T3 V8 w. i0 [
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & h- ]; L( Y8 t5 U/ G
  249. ; to be used for compression (default is 4KB)
    9 W9 z& w1 b" R/ U
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! O$ I3 i0 `9 ?/ Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    7 i5 b0 V8 `2 x$ V' {! d% F
  252. ;   compression. If you prefer a larger chunk size for better
    8 q: o! M$ f/ o" r
  253. ;   performance, enable output_buffering in addition.! _  B4 u& D* M2 r
  254. ; Note: You need to use zlib.output_handler instead of the standard
    9 x$ ]9 `# u5 H" r. N1 m  N) u9 n
  255. ;   output_handler, or otherwise the output will be corrupted.  G9 Q* p% X5 X
  256. ; http://php.net/zlib.output-compression8 M$ u  v+ }0 P6 k3 U7 I
  257. zlib.output_compression = Off0 _4 r. E# ^9 F( ~$ H: H5 g  Y
  258. ' b0 R6 f4 G+ H4 o5 v5 {
  259. ; http://php.net/zlib.output-compression-level% q0 x* ^) ?8 x3 \! G- b( Y
  260. ;zlib.output_compression_level = -1
    * H& U& ~- I. ^6 S

  261. 0 L. U$ p7 d0 H3 y
  262. ; You cannot specify additional output handlers if zlib.output_compression' z6 j3 f1 @/ W# d' E6 z" B' v
  263. ; is activated here. This setting does the same as output_handler but in
    9 B8 S& J" `& n* e$ d
  264. ; a different order.& n4 y' s4 E! N( ~- A& d
  265. ; http://php.net/zlib.output-handler+ G5 a! X( K$ c) n
  266. ;zlib.output_handler =) Z1 Y; G" Q9 h8 N3 ~

  267. 7 x4 t8 |# z9 Y& X0 J
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' V/ @8 ^# N, r1 L
  269. ; automatically after every output block.  This is equivalent to calling the) u9 w2 O1 S7 C( x, ]
  270. ; PHP function flush() after each and every call to print() or echo() and each
    % D( F! p1 A9 P( N
  271. ; and every HTML block.  Turning this option on has serious performance, @5 y' R) Z' i" ?
  272. ; implications and is generally recommended for debugging purposes only.$ X3 w* F+ W) |
  273. ; http://php.net/implicit-flush
    . T5 E4 a; }/ s8 r/ x
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    " @+ Y& o8 E7 N) X) I( g, R
  275. implicit_flush = Off4 @) a. G8 u5 R$ Y$ `  {

  276. ! s- V+ K6 r- T6 U) O+ I. M" K, t
  277. ; The unserialize callback function will be called (with the undefined class'% I& z7 g( X0 l
  278. ; name as parameter), if the unserializer finds an undefined class
    " b4 H- |4 E) R9 E0 |
  279. ; which should be instantiated. A warning appears if the specified function is
    5 M9 |- B6 y/ e4 [
  280. ; not defined, or if the function doesn't include/implement the missing class.
    8 U. R. ]# Z& d' z4 n+ f6 c% ?' I
  281. ; So only set this entry, if you really want to implement such a4 {& H$ @0 v; ]  z# U% U& u9 v! W4 u
  282. ; callback-function.
    : c  }, ?: ~; X$ o
  283. unserialize_callback_func =
    / h$ s% d" A. `/ r( S

  284. , A* p- N4 F* Z/ M5 E+ n' E+ I: _% H
  285. ; When floats & doubles are serialized store serialize_precision significant
    4 `( {6 K, B5 u& D) M! O0 h
  286. ; digits after the floating point. The default value ensures that when floats
    $ J7 L( @5 L5 e6 M. m" e
  287. ; are decoded with unserialize, the data will remain the same.1 f# O0 V* ^3 n& g9 Q
  288. serialize_precision = 17! U# a# R' \' \' C! `! ^
  289. & t- L9 S: |6 [. X
  290. ; open_basedir, if set, limits all file operations to the defined directory
    5 U4 V, \! j: X% N' E
  291. ; and below.  This directive makes most sense if used in a per-directory
    ( a/ p# A) K* f* G3 z5 e
  292. ; or per-virtualhost web server configuration file.6 [) z, _; J% f) c) \2 t# c/ p: |
  293. ; http://php.net/open-basedir1 s/ X, \; P: ?* B4 G" h
  294. ;open_basedir =/ N) t' ^6 t! K6 u

  295. + V8 C  w# c$ D6 C
  296. ; This directive allows you to disable certain functions for security reasons.4 L7 T) o/ W7 i' S9 h
  297. ; It receives a comma-delimited list of function names.* i2 g+ E! c# t
  298. ; http://php.net/disable-functions
    + W* m& Q5 h6 [* A& C9 ~
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 g" i$ y. M! u4 I
  300. , G1 q  R$ I$ S
  301. ; This directive allows you to disable certain classes for security reasons.
    7 z" \1 ^1 S: q, @: \, Y' }
  302. ; It receives a comma-delimited list of class names.6 h7 D( @) `: q# l/ K+ m
  303. ; http://php.net/disable-classes
    , M- s0 N) F/ W8 R
  304. disable_classes =- g5 H& l( H, @% \3 K
  305. - W& g$ t; \1 m% q" E
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 y! `# n8 p' U5 w/ l' J! `6 ~; p
  307. ; <span style="color: ???????"> would work.. z& i5 D# Q( Y' O- W  s5 @
  308. ; http://php.net/syntax-highlighting  o' {! g) b& r" C
  309. ;highlight.string  = #DD0000
    - u$ [# C: \! {% i) j+ e2 w
  310. ;highlight.comment = #FF9900* I: w% [; h! g  j$ w% W$ y
  311. ;highlight.keyword = #007700
    ( T$ z; _" S' E
  312. ;highlight.default = #0000BB
    7 z8 \  J' Z/ o) l) Q! o2 l
  313. ;highlight.html    = #000000
    ' @. l- B! _: U, Z
  314. 9 t! h9 r: D) h) a  }  h! I  x
  315. ; If enabled, the request will be allowed to complete even if the user aborts% B6 p, p. F0 w& l! e- S
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; f' `  h/ l* Z( n
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ' e1 e& c8 }% ?: M5 y0 A
  318. ; is to disable this feature.
    3 V% `" y- ~" z4 D: M; P5 x
  319. ; http://php.net/ignore-user-abort
    ! X+ d6 H4 q* a+ v$ k' x
  320. ;ignore_user_abort = On
    8 u& E6 Z0 \. E8 J+ g; j6 K; Z

  321.   L& a; U7 k7 a
  322. ; Determines the size of the realpath cache to be used by PHP. This value should% ~+ Y4 z6 R7 x' ?( D6 s
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( ]2 {7 D2 Y# b% L$ n, s
  324. ; the file operations performed.
    . x& U& [" g$ C& m
  325. ; http://php.net/realpath-cache-size1 B2 \: D, t! @2 M0 a+ L4 {
  326. ;realpath_cache_size = 4096k
    ( V& l( R, k. v4 F4 L/ x
  327. : o! F9 t# r: _- D
  328. ; Duration of time, in seconds for which to cache realpath information for a given* }! @' ^, R: p8 @0 k
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    $ h0 H# t4 o/ n; \: u, }; L
  330. ; value.
    $ C# P1 F3 t3 n  _9 t) y- N, J  g
  331. ; http://php.net/realpath-cache-ttl
    ( z9 q; ]8 m* k
  332. ;realpath_cache_ttl = 120: [/ _& n$ j1 G0 y& d7 z

  333. 1 F" K+ ?$ `& b3 \* U7 W2 Q# j
  334. ; Enables or disables the circular reference collector.
    ) x: j4 D  E" N
  335. ; http://php.net/zend.enable-gc
    * j5 f* s1 Q% L- \9 ^& h" U7 p
  336. zend.enable_gc = On
    ! ]3 a$ n% F  i

  337. # K' q0 f0 f/ H( @
  338. ; If enabled, scripts may be written in encodings that are incompatible with% X( i( Y! P' R4 g6 N: h2 a
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& k! ?$ t6 [) i% D
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    & R* u. ]% L5 q/ l
  341. ; Default: Off5 p7 L  t, Y, H: K3 I
  342. ;zend.multibyte = Off3 S( k, q. q+ |) G3 N) h0 e) o3 l

  343. ; f: \" u6 F& X0 O. C  r% S
  344. ; Allows to set the default encoding for the scripts.  This value will be used- t# f. ]% t1 y9 L, V
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.2 m2 V' I7 u$ D* M7 S7 y
  346. ; Only affects if zend.multibyte is set.. G% N9 T7 H+ v# F! x, E) x" q, O
  347. ; Default: ""7 i2 {5 f* j# E0 U6 l2 y) c
  348. ;zend.script_encoding =
    - c! Z5 R3 P& C" d% t
  349. 0 U, b3 U8 d& T# _# I; g
  350. ;;;;;;;;;;;;;;;;;% k, [+ P5 h8 S% B
  351. ; Miscellaneous ;
      o' S* O9 K2 q& Q4 q
  352. ;;;;;;;;;;;;;;;;;
    ' o3 e6 y. Z8 v5 w4 D  H
  353.   u6 f$ M) M1 v. D' _& d; B
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    4 ~$ }4 O3 m% ^% m4 N" J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 p, H; ^! S. _% s+ A9 ?& c
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    / Y3 I3 u. U% J3 ]
  357. ; on your server or not.
    - b4 L  g6 R* V6 S$ p7 E
  358. ; http://php.net/expose-php
    7 A& I3 n& o4 [' J( t, q
  359. expose_php = On
    : v6 e( r' p  A: f! }) J3 D

  360. ; y- m3 V* i# U- _( m8 i
  361. ;;;;;;;;;;;;;;;;;;;) o7 q* \  Q; p2 c0 t6 h! K( D
  362. ; Resource Limits ;! W9 M! M1 j0 ^3 F
  363. ;;;;;;;;;;;;;;;;;;;* M8 l, v- f* a7 y
  364. : \/ F5 b! b1 n: z  V8 Z, V, m
  365. ; Maximum execution time of each script, in seconds
    $ E% [8 |9 |3 T7 [
  366. ; http://php.net/max-execution-time' G, S( T2 d* D6 \- x8 J! ?
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI- R6 e% M/ g/ h# @8 z
  368. max_execution_time = 300' H- `: O& U: [7 O0 E& s

  369. 1 ]5 J& I& V3 B5 H$ `
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    / s: D/ \( {+ e
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ D$ m( N7 M3 Y9 Y+ G! a$ I) d
  372. ; long running scripts.3 y7 m+ m, r) n: b
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - @" [$ ]  s" D+ ?$ h/ d; V& P
  374. ; Default Value: -1 (Unlimited). i6 v* d3 h  e; q  _
  375. ; Development Value: 60 (60 seconds)1 h8 J1 s0 Q- E/ H
  376. ; Production Value: 60 (60 seconds)
    ) H. W6 a3 j0 f. ?' K% b
  377. ; http://php.net/max-input-time/ @1 V- I' u+ x; [$ L6 n
  378. max_input_time = 60! G; i$ U& w, p8 Z; l

  379. - _- P' i& o& z5 B8 d
  380. ; Maximum input variable nesting level  Q8 y4 B8 ]( b2 w4 n
  381. ; http://php.net/max-input-nesting-level2 ]0 ]7 _7 _+ w3 M
  382. ;max_input_nesting_level = 64" d  L/ `) j; `4 E$ v- U
  383. ( Y% P5 I* q& @* ]3 g
  384. ; How many GET/POST/COOKIE input variables may be accepted
    * L7 A# W) B( k( r) h
  385. ; max_input_vars = 1000" j1 `+ U1 `8 ?1 S
  386. * ]# D% e$ k" W8 ^
  387. ; Maximum amount of memory a script may consume (128MB)" G6 b9 C8 V# {$ b. I8 R( S/ {' N
  388. ; http://php.net/memory-limit* i- x5 c$ p5 g/ t  g) B5 ]0 a
  389. memory_limit = 128M) h% L8 G: B% }% k9 @3 Q

  390. 5 a) ~, T, l% i$ |" x
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' \1 _! A+ `) ?8 M: J
  392. ; Error handling and logging ;
    + x% K' G3 i5 `9 ^+ m, x
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ d9 P' m* {$ z# \4 ?7 _$ m! z- A
  394.   \4 f6 j6 ~2 P. s1 }8 M
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    5 H4 Y! L( n) ~% C! c  J: Y* H
  396. ; it to take action for. The recommended way of setting values for this3 j1 C- T( c# a) \( A0 i8 B0 Q1 c0 ~$ y
  397. ; directive is through the use of the error level constants and bitwise
    4 R+ n+ W/ F( ~
  398. ; operators. The error level constants are below here for convenience as well as  r2 a/ M/ [/ S4 e; D. I, }
  399. ; some common settings and their meanings.6 w/ L" K* u6 V" ?
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 d) n2 C& D9 N- J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and; M% q/ m  E  O" l( O7 J% U
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    . X. x4 D. V/ P: e5 V/ V
  403. ; recommend error reporting setting. Your production server shouldn't be wasting$ N& V5 e, A+ L  }! V
  404. ; resources complaining about best practices and coding standards. That's what- B9 B% _; s7 }% T0 L, b3 A
  405. ; development servers and development settings are for.
    9 E7 p2 X8 |) ?9 {9 q, q$ y
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    . g, W0 Q6 m7 d1 O- R$ V" [& a
  407. ; means it pretty much reports everything which is exactly what you want during; _( d  n  E# y
  408. ; development and early testing.
    9 D! \  U2 `" Y1 B
  409. ;
    9 D- |) d( [0 @% u1 O
  410. ; Error Level Constants:
    % {/ E$ w# c+ Y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 l1 D6 \) a/ H6 @1 ^- J/ J5 E
  412. ; E_ERROR           - fatal run-time errors7 C9 d% e8 f5 [' h- R! U
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ ~( V+ ], y  ]' b9 J
  414. ; E_WARNING         - run-time warnings (non-fatal errors)" C5 l0 |5 ~1 f0 U1 h9 o: }
  415. ; E_PARSE           - compile-time parse errors
    & d2 O7 P' z. N" C! C, l
  416. ; E_NOTICE          - run-time notices (these are warnings which often result; ~* p% \4 `+ w( Z, P$ p3 [
  417. ;                     from a bug in your code, but it's possible that it was2 G9 \2 W& @  s
  418. ;                     intentional (e.g., using an uninitialized variable and
    % X2 ?3 M, ?+ F& G
  419. ;                     relying on the fact it is automatically initialized to an
    7 {+ k+ ^% q- T/ p* m8 d; u
  420. ;                     empty string)" @4 A2 z" i2 u. h6 Q7 v: S: A
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. H8 c: Z8 G) a$ @  g( c
  422. ;                     to your code which will ensure the best interoperability
    0 {4 p+ {$ d- A5 i9 g1 \1 s
  423. ;                     and forward compatibility of your code
    5 a- P; x. I* D
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 B; ^. j: o$ B' l! z2 z. S
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 T7 O- x  r; r+ M8 M8 ?
  426. ;                     initial startup' s" p& l! F! i
  427. ; E_COMPILE_ERROR   - fatal compile-time errors* ?1 J- ?* r1 k. T5 Y
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    , q6 |6 N% l0 O( L8 R
  429. ; E_USER_ERROR      - user-generated error message
    " e3 f$ k8 G8 n  U! w6 Y; E- C
  430. ; E_USER_WARNING    - user-generated warning message; V/ q: v( v+ i: m. v1 p$ y& u
  431. ; E_USER_NOTICE     - user-generated notice message5 Z2 K. _/ ?, X: K! i: L. p* U/ h# n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions5 e3 i2 ?4 m0 m: z: q( m
  433. ;                     of PHP
    . g" h. Q& x8 S8 n: l! l5 _
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * H1 x! U6 i/ C5 C6 g# J
  435. ;
    8 _4 c4 ]) N6 q8 @
  436. ; Common Values:
    & _/ V" b! Q+ u# a* ~6 J$ K
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    & W8 e# @& K0 b+ g4 u/ e/ Y  p' P
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # Q" G5 U2 W7 w3 f5 r8 j+ {
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 b# O; ]9 W2 @' v
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 x$ o# I, o2 a# B- N5 A
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # c& g# I  R$ m
  442. ; Development Value: E_ALL
    % }) W6 s1 a4 l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 {  M1 I- ]6 s2 P3 E- W/ `. N
  444. ; http://php.net/error-reporting) Z, x0 n  `$ z8 Q
  445. error_reporting = E_ALL & ~E_NOTICE
    ; h* d  m0 D: R! i5 ?
  446. 2 L7 j* l; [0 l+ _0 s7 `4 |
  447. ; This directive controls whether or not and where PHP will output errors,1 Q0 K8 P9 N0 l5 D
  448. ; notices and warnings too. Error output is very useful during development, but7 ^0 E4 c! Z+ B; N8 [6 h( M- V3 E
  449. ; it could be very dangerous in production environments. Depending on the code
    2 w) B, \! _0 Q; p5 C
  450. ; which is triggering the error, sensitive information could potentially leak
    ( y8 I! o  v8 C0 X8 D
  451. ; out of your application such as database usernames and passwords or worse.- D" X( H! O; r1 G! X$ j
  452. ; For production environments, we recommend logging errors rather than0 l. F' {- Y3 v2 s% S( |3 `
  453. ; sending them to STDOUT.6 W/ z/ O* J- B* D
  454. ; Possible Values:# u9 I( N' h  Q$ q5 Q
  455. ;   Off = Do not display any errors9 V5 d! `5 b! S$ D5 e( [
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 g( ~9 p2 L5 `% X
  457. ;   On or stdout = Display errors to STDOUT; r- d3 _0 }0 M8 P+ v
  458. ; Default Value: On
    # f6 `1 t) G1 Q; H9 V
  459. ; Development Value: On2 Y& F! Y" W# Y$ p; F: ]  l0 O
  460. ; Production Value: Off
    : d# h. ^/ L  R  H  t+ h
  461. ; http://php.net/display-errors
    - u. p, M( m* [
  462. display_errors = On* D2 J( |, t8 L7 O) b7 g: B
  463. ) c$ j8 |$ L( c  x4 W/ Y' Q- E
  464. ; The display of errors which occur during PHP's startup sequence are handled! A4 D' D. f8 Y6 \& P
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    + ]: R: P- n1 H5 N
  466. ; errors from clients. Turning the display of startup errors on can be useful in( s+ j( v( f2 n6 A: b
  467. ; debugging configuration problems. We strongly recommend you. Q6 f/ q8 \8 \- ?  O5 }) E
  468. ; set this to 'off' for production servers.' Y/ Q3 W  I0 E8 d% L( J
  469. ; Default Value: Off! [2 W3 M7 D7 v3 ?8 z
  470. ; Development Value: On
    * B  x7 A6 y6 F: ]0 F: ^9 d
  471. ; Production Value: Off$ b: y# v; n+ j& \' v
  472. ; http://php.net/display-startup-errors
    4 w7 }8 X; ]' j9 r: Y0 C$ N2 |8 I" s
  473. display_startup_errors = Off' t! I1 x/ ^$ H2 o2 @4 U6 E" a  J' P: E
  474. : O5 \! N8 a" {7 i1 Y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    . q) }* a0 v) E* J2 b! P# S
  476. ; server-specific log, STDERR, or a location specified by the error_log0 r, `  L# d1 X- D0 t. m
  477. ; directive found below. While errors should not be displayed on productions
    ; f( N# U3 g4 G8 H
  478. ; servers they should still be monitored and logging is a great way to do that.% m& w% ?3 z4 n  `
  479. ; Default Value: Off; u+ E2 u6 r+ X
  480. ; Development Value: On
    - N! L$ _, |7 X! q# P' G, S, A
  481. ; Production Value: On
    5 v" y1 s. `. @) \5 |' z5 G
  482. ; http://php.net/log-errors8 F; z: f) K5 {4 }+ t
  483. log_errors = On9 k! v' n% y8 v

  484. ( |! {& G+ u2 `  M
  485. ; Set maximum length of log_errors. In error_log information about the source is, g+ ~% H  R" `+ ^; o: I( v6 x
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.6 S7 K: D# h5 y6 ]% M
  487. ; http://php.net/log-errors-max-len, x/ B- y2 w6 N: p  X0 g
  488. log_errors_max_len = 1024: @" F, V: ^+ O' g8 x/ t$ \4 g
  489. & M1 l9 o: H$ c: I2 r
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ( F" _4 d  D9 t- S" i7 m
  491. ; line unless ignore_repeated_source is set true.! D4 T) R* {6 C! ^4 }8 h1 {6 a
  492. ; http://php.net/ignore-repeated-errors
    2 j) ]3 O* u0 ]5 E
  493. ignore_repeated_errors = Off! N4 T0 f$ a$ b! t
  494. ' x; h; g9 A5 o5 g) M" `
  495. ; Ignore source of message when ignoring repeated messages. When this setting; \4 @* `# `* t9 e+ y# w5 Q+ m# P
  496. ; is On you will not log errors with repeated messages from different files or5 q( ?  W& V# u
  497. ; source lines.
    2 A( J. {# l* ]
  498. ; http://php.net/ignore-repeated-source
    6 z/ `( i  k) r# [
  499. ignore_repeated_source = Off
    3 Y, S# @/ J1 |' Y) U* R% |
  500. . n5 L. k0 V" I6 C4 P) X$ j9 ?
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % n; f) w4 c+ ~" ]/ I
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    3 Q9 L+ A4 R! Z; }* T5 h# ?# P" H9 y
  503. ; error reporting includes E_WARNING in the allowed list
    & Q. I! S; a- g: G* ]: ~. b
  504. ; http://php.net/report-memleaks
    4 O5 a; p/ g/ ?6 f3 n
  505. report_memleaks = On3 M6 G8 G! P5 s
  506. $ G! C  ~0 Q& f
  507. ; This setting is on by default.
    ; \+ _. m, Y. l
  508. ;report_zend_debug = 0
    ( Z: D" }! s  \3 @6 {

  509. 8 m7 m+ Y& `, Z' ?$ ?6 W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , `7 z7 ?) e  }& |
  511. ; to On can assist in debugging and is appropriate for development servers. It should, ^& ?* d2 a  b; p! y/ V2 v% Z3 {
  512. ; however be disabled on production servers.
    + A: z6 a6 f# A( e) Z6 J( N$ I
  513. ; Default Value: Off
    " I! ^. p  u# R
  514. ; Development Value: On
    4 s1 e4 @% f0 k* c( |: f% x
  515. ; Production Value: Off, }8 l; c& |& S; D6 G. c
  516. ; http://php.net/track-errors
    ' w% V8 u- U. P+ D, U; X' R" K
  517. track_errors = Off
    " K. A! S% d- q+ c3 X6 z) r
  518. 2 l) s3 n2 u3 J9 B! z" J' J8 q
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    , @1 S5 {0 F; B; c4 a
  520. ; http://php.net/xmlrpc-errors
    3 m7 s! o4 }7 Y/ m6 c1 C% W' a' r5 a
  521. ;xmlrpc_errors = 0
    3 R" F4 K" f! ?

  522. 5 O& a7 s6 a; m: H4 r, [- Y
  523. ; An XML-RPC faultCode/ c' U- m6 q$ C' b% y, c/ q
  524. ;xmlrpc_error_number = 0$ `2 K0 K! E1 `/ @, t3 U
  525. 6 @' W/ S* {4 k1 Z) G
  526. ; When PHP displays or logs an error, it has the capability of formatting the9 k; e6 d% Y. C- Y# L
  527. ; error message as HTML for easier reading. This directive controls whether
    3 @0 ~6 |, O* n% Q
  528. ; the error message is formatted as HTML or not., U# f8 B$ E6 P- T
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI7 s8 P6 n: j* x/ k  x& `
  530. ; Default Value: On9 F1 I% m  W$ r% S0 u4 Y; M
  531. ; Development Value: On) s7 j- S# |5 T& y
  532. ; Production value: On+ ^; ?+ \/ N8 m1 K7 o4 i( [
  533. ; http://php.net/html-errors
    & k0 U4 D+ v# ]. o- j3 Z
  534. html_errors = On
    3 n' b; I9 l' B- D) b4 g

  535. * h5 C' I( T2 q6 B& I
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ k, F2 l: p9 n( \9 Q
  537. ; produces clickable error messages that direct to a page describing the error
    % X8 [$ X3 ]  g4 E; ^4 I' O7 D8 d
  538. ; or function causing the error in detail.6 I& @# O( j+ e9 |( ~
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    " d% V$ M' k: R# m* J
  540. ; and change docref_root to the base URL of your local copy including the$ Q6 ?! `0 [! r2 \% g; U& ]( M
  541. ; leading '/'. You must also specify the file extension being used including. y2 Z1 K3 y4 J0 A. f# \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which9 i. M+ r3 x5 W
  543. ; case no links to documentation are generated." n7 J7 V% m  b
  544. ; Note: Never use this feature for production boxes.
    : d0 Q8 x. ~7 q+ X
  545. ; http://php.net/docref-root( d3 l) d% d3 g) \+ T( i
  546. ; Examples
    ' z6 W- {' x1 g6 c* V5 F9 f& {' h
  547. ;docref_root = "/phpmanual/"4 u4 X# n6 d7 T9 @% g2 O

  548. & d, U9 ^) G: \/ u: i& P
  549. ; http://php.net/docref-ext
    9 ?/ x. b# x( g0 Z1 d
  550. ;docref_ext = .html
    2 j5 s, ^& b  b! r$ \

  551. / Q; f' J; d7 f4 \
  552. ; String to output before an error message. PHP's default behavior is to leave
    # O/ O. I. v7 U
  553. ; this setting blank.
    ) [' Q. E8 }& K# K* o
  554. ; http://php.net/error-prepend-string
    " C5 F# J& k, D, n) D% n. A
  555. ; Example:
    : e7 v% f7 E+ [  F; P, j7 B9 y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ; \8 g; u2 K/ J0 z* T" C

  557. 5 b( {5 j/ W, R1 ^; i& O) h0 K
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 y( ~8 H% q& _( h+ ]  V
  559. ; this setting blank.$ Z, b  c5 z5 s: S& N; L2 ~) i
  560. ; http://php.net/error-append-string1 T9 r- o( w! O9 p: z% t
  561. ; Example:
    7 G# z, [% Z& Y9 _9 v
  562. ;error_append_string = "</span>"
    " l, W! c5 M; ]" R

  563. / I! J$ W3 @# I( Q; u; N2 `
  564. ; Log errors to specified file. PHP's default behavior is to leave this value. ?6 e3 V* S# d& }
  565. ; empty.0 ~7 P2 r4 \$ w/ o
  566. ; http://php.net/error-log0 k. q9 X7 U1 X2 `7 V
  567. ; Example:% \5 S. W, K& E
  568. ;error_log = php_errors.log
    ' M9 ~! |  g1 t# ]
  569. ; Log errors to syslog (Event Log on Windows).6 W' ]" P) S$ ^* k* X8 z3 _
  570. ;error_log = syslog; U2 g" r& C, T; n0 z

  571. ; G. [8 |; _6 [; h2 x
  572. ;windows.show_crt_warning' Y1 z8 y+ V5 a% z: Z& H! G; D- j0 n
  573. ; Default value: 0
    ; [8 ^! ~" M4 O; z+ b1 X) E
  574. ; Development value: 07 {; u' I7 O# P7 f- |- ]4 W5 d1 a
  575. ; Production value: 0
    8 ~2 y+ |9 O  ~) c1 S

  576. 3 g6 u- t0 @: ~8 Q% G5 S
  577. ;;;;;;;;;;;;;;;;;
    # u% N2 ]* x4 Y+ m% D, D
  578. ; Data Handling ;
    * C& z& W) y1 u  h- C0 D! x
  579. ;;;;;;;;;;;;;;;;;
    ! d2 I: V1 J7 |- c! z
  580. , D2 t0 W0 J; j( x3 Z8 j1 \7 c' c
  581. ; The separator used in PHP generated URLs to separate arguments.: y7 x* [+ M8 Y" p& ?1 Y
  582. ; PHP's default setting is "&".
    3 t. F! N, P( Z# L4 Q
  583. ; http://php.net/arg-separator.output
    & X. h8 Y2 E" x4 V; J* I
  584. ; Example:
    + a$ i, e2 S  O  Z
  585. ;arg_separator.output = "&"
    $ t+ N+ S2 k' \) `( u* X# }

  586. * z, J" x0 S# g; a
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ [$ Q: A4 H" B+ z9 Z- t
  588. ; PHP's default setting is "&".2 G0 l, x9 e4 w
  589. ; NOTE: Every character in this directive is considered as separator!
    6 O' ?% M9 C/ U9 Y  ^
  590. ; http://php.net/arg-separator.input* B# d3 v4 a7 Q+ d) ?
  591. ; Example:
    2 J8 s! h" A0 c/ X* Q8 Y
  592. ;arg_separator.input = ";&", s5 M, {: u$ Z5 A

  593. ! D7 v4 H- r4 f
  594. ; This directive determines which super global arrays are registered when PHP
    # f2 w1 H! l* h. f) h: o, n
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 p: w. e* o/ D1 q/ x
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty2 L, H& q) j7 H. `/ Q8 C4 l
  597. ; paid for the registration of these arrays and because ENV is not as commonly/ d% q0 A$ D1 u' A" l7 g
  598. ; used as the others, ENV is not recommended on productions servers. You
    7 _* c$ Y% `8 W- k' R
  599. ; can still get access to the environment variables through getenv() should you2 j0 N6 r6 Z3 m3 j  B
  600. ; need to.
      ~( G. c0 t6 L, i; ^) @2 h6 N9 U; x
  601. ; Default Value: "EGPCS"# Q& ~9 _2 E. }( r) M  g: ]. F# D# Y- G
  602. ; Development Value: "GPCS"
    ( R8 X4 w$ y) v& p" B5 @/ J; |: v
  603. ; Production Value: "GPCS";5 o) h; ~/ K( f2 {
  604. ; http://php.net/variables-order; O4 y& L6 l* S7 Q% m
  605. variables_order = "GPCS"
    8 c) g1 b4 n# I. i, ?; r

  606. 0 c  A( c/ ]& [
  607. ; This directive determines which super global data (G,P & C) should be
    / D! j+ K% A& c9 e
  608. ; registered into the super global array REQUEST. If so, it also determines
    + R4 x( o3 i0 n: @8 Q9 A) d
  609. ; the order in which that data is registered. The values for this directive
    6 R- v# O% N0 n+ {0 G8 J5 T. Q; X* p
  610. ; are specified in the same manner as the variables_order directive,
    - K3 g6 t8 }1 d4 B( P" p1 m9 Y1 U
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - v( Z% w) Y1 M( u: f2 W  X8 B
  612. ; in the variables_order directive. It does not mean it will leave the super$ ~" D5 e6 R: c, \7 [- H
  613. ; globals array REQUEST empty.
    $ |/ c8 D; {5 b- g3 l" G) Q
  614. ; Default Value: None
    + H' ?8 ?& ^) x3 p- ~- @0 ^
  615. ; Development Value: "GP"
    ) P4 U3 y+ D# k# ^" s! J$ y
  616. ; Production Value: "GP"+ A: c8 Q% k7 F
  617. ; http://php.net/request-order
    / g/ I4 ~; z5 Q* t1 e2 E0 U$ v
  618. request_order = "GP"
    0 J0 ]% S) P2 s5 d1 V) N* A5 y
  619. / `0 g5 y, I! S
  620. ; This directive determines whether PHP registers $argv & $argc each time it! h0 s5 B+ R6 \) p; D& }
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 [6 S/ C9 K: }4 ~9 I
  622. ; is invoked. $argc contains an integer representing the number of arguments
    4 w3 i1 g7 u9 v: W; s1 M% S
  623. ; that were passed when the script was invoked. These arrays are extremely% u* U1 G4 \- Y: N" c( l8 Q- [
  624. ; useful when running scripts from the command line. When this directive is
    % L# {7 V& `( k  q3 ]
  625. ; enabled, registering these variables consumes CPU cycles and memory each time' J4 P0 J* n7 n* t( s2 t1 t& T
  626. ; a script is executed. For performance reasons, this feature should be disabled
    7 G; F8 n0 e( F) F
  627. ; on production servers.* f: A6 @% G+ p' B) j8 ]( [6 o2 o% ?6 S
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    : Z0 Y* u: n+ b9 P
  629. ; Default Value: On+ ~+ G1 O1 o7 \: {* {
  630. ; Development Value: Off
      d" Z$ |% `. B* D5 l" g: B) a
  631. ; Production Value: Off' P; q1 }; v% z% X, w( `% a
  632. ; http://php.net/register-argc-argv& y3 }. E& D( W5 a! c5 \; v% i6 D8 m
  633. register_argc_argv = Off$ R" z8 m/ ?" R/ e

  634. ; K) m8 J( a! Q' S3 f; T$ a
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    5 M( [5 m, r. X! S" J( V. t
  636. ; first used (Just In Time) instead of when the script starts. If these  ^6 @7 B6 B) J: ]7 H% x0 C
  637. ; variables are not used within a script, having this directive on will result
    6 q! g! H8 y8 v! N  U3 c2 p& B
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / k6 v* F, T8 k% F3 a4 u. i
  639. ; for this directive to have any affect.+ i; s: S; P# n9 n7 C
  640. ; http://php.net/auto-globals-jit
    # ]6 _  Q) X) X
  641. auto_globals_jit = On
    - a/ l2 l0 q  r
  642. ( w$ `. P& F0 r! \
  643. ; Whether PHP will read the POST data.
    # k4 m0 N) j* `4 i9 y: ?- s
  644. ; This option is enabled by default.
    # ^& r# f6 R6 [, a
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 n; Y% u2 F/ A& r- B6 D
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 Y- G8 X% f, x' e& n8 J
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    3 H) v- x; m! l7 I6 J1 [
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * M0 u4 a$ I3 q. L# s
  649. ; http://php.net/enable-post-data-reading1 @; Q" M+ |+ z4 }0 W" X( e
  650. ;enable_post_data_reading = Off$ J) M: d3 P# V# p2 Y6 t  Y

  651. 4 w7 J$ _5 _7 \$ T# y+ q% Q
  652. ; Maximum size of POST data that PHP will accept.
    - y' @' [8 v# {* u
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading' w& m  {& h' E: r5 _- B
  654. ; is disabled through enable_post_data_reading.
    6 F" M2 [! H) b5 p9 W& S
  655. ; http://php.net/post-max-size, F% m  t3 Q- {6 M/ t
  656. post_max_size = 50M
    ' t: M  I! S/ X& r: @9 i' ]
  657. " n2 v! r8 @  U# Q) [- j% I
  658. ; Automatically add files before PHP document.
    ! {$ |2 Q3 j/ P* d
  659. ; http://php.net/auto-prepend-file
    , X7 }0 r" k, ^" O
  660. auto_prepend_file =
    6 f0 W) `$ D  p/ J- ]0 G# F; m- c1 }

  661. : c, D2 B( z% X: H/ v
  662. ; Automatically add files after PHP document.% b1 Y! ~5 t, B; ]. L6 q0 G+ B
  663. ; http://php.net/auto-append-file
    $ N0 a' T& B4 @4 g) a0 L! u! }
  664. auto_append_file =
    6 S  e7 b: ~; S! P+ B2 g2 J

  665. 9 A3 T/ }( B; g8 z- [
  666. ; By default, PHP will output a media type using the Content-Type header. To# Q% S$ W# l- U, T+ R; t
  667. ; disable this, simply set it to be empty.! S9 w! E  M+ [- ?. c; {6 @* i
  668. ;/ ], Q3 f1 h2 k
  669. ; PHP's built-in default media type is set to text/html.
    * G0 \1 t' K+ y' i5 E8 P
  670. ; http://php.net/default-mimetype
    4 j. `; ^( c& K. S$ H; s
  671. default_mimetype = "text/html"
    8 p7 [4 K/ l0 Q, k  Z

  672. ' G- G9 o7 E8 Q: B; T" ]$ Y9 s
  673. ; PHP's default character set is set to UTF-8.
    8 p$ A7 t9 J+ T/ p5 q
  674. ; http://php.net/default-charset% Y- e" P" W, g- x! l) x
  675. default_charset = "UTF-8"
    0 U1 ~- f+ _8 n+ H, ^) s8 q
  676. / W$ ^! M- ]' U6 [( I; B/ v" h. @
  677. ; PHP internal character encoding is set to empty.
    3 c$ a) ?5 l* I: c* f
  678. ; If empty, default_charset is used.( |- e# @+ p) T9 s% C9 {1 p6 E
  679. ; http://php.net/internal-encoding% R& d% \+ m1 S  V9 x
  680. ;internal_encoding =1 q* i  {2 O+ G( D) g: Y
  681. % a: P& Z$ i: G$ ~  g
  682. ; PHP input character encoding is set to empty.
    . G9 M: h9 k3 Z- M3 W
  683. ; If empty, default_charset is used.0 S; |# ?- E" b
  684. ; http://php.net/input-encoding( [6 s, D/ E3 [8 U. x
  685. ;input_encoding =
    - v) d/ {' f+ T
  686. + G# e# r) U+ V# c& H% G# |
  687. ; PHP output character encoding is set to empty.0 D( u& }7 X; B# B
  688. ; If empty, default_charset is used.
    $ x: G4 `; \  ~: s+ S. k0 X0 \& i
  689. ; See also output_buffer.
    ! t" R- ~  N# F3 `1 @
  690. ; http://php.net/output-encoding4 v* T$ @( i' I. M. Q5 h8 \# L- g
  691. ;output_encoding =
    1 ~, {0 [/ t2 v! E% n% I4 j
  692. $ i' M6 \: V  W. p8 E
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;, Q+ Z7 P& ~) G! \  _# @
  694. ; Paths and Directories ;
    ' G1 e; |2 R0 j) M& Q0 Z" O
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, h% \6 v0 g3 }" s/ Z7 Q* W
  696. 5 @% ~8 \8 e% D9 B
  697. ; UNIX: "/path1:/path2"5 S; r5 n: f! v) H% b
  698. ;include_path = ".:/php/includes"
    0 H* z/ \$ {: H4 u: \" H
  699. ;* c, z  k2 }7 {0 ~
  700. ; Windows: "\path1;\path2"
      T2 v: O+ h2 A6 w
  701. ;include_path = ".;c:\php\includes"
    ( c) ~! K( x6 ?0 o! B# K2 ^2 ?
  702. ;
    # K. w; v3 G- A$ I! A
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    4 {: v3 ~) R2 _# q
  704. ; http://php.net/include-path) W# B# [( G0 d4 @1 W9 y

  705.   _' P, v- z; f& t
  706. ; The root of the PHP pages, used only if nonempty.
    ( X6 f& x* S" e3 s  _" t
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ c% ^3 x& |: ?; Y+ K& ?
  708. ; if you are running php as a CGI under any web server (other than IIS)$ S8 ?8 Z9 H- T" [5 ?
  709. ; see documentation for security issues.  The alternate is to use the( `( ^1 O, r  ~+ \7 G8 d
  710. ; cgi.force_redirect configuration below
    * S7 G9 J- x, f( H
  711. ; http://php.net/doc-root
    . F4 i6 l& d6 }0 F, w: I5 Z
  712. doc_root =
    # q/ J+ P- O" y

  713. 9 t( o+ Q. {; ]
  714. ; The directory under which PHP opens the script using /~username used only
    4 j( y* h' X6 i
  715. ; if nonempty.' b; t" k) K+ s1 E1 I3 R
  716. ; http://php.net/user-dir
    - }  w( z! p) B- k" D; V, y
  717. user_dir =
    8 J& t2 ~, }2 l0 |: p+ W# t

  718. % P- @8 @/ ^) Y2 H2 h0 M2 z
  719. ; Directory in which the loadable extensions (modules) reside.
    . \* }# m2 w' Z1 ]: t1 S8 T
  720. ; http://php.net/extension-dir/ k) ?& B' F) t, x; z. z% Y( k0 }) M
  721. ; extension_dir = "./"
    , Y3 t4 k3 R* ]6 q; k$ h
  722. ; On windows:
    8 Y: N" b* b/ V! o- S& Y7 u
  723. ; extension_dir = "ext"' H! J: N- x( B! S

  724. $ I% K3 @# \; _! _
  725. ; Directory where the temporary files should be placed.2 M& U( j* ~8 n1 v, T  z( S
  726. ; Defaults to the system default (see sys_get_temp_dir)
    , h7 G. B( m- M2 ~, i0 H
  727. ; sys_temp_dir = "/tmp": a$ |' @) a  z/ |: j" b" L

  728. 9 S- V# R" Q5 ]  ?5 ]5 Y. a4 n+ z
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 p+ H( P2 p6 y$ l5 e5 H0 j
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ' w% ]/ d* A8 f) j1 r2 ]
  731. ; disabled on them., [  ]0 ^2 ^1 b7 N& X
  732. ; http://php.net/enable-dl
    , P+ N# A) b* W" m: {
  733. enable_dl = Off
    9 i# T- X2 g8 K/ t, Y

  734. 5 j# ^: g+ ^  @$ u! v
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    / R8 N7 c/ g, f: t0 P* i+ u7 ?! P
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ @' v* O+ ?; V% D4 }& {0 d
  737. ; turn it off here AT YOUR OWN RISK
    & X% a* n9 N6 L9 T; N& M
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% l' Y5 F! p- o1 _4 u
  739. ; http://php.net/cgi.force-redirect* {: _' \" K% x. o" s1 ^
  740. ;cgi.force_redirect = 1
    1 \3 F& b$ a( ?4 Y
  741. ; ]& ]; @: `* u9 D% b4 p+ `/ @
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % T& a* K$ ~4 [/ \& p1 c0 n7 `
  743. ; every request. PHP's default behavior is to disable this feature.
    " f8 L4 W4 _. D
  744. ;cgi.nph = 1+ M* ^* U* d) t0 i: B' o

  745. $ x3 q9 v4 _4 p; U
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + I. o7 c5 i& E7 s( x4 n
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% s* I9 }3 F( O6 \- I. _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY  Q2 p2 l% H: I8 x
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 P( m8 }4 o3 f. g4 P5 ?
  750. ; http://php.net/cgi.redirect-status-env& [3 d7 `1 q  t( Y6 O% [- o
  751. ;cgi.redirect_status_env =
    ( g  q$ v1 ^9 T9 p3 Q& a
  752. ( Q5 Y% a- t5 |. ~& ?
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / s' f5 B* x  W( ~- @" L- A
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 h6 S8 i- V7 |  \% W' Y  t; q4 s
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 T: d8 d7 L3 C! x* Q5 j
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting; \4 W( W0 o- ?7 [/ D$ Z0 D" p5 L4 g- A
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 z. i3 ]1 u+ `% f  H
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 v# J* S; t8 Y- E, w
  759. ; http://php.net/cgi.fix-pathinfo
    7 y( O4 M- I  v  H' J
  760. cgi.fix_pathinfo=1! L+ k. c! c0 A& S

  761. 9 v8 X& J3 V8 L: v- o- I* s! y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    / u- ^" U; M3 h7 O8 M, @
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! R) v4 y% S, M) J
  764. ; http://php.net/cgi.dicard-path  Y7 I% O( u! \
  765. ;cgi.discard_path=1
    + h( t: ^6 E* e- c
  766. . L3 M" ^, U  _, X
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    2 `8 U6 s+ P8 G! \. ]- l
  768. ; security tokens of the calling client.  This allows IIS to define the2 D+ U; N9 ^. [" ]& y0 E& ]( M
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    5 u" t5 X  g* K# X$ J
  770. ; does not currently support this feature (03/17/2002): A6 S& t7 A) b1 ~' J& d& P# Y7 d
  771. ; Set to 1 if running under IIS.  Default is zero.
    , b  j  i2 q& u! L4 Q
  772. ; http://php.net/fastcgi.impersonate
    7 M7 s6 Z& B: \% H
  773. ;fastcgi.impersonate = 14 ~  J% [# j# I
  774. + k1 B8 m: ?; b' C8 `9 l$ ], M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ c; u. b/ c. S4 T- f7 B
  776. ; this feature.5 u3 P8 H. l4 e, K! I. }" L
  777. ;fastcgi.logging = 0/ N( T, {/ Y$ f6 [" O& i

  778. 5 @0 u. t/ i; E+ e; a
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 Q& R9 ?. K' D) y6 W# v
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    5 Y. a& f& q' s+ W: a+ G9 G* S
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    2 A: ?. \8 @7 Q$ b" z
  782. ; RFC2616 compliant header.' Q" n9 P% z: u! u+ z2 W2 V
  783. ; Default is zero.# O/ y6 H$ u" z
  784. ; http://php.net/cgi.rfc2616-headers5 O' J: W2 }# J" ^
  785. ;cgi.rfc2616_headers = 0- _  W% I* I0 P: ^- |

  786. 0 d0 T6 ?# A& m( Q; c  `, u
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!. \! F0 ?4 F: S. H2 X0 @
  788. ; (shebang) at the top of the running script. This line might be needed if the5 Y3 x5 |" Q% d; C% q6 O9 [
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI  ]. ?. _' ?7 c( Q
  790. ; mode skips this line and ignores its content if this directive is turned on.
    9 F" p( E0 F5 C6 n. d5 q2 l$ C/ k5 H
  791. ; http://php.net/cgi.check-shebang-line
    2 q; E# I4 u# }+ j
  792. ;cgi.check_shebang_line=1
    ' |  p  |" L3 C& |0 A* F' j% U  j, [

  793. 1 P6 B# K: Q3 n7 L5 l* x
  794. ;;;;;;;;;;;;;;;;
    ) g) h- I; z; l- j& c: B' v
  795. ; File Uploads ;
    . E( n6 d1 @+ g) ^7 `
  796. ;;;;;;;;;;;;;;;;5 [% f6 m8 X) F0 `# j6 A

  797. % D2 ~, S% C. a( o: h. a3 `
  798. ; Whether to allow HTTP file uploads." O: g; f# _3 X
  799. ; http://php.net/file-uploads8 V3 p+ @& b9 S2 r' ^
  800. file_uploads = On
    / e5 D: B' K2 B- C3 b

  801.   @( ~6 m8 y" c4 r! }; S
  802. ; Temporary directory for HTTP uploaded files (will use system default if not  h, r4 l2 u  c& P& P! i
  803. ; specified).. I" r% [# o3 z' W7 R+ C9 |
  804. ; http://php.net/upload-tmp-dir
    $ Z. d" O9 r+ G6 K& ]  i. S6 ~( c
  805. ;upload_tmp_dir =, v/ V* D% }; L9 A1 Y* K  P) k
  806. 9 X& z) y9 |% z2 a, l
  807. ; Maximum allowed size for uploaded files.
    . W6 h* _$ A$ P+ |' L; I# @
  808. ; http://php.net/upload-max-filesize% t# g+ |0 h  C7 I, n9 l
  809. upload_max_filesize = 50M
    6 j3 f$ @3 T' Z1 [2 D; m1 N# M

  810. ( y& x" D1 \1 j0 _9 h
  811. ; Maximum number of files that can be uploaded via a single request
    ( u$ M9 B2 ?, {8 \5 K$ ]
  812. max_file_uploads = 20
    8 `6 g4 L4 B  E

  813. + L. i: g! a: A0 z  t; `
  814. ;;;;;;;;;;;;;;;;;;0 B& Y2 H4 Z/ [+ I5 [( E
  815. ; Fopen wrappers ;  A. i% ~, U. B# K! Z8 L
  816. ;;;;;;;;;;;;;;;;;;
    8 n. d/ U& `7 ]# b/ K

  817. 7 E9 F+ v5 c8 a, J% e
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.( h( P0 Z) h, K1 ~
  819. ; http://php.net/allow-url-fopen8 ^" F" L  a9 p4 V
  820. allow_url_fopen = On
    / w) y+ C$ J4 n
  821. $ ?" x# k1 i) f  g' I0 r. E
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.8 b& C( W4 K8 \: _9 w5 S( f7 t
  823. ; http://php.net/allow-url-include7 J* j" |9 h& x8 ^! Z
  824. allow_url_include = Off
    + E$ S/ T! W  m* Q8 |

  825. ; b9 i/ M7 s( E1 ~- _+ ?
  826. ; Define the anonymous ftp password (your email address). PHP's default setting* @* [/ A0 F9 G1 p, A
  827. ; for this is empty.
    ) D5 c8 W) B: s: U' m* O9 I' z, V
  828. ; http://php.net/from
    0 R* }# ]7 C9 \/ Y/ h
  829. ;from="john@doe.com"3 W( j4 t% |3 j& j4 }2 s; G9 k

  830. - _7 q5 z, q3 E" R
  831. ; Define the User-Agent string. PHP's default setting for this is empty., c* p2 B9 T/ }% j, S
  832. ; http://php.net/user-agent
    , P3 d' v2 F# |
  833. ;user_agent="PHP"5 @3 c# P* R2 [# g8 s3 C1 u

  834. ; @2 G9 l' \+ A+ W& M+ t2 j( J
  835. ; Default timeout for socket based streams (seconds)$ Z+ N6 w& f5 K5 L
  836. ; http://php.net/default-socket-timeout
    / r  c/ b! U- Y( b# X& K7 n; V
  837. default_socket_timeout = 60
    " g6 i/ v& u1 b  G1 w' i

  838. 4 N; w+ A8 I) s4 I9 h* U
  839. ; If your scripts have to deal with files from Macintosh systems,
    " j  Q; p& S: }% z
  840. ; or you are running on a Mac and need to deal with files from" m: u$ s  M1 c! H5 g/ k
  841. ; unix or win32 systems, setting this flag will cause PHP to
    # J# b. o: w# Q  U- q# N3 |7 P: H
  842. ; automatically detect the EOL character in those files so that
    ( m) F* b7 N( o0 V* U& f: j) X  s
  843. ; fgets() and file() will work regardless of the source of the file.# a& }6 e1 y3 l  J1 L! {1 ^
  844. ; http://php.net/auto-detect-line-endings' D# i- f9 o% x8 U! c& E( H
  845. ;auto_detect_line_endings = Off
    6 g' l) M, w( h, S
  846. 5 \4 Z5 X; V! m) {( u
  847. ;;;;;;;;;;;;;;;;;;;;;;, h' o# H$ G# ~/ e$ X
  848. ; Dynamic Extensions ;
    ( G; V3 ^4 [8 L1 j( M' R$ p
  849. ;;;;;;;;;;;;;;;;;;;;;;) K9 e" V) P( f% L+ k& i1 A
  850. $ R' t4 @7 A: ~. e2 c
  851. ; If you wish to have an extension loaded automatically, use the following% j' ~2 W$ `; t" c& l: T7 e
  852. ; syntax:
    1 C0 @3 _4 o3 s. S1 e6 O/ _9 i
  853. ;
    . A+ A3 `& ?. w& h9 [2 M( q
  854. ;   extension=modulename.extension
    % g5 Q. ?/ U9 ^) L9 z4 s
  855. ;
    " w, B  A# n8 ?2 \9 U) e8 i$ J
  856. ; For example, on Windows:
    " j$ n7 g/ f9 h! K$ p4 V
  857. ;
    3 I* z; ~4 z! G( @6 W1 K7 \
  858. ;   extension=msql.dll
    & P6 l* \$ x& Q% V, u
  859. ;+ v9 ^# _4 @  _. j; n; P
  860. ; ... or under UNIX:7 c0 ]1 _2 }; v' ^6 m- c  R
  861. ;
    % d' c9 J2 M  J* d* s+ n& B* n+ Z
  862. ;   extension=msql.so
    $ r+ m. h9 N  |* D  k1 Y
  863. ;4 S2 u; \3 s' ?  m* O& o
  864. ; ... or with a path:
    ! x* M& u' j& E$ ~5 `1 D
  865. ;) l* |! S3 H) }! q; W) @
  866. ;   extension=/path/to/extension/msql.so4 s; Y  t% {7 ~% n" _8 x4 l
  867. ;
    3 Q9 m! G& Y% D  }. r
  868. ; If you only provide the name of the extension, PHP will look for it in its& m. Q, ~& |9 b/ v& p( G
  869. ; default extension directory.
    3 _) {% s4 f0 w/ y
  870. ;
    2 ]  a/ R; t/ E2 v: c( X5 E
  871. ; Windows Extensions) p  {5 b' L1 F+ @+ E0 C1 T7 G; J
  872. ; Note that ODBC support is built in, so no dll is needed for it.% _; N6 E  ?: B8 U
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)& E) |8 x/ V( A# {5 O9 @8 K0 [
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & }& J3 C3 F7 P! Z& x  H
  875. ; Be sure to appropriately set the extension_dir directive.2 W0 S* N2 Y5 y7 \
  876. ;% n$ F  |/ E! B- [) n7 l: r
  877. ;extension=php_bz2.dll
    % N- \2 q! i. O- d
  878. ;extension=php_curl.dll2 d- b% R# t$ V
  879. ;extension=php_fileinfo.dll
    , P: q/ K6 B+ U0 Q" O! c* t; l
  880. ;extension=php_ftp.dll, G  X6 Q6 a0 ?8 [0 w' p3 ]+ ~
  881. ;extension=php_gd2.dll
    & Q, Z6 q" r2 {5 h$ J  y
  882. ;extension=php_gettext.dll2 g! p& S% |1 v8 O+ A' }$ p
  883. ;extension=php_gmp.dll$ D4 w" u6 T. b8 v3 k
  884. ;extension=php_intl.dll
    2 r7 {" `9 ]) ]
  885. ;extension=php_imap.dll
    $ x$ P  V7 N9 {" X3 z7 `7 v  v- A
  886. ;extension=php_interbase.dll
    8 o8 d. }: s1 J# H& K
  887. ;extension=php_ldap.dll
    ( `4 g! f/ q4 F0 Y* h3 l
  888. ;extension=php_mbstring.dll
    0 m* w/ F4 P5 r: s  f7 h( v7 T
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it- A% f" S0 w3 B+ h' j0 O: Z# S
  890. ;extension=php_mysqli.dll
    ) M4 {/ A, i8 T: b$ t
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: R% I+ L6 f0 P  G
  892. ;extension=php_openssl.dll4 f& s. {2 d# }/ L  D! J
  893. ;extension=php_pdo_firebird.dll# D6 k7 ~4 g6 k& v) t1 z+ x
  894. ;extension=php_pdo_mysql.dll
    9 X: G& |) [) U, Q. g( }; e
  895. ;extension=php_pdo_oci.dll0 t/ K: T. C2 w: T
  896. ;extension=php_pdo_odbc.dll) h; D& j. S# t6 P( b4 H
  897. ;extension=php_pdo_pgsql.dll$ l  g$ a3 R# p. f" V% Z+ j
  898. ;extension=php_pdo_sqlite.dll
    4 f# C; O* R6 C0 U/ p8 X7 ]
  899. ;extension=php_pgsql.dll9 U% W/ n9 M% i
  900. ;extension=php_shmop.dll
    # q, E0 k% i$ G( d, B" N- C* Z
  901. % S! @+ M8 w. c5 j* K4 R9 w9 r' y3 T
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) N) x1 [  @6 M, Z, [/ F
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    0 Z; O6 o1 a6 T+ S  ]
  904. ;extension=php_snmp.dll
    1 ]4 t$ f, @/ r& g6 g1 C
  905. ( D* b& x+ K, c/ j, \; q
  906. ;extension=php_soap.dll
    ( e5 R% E  I4 X7 ]
  907. ;extension=php_sockets.dll" c. s: E' f6 A
  908. ;extension=php_sqlite3.dll
    % a9 |5 U5 c5 A- y2 O* v; d
  909. ;extension=php_tidy.dll
    6 B9 ?" z2 P% e& i- S& c. {7 G
  910. ;extension=php_xmlrpc.dll8 e2 }7 _/ P9 |0 I% f
  911. ;extension=php_xsl.dll
    / d; O- N. s- P6 w8 c4 m" y
  912. . ^4 u( k: D7 N# f1 v* V  \8 `
  913. ;;;;;;;;;;;;;;;;;;;9 h: n5 _1 w: y7 ?7 C
  914. ; Module Settings ;) U% r# Y1 g! K' Q9 ^! F/ Y& V9 j9 h
  915. ;;;;;;;;;;;;;;;;;;;
    4 M0 `) G3 M1 m, f: W4 @/ d

  916. - _8 z. Q$ w6 n+ O
  917. [CLI Server]
    " v7 Z1 z! I" T, M& K
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 p% V8 t0 V8 b$ C) L- Y2 l6 m
  919. cli_server.color = On0 H0 E, m7 X; A: R. A

  920. % w7 w2 T- e# |1 e, {  \4 P
  921. [Date]
    5 E" T% C' ^0 d& |& X/ k0 n
  922. ; Defines the default timezone used by the date functions
    0 y) o% ?+ s# d. X0 x
  923. ; http://php.net/date.timezone
    , h4 g! ~2 }+ {
  924. date.timezone = PRC4 |3 t$ F& u2 s; ~! I  c
  925. , P2 K6 g9 C. C6 f- E! |
  926. ; http://php.net/date.default-latitude/ b, J' y3 w7 t0 `+ l, ^
  927. ;date.default_latitude = 31.7667
    : A  D: ~' \2 \: e" N& l7 a

  928. : q/ v- ]2 Z- R% T& T- ^
  929. ; http://php.net/date.default-longitude& C1 N  d) x) Z2 Z
  930. ;date.default_longitude = 35.2333* W2 s& j/ L1 E, d
  931. 8 q3 W4 W& n% O6 a! _
  932. ; http://php.net/date.sunrise-zenith* \& }# \2 L8 ~( `/ R
  933. ;date.sunrise_zenith = 90.583333
    ) p$ r' _4 A& f4 U/ R
  934. 5 V9 }- j$ d1 T* o
  935. ; http://php.net/date.sunset-zenith+ J6 h, Y6 g7 M9 O
  936. ;date.sunset_zenith = 90.583333* d& x( D( W; ]( r8 z$ K
  937. 4 @$ g% E0 j& l2 P7 J0 `  D$ k
  938. [filter]0 X7 k2 N. j* g1 O* K1 }
  939. ; http://php.net/filter.default8 G" g6 k3 }2 M! r- @
  940. ;filter.default = unsafe_raw
    " ~" O1 e- f4 w: c* l

  941. " x* B) t8 A- X; i4 Y
  942. ; http://php.net/filter.default-flags8 X; ?" k- E$ Q0 s
  943. ;filter.default_flags =
    ) ^( V7 l4 H) o& ]  p/ A6 j

  944. 7 K  M) W( L6 w4 x& @$ R
  945. [iconv]
    5 P9 S9 b7 n* l) A5 Y7 \8 {2 F7 A
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.# s: I9 r. @8 |# Q6 ~
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 ]4 ^8 g. r8 U
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding' x# a: r" P- \+ [4 }
  949. ;iconv.input_encoding =
    4 _) F1 ^% z5 N# E* Y. l
  950. " H8 Q7 P, g2 T( H: U2 F7 _
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 G- J' G- x( ]- {
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 E# c) M: L2 Y& h4 z
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 D' \& d. P' q; Z, c
  954. ;iconv.internal_encoding =
    2 X9 z' T# @3 h/ i6 s/ t

  955. 6 _! C( B9 U& ]! i) o/ E% a
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.9 h4 }% A: F& A0 I; W
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    : I! N' K, H' X8 z, z. ]' _7 `
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! S. ^  y6 O7 f' @1 |/ d6 c
  959. ; To use an output encoding conversion, iconv's output handler must be set
    5 G5 ^% N, \# K' p) Y
  960. ; otherwise output encoding conversion cannot be performed.1 F. z6 N' S$ L9 B
  961. ;iconv.output_encoding =+ ]! X" }$ x8 X9 D' B/ h" {, c

  962.   }9 y: p# n5 u* y
  963. [intl]9 u& u" j  D2 |4 t. J  A5 h
  964. ;intl.default_locale =
    1 k! P: \; c5 J4 V
  965. ; This directive allows you to produce PHP errors when some error
    & V  H) O2 ]9 V  l  a
  966. ; happens within intl functions. The value is the level of the error produced.
    - |/ ^% m- B! L
  967. ; Default is 0, which does not produce any errors.. P- G. b. l0 a' w
  968. ;intl.error_level = E_WARNING
    & ~6 g: o4 Q+ x2 }) r8 n6 N
  969. ;intl.use_exceptions = 05 s: u- C: V! f( _# ^& x- h
  970. ! m, q# \# X0 c( R" s0 a* R
  971. [sqlite3]1 r5 ?7 `, s+ s' O% g! ^, G# F7 P
  972. ;sqlite3.extension_dir =
    ! h3 i0 a$ G% S4 u8 |! I7 q

  973. / ~, G7 O4 C- z& I' d/ y2 a
  974. [Pcre]
    - r  I1 a% `/ w" B3 n6 _
  975. ;PCRE library backtracking limit.
    7 ~; Y" c$ Y% A$ B0 I7 b
  976. ; http://php.net/pcre.backtrack-limit2 I5 k  O2 c3 r! v* K6 D2 A8 R" T8 S6 t
  977. ;pcre.backtrack_limit=100000: a+ F- G. i) F! B

  978. / t8 O' Q! H9 p* e
  979. ;PCRE library recursion limit.- a, W; k; L! C4 W1 n
  980. ;Please note that if you set this value to a high number you may consume all
    " s1 Z/ ~6 `" }& X
  981. ;the available process stack and eventually crash PHP (due to reaching the' Z! W' R! g, L$ z+ U' }, f
  982. ;stack size limit imposed by the Operating System).) a& o5 k$ a& _4 q2 E
  983. ; http://php.net/pcre.recursion-limit
    & M2 I3 A' D5 N( R
  984. ;pcre.recursion_limit=100000
    , m3 s. m1 Q7 P& W7 w  }! `; e

  985. # Y& i. n* ]3 w: X4 v9 T
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE; D. h0 j7 D0 V" N& C
  987. ;library to be compiled with JIT support.
    ; B. {1 T2 R6 A, z8 Z4 H4 T
  988. ;pcre.jit=15 [0 d/ D$ [' N8 c

  989.   B# b/ i( U( e' D) \9 T) N
  990. [Pdo]
    - R' X$ v! a" l- Z" `
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    7 u2 Z7 T" u7 z+ T. n% }5 r( P
  992. ; http://php.net/pdo-odbc.connection-pooling
    + i2 {' q$ Y- B& Q2 X, K
  993. ;pdo_odbc.connection_pooling=strict
    + ?: }! ^5 D" g7 F1 p+ j) b

  994. + M/ P& s  G$ D
  995. ;pdo_odbc.db2_instance_name
    6 G/ `0 ^1 Y- H+ d" b

  996. ) p& T( V8 Y4 g3 e' ?5 V  A5 Q' P# G
  997. [Pdo_mysql]
    8 Y' L/ D1 ~( J: n3 h- ]' U7 y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache- F7 n. J$ r1 c+ d, o2 }' e$ B
  999. ; http://php.net/pdo_mysql.cache_size
    : K. x( E1 {# d
  1000. pdo_mysql.cache_size = 2000
    . L3 N3 n$ t1 J7 e3 O4 H& @. t
  1001. 5 |+ X* @/ e' }/ R! J& N7 D1 G& W
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in, B3 r2 g  O+ p& h* V
  1003. ; MySQL defaults.2 u0 X" p# S+ k* D- }
  1004. ; http://php.net/pdo_mysql.default-socket: s/ U. t( k4 p& E- J
  1005. pdo_mysql.default_socket=
    1 w) L% r- F/ {, E9 Z$ U; U
  1006. . u: n' Y% T8 k' I+ P0 ]- _# o8 M% k
  1007. [Phar]+ C; L0 S# I8 L8 R& J% A) ?- ^
  1008. ; http://php.net/phar.readonly
    6 {$ t4 v4 O. s% \, i7 U! ^3 B
  1009. ;phar.readonly = On7 u" q% o% ?# g8 J/ s! |' x
  1010. 7 i$ f/ {, _' H; N: J$ i$ M( j8 E
  1011. ; http://php.net/phar.require-hash
    ; ]5 p0 u  B2 c  r
  1012. ;phar.require_hash = On
    9 p  {( P. A: @; U! z

  1013. ! g$ ]& A7 Y% A0 w0 U- A
  1014. ;phar.cache_list =+ R7 Y3 h' y7 `3 j0 b9 [
  1015. 6 g* t0 U" P: r$ K
  1016. [mail function]
    7 t. j3 K$ \. b$ u: x- r! c
  1017. ; For Win32 only.8 A# ]( d2 R4 e
  1018. ; http://php.net/smtp# X$ I. K: c. N- ~% r( F
  1019. SMTP = localhost' b& j5 ]5 l& q& M. ~8 d
  1020. ; http://php.net/smtp-port9 m& d- s1 m% }2 s, \5 `& E$ _3 a7 {
  1021. smtp_port = 25; D/ A6 b4 w! b6 S: T5 ~+ f/ T
  1022. . ~7 B1 b6 ?" v
  1023. ; For Win32 only." F7 x* K3 e% {# o
  1024. ; http://php.net/sendmail-from, R" j4 d; X& ^. J2 X
  1025. ;sendmail_from = me@example.com
    ' W$ i! X) D. T

  1026.   a8 H6 w$ N+ X5 ~& p# c
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    : Z5 u. k% U: l2 U
  1028. ; http://php.net/sendmail-path' ~; o$ ]; ^. a6 _& P$ `6 O9 S9 X
  1029. sendmail_path = /usr/sbin/sendmail -t -i8 R& ~2 c. Y$ Q' g  c8 [

  1030. & f5 J; Q+ F* m! O7 ~  i3 [
  1031. ; Force the addition of the specified parameters to be passed as extra parameters& e, D  q% N8 _1 J" @& E9 L  K
  1032. ; to the sendmail binary. These parameters will always replace the value of/ k( g, J  u* F' N
  1033. ; the 5th parameter to mail().
    $ s. x, X, H* ^) p- N3 [" a; r" B6 _
  1034. ;mail.force_extra_parameters =( N5 z% p/ m$ b
  1035. 6 g/ Z/ P4 Q$ S% Q4 z  A: ^
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & {) A( P6 M9 J, E
  1037. mail.add_x_header = On
    6 {- g) a  S: _' f/ @7 N5 c3 a. k
  1038. ) D4 P9 O% R3 e. U$ l, x( W
  1039. ; The path to a log file that will log all mail() calls. Log entries include: }. ]$ B! a, e) C
  1040. ; the full path of the script, line number, To address and headers.
    ' ^% e1 L  }- Y1 v8 f( a
  1041. ;mail.log =" z0 [- r8 L0 Q" T9 ?) ^
  1042. ; Log mail to syslog (Event Log on Windows).( \9 U5 A0 w' t5 A' [8 v. ]+ T0 O+ l
  1043. ;mail.log = syslog, P. N' t! V) }; N4 t

  1044. ! a5 L7 a+ ^! b$ J7 @& W
  1045. [SQL]: T0 P8 ]3 s6 o# U4 |/ x
  1046. ; http://php.net/sql.safe-mode
    ) \0 h  L* X4 j/ g* v! I  i
  1047. sql.safe_mode = Off
    + v+ ?+ N# W3 M6 ?; O

  1048. 8 a( _* X$ T( S8 j7 X
  1049. [ODBC]
    " L' {% I, q+ ^/ w
  1050. ; http://php.net/odbc.default-db- B& [* A% v/ {: ^0 n; y
  1051. ;odbc.default_db    =  Not yet implemented9 g1 _1 Y1 ]* u) Q$ b
  1052. " |# C4 b3 n( E! T, W; Z! I2 H& t" ?
  1053. ; http://php.net/odbc.default-user
    3 P& J. u; C! R3 V5 e# s& I
  1054. ;odbc.default_user  =  Not yet implemented
    # u" e5 m# b' C3 u; y/ d7 o
  1055. ' |; }$ {' q' @* r- {0 N1 u, X
  1056. ; http://php.net/odbc.default-pw7 }: ^: \" d' v/ M" R, J
  1057. ;odbc.default_pw    =  Not yet implemented) c9 G" I8 v& h) ^3 i7 K

  1058. # }& q* [( z0 L) [
  1059. ; Controls the ODBC cursor model.0 b3 Q6 L: R2 E6 R4 p$ A
  1060. ; Default: SQL_CURSOR_STATIC (default).. O1 ]! x; v7 j
  1061. ;odbc.default_cursortype, ]7 C" u: {  i" j7 R4 H
  1062. 4 u/ d9 h& @1 p: a  }
  1063. ; Allow or prevent persistent links.
    ( y  k( S4 I/ {! F3 A
  1064. ; http://php.net/odbc.allow-persistent
    % W3 x: A- [5 }( |7 L
  1065. odbc.allow_persistent = On
    $ }7 R, @5 M% Z- E

  1066. 4 I& W2 ^9 q  i: s3 _  v6 `% l# _
  1067. ; Check that a connection is still valid before reuse.
    % D- Q5 C+ j# b8 l
  1068. ; http://php.net/odbc.check-persistent+ m( q, {; Y9 I) F+ p0 ?. G' o
  1069. odbc.check_persistent = On0 L$ L& J. L5 W3 b5 G
  1070. " B0 _! o! L8 G6 Z
  1071. ; Maximum number of persistent links.  -1 means no limit.
    3 I- R  h& L; k, p
  1072. ; http://php.net/odbc.max-persistent" \0 T  a8 Q+ K% @1 `
  1073. odbc.max_persistent = -1) C  s! Q, g( g2 \' q

  1074. * F0 Z( W1 S7 J1 }6 m% Z; p
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: v: g- |9 K7 G5 M
  1076. ; http://php.net/odbc.max-links
    & i& I9 B" D2 J
  1077. odbc.max_links = -13 p/ u/ U. {. B( q) U

  1078. - j9 t9 s$ T0 p2 {5 h6 v
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    6 y, `% d" Q; L. G  Z) G# o
  1080. ; passthru.
    & e2 j9 \( w6 X, C7 n
  1081. ; http://php.net/odbc.defaultlrl
    7 p/ j# a+ h% w3 A7 @8 @& b
  1082. odbc.defaultlrl = 4096
    ! q8 K$ Z6 I: z0 V' N3 |) C
  1083. " T. L  W6 @2 j
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 ^/ n: [& B* J" d! n* j: p
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    0 ?7 C# h9 V# E7 y/ d
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode& E7 z# }  a$ o  j( @2 W! Z$ k
  1087. ; http://php.net/odbc.defaultbinmode
    ! `5 i' e% c+ h  h" R9 p5 E! S$ f
  1088. odbc.defaultbinmode = 1: B' `. S+ `+ G& u

  1089. $ h& }2 {$ X! r, L6 ]  |$ d, g2 o. l
  1090. ;birdstep.max_links = -1
    : P& V+ E! f) {

  1091. % g0 Z  G/ s& p. O. c0 W
  1092. [Interbase]
    . _& w% A# O4 q2 G( r- ], c1 y
  1093. ; Allow or prevent persistent links.
    5 K3 [' H6 h  z" y/ G. j1 D
  1094. ibase.allow_persistent = 1
    8 C/ F% Q' K/ W* g
  1095. $ b5 g& c6 s. o4 J2 l' ?9 n
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ; ~7 K& ~) {2 u
  1097. ibase.max_persistent = -10 k2 q+ R. U8 P# g( f' q- t' S* g( `
  1098. 0 N6 C# K/ U( b7 ~8 e
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' G* u! K) p: l- S$ s
  1100. ibase.max_links = -1
    ( f. M1 m6 g0 M! ^" u
  1101. 7 g; Z! C: D0 k
  1102. ; Default database name for ibase_connect().
    , H4 G- o9 X5 [8 |
  1103. ;ibase.default_db =$ j" A2 u+ t) [

  1104.   @6 q* l9 F# z" w
  1105. ; Default username for ibase_connect().
    - {- i. R8 z. Y1 m6 f9 A
  1106. ;ibase.default_user =8 `& \8 Y8 c1 n7 J7 U$ Z
  1107. # Q- j0 r& A2 p: A* l
  1108. ; Default password for ibase_connect().
    + s8 G1 z4 m. V: v/ q
  1109. ;ibase.default_password =
    " f; Q- M2 A5 n! d, m# f
  1110. ; w' _  d, a+ Y5 m, b, ?' M/ R
  1111. ; Default charset for ibase_connect().9 S& e1 R# a' V
  1112. ;ibase.default_charset =
    ( C8 U1 r( c& x  ]1 v
  1113. & ~( O) m9 |8 y" P' [
  1114. ; Default timestamp format.1 u9 ]' `+ u/ w; o2 r
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", z" l" Y6 a( a2 `" g5 V& j/ _
  1116. ( R$ E3 b" l6 }1 O4 s1 d$ \. j6 M
  1117. ; Default date format.! s& c: P7 u* W/ K2 V+ k+ _, }8 O
  1118. ibase.dateformat = "%Y-%m-%d"3 J- l8 `1 i. l1 H6 I! [, \

  1119. 7 n; n  B9 v8 q" X0 T; A
  1120. ; Default time format.0 {# P. @$ F9 I( l2 Q" T
  1121. ibase.timeformat = "%H:%M:%S"
    * ^3 I" g3 w9 s. m( y8 j" J+ J: b4 ?

  1122. , \, k+ N+ ?1 D6 v
  1123. [MySQLi]  y9 E, m- ~0 F9 p/ I5 L

  1124. ; R9 [$ J1 p7 V; q9 K5 q* R
  1125. ; Maximum number of persistent links.  -1 means no limit.: F( B" p* Q+ N! ?
  1126. ; http://php.net/mysqli.max-persistent  a$ l7 W2 T+ o6 t) M. K& r( r
  1127. mysqli.max_persistent = -1
    & I& Q. G/ X. W2 F' x) f  Z

  1128. 4 Q' Z$ Q3 t9 n6 S5 e, e; M
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & s& E/ D( m1 x5 e/ b! S3 b
  1130. ; http://php.net/mysqli.allow_local_infile
      C) a& l: U; O' F/ S. a
  1131. ;mysqli.allow_local_infile = On
    $ E8 E9 l" I, T8 Y5 u# X
  1132. # V3 O8 S- I4 T; s
  1133. ; Allow or prevent persistent links.6 [" T# H  k% N; e8 }- u3 S- u; R
  1134. ; http://php.net/mysqli.allow-persistent
    3 G0 @) H: E2 r& T$ f7 H
  1135. mysqli.allow_persistent = On
    ( \/ C) ]  y: I, o& Z

  1136. 5 I8 B8 w  T% Y5 Z% _% a
  1137. ; Maximum number of links.  -1 means no limit.8 S) {+ y3 @, R
  1138. ; http://php.net/mysqli.max-links9 ~, D' a6 N' J: m% |
  1139. mysqli.max_links = -15 R# v& A) i% Z0 V5 v$ |1 D

  1140. $ D3 C6 O1 B  `/ {0 W- ^
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 S1 @' O" r8 r( _0 B
  1142. ; http://php.net/mysqli.cache_size2 X! z- [3 m3 e0 X  ]) G
  1143. mysqli.cache_size = 2000
    0 \2 A5 i# g5 L- }
  1144. # s$ s/ E% I- e4 Z) W1 G! m
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      [: P: H9 j2 ^' t- ], p2 L
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 l6 w9 w/ c& C. D( @" O" W
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 v) t* Z; e) @0 {
  1148. ; at MYSQL_PORT." y" R: s) Z6 J8 N5 C
  1149. ; http://php.net/mysqli.default-port
    " R1 Z7 K  r1 ?8 y7 P" E
  1150. mysqli.default_port = 33066 x% v" V7 R( |4 t2 i! b$ n

  1151. 0 `$ N0 p4 B9 B$ g( W
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 a! e( P# P2 I% e1 }
  1153. ; MySQL defaults.& ?7 D  ~5 [3 S' w
  1154. ; http://php.net/mysqli.default-socket  `- m& N$ g; O. y
  1155. mysqli.default_socket =
    ( `! D' E( I; ]* n% n, _0 n2 e

  1156. & \* r1 s1 j6 l, r1 S. M1 w
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 p' \( r4 K  n3 Y
  1158. ; http://php.net/mysqli.default-host
    3 ~- S9 ^1 b2 G4 b
  1159. mysqli.default_host =! g7 B" [* b3 R# O# J
  1160. & w9 ]( b' [- S' m+ L. u
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).% _0 q( u" K, N/ D
  1162. ; http://php.net/mysqli.default-user
    ; s* A# x4 l0 L
  1163. mysqli.default_user =
    % A! x' W( E+ I; |, a8 p0 @

  1164. % d* Z: W! h2 b
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    . l" p. C3 T3 J: l" r. x: x# ~
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.3 {, ]- ^$ B# T" J! G
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 g- B( ]2 V7 t5 Z- n% S! _. l
  1168. ; and reveal this password!  And of course, any users with read access to this
    ) S+ g" M3 x% e& b
  1169. ; file will be able to reveal the password as well.
    0 i7 j% Z  l- a/ g7 D$ C% Q
  1170. ; http://php.net/mysqli.default-pw
    ( K+ [+ I+ E( s* e$ \+ L
  1171. mysqli.default_pw =# @3 N% ?. k$ ~# I* j7 l7 ~- K, O
  1172. ' F3 H4 U: A# s5 |% w, E) U. a
  1173. ; Allow or prevent reconnect' D; M/ K; J7 n7 K* d5 ^2 k
  1174. mysqli.reconnect = Off8 x# e+ y/ e, M$ z7 X

  1175. ; W$ ^1 L. O, Z1 U3 }8 C3 h
  1176. [mysqlnd]
    % d/ c7 D- r3 r8 [9 C- j/ {( L
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be# G, s- \; `% l: R. j; F
  1178. ; used to tune and monitor MySQL operations.
    , u# f, `' _8 a% O' V
  1179. ; http://php.net/mysqlnd.collect_statistics
    6 f( s) G6 x! k9 A8 j5 U
  1180. mysqlnd.collect_statistics = On1 J$ b  r4 K1 ?( E4 m

  1181. ) A7 \% Y* i: Z5 }% G
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# u* O) q" f& t& ^' i7 n7 S
  1183. ; used to tune and monitor MySQL operations.8 `" ~3 P, Y0 r. J& c
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    + O0 J1 F* ?; }) m) u
  1185. mysqlnd.collect_memory_statistics = Off
    ' `+ t8 {3 r5 W/ \
  1186. 1 g1 r* p6 f6 V; c5 L: H% l  a. r/ j2 |4 i, y
  1187. ; Records communication from all extensions using mysqlnd to the specified log& I* p! A9 z8 [! M* n+ A' Y
  1188. ; file." A. Y' ^: r" M: |# {' o
  1189. ; http://php.net/mysqlnd.debug2 K+ @0 ?0 k2 E
  1190. ;mysqlnd.debug =7 E0 F! T: A' B' ^9 \5 }$ g# \' `
  1191. ) a* Q: E( y; j5 _
  1192. ; Defines which queries will be logged.& c6 \8 N' \. b9 A+ G! B
  1193. ; http://php.net/mysqlnd.log_mask
    / s- b  B4 E" h& Q
  1194. ;mysqlnd.log_mask = 0; c6 |$ J: K7 x! M2 H1 {
  1195. * I$ o' x7 q  |' d3 D$ [; a! Q* a, |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 g  ?# {, g9 ], T: l
  1197. ; http://php.net/mysqlnd.mempool_default_size
    4 @2 J0 E; x1 N, V9 q
  1198. ;mysqlnd.mempool_default_size = 16000: [/ l8 x. E3 Q& D3 t

  1199.   L- |# S4 ], q3 L' D, ]% ?
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.$ X8 T; P0 p. \
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " d$ W; m8 ~% z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048" b7 x1 Q- S2 Z: A5 `

  1203. ( i$ o! Z1 B7 q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in5 k, p" U* x2 E3 k* z2 _' S4 V1 |
  1205. ; bytes.
    6 Z; p8 S6 |( i4 w9 p
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # p9 X# g3 B4 `
  1207. ;mysqlnd.net_read_buffer_size = 327680 ?2 p! h/ [/ W  \5 A1 U* U
  1208. - Y+ Z5 E3 {- H% f1 T: h" y
  1209. ; Timeout for network requests in seconds.
    2 V) P9 d6 f/ ^5 J# y$ g
  1210. ; http://php.net/mysqlnd.net_read_timeout, U$ `1 x4 E5 l6 |5 v/ B4 F6 Z8 j! Z
  1211. ;mysqlnd.net_read_timeout = 315360008 n$ n% t' r" o' u1 [& u2 k
  1212. " ]5 _! G3 A, p/ R1 }  ?, y1 g2 n
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , A2 s3 O0 p! ^8 t. _0 `% i9 b
  1214. ; key.
    " @9 _. K" N, |' L  F0 [4 m
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    $ M. j6 }, c! @# [
  1216. ;mysqlnd.sha256_server_public_key =
    ) P) x3 F+ H2 f8 B' `6 @1 \
  1217. - a( Z% F9 q: A6 m0 y- B- {
  1218. [OCI8]$ Z" `, f* ~- [' f) M9 u

  1219. 3 S' K; a9 o- m& r, t6 Z! Q2 ~$ ^
  1220. ; Connection: Enables privileged connections using external( j8 b& {+ L3 [  [% [9 s8 t
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    9 h8 Z- h3 A% N% j7 C1 _
  1222. ; http://php.net/oci8.privileged-connect
    6 w9 F! O  d! Y3 ^1 q. }
  1223. ;oci8.privileged_connect = Off
    * _: q# y6 s3 m+ o) h9 Z% ?

  1224. : D+ l/ F$ P" |0 e1 o
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    8 Q5 u0 p, a1 W+ ?& {/ p6 I
  1226. ; process. Using -1 means no limit.
    * ^8 a: h+ e& a
  1227. ; http://php.net/oci8.max-persistent+ @4 g7 N3 r& b* W7 L- R
  1228. ;oci8.max_persistent = -1
    2 p/ k' ~  a0 O6 w

  1229. 9 O0 b( F8 _* \
  1230. ; Connection: The maximum number of seconds a process is allowed to- _; s, i5 Q7 F' H1 `
  1231. ; maintain an idle persistent connection. Using -1 means idle" l0 y7 }$ {' a& G  d
  1232. ; persistent connections will be maintained forever.
    ( y- A! |# P. `5 R
  1233. ; http://php.net/oci8.persistent-timeout
    1 M' Z9 T; H7 }. o
  1234. ;oci8.persistent_timeout = -1
    % R) u( _8 z6 j% K3 ~( Y* Y3 R
  1235. # i/ e: D, U9 B0 `+ I2 f' D1 x
  1236. ; Connection: The number of seconds that must pass before issuing a. N3 T5 ~) C' |0 j2 \5 @, o
  1237. ; ping during oci_pconnect() to check the connection validity. When
    " O& r) g! ~$ K$ O9 g, H# w
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& z$ c- j! F: F8 R7 {' d
  1239. ; pings completely.8 t1 I& e5 s( ~# D& b
  1240. ; http://php.net/oci8.ping-interval
    + K  e" t' D& w3 `5 r8 q
  1241. ;oci8.ping_interval = 603 D9 E( j! N) Q! p5 ^

  1242. 7 w  E$ {- \8 G
  1243. ; Connection: Set this to a user chosen connection class to be used
    & Y& |+ s' j* }
  1244. ; for all pooled server requests with Oracle 11g Database Resident4 O8 H2 C( j% B; ^4 J" b
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to2 ?( }- q+ J5 ~/ d6 V6 Y8 p0 V8 k
  1246. ; the same string for all web servers running the same application,  S% H2 J5 h+ f; @' Y0 h
  1247. ; the database pool must be configured, and the connection string must0 I% Y; V5 [; M7 h8 P; L! g) ^
  1248. ; specify to use a pooled server.
    + N6 j, Y" F) d4 A5 I+ ~
  1249. ;oci8.connection_class =
    9 y% H* F6 \0 b  E+ J+ B* w1 \

  1250. ' `$ d1 Q8 |  l2 {
  1251. ; High Availability: Using On lets PHP receive Fast Application$ p* I% s0 M" L0 v2 f
  1252. ; Notification (FAN) events generated when a database node fails. The0 X- O* R& d1 i
  1253. ; database must also be configured to post FAN events.
    : f- f0 C& U+ N0 P+ \$ s8 J
  1254. ;oci8.events = Off
    " R" C0 P7 f, K' j. b

  1255. 0 d( E% o3 u' H4 H2 d# f
  1256. ; Tuning: This option enables statement caching, and specifies how
    / `: \6 q- D* l+ m3 ^8 e( B+ `; c
  1257. ; many statements to cache. Using 0 disables statement caching.
    ) ~! t$ O% [2 Y0 }; s+ ]
  1258. ; http://php.net/oci8.statement-cache-size
    2 i6 u  m/ g% h+ R% g. ]: F
  1259. ;oci8.statement_cache_size = 202 Z; ]2 z% K2 u5 }( L0 L
  1260. ' x/ K4 H! n& w. e, A- e
  1261. ; Tuning: Enables statement prefetching and sets the default number of5 j( d! x& Y8 M2 w( A% q; J) E/ r
  1262. ; rows that will be fetched automatically after statement execution.
    ! [( ?$ s7 Z% z8 q$ O4 H- W
  1263. ; http://php.net/oci8.default-prefetch
    4 F0 _' a) |, R
  1264. ;oci8.default_prefetch = 100
    0 P  i( H/ @* y) C' _% M% x) k% i

  1265. " ?6 l6 w: m# ]+ J6 k( o
  1266. ; Compatibility. Using On means oci_close() will not close, K! `' q  o( m/ g( Y
  1267. ; oci_connect() and oci_new_connect() connections.
    # e9 K2 V$ U* N) L+ }% O* W
  1268. ; http://php.net/oci8.old-oci-close-semantics- b" c( k" _+ X1 D' R% v
  1269. ;oci8.old_oci_close_semantics = Off
    ; G; a) A( o3 V: p0 e+ K
  1270. 9 U# s& p9 B2 H5 e
  1271. [PostgreSQL]
    1 M  o/ y% g' V" M! E' J
  1272. ; Allow or prevent persistent links.) j' ?* ^! l4 ~! c3 n9 Z
  1273. ; http://php.net/pgsql.allow-persistent
    9 ^' C4 K1 `2 k% U8 p! ?
  1274. pgsql.allow_persistent = On( g# L" m9 ~& v3 v

  1275. 3 Y4 c9 \2 p, K$ S
  1276. ; Detect broken persistent links always with pg_pconnect().  q. _9 a  M% w5 ]$ N) z
  1277. ; Auto reset feature requires a little overheads.
    + D% b7 F1 R( ~. r# S
  1278. ; http://php.net/pgsql.auto-reset-persistent2 h4 X  P# S* e5 R& ~& S
  1279. pgsql.auto_reset_persistent = Off; K5 d# D. m4 I- P2 L9 j" L# m" Y# H

  1280. 8 `! t  S- `4 z7 e: l+ X
  1281. ; Maximum number of persistent links.  -1 means no limit.' a/ F% c# `, z) i! b# ?
  1282. ; http://php.net/pgsql.max-persistent) K- z; ^( J, b( s1 T
  1283. pgsql.max_persistent = -1
    & c( |! K. M. Q# u

  1284. * G& K! ~0 u2 i  o8 h
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + M' G; W0 v; i
  1286. ; http://php.net/pgsql.max-links
    # W* X+ J8 S/ ~
  1287. pgsql.max_links = -10 z. \) e4 U0 A* ?2 u8 \  S

  1288. + v# b$ C: k( f1 K' d
  1289. ; Ignore PostgreSQL backends Notice message or not.8 F2 l* R# H: L( S% R3 W
  1290. ; Notice message logging require a little overheads.
    2 j4 r3 Z5 q; q
  1291. ; http://php.net/pgsql.ignore-notice$ N8 W2 U2 m3 {2 N  [7 Y& [
  1292. pgsql.ignore_notice = 0
    % M) g7 E: J6 D( }% s

  1293. . x9 ?, U% g! R+ Z9 v& o4 F
  1294. ; Log PostgreSQL backends Notice message or not.
    9 N& h, K9 g# ]) I
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 P) a1 H( N5 N( Y8 x
  1296. ; http://php.net/pgsql.log-notice) N( l) }& b# m) ]' z2 a. ]0 l
  1297. pgsql.log_notice = 0; f# z' g! V  S, q  m. q$ c

  1298. & d0 D# q. O2 Z2 b1 ?3 K+ h
  1299. [bcmath]
    9 R  M4 z  k$ p& X
  1300. ; Number of decimal digits for all bcmath functions.# ~6 `& H1 {+ d. f9 {
  1301. ; http://php.net/bcmath.scale; |' W' k# C) [( c7 r$ Z4 y8 g# K
  1302. bcmath.scale = 0
    # d! z3 G- X; z0 J# Y3 C
  1303. 0 D/ A7 X8 u$ w, d( v3 `
  1304. [browscap]6 Q8 m8 ~5 Q3 G" Y; y
  1305. ; http://php.net/browscap% S" \8 r0 G, _0 U9 ^/ C
  1306. ;browscap = extra/browscap.ini" U& ~8 m5 ]; g( {' q' G
  1307. , C9 G( s* J, W3 D. p  R
  1308. [Session]. e6 {" e2 v6 V. H9 J1 v; n
  1309. ; Handler used to store/retrieve data.
    ! g. z9 |8 I* H1 x; o! u; g% d
  1310. ; http://php.net/session.save-handler2 V8 x- Z; k, F& v4 M5 ^
  1311. session.save_handler = files
    3 }# ]$ f% _! H+ l! e3 t

  1312. ! G7 h/ W! g/ D5 U7 i
  1313. ; Argument passed to save_handler.  In the case of files, this is the path8 o$ Y2 ^& |" g" M* W
  1314. ; where data files are stored. Note: Windows users have to change this" {/ ?* [0 e0 C" K! {  h0 q: }
  1315. ; variable in order to use PHP's session functions.
    & d; v! M" I4 `: a6 Z* x
  1316. ;& s6 r' y# V2 C$ s+ B7 N
  1317. ; The path can be defined as:
    , k* F9 b0 E! m# C# C6 ~! X1 a
  1318. ;; I  e" Y& q7 X5 @
  1319. ;     session.save_path = "N;/path". D+ u* W" `( \! d9 W
  1320. ;
    2 p8 n' u, _) E) y) T
  1321. ; where N is an integer.  Instead of storing all the session files in7 A: E' k5 g' A8 X9 w
  1322. ; /path, what this will do is use subdirectories N-levels deep, and$ O) A+ P, |# E# A1 ~: N5 L# Q
  1323. ; store the session data in those directories.  This is useful if" O8 u7 W8 u, K7 f: @/ z
  1324. ; your OS has problems with many files in one directory, and is* N4 T6 \* }) s5 Z0 p
  1325. ; a more efficient layout for servers that handle many sessions.
    0 ?1 r. S$ J1 c/ a
  1326. ;
    1 t9 F% `9 I$ ^1 {0 D0 P
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    6 K5 j9 O% t+ P8 j' u
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 m. w  q. Y7 d2 v( k9 K7 d. Z
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    * h6 O5 m3 f7 i6 g+ q+ A% G: I1 k
  1330. ;         use subdirectories for session storage
    * P) Q8 j1 V' x) ?$ S% N  P8 p& ^
  1331. ;/ |, ?: |! v$ l6 [: [
  1332. ; The file storage module creates files using mode 600 by default.+ ]0 [) d* Y: e+ o: J/ _+ U
  1333. ; You can change that by using) {* b: x! l, R/ W
  1334. ;2 ?  _' L$ s! |& M5 S% `, f# c! }! n
  1335. ;     session.save_path = "N;MODE;/path"% L! @5 j8 _% L  {
  1336. ;
    ' D1 Q. q) a1 G$ T: Z7 \; [
  1337. ; where MODE is the octal representation of the mode. Note that this
    1 ^( m3 h6 F% I
  1338. ; does not overwrite the process's umask.% A3 l" @  [" X+ [/ x
  1339. ; http://php.net/session.save-path
    0 c- r. x" R, `' }
  1340. ;session.save_path = "/tmp"
    7 J( ^( ~8 l4 R1 Y" r/ F# F6 a
  1341. 5 ?6 y# H+ _! C0 J8 u
  1342. ; Whether to use strict session mode.7 J1 J( M$ ?; M& H% L3 e. p
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    # d: U$ [+ {5 b  v  s' L
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " R" o( Z: O; P$ }& F. W
  1345. ; applications from session fixation via session adoption vulnerability. It is" ^! u5 P4 c+ E- e8 ]: g' x$ Q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.3 P5 c: @! h' o  |3 ^
  1347. ; https://wiki.php.net/rfc/strict_sessions+ u$ e! u5 ]8 d) `! q6 R( W
  1348. session.use_strict_mode = 01 Q  p: o, \: y8 {& l) n+ Q
  1349. - {' g7 [* B* C- d. R5 A$ l" Z
  1350. ; Whether to use cookies.2 w$ I1 c3 h/ P# `# x/ B
  1351. ; http://php.net/session.use-cookies) K- q3 r1 j7 f
  1352. session.use_cookies = 1
    ) G# v5 Q4 [$ I% R2 M' P
  1353. / ~  Z) C! L( o( y" J5 S3 B" _! Y
  1354. ; http://php.net/session.cookie-secure
    + b8 [4 k/ P$ K  P
  1355. ;session.cookie_secure =
    9 D7 ^5 ~( a( W* [& X  l  U( S8 Z( [5 U
  1356. * P& N  o, c( t8 g
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & \! [9 g' ^. c* v( }# `4 F
  1358. ; the session id. We encourage this operation as it's very helpful in combating4 ~9 X6 H% X' }- ~; {7 M; f
  1359. ; session hijacking when not specifying and managing your own session id. It is
      y/ ?/ f& t2 l
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    1 @1 d4 Z8 k) s
  1361. ; http://php.net/session.use-only-cookies. n! o1 |9 L0 c0 a
  1362. session.use_only_cookies = 1
    ) Z: R; m% |2 D, l2 h) P% {

  1363. 8 x: Q$ Z+ ?# w+ l  n
  1364. ; Name of the session (used as cookie name).
    * c  |- C; ^/ \
  1365. ; http://php.net/session.name: a+ u. h5 {* b
  1366. session.name = PHPSESSID
    2 l3 n3 A1 r' ~2 A, v. [

  1367. , W6 o2 |$ n" H, U
  1368. ; Initialize session on request startup.* u9 ]9 C% N  _* c3 t
  1369. ; http://php.net/session.auto-start
    2 D/ N) m9 U! x8 G
  1370. session.auto_start = 0
    6 y. Y- [/ n0 m; t; B! h

  1371. 3 V" j: i" k, A, S  E
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# E! Q% l5 G9 r' a1 V( m/ i
  1373. ; http://php.net/session.cookie-lifetime
    1 {: N5 e( O0 L- A0 G* {
  1374. session.cookie_lifetime = 0
    # O, A5 R- T( R

  1375. 9 U3 w8 _% i# e$ V! b4 u3 q2 v0 ^
  1376. ; The path for which the cookie is valid.  G6 ]9 q" g& V. F( B; f! E" R
  1377. ; http://php.net/session.cookie-path
    8 @1 X; T. h8 L0 A2 @/ X- ?
  1378. session.cookie_path = /
    - i5 ~- F* H  w8 Q: y

  1379. # u+ p8 {, f& |/ V
  1380. ; The domain for which the cookie is valid.
    $ N: m6 g2 [5 o" y) d5 k
  1381. ; http://php.net/session.cookie-domain- Y1 E( B+ D( G. Z4 X
  1382. session.cookie_domain =6 P0 X; W( i" |
  1383. : G. o& }% V. K/ {7 \: W
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.0 w  x- C3 p3 q
  1385. ; http://php.net/session.cookie-httponly, q0 g; N8 F$ C1 w# w
  1386. session.cookie_httponly =( [* A) t/ o) y3 U- \4 A9 I

  1387. # ]: E3 O& y( o5 k. H2 M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.& M& L* ^* R* s) z. |
  1389. ; http://php.net/session.serialize-handler
    2 e: B! `( f+ _
  1390. session.serialize_handler = php$ s) k( }9 s3 Z9 z: N

  1391. 9 g) v7 c0 G- e8 \
  1392. ; Defines the probability that the 'garbage collection' process is started
    % F" S! c0 j5 ?/ e% z
  1393. ; on every session initialization. The probability is calculated by using  r6 N( b1 v! p) q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- G% }  X4 m9 J9 e
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1- W% _! U: p5 r/ _# Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 q# e6 C- B; `' E% `, {+ f! a
  1397. ; the gc will run on any give request.
    & \* l9 z7 ?% x/ P' e9 a
  1398. ; Default Value: 1
    / _$ ]: e, W/ _1 O% c% L; _
  1399. ; Development Value: 1
    9 g+ _$ p9 v8 X9 ]  j
  1400. ; Production Value: 1) G. n: U2 [+ N) s" k4 t
  1401. ; http://php.net/session.gc-probability0 E/ f, Y/ F. \% b. ?- F. U
  1402. session.gc_probability = 13 f3 Y( `  v; E- o  K
  1403. 0 I$ I/ V0 d" p0 ~! N. m/ W' \: y7 J& f
  1404. ; Defines the probability that the 'garbage collection' process is started on every$ s; z5 U' G. ^0 v/ _4 F7 k% B2 h
  1405. ; session initialization. The probability is calculated by using the following equation:  j( R, N9 [  ~
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ j( [3 |! B- R( c* v5 x" m
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1, p& |, h; x; j3 u, V3 F
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 Y5 T6 Y, s5 h
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 r- `( S4 \9 c  v3 V' Y4 }
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,4 N, a7 S% x  Y, S
  1411. ; this is a more efficient approach.
    / c0 K: A, X3 X  ~& X3 ^+ m
  1412. ; Default Value: 100: D. {- I% l( |0 Z9 P
  1413. ; Development Value: 1000/ |, R5 O' w- p. f9 w5 s) M
  1414. ; Production Value: 1000& m8 E+ c7 k( h: C
  1415. ; http://php.net/session.gc-divisor% d9 R1 Q5 _) B! K$ @4 P' C1 c
  1416. session.gc_divisor = 10008 Y/ E2 k3 S+ r2 x4 K

  1417. & U! u( _# I# e% \3 }7 y1 X
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and/ E) i0 |# g5 E+ t$ y+ a8 w
  1419. ; cleaned up by the garbage collection process.% ?) x( O! @; y, Y
  1420. ; http://php.net/session.gc-maxlifetime  r: O0 q! h& z& k/ A5 J
  1421. session.gc_maxlifetime = 1440
    0 A5 J8 e$ q: x- F# o9 a) E) J% [
  1422. 8 `! |- _2 E* s, u6 |0 |
  1423. ; NOTE: If you are using the subdirectory option for storing session files
      Q' G: c. h5 y/ ]1 ]
  1424. ;       (see session.save_path above), then garbage collection does *not*+ n- U* u8 T* K  t7 Q# @( x; S3 K
  1425. ;       happen automatically.  You will need to do your own garbage
    0 F& @$ e3 k3 u7 h+ g" }- ?7 @1 w1 W0 N
  1426. ;       collection through a shell script, cron entry, or some other method.+ Y$ a8 J3 a) G! G) _
  1427. ;       For example, the following script would is the equivalent of
    # R, ~4 K: m1 ], ]9 h; \  `7 Q
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):5 k! z0 F. w0 f8 K  T; u5 `! \0 W
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm. B& K9 a  I# v" R) V5 R3 g

  1430. + M; L# ^" E: S& e1 }* U
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 k  G( @) u! _: ?3 B1 x0 ~
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    : @" J% p# h& H- i. ]9 d6 C
  1433. ; considered as valid.
    7 _6 P% g7 P1 l. {% s- _
  1434. ; http://php.net/session.referer-check6 X9 u) ^1 _. P, l4 j. k0 c1 s
  1435. session.referer_check =3 O- @9 v1 _4 b, o* a/ u/ o

  1436. $ N1 h) v& I: a& D
  1437. ; How many bytes to read from the file.' S' b5 a3 e8 c) P
  1438. ; http://php.net/session.entropy-length
    ; ^4 u  E, O2 W3 O8 y* A5 c
  1439. ;session.entropy_length = 325 [: q& y0 q8 O) }( a3 t

  1440. - J0 C3 U$ B3 q* s7 d
  1441. ; Specified here to create the session id.' G! _1 p  p1 x! P$ k
  1442. ; http://php.net/session.entropy-file
    " H8 z$ D% x# C' w5 b9 @
  1443. ; Defaults to /dev/urandom
    * L& |( {1 `# Z- w
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" a9 c% u9 l6 @; R
  1445. ; If neither are found at compile time, the default is no entropy file.
    2 A( F$ j0 W  ]/ I+ T3 g- X
  1446. ; On windows, setting the entropy_length setting will activate the* n" y; V3 P" w# r, s  ]  p' Z
  1447. ; Windows random source (using the CryptoAPI)( P. Q3 b& q0 c
  1448. ;session.entropy_file = /dev/urandom8 X+ x$ x9 T9 F- ]

  1449. 6 J) m& V# e0 {9 i3 a1 M$ F
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 f9 z* f$ i0 X8 |3 e. Z1 U4 @6 h6 s
  1451. ; or leave this empty to avoid sending anti-caching headers.) G$ Z4 M" c! e. e  q- i
  1452. ; http://php.net/session.cache-limiter1 G  X' f  @5 r3 Q. G
  1453. session.cache_limiter = nocache' H& \* f  b' H5 V  A7 a

  1454. 5 z, f  u; `6 h* |: E; _9 i* n
  1455. ; Document expires after n minutes.* t* E3 S# [9 ~4 H$ M
  1456. ; http://php.net/session.cache-expire
    % F- c& A. B, j7 E2 |+ T5 m- j
  1457. session.cache_expire = 1801 y3 Q* ~6 \  t0 E0 k
  1458. . e+ a, A  n9 S5 e" o# J
  1459. ; trans sid support is disabled by default.
    / w6 _5 t* Z6 p( h8 G8 a& B$ X
  1460. ; Use of trans sid may risk your users' security.
    1 V& y: H7 s: u: O5 u  y0 [
  1461. ; Use this option with caution.4 ^7 T6 x) ]1 e
  1462. ; - User may send URL contains active session ID
    ! D0 D& U. M3 B, b
  1463. ;   to other person via. email/irc/etc.! F7 h9 d. t7 a+ k# k$ I( a+ B" U) i
  1464. ; - URL that contains active session ID may be stored
    - [5 k4 \" k: w- m. o7 \1 e( n1 b
  1465. ;   in publicly accessible computer.( X7 W1 G4 @% A3 R( C+ A* `  H
  1466. ; - User may access your site with the same session ID8 m: j; T/ v9 x) v0 [+ \6 M; z
  1467. ;   always using URL stored in browser's history or bookmarks.
    ( b* s8 V2 V0 y# L# V
  1468. ; http://php.net/session.use-trans-sid! X; Y: A* P: Q+ G( q
  1469. session.use_trans_sid = 0
    ) q* b0 M/ V0 W0 q4 |
  1470. % p4 v& B% r% e
  1471. ; Select a hash function for use in generating session ids.
    9 _+ I+ d# s0 ]; a' d8 Z& s& O+ t
  1472. ; Possible Values
    . _: g6 L, D+ d0 o1 w& g( J
  1473. ;   0  (MD5 128 bits)
    & t4 Z+ ?  S/ P! Y% M$ @& }& ~" b
  1474. ;   1  (SHA-1 160 bits); U$ ?- z, x3 c+ E0 v
  1475. ; This option may also be set to the name of any hash function supported by& V0 J3 c# K7 R: Y* u; \
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()7 U4 P9 _: d, H* `. z/ G
  1477. ; function.
    $ u8 s" Q0 J% n7 f
  1478. ; http://php.net/session.hash-function5 a  i0 l# J8 B. ?
  1479. session.hash_function = 09 b7 j+ I; W8 H! x8 Y' x
  1480. 3 m6 s3 o1 H6 x9 r8 s
  1481. ; Define how many bits are stored in each character when converting" F4 _5 c/ [  I# p$ G7 P/ f9 D
  1482. ; the binary hash data to something readable.+ _( u% L( j2 X. a
  1483. ; Possible values:
    ) g( [. v% m( v$ G8 J- O, J
  1484. ;   4  (4 bits: 0-9, a-f)
    : f1 E+ g( N  @% K: O
  1485. ;   5  (5 bits: 0-9, a-v)" l& ^+ y# B) |. ?# z
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    8 R( B2 q5 X9 w% e& u" j* t( R
  1487. ; Default Value: 4( V0 R2 p- C" s# n- b$ d% S" \9 y6 p( O
  1488. ; Development Value: 5" O6 b3 F+ l: c4 V
  1489. ; Production Value: 58 U2 x: k0 Q. r8 R! K
  1490. ; http://php.net/session.hash-bits-per-character( N" Y) P5 Y* M! A
  1491. session.hash_bits_per_character = 51 A; q% x$ W# ]8 B1 K4 T& k
  1492. ( Z/ |4 G! ]5 L  j: x
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags." k$ U+ \" |/ ^
  1494. ; form/fieldset are special; if you include them here, the rewriter will* k1 V% ^( h. v* w
  1495. ; add a hidden <input> field with the info which is otherwise appended
    5 x( w" k1 v/ m' g* [6 ^
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    " X' D4 K% W3 f) O1 o
  1497. ; Note that all valid entries require a "=", even if no value follows.
    * k9 s/ r9 \- ~* j3 B6 G6 j8 W
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / ^$ F: r  x* f$ {" d
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  e& l+ a9 Z) h4 p  a
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # v2 y2 i7 L  H' |  G
  1501. ; http://php.net/url-rewriter.tags* p( y+ w( f  K8 Y5 \
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 u" }# p$ H/ p

  1503. ' i5 q, E4 `1 |' B  Y# o, W
  1504. ; Enable upload progress tracking in $_SESSION
    " P/ z- F* Z# \9 }) w1 d
  1505. ; Default Value: On
    - i! w+ H% |2 P. e
  1506. ; Development Value: On2 k: O8 {# Z! R5 P3 `/ G
  1507. ; Production Value: On& b7 Z5 B  ]! K8 y( _# i
  1508. ; http://php.net/session.upload-progress.enabled
    0 [6 i- J/ M5 s7 K* d
  1509. ;session.upload_progress.enabled = On( p- S' I7 V  r# }4 Y9 b8 G$ ~0 V

  1510. 5 m( |, ~9 ?# c3 G/ ]9 i' O4 J
  1511. ; Cleanup the progress information as soon as all POST data has been read$ k( I; T2 p0 V: L+ N6 U; ?
  1512. ; (i.e. upload completed).' l! G" C' G# M* X2 W& j( S( O
  1513. ; Default Value: On
    1 {( |1 v' @0 T: y" Q6 b7 h  U
  1514. ; Development Value: On6 \, u% F: b7 S
  1515. ; Production Value: On
    6 J4 @: \. f2 n" q
  1516. ; http://php.net/session.upload-progress.cleanup
    $ U& p% s- @" s/ i8 Z6 ~
  1517. ;session.upload_progress.cleanup = On( ?1 x3 O6 ~8 a1 g8 S+ {2 m9 R
  1518. ! @, }3 [( S: _. Q9 J
  1519. ; A prefix used for the upload progress key in $_SESSION
    5 h& ?4 X- x( d2 \' q4 w' I( [
  1520. ; Default Value: "upload_progress_"5 L+ R# o8 e0 ^' \) O* I
  1521. ; Development Value: "upload_progress_"7 T( J7 ~/ V9 j# `+ I. W
  1522. ; Production Value: "upload_progress_"5 u; }, ]  z* A& {! p3 B
  1523. ; http://php.net/session.upload-progress.prefix* b2 b9 K0 U' _
  1524. ;session.upload_progress.prefix = "upload_progress_"
    $ \$ P/ ~/ q$ u0 Y! {' y5 q

  1525. + S- p: Z  o( d( j5 n: Z4 J* n
  1526. ; The index name (concatenated with the prefix) in $_SESSION. F, [' X$ A% L* W2 }2 _4 m
  1527. ; containing the upload progress information) `( ~; n7 D2 I- b. r# W- H
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % }4 O' x5 N1 O  H7 o
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; `( z* K0 A, ]% C6 ^9 S5 H$ \% |
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 W) T1 [; G5 Y
  1531. ; http://php.net/session.upload-progress.name
    4 n) G9 U( B, v9 m- i0 H( Z/ N4 c# k
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 j, Z! v" n: x5 z4 B. U$ o, ?

  1533. 6 p- V, }" c% N% R* r
  1534. ; How frequently the upload progress should be updated.4 `7 [# {5 s! J
  1535. ; Given either in percentages (per-file), or in bytes5 S+ T% s' E' m
  1536. ; Default Value: "1%"
    9 p4 I+ M: D, j8 B" i  i
  1537. ; Development Value: "1%"
    0 {* C) h0 l& P4 x0 d
  1538. ; Production Value: "1%". z& [9 T0 E, S8 M. S- v+ ]
  1539. ; http://php.net/session.upload-progress.freq* h2 U2 c& e& S7 D9 a# L6 b
  1540. ;session.upload_progress.freq =  "1%"
    6 i1 j7 y3 n2 q. c7 e
  1541. # b; U, q: ^/ Q+ q
  1542. ; The minimum delay between updates, in seconds  Q5 `# z2 c9 l# ~, H7 {" I( m# J
  1543. ; Default Value: 18 z/ c' d( N' {2 K$ O
  1544. ; Development Value: 1
    ; A6 W6 F* w+ E6 J3 h3 C  a/ a
  1545. ; Production Value: 1
    7 k# m5 i- `( i9 d0 G
  1546. ; http://php.net/session.upload-progress.min-freq
    8 \8 _' {7 m6 \. P6 {6 O7 A
  1547. ;session.upload_progress.min_freq = "1"
    : E) ]" L& g: B+ o
  1548. ! q/ p+ B. n) b$ Q/ n/ Y/ r
  1549. ; Only write session data when session data is changed. Enabled by default.: m' t, ^/ ]6 I: o4 Y
  1550. ; http://php.net/session.lazy-write' f) `6 j0 [+ _/ K
  1551. ;session.lazy_write = On) K6 T/ }, ]9 |7 H9 E

  1552. % M; p/ o' i2 j" n% V) ]! ^
  1553. [Assertion]
    , b% a4 @; Z( f; A8 D% x3 K. l
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)5 ^5 \0 a1 U6 \* S/ R) a9 P) G
  1555. ; -1: Do not compile at all! b- _  M1 f7 d' w, Q) ]# C8 u
  1556. ;  0: Jump over assertion at run-time
    9 t8 S0 k- {. M& |& w
  1557. ;  1: Execute assertions" W8 K1 s5 Y- t8 x- K
  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)- @% P2 s, N% l2 v1 u6 N- n% U0 Y
  1559. ; Default Value: 11 h9 \, U# s0 V; w" L( Q( ^  ]
  1560. ; Development Value: 14 [/ S2 H  U+ {3 \2 j' [7 Q! h; ~
  1561. ; Production Value: -1& d4 v4 n6 G1 S7 W
  1562. ; http://php.net/zend.assertions
    - \* d7 i7 y; c4 y; f- i
  1563. zend.assertions = -1; F" x5 s* c! N+ f5 r0 T: e* H- Q

  1564. ( e# I5 u9 I7 d+ d& {! j8 K
  1565. ; Assert(expr); active by default.' d. ?. k7 y8 \2 s: T
  1566. ; http://php.net/assert.active
    5 a8 [. e( ?: k& D! I: ~
  1567. ;assert.active = On
    + J! ^+ |7 b' e

  1568. 3 R1 m! I# v+ V& F
  1569. ; Throw an AssertationException on failed assertions' O8 R8 t! K& {5 |( c; c
  1570. ; http://php.net/assert.exception
    5 U1 P! Z7 b3 ^( J
  1571. ;assert.exception = On
    % `, ~% t6 [' S
  1572. 4 b: j0 `- C: d) d$ S
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    - M: d8 S# E- [
  1574. ; http://php.net/assert.warning3 R. L$ A. b( F5 {$ z8 f1 x
  1575. ;assert.warning = On4 N3 N. J* I/ f; ~

  1576. ) Q8 n) p! M. Y( H+ u! G; T4 x
  1577. ; Don't bail out by default.
      I: K0 T$ M) W+ P6 _1 U  M
  1578. ; http://php.net/assert.bail* @) F9 x, y7 _: U$ C
  1579. ;assert.bail = Off
    3 D3 S; i. g6 j" H" @

  1580. " }# j; f1 z* M* i0 F5 w
  1581. ; User-function to be called if an assertion fails.5 ^- v$ ]5 E' B% ?
  1582. ; http://php.net/assert.callback$ h7 W1 Z% H& L' @
  1583. ;assert.callback = 0
    4 [) k, N$ K+ q
  1584. ) }" X: G5 x/ H3 W1 R- M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want. O% \) O' h" m$ r$ Y4 q  t3 ^
  1586. ; error_reporting(0) around the eval().8 b2 M; x" w  Y6 `* E0 B9 v& \3 ?
  1587. ; http://php.net/assert.quiet-eval
    1 D  J# z2 M( q8 s! M0 ?9 n
  1588. ;assert.quiet_eval = 04 s4 X# \* Q$ u( d+ X# \4 }

  1589. / y! R2 B8 t5 P3 A
  1590. [COM]
    % h! O- R# q9 m% \' @) G% C* K- R/ N
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & ]/ b8 t* p6 o4 p3 d7 T
  1592. ; http://php.net/com.typelib-file$ a) Y# T, D) ^
  1593. ;com.typelib_file =
    ( }( y8 J6 ~% k# F: t* r" o+ h

  1594.   u; ?5 E5 ]' u$ N3 M
  1595. ; allow Distributed-COM calls8 r# T5 R9 t0 e) E- T! P: n- ?
  1596. ; http://php.net/com.allow-dcom! E: Q* Z% M9 u/ k1 Z1 i- s2 Y3 w( C
  1597. ;com.allow_dcom = true
    % @' y) p+ n1 F6 S: \' Y

  1598. / ]4 @  R& S4 {: F% K
  1599. ; autoregister constants of a components typlib on com_load()+ x/ f' `( s0 V: m7 I9 a; v
  1600. ; http://php.net/com.autoregister-typelib  f+ Y6 I& N- `
  1601. ;com.autoregister_typelib = true/ z  l5 C6 _4 _; Y% b

  1602.   I" y7 K) i5 {1 ^9 M
  1603. ; register constants casesensitive
    6 d, l7 i* O2 z
  1604. ; http://php.net/com.autoregister-casesensitive
    0 d( k' L' `3 h* c$ W
  1605. ;com.autoregister_casesensitive = false
    / ^% \4 U& r0 y$ M

  1606. , Y% U$ Z6 `  M; `' b
  1607. ; show warnings on duplicate constant registrations
    - k0 l0 j0 i3 h: c* j) O2 m
  1608. ; http://php.net/com.autoregister-verbose
    7 {% W( G' C& R2 X# ], I5 }0 g
  1609. ;com.autoregister_verbose = true
    1 L9 v- Q7 J- q1 H" r

  1610.   Z9 Y. p& I$ z0 m6 f
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    9 i- a* O+ F8 ?. y; O
  1612. ; Default: system ANSI code page
    ! [* p% k- ~- R% h
  1613. ;com.code_page=
    ( D+ v: {$ D+ u8 M

  1614. 0 V7 b) Q% M4 _# a) p: Y! |
  1615. [mbstring]$ V) w1 ^7 E0 z; I2 @
  1616. ; language for internal character representation.
    : N2 y8 `- U/ W5 S
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    $ q' E3 k  f' |
  1618. ; http://php.net/mbstring.language
    * w: C8 L" [, C
  1619. ;mbstring.language = Japanese5 {/ J9 F5 @* l9 Z8 {3 U' e) r$ G

  1620. + B0 U0 l$ n2 L  o+ s* B
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & D: z" s$ |  d
  1622. ; internal/script encoding.
    & V7 ]7 t. m0 V+ ?" j6 q2 D
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)( }7 X; j/ X( ^  ]: ]* j+ M
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 [3 R# N& T0 M( E
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " J$ K. S+ l  ]( `
  1626. ;mbstring.internal_encoding =" C6 v/ f) B- n0 e5 N4 L* T( s
  1627. 4 M" y6 b* B9 ?* D: R7 o6 f
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* @( ^3 p. g  A
  1629. ; http input encoding.
    7 Z. T: r' @: n2 n! v8 H7 E1 Q
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    & |) A5 p2 i/ a; W, w, S1 b
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.+ m! r, J6 L6 z( K( D( S
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# h1 m) u! Y* e! k& t0 i* q# ?
  1633. ; http://php.net/mbstring.http-input
    : ~+ X& U# I$ _$ `% p; Y
  1634. ;mbstring.http_input =& p" w$ h! o5 e5 U& z
  1635. 5 P& ?8 V: g) Y0 e) i8 i8 `
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 b+ a: f8 K6 A4 V6 e9 _. b
  1637. ; http output encoding.
    ; h5 h" f  N' L, z* \7 S( v9 c
  1638. ; mb_output_handler must be registered as output buffer to function.
    $ I) ?: [* G: w: I/ j
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! a+ Q3 w$ G7 O" G/ x: O$ s3 N
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output- J# Q% \' ?3 `; L4 J6 [/ E( ~
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    2 Z( L( u' Z8 }% f3 k' @) o+ l  o
  1642. ; otherwise output encoding conversion cannot be performed.) g! B/ V1 Y$ T) j5 E
  1643. ; http://php.net/mbstring.http-output1 a2 G3 Q! g) F$ B
  1644. ;mbstring.http_output =% z, X/ \2 Q( W% N! }9 y' O9 c# K
  1645. 8 t. T3 D% k+ e7 q2 ~" P, r6 a
  1646. ; enable automatic encoding translation according to; N2 X# Y1 S; r8 N/ v9 D: j. n
  1647. ; mbstring.internal_encoding setting. Input chars are0 m+ E2 p5 b3 r7 I4 j
  1648. ; converted to internal encoding by setting this to On.# n9 |7 P% ^1 B* P
  1649. ; Note: Do _not_ use automatic encoding translation for
    6 z! u& M4 ?+ }" |0 a: j0 w
  1650. ;       portable libs/applications.
    1 Z+ v- R# n% A: v: U, a
  1651. ; http://php.net/mbstring.encoding-translation. o0 A# i% `1 g8 q, q2 X
  1652. ;mbstring.encoding_translation = Off
    # M. N1 l/ p% }3 l# ?+ N* b2 t

  1653. ! E7 F. o2 k2 L9 h( b0 m
  1654. ; automatic encoding detection order.: Y: |4 a2 K. R  N0 L
  1655. ; "auto" detect order is changed according to mbstring.language
    , _2 P% t5 L) m: m& b
  1656. ; http://php.net/mbstring.detect-order: ~" ~3 M, Z. C
  1657. ;mbstring.detect_order = auto) ~: N' F: ~; k

  1658. . y" b/ G  p: j! u7 g, n
  1659. ; substitute_character used when character cannot be converted
    & {9 ^9 l" u5 G" o! }, J
  1660. ; one from another1 {" C1 x3 S  f& B! P
  1661. ; http://php.net/mbstring.substitute-character
    , G! V. V, u; F8 V; f4 F
  1662. ;mbstring.substitute_character = none
    4 E2 Y0 J/ E* Z  X* K6 J9 O

  1663. , |* M* W# R  V% k* `/ b: S
  1664. ; overload(replace) single byte functions by mbstring functions.+ J6 o. f3 I( {
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; M) }7 a+ q8 U
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.3 D7 u% r. i. Z* f8 r5 B  O* j8 {& P
  1667. ; For example, 7 for overload everything.2 c4 a' l6 ?) U: n) V6 [; S
  1668. ; 0: No overload
    " M) O% l0 @+ h- N* z
  1669. ; 1: Overload mail() function! f+ f* v, c, h2 m/ S& I. e: {
  1670. ; 2: Overload str*() functions0 z! ?4 ~6 s; B8 J0 z9 R# U( h
  1671. ; 4: Overload ereg*() functions7 [$ t  S! I& _1 ?  I+ J
  1672. ; http://php.net/mbstring.func-overload2 x. J3 _! p( w/ P4 x8 L; {
  1673. ;mbstring.func_overload = 0" v0 Q5 I. R3 @; R9 `+ z
  1674. 8 s+ |1 T: t# H- d. ^7 i  M
  1675. ; enable strict encoding detection.
    , w2 m5 D. K" t. d6 \
  1676. ; Default: Off) |( p) q8 O# @4 E
  1677. ;mbstring.strict_detection = On- i! g/ a: b' H7 J% ]5 Q
  1678. & Q( {$ W) j- _, p+ Z' T
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    , a1 M7 e1 c4 m/ G# r. K
  1680. ; is activated.) w: {1 Z2 K1 I; W% c* V  `8 x
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * W% n7 c2 U8 S* a
  1682. ;mbstring.http_output_conv_mimetype=: `( t# t; a" c8 s# p

  1683. : {  w6 c3 d( U4 e) L. I8 L4 q1 S2 m
  1684. [gd]
    2 Y1 _+ q8 ?; H; p
  1685. ; Tell the jpeg decode to ignore warnings and try to create) l: ?/ {* {7 Z+ o5 u& I5 B
  1686. ; a gd image. The warning will then be displayed as notices& P: r5 S: m/ L$ u6 x2 D
  1687. ; disabled by default
    9 N# G1 b4 {# S/ E' `9 [
  1688. ; http://php.net/gd.jpeg-ignore-warning
    7 P3 P, H  g4 C1 N+ t
  1689. ;gd.jpeg_ignore_warning = 0( N1 X; f" H0 ]' X# T/ n

  1690. - u' c) s& X4 p: F7 i* K
  1691. [exif]0 r$ y5 `6 n# C% A% N$ k
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ k! z& ]3 B$ p/ f& O/ R! }
  1693. ; With mbstring support this will automatically be converted into the encoding
    , n8 _& _! h: t6 S5 j- \  U& T
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 n, E& Q) Q4 k) T
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ( {0 s8 n/ Y  g+ R2 N/ b
  1696. ; intel byte order. A decode setting cannot be empty." D# ~; t& P2 Y, f2 Z+ \' k9 d
  1697. ; http://php.net/exif.encode-unicode" G+ ?; ]: Y2 ~8 c- a+ e$ u" ^7 g9 @
  1698. ;exif.encode_unicode = ISO-8859-15
    3 K! ~$ o) `6 [6 h1 n' y! h" g
  1699. 9 C0 r/ p3 M% J; A
  1700. ; http://php.net/exif.decode-unicode-motorola
    8 U" @4 @% L" I
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    4 e* m1 T$ N& b; b' r' b+ X/ X
  1702. 1 U% c/ {5 E' ]
  1703. ; http://php.net/exif.decode-unicode-intel
    1 K: d6 Q1 x; _6 r
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    , h4 l( z& G3 B) q6 F9 R
  1705.   o, U5 o4 L6 R8 P
  1706. ; http://php.net/exif.encode-jis
    : L4 w; e1 Q( k% T$ V
  1707. ;exif.encode_jis =  D! _: k. w) u7 `$ q- n  i
  1708. : Z4 \$ L" [& A$ R& Y
  1709. ; http://php.net/exif.decode-jis-motorola+ G  m  |4 G# H' F
  1710. ;exif.decode_jis_motorola = JIS9 \6 ~$ w0 i3 z" z+ ^( x: m, ]4 e  i

  1711. 8 \/ v+ w' P3 D. Q. G! N* o
  1712. ; http://php.net/exif.decode-jis-intel
    6 ?3 A6 ^: s" b7 F
  1713. ;exif.decode_jis_intel    = JIS3 a: q5 \6 q$ ~% O$ r! ?

  1714. & O: R2 i4 r2 ^* i3 n  |4 [! f1 @
  1715. [Tidy]- I  c' }& W) Z) s) J# |' J1 n* e  }
  1716. ; The path to a default tidy configuration file to use when using tidy. s% ^, V; M9 O
  1717. ; http://php.net/tidy.default-config4 Y+ v/ V( l6 W" v. W( y8 u: a2 \
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 M/ k7 d' d5 l2 i6 z
  1719. & u9 T: K. \) t, m3 t. m9 ?
  1720. ; Should tidy clean and repair output automatically?) D) S  K+ r1 q
  1721. ; WARNING: Do not use this option if you are generating non-html content0 H* N  @5 `5 x, K3 \7 {
  1722. ; such as dynamic images) Z& Q( _) s8 j' d0 @
  1723. ; http://php.net/tidy.clean-output4 R* ^/ l; i' g! l9 Z: U5 }
  1724. tidy.clean_output = Off
    4 `, v; k% C) D3 d5 x# e
  1725. - E) F0 r% ?1 q7 b' {0 d3 }/ X
  1726. [soap]/ G# Z/ Y2 O6 Y
  1727. ; Enables or disables WSDL caching feature.4 b: w4 K8 B/ Q+ V
  1728. ; http://php.net/soap.wsdl-cache-enabled* f! f5 l5 F( G/ c% ~5 l5 W
  1729. soap.wsdl_cache_enabled=1
    7 Y, s! R6 t9 C) P8 g! [& ]

  1730. 9 F* r9 C2 j. m
  1731. ; Sets the directory name where SOAP extension will put cache files.. k: T6 E5 {# Z. T; I# a
  1732. ; http://php.net/soap.wsdl-cache-dir
    * ~, B' V  [# c+ t2 U
  1733. soap.wsdl_cache_dir="/tmp"; _7 u$ G. Q( @: z. ^

  1734. 3 {% \/ m# T' ^% d: F
  1735. ; (time to live) Sets the number of second while cached file will be used% k" G, k' N; b" [: X$ ]$ v
  1736. ; instead of original one.( G& R1 w! y9 e9 V
  1737. ; http://php.net/soap.wsdl-cache-ttl
      f/ ^3 K/ [% g4 V  L$ Q
  1738. soap.wsdl_cache_ttl=864008 t, f( m, w2 M: y8 n" [# h; R

  1739. 8 R6 t  a+ @! F2 J+ @
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). C: e: {* G6 i- ?9 ^" h
  1741. soap.wsdl_cache_limit = 5; B9 d, q& f4 h* o( x7 Z. N
  1742. : }4 ^4 _/ v  R# u# a; a; F
  1743. [sysvshm]; ^- [+ x. P0 Q2 b
  1744. ; A default size of the shared memory segment
    ' f. ~* h/ e4 @/ T# m, ?( |/ A
  1745. ;sysvshm.init_mem = 10000
    6 o4 q6 e1 ^% D
  1746. 0 o2 @1 f( E3 r* S/ k% w
  1747. [ldap]
    8 M. g) e6 ], _* C
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    1 c# y9 g& m, \8 {) L
  1749. ldap.max_links = -1
    ( |, k. H# w7 ?$ ~, A5 Q  z
  1750. " j3 S' f: t! \7 S, T! D
  1751. [mcrypt]
    ' [: }3 w0 v3 b& B9 R: r; N" _
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    8 u$ f$ K# n9 c7 y1 y6 ^
  1753. " q( C, u1 Y, T" z4 v! N
  1754. ; Directory where to load mcrypt algorithms
    * D4 W- P9 J! n+ F7 o( _9 Z5 a$ H5 a
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      {% o; P2 }1 `# W) T
  1756. ;mcrypt.algorithms_dir=
    - ]" ^: v7 Q1 R: U! |+ m* L

  1757. % @3 N. g: X; S5 _* h
  1758. ; Directory where to load mcrypt modes% X" i  j- U2 [. g7 R$ o+ E! o7 K
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). l+ m" }: l2 o4 O* ?  j8 N- m
  1760. ;mcrypt.modes_dir=5 O" P* W( x6 w4 H/ |8 J' E7 `

  1761. ' l9 W- w2 ^$ Y# j1 N
  1762. [dba]0 m; c6 T8 u* o6 l# Y
  1763. ;dba.default_handler=  z  Y' i( o3 S$ o. w# F* ~
  1764. ! w7 U" E6 N6 r) C. o7 E3 p& p2 ]
  1765. [opcache]$ A" f  ~, P; t; U6 i8 \4 x
  1766. ; Determines if Zend OPCache is enabled9 w# d8 H8 ~: Z) ?# X$ Z
  1767. ;opcache.enable=0# m% U/ G8 J- s) j

  1768. 6 \* L' ~; c9 P. f( T" H
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ! f$ [1 ^! c- b, S" v9 [% l  a
  1770. ;opcache.enable_cli=0
    ) _# p) C$ f: z

  1771. ) |5 ^& X/ Q& A! Y
  1772. ; The OPcache shared memory storage size." q- p/ J" w- I- N
  1773. ;opcache.memory_consumption=64
      K& v% v2 u) ?8 P; f0 Q8 @) i

  1774. . ~( c7 z1 L2 |- u
  1775. ; The amount of memory for interned strings in Mbytes.) P* ^' l! \0 j1 Q
  1776. ;opcache.interned_strings_buffer=4$ Q# [$ C+ D. {+ h

  1777. 5 ~2 Y* q& e) d# I
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.+ L! A9 T# v! }; f3 F( t/ }+ o
  1779. ; Only numbers between 200 and 1000000 are allowed.7 ]; v5 B7 k1 K$ M- x  c
  1780. ;opcache.max_accelerated_files=2000
    - ?5 {( b' R, L: X

  1781. / A5 e7 h( [& ?" r  d0 U9 D
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 a3 ^5 z" p5 i/ E4 e. `( ]8 w4 k* w
  1783. ;opcache.max_wasted_percentage=5
    0 A: ^. v# Y) ~- N: e
  1784. / d/ A/ v) s4 ?; g) O7 v5 k6 B
  1785. ; When this directive is enabled, the OPcache appends the current working
    9 R% i0 I3 w2 o& l
  1786. ; directory to the script key, thus eliminating possible collisions between
    9 Y/ n+ w9 Z" A" W
  1787. ; files with the same name (basename). Disabling the directive improves
    " t3 J6 h) d7 G1 `5 j
  1788. ; performance, but may break existing applications.
    8 Y& ~3 Z9 k. X5 _. {; @  n
  1789. ;opcache.use_cwd=1. N- m9 I5 P4 d2 G: i- a. R
  1790. 6 m9 {3 o: P5 s
  1791. ; When disabled, you must reset the OPcache manually or restart the4 y) n  y& K2 [( Z, i, Y6 m+ P
  1792. ; webserver for changes to the filesystem to take effect.% f# Z, u1 t# o  z5 e. b: o
  1793. ;opcache.validate_timestamps=1) d8 J- `- w2 E1 W+ p
  1794. 6 p( b" y" A1 Y9 b( h9 `
  1795. ; How often (in seconds) to check file timestamps for changes to the shared4 x- z* x7 Y, z; U0 u& k
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    + t! K: K, n) X: Y/ g5 H! {" u) f
  1797. ; once per request. "0" means always validate)
    ( X+ K) w0 B: k, C$ k* C# j
  1798. ;opcache.revalidate_freq=2; z* Y- \' ]! e1 Q) F
  1799. ) i, j: A$ w3 I  ^$ |
  1800. ; Enables or disables file search in include_path optimization
    3 o6 P) P& z- ]/ V
  1801. ;opcache.revalidate_path=0
    3 t( c: G; @5 e7 s4 n# B, y$ n* e

  1802. 0 G. C+ P3 o+ y. G
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + T# k' w0 [# V  p! d( x
  1804. ; size of the optimized code.
    % ]" ]$ R  E: F% X0 C) a
  1805. ;opcache.save_comments=1: k# V  E; M$ R& p7 Q
  1806. 5 {1 k4 `3 d. F' F% N" J2 y0 |5 N$ b
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" A5 y, I" e. T. Y  X4 Y" ?/ y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.4 l* c5 Q$ B1 t) G& d; Z& o' h: [# p- j: S
  1809. ;opcache.fast_shutdown=0
    ) s% S0 V2 Y: l/ X: {

  1810. - }2 J' U: p. _1 n
  1811. ; Allow file existence override (file_exists, etc.) performance feature.! t: z) h* W) ^' _
  1812. ;opcache.enable_file_override=0! ^2 o5 @/ i; H2 @( J$ |
  1813. # y" {5 E$ h6 b* }  z% m' N
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache' u* {( z. _3 M
  1815. ; passes
    0 c' `- T8 Y; U2 M9 i$ E
  1816. ;opcache.optimization_level=0xffffffff/ K& l- f* Y* H0 u& d. g
  1817. , H1 w  X$ q0 L  l4 x8 N1 F' Z
  1818. ;opcache.inherited_hack=1
    : ?. Y" R2 Y  h9 z$ a2 S4 B: O
  1819. ;opcache.dups_fix=0
    7 g& I0 y) v! c( c1 k$ A1 K
  1820. ; P+ |( e' V% |# `4 G# o4 x! \
  1821. ; The location of the OPcache blacklist file (wildcards allowed).6 ~0 R# [5 {/ H; I6 a4 X" E
  1822. ; Each OPcache blacklist file is a text file that holds the names of files! H; \6 J, y! l+ W$ f
  1823. ; that should not be accelerated. The file format is to add each filename) a  F: K# s# c* P) G) ]) a
  1824. ; to a new line. The filename may be a full path or just a file prefix, |2 |1 U  \. [% D$ p* n: z
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www4 y8 |  r( Q7 ^
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    , f8 `  v6 u/ g7 c: [7 k) v
  1827. ;opcache.blacklist_filename=
    ) z2 T7 ~$ t: L+ w; [

  1828. : l# \! y1 Q. ^
  1829. ; Allows exclusion of large files from being cached. By default all files
    7 }+ s7 l, \: S8 `! T. ^2 M; D
  1830. ; are cached.
      Z- {$ p" c6 X  X% t; v1 a
  1831. ;opcache.max_file_size=0
    & Q* f" D$ R- g6 a! j( O
  1832. # j* W, k7 _! e' x; ^" u# i$ f: l6 m
  1833. ; Check the cache checksum each N requests.
    . n/ i7 b, F. _" \6 E: {
  1834. ; The default value of "0" means that the checks are disabled.4 U! {1 l# e9 y. K; N
  1835. ;opcache.consistency_checks=0
    ; W( E! b5 B* Q

  1836. 5 `' P0 U9 w# w! n+ ]
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + i0 I4 @5 ~& m' e
  1838. ; is not being accessed.
    + K5 U# V6 s$ A" f3 c. R! r
  1839. ;opcache.force_restart_timeout=1809 M; O7 w+ z3 x4 j+ C
  1840. # }" J2 j, D  L# S* O7 ]. H. M( \
  1841. ; OPcache error_log file name. Empty string assumes "stderr"./ ^5 q! {& c* `& Q- X2 N
  1842. ;opcache.error_log=9 Q) X  g/ o. o' A7 S' s, Z
  1843. / y8 D' O5 L5 [+ Z8 C+ w0 s) Q
  1844. ; All OPcache errors go to the Web server log.! D) J; l: `; W6 U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    # j3 S; C$ G: x9 P
  1846. ; You can also enable warnings (level 2), info messages (level 3) or4 X) O0 g! A1 C% E0 t' Y/ O# C* D
  1847. ; debug messages (level 4)." F( t) N$ u4 R: M
  1848. ;opcache.log_verbosity_level=16 S, K6 O2 O6 t, f& a
  1849. 1 Q3 {) S7 D* @4 j+ Y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    4 [! f( L/ L9 D. X: ~. K3 k
  1851. ;opcache.preferred_memory_model=: N2 t0 s0 u+ L# ~0 `& W7 R% H, B, }
  1852. : y2 e, ]& z: B) T- K# v4 u, j
  1853. ; Protect the shared memory from unexpected writing during script execution.* L1 {0 p* U. z7 \8 O3 \& ~
  1854. ; Useful for internal debugging only.
    + U2 X, s; {* q( Z0 t( M* h
  1855. ;opcache.protect_memory=0% s1 C( }: l% x9 N% t6 S
  1856. 7 C5 ?* O' T# N$ T" B; W- B
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is; e8 Q9 x" ^  q* b4 b: M' L1 L( U
  1858. ; started from specified string. The default "" means no restriction( @5 l/ i3 E/ n
  1859. ;opcache.restrict_api=
    ( a! F9 c- j2 k0 h1 j6 E) B

  1860. 4 O+ @$ {6 F( W
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP$ j! d* ?/ y$ J
  1862. ; processes have to map shared memory into the same address space. This
    : |2 }% Q& H% @) E
  1863. ; directive allows to manually fix the "Unable to reattach to base address"5 x) M0 e$ ]6 U
  1864. ; errors./ q' |$ Y. `7 f1 Q8 y
  1865. ;opcache.mmap_base=
    # S+ g5 {' V4 y( x9 t% @' v% T

  1866. ) \# R) ~! o3 j$ E  c
  1867. ; Enables and sets the second level cache directory.) k) Q7 h$ n" X  a' `
  1868. ; It should improve performance when SHM memory is full, at server restart or
    3 M1 X7 x1 z( ]* H
  1869. ; SHM reset. The default "" disables file based caching.% q3 C$ S  u% b1 w, a
  1870. ;opcache.file_cache=
    9 L, l; L# H  n% n
  1871. - N9 T/ ~7 o4 r
  1872. ; Enables or disables opcode caching in shared memory.& F9 m$ j) s/ h' A3 ?9 Q
  1873. ;opcache.file_cache_only=0- K4 \$ O) T' g7 e

  1874. ( A1 e$ V7 ?8 [$ g& A" \& {  G
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    8 D6 l5 Y  O" K7 s9 f" v- B
  1876. ;opcache.file_cache_consistency_checks=1
    2 I: N. d  V& v
  1877. ; L* `. i) Q6 q! h9 i7 H2 _
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to$ v2 S( B* X) V6 I1 c5 ]* I
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * c8 |6 A% b- N- k) h3 S# I
  1880. ; cache is required.
    / x- U% }& o6 q7 g/ A
  1881. ;opcache.file_cache_fallback=19 @5 q  i7 V  z. X! M4 T- T1 m% h
  1882. 6 }! o. q2 N+ l. h7 t
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    - @# x6 y0 W9 k5 G5 W
  1884. ; This should improve performance, but requires appropriate OS configuration.
    1 H; s# L7 ^8 P1 T: h3 Z" V
  1885. ;opcache.huge_code_pages=1
    7 Q) O- X  s* t$ S) x' ?8 s# z7 I
  1886. 8 B/ M% _* |4 M0 N
  1887. ; Validate cached file permissions.
    3 G( O7 k# \  ]8 g4 E
  1888. ; opcache.validate_permission=0! ?; M) q  H1 L6 `: K
  1889. % w1 e* ?# W4 \0 g; _% O2 W
  1890. ; Prevent name collisions in chroot'ed environment.
    7 _1 y! O6 W' @/ _" G/ H7 v
  1891. ; opcache.validate_root=0$ m) x9 G( A* A5 _# x
  1892. 2 b8 ^$ \3 ]( I& ?" k) _8 {
  1893. [curl]# v/ x+ j. b% r& G9 D0 D: S
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 X9 o. E+ Y9 H. `& H, y
  1895. ; absolute path.  L8 J) w  r/ t4 o: m% ], k7 b7 K
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) w% i5 A+ P9 z3 e
  1897. 2 ?# |3 n% p1 z. O! E/ C: X7 ]5 `, S
  1898. [openssl]$ K2 ^0 }- N1 Q4 O- y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem5 X4 N9 ?; e! _" P( h: O2 J3 p3 Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should" X6 A; @( @9 {! [2 c
  1901. ; not specify a value for this directive as PHP will attempt to use the# k6 u$ e8 H' ~- @" d- S) y
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    $ L: q( h! y( M; m- I8 o# h
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ B- `; [, h4 D9 ~; T
  1904. ; option.
      V& M: R; A+ f5 C6 i, ]% W+ B4 S
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt; e# C( x0 Q! K& c& U7 G

  1906. " E, Y8 y, F5 e9 n
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. Z- E1 J! m, ~- R# t
  1908. ; directory pointed to by openssl.capath is searched for a suitable" Q) o4 @4 h: e; x7 ~( r  c6 S+ }
  1909. ; certificate. This value must be a correctly hashed certificate directory.3 {9 i. z( n* \& l7 b3 y
  1910. ; Most users should not specify a value for this directive as PHP will
    * Z+ X2 Q$ C! ^! r7 T7 i8 j. p
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( C2 e( b- {% l* i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! _7 \% ?& j, h" V- F" i4 l
  1913. ; SSL stream context option.# T: M% S* c; y  v1 P" ^3 ^5 ~+ x
  1914. ;openssl.capath=; J8 p3 s& X3 Y

  1915. ( o6 C' C! T6 u; ]  N( z
  1916. ; Local Variables:2 V# l6 d' S+ `/ z
  1917. ; tab-width: 4
    5 l8 s9 z  I6 I( K! L% ?% m0 \
  1918. ; End:! \' u" \1 i9 m" }7 r& i# c
  1919. 0 |/ [8 l( A6 C* z# F7 a( v7 y# |
  1920. ;eaccelerator
    5 F( c* S0 Y. i3 a% J2 J/ E; r' c; m

  1921. - ]" Y; F# r/ V5 P% i4 ]
  1922. ;ionCube
      C- x" x, a: r9 U* C0 x$ k0 E: v

  1923. 2 q3 I- i& w: d* d, u
  1924. ;opcache
    0 h' ]" H. w. `5 @

  1925. , e4 I: [7 W& V. k  n" n5 f7 w& J  C
  1926. [Zend ZendGuard Loader]
    # M' u) z) x4 @/ X
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    8 y: d+ X0 q' \9 u% _
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so- U3 }3 O4 |! e. ?1 \
  1929. ;zend_loader.enable=1
    ! q" X: ], I! ?/ l# V* q
  1930. ;zend_loader.disable_licensing=0, w& f6 v+ y; s5 o2 H/ \! G1 N
  1931. ;zend_loader.obfuscation_level_support=3
    5 y  ^7 g* F4 s+ N4 c8 e
  1932. ;zend_loader.license_path=6 D7 @0 h4 q, q/ ~
  1933. : Z. p% |( d2 ~
  1934. ;xcache
    ' s0 |% A7 a6 C5 u4 F0 l

  1935. 9 [5 Y  b5 G& L  P1 |$ \: S* m
复制代码
" x# k. j  ^2 X- |0 W
# c' E4 ~( v7 x. v" P- ?9 O' T
* U, {) d+ t; }/ r5 ]

4 u8 q2 S" s* h! s4 T4 o3 u+ z5 L) x
  v" Y. j, L# z' ?* }; F* Q
  [9 v0 w+ ]! c" C% l" G9 f
* [, ^% t, a! E2 Q. mPHP5.6版本原始设置
( E/ k1 g& Q' E( r+ v( _8 K+ m; m3 H& I- K! }+ ~
  1. [PHP]/ Z, _3 b+ j/ v: e
  2. % d& e3 A" q+ Y( v- e$ B  P9 o
  3. ;;;;;;;;;;;;;;;;;;;0 u2 v8 E4 S, ~: D
  4. ; About php.ini   ;
    ) n4 e3 U) f* e4 w
  5. ;;;;;;;;;;;;;;;;;;;' a* W, c6 Z1 M
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 Z6 N" s6 i* r2 [4 L4 @3 ^' N' {
  7. ; configuring many of the aspects of PHP's behavior., p3 E& l% J# Z; e. b4 O. Q

  8. & g- i7 S( L% Z" |+ z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    . X7 i4 H, R9 F# d8 k
  10. ; The following is a summary of its search order:9 ?% ~6 |3 C& D1 g, Q# I$ L/ b  p# q
  11. ; 1. SAPI module specific location.
    ; _6 A0 i! Y1 Q% m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    $ e! J2 C! j- B, X2 u: J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 a2 Y# }8 l  |: Z) ~
  14. ; 4. Current working directory (except CLI)4 p5 \, F9 A, y' F, Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & q! B0 T0 _4 z: m
  16. ; (otherwise in Windows)7 i+ L' t9 Q/ e! O9 H( G+ I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 @6 p8 q; r6 ?4 b  Q
  18. ; Windows directory (C:\windows or C:\winnt)' t' I9 p% X; X& H
  19. ; See the PHP docs for more specific information.
    1 R& m; `4 h: o/ G. U
  20. ; http://php.net/configuration.file
    * x/ T4 ]' n: m% O
  21.   E* |4 F; f/ e: ]. e6 W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* s9 Y( h) ]; {- z; x
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    7 E  A- h! J9 `: [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# x! }5 B3 O( I8 j
  25. ; they might mean something in the future.
    ( c" K8 A& ~* o  {

  26. % K" V, A+ j$ v6 P! |$ T
  27. ; Directives following the section heading [PATH=/www/mysite] only4 ^' N; T( l  s( {. @  Y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    2 w, q4 P4 N8 p9 h# q4 h
  29. ; following the section heading [HOST=www.example.com] only apply to4 h/ j# C8 @8 K2 |/ K; b) p" w6 G
  30. ; PHP files served from www.example.com.  Directives set in these0 ?, }8 j) J$ P5 B6 t+ C9 G* ^
  31. ; special sections cannot be overridden by user-defined INI files or1 U7 c+ F3 y. B) a
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 B% p( ], _9 d' U
  33. ; CGI/FastCGI.
    , C4 W' z# F7 o5 b' H4 L# W
  34. ; http://php.net/ini.sections* d5 N( a2 @, D1 u* j

  35. " M+ i+ T' W( Q
  36. ; Directives are specified using the following syntax:7 U; Q/ B# t: {* J
  37. ; directive = value% ^/ P8 |+ }- t" w  T! N3 V
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) S- H8 |( K- W2 _  {1 F
  39. ; Directives are variables used to configure PHP or PHP extensions.3 [7 {* [! C. z# P4 M9 @1 R; k
  40. ; There is no name validation.  If PHP can't find an expected3 e" d4 V9 _& z8 _1 ]% f
  41. ; directive because it is not set or is mistyped, a default value will be used.7 Y' Y6 F# W1 ]5 ~8 S8 B
  42. " L- s2 A! b( z8 t, Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one6 U3 ^! `! y) A5 ?# n+ b; I# X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    0 b/ S; N6 ~- X/ t! I+ J' B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 c: \1 i( q' h+ X( E% I% X+ Q# u
  46. ; previously set variable or directive (e.g. ${foo})# \3 Y1 q  r3 f6 [) t5 k: c
  47. 4 c: V. F. D! Z$ t$ K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:; _. o- S7 f  m0 d
  49. ; |  bitwise OR
    ' v3 v+ Z8 k! X8 U* s2 O; r0 Q) T, y
  50. ; ^  bitwise XOR
    + B- n: l3 V. r
  51. ; &  bitwise AND; J8 T1 b( B! o* u' x# r
  52. ; ~  bitwise NOT; D0 d# ?8 ~) V) L' b7 l
  53. ; !  boolean NOT) k( M) f2 {3 X  u! F5 `6 \

  54. ( P! r; a$ n! x$ O" f; ~8 j2 E
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    , s  x- r; x$ y6 ]; _
  56. ; They can be turned off using the values 0, Off, False or No.  X" f+ K( m7 Z+ y3 R6 B
  57. / y( Q1 z7 V  B7 u
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 g# ~0 @8 r3 f* U! B6 w
  59. ; sign, or by using the None keyword:! G& Y: C7 J' G4 r% W8 F$ l

  60. 4 b* ]; s* k# s& j6 ]# T6 V, p; l* K) f
  61. ;  foo =         ; sets foo to an empty string" I$ @& u+ S0 o  t3 V7 X6 n& f
  62. ;  foo = None    ; sets foo to an empty string
    5 J) v9 Z1 g  i1 C2 V  [
  63. ;  foo = "None"  ; sets foo to the string 'None'  @% M' o& A' W$ O( {

  64. $ ^7 j: _: `+ K- {
  65. ; If you use constants in your value, and these constants belong to a2 K, f) R; d- t3 F$ V& y- A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),' Q& K( D5 p" E( L0 n
  67. ; you may only use these constants *after* the line that loads the extension.& f6 z1 q* a  r4 J
  68. * e2 q' k$ K" a8 p/ u# H8 G) N
  69. ;;;;;;;;;;;;;;;;;;;; R; Z) K, o% o2 D6 [
  70. ; About this file ;
    2 |0 B8 ?7 [5 o. }# s
  71. ;;;;;;;;;;;;;;;;;;;) d; N7 h7 x1 ?* K& u0 X- a
  72. ; PHP comes packaged with two INI files. One that is recommended to be used1 d8 |1 P5 H( V$ K* W0 ~8 O! `
  73. ; in production environments and one that is recommended to be used in
    - z& }: K5 h  p: O$ E$ f+ V( V: C3 K
  74. ; development environments.* q4 d7 u( K: ]* T9 e7 }* z
  75. 2 I$ E7 b# n4 B0 B
  76. ; php.ini-production contains settings which hold security, performance and7 Y; |9 t6 x" r4 M- K: U; ^
  77. ; best practices at its core. But please be aware, these settings may break
    ' v. t: a7 j" X8 X: y' b. }* r7 n
  78. ; compatibility with older or less security conscience applications. We6 @2 [  z, }% s7 i# r6 m
  79. ; recommending using the production ini in production and testing environments.
    ( d1 n- ^3 Y$ I( k3 @+ c

  80. % e: D# A7 d$ x2 c4 w3 a
  81. ; php.ini-development is very similar to its production variant, except it is
    ' C3 Q6 F( j8 D( n" v+ l- e8 y
  82. ; much more verbose when it comes to errors. We recommend using the2 f( {/ i, ~9 O" D+ }
  83. ; development version only in development environments, as errors shown to
    : J- {7 [3 x+ N
  84. ; application users can inadvertently leak otherwise secure information.# q# t, K/ y! v  q" ]) V- Z9 l

  85. 8 l+ A$ z9 ~0 Q" \2 @" c
  86. ; This is php.ini-production INI file.( E* U7 ^0 _( J0 g

  87. / K! L9 v* n2 b9 _. x+ O
  88. ;;;;;;;;;;;;;;;;;;;
    + k, S8 o; Q" u  v2 p$ u
  89. ; Quick Reference ;
    % X8 l( S( ]1 t
  90. ;;;;;;;;;;;;;;;;;;;
    2 P2 f( A3 e) B+ w8 H. z
  91. ; The following are all the settings which are different in either the production
    ( ]5 R% y4 w7 K; w$ g% D: ?, }
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    8 \! a+ o% R# B+ V5 d
  93. ; Please see the actual settings later in the document for more details as to why! A7 M* o2 W9 I6 X
  94. ; we recommend these changes in PHP's behavior.: g  F) J4 p* W; a
  95. 4 x5 v: o: K" \2 C6 J  v# d5 d7 \
  96. ; display_errors4 `+ [& ^4 v, O) g% u: \
  97. ;   Default Value: On- @% a' ~& `9 Q- n; E& t
  98. ;   Development Value: On
    7 E6 V! q6 W! ?/ ~
  99. ;   Production Value: Off/ N9 B& X2 d/ _. z) I
  100. $ o/ A/ q3 w, v. c
  101. ; display_startup_errors
    , ?+ _% i4 @) h, a; b* X
  102. ;   Default Value: Off3 J2 L+ s/ K; M9 `2 R
  103. ;   Development Value: On; r% V9 _3 ~) E1 z* j
  104. ;   Production Value: Off
    , ]; H9 h) |4 ~9 D4 T/ a2 ^3 P7 }

  105. & |9 m) Y2 U1 \7 t2 |
  106. ; error_reporting' |- G& V) ?% j" j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ M2 F" r3 v/ w8 w
  108. ;   Development Value: E_ALL% L# [5 u9 B! w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 B  l7 ^% m' e1 h  T" ?" Q2 d

  110. 2 j- T8 z" ?2 _2 \% {( t; I  F1 K
  111. ; html_errors
    % P# h# \: @  m
  112. ;   Default Value: On; V- b* T& F% H
  113. ;   Development Value: On1 ]4 }. m% E/ Z  M) d5 E
  114. ;   Production value: On
    + ^! f/ f) q$ N+ X- F

  115. . }+ J7 y8 J. e% \, g3 D
  116. ; log_errors
    0 i' p4 U7 z  t2 [! V$ r, P8 F
  117. ;   Default Value: Off
    . p# ]3 A0 Q1 V& X* M6 P
  118. ;   Development Value: On
    " R, ^  Y/ T9 _' q
  119. ;   Production Value: On- a% c$ x* j' G2 m
  120. + ]4 {1 C: d( q
  121. ; max_input_time
    & q8 y  y. J, v; Y. c9 G3 `
  122. ;   Default Value: -1 (Unlimited)3 e2 R' |3 d$ Q- x  c7 V
  123. ;   Development Value: 60 (60 seconds)
    4 @6 E; {( |" j& I1 T: ]
  124. ;   Production Value: 60 (60 seconds)6 w8 `- K) D" E4 s

  125. 7 @, ^8 D& ^9 m, @0 T2 R- ?/ `
  126. ; output_buffering3 w0 w2 ^7 O4 K
  127. ;   Default Value: Off& f: B! @- y* ~/ C- g; M. A3 H
  128. ;   Development Value: 4096
    % a# d2 G1 A  E
  129. ;   Production Value: 4096  d3 q3 p- d  \9 S

  130. & {1 \: o+ }" [3 y
  131. ; register_argc_argv' F* h: S: U; Y( y
  132. ;   Default Value: On
    3 j  _- a2 r/ |; ^/ C: e9 ~/ S- c( w
  133. ;   Development Value: Off4 ?) [1 o# \; U$ w* Q2 l4 i% i
  134. ;   Production Value: Off. S1 m, Z; f/ d5 n1 K
  135. 5 e/ K1 y, i3 H" Z! r2 E
  136. ; request_order( M& X& Z9 s' j% r: K* h0 F
  137. ;   Default Value: None
    , @/ ]8 H/ z+ |. ^2 n3 p( Y
  138. ;   Development Value: "GP", c0 G* J3 g- N8 T7 n3 L- h
  139. ;   Production Value: "GP"
    7 @; c2 t& z3 N8 J0 \' ]# A2 v
  140. : Y* X5 {; I* A2 t0 s
  141. ; session.gc_divisor& T" [( `: v8 ]0 Y7 s
  142. ;   Default Value: 1009 d3 ^6 _1 P! g( v2 X
  143. ;   Development Value: 1000: }, J: |3 [) I! K( k' e% Y
  144. ;   Production Value: 1000' ^: X+ C; g1 f. }# j8 j

  145. $ i' c5 u. g( |8 k- C% V
  146. ; session.hash_bits_per_character
    # a" U1 }6 d0 L6 N5 }
  147. ;   Default Value: 4
    # t2 e* e% v; v4 B4 D& T- @* J
  148. ;   Development Value: 5* n  x2 i: g4 j1 Q
  149. ;   Production Value: 5
    . }  y8 J$ G5 T6 e2 Z
  150. ' h; G* A# J7 m% H
  151. ; short_open_tag
    % g) Z' W  X7 i3 W$ f3 C- S4 t
  152. ;   Default Value: On
    6 x' |# ]# d1 [- T$ `
  153. ;   Development Value: Off
    - h8 Q2 Q$ C6 q* f+ D- @
  154. ;   Production Value: Off3 U' x) w1 }3 _/ u' g8 `; i

  155. 3 B4 t/ a: |' C" ]* p8 K; G
  156. ; track_errors, b* N& Q3 L$ d" q( `
  157. ;   Default Value: Off
    : y2 Y5 {/ h7 S' t
  158. ;   Development Value: On# b  s* R- p/ d+ A* s
  159. ;   Production Value: Off  [* D& e6 b7 Y" E' E. g- t+ j
  160. - g- P0 c6 Z0 v
  161. ; url_rewriter.tags2 N  P" C* g5 f% j/ }8 k; |+ C& a3 D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' w" W- R/ L4 b3 x* o
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' j9 w* r4 X$ i* S
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 |" h! o% Z1 Z, ^2 h$ S' f
  165. 0 u! b. z; g! [# w
  166. ; variables_order
    ! _/ w1 N; Z4 g: V
  167. ;   Default Value: "EGPCS"1 H5 l- l+ i4 c; E
  168. ;   Development Value: "GPCS"
    4 s' l; r# [  u& T# V9 ^8 T
  169. ;   Production Value: "GPCS") Y1 x. ^/ a+ X0 Y( |

  170. / ^3 k8 W/ w& r) b, P
  171. ;;;;;;;;;;;;;;;;;;;;
    ! i( T2 p  }9 \. l5 [
  172. ; php.ini Options  ;* N& `# ]) q& F. X: q5 L
  173. ;;;;;;;;;;;;;;;;;;;;/ K0 ~: u* w" b
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 ~9 m% l. |5 g+ R- e
  175. ;user_ini.filename = ".user.ini"; [7 m+ x6 @4 _) Y2 a
  176. % m- b* W( h; k3 I1 O
  177. ; To disable this feature set this option to empty value
    ' V/ J) {. Y# }0 o$ O. c
  178. ;user_ini.filename =% q% L' v: J4 V; X0 ]
  179. 6 K: U+ q+ E' u1 C; ?
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / c7 d- V' o* j6 ~% o' U
  181. ;user_ini.cache_ttl = 300
    ; x# B: Y6 i% z, n

  182. 2 t7 I0 m( f! d" y+ `: e8 F2 }
  183. ;;;;;;;;;;;;;;;;;;;;
    4 G3 x4 O$ o5 R/ t( x8 E; s
  184. ; Language Options ;# F" q8 o0 U( F+ {
  185. ;;;;;;;;;;;;;;;;;;;;% ^2 B! n" x9 f  b2 J" [

  186. 9 I6 t9 J6 B7 }4 f" q- i4 ]
  187. ; Enable the PHP scripting language engine under Apache.
    / D' W" R. b" M6 _( Y+ o
  188. ; http://php.net/engine
    . k# n9 V6 s6 {8 r7 i* m, y
  189. engine = On3 \  U! j* {+ `# w% E6 U
  190. 6 Q- V, S& M" v: D, a2 t
  191. ; This directive determines whether or not PHP will recognize code between1 |* H! u9 }0 K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 N+ n1 Q  e' D) P- o
  193. ; generally recommended that <?php and ?> should be used and that this feature1 A3 O( q4 }: P
  194. ; should be disabled, as enabling it may result in issues when generating XML
    2 T, @0 `/ F8 {( P
  195. ; documents, however this remains supported for backward compatibility reasons.$ x( r9 l1 ^9 h9 p# t! R
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    9 `# D. ]2 n/ ?  t. a) d* Q  I% B
  197. ; used regardless of this directive.
    : S, q: y6 [- F% e
  198. ; Default Value: On
    2 r3 r6 w4 T1 Y
  199. ; Development Value: Off
    * {0 u( m4 ^: r& q2 L  R$ y
  200. ; Production Value: Off
    2 d* f6 G, n7 I+ B$ W3 R. r- ^
  201. ; http://php.net/short-open-tag
    3 G% _, ?+ R/ Q3 ^* L
  202. short_open_tag = On) {  u+ r! m5 |( H

  203. ( M: L: Z6 @/ Z- ?& ]. a7 B" g3 C
  204. ; Allow ASP-style <% %> tags.7 C  J3 a5 i' ?2 ~, P" f4 Z
  205. ; http://php.net/asp-tags
    & E! R4 B; E! O0 h  c/ ?' s8 i0 L
  206. asp_tags = Off
    # `* O+ P6 V' l! [/ `
  207. . V8 C, m0 W8 g. e" S$ y
  208. ; The number of significant digits displayed in floating point numbers.
    # P. o  S/ t9 P8 ]( q
  209. ; http://php.net/precision' l: W) M& x" E8 P$ ]
  210. precision = 14
    2 }. O- z" r6 x, r

  211. 5 H0 A( X$ E( T7 L% b/ R& T5 [, R
  212. ; Output buffering is a mechanism for controlling how much output data
    ' R( M& r0 h0 |6 {; I+ E
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that' |+ s1 P5 K& Q+ f: z9 l
  214. ; data to the client. If your application's output exceeds this setting, PHP; G( s* P" E4 C( F
  215. ; will send that data in chunks of roughly the size you specify.4 ^5 V) @7 P6 j" d- _
  216. ; Turning on this setting and managing its maximum buffer size can yield some2 {* _8 T2 u. a- T' c" [( Z) x
  217. ; interesting side-effects depending on your application and web server.( E* G5 P- C; k
  218. ; You may be able to send headers and cookies after you've already sent output
    7 l: W9 |" g+ I, Q* x  O
  219. ; through print or echo. You also may see performance benefits if your server is
    6 W+ H7 M2 g7 l1 \% ^
  220. ; emitting less packets due to buffered output versus PHP streaming the output& E6 G6 W5 ~3 i* l8 }7 l6 `' `
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      Y8 A5 _! A: z4 x) u
  222. ; reasons.
    # [+ m- L. f& a4 r- O- |8 g
  223. ; Note: Output buffering can also be controlled via Output Buffering Control- U7 j! M3 D% X2 z
  224. ;   functions.. l" V# r: A2 m, S/ E
  225. ; Possible Values:/ @# ~" E! M, `3 G7 |- k
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * E$ _* T5 ~$ a% X
  227. ;   Off = Disabled  E9 l$ C. W' h% _5 T
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 t4 J8 j9 B2 Y
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI# A0 O: z: c8 b' A5 ^& f
  230. ; Default Value: Off  \6 b6 w; K* Z3 B* L( e
  231. ; Development Value: 4096
    # r2 r' q& l+ g6 @; X- E  [, ]. Z0 M
  232. ; Production Value: 4096
    " u" j" Q, G4 V1 F* K; G  X
  233. ; http://php.net/output-buffering( z3 d; T* {8 c+ Y5 ?
  234. output_buffering = 40962 d: h: C3 W  c5 d5 M

  235. 0 M4 R3 D) Z& @  E
  236. ; You can redirect all of the output of your scripts to a function.  For
    ) `/ o4 x4 e" P
  237. ; example, if you set output_handler to "mb_output_handler", character: o7 n4 Z- s* A- {5 u/ G
  238. ; encoding will be transparently converted to the specified encoding.
    # k& `& N# q/ ?# B( H
  239. ; Setting any output handler automatically turns on output buffering.
    : F4 d/ E5 K$ N) n+ o
  240. ; Note: People who wrote portable scripts should not depend on this ini
    : \* `6 _# x* l! B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ' o7 a& C1 Z0 f7 F  M
  242. ;   Using this ini directive may cause problems unless you know what script
    ! O  ^/ R. l$ [( S1 I6 S  @/ f
  243. ;   is doing.
    8 p( @) N: D( {: v. ^; s
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; b) i6 B/ P* H4 Z& y& h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 Q7 W; P; `7 s/ l  s0 ]
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ' N( c8 d  O1 m( w8 l: M
  247. ;   Instead you must use zlib.output_handler.* L  y8 Z3 ~1 @- l; K6 p) h
  248. ; http://php.net/output-handler- q4 ?) P& ?3 P3 |( k8 A
  249. ;output_handler =/ e) ~$ N, c* b! ]9 w  o6 ]

  250. 5 F! p2 S% ~, a) Z
  251. ; Transparent output compression using the zlib library5 d: n% \) u) s  P
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # A# z% {& {8 n
  253. ; to be used for compression (default is 4KB)
    % O3 C; x  D1 `3 H
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 ?6 @! \: v, R% x4 D5 A
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 n/ i3 _" E) i9 L. ?* }
  256. ;   compression. If you prefer a larger chunk size for better7 P) C  s2 f( Z' Z/ N
  257. ;   performance, enable output_buffering in addition.( z  {3 R, ?8 d$ n' w: Z3 X- P1 H
  258. ; Note: You need to use zlib.output_handler instead of the standard9 o  j1 y8 Y8 {5 R3 G; {
  259. ;   output_handler, or otherwise the output will be corrupted.3 m5 q7 }7 T9 [
  260. ; http://php.net/zlib.output-compression
    # Y* p9 [- J$ T5 V. R( q
  261. zlib.output_compression = Off
    % m" ~2 q9 S# q6 y. c6 }
  262. % {1 r" Y8 W2 j7 I
  263. ; http://php.net/zlib.output-compression-level
    " t% ?' v! \( A9 o* D
  264. ;zlib.output_compression_level = -1
    % k5 V- j* D" w8 e
  265. ) Y% N( n4 \8 |9 t
  266. ; You cannot specify additional output handlers if zlib.output_compression
    & r& C3 p. c1 @! f
  267. ; is activated here. This setting does the same as output_handler but in+ L, s' l- B0 c  J: A8 U( X
  268. ; a different order.9 e" Y- b  b: ?
  269. ; http://php.net/zlib.output-handler# i8 v" v2 B! d0 k6 z
  270. ;zlib.output_handler =
    3 E/ f3 j: W8 L- A6 H7 Q  M

  271. 6 x9 @( V& i" f; d& @4 w. U4 o1 f  J2 J
  272. ; Implicit flush tells PHP to tell the output layer to flush itself  D3 q( M4 z0 m! M) y
  273. ; automatically after every output block.  This is equivalent to calling the. I8 Z$ }) [+ v8 t
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : }5 i, {! ]6 d9 q3 _% w
  275. ; and every HTML block.  Turning this option on has serious performance( P. ]1 q3 {# M
  276. ; implications and is generally recommended for debugging purposes only.
    $ N- \- }% H' H" ]2 k
  277. ; http://php.net/implicit-flush( A, _7 U, q5 V6 F5 x6 G
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! `/ ?2 A2 T+ C% G
  279. implicit_flush = Off% O2 d# n8 t! }8 r% ?- _- B- }

  280. 6 d% h7 l- a* F$ A8 r/ S
  281. ; The unserialize callback function will be called (with the undefined class'  w7 D0 [# y4 t
  282. ; name as parameter), if the unserializer finds an undefined class
    0 U! x0 l. Z. S9 a: C6 v; G% J
  283. ; which should be instantiated. A warning appears if the specified function is
    1 N1 l) S( v7 A% u1 X( m
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ! C, d0 B6 S6 _, q# f+ G2 k
  285. ; So only set this entry, if you really want to implement such a
    : O, h# X: D) g0 q# V
  286. ; callback-function.% i/ ?8 n+ S: D
  287. unserialize_callback_func =
    $ j) M' R, t, ]7 N8 _5 j' k% d

  288. ! _; _! n  y' G3 y8 ?, y
  289. ; When floats & doubles are serialized store serialize_precision significant: I* i/ D, |$ O7 s
  290. ; digits after the floating point. The default value ensures that when floats
    " x5 L7 A4 D" C: b) m; U$ F& a. g
  291. ; are decoded with unserialize, the data will remain the same.
    9 S9 z/ Z) l2 ]* r7 t
  292. serialize_precision = 17
    ! k- p& ^! Q, c

  293. ; q% B4 d$ _; f% m( E2 S+ E  Y9 B
  294. ; open_basedir, if set, limits all file operations to the defined directory
    9 H4 n8 S! |1 e$ [8 y% N8 ?( ?4 R6 v
  295. ; and below.  This directive makes most sense if used in a per-directory
    ' r5 P# @+ d: z9 e- x3 q: {
  296. ; or per-virtualhost web server configuration file.
    " k! [* L1 e3 J& G
  297. ; http://php.net/open-basedir
    ( O  R5 V7 u* }, i% h+ r
  298. ;open_basedir =
    - r: W. y; v3 \' ^) D4 O, d9 ?
  299. : W+ ?! e% Z! p+ n$ e
  300. ; This directive allows you to disable certain functions for security reasons.
    1 x, J1 U9 p" K) s; w+ d
  301. ; It receives a comma-delimited list of function names.3 }/ X: q6 C3 E
  302. ; http://php.net/disable-functions( A: [0 k7 [6 f) ]
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# O  }/ ]( ^2 D2 F" K
  304. ' {4 _) x$ b- \6 I' a# ^/ u0 V  i: W8 Y
  305. ; This directive allows you to disable certain classes for security reasons.
    / ]# D: s* i5 M- N6 j+ _0 R0 c
  306. ; It receives a comma-delimited list of class names.' f! T# v  _: l* x1 S' d2 F
  307. ; http://php.net/disable-classes. a+ X# s% a1 e9 n& t& z% B
  308. disable_classes =! B0 c+ o% |/ D+ S/ _* x2 _0 G
  309. 9 x/ ]" g# `) [1 _/ g; b
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ W5 B% ?6 c4 V- X8 E5 f
  311. ; <span style="color: ???????"> would work.
    4 N3 n2 S0 K" r/ A5 H
  312. ; http://php.net/syntax-highlighting
    , O; w, G9 l6 l7 x* T
  313. ;highlight.string  = #DD0000! z( v  J9 O0 E0 s* j- H6 M
  314. ;highlight.comment = #FF99009 y3 t; n' Z  J, b' H! U3 j" x
  315. ;highlight.keyword = #007700+ R! `! u0 K, A2 ~" U* W5 q
  316. ;highlight.default = #0000BB& w# |  x% `$ o8 S# r( o' V4 L
  317. ;highlight.html    = #0000003 |# ?9 w7 D; q! j

  318. ) C9 K) ^# }/ S9 A. X2 g; ]
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    . y6 H, U. H) z# T) P
  320. ; the request. Consider enabling it if executing long requests, which may end up$ e  ?5 D" {0 x* O
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior+ i1 ^# L5 H3 a0 I3 |: h
  322. ; is to disable this feature.
    ; n. q; `8 j) }1 }
  323. ; http://php.net/ignore-user-abort
    " c5 d: X) u2 D" o/ ]
  324. ;ignore_user_abort = On
    8 B& ~, u7 [6 L" K0 F4 ^6 M. P' _( x5 c
  325. - [6 _) a5 N  ^& i% t0 d* ]
  326. ; Determines the size of the realpath cache to be used by PHP. This value should4 [/ x  }9 i6 R9 t$ v. j& V0 O2 E
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    2 Y( H6 ^, `* j: ^
  328. ; the file operations performed.
    " m; u7 k- {  d
  329. ; http://php.net/realpath-cache-size. X2 I* o  u5 V! i
  330. ;realpath_cache_size = 16k. U  b3 r  }6 R7 J: S

  331. 5 s! V8 C3 [% V2 j
  332. ; Duration of time, in seconds for which to cache realpath information for a given" ?( c5 Q6 m5 o/ y- C1 h/ L
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 x; h8 C* C- P$ }) F+ ?
  334. ; value.9 [& T- D" O; T+ n7 y6 d
  335. ; http://php.net/realpath-cache-ttl
    ; g# F" n- O6 j/ A/ ?8 f
  336. ;realpath_cache_ttl = 120. z8 [2 B8 [1 Z- C0 e5 ?
  337. 1 A, b% P0 Y/ U  D  v! K
  338. ; Enables or disables the circular reference collector.8 ?6 p6 W  v! Q5 U$ ]- i0 O
  339. ; http://php.net/zend.enable-gc
    ( A1 S' f" P2 F7 t4 ~
  340. zend.enable_gc = On
    , W  n# T& P( W# \% M) B' t1 ~
  341. + Q: b$ F$ m5 w' _) F. E
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    * Z) S& i; s" g  }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: f, l7 @4 Q! L
  344. ; encodings.  To use this feature, mbstring extension must be enabled." @1 m& q6 J; h, i1 g+ T9 H! S
  345. ; Default: Off# z8 K7 [# d6 `) R9 t
  346. ;zend.multibyte = Off; V: I/ I& g2 {

  347. - a% b5 B# {! H7 M- |
  348. ; Allows to set the default encoding for the scripts.  This value will be used# H! q1 [* {# ~' \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ' s4 X9 }7 T) B) ]: U
  350. ; Only affects if zend.multibyte is set.
    7 i/ [2 G8 z" I: S5 |) x2 P" ^. w" _, S
  351. ; Default: ""3 j+ u$ z9 X6 D% n0 D% E( X
  352. ;zend.script_encoding =5 T8 ?7 n. i( h! n% n1 W# ]6 T

  353. " w% ?! }" `& h9 o1 g; t  i) w
  354. ;;;;;;;;;;;;;;;;;
    - I$ R/ A/ S& o
  355. ; Miscellaneous ;4 j: B/ i) O8 I' w
  356. ;;;;;;;;;;;;;;;;;
    / c$ T6 t# D% O7 p  ^5 ^% ]
  357. 4 I- U8 W7 h0 v9 s/ O; P8 K: \3 T% j0 V
  358. ; Decides whether PHP may expose the fact that it is installed on the server$ h. H8 K$ j1 T' j. ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) x- ]& L% L- y& H' s) V7 H- W
  360. ; threat in any way, but it makes it possible to determine whether you use PHP7 @5 E7 f. l7 [! @2 u
  361. ; on your server or not.* ]: D/ s! @+ _5 O# N# A2 `
  362. ; http://php.net/expose-php
    2 t5 y% k3 d3 I2 @% i
  363. expose_php = On
    * q( f( k2 c7 p
  364. $ n: i4 x  k+ s% f$ Q: G
  365. ;;;;;;;;;;;;;;;;;;;/ d3 W& s7 `* M. r: B6 Q
  366. ; Resource Limits ;# O# w; f4 {/ M5 r
  367. ;;;;;;;;;;;;;;;;;;;
    2 l& R+ _0 O7 G0 p" Z% g  m

  368. # {$ Y/ U& L9 O2 _7 j( b
  369. ; Maximum execution time of each script, in seconds
    1 i" K: S) j- q0 j# ^/ E
  370. ; http://php.net/max-execution-time- c  k( B9 |) A8 a$ Q% g; L
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 ?8 _7 r+ k' C9 f, ~  C; e8 Y, ~
  372. max_execution_time = 300
    , B  K: O. U  c9 M! T# O8 U9 Y0 `
  373. . d, D4 E. G* F1 v% K
  374. ; Maximum amount of time each script may spend parsing request data. It's a good' k8 L1 `$ p: `) l1 x
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ \; s! P% \7 O! S
  376. ; long running scripts./ S+ L% W0 {' s. P$ r; n* w
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI) y6 F& I& [! ~7 Y
  378. ; Default Value: -1 (Unlimited)8 \/ t# R5 Y$ e
  379. ; Development Value: 60 (60 seconds). s* B7 ^, I3 s
  380. ; Production Value: 60 (60 seconds)
    7 O1 [3 b9 t! \
  381. ; http://php.net/max-input-time' y9 }! B- a' z% i
  382. max_input_time = 60
    & s' \3 Z; b& Y7 \; ?

  383. / A8 n0 p4 i1 l
  384. ; Maximum input variable nesting level0 ]) |+ v7 J! F! A' M$ M
  385. ; http://php.net/max-input-nesting-level5 a2 w. u" u* J
  386. ;max_input_nesting_level = 64: g! @# a& y4 o4 f3 L  g& O, s1 P
  387. ) j  K  o  E) S" b
  388. ; How many GET/POST/COOKIE input variables may be accepted5 f% F" I' g9 l; ^& Y
  389. ; max_input_vars = 1000
    2 n/ c- r" \; \7 Q! x7 q$ p" u
  390. & X, D- o: {3 Y; l, t- C  b( P) l2 Z
  391. ; Maximum amount of memory a script may consume (128MB)8 V7 U$ J) e/ A1 C' o: j' s) b
  392. ; http://php.net/memory-limit
    ) _9 A; n; m  _3 l; z# `
  393. memory_limit = 128M* ]9 _' G5 n4 d% p- E( A

  394. ( |5 E0 N" Z' t9 y4 o& O
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* [8 W$ c7 l7 d# R; t
  396. ; Error handling and logging ;" B7 [! t* ^3 \8 N7 X
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ P% t( O7 c7 l3 K

  398. - m; W$ m  k. c, b$ H: d  k3 p
  399. ; This directive informs PHP of which errors, warnings and notices you would like+ K9 j% Z: V/ z! H/ C+ K! u# ^) g1 {0 P
  400. ; it to take action for. The recommended way of setting values for this
    : D4 b2 a" s1 d/ o9 B8 j
  401. ; directive is through the use of the error level constants and bitwise7 V$ d6 U2 w/ Q: N+ ~
  402. ; operators. The error level constants are below here for convenience as well as
    ' _" \* n( Y" X* K* x) \7 N
  403. ; some common settings and their meanings.
    # m% d2 O+ W' W# B, m
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 M- g& n7 X1 |: O1 _
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ l1 n8 x5 }9 @6 l6 M( T5 T
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ; ~6 Y/ D) x8 u9 P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting/ Q7 z) d- K( R) `9 ^3 n
  408. ; resources complaining about best practices and coding standards. That's what
      @# d4 c) ^7 z4 _$ y; l" {
  409. ; development servers and development settings are for.' Q5 m+ z: d& u# ?" V' G
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    / m: {- S: O; o0 C5 U
  411. ; means it pretty much reports everything which is exactly what you want during; j3 x  ^9 B, u8 {  f+ J+ S7 n: U; f3 f
  412. ; development and early testing.
    * Z# d' z$ f, V4 {
  413. ;
    ) }: m& ]" @  E# ^
  414. ; Error Level Constants:
    $ v1 a$ `9 h  _
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)0 h- S, B8 w. |3 t1 [
  416. ; E_ERROR           - fatal run-time errors
    8 P) ]  {; k/ i2 k7 G2 b
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 t  C: I4 x. g/ z6 w" E
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; a7 ]0 C8 z( o  y: ~
  419. ; E_PARSE           - compile-time parse errors
    $ g* ]" j, G6 a( m. |0 e, ^' o
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% v; L0 Z; f' f2 _: s9 Q
  421. ;                     from a bug in your code, but it's possible that it was' ~. \9 ^! R6 j1 @9 [& j- K. w
  422. ;                     intentional (e.g., using an uninitialized variable and
    : z$ ?: h7 n& R
  423. ;                     relying on the fact it is automatically initialized to an8 p/ a. }( y( j  k; L
  424. ;                     empty string)# N! \# P% X% k
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes& B0 T& d0 x5 J( V
  426. ;                     to your code which will ensure the best interoperability
    - h. g& J, P6 d  [
  427. ;                     and forward compatibility of your code
    ! }4 W# |, D" i; R7 G6 T- H6 u6 M$ S* B
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup2 k( O# Q! F( M/ c# T+ }2 m
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's5 P4 S. K6 s- Y
  430. ;                     initial startup
    : i/ c+ Q) w" k( m% C" ?
  431. ; E_COMPILE_ERROR   - fatal compile-time errors7 r- y6 d3 }6 U( a2 b
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    3 L+ L' z, k3 S8 H; Z
  433. ; E_USER_ERROR      - user-generated error message
    / o( z% {8 \5 Q: ~8 g. M- Q% B
  434. ; E_USER_WARNING    - user-generated warning message  x" g0 S; ^: i) S! L! G
  435. ; E_USER_NOTICE     - user-generated notice message
    8 ~7 s- _8 N& g5 W; `
  436. ; E_DEPRECATED      - warn about code that will not work in future versions5 u. a  Q) z7 Z. X
  437. ;                     of PHP) g1 b2 O4 {3 E9 E! w
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) L' O- o$ ?0 ]7 E' a! w
  439. ;, |6 N- t) z9 N* M  G% X, l1 _
  440. ; Common Values:
    # T- X/ J- q8 t3 v1 k8 A" J
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 n4 b$ d3 Y0 w. R0 B# Y$ I& p6 W
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# f( t2 P" m, M. H9 n1 d0 G( v
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)2 f, c; `* u7 G# p9 z8 u
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! o0 e, j# X" e( S) y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ v4 G, U- U/ t3 h3 P
  446. ; Development Value: E_ALL
    4 V& S4 D- Y) Z3 A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      g8 h# g3 m. a. b
  448. ; http://php.net/error-reporting
    3 A% m& V" Y4 ^3 d& |5 V) U
  449. error_reporting = E_ALL & ~E_NOTICE5 _% [& H+ t' b* G; T6 \6 I' Y

  450. 5 w) f+ ]  l3 R: ~- Y6 i$ t
  451. ; This directive controls whether or not and where PHP will output errors,
    # [: B+ v0 D: o% f. H% Z
  452. ; notices and warnings too. Error output is very useful during development, but$ |0 K$ f, g" A% S8 s2 A  F6 G  l/ T% E
  453. ; it could be very dangerous in production environments. Depending on the code1 k. |; M$ Z" X
  454. ; which is triggering the error, sensitive information could potentially leak5 x. ?: Q9 }9 V  A+ `
  455. ; out of your application such as database usernames and passwords or worse.8 l* ^: P0 D  z
  456. ; For production environments, we recommend logging errors rather than
    ! r( p( x7 t9 ~3 S" J* E- p
  457. ; sending them to STDOUT.2 B  X0 x8 p0 w8 V: b$ ]' m; S
  458. ; Possible Values:- F7 `. q7 Y4 \6 w- l) c( ~
  459. ;   Off = Do not display any errors
    , k( B" X( _$ h' H# U- }) ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / u  `3 C" X  t- x5 h9 B3 }
  461. ;   On or stdout = Display errors to STDOUT
    ) O& t9 f0 u& S& h4 ]8 Z1 U9 Q6 b/ q
  462. ; Default Value: On6 u& E% g9 f5 i: v; N! z- D/ w' V+ @
  463. ; Development Value: On
    ' Z- Z4 [+ G+ r- E, U
  464. ; Production Value: Off( A6 }1 X4 _5 l/ h' B+ Y4 K# F
  465. ; http://php.net/display-errors% y) b7 [, W& t" n6 ]
  466. display_errors = On
    ! H4 i1 f7 M2 x% H8 n

  467. ; `  ^* w! O( U+ e5 r' u
  468. ; The display of errors which occur during PHP's startup sequence are handled  j! u7 u/ ^( m, z
  469. ; separately from display_errors. PHP's default behavior is to suppress those, h$ [1 E! x; n% U9 x6 K/ a
  470. ; errors from clients. Turning the display of startup errors on can be useful in8 O9 |' o; U' ?+ |) \1 Z. S
  471. ; debugging configuration problems. We strongly recommend you
    . B+ g& E9 l  c8 t, H# S; X( c" [
  472. ; set this to 'off' for production servers.
    7 N8 }* ]1 k8 s/ R1 W
  473. ; Default Value: Off
    + X0 t) g, V, ~3 {
  474. ; Development Value: On2 I& i4 E% o7 @7 t% u) t7 e3 \
  475. ; Production Value: Off
    6 }1 y- q% Y( c, X
  476. ; http://php.net/display-startup-errors6 S- _4 }6 q  K/ E  P0 c) [4 r- N" l
  477. display_startup_errors = Off
    ! Y+ j. ?- h# H) s
  478. 3 Q* D5 x+ f  P4 B
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    + V' E3 k. U& Q; H0 G  ]
  480. ; server-specific log, STDERR, or a location specified by the error_log- ]4 s5 s* l$ B: K+ F
  481. ; directive found below. While errors should not be displayed on productions
    : z. [# q, F  K$ U/ H
  482. ; servers they should still be monitored and logging is a great way to do that.
    - ]8 P* t' V' ]  P8 |' q! \+ n
  483. ; Default Value: Off
    ( d1 Q+ B2 j( g9 h
  484. ; Development Value: On7 _# k7 K) J" {) F0 O. m: a( x
  485. ; Production Value: On- b/ X& F3 q' J  R% ]
  486. ; http://php.net/log-errors! [+ I- q$ C$ }7 H" K
  487. log_errors = On
    6 L  K1 R: P# R$ |1 E* h

  488. 5 _/ l) W+ D+ c8 L! }
  489. ; Set maximum length of log_errors. In error_log information about the source is* N; G+ Z, f! u+ F
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.9 ]: }+ \% D; F+ |
  491. ; http://php.net/log-errors-max-len. u! N- H! x$ J, K
  492. log_errors_max_len = 10240 N+ d$ ~$ A* d$ m9 Y8 ]$ O' ^

  493. " |% Q! C" i' j. ~
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same+ j. m! u' Y" w% C
  495. ; line unless ignore_repeated_source is set true.
    . B3 g, x  b0 f. X7 t
  496. ; http://php.net/ignore-repeated-errors! w4 D- v1 K4 A  ^# a; |
  497. ignore_repeated_errors = Off
    ) U4 P; |$ R3 {0 ~- n4 V
  498. 3 o, Q' z: y" v6 M- ?
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    8 h* K0 S! M' x# f! d+ r. v( E
  500. ; is On you will not log errors with repeated messages from different files or
    ' C4 o/ }( x3 W- E, o0 |' A
  501. ; source lines.
    : M* f% G4 U, {( k$ m
  502. ; http://php.net/ignore-repeated-source
    & {% a, [2 p( T
  503. ignore_repeated_source = Off
    $ t- e& A" w' [8 V! W

  504. 7 C3 U( s9 \# l0 z1 o# ~$ Z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ) T: p* s/ c+ @
  506. ; stdout or in the log). This has only effect in a debug compile, and if. f, I+ E8 Z9 ~
  507. ; error reporting includes E_WARNING in the allowed list! V$ |- ^6 p+ ~- U& o, Q6 J
  508. ; http://php.net/report-memleaks
    7 t+ E6 \! x3 m1 p" Y
  509. report_memleaks = On2 P2 C" }8 d& q! P; G

  510. 9 p6 ]) y3 }6 Z7 n
  511. ; This setting is on by default.
    ' W) _3 N6 g: Q# d- Q, F
  512. ;report_zend_debug = 0
    . u6 Q8 b/ @! P" b+ [
  513. - \) g5 J0 b& r' J$ e8 m2 A
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' p# b/ }& k" [6 M  i: v
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    / D) F/ e1 C4 ~1 q
  516. ; however be disabled on production servers.9 H, B6 B3 D3 s, @! W
  517. ; Default Value: Off
    ; l9 c% g2 T# ]# R5 s
  518. ; Development Value: On! [+ f/ a% M$ u- O) f  N, j
  519. ; Production Value: Off
    6 |' Z2 p% d5 E* Z4 Y
  520. ; http://php.net/track-errors' ~/ E- t: j* B& a1 P7 `- U5 B- S1 m
  521. track_errors = Off
    $ j+ H5 |  l' n! n* t" K9 y+ ^( H
  522. * l8 A! o: g- @& Z
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    6 N8 ]. y+ \0 R8 {- s
  524. ; http://php.net/xmlrpc-errors/ e3 _; b$ x! y+ W' Z$ I
  525. ;xmlrpc_errors = 0
    5 _& e9 V, X2 A' i: y' d
  526. ; |2 B# _9 b- P! F: c" V
  527. ; An XML-RPC faultCode8 d% ]  ^/ M# a! t0 E) \
  528. ;xmlrpc_error_number = 0
    % k  Y" @8 n. z$ f

  529. . g! E9 W/ s: I5 d
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ; _& @8 V  U4 n1 @- M" |7 A
  531. ; error message as HTML for easier reading. This directive controls whether
    4 d& b6 X' T5 T. W) e
  532. ; the error message is formatted as HTML or not.6 ]( n2 k6 C) N# }7 a8 ]
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI( [- n- U7 R) i/ ]4 h
  534. ; Default Value: On
    ' P  t# N! N  j
  535. ; Development Value: On! P7 j1 g4 h2 s9 h. b+ o
  536. ; Production value: On& ^6 C, X/ U& U* A2 M
  537. ; http://php.net/html-errors& j. e4 l# K. L2 L; S
  538. html_errors = On9 e* r9 P( z0 n

  539. " J" O0 d/ R+ P6 Q# b
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP5 e7 k2 o5 h8 A
  541. ; produces clickable error messages that direct to a page describing the error3 N3 ?: s7 e! T6 `
  542. ; or function causing the error in detail.# S2 M- G/ B) k8 ^; c7 j
  543. ; You can download a copy of the PHP manual from http://php.net/docs( c. u, @2 \  R4 b
  544. ; and change docref_root to the base URL of your local copy including the
    / Z6 t, f" p6 |* `8 P
  545. ; leading '/'. You must also specify the file extension being used including$ [/ z6 r0 [% n9 `9 r; b% t" G" o; N
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    " J  I' Y" l, U2 b9 v
  547. ; case no links to documentation are generated.
    0 O" v' p  N  V5 U8 B6 c
  548. ; Note: Never use this feature for production boxes.5 ^7 @/ E  e- J0 N, E5 l1 l$ f
  549. ; http://php.net/docref-root
    * L2 d+ z) m$ x7 y( ]
  550. ; Examples
    & c- l/ J" N0 M! }
  551. ;docref_root = "/phpmanual/"
    ) l4 f' G  j6 c; c6 ~
  552. 4 w6 h  @7 M% t, R) S9 x3 \
  553. ; http://php.net/docref-ext
    3 g; N; ?+ w! @( l, z
  554. ;docref_ext = .html
    5 e' [0 {* W5 e/ Y* C

  555. $ Q  J8 T- X0 h3 T/ R6 d, U8 }
  556. ; String to output before an error message. PHP's default behavior is to leave' ~& q& ]; ^9 Z6 V# C
  557. ; this setting blank.
    - ]6 ^6 U2 v% e- v) [+ d9 V
  558. ; http://php.net/error-prepend-string) U8 q# ~+ e) ~5 k4 J  Y9 B9 s& g
  559. ; Example:
    * w& |+ `! f% V
  560. ;error_prepend_string = "<span style='color: #ff0000'>". b  \8 l1 N) Q) \! M+ D  [

  561. ' X- P) O6 g) T
  562. ; String to output after an error message. PHP's default behavior is to leave
    & |7 e. T7 j5 z* ^7 F: L
  563. ; this setting blank.
    0 u% O6 p) h" b* H# N' e
  564. ; http://php.net/error-append-string6 Y' O* U/ j+ B$ _
  565. ; Example:
    9 F. ~9 N0 E# w) k' ]0 l  A. d
  566. ;error_append_string = "</span>": S2 O$ x2 M, w
  567. 8 ]# H& U% L1 b0 U" }" L
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - l0 j7 l4 F1 ~+ ~, S
  569. ; empty.
    # Y( O# l0 T/ ]% E2 m$ D' Z
  570. ; http://php.net/error-log
    1 `, m+ t0 O7 s' Z) R& R
  571. ; Example:
    ' N# ]( }& V# C/ r
  572. ;error_log = php_errors.log
    * g1 T) C, B% y3 Q. B
  573. ; Log errors to syslog (Event Log on Windows).7 x2 Y+ k7 S5 G0 p; d3 ^; T
  574. ;error_log = syslog
    ; i; o/ Y' N1 m) x/ A$ p( D; O& |
  575. 7 \. }' ~- r. P4 P! @
  576. ;windows.show_crt_warning  F) M2 a" X5 {7 ^& H) y+ D
  577. ; Default value: 0
    - p. G( `3 O: q* G
  578. ; Development value: 0. f& H  g5 S& E, F) I" `, Z
  579. ; Production value: 0
    - ]1 c* d+ a! H- H: @' K
  580. - _8 d7 w6 L% d9 a# j) ]9 N
  581. ;;;;;;;;;;;;;;;;;
    ' a5 M) ^# S5 L
  582. ; Data Handling ;# |% t/ B* u- P  |9 m7 k
  583. ;;;;;;;;;;;;;;;;;7 t, E2 e6 K+ i) z
  584. ' I: @+ _! G  T! S
  585. ; The separator used in PHP generated URLs to separate arguments.; q* S+ m1 F% N4 A7 `
  586. ; PHP's default setting is "&".
    " H/ X( W! d2 g; P6 }8 B3 B
  587. ; http://php.net/arg-separator.output
    2 _! I2 ?8 Q" E; ?. ~" w- m+ C: Z
  588. ; Example:. H- j  S8 f! J" z, m; x
  589. ;arg_separator.output = "&amp;"3 u4 L( `( i, J1 x! f& i
  590. - Q0 Q) q/ C( E  ?4 ?* s! _
  591. ; List of separator(s) used by PHP to parse input URLs into variables.- y1 o) q" B1 r) f
  592. ; PHP's default setting is "&".
    & q4 m4 ?5 @! W1 Z4 \6 D! Z- k
  593. ; NOTE: Every character in this directive is considered as separator!
    1 ]* Z9 p3 v8 \; X
  594. ; http://php.net/arg-separator.input- i* j* v: g' O6 F& l, k. y
  595. ; Example:: E4 n; s/ Y0 y) P# ~- [1 d
  596. ;arg_separator.input = ";&"
    / \! M2 r( [; W

  597. + J5 q8 {' e0 m' e5 S1 M
  598. ; This directive determines which super global arrays are registered when PHP
    3 T8 C, ?1 A* v# a( M4 S
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 s* B9 p3 z$ y9 W4 U
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      }$ P0 ^9 K) i- U
  601. ; paid for the registration of these arrays and because ENV is not as commonly1 N- {; s* }5 q4 X4 N
  602. ; used as the others, ENV is not recommended on productions servers. You( R7 A8 k. a8 M) J( n4 F3 E
  603. ; can still get access to the environment variables through getenv() should you& i2 @& S. i1 X
  604. ; need to.
      k2 d: F, j* k$ \! q
  605. ; Default Value: "EGPCS"
    8 ?# P( E/ }4 P5 ?+ C- m) h5 y
  606. ; Development Value: "GPCS"
    : Q: X+ K( J2 [: X' V. j+ q3 E$ o
  607. ; Production Value: "GPCS";
    ( D7 u) v7 Q9 _8 z" N9 }  k! L
  608. ; http://php.net/variables-order
    , k" K' z# C. m( C/ T
  609. variables_order = "GPCS"2 \) }3 O; t# Z$ C

  610. * H5 W0 N# b* o3 ^6 k. \1 U9 B
  611. ; This directive determines which super global data (G,P & C) should be
    % ~! ?8 V9 p  A" H, U
  612. ; registered into the super global array REQUEST. If so, it also determines; P5 L# h9 F8 C- v9 z8 c% t6 G9 {
  613. ; the order in which that data is registered. The values for this directive
    7 K' z& B$ R' h# U( l
  614. ; are specified in the same manner as the variables_order directive,, S6 w1 c: a4 p3 S
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 C, A* @6 c) l& a( s; x
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 ]( M" D. P4 ], @  C2 h
  617. ; globals array REQUEST empty.( t; ^& O6 n4 Z
  618. ; Default Value: None4 d4 D- \, j! |8 E
  619. ; Development Value: "GP"
    . e3 W% G- X5 h
  620. ; Production Value: "GP"' n8 [  i# S$ X
  621. ; http://php.net/request-order
    2 o; w0 [0 Q+ I5 B1 W  B
  622. request_order = "GP"
    2 I4 p# D, N2 R6 {/ e( }% V4 R

  623. 5 _$ @0 Z1 F" ~% a$ j
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / r7 m" k0 p" s" E9 J: n( t
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script( L- K& I3 d# r+ e* b' l
  626. ; is invoked. $argc contains an integer representing the number of arguments$ [3 A% T! c% a+ _0 G
  627. ; that were passed when the script was invoked. These arrays are extremely1 d9 d, f' T! @! F  F  P& |7 f
  628. ; useful when running scripts from the command line. When this directive is. r& p" N; G$ d- `5 b" u
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    * T. @5 k7 @2 K* O( H( j- B
  630. ; a script is executed. For performance reasons, this feature should be disabled/ _0 O0 T0 d4 f9 m" R
  631. ; on production servers.4 I5 E7 o) T, _7 N' a
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 T5 T2 G; V' v  z" R
  633. ; Default Value: On
    $ R& i9 k, a# s1 P# n7 q
  634. ; Development Value: Off" Q3 r: N  g0 [2 p% T
  635. ; Production Value: Off
    - R0 E3 f; R& p( i8 Q) }1 c+ O, Q
  636. ; http://php.net/register-argc-argv
    * ]0 r( J7 R5 u9 O
  637. register_argc_argv = Off! d4 m6 f+ M" w

  638. ( A: R$ ^% B% L; \1 `
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 K( g; s( U. j- a
  640. ; first used (Just In Time) instead of when the script starts. If these0 g5 A% j1 X. b* z) B+ P
  641. ; variables are not used within a script, having this directive on will result
    1 T3 r( V' C' \- u. t$ D6 n8 L
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' Y0 f' ~9 Y3 Q, C6 p
  643. ; for this directive to have any affect.
    + d% K0 S! e/ Q0 l6 G2 B
  644. ; http://php.net/auto-globals-jit
    + C6 L6 H  ^* p. x, d  i
  645. auto_globals_jit = On
    , M) F( s! e* `
  646. , G6 K+ P$ n! G+ W) h
  647. ; Whether PHP will read the POST data.# e- |4 s9 ~- Y: h  y. l3 ]4 _: z
  648. ; This option is enabled by default.
    - P4 W0 p, P) ~" y. d, `
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST, Q2 p  i. i" D$ B: y9 r+ y$ @+ S
  650. ; and $_FILES to always be empty; the only way you will be able to read the2 f- Z9 G7 P, y$ w
  651. ; POST data will be through the php://input stream wrapper. This can be useful4 J$ _! r( [, a7 d# ~: R, v) E
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    : i6 u9 p* T( y
  653. ; http://php.net/enable-post-data-reading
      U4 f( o' u' C2 n- p' t
  654. ;enable_post_data_reading = Off
    9 g6 z2 W/ c( S( K
  655. ! y# ~$ a, f" s) V
  656. ; Maximum size of POST data that PHP will accept./ ~1 `* [1 T* g3 ?
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - y7 V4 I* ?$ e9 C; M, \
  658. ; is disabled through enable_post_data_reading.3 \8 \& z+ N: g+ x  G& \3 P0 B
  659. ; http://php.net/post-max-size
    1 Z% C8 p6 l. n" Q$ b: u. S3 i/ L
  660. post_max_size = 50M1 P% ~+ ]3 o* j0 b% p$ ]
  661. ' M3 M7 W9 D) v$ X8 ?
  662. ; Automatically add files before PHP document.: B9 c+ F0 S( X+ ]) j
  663. ; http://php.net/auto-prepend-file
    ( r% I9 A4 o% l1 S+ K9 X
  664. auto_prepend_file =2 H" N' y- E% V$ f2 X& n- O
  665. / W* T1 M* f5 ?. X3 O4 g- R
  666. ; Automatically add files after PHP document.& O- c# m9 Q7 g$ M( w5 \* y
  667. ; http://php.net/auto-append-file" Q! p' Y9 P' V1 M# E" O$ c
  668. auto_append_file =
    % ]" T5 Z$ o+ u/ S% U! t
  669. ' J  u1 `( {* R7 A; }
  670. ; By default, PHP will output a media type using the Content-Type header. To
    - I8 e+ }7 A3 I4 X' W( l; C/ F8 s
  671. ; disable this, simply set it to be empty.
    % w( u( E' n% J$ e/ ~: P$ c
  672. ;. ~5 y0 w3 \  E- W
  673. ; PHP's built-in default media type is set to text/html.
    $ g  [) X* u0 y* E/ w+ Q, a
  674. ; http://php.net/default-mimetype
    3 b9 w( s2 c- ]6 D/ g
  675. default_mimetype = "text/html". o0 ]8 r- |, F6 Z7 J
  676. * Q6 d" J% t  B4 {( |0 i
  677. ; PHP's default character set is set to UTF-8.
    : _7 a0 o2 T2 H& f9 m
  678. ; http://php.net/default-charset2 N2 X! e" R, O' d, \5 ~
  679. default_charset = "UTF-8"
    ! f$ [. F% I9 b
  680. 2 L9 q/ |/ x2 b3 _
  681. ; PHP internal character encoding is set to empty.
    - A# _* ?! |' B4 p
  682. ; If empty, default_charset is used.. ?. h! N' ]) x6 ^! g
  683. ; http://php.net/internal-encoding% @; X/ f! }8 U! e, s
  684. ;internal_encoding =% T5 }9 W; y$ z7 N" \( u
  685. 8 i/ n& |  h0 R; d5 t9 p% s
  686. ; PHP input character encoding is set to empty.
    ' v+ ~+ Z6 B' d
  687. ; If empty, default_charset is used." G9 [; ]; n$ _" z
  688. ; http://php.net/input-encoding- S( c( b8 B: `1 v: M
  689. ;input_encoding =
    ) D( [& K# m! S5 w

  690. 5 F4 R  b! U) J; U9 B5 m
  691. ; PHP output character encoding is set to empty.
    3 q5 m( h+ n+ I6 z3 H; ?: o+ C1 ^# {
  692. ; If empty, default_charset is used.! x8 r9 u6 d! s8 i, ?. X+ E# Z
  693. ; See also output_buffer.2 N- I$ ?0 L: M5 g1 {
  694. ; http://php.net/output-encoding
    & P" H5 z& b$ M- Y' M) M
  695. ;output_encoding =. _9 q! W  ~% i$ M- f

  696.   [5 d7 ^% k* u- A  T3 _' {
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) y# `% Y5 k* \6 H9 U* Q% w' [
  698. ; to disable this feature and it will be removed in a future version.1 Y2 j8 S, f- Z6 c7 c6 Q7 {
  699. ; If post reading is disabled through enable_post_data_reading,
    ( |+ w+ L' G6 N1 ]) n2 G
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.7 `8 A! B5 T3 U( }) I/ Q% }
  701. ; http://php.net/always-populate-raw-post-data. H1 j& e0 n! J, ?- X( B
  702. ;always_populate_raw_post_data = -1& a1 A3 h; K9 D3 w

  703. 8 {5 L, A* z4 j
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 k4 x/ [( ^8 H4 u. i' h
  705. ; Paths and Directories ;7 j2 R8 Y+ z4 l5 `! o
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;& I6 y* w; B( e: K

  707. 7 \6 p1 `# T6 d6 j- @8 L+ P) f8 S
  708. ; UNIX: "/path1:/path2"
    . ^" h  j- `7 F7 o1 ^3 V8 W- g
  709. ;include_path = ".:/php/includes"3 _, ~! u1 M4 f6 t/ v$ @4 l* M
  710. ;; H# B  U  K9 D/ O$ K$ a8 x
  711. ; Windows: "\path1;\path2"
    6 T3 \  _/ g7 o# D
  712. ;include_path = ".;c:\php\includes"' F! b9 U# B& v  }) p: e* D( a
  713. ;7 d- y  a2 e1 V/ C
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 q" \. X/ a, _4 F3 ~
  715. ; http://php.net/include-path. |, a' _- T2 l" M+ D3 d

  716. & r8 d! ?& U/ T  s) b- L
  717. ; The root of the PHP pages, used only if nonempty.
    6 j& Q& B0 [2 e2 @# t
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 L! Q* k$ l: N- ?6 \" ]7 o" X
  719. ; if you are running php as a CGI under any web server (other than IIS)1 z0 Z; e. H: B. _6 `* H9 ?8 y
  720. ; see documentation for security issues.  The alternate is to use the% C, @& v7 Y3 Z: W# R
  721. ; cgi.force_redirect configuration below
    ! r: a+ n4 p  p3 U$ j8 c. a
  722. ; http://php.net/doc-root
    * S1 ]/ J; \4 B# r0 }
  723. doc_root =) t' o) h) {8 b( ]2 H. ?; S

  724. . L' n( A5 X4 d! P* C$ n
  725. ; The directory under which PHP opens the script using /~username used only
    ' E4 S+ Q. x  S+ E5 S8 H3 y
  726. ; if nonempty.3 G; ^1 l, u" j8 W7 v6 s3 `/ N7 r2 G
  727. ; http://php.net/user-dir
    3 B$ k' `. B& l9 k
  728. user_dir =
    ( ?. p8 l$ Y1 _2 H/ F- ]+ W
  729. 5 \( X! X- \2 f, t3 Y3 [: r9 U
  730. ; Directory in which the loadable extensions (modules) reside.
    " y( Y2 r' U! ^/ `. D
  731. ; http://php.net/extension-dir
    + f4 e* B+ c- Y% N) e
  732. ; extension_dir = "./"" G( a0 [+ k$ h1 G1 z( Z
  733. ; On windows:
    $ l8 n. W6 d7 R6 w9 b7 A7 z
  734. ; extension_dir = "ext"
    4 ?$ p) B) M7 A! |0 O
  735. 6 @! |" r. H( i  _
  736. ; Directory where the temporary files should be placed.
    1 W4 Y4 U2 I7 Q3 }% E1 j+ @- l+ A
  737. ; Defaults to the system default (see sys_get_temp_dir)
    8 g, @; R/ V' r  {) [8 ]5 W
  738. ; sys_temp_dir = "/tmp"
    / A% {  ^, F2 T
  739. % W& ]' g0 p& [/ A
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 Q# x0 i: [( M) A: w
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically; t# U4 v" @# J
  742. ; disabled on them.
    # Z! h2 O" @$ n0 \- W
  743. ; http://php.net/enable-dl
    # M6 E3 `+ y. R# i6 s/ F! r
  744. enable_dl = Off
    1 Z9 D9 o0 I/ |
  745. * m( ]9 S; }9 N# `) _2 H/ ~
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " U- j8 R6 u3 Y$ B& o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
      l  k. B* e0 Q) z" V# f9 z1 Z) i3 E
  748. ; turn it off here AT YOUR OWN RISK- s# C0 }9 n: ]4 F* Y' y
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 Q9 r  u2 f8 Z1 }* g+ {% l
  750. ; http://php.net/cgi.force-redirect/ o1 G% i. J6 v+ T5 U
  751. ;cgi.force_redirect = 1: V. ~9 D, M3 v. p' `( n" \

  752.   H9 f; P* w1 @9 }, C# N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with2 q6 U% p' H7 P- P
  754. ; every request. PHP's default behavior is to disable this feature.
    4 N/ L" V& X% b: e
  755. ;cgi.nph = 1
    3 I$ q& i- ]& J( T% t1 O& y7 P5 i

  756. ) `  S; I; A; Z$ d( F# q
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! G' v" \; D  i: N+ N  ~
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    7 q+ O4 }' \& ^% A$ p8 @+ K+ d! @; B
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 x% W3 W! y/ N! a& [+ ^
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) l! ~* }# c* S. s; M; P, s& O
  761. ; http://php.net/cgi.redirect-status-env; q0 z3 t6 G$ E
  762. ;cgi.redirect_status_env =
    5 H+ ?' J' `2 d6 d2 w! m; f) Z

  763. 3 T' u  ], H' ~) V1 R2 `; ?& V
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! i0 ~0 l2 i- a; A' d& D
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * z4 D, B- t$ P2 p, R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 i6 t( Y0 l$ }6 `5 l7 @* R
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) x/ C- z% m& M# Y
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    7 b& s; c. J8 X. M) }0 j: a: |* w" V9 @: Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    , m2 J/ a& m+ ^2 l
  770. ; http://php.net/cgi.fix-pathinfo8 D% Q) R# w& E) F
  771. cgi.fix_pathinfo=10 P; ?: o/ s% n- y, }* c
  772. " N7 r; X% C* x( _# d; }; I
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 e9 f; X- W6 k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & A% P1 t0 o" L8 Z2 W
  775. ; http://php.net/cgi.dicard-path
    , z. S7 x' e3 G+ E" P0 y9 Q
  776. ;cgi.discard_path=15 c  P: p' }0 f  Y0 U9 {! r+ J+ S
  777. 9 Y: n6 L- h" S+ V( F+ h8 F
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate% i& f6 R  |' f$ S/ ~' ]
  779. ; security tokens of the calling client.  This allows IIS to define the# v) A, V/ k4 W& |3 l
  780. ; security context that the request runs under.  mod_fastcgi under Apache# C, n( |7 a7 h2 m8 k
  781. ; does not currently support this feature (03/17/2002)
    0 U4 _& \# }) ]& s5 @' z
  782. ; Set to 1 if running under IIS.  Default is zero.
    5 z6 v: [% o- W  J
  783. ; http://php.net/fastcgi.impersonate
    1 z0 d. a4 F! R$ O4 ?2 [* N- W" H
  784. ;fastcgi.impersonate = 14 Y" }7 {& o: R
  785. 7 s# y. m6 W* y
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . Y) r- M& ?/ B1 r7 p2 S* M5 |
  787. ; this feature.# H- _9 @7 s/ G4 G! d9 u, M
  788. ;fastcgi.logging = 0# K5 D5 u+ F9 D0 T$ w

  789. $ z3 k: F( ?5 a3 o: i, @) Q5 z
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: k1 r4 E' s4 |& L- o9 w
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that' w3 C9 u( h7 {! ^7 ?" Y9 M
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    8 \9 F# u- s- X! w' H; B. J
  793. ; RFC2616 compliant header.5 Y( f  d( N, O) M# |: C
  794. ; Default is zero.
    7 K$ r9 F& n' c8 S0 ]
  795. ; http://php.net/cgi.rfc2616-headers) D8 o9 O' P! n4 }: e: v% {, e
  796. ;cgi.rfc2616_headers = 0
    . f1 d+ o% G( {3 t
  797. . E  R6 R% Q; N# Q8 [$ r
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
      e" i5 X( H; m1 W% |& x/ }  C: U
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ; s( y! _/ f: y* @4 |: `0 w
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; b3 W/ T! f7 N0 X, \2 J
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + U+ W( m3 x( m9 g
  802. ; http://php.net/cgi.check-shebang-line: @: T, y  W5 |/ T
  803. ;cgi.check_shebang_line=1$ ~& ?+ g9 [& n9 m- ]

  804. & i3 W! u, U9 M& ?3 O6 y) @
  805. ;;;;;;;;;;;;;;;;
    , x6 T. l" q' j3 B! x
  806. ; File Uploads ;5 ]5 V" z/ _' x* y; Q/ a
  807. ;;;;;;;;;;;;;;;;2 p) A8 K( i/ X
  808. 6 Z7 s9 F9 n/ M9 P+ p4 b6 w( B0 ~, p
  809. ; Whether to allow HTTP file uploads.6 e" ?" k% a8 Z# v. X2 Z
  810. ; http://php.net/file-uploads
    ! U8 y/ _# ]9 a) Q0 z" \
  811. file_uploads = On" g) Q9 j# A4 @
  812. , E8 ^" a! G/ o; T3 Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ X2 k: O: w; C9 @0 A
  814. ; specified).
      ?3 z/ `5 u! G
  815. ; http://php.net/upload-tmp-dir
    3 F) O$ k& l0 C+ V/ r
  816. ;upload_tmp_dir =3 s5 b+ y. E! m+ d- {' F, A' ]* j

  817. $ V$ S  \+ Q( [9 P
  818. ; Maximum allowed size for uploaded files.
    4 {) z/ w: K4 g* l+ |6 R1 j8 W
  819. ; http://php.net/upload-max-filesize
    2 W7 }  R' [( k4 r# L; H( N% ?
  820. upload_max_filesize = 50M
    3 b! F* A. L- Y0 u, i
  821. 7 B. B" t8 k* h! ^3 N+ }& Q7 v
  822. ; Maximum number of files that can be uploaded via a single request9 T# n; X  W' |6 [6 \3 o) I3 A
  823. max_file_uploads = 20
    ' e! q' ~$ ~0 w/ l' ^  [9 F

  824. ) A/ Y6 ^: ], x4 q
  825. ;;;;;;;;;;;;;;;;;;. m5 w0 I3 e" Z+ k# p
  826. ; Fopen wrappers ;
    ! m& p  W, A* [- |, {! P
  827. ;;;;;;;;;;;;;;;;;;
    9 X: o, l9 M& z6 L  \$ `) u5 h
  828. 3 o# V* v  B: Y, @7 ]
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    # y+ w9 K% u; f8 a3 J
  830. ; http://php.net/allow-url-fopen
    ) J4 N1 E9 D7 I: h
  831. allow_url_fopen = On" T+ Q2 i' a" F

  832. / q! A9 ^+ m" K6 H. w1 z7 ~- j
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; u% k5 Q' O! U( K
  834. ; http://php.net/allow-url-include
    6 g! D1 `% t" O+ l
  835. allow_url_include = Off
    - T- j  q$ Z' x

  836. * p$ Q; r# I! W# J9 S# C2 o% K
  837. ; Define the anonymous ftp password (your email address). PHP's default setting/ v$ Q. H& h* R3 E( Y4 V  C* F3 M- W
  838. ; for this is empty.
    ( }% R. K  {# ~% q  F, A7 E( z
  839. ; http://php.net/from  `1 ~  z2 `2 ?& L! G
  840. ;from="john@doe.com"
    & [  W: _  f  S: R& b% d2 _9 T
  841. ; v6 e* H4 g$ _5 D, C8 v
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    & ]7 {6 i6 [1 b( V1 S, G# p0 J+ G
  843. ; http://php.net/user-agent1 A! M) ^, c1 j, y
  844. ;user_agent="PHP"  B" E8 e% Z: f$ o/ V6 I

  845. * w/ k5 U0 _0 X7 x/ [
  846. ; Default timeout for socket based streams (seconds)
    9 O! Y9 ]" M5 {
  847. ; http://php.net/default-socket-timeout9 \$ {  w$ l2 n
  848. default_socket_timeout = 60
    : }9 I. S0 l$ |- ^3 T6 T
  849. 8 j" k1 ?3 V+ P% \% B
  850. ; If your scripts have to deal with files from Macintosh systems,
    # Z1 {: L' S0 m" Y, ]$ Q8 H
  851. ; or you are running on a Mac and need to deal with files from
    & J5 n. N- d8 k6 K. c) @* }' a7 [
  852. ; unix or win32 systems, setting this flag will cause PHP to1 N1 T3 K! K. u5 X( ^
  853. ; automatically detect the EOL character in those files so that/ [) ^' d/ y# J, |
  854. ; fgets() and file() will work regardless of the source of the file.; g% C5 H- |" {' D6 u  W- F
  855. ; http://php.net/auto-detect-line-endings
    $ W6 _% C" P7 y1 i
  856. ;auto_detect_line_endings = Off
    / g  ]# n/ U0 a% r1 a  s$ ?
  857. 3 g; d/ f7 v$ K3 N- t2 y
  858. ;;;;;;;;;;;;;;;;;;;;;;* J2 e9 y8 V6 I3 f. C% j, b
  859. ; Dynamic Extensions ;/ m6 S/ I% B6 B! |- e1 h4 f
  860. ;;;;;;;;;;;;;;;;;;;;;;
    1 F# K8 y/ g8 ^7 h* V' c
  861. ! ~; @9 q& ~1 l+ R& x" Y
  862. ; If you wish to have an extension loaded automatically, use the following
    * {# E8 T2 n2 L8 J
  863. ; syntax:% E% T' @/ h  d  L
  864. ;
    & V1 Z0 }7 t/ x: R+ Z9 W
  865. ;   extension=modulename.extension; D+ K5 h$ S* u$ W
  866. ;
    7 u0 i9 E0 @# m  n/ C
  867. ; For example, on Windows:" e7 v) k3 y  v1 D* H
  868. ;
    ' F$ g2 c4 R% b3 p* s
  869. ;   extension=msql.dll3 N- W. z# ?2 {
  870. ;
    6 j9 W/ l* \1 w5 I5 V% _
  871. ; ... or under UNIX:
      K7 C' R7 {+ k$ W9 q8 i
  872. ;( x" b7 ?1 o2 v- u5 u' H* ]+ a
  873. ;   extension=msql.so% i# k* \( K( L( B, \. X2 F' J
  874. ;8 _; z# x; r  c, U1 J
  875. ; ... or with a path:
    0 D( n/ Q( t7 [- d- ^
  876. ;
    0 Q8 |% n4 W1 t' o" ^( X
  877. ;   extension=/path/to/extension/msql.so5 B) j2 f8 g9 a+ E! _7 T. A" P6 s' K
  878. ;, P2 x( M9 O' \- @: @
  879. ; If you only provide the name of the extension, PHP will look for it in its' ]5 g/ }. x% [% H) R- z: \
  880. ; default extension directory.
    + \9 o% Q8 @; _5 h
  881. ;9 H* k( Y6 z! `4 b' Y# D
  882. ; Windows Extensions
    ' J3 J$ ]( j% f6 h, h" B
  883. ; Note that ODBC support is built in, so no dll is needed for it.: O: c# X' ~" ^8 b8 A, Q$ ^& g) X
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)% J% O+ G& F2 @$ `- w
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).3 u& }. u# V6 U1 X; c3 u* c
  886. ; Be sure to appropriately set the extension_dir directive.
    5 {0 y$ K( U* F4 J
  887. ;
    ! d2 Y# @$ w# I  C- `+ }
  888. ;extension=php_bz2.dll5 B+ m, L5 I4 r$ x8 i1 |
  889. ;extension=php_curl.dll
    % {: q5 y& Y  T$ u- H; {  x
  890. ;extension=php_fileinfo.dll
    " n, z4 {* |2 q7 f7 s1 p9 ]) K
  891. ;extension=php_gd2.dll4 B2 ^( g- J' r" e
  892. ;extension=php_gettext.dll
    $ t9 b/ i+ r+ x9 |3 P+ u
  893. ;extension=php_gmp.dll
    * {1 q0 l1 Z: G* }6 L( C
  894. ;extension=php_intl.dll8 {* c! x2 A. c
  895. ;extension=php_imap.dll. ^& N) r5 f6 R; y4 y
  896. ;extension=php_interbase.dll
    : C% K! c' o# n8 o/ ?& j8 f. s# L
  897. ;extension=php_ldap.dll1 r* d/ O0 k. F( z7 ?, x0 ]' q
  898. ;extension=php_mbstring.dll
    / K: K% p' @% d/ ]) P6 T2 C
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & Q+ I+ y; T: y. w' S
  900. ;extension=php_mysql.dll
    ) a3 z0 n( [* |# D; o
  901. ;extension=php_mysqli.dll. e" W' X, _( [
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ; `* u0 ]* k; W
  903. ;extension=php_openssl.dll
    5 d  d; R# m( a' ^1 Y# f7 e$ p9 q
  904. ;extension=php_pdo_firebird.dll
    * {; T! @9 d- c* A8 T3 q1 I
  905. ;extension=php_pdo_mysql.dll+ Z* s+ w; D2 {
  906. ;extension=php_pdo_oci.dll9 V9 l* G4 T: q
  907. ;extension=php_pdo_odbc.dll3 e6 r( X: J7 J6 R
  908. ;extension=php_pdo_pgsql.dll  `# F+ s$ {* W: x! y
  909. ;extension=php_pdo_sqlite.dll+ a/ _6 @7 K  ^6 A
  910. ;extension=php_pgsql.dll
    " E) @0 x6 ]$ p9 u2 S  A
  911. ;extension=php_shmop.dll% [* V+ O3 G' c2 J: B8 R
  912. 9 M7 @! l5 g# ^/ V- P
  913. ; The MIBS data available in the PHP distribution must be installed.
    5 J' z, K3 H/ ], C9 C7 J4 c  S' G
  914. ; See http://www.php.net/manual/en/snmp.installation.php " N4 I% H4 C  I$ n$ J
  915. ;extension=php_snmp.dll: x5 q1 O9 w3 Y* ^/ A
  916. 4 m' W, @5 d* e
  917. ;extension=php_soap.dll0 A6 |5 A5 `1 V, v4 R
  918. ;extension=php_sockets.dll0 ]/ K, `5 h3 k3 L6 E3 v
  919. ;extension=php_sqlite3.dll5 H2 o! P7 U) H1 @5 S
  920. ;extension=php_sybase_ct.dll
    % a; v* G2 O! o2 t/ V& W
  921. ;extension=php_tidy.dll
    ! F( }5 p: V6 P+ O$ o& U
  922. ;extension=php_xmlrpc.dll
    " T* ^! I  g. p6 L9 I5 S
  923. ;extension=php_xsl.dll! d$ r2 Y; ~& j# _
  924. 0 L* S+ ^3 t* T+ C0 z
  925. ;;;;;;;;;;;;;;;;;;;
    5 Q" p' F. B! D% ~- i( W
  926. ; Module Settings ;: C6 y- w$ h2 {' k
  927. ;;;;;;;;;;;;;;;;;;;/ Z5 g) J1 e4 T6 @" o! F& i
  928. % c: T: d. k" W' }4 w
  929. [CLI Server]) O1 P4 u$ L: A6 K
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." V. c! ~5 N# ~6 M9 s) W) {
  931. cli_server.color = On! x' d+ y2 L# z" S

  932. & v: Z2 a4 f5 A* T3 g3 `* t' n
  933. [Date], W5 |# F* ?& S4 V# W
  934. ; Defines the default timezone used by the date functions
    5 E; r6 {- \5 @# l
  935. ; http://php.net/date.timezone2 z3 w1 o! O2 Z
  936. date.timezone = PRC
    - v) T. D2 [; Y) o  V, a' D
  937. 1 o  {% L6 o: Q1 r8 Z3 r& S
  938. ; http://php.net/date.default-latitude
    ' u! e( b$ v0 B7 m. y* q8 F
  939. ;date.default_latitude = 31.7667  N0 _$ |- ?! y1 V! G" u6 n

  940. ; Y* [1 L0 A- n* Q9 @/ E) ]
  941. ; http://php.net/date.default-longitude& j( j& y3 c( @0 F+ P$ ?
  942. ;date.default_longitude = 35.23332 {9 g! H5 |, m, ~3 O/ b2 ?

  943. 8 R$ m6 k$ I9 J# o; v; a
  944. ; http://php.net/date.sunrise-zenith
    2 p- k6 |- M8 ?; g  q. `5 j
  945. ;date.sunrise_zenith = 90.5833332 \4 C; y! [+ g2 p( J8 E' x/ y" X

  946. - i  ^# ]! w4 y4 ~" p$ z2 Y8 N! `
  947. ; http://php.net/date.sunset-zenith
    % \# Q" ?8 Q4 X, L5 b' R7 R
  948. ;date.sunset_zenith = 90.583333! e: z+ D' V6 _. }3 H; B
  949. 2 W5 W5 K7 t" U8 c, y/ V5 t) I
  950. [filter]! p" o  H8 d. m/ w- t
  951. ; http://php.net/filter.default
    5 {8 X+ F9 _( z  R9 l+ c# ~
  952. ;filter.default = unsafe_raw! O! h, s+ m6 h2 j& x

  953. ! j2 h: I7 p6 V! Z0 J2 ]# v
  954. ; http://php.net/filter.default-flags* Q2 H9 R9 s! F  r7 k
  955. ;filter.default_flags =; h' c9 ]9 ?! D0 }' {
  956. : c1 ~8 M' R. {9 f( m' u
  957. [iconv]
    ) ?$ d, ?) h5 _. ~' G
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 x# e8 k8 w. z
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    0 R. l2 f  M% I6 j
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding5 P. p; w/ u/ X. O3 ~2 ~! F5 i
  961. ;iconv.input_encoding =4 l7 f, W. `8 B
  962. 9 B' n. A! J# \  n; O! L8 X
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.- ]# a( O# W( m0 N! ?
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / u4 R5 R( l3 B! Q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 s: S; c! r4 n' Y( k
  966. ;iconv.internal_encoding =2 h4 r' O0 M0 x9 b# W8 W
  967. & L9 o$ p! r/ L6 k0 G# d
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 |: E1 {0 @9 h6 i
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 H8 n) |5 [/ ?) @( {
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' m% U. ~, g2 U; N% S2 c/ [
  971. ; To use an output encoding conversion, iconv's output handler must be set
      V* B- ~. i! [$ i! L
  972. ; otherwise output encoding conversion cannot be performed.- ^2 M6 Q; J) o- O+ @' x% s
  973. ;iconv.output_encoding =+ D. _5 k8 F' t! w/ A. E, w' m

  974. . {/ |' z1 Q! r
  975. [intl]
    9 P5 P, [3 h2 y' z4 k$ o
  976. ;intl.default_locale =2 S4 t4 I9 k8 I$ [7 {
  977. ; This directive allows you to produce PHP errors when some error! g6 A$ p* ^' ]" F" X; Y
  978. ; happens within intl functions. The value is the level of the error produced.
    8 G, [. F6 U# V2 z/ r
  979. ; Default is 0, which does not produce any errors.
    4 U9 T  l- `# [% ^% ~% J
  980. ;intl.error_level = E_WARNING
    & o" O* v7 e9 A1 {- g: Y8 J% o$ J
  981. ;intl.use_exceptions = 06 f4 M+ k$ q% z

  982. " X# Y- u( f- U5 Z& g
  983. [sqlite3]
    : N3 F6 W# }- t: _* ?- e
  984. ;sqlite3.extension_dir =
    6 E7 J# B  G  s+ B
  985. + V9 U3 U1 Y9 n; s
  986. [Pcre]
    6 O$ V+ o2 }# ]
  987. ;PCRE library backtracking limit.' A0 v$ k& w- _
  988. ; http://php.net/pcre.backtrack-limit
    ( X% i4 ~3 x6 Q) P6 S3 t- p/ T
  989. ;pcre.backtrack_limit=100000
    * Z! ]8 e$ {3 k. z! w  K

  990. ! I" l7 b) ?* Q
  991. ;PCRE library recursion limit.& p* t" ~8 x0 G/ G  {3 f
  992. ;Please note that if you set this value to a high number you may consume all4 O1 {( M% c: s5 U) _- P2 t. Q2 T
  993. ;the available process stack and eventually crash PHP (due to reaching the
    1 f, e1 b" A) I4 F- m
  994. ;stack size limit imposed by the Operating System).: @3 V  A5 I( ^2 b- t/ m' E; N
  995. ; http://php.net/pcre.recursion-limit- ]# J# h' C+ s: [9 O* j. K
  996. ;pcre.recursion_limit=100000. e6 l: ^7 V# m4 `2 J
  997. 9 O8 [' r5 h! \0 z7 F0 G) ?0 \- m5 H
  998. [Pdo]
    9 d& k; D$ {& r$ V1 m% C
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    . H" q/ _& N3 R  \
  1000. ; http://php.net/pdo-odbc.connection-pooling
    , U. q4 [, Q- Z; P7 _: G4 O
  1001. ;pdo_odbc.connection_pooling=strict& l8 g, l0 i- v' n( s

  1002. % e9 |) B  R) z# K
  1003. ;pdo_odbc.db2_instance_name; O9 U  P- A& r6 L5 Y3 e! N4 R; ^

  1004.   g# W) w$ {  q  R3 R1 j  l
  1005. [Pdo_mysql]1 b8 h& [/ @% \9 N; k! C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 S& `* W+ _3 G# l' ~5 ]7 \
  1007. ; http://php.net/pdo_mysql.cache_size9 Z8 S2 n4 B# u! B
  1008. pdo_mysql.cache_size = 2000
    8 O$ P6 [: m- T, k& @; P
  1009. ' P4 l  c8 [/ E0 U- O' m; i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / s* b* ]! _% I* {
  1011. ; MySQL defaults.
    # C: w* L: |( F2 R! H4 ^# ]
  1012. ; http://php.net/pdo_mysql.default-socket5 I% \: F( j2 k, ^6 `
  1013. pdo_mysql.default_socket=
    ) c% X$ B* [- P6 d

  1014. 2 t/ N0 v3 ]* T: M' X
  1015. [Phar]
    / g' s. L" V% y# A$ L8 D
  1016. ; http://php.net/phar.readonly
    9 \6 h* ~+ D9 n) y& d# M3 [0 Z& s7 O
  1017. ;phar.readonly = On7 [7 i2 W8 n; @" N) G. {& C0 e1 K

  1018. / V8 ?! H, Q0 P- B& V, m) t. Q
  1019. ; http://php.net/phar.require-hash
    3 I/ g. M% {2 ~. H" p7 R: R$ F' O
  1020. ;phar.require_hash = On9 t! M3 F6 J) g

  1021. 3 G% g; l+ F( E/ J: S
  1022. ;phar.cache_list =
    % u5 `; F! C- t, b( c( s

  1023. * _3 W, T. O4 w4 j
  1024. [mail function]
    5 \! i1 l' z: M8 Q" Z: Q
  1025. ; For Win32 only.
    $ R5 T. _( `: t5 G$ _, u! L) ^, j
  1026. ; http://php.net/smtp
    ! ^( Q4 n* k, x! D
  1027. SMTP = localhost
    ) B# Z* A, a% R% N2 C( K
  1028. ; http://php.net/smtp-port
    , s% [3 [" Z9 U
  1029. smtp_port = 25/ o# H! |9 k% B$ S$ o
  1030. + O7 r& M6 v" M. g8 H
  1031. ; For Win32 only.3 D. o/ [" z5 J; ~8 f* t5 `
  1032. ; http://php.net/sendmail-from" j$ n/ ?3 w, O. d+ P
  1033. ;sendmail_from = me@example.com1 I' p: O& d+ x4 q
  1034. 9 G, {6 s) t9 n7 z  `# y/ V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ {; `5 v. i% r% r- F) S/ H
  1036. ; http://php.net/sendmail-path' O% |2 Q3 R( r9 d% q
  1037. sendmail_path = /usr/sbin/sendmail -t -i) }6 k$ X  T' k, m! p

  1038. % f  r; X- M9 Y8 Y; q* k
  1039. ; Force the addition of the specified parameters to be passed as extra parameters' c( G0 V7 o3 n% G$ f
  1040. ; to the sendmail binary. These parameters will always replace the value of
      G: ^; z( `: f, c) G, ^1 Z
  1041. ; the 5th parameter to mail().
    , }' a1 {- J! k# G- P% {" \5 i( |
  1042. ;mail.force_extra_parameters =
    / P* I/ ]  H  {! d5 f8 ^

  1043. 6 M9 B7 B1 o# o1 Y% d  h
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ; U; T" i- S% [7 ?
  1045. mail.add_x_header = On: W8 Y) |  J7 l# a
  1046.   ]& k1 \9 U1 D( W4 h* p
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    : R' {% Q, i! ~* B/ d7 L, a) e
  1048. ; the full path of the script, line number, To address and headers.
    7 E  n  m' x/ g' i8 {
  1049. ;mail.log =
    ' w( }: Y6 X- ~( v* i' ?
  1050. ; Log mail to syslog (Event Log on Windows).
    4 _# p8 \# h7 r* P( z: D- N
  1051. ;mail.log = syslog
    3 w; C8 h& G3 K# D8 l+ D- B' R

  1052. ' k2 s2 J; }7 t7 M
  1053. [SQL]$ u* x' f3 |5 g- u
  1054. ; http://php.net/sql.safe-mode" {& {9 q' ?) Q; Y1 |$ Y
  1055. sql.safe_mode = Off
    & I7 Z$ ]7 P, L6 K

  1056. : D, X6 y6 i' _0 O; @- L8 ~
  1057. [ODBC]3 R  W! k+ q2 t- x9 P0 f& e
  1058. ; http://php.net/odbc.default-db. X6 \2 p; U) M* J, r3 W
  1059. ;odbc.default_db    =  Not yet implemented
    7 ?$ g* R7 O/ r. h1 i* l

  1060. ) F  B9 u/ g# @/ c- J5 O: E0 `1 F4 i
  1061. ; http://php.net/odbc.default-user
    9 M6 ?$ ?, @2 f5 z" I  w# t. M6 Y
  1062. ;odbc.default_user  =  Not yet implemented& g8 E4 v2 \. i  |0 J

  1063. & Q4 [9 E0 e- _7 o/ C7 B* @
  1064. ; http://php.net/odbc.default-pw
    : z7 F2 b9 R- i, n3 e& [3 |! Z, m
  1065. ;odbc.default_pw    =  Not yet implemented
    4 c& W, W2 ?+ M3 v

  1066. ( G' z; E8 a1 C0 w) t
  1067. ; Controls the ODBC cursor model.
    $ E& G1 d1 K. x
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! a4 L# x2 ^# d; Q; }
  1069. ;odbc.default_cursortype6 T8 W6 S3 }# ~5 v$ ?# V

  1070. 5 ^2 N9 e4 C; ?$ u
  1071. ; Allow or prevent persistent links.! K3 ]" W, X* z
  1072. ; http://php.net/odbc.allow-persistent
    2 L0 r* o# Y* ?, |8 E( {
  1073. odbc.allow_persistent = On; z- C( e' I0 M0 P, z( }
  1074. 6 T+ ?/ l  S" v7 W
  1075. ; Check that a connection is still valid before reuse.
    # T. \0 M; N, i& |* v
  1076. ; http://php.net/odbc.check-persistent! W. f% G$ Q2 Q/ Z) G4 b
  1077. odbc.check_persistent = On
    " c5 C- C9 |- j0 V! O% T) Z
  1078. 6 c+ Z9 C6 @4 E. c6 j0 C* c
  1079. ; Maximum number of persistent links.  -1 means no limit.# v: w9 u" H0 g- x/ Z- e
  1080. ; http://php.net/odbc.max-persistent& Y3 u: Q& s# t2 p+ V% _- P
  1081. odbc.max_persistent = -1
    8 `$ ^/ ?: R$ e3 b/ p
  1082. - q, s7 m; s2 b' ^
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : s3 Y2 Q# L9 K' ~  {
  1084. ; http://php.net/odbc.max-links
    2 Z# t: R! `$ ]
  1085. odbc.max_links = -1
    8 w8 @+ m. v* j- S$ H2 S" {, a
  1086. & Q9 ?$ w* G1 X4 M" A! S- A2 A
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    % r7 u' X1 Q* ?8 `+ G" S
  1088. ; passthru.
    ' m$ N% R: F. c3 ]2 o' g
  1089. ; http://php.net/odbc.defaultlrl
    3 j5 [: [: K1 `! a/ L8 O0 N5 e
  1090. odbc.defaultlrl = 4096
    " l# B& m) f2 E- t$ B8 \
  1091. 3 o2 Z: R/ X4 ?6 I7 _; R
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: G8 Z, M0 t  m  x
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    , J) }1 I9 q) K- h4 K0 u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    % h# k$ J8 v9 W5 ?* T1 ?* W# a. j
  1095. ; http://php.net/odbc.defaultbinmode
    3 a; C9 V! A' f- T* [2 Z% T, x: ]
  1096. odbc.defaultbinmode = 1" o/ E& O; f- X

  1097. , D+ P. @4 \# H: L6 o6 O* L4 @
  1098. ;birdstep.max_links = -16 V) B9 ]8 [/ \2 v9 o* m6 t

  1099. 3 d! o% h, ^; r
  1100. [Interbase]. B$ v5 |* Q4 K0 J4 I( E& q& Y
  1101. ; Allow or prevent persistent links.8 ]; ]" ]6 v& C+ x& x% M
  1102. ibase.allow_persistent = 1
    & d0 d4 g% Y' H/ B) T* V) [5 Q
  1103. + k% [0 _# q6 j2 k4 Q) @# U; s
  1104. ; Maximum number of persistent links.  -1 means no limit.
    7 v  ~! `* P6 Q8 A, L7 ~
  1105. ibase.max_persistent = -1
    3 D6 c# Y4 v6 U9 u" W

  1106. 6 R% Z- b% U( @: ~$ x3 |- d* V
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 O/ K/ T- k; W9 T# K
  1108. ibase.max_links = -1" o# K6 p* |6 ^- @2 ~
  1109. 9 y% O/ X. ^5 M
  1110. ; Default database name for ibase_connect().1 ~8 ~  `# H# g7 ~& w; |- Y9 Q
  1111. ;ibase.default_db =
      s- Z; ^! O- c: A% L, I3 E. p
  1112. ! b; Y; u3 ^7 g* r
  1113. ; Default username for ibase_connect().- C) G8 D# A6 O6 [5 ]
  1114. ;ibase.default_user =4 p, x. F! T" Z( G/ m

  1115. ! M, z& I, ]# U7 }1 I& N9 q/ j7 A
  1116. ; Default password for ibase_connect().2 w/ d- e8 H2 z. u7 E' V! J! a
  1117. ;ibase.default_password =, C  O% o  [( m# L" {1 o, T
  1118. # t1 b4 N$ A8 ]7 Y/ b
  1119. ; Default charset for ibase_connect().
    7 k. h- I. G, q+ q) V; Q
  1120. ;ibase.default_charset =
    $ B1 e2 Y( q( P/ B- m

  1121. 7 j6 F3 d1 ^" i# d
  1122. ; Default timestamp format.' W0 M! C: C! }2 F. i8 H4 L3 B
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 l6 T0 v0 b) \% s& R+ ?2 \$ k

  1124. 3 l, g$ @+ l7 Z, `$ C& L& Q
  1125. ; Default date format.6 s9 I% q/ x# |) h8 R
  1126. ibase.dateformat = "%Y-%m-%d"0 w' k6 T1 o6 o

  1127. 3 {' }8 l5 s1 g: R% C
  1128. ; Default time format.( ~3 \2 m$ H8 h* R8 b0 c. x5 g/ \
  1129. ibase.timeformat = "%H:%M:%S"
    * f# ~2 M5 J9 I+ H- h) T! @' z7 o
  1130. 4 N; ^7 u+ f$ V4 J+ u  @
  1131. [MySQL]+ _; c7 e: r# d& [2 A
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 q4 @4 b+ t6 O; n1 M5 C
  1133. ; http://php.net/mysql.allow_local_infile
    : Z, w( ]( j9 Z. i; m
  1134. mysql.allow_local_infile = On% l9 G( x1 P( ]' u% {/ P
  1135. 4 @( L; J; g( E7 z7 \
  1136. ; Allow or prevent persistent links.
    6 O: a' b1 \# ]& j1 [
  1137. ; http://php.net/mysql.allow-persistent' @' W/ z' S6 r/ P& k
  1138. mysql.allow_persistent = On
    4 Q3 U5 G* i# g; r, |, A- j; I
  1139. 6 a# B+ x' L2 G: ]2 G9 Q
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 l- }4 f2 B$ d2 a. a, v: k% J" @
  1141. ; http://php.net/mysql.cache_size3 L9 _) l' m. P8 b
  1142. mysql.cache_size = 2000
    5 ^( Z4 P6 Y6 v

  1143. * v0 R( q6 w& j  `
  1144. ; Maximum number of persistent links.  -1 means no limit.$ [1 M9 ~, @. ?6 s$ Z5 z+ [
  1145. ; http://php.net/mysql.max-persistent: ^: y) r9 t/ v8 ]! {) }7 o5 t: P0 Q% w
  1146. mysql.max_persistent = -1  g  }: M+ Z& a/ t. i

  1147. 4 O! H0 E. e5 I/ n" b& L2 j0 H$ q
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + }2 s/ y3 _" c& C6 A# H
  1149. ; http://php.net/mysql.max-links2 c+ e9 H  Y1 q1 H) _2 E
  1150. mysql.max_links = -19 O9 ^  L: M4 c5 ?% ]

  1151. + ?. w" e- {7 `' M2 O' A
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ! m8 o, p9 {" `* Z: I5 E
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 `! E* c- \3 ]. y) t5 r4 v
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 ]7 C& [* G1 |7 q9 d: g1 y
  1155. ; at MYSQL_PORT.$ }3 r# C. T9 c! d; L' R
  1156. ; http://php.net/mysql.default-port
    8 I1 z! [5 d9 n$ u, e% H; p
  1157. mysql.default_port =8 |# L" M6 P6 |3 d  n# e: S8 E" d; H
  1158. 7 ]/ h- [2 K* q( y) |
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 G9 Y. b) f' W+ R& c" B
  1160. ; MySQL defaults.7 T/ G5 v& C/ o$ i" H
  1161. ; http://php.net/mysql.default-socket
    + o3 t, Y. N: d5 q* p2 F
  1162. mysql.default_socket =1 A& j  X; e1 m; y
  1163. 7 ]5 x  E0 m, T- }
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).) X& H1 P0 N; D; ^
  1165. ; http://php.net/mysql.default-host
    ! o3 }3 m3 q0 j
  1166. mysql.default_host =  [* @; C' D$ l$ J5 `: v4 A
  1167. ( {6 o! t/ H8 N3 ?" ?
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % u" l" F$ F* @3 Y: ]. v
  1169. ; http://php.net/mysql.default-user
    ; n/ M6 ?# z) K4 N
  1170. mysql.default_user =
    : i4 f# ~/ x, j: I  V
  1171. 1 g' z! u6 x  |5 f! w# _) U
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / u" }5 I; N8 {7 o2 t
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ g8 d9 W1 I3 ]% b
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")8 C( y( J  o8 h8 s$ ?
  1175. ; and reveal this password!  And of course, any users with read access to this
    5 h- J' S0 A8 r; p, m$ m+ J
  1176. ; file will be able to reveal the password as well.
    * V# [( s- w, b+ u: q3 r- g
  1177. ; http://php.net/mysql.default-password
    * ]% x" \2 `* l  w
  1178. mysql.default_password =) p/ {8 G- `& H' n0 D/ d

  1179.   a" g" ^$ L" {2 y9 E) _7 x& Q
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    & ^4 L& I4 i  v$ U
  1181. ; http://php.net/mysql.connect-timeout7 U9 t1 i6 G! q8 y5 h2 ^( }( y9 q  _" f
  1182. mysql.connect_timeout = 60, u' U) F0 E" P
  1183. * ]' i- _1 S6 `5 Z( l7 b# d2 D
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * B7 j4 G3 @! s" d& J4 r/ ?3 x/ b* P) Z
  1185. ; SQL-Errors will be displayed.
    2 \. b- H) D  G. Q) U; E
  1186. ; http://php.net/mysql.trace-mode
    % P& c* ]- D: G/ D( g( a
  1187. mysql.trace_mode = Off$ {9 c/ n' d: H0 b  a9 V
  1188. 4 T$ ?9 z$ D, E2 f4 [
  1189. [MySQLi]
    . y7 c! g) N' i

  1190. " Z3 v2 h& y4 C; g% a
  1191. ; Maximum number of persistent links.  -1 means no limit.- }( Z5 v' W8 Y6 ?# z: `
  1192. ; http://php.net/mysqli.max-persistent' _% O/ L. n5 s& Y* z! C
  1193. mysqli.max_persistent = -1
    " S* w$ p6 ~- s, t0 ^! N" ]
  1194. 4 g3 C- m8 h, S& Q5 [! R" ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) L* E, ?. e' L4 a* L
  1196. ; http://php.net/mysqli.allow_local_infile
    8 w: L; ]# e- ^1 K
  1197. ;mysqli.allow_local_infile = On
    0 ~4 V) ]' F7 \9 p
  1198. ) u5 f+ T" D# ^3 @! w* n$ S2 M
  1199. ; Allow or prevent persistent links.8 v5 P/ S( V3 f( H# o* }5 {0 ?
  1200. ; http://php.net/mysqli.allow-persistent9 M1 }9 H8 f9 z4 y
  1201. mysqli.allow_persistent = On5 K8 u3 q; Y0 ]# y% q' e. p( j6 _
  1202. : o/ Q. h+ {' y2 B
  1203. ; Maximum number of links.  -1 means no limit.1 B6 @* \( K( G- t
  1204. ; http://php.net/mysqli.max-links
    & ^- E7 g2 s5 u
  1205. mysqli.max_links = -1
    ' K' h3 r" H6 h' m  X5 A) m6 M2 \) T

  1206. - a5 T- J! E/ I2 V& @  R7 W
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % ~. S; I  F) o+ E9 K$ d% m
  1208. ; http://php.net/mysqli.cache_size
    + |! ?' ]5 Q" j2 J+ ?
  1209. mysqli.cache_size = 2000' Q: U0 w$ ~2 w( P  J

  1210. / ?3 M: P% Q& J; r3 p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & g% l7 n: t' p; v* A' @4 v
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ W9 q( c7 X) U3 q- Q
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) D( z2 b! c/ Y4 F7 j
  1214. ; at MYSQL_PORT.
    9 m) z% B/ Z6 X" [2 y
  1215. ; http://php.net/mysqli.default-port, B1 ~# x6 A6 ^( d
  1216. mysqli.default_port = 3306! r# J3 H' v2 n/ [" q6 ?. K. P& l
  1217. / t# P' @* J: g  _
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 k7 ?, D& e+ \/ W0 l3 G) h& S
  1219. ; MySQL defaults." T1 Q* |0 m/ K  w- c2 [( R
  1220. ; http://php.net/mysqli.default-socket
    6 Q% s- _% i9 ^5 \9 G" s8 i4 C
  1221. mysqli.default_socket =+ g% c) L( {6 m

  1222. / g+ u4 I7 s1 v0 d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . w/ }" U% J* Z% k/ G
  1224. ; http://php.net/mysqli.default-host
    0 G0 A6 @" c3 r5 u% N7 V- @
  1225. mysqli.default_host =
    / S1 Z* R& C( B/ o% \! K
  1226. 3 {! g( m! j2 C/ q) i
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . Y' e! q: E+ [) S1 ~8 P
  1228. ; http://php.net/mysqli.default-user
    % X6 W! ^" I: T
  1229. mysqli.default_user =7 ^  X$ |4 _4 b: L
  1230. ! K- v4 ~6 T; k$ {& {# Z8 d
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).  ]0 i( T' o( Q8 ~# B) B
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 P: H' V% r6 @2 m0 N" ?- C+ r
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 X5 u) T: C$ k. p2 L
  1234. ; and reveal this password!  And of course, any users with read access to this1 j) w& N5 E4 n: R$ C$ L
  1235. ; file will be able to reveal the password as well.1 h* y; I1 M4 f) s
  1236. ; http://php.net/mysqli.default-pw
    % a3 \' V. E* K6 R8 Z6 [+ `
  1237. mysqli.default_pw =4 n# s  ~/ [+ u

  1238. + V7 |( I& D1 V, \
  1239. ; Allow or prevent reconnect. M7 q# }; M3 m5 e
  1240. mysqli.reconnect = Off5 w7 o- _1 F+ ?# x9 H$ l

  1241. ; f" |0 d9 i- G% Q
  1242. [mysqlnd]7 o/ T  x2 q2 h  ]. s
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 ^" U- e! A8 J8 n* Y: c3 D" n
  1244. ; used to tune and monitor MySQL operations.. B# V/ n& w0 e6 d" O0 U, k" w9 A) y
  1245. ; http://php.net/mysqlnd.collect_statistics
    * q4 y9 R0 P/ v, Y
  1246. mysqlnd.collect_statistics = On+ l& W, l4 w. Y5 v
  1247. 1 E3 F& s( m! I; c, Z
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& \" M! ~9 A' s+ k4 x: I9 O7 y
  1249. ; used to tune and monitor MySQL operations.
    * F2 a% j0 j: {/ ]
  1250. ; http://php.net/mysqlnd.collect_memory_statistics8 p8 v* S( R( S5 j
  1251. mysqlnd.collect_memory_statistics = Off
    - a# y. Z' E! Y( M7 W- w  Z
  1252. & ?- S- l  b6 _( A( j/ d! B
  1253. ; Records communication from all extensions using mysqlnd to the specified log6 q. r. G- z. `2 h% M
  1254. ; file.
    $ T( `6 M9 w$ L( u+ C% j
  1255. ; http://php.net/mysqlnd.debug( |) q% G$ s0 X% M4 M, `
  1256. ;mysqlnd.debug =
    7 `6 E, y" j, Q; L: r, y) h
  1257. : Q) E- D0 K3 i# Z$ c! ]  V
  1258. ; Defines which queries will be logged.
    . k6 h# z- |  o9 j: I, r0 h
  1259. ; http://php.net/mysqlnd.log_mask
    . e' a$ ~; V7 E8 f# c
  1260. ;mysqlnd.log_mask = 0( P$ P5 k4 v1 I# R. c' P
  1261. 1 I# K3 L. W) F+ X  @9 _: @
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . W0 k  \# E: S
  1263. ; http://php.net/mysqlnd.mempool_default_size
    4 W; _* s9 M5 n; j2 n2 C
  1264. ;mysqlnd.mempool_default_size = 16000# L8 s  B/ L: h; T. ]$ |' d
  1265. 6 w$ q7 O3 e& h% d  I
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : [( x2 R7 L9 |1 P, }
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* {' U/ I' Z% x. s# s9 W: _% g
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ; h( B$ P5 d; `$ I- c
  1269. $ P+ {2 C' f7 r: x- Z4 M0 K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . D; {. R; R! e& L4 {/ O, U
  1271. ; bytes.; {% Z1 \% T+ s6 y: F
  1272. ; http://php.net/mysqlnd.net_read_buffer_size% J4 D( [) ?  ]! g& [
  1273. ;mysqlnd.net_read_buffer_size = 32768
    1 g* q' [+ b* D/ |

  1274. / [* @0 r3 F6 B. o1 [; u/ {
  1275. ; Timeout for network requests in seconds.8 d. l9 d. U2 e8 @
  1276. ; http://php.net/mysqlnd.net_read_timeout7 c( U. X! g8 c+ H  j
  1277. ;mysqlnd.net_read_timeout = 31536000" d& w3 j: p. V* g8 \7 h

  1278. + I6 |$ N; a, o. G* F
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ' U4 |6 q8 y. A  S  N6 {  z
  1280. ; key." ], @4 r1 d, S
  1281. ; http://php.net/mysqlnd.sha256_server_public_key4 i# n) }0 ]2 I8 a- W
  1282. ;mysqlnd.sha256_server_public_key =
    - y9 p! b9 A, R
  1283. & Q, `: C. V1 P
  1284. [OCI8]7 x7 Q" H0 S1 p2 z: y
  1285. ' c- w, j2 }1 P/ S* |9 d- j
  1286. ; Connection: Enables privileged connections using external
    5 z, y) t5 U4 u1 h3 ?5 w- w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 ~$ K" Z3 F# p2 o0 _) `8 L! g9 _& t
  1288. ; http://php.net/oci8.privileged-connect- g+ I1 ~8 Y: c* P& D3 b" a( L
  1289. ;oci8.privileged_connect = Off; n9 W7 [1 V. O, z

  1290. * A; {1 ?+ F, A$ y% E2 b
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    + j. K# ^9 }; j9 O; x) V
  1292. ; process. Using -1 means no limit.
    9 f9 }% m, N( o) g1 D
  1293. ; http://php.net/oci8.max-persistent
    ! z1 L+ a, c) F9 o$ B  t
  1294. ;oci8.max_persistent = -1+ v! A. n- D3 z' _" }8 [  l

  1295. $ V1 W' w' [1 u, Y5 l1 x
  1296. ; Connection: The maximum number of seconds a process is allowed to
    4 w/ X, f3 M7 ?' ^
  1297. ; maintain an idle persistent connection. Using -1 means idle
    0 O5 B! P; w% U' [2 S
  1298. ; persistent connections will be maintained forever.5 S. ]) X  Y% e4 X+ _( K0 `! s& Z3 L
  1299. ; http://php.net/oci8.persistent-timeout
    8 i/ }$ Q1 i, L2 g3 y9 |
  1300. ;oci8.persistent_timeout = -13 d/ M/ v$ t- n5 c
  1301. / m& M5 P- E4 p+ w2 V
  1302. ; Connection: The number of seconds that must pass before issuing a6 o9 M/ B$ M; P" W
  1303. ; ping during oci_pconnect() to check the connection validity. When2 O+ k' m) Z9 Q1 X* ~( B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ a1 L3 d# W" w! c9 |! }# H
  1305. ; pings completely.4 z  Z1 r0 t: q
  1306. ; http://php.net/oci8.ping-interval
    3 K6 E+ y7 G6 S0 z# T' q! x
  1307. ;oci8.ping_interval = 60
    / k8 d6 J# {" I  \8 ^; d

  1308. 2 o$ P) r6 p8 A$ A5 X+ y* P
  1309. ; Connection: Set this to a user chosen connection class to be used
    # X* r5 P$ U# Y1 e& _. i- R
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    3 c! ^) u! C4 I* n0 J+ ~( e% ?
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% D% |' w! A7 ^6 o1 r
  1312. ; the same string for all web servers running the same application,! g2 i. K0 M7 {# y0 {6 F( r2 a
  1313. ; the database pool must be configured, and the connection string must
    6 @) }$ h4 @- P  {& Q& X
  1314. ; specify to use a pooled server.. L6 e! X/ n4 j7 G1 x7 c6 ]0 k4 F
  1315. ;oci8.connection_class =
    3 W: I; |* {: ^2 f# e* \

  1316. % E3 U5 V9 H# j5 n
  1317. ; High Availability: Using On lets PHP receive Fast Application
    $ G4 \( c3 G! F3 ^( u$ x
  1318. ; Notification (FAN) events generated when a database node fails. The
    / V3 H( j+ M1 {, o) V$ c
  1319. ; database must also be configured to post FAN events.
    & k/ G6 S) ?; t/ h6 i5 S) \1 H# a
  1320. ;oci8.events = Off! d. j% n$ @0 }. A8 ~& y# O
  1321. - u$ W  J$ H% ?
  1322. ; Tuning: This option enables statement caching, and specifies how
    - \! y! @; t$ L0 r5 `( \( E& {
  1323. ; many statements to cache. Using 0 disables statement caching." d9 M( V8 w: ]% `: P- p% ?' n* j
  1324. ; http://php.net/oci8.statement-cache-size
    3 m/ X9 V/ _% j# T/ T
  1325. ;oci8.statement_cache_size = 20# l3 v0 q5 g9 @% C1 D9 ~9 k4 k

  1326. ! b" ^" `8 o7 R
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    * Z+ i% w/ V) h! Y4 g: w
  1328. ; rows that will be fetched automatically after statement execution.
    8 {1 b0 j; X2 T
  1329. ; http://php.net/oci8.default-prefetch
    + b0 W1 Z( ^6 L
  1330. ;oci8.default_prefetch = 100
    + E6 h) J2 A! A
  1331. 6 i' E7 U) H0 P! l, ~
  1332. ; Compatibility. Using On means oci_close() will not close3 G7 U- m% N( @& v- Q
  1333. ; oci_connect() and oci_new_connect() connections.
    , ~7 L8 i6 \1 w- U
  1334. ; http://php.net/oci8.old-oci-close-semantics$ `& L/ U# a8 @1 O! Y$ N+ M1 e
  1335. ;oci8.old_oci_close_semantics = Off: R9 \! g+ C& U8 X! l
  1336. ; p2 O- |6 L8 |6 }, J; J2 @$ x
  1337. [PostgreSQL]% `; S5 ]& ~+ k  O# M; B/ h% `- D
  1338. ; Allow or prevent persistent links.1 d: G1 X& U* ^# l8 Y
  1339. ; http://php.net/pgsql.allow-persistent
    8 }2 [" {: q5 C$ D( \1 [
  1340. pgsql.allow_persistent = On
    6 p: u0 E* V: A# ^, d5 C; F# U
  1341. . @5 [& d6 H9 Z
  1342. ; Detect broken persistent links always with pg_pconnect().* o0 t2 N# Z$ R' J1 ]1 m& Q9 e
  1343. ; Auto reset feature requires a little overheads.
    ( a$ n% t, |6 Q) ^
  1344. ; http://php.net/pgsql.auto-reset-persistent; U# \3 L- v% r' J* G' K
  1345. pgsql.auto_reset_persistent = Off1 m0 d7 o) Q  F0 }

  1346. / d3 y% x: o9 T* N3 a' g
  1347. ; Maximum number of persistent links.  -1 means no limit.
    & R3 B$ B* m& Z$ x' K* J* w2 B. ?+ p
  1348. ; http://php.net/pgsql.max-persistent
    5 e; C& \( r8 I- h- U+ K
  1349. pgsql.max_persistent = -1
    ! g- P+ @* J  m9 [1 R" M+ y/ A; Y
  1350. + y( t; v9 @6 ~  F: T" u6 {, Q
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.: l. H1 M2 K! M! y2 F, O- f- S9 i9 }
  1352. ; http://php.net/pgsql.max-links8 V! I2 B0 ]8 F2 N, p. N
  1353. pgsql.max_links = -1( H+ E7 O9 Q6 |8 ?& E8 l( G7 K) ^
  1354. 7 c4 |- Q, Z+ U
  1355. ; Ignore PostgreSQL backends Notice message or not.
    4 J. [, c8 U* p& L+ H
  1356. ; Notice message logging require a little overheads.
    7 t4 h% ^, ?$ s, N' l( M% P
  1357. ; http://php.net/pgsql.ignore-notice
    ; h1 B- g  d% z0 {* J9 U( h
  1358. pgsql.ignore_notice = 0
    ( P  I6 {5 F3 l) v1 o7 k( \; o1 a5 b

  1359. 7 y# _; x- W6 t5 V
  1360. ; Log PostgreSQL backends Notice message or not.
    % F/ @4 J6 e+ |3 @3 e" o
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: h+ G- y2 t$ y  K$ Y' ]
  1362. ; http://php.net/pgsql.log-notice
    % W  t& I7 {/ S6 k
  1363. pgsql.log_notice = 0+ H% M# D- W. B! G1 T, K

  1364. $ N% l5 V" t+ R
  1365. [Sybase-CT]
    2 A" d3 u) ^( m3 K5 Y: V
  1366. ; Allow or prevent persistent links.
    , R9 c1 _# w8 z
  1367. ; http://php.net/sybct.allow-persistent
    4 \3 |! J3 U% ^% [! ~6 _
  1368. sybct.allow_persistent = On
    : Z3 i2 L! O: r2 ^: }

  1369. ' R) h- f' T/ }  w3 v* D
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 m% [( G# L$ |9 S9 n$ D" J3 c, I
  1371. ; http://php.net/sybct.max-persistent; f0 U" F: W% j4 p, W) I6 g: u" x
  1372. sybct.max_persistent = -1( o$ O0 {  K  \& ~/ y5 E' \  Z0 m

  1373. 7 ?) l$ h- f7 G
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      V. O( {+ x( x0 n+ F# ?. u
  1375. ; http://php.net/sybct.max-links
    1 f4 Q5 ~, z+ x
  1376. sybct.max_links = -1
    9 L/ u2 }# Y0 ]) {$ a- c
  1377. : g/ l; c; B+ G9 k- ?# b5 U
  1378. ; Minimum server message severity to display.- D1 Q) J& s! \* ?9 g+ G: A& ^
  1379. ; http://php.net/sybct.min-server-severity
    1 R- Z8 j' g, Q! v- J0 g5 Y# L
  1380. sybct.min_server_severity = 102 `+ h- L" @3 E2 i; p% ]* N

  1381. 8 f" p! k! f: l1 o/ ?, a! b  u9 m
  1382. ; Minimum client message severity to display.
    ) B- f" x7 j' m* K. n7 L
  1383. ; http://php.net/sybct.min-client-severity! K, L! Y: z& J# R# H
  1384. sybct.min_client_severity = 100 q7 M# t% ]4 {. f# H- Y  K

  1385. 4 q: ]5 M7 {! L- q8 K
  1386. ; Set per-context timeout
    9 Z5 z# J0 W+ ^4 x* Q( X
  1387. ; http://php.net/sybct.timeout- \" {( P# B* k6 d1 V$ e
  1388. ;sybct.timeout=
    ; j# L% W1 _7 O

  1389. ! q( T5 F) J: L7 n2 c1 m
  1390. ;sybct.packet_size" s1 ?# Y  B- J  @
  1391. $ }. l" O5 ?* N& b
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    3 j/ _) e, ~% B8 ^" |( p  j/ C
  1393. ; Default: one minute
    2 l. n; N+ O. a: p; H
  1394. ;sybct.login_timeout=7 {, e5 R# R! w* h
  1395. 5 @  c1 k( G8 y3 R+ i1 T3 y; f
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.# B! U# i3 Q; Y# {9 d) L/ W( K
  1397. ; Default: none, _! N* \8 D9 O' G/ N
  1398. ;sybct.hostname=3 ~4 f5 n! |' t: R8 v
  1399. 4 \- w, p# O% q7 P8 k
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    & n7 l6 @# {! p0 x
  1401. ; Default: 02 M3 s) C' A# t3 T* y
  1402. ;sybct.deadlock_retry_count=
    $ q1 K; _4 b8 g& n+ R
  1403. & d" b8 I  z" H; F
  1404. [bcmath]
    5 N) k4 H5 j+ f5 X. a
  1405. ; Number of decimal digits for all bcmath functions.
    & n! Y0 {% p  l3 W4 N, J
  1406. ; http://php.net/bcmath.scale" f4 \8 @" S5 ?' h) ^  x
  1407. bcmath.scale = 06 K0 s0 c2 F) h, j
  1408. 9 T9 f. L( v6 G7 o/ `" O2 t
  1409. [browscap]
    7 B2 k7 s3 ]8 L- Y
  1410. ; http://php.net/browscap
    ( S0 L* y1 _) b; T3 B0 o5 u
  1411. ;browscap = extra/browscap.ini5 |& D6 P9 U* u3 T5 q
  1412. " g" V' Z  }* @7 A0 X
  1413. [Session]2 F# I1 {% ~3 P
  1414. ; Handler used to store/retrieve data.
      F% ~2 @. R  \8 T. t6 ?+ x) Y; f
  1415. ; http://php.net/session.save-handler; p. R% l+ m8 j* ^& S) O
  1416. session.save_handler = files7 M8 T" C+ Z+ P* }9 K% n* g1 [* b( s
  1417.   ?- e  z: ~# Z4 f; ~6 l
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    # P; a  b. |: ?; d* H& w
  1419. ; where data files are stored. Note: Windows users have to change this
    , |9 f& X9 Y4 i3 O1 p3 I
  1420. ; variable in order to use PHP's session functions.  @+ a; C/ r( T7 f' a  l
  1421. ;5 o' O  e* r$ y" @! f* \
  1422. ; The path can be defined as:1 p6 X0 [8 b! J8 K
  1423. ;/ \) d! F9 T' t8 [) d" _8 T; |0 d/ K
  1424. ;     session.save_path = "N;/path"
    / Y+ l5 \( P0 o1 y7 ?" A' w5 Z
  1425. ;; o+ ?' b! T3 _' J- C  A  P/ H1 R
  1426. ; where N is an integer.  Instead of storing all the session files in4 n5 m3 C, e3 b& T
  1427. ; /path, what this will do is use subdirectories N-levels deep, and8 {- l: ]6 s* Q1 ?6 ^; Q- S
  1428. ; store the session data in those directories.  This is useful if
    0 Q% C6 C5 G1 s( i
  1429. ; your OS has problems with many files in one directory, and is6 v! s, q7 T. e# l8 d/ ?
  1430. ; a more efficient layout for servers that handle many sessions.0 R& V# ^6 @7 ^0 L
  1431. ;
    $ h7 `& W$ k1 D) S1 J' G% h
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ! r7 R! T. K+ P7 y9 |) P5 ]0 Q
  1433. ;         You can use the script in the ext/session dir for that purpose.; x. Z5 m1 U- L+ O( G
  1434. ; NOTE 2: See the section on garbage collection below if you choose to3 p9 g" G* q/ v6 q' Y0 E
  1435. ;         use subdirectories for session storage4 X' Q9 T  N2 P8 H: v6 {' N  Z, l
  1436. ;% l2 Q( F0 @- h" c; m9 i( z
  1437. ; The file storage module creates files using mode 600 by default.
    $ }, ?$ Y" r1 d8 m5 b: M# X
  1438. ; You can change that by using
    0 r* w- K5 e  v* h8 ?
  1439. ;
    ! }$ X0 U$ J3 n$ c, F; \; l3 ^2 T
  1440. ;     session.save_path = "N;MODE;/path"
    ! Q. I% l* V2 X, W! z- ^1 C/ w
  1441. ;3 b: Y: P2 g8 c% e1 |
  1442. ; where MODE is the octal representation of the mode. Note that this
    ' ]$ |6 w0 y1 Y$ C: |& `
  1443. ; does not overwrite the process's umask.
    , s3 b$ i) k9 R6 ^! E" m
  1444. ; http://php.net/session.save-path
    7 Q0 l, A% D& V8 ^
  1445. ;session.save_path = "/tmp"/ Z% K; w) W& G) D% F

  1446. : q* ]0 ?* L  z; a1 ^
  1447. ; Whether to use strict session mode.$ o8 k1 [; v2 w; ~! E- p* `7 b
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    % D3 s9 K5 q0 g! l( c9 ~- h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects# F/ Z! n+ u! \
  1450. ; applications from session fixation via session adoption vulnerability. It is
    $ s) t: z- D5 `7 b
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& N. @  Z9 H- w& r5 y+ U
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ s# J! k6 L, W& n  W
  1453. session.use_strict_mode = 0
    & n+ r; d3 I  h$ V6 T

  1454. 6 H/ I4 K/ t5 ]5 X) c
  1455. ; Whether to use cookies.
    4 a7 o/ ~% F" ]
  1456. ; http://php.net/session.use-cookies
    6 o7 l1 e0 B: i2 A: L
  1457. session.use_cookies = 1
    9 E' Q. s5 A: _
  1458. # j7 n8 N: T0 X) F
  1459. ; http://php.net/session.cookie-secure
    / t; x5 s- p4 A
  1460. ;session.cookie_secure =! o$ x& @, G0 }5 a

  1461. / o: T5 i8 I. n* n( v& q+ w" o8 `
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 {/ R" q5 y2 O+ D8 E9 f/ F
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    : U5 a8 E! j9 G8 p' \( {! J
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 W" T" V& \' d* G
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " W2 G; s  ]# D# a8 I4 w7 C) j. x
  1466. ; http://php.net/session.use-only-cookies
    $ r, O" k, M7 V- t* r+ U# K# |
  1467. session.use_only_cookies = 1
    7 }8 c  ?1 Y+ C: d6 a$ |2 E! {2 x0 W

  1468. 2 W0 O2 }: m" \+ d5 B
  1469. ; Name of the session (used as cookie name).
    1 X' b( v. g9 y3 k0 N" o
  1470. ; http://php.net/session.name4 q2 _' c  B1 \. ~- U6 t7 l
  1471. session.name = PHPSESSID
    ; R* B$ N. [# K0 R
  1472. 3 v, x0 z9 `& I+ x- I5 N/ L
  1473. ; Initialize session on request startup.
    ! q1 r( |/ ^' D9 x' s2 F$ E& a  @
  1474. ; http://php.net/session.auto-start: [+ f' u% X, k% J. V
  1475. session.auto_start = 0
    * t' \. z% Y7 r
  1476. / i0 ^# Y+ c! O" u, e
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.. {3 K7 k% t, ~6 \- M
  1478. ; http://php.net/session.cookie-lifetime
    $ d9 N% Q# e5 k( M
  1479. session.cookie_lifetime = 02 ^+ K8 D4 ?/ X' A7 T! a2 ^

  1480. 4 s2 R7 r' k8 g/ R8 N- w
  1481. ; The path for which the cookie is valid.
    4 f& {) M, H* Y4 Y0 x: \+ N
  1482. ; http://php.net/session.cookie-path
    # @$ B( {' v( }# m. }) ~, {8 k: d
  1483. session.cookie_path = /' W4 W% ^3 `, v- |; Q% J' x5 K

  1484. : _$ N1 S- S' Q$ D) S0 `" [
  1485. ; The domain for which the cookie is valid.4 D6 T* Y6 X- t0 L: @
  1486. ; http://php.net/session.cookie-domain
    ; C8 b$ X) A5 p) r- d$ A9 `
  1487. session.cookie_domain =
    5 U$ i2 H/ Y  z6 E! O7 ?

  1488. & i' t3 C0 Y" ?0 S0 K+ F0 g- r% o
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 t9 a& N* h4 {$ _3 T' Y+ k1 t- _
  1490. ; http://php.net/session.cookie-httponly
    3 h. ]) K0 m1 K% s; k
  1491. session.cookie_httponly =/ g- N3 x1 c5 L/ K

  1492. 7 P( ?/ `  r( m2 U- T! U
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.7 o+ ^- n8 W3 a7 _
  1494. ; http://php.net/session.serialize-handler& h3 W/ s3 D$ k
  1495. session.serialize_handler = php
    ; S0 n0 G0 J0 J' j$ M4 m

  1496. / W$ l- B+ H( ~8 K; ^; e9 k" V
  1497. ; Defines the probability that the 'garbage collection' process is started( t# p. E: R. E5 w6 Z8 n- [  q7 A% F
  1498. ; on every session initialization. The probability is calculated by using7 G6 ]5 Q) E! j4 W5 w, ?% D
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 c( t  v+ N# D1 V3 b( b: T: }  }+ v
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 18 F9 C. {5 b, P6 M5 F. l
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% k% u* n: D6 u0 _  J' a
  1502. ; the gc will run on any give request.
    , @, I, I0 x& r9 Y) Q# A8 v
  1503. ; Default Value: 1' ^1 [# R7 A1 M9 e5 r! G
  1504. ; Development Value: 15 A6 ~6 v9 B$ X( r4 h6 i8 ]! l( }
  1505. ; Production Value: 1: @. K# h4 [. F9 L" U
  1506. ; http://php.net/session.gc-probability
    ) f1 I- O7 m5 i- l4 T/ i
  1507. session.gc_probability = 1& r, e$ Y# w$ W& {2 \5 U

  1508. / b) `& N+ E0 _0 E% f2 q
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    6 k. K- c* f/ D) y- u+ }" s. F
  1510. ; session initialization. The probability is calculated by using the following equation:' i. @5 ~# S5 y& x2 {+ O+ L) O
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - Q+ F8 p$ e' w8 ~* i+ v+ h' E$ m
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 @! X! b- N/ q+ E0 n/ I! ^' B& F) o
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ n0 t( X* r8 B. R' }2 |
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you$ f% {% M* Y6 u. V
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - |/ ]8 ^5 E) N3 r% p' e( Q" a: ?
  1516. ; this is a more efficient approach.9 q. i" @) M" C8 j
  1517. ; Default Value: 1001 I" e- i" K4 ^# F& v
  1518. ; Development Value: 1000
    - T! ?0 j" y2 V0 ?- ~: U
  1519. ; Production Value: 1000
    . g/ Y1 q( R+ I( u. H. ?3 W/ g% W- n( V
  1520. ; http://php.net/session.gc-divisor
    ! r; [$ O/ M' ^3 D# [! d
  1521. session.gc_divisor = 10009 g1 L3 m+ g: `& I9 r5 v+ W

  1522. . t: U! u0 K4 X& w4 c, F
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and" X8 E# P% _7 I) Z( p
  1524. ; cleaned up by the garbage collection process.
    4 q, {( {( j3 g5 f; L
  1525. ; http://php.net/session.gc-maxlifetime
    $ J4 V5 y4 Y8 i  y$ o. n  A
  1526. session.gc_maxlifetime = 1440
    5 m5 i' j) i% B  r8 p* \' V/ n9 O
  1527. : j2 i' s5 v' `! G9 v0 s0 q
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    5 q5 N4 p9 N/ q3 Q9 w% n$ X2 C
  1529. ;       (see session.save_path above), then garbage collection does *not*# M6 ?9 ?# w9 @$ Y/ {6 k  x  v+ E
  1530. ;       happen automatically.  You will need to do your own garbage
    ! E( Y- N  Y1 c9 z1 o5 N$ a6 m" X
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 k( ]& `) a/ e# i' ^( p4 o
  1532. ;       For example, the following script would is the equivalent of3 j% y# R% T0 J/ u2 Y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):( p" U2 ]$ x2 t* m# K+ I
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      ^9 R& I* ]6 a4 x+ h# n( y
  1535. : |9 E( P; o* l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 Y( a% m' k! j6 T
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , ^$ z* ~: \8 Z  `  |1 l3 M0 X
  1538. ; considered as valid.. q/ f( g6 ?* H6 D, R
  1539. ; http://php.net/session.referer-check6 U! B$ n9 M$ p' x' ^' F
  1540. session.referer_check =
    * n) e6 F( F7 \4 }
  1541. ; |/ J- }: p" ]3 X, o/ H
  1542. ; How many bytes to read from the file.* U# N  n, Q, Z! `
  1543. ; http://php.net/session.entropy-length  \$ A8 a" F- A& e. X1 C) C
  1544. ;session.entropy_length = 32
    1 L( a4 }, Y( _- L; H

  1545. + z8 R( f% h) L
  1546. ; Specified here to create the session id.
    . o! B7 V  S. \9 S7 i
  1547. ; http://php.net/session.entropy-file* y2 S& }5 k4 O0 K
  1548. ; Defaults to /dev/urandom1 e* ]+ t+ A' M6 h* l, g
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ( ~- s" z  W2 y  y& T0 V! d1 ^
  1550. ; If neither are found at compile time, the default is no entropy file.0 P. I4 @6 I' \9 H3 r
  1551. ; On windows, setting the entropy_length setting will activate the6 l6 f3 R8 a4 |2 O$ n
  1552. ; Windows random source (using the CryptoAPI)( W7 l3 ~8 B7 [6 S3 }
  1553. ;session.entropy_file = /dev/urandom4 `3 b" X4 c/ V& r

  1554. 3 A4 ~& t5 U0 O& [3 k8 U7 |* f0 Z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
      ?3 c$ h$ x, ^. g$ K
  1556. ; or leave this empty to avoid sending anti-caching headers./ X7 V0 D; Y8 r1 n7 ]4 r  X% d
  1557. ; http://php.net/session.cache-limiter1 v; Q, B9 A6 N+ E) V7 j
  1558. session.cache_limiter = nocache4 {) r) g( W+ `8 E, q- C

  1559. ( l  t4 M+ P; H( j, r
  1560. ; Document expires after n minutes." A+ Q& R# g8 Y* g- Y( o7 v
  1561. ; http://php.net/session.cache-expire
    1 n6 O7 v/ K4 k! n) i& a
  1562. session.cache_expire = 1807 P& ]& C4 [& d9 j% `
  1563. 7 n  l, [3 J& v/ y- l
  1564. ; trans sid support is disabled by default.5 y: n- n4 o" E5 Z  e
  1565. ; Use of trans sid may risk your users' security.
    3 \: |& Z+ d8 |' m. b
  1566. ; Use this option with caution.+ ]' O& }9 T( ]8 l! p$ n; Z' Q
  1567. ; - User may send URL contains active session ID
    $ n3 Z3 q0 E- {+ T8 m, P" ~
  1568. ;   to other person via. email/irc/etc.
    3 p& F) E8 N: ]1 g1 G7 R
  1569. ; - URL that contains active session ID may be stored, d5 c6 j8 L' d. L& o4 p
  1570. ;   in publicly accessible computer.- P- Y; d( u- ]0 o, N2 y
  1571. ; - User may access your site with the same session ID. L2 N$ Y4 o1 D+ T/ ?
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 h0 n0 y3 R' h- x6 L" e
  1573. ; http://php.net/session.use-trans-sid
    1 l- Y8 g) p, v
  1574. session.use_trans_sid = 01 {0 I- W! M. z' p1 o% b( v

  1575. $ E2 E  ^  `6 F: e- ?! V$ T. o* Q
  1576. ; Select a hash function for use in generating session ids.3 l3 O& J: b% }: L; |3 @
  1577. ; Possible Values
    3 n1 C6 \0 A4 H) B" q  d
  1578. ;   0  (MD5 128 bits)
    / J6 ~! D$ ?6 z7 Y
  1579. ;   1  (SHA-1 160 bits)6 G/ G% }: ?1 M# a; m! ^
  1580. ; This option may also be set to the name of any hash function supported by
    8 z2 z+ W8 U- @# i
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    6 Q5 H* ]5 U8 Q8 G, Z
  1582. ; function.. {" D* `  {9 ^
  1583. ; http://php.net/session.hash-function6 w1 R' k9 O6 O0 C0 Z$ H: s
  1584. session.hash_function = 0+ @' [" F: |/ b0 I/ P  J7 v
  1585. 8 A4 r1 S( [% `, s
  1586. ; Define how many bits are stored in each character when converting
      c# T/ Z/ Y2 |- {8 A
  1587. ; the binary hash data to something readable.  ~; j% u- ~2 s# ?& w4 x
  1588. ; Possible values:3 f. K6 s  S. n( V) [' ]
  1589. ;   4  (4 bits: 0-9, a-f)" y% p, S: N* M  Z8 {) y, v
  1590. ;   5  (5 bits: 0-9, a-v)3 E* O& F- K2 `) w  a3 S
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ Q  D% c/ o+ g( W+ U# i
  1592. ; Default Value: 4; g1 N. A% s8 @3 B  Q! Y. [
  1593. ; Development Value: 5* N) e& J; T6 G5 c: J1 Q
  1594. ; Production Value: 5
    ) ~/ `% M! A3 G
  1595. ; http://php.net/session.hash-bits-per-character
    - l: b- [! v5 y! _% E: n- f
  1596. session.hash_bits_per_character = 5* r' ?* @; [- @) P2 @
  1597. , d2 k, G8 D: p, n1 T
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.  I% X* P$ A; }: _
  1599. ; form/fieldset are special; if you include them here, the rewriter will0 _% _+ i) I2 ?2 z" f  i9 r. F( I
  1600. ; add a hidden <input> field with the info which is otherwise appended( s4 I- @; v$ c. J  w
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    $ j# l: M- d6 G" j) Q8 |
  1602. ; Note that all valid entries require a "=", even if no value follows.
      P( }& m9 T/ A) C8 N8 x8 H
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , N- T0 M' u) }
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  J& j8 @* @3 }) F( X2 A
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- C1 ~3 O: }7 |0 G
  1606. ; http://php.net/url-rewriter.tags* {4 V! x& F  {' ~( k9 v
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 v' G& a* \2 b. b" N# i

  1608. 6 y- k6 R. O1 y8 T- G5 ^
  1609. ; Enable upload progress tracking in $_SESSION
    9 ?) b7 V& T+ ~; P) Z
  1610. ; Default Value: On; I6 y, T2 X+ m9 m
  1611. ; Development Value: On$ C4 I  \9 V$ F; {" q
  1612. ; Production Value: On
    4 P5 b( @/ F  P3 |1 G0 x5 B1 L2 Y& V
  1613. ; http://php.net/session.upload-progress.enabled
    5 E1 e* G+ R4 }
  1614. ;session.upload_progress.enabled = On
    9 `+ O5 r8 n3 Y! `
  1615. / A9 l2 l8 G2 z
  1616. ; Cleanup the progress information as soon as all POST data has been read- Y/ E% Y- b! |4 ]+ v( d
  1617. ; (i.e. upload completed).
    ' g$ \% `$ c7 f8 Y& g
  1618. ; Default Value: On+ L. V. @3 q! J5 K+ |. f
  1619. ; Development Value: On7 y7 A: \  q: |  ^+ ?3 n) V! ]
  1620. ; Production Value: On
    $ c/ f! G+ W4 y+ A: Y
  1621. ; http://php.net/session.upload-progress.cleanup
      N9 @4 W- w7 q  ?' ^
  1622. ;session.upload_progress.cleanup = On+ D/ f& X/ D* b2 H) D1 B* }
  1623. % W9 N- @0 {3 [
  1624. ; A prefix used for the upload progress key in $_SESSION
    $ y' g8 h: l. D  |# D( m, A6 e
  1625. ; Default Value: "upload_progress_", V' u1 _7 y2 [, h
  1626. ; Development Value: "upload_progress_"+ ^7 E0 M2 V* O, y4 v" Z$ a2 ~
  1627. ; Production Value: "upload_progress_"( y+ \4 J& I/ ^# b  ]  T/ e" t5 k
  1628. ; http://php.net/session.upload-progress.prefix
    / E3 _6 F9 [. p0 V9 i2 m* a9 u
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ! o' E- r& s$ J8 \0 L

  1630. 1 U5 Q9 _6 i/ P9 G7 t) Q0 P
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    8 t2 M; Z. r+ a% E6 }) s9 d
  1632. ; containing the upload progress information
    % _# N4 y0 P+ c: }6 H
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 d% s% x0 _$ p8 s: N
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 ]- y; ^. Y+ Z7 N. ]* I- Q' m4 a: Q
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # B8 x2 X5 p' |8 ~0 n: L
  1636. ; http://php.net/session.upload-progress.name
    * {- ?# G2 d4 p/ O1 r! g
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % U8 K& ?4 O! b  o% L6 B# O# ~) v6 M
  1638. 5 N% V' p; S5 t2 L& E& G
  1639. ; How frequently the upload progress should be updated.7 L$ n, S  F: C4 N4 o! x
  1640. ; Given either in percentages (per-file), or in bytes
    " i1 Y; @3 C# C3 i4 [4 e
  1641. ; Default Value: "1%"
    1 i( m3 F; Y0 @
  1642. ; Development Value: "1%"; J9 D; E- }5 e9 U( R' O5 V, z4 d
  1643. ; Production Value: "1%"
    ! ?- c( Y- [# H! S3 T
  1644. ; http://php.net/session.upload-progress.freq
    9 L, t! r1 M5 X
  1645. ;session.upload_progress.freq =  "1%"# P& i0 R9 `( V; o2 x0 k, {
  1646. / _% q; T% P1 _6 Y4 x. j) g9 |" F
  1647. ; The minimum delay between updates, in seconds
      t8 g% E( H( r' Z# e/ U
  1648. ; Default Value: 1" x( n7 n6 j4 W6 l1 W3 e
  1649. ; Development Value: 18 P4 @) r+ T8 r) J
  1650. ; Production Value: 1* R# K$ E9 X/ Y+ b& A/ \
  1651. ; http://php.net/session.upload-progress.min-freq
    % _% t& {- w' Q% z' f0 V7 `8 K
  1652. ;session.upload_progress.min_freq = "1"* M) @; r5 y3 r0 E! ]
  1653. , l( Z; u5 O7 q9 z& C& N3 X& G/ M
  1654. [MSSQL]" y! b- V6 U/ F% b
  1655. ; Allow or prevent persistent links.
    7 m4 [) F% K2 L5 m
  1656. mssql.allow_persistent = On
    4 `1 u+ D2 ?. [0 P# ]! S
  1657. ( O% S8 R8 [9 |" o' \* I/ f8 k
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ' S1 `' a0 Q$ I6 b, v6 m2 y
  1659. mssql.max_persistent = -1
    % R' L9 i# R: f  s4 Z# y1 T

  1660. 6 r8 a  r  ^$ ~2 O/ _
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( U6 \" g, v% Z9 |4 |
  1662. mssql.max_links = -1
    8 ^4 }# n7 k  O0 V* m

  1663. 2 ]0 P9 e' g& g# ?& N% `7 o
  1664. ; Minimum error severity to display.5 @7 @/ x5 }3 S, x
  1665. mssql.min_error_severity = 10
    6 M, H7 T2 V* a/ o# j

  1666. 6 O+ v( }& r+ q! f- }* p
  1667. ; Minimum message severity to display.' D. S4 {" T/ y' W, y+ S' N4 Y8 w4 V
  1668. mssql.min_message_severity = 10
    # ?7 v& Q7 e/ Q* s

  1669. 4 {( L3 @! G( E; \* a) n, A3 ]
  1670. ; Compatibility mode with old versions of PHP 3.0.; |; ~; |9 S7 N- k
  1671. mssql.compatibility_mode = Off8 {. C& J0 i  \9 i, K" I/ s

  1672. $ i. k! ~8 x0 [. u& R) |! D' v
  1673. ; Connect timeout
    , W5 H& c( I- O/ H3 O0 _
  1674. ;mssql.connect_timeout = 55 o* Q4 _3 g6 M+ N/ `
  1675. 8 t1 N2 u9 f' M( H8 }  y
  1676. ; Query timeout
    . Y6 f. g# C/ V" j
  1677. ;mssql.timeout = 60' S' |, x3 L+ F. c
  1678. 1 U3 V  c5 W# C9 L) A- m+ I4 I
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ( B: H' I# r: r( D( u
  1680. ;mssql.textlimit = 4096
    " M0 K- A. |% Y" f+ _

  1681. 9 P1 y: y& Q1 C" `* L6 {
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ; n9 g9 `  B9 ~3 |
  1683. ;mssql.textsize = 4096- @% b0 `& U0 l0 I* y6 ~. \
  1684. / y; @. t. s  O3 m: q1 i) C
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.4 `" j7 a& ]& H& ]$ Z  [
  1686. ;mssql.batchsize = 02 o; m) i* p" e5 T( u0 q8 Y

  1687. ; K# j* m9 i4 d, Q  ^+ P
  1688. ; Specify how datetime and datetim4 columns are returned  K4 l7 {3 o* n- ]
  1689. ; On => Returns data converted to SQL server settings
    % m5 R( F) o% z  K7 K2 A
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    3 V1 i1 N5 C1 w3 f) @- T- R. r
  1691. ;mssql.datetimeconvert = On: t) m( _! \1 P6 I

  1692. : o1 K8 j5 m% D. `/ d' M) K
  1693. ; Use NT authentication when connecting to the server
    8 X8 k+ _. x) N: H. x9 ~
  1694. mssql.secure_connection = Off) k- b+ O2 H- A" E8 R7 w* |

  1695. 6 w+ _# b% z. _) W; h
  1696. ; Specify max number of processes. -1 = library default0 G% Z0 F0 X  h9 H- l
  1697. ; msdlib defaults to 257 W- I) x# I+ R  Y! [0 Y
  1698. ; FreeTDS defaults to 4096, r& g- c9 M" X9 t9 e8 O$ A
  1699. ;mssql.max_procs = -1* B; u6 a* h, _
  1700. + G: C. s0 t# d; V
  1701. ; Specify client character set.7 Z6 P" E* c& |5 O% O+ o- F1 ]/ n& Y
  1702. ; If empty or not set the client charset from freetds.conf is used
    : n3 m  A' J3 t. B3 W" r
  1703. ; This is only used when compiled with FreeTDS! c% m( w8 Z3 m: M- b2 f
  1704. ;mssql.charset = "ISO-8859-1"2 h% ~/ q0 e) C5 |" s7 w! k4 {

  1705. 4 |! j5 ?) o6 f8 f! K9 ~
  1706. [Assertion]
      c, {0 @) [: M& O6 z* k& |1 i
  1707. ; Assert(expr); active by default.
    ) N  e$ s" I& Q, n/ f5 q- a
  1708. ; http://php.net/assert.active- T+ X5 D. s( Z( i
  1709. ;assert.active = On/ f( X; F( n2 C6 x& Y: `

  1710. - Y* g/ t8 |! {" D- y' ]* P
  1711. ; Issue a PHP warning for each failed assertion.
    6 m4 d5 F1 T) M6 _* x1 Q; S
  1712. ; http://php.net/assert.warning
    ) G( h" d; k8 ]8 l4 ?5 e+ t
  1713. ;assert.warning = On- j% K: u' G! c( [

  1714. 7 M  k, C% w4 s4 j
  1715. ; Don't bail out by default.
    7 ~( S3 s  y7 S; K7 A  s# w$ Z
  1716. ; http://php.net/assert.bail
    . v& S. ?5 r" D7 R
  1717. ;assert.bail = Off7 l2 w' r4 B) x" I  B! H
  1718. ) p' Y9 c3 m2 s2 e6 a* n4 E
  1719. ; User-function to be called if an assertion fails." ]$ E' f: C$ X; g: ]' s$ ?
  1720. ; http://php.net/assert.callback
    # S" C* |( m) X& }
  1721. ;assert.callback = 0
    " J. d* e2 u4 M9 j# V( _1 \

  1722. $ d2 j6 u, k$ K# g" v0 I2 O7 _
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    3 b: c1 H* i7 n
  1724. ; error_reporting(0) around the eval().
    $ \6 ]" T! N! a% z4 d; E1 L: B- g. D
  1725. ; http://php.net/assert.quiet-eval
      f5 D2 O) g& t1 l
  1726. ;assert.quiet_eval = 0
    & N4 i! b- C: R3 j8 N" ]1 E
  1727. & n" ^4 ^4 d3 ?' _
  1728. [COM]* I# a2 y" Z7 w$ @6 M1 W7 r
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs' X$ \# C1 u  X
  1730. ; http://php.net/com.typelib-file
    & @/ j; o- c# ~7 p3 S% q% U2 ?0 a
  1731. ;com.typelib_file =; i% w1 P. a& A- g

  1732. ( f8 h, U( ?- i8 P  ?6 T& |9 x  S
  1733. ; allow Distributed-COM calls
    ) @3 i- c8 N% ^- ]
  1734. ; http://php.net/com.allow-dcom3 S' H2 _: D' A4 ~/ r
  1735. ;com.allow_dcom = true
    7 m! r# T8 d7 G. B# K6 b5 o3 ?
  1736. : ?3 W/ o# m: M* C* Q5 `* w$ i) K/ I$ H
  1737. ; autoregister constants of a components typlib on com_load()& G6 |# y% O1 G0 {! `, b3 @
  1738. ; http://php.net/com.autoregister-typelib
    ( {1 p( ^# O8 _) \/ ~* T
  1739. ;com.autoregister_typelib = true
    * G$ o' i5 R( ?
  1740. % g0 n" X# H( L# D
  1741. ; register constants casesensitive: S) q9 p- d3 X3 L+ X- h
  1742. ; http://php.net/com.autoregister-casesensitive
    : o) e7 C. u+ w! D& r3 u
  1743. ;com.autoregister_casesensitive = false
    ( j  {5 v5 y" N5 q" Y/ S$ y* |- E( a

  1744. 0 B' Z1 {7 z+ d  P# p( \
  1745. ; show warnings on duplicate constant registrations
    2 r9 D* f3 ]0 \( J5 t3 S2 B6 c; i" Z, G
  1746. ; http://php.net/com.autoregister-verbose
    4 q7 L9 I' Z: I* v7 n
  1747. ;com.autoregister_verbose = true4 ]  w0 \  P& _+ x! L/ Q

  1748. & L' g- V7 A: y0 p: H) h& Y
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 t" k- y4 z, n+ M. f8 X7 I# q
  1750. ; Default: system ANSI code page
    9 q* O! O( V. ?" k
  1751. ;com.code_page=7 \5 U0 X- D3 Q2 N$ X! D% A7 Y3 N. i
  1752. 2 D8 l2 V( M7 x' o, a6 `1 n
  1753. [mbstring]8 o3 d3 S& W  _2 @; m, R
  1754. ; language for internal character representation.6 Q8 h  J# H) G
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.  c. H. T5 k! d, S9 Z3 N9 k
  1756. ; http://php.net/mbstring.language% i3 Y4 {! D3 s, S2 F  H
  1757. ;mbstring.language = Japanese# P; c( A% V1 ^9 x
  1758. 6 t& P$ w+ ~; t+ _# @
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.; J$ _* N! z% g: u
  1760. ; internal/script encoding.' b4 W, f! X* m
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 Q5 ^) z, \2 [
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! g' b7 u7 a" ~  J3 X+ S
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" y" @3 G5 a7 o5 l' ^7 p1 S0 v' @' r
  1764. ;mbstring.internal_encoding =, V" _0 G7 P) p  s- ~3 h5 a; Y3 r

  1765. $ [( ?5 N9 s9 m3 Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.7 f; Y* e0 @: g4 P* S
  1767. ; http input encoding.0 E3 d( d, j2 E# ?- E
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 E) a8 j, J+ @2 h* Y
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 s$ z) C! _/ L
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input  {$ y6 }! C+ x$ m. e: D7 c
  1771. ; http://php.net/mbstring.http-input# Z! u2 e, M5 t" y1 W4 `
  1772. ;mbstring.http_input =
    / }/ o  t" }. b" U9 l0 e6 a
  1773. ; o. |% A8 @2 x8 M% `2 O3 W
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 Q- l/ e3 w- g: h" {
  1775. ; http output encoding.2 }7 i# c, [# |( h
  1776. ; mb_output_handler must be registered as output buffer to function.% A6 d, v6 l1 A4 s6 o: R7 r; l
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " J: O% p5 y% Y( @; U% [
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output2 B; y% P" [+ s( C- u1 o' l
  1779. ; To use an output encoding conversion, mbstring's output handler must be set8 Z8 n5 G! c) N& S6 R$ `
  1780. ; otherwise output encoding conversion cannot be performed.2 R7 o3 d, E+ Q* h8 Q
  1781. ; http://php.net/mbstring.http-output  ?2 K* F7 |9 V" a+ ^
  1782. ;mbstring.http_output =
    6 C) N% C8 D" I0 h' w# `

  1783. 2 t# G0 n2 v; L$ \
  1784. ; enable automatic encoding translation according to7 ~( \: q% C/ F
  1785. ; mbstring.internal_encoding setting. Input chars are  d: s' A; m8 v
  1786. ; converted to internal encoding by setting this to On.
    0 E! @: m+ z1 `& p1 W
  1787. ; Note: Do _not_ use automatic encoding translation for
    / O( T8 p8 \4 e. S
  1788. ;       portable libs/applications.
    " j6 b* j# B! P5 E+ P; m" E' I
  1789. ; http://php.net/mbstring.encoding-translation  R/ n+ g4 r4 Z  e$ I
  1790. ;mbstring.encoding_translation = Off4 A2 s! G9 B: G! N1 }% S5 z2 G
  1791. 7 [6 k' s0 h& b: g& @
  1792. ; automatic encoding detection order.
    + h; S& i# |+ ?! C, F2 Y# O
  1793. ; "auto" detect order is changed according to mbstring.language
    + {. k. c3 T+ S* S" Q( Z2 h0 d0 `
  1794. ; http://php.net/mbstring.detect-order; a( g" [+ P1 R, k% X4 T5 ^/ F
  1795. ;mbstring.detect_order = auto' c6 F( n* P! {! `6 J2 D
  1796. 1 x. {% E  h- k' Y% x0 Y
  1797. ; substitute_character used when character cannot be converted9 u$ ~; K& U5 {  R: C, X/ i
  1798. ; one from another
    & c/ W9 k# U4 L+ }2 d- T9 G& k
  1799. ; http://php.net/mbstring.substitute-character; P" V5 W/ A+ `; i
  1800. ;mbstring.substitute_character = none8 z) D8 q) p, K3 u: h; M2 s  \/ O
  1801. 6 q  o8 q5 O# _  k' K: [5 C* B3 D
  1802. ; overload(replace) single byte functions by mbstring functions.4 W. r8 V- U" T7 b  j
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- C" K0 Q4 v& d0 N
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 Z0 z5 m& g: t- b2 G
  1805. ; For example, 7 for overload everything.
    $ B6 ?, l2 i4 E9 r7 ~4 b
  1806. ; 0: No overload
    * o7 u# F! H4 I
  1807. ; 1: Overload mail() function
    6 a+ h/ l+ K6 e) v3 U8 F2 Y( W; J3 N
  1808. ; 2: Overload str*() functions$ N, _: p) h, Z4 R
  1809. ; 4: Overload ereg*() functions
    ' @: P+ r3 H" Y+ f# H5 v1 y
  1810. ; http://php.net/mbstring.func-overload9 o% R3 Y  z2 T/ Q0 H* A% n; D/ a9 I
  1811. ;mbstring.func_overload = 0
    7 z& S2 B% Y8 Q2 ^0 R
  1812.   o5 j0 V4 c; @6 e. e! F- B- ?
  1813. ; enable strict encoding detection.& F% @( l; G, [1 C# }
  1814. ; Default: Off
    : M) X+ |$ B$ s6 T
  1815. ;mbstring.strict_detection = On
    ) F8 n8 a( O; o
  1816. : J9 S9 _0 P! @& x$ a/ a* P' T
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 n. X) D, Z! n: h! \; P
  1818. ; is activated.
    1 Z" w$ _2 ~3 ~) K
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml). R8 a+ O; C! c/ e* T6 u% }# ]
  1820. ;mbstring.http_output_conv_mimetype=& O: C" g2 [9 H; ^, I4 Q( B

  1821. 2 H1 D& V% l( [3 H- h
  1822. [gd]$ N9 p' P7 G$ t% W& o4 P0 B
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    4 U; y& N' b) A2 C5 q
  1824. ; a gd image. The warning will then be displayed as notices- ]$ G/ H) J& \8 i! @+ @5 o& F
  1825. ; disabled by default6 V- x" M8 o, y/ x' \
  1826. ; http://php.net/gd.jpeg-ignore-warning
    7 x- ]* H3 D7 T* D
  1827. ;gd.jpeg_ignore_warning = 0
    : b7 U% x4 E4 j  S$ ]

  1828. 5 r; v: W: R# N' }" j& u( v) [$ f
  1829. [exif]1 M# t' M& u7 k
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( i0 t, C( g  f+ ?
  1831. ; With mbstring support this will automatically be converted into the encoding
      h! k5 P4 ^" s
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" ^7 _9 b4 r+ {: h9 _! E
  1833. ; is used. For the decode settings you can distinguish between motorola and
    7 M7 m% W8 T( K/ o
  1834. ; intel byte order. A decode setting cannot be empty.
    1 Q# [" J- x% v" ~  Z3 Q
  1835. ; http://php.net/exif.encode-unicode
    / P; |1 M" t7 A
  1836. ;exif.encode_unicode = ISO-8859-158 M& x( s6 V0 I5 }) c1 l9 E8 c7 r# X
  1837. 2 G1 t* Z  ]. f6 k9 [. R0 V
  1838. ; http://php.net/exif.decode-unicode-motorola$ t1 v+ v1 j. P
  1839. ;exif.decode_unicode_motorola = UCS-2BE- _3 R# r. e* p- q$ i8 f+ Z; b
  1840. 7 M! }8 k7 j6 p4 O' F
  1841. ; http://php.net/exif.decode-unicode-intel
    4 K8 }( G  f- E" D& x2 l
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ( y0 ~) o3 _6 a8 U$ M
  1843. * m4 D# v( [& Y# T9 e
  1844. ; http://php.net/exif.encode-jis- {2 s4 Q9 ?& R! b; j* f: X
  1845. ;exif.encode_jis =$ _- S& i% Z  R3 [. m5 Q

  1846. , `4 y% u) e  ^0 z
  1847. ; http://php.net/exif.decode-jis-motorola  r/ W: K3 W: [0 ^
  1848. ;exif.decode_jis_motorola = JIS
    4 G  M8 d0 W9 P( r- \7 {

  1849. ! T. D, w6 b7 {7 \% Q6 @
  1850. ; http://php.net/exif.decode-jis-intel
    ; i* }- j* ]/ f
  1851. ;exif.decode_jis_intel    = JIS
    8 h( c; B) q) u

  1852. / d" @6 f6 X1 A- _
  1853. [Tidy]% n7 K  f9 J+ |* p
  1854. ; The path to a default tidy configuration file to use when using tidy
    + {. Z" P) n, ]# k# S
  1855. ; http://php.net/tidy.default-config& q4 E9 i& l7 l" e6 E: Z6 n
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % R+ U6 n( ?" `2 M! J

  1857. ' d+ I) ^' m$ U2 l( G/ o( q
  1858. ; Should tidy clean and repair output automatically?7 L. @* D3 g; |: [+ a6 T9 O
  1859. ; WARNING: Do not use this option if you are generating non-html content2 [( r3 |* a2 F: |, @9 C! D7 V
  1860. ; such as dynamic images
    * N3 {) A. n6 g7 S# J5 p
  1861. ; http://php.net/tidy.clean-output% T. k) K1 d- n# i
  1862. tidy.clean_output = Off  ]# I( L# U1 y( ]4 g4 @% o

  1863. - K1 |4 ]4 G* T2 u
  1864. [soap]! j9 J$ U: C' V4 u( ^) ^
  1865. ; Enables or disables WSDL caching feature.
    7 ]: `2 a4 {3 G4 A2 e  l) s1 X
  1866. ; http://php.net/soap.wsdl-cache-enabled" `4 |0 E; v" a" [# {8 O$ r
  1867. soap.wsdl_cache_enabled=1
    0 t8 S. A* T& k- t6 u: @
  1868.   Q! Z; v. {5 T+ e
  1869. ; Sets the directory name where SOAP extension will put cache files.
    & M" u% ]" [+ j  O( i* g  D
  1870. ; http://php.net/soap.wsdl-cache-dir
    0 r7 Q  q' y( S- P  G
  1871. soap.wsdl_cache_dir="/tmp"
    * V( J; e* v% }1 `, t
  1872. . X6 S* B0 S& b# D
  1873. ; (time to live) Sets the number of second while cached file will be used; I% q$ N+ z* l. O8 L1 v4 E1 X
  1874. ; instead of original one.
    $ N/ I2 {/ N" a0 W4 @8 R( s6 {" z
  1875. ; http://php.net/soap.wsdl-cache-ttl9 ~) J& I# h$ V" J8 \7 ?5 z
  1876. soap.wsdl_cache_ttl=86400
    6 P9 J) |3 k, F3 O9 [' C/ ~

  1877. 8 d' a3 s; H3 F/ I5 S/ p* F/ h
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 b0 s1 K: c, J% V4 Y0 i' m) e% g
  1879. soap.wsdl_cache_limit = 5
    + H3 r. A7 \- S& u

  1880. 8 i, n+ C4 w# \0 u) |7 Z) n0 T; Y
  1881. [sysvshm]1 X0 M: _9 q/ @3 W$ E- n
  1882. ; A default size of the shared memory segment
    9 ^7 \4 L; |9 V( U% J2 M% ~
  1883. ;sysvshm.init_mem = 100005 ~8 a. I/ a4 l# t" C$ {0 K
  1884. 8 P( [+ S9 A" f7 I  b
  1885. [ldap], T+ n5 V% U& Y& M) \0 M
  1886. ; Sets the maximum number of open links or -1 for unlimited.3 J& B5 P& @8 ]( }# j
  1887. ldap.max_links = -1
    ' O6 I, m% }3 G. ]9 Q0 w! t% c

  1888. 8 ~1 v' P4 z: s
  1889. [mcrypt]
    ( F" o/ \, ~- }8 S* G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 C  s  T) ]+ V

  1891. * [% H( m; M! J; I9 V$ b* y6 `
  1892. ; Directory where to load mcrypt algorithms) r. B* a2 L0 M9 f- _- ]: ^
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      N% |- Z7 W6 w/ X2 Q
  1894. ;mcrypt.algorithms_dir=2 ~, G4 r# O) w& |! I9 z* G
  1895.   H% }2 l7 u- |
  1896. ; Directory where to load mcrypt modes
    " @0 s. S/ p" p# L
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ ~- ~6 D) s7 |6 `' b
  1898. ;mcrypt.modes_dir=4 a7 N# ~! i& d' j6 N& W' A

  1899. 1 E: t: \8 y1 K& Q! n, C
  1900. [dba]1 z5 E) M; y- J- |
  1901. ;dba.default_handler=
    6 Z  c/ ?, ^( s" }2 w; q  a) q5 P

  1902. : [9 s/ }$ Z: ]7 y
  1903. [opcache]
    . X# C4 ?0 C6 I: V7 G- G# w1 d
  1904. ; Determines if Zend OPCache is enabled1 a8 z: _% T7 r' z; ~
  1905. ;opcache.enable=0$ F, Q6 ]2 e( c
  1906. $ E2 ?2 `" N. r- h' ?, E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    0 [# q" a( k+ T+ ^2 c# k9 }0 R9 n
  1908. ;opcache.enable_cli=0) \  z, Z- Y6 j' ]5 B

  1909. & ~8 U7 ~4 \6 p' X2 H4 D0 Z' ]
  1910. ; The OPcache shared memory storage size.
    7 z5 x5 e0 [; R8 X' ]# u9 L+ R' Q
  1911. ;opcache.memory_consumption=64. Y2 y2 Y  e0 b; Z- ]$ ]( O
  1912. 7 s5 c8 O* i0 B9 o
  1913. ; The amount of memory for interned strings in Mbytes.% J! L( g, Z! L5 B
  1914. ;opcache.interned_strings_buffer=4
    / o4 `) }: N2 D: G4 [/ }- S8 E8 W# j

  1915. 1 z, @$ R8 k& ~$ F' H
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' z1 c; L/ b, l' \/ }9 s
  1917. ; Only numbers between 200 and 100000 are allowed.
    - `( U1 b6 @, ?
  1918. ;opcache.max_accelerated_files=2000
    " t# w" x2 e2 b

  1919.   M9 s) Z; y% d  L4 o6 L' i, r
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.8 i9 v2 Z( o- @) m+ s9 ?: _
  1921. ;opcache.max_wasted_percentage=5
    % b. I0 z6 r" W' M, n) \* m: f
  1922. 1 J( x% i, p5 \; ?0 L/ o! v
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 W% s7 E4 \6 t4 T& R4 C0 O9 S
  1924. ; directory to the script key, thus eliminating possible collisions between9 B' O% z# A% D# w$ e
  1925. ; files with the same name (basename). Disabling the directive improves* ^* E5 G# Z' f; v0 i
  1926. ; performance, but may break existing applications.
    ' Y* j" t% o' I: T7 Z/ u' q8 m
  1927. ;opcache.use_cwd=1
    / B' l4 a7 v5 L) r( O
  1928. + r/ ?+ I  i4 C
  1929. ; When disabled, you must reset the OPcache manually or restart the9 A# U# J4 L2 \* \
  1930. ; webserver for changes to the filesystem to take effect.
    ) J$ F' v, i5 Z- _2 N. |
  1931. ;opcache.validate_timestamps=1
    * O/ a  @. U, D4 b

  1932. - Q+ U8 l/ ?$ }/ h3 p1 a4 v' ^  ^) O) Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared' B$ e3 p/ p! W; l
  1934. ; memory storage allocation. ("1" means validate once per second, but only: f+ J2 V% w1 H2 j! ]
  1935. ; once per request. "0" means always validate)
    5 Y3 K* i) G5 A$ M
  1936. ;opcache.revalidate_freq=2
    . w' g& v3 d9 l; z

  1937. 9 i+ K: d& F8 {* @& O; U5 Q: `% L& ~
  1938. ; Enables or disables file search in include_path optimization7 Z/ w- ^1 z' Q0 `- W8 z6 n
  1939. ;opcache.revalidate_path=0' B$ V0 z, F6 H. Y

  1940. 1 f3 g# o' ^8 _; V5 f! n( k" \
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % x% s- t( Q, D! A- H
  1942. ; size of the optimized code.
    / d  m8 y; H7 w! m+ B. ?
  1943. ;opcache.save_comments=1
    5 _$ ^( I4 }& V. }6 g: u9 H

  1944. ) E& O* d# P6 o6 A' {' g
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    / F: ]+ U) C, N/ X, j; [" u' R' `
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    2 ]# L0 j6 a  }
  1947. ; that don't need them anyway./ ~* @2 d% a, e2 O" i% h# y4 U3 Z; R
  1948. ;opcache.load_comments=1
    . q, E8 b6 ^3 ]: X7 @& u, ]

  1949. 5 I2 ^: y. S% d$ i
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code. D: }) a; K! q- D& r9 G
  1951. ;opcache.fast_shutdown=0
    + L9 J2 p1 p$ r' O7 @7 Z) w
  1952. , c# U0 O" J1 [1 j: Z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.; q6 h+ w: W: J5 C! J
  1954. ;opcache.enable_file_override=0$ ?- M, [& I( C" ?9 C( }' E+ ^
  1955. : p% ~( d: K7 E
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache5 T* _8 `- \- b2 A. b$ P+ ]2 c
  1957. ; passes+ V/ F1 q7 B2 k4 S% `: d' Q9 }3 L
  1958. ;opcache.optimization_level=0xffffffff# y- r7 G) m/ l9 L
  1959. ; `7 s, }4 F) m  {! J$ m
  1960. ;opcache.inherited_hack=14 N# {7 O$ P8 f
  1961. ;opcache.dups_fix=0
    9 O" q7 T% y5 \5 x; P
  1962. " j& k3 T2 T" F* `$ n: G& b+ \, s
  1963. ; The location of the OPcache blacklist file (wildcards allowed).- O4 x6 E! O+ v# l' u$ Z0 R8 P* h
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ; p/ s. p& g4 Q1 T  p2 i9 }
  1965. ; that should not be accelerated. The file format is to add each filename
    4 V) |2 ?+ C9 F) e' L
  1966. ; to a new line. The filename may be a full path or just a file prefix- Y# ]1 A. u6 r/ E  j( p' |0 T0 X
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    . b9 D* B* R! r  N( i9 P* B6 {4 T
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    4 w. K2 t2 S% S. F7 }( N* q
  1969. ;opcache.blacklist_filename=, g+ g, h* W1 T, o
  1970.   N& S4 O  O$ T  q3 z$ M8 i, n
  1971. ; Allows exclusion of large files from being cached. By default all files0 i1 n  Z' z- V$ d. u( j
  1972. ; are cached.# L! h/ f+ ~5 }( R4 f4 f
  1973. ;opcache.max_file_size=00 W) |8 n/ \3 D2 ~+ {+ V* G! ?! \

  1974. # f) P* r" R: W) |
  1975. ; Check the cache checksum each N requests.
    3 r3 `! L6 z9 ~4 P3 q( p7 I
  1976. ; The default value of "0" means that the checks are disabled.& e2 d$ r" U" r6 v8 C2 }4 H
  1977. ;opcache.consistency_checks=0& I) K) e! l+ ?) P# M; F, d) O

  1978. ( i8 }" ^; w# R6 Q+ ?; g+ E
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache6 h- J2 K8 ?9 F1 T7 }7 n5 G7 M
  1980. ; is not being accessed.: u2 q4 g2 M- E5 L8 \/ U8 ]7 x, J
  1981. ;opcache.force_restart_timeout=180
    # Y7 y3 P2 U+ ]! v, K1 N. [, H( w2 N, w
  1982. & a6 [+ O/ @0 W* Y$ C1 \% P) }
  1983. ; OPcache error_log file name. Empty string assumes "stderr".% o1 a7 E9 A/ e& ^9 a) V
  1984. ;opcache.error_log=
    8 @5 j. S  u; g( J& ^
  1985. 7 ^" ]$ l0 j8 C' q
  1986. ; All OPcache errors go to the Web server log.8 G: T  D3 J* p; t) @' A
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.  G% r4 ]: d) s$ \; H/ K9 Q- F! H; j
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    * m# _, a' n" X/ _
  1989. ; debug messages (level 4).
    3 B) m" j; P- H- d9 Z
  1990. ;opcache.log_verbosity_level=16 l# z5 J9 X% e6 x' A
  1991. ! `- W0 m4 H6 |7 ^4 m9 }- Z' {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# K* s: C) n7 ^2 G  v
  1993. ;opcache.preferred_memory_model=
    ! B- J: G+ y+ U( x0 z! j" o$ ^. t

  1994. / E3 g6 f$ Q$ F8 ^
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 E8 x0 g, d* N6 K
  1996. ; Useful for internal debugging only.
    4 H" i7 k/ `( N
  1997. ;opcache.protect_memory=0
    - g. }9 w7 v; w+ t7 ^' ]* {, B/ Q
  1998. 9 w5 n" {% R; v4 D* k2 u1 Q
  1999. ; Validate cached file permissions.
    ' m, ~- i0 t' X
  2000. ; opcache.validate_permission=0
    % t3 S5 W; F. E
  2001. 3 H* I' v) r0 N) C  M5 t" O
  2002. ; Prevent name collisions in chroot'ed environment.
    9 @+ q; {# W8 f5 M# q# M- n
  2003. ; opcache.validate_root=0: H* l/ S! O1 J) s; L7 V4 n% A# Y
  2004. 9 a" w8 B% ]# |2 k
  2005. [curl]$ F! n8 Z6 k. r  A6 P5 J/ R
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an' I" e4 G( f; w( m
  2007. ; absolute path.8 i9 r  j7 v+ n4 h
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 \1 y: \7 ~- o" \( Q$ J! E9 Z$ j
  2009. : H; `; v3 u! j% q
  2010. [openssl]& b4 A3 _+ \- d2 q* C" R( H! r
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    / M1 ^8 r5 p1 \5 @1 f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should& t4 o* N! D2 ?$ [) N! f6 c
  2013. ; not specify a value for this directive as PHP will attempt to use the, f# T4 Y1 w! j& E
  2014. ; OS-managed cert stores in its absence. If specified, this value may still4 P. \4 ]; O) p/ ]$ F1 \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / O1 r/ I8 H, B2 |# o" q
  2016. ; option.
    ' x1 n- F2 u! k) x' r/ {
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 T) t% V0 }2 H4 y5 m8 K6 I
  2018. ; V* {8 o" L1 @: i4 M+ l
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    0 b1 Y# W! t* X; Y& K+ J: P* A
  2020. ; directory pointed to by openssl.capath is searched for a suitable, K% q/ u. ?( T) f
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    * l( O' R+ W- f/ V% y$ e( o, s% u
  2022. ; Most users should not specify a value for this directive as PHP will; D2 s' a. O5 S& @9 F) V2 t
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % E4 P7 m+ ]5 B* W- Z, g$ e
  2024. ; this value may still be overridden on a per-stream basis via the "capath"0 a+ Y& F4 d$ \% H, {" \9 w
  2025. ; SSL stream context option.5 }) c: K' N$ f9 P+ ~
  2026. ;openssl.capath=/ j; e" l3 }! \. }. H  J
  2027. 0 @; A) c9 G) S
  2028. ; Local Variables:7 n5 x. [  X' y1 k8 B( o
  2029. ; tab-width: 4( k3 O- W* n1 l  e6 i* M
  2030. ; End:# \3 b+ e( P5 |2 A8 u+ ?: ~) X

  2031. , \: ^& k; G+ W# W, b
  2032. ;eaccelerator4 s6 ]6 C0 `) C8 x2 E" {
  2033. % u+ ~# Y. Q% q! N
  2034. ;ionCube
    $ d7 k! m0 {: k9 |

  2035. 1 T1 X9 U- o6 \( b7 A, Y
  2036. ;opcache; }: F2 B& y% O1 [
  2037. * d% d  h9 y8 ^
  2038. [Zend ZendGuard Loader]9 T  `" M% o4 V( S9 b
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so- M. U. }/ N1 o7 j! q9 ^8 P
  2040. zend_loader.enable=18 _/ |( C5 r- `7 A1 c. n; b
  2041. zend_loader.disable_licensing=0
    7 d+ C, p* G6 Q6 a3 I* _2 ^
  2042. zend_loader.obfuscation_level_support=33 @. z) B! K+ X4 O
  2043. zend_loader.license_path=( p. [: n( Y0 }9 j* f$ S+ j

  2044. 3 b/ y+ q) C7 F' \/ O
  2045. ;xcache8 [; @! q+ }. d' C

  2046. 2 q  b  \  e  c8 |. o% Z
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692  H; @4 H$ e. t' m  c
. n  `8 G* ]9 E* N

# u" H0 ?6 B1 c6 SDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,, v! N9 T" Z: Y, H

& a4 p: ~+ o; U( z! l  oDiscuz!程序版本选择:
, b0 U6 ^! u/ ]3 N4 m! d站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
# B% m0 E/ b- e5 P5 B- L不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
0 s$ g. z& l0 T1 w* A0 YDiscuz!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。9 K( W" {* @) m; R' o, [/ e7 t

+ k+ Z7 X9 r& j% `5 i9 qDiscuz!插件模板版本选择:
. g: v; C: ?, M: p; ?" |+ ~7 g/ }很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,2 G9 s% \! D- W$ ~( o# K
针对这个问题做个统一的普及:
; Y/ [. j) C/ ~( TX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
; G, m, W9 F2 ]% p! @7 q! V! ^6 c3 y( _; Z' e& O
所以
+ ?2 m: Y' h" v  M, Z适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
: l# ~$ C5 E. R( {" X: C打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
  }6 V$ `6 u' A  s! o" h注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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