分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
- Y  R  V8 b3 j# A% e/ B1 S; n% c, i# z+ ?, E/ y
  1. [PHP]
    + x% N# G7 G: S7 Z, j: \6 O. h

  2.   V# r8 E& p2 [: m* t
  3. ;;;;;;;;;;;;;;;;;;;
    2 l2 R) B% o9 R/ ~* P
  4. ; About php.ini   ;6 W# m2 O4 u& u/ a; u1 [! W! x  n
  5. ;;;;;;;;;;;;;;;;;;;
    ) C3 A' Q! D( j& i$ T* w$ ^
  6. ; PHP's initialization file, generally called php.ini, is responsible for* b: U. G; ]) ?0 I
  7. ; configuring many of the aspects of PHP's behavior.0 x7 T, W/ @) A. F+ U

  8. ; C+ w. j/ z/ W4 W, T: d! I
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % G7 F# a9 a4 L6 d& l
  10. ; The following is a summary of its search order:
    1 m2 y9 M4 V6 M% F/ d
  11. ; 1. SAPI module specific location.9 z4 }/ n% z  K
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& n2 K/ ?; w$ G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) y8 I9 T% V( O7 U, E
  14. ; 4. Current working directory (except CLI)
    % _4 e) L$ z, ~  Z, Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 z7 i; u, Y; z' K9 s7 D1 `% c
  16. ; (otherwise in Windows)# P7 i+ ?0 r. q) f2 R! _- U9 n
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / Y( I1 t4 g& @6 U1 l* |
  18. ; Windows directory (C:\windows or C:\winnt); z/ G5 B* A: Z8 B9 g4 f8 \
  19. ; See the PHP docs for more specific information.( D0 @) M( n+ Y' x* R+ Q
  20. ; http://php.net/configuration.file
    ; k2 F! v# x0 B9 w8 R. C* D8 G; l0 U

  21. : R7 v8 H' E: e  B5 P% {
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  P7 z' K& S) a- {) D* f
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - m$ i: [+ [) P6 E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 x0 q' H; P0 Q6 a- ~
  25. ; they might mean something in the future.
    9 h% g, I8 h* T
  26. 3 ^- m- n! @$ e1 `" j# G6 @$ [
  27. ; Directives following the section heading [PATH=/www/mysite] only) v6 q2 T+ d! N
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 X' i& E/ A1 d% r! ^) D
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( V# v1 K, N! U  b: o0 t
  30. ; PHP files served from www.example.com.  Directives set in these0 Y( U- C! L+ {& r4 M
  31. ; special sections cannot be overridden by user-defined INI files or% j) p/ n& V, @+ O
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    9 m& s, C% K8 K' \! a( Z7 `" K
  33. ; CGI/FastCGI.
    7 X5 l9 Y% f# n" v( l1 T# X* i' k" a0 O
  34. ; http://php.net/ini.sections
    1 _& Q4 M# e5 s) l" k
  35. $ C# i" @! y: H% R+ S
  36. ; Directives are specified using the following syntax:
    * Z! t  Z3 N0 X' G, G- }
  37. ; directive = value+ s6 }1 S* n& u$ y: ^* g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 W8 m3 F5 Q4 n. u% `" I
  39. ; Directives are variables used to configure PHP or PHP extensions.9 ?. A( e% W# G. V9 l& q% B& {. |% _
  40. ; There is no name validation.  If PHP can't find an expected  l3 v6 X  K7 P; W- e
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + c- v( q1 O# T% L

  42. 1 c' y* j9 C& I7 s
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ W2 u& C$ R0 s! V4 q" u# ^& k! i# m
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression& x/ A2 S" O5 ]; N3 J# N, v# H
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) T9 U- r7 @: \' t- M2 d" A1 W
  46. ; previously set variable or directive (e.g. ${foo})
    . R8 P" L! ?/ q/ o0 |/ _

  47. ) L& G" `! D( y; _3 M  V" g
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    $ }+ a+ R) _) c, T( H3 Z
  49. ; |  bitwise OR
    & I; s" P6 V! ?/ G2 F$ M0 K
  50. ; ^  bitwise XOR5 b# Y, k5 \. `+ g% W4 Z
  51. ; &  bitwise AND5 G- D2 ]. A; ^) A/ ]
  52. ; ~  bitwise NOT) f& e9 q0 o! E
  53. ; !  boolean NOT6 }9 j( m# K, I8 g9 Y- t% ?

  54. & {5 a, ]. z2 J2 l: y% C0 y9 _7 t! f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    + k( g! q- c* K% b* T
  56. ; They can be turned off using the values 0, Off, False or No.' [4 r; Y6 A5 r& y7 v+ b9 `* A( F
  57. % e+ {" E7 t* z, B0 R9 e0 n1 K/ p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - R+ D9 [4 f0 Y4 e" d
  59. ; sign, or by using the None keyword:8 F  b0 i( r$ g& `3 E/ ]. j3 c/ \
  60. $ X4 p  g' s  y8 y0 }! H. |+ \6 g
  61. ;  foo =         ; sets foo to an empty string& b% \% e* |# @5 [1 Q* e
  62. ;  foo = None    ; sets foo to an empty string
    ' f  Y& y! f' Y  \% Z0 v
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ' X" d4 O. D: P" g( G
  64. $ h5 s  r( w& [: z' p
  65. ; If you use constants in your value, and these constants belong to a$ O6 G- s! {8 Q! |+ s6 g7 r0 A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ Y; _( H' }; n9 k9 h. J& \% t* c) j
  67. ; you may only use these constants *after* the line that loads the extension.8 m) D5 O: f# H# Z) `
  68. 9 f% u& ^2 u( ~" m
  69. ;;;;;;;;;;;;;;;;;;;
    1 S8 H  V1 [0 x+ P% I
  70. ; About this file ;
    ! q* R0 E* S+ K4 X" t& |
  71. ;;;;;;;;;;;;;;;;;;;3 x0 |$ a1 ]  D. l& t9 y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 X  J& Q/ ?5 }* o# c" W" r% q
  73. ; in production environments and one that is recommended to be used in
    # R8 ]7 F7 i8 p
  74. ; development environments.
    9 s8 l5 `9 K+ N' j
  75. % q* ^6 `& _- P3 @
  76. ; php.ini-production contains settings which hold security, performance and! `/ @) z( e0 w: V. E8 i$ j! w
  77. ; best practices at its core. But please be aware, these settings may break
    1 Q0 X1 ~" @5 H+ u
  78. ; compatibility with older or less security conscience applications. We5 ^5 O" w* t* L# u1 z# _+ C4 ?" P
  79. ; recommending using the production ini in production and testing environments.( X" S8 m. ^: o
  80. 2 E- s+ B; Q% j0 p
  81. ; php.ini-development is very similar to its production variant, except it is
    4 B5 ]$ p( F, u9 l$ o
  82. ; much more verbose when it comes to errors. We recommend using the
    ! }" i# X7 @" C  C4 y& V! a
  83. ; development version only in development environments, as errors shown to( b; o7 x- B# e' p# ?6 b
  84. ; application users can inadvertently leak otherwise secure information., z+ V, J- @! {% c- J

  85. , B0 u1 I6 G! p3 d. z7 V
  86. ; This is php.ini-production INI file.
    2 o- g& q  k9 l& N. R' o

  87. ( e& o" R+ B" k( s# |9 ~
  88. ;;;;;;;;;;;;;;;;;;;2 I7 x* q$ s7 ]* ^& [7 v- p
  89. ; Quick Reference ;
    4 v5 p" ?; j9 w1 U+ k. C
  90. ;;;;;;;;;;;;;;;;;;;
    : B/ S& J) H6 a; |9 a
  91. ; The following are all the settings which are different in either the production
    * c+ H- r# i$ j1 m. N3 u
  92. ; or development versions of the INIs with respect to PHP's default behavior.' E. E, ~7 R* U6 `0 L  y
  93. ; Please see the actual settings later in the document for more details as to why' [3 D8 g. p; O* p4 R
  94. ; we recommend these changes in PHP's behavior.
    2 q& J9 g, k+ z  T! v$ ?
  95. 5 V: }, C' \1 F6 u( ~! c
  96. ; display_errors5 d8 t" Q$ R& R- i7 P& V$ W  [( j
  97. ;   Default Value: On* Y6 {5 k& K& ^: _* l! R+ Z
  98. ;   Development Value: On% l/ Z7 Z: E/ M" z
  99. ;   Production Value: Off' X' n* I+ a, x3 H+ T( N4 r# U
  100. - n: m1 L5 e( Y9 c! _- ~
  101. ; display_startup_errors
    0 v6 i% W* Z! r+ [" \2 W8 ]
  102. ;   Default Value: Off
    - c! W$ M! t% k$ }
  103. ;   Development Value: On
      K0 m- o/ q- g/ Q! D# }0 {
  104. ;   Production Value: Off* m  ?, b  `& n" y" w) r* H
  105. 0 G1 P- c+ x8 c4 n8 L
  106. ; error_reporting7 ]( J8 H( x* _+ Q; N* k
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 _  r  s' e4 d' j2 ?, h* e
  108. ;   Development Value: E_ALL
    8 Z/ E. l' ?1 k' l, R6 R( h" B
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" y; m1 I7 @, V/ b. M2 z
  110. 6 a3 k+ v7 {) ]$ z9 |/ i
  111. ; html_errors
    / U  m2 A0 Q3 M& R
  112. ;   Default Value: On
    . ?0 A8 ?+ r0 @, A8 p/ s  q
  113. ;   Development Value: On* ]: c  _6 t& P% e4 x
  114. ;   Production value: On, ]% d& h" r% b# x1 k

  115. 4 B4 `) J7 \( Y5 z
  116. ; log_errors. w6 k6 `- n; A
  117. ;   Default Value: Off
    - j/ H! H5 q2 s- m6 c
  118. ;   Development Value: On
    1 b+ W% n# L5 ?/ V
  119. ;   Production Value: On. K, x1 P. S* @0 s$ M1 R5 L: `

  120. 6 P. L! W7 X( \6 S+ l; V2 H
  121. ; max_input_time
    ( S# I, _% w+ P1 n  @: l; y  E
  122. ;   Default Value: -1 (Unlimited)
    3 g- o! q9 D/ a
  123. ;   Development Value: 60 (60 seconds)! P1 n2 u: L* u. [; y. `" C
  124. ;   Production Value: 60 (60 seconds)
    : d( p9 L' N9 ]; I0 h; Q/ F$ p
  125. 8 F3 T4 e6 I; Y) l
  126. ; output_buffering5 c5 g1 z  b4 y/ _, L, n
  127. ;   Default Value: Off
    ( |* I) v! d$ G, {  F) Z$ A: Z
  128. ;   Development Value: 4096. }& R5 T7 s1 ^8 q- D
  129. ;   Production Value: 4096+ P" s) L5 q8 }$ }6 }5 N* r3 {8 B

  130. & k( b$ g/ L% H* I
  131. ; register_argc_argv" C+ M6 d5 M/ q8 Z; a; z8 r
  132. ;   Default Value: On% M5 V2 k2 b5 P
  133. ;   Development Value: Off5 T( k7 p9 k  f3 }, Z
  134. ;   Production Value: Off" A/ J' |: K5 ]6 Z9 H1 y
  135. 6 z3 Q3 y/ S( A0 k5 Z) W
  136. ; request_order3 ^1 Y( U6 D" I2 s( Z% W
  137. ;   Default Value: None
    % H$ i& ~: z- j
  138. ;   Development Value: "GP"
    , }- _1 X8 _* Q( Y. s. f  o
  139. ;   Production Value: "GP"
    7 E) ~% a  O/ W5 E) o" S/ m
  140. 7 k4 M3 ]2 h2 T! W0 P5 L
  141. ; session.gc_divisor3 k0 s8 f9 Q- |* B! `- ~8 i) U
  142. ;   Default Value: 100$ u; O3 t- W. Q" w
  143. ;   Development Value: 1000, L# ~8 l6 {* ~7 Q! ~9 {
  144. ;   Production Value: 1000/ Q- X: m- j6 d

  145. 4 u1 M$ a8 y; `) H% L, k" a" ~
  146. ; session.hash_bits_per_character7 n2 z- V3 u2 d9 d- F
  147. ;   Default Value: 4
    , q. G) a& p# A
  148. ;   Development Value: 59 v. M1 ]3 C$ O+ e; D
  149. ;   Production Value: 50 U/ C% D1 I+ M9 ~6 x9 D8 o- e
  150. 1 q4 Y6 r( V+ u
  151. ; short_open_tag
    ' m2 x: U+ p1 z
  152. ;   Default Value: On
    9 ^2 m, w. J2 d% F1 e! F$ T2 S
  153. ;   Development Value: Off/ z( a, t3 D: M9 y1 F8 j3 _
  154. ;   Production Value: Off
    6 `8 [5 J9 B7 K& t; M

  155. 3 i! J" m' {3 n6 g# [
  156. ; track_errors
    5 ^1 F" g# a; V  w* W  K
  157. ;   Default Value: Off
    # x4 j: F9 y' |  s# {
  158. ;   Development Value: On; h  r9 Q7 G5 u6 [# n$ r4 Z% r
  159. ;   Production Value: Off
    9 N* Q. {9 P3 m. v; M

  160.   I$ o' s% ^2 z# q  Q6 T7 Y
  161. ; url_rewriter.tags
    ' y/ m; O1 ^; H  K7 c0 U
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - e$ `8 |( ~$ V- w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / i6 x& y6 R  w' ?5 }3 c9 y+ N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ r1 q6 {# e9 V5 c3 d" V! e

  165. 8 v( q* R" F! B5 [
  166. ; variables_order
    % r6 M  X4 V5 D, Y' B* s( V+ R, s- a/ G
  167. ;   Default Value: "EGPCS"
    : }6 c: c( H* w% y6 n
  168. ;   Development Value: "GPCS"  |  k, K+ f7 }! {
  169. ;   Production Value: "GPCS"
    3 |8 [' o' m- |' S

  170. % K7 H9 R& B" P2 F
  171. ;;;;;;;;;;;;;;;;;;;;
    5 V9 X  {# H5 I& f: {* \( Y) h  `
  172. ; php.ini Options  ;7 D: X& W$ i2 C  R& l7 w; j  a
  173. ;;;;;;;;;;;;;;;;;;;;
    , o& r/ Z8 J# x7 O2 I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ B3 I1 }; x5 s" j3 {4 G
  175. ;user_ini.filename = ".user.ini"7 N- `0 g+ _1 y0 Q; X
  176. 9 L" F  U2 _+ v, @
  177. ; To disable this feature set this option to empty value
    - Z- O# Y0 c3 k, g- o2 P: ~
  178. ;user_ini.filename =& B* o% u! v& \! |$ r6 N1 i* m

  179. ( @1 N: E5 w9 R5 ?* |6 G
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  {7 ]$ b* q3 h7 P6 ?; c3 v/ u
  181. ;user_ini.cache_ttl = 300. H7 O/ t' Q& k# A7 ?- @" }
  182. 2 ?$ _7 T: e8 z
  183. ;;;;;;;;;;;;;;;;;;;;
    7 R# x, L# N) |$ {
  184. ; Language Options ;
    9 _" Y% u/ _  y7 C8 N! _
  185. ;;;;;;;;;;;;;;;;;;;;% X+ i: r3 C9 H- }  F! s

  186. 4 X( _; O9 A- f; w1 b. Z
  187. ; Enable the PHP scripting language engine under Apache.
    ! G& j5 k5 H. u6 ]- P9 O, H
  188. ; http://php.net/engine, S5 S. P, }1 k. i/ J. g
  189. engine = On# f6 Q& @. M6 Y- J2 w) k

  190. & L; ]6 a* c% R: j
  191. ; This directive determines whether or not PHP will recognize code between0 x, o8 C, A) s; T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is! V6 b' V% }/ l9 M$ R$ e5 Z' n
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - T- W. M) r5 e
  194. ; should be disabled, as enabling it may result in issues when generating XML4 m' w0 P) n+ ^( f% C4 o( }. a
  195. ; documents, however this remains supported for backward compatibility reasons.( c$ ?6 N$ g7 [8 Q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be- I; J! i' m/ D- r
  197. ; used regardless of this directive.( b+ U# p. h3 K3 d. E# T
  198. ; Default Value: On
    5 |6 l' k6 k9 X/ n0 x6 {
  199. ; Development Value: Off
    $ N& v2 A! J! q; U$ K4 s% n5 R& n
  200. ; Production Value: Off
    . Z- R6 R; M5 L0 Y& n( ?$ h
  201. ; http://php.net/short-open-tag7 X& J- i, h& C) h2 d
  202. short_open_tag = On
    ! `6 O: d! _9 Z" \& h; u) R
  203. % m) O8 |$ z2 r5 {
  204. ; The number of significant digits displayed in floating point numbers.( P7 |' f6 H8 ?* _- V4 E- ?
  205. ; http://php.net/precision
    , u4 c. |3 G) S5 I* r
  206. precision = 14
    9 r# w& \3 j$ A+ G8 k
  207. 9 l: l* s" h1 T3 M4 f1 [: H
  208. ; Output buffering is a mechanism for controlling how much output data
    / i) i1 N3 g% m' B8 F
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that, ]$ V3 \7 m" E4 u. [; f8 P: D
  210. ; data to the client. If your application's output exceeds this setting, PHP
    & L0 \2 Q0 ~. y. n( k/ ?; h
  211. ; will send that data in chunks of roughly the size you specify.
    + k! L4 o" A: P% `# U0 s
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    0 z# k: ^8 l# G8 @3 a7 i) o1 h
  213. ; interesting side-effects depending on your application and web server." j* {, F! n! V: |4 _% V& h2 a4 o
  214. ; You may be able to send headers and cookies after you've already sent output/ N- P+ N. v' j6 ~/ m0 d. U
  215. ; through print or echo. You also may see performance benefits if your server is
    % \3 [. V5 U* s& k) {8 l6 L- e3 C. D
  216. ; emitting less packets due to buffered output versus PHP streaming the output# i! E/ \2 D& Y! y+ W$ T( M
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: i3 y! V' k5 f( A$ f5 A  g( s5 \
  218. ; reasons.! N5 o) z% l8 B2 K+ L! m
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
      g/ c. ?( T% ?4 Z& R
  220. ;   functions.
      x$ X8 U& m0 v
  221. ; Possible Values:
    0 F0 W. D: K0 q9 ]$ n
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ) x! J" o! a/ H7 C( Z" ~, g
  223. ;   Off = Disabled
    - s, S4 G6 \/ C3 Y! m$ O  g
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * K. l8 U+ e' W! G( z# J/ a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . o* R7 |" E  S8 L" t3 {* N
  226. ; Default Value: Off! ~" M* D9 H4 ~! ]6 h6 D
  227. ; Development Value: 4096
    # R0 u: L! W4 n( i9 v
  228. ; Production Value: 4096, H* H7 Z4 u$ M6 H  f
  229. ; http://php.net/output-buffering& v% b% F4 v( W1 b. S
  230. output_buffering = 4096
    6 K6 p5 g1 Q3 B- v. n3 M
  231. 4 Y( v% j: O2 H% J) S3 c* I4 R
  232. ; You can redirect all of the output of your scripts to a function.  For3 }1 h* O' v) C
  233. ; example, if you set output_handler to "mb_output_handler", character
    - |/ h& W( B# f
  234. ; encoding will be transparently converted to the specified encoding.
      {. F& n$ G( O$ J
  235. ; Setting any output handler automatically turns on output buffering.
    , C' E  z7 B7 r7 g8 H: E
  236. ; Note: People who wrote portable scripts should not depend on this ini, I0 @- R4 {# t+ ]2 S- f
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    & V+ Q* B) `; B2 z3 X2 h! o9 L8 ?
  238. ;   Using this ini directive may cause problems unless you know what script
    8 K# Y% ^1 ]/ o. [, h1 [: e$ r
  239. ;   is doing.
    , n. d( q" z/ \# p% x; X
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 r: G" X, {% g/ r! ~
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. U" C0 i) d6 \# ^4 k* O& t1 d, A
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; B* \. d+ \: m* a% l' ?* g& Q' Q/ N+ m
  243. ;   Instead you must use zlib.output_handler.
    ' ]+ d9 ?/ z( E4 @
  244. ; http://php.net/output-handler
    $ u- {1 x# P8 t' T+ G1 D# Q
  245. ;output_handler =
    / m  K" q8 U: g, D
  246. " T; i$ }7 x  f5 v9 j% h
  247. ; Transparent output compression using the zlib library2 |8 m$ D" P( p0 [
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( B7 j2 w( E8 W1 S- {6 v  e
  249. ; to be used for compression (default is 4KB)
    / p8 j+ J9 s& ?/ S/ [) K
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP; H5 D0 m, i3 c( L9 ~) U# M" T
  251. ;   outputs chunks that are few hundreds bytes each as a result of* O5 c, v3 Y9 p8 Q8 Z
  252. ;   compression. If you prefer a larger chunk size for better: S/ X2 C) v' B1 j
  253. ;   performance, enable output_buffering in addition.
    9 c* F% h7 B0 u& i. m
  254. ; Note: You need to use zlib.output_handler instead of the standard
    4 T4 @) R7 {3 h8 D6 W' H! C
  255. ;   output_handler, or otherwise the output will be corrupted.8 u+ I8 t0 w+ Y  c  P5 p
  256. ; http://php.net/zlib.output-compression3 {- L4 K& C# y
  257. zlib.output_compression = Off
    ) C2 P3 B- U6 S4 u$ E- D: v2 b& T
  258. 5 J% E  O: _% G) S6 Y2 F  O
  259. ; http://php.net/zlib.output-compression-level: E; d8 H9 ?8 M3 L7 p! b# g
  260. ;zlib.output_compression_level = -1
    6 T2 z" l0 e! G. ?2 ~7 \
  261. , i3 [5 F' C& a4 n) G1 O# t! C
  262. ; You cannot specify additional output handlers if zlib.output_compression# B: P8 {1 ^3 g0 D' C- _
  263. ; is activated here. This setting does the same as output_handler but in
    7 G. v6 X/ c- p$ `0 h! u
  264. ; a different order.
    * e& A. C' B" m( {) }& ?
  265. ; http://php.net/zlib.output-handler
    ) a4 M+ o* w1 b4 A, r
  266. ;zlib.output_handler =. [. m- y- e% O. N

  267. : l" `" ^2 K- H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself6 ~, s3 F5 o7 z8 x9 ?
  269. ; automatically after every output block.  This is equivalent to calling the  h: o' `0 d% j  L$ p/ F/ m
  270. ; PHP function flush() after each and every call to print() or echo() and each
    " |( i1 \" u! y6 O
  271. ; and every HTML block.  Turning this option on has serious performance9 Z  t2 z# }, k- R4 o
  272. ; implications and is generally recommended for debugging purposes only.# @" G2 }4 |. W& c1 y
  273. ; http://php.net/implicit-flush
    - x& u& K; K9 _1 v8 Y4 V% m% S
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 }7 z: n# w$ a3 Q( b2 P- S4 E
  275. implicit_flush = Off
    " K/ n4 [, i! G* H- V( d
  276. 9 x* e4 B1 K1 S2 {" F& K4 ]( o
  277. ; The unserialize callback function will be called (with the undefined class'
    2 P* B: W4 \6 M. A/ ?. w9 A1 g  T
  278. ; name as parameter), if the unserializer finds an undefined class
    0 f: S; L) q0 V. s
  279. ; which should be instantiated. A warning appears if the specified function is
    9 Q& T6 V* I& o# E: X" g
  280. ; not defined, or if the function doesn't include/implement the missing class.
    0 q) d6 W! J) D
  281. ; So only set this entry, if you really want to implement such a
    * n1 @; n0 E' \1 H' E* u6 K- F  ?
  282. ; callback-function.
    : J- P8 V. P  j' K5 Y
  283. unserialize_callback_func =
    . H6 d7 A9 N- Z
  284. $ M. v# E6 W5 p  h9 m) S
  285. ; When floats & doubles are serialized store serialize_precision significant
    / X- ^3 J! o7 I7 c$ c1 V' D( h; y, o
  286. ; digits after the floating point. The default value ensures that when floats. f( {9 p3 a# K7 W3 C
  287. ; are decoded with unserialize, the data will remain the same.' d0 u! w! f6 o/ x( V  V9 s
  288. serialize_precision = 17
    & H( V' a3 R1 |1 E8 W
  289. 4 y: o# x1 f& c( o- f" F: q1 O
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 C5 f4 {  b/ I, W
  291. ; and below.  This directive makes most sense if used in a per-directory
    / Y0 M9 v; L5 w1 B- y, d
  292. ; or per-virtualhost web server configuration file.; r  @7 X8 O: B7 Q0 O1 q
  293. ; http://php.net/open-basedir* A3 H. d$ t* }/ o' E$ I
  294. ;open_basedir =
    0 y' x5 g* d7 d' R

  295. 6 r/ A/ a2 V: c1 F; s# ?) M
  296. ; This directive allows you to disable certain functions for security reasons.  b+ s. v4 ^: \
  297. ; It receives a comma-delimited list of function names.% F4 j0 k; n$ a" q
  298. ; http://php.net/disable-functions0 F# O' W: i+ ^) ?& O
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    + F) b) p! d0 R7 x& J
  300. % B1 G! h' l9 }: p( J
  301. ; This directive allows you to disable certain classes for security reasons.
    0 i: M/ a( l. q
  302. ; It receives a comma-delimited list of class names.
    0 w/ l* ^) f8 q6 r/ _' _
  303. ; http://php.net/disable-classes
    - h+ a1 z. Z7 v" X0 ^6 T
  304. disable_classes =
      J2 V, S3 M& C8 t! F; X& u
  305. 6 ?' S2 ^* Y2 w& R- m
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in2 a1 Z' Y2 y: k4 y5 I3 O/ W" f( s
  307. ; <span style="color: ???????"> would work.
    . G# B% n; c  L; _- J9 B  B' ?% |
  308. ; http://php.net/syntax-highlighting) i, r% @4 w- v. |$ n# |* R
  309. ;highlight.string  = #DD0000) m) g$ w# U( q8 u
  310. ;highlight.comment = #FF9900
    * F- o( p' W( W/ e7 b
  311. ;highlight.keyword = #007700
    , \" ^6 F4 i- a- p
  312. ;highlight.default = #0000BB
    ) q( j+ `6 S: Y# U% a. g3 f# m3 Y2 Y
  313. ;highlight.html    = #000000
    ( O$ h; n: O- G. v% m) q3 I- Y
  314. 5 c8 m* B+ U' X/ a
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    - Y% s' n# o) p% `
  316. ; the request. Consider enabling it if executing long requests, which may end up
    2 }8 D/ `! H6 p! S" E0 l
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    * c: r7 s* [: C% s0 ]
  318. ; is to disable this feature.
    1 T8 N* ]# k! j. M1 P( w
  319. ; http://php.net/ignore-user-abort
    3 {. K+ O, D3 R% o: I
  320. ;ignore_user_abort = On
    & f9 O* p' `( _  q
  321. : ]) Q( A1 ?( `/ Q. n* e: w
  322. ; Determines the size of the realpath cache to be used by PHP. This value should% f* a0 h$ E0 L+ T- {  m; ]1 C
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . Q2 q! d1 O4 {5 j7 E
  324. ; the file operations performed.$ ^3 V4 f7 ^, y8 \
  325. ; http://php.net/realpath-cache-size1 i1 A, E7 l* M! p$ R  d% a. S
  326. ;realpath_cache_size = 4096k1 v' ]6 m( h0 e! B5 r
  327. & x# l7 Q$ N* ]( c" N9 L
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , j5 Y. U; X. ~9 G' `
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    4 O0 v  }/ i( W( X4 U1 j
  330. ; value.
    + [8 q% O: l. W! F
  331. ; http://php.net/realpath-cache-ttl
    $ s" s0 w0 }, P/ d. q4 n
  332. ;realpath_cache_ttl = 120* O+ H- `1 e7 ~8 a

  333. * j" L# n) y$ O
  334. ; Enables or disables the circular reference collector.
    / X$ e/ A5 f8 n' i( [6 P8 V
  335. ; http://php.net/zend.enable-gc8 T- ]; A+ ~8 z" q* a, G
  336. zend.enable_gc = On, o$ k9 P: B# J& ?+ E3 r! m
  337. : b! m3 k6 `6 |6 [" G# V% g
  338. ; If enabled, scripts may be written in encodings that are incompatible with! i7 u$ d- k. P4 B% C. _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such8 e. @. o$ N* S, ]
  340. ; encodings.  To use this feature, mbstring extension must be enabled.% D0 m. F; N3 ?' ]+ V1 Z
  341. ; Default: Off/ d% x! ?, L8 L% e
  342. ;zend.multibyte = Off
    - ~9 z4 u; r. B3 l# t" z+ B

  343. * {% _. b  _% {9 Q  A: g1 ]
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    7 g+ E3 e$ U8 S' D9 ^1 D
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 _3 @( U5 ]( _
  346. ; Only affects if zend.multibyte is set.. O' L7 s8 g/ W+ w/ B! r+ u' _' X
  347. ; Default: ""
    . [) e2 L3 `& ]6 c: K( h* J
  348. ;zend.script_encoding =
    - P; E! {+ {# W, I: [; a) z
  349. 2 @0 r( _2 F8 V
  350. ;;;;;;;;;;;;;;;;;
    : G- ]* O$ B7 ]& x) D; p
  351. ; Miscellaneous ;1 {/ \/ M  ~: V3 u6 V- s
  352. ;;;;;;;;;;;;;;;;;
    ' m& Y0 p7 P1 j  x$ V- q
  353. / U& u( z, R! v5 b
  354. ; Decides whether PHP may expose the fact that it is installed on the server* M4 r2 q/ u# k% l2 E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 M7 v* r/ I1 E) y) L$ _
  356. ; threat in any way, but it makes it possible to determine whether you use PHP. Q! w6 Q9 K6 O* Z5 Q
  357. ; on your server or not.
    ' n# j. j$ l6 \. R
  358. ; http://php.net/expose-php
    , a( T$ u3 c/ O9 N# W/ V
  359. expose_php = On9 S1 X0 G) s: U& W" V. O8 B7 I
  360. , L; y) P, Y" o+ k
  361. ;;;;;;;;;;;;;;;;;;;: {! W- T1 Z9 z; C9 c% G- i
  362. ; Resource Limits ;0 Z5 G; T) H% J
  363. ;;;;;;;;;;;;;;;;;;;
    # x0 S3 n& o; D* v  `& ?

  364. - c% V2 h' d/ a0 c! S
  365. ; Maximum execution time of each script, in seconds2 l. f# d3 n0 r" x5 G- G
  366. ; http://php.net/max-execution-time$ Q  o) `/ ?% s- v; X# K3 O8 t2 G7 l
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    " o7 D" Y" y/ o5 x( ^6 e. j' Q0 ~
  368. max_execution_time = 300  x" s" J$ V- m% q& Q8 o

  369. 5 G  i& Y$ P+ C% Y, A) @/ P
  370. ; Maximum amount of time each script may spend parsing request data. It's a good& B* Y) _, {: H" k' ^7 ?  F& Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly& @; d0 m3 i- i/ `/ s8 L
  372. ; long running scripts.* H9 e0 p9 s! Z( H3 k, ?. m
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * I* N" r5 z1 [8 t1 K( G, v
  374. ; Default Value: -1 (Unlimited)
    " w% i* y( D4 s& J& |* M
  375. ; Development Value: 60 (60 seconds)
    & h( O0 Y# L  S9 r; V$ x
  376. ; Production Value: 60 (60 seconds)
    + _# W+ q. T3 t: B! [5 A! ~2 X
  377. ; http://php.net/max-input-time
    1 D( V( d! M3 u# X0 N
  378. max_input_time = 60
    + [. I7 L4 ~# ]6 N* c5 @- B& t

  379. & s) C4 w. w9 v/ M4 v" T! W' D
  380. ; Maximum input variable nesting level  [$ I6 y* ~3 U
  381. ; http://php.net/max-input-nesting-level& T/ t" k, H* i  p$ x+ Z5 S2 v* _, y
  382. ;max_input_nesting_level = 64
    6 |& i8 y- y/ P2 ^2 K- S

  383. % y" P5 A5 H5 y% M9 i0 d
  384. ; How many GET/POST/COOKIE input variables may be accepted" q# ~8 W) W1 O2 t6 U) Q: v+ f
  385. ; max_input_vars = 1000
    ) M: f9 V0 B. q- n5 @( T; @" ?: m$ q
  386. 9 N9 \2 H; r) E, @) W! G2 {
  387. ; Maximum amount of memory a script may consume (128MB)
    ' v1 p3 c9 n" z; b
  388. ; http://php.net/memory-limit+ u) U7 V" |; x& {7 w, j
  389. memory_limit = 128M$ S* @. g. {) S, `: W
  390. ' o9 U  M" v$ y1 V2 q, S1 S
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( s1 N# _, A0 J! f# P0 Z' C
  392. ; Error handling and logging ;
    ! k+ t& i, Y5 L$ g3 |
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 x' ^' E% \" l0 T0 n7 r( f4 \$ q
  394. ( ]1 c6 x; e7 }1 ?( A! V1 X2 ]
  395. ; This directive informs PHP of which errors, warnings and notices you would like5 M+ ?; Q; i. K; ]% X/ T
  396. ; it to take action for. The recommended way of setting values for this3 x! {8 c& g9 [- Q
  397. ; directive is through the use of the error level constants and bitwise, c$ H/ Z' A9 `; I! H
  398. ; operators. The error level constants are below here for convenience as well as
    % w$ N1 F1 v6 h: c0 J3 E6 s
  399. ; some common settings and their meanings.
    1 C2 j3 b2 r1 p% }) T4 N
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 {6 x2 t9 I: `. k4 L7 k4 S
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    , w) S* x4 K- k2 a& k
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    3 [. S; p7 I1 B8 p% t/ V
  403. ; recommend error reporting setting. Your production server shouldn't be wasting8 N8 [8 S8 Q9 d) w) s
  404. ; resources complaining about best practices and coding standards. That's what) {; ^* Y: F' ~
  405. ; development servers and development settings are for.& G4 f/ X8 T4 a9 n
  406. ; Note: The php.ini-development file has this setting as E_ALL. This$ w+ ^6 p8 f* b. {
  407. ; means it pretty much reports everything which is exactly what you want during
    2 F5 o$ j. Q9 `: c
  408. ; development and early testing.! W  [+ U9 e" I7 C7 ]$ N
  409. ;
    % q& O( K5 W' b- V
  410. ; Error Level Constants:
    6 B* X1 M& p1 ^: E2 C0 G
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    " h! T% E: M& c! @1 A
  412. ; E_ERROR           - fatal run-time errors- Y4 M4 Y/ E; E
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 {+ n+ F6 F, V+ M
  414. ; E_WARNING         - run-time warnings (non-fatal errors)# v+ K7 f4 w# l2 t$ y1 }
  415. ; E_PARSE           - compile-time parse errors
    0 W5 e, x( Q* D, P! u  {8 \. r
  416. ; E_NOTICE          - run-time notices (these are warnings which often result* O- J# G2 G8 u$ K, s+ \
  417. ;                     from a bug in your code, but it's possible that it was
    & H. T3 F; ]" @# r% s6 F/ ]
  418. ;                     intentional (e.g., using an uninitialized variable and9 C5 Z# f2 @2 n6 g4 ~1 s: x9 h
  419. ;                     relying on the fact it is automatically initialized to an
    # ?3 H, y( Y- f: Q- F  @2 |: d6 x
  420. ;                     empty string)3 u" {% A  d: ~
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) \, C/ [3 {( A- [
  422. ;                     to your code which will ensure the best interoperability
    + ?+ h7 F; {4 F- c- j3 x, R
  423. ;                     and forward compatibility of your code
    & P7 b) h  A5 X4 Q9 q6 J
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup8 M1 J; ]/ L# |
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    7 D7 B5 a5 K0 N6 _" ]* z( m
  426. ;                     initial startup' C# p. u& r# z2 I4 u  v0 O- b8 K
  427. ; E_COMPILE_ERROR   - fatal compile-time errors, y# ?+ a# ~# {
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). u2 o! y1 U* Z* t. Q3 T  C2 A
  429. ; E_USER_ERROR      - user-generated error message
    ; _3 r4 O% e* Q
  430. ; E_USER_WARNING    - user-generated warning message
    ' N9 s5 ]) ]1 v. v) b, C! _" Y
  431. ; E_USER_NOTICE     - user-generated notice message4 R* {% p+ Z& R0 P$ C
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 {. c! R$ A+ G: _, [$ w
  433. ;                     of PHP; Q6 W0 W, G' X$ ]" e( l
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings5 A1 X8 F2 M; s( N$ g
  435. ;
    / J1 }9 h9 A7 u' F3 V' @
  436. ; Common Values:# ^) q+ @9 x, S& N9 M! t" }
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * r3 r  A% q, o
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)2 |9 E, N: _2 N1 x, @
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.). O8 M, ?) Y, k2 V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      c$ k% ]8 Q  L" \$ r+ W7 \
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& O' r; q! h+ Z
  442. ; Development Value: E_ALL8 @+ N: x+ |' H& `: E
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 N$ D$ O+ E! {* i! U: b
  444. ; http://php.net/error-reporting
    0 A0 o! O! u( n
  445. error_reporting = E_ALL & ~E_NOTICE, a" A5 }4 F4 P" D6 q* X

  446. ) H/ P! i- l  S: ^! A) t8 n
  447. ; This directive controls whether or not and where PHP will output errors,5 O, ~1 S" q7 |0 `, ~
  448. ; notices and warnings too. Error output is very useful during development, but
    ' R& ]/ T$ U+ L. @6 d+ X; `) y
  449. ; it could be very dangerous in production environments. Depending on the code
    # F1 Q$ k0 ]1 A/ @6 S4 X
  450. ; which is triggering the error, sensitive information could potentially leak
    + D4 v6 |2 q1 F; h3 \/ S$ U. _
  451. ; out of your application such as database usernames and passwords or worse.6 k- j4 S$ g6 E5 w5 K2 ^% \7 B
  452. ; For production environments, we recommend logging errors rather than3 q8 R6 D% N6 k1 l: {
  453. ; sending them to STDOUT.
    + c9 D  P% r  n/ s
  454. ; Possible Values:- M3 W3 _7 w& a% ?
  455. ;   Off = Do not display any errors* w8 W' B& @5 J. N
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 H: d9 V" _2 C. a0 ~  u
  457. ;   On or stdout = Display errors to STDOUT2 l" j" `9 ~: b9 a6 K) i! w
  458. ; Default Value: On
    0 n, e( s7 B. s$ i8 j8 n) D9 v
  459. ; Development Value: On
    : {& C' q; N! g2 V
  460. ; Production Value: Off
    ! \( [9 p. g1 Z8 W
  461. ; http://php.net/display-errors/ B& X& I0 b6 Q8 J
  462. display_errors = On
    ! ^, m# d' L! A& S; Y- [% V
  463. ( N! j# F- E7 U; s
  464. ; The display of errors which occur during PHP's startup sequence are handled3 o( Q) H2 a( |, I& R
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    + B0 B5 K5 F$ L" f: L
  466. ; errors from clients. Turning the display of startup errors on can be useful in3 p. ]2 z9 t/ U0 w# O* Q
  467. ; debugging configuration problems. We strongly recommend you% D8 u3 E4 m4 S# p9 W
  468. ; set this to 'off' for production servers.9 x  ^+ S; R: s  s1 q/ S3 Z- E$ a4 C
  469. ; Default Value: Off
    : L# \+ W  e7 I- K" k3 s3 _
  470. ; Development Value: On- s3 d% z* Z: ]( l* D" s
  471. ; Production Value: Off
    7 X& H# c, j& W- H
  472. ; http://php.net/display-startup-errors
    * @2 m4 m. e( v$ x4 Q; w8 q) K
  473. display_startup_errors = Off
      W) Q0 C% V9 X' u; M4 Q

  474. 6 ~$ z; b1 ^: z5 I+ G$ _4 A
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 y( t9 s7 C" k8 n
  476. ; server-specific log, STDERR, or a location specified by the error_log7 P9 u7 C2 l* A3 `2 J3 ?  G$ l
  477. ; directive found below. While errors should not be displayed on productions" W; v3 S( J0 |4 A* U' [! p& G
  478. ; servers they should still be monitored and logging is a great way to do that.
    ; S) `+ v0 _" X/ X% S+ `4 c
  479. ; Default Value: Off
    ) d) {* e+ e" J) o4 [5 g" q
  480. ; Development Value: On
    ) n8 U* M% q' `
  481. ; Production Value: On) ?* }9 M% |1 F8 c( l. e+ z
  482. ; http://php.net/log-errors* j$ l0 D  w( V- V7 L! |& G0 h
  483. log_errors = On
    # G$ n$ V9 l. [6 T, X2 f6 s
  484. / n3 `6 x: ?* x1 G
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ; T7 H& H4 f; ^
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    $ j8 z+ V( ^  g
  487. ; http://php.net/log-errors-max-len, A% f3 M1 W* {0 T, ?
  488. log_errors_max_len = 1024. j0 B) X  L& H* ]- X; L

  489. 0 _8 H- ]& O1 p+ R0 G" Q9 o
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . Y) d' @  {7 q  _" M6 V# c. Z
  491. ; line unless ignore_repeated_source is set true.' `$ ?( G/ G$ r; D
  492. ; http://php.net/ignore-repeated-errors
      u+ I5 g7 q& o9 y; X, v' k
  493. ignore_repeated_errors = Off3 k6 K/ F+ M! _3 Z2 k' I: O

  494. 3 @# K3 I5 S9 R+ b# f* K
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    % `! D$ S  Z4 n8 o& q: \
  496. ; is On you will not log errors with repeated messages from different files or
    ( u1 g8 `2 _4 |
  497. ; source lines.# r' Y* {7 X5 D- I  v
  498. ; http://php.net/ignore-repeated-source
    & z! R1 N. `+ y
  499. ignore_repeated_source = Off
    8 o" m: J0 D0 W" C2 M8 b

  500. 1 {7 i+ v; g; F+ a5 B7 q  \7 Y8 F
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on& k% X7 b: Q4 _  Q
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ; d8 W4 `- S! y/ m/ B
  503. ; error reporting includes E_WARNING in the allowed list
    6 b7 M  k' ]5 f) _- S. y- S
  504. ; http://php.net/report-memleaks
    * I1 N, \: d" h* b- U# u% ^6 w: O
  505. report_memleaks = On+ n: c# P+ s: G% l0 f2 m9 B; z

  506. ' S/ T6 f) \9 v/ F& N3 }2 Y$ }
  507. ; This setting is on by default.
    1 |( i, v( u$ T' W& i' _; K
  508. ;report_zend_debug = 0( E. B# D* t5 p, _" A2 d! l, y, F' M2 F
  509. & q% U/ c" u' j6 I4 T
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      o9 j* S; J3 @$ \2 Y* j
  511. ; to On can assist in debugging and is appropriate for development servers. It should3 e) N4 P& u. \/ ~, u9 j
  512. ; however be disabled on production servers.
    & A. N0 C2 i% Y& K2 W
  513. ; Default Value: Off
    ( n* J2 C% d& L7 R+ [) Q+ Z& O
  514. ; Development Value: On6 p2 u' e- _: s
  515. ; Production Value: Off
    # i& h+ S* g, o) V+ f
  516. ; http://php.net/track-errors5 r$ x' F' s5 n5 x: C& X
  517. track_errors = Off
    7 b7 o/ j8 o; E7 F' \# j

  518. 9 C4 I; _9 l; a8 ?" E
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ; D) I8 t( H& t) A0 V" b4 O* q
  520. ; http://php.net/xmlrpc-errors0 V! @/ \8 f8 G! n
  521. ;xmlrpc_errors = 0, e- H: R9 v" L) L" ]5 N8 h7 Z) j

  522. ( J0 |" t' E9 f5 ~
  523. ; An XML-RPC faultCode& v% [6 A3 Z. R% ^- y0 O
  524. ;xmlrpc_error_number = 0! T' y0 V- f( z$ {2 \1 S3 d
  525. , Y. s3 O7 ~! n" {0 C1 D4 v4 K
  526. ; When PHP displays or logs an error, it has the capability of formatting the9 o0 E3 I# n) k7 }8 ]% j
  527. ; error message as HTML for easier reading. This directive controls whether
    ' j3 R! ^' O6 F7 R+ s
  528. ; the error message is formatted as HTML or not.
    % O9 j& B% _# {! Q/ a6 g( y5 M( n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI- e" E8 S3 G7 ^" z9 B
  530. ; Default Value: On
    1 E* A- j! |) m' p4 w
  531. ; Development Value: On7 l) b) U/ o; m# V! K0 R% Q: f; }
  532. ; Production value: On
    9 H7 x+ J1 o! d
  533. ; http://php.net/html-errors* k! a% F' k* q$ K" n
  534. html_errors = On
    ; H% A0 v. T- X- T9 m7 W* }0 w1 K
  535. & a" L" r. L; p+ s/ y/ R5 g) r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) F: p7 a& F9 n2 _
  537. ; produces clickable error messages that direct to a page describing the error
    % b" S2 s( E2 t5 h5 A
  538. ; or function causing the error in detail.% N& S* ^( D9 E9 O. _% a; r  g) N
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 Z) F/ ^/ K! b% d5 A
  540. ; and change docref_root to the base URL of your local copy including the/ L, N) |8 {8 J! ~# O4 h4 I' y$ A' X
  541. ; leading '/'. You must also specify the file extension being used including
    $ Y  ]( {2 D% S
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which1 V% ^, s# c& |5 N! K/ n
  543. ; case no links to documentation are generated.* U5 A! c5 Q- y. d- t, M! x! q
  544. ; Note: Never use this feature for production boxes.) _; O- H; F# g0 N0 ~" c
  545. ; http://php.net/docref-root
    * Q; G/ t. b! W5 r$ I* w
  546. ; Examples
    & v& `# Y1 V. ?7 \1 R& {  e' m: p
  547. ;docref_root = "/phpmanual/"0 q$ d: P/ c; I/ I1 I+ R
  548. " Z) d* ]- w( j/ f
  549. ; http://php.net/docref-ext
    7 o% x. o4 p* \
  550. ;docref_ext = .html7 l. h! p4 c/ I+ _2 A- C+ `

  551. $ \- r6 ]2 T* U- \. k" ^
  552. ; String to output before an error message. PHP's default behavior is to leave
    ! o9 [/ s+ x& u. W8 C
  553. ; this setting blank.
    . K6 U) g- }" {' {1 `; W$ ?7 u
  554. ; http://php.net/error-prepend-string- I1 g- V; ^6 u7 u
  555. ; Example:# ^* V( R5 H6 l0 k* [1 j
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ \5 q4 ]7 _" a) d
  557. 1 `3 @& w; k4 o  C. [
  558. ; String to output after an error message. PHP's default behavior is to leave
    + t0 V! D( \7 ?/ N
  559. ; this setting blank.
    0 Y  S2 z) ~0 X& ~
  560. ; http://php.net/error-append-string, E- G4 @. g9 C$ Y4 d0 S
  561. ; Example:
    . A# P4 E, y7 E! L2 R
  562. ;error_append_string = "</span>"
    2 s! K" M+ ^% q! @& G! Z/ ?* z& G

  563. 6 ]5 g* H) b) T
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    : V& c* I3 N; q9 H1 S* z, w9 l
  565. ; empty.: P! P- H6 g+ u  I- P
  566. ; http://php.net/error-log0 q2 A5 ?9 v" l: [/ X3 X
  567. ; Example:
    # R2 p9 ]1 I8 E0 @4 d3 w
  568. ;error_log = php_errors.log
    + K8 a& X: }( @' h) L5 f
  569. ; Log errors to syslog (Event Log on Windows).; M4 R- s* b% W3 t5 U
  570. ;error_log = syslog
    . n) r1 W3 z2 H  _8 Z: t8 Y5 {" h

  571. 0 ~& X, |1 |" B5 ^
  572. ;windows.show_crt_warning3 z5 N& g+ J. ]& n6 _4 ]0 c1 _
  573. ; Default value: 09 h7 |, a( I0 o$ U* _8 a: o
  574. ; Development value: 0: }$ e& J8 \8 K" l9 J
  575. ; Production value: 0$ Y4 W# n9 o: Q# b
  576. ' x( \: X2 \" l. D7 o, ^. L
  577. ;;;;;;;;;;;;;;;;;! i" X+ H4 c) e+ @1 a' Q+ _* I
  578. ; Data Handling ;
    " v4 g' W0 t7 ?: z) b
  579. ;;;;;;;;;;;;;;;;;. ?: {3 K2 J4 l, |, f8 A6 P

  580. 1 C# ^" J) @9 P* L$ L0 ~
  581. ; The separator used in PHP generated URLs to separate arguments.
    , d6 q& G$ X9 q: F4 G
  582. ; PHP's default setting is "&".; F3 L' P* I( _4 Z3 x% v% `
  583. ; http://php.net/arg-separator.output
    , ]3 ?  f0 A' j6 A6 s+ O
  584. ; Example:
    7 c1 k" s/ a9 m6 b+ {! _
  585. ;arg_separator.output = "&"' ]# T  ]- S0 s) B

  586. 0 X9 F" l2 Y3 }* M* V* K2 y4 F: L
  587. ; List of separator(s) used by PHP to parse input URLs into variables.7 ^0 ?6 Y; l  o, X
  588. ; PHP's default setting is "&".
    3 E) x% H6 A, }! O
  589. ; NOTE: Every character in this directive is considered as separator!
    $ D; g% Z4 e, V8 \% |# J
  590. ; http://php.net/arg-separator.input' P! D* }% {/ I) Y  U
  591. ; Example:
    * C* a2 U1 T/ G
  592. ;arg_separator.input = ";&"1 g6 K  D! \. |9 N" F

  593. & k" N: o' D1 c4 u5 }4 m. o% Y
  594. ; This directive determines which super global arrays are registered when PHP# n% k8 S8 d! o$ z# d
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 u/ q: u1 J5 _! k3 v% R8 C! ]+ b
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty+ F# K3 Z) P: H7 e2 M7 L0 f7 m* I% }
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    # I1 V# r3 u6 f  P# g# y: M
  598. ; used as the others, ENV is not recommended on productions servers. You/ }2 L; `, h' p# j& o& f! Q! k5 ~
  599. ; can still get access to the environment variables through getenv() should you5 \- k5 G# ~' D
  600. ; need to.: ]# u7 j6 \; W, \
  601. ; Default Value: "EGPCS"5 P3 o; y8 b4 B& N8 E( h2 x
  602. ; Development Value: "GPCS"
    2 Q" l* L# \" f% w: h9 e- y' _
  603. ; Production Value: "GPCS";! c, S; E4 M- X  d9 i: O# `
  604. ; http://php.net/variables-order
    ! |3 F1 R8 }; j
  605. variables_order = "GPCS"
    ! B3 J$ q3 U* c5 y* a, ~8 _
  606. ) A/ o9 B0 L6 L+ L/ s1 ~
  607. ; This directive determines which super global data (G,P & C) should be
    ' b4 D7 |% l; \$ h# B6 R4 o* ~, T
  608. ; registered into the super global array REQUEST. If so, it also determines5 g, V+ P5 I& J5 N" _" w- {) R
  609. ; the order in which that data is registered. The values for this directive
    3 G0 |$ b% E5 V: q$ L
  610. ; are specified in the same manner as the variables_order directive,- ^4 z9 y7 v( f- k% O" `
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, D, Q0 Y  t4 @
  612. ; in the variables_order directive. It does not mean it will leave the super; p- ~7 q+ t' E; g, m, N
  613. ; globals array REQUEST empty.) D* N# g& x, _) D4 K
  614. ; Default Value: None8 o" H9 w' U6 v, R
  615. ; Development Value: "GP"% o0 K( d/ f( j1 A" p7 Y
  616. ; Production Value: "GP"
    " t+ ]) a2 V2 a0 p2 x, K  y
  617. ; http://php.net/request-order
    ) ]. y9 r( E# a3 X- G7 G7 l
  618. request_order = "GP"
    6 I( H2 I# G  z8 U  B$ G9 }
  619. * a0 w( f# h5 u6 J
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * I9 Y2 v3 T2 Y: Z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / |1 N7 F  `3 J+ N
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ( K% i- {9 w9 \
  623. ; that were passed when the script was invoked. These arrays are extremely3 w7 \- c" e  Y+ p) e; ]: i
  624. ; useful when running scripts from the command line. When this directive is
    5 a. o5 M8 e5 E: b( v- K
  625. ; enabled, registering these variables consumes CPU cycles and memory each time( l: [+ j/ V3 h5 `3 y- U/ Z- G. w4 [
  626. ; a script is executed. For performance reasons, this feature should be disabled1 o  G0 y. @/ o  L8 X! O8 v
  627. ; on production servers.
    , |  Q0 P& s/ m9 q+ ^
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 o) t/ V8 S' U% I' C- o8 z
  629. ; Default Value: On
    % y! B4 J9 c% y/ @4 b9 f7 y
  630. ; Development Value: Off
    6 Q0 j- n% o8 D) g
  631. ; Production Value: Off# ?0 }% I2 O* J
  632. ; http://php.net/register-argc-argv
    $ P& k- f! T# d& `4 F6 H
  633. register_argc_argv = Off$ ^1 S" s3 E5 o& Y; j0 j2 J. Q4 t' l
  634. " `+ d. k( t+ i- m  A
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* v0 p* _- n" f! @2 @
  636. ; first used (Just In Time) instead of when the script starts. If these& v* _" g/ S# E4 ~: ]8 U
  637. ; variables are not used within a script, having this directive on will result$ n/ a, J; s& S$ v: F; g3 F/ d0 }& y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / p3 Q$ G1 ?2 h0 A3 @3 {9 ~
  639. ; for this directive to have any affect.
    " q9 h& @, l- I
  640. ; http://php.net/auto-globals-jit
    * A8 {$ m& T' {8 }/ m& y5 a6 Q
  641. auto_globals_jit = On
    ! n( ?& Y( R  H+ V( I
  642. - n- i/ H+ q3 Z- M& V+ B
  643. ; Whether PHP will read the POST data.
    % f' W( m& N; z& _: o, [
  644. ; This option is enabled by default.
    7 e/ K1 u0 }6 ^: D' s
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ' G2 r! p( M/ i/ ~, B, W4 B  W
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    % B- y+ w$ p! s# y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    1 {7 i/ }# z2 y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 N8 V- t( N) R" w4 z% c
  649. ; http://php.net/enable-post-data-reading
    5 P6 D$ k" M7 u  R) p
  650. ;enable_post_data_reading = Off/ S2 n" N) Z# u* V/ c; @1 h
  651. ; C: _3 c4 W# e  G, [% r+ W! n
  652. ; Maximum size of POST data that PHP will accept.. ?* v/ ]: ~* O# `  l8 W
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & w6 w1 {1 m% Z% T4 u8 r/ l/ @0 z
  654. ; is disabled through enable_post_data_reading.) Z; \. U* t1 A6 [
  655. ; http://php.net/post-max-size
    + E7 f5 w& ~* d
  656. post_max_size = 50M
    ) q2 L: y& ]# Q; j5 e

  657. 4 U' w7 L$ P) C- c% V
  658. ; Automatically add files before PHP document.  e9 `1 A" o! i' M, Q
  659. ; http://php.net/auto-prepend-file
    ' O/ w% D2 \; A$ M+ i- |" y2 b% r
  660. auto_prepend_file =
    . F/ f, U3 i( X! b" O& B# F
  661. # y; J6 D4 C$ v7 J/ g3 L
  662. ; Automatically add files after PHP document.
    , J# R, n. \) ^% \8 j9 k
  663. ; http://php.net/auto-append-file
    # {' C& h/ B9 S* I: A9 n7 ]' i
  664. auto_append_file =
    , Y  ?# E3 j. m: B7 c$ R2 X& }$ ?

  665. 9 o8 n; k" Y4 Z/ g
  666. ; By default, PHP will output a media type using the Content-Type header. To* c" u0 O+ U  h
  667. ; disable this, simply set it to be empty.2 z2 O: T$ e& `, y( ?( ~% U
  668. ;/ u5 i. r' ?2 M* [
  669. ; PHP's built-in default media type is set to text/html.3 C+ H. {+ Y. H9 U8 M
  670. ; http://php.net/default-mimetype) }" f9 [7 \: r  z
  671. default_mimetype = "text/html"  r) |1 N) b& d' Q# P- Q9 d0 q

  672. 1 j4 F: j& [+ q( i; g
  673. ; PHP's default character set is set to UTF-8.
    * A2 r  l" v1 h- T% b6 F8 ]
  674. ; http://php.net/default-charset: f) `: E  K0 t; \
  675. default_charset = "UTF-8"8 t" d/ |$ a! o9 w

  676. " _' V  x" `& s# e. O2 A  K' K
  677. ; PHP internal character encoding is set to empty.2 Q5 P1 A8 ?5 s. I, F1 L# X
  678. ; If empty, default_charset is used.% d8 Z* N2 B& H1 P
  679. ; http://php.net/internal-encoding
    . g% y2 a& e" ^7 S/ m
  680. ;internal_encoding =
    / R/ `" v) A/ Y9 q9 @) @
  681. 3 j8 A) c$ Q# F
  682. ; PHP input character encoding is set to empty.* s' L0 d5 r0 s/ q$ f
  683. ; If empty, default_charset is used.2 l, d. O& ]5 E+ `5 X1 _
  684. ; http://php.net/input-encoding
      B0 U9 V9 l3 u/ T
  685. ;input_encoding =, F7 {6 _: ~% f7 w$ [+ b5 L; \

  686. $ E& e. Y$ j/ P
  687. ; PHP output character encoding is set to empty.- `& z- `! u4 w$ n5 l
  688. ; If empty, default_charset is used.
    ( H" @6 d& U2 `7 v& u
  689. ; See also output_buffer.. M0 e0 c" A/ f8 ]* J7 _+ b
  690. ; http://php.net/output-encoding
    9 E9 S: _1 c9 o* i$ H
  691. ;output_encoding =1 @% q0 R( W1 |' q3 b: U

  692. : ^; y* r$ z7 \. L& }' |9 [2 ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 i& N. I# u2 U4 E. g8 Q
  694. ; Paths and Directories ;
    $ Q) T; u! x, x1 B! w) V. U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 D8 n2 Z( Y' N" F/ E2 Q

  696. ' x- U8 K. p3 T$ h' m
  697. ; UNIX: "/path1:/path2"
    ' ?% b8 v0 Q; f2 @' o
  698. ;include_path = ".:/php/includes"* ~) I8 E8 R( f# X
  699. ;$ S" P( x6 m$ G7 n
  700. ; Windows: "\path1;\path2". O" [  o2 O9 x/ z3 ?! [0 ^
  701. ;include_path = ".;c:\php\includes"
    5 W# r+ y; w9 @& B8 r0 N  x2 t  U( g  {
  702. ;0 V$ N1 q/ V$ K. P2 M9 k7 f8 d
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    8 q  H# F7 o# f) S
  704. ; http://php.net/include-path+ \, f. D6 p/ {* G
  705. % Y9 O+ _" y, g5 h- U  ~7 p
  706. ; The root of the PHP pages, used only if nonempty.
    " C1 J" a) h' j+ S' p
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root2 y* G7 T3 C6 q, K! K
  708. ; if you are running php as a CGI under any web server (other than IIS)- S& U% v3 K) p# i/ Q0 w
  709. ; see documentation for security issues.  The alternate is to use the
    # K3 R0 R, Q1 B: q8 w' Z' x9 m: m
  710. ; cgi.force_redirect configuration below
      Y' D% q$ D, g3 u6 t
  711. ; http://php.net/doc-root
    % X* p0 m# Z" Y) h4 |+ X3 U0 ?) ?0 y
  712. doc_root =" v& L6 f1 H$ D7 o- u
  713. # |  H4 |2 q. }0 V* w  y3 r* a
  714. ; The directory under which PHP opens the script using /~username used only
    3 D* p  x8 D* m" F5 c( P
  715. ; if nonempty.
    / l9 X5 ~$ V  ]
  716. ; http://php.net/user-dir
    , H6 n5 b2 z( r% y6 y6 m' R/ x, Q
  717. user_dir =
    ! u+ ]1 a! m' a0 ]. [0 }
  718. : R5 o! s/ u' U4 Y( T
  719. ; Directory in which the loadable extensions (modules) reside.
    # T3 _$ c1 B+ r) `9 ~4 O
  720. ; http://php.net/extension-dir* f) [5 G, G  p* J- T
  721. ; extension_dir = "./". X3 Q2 T0 p- Q( i+ t, h
  722. ; On windows:1 g, j. W( r9 l8 r0 h
  723. ; extension_dir = "ext"! K8 l9 y2 W$ B& a+ M
  724. ' D6 A; z8 E1 Z" V$ S# _, u, D) K, j4 K
  725. ; Directory where the temporary files should be placed.9 M2 K: W4 u8 P
  726. ; Defaults to the system default (see sys_get_temp_dir)  c$ b( c) k6 O8 ?' N/ a9 q6 ~- b3 j
  727. ; sys_temp_dir = "/tmp"2 M  {" [3 T1 C; B

  728. 2 h% P  _( [" i3 z( ^, W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 f0 B2 C( ~4 }$ d+ ^3 t
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 r1 j5 P5 @' K
  731. ; disabled on them.
    , X' _2 C* E  [
  732. ; http://php.net/enable-dl4 G5 L7 [7 N* W0 P
  733. enable_dl = Off
    ' ?% `1 B! ~# @- N: s
  734. , c0 P; o+ u: D5 |3 Z: v. {7 V
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& Z* a, s. g: L/ P. |: B9 F+ ^
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& y! z( V% w7 |/ t- p. [
  737. ; turn it off here AT YOUR OWN RISK& l3 T- h8 v4 g5 ~/ U/ {
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** w* Q* d7 Z1 f) z3 R/ {
  739. ; http://php.net/cgi.force-redirect
    # U# Q/ E( w& Y& _0 b$ `
  740. ;cgi.force_redirect = 1
    - z6 x7 {& L, g3 v; n& h) Q
  741. ' u1 t, Z3 q% f
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with" ]9 R' c( |$ |/ B3 N6 D% a- P
  743. ; every request. PHP's default behavior is to disable this feature.4 f. v) M- \% |5 a' [0 t
  744. ;cgi.nph = 1
    ' X2 M+ h9 V. u/ c8 b# w

  745. $ ?# C) }3 Q9 e2 @
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape. E3 F* i2 h) O
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 `$ N5 n- q* f, @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & u9 Y9 [/ v1 e/ J
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! D  [8 e0 N6 g: M$ G/ j4 A/ X
  750. ; http://php.net/cgi.redirect-status-env6 Y& A8 r5 s6 J& N1 T# {
  751. ;cgi.redirect_status_env =
    8 z+ \4 Q( {/ N! I; {$ j) w
  752. 2 ?5 i* ?" G  X' t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 m7 v; n/ v& R: @& Y8 H  A- O" m
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& q* V; R& [3 k2 K' ?, j
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 R: V- V: V- ?7 V2 L
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' O2 F- Q) X) m* M9 U  t
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    2 o7 q% U8 V: ]2 a& z+ v0 t
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ t; |2 E7 }* J8 A+ u" s1 n
  759. ; http://php.net/cgi.fix-pathinfo+ j; v- h/ v/ Z) M
  760. cgi.fix_pathinfo=1
      l' D' j' W  e. P
  761. % Y  O* x' \. _1 T1 T# J' |
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 |$ E/ i* i$ I; d* Z" Q
  763. ; of the web tree and people will not be able to circumvent .htaccess security.- Z+ b& g1 N# X1 G, W# C# c
  764. ; http://php.net/cgi.dicard-path
    7 S# L% R) j, R$ U
  765. ;cgi.discard_path=1
    4 G$ M0 [* l" @
  766. $ C! B  U9 f  U% s/ V* _0 n* l- x
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 G, m% Y" V0 k0 r( m
  768. ; security tokens of the calling client.  This allows IIS to define the& E8 O& R3 |- j' x0 ^3 ]) T
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ! E9 ^! _* \& I6 K+ z5 J, o; e
  770. ; does not currently support this feature (03/17/2002)( o+ F0 ~6 s- [$ D9 w* ~; N1 P
  771. ; Set to 1 if running under IIS.  Default is zero.) w: ?  G3 b5 \  V0 x0 L% `
  772. ; http://php.net/fastcgi.impersonate$ i4 E/ l" d9 Y0 H. F& w
  773. ;fastcgi.impersonate = 1
    & z% f' n3 _" F/ D6 @/ K
  774. , W+ t8 x, @/ Z, L4 v
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable, R9 N; L4 [; I/ m6 l3 S, O
  776. ; this feature.
    ! P* n0 j  ?. ]$ ?# f- d4 d
  777. ;fastcgi.logging = 0
    / P- X/ Z' b! L5 W/ K- C
  778. , _' W' }" y7 Y/ h' H! C
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 `8 u) r) v, p1 B( W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    2 K- Y  u2 F+ R2 y( V) _
  781. ; is supported by Apache. When this option is set to 1, PHP will send$ D+ q) B/ G' Q8 Q% `: W; Y" {3 [
  782. ; RFC2616 compliant header.9 I7 y) w0 V8 Z* Q$ \2 n
  783. ; Default is zero.& K$ y# S8 v7 C1 X
  784. ; http://php.net/cgi.rfc2616-headers. u( y, M, v3 j+ \! Y) K
  785. ;cgi.rfc2616_headers = 0) J1 V1 b% h2 ?

  786. 3 y8 Y8 n3 U+ W! R# W
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!. Z0 Y5 U3 d- v
  788. ; (shebang) at the top of the running script. This line might be needed if the5 J4 D& Y# x4 G+ w; x+ h' p9 I
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 n; v+ e- M3 F0 i2 [, ~
  790. ; mode skips this line and ignores its content if this directive is turned on.
    3 C: D7 s; z: t$ F0 a  C
  791. ; http://php.net/cgi.check-shebang-line
    2 N, ~. ~0 F% R6 f0 w
  792. ;cgi.check_shebang_line=1
    $ w4 x# m1 X( D# L. N

  793. $ S- s) l9 k, j, |
  794. ;;;;;;;;;;;;;;;;( P; @4 M0 r5 x' M* l3 F! z
  795. ; File Uploads ;/ n6 V. A% H1 ]3 [2 {; ~" ?
  796. ;;;;;;;;;;;;;;;;6 h. k/ i8 M; G; X% ]2 l8 b, o3 f

  797. % R, j7 g2 }+ m' S, s3 `
  798. ; Whether to allow HTTP file uploads.
    . `/ q0 [6 q5 g; R  n, X
  799. ; http://php.net/file-uploads
    ! n# k, M+ ]# q( y0 t7 O- L/ N( H
  800. file_uploads = On
    ( b# l# u' e8 `+ B* j' ?4 M# @

  801. # H) v7 _7 H+ d0 E$ d
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    % a5 v$ y+ _) B0 z) x
  803. ; specified).
    ( C; K) [3 `$ `6 G8 f
  804. ; http://php.net/upload-tmp-dir8 V: m( V4 |/ F, J9 t8 U6 m2 }
  805. ;upload_tmp_dir =
    0 B. M7 T( ?% L5 _: v

  806. ( N6 O+ J" _" W. m& N6 H
  807. ; Maximum allowed size for uploaded files.* e  `8 S4 K8 [6 K# V
  808. ; http://php.net/upload-max-filesize' _: m/ K$ k% ]
  809. upload_max_filesize = 50M3 R7 u" t$ |! V
  810. # d, G5 g; J$ `$ S0 y$ x$ X7 T" n+ \
  811. ; Maximum number of files that can be uploaded via a single request) \0 b% u( T+ d' m5 J/ A( d
  812. max_file_uploads = 20
    * c- S! Q) W( g6 F" `6 p

  813. 0 {, S2 @2 r& q: G) M. H* W3 k/ o
  814. ;;;;;;;;;;;;;;;;;;
    5 m- E8 L! V$ ^( i; ?: ]
  815. ; Fopen wrappers ;
    ' e% t) o& y! X3 e" z
  816. ;;;;;;;;;;;;;;;;;;
    8 l' }2 N( _" ^3 N9 r: a

  817. 6 M5 T6 L1 \8 s9 U" c
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    3 A1 Q5 A3 I* M7 X( c
  819. ; http://php.net/allow-url-fopen
    $ V! ^: w1 n3 s, e( h
  820. allow_url_fopen = On$ K8 @4 F: {3 V" E7 L# l# V. Z
  821. % u) g8 \8 L/ f2 e4 ^/ Q) D* n0 z( r
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ( q) ?: v* l1 _" [4 ]1 e
  823. ; http://php.net/allow-url-include* ^  V- ~9 q( m8 n/ p7 [% L3 J; r
  824. allow_url_include = Off& E' _6 c/ g  k) j  A& x6 m. A9 m
  825.   [7 v1 @2 q8 J) Z! k& ~
  826. ; Define the anonymous ftp password (your email address). PHP's default setting* H6 a$ W  k% f! |) ]6 h- h% ]+ H* }
  827. ; for this is empty.+ ~6 p5 v4 S8 Q7 w# P* _+ m
  828. ; http://php.net/from: i" Q$ v9 b2 C3 }' Z
  829. ;from="john@doe.com"5 q" V8 E( E& D" A. B( t; c! p) M. x
  830. $ p3 p: U( v' W$ @# e
  831. ; Define the User-Agent string. PHP's default setting for this is empty.$ l6 [  I. W7 g. `$ Q. j5 ]4 P
  832. ; http://php.net/user-agent; e) T0 q! @  U- }( k- `$ u
  833. ;user_agent="PHP"- H1 _2 K# v' M
  834. " Q5 y% P+ h' g0 p
  835. ; Default timeout for socket based streams (seconds)" w5 }! ^$ ]5 u# Q
  836. ; http://php.net/default-socket-timeout& U( Z. P: `7 x9 T! `7 g% K
  837. default_socket_timeout = 600 ]" F& z3 j' s, |# J1 @
  838. : X8 |) F% ], k! X: j
  839. ; If your scripts have to deal with files from Macintosh systems,1 h- w2 Q; H% [# ~2 _
  840. ; or you are running on a Mac and need to deal with files from# T  A$ v' \* t
  841. ; unix or win32 systems, setting this flag will cause PHP to6 h; }: {5 Z( c
  842. ; automatically detect the EOL character in those files so that
      M1 ~! M) X0 r) B' N6 Y5 {( f
  843. ; fgets() and file() will work regardless of the source of the file.
    4 A: c/ g6 ~% t' t0 T
  844. ; http://php.net/auto-detect-line-endings7 x6 w; I- l# `6 v& e
  845. ;auto_detect_line_endings = Off
    . f: ]4 g# I9 [7 `4 d2 S, T- l* h

  846. ! v4 M& H, l8 H7 n
  847. ;;;;;;;;;;;;;;;;;;;;;;0 v; H$ `; e; X3 ?8 j5 q
  848. ; Dynamic Extensions ;! C$ {4 g% M) G
  849. ;;;;;;;;;;;;;;;;;;;;;;6 V+ I/ @& ]. k( ]% P, ?+ V8 z

  850. 2 ]7 i$ A; G9 M0 }( K
  851. ; If you wish to have an extension loaded automatically, use the following
    , J3 ^6 C0 J! Z5 ?7 ?6 }: z, u
  852. ; syntax:  Q( x6 [  t4 b  N) b5 g
  853. ;/ A+ v) Y. }/ V1 ?
  854. ;   extension=modulename.extension# ^/ A' O" c& z# q/ m
  855. ;5 B4 M1 i$ T1 b8 T. ?9 z
  856. ; For example, on Windows:. h. c$ ^" d7 |3 F/ Q
  857. ;: q# A/ N+ r* J/ u, ?
  858. ;   extension=msql.dll- E: Y4 p5 ^5 m$ q* ~
  859. ;
    0 I4 Z+ q% G$ d2 R( H/ R
  860. ; ... or under UNIX:
    0 E; ~2 J7 |+ n% h
  861. ;7 c4 l: [; {* u: J. a
  862. ;   extension=msql.so
    9 U5 O# w9 O" c/ T4 N$ e
  863. ;
    1 T# I; I0 C2 I' C$ q5 O
  864. ; ... or with a path:8 Q3 x7 ~6 a4 K1 C1 F, V7 v; B( O
  865. ;
    . S3 J0 [0 F/ H* @6 t6 q* X0 G) {: ]
  866. ;   extension=/path/to/extension/msql.so
    + J: }" d/ o1 R* ^7 {
  867. ;
    , _, p* q3 C: o2 b9 [3 d
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ' B3 u) F" ]& _4 v
  869. ; default extension directory.  {; N% s$ f5 o: a# @% J+ B0 z
  870. ;
    - j( I* [8 M: y5 J( @' t
  871. ; Windows Extensions
    3 x1 v5 h2 M2 e( d5 p
  872. ; Note that ODBC support is built in, so no dll is needed for it.! g. c/ \$ O# N# \6 h/ {
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    5 B+ F1 W# r' l- d
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    $ q/ z# v- e( z8 ^
  875. ; Be sure to appropriately set the extension_dir directive.
    7 j5 M1 ~. Y, o4 e/ ]% C
  876. ;
    4 H) c! S% ]0 A+ q9 J
  877. ;extension=php_bz2.dll
    / M# j# v  \/ I: w. D- g
  878. ;extension=php_curl.dll
    ' I' X8 s! f8 g9 g+ Z1 r
  879. ;extension=php_fileinfo.dll+ D* [- ]0 B6 J( w
  880. ;extension=php_ftp.dll9 x5 q  S+ |* Q: n$ `0 W8 l" e
  881. ;extension=php_gd2.dll6 {( `) X' W$ k8 ?
  882. ;extension=php_gettext.dll2 l! O* j# S) J: }- f$ }
  883. ;extension=php_gmp.dll: n& S+ c0 X' I- F0 y. }  v" ~0 c
  884. ;extension=php_intl.dll: D1 E# y9 Z/ R- d; ^$ B
  885. ;extension=php_imap.dll' x: d' D$ z2 L) T2 S% L1 r
  886. ;extension=php_interbase.dll, v9 d0 @8 d7 C4 a: x- v6 N' q$ c" z. U
  887. ;extension=php_ldap.dll/ D0 @6 ?5 }+ F+ l; A: Z: w
  888. ;extension=php_mbstring.dll) w( O2 X- Q" |, `  E8 h1 G! ?+ [7 G
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 B. S4 A. I+ @, j: {' L2 z5 H# }
  890. ;extension=php_mysqli.dll/ O- A% N' j; V" @, c
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: d( G) g  Y  q$ A4 D
  892. ;extension=php_openssl.dll
    " z5 w$ ]7 j5 D) |  f. r! y
  893. ;extension=php_pdo_firebird.dll4 j. t- j; V4 ]* G
  894. ;extension=php_pdo_mysql.dll
    . ~: v: }( `& S
  895. ;extension=php_pdo_oci.dll
    ! q: x) o5 x+ C) K) X1 `3 e1 |
  896. ;extension=php_pdo_odbc.dll
    % b7 d" S$ V( o# `$ l4 f1 M  C0 i
  897. ;extension=php_pdo_pgsql.dll- a' O3 [7 q+ S$ Y0 u9 [; F
  898. ;extension=php_pdo_sqlite.dll
    / a' a4 ^1 f# ]& n5 A' w4 H1 I
  899. ;extension=php_pgsql.dll$ z8 }  S; l7 D; \
  900. ;extension=php_shmop.dll2 h$ l. ?8 g9 `
  901. 4 C3 D9 R" h0 I
  902. ; The MIBS data available in the PHP distribution must be installed.
    0 A7 }* \% M6 u) W+ J, d
  903. ; See http://www.php.net/manual/en/snmp.installation.php, S4 L& U5 W# l( K: |
  904. ;extension=php_snmp.dll
    ' }. c& Q' X( \* `

  905. $ }4 U$ |' c. Q+ E1 T
  906. ;extension=php_soap.dll
    % s+ C4 k8 ^% b1 N; S
  907. ;extension=php_sockets.dll- ^1 Y% P% A6 s6 m: {8 P6 O
  908. ;extension=php_sqlite3.dll) P7 K1 E) f* f: l( k
  909. ;extension=php_tidy.dll! p3 g+ G, d0 L
  910. ;extension=php_xmlrpc.dll
    & X% p. b5 ~9 J2 Y6 a5 x! x
  911. ;extension=php_xsl.dll- \7 d% \: c4 b4 A7 n  R9 ]

  912. 0 t. T) c: i( m' }7 w8 n2 g
  913. ;;;;;;;;;;;;;;;;;;;
    ( g7 V" J0 O+ p& x# \
  914. ; Module Settings ;
    & o& n4 k/ _" x. _' |8 }
  915. ;;;;;;;;;;;;;;;;;;;
    2 a. \) A8 R% y3 t+ e

  916. / P. I! x! B; H# k) N
  917. [CLI Server]
    % g2 B. U3 E' F: N7 D/ Y; g
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    " N# H( M% c( v8 F4 l
  919. cli_server.color = On
    ( W$ K3 k( w/ u( G" [

  920. $ F/ s  O& `$ a* |* `* ^
  921. [Date]# F# u. {& `6 Q! p
  922. ; Defines the default timezone used by the date functions
    5 H3 `3 q* I; m5 W3 W7 T
  923. ; http://php.net/date.timezone
    2 e. {" Z' O  ^0 {- G& e
  924. date.timezone = PRC2 p! L8 Z6 {9 t2 x* M$ Y
  925. : a4 N# b8 i' ]$ k
  926. ; http://php.net/date.default-latitude
    " M2 o2 E( h0 Q) }
  927. ;date.default_latitude = 31.7667
    - K: \, A5 ?4 O1 E. d
  928. 9 s  y7 k9 u0 G
  929. ; http://php.net/date.default-longitude
    6 Q4 R' k0 J4 c6 Z. p( o9 N
  930. ;date.default_longitude = 35.2333
    ' D4 \+ o* L2 V& o9 k6 K) q! {

  931. , J# w- n( f6 e' o1 q
  932. ; http://php.net/date.sunrise-zenith+ s( U; p) Z& m/ {" E: I3 ~
  933. ;date.sunrise_zenith = 90.583333
    / P0 y. q: |( A- G0 f# g) @3 _

  934. & W' L1 p8 G( X, q# {
  935. ; http://php.net/date.sunset-zenith) V. ~: `& U8 j, Y
  936. ;date.sunset_zenith = 90.5833339 @& s- h  [' c

  937. ) r7 f* i5 m4 x: F' H# R$ S
  938. [filter]! x+ r. @/ k! q1 p& z0 c2 V. D
  939. ; http://php.net/filter.default
    $ w, d( u, Q( `# Z0 c  k
  940. ;filter.default = unsafe_raw
    / V! ^& J! C0 _, l' D
  941. ( x; @6 R4 H$ H; f
  942. ; http://php.net/filter.default-flags
    5 d1 N1 O2 Z3 k3 q, ^
  943. ;filter.default_flags =% k# D& H' H* t4 i3 s: g7 _$ U

  944.   |0 x) f1 y: l
  945. [iconv]
    7 r! R" F# B. ^3 P
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 p( z( [' q( }1 G
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ) ?$ h  i* Q2 [, s$ U
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 f; c& }8 ^9 C5 V1 `% f; m6 h
  949. ;iconv.input_encoding =
    ! V  M  A2 z$ G) h! i0 I% @

  950. & z/ S0 Y* A# E. [7 Z" C
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 ], {; n4 `9 H. V/ y
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! }. ~, l# x1 N2 V3 t0 @; w: A
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 g  u- B* v8 V* l5 }4 z$ {* h! G
  954. ;iconv.internal_encoding =
    ( r* o4 }5 R  q  A" q
  955. # {% e: `; G- |6 D
  956. ; Use of this INI entry is deprecated, use global output_encoding instead." E7 ], C# t  E4 B0 R$ i6 u' ~
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) k4 k" g" x: V( F
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 r! j" A. [2 X) O9 t  w6 d3 A' u. m& y
  959. ; To use an output encoding conversion, iconv's output handler must be set3 Z  n4 v  }* L5 z3 g$ v
  960. ; otherwise output encoding conversion cannot be performed.
    7 E$ K& K' P+ N
  961. ;iconv.output_encoding =' Z0 H) `/ p; k. c
  962. , p9 {9 O5 ^1 u0 l
  963. [intl]
    & Z. }1 [! T8 L0 o
  964. ;intl.default_locale =
    " _8 z8 W5 Q( M1 ^" U0 g
  965. ; This directive allows you to produce PHP errors when some error
    * v; Z0 y  s& R, F/ @
  966. ; happens within intl functions. The value is the level of the error produced.# q9 H6 T$ g$ g, k! V
  967. ; Default is 0, which does not produce any errors.- @6 U' v3 H4 B9 c& R& f9 I& b) e0 O/ ]
  968. ;intl.error_level = E_WARNING
    + c4 }  X0 o' I. x/ y) F
  969. ;intl.use_exceptions = 0/ V+ P" K0 s3 o3 N7 T

  970. + S/ L2 r+ F" @1 _  L4 K
  971. [sqlite3]. M: }2 W+ B9 s' z) L4 Z4 p
  972. ;sqlite3.extension_dir =
    ( a, Y6 |: O1 W3 T4 S
  973. ( [1 U# E' a$ d7 e; y
  974. [Pcre]6 l9 A( ^5 x* q( f. I
  975. ;PCRE library backtracking limit.  i! a) _& f9 X, X/ e( }, @7 {7 U
  976. ; http://php.net/pcre.backtrack-limit( @0 L+ X- p# X( a4 L7 G
  977. ;pcre.backtrack_limit=100000% B; p" W* H9 O- F* v) q

  978. 6 V. P9 O7 f9 k+ _
  979. ;PCRE library recursion limit.
    + U& O) I2 q8 ^8 a4 C9 W
  980. ;Please note that if you set this value to a high number you may consume all
    4 T; a% X  K* y- q! g
  981. ;the available process stack and eventually crash PHP (due to reaching the; r% l; {* v6 `) M
  982. ;stack size limit imposed by the Operating System).9 V1 P/ J: m; r; w! M) Y+ S
  983. ; http://php.net/pcre.recursion-limit; N( o9 k$ @: Y4 c% V
  984. ;pcre.recursion_limit=100000
    , p, z; a" {% q4 g! x3 f1 P8 _3 S) g
  985. ) ?; \" n2 ?% f, N) t! P
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE4 J, C3 c& n8 W! R6 H
  987. ;library to be compiled with JIT support., r$ h1 ~: o1 ], a( g6 U
  988. ;pcre.jit=1$ o7 x5 Q  Z9 w: [+ j4 Y6 e

  989. ; L* @# d! n  h- l
  990. [Pdo]
    " f& n7 q" B0 |9 b# |
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"1 Y; D; s7 b& i
  992. ; http://php.net/pdo-odbc.connection-pooling  k; [9 t/ k; I2 a
  993. ;pdo_odbc.connection_pooling=strict
    ) s( T8 d7 R0 v2 z$ D% Q

  994. 4 m! i. {/ s5 m# C, l+ @# f' r
  995. ;pdo_odbc.db2_instance_name
    6 ^/ @7 a) J  B* n8 a
  996. ) y% C, T5 j4 ~* H% Q
  997. [Pdo_mysql]
    , o" x4 v5 P  @8 u1 J9 ]6 m# T
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / a& |- l5 A3 @) |6 ^2 y9 e
  999. ; http://php.net/pdo_mysql.cache_size
    0 p" R+ Y8 K7 O3 B9 d
  1000. pdo_mysql.cache_size = 2000* x6 h! v/ {7 X" b5 W4 _5 p! j" d
  1001. ) L) O; e+ G4 V5 f
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( f9 x  Y4 b4 `% o
  1003. ; MySQL defaults.0 W9 i, j. G2 F' \* \0 W
  1004. ; http://php.net/pdo_mysql.default-socket4 X  p# [) I: k. `; X5 M6 Q$ q
  1005. pdo_mysql.default_socket=
    ; B$ _7 Q; W5 ]& R

  1006. 0 @2 }8 h. V4 z$ x+ Q
  1007. [Phar]. v: N$ z6 X3 z- I' F
  1008. ; http://php.net/phar.readonly
    0 I  N6 E0 |+ x4 Q5 r/ o
  1009. ;phar.readonly = On3 j; k  d& }8 Z0 \2 U

  1010. 6 R1 O# {/ G# E6 h
  1011. ; http://php.net/phar.require-hash
    / n. o+ p3 }$ Y6 `
  1012. ;phar.require_hash = On
    9 d% v; w4 A0 F  U  o% b# Q2 y
  1013. ; k* u) t; |+ A4 S/ T/ P) r
  1014. ;phar.cache_list =
    + C+ q- _6 ^3 j1 K( y2 x

  1015. & _1 i2 A4 U3 R4 }
  1016. [mail function]- l7 Y+ b7 i, H7 I1 D* ]8 _+ J
  1017. ; For Win32 only.
    / ?2 d$ e  w9 _1 k
  1018. ; http://php.net/smtp
    ; [  t8 o+ {( I2 t% b; n
  1019. SMTP = localhost; ]$ {: M# o* D. y. u! n# a( U
  1020. ; http://php.net/smtp-port
    8 r) ^) S& f7 ~3 o
  1021. smtp_port = 252 Q5 z; k) |7 r+ Z
  1022. & N4 X! E" v7 A- \$ O% A; V5 O
  1023. ; For Win32 only.
    2 D8 E% X% i& l$ ~% {8 l
  1024. ; http://php.net/sendmail-from9 {; Q. R6 H1 b6 k  o' m' Q5 w
  1025. ;sendmail_from = me@example.com
      v  ]! C9 {6 P" W. q2 R  R8 [
  1026. ) R3 s9 }) m# |  O0 l9 m
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) n# N' T2 J: s. J6 q6 r3 C* p
  1028. ; http://php.net/sendmail-path
    - Q5 P9 Z' l! a9 m: X
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    % n7 o/ a$ Z( Z$ T+ @9 D
  1030. & f& I  \' C! w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters( V- ^" [4 q: ~5 N2 d. m5 V! W7 c
  1032. ; to the sendmail binary. These parameters will always replace the value of
    - `8 K6 v% Z5 g* z: ~5 [
  1033. ; the 5th parameter to mail().
    6 u4 D4 d2 }+ V0 _  l" y
  1034. ;mail.force_extra_parameters =
    0 u" [+ s- S" Y

  1035. " e! s" r' E) T$ y* [5 s! z! U
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 X( l/ C& d" A6 M: j# q: ~  U
  1037. mail.add_x_header = On
    3 h# }% z2 D: R0 w
  1038. + E  C; A) R& a4 M1 ~( b( R: v
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    + V* h4 S% K& V% T* q5 B
  1040. ; the full path of the script, line number, To address and headers.
    0 J3 M& t7 h. i9 n4 t2 j7 D) C
  1041. ;mail.log =
    % ?6 R: Q% F; {% Y- @$ j% E
  1042. ; Log mail to syslog (Event Log on Windows).
    - X. F, u( o5 H
  1043. ;mail.log = syslog. ?+ o8 _' V6 m* K' ^
  1044. / p7 j* ~( a' D7 S# M0 Z4 h
  1045. [SQL]4 D$ ?2 ?" f- ~5 y0 C' X) _! E5 z
  1046. ; http://php.net/sql.safe-mode! i7 _, F3 G1 q8 U* ^' i0 M
  1047. sql.safe_mode = Off
    9 N* r) q9 K1 u# C- m9 h
  1048. 3 ?3 ]0 B# V: @$ Y
  1049. [ODBC]
    / o( E# b& _: H6 @% {3 o+ Z, ?
  1050. ; http://php.net/odbc.default-db5 Q% E# x, S9 h* B( H4 g
  1051. ;odbc.default_db    =  Not yet implemented
    . c1 i# k5 ]8 M* ]

  1052. " O& z3 H: C6 B0 G2 F6 W% T
  1053. ; http://php.net/odbc.default-user. d! L( R7 |$ T) Q% w+ t
  1054. ;odbc.default_user  =  Not yet implemented
    , F- K- R) S9 a/ r4 ]. ?6 Z+ K
  1055. 5 q0 R) r1 w! I  P& Q$ g
  1056. ; http://php.net/odbc.default-pw0 o6 f: A, W9 p  M. M; a
  1057. ;odbc.default_pw    =  Not yet implemented1 C) F4 U& s) d; @+ z- \
  1058. ( j$ q4 D1 G/ q" [# _+ ?
  1059. ; Controls the ODBC cursor model.
    2 T  x9 h5 L7 n- s
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 N$ h: b" Q9 W/ ]  e( W
  1061. ;odbc.default_cursortype
    + B8 O% D  i0 g
  1062. ( s" G" M: \# G2 S& X
  1063. ; Allow or prevent persistent links.9 c# _- c; Q, V7 `* i& s5 K$ ~1 b
  1064. ; http://php.net/odbc.allow-persistent
    / S2 m4 i1 \- n: z9 `4 V
  1065. odbc.allow_persistent = On
    5 K+ p" M6 q* h) D: b9 t% r

  1066. % [: t8 o7 ?* ~; [$ i: T( P
  1067. ; Check that a connection is still valid before reuse.3 U0 G8 v  G; |, M% w6 e
  1068. ; http://php.net/odbc.check-persistent
    7 p$ I& ~4 B& p) n! I' {% v: X* ^
  1069. odbc.check_persistent = On
    ) X( d6 r- T8 j% s% G

  1070. ; Y% a; g: I" M, U2 B; _
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ) h0 y4 J( N; g  ~
  1072. ; http://php.net/odbc.max-persistent
    - T3 f( }9 R7 W# v. o( P. o
  1073. odbc.max_persistent = -1
    / i) Z  }" d4 {3 {3 R% e/ L

  1074. 8 Z/ c6 ~* F' _. E# ]/ k4 Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 E5 p. L: }. E4 E6 w" [( I5 x, Z
  1076. ; http://php.net/odbc.max-links$ d# F/ P  X# Z4 g: E1 ?% O0 f
  1077. odbc.max_links = -10 e3 q7 d, f5 J  I- m$ d
  1078. . a$ c2 K& I  _
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    * D' I  ?$ Y: C) [- X1 b- o
  1080. ; passthru.' _" t+ w: q1 [) K0 s
  1081. ; http://php.net/odbc.defaultlrl- u# a" q+ _5 }. Q
  1082. odbc.defaultlrl = 4096
    ; Q0 C/ [; G: E- i: q' f

  1083. * f: J; C1 H* K3 v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - A* G2 y& _' Y4 Y  r# n
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 t& H- |& M. j* |; ^
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode1 ~3 a0 w7 m# @! {# X% A
  1087. ; http://php.net/odbc.defaultbinmode. s$ A5 x/ C  h* d& ^  Q
  1088. odbc.defaultbinmode = 10 P9 x. t3 j$ P9 ?$ _2 a2 o
  1089. 8 E2 m( S8 ~5 d; Q: L  |; O; p9 H2 ^
  1090. ;birdstep.max_links = -1* T% ~% t6 W) T; T' A4 f4 v

  1091. * d* N. n* `- f- r8 i5 G
  1092. [Interbase]4 P. [# R  _* b0 U" }5 Z4 U0 M
  1093. ; Allow or prevent persistent links.
      s" {! b$ T" C2 J" ]$ p
  1094. ibase.allow_persistent = 1
    % ]  x" S3 I! x7 |* c
  1095. 0 G) _5 S2 e3 L6 R- w" b, k8 E
  1096. ; Maximum number of persistent links.  -1 means no limit.
      v* h: ^3 _: a( \2 Q4 W
  1097. ibase.max_persistent = -1" Q8 n7 c# }1 l
  1098. $ s/ X) s2 M( @. R, J5 a
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 A/ Y# `7 i: S, u$ Z
  1100. ibase.max_links = -1. x; A+ ]9 X1 S

  1101. , G& @1 w; q& {5 z
  1102. ; Default database name for ibase_connect().6 t$ m( }+ }5 Z! R! r2 G$ z
  1103. ;ibase.default_db =. |* z) t2 T3 |  c( h# |$ d
  1104. 2 `% T7 q0 d! F/ {+ m
  1105. ; Default username for ibase_connect()./ ~! c% }9 N% {+ h/ Z
  1106. ;ibase.default_user =
    ; R: `& c6 b. w" W5 n
  1107. 7 Z; ^0 O! u0 M1 h$ U( T
  1108. ; Default password for ibase_connect().
    & ^% V5 g3 P1 ]6 r
  1109. ;ibase.default_password =
    0 @0 q+ k' m1 Z0 e6 l5 D/ X

  1110. 7 F6 _/ J) [. G
  1111. ; Default charset for ibase_connect().) `# P7 _9 b6 y$ ^9 D
  1112. ;ibase.default_charset =
    % Z3 T0 H# p* M) ~' Z, @) V

  1113. 4 L4 r3 E" ]) o0 P
  1114. ; Default timestamp format.) L" I  i! y1 Y  F
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& ]- A# b5 g7 I0 f$ t8 x

  1116. ) ?3 }( N2 {+ A6 `3 X
  1117. ; Default date format.6 {. m6 C! D5 Y- v2 l
  1118. ibase.dateformat = "%Y-%m-%d"$ l* Q+ V2 X- k
  1119. % X/ F$ B) T8 k9 @; |  B- y9 T  z! b
  1120. ; Default time format.
    5 q/ m/ A- K. m5 L$ b3 E
  1121. ibase.timeformat = "%H:%M:%S"
    / C3 D& ]5 R5 k1 V! N3 {% Z2 v

  1122.   f! l- A& h' a' B: m; c# m
  1123. [MySQLi]
    ! b( ^9 O$ O) d9 V8 ~! K

  1124. / {# b& }4 \1 z
  1125. ; Maximum number of persistent links.  -1 means no limit.
    # l9 |5 E& X6 f+ [0 f% S
  1126. ; http://php.net/mysqli.max-persistent
      a2 r" K+ ^. a  B
  1127. mysqli.max_persistent = -13 I1 p& I8 m- U" o, V# x

  1128. 6 X1 p; N8 l3 P* |5 `/ \
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) h' n. E: G! a* m# t8 m( c1 Q7 |
  1130. ; http://php.net/mysqli.allow_local_infile
    $ O* L5 P0 J/ J
  1131. ;mysqli.allow_local_infile = On
    , `2 M% X0 u% v. F
  1132. 2 K) ]- k7 A# w2 u' }6 x8 m5 I
  1133. ; Allow or prevent persistent links.
    7 o6 g) @! I9 k/ ?; ~. D1 i( R
  1134. ; http://php.net/mysqli.allow-persistent; A! S4 i, G& |
  1135. mysqli.allow_persistent = On
    1 D4 f- p! G6 I& W) u8 z+ ^/ R

  1136. 6 l, Y& Y4 U$ \% R+ g1 @
  1137. ; Maximum number of links.  -1 means no limit.
    $ \5 W6 h, T2 [1 b. C4 X, J8 Z
  1138. ; http://php.net/mysqli.max-links2 @, O( R. t9 ]( |
  1139. mysqli.max_links = -1
    8 k2 ~* R# I' W: N* t: J
  1140. 5 s+ q) A8 _! c3 r: ?: C9 K' h3 N
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; p4 h2 C5 J( O
  1142. ; http://php.net/mysqli.cache_size+ N. ~2 n4 W) @& d) ]' `
  1143. mysqli.cache_size = 2000
    . s! H4 D1 A4 Q5 f
  1144. 6 z/ B, d! ^1 d$ @' u: r9 c; R
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 x% r; x4 u$ ^& f* t
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, h3 Y  T7 H8 K; R) z# N2 K) F
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 ]4 {+ K: N( h/ i8 u
  1148. ; at MYSQL_PORT.
    6 t2 ]! r' B5 @; ~) \& y
  1149. ; http://php.net/mysqli.default-port# x8 U% v  c: o% p5 q" A
  1150. mysqli.default_port = 3306- e3 r1 l. R: F* c0 s
  1151. . u& a  D' J3 L
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in- A, }5 z0 u  n3 v) S# h& v
  1153. ; MySQL defaults.1 L! P/ j* E4 g% ]
  1154. ; http://php.net/mysqli.default-socket2 d, N/ |) w3 G: N6 M% p
  1155. mysqli.default_socket =4 _4 I1 O8 P$ t4 ~
  1156. / Q) U; N( {$ _
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 v) l8 u3 \/ u- a
  1158. ; http://php.net/mysqli.default-host4 H, G) T6 n8 O" l# g8 d
  1159. mysqli.default_host =
    7 U0 T, S, G0 w$ c2 f

  1160. $ g7 K( x: O& \% q4 @
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).6 k4 @* A- g) x" L
  1162. ; http://php.net/mysqli.default-user
    - j, y+ L% y, w  m" y+ u
  1163. mysqli.default_user =
    ; u% n7 _- }9 {0 k
  1164. 3 H* L1 k* r  A& h
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. ~8 H5 [5 g5 f
  1166. ; Note that this is generally a *bad* idea to store passwords in this file./ ?% x' h& N8 t8 p
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - F+ Z, c* b4 w9 _7 i( r
  1168. ; and reveal this password!  And of course, any users with read access to this
    : G. o7 n  x. \4 ?1 n3 z
  1169. ; file will be able to reveal the password as well.; o- z( C# Z4 ?) w
  1170. ; http://php.net/mysqli.default-pw
    6 t1 S+ T% j. l
  1171. mysqli.default_pw =
    $ k- J% I3 i) ~$ D2 s& S# f6 }

  1172. 5 \) T1 B' `. `6 S* u
  1173. ; Allow or prevent reconnect, ~1 f1 ?( z, m7 u$ \. b- H
  1174. mysqli.reconnect = Off- g% X8 O: T4 @" l  v3 x$ E* @

  1175. 3 v5 ?' Y" S; s7 r5 T1 Z/ p' E
  1176. [mysqlnd]: k& H& c) A4 `) i5 f& s7 N' T  \- u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be3 _7 k' Y# n. y! P7 `# M& G6 X
  1178. ; used to tune and monitor MySQL operations.' @3 J1 \0 ~/ D1 S
  1179. ; http://php.net/mysqlnd.collect_statistics
    " c" y. N1 f3 m! H) @% o
  1180. mysqlnd.collect_statistics = On
    - [) j( e0 F7 ?% M1 t
  1181. + Z! u6 \5 ^5 o
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be: g9 J" x3 r4 V7 O+ I; Z; Z* v
  1183. ; used to tune and monitor MySQL operations.- Z3 D  C) ~% r1 Z& p* B4 e
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    6 K$ p7 f3 n" ^: m! E. l$ Z
  1185. mysqlnd.collect_memory_statistics = Off+ g# a- x# T$ }2 l9 b8 \; ?, e

  1186. 3 x. i* b0 Y# T; W
  1187. ; Records communication from all extensions using mysqlnd to the specified log# i1 n6 s# K# ?$ C& P& d$ C1 T
  1188. ; file.+ v4 o$ _% A5 Y+ b: m$ V0 P
  1189. ; http://php.net/mysqlnd.debug: X% ^: J; ]6 i$ Y
  1190. ;mysqlnd.debug =
    9 @# D% Y4 W$ c' c9 e8 K- m# D" d
  1191. * X5 s3 J) B8 }6 X2 O: ~4 g
  1192. ; Defines which queries will be logged.
    * g0 M) r# s# U. h/ A
  1193. ; http://php.net/mysqlnd.log_mask
    7 Z1 b9 a" _" V
  1194. ;mysqlnd.log_mask = 0( v  f1 z! i" p3 k. Q* R
  1195. 3 h! G3 {: `7 Z* ?
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      O/ V. @3 n+ j9 m9 k) D* q  K0 Z
  1197. ; http://php.net/mysqlnd.mempool_default_size
    5 I9 `: g1 n$ {$ _7 w
  1198. ;mysqlnd.mempool_default_size = 16000
    . m- E6 Y; V3 }" Y

  1199. ! U: c/ e2 q- ?9 Y$ K: {; e! F
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.3 C, V. k8 A4 S5 j9 h9 n
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 U' S( _5 g) j5 n, x4 k. I
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( T4 \1 ]; M1 h3 F$ l; L

  1203. * O0 h, E- K5 h; q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 o+ @* Y5 M8 J* X$ E0 M# O, A
  1205. ; bytes.
    6 R6 D8 Z' q1 D: G/ a6 K
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    & J  U7 s, j& G+ r( Q- [
  1207. ;mysqlnd.net_read_buffer_size = 32768
    / f0 r7 I% T' b$ i% x! Y
  1208. 9 A, |: r5 g' I; a. T4 D' g6 B/ I
  1209. ; Timeout for network requests in seconds.) n! b) b. `- H' t/ e# O
  1210. ; http://php.net/mysqlnd.net_read_timeout/ h& X9 Y3 H$ r! K& ^$ c$ G& N) \
  1211. ;mysqlnd.net_read_timeout = 31536000! O: D; v3 I* [) Z8 f9 C1 Y( L

  1212. ! {6 s- @: w' K, L: w
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' _: `, p! s; ], J; r# E
  1214. ; key.8 }" Q" l. l5 r# ~8 U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ' ?: y2 ^8 U: b  B" C' \! S
  1216. ;mysqlnd.sha256_server_public_key =
    # q8 X8 `5 l5 `( u% |# k
  1217. ) Y" a. X! O; G; b) k
  1218. [OCI8]' ]1 `' \- M- S9 r# [- i3 w

  1219. 0 l7 [# F5 [* ?7 @, `! ~
  1220. ; Connection: Enables privileged connections using external
    " @7 \7 ~3 K' E7 E
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 |/ u0 _# T# u" P& \% t* n% ~1 U& z
  1222. ; http://php.net/oci8.privileged-connect9 N6 @5 x- n0 u7 `3 D, c
  1223. ;oci8.privileged_connect = Off
    7 I2 b4 L2 ^5 e
  1224. : |( l# P# I" ?5 I6 i
  1225. ; Connection: The maximum number of persistent OCI8 connections per% v9 y+ ]7 G* g2 A
  1226. ; process. Using -1 means no limit.6 @1 o' o) |! p+ `3 u
  1227. ; http://php.net/oci8.max-persistent
    % c3 i8 P( l; r( i) w
  1228. ;oci8.max_persistent = -1
    ; ^. L) B9 Q5 U& @
  1229. * p& B- R9 U/ c6 h& u- D. X7 O
  1230. ; Connection: The maximum number of seconds a process is allowed to
    / w$ ?4 b/ p* w* z; R2 f
  1231. ; maintain an idle persistent connection. Using -1 means idle/ k- M" e4 P2 [6 \2 n2 X% J+ j. Y
  1232. ; persistent connections will be maintained forever./ W, w" v; T: F$ I' I8 o
  1233. ; http://php.net/oci8.persistent-timeout
    ( y) L3 G- t+ N9 r
  1234. ;oci8.persistent_timeout = -1' p, S3 O0 Y+ J! n
  1235. ! L' @' `  t  X2 o) d- u9 V7 y
  1236. ; Connection: The number of seconds that must pass before issuing a
    9 _& {5 s  A4 Z) l$ ], X
  1237. ; ping during oci_pconnect() to check the connection validity. When, z* B# w1 A4 E/ `+ Z% u& q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! w' {5 D" N& ?/ @5 A% k  I
  1239. ; pings completely.
      ~& i/ u6 U$ ~
  1240. ; http://php.net/oci8.ping-interval
    - q0 {% P3 {  B' z- g% v0 x! G
  1241. ;oci8.ping_interval = 60
    8 k5 c" F5 x1 ^/ K

  1242. " V% X6 L- W' l5 ]0 }# a6 g
  1243. ; Connection: Set this to a user chosen connection class to be used- G+ z, j2 a8 t0 X( l& T: Y4 G
  1244. ; for all pooled server requests with Oracle 11g Database Resident! a: v) w9 K- x3 g/ e% S. Y2 @( t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ; m  @5 }5 D& \) s7 j; w( C
  1246. ; the same string for all web servers running the same application,
    7 u2 N  T2 d" d+ y0 o/ q
  1247. ; the database pool must be configured, and the connection string must$ P! U! b9 ^7 R- o$ @  B7 a
  1248. ; specify to use a pooled server.# p8 l+ J; t6 o6 u& l
  1249. ;oci8.connection_class =; @  w* e% }! B9 {
  1250.   i/ o# e9 t5 z( ?
  1251. ; High Availability: Using On lets PHP receive Fast Application
    . h( b) Q5 o4 C3 j" j
  1252. ; Notification (FAN) events generated when a database node fails. The
    1 p4 g1 D. L" K& K
  1253. ; database must also be configured to post FAN events.' `9 _/ W1 F) R
  1254. ;oci8.events = Off  w  [  |8 o# G. o2 ~

  1255. ) T+ N4 L0 A/ _# P# j- e
  1256. ; Tuning: This option enables statement caching, and specifies how
    + P4 ~/ q5 B3 z- C7 z
  1257. ; many statements to cache. Using 0 disables statement caching.
    6 L# D8 Z% Y. z. ?) E; D* Q
  1258. ; http://php.net/oci8.statement-cache-size
    . n& y/ l: F* |
  1259. ;oci8.statement_cache_size = 201 h+ S& Q5 o  C/ k" K7 y# s

  1260. * C7 H7 e( v" ^) M
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : O$ @$ [7 h- _" P
  1262. ; rows that will be fetched automatically after statement execution.
    4 R# }2 L9 P; J1 e+ q
  1263. ; http://php.net/oci8.default-prefetch" |+ b6 n" W$ k8 A+ J& [$ Y
  1264. ;oci8.default_prefetch = 100
    5 f% z* k+ s/ t: K) \7 D

  1265. % w8 l2 r6 W/ D% }
  1266. ; Compatibility. Using On means oci_close() will not close
    0 r, A; D% z- r' ]7 u
  1267. ; oci_connect() and oci_new_connect() connections.% A9 T0 Q. Z0 J, \" Y7 s
  1268. ; http://php.net/oci8.old-oci-close-semantics9 ?6 ]# R& O& f; O$ R
  1269. ;oci8.old_oci_close_semantics = Off
    . n- _+ w: b5 m

  1270. 7 @+ K8 K* v2 q% A0 i
  1271. [PostgreSQL]2 `' ^" q! m% }3 W( f* q! k0 T
  1272. ; Allow or prevent persistent links.6 b. c1 ^2 ?! L6 ]
  1273. ; http://php.net/pgsql.allow-persistent
    + p& ~" m- G( B$ I5 b
  1274. pgsql.allow_persistent = On; X& \+ r! d% P4 H. w" U- ?. E  L) l, b
  1275. 1 q8 s$ i& g0 {! T, H8 P
  1276. ; Detect broken persistent links always with pg_pconnect().
    " U- D# `8 u  S% H( T( j
  1277. ; Auto reset feature requires a little overheads.
    5 S! O) w% F2 U
  1278. ; http://php.net/pgsql.auto-reset-persistent
    . B' C: Y6 ^' E5 Y; n/ m
  1279. pgsql.auto_reset_persistent = Off
    # G" N  ^* O. a* Z# g' L& @$ R
  1280. * F; Z( A1 z7 g% U
  1281. ; Maximum number of persistent links.  -1 means no limit.
    1 D& T3 V2 ~: a7 K* G( E
  1282. ; http://php.net/pgsql.max-persistent
    5 @( b. R- Z+ ]3 S- ~; K
  1283. pgsql.max_persistent = -1
    + F; U5 t3 p9 G5 N6 ^
  1284. 0 P" O: J, [! A$ {" g
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 l, t# z9 ?4 r1 b
  1286. ; http://php.net/pgsql.max-links
    . r' b* @7 A( ~( u
  1287. pgsql.max_links = -12 R  ~$ q; x% U/ y$ w+ H: j) s
  1288. + A4 W% M2 p! k/ a6 d( d
  1289. ; Ignore PostgreSQL backends Notice message or not.
    / y( O3 I/ r* |  ]  n( S
  1290. ; Notice message logging require a little overheads.
    9 q, K8 X  u4 r/ i1 F
  1291. ; http://php.net/pgsql.ignore-notice) q  J  P6 N" P& l* z9 S. }
  1292. pgsql.ignore_notice = 0
      h$ g* u% f1 W4 H/ A& \+ r

  1293. 9 @4 d7 C$ |2 \, c6 N8 j
  1294. ; Log PostgreSQL backends Notice message or not.
    : C6 A, _) t9 W3 M7 {
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 S. o6 K  F! W! P6 C, M
  1296. ; http://php.net/pgsql.log-notice. m* G" D( \" {) O. V
  1297. pgsql.log_notice = 0
    % r7 _# |, h$ G
  1298. " P8 l: R; X( a: O6 ?: @- Q7 o
  1299. [bcmath]! k$ @2 y3 f1 Y, z! x! D
  1300. ; Number of decimal digits for all bcmath functions.
    4 d6 n8 F& G; `- U/ F
  1301. ; http://php.net/bcmath.scale
    % e' [+ `, c( ~$ U; Q
  1302. bcmath.scale = 0
    # `! z* i  v# {% d/ E% @
  1303. 8 e5 D# _( X0 S  I3 y
  1304. [browscap]- x0 o8 X$ e: i
  1305. ; http://php.net/browscap7 d5 i% u/ j1 |# Z
  1306. ;browscap = extra/browscap.ini
    2 s  q0 M/ t8 v" `; K9 t
  1307. $ ]% ^/ ~+ S0 d- i' Z9 s) o; R* ]
  1308. [Session]! E$ R1 ?2 F1 r
  1309. ; Handler used to store/retrieve data.# s( C' E: z8 o8 M1 D1 I! s
  1310. ; http://php.net/session.save-handler
    ; [  ?" s8 U" W/ ?
  1311. session.save_handler = files
    , O. m' D1 F& _' ?
  1312. $ {: l8 o) ]! @
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    : r+ g, b6 g3 J( j+ a
  1314. ; where data files are stored. Note: Windows users have to change this3 h! V6 p5 N/ l( T% A( T
  1315. ; variable in order to use PHP's session functions.
    " w- l3 o' W* S. K0 i
  1316. ;
    . R( N' {0 N3 C& J
  1317. ; The path can be defined as:
    " i/ ?1 |: h  G0 }, Y
  1318. ;+ M8 G. z% R! x% I
  1319. ;     session.save_path = "N;/path"9 |4 H9 r  t. [# [0 @
  1320. ;
    6 T8 V9 j% F" j- b3 i
  1321. ; where N is an integer.  Instead of storing all the session files in
    ! b% l8 g" ^6 d
  1322. ; /path, what this will do is use subdirectories N-levels deep, and; _- e; E1 u; C  w. a. b) _
  1323. ; store the session data in those directories.  This is useful if
    8 z' ]6 m( h7 A# K- \- X5 l
  1324. ; your OS has problems with many files in one directory, and is
    & \" {, U; @- I0 t/ \# h6 ^
  1325. ; a more efficient layout for servers that handle many sessions.
    . v: f9 p" _( K1 q6 H$ t$ w' v1 T
  1326. ;
    6 X. |8 A9 x2 U# w  o$ r
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    $ ~6 v' E2 ^- ~! d0 [$ D
  1328. ;         You can use the script in the ext/session dir for that purpose.1 j5 u% n, {7 ?6 s9 `) z5 c2 y7 d
  1329. ; NOTE 2: See the section on garbage collection below if you choose to7 J: z* B+ Q) Q6 D# ]6 G
  1330. ;         use subdirectories for session storage
    8 q8 o& d; b* A1 Y4 ]. R- M( s
  1331. ;% M+ |# O" a! l+ [  O" M1 J
  1332. ; The file storage module creates files using mode 600 by default.
    $ p2 d5 _# b# @7 e4 m7 j! O
  1333. ; You can change that by using
    ( `5 k% ?: E3 y% L
  1334. ;. B) {$ L# d* V8 H3 M
  1335. ;     session.save_path = "N;MODE;/path": G; s. Y% f4 K! U9 E
  1336. ;1 f* {# Q# n2 @- M5 a, z* W8 E! D
  1337. ; where MODE is the octal representation of the mode. Note that this
    : c$ V1 g: u# t4 S
  1338. ; does not overwrite the process's umask.
    2 S. b% d/ D  u1 F  Z( E- d
  1339. ; http://php.net/session.save-path6 `" b# Z2 e4 g: y& i" C
  1340. ;session.save_path = "/tmp"
    . ^6 ^, l# x; A; ]2 ?
  1341. ! e2 I1 B# m0 ^; A
  1342. ; Whether to use strict session mode.
    . ~7 t5 w* E& ]
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate- p0 @' V9 s! s7 K) s5 S9 o
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 L: r" F4 S; k6 Y
  1345. ; applications from session fixation via session adoption vulnerability. It is0 U; Q' ?: v0 }0 v. e5 K
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    3 B) _5 M4 R. w3 j6 d
  1347. ; https://wiki.php.net/rfc/strict_sessions) ^. w. X$ _3 m# D3 p! c
  1348. session.use_strict_mode = 03 }$ |, r4 v4 V. f4 `! a2 ~& _

  1349. . I7 z) \6 ~: @' P: |6 f/ @
  1350. ; Whether to use cookies.
    7 k" g6 ~6 D5 }$ v& ]
  1351. ; http://php.net/session.use-cookies
    + `$ q& c9 l2 D
  1352. session.use_cookies = 1& Z4 M* @2 N8 x
  1353. 1 a0 b4 K: b8 X& Y7 |4 ]; ^: M
  1354. ; http://php.net/session.cookie-secure
    4 @' a) x4 S( ^( k2 P8 w  u
  1355. ;session.cookie_secure =
    ' u4 U' x0 ^- G& h& h: `
  1356. 3 U" J" l+ m  r7 z. |* c; L3 w
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    6 _4 Q6 h. _: ?% a. @4 Y) n. B' V
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ ?6 ?: x" @% O- A& Z) a* [# b
  1359. ; session hijacking when not specifying and managing your own session id. It is
    7 q" f  U% K& K4 E$ ?
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.  j( ~& t2 X* C% ^! N6 L6 d8 q
  1361. ; http://php.net/session.use-only-cookies
    . D# Z: `4 |) y# W0 R
  1362. session.use_only_cookies = 1: s# _+ h: w( `% j! b( Y- g/ L

  1363. 7 \: ^, r# l& N, {$ @$ H+ }; b
  1364. ; Name of the session (used as cookie name).- _. C! n0 A; T3 s3 u5 y; j
  1365. ; http://php.net/session.name
    9 s% k( b) B4 v1 ~
  1366. session.name = PHPSESSID1 F  k7 n/ H; W$ h7 b- u2 w) H
  1367. 0 R  C! L+ J! t4 K! w* b  z
  1368. ; Initialize session on request startup.- a* E7 p5 B& \% `/ c  I  y
  1369. ; http://php.net/session.auto-start
    * W8 ]8 W3 ]5 x
  1370. session.auto_start = 02 E6 F8 e# `  a! [' o, H

  1371. 0 y2 ?% [2 Y% O& _: T
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# ]! [0 A+ Z) I( r- \9 [; t
  1373. ; http://php.net/session.cookie-lifetime6 a4 H' j, A- ~& j! F- S0 w
  1374. session.cookie_lifetime = 09 V) L* r0 c: Y7 {% b6 G

  1375. 2 F" m3 z2 ~6 |7 o) n# U9 L
  1376. ; The path for which the cookie is valid.- S- z" Q3 U5 U, J1 r$ p' v- a2 W
  1377. ; http://php.net/session.cookie-path
    : B/ }8 S0 @3 {5 m
  1378. session.cookie_path = /
    + a8 y# e" i: b7 O' E7 Q' O( t+ K

  1379. : M5 W7 l/ z2 T; Y( F
  1380. ; The domain for which the cookie is valid./ M0 ~; y, n- \8 g' L; g
  1381. ; http://php.net/session.cookie-domain
    3 t9 C. E' N1 S+ R& {
  1382. session.cookie_domain =
    , i/ t& k2 E4 e, D2 j6 I- o
  1383. ( v( I+ W' X5 D, [1 ?& s  R
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) O. R* E9 r( y7 f
  1385. ; http://php.net/session.cookie-httponly
    2 |& Q9 ~* |/ Y* h7 l
  1386. session.cookie_httponly =  Y- `& G% q9 W( g7 B
  1387. # V9 U8 i, S% E. m1 B3 [
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.# Z! H8 V5 o9 z' [: y
  1389. ; http://php.net/session.serialize-handler# b" x4 f0 M3 b: \3 z
  1390. session.serialize_handler = php
    4 Y  A  k$ j7 @; s/ U) u
  1391. 2 {' y/ H7 G/ n( _
  1392. ; Defines the probability that the 'garbage collection' process is started
    3 R- f' r& C$ J! `; X
  1393. ; on every session initialization. The probability is calculated by using. f& U( l- p9 k3 t
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator) Q9 R* R$ ?9 O% P% S
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( O8 @& N" r  d9 r" p* z" `6 o, W
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ e0 B& S3 e  x% Q4 T
  1397. ; the gc will run on any give request.
    9 t' o2 k( h# c& U; j
  1398. ; Default Value: 1
    * h- y: }" M0 B9 S. I) ~
  1399. ; Development Value: 1' {, i* c0 t  l6 o2 Z. B2 O$ f
  1400. ; Production Value: 11 d; t/ g0 _1 S
  1401. ; http://php.net/session.gc-probability3 X* m" ^: j- M1 X8 t
  1402. session.gc_probability = 1
    ; ?3 V& K' p& E8 [7 R: L
  1403. : L  B* U; u! d4 f- |) H9 S
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    6 P. {5 m5 |/ g# y4 A
  1405. ; session initialization. The probability is calculated by using the following equation:
    0 u8 x$ n/ n# N* f, q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 r9 n" H" v5 i$ K! b
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; q* E8 B2 ]! V* ^
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % }" J' m: W/ K5 ]2 d) r9 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you) @3 j6 E5 t  ?
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    : I' d* c7 T7 |8 w' ?
  1411. ; this is a more efficient approach.5 w1 K! e5 g0 _6 [; s! m. ^, E
  1412. ; Default Value: 1000 e8 C4 x, O5 l  B4 p
  1413. ; Development Value: 1000" z& ?& C; T' |/ e
  1414. ; Production Value: 1000
    8 d6 ?& V3 \8 s) \5 M( K. l
  1415. ; http://php.net/session.gc-divisor6 D6 [6 p0 d! I. @- `+ I9 B
  1416. session.gc_divisor = 1000% y2 E8 ~  B# }; h; ^. P! W$ Q. _

  1417. 6 |3 G: j7 d7 d6 Z' W/ c
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 l8 d" h3 f/ ?% g+ V6 o  u
  1419. ; cleaned up by the garbage collection process.2 D; F( i3 ~* x: j
  1420. ; http://php.net/session.gc-maxlifetime
    % r! z3 \7 z9 O8 G1 i- o+ j
  1421. session.gc_maxlifetime = 1440
    ' b* j" A% ^! M) O
  1422. ; d$ C& T+ c6 B+ k9 C
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    - c6 D( b' {/ z% ?
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 k' s. H" C6 L9 m
  1425. ;       happen automatically.  You will need to do your own garbage
    0 t* {: M4 \9 z
  1426. ;       collection through a shell script, cron entry, or some other method.% C/ w; s# O+ N: P2 ~) m
  1427. ;       For example, the following script would is the equivalent of8 r" F1 G6 y% y' i6 p/ F" [! J, }" E) V- x
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 [2 l! x: v- R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- q& w+ X4 I1 i7 `4 X2 a& T
  1430. 8 a" o4 \+ p; ^3 @/ k* _
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 r5 {; o+ k1 C% X
  1432. ; HTTP_REFERER has to contain this substring for the session to be: l- A- o: O% K
  1433. ; considered as valid.2 F& r- `3 i- g( ~
  1434. ; http://php.net/session.referer-check
    * O- t& i' G& t4 [# [' ~/ b  u1 x
  1435. session.referer_check =6 k1 n# L* j: D8 |2 R# _5 [

  1436. 7 N2 L5 D+ P; T8 O4 \$ l
  1437. ; How many bytes to read from the file.3 o& c0 t' w* \9 C0 H( p
  1438. ; http://php.net/session.entropy-length
    * c5 `" [8 q" K* x9 F& {1 e7 Z. @
  1439. ;session.entropy_length = 32
    4 ^' N: }' {9 v$ m' g- X  t- V

  1440. - Z! v$ E) a! D/ p
  1441. ; Specified here to create the session id.
    ! T9 ~) a1 q. u& u7 u" T
  1442. ; http://php.net/session.entropy-file
    ' e4 v" a; ^# B5 B; i7 p; E" _
  1443. ; Defaults to /dev/urandom! B  P, W  r4 e
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - V) r% |' f0 L+ [3 ]9 f! u( B
  1445. ; If neither are found at compile time, the default is no entropy file.% g# I- _2 {! k# j5 Q7 H$ m
  1446. ; On windows, setting the entropy_length setting will activate the
    / }* o/ S% K# j1 U
  1447. ; Windows random source (using the CryptoAPI)5 r5 I! g9 C1 `- L
  1448. ;session.entropy_file = /dev/urandom
    7 R2 L) q( v- J& f
  1449. " S. V: d# C0 ^
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects, i8 g, j0 M: Q1 x' E) U* P# }
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 j% s( |. V5 Z  \5 E) t
  1452. ; http://php.net/session.cache-limiter- F, W0 H+ P# r5 A
  1453. session.cache_limiter = nocache; r" I& j* v  ~8 c# T: m
  1454. # M5 s1 p8 d7 r& K4 ?) k7 }) U
  1455. ; Document expires after n minutes.8 O/ L- K# [0 q2 u2 T
  1456. ; http://php.net/session.cache-expire
      U9 N/ P8 c( ^+ R7 Z, V8 ~
  1457. session.cache_expire = 180" n* z7 {* r" j. g

  1458. 9 n- W; Y$ ^8 @8 B
  1459. ; trans sid support is disabled by default./ P' L) a0 [. L1 W. }
  1460. ; Use of trans sid may risk your users' security.# e7 h0 A3 e. k/ O" @3 h* x
  1461. ; Use this option with caution.
    % P" K# j. X- O9 t# G- P
  1462. ; - User may send URL contains active session ID
    & L: s' p8 M( W- l
  1463. ;   to other person via. email/irc/etc.+ q1 ~1 c6 H+ ^# g( F
  1464. ; - URL that contains active session ID may be stored
    " U1 g, `' D# }2 q  k
  1465. ;   in publicly accessible computer.0 v5 j% h$ U7 _; W2 Y! p
  1466. ; - User may access your site with the same session ID3 B9 s0 O: C$ Q4 I7 G( ]1 i
  1467. ;   always using URL stored in browser's history or bookmarks.7 p+ I0 O8 O3 ~. t/ T
  1468. ; http://php.net/session.use-trans-sid  r, t. i9 E' Z# `4 a& q" B
  1469. session.use_trans_sid = 0
    ! @) n6 d  o3 m" Y" F

  1470. # y7 ~, o* M% p4 l5 Y( w) _
  1471. ; Select a hash function for use in generating session ids.
    / Z" F( s1 s  K1 r+ W& L$ U9 f
  1472. ; Possible Values
    % r; X) [, h' X3 l' S! C
  1473. ;   0  (MD5 128 bits): d* C# F+ X) h- H8 s9 W8 C
  1474. ;   1  (SHA-1 160 bits); W9 T& A  H1 K* i0 b( ~" x
  1475. ; This option may also be set to the name of any hash function supported by
    * y4 k  R" p, f8 t- w+ o1 M
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()" w: W1 h! h6 J8 ]+ P
  1477. ; function.0 z8 U4 z( c/ `  I- h
  1478. ; http://php.net/session.hash-function1 ]1 {  s/ L. v, j
  1479. session.hash_function = 0
    * q4 f3 s1 B& q5 K! H

  1480. % ~6 P8 X* P' ]% x& k& @
  1481. ; Define how many bits are stored in each character when converting! j! g6 {  a+ @3 g% K7 \
  1482. ; the binary hash data to something readable.& s/ f$ L2 z: o  \6 P' w8 r* a
  1483. ; Possible values:
    $ c/ c4 w/ A2 j* U7 h! H
  1484. ;   4  (4 bits: 0-9, a-f)5 ~0 u" E- j7 K- B& b: J
  1485. ;   5  (5 bits: 0-9, a-v)% O8 }( ^$ I: A! ^0 _, u3 h4 B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    3 v' Q3 i( v% C# n
  1487. ; Default Value: 45 I5 |4 C/ l8 r: |  ~
  1488. ; Development Value: 5
    4 l5 s9 U# A# P" D: [
  1489. ; Production Value: 5
    " Q3 E" i) H% x
  1490. ; http://php.net/session.hash-bits-per-character
    2 j; h/ r8 N) B( ^& I3 C3 @
  1491. session.hash_bits_per_character = 5
    / M" `, d' j- ^$ K3 V/ e' q. x- ^
  1492. 7 Q5 s' F# i/ j# C8 Y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ ~$ i6 v6 A1 H* I
  1494. ; form/fieldset are special; if you include them here, the rewriter will; e/ ~1 O" @( I8 h/ X8 A
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : d+ s( w" c6 f( Q2 c& h6 Q
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    : t- a8 |# q$ g5 V1 @4 ~
  1497. ; Note that all valid entries require a "=", even if no value follows.$ g3 t0 r; D2 n" L4 |/ \  w
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- g; {' b  D. _. s: N' {
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 o* {% f' @% u) P! k, E
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 b7 P! b' r# u2 i
  1501. ; http://php.net/url-rewriter.tags9 l' b/ l. v% F# O: c3 o3 `& v( f( V
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 P: D& o& H/ J. K. n, O3 x
  1503. ( t% E) x, u' `  b3 E
  1504. ; Enable upload progress tracking in $_SESSION! w% u0 Z7 |0 {  q5 \+ }
  1505. ; Default Value: On
    1 g6 x/ y5 t, t+ n# \$ s
  1506. ; Development Value: On
    . k# [/ _! l" R/ R
  1507. ; Production Value: On  N( ^% C" D5 u8 I; O! }: d7 T
  1508. ; http://php.net/session.upload-progress.enabled8 j3 W: c, a' v6 U2 @* v7 F, Z7 q( p
  1509. ;session.upload_progress.enabled = On# R6 U- M4 _" m# q3 }

  1510. % a- B, b) G. z$ x6 x1 ]
  1511. ; Cleanup the progress information as soon as all POST data has been read) B9 t! a0 v% u- g
  1512. ; (i.e. upload completed).
    0 s7 r* N; d' Y2 P6 A
  1513. ; Default Value: On
    . G5 L. t$ b' W5 ^
  1514. ; Development Value: On
    % q! l0 h1 \" ~! e- X6 u/ a3 _
  1515. ; Production Value: On
    % \+ `4 i( |- T# c* [3 o
  1516. ; http://php.net/session.upload-progress.cleanup  S# T, k; F  Y* T5 U
  1517. ;session.upload_progress.cleanup = On$ G. D5 b& s+ [' b5 t4 z

  1518. , X! ~' h% x8 R$ [0 J4 `
  1519. ; A prefix used for the upload progress key in $_SESSION6 Y# ]  J/ r) m/ j
  1520. ; Default Value: "upload_progress_"
      Z/ E! g& ]. X# T% I
  1521. ; Development Value: "upload_progress_"& c5 c6 s3 E& H5 A% `! s, y
  1522. ; Production Value: "upload_progress_"
    # M0 Y% ^5 b  \! G" s
  1523. ; http://php.net/session.upload-progress.prefix3 }7 t3 H$ T2 L# K1 y
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . h9 Z  L- q/ {% a) h, J2 u
  1525. . s+ c. ~5 @, v- }6 r4 r* U/ f( a
  1526. ; The index name (concatenated with the prefix) in $_SESSION8 {$ t  C3 l# ~6 H5 t
  1527. ; containing the upload progress information
    , m  [7 p" j5 U* C+ O' c) H6 l% U( e: L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 I5 O+ |% o9 Z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"! T9 A* Q9 ]$ o4 J8 I3 ?- y
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& K. Y0 z) o$ {* a" }
  1531. ; http://php.net/session.upload-progress.name
    1 ^- k2 Z% c1 G  U4 \8 g
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * O! v7 Q! b+ m9 d

  1533. ( E  |/ i3 C/ p
  1534. ; How frequently the upload progress should be updated.3 P- d, y  }! {
  1535. ; Given either in percentages (per-file), or in bytes. g% V( E0 H+ m, A* B- }
  1536. ; Default Value: "1%"
    ' D1 B$ }. {( B& O9 N$ {7 }  F
  1537. ; Development Value: "1%"
    7 O- K+ a& R" h- X
  1538. ; Production Value: "1%"
    & B5 S; D8 R  T3 P  i) W. V* V; _- j
  1539. ; http://php.net/session.upload-progress.freq
    0 ~3 F; O2 e# c% T" b9 `6 m
  1540. ;session.upload_progress.freq =  "1%"
      @2 {% Z. M/ I& V4 Z

  1541. 7 p2 F1 @) p) }+ n/ ^
  1542. ; The minimum delay between updates, in seconds
    ( h6 U3 n; l* s& _0 a$ u3 t
  1543. ; Default Value: 14 t$ Y- v- b' l
  1544. ; Development Value: 1
    & J3 j& u6 b4 H& K
  1545. ; Production Value: 1- Y3 m: E0 j4 D* G3 n8 h
  1546. ; http://php.net/session.upload-progress.min-freq0 {+ E1 C+ d+ q: D4 i( N
  1547. ;session.upload_progress.min_freq = "1"
    8 S; B. ^2 X: f1 p# x1 B
  1548. 2 [; d8 ]6 a$ }* p7 Q8 h8 R" \" p# U
  1549. ; Only write session data when session data is changed. Enabled by default.
    5 p1 z. B, i) R4 {
  1550. ; http://php.net/session.lazy-write
    0 y5 W- @% i* s# t7 }4 j. A  M
  1551. ;session.lazy_write = On- z9 j" U/ z& @# Q- f- G* S3 P

  1552. ' h+ n5 w) D/ H/ s6 |+ D
  1553. [Assertion]9 _* W  I) f- R0 v% K! G
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ) K9 Z6 a2 ]6 q" e' C+ `2 T! N  D
  1555. ; -1: Do not compile at all
    ) K* b' A! p- q0 P/ t. m7 k0 ^5 N( ~
  1556. ;  0: Jump over assertion at run-time; x) ]$ D! b1 b7 x
  1557. ;  1: Execute assertions, G; z  g& t0 L4 z) A: X3 I
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    - p# F' R# T& O/ n
  1559. ; Default Value: 1
    ) Z! r* _- [, i+ W7 G. Z
  1560. ; Development Value: 1+ c$ e" ~" O, `) W  J) Y3 V
  1561. ; Production Value: -1
    * d( l) L0 s) i- k
  1562. ; http://php.net/zend.assertions
    & w; `3 P8 d$ [/ Q% F  ]
  1563. zend.assertions = -1
    % E8 o6 _$ x& i' z

  1564. + R5 J# u% Z- X& z4 v
  1565. ; Assert(expr); active by default.
    & v* F9 }4 H/ z! ~- w) N- A0 N" A
  1566. ; http://php.net/assert.active
    2 B# g, H" j8 u, _" ~3 Q  z
  1567. ;assert.active = On
    & O% T7 x7 C! c7 x/ V% V1 Q1 f" h7 H  f
  1568. - v( O4 G0 d7 I! M
  1569. ; Throw an AssertationException on failed assertions
    ; f: S% q2 b# C( Z3 }
  1570. ; http://php.net/assert.exception9 {. @. D; P* \5 ^
  1571. ;assert.exception = On
    $ J9 K; c% x# Z/ a1 ^2 g+ C# }

  1572. ( x! s$ F- f4 n0 u, h! g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active); z0 G6 m8 T) G* ?; e5 p" |, O
  1574. ; http://php.net/assert.warning2 e! j, l8 `! u" Y' S7 u
  1575. ;assert.warning = On
    & e- C7 o+ i* r( r* @! n

  1576. 8 D! m$ f) I5 k& r" e
  1577. ; Don't bail out by default.* s3 O) y; q2 x5 A) S
  1578. ; http://php.net/assert.bail& B" @& ~' e& r/ d6 }2 s
  1579. ;assert.bail = Off: @0 d) `7 U" F5 z# M" q/ l2 h
  1580. 9 x: {- g/ C  ~( i% I$ }5 r
  1581. ; User-function to be called if an assertion fails.5 j; G6 P; U# u/ [2 n
  1582. ; http://php.net/assert.callback8 X, T. O4 o0 x! f% L
  1583. ;assert.callback = 0
    5 c1 n2 J. ~/ g& n. }

  1584. 0 ]( U" O5 j& y9 ]9 m5 o
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ' \4 b$ y4 B. J3 P+ e6 ?! c
  1586. ; error_reporting(0) around the eval().
    * `: b& p/ u9 z3 @
  1587. ; http://php.net/assert.quiet-eval& n! Q, @* V$ u6 Z! ?# y
  1588. ;assert.quiet_eval = 0
    # \$ P7 F7 }7 O# F* G- f) r
  1589. & ^+ d* @2 y/ B- n$ b
  1590. [COM]
    6 T+ O  T2 V" E2 g6 X
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; I  L6 `: B! i- m3 W
  1592. ; http://php.net/com.typelib-file$ A9 ?* s2 Z8 D% {+ l5 l
  1593. ;com.typelib_file =
    * c# z/ ]( C1 l1 B4 @2 B9 W( Y

  1594. # j* W: t% A* U1 q- ]. b
  1595. ; allow Distributed-COM calls
    ' ]. M5 F( Y, `  i3 J# r/ D
  1596. ; http://php.net/com.allow-dcom
    $ q1 G+ p5 i. j. k6 u; g7 O: q+ L
  1597. ;com.allow_dcom = true! `/ S7 W, g( \
  1598. ! A5 s% }# [& Z) s6 Y$ {- p- {
  1599. ; autoregister constants of a components typlib on com_load()
    / a& }" O- E+ W/ @( j1 a
  1600. ; http://php.net/com.autoregister-typelib
    9 o) L) V1 M4 ]/ o
  1601. ;com.autoregister_typelib = true
    2 Z* C5 D& h" y7 r2 ]7 s2 E7 T

  1602. 5 l$ Q) S& X7 K0 X, e; V
  1603. ; register constants casesensitive
    % L" p1 m8 \  L3 [! C$ Y- t7 a
  1604. ; http://php.net/com.autoregister-casesensitive
    ! N# h0 r) m% I& `  ^
  1605. ;com.autoregister_casesensitive = false; }5 ?9 C% e% C) }6 b7 `4 \

  1606. ; X7 v. _) k) n7 `* p
  1607. ; show warnings on duplicate constant registrations
    ; M  H& Q! E9 y3 p
  1608. ; http://php.net/com.autoregister-verbose* {; l( W0 F4 b" {3 u
  1609. ;com.autoregister_verbose = true
    " H3 i# x0 b- s% M2 j$ h
  1610. . D6 ?  ]* F& Q! ^5 g8 r0 M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    : T0 P+ C* X9 _6 U& [
  1612. ; Default: system ANSI code page
    8 `4 t0 u; Z. z9 {
  1613. ;com.code_page=% K# t* y/ ^$ D+ L& {
  1614. & [5 X- U; R% |) [6 f& c+ Z
  1615. [mbstring]
    : f1 N) l' G# h5 H  ?7 B4 E/ ?% b
  1616. ; language for internal character representation.
    " h* W$ z7 A3 r5 _
  1617. ; This affects mb_send_mail() and mbstring.detect_order.. q# _9 X1 c5 c; |1 w
  1618. ; http://php.net/mbstring.language
    5 E6 A) a" J/ ~1 ?/ y( g; R
  1619. ;mbstring.language = Japanese
    ( X- ^" R$ M0 v: B; `' k

  1620. ! S& k. ~9 x: G0 e) j& Y6 W& L0 l
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " _6 \: `" B9 @
  1622. ; internal/script encoding.
    ; X( u' o4 o- o9 V* V' N/ ^
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ r( B- c( C; e4 q
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- H- E  H' F: ~# Z" G- {- W% |
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 \* U6 O2 q5 g) A3 n  \9 O) D
  1626. ;mbstring.internal_encoding =. {# @+ Q/ s8 x3 H
  1627. % @2 G8 U) N# k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . f+ B" z- d2 O. ]  W& a) \
  1629. ; http input encoding.
    # I* D8 H$ u+ t* X1 w
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.( q, A* j9 K# H" Q- O' L
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / q$ m6 e5 A* q% x" y1 D
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    / G5 A% w5 n' E2 J% ~% u$ ?  V4 h- k% t
  1633. ; http://php.net/mbstring.http-input
    " m  G" f/ s4 X) u9 M
  1634. ;mbstring.http_input =
    & q; W, `' a, E* r! f

  1635. 0 z4 a+ q7 {2 T; j8 Q# l
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.1 g! ~- T5 K" ?
  1637. ; http output encoding.1 o, x4 d5 Y- z- O7 P) P
  1638. ; mb_output_handler must be registered as output buffer to function.7 F* O. B1 b$ d  ]
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 ~% {4 R9 Q" D9 b& s3 V/ s
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    1 Z$ y, W& W& p- v
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    . ?3 ?/ y) A9 G: O. ^; U+ K
  1642. ; otherwise output encoding conversion cannot be performed.' E& u" h/ [: I" Q
  1643. ; http://php.net/mbstring.http-output
    - d2 `9 g8 a& F4 i& T1 ^& l
  1644. ;mbstring.http_output =; p4 }+ ~: ?7 g9 F

  1645. ) ?$ s; j' `" ?' Q" X4 v! l5 J
  1646. ; enable automatic encoding translation according to
    9 T" U9 D1 }) R0 j+ F" C5 e
  1647. ; mbstring.internal_encoding setting. Input chars are- p3 J- }+ I& z2 E+ B5 \  r2 @
  1648. ; converted to internal encoding by setting this to On.# o  Y% g2 L1 s- s5 k
  1649. ; Note: Do _not_ use automatic encoding translation for# U4 t, n9 f1 P) q& ]
  1650. ;       portable libs/applications.  G9 M7 B: g+ `+ r- G/ D0 D! \4 O
  1651. ; http://php.net/mbstring.encoding-translation) F: j' c9 \2 ?  r
  1652. ;mbstring.encoding_translation = Off$ }3 }8 y, w6 m- `( e: Q3 T

  1653. ' _, L, \. X  B/ q
  1654. ; automatic encoding detection order.
    & ?2 ?* d/ p# L$ [) t
  1655. ; "auto" detect order is changed according to mbstring.language9 |  e) a0 B0 q9 @; g+ P4 }
  1656. ; http://php.net/mbstring.detect-order
    4 Z) H  o' |5 n3 v6 o/ p% l
  1657. ;mbstring.detect_order = auto
    % @+ n. ~5 [  N% V/ t( }
  1658. " P* c3 \, Y; G. f$ R
  1659. ; substitute_character used when character cannot be converted
    ' f3 q( a( L4 O# z0 V9 g+ B
  1660. ; one from another" X& P1 U$ i( u& [6 O* W
  1661. ; http://php.net/mbstring.substitute-character
    + C; f1 [- @# P# w; T# Z
  1662. ;mbstring.substitute_character = none- R/ I1 j3 O' V3 z/ o' X

  1663. # p! p6 B: h4 ~
  1664. ; overload(replace) single byte functions by mbstring functions.
    1 h" ?6 |$ ~% f, J# d
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," o7 b" m! b' u/ Y% `3 q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.7 I1 N. L+ [+ d8 d6 |
  1667. ; For example, 7 for overload everything.4 d# a" V8 f; S) Q4 e) t" Z& v
  1668. ; 0: No overload: O/ r2 t" s6 W4 M/ [
  1669. ; 1: Overload mail() function
    * R& M( R9 [; b0 x' K2 D
  1670. ; 2: Overload str*() functions
    ( }' \4 q, p# D* p0 i6 q
  1671. ; 4: Overload ereg*() functions" i& E2 s+ y" Z* N' H, p7 c- ]
  1672. ; http://php.net/mbstring.func-overload$ O1 V4 T& ~8 [0 `( E0 r8 s% _8 v
  1673. ;mbstring.func_overload = 0" E( J% V$ C( i& P& l+ @! |/ n
  1674. $ v, V% A' b5 h2 A# d& Z
  1675. ; enable strict encoding detection.
    ( R1 _' h4 q4 V5 s8 K4 `
  1676. ; Default: Off
    $ k; w. o6 [4 E; H1 _, T" J
  1677. ;mbstring.strict_detection = On# s# _$ H7 F# r8 _
  1678. ( F9 C+ q8 R! Y1 n
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()- l1 {3 K! U: B
  1680. ; is activated.) q# W/ y& V: A/ d- F; c4 l
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)6 h3 \4 w0 @" a, z2 i' H4 Q. t
  1682. ;mbstring.http_output_conv_mimetype=) ~+ J, @! L7 H; q: X, K$ j

  1683. 0 e: g. B0 [; E  T! q
  1684. [gd]# C( _* m: z- K0 |1 {$ e7 \9 ^$ t/ e
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    0 y  ?+ G) H* R9 x
  1686. ; a gd image. The warning will then be displayed as notices
    ) z3 C" ~) H, K
  1687. ; disabled by default
    2 ^3 Q3 R+ [  s. z1 \. P
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( ]0 M) x! y+ l/ D& r( x/ j
  1689. ;gd.jpeg_ignore_warning = 0( L! E' u& o, E1 I
  1690. + M) V6 [0 p$ m: Y$ V' U
  1691. [exif]
    + N3 N+ t- J5 V) p4 K3 K9 M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; w; V5 h2 v9 X( f2 F/ }& g, o  P
  1693. ; With mbstring support this will automatically be converted into the encoding/ T/ j' G$ g: F) C! }" N9 |: r# b
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 R5 I% ]' ^4 y( E. F
  1695. ; is used. For the decode settings you can distinguish between motorola and# K+ v. f! k# F
  1696. ; intel byte order. A decode setting cannot be empty.( Z7 J) S4 D9 E* j
  1697. ; http://php.net/exif.encode-unicode7 t* `2 S& W* }6 f8 l* T5 ]; ?
  1698. ;exif.encode_unicode = ISO-8859-15
    3 F% U& l. h1 w+ J) b( ]

  1699. 7 f1 {+ [" w/ X2 \7 B9 E
  1700. ; http://php.net/exif.decode-unicode-motorola
    5 Z& Z% b. S1 G% g7 ^
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    # ^8 o" o: b3 Y
  1702. . z0 e! E4 `* X# `
  1703. ; http://php.net/exif.decode-unicode-intel3 q8 q5 ^2 c6 ^  A- U
  1704. ;exif.decode_unicode_intel    = UCS-2LE
      j/ T- `, [& d7 I9 b

  1705. 4 Q9 q" P* k* y' u& g
  1706. ; http://php.net/exif.encode-jis
    2 q% E! a- z* s  l
  1707. ;exif.encode_jis =
    0 r: p+ h( z4 y. V5 c, \
  1708. 2 p0 C! Q& _% w8 h3 h3 A8 e+ D% ]
  1709. ; http://php.net/exif.decode-jis-motorola1 g! b. S/ ]9 C- g  S$ {5 i
  1710. ;exif.decode_jis_motorola = JIS
    : ?5 o+ H# N8 @
  1711. - D* m$ C9 i4 M- m- a
  1712. ; http://php.net/exif.decode-jis-intel+ {$ ^& Y' y- V* u9 y( D
  1713. ;exif.decode_jis_intel    = JIS
    # i4 W9 b  q; C6 N8 b  k* k
  1714. - i9 Y* R2 f3 _  G
  1715. [Tidy]7 _; n: N/ i' _- j
  1716. ; The path to a default tidy configuration file to use when using tidy) A2 u4 N& F. J- V  `$ X
  1717. ; http://php.net/tidy.default-config' O" Y4 k  _# i2 R% s; O
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg  i/ `$ f1 C8 D4 l3 I' p
  1719. 8 R5 q8 g% x  t4 T+ N# C' K1 K; C
  1720. ; Should tidy clean and repair output automatically?% B  ^" [! I' G; U) B& H
  1721. ; WARNING: Do not use this option if you are generating non-html content6 p! V5 P0 I1 @: _5 N8 w( {
  1722. ; such as dynamic images. Z' w/ |3 \- ]; Q1 D
  1723. ; http://php.net/tidy.clean-output% r4 ~8 H9 |3 B! ]4 F
  1724. tidy.clean_output = Off
    " I  {( Y. Q( n

  1725. : v% h4 t5 F8 o& n
  1726. [soap]
    4 {7 _: U% q- X0 w6 b
  1727. ; Enables or disables WSDL caching feature.. u8 @4 z, a- ]: v& P
  1728. ; http://php.net/soap.wsdl-cache-enabled# P, C$ K- e' F7 h6 t) U8 Y3 O
  1729. soap.wsdl_cache_enabled=18 ^4 u7 Y# ]6 n% y# L' a

  1730. # m2 y0 \4 d5 U) O/ n! ^
  1731. ; Sets the directory name where SOAP extension will put cache files.7 w% L; }7 \8 U: |4 t7 b
  1732. ; http://php.net/soap.wsdl-cache-dir- R8 d, ^7 D6 I5 P
  1733. soap.wsdl_cache_dir="/tmp"# N% T, M1 M  O* a+ Y# Z" i* t& C

  1734. ' @1 k5 w( r% I- w
  1735. ; (time to live) Sets the number of second while cached file will be used2 {& i. A, P% l
  1736. ; instead of original one.( v8 q2 e' X: x, a) a
  1737. ; http://php.net/soap.wsdl-cache-ttl
    $ Z- D7 H% Z) l: h. g$ M
  1738. soap.wsdl_cache_ttl=86400, H! c5 f) `; h! N

  1739. 6 [, l: _6 Y6 ^- d( h. ]
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! B- L( n$ R% j# J
  1741. soap.wsdl_cache_limit = 5
    ) T) `, ?1 k, N2 V- P" q8 k

  1742. ; g2 A2 ~; u* N$ a+ W6 a
  1743. [sysvshm]/ a7 L, h% G. W/ ?9 e( h. X5 a+ r
  1744. ; A default size of the shared memory segment
    0 ~* H4 `" z2 K2 C- `9 P) g- h8 S
  1745. ;sysvshm.init_mem = 10000; D" F8 Y1 h8 b) d8 L- [0 ^
  1746. + T) H* m3 @5 d: F+ M9 r( \) y7 O: g
  1747. [ldap]
    , A7 h. R$ c4 ]! f# U6 C; K) t0 v& Q
  1748. ; Sets the maximum number of open links or -1 for unlimited.) }- K. g" c( D) d8 H% i8 @% U
  1749. ldap.max_links = -1
    6 t! z( H2 r. m1 \7 x3 k

  1750. ! y/ |# ~$ s0 h5 r2 G8 q! I
  1751. [mcrypt]
    8 m8 d' M* [% F# j
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 m" v+ Z) q9 N1 `& E: b

  1753. # I5 J) W( R! K
  1754. ; Directory where to load mcrypt algorithms4 U% P5 T  }) W6 _6 H( M. W7 B5 B
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * k1 ^: e1 Z3 r) x
  1756. ;mcrypt.algorithms_dir=
      H" ~% }% z8 k
  1757. & u& E, u& s: B) b8 P
  1758. ; Directory where to load mcrypt modes& w/ F% y; O0 T8 F4 ]
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / C* N# c9 Q9 Z: f4 Q
  1760. ;mcrypt.modes_dir=
    9 c8 E5 j, e+ w- n0 s: U

  1761. 0 N" ?3 J" f# X. m" R
  1762. [dba]6 t8 ^1 Z( u: [5 w2 Q
  1763. ;dba.default_handler=
    0 A/ v9 B. C: L+ W- {

  1764. % _5 R' c) V) H) ~( }) O3 w% l
  1765. [opcache]
    1 m5 i- T2 @$ h% D8 W
  1766. ; Determines if Zend OPCache is enabled9 _2 K; Z7 c1 y3 ^8 o' Y: Q
  1767. ;opcache.enable=0/ r8 ]& `' h7 I; ^; p; A: E% |

  1768. ; L) I7 ]' i' k, e5 }; l0 V" b% S
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : Q0 X$ l# G' \: u/ r4 ^/ M
  1770. ;opcache.enable_cli=03 S$ {8 H7 _7 Y8 |
  1771. ( [8 M$ g" |+ k: l
  1772. ; The OPcache shared memory storage size." {, n: `  x! P3 m* Z4 Z! X; d5 l
  1773. ;opcache.memory_consumption=64
    / h/ t9 ]9 I3 ?" n3 k

  1774. 5 T7 H8 w% I0 `0 C7 [
  1775. ; The amount of memory for interned strings in Mbytes.1 c7 z1 d4 _& m
  1776. ;opcache.interned_strings_buffer=4
    2 @4 ~6 y: C$ f5 R! l+ s$ J2 B
  1777. 9 ~* U- B+ c6 Q. a3 h. H% O0 r: h
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.. r" n  Q/ o) `! s
  1779. ; Only numbers between 200 and 1000000 are allowed.
    & d  a  t5 h0 R
  1780. ;opcache.max_accelerated_files=2000' {  u4 J, y& P, Q6 G# t

  1781. 8 }0 u2 J+ m* p2 ~
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    % o1 ]" C! E; ^7 I
  1783. ;opcache.max_wasted_percentage=5
    9 O+ j/ M% A5 h/ d  T0 C6 }

  1784. ! k$ z! F! P4 d* H
  1785. ; When this directive is enabled, the OPcache appends the current working% {' Z6 Y& s  _
  1786. ; directory to the script key, thus eliminating possible collisions between
    + y  ]) D8 I/ M& v  ~" \, N/ f% m
  1787. ; files with the same name (basename). Disabling the directive improves  O  Y* P. }' \9 F+ i8 \' T
  1788. ; performance, but may break existing applications.
    5 J1 n3 c% ]2 R* K
  1789. ;opcache.use_cwd=1
      k: I3 I# P5 |/ J, j# d3 e5 p& C
  1790. . O: K) k( C9 x" O2 |3 P$ p9 B2 ~
  1791. ; When disabled, you must reset the OPcache manually or restart the
    8 a8 B( i: o1 A: `
  1792. ; webserver for changes to the filesystem to take effect.$ B/ j8 B* n" q
  1793. ;opcache.validate_timestamps=1
    ) n! c- P; N2 _1 A- y. G: n
  1794. , {( l8 n; {* c2 f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared* C! F& [3 U$ J6 L
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    / H$ ?1 {' _+ Q6 i+ T9 u4 c1 P
  1797. ; once per request. "0" means always validate)
    5 g& m7 G" `! y8 g
  1798. ;opcache.revalidate_freq=2
    & y4 F3 y8 i/ a0 l. R: _. Y

  1799. ; Z. w, T- g% x! I: G
  1800. ; Enables or disables file search in include_path optimization$ l" W1 `0 h' W- c9 s5 J
  1801. ;opcache.revalidate_path=0
    : q3 ^: I( q4 A# d  `7 ^$ ?8 H
  1802.   b6 x; a, t2 h0 U" i0 S7 D
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 L: _  M7 V5 }( A
  1804. ; size of the optimized code.
    9 c7 s; z( b8 C' n( ?; N8 a+ s5 t
  1805. ;opcache.save_comments=1& }0 h* E( @, t1 b
  1806. : h+ K$ v1 n: {7 l; d2 V6 z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ) i( c1 b0 k8 s2 ^7 [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    0 X7 F2 z6 y! X5 m
  1809. ;opcache.fast_shutdown=05 J3 S) d) \$ m# ?" M8 H
  1810. 2 R! Q( x! P7 b1 p2 |" Z3 I: X7 X
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    9 Z+ y" W# ^0 V6 t) C# b# ^
  1812. ;opcache.enable_file_override=03 {! D# |& |* \; ^& e: [6 j

  1813. * ~& F* W" e: I, t$ k5 e  l+ ^
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , t% o. c  ?5 i. P8 a/ |+ B# y
  1815. ; passes
    + p) ~* P& {0 F: z( M) G3 |+ [
  1816. ;opcache.optimization_level=0xffffffff
    1 P0 H: d0 O$ |; V
  1817. 5 X/ ~% ~2 A8 g; ^9 `% u
  1818. ;opcache.inherited_hack=19 X$ r: r' p# ^+ z
  1819. ;opcache.dups_fix=0% v& o8 n; `/ c  _5 o

  1820. * x+ o; r6 i2 V$ K1 D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    / f4 K7 B- `( ~8 _( D2 d6 b
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    8 Z! y% a. M3 f9 y8 ~
  1823. ; that should not be accelerated. The file format is to add each filename5 e8 V( H# {, v7 ?! s; e0 [" `8 c
  1824. ; to a new line. The filename may be a full path or just a file prefix
    7 ?/ I% ?0 x: _# ^2 E/ @
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www: M: r& B. C; V: I3 Y, L
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).+ L& @7 f7 T% F) t
  1827. ;opcache.blacklist_filename=
    : x" o/ Y" h7 y, u% \+ i
  1828. . _! q' s" O% p( _' W
  1829. ; Allows exclusion of large files from being cached. By default all files
    0 w7 ?, X$ w" J* I& z
  1830. ; are cached.
    2 a, v# V+ Q/ g% _$ c" M% A
  1831. ;opcache.max_file_size=0
    $ U5 S# }7 m8 A+ M5 w) h

  1832. 7 X3 p" C1 N4 W7 y
  1833. ; Check the cache checksum each N requests.
    , D6 V  r( e& ^% V: ?: G
  1834. ; The default value of "0" means that the checks are disabled.
    * r+ U! K( [4 e. ^$ ]1 n: [6 [* I
  1835. ;opcache.consistency_checks=0
    9 G7 l& \3 p* ~! e3 C
  1836. : ~  }* c+ J* s( E- T, v8 t
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache% Z: w9 V& {0 g5 g( B  l' z# n
  1838. ; is not being accessed.
    8 Z0 }' ^! h8 M( c
  1839. ;opcache.force_restart_timeout=180
    9 m$ M/ V' E8 p+ \5 l5 f
  1840. , U9 B) l! ~. E* Q$ A; E
  1841. ; OPcache error_log file name. Empty string assumes "stderr".* l1 u5 @9 Q4 J: o  c
  1842. ;opcache.error_log=
    ) B) E# R) W( L: X8 _5 }1 B
  1843. 5 x8 ^6 e- H# z6 g
  1844. ; All OPcache errors go to the Web server log.
    3 q2 i2 k% p4 j5 w
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.4 I1 m9 t- C) c( U6 ~, T
  1846. ; You can also enable warnings (level 2), info messages (level 3) or4 r8 M- v8 w, m$ a
  1847. ; debug messages (level 4).# v& D. e$ j& h7 f9 W' ]
  1848. ;opcache.log_verbosity_level=14 i7 {4 Y. x* V- f' _* E8 k/ h

  1849. * @$ m% l7 H4 O6 p4 s! _
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " w  m7 Z- f  x, @1 m4 ]: T7 k
  1851. ;opcache.preferred_memory_model=
    1 e, Y6 K9 l" z0 k) R

  1852. . d' C2 O; X6 b9 V7 C. b
  1853. ; Protect the shared memory from unexpected writing during script execution.
    0 b5 h- ?+ n  }! C8 S$ e
  1854. ; Useful for internal debugging only.
    / D4 n7 K) o$ @; J, o# j0 A) R
  1855. ;opcache.protect_memory=02 l% X; r, g' f" Z. d' a. {

  1856. % W! m+ H: A$ q: e) M
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is1 l6 R# I: i: I
  1858. ; started from specified string. The default "" means no restriction
    & [2 y  t0 T7 }1 l2 F
  1859. ;opcache.restrict_api=
    . C& [* D5 \* G3 g& C' [

  1860. / m$ Y* V4 S" L: U$ s0 O
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP( ]( V5 L3 w" A4 p
  1862. ; processes have to map shared memory into the same address space. This+ B. _% _  ]( q& a: V+ g
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! b/ N4 m" ]* T! q1 C- l
  1864. ; errors.0 L5 B) s. \5 `% b( T  g* H( S
  1865. ;opcache.mmap_base=
    $ ^1 D: w  C) J
  1866. , S7 S2 r% C7 {. U
  1867. ; Enables and sets the second level cache directory.  C3 R5 {, }! {! o3 f" q
  1868. ; It should improve performance when SHM memory is full, at server restart or
    / ~2 [% X4 u4 [7 Y$ [" b4 c; g& N
  1869. ; SHM reset. The default "" disables file based caching.& V) |) K- m8 k8 h( j
  1870. ;opcache.file_cache=5 m7 G3 v" T! c/ N; k, Z

  1871. # u8 P$ L0 o* H7 A+ w7 |8 A
  1872. ; Enables or disables opcode caching in shared memory.+ `6 T6 _- G1 U
  1873. ;opcache.file_cache_only=0
    5 [7 x8 K, x/ ~) m

  1874. ' B; Y. k0 N. d+ W: x5 Y/ f
  1875. ; Enables or disables checksum validation when script loaded from file cache.; I5 ]  I' g* _# F. ^5 ^1 d% O
  1876. ;opcache.file_cache_consistency_checks=16 I5 ~1 ?: f! [, R% h7 \- o
  1877. # h4 R% q# c+ x# X0 Z0 b
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    3 S: i% `9 f+ i  j. [
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    6 h; I/ O# b# G; s) n2 ^+ P
  1880. ; cache is required.
    6 F! E& Q+ \& Q! y4 j2 Z
  1881. ;opcache.file_cache_fallback=1
    % ?2 g/ I7 l' r& M" B- `

  1882. " e' J6 r% I& W  t" C7 l
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 p5 x) y+ K/ @1 K" N# |8 D
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + |  ]7 i. g8 L* h" d1 f  j' s; u
  1885. ;opcache.huge_code_pages=1* P# ~( w( o. q1 f

  1886. + M/ u8 I5 b, c# G3 i) i7 P1 {) `
  1887. ; Validate cached file permissions.
    ' m6 h- k0 {% g% u
  1888. ; opcache.validate_permission=0
    / ]; A% l5 q9 a+ Q) d3 ?2 n

  1889. ) g5 D( G) p9 m1 L) X' o3 n
  1890. ; Prevent name collisions in chroot'ed environment.
    6 m: Q  ?% ]" b' L% S1 Q6 [
  1891. ; opcache.validate_root=0
    5 L8 h0 g  `5 P0 H# W. ?1 B& R. Q

  1892. 2 B0 w6 Y* e9 b) E" d  v* F
  1893. [curl]
    7 y* Q! \+ E" X! f' C% ?
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an$ U; C$ k( s# L+ t. C2 ]
  1895. ; absolute path.
    + R/ s2 w% \( c2 x
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % {1 |1 L% K& R9 @# V
  1897. 0 R3 O; R+ Y, D
  1898. [openssl]
    ( o9 m, I6 F8 N8 @9 P
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    # l8 {* f% U+ G3 _1 i; ^/ B
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + f8 @8 W" `! B, _
  1901. ; not specify a value for this directive as PHP will attempt to use the
    / z* E! f. V3 \
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ' A. |! o4 M8 I( _0 x2 n
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # |# T& Y9 Z; u2 n8 x5 v5 [, `' W& w
  1904. ; option.
    * J& Y) i; y. W3 [
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' W0 k% W" [) J

  1906. ; h: T: U* ^4 [
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the; X* B3 ^: S  O
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    / N! D5 G6 Q$ t
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    6 S8 x. c5 @# e$ ?
  1910. ; Most users should not specify a value for this directive as PHP will
    / G! x5 ~3 Z1 [( R* ~; ~5 ~! k" _
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 U% q! W# v( T5 h, t/ k7 M) u% e4 I# {
  1912. ; this value may still be overridden on a per-stream basis via the "capath") F" I$ }% e4 A, ?9 Q7 b
  1913. ; SSL stream context option." Y5 E1 a( s. z
  1914. ;openssl.capath=
    3 J: z8 V. ~8 U6 f* g- B% j

  1915. # A4 n4 n& C7 F! `! P0 E4 o2 ]. f: C
  1916. ; Local Variables:9 A0 U& B/ q; W  q! r
  1917. ; tab-width: 4
    4 T( x1 r% @8 }3 C% Q" `
  1918. ; End:0 r5 j3 m6 v: j3 g' N% J
  1919. . P$ u# \( B0 b; h
  1920. ;eaccelerator
      l  Y# m' ?7 V# g9 o2 {

  1921. ; h0 t" Z3 ?0 R8 ^
  1922. ;ionCube* ?* n% T6 B' i( L6 c
  1923. ; _2 h% ~( l2 x5 K
  1924. ;opcache
    7 J: Q3 ^" X+ A: L1 B) l8 U# E* b) J
  1925. ! u- d2 M; W4 c1 O. M
  1926. [Zend ZendGuard Loader]
    ( N" Q5 a! _3 x9 z* L6 n: K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
      U8 z5 U5 V+ a0 }& w
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so; m( B1 i" j3 `; M: U/ j9 a. R, y
  1929. ;zend_loader.enable=16 O' N* o4 o) P& N# j
  1930. ;zend_loader.disable_licensing=0
    ( R0 g( J! A+ L8 h9 Q( w9 R1 o! a
  1931. ;zend_loader.obfuscation_level_support=3
    " B1 c' e8 H4 `/ e+ |% C. P5 G4 @
  1932. ;zend_loader.license_path=
    6 o; M3 ]* S2 ^+ p- M. @6 o

  1933. ! o* b5 k# f1 ?8 v: ]8 s  W5 f# m
  1934. ;xcache
    & V% G- Z, l6 t- Z$ F( L

  1935. ! V, x! _6 ^  {8 o5 a& I) k5 _7 F
复制代码

5 b% n4 C( O' ?$ N2 x- c8 B
) c- v* Y3 D# i+ K+ R7 p6 n* o
- B$ }  k' e6 h$ B/ @: g* Q# v: c0 d8 ^: e" i9 k- B; d

7 r+ ]+ T% b) Z, s% x6 l5 c5 k1 `5 K
) U' |) t: \# j3 F5 H+ W# Q9 A
# A" Q7 u! K3 z: {2 T8 SPHP5.6版本原始设置
- ~$ f8 H$ K' C1 c
. k& C4 m  b$ h: |0 s. v
  1. [PHP]! P. X* E; Y  h9 U( N6 s* p
  2. - }. {5 w9 e8 C
  3. ;;;;;;;;;;;;;;;;;;;  _- |! I: _9 S( E* f, X# q
  4. ; About php.ini   ;3 N: M, F8 I( \6 P6 z" p! m& T" i
  5. ;;;;;;;;;;;;;;;;;;;
    8 T+ {( K0 u  I) s! G
  6. ; PHP's initialization file, generally called php.ini, is responsible for* x" V6 g& K* A+ K5 c+ Y5 q/ t$ @
  7. ; configuring many of the aspects of PHP's behavior., H. u- K4 ^1 O9 v/ g

  8. - A! k& z! e8 b7 n+ X
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 `0 q( F/ A6 D8 ?, @* Y$ Q
  10. ; The following is a summary of its search order:
    5 H. F6 {4 s+ K
  11. ; 1. SAPI module specific location.5 S9 G$ F7 Z! f/ }& _. q: I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ) v# _  [6 A, G, v9 A: l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 }" O' I# }% A( X
  14. ; 4. Current working directory (except CLI)
    0 ]6 G' x' ]3 Y2 g3 h" z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP+ s1 F  T5 z  P# Z0 }8 @
  16. ; (otherwise in Windows)5 e- ^. h' M+ C; ~+ S! ?, J
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ! ^$ q5 E# @$ I5 ]2 S
  18. ; Windows directory (C:\windows or C:\winnt)
    # f0 R( P" {9 ]7 T$ P
  19. ; See the PHP docs for more specific information.9 Z$ e( y  a: h! V
  20. ; http://php.net/configuration.file
    # p# @6 M* l) Y$ N5 v/ C

  21. ) J. f; p+ n* E$ L
  22. ; The syntax of the file is extremely simple.  Whitespace and lines) Z4 S& M$ A! X/ W  a- {  t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 a8 V3 ~0 {$ B/ [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( f. }0 j( z4 V! s( G( ^
  25. ; they might mean something in the future.7 }6 E4 x7 E9 g
  26. ; @  y: e% K6 i6 q# z) C1 H, M
  27. ; Directives following the section heading [PATH=/www/mysite] only: j4 r; D7 K' v: W
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : e9 i. L8 d/ Z/ V. Z
  29. ; following the section heading [HOST=www.example.com] only apply to' p' V. E/ \. B4 W
  30. ; PHP files served from www.example.com.  Directives set in these
    / ^8 y3 A* |' N  K
  31. ; special sections cannot be overridden by user-defined INI files or
    + C+ d& y3 k7 Z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; O( \# |0 q0 |# ^; I; m
  33. ; CGI/FastCGI.# u$ r2 S2 Z; T8 e% {! {$ p# t
  34. ; http://php.net/ini.sections- x' E5 n' H- h4 _+ w4 Q7 K: p9 {
  35. - k7 r" {3 i/ h  V' j$ y
  36. ; Directives are specified using the following syntax:1 _( n  v1 b- g
  37. ; directive = value# |/ T# ]  y: t
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    * f4 V6 _2 ~" b+ m: i
  39. ; Directives are variables used to configure PHP or PHP extensions.; e, d' Y& r# l) [7 V  T6 W
  40. ; There is no name validation.  If PHP can't find an expected: F9 s6 ~  t' E7 _. T& h
  41. ; directive because it is not set or is mistyped, a default value will be used.% J% \& A/ a: J' L  B3 \

  42. % l( p# h$ U. o  i
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 p& a3 X: P/ s1 ?( E/ r
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 T; Y# c) d3 g8 v5 r5 r' k# y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: L/ T- @( T, e( }
  46. ; previously set variable or directive (e.g. ${foo})0 a: E1 f9 L; H9 q

  47. 1 P: N+ l0 q$ t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 w/ r7 `0 t% i* g- y$ s; z
  49. ; |  bitwise OR" A% \: o1 @) K- s
  50. ; ^  bitwise XOR
    : _! f: T1 l/ I
  51. ; &  bitwise AND
    $ e, m2 g9 K9 @
  52. ; ~  bitwise NOT- G% z5 \4 P- G" E. _  Z/ Q
  53. ; !  boolean NOT3 L3 `6 G3 p: {- r% O. {0 }
  54. 7 |# ~+ L' o4 ^! ?  b
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      s0 V) a' r* o  V+ o
  56. ; They can be turned off using the values 0, Off, False or No.9 l. r2 \* i1 c. {

  57. / d# A, `7 i7 a  C7 z5 b2 g! ]
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 G7 f% R% l6 X
  59. ; sign, or by using the None keyword:! s( h0 e( {+ |; r
  60. . R! A' _' R) M' H$ a# v# ?2 v! S1 u
  61. ;  foo =         ; sets foo to an empty string! V. V/ Z8 `7 W" _9 o# x; H
  62. ;  foo = None    ; sets foo to an empty string
    ! L  _0 m" ~2 W/ I" N8 v" v
  63. ;  foo = "None"  ; sets foo to the string 'None'" |" t& g* c: v5 z/ ]9 {
  64. 1 x# m& f" ~$ e7 N+ K+ O
  65. ; If you use constants in your value, and these constants belong to a# n  X; r) N. N* d
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& `& k9 \: u( I
  67. ; you may only use these constants *after* the line that loads the extension.* v: F8 q, U* t; r7 {

  68. . E1 H" l  P- c, m* Q0 f! C1 b
  69. ;;;;;;;;;;;;;;;;;;;
    " N- k5 N& N% F; t$ A
  70. ; About this file ;
    2 U3 k" v/ S& m3 Q1 X. S& `# u
  71. ;;;;;;;;;;;;;;;;;;;) c1 y, L# x5 n1 Z1 r5 h* C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' n4 i" i3 \7 u3 r) l
  73. ; in production environments and one that is recommended to be used in. g. t+ C4 }3 @( M/ z, s5 D: |4 I) ^
  74. ; development environments.
    # h# D5 O/ p8 p/ y

  75. : o7 h9 M# n$ L7 C$ Q
  76. ; php.ini-production contains settings which hold security, performance and
    ( ^) H4 G$ R( Q
  77. ; best practices at its core. But please be aware, these settings may break8 m$ t+ S/ O0 `" D
  78. ; compatibility with older or less security conscience applications. We9 ^: y* `! X" F' s5 l  T
  79. ; recommending using the production ini in production and testing environments.: L+ x7 @5 [( R: H! ^5 z/ R

  80. ; V" I2 k; C; K
  81. ; php.ini-development is very similar to its production variant, except it is, `0 d& u* l  D* p( {3 Z
  82. ; much more verbose when it comes to errors. We recommend using the- O$ l* S# I5 q( w- t: `, H1 y
  83. ; development version only in development environments, as errors shown to5 o+ P& Q0 ~+ X1 z1 s
  84. ; application users can inadvertently leak otherwise secure information.. [4 b; X8 i; h& s
  85. 1 J  C0 S% Y! u+ n
  86. ; This is php.ini-production INI file.4 y" Q; ]' Q5 \( ]5 \$ i' e

  87. 0 c! F; L" x: A2 U% g+ c2 F
  88. ;;;;;;;;;;;;;;;;;;;/ Y8 v" a& I- z8 X5 B/ r7 Y
  89. ; Quick Reference ;$ I9 a, u) S8 c5 @& Q! m6 i+ x# \
  90. ;;;;;;;;;;;;;;;;;;;
    / X0 m: V5 s. J& a* r- [6 c0 ]
  91. ; The following are all the settings which are different in either the production9 S. s4 T0 w" Z: T5 o4 c
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; @1 G, W& d$ u% C
  93. ; Please see the actual settings later in the document for more details as to why: H# m6 b3 ^( O+ E
  94. ; we recommend these changes in PHP's behavior.
    $ h8 q5 _# |4 D; M( p
  95. . W; F" o% @* D2 w3 F6 P5 F# U; i
  96. ; display_errors
    # H7 ]6 F, m" O2 [
  97. ;   Default Value: On
    ; T( l( `9 F5 y% q/ i! y& e# A
  98. ;   Development Value: On
    , t% [& e7 x6 h! X) X- q0 A# K
  99. ;   Production Value: Off6 w0 |- d: O6 ?# \$ j/ I% A
  100. ' D2 @8 E; S  s0 _/ K3 j1 v
  101. ; display_startup_errors' r" m+ L+ G& M# `+ W# Q0 o/ d
  102. ;   Default Value: Off
    ! r0 ]) i% T4 [! Z7 F
  103. ;   Development Value: On
    ) O$ c, d  Z. G
  104. ;   Production Value: Off+ J7 V$ U  k% M4 a% _& D* \) c
  105. : q" ~$ }* j) }0 D
  106. ; error_reporting
    ( R7 p8 r8 L  v4 Z8 J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 h( d% Q7 _( w' U, z% a4 H6 b. S% d9 I6 ~
  108. ;   Development Value: E_ALL
    $ Y, m6 G) C8 m/ M+ c
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      m. q9 p! F/ ]9 J0 T
  110. % z9 d, d: M! j
  111. ; html_errors) e' _0 \% R& N4 d
  112. ;   Default Value: On
    4 I0 r6 M: `6 \  ~, e" Y# v! o
  113. ;   Development Value: On
    6 y+ W) `, n& q) M# N9 E
  114. ;   Production value: On' {! a; V4 l# h8 q$ }$ V; N
  115. 5 E1 [: u$ v; B  W, I) f5 r
  116. ; log_errors
    " w9 h, g1 n# E9 `( z& V
  117. ;   Default Value: Off, t% Q6 A- d& n, R8 A% T! G2 s
  118. ;   Development Value: On
    ; N- T, W; e5 h
  119. ;   Production Value: On
    ( [: g+ z& e9 ^; I; f4 Y" m" C5 j5 c

  120. ! k/ z+ {) j5 C' M4 {
  121. ; max_input_time
    + H, R1 \& D- S1 Q1 H( P1 G
  122. ;   Default Value: -1 (Unlimited)
    & h" ]) W9 a" a( {: A! t
  123. ;   Development Value: 60 (60 seconds)
    , j( v8 R5 U* }' W5 [- R9 i; B* X
  124. ;   Production Value: 60 (60 seconds)+ t# m/ r, n8 y# ?& b! |# E" B

  125. 2 ]- a, w, |8 e7 K; n/ b( j
  126. ; output_buffering
    ' B) ?- z; h  ^1 a% o
  127. ;   Default Value: Off
    + J+ m, E  E9 z
  128. ;   Development Value: 4096% i# y3 E) o$ p/ k, U
  129. ;   Production Value: 4096: C5 s% V3 e1 e
  130. ; ]5 q# l$ e/ t0 W2 k
  131. ; register_argc_argv9 t( x9 q+ m; E5 @* B6 e8 X+ d: @
  132. ;   Default Value: On
    ) M5 j) H+ [2 p- t+ _5 H
  133. ;   Development Value: Off- Y" {+ ]' b& }6 Y  H% a+ Y$ z$ D' I
  134. ;   Production Value: Off. E: d6 U; b* ~+ [# Z
  135. 4 S) ^* V1 g3 F- w
  136. ; request_order4 u9 X/ p2 N4 P- Z
  137. ;   Default Value: None
    ( W" j+ K" E8 _1 w; M" o1 o
  138. ;   Development Value: "GP"( ~8 t1 w0 q0 T4 L$ m- x% Q
  139. ;   Production Value: "GP"  b: \; ]0 o) A5 {. _! l+ G- _1 \0 }1 I

  140. # E8 x$ ?8 a; F
  141. ; session.gc_divisor1 F) a( B6 o) X( S* S/ ]
  142. ;   Default Value: 100
    ( n! S, m6 `, X1 o
  143. ;   Development Value: 1000
    2 P7 l( S& f' [1 p
  144. ;   Production Value: 1000
    # x3 w1 I3 |1 e$ ]4 H

  145. : r$ P4 I& O9 ]
  146. ; session.hash_bits_per_character. S& R; v7 M0 F
  147. ;   Default Value: 4
    9 ^# K  p9 e; ~* Y' f" L
  148. ;   Development Value: 50 x" q- q" j3 R( N% P
  149. ;   Production Value: 5
    7 Z1 u: }& c* i9 m. D

  150. 7 x3 p! Q6 b# r
  151. ; short_open_tag
      k/ z' S) V* g1 Y( Q$ o. @+ h
  152. ;   Default Value: On
    & x3 L3 p& U# O; h
  153. ;   Development Value: Off/ F4 F/ Q% b6 F4 S& d# l
  154. ;   Production Value: Off) b9 r& {! ?) e, s" T" V! H, T
  155. - j9 p# v; A* v
  156. ; track_errors
    ) F. G& I. _# i6 d  n
  157. ;   Default Value: Off
    6 B! f  Y9 u( ^; [/ |. s
  158. ;   Development Value: On1 y3 g' M6 ^& K6 p  f6 [
  159. ;   Production Value: Off8 B3 f( z/ P  S

  160. / }. M  H" F+ b/ m# T4 Q8 N
  161. ; url_rewriter.tags
    ! c0 X* C9 Y! F# \4 N& C1 Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ W2 U- b& _' |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- w, l4 C1 `# P* B  {2 c* G: ?
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 Y) x6 V2 C: K  ?8 ~9 u4 W
  165. 3 A2 X# g6 h* R. m
  166. ; variables_order
    0 T: y6 O: I- M$ n4 J* ^' _
  167. ;   Default Value: "EGPCS"! |6 S4 m5 z, P3 P( l5 r& _
  168. ;   Development Value: "GPCS"
    , ~4 I2 _. B& U7 e: X
  169. ;   Production Value: "GPCS"
    . F) h4 q- K6 Z) w% I  a
  170. 8 \: @# `- _) Z2 b1 T% z' }
  171. ;;;;;;;;;;;;;;;;;;;;
    / Y* y0 s* I3 {6 r$ ~) r
  172. ; php.ini Options  ;7 d( w/ g, ^# N( D
  173. ;;;;;;;;;;;;;;;;;;;;$ h" h- U) w6 P
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    : I" R" }7 R# y, \9 h; @2 H
  175. ;user_ini.filename = ".user.ini"2 e( g4 A; H0 l' K# H

  176. # y! l/ Z" M+ `4 D" n' a0 j
  177. ; To disable this feature set this option to empty value0 l" Y( ~3 ]# a6 G& @- I  M( m+ l
  178. ;user_ini.filename =1 P" ^1 o) B+ j$ c5 ~6 J# v
  179. : w7 k/ D, V! }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . d" N  g7 H: h8 ?: I) P
  181. ;user_ini.cache_ttl = 300
    ; m  F$ O6 z8 K( \, v

  182. / x, s" ~! N: Q; B
  183. ;;;;;;;;;;;;;;;;;;;;+ l" Q4 s* `9 y7 I; R, D4 ^$ [4 x8 ^" x
  184. ; Language Options ;6 |: D* h6 k: g% @: z9 G% G
  185. ;;;;;;;;;;;;;;;;;;;;
    + `' r$ X6 D( |6 L
  186. . u2 k8 m4 A6 Q
  187. ; Enable the PHP scripting language engine under Apache.. J" F, t" ]6 `3 M9 ~) ?) m
  188. ; http://php.net/engine
    6 U" b. w2 o4 D  `, w( n$ D  l3 R
  189. engine = On" t' j: D! b& ~9 _" s  r) g" S1 P

  190. 0 j  X. V8 y- Z* ?
  191. ; This directive determines whether or not PHP will recognize code between
    4 o4 @) J2 D! I! v- o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is8 e: K; o, ^' k7 v, w  V5 B
  193. ; generally recommended that <?php and ?> should be used and that this feature
    8 Q+ y, T5 R/ j* r+ s
  194. ; should be disabled, as enabling it may result in issues when generating XML
    + q1 `& z. ?* m! f
  195. ; documents, however this remains supported for backward compatibility reasons.9 {' I6 j' }. ?9 Q0 [+ P5 i8 P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ E/ i) [4 S+ c( T6 _7 L+ R
  197. ; used regardless of this directive.3 K# M0 n* |) }  t9 m* B. K8 `6 }
  198. ; Default Value: On
    1 j) X/ e4 T; I9 p- ~
  199. ; Development Value: Off
      f7 \& b2 ^' n5 d
  200. ; Production Value: Off6 P1 U7 r' z- y1 w7 N5 I! v" a
  201. ; http://php.net/short-open-tag
    / x. I9 k+ C( p
  202. short_open_tag = On
    . ~- w4 C' F0 p+ w( y# B9 t2 h
  203. ; S, }# W9 V8 L3 b
  204. ; Allow ASP-style <% %> tags.
    4 J  Y% J( X, ~' t
  205. ; http://php.net/asp-tags
    8 r- A8 }4 }: u) v6 e4 ]
  206. asp_tags = Off; O# r$ e$ e  `0 f. E! K4 Z# d; L

  207. 7 ~' S; [% U% k3 d, L# w$ p$ |% e
  208. ; The number of significant digits displayed in floating point numbers.1 E4 R5 X- I6 z3 {* ~3 X+ h% n' j
  209. ; http://php.net/precision. {" {' m9 L% q6 ?: z2 K& N3 H
  210. precision = 14
    4 L& _/ q' {% Q6 b; L

  211. 7 G6 G1 c4 [( e5 X4 p( p
  212. ; Output buffering is a mechanism for controlling how much output data  Z2 \6 l4 X# ~! E& Y" a5 y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that7 X: n# X4 ?0 x- i( h
  214. ; data to the client. If your application's output exceeds this setting, PHP: L0 t- s: q; V( F# g
  215. ; will send that data in chunks of roughly the size you specify.; m+ M0 n: w" B7 e
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    / E& X$ _6 ~  l, {$ P4 r& E
  217. ; interesting side-effects depending on your application and web server.& _. h: L* Z; a; _
  218. ; You may be able to send headers and cookies after you've already sent output6 D4 U5 E. G$ B0 `1 S6 O
  219. ; through print or echo. You also may see performance benefits if your server is
    $ m  z* k6 n2 `) K: u
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    6 t5 i3 ~' ^6 Y! J/ S! D
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 H2 z4 e1 |8 I0 e* e
  222. ; reasons.4 U  t. K2 i' u- y* i, O1 a
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 L4 e8 D. w, J9 G2 Q2 @7 d
  224. ;   functions.1 S8 k/ E. }. g# d" a/ k; T- k/ ~
  225. ; Possible Values:
    # z' l" t; L0 p
  226. ;   On = Enabled and buffer is unlimited. (Use with caution), f; j, g4 ]! `
  227. ;   Off = Disabled0 s2 |7 A. I/ d4 ~# c+ l8 k. |
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 \5 z' y- x6 B& `$ O- R
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & w$ `- T2 n+ q8 M/ D* D
  230. ; Default Value: Off% {# \4 `" ?: G
  231. ; Development Value: 4096
    ' ~- a, k7 q( Q" a" ]
  232. ; Production Value: 4096
    6 L+ [# {2 M4 W( I# Q' V+ l: g# ]$ [5 _
  233. ; http://php.net/output-buffering& M! D& L0 }! p8 o. r, n
  234. output_buffering = 4096/ m4 a" I: L8 H2 b

  235. 6 R2 Q0 u6 e7 w' T9 d# O
  236. ; You can redirect all of the output of your scripts to a function.  For0 w2 X& f5 ^2 m) P% h- u
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 A# ~2 `8 i( U6 l
  238. ; encoding will be transparently converted to the specified encoding.# n6 x8 C5 s4 _5 M0 j% o5 R
  239. ; Setting any output handler automatically turns on output buffering.
    4 W9 [  c: n8 A. z
  240. ; Note: People who wrote portable scripts should not depend on this ini( ]8 t9 j# U3 G; {( S: \
  241. ;   directive. Instead, explicitly set the output handler using ob_start().5 f( J- g2 e5 K- ^. e
  242. ;   Using this ini directive may cause problems unless you know what script6 D) K- w  p* D: I2 J: O$ _
  243. ;   is doing.
    - s+ h9 y! I5 b" F5 c, O1 I: a
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"4 x3 ?2 Z* @- r
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    - [" U/ S) Z0 v3 p
  246. ; Note: output_handler must be empty if this is set 'On' !!!!# j% V$ H3 S1 ?& [
  247. ;   Instead you must use zlib.output_handler.
    ( ]) i; q+ U" j3 ^" V1 ~5 \3 W( ?  _
  248. ; http://php.net/output-handler' b  w6 |; v, m& b8 |
  249. ;output_handler =
    % d4 F% h* G9 C* J8 T8 q

  250. 2 q8 x% U$ ^0 v) Z  ^: J8 X, C
  251. ; Transparent output compression using the zlib library; l3 M' b8 z! }$ b+ ?
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. n& `6 }' f( E( ~' z% i. Q  |
  253. ; to be used for compression (default is 4KB)
    . D: ]/ {' q+ X5 I9 G8 `. o. q3 T  ~
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP, O5 l) c- \; B' Q# K
  255. ;   outputs chunks that are few hundreds bytes each as a result of( c5 L2 d2 K6 B; O" D* v
  256. ;   compression. If you prefer a larger chunk size for better
    ' w: ]' c. v% f" [/ Z
  257. ;   performance, enable output_buffering in addition.
    3 k- T5 _/ O! g1 H/ \$ {$ H4 W
  258. ; Note: You need to use zlib.output_handler instead of the standard$ U# z" }9 D. x, F
  259. ;   output_handler, or otherwise the output will be corrupted.
    ) s# M) {3 C+ s
  260. ; http://php.net/zlib.output-compression
    " s  D" C9 Z2 w" h6 K5 [  m
  261. zlib.output_compression = Off. U1 K0 Z3 Y) |1 X' Y, H9 C

  262. 0 q6 F& i& w% H! n
  263. ; http://php.net/zlib.output-compression-level$ C4 [3 d- t  _  D* ?9 W4 R
  264. ;zlib.output_compression_level = -1
    5 h; m3 w" n" y* z
  265. * Z9 o$ M& ^3 I8 |8 x2 k" C
  266. ; You cannot specify additional output handlers if zlib.output_compression9 d7 Z$ }$ n) M9 b( D" J, ~0 F
  267. ; is activated here. This setting does the same as output_handler but in, Y! B+ {. W8 K0 T  N
  268. ; a different order.
    6 Q5 H( k7 h2 R+ E6 C! l
  269. ; http://php.net/zlib.output-handler1 H3 s0 K: X( G) X5 v
  270. ;zlib.output_handler =
    0 Y; b6 s7 i: O

  271. 5 R. Z! Q; I6 w2 q, `, q. V
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    / u) i$ \4 ^6 J5 e
  273. ; automatically after every output block.  This is equivalent to calling the, ^5 V/ R" w0 f! M% M" f) y
  274. ; PHP function flush() after each and every call to print() or echo() and each
    8 Q2 [. L4 n# A1 ?
  275. ; and every HTML block.  Turning this option on has serious performance
      _' \( M- l9 z. M2 C3 P4 F
  276. ; implications and is generally recommended for debugging purposes only.
    3 }; X# w; ]+ [
  277. ; http://php.net/implicit-flush& K$ f0 v+ L. i) j8 _7 @/ J( `3 V
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ d2 z) V* J$ u; v: x* J
  279. implicit_flush = Off# w1 z% q8 b1 U

  280. 6 p7 Z- G# M  J; x
  281. ; The unserialize callback function will be called (with the undefined class'
    + M% X( M9 R- o; X
  282. ; name as parameter), if the unserializer finds an undefined class
    6 ?2 X+ Z  _7 @, `/ C! x; x* \
  283. ; which should be instantiated. A warning appears if the specified function is
    $ N, g% ~% F" a3 c
  284. ; not defined, or if the function doesn't include/implement the missing class.% n. ?7 c7 Z6 D5 V# }
  285. ; So only set this entry, if you really want to implement such a% p  }' T; m2 q: E6 v
  286. ; callback-function.7 [3 ?2 v6 f& n
  287. unserialize_callback_func =- M& R8 V# w, ^- C

  288. % v! C% S- |8 m
  289. ; When floats & doubles are serialized store serialize_precision significant
    0 N; H0 \+ G% ]/ R
  290. ; digits after the floating point. The default value ensures that when floats
    7 p* s- J* r/ J; g1 A
  291. ; are decoded with unserialize, the data will remain the same.
    + O5 x. [1 {* w. M, `# e! C: a
  292. serialize_precision = 178 e: T' }" T. W! o
  293. % q8 F3 ~- i, m& x
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 G7 n$ I/ V) T( t# K( U
  295. ; and below.  This directive makes most sense if used in a per-directory6 B- _) h& x2 N0 E4 S" J& T  h
  296. ; or per-virtualhost web server configuration file., g# V' D: {- g( i0 ~  M% t1 M
  297. ; http://php.net/open-basedir0 e" L% z$ D. `) a& ~
  298. ;open_basedir =
    0 u% F, x' y( J9 \* D+ q  e4 u
  299. ; l) }- i& W( |. D) k5 a  t
  300. ; This directive allows you to disable certain functions for security reasons.3 {1 i% ^" s  q9 i( S
  301. ; It receives a comma-delimited list of function names.
    ( C7 I$ f* F3 z3 s
  302. ; http://php.net/disable-functions' a* g% Z% d* B& x
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru6 l* p( c, Q- ?: {) B( ^

  304. ) E" J0 T) k# ?7 o8 s
  305. ; This directive allows you to disable certain classes for security reasons.4 ]6 O8 ]/ b3 Z: _' H# ]
  306. ; It receives a comma-delimited list of class names.
    ( }# [' L: Z6 D2 S' E
  307. ; http://php.net/disable-classes
    ) t/ i( a; s! G/ d
  308. disable_classes =
    - q1 X# t/ \3 u/ s  ?" \

  309. % e/ L$ |0 I! L. {9 I# O9 ~; X
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 |: |' Z  n) ^/ S4 q
  311. ; <span style="color: ???????"> would work.
    9 Z- A9 z+ r& c. L2 q
  312. ; http://php.net/syntax-highlighting
    + {3 g& Y7 j% N0 R) M
  313. ;highlight.string  = #DD0000. o8 v- W) c/ H; c
  314. ;highlight.comment = #FF9900
    ( ^# E4 h! q+ g8 W0 O9 p8 d
  315. ;highlight.keyword = #007700
    ; E( m) z' s  G) |' v
  316. ;highlight.default = #0000BB5 I7 O8 o; }( ^6 I( s9 ]
  317. ;highlight.html    = #000000" _& n/ }! s7 V' q. V
  318. 6 M+ m& _8 @5 x
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - h, {3 v/ d/ O9 F( i8 S, X' ~
  320. ; the request. Consider enabling it if executing long requests, which may end up
    + x- o& V+ C7 P& x8 T6 H
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior% u; t/ S2 H5 g# P3 G( F' A
  322. ; is to disable this feature.
    + l. L% X% y$ ]+ |3 X# o( F8 ]
  323. ; http://php.net/ignore-user-abort
    - x& w4 k2 |& j6 Q2 Q
  324. ;ignore_user_abort = On
    4 Z# W5 z* _1 C# `

  325. 9 c! e( C5 k* \6 m1 \% M
  326. ; Determines the size of the realpath cache to be used by PHP. This value should/ d3 H* @) e; z0 p- e4 `
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ( Q1 ^( H, @- r- Q7 ]
  328. ; the file operations performed.
    ; l* v- g, d, k2 c; d+ B
  329. ; http://php.net/realpath-cache-size
    . V. A8 [) x' p8 h* Z( B
  330. ;realpath_cache_size = 16k
    2 b; G% ]4 ?" d( M* a8 Z1 O, P
  331. : a# O8 X  b  {6 _. N
  332. ; Duration of time, in seconds for which to cache realpath information for a given. k# p! _! g4 m6 O  w/ @
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    , V: d# M, D% u1 D1 V5 ~' y& r3 h9 [  D
  334. ; value.7 I) _$ c8 H. `* O) X
  335. ; http://php.net/realpath-cache-ttl! o. e* k" c& d. {2 Z3 n3 J
  336. ;realpath_cache_ttl = 120
    8 w- A% X2 k. g0 q# M

  337. - h- ~% r3 Z/ F/ M# f
  338. ; Enables or disables the circular reference collector.  |) r* g0 M6 _
  339. ; http://php.net/zend.enable-gc7 F4 K0 j$ V  H$ y
  340. zend.enable_gc = On( y& W+ R  m* H! i! B

  341. 3 G! G9 p3 r- {* y8 q; [
  342. ; If enabled, scripts may be written in encodings that are incompatible with/ r! g/ d2 q3 Q" C
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; {- X0 \0 j% h
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 `8 `# {, D8 [+ Q" k7 ^9 J
  345. ; Default: Off0 C. K) o. T! Y. T! [" C8 V1 N7 ^
  346. ;zend.multibyte = Off
    " |8 i+ e8 `/ N- y4 S

  347. % b/ z, t% z0 X% i
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 s  w# L# @- L5 v8 [$ }
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.0 N, I* y$ a. u* I5 p9 u
  350. ; Only affects if zend.multibyte is set.
    ' r8 f) I/ Y; n8 F! T; R. B
  351. ; Default: ""
    + ~7 T: t- ^, o3 J* a: n
  352. ;zend.script_encoding =
    ' s6 R8 |9 b3 r5 T6 T
  353. 3 f9 T3 _4 G# c$ M3 d- i
  354. ;;;;;;;;;;;;;;;;;' R! y- ~- L1 E9 O1 N' U/ K
  355. ; Miscellaneous ;$ |( N3 H0 h* e% ]  E+ L% Z! ]1 B
  356. ;;;;;;;;;;;;;;;;;
    2 I8 R& i3 Z' C0 n+ Y2 h
  357. 2 J; H/ L  p" g  d
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ h1 |4 C" g: q4 ]
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ! r3 a6 U9 w: o# q# ^
  360. ; threat in any way, but it makes it possible to determine whether you use PHP. _8 Z* a( m5 X
  361. ; on your server or not.
    ) N* J2 ?9 i+ I) {5 E
  362. ; http://php.net/expose-php
    % _8 j  z! v3 ?' G6 \4 T7 P6 L1 ]
  363. expose_php = On1 |, Y* n% Y5 f+ g' @5 h& v
  364. ) p3 |! b% F* i" u& {* ^
  365. ;;;;;;;;;;;;;;;;;;;/ E$ b- I$ g* O) k/ ?
  366. ; Resource Limits ;3 o- I$ _* Y+ ~6 o
  367. ;;;;;;;;;;;;;;;;;;;
    # }1 N# ]+ G2 m% m  O1 b

  368. . _7 ]/ V; h6 H
  369. ; Maximum execution time of each script, in seconds- t: ]& n' g( s& p0 e* F) n3 X
  370. ; http://php.net/max-execution-time0 ?3 ^1 H0 n4 E. B% T
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI! R  Z7 v4 J  K9 C$ H
  372. max_execution_time = 3007 L6 R" `4 P5 B& r+ r

  373. " @3 c: c% n: L) F2 P# y, S
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  }. G1 @! J4 F6 }
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 h) W8 {  v( [8 d! H; h" v, \  R. R
  376. ; long running scripts./ V2 t  H' v; i* y
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI& ^) W3 h2 N2 i1 k- `1 |% V$ R! \. r
  378. ; Default Value: -1 (Unlimited)
    % Y4 ^' m4 c- W4 B
  379. ; Development Value: 60 (60 seconds)/ n# m( o' x9 o. ~4 H
  380. ; Production Value: 60 (60 seconds)
    , a$ r5 Y5 r, k8 X( q
  381. ; http://php.net/max-input-time
    4 |: C4 D8 w* H. Y# d$ h7 [8 k
  382. max_input_time = 605 ?; s2 L7 J9 @4 p
  383. 2 S' d0 d. m7 ]
  384. ; Maximum input variable nesting level: j, X5 l0 N. t. }6 E
  385. ; http://php.net/max-input-nesting-level2 x- ~2 T6 q7 V1 V
  386. ;max_input_nesting_level = 64
    / L6 I/ X) Y$ A' g, R, l" c

  387. 6 p+ ^! z3 V# ^3 Q$ S5 n' _
  388. ; How many GET/POST/COOKIE input variables may be accepted
    3 G6 L) Z; @4 C$ F
  389. ; max_input_vars = 1000+ Q8 I- m6 |; E
  390. 7 U) ^8 ~& X3 Z* m$ _6 h% y. [
  391. ; Maximum amount of memory a script may consume (128MB)8 T& B9 s1 D; K& `* ~  `% ?( O
  392. ; http://php.net/memory-limit
    ) [. T6 s! O$ s2 g: G
  393. memory_limit = 128M
    % J6 p# ^# A; f' I+ _% h* K
  394. , L8 q8 ]/ g4 F0 H
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " g- |' b2 J2 ~+ s' u% m( v- Q
  396. ; Error handling and logging ;
    4 ~+ G& D1 {0 f$ E0 T$ S
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 A7 t' v: W7 m  H0 s( w
  398. $ ?& b9 X8 y% g9 s) l! h
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 n2 b4 t" D: C
  400. ; it to take action for. The recommended way of setting values for this
    + n: L' I( D) ]& E" S
  401. ; directive is through the use of the error level constants and bitwise
    " s8 A, H) T* ?1 o( {
  402. ; operators. The error level constants are below here for convenience as well as. z' |! M2 ]% P" |# S; Z5 Q9 }+ k
  403. ; some common settings and their meanings.
    ) h' n- k' v1 u4 l( w
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT4 \6 j0 ]' K. _
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    4 p5 |& w2 h' ^, ~( M# j
  406. ; recommended coding standards in PHP. For performance reasons, this is the  V% }: s9 W1 y' ~( H/ F( o# D1 h5 z: w
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: W6 A& D  H8 d/ h; i" b" {
  408. ; resources complaining about best practices and coding standards. That's what0 S4 N( q* ~# D8 ^
  409. ; development servers and development settings are for.
    + d/ y6 E& D4 h7 O( R2 U" Y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    # U( I: W! R, C6 _+ c& o
  411. ; means it pretty much reports everything which is exactly what you want during5 e2 G7 A: Z4 E/ n' R3 o# u
  412. ; development and early testing.
    + m; V6 i7 y" t5 ~
  413. ;
    / ~1 L* X( P  ~2 d  T1 B) U5 Z
  414. ; Error Level Constants:0 o% ~* S: k: d  ]+ C
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# f. W) _2 ?! S3 Y/ w. @( `
  416. ; E_ERROR           - fatal run-time errors$ _" y: T. l. a; P' W# d
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* H& |  ~" v' J* H. Q4 ^& f
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    " E7 n" Y0 E, {* J. V  z0 T, S
  419. ; E_PARSE           - compile-time parse errors! @+ t8 e1 r( C" n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    / m" G3 H2 J! X4 D" f7 ?" j* J
  421. ;                     from a bug in your code, but it's possible that it was+ \/ `0 Z3 A9 N3 U% B
  422. ;                     intentional (e.g., using an uninitialized variable and& B9 a. p! ~, @1 Q
  423. ;                     relying on the fact it is automatically initialized to an2 A( U+ G2 {+ J4 r/ ?
  424. ;                     empty string)5 Y" M/ {) h* y
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    . N- v- ~# {( ?8 G% a! Z( |, f! M
  426. ;                     to your code which will ensure the best interoperability
    ) L8 m6 r/ F! @. m/ s& U. z+ {
  427. ;                     and forward compatibility of your code
    3 {  a3 \) q. j: n
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup# I% z* P/ j1 a4 R" K: f
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) l3 a+ u- {- O4 }2 K/ l3 i3 Y
  430. ;                     initial startup
    : x7 t; V3 }1 t& w6 ^) m) ]
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 o8 d* N0 r! |- D" Q# x- d1 ~
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) T& Q, ]- h9 q5 u- Y+ a. t4 Y
  433. ; E_USER_ERROR      - user-generated error message
    ' E. N+ p# N& V9 R8 G
  434. ; E_USER_WARNING    - user-generated warning message
    % \. p% d1 b% }* X" x) M
  435. ; E_USER_NOTICE     - user-generated notice message
    1 n7 s  L: ^3 O
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 g) L, g' p& R- f# `" L
  437. ;                     of PHP1 }6 V+ J) z1 _$ W
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / `0 D+ U# M: u
  439. ;
    6 ?* L! i0 P: v! C# ~
  440. ; Common Values:% O& u! r& W/ F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ l$ F, r. f2 F. u
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)0 Z6 o3 E& V1 }9 Y& ?& Z$ H
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ T% k, e4 }+ N' d
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 C4 c) g# W9 y6 J# C( ?
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / Z/ J+ l3 [6 q0 [1 _
  446. ; Development Value: E_ALL: Q* Z: S/ n7 A6 G4 E$ _; l
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 Z) D$ x% {! m# x
  448. ; http://php.net/error-reporting2 a* }  g$ T: f& r
  449. error_reporting = E_ALL & ~E_NOTICE& }' p9 o- l7 {2 y( r+ ~0 D

  450. ! s( ~* i) r/ f* o4 G
  451. ; This directive controls whether or not and where PHP will output errors,
    ( r2 b& Z, u$ n9 `# x- n; R& s& R
  452. ; notices and warnings too. Error output is very useful during development, but
    2 P, ]8 b9 @+ N0 b/ X
  453. ; it could be very dangerous in production environments. Depending on the code; A4 Q% Y9 ~( y9 u, h1 j
  454. ; which is triggering the error, sensitive information could potentially leak# z4 j  \3 C9 x) `4 p
  455. ; out of your application such as database usernames and passwords or worse.6 e& }7 f0 S" p2 ?; q) |
  456. ; For production environments, we recommend logging errors rather than
    : v1 \/ k- L' {, N% A  Y( W/ m4 ?
  457. ; sending them to STDOUT.. y1 ]: g# t) K  M' i
  458. ; Possible Values:- n0 W9 \* m4 S6 S3 p& F
  459. ;   Off = Do not display any errors7 c1 w4 [/ U+ c3 K2 [3 M' Y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)$ k. v3 {7 [+ g8 y2 e' `, i
  461. ;   On or stdout = Display errors to STDOUT7 V; r9 _2 [/ q; w
  462. ; Default Value: On/ I4 w0 `( J* f* f
  463. ; Development Value: On8 C0 m1 ]8 y/ j
  464. ; Production Value: Off+ S6 E" H: N5 j# ?- ~' ^- Q; I0 Q
  465. ; http://php.net/display-errors
    / C3 v/ u* {% |! f7 D* ?7 h7 M5 F5 |, G
  466. display_errors = On7 Z: z4 R7 T# Z" X6 z# U7 |4 B. o. I
  467. - l/ V, O9 ^1 _2 [% J3 a: {1 w
  468. ; The display of errors which occur during PHP's startup sequence are handled
      _+ d! o1 l& D0 H+ s, q
  469. ; separately from display_errors. PHP's default behavior is to suppress those# e! k4 L4 Q* P/ a
  470. ; errors from clients. Turning the display of startup errors on can be useful in# X% W; }' T, j9 j+ y
  471. ; debugging configuration problems. We strongly recommend you
    2 v0 a5 q% ?' c! r$ B' q
  472. ; set this to 'off' for production servers.
    6 j; c4 g, y" g
  473. ; Default Value: Off+ o9 a# z6 e3 _: h& \$ Y) x
  474. ; Development Value: On5 i' ]. ?4 x: H& Z( g/ Q
  475. ; Production Value: Off$ G- Q* \7 c6 n: \, `! b5 q) Y
  476. ; http://php.net/display-startup-errors
    4 {1 O) p( J' V" _. ^
  477. display_startup_errors = Off
    : C+ j' o4 Y; L! x% ~

  478. # m0 b* p8 r+ O" t* J
  479. ; Besides displaying errors, PHP can also log errors to locations such as a. i7 d6 i7 ?) n' e( o. k4 ~1 Q
  480. ; server-specific log, STDERR, or a location specified by the error_log2 |, G+ e  J( J# Y
  481. ; directive found below. While errors should not be displayed on productions
    " s& _9 B3 ?1 c0 p
  482. ; servers they should still be monitored and logging is a great way to do that.* I9 I# Q7 z9 b% H/ Q% T
  483. ; Default Value: Off
    8 Y, J; G, f' w9 X5 L1 E1 y
  484. ; Development Value: On5 o0 H: [) d2 k8 G" {, X- U
  485. ; Production Value: On, ]- @2 \$ W1 m
  486. ; http://php.net/log-errors
    3 [* k4 X3 u  l1 x! ~1 M7 j: I9 t2 N
  487. log_errors = On6 W# g5 ~) y2 s. Q) {) u. |
  488.   o6 Y; r- @) f
  489. ; Set maximum length of log_errors. In error_log information about the source is
    & g2 w. U1 l) I
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ {( o' r* W$ H, H
  491. ; http://php.net/log-errors-max-len
    : l2 h8 Y' b+ B/ I& ?
  492. log_errors_max_len = 1024
    : x3 \' ^8 O4 w5 \) ~

  493. 4 y& ^7 u* j6 c- x. K5 G+ g
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) N/ ^1 }$ B( N% b
  495. ; line unless ignore_repeated_source is set true.
    0 P6 U6 i! o9 m5 Q4 x
  496. ; http://php.net/ignore-repeated-errors; e' {/ f  Q0 }
  497. ignore_repeated_errors = Off
    8 a0 W& E$ U* j% ~( q; R; |

  498. & q6 d$ j; C6 @4 ^3 X
  499. ; Ignore source of message when ignoring repeated messages. When this setting- i6 c% F; A7 c2 |0 K. e( L  b
  500. ; is On you will not log errors with repeated messages from different files or
    ' G0 {; c% d, [! n" n& E
  501. ; source lines.
    + Y! d; T0 Q3 u. `7 j$ v
  502. ; http://php.net/ignore-repeated-source+ O& ]1 R" b* ^# t& L
  503. ignore_repeated_source = Off: c& M2 ?' n7 y  I. Q( T1 G3 N
  504. 6 t9 F! s* h) ~2 O
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on" J) z2 J6 d) [3 z) |! j
  506. ; stdout or in the log). This has only effect in a debug compile, and if" k: o: X7 U2 c
  507. ; error reporting includes E_WARNING in the allowed list: C" ~  k& u2 n; Z7 e; B0 N: O6 S7 b5 L
  508. ; http://php.net/report-memleaks( Q5 L, g- m" O3 ]9 K3 ]" B* p
  509. report_memleaks = On" V7 ~1 z( _6 a3 m) S
  510. ' g& ?! B0 N; @  a$ Y2 ]* g5 [
  511. ; This setting is on by default." s- e0 ~# m) f& o6 Y2 I8 G
  512. ;report_zend_debug = 0
    $ ~9 g0 ^+ a; Z1 {
  513. + q. o$ ?8 U6 v  {9 k) o$ v
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value2 S  U! J9 s+ j, E' [
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! w" Y0 p9 {! n% G$ F8 r2 p5 d& n& _
  516. ; however be disabled on production servers.+ e* n6 X8 F, m! S7 ?! A
  517. ; Default Value: Off3 u. }8 Q0 |6 m! d& B# W5 ?
  518. ; Development Value: On, [1 t6 f* S1 s& n4 [* x& ]  P
  519. ; Production Value: Off
    9 z) y' b4 q( ~/ R
  520. ; http://php.net/track-errors
    # z+ l& i! l3 `) N8 @) B
  521. track_errors = Off4 F- S6 G1 }  ]
  522. / u$ u+ T' G/ i; ?
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    2 y; k% ^4 L+ m/ h1 s3 B
  524. ; http://php.net/xmlrpc-errors
    9 `# o3 f# s0 D) H( g
  525. ;xmlrpc_errors = 0
    , z' `% @! I5 H" q1 k+ m9 ~) s
  526. % H9 S4 f- T8 L+ z, q- i1 t
  527. ; An XML-RPC faultCode$ m8 }; c- ]1 t% U* t  a
  528. ;xmlrpc_error_number = 0
    ( H- x- ]0 r7 |6 K4 a* d* j
  529. 5 z+ m: P# G7 M, J9 J# O
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    . C' g8 l2 {" ^5 ?
  531. ; error message as HTML for easier reading. This directive controls whether. ~; C; i) X: r
  532. ; the error message is formatted as HTML or not.- V' I2 e# W: p0 \6 ~3 @( m8 B
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI/ |2 D7 V  s5 s
  534. ; Default Value: On2 w$ l* u- l2 l5 z* s3 Q
  535. ; Development Value: On1 ]+ m( E5 B% C; j* [% ]* G( p! k
  536. ; Production value: On
    2 D2 N2 f. b7 T, k# C, B- L
  537. ; http://php.net/html-errors5 M* `' d4 M$ X4 ^1 {
  538. html_errors = On
    ! N: A2 y9 m, R0 }$ l0 ~& Y# h
  539. " I) |! a9 _: b
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; B" S6 U! u) n8 ~% N: ~
  541. ; produces clickable error messages that direct to a page describing the error
      A% X8 ?% F. K8 [# m! ~9 x; E
  542. ; or function causing the error in detail.3 @( e9 _3 A# p
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    " x6 F% I# K( ~! u/ [
  544. ; and change docref_root to the base URL of your local copy including the
    6 i7 |  V% Q: p4 K
  545. ; leading '/'. You must also specify the file extension being used including
    ' f3 u+ C, q9 I- g
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' h5 }  ?1 T2 G9 x5 n
  547. ; case no links to documentation are generated.
    9 {, N  ]0 k2 t0 ^# R
  548. ; Note: Never use this feature for production boxes.. k# i; V* k- \7 }
  549. ; http://php.net/docref-root+ U6 h# B( w# n" i  V+ x
  550. ; Examples
    $ {1 [1 M3 s* q% C: z9 P1 W: k
  551. ;docref_root = "/phpmanual/"( G5 E$ y% ], f) ~# p9 |% i

  552. 1 D  ]! R( {5 i7 l: J& I
  553. ; http://php.net/docref-ext- s0 s' T- r2 Z' X5 v  D9 c
  554. ;docref_ext = .html+ o' V* S( y0 P# e0 Y8 X
  555. ; T" N' I$ v+ K; K
  556. ; String to output before an error message. PHP's default behavior is to leave3 v# c. Z, J' q" @: P/ E
  557. ; this setting blank.: T$ v. F5 E# n+ {; J& r, f
  558. ; http://php.net/error-prepend-string
      l1 X0 E6 [1 n9 N% o  Z( p4 t
  559. ; Example:8 {3 `* `' v; ?% F, ^7 P9 Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>". S! L& G% z( O, w% h9 }
  561. ( A& [3 g, d4 ]0 }4 p" u/ T
  562. ; String to output after an error message. PHP's default behavior is to leave
    " y  p% n$ }/ H: I) W* B
  563. ; this setting blank.
    . ^6 f3 y& G; a! V) I
  564. ; http://php.net/error-append-string
    7 S* G: _0 h9 I" W  [9 m  h
  565. ; Example:
    + [& Z9 y# j+ R# B4 {1 H
  566. ;error_append_string = "</span>"
    2 K  t4 j  M. E3 b3 i9 {% P
  567. $ ]3 M% _+ R1 U8 ~! d% Z( E
  568. ; Log errors to specified file. PHP's default behavior is to leave this value/ C# }4 [  I9 P5 g
  569. ; empty.
    7 w$ f& p; X4 [; |( i7 U; t# p' g$ M
  570. ; http://php.net/error-log
    7 n9 t% T. a1 H2 S
  571. ; Example:
    ; P9 N- U* J! a5 w0 A; X
  572. ;error_log = php_errors.log
    3 Y( W- W  T8 w
  573. ; Log errors to syslog (Event Log on Windows).
    ; Q6 T* I  \+ ?; m! p0 ?  M
  574. ;error_log = syslog
    ) [8 ?9 L3 f6 @+ q5 {% {

  575. / a! ~& p! r' J* ]9 a1 m
  576. ;windows.show_crt_warning, y* N2 j: Q2 e  p+ E% T+ N' ~& J
  577. ; Default value: 0
    7 `3 `9 c1 Q! U( p% c
  578. ; Development value: 02 A6 [, M+ m1 S5 t9 t* @
  579. ; Production value: 0: R  X1 M3 ^$ r7 F. |  e
  580. 4 d8 o: o3 L7 q! T# `) g' D
  581. ;;;;;;;;;;;;;;;;;
    $ H$ z: Z+ A; r3 R: z
  582. ; Data Handling ;2 D7 i1 b& r5 G4 y1 D
  583. ;;;;;;;;;;;;;;;;;+ {6 t1 Q0 q, O* ^+ l5 T

  584. $ \  p# P0 G4 C4 n0 }
  585. ; The separator used in PHP generated URLs to separate arguments.( v$ f% l1 f8 J7 Q/ I
  586. ; PHP's default setting is "&".
    # m) k7 J/ {& s* Y& j8 w5 }
  587. ; http://php.net/arg-separator.output
    / D+ G* u* ]% w& s
  588. ; Example:
    ! C- [' x% n& G
  589. ;arg_separator.output = "&amp;"; W% Z0 u1 ~$ _/ M+ ~

  590. + ~7 l* f7 M' a
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! I9 H/ P. D. ^+ ~+ c; Z3 b
  592. ; PHP's default setting is "&"./ K- J' L: v* g) j/ b# c* m- R6 g  v2 ^
  593. ; NOTE: Every character in this directive is considered as separator!
    " h( f& G; Y. T5 K- _: J/ @
  594. ; http://php.net/arg-separator.input
    ; S- s' L, T4 }7 e
  595. ; Example:
    , Y3 ?9 |1 N; L8 Y! \7 c
  596. ;arg_separator.input = ";&"( ^+ ]3 @& F3 k2 F" b0 d: \4 Z  e/ B3 Y
  597. 3 J- N: ^- O8 p; y1 p  _. H
  598. ; This directive determines which super global arrays are registered when PHP
    % Y6 M; P/ g2 @7 ^" X5 w
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super% q7 E3 \' J3 {- ^7 ^' V, g
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! i- @; [$ z- J/ J
  601. ; paid for the registration of these arrays and because ENV is not as commonly, G' U& h) i9 d  G* v; A" `
  602. ; used as the others, ENV is not recommended on productions servers. You/ J& h" O# H3 z( [4 f! Y
  603. ; can still get access to the environment variables through getenv() should you
    . n' r( P) c( }
  604. ; need to.
    ( {2 u0 k1 H: P- E: b, \. o. S4 z
  605. ; Default Value: "EGPCS"
    * c$ F$ h% @6 T/ t
  606. ; Development Value: "GPCS"! |# m1 }9 ~- Y
  607. ; Production Value: "GPCS";' h* f4 i) p% |& T  S, N5 f
  608. ; http://php.net/variables-order
    ( `3 B, s2 |+ ^
  609. variables_order = "GPCS": Y% ]  y% F: X. z. p
  610. * h2 f7 l% E* j6 ]% |
  611. ; This directive determines which super global data (G,P & C) should be! I0 |3 E+ E2 h2 V4 }, \
  612. ; registered into the super global array REQUEST. If so, it also determines
    3 M' \+ N- U& u- Q2 I0 W
  613. ; the order in which that data is registered. The values for this directive
    " J/ o' i% U/ M
  614. ; are specified in the same manner as the variables_order directive,, C) E; n; P  I2 \7 m! g6 T1 E# ~
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& O# f* h: D6 \" L
  616. ; in the variables_order directive. It does not mean it will leave the super
    6 U4 o- ?" X& D1 s( B
  617. ; globals array REQUEST empty.- l; E& M* A" E  G$ t: H. P
  618. ; Default Value: None
    " |: h9 L4 }& u4 p" v- n% F
  619. ; Development Value: "GP"
    8 m/ \0 Q8 \; l+ |
  620. ; Production Value: "GP"
    & P) C! ?  C5 N3 T$ {
  621. ; http://php.net/request-order2 I; h9 H5 {& d
  622. request_order = "GP"# X1 ^: P& ~. }  {3 X$ Z

  623. ( I* n: v# o$ {# z) [: m2 U
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ( [1 c6 ]1 O  s+ r8 C7 [! F
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    1 Y5 p4 j" K" `1 v
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ( N) o" M7 B* C7 w/ A  D6 |6 ?
  627. ; that were passed when the script was invoked. These arrays are extremely6 L( v7 ]( U6 ?) F2 V3 o+ r
  628. ; useful when running scripts from the command line. When this directive is2 j8 h! `  A& ^  Y1 L6 `. W6 [/ Q
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 |: |# D& F9 Y6 x; d8 F
  630. ; a script is executed. For performance reasons, this feature should be disabled
    # R( u6 M  l8 E4 U
  631. ; on production servers.
    ' C5 s/ y, t6 T8 f
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - \1 \0 V9 \+ |3 t1 G
  633. ; Default Value: On/ z/ n( ^, V7 M( _) g+ n
  634. ; Development Value: Off8 j; I! u0 Y4 {8 }. ~3 I
  635. ; Production Value: Off
    9 r4 k9 n( M& i
  636. ; http://php.net/register-argc-argv
    4 e" X8 x% @) J9 H- a
  637. register_argc_argv = Off9 Y- a$ a" K" I& m9 d& M
  638. : @9 S! d: y3 V6 ^& y) g& Y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 \3 a: W* b0 ^5 ]1 G2 c
  640. ; first used (Just In Time) instead of when the script starts. If these
    . i) N% P1 k  {, ^" |4 ]2 K. T
  641. ; variables are not used within a script, having this directive on will result
    ; M* k; Q# X' ^# `2 o+ U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, c4 F# o  C+ ^) V
  643. ; for this directive to have any affect.% O; ?- k  P4 p
  644. ; http://php.net/auto-globals-jit
    . f( ?0 @! @4 A) B3 Z% ?
  645. auto_globals_jit = On) D, G4 [4 P& S4 U' N8 P1 H8 \; z
  646. $ y" q5 O% F# s/ i" ^9 D- }- K4 ^$ L3 Y
  647. ; Whether PHP will read the POST data.7 J! o% ~. t$ |2 T) H! }
  648. ; This option is enabled by default./ n/ y$ s% Q! s
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    7 q: Y" u6 H& U+ x4 s4 l
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    : ?! r0 T( P8 m1 _0 R
  651. ; POST data will be through the php://input stream wrapper. This can be useful2 H+ T8 U9 D) W( [$ X/ w/ W
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.5 [4 o- |  L( \. x3 a6 \
  653. ; http://php.net/enable-post-data-reading
    % p! |+ O7 P) F+ t! L# o2 _( P
  654. ;enable_post_data_reading = Off8 @; f& i+ p; b" X$ \- z3 @7 q
  655. 6 H7 E1 N: y) f
  656. ; Maximum size of POST data that PHP will accept.* ]7 y9 t. {5 {2 D, E
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      y# E' t! D: g' v8 X9 p7 m  d
  658. ; is disabled through enable_post_data_reading.1 c2 @& b( k0 [$ l
  659. ; http://php.net/post-max-size
    ' H! ^& @6 f6 v
  660. post_max_size = 50M
    + ]5 n# v5 @. Q  f- j. W7 j8 y
  661. 5 @# u0 B1 e5 S
  662. ; Automatically add files before PHP document./ j# s9 }: t2 [* y' m3 s
  663. ; http://php.net/auto-prepend-file
    $ q" b$ V& f7 a8 [0 X4 z: @* Y
  664. auto_prepend_file =. j" l0 U5 W+ O; q1 [; X2 U

  665. " n0 }  B# E6 [
  666. ; Automatically add files after PHP document.; Q! W* S# [" h' C8 M* J( T6 o9 @5 o
  667. ; http://php.net/auto-append-file
    * i' s' a5 I4 U
  668. auto_append_file =
    7 K* t- r$ p6 D

  669.   I1 j( |% O  F) a# c& P. Z* C+ X
  670. ; By default, PHP will output a media type using the Content-Type header. To* U% V$ j# F8 ]' }
  671. ; disable this, simply set it to be empty.  G$ f+ r3 }" h/ \8 {% r/ y
  672. ;7 `- x! p; x- C6 O* ]8 h' Q
  673. ; PHP's built-in default media type is set to text/html.
    / d8 c6 H# V7 M8 \5 C6 `
  674. ; http://php.net/default-mimetype
    : z2 i  Y, i* S( A
  675. default_mimetype = "text/html"6 e1 @! R- y6 Q& o

  676. 6 F" l9 K8 T, d' ^8 }
  677. ; PHP's default character set is set to UTF-8.9 q* q" j; z8 Y/ g% c6 O0 E/ v
  678. ; http://php.net/default-charset
    6 L, D$ q" P& D: r* n' s' ?
  679. default_charset = "UTF-8"
    0 A% M4 {, d9 R9 Q, A& e

  680. 9 ^) o; n( k: Y. W2 b
  681. ; PHP internal character encoding is set to empty.
    6 p7 t  S7 k) O! S: d+ s7 D* Z
  682. ; If empty, default_charset is used.1 y6 l* Z6 f" g! v1 \" s& X# G/ n
  683. ; http://php.net/internal-encoding
    / ]9 M2 ]% O9 {4 X5 S  |: o
  684. ;internal_encoding =
    ; H) f3 t+ f$ e4 H
  685. + y; r: J& Q/ H/ }- p( x8 E  A5 g- @
  686. ; PHP input character encoding is set to empty.. V* w: ]8 k" B. y/ e8 c, b
  687. ; If empty, default_charset is used.0 Q8 }/ F! C8 W1 h
  688. ; http://php.net/input-encoding; T1 i8 P4 |, D8 t  ^9 V. H
  689. ;input_encoding =
    0 M. v% L8 K, u  e$ m/ ?0 T
  690. ( L$ E8 ?! F  ~! T- y% w
  691. ; PHP output character encoding is set to empty.1 g* [8 a; M. Q8 l" Q$ G- a, y0 F
  692. ; If empty, default_charset is used.) {" y9 b" M" p( [+ _
  693. ; See also output_buffer.1 Z, E+ p. O, o  K, W1 f  C
  694. ; http://php.net/output-encoding
    3 b- ]$ h  ^6 I/ \
  695. ;output_encoding =: j# r+ ^+ r# u% y. \
  696. ' m# O2 ]6 l9 R8 V4 g% B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + \6 Y+ j8 u, S# i0 {. c0 b- z
  698. ; to disable this feature and it will be removed in a future version.# S; ]+ {4 O% n/ G& h
  699. ; If post reading is disabled through enable_post_data_reading,
    9 g: d" x4 v  }9 M7 C8 T
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    7 x; v+ S0 D, E6 j7 c' m. E
  701. ; http://php.net/always-populate-raw-post-data( n$ q+ A7 m  \5 u; n
  702. ;always_populate_raw_post_data = -1
    $ H6 H  y+ Q* \; Y+ }* W# |0 ]5 ~
  703. 3 g# r' V2 O- {% n
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : I+ w0 K8 L( y" d& ]7 j1 I3 A# s
  705. ; Paths and Directories ;
    $ _0 \8 `$ I, }) V3 G7 X3 [! ]
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 ]! h( Y6 o2 d" a2 D! _
  707. 6 Q5 b7 d& l1 S: T
  708. ; UNIX: "/path1:/path2"
    * _/ n; ^4 L9 c# T  G- _# V
  709. ;include_path = ".:/php/includes"% B' r8 V' ~6 @" _
  710. ;. B) b, U1 m" T5 `7 \" \5 G0 A/ a% R
  711. ; Windows: "\path1;\path2"
    # y5 P( U( _4 z( F
  712. ;include_path = ".;c:\php\includes"& D; ?$ \4 R. T( A( Z
  713. ;
    $ E' G  x- ]7 P- L
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' T( ]# q9 K1 V6 t( D$ ?) p; a8 R
  715. ; http://php.net/include-path- _/ X& U3 E2 v% E

  716. ' D/ a% K7 S9 J2 f
  717. ; The root of the PHP pages, used only if nonempty.! H# v) h' c( H( z& ]
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + [& @3 F8 D5 n3 m$ V
  719. ; if you are running php as a CGI under any web server (other than IIS): q& L  ~4 M1 N
  720. ; see documentation for security issues.  The alternate is to use the: i, O, ^) P2 T) F0 y2 ]' o. J5 V9 I
  721. ; cgi.force_redirect configuration below  Q$ N/ K7 M/ B: p1 J' W) K" |$ ]
  722. ; http://php.net/doc-root
    + P8 s0 X( w' h7 j' {. N  n$ M; Q8 k
  723. doc_root =
    , o* ^! _, G0 u% n/ R

  724. 2 E4 P) A- |& l
  725. ; The directory under which PHP opens the script using /~username used only) I; K9 o4 o  `$ n4 F+ F$ G
  726. ; if nonempty.9 ^) A* G' Y! H7 H0 {4 _  }9 E
  727. ; http://php.net/user-dir
    1 `  V& G, `1 Y7 Z+ d0 v! o. a
  728. user_dir =( A* O+ V9 m% L; A

  729. * t9 o( s* _7 a' p2 }9 V
  730. ; Directory in which the loadable extensions (modules) reside.4 M# r" ^' k9 z
  731. ; http://php.net/extension-dir8 R+ \7 w; M- z8 i" @% A) {
  732. ; extension_dir = "./"
    4 U0 y& f. v6 b
  733. ; On windows:( j, W0 @* G) O
  734. ; extension_dir = "ext"" z8 P3 c0 k2 q' V2 w+ G

  735. 0 b9 V; J9 D- g9 u2 d9 f
  736. ; Directory where the temporary files should be placed.
    . g$ p) p0 R, a- ?
  737. ; Defaults to the system default (see sys_get_temp_dir)
    . X0 y: K/ H" p% D
  738. ; sys_temp_dir = "/tmp"
    7 T' A$ {7 Q( K5 X8 x

  739. ! v9 H9 [0 j' y* h7 W  _
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 W1 y6 Z3 S1 K* c. x5 `( l, i
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : Q( O! R7 g8 q) E2 f/ c
  742. ; disabled on them.( {7 j* i; V6 H+ w! |* `
  743. ; http://php.net/enable-dl
    ! f" _. [4 k9 e" L; ~  B
  744. enable_dl = Off& C7 X1 y) v( y0 y' w+ z1 I

  745. 2 X, S5 x: u" u$ ?0 n
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    4 T  h, J0 @' B! G" t- Y
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * D$ J8 _! i# b- o* C
  748. ; turn it off here AT YOUR OWN RISK
    9 N5 p+ T, Q$ a7 E. S* U
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    % I" b# u% k# }1 N: |
  750. ; http://php.net/cgi.force-redirect0 x. Z& f- e* T8 u# A
  751. ;cgi.force_redirect = 1
    7 j* u7 y4 B" h" t; x. {' Y' n
  752.   c; W5 Z: \) M! s$ k
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with) X( x& j, n' D& _* b% C) s# a
  754. ; every request. PHP's default behavior is to disable this feature.
    ( l; {% ?/ g9 \$ z. g  B# x' ^
  755. ;cgi.nph = 19 ^' \  x1 {' B* F" a

  756. 8 W: X$ @3 f5 c
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) l  n5 W4 G- @! W! L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ k+ M, F. b7 n( D0 o
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 @, p) o4 ^! r/ X+ B0 |; j) X$ \* F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . X, Z# ]& b: O; {; {' l* ?
  761. ; http://php.net/cgi.redirect-status-env
    4 B9 O. ^/ c* T* x" a( f
  762. ;cgi.redirect_status_env =
    * |! Q5 a1 ^! B9 v; v: v0 H  t6 f

  763. 9 t  W5 l; F$ ?$ U  E. v& A1 @; @8 f
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # ?" S, t2 x  h* E# T& K
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) c, T& C9 E9 f: @6 J- Y: N2 t
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" a2 H) @7 f) @5 k% w7 L0 |
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ; w2 |2 R  f' K8 i$ n) B+ R
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ W/ j% X  ]& e- ~  Y' Y* p
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " J5 X; {4 C+ K, Z
  770. ; http://php.net/cgi.fix-pathinfo
    5 ~! d2 U6 `: \& P( f) r0 H
  771. cgi.fix_pathinfo=1& v7 m+ j5 s: j$ l8 |& y6 F
  772. 9 h' k2 N1 L" V
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " q) A) v5 I. s" g4 S$ F. x
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 D, |+ U$ e2 e2 L/ v+ U/ V
  775. ; http://php.net/cgi.dicard-path! U; E$ N- U. |& R
  776. ;cgi.discard_path=1
    - M+ C) H* a, D& p( a7 f

  777. ( S$ q8 G/ D, \- i
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ w' C( c0 J% M3 w/ g7 r  i
  779. ; security tokens of the calling client.  This allows IIS to define the/ q4 z% Y+ Q, h. S. Q) o+ P5 X
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    7 w% Q8 _0 u) J1 @8 w, `
  781. ; does not currently support this feature (03/17/2002)
    . J( B# \& l. V3 L& a% f9 m
  782. ; Set to 1 if running under IIS.  Default is zero.
    3 @$ W8 w0 `3 C" _
  783. ; http://php.net/fastcgi.impersonate
    - E7 T# w4 v7 U% e
  784. ;fastcgi.impersonate = 1
    - O: O0 D- F; a9 A! B2 l' S
  785. ( U4 W+ i* E2 `; |9 r  k4 P7 j/ H
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: g( d2 y* m3 P1 p; K) \
  787. ; this feature.9 |5 R2 d. I# p
  788. ;fastcgi.logging = 0' t; V* F5 h' w# B8 v' p( J

  789. 0 q- h9 ?" V: t+ _2 ~2 R" R6 f# t
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 [% P, \( B2 g, \+ i# C9 p0 b
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that" V! z9 H' v; R: A0 k% p! ^& m
  792. ; is supported by Apache. When this option is set to 1, PHP will send$ {# b, p& p1 x
  793. ; RFC2616 compliant header.- E& I3 ]0 y5 q4 B
  794. ; Default is zero.
    2 e! |' E0 E% m2 m
  795. ; http://php.net/cgi.rfc2616-headers& m  o+ A6 c) O7 Y& J
  796. ;cgi.rfc2616_headers = 0' n9 C/ D' H/ v1 P9 z
  797. " _" s1 \& L5 X6 Z) ]7 {( h( f8 i
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 ?( r( F5 l% `! ]7 A( S
  799. ; (shebang) at the top of the running script. This line might be needed if the! b6 @4 B; }. y1 l
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    - w2 F7 `" _) b0 O4 f
  801. ; mode skips this line and ignores its content if this directive is turned on.9 }6 Z0 I3 v$ T' Q# e% _* h
  802. ; http://php.net/cgi.check-shebang-line. v# ~) r& v# s: @) |
  803. ;cgi.check_shebang_line=1) A. P+ A1 }  }$ Q

  804. & R' Y- B* }8 W/ o
  805. ;;;;;;;;;;;;;;;;2 O  v! R8 h; O: z4 f+ }
  806. ; File Uploads ;
    2 p6 U- K# }2 L. x! L, y
  807. ;;;;;;;;;;;;;;;;. W9 O3 i4 h$ y9 z3 k/ A% B
  808. ; f  d2 f$ n* W/ |. V; B: Y
  809. ; Whether to allow HTTP file uploads.
    - B& _4 S( Q( R( t- l3 _
  810. ; http://php.net/file-uploads
    8 F) x8 y( b, r6 d* X) h; t
  811. file_uploads = On
    ) v6 {# Z  @( \: W4 w
  812. 4 e+ j6 @  ?; N1 c7 v  P% q
  813. ; Temporary directory for HTTP uploaded files (will use system default if not' {- U# a) ~1 T7 Z
  814. ; specified).4 x9 M2 L3 {+ H; r, G: J- O
  815. ; http://php.net/upload-tmp-dir" ]2 J* f4 O: F; o2 p8 e
  816. ;upload_tmp_dir =/ x1 o5 C/ h) x- v

  817. % n0 a! d, K  ?, c( }0 W. m2 Y
  818. ; Maximum allowed size for uploaded files.
    + T+ ]. s/ z& c6 m8 h/ d
  819. ; http://php.net/upload-max-filesize
    # \8 N% S9 `  H
  820. upload_max_filesize = 50M7 d2 {2 G' D# j$ R. O! R! R
  821. 6 }  f0 g  o; S4 ]' ?
  822. ; Maximum number of files that can be uploaded via a single request+ f7 j/ M) y- ~4 J9 o3 S
  823. max_file_uploads = 20
    & x! p" w: k. L5 f5 V
  824. $ B8 [) v( {* D
  825. ;;;;;;;;;;;;;;;;;;
    $ j% s  z0 Q; E. L
  826. ; Fopen wrappers ;, a: \* p3 h" n0 A
  827. ;;;;;;;;;;;;;;;;;;: Z# Y, Y* O5 }) A

  828. 8 Y6 k# R: K- A. A7 L
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 l: `8 \8 N; a) r/ \* t2 A0 J* `+ N
  830. ; http://php.net/allow-url-fopen4 ?4 G! r5 r* N* s+ L2 i
  831. allow_url_fopen = On5 a, K- t* |# f  l

  832. 8 B; I6 T8 B  R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.0 Q8 }% a2 X$ U' ]) Y; w+ G
  834. ; http://php.net/allow-url-include
    5 P$ b, @6 C4 q7 B5 J
  835. allow_url_include = Off
    + z0 D6 w# ?4 v& c7 s$ y

  836. 7 g$ C1 m% f, B5 b7 Z' k' J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    & e, u+ ~7 d. ]" a
  838. ; for this is empty.
    ' o* h. v) N: p2 X3 k
  839. ; http://php.net/from. s( D9 b/ p3 n8 b- P, h! @# H
  840. ;from="john@doe.com"0 z2 w  M" f: k8 m9 S. P0 \) o
  841. ) _( u% e4 E' ?) o" N. ?; D
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    / Z- o5 r( }+ P* A8 I, G
  843. ; http://php.net/user-agent) d6 _3 D$ M+ \! e/ }; R) Y( u5 z
  844. ;user_agent="PHP"
    ; g/ D' r2 e, w: s( J+ L4 C# z8 R$ a
  845. ; M# E# J* l6 @- [' s
  846. ; Default timeout for socket based streams (seconds)
    4 q* t* D) n! x" |
  847. ; http://php.net/default-socket-timeout
    2 f2 V& g( A, K6 }9 J
  848. default_socket_timeout = 60+ H8 `( j4 _5 `6 ?; {  T0 T

  849. 2 H; H. b3 q/ G, P3 X
  850. ; If your scripts have to deal with files from Macintosh systems,/ ~/ a- ^& N; |% q+ L# m3 Q
  851. ; or you are running on a Mac and need to deal with files from
    * ]2 Y" N! x4 Y# }9 U$ m$ t9 |; F
  852. ; unix or win32 systems, setting this flag will cause PHP to
    - k2 f4 L; w$ m8 \, r
  853. ; automatically detect the EOL character in those files so that$ X: @1 A3 J7 E8 F
  854. ; fgets() and file() will work regardless of the source of the file.' `) O! I; V2 S( `8 L( A4 u: b; k; j/ F
  855. ; http://php.net/auto-detect-line-endings  m( \+ F/ {8 {# w3 W: ~
  856. ;auto_detect_line_endings = Off9 ]% b* [- Z1 t/ Z

  857. 4 y1 E+ \2 b' m' s: T
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 B) j( I8 n5 L& \* K1 X: l; J8 S
  859. ; Dynamic Extensions ;& \0 z$ x  `% j% F5 j2 g  P( }
  860. ;;;;;;;;;;;;;;;;;;;;;;
    1 M+ t4 f3 G# G
  861. 1 U) B( n. `9 L5 C, J+ H1 x4 x3 l
  862. ; If you wish to have an extension loaded automatically, use the following* u2 K' z; Y# m( @7 ]1 e* [  ]- i
  863. ; syntax:" H2 _& I. V- w$ B  o2 V" ^
  864. ;
    1 F  u& ?2 X0 r. E  R: S
  865. ;   extension=modulename.extension0 j) N& f& |) W
  866. ;
      j& z' I: Y3 U. _7 O2 r/ P& Y$ U
  867. ; For example, on Windows:2 h, l/ u- S% P" X  _; n
  868. ;
    ' J# S. [) Y% Y
  869. ;   extension=msql.dll
    $ {" T' Q7 E- A( A" w' @9 t
  870. ;/ Q2 k% c9 y4 f' [
  871. ; ... or under UNIX:
    ! s: E8 y1 {0 {- B$ w
  872. ;6 E7 I+ g3 h0 E9 {
  873. ;   extension=msql.so) T* K# [" V1 x+ ~% j; r+ S1 Z
  874. ;+ y4 ?# b* Q/ [3 z) s
  875. ; ... or with a path:0 o! ^% P0 b1 R, Z8 e# @
  876. ;5 X0 y' Y# d3 v
  877. ;   extension=/path/to/extension/msql.so
    ; ], R3 h, M$ `- |  {) p+ _
  878. ;
    / [+ N( `/ v6 I- C$ m) `2 O- c
  879. ; If you only provide the name of the extension, PHP will look for it in its
    0 D! ?  k( P2 O! i+ i$ Z/ A" o+ ^
  880. ; default extension directory.
    * e- `2 h( |; `$ }8 c) Y% \, p
  881. ;
    4 u' I. Z+ p( v" ~0 ^+ Z6 G5 F. _
  882. ; Windows Extensions1 b& }, |9 ~4 y! z) @! v8 Y$ D, u
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    + n# M, B% e* d
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)4 S. ]& h  e/ N
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    # E8 t8 D+ k5 O/ K6 D2 j- j+ L6 V- w
  886. ; Be sure to appropriately set the extension_dir directive.
    - h7 S" ?$ m* L5 k
  887. ;  i% J& M3 F% V  q
  888. ;extension=php_bz2.dll
    2 e2 ?; F- \9 J4 A
  889. ;extension=php_curl.dll
    ' m+ Q. u* Q" Q: N: W
  890. ;extension=php_fileinfo.dll4 |: ^! M. _6 g: _$ ?' ^
  891. ;extension=php_gd2.dll' O, y0 X5 i0 l9 T* E2 W, V  b
  892. ;extension=php_gettext.dll) S7 @1 G, d; I# v- C& l1 \
  893. ;extension=php_gmp.dll
    5 ^) [& t0 ~9 m' r7 O- q
  894. ;extension=php_intl.dll" Z9 K- i; U% ^! @/ p/ }/ L
  895. ;extension=php_imap.dll
    - `  W! L/ D' [) w( ?1 R0 M* [
  896. ;extension=php_interbase.dll
    2 W% n! n  s" E7 A% L5 n: K
  897. ;extension=php_ldap.dll
    ! h0 R6 n1 [8 q" w* r
  898. ;extension=php_mbstring.dll
    + A7 ^( V5 v6 Z' F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it- I  Y; Q4 f* c
  900. ;extension=php_mysql.dll
    # b! }9 j) D' P* |2 t# k
  901. ;extension=php_mysqli.dll
    " x" m- P; k$ f" m" a
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* A. H& }: A2 S8 S( t' E
  903. ;extension=php_openssl.dll7 K6 [2 K& G& f9 {. T7 x; V' w
  904. ;extension=php_pdo_firebird.dll
      u7 I2 N# q! Q; ?# {
  905. ;extension=php_pdo_mysql.dll
    5 `8 W1 p2 o/ t; M0 }8 L% M
  906. ;extension=php_pdo_oci.dll
    3 c- ?2 T6 Z0 ^% C
  907. ;extension=php_pdo_odbc.dll
      \( c7 R, R$ ?
  908. ;extension=php_pdo_pgsql.dll
    ! j" k+ x* j* b" D
  909. ;extension=php_pdo_sqlite.dll( T1 T) L/ p& i: \1 y3 z
  910. ;extension=php_pgsql.dll2 }, A3 y+ p) {+ E9 n
  911. ;extension=php_shmop.dll
    9 ~. m5 Q! x) F! {$ K) C3 l0 j
  912. 6 N( I5 C6 _0 z/ j5 O
  913. ; The MIBS data available in the PHP distribution must be installed.
    $ P) m1 ~( Q9 g" W8 R7 P
  914. ; See http://www.php.net/manual/en/snmp.installation.php 9 ^1 c4 G4 P( h% f
  915. ;extension=php_snmp.dll3 e& S4 V  l) i5 `+ \7 q7 A

  916. " k9 b6 J' q3 s5 W! `% V) A# N
  917. ;extension=php_soap.dll
    ) B7 ^9 B. U: T8 v9 k! j
  918. ;extension=php_sockets.dll  n1 v8 y! o$ Q; q
  919. ;extension=php_sqlite3.dll
    0 P; q2 `; ~' K3 ~6 U& }/ ^3 e
  920. ;extension=php_sybase_ct.dll
    ) {8 A; G- M+ U8 d, Q
  921. ;extension=php_tidy.dll# y0 T# ^& O( n, U6 X- Z' O
  922. ;extension=php_xmlrpc.dll
    1 L7 o; @( b: g6 v. _
  923. ;extension=php_xsl.dll
    - Y! [# z  U$ {! d

  924. 1 f. l+ o( ^) r8 u- b
  925. ;;;;;;;;;;;;;;;;;;;
    % e$ m9 G, r! \* g
  926. ; Module Settings ;
    / V: v% H3 Y1 h
  927. ;;;;;;;;;;;;;;;;;;;  h  N! [6 N) z: ?

  928. ) R" \1 |% @3 g+ ?. f/ }% R
  929. [CLI Server]
    * A& _/ ^9 j$ j; ~* q& f% m
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    " b, [' Q, L8 O5 {6 k% B7 b" L
  931. cli_server.color = On- t7 ~+ o% x9 F9 m1 `& ^  h

  932. 6 x% M* F' C) |, k
  933. [Date]0 y( T! d8 _3 A! w0 E
  934. ; Defines the default timezone used by the date functions' l! F, R. u4 @$ L: E* E
  935. ; http://php.net/date.timezone* y1 S& P+ A$ v$ U4 i
  936. date.timezone = PRC
    - v- d' s) O3 ~* v( C$ ^, ~
  937. . Q& i: C! y& G2 J2 |+ ^* k
  938. ; http://php.net/date.default-latitude
    ) m2 N% e# F/ P' E0 l3 g9 {: T
  939. ;date.default_latitude = 31.7667
    ' K' Z. t& h# [( K6 x3 u: p
  940. : ~" ]9 o0 y: n! B% o
  941. ; http://php.net/date.default-longitude+ C$ w2 v  |6 P3 w2 L! M6 L
  942. ;date.default_longitude = 35.2333
    ( m  V! q* R. h! I
  943. ) \* c0 v$ N" m6 h1 {. F8 D" |
  944. ; http://php.net/date.sunrise-zenith) |' v5 S3 Y. ?6 c& g
  945. ;date.sunrise_zenith = 90.583333
    & p/ H; m3 b0 ^& c; ~7 K
  946. 4 [% _, k/ b. H% O
  947. ; http://php.net/date.sunset-zenith
    2 I. ?( R, n) v/ R: C$ d9 w" r& r
  948. ;date.sunset_zenith = 90.583333( `( x1 D$ Z+ l$ N2 |. ?

  949. " l9 B' K0 q- j% r4 F
  950. [filter]
    1 X- _& l7 F  n8 _
  951. ; http://php.net/filter.default
    + E) J3 I- F# R; @
  952. ;filter.default = unsafe_raw+ o( z* E( D' C5 U, i. h
  953. 1 q3 |) e3 k) v  [2 w5 g7 X) M9 _
  954. ; http://php.net/filter.default-flags$ `3 Y+ n( t( O: G" F4 u, k+ \
  955. ;filter.default_flags =) h# y, |& S9 Z

  956. ( Z( c* v7 m; O& i
  957. [iconv]
    - [' y. z9 k8 r
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.4 d% |) P- N, D7 {, ^
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., J9 n( `* ^) H6 D. e/ X. y
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # {8 e) B9 _) ]  ?. ?. V9 f8 F# W) l6 x
  961. ;iconv.input_encoding =
    ) \+ y. `& E2 ~, u# N1 `

  962. / a0 h0 Q# y( W4 G2 W
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : D; b- R1 [2 |
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." b4 z" t5 Z4 R6 o4 U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& T8 J5 U5 [8 T& q
  966. ;iconv.internal_encoding =
    - ]: X  K9 O, V) y* {

  967. 2 \+ E, g/ ^# o9 O' B
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.. H$ c0 y) N5 q( B: G1 R
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - q4 Q$ t* R) Q' E9 J6 H1 s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 H5 O& b! X* f: a& a+ {( L
  971. ; To use an output encoding conversion, iconv's output handler must be set
    / |5 M1 ?) j* e1 b5 i! s8 |  @
  972. ; otherwise output encoding conversion cannot be performed." W4 `7 ?/ e" V4 I& {8 R, _
  973. ;iconv.output_encoding =
    " G; z. A9 l. a3 C: B* i

  974. - L% A) g& u7 B7 S0 |
  975. [intl]* M, w% X  K6 M2 R# e
  976. ;intl.default_locale =
    / X" M1 G1 ]  {. z
  977. ; This directive allows you to produce PHP errors when some error" a& s9 s* ^! k1 Y: k
  978. ; happens within intl functions. The value is the level of the error produced.
    * w; K0 I( ?: b9 B4 s& t$ S
  979. ; Default is 0, which does not produce any errors.
    3 o) L/ L+ E" p' S1 |0 f
  980. ;intl.error_level = E_WARNING! J. Z0 v7 C9 j: w( G
  981. ;intl.use_exceptions = 0
    1 l/ t7 @' u/ x' h  v, [: O
  982. 8 E9 I* A  k1 H- q; |  B/ c' f
  983. [sqlite3]
    7 z- y% l* c$ z: W5 m- l
  984. ;sqlite3.extension_dir =9 Z4 _/ b6 [0 b+ l

  985. 9 }. i2 R* v! m6 S' A
  986. [Pcre]
    - Z% \+ K* O! L7 }
  987. ;PCRE library backtracking limit.
    0 Q2 C% I) D- T) k9 S
  988. ; http://php.net/pcre.backtrack-limit6 D+ w! v5 N4 x3 ?3 i
  989. ;pcre.backtrack_limit=100000
    0 B5 e$ N7 a; R1 a1 O5 O

  990. / k# W4 O$ v1 |9 I/ k
  991. ;PCRE library recursion limit.
    4 y! T+ @% x* q$ C# {
  992. ;Please note that if you set this value to a high number you may consume all1 ~) a- x& C6 A- P8 q$ m
  993. ;the available process stack and eventually crash PHP (due to reaching the+ ^+ W0 f, D$ S/ ~0 k
  994. ;stack size limit imposed by the Operating System).
    . q; w5 D( X. A8 R5 G) Y
  995. ; http://php.net/pcre.recursion-limit
    8 u" L7 I% m. i- W" E, I. s- j2 ^
  996. ;pcre.recursion_limit=100000
    / _' k$ Z2 W2 b/ N9 }1 h' }+ P
  997. ( y( Q+ H# N$ v  d
  998. [Pdo]7 N3 M5 Z1 x1 |0 C& r. ~
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 z: B! I/ e, N2 g& U% y( j* }
  1000. ; http://php.net/pdo-odbc.connection-pooling; L0 V( ?& {* b4 v- C# a7 Q
  1001. ;pdo_odbc.connection_pooling=strict
    ( ^+ j7 J- Y6 U7 Y8 P! v
  1002.   }' l" X: K, S7 r6 Z* H9 K5 L
  1003. ;pdo_odbc.db2_instance_name
    - E$ B- y: K6 o; l( a" T+ X5 N$ A; k
  1004. * Q/ s) ]# ~) k2 r( d
  1005. [Pdo_mysql]0 y- r7 K; ?; u. M$ c
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache- E; b% F" K& H# l
  1007. ; http://php.net/pdo_mysql.cache_size
    , y8 ]8 l6 A. Q! t+ p. V7 p  P- M
  1008. pdo_mysql.cache_size = 2000, s: Q( F6 a4 U, J! L9 v9 M
  1009. 8 L; N& |. C2 x. _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; W/ l9 J& E! R7 i9 m' ?
  1011. ; MySQL defaults.7 I6 Q5 p5 ~5 I9 q: r
  1012. ; http://php.net/pdo_mysql.default-socket8 z4 z* e* w! {! |) c5 L
  1013. pdo_mysql.default_socket=. s' h; n( ~5 F/ L4 D5 W0 n5 V4 x
  1014. 2 x# f1 W; L) r. Q/ v  C9 i+ G
  1015. [Phar]* r- r+ M+ w8 x5 F
  1016. ; http://php.net/phar.readonly4 V/ Y; |& F% S1 m: k
  1017. ;phar.readonly = On
    * b2 w4 Q: j. p& [4 A: c4 e+ r
  1018. " d8 c) z$ p0 B8 E
  1019. ; http://php.net/phar.require-hash
    ( r/ a# M" C/ y% n7 R
  1020. ;phar.require_hash = On
    ! J. M- B: f$ }6 B+ B) H

  1021. & B  |: h6 g% ^. K, W$ O& U' h
  1022. ;phar.cache_list =0 r' H6 I( c; r! J- \' ~+ q

  1023. # n& H; Q2 g! m' D8 h$ C/ ?1 N
  1024. [mail function]5 x& _5 J% U2 F, `
  1025. ; For Win32 only., C& H; t1 A$ u
  1026. ; http://php.net/smtp
    2 F8 }) o7 J5 k" ^! _$ ?
  1027. SMTP = localhost
    2 m1 R. Q3 s; L$ t# \% x
  1028. ; http://php.net/smtp-port
    # ]. e" T) L' s% j* w
  1029. smtp_port = 25
    ) `! v! \1 U! l. [. v4 J! r

  1030. ' N4 f6 j; q+ h; M
  1031. ; For Win32 only." K9 K0 @. ?0 R- O
  1032. ; http://php.net/sendmail-from; X+ k. E/ z% e
  1033. ;sendmail_from = me@example.com% K% n1 B; i  s1 Y% o# o- N: ]* X4 n

  1034. - `  \  c2 e- W7 L
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    1 ?! v3 B' q0 E5 y5 |- {+ U
  1036. ; http://php.net/sendmail-path
    0 T* m: B5 V. v
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    9 e: ?2 `/ c1 v8 g

  1038. 5 d: V. u1 T; Y, `6 j0 I8 Z3 z, [/ A
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    # ^. r- N2 V/ \, J( y5 t) u
  1040. ; to the sendmail binary. These parameters will always replace the value of4 ^, ^  P# j5 N8 D; J% L0 Q  }2 u
  1041. ; the 5th parameter to mail().6 Y4 m: O! O# Q2 q
  1042. ;mail.force_extra_parameters =3 w% @4 U, a) K0 H9 A4 B
  1043. # ]4 E" }8 J+ X4 Z. C
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ v6 D  t0 G: b1 D! q
  1045. mail.add_x_header = On
    ) d( \& m4 r2 M
  1046. ! I6 D# D4 {6 N
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( [. t- w; }! a1 H% t/ H! ]
  1048. ; the full path of the script, line number, To address and headers.
    / G+ G% G- k. d' z* ~3 z! _
  1049. ;mail.log =, q/ e! L3 c# a: u. I' u5 Y( y3 r; L
  1050. ; Log mail to syslog (Event Log on Windows).! `. N9 ^5 o! K& x% i
  1051. ;mail.log = syslog% ?4 Z" i0 \4 D( z4 S

  1052. # x8 N, S& E% v& R9 b+ x
  1053. [SQL]! g; r5 C- f: b
  1054. ; http://php.net/sql.safe-mode  L: U# H* `7 X9 j- B
  1055. sql.safe_mode = Off3 p. X. M9 C+ V; ~  G& z& w
  1056. . H1 ]$ }1 Z8 ?
  1057. [ODBC]
    ! Y& F3 t, F' U7 Y
  1058. ; http://php.net/odbc.default-db
    & K+ k: P0 C. G- j( d/ A
  1059. ;odbc.default_db    =  Not yet implemented# d# d$ r, m0 P3 [" h' o' G6 {

  1060. + i9 b# }8 V2 w. u% [
  1061. ; http://php.net/odbc.default-user
    , d7 T4 w  \; d( p
  1062. ;odbc.default_user  =  Not yet implemented5 M9 d# B. R- I+ o$ L7 {* @
  1063. $ g1 j+ L: t$ I' |% c5 G( O7 q
  1064. ; http://php.net/odbc.default-pw
    ' F7 z  y3 A' b! S
  1065. ;odbc.default_pw    =  Not yet implemented. `% E0 Y$ z! y9 f

  1066. 3 V' M# c% n) v7 m! y9 B
  1067. ; Controls the ODBC cursor model.8 ]; S; h, e4 Z: n$ n3 m! l
  1068. ; Default: SQL_CURSOR_STATIC (default).
    / B: E# t, s% `; u  y* I
  1069. ;odbc.default_cursortype
    % `  k; a/ P% w' g3 N2 f, L

  1070. 6 U# y3 M2 ~7 r* e
  1071. ; Allow or prevent persistent links.: \  ^0 a! [4 z" j$ j
  1072. ; http://php.net/odbc.allow-persistent% Q& c' I6 w! h$ C: I, K
  1073. odbc.allow_persistent = On
    & r! h% x5 x, }6 e: F5 ~2 |+ e' b

  1074. . J6 @2 b% `2 [2 `
  1075. ; Check that a connection is still valid before reuse.4 }3 n  \: |" F2 G' K
  1076. ; http://php.net/odbc.check-persistent. T# J) C( S) W
  1077. odbc.check_persistent = On
    # @( I& \- w5 J" J* }5 g! E
  1078. 5 y$ S; H# u  e7 ~4 p" h$ \' Y
  1079. ; Maximum number of persistent links.  -1 means no limit.1 u" p* G$ j6 D/ \$ Q! Y$ M
  1080. ; http://php.net/odbc.max-persistent
    # ~7 {8 G% n7 Z2 n0 A' h9 @; v
  1081. odbc.max_persistent = -1: m. T% o. d# p0 v: |0 E- Z: C

  1082. 7 u% C! `' p* a7 n& P
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 V: h& A* h: [0 {# g
  1084. ; http://php.net/odbc.max-links
    ) x- X7 c4 Q6 v. d5 X9 _- h9 y% y5 S
  1085. odbc.max_links = -1: P- P" h5 _& d! a% _$ V9 L) Q

  1086. 3 b5 {( E2 I) f$ y2 r
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* H: Y' P- D. X7 P; c
  1088. ; passthru." X7 x* H4 q/ z$ Z
  1089. ; http://php.net/odbc.defaultlrl
    $ J5 X5 N, o3 E! [
  1090. odbc.defaultlrl = 4096
    7 a7 v  I  Q. C

  1091. 1 X) Y9 `' @* o! r: A8 b( q" W
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % }% T# E4 t+ _3 U$ l. f
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation9 e: x3 N( v0 X+ S! Q4 g; W! b& ^& C
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode1 W  P  e5 o7 X2 K6 a# h9 H$ Y6 V1 e
  1095. ; http://php.net/odbc.defaultbinmode
    8 j! a7 f9 f" }% D- M  C# u
  1096. odbc.defaultbinmode = 1. ^# p' X+ D- c# E

  1097. 4 R0 D* \; Y' z2 N: {
  1098. ;birdstep.max_links = -1
    : t0 K9 l  z- e) P: K3 [' Q
  1099. , b1 r: z8 k! y9 P$ x
  1100. [Interbase]
    ' H- r4 t  j7 T2 O
  1101. ; Allow or prevent persistent links.
    ; C# l4 \6 s3 I$ ?) P6 {
  1102. ibase.allow_persistent = 1  ~8 ^% M& J- [

  1103. 2 T- d2 q  T$ e* r8 I1 \
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + D! t, ^8 a4 a1 D( Z
  1105. ibase.max_persistent = -13 y7 A' a8 I/ C$ v4 K4 M- E

  1106. 8 H  ?" {  ?3 i6 Y$ D  [( Y  J
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 ]( U& T  I3 A8 K
  1108. ibase.max_links = -1
    + J/ r! \: h4 X7 D9 @  x- ?

  1109. % u  v- {" q" U& `) f0 }
  1110. ; Default database name for ibase_connect().# i, L8 W/ Q3 Z4 g  t
  1111. ;ibase.default_db =
    7 S# u. e! j7 ~+ Z% X$ h
  1112.   H6 P( N6 k1 [' `* H  [, Y
  1113. ; Default username for ibase_connect().
    3 X/ s( z: s/ ]$ H/ D+ A
  1114. ;ibase.default_user =) v( }% v! y4 H" M' n5 Q

  1115. + x2 c! S. @) o9 r
  1116. ; Default password for ibase_connect().
    0 P, h5 p. m1 d  m2 N9 d. A& e
  1117. ;ibase.default_password =
      b: I  H: R& @

  1118. ; C( }4 \. ?( j
  1119. ; Default charset for ibase_connect().8 Q& j( L. M6 C. S' b
  1120. ;ibase.default_charset =- ~9 o3 ~; I" J8 }
  1121. , [; ~5 ?0 t. T. ^, D" [9 m/ h
  1122. ; Default timestamp format.
    / V- F2 T. a" {
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& |# j2 s7 ]/ @0 \* t5 C7 Y+ F

  1124.   O: V# s/ E/ P4 u# M% H. P! W
  1125. ; Default date format.
    & @, L, R6 x' M4 l/ N/ ]
  1126. ibase.dateformat = "%Y-%m-%d"
    0 o6 \& ^- X) e+ P. F
  1127. , N; ^/ B9 n* y
  1128. ; Default time format.
    # ~2 f7 `3 W* M" B
  1129. ibase.timeformat = "%H:%M:%S"
    2 f" {: W1 b7 M+ p$ S
  1130. # z/ i1 S9 O( T$ o# Q
  1131. [MySQL]+ e  d9 E& @5 H" u* H) u2 s) Y
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 E7 P( e. _3 A) d) w6 `
  1133. ; http://php.net/mysql.allow_local_infile. @6 b$ w( T% b8 P4 j  v
  1134. mysql.allow_local_infile = On
      q* S2 [8 w: N! t
  1135. # e3 T  V9 K- ]) r7 `' ?
  1136. ; Allow or prevent persistent links.- O+ ~5 e- _4 }3 v/ G$ y* E
  1137. ; http://php.net/mysql.allow-persistent0 {: S, |9 n6 p6 ]! Y
  1138. mysql.allow_persistent = On& K. \/ Z, |- V0 z9 L, F
  1139. ; d$ z- f! u) g$ \
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache; P4 T2 P- H( O7 |
  1141. ; http://php.net/mysql.cache_size
    & ^6 a  P+ s8 ?, @4 _2 a
  1142. mysql.cache_size = 2000
    , |& ~, W! E- T

  1143. 3 j9 w7 A/ ?+ \
  1144. ; Maximum number of persistent links.  -1 means no limit.6 D: n' _. Z# R0 q( `8 ?8 V$ r3 _
  1145. ; http://php.net/mysql.max-persistent
    0 p- G1 @5 {9 Q0 }/ B) W  b' Y
  1146. mysql.max_persistent = -1
    ) B0 R8 [6 c( l/ G

  1147. ) a5 `# }8 Y1 o0 E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # o' P: o& ]; I
  1149. ; http://php.net/mysql.max-links% q0 h" U" }4 {- A" j9 t1 Z! S9 S
  1150. mysql.max_links = -1
    : @5 Y/ k* O$ X( T) I
  1151. ) ^7 k" S& T% O7 U5 `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    8 n% A4 j3 c' G/ ^
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 |, g& c: j$ z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # A3 N$ [- V* Y& e' G" r
  1155. ; at MYSQL_PORT.8 H8 Z3 T5 Y- r6 j: z1 Q. C+ v
  1156. ; http://php.net/mysql.default-port+ D$ S' l6 H+ H: V% }. w/ Z
  1157. mysql.default_port =: X7 {' a7 R* ]  c7 b% \

  1158. ' `4 u2 J! J% N* X9 D6 W) P
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      @8 U# c9 j# M
  1160. ; MySQL defaults.
    ' I9 d1 k! _3 J  V2 _3 [: d- [
  1161. ; http://php.net/mysql.default-socket
    2 O! E! _; V4 N
  1162. mysql.default_socket =
    3 R$ r; x% w3 S$ G: y: {' C7 w  r
  1163. & m# r# K4 j. o; J  X3 O
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 X1 b9 T$ D% v6 X: _/ ~5 d* a9 ]2 R
  1165. ; http://php.net/mysql.default-host. G0 }# r$ J- V
  1166. mysql.default_host =
    % Q8 q1 N  d6 B! A( O  I

  1167. : @+ T! H/ \1 l0 C3 x
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; z4 `) S. u$ N% ]* O
  1169. ; http://php.net/mysql.default-user  h( v% k. g) z
  1170. mysql.default_user =  o( U, K' |. e& `, s$ f! x0 k
  1171. / _7 F7 F, |: N0 D+ y7 U
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).* n3 l" A0 u! p! m& S8 Z( [
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 s; x: K5 S% R9 W2 e# B
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    4 k6 f( v: W9 f+ t% t9 a/ V
  1175. ; and reveal this password!  And of course, any users with read access to this
    % q4 V4 g) t2 _# E* V# k7 p7 f
  1176. ; file will be able to reveal the password as well., Q+ i2 x% A6 X- J3 N' w
  1177. ; http://php.net/mysql.default-password
    + w+ m2 S& r0 S9 ^9 w5 w
  1178. mysql.default_password =8 ^5 b' h1 F8 T7 B6 \8 L

  1179. # Z. x/ ^6 C1 O; S% O0 {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit% W# ]. W) j  h" `4 i* [) n
  1181. ; http://php.net/mysql.connect-timeout4 X/ r% v+ z7 B  q2 Z
  1182. mysql.connect_timeout = 60% ]+ e; S0 D6 }3 N
  1183. & w& ?1 h8 }) H; R* ^0 v
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and7 c4 r" ?0 K5 v9 f# d% h' P4 [/ h
  1185. ; SQL-Errors will be displayed.+ g& j7 {! o' ]5 X
  1186. ; http://php.net/mysql.trace-mode$ m8 |/ b& p1 k/ G) |
  1187. mysql.trace_mode = Off
    ! G6 E) I  h( b) D( A3 T3 f! ?
  1188. 9 ?2 P- q) W' q; C8 @
  1189. [MySQLi]# ]* q) @+ K4 O# p1 w1 G8 t
  1190. 4 ?5 t, s( n# B# }3 k* M8 y' A
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ( n8 Y" B  c4 H
  1192. ; http://php.net/mysqli.max-persistent# ]. v) O) N. \! w5 [
  1193. mysqli.max_persistent = -18 q5 p+ Z$ c. y% `+ J

  1194. % ~% h- U3 ]: @' L- s8 r+ N
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , j4 M5 w5 a9 @+ E
  1196. ; http://php.net/mysqli.allow_local_infile
    # w4 c/ L0 }: @+ a$ O! r+ W
  1197. ;mysqli.allow_local_infile = On5 i' Q. h- ?) b- F7 a5 l9 M
  1198. 1 ?( X5 Y* Z) {5 t) b5 I
  1199. ; Allow or prevent persistent links.
    ! l0 u0 a' H( \* x6 `* Z
  1200. ; http://php.net/mysqli.allow-persistent7 O+ U& H  c9 b/ ]! O/ E
  1201. mysqli.allow_persistent = On
    9 n9 e1 i, [9 U* g3 a! f
  1202. # G) z7 U/ ^) G) \0 f6 _" t
  1203. ; Maximum number of links.  -1 means no limit.
    ) K4 Q: b- v% U3 g5 e
  1204. ; http://php.net/mysqli.max-links
    # q9 H/ x1 a) i& e& a9 F
  1205. mysqli.max_links = -1
    7 x% R7 j* m3 N! i% t
  1206. - U, K& `9 j: N4 q3 T! C" q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! u: z& j& M0 C/ q  y. @0 ^# [
  1208. ; http://php.net/mysqli.cache_size6 `% y9 `# U" W9 p9 b, F' B
  1209. mysqli.cache_size = 20003 l+ |% y0 S9 i; d/ s

  1210. 4 P% K' L' j4 Z9 c6 y, ^
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! J# Z, x9 r! n, ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # ~& c# Q- P8 D0 I3 T
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! u. Q& s2 Y" y. V, B
  1214. ; at MYSQL_PORT.
    " T$ m3 w& [- B9 B8 x" a
  1215. ; http://php.net/mysqli.default-port
    " g% o6 d, N( f% V+ g0 o: E) Z$ C
  1216. mysqli.default_port = 3306' T, K, u8 R1 K* t/ ]

  1217. + o* S: c3 @- |
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 H0 p4 K# U8 x4 J* N2 T, f; f
  1219. ; MySQL defaults.0 Y. Q' C: p, s- a) J9 J* `- S" {
  1220. ; http://php.net/mysqli.default-socket
    0 @& [. q! D3 s3 t
  1221. mysqli.default_socket =
    7 ^) _# _% Z5 g* H

  1222. # @6 g. b' E5 ~- g6 a
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 N4 x! Y9 f  d" S5 j0 f
  1224. ; http://php.net/mysqli.default-host8 a# M' @+ Q' }% D% ?$ U
  1225. mysqli.default_host =  w1 J( V4 q; ]; F! H3 p3 J* \

  1226. # i4 ]& K! u3 E; F9 G
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).+ \, A+ m; z; M) k  T3 D
  1228. ; http://php.net/mysqli.default-user
    3 b+ }+ B$ B3 p9 B% s# m
  1229. mysqli.default_user =
    8 c  e; t& p) a& P- q

  1230. : t0 J& l8 g- w2 p2 B7 j
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 y; ?4 Q, m$ f* o' r
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: Y# g. E! G: X0 Q5 J+ O
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")0 S4 T: p/ N  V  x0 e
  1234. ; and reveal this password!  And of course, any users with read access to this& |& \! S8 O4 h" E' @
  1235. ; file will be able to reveal the password as well.' f% W4 ?' {) Y# R. o1 Z
  1236. ; http://php.net/mysqli.default-pw
    3 j& N- e1 T% j# O. `9 e8 E2 ]
  1237. mysqli.default_pw =
    5 K0 D6 B! m2 V2 W
  1238. * J( a  i3 _8 h9 H) _" C$ E+ u) p5 I
  1239. ; Allow or prevent reconnect  X" M# O- z* R
  1240. mysqli.reconnect = Off
    8 g% ^7 t; }  r  x

  1241. * o9 X4 x) @1 d% K2 ?
  1242. [mysqlnd]4 B; `9 _# |* E- A9 d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    9 s$ a. {5 h5 C4 w3 X
  1244. ; used to tune and monitor MySQL operations.
    - S; u1 B& U' F* ~3 t$ X4 A
  1245. ; http://php.net/mysqlnd.collect_statistics: g& T+ \9 j7 V& s! l2 ^
  1246. mysqlnd.collect_statistics = On: m- ^: P$ L" \4 F) A

  1247. + Q* K5 i* `5 A; R$ g# M6 i
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    8 j( p8 R0 ^. n. u7 o$ {* t# }
  1249. ; used to tune and monitor MySQL operations.8 i0 W7 X* W3 w. |* j, b( ~
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 J. F( o: H/ v/ M" g0 n4 `
  1251. mysqlnd.collect_memory_statistics = Off! i# X$ v/ O) l2 I) J+ ^4 _

  1252. $ W9 P9 B" q. i- m
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    6 J7 l* B, r" @
  1254. ; file.* D3 u4 R! r% Y  w0 H( x
  1255. ; http://php.net/mysqlnd.debug3 P5 R: Z3 Q8 n( r, v1 H
  1256. ;mysqlnd.debug =
    5 v  ^6 N3 T, A% }3 v2 {- V
  1257. % j, B' u7 T  I: y* M4 D
  1258. ; Defines which queries will be logged.' ~4 `" ?) J' v& I0 s, l" |
  1259. ; http://php.net/mysqlnd.log_mask
    $ R+ l& h  O1 y" W9 e4 w( Z
  1260. ;mysqlnd.log_mask = 0- @! f! s- J+ ~' d: J! U
  1261. & a; I# a( p! z8 S
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.2 E9 o  W  X: d( h. {6 f
  1263. ; http://php.net/mysqlnd.mempool_default_size
    3 O$ Z% q! {3 s
  1264. ;mysqlnd.mempool_default_size = 16000/ r) G+ X) t) \9 Z  l8 h

  1265. ; Z( I3 i1 [3 C% _- p3 N4 }# o
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.2 F% @3 Z  [3 m: W) Y6 ]4 Z+ t: G
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" i' [! n1 y# l  o8 k
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    , h8 c( P2 Z. a2 M) ]  z2 P( r& F

  1269. / x5 k/ h5 |+ I( z& \. f4 u
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! G+ e- H: m( m8 i
  1271. ; bytes.
    & @, F4 ~9 e6 J9 s  E- F/ S* R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size% \  L6 Z$ z: m' u
  1273. ;mysqlnd.net_read_buffer_size = 32768
    " K* w; M! }" J7 J* b

  1274.   ?, B, Y& p7 U1 ]7 Q, F0 @+ ~3 b
  1275. ; Timeout for network requests in seconds.! p3 `' G2 ]% u8 n8 P1 T0 \. c
  1276. ; http://php.net/mysqlnd.net_read_timeout  `' C# m+ ^1 w+ w% d% Z
  1277. ;mysqlnd.net_read_timeout = 31536000
    / \* S3 H. e" R! i: m
  1278. . F6 U/ C( Z. |! _3 }# w
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , R( E' [2 [% j1 _5 H
  1280. ; key.
    & K7 A1 b) k9 f5 ~* I. a/ T
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    5 o: E5 U+ C8 H
  1282. ;mysqlnd.sha256_server_public_key =
    " S# X* {' C! Z9 u* ]1 i( f

  1283. & j5 O( Y+ F9 ]
  1284. [OCI8]
    * i7 c6 Y! m# v+ _

  1285. 2 x; q4 Z7 D+ g& ]4 p. Y/ w
  1286. ; Connection: Enables privileged connections using external+ M( Y& t( @9 h2 F/ B
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % A# N- F: h( M2 S4 x
  1288. ; http://php.net/oci8.privileged-connect+ j" W0 T3 J/ v+ b
  1289. ;oci8.privileged_connect = Off
    6 i/ j) G. q. o% X! F1 G
  1290. . ^5 v2 _( F" {# t% N' H
  1291. ; Connection: The maximum number of persistent OCI8 connections per; n: S6 N  o$ B% ?' r- f, X% P# Z" m
  1292. ; process. Using -1 means no limit.
    ( s7 ]$ e. i1 X
  1293. ; http://php.net/oci8.max-persistent
    # d6 q; n2 n9 v4 x8 m) z
  1294. ;oci8.max_persistent = -1. ~9 `9 G! ^7 S& x
  1295.   i# J5 S9 f; H9 ?, P8 b; ^. Y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    1 ?6 k3 b9 X$ c4 h- W* ~
  1297. ; maintain an idle persistent connection. Using -1 means idle3 g% x5 N8 C1 c2 F2 m
  1298. ; persistent connections will be maintained forever.
    + P8 Z% i! c* Y# D
  1299. ; http://php.net/oci8.persistent-timeout$ Q, M' k( ^( E  D- F7 |2 k; w
  1300. ;oci8.persistent_timeout = -17 C  O4 o0 K0 E: i
  1301.   |" u9 r8 O# r$ \! o
  1302. ; Connection: The number of seconds that must pass before issuing a
    1 B1 y7 h4 G1 f- ?2 t6 l; \$ C
  1303. ; ping during oci_pconnect() to check the connection validity. When
    3 C/ _, ]% x1 V9 C) R" `0 A
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables5 k: L5 D0 d2 m; e8 D" r- i" d
  1305. ; pings completely.
    + r3 \+ v: y. }" M; H, `# X
  1306. ; http://php.net/oci8.ping-interval
    5 k. ?- N( i  k3 L
  1307. ;oci8.ping_interval = 60
    % g. d" Z) [" p+ J0 W2 B0 j

  1308. ( H( C7 A9 @# m' Z; N) n3 X
  1309. ; Connection: Set this to a user chosen connection class to be used
    * c8 [; Y5 k9 _* l* S5 y9 Y
  1310. ; for all pooled server requests with Oracle 11g Database Resident" e8 g$ u5 V, Z  ]9 q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + ^  r+ b) W2 t4 f# T8 z
  1312. ; the same string for all web servers running the same application,  ?8 S2 ^% c4 _7 ^9 ?% ~
  1313. ; the database pool must be configured, and the connection string must
    : h7 n$ C  b$ k. _0 o
  1314. ; specify to use a pooled server.6 ?6 Q1 l9 p; r4 Y6 L
  1315. ;oci8.connection_class =
    , M$ M7 G* A* r$ _0 X
  1316. 7 i7 L) ?& B5 U* x0 Q* f
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ( _1 a6 m3 V6 U" ?  A
  1318. ; Notification (FAN) events generated when a database node fails. The
    * }  p. y, k( }  W- M; G& n
  1319. ; database must also be configured to post FAN events.
    ' ^' V2 l& [; H1 ?+ j
  1320. ;oci8.events = Off
    " x4 g. ~2 v0 t5 ^, p. Q/ r4 C
  1321. . T7 N4 N3 n5 k  t- z; i
  1322. ; Tuning: This option enables statement caching, and specifies how3 u5 t# C9 U, w, T1 p5 _1 u
  1323. ; many statements to cache. Using 0 disables statement caching.
    ( T" X2 }$ m5 a! l8 k
  1324. ; http://php.net/oci8.statement-cache-size
    0 e5 Z( n9 n9 q
  1325. ;oci8.statement_cache_size = 20
    / j+ I2 m+ N% W( Q. F3 l

  1326. 3 |2 ~* X( `; H6 }8 x
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    8 Y1 s0 g) H' L& T
  1328. ; rows that will be fetched automatically after statement execution.# Y3 H0 E" A" B, Y$ \, G6 J/ @
  1329. ; http://php.net/oci8.default-prefetch" S- h$ |5 S# m5 ]) B$ g
  1330. ;oci8.default_prefetch = 100
    ; v: f- S* C, o" R
  1331. : m7 ^& |/ e% e
  1332. ; Compatibility. Using On means oci_close() will not close
    3 @4 P0 Q. E. V0 u- }
  1333. ; oci_connect() and oci_new_connect() connections.# C9 N: s) j" W0 C
  1334. ; http://php.net/oci8.old-oci-close-semantics  n9 k7 s! d% ?' e5 V. J6 j
  1335. ;oci8.old_oci_close_semantics = Off
    8 l7 W' z# u0 q! Y- B

  1336. * \. J: C- [3 P
  1337. [PostgreSQL]4 E! V2 K# \% \9 P7 T, ]6 X
  1338. ; Allow or prevent persistent links.0 {+ }/ f9 m3 J$ f
  1339. ; http://php.net/pgsql.allow-persistent
    0 H* a9 \! C3 |, T. T" c; |
  1340. pgsql.allow_persistent = On
    . q" B7 J; j1 \% U, l- M/ t4 m

  1341. $ N/ y  C& r) B' N3 |4 m# S2 j5 ?
  1342. ; Detect broken persistent links always with pg_pconnect().5 S1 ~- y! @* _& u, {3 D; y
  1343. ; Auto reset feature requires a little overheads.
    - e( J" E% s8 S$ s* e, c. U
  1344. ; http://php.net/pgsql.auto-reset-persistent; I) A4 _9 m0 A6 Z# w3 h
  1345. pgsql.auto_reset_persistent = Off" l7 m# O0 c0 u4 R* b

  1346. 0 V/ x& Q* s  l/ P1 v9 X
  1347. ; Maximum number of persistent links.  -1 means no limit.8 O7 I1 X0 x# G
  1348. ; http://php.net/pgsql.max-persistent
    ' I: I" P* l+ \8 ?2 U
  1349. pgsql.max_persistent = -1
    2 U% H( N6 y0 s$ L! u( d+ v

  1350. 0 S3 A$ p. `) f
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ }7 E* ]/ _1 A% [  K
  1352. ; http://php.net/pgsql.max-links# d3 n$ H  B; Y8 r  j2 k
  1353. pgsql.max_links = -1
    # j9 n% z% I6 J) L4 q2 ~

  1354. + H& \6 i% H* {/ b9 y# X7 h
  1355. ; Ignore PostgreSQL backends Notice message or not.0 a# y+ z  N/ v4 v( g; O$ E* {! O4 `
  1356. ; Notice message logging require a little overheads.
    9 Y" E: S8 L. J* C$ a
  1357. ; http://php.net/pgsql.ignore-notice
    1 b4 i7 G) C6 F; o
  1358. pgsql.ignore_notice = 0  d- m) Y6 O# A
  1359.   N' d# @: M! Q; V7 `; F2 r
  1360. ; Log PostgreSQL backends Notice message or not.3 Q0 `% @* g, H
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* O0 ~% D2 F& k
  1362. ; http://php.net/pgsql.log-notice
    0 C1 M  j( A9 o9 I1 `
  1363. pgsql.log_notice = 0, v0 c) h& N/ z7 ]( }, v' v5 c
  1364. ( A1 W7 G$ T7 l1 J
  1365. [Sybase-CT]
    + M  {( m' `' I2 n0 i  B
  1366. ; Allow or prevent persistent links.
    0 n7 T) h" V: C& @8 g: N
  1367. ; http://php.net/sybct.allow-persistent
    ! \8 f0 M1 s8 ?% [' n. Y
  1368. sybct.allow_persistent = On
    $ D. C/ F1 v- N5 d& N
  1369. 3 r# V1 n1 A2 `7 t  w/ D) z' ?% Y5 q
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + t( _* c' O7 B- U
  1371. ; http://php.net/sybct.max-persistent6 o) D# v& d  q$ u9 ?
  1372. sybct.max_persistent = -1. C. B( E! K' R
  1373. . J: q9 S$ R# |0 Q4 l) C0 \
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 d* S) a  ^" z+ N8 p8 X
  1375. ; http://php.net/sybct.max-links
    3 h( |1 B. @8 A
  1376. sybct.max_links = -1
    / `% `) r7 k. X( y  _+ l& ?: n

  1377. ! }6 V' Y* B, C/ J: j+ a
  1378. ; Minimum server message severity to display.3 P4 _8 Z! f# f/ S( F* N; u; m) @7 b
  1379. ; http://php.net/sybct.min-server-severity
      Z2 t& X& e! i  f( U+ j" r% f+ _4 M/ d
  1380. sybct.min_server_severity = 10
    & ~& e  \% O. W9 T) ]

  1381. # `. \. I: b8 o* o
  1382. ; Minimum client message severity to display.
    7 A& u, ?/ u# c
  1383. ; http://php.net/sybct.min-client-severity6 d, Z6 D, @* V* i
  1384. sybct.min_client_severity = 10
    + T6 p6 V( e8 t& W

  1385. + {: o2 m+ R  F" L+ U# h, L& G2 {/ S
  1386. ; Set per-context timeout
    6 K2 W" |$ Q! b4 P* [: w  m
  1387. ; http://php.net/sybct.timeout. I7 q) z* s3 }4 ?2 }- a/ Y
  1388. ;sybct.timeout=
    & s: x+ R% e# e8 s: ]) e6 w
  1389. 5 K' o9 Q) ^6 ~9 l: L5 z: p
  1390. ;sybct.packet_size
    ' i% q1 n- Z% D; G3 L7 G
  1391. - Z7 F% P  ~, d( W. B/ @" P: s/ i: b
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.& L' f$ r( Z9 o$ d  K9 P; ?# U
  1393. ; Default: one minute
      K( o: l3 R6 l" v2 ~0 S2 e7 j6 S
  1394. ;sybct.login_timeout=( _) Y/ @* ~2 X' M2 D
  1395. 7 l/ ]8 M* V1 {# I. x
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    " M# x* Z2 w' d0 y3 k  D  u
  1397. ; Default: none4 t8 x% q4 S" g% g& }
  1398. ;sybct.hostname=
      {' @' |  R- L4 {. @

  1399. 9 F% p4 d: y8 y4 {, Q* H
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; k. s, e6 n0 K2 |4 }6 `
  1401. ; Default: 0' W7 D. |" X& e) h: O, a7 ~: P( K
  1402. ;sybct.deadlock_retry_count=
    ( U. m9 {$ `4 a' E$ e) \
  1403. / l* Z" ~6 d5 W. t% C
  1404. [bcmath]
    / d# ^( n' b9 g/ z& {
  1405. ; Number of decimal digits for all bcmath functions.+ ?1 d: z/ }# w3 U5 ^
  1406. ; http://php.net/bcmath.scale* n0 ]7 _. u8 X3 l' L% I
  1407. bcmath.scale = 0' `8 {  P& c2 F

  1408. & v$ y& M- |0 V0 U* X
  1409. [browscap]1 r  x! B  }* t. `
  1410. ; http://php.net/browscap
    ( k' w6 [  {$ ]
  1411. ;browscap = extra/browscap.ini
    " O  {9 o8 }) K' b, L4 F

  1412. # G7 r) C' b0 s* E4 b" U0 I4 {
  1413. [Session]5 [# D( _9 t! C$ y( I
  1414. ; Handler used to store/retrieve data.
    " `2 T+ W& X3 {9 x
  1415. ; http://php.net/session.save-handler
    : `) k+ D* m: S
  1416. session.save_handler = files/ D) y7 e* d8 w- g
  1417. 4 @, l% }0 f7 z$ p7 ~: Z" G4 `
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    6 A) |7 h! s6 h2 o
  1419. ; where data files are stored. Note: Windows users have to change this
    + I3 A$ v4 H# Q" m7 [: G( N: n6 r0 A
  1420. ; variable in order to use PHP's session functions.
      M+ A/ Z; E8 @2 e  ^9 c4 p
  1421. ;
    * F4 u" D! L( F  P$ F- s, o
  1422. ; The path can be defined as:' Q8 R4 [. Z" Q" [' M
  1423. ;; [9 n* V+ t" B1 |7 s8 t2 {
  1424. ;     session.save_path = "N;/path"
    2 R& B+ B2 N, S+ |9 r. h' \
  1425. ;
    : i) x  ]: i  O4 B
  1426. ; where N is an integer.  Instead of storing all the session files in
    " b6 }- c! N; y2 y+ L
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    " x' z8 I; |4 d
  1428. ; store the session data in those directories.  This is useful if& ^& F( ~0 S# v# T
  1429. ; your OS has problems with many files in one directory, and is3 [$ W8 e/ S9 j* N' K
  1430. ; a more efficient layout for servers that handle many sessions.3 C' y5 Z: H8 d5 ~
  1431. ;
    ) G, ~9 E, x9 u! ^
  1432. ; NOTE 1: PHP will not create this directory structure automatically.5 l% x1 C( q. z, o* I/ u
  1433. ;         You can use the script in the ext/session dir for that purpose.
    2 I. d$ g) h! N- J8 J1 }! D  F
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    - u, d% c* b, e4 m% }7 r
  1435. ;         use subdirectories for session storage' w# w& F( c8 j( V, [, u' n
  1436. ;
    * g5 W) |& S( J$ n& F
  1437. ; The file storage module creates files using mode 600 by default.2 z! W/ z% C4 u/ z, t7 ~& C
  1438. ; You can change that by using( S. o! ^, l6 a* t7 z+ ]; d
  1439. ;, v6 L& W$ @% j! `; H2 `
  1440. ;     session.save_path = "N;MODE;/path"
    ! b/ {" L$ e& ?5 g
  1441. ;
    3 t. C8 r, I( v) i% W
  1442. ; where MODE is the octal representation of the mode. Note that this; @0 @( X- r7 P% v% |
  1443. ; does not overwrite the process's umask.9 L# W  U2 M5 ?4 S% j" z
  1444. ; http://php.net/session.save-path( G8 A# M8 P# j
  1445. ;session.save_path = "/tmp", z$ J! O8 e1 Z2 [$ j/ }' J4 a

  1446. ; `: }: o, @( E8 A* b* j; p8 b
  1447. ; Whether to use strict session mode.8 h$ m+ q& W- a  h5 q5 r
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 ~% @, D2 d: L- R
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects( [: \4 N1 s3 `- H( V/ e
  1450. ; applications from session fixation via session adoption vulnerability. It is5 H& B; W4 t  x4 Y1 N* V: b
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged./ e3 M) P5 P+ k' I+ W
  1452. ; https://wiki.php.net/rfc/strict_sessions% e6 y* Y2 p7 ?) v
  1453. session.use_strict_mode = 0
    * [5 ^- g. b/ L5 e$ ], V7 w

  1454. ! A, K: ]# s& C+ ^7 Z
  1455. ; Whether to use cookies.+ N' {+ P! l- ^4 T! \% S
  1456. ; http://php.net/session.use-cookies8 d0 l4 U: P& X6 e- \; H
  1457. session.use_cookies = 1
    + N8 g1 P# R( d' ]
  1458. $ T" U: \& Z5 K9 F, P) A
  1459. ; http://php.net/session.cookie-secure
    $ `7 P9 p: o: s- _
  1460. ;session.cookie_secure =, C& T% G6 p' G+ l, x# }( r8 q5 J
  1461. 6 l  u! e! X5 M5 [9 g$ o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ s9 `4 e$ h" I# F
  1463. ; the session id. We encourage this operation as it's very helpful in combating0 I% B  z4 c1 Y! b; `7 c
  1464. ; session hijacking when not specifying and managing your own session id. It is3 S% O! T1 t1 C% o) z2 l* C8 j
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # W, U" K. w% R* @; P
  1466. ; http://php.net/session.use-only-cookies
    ) U/ J; s0 _/ V# g2 z) K8 I
  1467. session.use_only_cookies = 1
    - u! ~, E0 T/ P" L5 B/ ~
  1468. 8 k. g, d' y( ~7 [
  1469. ; Name of the session (used as cookie name).7 e2 ~; x0 X6 s
  1470. ; http://php.net/session.name
    2 Q6 I& N" F, I7 u7 M
  1471. session.name = PHPSESSID9 n1 P( o2 a+ e

  1472. , C& [& z6 k) p1 g
  1473. ; Initialize session on request startup.
    ! V* B! h# Q0 Y
  1474. ; http://php.net/session.auto-start
    ) m7 Z5 L0 ?' y/ Z2 N/ @
  1475. session.auto_start = 0
    0 J3 l' L. ]8 L- i
  1476. ' N! k1 a, ]1 A6 r! J
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    5 \% K7 g$ g! t2 p+ u) R
  1478. ; http://php.net/session.cookie-lifetime
    - u6 r: ?) I2 H: i+ k
  1479. session.cookie_lifetime = 0, q  z+ @5 l; v* O* g4 ~

  1480. ) A% n: z' I9 [8 T
  1481. ; The path for which the cookie is valid.
    8 |/ |2 U& K* |# y
  1482. ; http://php.net/session.cookie-path3 i' A! v8 z( a! i" ?8 X8 j
  1483. session.cookie_path = /
    + s. W! b, I* r* k5 b5 z4 L3 X8 x
  1484. 3 D% W+ ?- m3 K) e. c
  1485. ; The domain for which the cookie is valid.$ \2 ]% ^3 s8 h  p' c
  1486. ; http://php.net/session.cookie-domain: U2 q- Q& G" w
  1487. session.cookie_domain =
    + M( M' l  J$ R% j2 e$ j" D

  1488. ( `& x6 ^/ Y& V
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 ^- W0 N( x7 c% E* O* |2 I% U
  1490. ; http://php.net/session.cookie-httponly/ v/ u4 S, h$ G- P
  1491. session.cookie_httponly =
    8 x7 S' U$ j1 E4 O" I
  1492. : M2 {" |" \8 t4 V$ ^
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.7 |1 T% L5 D1 N" p* z; X, C- ?
  1494. ; http://php.net/session.serialize-handler
    3 K  J6 t. @, q  w0 S
  1495. session.serialize_handler = php
    " K* b0 d1 W. ]0 Q7 N
  1496. 5 X& z, v2 K4 D) a% X; ^0 k4 T& d5 Z
  1497. ; Defines the probability that the 'garbage collection' process is started
    1 I! s0 n, Z+ c1 E! F+ I/ i
  1498. ; on every session initialization. The probability is calculated by using
    ; B3 M% N2 A7 J
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 ^, Z/ g% g/ v
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1# `: a- I% V$ d( s
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    % Y! D) u% e2 g/ V8 a0 _9 \
  1502. ; the gc will run on any give request.% u: g, k: F. T& X4 u9 ?0 c
  1503. ; Default Value: 1
    % E+ B; c0 w0 a+ T+ \
  1504. ; Development Value: 19 T! l. [$ |( z: g
  1505. ; Production Value: 1
    0 b4 \( y# A: |1 {
  1506. ; http://php.net/session.gc-probability
    0 F6 C# J, I& N$ W" ?  S
  1507. session.gc_probability = 1: g7 C# _$ z8 O- \
  1508.   _7 a  [& [7 M. Q' \% I9 w
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 w) ^+ P  }. s# E
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 T4 L: \6 s- `* U" ]' C3 Y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    5 t  {3 F* Y' e# N  M+ q# b
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ! t0 t/ b, g3 u! V$ J9 E5 ?2 k4 |
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( x; D+ b% C6 P) j# I& ^7 W% k! I
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 V4 `& L" n+ X( N1 x: G! w
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 b- c2 ~0 m# ]$ }6 F) I
  1516. ; this is a more efficient approach." |+ t* Q8 U5 P! {5 {
  1517. ; Default Value: 100
    $ M: G2 I) K2 X
  1518. ; Development Value: 1000# e( V% s% b/ K4 j' z, V" `
  1519. ; Production Value: 1000
    - W3 Z; X- e8 B& V7 g! W& t; g/ P
  1520. ; http://php.net/session.gc-divisor
    1 R0 q- E8 d& H6 y9 J3 F
  1521. session.gc_divisor = 1000
    # c- @, v0 P, c& X

  1522. 7 b4 W1 X- a! D2 i
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and' M4 }4 d& }/ S7 K# g% ]$ {3 ~6 v/ i
  1524. ; cleaned up by the garbage collection process.7 |2 Y' w. F: y7 D
  1525. ; http://php.net/session.gc-maxlifetime, L; _% @$ T- t0 B# {5 k8 {2 M
  1526. session.gc_maxlifetime = 1440
    / A- P3 {& X$ u: t$ c( U

  1527. 9 E! _) f$ e$ X2 G4 H# w$ p
  1528. ; NOTE: If you are using the subdirectory option for storing session files2 J7 I$ S4 k8 Z" h7 B, y5 M% c
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ; Q; B: o" a  F2 }' k" p& X  u
  1530. ;       happen automatically.  You will need to do your own garbage
      b6 H2 k% x; h" `
  1531. ;       collection through a shell script, cron entry, or some other method.5 F+ e# c+ N; e/ C9 u/ R
  1532. ;       For example, the following script would is the equivalent of
    7 f7 P' F2 I8 O+ \
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 h1 w! s* J9 `! W0 D1 p3 H
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 w9 b) c6 [7 Q  }

  1535. 0 l, R2 t5 F( Y: C: v; K% B
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / n9 g3 g6 q" b; p) W$ w
  1537. ; HTTP_REFERER has to contain this substring for the session to be  N* S5 P/ T% i+ D& ]* k4 y" o1 k
  1538. ; considered as valid.
    - W/ A+ Y. v4 ]0 E" w
  1539. ; http://php.net/session.referer-check
    7 U4 R! [3 d( B5 O+ P
  1540. session.referer_check =& s  S$ U, f& J1 \* f$ r7 a* F- F5 J; O

  1541. * M6 p) ^" i5 K" k& k. U2 c
  1542. ; How many bytes to read from the file.
    7 i  P7 x5 k) @# N( v: P: P
  1543. ; http://php.net/session.entropy-length
    ' X2 @1 \) L4 G
  1544. ;session.entropy_length = 326 ^3 y0 P# d, [, |8 g% A

  1545. 4 ]( x$ O0 Z; C  B
  1546. ; Specified here to create the session id.
    , [& ^6 N6 v# h0 R& ?8 i
  1547. ; http://php.net/session.entropy-file. n1 R- l: j3 z+ R: @' }( V
  1548. ; Defaults to /dev/urandom
    # C: H- v2 A/ s$ Y$ B  ^1 V  S5 }
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    4 y. L4 G; Z- p' i1 F7 m
  1550. ; If neither are found at compile time, the default is no entropy file.
    & W9 \8 }% s3 M4 o: L
  1551. ; On windows, setting the entropy_length setting will activate the$ F, L: {$ t: Z8 K4 m! k
  1552. ; Windows random source (using the CryptoAPI)
    7 j0 ]" M( s5 e& L" V+ ^
  1553. ;session.entropy_file = /dev/urandom7 C$ Y9 S" l4 W- u
  1554. : W$ q: ~  O. _' `
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects) q# s; u" m& R$ Y, l7 {
  1556. ; or leave this empty to avoid sending anti-caching headers.
    0 c/ \% ~  f; D* e
  1557. ; http://php.net/session.cache-limiter- r7 |2 _2 i" x9 {
  1558. session.cache_limiter = nocache
    ) `9 f" ]$ e; x8 G( t* I2 `, }
  1559. * ]) ?; ^) `5 ]; f( H1 T- R
  1560. ; Document expires after n minutes.9 ?9 g4 I& N2 m' `' x  d
  1561. ; http://php.net/session.cache-expire9 L5 I0 a+ o) i6 Z. _
  1562. session.cache_expire = 1800 G1 x8 Q/ j% c3 _/ J

  1563. $ B. _7 \2 O$ k5 b6 Y
  1564. ; trans sid support is disabled by default.
    - |) [& {$ ?% n
  1565. ; Use of trans sid may risk your users' security.+ _3 G5 E! O! f4 A5 Y# b' f
  1566. ; Use this option with caution.
    % [0 P3 B+ C, ~3 f
  1567. ; - User may send URL contains active session ID
    , ^, b$ q% s" J
  1568. ;   to other person via. email/irc/etc.9 U* o  G4 s1 o4 s9 k: k. p
  1569. ; - URL that contains active session ID may be stored
    1 V# d9 \9 X, V
  1570. ;   in publicly accessible computer.
    # T: g! m1 a! ~- ]' R; Q
  1571. ; - User may access your site with the same session ID# {6 A# [, R; [& D; _9 V6 V9 |( F
  1572. ;   always using URL stored in browser's history or bookmarks.3 o% C9 t* i: l2 h3 Q! c" u7 x. b' N
  1573. ; http://php.net/session.use-trans-sid" J/ a  J  Y9 M% Y& J
  1574. session.use_trans_sid = 0
    # w! j4 S& h& q; H3 n( D

  1575. : w- R8 s+ |/ D3 L9 G/ r/ |( o" s
  1576. ; Select a hash function for use in generating session ids.
      H  [% X, j: W$ v  C  L0 r9 x' V$ H
  1577. ; Possible Values
    1 z& ~( z, j- g& \
  1578. ;   0  (MD5 128 bits)
    $ S+ j6 E" ~  z  G' A' ]8 M7 H
  1579. ;   1  (SHA-1 160 bits)
    7 t. a4 `8 F, y& [# w7 w/ t
  1580. ; This option may also be set to the name of any hash function supported by
    * {$ A' l- B' E6 M
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # V1 t0 d6 h6 m$ C8 `% ?" b0 b+ A
  1582. ; function.
    ; X0 v- h/ ~/ S1 m
  1583. ; http://php.net/session.hash-function
      F9 H  l5 m$ j
  1584. session.hash_function = 0
    ( _* L! Q3 b! v

  1585. 3 o& O- d* M  B" f
  1586. ; Define how many bits are stored in each character when converting# c: Z7 |8 z+ U& i$ v& e
  1587. ; the binary hash data to something readable.
    : P& B6 w$ |& {( _% p# z2 D
  1588. ; Possible values:
    8 e* ?. \% \* e3 Z" t; v
  1589. ;   4  (4 bits: 0-9, a-f)
    7 a7 d# G' t; }6 h
  1590. ;   5  (5 bits: 0-9, a-v)4 L$ F8 _# m% D. z; X- l
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")5 C( H9 E# c: \) ^
  1592. ; Default Value: 4. e4 z  u5 M$ ]8 T
  1593. ; Development Value: 5( z' ^2 H# G7 T0 E, Y. ~
  1594. ; Production Value: 59 c- s( i3 z# A$ ~3 r( c
  1595. ; http://php.net/session.hash-bits-per-character
    % s+ \3 `. \  J4 ]' M& ~
  1596. session.hash_bits_per_character = 5, ~, G/ }* Z- D' A4 |  J. w4 b
  1597. 8 m9 R$ q) _7 A0 s6 q4 N! F& ~
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.% U0 z, L7 s* l  ^' r
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ' f5 ^& k! I" c2 E
  1600. ; add a hidden <input> field with the info which is otherwise appended9 V; H4 x7 J' x9 P, z+ C: ]" e! N
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    9 B8 j0 S7 q' c; C* w- C, O3 }; H% U
  1602. ; Note that all valid entries require a "=", even if no value follows.
    # i4 j1 D9 j( i3 H" q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="  Q* r9 c* N! s7 c) S& H
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") m& Z& \* |  y; G3 v1 g
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& {) L2 |- N: X$ z4 A  x% F: @
  1606. ; http://php.net/url-rewriter.tags) r' T% V7 K1 W/ ~$ L
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 |8 \  k9 o$ e! M) r: J8 a6 ^* {
  1608. . d# J, ?; N# K. {8 f( F  W
  1609. ; Enable upload progress tracking in $_SESSION
    0 I9 ^$ a7 W/ k# B; t/ j" ^5 {
  1610. ; Default Value: On( g/ f( g+ w& f0 [3 u# \+ W/ U
  1611. ; Development Value: On% n$ ~1 Z+ S6 c  P8 i
  1612. ; Production Value: On5 G1 O1 K# n  _& q
  1613. ; http://php.net/session.upload-progress.enabled* c& a" j# Q" R" o8 [+ @
  1614. ;session.upload_progress.enabled = On4 [2 @# `3 J8 a3 _/ c
  1615. / ?, y: G8 }4 c
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ! i# e/ L7 n$ V
  1617. ; (i.e. upload completed).: a2 [% K: ~1 U. w1 N% ^
  1618. ; Default Value: On
    * N! h9 d- W  m' `9 n# t
  1619. ; Development Value: On
    ( M0 Q% A1 G) {5 T3 e# j) P
  1620. ; Production Value: On
    1 I! h7 n# }4 |( z
  1621. ; http://php.net/session.upload-progress.cleanup
    ; b  a# _  A* ^; V' R1 O8 C) o* c
  1622. ;session.upload_progress.cleanup = On
    4 b1 T4 V4 V7 P) z/ Y1 ?
  1623. + f& ]2 U* O6 S" {7 x1 S) |
  1624. ; A prefix used for the upload progress key in $_SESSION
    , e" A' H9 |* \' l& g2 \) ~$ Z
  1625. ; Default Value: "upload_progress_"
    ' J* X% }! j! M' f8 Y" q" T: E
  1626. ; Development Value: "upload_progress_"
    ) f# c$ C" N; f1 W+ \7 {( q
  1627. ; Production Value: "upload_progress_"/ u/ O6 t+ E2 a+ m3 @- g5 R  O. l, a
  1628. ; http://php.net/session.upload-progress.prefix
    : u5 N/ f7 @% E! K( I$ f3 D, E! G
  1629. ;session.upload_progress.prefix = "upload_progress_"
    & ?# t2 _3 m  R. J) I0 Z2 t/ T9 H
  1630.   Q# G( V. b$ a% M
  1631. ; The index name (concatenated with the prefix) in $_SESSION3 x+ g- R+ ]. b5 {) D* v- d
  1632. ; containing the upload progress information
    : {! G4 h8 O  Y1 q  c, z: t
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! w/ N: e- n' w6 d" ^& }# F1 e
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"1 W0 g2 D( S, }
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - e/ c3 O  E+ c7 E3 h
  1636. ; http://php.net/session.upload-progress.name
    " @. R3 w/ N3 A: U( w. c! O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 B. ?6 r3 p) m* R9 K

  1638. $ j1 z# R/ n) ]2 [. _- Y( f" B
  1639. ; How frequently the upload progress should be updated.
      }3 j: t  {1 `3 A3 ^
  1640. ; Given either in percentages (per-file), or in bytes
    3 u6 l5 V0 P0 G% n, F
  1641. ; Default Value: "1%": U. Q  C% e7 G# s0 {& y: U3 A
  1642. ; Development Value: "1%"& ?4 K$ M; x, D) W$ R7 S( {' x
  1643. ; Production Value: "1%"4 w' x  _5 I3 F9 T" ^, k# [8 P1 Z  x
  1644. ; http://php.net/session.upload-progress.freq
    % P" t( J' q. i( K2 s( @
  1645. ;session.upload_progress.freq =  "1%"# |- K. ~! V7 p9 t$ o

  1646. ' B4 g+ i7 ~( H, x$ o/ w
  1647. ; The minimum delay between updates, in seconds
    ) t% Z& [2 |1 Y' Z! a9 W( `
  1648. ; Default Value: 1
    : X; D. v  E9 Q" U' j& M
  1649. ; Development Value: 1
    . R6 E0 R0 x, O' ^
  1650. ; Production Value: 1% q% J7 ]$ w+ a: q% b, S( W4 |
  1651. ; http://php.net/session.upload-progress.min-freq5 Y# d# ]- c- c+ P
  1652. ;session.upload_progress.min_freq = "1"
    # o6 w4 ?$ E: B# g1 g
  1653. ) v6 |. h" b  C0 p" ?/ ]
  1654. [MSSQL]/ X. y$ B8 W+ U' k% ^
  1655. ; Allow or prevent persistent links.) K! X  `# h. r* J- ^- Q
  1656. mssql.allow_persistent = On
    : |$ x( V, }: K* ]
  1657. # _, S8 ^  b/ C$ W1 N0 _! t
  1658. ; Maximum number of persistent links.  -1 means no limit.
    $ }" v# `$ a! w/ r: b3 c
  1659. mssql.max_persistent = -1/ B  O0 {" N' q: r5 n, A

  1660. 7 [$ |2 M7 O& M- o
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& z2 L5 r4 n/ ]
  1662. mssql.max_links = -13 Q, \, ]6 n3 x
  1663. ; Q0 x! I; W2 ^
  1664. ; Minimum error severity to display.( q3 N; G$ i7 }1 V' h* ?' r
  1665. mssql.min_error_severity = 10
    % k( k- K! P, Q
  1666. 6 _' a9 Y: {" R% x% @
  1667. ; Minimum message severity to display.$ U4 G7 l# Q0 U! k
  1668. mssql.min_message_severity = 10
    2 N2 F( _7 {& ?+ Q
  1669. / |4 k2 L" b3 c& U
  1670. ; Compatibility mode with old versions of PHP 3.0.# u2 i5 G6 L( U8 H2 g- i+ r
  1671. mssql.compatibility_mode = Off
    5 N* f( a, q- Z6 g

  1672. ! A$ c8 B8 [) b8 ]) ~/ R8 `2 c  s
  1673. ; Connect timeout* y& Q6 w, [" I' i2 S$ b1 z
  1674. ;mssql.connect_timeout = 53 s/ D2 E3 n0 H5 f, I
  1675. 8 z6 B0 w" N5 D8 p! Z0 R3 W2 W6 ^  V
  1676. ; Query timeout
    7 a" m$ ]3 H$ G7 @
  1677. ;mssql.timeout = 60
    8 h: C' B' a3 w/ x& x- p

  1678. 9 m7 E/ U1 z, P
  1679. ; Valid range 0 - 2147483647.  Default = 4096.( p; Z$ C: i' X2 o; u4 a6 ]
  1680. ;mssql.textlimit = 4096+ X& Y& c5 D# S
  1681. # E: T3 s5 z3 W1 p6 e+ J- i4 j
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ ^9 w6 q* w' n5 t% t/ L0 ~! [
  1683. ;mssql.textsize = 4096
    ) h1 k+ f$ H4 A" i; F& p

  1684. 8 Z, ]8 m  r& h2 d+ C
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.4 X' N3 i  z# K
  1686. ;mssql.batchsize = 04 F" P, o6 p* q  w
  1687. ; ]' V+ ?7 _5 r
  1688. ; Specify how datetime and datetim4 columns are returned
    " ^1 c9 A8 f5 V5 U8 @
  1689. ; On => Returns data converted to SQL server settings
    $ R  A( P% H% N  L( Z% X
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss+ ]" ~( H. r* w6 Y+ _9 h) ^
  1691. ;mssql.datetimeconvert = On
    * N7 ~: d9 U+ T3 Q
  1692. 9 A4 m/ s; x! t  T
  1693. ; Use NT authentication when connecting to the server
    ' E. `* s$ J. J* M2 i
  1694. mssql.secure_connection = Off
    * ]2 k! W/ I" K" X
  1695. ) o/ G5 I) x3 W$ l
  1696. ; Specify max number of processes. -1 = library default# `5 v) Z: S! N6 D
  1697. ; msdlib defaults to 253 g' a6 k) P  A' n1 j6 ^
  1698. ; FreeTDS defaults to 4096
    8 Y1 @( R0 N" B  K
  1699. ;mssql.max_procs = -1
    8 J8 g2 u+ j( s2 ]

  1700. 4 M0 R: |( o' y/ Z/ E
  1701. ; Specify client character set.
    9 n9 R- Y) t7 y* @* ^) b! f
  1702. ; If empty or not set the client charset from freetds.conf is used
    + k9 m, w5 |6 K4 a' e# b
  1703. ; This is only used when compiled with FreeTDS
    3 n, s1 M, U. o
  1704. ;mssql.charset = "ISO-8859-1", l8 J! n* d( j1 x# \5 e" D
  1705. % T# a/ V' @9 `
  1706. [Assertion]
    " B, F8 B3 Q4 ~" |3 z, v# {
  1707. ; Assert(expr); active by default.  p) y1 f& s+ ?& z
  1708. ; http://php.net/assert.active$ F3 p! f& Y% C+ B
  1709. ;assert.active = On
    * q( L8 e) r4 }* t: _
  1710. # F# G" D' b2 j$ `* W0 M- I+ k
  1711. ; Issue a PHP warning for each failed assertion.
    9 \9 ?$ q8 W# c3 m! S% m3 N
  1712. ; http://php.net/assert.warning
    " M! l2 i3 s  o& L
  1713. ;assert.warning = On
    5 t& g# o0 e# r. x7 V
  1714. ' b0 e7 t7 }3 G4 ]% h* Q
  1715. ; Don't bail out by default./ r7 h4 \# Y8 b  W/ ~) G, }
  1716. ; http://php.net/assert.bail# T; _; P( p. V6 R* }, `- C
  1717. ;assert.bail = Off" v2 W7 v7 L% a& a$ {
  1718. , w8 h; _5 X4 L: ~) `
  1719. ; User-function to be called if an assertion fails.8 @9 W0 J/ F' ~4 s8 C2 m( A9 @
  1720. ; http://php.net/assert.callback* R4 a+ j# ]6 ~
  1721. ;assert.callback = 0
    8 i! H+ |' [7 i4 U$ T, ~" J
  1722. 3 F6 x" }8 [9 n
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    / {5 e) B  C& h. M- k) a
  1724. ; error_reporting(0) around the eval().. i: n3 f/ `( @2 g4 D
  1725. ; http://php.net/assert.quiet-eval% w/ k$ i( P6 G
  1726. ;assert.quiet_eval = 0: a4 O/ o8 c6 u5 s8 i- ^  g

  1727.   x" ~) [% L! u. r
  1728. [COM]
    ( y. b1 I! @# f2 E" l4 G4 ~
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 H- n9 K$ a# ^6 H" J
  1730. ; http://php.net/com.typelib-file
    & t+ d) x' J7 s; U0 C% i
  1731. ;com.typelib_file =
    1 c) |; ]* |; j+ a- V" {
  1732. & A& {# T: i- q, _- r( ~
  1733. ; allow Distributed-COM calls
    8 x' v: g5 L8 {" |7 e) S" O
  1734. ; http://php.net/com.allow-dcom2 U3 x0 y% U8 x/ E; n; f
  1735. ;com.allow_dcom = true. A- y2 N+ I# h1 C& E- ?5 J* T
  1736. " w# y9 u( t5 h6 o1 j; q  G" g. X/ u
  1737. ; autoregister constants of a components typlib on com_load()0 ^" q8 o6 I  ^  }* j/ m# T
  1738. ; http://php.net/com.autoregister-typelib8 e1 s! m! E, j6 }3 E4 a) ~- y2 O
  1739. ;com.autoregister_typelib = true3 T( G1 Q- o# j+ x$ o! V4 Y3 u/ H

  1740. ( o+ j/ @, s5 i; n2 E- o
  1741. ; register constants casesensitive0 ~2 l% X! U2 h2 l! H
  1742. ; http://php.net/com.autoregister-casesensitive
    7 p$ L3 a3 F3 e/ A' x# O9 T
  1743. ;com.autoregister_casesensitive = false* r* {7 c% O! \8 K

  1744. # `5 _# V- R+ R. z
  1745. ; show warnings on duplicate constant registrations( ?4 l6 }7 n) t- t# ?4 q% r: b
  1746. ; http://php.net/com.autoregister-verbose6 P8 U0 G! K! Y+ c/ x9 g; [! n
  1747. ;com.autoregister_verbose = true5 b/ c! ^& `7 R7 E

  1748. ; l; E: a' k" W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.% \* J% V) d/ K" {' P# n
  1750. ; Default: system ANSI code page) |1 }3 R0 w( n6 e3 V
  1751. ;com.code_page=
    * w3 A* N1 L" G6 v' T5 }; j
  1752. 7 Z1 g/ ^5 P, F' t
  1753. [mbstring]9 n2 h8 X8 n: ]
  1754. ; language for internal character representation.5 u( u5 @! J* ^; p& \
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 o5 [; H# Z' U6 P
  1756. ; http://php.net/mbstring.language* I' q, b# b+ l! z: Z
  1757. ;mbstring.language = Japanese
    3 h4 l, i3 @6 ]5 J  X& N9 o0 d" Z

  1758. + N8 r: J9 k! B# W* i/ T) b4 Y' l5 Y
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! \% P7 X+ a$ z0 Q  x" @
  1760. ; internal/script encoding.  g( L9 H; F4 Q7 E2 Q4 F( u
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & s$ k% L! a7 r5 T- u
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# o5 r0 x: ~5 h
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 [9 |# o9 Q6 A& `' I. V  s/ Q
  1764. ;mbstring.internal_encoding =
    . Q/ [0 k& B% ]8 [$ _  J$ a

  1765. 9 n0 o% s% k- A5 P
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * d) M' v4 F0 V. x; F  e
  1767. ; http input encoding.
    7 x! _; J' g, ^4 m7 @1 t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % I# E. Q+ s% z/ f% H
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    : P  e+ y; h( d6 Y( ^/ z5 L3 h5 H5 D
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * ^1 N* H/ @; Q; _4 Q# G$ m/ k
  1771. ; http://php.net/mbstring.http-input
    : y: r* e/ {) |' U7 I: L6 l" Z8 L
  1772. ;mbstring.http_input =4 o4 u, o" d# h; A/ V  Z3 X$ n
  1773. 5 ~2 Q9 z0 r3 R/ B* G) L- q
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( B5 g# w5 E/ ~, A' v  {0 }
  1775. ; http output encoding.
    $ j/ X0 q6 d( z5 ?4 m. Z
  1776. ; mb_output_handler must be registered as output buffer to function.
    6 c2 N  `' X+ {; _8 P1 Z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & n# I' q6 g2 e
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , k2 r; d/ `% Y# J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    5 m- D# R& ?( G+ }3 P, j6 |0 _5 V
  1780. ; otherwise output encoding conversion cannot be performed." a9 X4 L; B* D. n- c3 r9 u
  1781. ; http://php.net/mbstring.http-output: \% `+ h8 T) _
  1782. ;mbstring.http_output =
    3 ^; t5 E" q( s5 `
  1783. 6 C/ S% |  H/ G4 e- F- y) K: ^
  1784. ; enable automatic encoding translation according to! C4 g4 M+ l# @
  1785. ; mbstring.internal_encoding setting. Input chars are
      u. Q: J' V3 u; F
  1786. ; converted to internal encoding by setting this to On.
    1 r  C# E  L3 i$ b( D
  1787. ; Note: Do _not_ use automatic encoding translation for4 F4 _$ X! x: @1 s' H( ?* Q
  1788. ;       portable libs/applications.+ `2 }) H% W+ y
  1789. ; http://php.net/mbstring.encoding-translation
    $ `" Y9 i  p' c# [' B; T# v
  1790. ;mbstring.encoding_translation = Off
    5 Q3 A: x7 l% I" b2 a
  1791. ! c6 h" s# P# A0 K/ a
  1792. ; automatic encoding detection order.- ]5 a( ?, l# q
  1793. ; "auto" detect order is changed according to mbstring.language
    * M* D# F# ~6 a5 q+ y. A. @7 L. i1 k
  1794. ; http://php.net/mbstring.detect-order  w3 W: N# i9 v; |% k! E
  1795. ;mbstring.detect_order = auto2 t% Q3 J8 s3 I& ^$ k; D5 X
  1796. * e! u0 g- {" b
  1797. ; substitute_character used when character cannot be converted- N8 [6 S0 S8 z6 P) v$ X7 b
  1798. ; one from another7 S, L0 I1 w8 L5 P
  1799. ; http://php.net/mbstring.substitute-character
    ! G+ u% g  u" }! s4 v. |/ y
  1800. ;mbstring.substitute_character = none
    ( d6 K: ~5 [: N, z' h$ A) [
  1801. 6 ~, M" }1 z  N$ F  J2 w: \% L
  1802. ; overload(replace) single byte functions by mbstring functions.. J& i4 t4 M, W& a
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),3 j( u; Y5 ~4 p
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    3 x1 z) D9 S7 k0 Q, I5 \# {
  1805. ; For example, 7 for overload everything.
    . N6 ~. `- N# \8 {) f. g6 a0 D4 a4 r
  1806. ; 0: No overload
    ' e/ |$ Z( r  P: J8 q( W) P
  1807. ; 1: Overload mail() function
    $ k0 v2 y% ], }) @
  1808. ; 2: Overload str*() functions  T5 j" G# n! Z
  1809. ; 4: Overload ereg*() functions
    3 G* e' t/ J! R; `2 x
  1810. ; http://php.net/mbstring.func-overload
    - ], B. R" n  @( Y- w7 ?' s: O& Y3 M
  1811. ;mbstring.func_overload = 06 g7 M& _5 n8 S% A: w

  1812. * Q) B1 K  J- a6 M
  1813. ; enable strict encoding detection.
    ! A# ^6 O8 H2 [! Y
  1814. ; Default: Off9 \& u' V7 ~5 I1 ]: F( t8 K* a
  1815. ;mbstring.strict_detection = On3 S2 i) u  c; R+ X

  1816. $ c8 o' D0 b  R  B+ ^. X- Z
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    " y# x- e5 j  b, V
  1818. ; is activated.; ]3 n3 D  A+ ?9 N
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 N8 w- |8 {' K
  1820. ;mbstring.http_output_conv_mimetype=, q# Q% D; h4 l6 d( Z! W

  1821. 3 T. ?0 O4 f1 S5 d. D: ~0 T3 z
  1822. [gd]
    4 U6 |3 f. h; N9 E& K  {% n. `
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    . w$ N) Y) \, O3 \$ M8 k
  1824. ; a gd image. The warning will then be displayed as notices* l0 V3 A! I7 r& G$ \+ m5 T
  1825. ; disabled by default
    , Y, Y' o4 E6 f# X5 y: Z( F8 Y
  1826. ; http://php.net/gd.jpeg-ignore-warning% y  {9 a2 @" J) H& U
  1827. ;gd.jpeg_ignore_warning = 0+ g% b! a0 N& |" y
  1828. * {! v- E2 A( K
  1829. [exif]
    9 L! E% h$ ]. V: W8 r5 ?+ j
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' K* a8 ?% g' ^( z# Q% E
  1831. ; With mbstring support this will automatically be converted into the encoding2 y; B4 K  A$ z! `
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding1 S% Q; w: v  O/ {
  1833. ; is used. For the decode settings you can distinguish between motorola and
    7 h- z# G% ~% ]6 e4 {% ~
  1834. ; intel byte order. A decode setting cannot be empty.& K. R3 _4 O- l- {/ b9 H
  1835. ; http://php.net/exif.encode-unicode
    8 ^8 W5 V4 J! F7 x! r" X3 l6 F" Z
  1836. ;exif.encode_unicode = ISO-8859-15
    8 U4 A5 w3 D) Z4 L
  1837. : U2 S  n  }% C6 i$ S  L& G( l1 n
  1838. ; http://php.net/exif.decode-unicode-motorola
    3 ~9 n3 K$ W0 r9 p
  1839. ;exif.decode_unicode_motorola = UCS-2BE8 A3 @* [4 h6 Z: g4 ?

  1840. $ z# r& w# l( @2 |
  1841. ; http://php.net/exif.decode-unicode-intel+ H3 f7 L! Q8 a5 m0 n( S  G
  1842. ;exif.decode_unicode_intel    = UCS-2LE/ }  P0 T! n/ }- \& I. z+ y7 ^; J
  1843. + F9 ~5 Y% s) t+ h! e
  1844. ; http://php.net/exif.encode-jis2 ^# \& k3 U, q" F
  1845. ;exif.encode_jis =9 _  O" C( n& n6 d6 z( L$ q

  1846. ' P& Y7 {& ?* Z: u
  1847. ; http://php.net/exif.decode-jis-motorola7 C7 Q$ B' }  K
  1848. ;exif.decode_jis_motorola = JIS3 {' _5 m6 F9 g4 n  a

  1849. ( c! f2 A: e1 s/ J2 c# ^
  1850. ; http://php.net/exif.decode-jis-intel/ E6 q3 @; m7 q
  1851. ;exif.decode_jis_intel    = JIS
    0 q# d) Z0 b; }5 F! A
  1852. + D/ x- Q4 t& o
  1853. [Tidy]% ]+ C. w) q1 T" j
  1854. ; The path to a default tidy configuration file to use when using tidy; m& `- c4 o3 k/ m6 W
  1855. ; http://php.net/tidy.default-config
    $ l/ f9 {' w, C* a1 k! N* a3 @: ?
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg- q# i. E3 F" |  K8 H2 K1 W6 W

  1857. " ]/ t+ l; z& e8 f# |
  1858. ; Should tidy clean and repair output automatically?; @0 D* P3 M* Z( F; P+ K
  1859. ; WARNING: Do not use this option if you are generating non-html content
    , u/ X; F3 |5 [  n( a
  1860. ; such as dynamic images+ R8 c" C: V8 {
  1861. ; http://php.net/tidy.clean-output
    * n: L! L# R. o
  1862. tidy.clean_output = Off
    9 u: g1 H0 `* _8 B" S( P

  1863. 0 D9 Q% t1 b% [2 N; v
  1864. [soap]
    # v* a# ?1 }1 J3 ?' n9 M, m7 f
  1865. ; Enables or disables WSDL caching feature.) Q6 A1 |3 |' G( ~! `: Z3 n
  1866. ; http://php.net/soap.wsdl-cache-enabled
    9 z% A7 ?0 H: N9 L$ E" P
  1867. soap.wsdl_cache_enabled=1
    6 V7 L4 S! q+ \) x. \

  1868. " R7 k$ q- n7 K  P
  1869. ; Sets the directory name where SOAP extension will put cache files.
    # m6 @& |  H, v! o; z2 B' K; L
  1870. ; http://php.net/soap.wsdl-cache-dir
    3 R9 H  ]% c0 b
  1871. soap.wsdl_cache_dir="/tmp"
    + i, ~6 L7 a! `- F) C$ a- k

  1872. 5 z+ P" f( }$ T& f: Y
  1873. ; (time to live) Sets the number of second while cached file will be used
    + l6 p: T5 w+ x- C" h- X  H$ m
  1874. ; instead of original one.
    : }) U! B+ c& j4 R8 i; H$ h
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ! T  b2 v& \) Y. j
  1876. soap.wsdl_cache_ttl=864002 _4 L; I% Z& D& @$ z
  1877. " U' x; y" M& w8 y# X" ?/ ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    $ ^+ ?1 W# M$ T" V1 T
  1879. soap.wsdl_cache_limit = 5
    , Z# k- D% e& f. j
  1880. 5 J2 v/ D" }" ]; O4 y
  1881. [sysvshm]8 Z$ n# @9 A* I, q" y9 U, J
  1882. ; A default size of the shared memory segment. @: F* `  T# @" \1 T" T. x( M
  1883. ;sysvshm.init_mem = 10000  f4 C1 A2 |7 Y2 }
  1884. % d) |2 O" w" _* I1 x+ D9 ~5 {
  1885. [ldap]6 O3 r" n9 L1 X# Y  Q
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    4 F% w* V/ P: @; [
  1887. ldap.max_links = -1
    / w& @( [* m2 `" X  V  Z
  1888. 4 W2 o0 c7 f" E* o
  1889. [mcrypt]  D3 ^7 H  N, F  d6 c
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    & U. x6 Y$ ~4 b) d* ?) w) [
  1891. # A& Q) F, A6 Y9 W1 ~; S3 e
  1892. ; Directory where to load mcrypt algorithms/ q8 I8 Q# N5 _$ R+ R  L9 q! C
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 }8 f! j; }3 {5 f8 H" e+ m# A5 E
  1894. ;mcrypt.algorithms_dir=0 F0 y; G; F! ^* v( L7 |% w  D4 k: E
  1895. . u$ W* c( E% g6 I* Z  N% n; _
  1896. ; Directory where to load mcrypt modes' C- x# T; q# ~: y' }. l4 @
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 f4 W' v8 L' N( Z* a
  1898. ;mcrypt.modes_dir=
    1 h' s3 L2 j1 z$ ?) L
  1899. % C+ \7 j9 G0 s' n4 g- W& n
  1900. [dba]
    0 n! Z) q7 n7 k) |+ w
  1901. ;dba.default_handler=
    5 k* }( I5 J  u6 }- |0 |  D! b4 q
  1902. - R) v1 C( p- {( f
  1903. [opcache]
    " [: C7 ]/ g1 z# _* W( O
  1904. ; Determines if Zend OPCache is enabled
    ' N% Q) n* p# Z+ Q
  1905. ;opcache.enable=01 }4 u$ _. v2 W  _5 a& T2 I+ h

  1906. 0 d% }6 \' ]8 `3 e$ E( [- c
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 i9 I" r( x; J% i2 Z" k) y: _
  1908. ;opcache.enable_cli=0
    ; d. T  T7 _3 N6 U1 r
  1909. 4 R* o$ ^3 L: l/ I% k& ]( b5 q
  1910. ; The OPcache shared memory storage size.6 ~% ?! l/ z% L5 T3 G, D( R
  1911. ;opcache.memory_consumption=64
    5 ]7 ~, H* s) n; [" M" Q

  1912. $ ?+ z( a) @3 D# T) m1 ?
  1913. ; The amount of memory for interned strings in Mbytes.0 l+ O1 F+ M0 i# e7 m* @6 h! Y3 e
  1914. ;opcache.interned_strings_buffer=4# z" m1 Z. m* k  s8 K
  1915. - }' t; w5 |. ~0 E
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.0 }9 h# L% ?! P" z  b2 |
  1917. ; Only numbers between 200 and 100000 are allowed.8 S5 b, u. C$ f
  1918. ;opcache.max_accelerated_files=2000' t  s1 q$ `! {3 P) K3 L

  1919. 8 _9 @2 a4 L  I
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 }4 Z. l& m& [* A1 S* v# X' B# E
  1921. ;opcache.max_wasted_percentage=5" S7 _3 K* p1 Y; A9 g

  1922. 2 C  r, l- W8 \& Y- E
  1923. ; When this directive is enabled, the OPcache appends the current working
    # v( y0 h' w, B
  1924. ; directory to the script key, thus eliminating possible collisions between* o, A3 _# z& `/ o( B
  1925. ; files with the same name (basename). Disabling the directive improves' j. @7 X' C, d" \# f  y3 i
  1926. ; performance, but may break existing applications.
    , h* s: h, d! @
  1927. ;opcache.use_cwd=1
    + N1 I" w% R, k
  1928. 6 |/ i7 y/ O% u. [) R. `. @
  1929. ; When disabled, you must reset the OPcache manually or restart the# D( \, v8 ~& T, d: X7 [; I
  1930. ; webserver for changes to the filesystem to take effect.
    6 R* @& s" T. h/ t, y# a8 F
  1931. ;opcache.validate_timestamps=19 y# T# |; O- Q$ D9 W( T
  1932. 7 \" Y+ M+ G: \# I1 s& m
  1933. ; How often (in seconds) to check file timestamps for changes to the shared3 p& ~0 m1 p0 `7 @3 g: N
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    & u* V4 o" _  f5 h3 c
  1935. ; once per request. "0" means always validate)4 m+ _) }. t& e3 R8 z/ }
  1936. ;opcache.revalidate_freq=2) P  Y4 t" |) W
  1937.   ?# B5 b( G: j3 {6 v7 i" ~
  1938. ; Enables or disables file search in include_path optimization, C# I. j6 f8 S% ?: T
  1939. ;opcache.revalidate_path=0
    / Y: {8 D! ]* }+ e

  1940. # b  ~, `+ U9 k3 Z- s
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 S) a/ g# \, u) i5 J  ?4 ~1 c3 g: O
  1942. ; size of the optimized code.
    & C* t6 \0 @- C& c1 o! I4 I
  1943. ;opcache.save_comments=1
    8 ]9 g- `* Z1 E0 ^! z* H- f1 e
  1944. 6 o( b1 }7 H, n6 b6 P- _4 j3 s' K
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"9 P4 I; d5 V, r
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    4 X$ Q& {. q. ?
  1947. ; that don't need them anyway.  O+ L8 {. i! t. X  W9 Y
  1948. ;opcache.load_comments=1
    7 E' Z  F- Z- p
  1949. ( m% [1 s6 X4 ]" u: X6 ^7 }6 Q& p- S
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ) x! R- x4 J& z$ ]) ^. j+ ?* l
  1951. ;opcache.fast_shutdown=0
    3 f5 k+ R9 ?9 }* ]

  1952. 8 L) M1 Z5 y  f1 I! u
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
      M  R! A; |( ^$ y
  1954. ;opcache.enable_file_override=0
    ; A9 Q3 _, g" ]- l4 D& {( v! O3 C
  1955. ' ]7 `3 @0 S- ?* I4 K  j4 V
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ; q% M8 R0 M0 @" `
  1957. ; passes" p' ~& S0 d7 e2 P4 a
  1958. ;opcache.optimization_level=0xffffffff
    ; l, k% U/ @6 Q7 @. l) f9 i1 z
  1959. & ~7 l  K% S* N- M* P: m
  1960. ;opcache.inherited_hack=14 \0 T/ G& |; o2 c% u+ X, `9 i3 U* y
  1961. ;opcache.dups_fix=0
    & I3 Q- d2 q4 l9 k1 Y! J( [4 z" X
  1962. 6 F5 f! m# }! q+ ~# O2 C. b
  1963. ; The location of the OPcache blacklist file (wildcards allowed).0 @# \; r! ]2 O2 U1 s
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ' s( @1 x4 A0 S7 T/ I
  1965. ; that should not be accelerated. The file format is to add each filename
    ' J. T6 G* |; y/ `- I+ F- _
  1966. ; to a new line. The filename may be a full path or just a file prefix1 A$ U* Y4 f( M
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www: Q+ g1 i) M; G8 f6 X( [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; n3 I" z( u0 {# M# Q: G0 i7 x
  1969. ;opcache.blacklist_filename=5 d; j: S5 j1 c) I
  1970. , y1 }8 {! d7 L5 j
  1971. ; Allows exclusion of large files from being cached. By default all files% r2 v' A# b, Y
  1972. ; are cached.
    ' {, h2 r: D. y6 N" t% t: D" f* H
  1973. ;opcache.max_file_size=0
    % A4 g  ?8 l4 W* j  ?
  1974. ( b; x' k: z( Z/ n& h
  1975. ; Check the cache checksum each N requests.: Z2 Z2 M+ d- v/ m) Y1 K! w' g; U0 }
  1976. ; The default value of "0" means that the checks are disabled.
    " H6 ^; ]; E8 T! o+ _! D6 E5 a
  1977. ;opcache.consistency_checks=0
    ; M, K- H! {, N2 e8 g+ r$ I1 A
  1978. % B/ X0 e! I7 M& P/ V( `! R) B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache) }3 l! J) c* U) Q
  1980. ; is not being accessed.6 a% [8 E# e8 b' r
  1981. ;opcache.force_restart_timeout=1802 d$ G7 [# P5 j/ U9 `5 S& K. r
  1982. ( D! V8 P0 `' T9 f
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    3 M0 V; J6 i3 z2 S: n' r
  1984. ;opcache.error_log=
    ( T, F9 K; f4 M! h' u
  1985. & R4 R& W) S* J
  1986. ; All OPcache errors go to the Web server log.# I% x5 K/ s& l: R' Z7 T0 b4 ]
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.: p+ U! |( i* \3 n6 E
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    6 Q# H# U9 P% z- z; V5 p3 Z; g
  1989. ; debug messages (level 4).7 H' H2 e4 q6 {7 X7 f  F# g- j
  1990. ;opcache.log_verbosity_level=1% D  z; f/ [; I, j
  1991. . E& L4 v) F* Y; P6 t" M6 q
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.! |  L$ y4 A; o* V1 _9 D% L6 }
  1993. ;opcache.preferred_memory_model=
    6 X0 T0 N" _+ v/ }6 }7 e
  1994. . v# X+ w! y4 S" N9 I* @
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 A7 [( }2 B, I  T" e
  1996. ; Useful for internal debugging only.
    % e& \- B* h8 s9 Z9 `& M# V
  1997. ;opcache.protect_memory=0
    6 h) y) {* `0 n' f6 n" h: p! V
  1998. 8 K+ T2 r9 L7 j/ ~6 Y
  1999. ; Validate cached file permissions.
    0 I5 Q6 r1 \$ D2 k" B( k
  2000. ; opcache.validate_permission=0( q3 ?# X5 Y2 H2 V+ r3 ]

  2001. 9 E: }; ~2 [! a6 T% o. e* |
  2002. ; Prevent name collisions in chroot'ed environment.
    8 I. X: W% Q3 |/ B8 U! I
  2003. ; opcache.validate_root=0; m7 D, X- d7 u4 ^1 X; K/ X

  2004. 5 X% X& O5 w; `; S
  2005. [curl]8 R: i! m/ x( D
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    3 s6 J: p- }3 @: o2 J+ r# D( U# |  D
  2007. ; absolute path.5 N7 m  k; f8 w( T# r9 k& p# T7 F9 z
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    7 f$ A5 }3 m/ [0 b

  2009. , P) m4 I; n2 q1 V
  2010. [openssl]7 I0 x( t+ B; y4 o
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem7 c; G: H6 b+ Y7 n6 ^/ X0 w& }
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should: l8 C. y  b6 d! n+ q
  2013. ; not specify a value for this directive as PHP will attempt to use the
    4 C# h2 }0 D8 @. q( `2 O
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    % ?1 J& E$ f0 _; b, ^: O
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % O8 V$ A2 \( a- a: f: Y
  2016. ; option.
    / q, D9 H+ x8 p& P
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt8 i5 p* M# ?0 \$ Z$ P% m
  2018. * T$ i& B: J( P* F: u
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 L8 f7 |. Z. H: ]
  2020. ; directory pointed to by openssl.capath is searched for a suitable+ [+ M% Q5 [/ ^3 o' J) z
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 k! F0 I1 `7 j9 z% u( H
  2022. ; Most users should not specify a value for this directive as PHP will
    7 U7 i6 \1 J  S' A
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : M6 N% a7 H' v: T- M6 K; Y5 R
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    4 s3 T. K- d' \' G0 s
  2025. ; SSL stream context option.
    8 c2 ]5 F- A+ E9 K8 S/ r7 A5 S
  2026. ;openssl.capath=
    + {7 D0 g, ]. B6 o1 l1 f

  2027. 8 B  v; W- u) X: M( N$ W" b
  2028. ; Local Variables:3 `( U8 h! y, D+ q
  2029. ; tab-width: 4
    , e2 Z' N9 a3 b
  2030. ; End:
    9 y' s" K- j' Q5 g6 u7 x

  2031. ! w# F) p0 A& I- i0 O4 `, b
  2032. ;eaccelerator$ i( ]/ D, n& ?( x( i7 U

  2033. # A3 i' Z2 e/ C) f! b& g7 u
  2034. ;ionCube
    & e# d& R( M6 H, o! L
  2035. 8 Z; B4 I. a. d2 H! T! P
  2036. ;opcache0 D* V+ W' P! d/ Z

  2037. 3 G& o8 b% Y; X5 W# q' ~* ?7 z$ H5 S
  2038. [Zend ZendGuard Loader]
    % _( _. S- ~  C
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so9 D! L4 A: u/ F/ {
  2040. zend_loader.enable=1: b  V: _( V* a6 v3 a& h
  2041. zend_loader.disable_licensing=0
    5 c+ o) `- ?: {# N' m
  2042. zend_loader.obfuscation_level_support=30 D' r4 X8 \9 Q7 p- A+ f5 B  J& X
  2043. zend_loader.license_path=
    0 q" o2 w  A3 M* z, G4 V) t

  2044. ) S3 \3 m) u0 V
  2045. ;xcache
    7 {8 O# l, d( T% i

  2046. 9 l+ w+ h, X: C, F
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
. A$ U% a  S6 L, L1 Y  K/ [4 }, R" A* M
! B' ?$ ~5 R# I4 \& f
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
' q. o! t) L" H# i% R2 m, q" j; V7 r  g
Discuz!程序版本选择:
/ z9 F: s0 L9 ?: {站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
  v3 j3 C8 N7 d+ ^' h不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
( i( M1 C, n3 _7 J( [- c7 {Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
* w; q1 A0 C2 q; ]
/ I6 k6 J5 n& d/ w, n9 RDiscuz!插件模板版本选择:
  V6 r# [6 }# y5 l- h很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,' p( ^; T7 c" A7 H
针对这个问题做个统一的普及:- D: u1 v* k: g1 t1 d( ~
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。* E5 E, [0 F8 S) K
8 W5 {4 R! `1 C  A7 m
所以2 {$ B$ U$ O: x  }
适合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的二级域名。
& O# L2 s# h/ H6 \- Y6 S打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" L1 C5 y7 E* w
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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