分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0: [( i; p" n& F9 W# E

+ s" i# c2 t' h: [, ~
  1. [PHP]$ ~: S  A0 w: G8 J8 e0 l
  2. . e) \& B' q6 s( y3 @( g; H' R
  3. ;;;;;;;;;;;;;;;;;;;$ t" q/ [6 N6 }' R9 v
  4. ; About php.ini   ;( C9 q& P% j4 a& Z
  5. ;;;;;;;;;;;;;;;;;;;( V' O0 T) j  L' l# D9 j0 K
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 G; U. X6 w6 t" w1 Y- w1 I" \
  7. ; configuring many of the aspects of PHP's behavior.
    1 J+ I2 {2 g/ |. Y
  8. / y, q+ H! ^( b; }3 y. I0 i& H9 O( ?
  9. ; PHP attempts to find and load this configuration from a number of locations.
    4 s1 e( ]0 N* _4 Q+ m  b# R( D
  10. ; The following is a summary of its search order:
    7 L$ Q* G4 Y- c' d
  11. ; 1. SAPI module specific location.
    7 \. i8 O4 n" }0 o, M! |  w1 f: b
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! c& s8 h: Y: Y3 u$ i
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)7 w  x( \8 [0 `) P) m, o9 v
  14. ; 4. Current working directory (except CLI)
    - s$ w/ G9 k: S! J) @- R5 r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP: o/ i2 k7 k" V: ^
  16. ; (otherwise in Windows)
    $ u/ P3 g6 z2 i/ @( i3 w: }
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 p, c3 U5 @9 i  }8 `+ W8 M
  18. ; Windows directory (C:\windows or C:\winnt)
    - i3 @( ~+ C: Q. E- E
  19. ; See the PHP docs for more specific information.
    % Q. Z( f  _- r/ y# X+ V
  20. ; http://php.net/configuration.file; D' K* m, t: S' w0 P  t
  21. ) J" \/ `& s  l, o# Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines' n9 S' u6 K$ u$ }
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ) Y! u; S  z, h# J9 [+ i0 ]
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 a) E3 Z! \) x1 H
  25. ; they might mean something in the future.; W7 t9 l! z, o' E5 J

  26. ; D+ O& t- M. R5 \& e' ?
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # T7 R$ N, D" H& Z- b2 V' n$ U
  28. ; apply to PHP files in the /www/mysite directory.  Directives) w/ N# _! d0 A+ m8 ^3 n
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ R; ^- c, g1 P2 X, m. N; q
  30. ; PHP files served from www.example.com.  Directives set in these
    " I5 o" F) \: n# k/ p" g
  31. ; special sections cannot be overridden by user-defined INI files or  [* w" z$ X. f
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 S! }; ~+ e+ R; @! }9 j% n0 O1 R
  33. ; CGI/FastCGI.
    8 I1 t9 M% R+ `# \
  34. ; http://php.net/ini.sections
    0 `' @1 ^& Q$ j, d

  35.   V  r( R1 T7 q, z
  36. ; Directives are specified using the following syntax:
    , _9 c" Q( o* B! @% [
  37. ; directive = value
    3 L$ [3 n1 N) d. `$ U' n9 e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % |) R2 D" s* T1 t; K9 ]
  39. ; Directives are variables used to configure PHP or PHP extensions.8 w1 Q  a, b$ [3 Z, @8 t/ |9 m# [5 g
  40. ; There is no name validation.  If PHP can't find an expected
    - H$ n1 f. u0 I; s
  41. ; directive because it is not set or is mistyped, a default value will be used.) Z) B& j3 `0 T$ N- h3 T0 Y

  42. * [. E/ b+ L8 V8 K  t. Q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one  Q& b" H$ N; }8 x
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , P9 X6 q0 p( C/ h- G4 w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a2 W) Q0 D2 c8 k! q; p
  46. ; previously set variable or directive (e.g. ${foo}). H2 P% i: p3 |& }9 \& R+ B

  47. 2 D; t  Z3 Z0 q  z6 q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! d0 E1 L/ k6 u+ L- |/ j
  49. ; |  bitwise OR
    2 p0 t4 I( B, B( O7 _( O
  50. ; ^  bitwise XOR
    1 w, G* @/ @* J! M
  51. ; &  bitwise AND
    + x1 K. x; G; A" N4 t# p
  52. ; ~  bitwise NOT
    ) e# Q9 C+ n, q" w5 `% P" R% h. V
  53. ; !  boolean NOT& e) n) k, k0 S$ S6 Q

  54. . T4 N, Y6 i. e; U: k3 M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 ~3 D4 z! w8 s8 A
  56. ; They can be turned off using the values 0, Off, False or No.
    ) _* `/ w3 m! I& g% s
  57. / ]: M% J& {1 C2 Q4 ]; B" e8 O
  58. ; An empty string can be denoted by simply not writing anything after the equal+ K/ v- N8 h& {: F* a' _
  59. ; sign, or by using the None keyword:  [: r- m; z  A3 c6 ^# K2 H

  60. ; R. i" G* `* t- ]% q& j1 E
  61. ;  foo =         ; sets foo to an empty string
    : v7 {( ^9 \9 J' d* d2 p
  62. ;  foo = None    ; sets foo to an empty string
    9 A& [% `4 A8 ~: y
  63. ;  foo = "None"  ; sets foo to the string 'None'; C. R( m5 a4 G5 T
  64. . p$ h; D# m7 H# [( @/ n& _! U- i
  65. ; If you use constants in your value, and these constants belong to a
    % y! N& `/ M. k3 O  x3 I
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      F! C! r& {: Y- F1 X$ c" t0 K
  67. ; you may only use these constants *after* the line that loads the extension.
    + l+ l5 n" g7 @9 j7 [' T2 ~+ |

  68. " ^1 `! _+ e. b: |
  69. ;;;;;;;;;;;;;;;;;;;4 p5 [; L5 k- |) z  s
  70. ; About this file ;1 j4 i# p: Z5 p, d
  71. ;;;;;;;;;;;;;;;;;;;
    7 x% p: q5 }6 y) y: ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  V( `7 T9 g% I. G6 D
  73. ; in production environments and one that is recommended to be used in
    6 W5 `0 Z; [; s# c7 e
  74. ; development environments.; D" O0 ~' x) Q7 S

  75. - v+ W3 a, c9 o0 B/ j. j/ u; a
  76. ; php.ini-production contains settings which hold security, performance and
    & q- D. E6 x$ ?) \
  77. ; best practices at its core. But please be aware, these settings may break
    2 i: W4 B4 d" [1 w. S9 I
  78. ; compatibility with older or less security conscience applications. We7 t' t% u# o0 V5 n$ l- `
  79. ; recommending using the production ini in production and testing environments.
    $ N% F  L4 Q) |9 h) w5 {
  80. # q' S5 }8 @. |( _
  81. ; php.ini-development is very similar to its production variant, except it is- G; m4 M$ s0 H. b, c& f; U' j
  82. ; much more verbose when it comes to errors. We recommend using the9 r0 C9 f0 U# l) G( F
  83. ; development version only in development environments, as errors shown to  U4 ?$ p$ I; F5 c: [) U
  84. ; application users can inadvertently leak otherwise secure information.
    ( A# o8 l4 x# H. J( j

  85. & ?* J/ K. b2 c  P4 `7 P
  86. ; This is php.ini-production INI file.+ k3 [5 b: g  r4 B" [7 b& C
  87. 2 O7 {9 b& w9 v: y2 R6 |+ B6 p+ B/ @  ~( L
  88. ;;;;;;;;;;;;;;;;;;;* n, {) x; N2 Y9 k7 X# Y4 m
  89. ; Quick Reference ;
    5 K8 u9 _9 @9 j! ]- N- u5 d
  90. ;;;;;;;;;;;;;;;;;;;2 |# p3 x' ?; B, k1 G& G
  91. ; The following are all the settings which are different in either the production5 C2 E) v- `, U2 C
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    * J/ z  A$ s& m- Z( h
  93. ; Please see the actual settings later in the document for more details as to why
    0 ]) S+ J/ p- x. c9 }" ]/ |+ X
  94. ; we recommend these changes in PHP's behavior.3 N. x! G! ]2 ^( S5 k. q) p
  95. " L9 d5 j$ @1 V" c" \" @4 D- `
  96. ; display_errors- i& h. }" U; L! k4 f2 D+ N
  97. ;   Default Value: On
    ( g0 ], l( _* t; t
  98. ;   Development Value: On
    ' s# c4 H! c+ c6 \, I
  99. ;   Production Value: Off4 x6 {) W4 N# d  `; x% M2 R: `9 K

  100. ) K; L0 ]9 a: l' o
  101. ; display_startup_errors! T5 A: i2 G- c1 m& q
  102. ;   Default Value: Off4 g0 z: e6 V4 r# t4 b
  103. ;   Development Value: On9 Y4 i, a- ^* Y( E% j( h
  104. ;   Production Value: Off8 g- l4 C6 L" \, t6 h
  105. 6 W9 a  ~0 W( U; O
  106. ; error_reporting' j3 h7 d% N. A) d% @) ~3 Y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . [( h- e# U: A' M
  108. ;   Development Value: E_ALL' g. g2 S' N* @( H  [6 P2 {0 e- N
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT) N2 X7 Q5 j1 Q- l
  110. & f/ H6 ?7 U: i# v4 \
  111. ; html_errors
    / [! v6 k/ F: K: |0 U& H
  112. ;   Default Value: On4 g: `0 q% d  r+ s/ p, s9 W
  113. ;   Development Value: On
    # b  v& L0 W0 L' u
  114. ;   Production value: On
    - y* R: E. z! I- f* y1 u7 E

  115. # P. a& h9 T; R8 R2 ^  i0 ~
  116. ; log_errors
    ' w% S; y9 A/ E4 D5 \
  117. ;   Default Value: Off& L7 |  {( x! e' i% C7 e
  118. ;   Development Value: On
    ( b$ {( n2 o" \( V" U3 v' f6 ?
  119. ;   Production Value: On5 y, Y( w! Q2 w# W7 b& x9 i4 ~
  120. % v" E) d( c* G+ n1 _- l" c+ n5 o
  121. ; max_input_time4 B8 S  s5 ?& j9 b: H
  122. ;   Default Value: -1 (Unlimited)
    ) M, Y3 d4 n7 B" A1 ~% n
  123. ;   Development Value: 60 (60 seconds)! Y; q& M: c. K5 O0 q8 g* A3 |
  124. ;   Production Value: 60 (60 seconds), R8 ^4 E. T$ L* y( R4 O: h% _
  125. ' N0 V" R+ b' Y, V) A
  126. ; output_buffering
    / |2 x* X0 S4 [2 F
  127. ;   Default Value: Off
    ( f4 Z; y! w6 }3 o
  128. ;   Development Value: 40968 q+ i6 H0 t& ]+ }+ z- F8 ]+ ?7 E5 [
  129. ;   Production Value: 40965 {5 L7 s' h+ R4 o: x$ P
  130. 5 w& n) }+ I/ S+ }2 ~1 j
  131. ; register_argc_argv
    4 X/ |" O4 y1 p, U* D
  132. ;   Default Value: On5 O. C1 H  M" ]: n  i* D. B4 D! n
  133. ;   Development Value: Off! h6 |! H# p' f' v( Z( Q9 F
  134. ;   Production Value: Off
    & W, l3 K& I+ S
  135. : W7 H$ b+ q; J5 ]
  136. ; request_order
    + w" K2 [/ d. f2 j& h
  137. ;   Default Value: None
    8 \9 q) C; X: v/ s0 J$ M
  138. ;   Development Value: "GP"8 O  k+ t' B9 l; l  b) ^2 E2 Q
  139. ;   Production Value: "GP"- s  V. a2 r0 T* Z9 R& x

  140. " h' i2 C/ @9 v
  141. ; session.gc_divisor5 n9 ~5 g4 e5 i" z& q/ Y) F) F% I
  142. ;   Default Value: 1004 J' U& i/ R6 P" L' G8 |
  143. ;   Development Value: 1000
    6 y, {/ M% \& V& O
  144. ;   Production Value: 1000
    8 D2 \9 ]( m. \% Y2 m1 }* ?
  145. / q& Y/ n' |9 g! F8 f
  146. ; session.hash_bits_per_character
    $ X  \( ?5 K% r) c( D! B
  147. ;   Default Value: 4
    . H. q( w! d, G9 @# z- N+ G
  148. ;   Development Value: 5
    . {; D9 [; F8 K! [; g5 i6 z
  149. ;   Production Value: 5
    5 s9 v( ?& h7 e- J5 S% B/ {: F7 u8 g; F
  150. & u+ N. E" m0 n& n
  151. ; short_open_tag
    - V, c8 C, w1 y; u6 r" d0 C
  152. ;   Default Value: On& D. b+ h" N7 J* C# l  y. O
  153. ;   Development Value: Off# [% [! Z5 A* ~8 O* _6 Z
  154. ;   Production Value: Off
    7 g3 C9 ~) Q: H: O2 G% E

  155. , a+ l& Q5 [" c* U0 g
  156. ; track_errors
    / a  w, c, g, Q& }+ J' ~
  157. ;   Default Value: Off
    7 Q1 q* s. R9 w5 L% `+ Z# c1 B
  158. ;   Development Value: On
    " X  s8 g' Q$ \( B2 g
  159. ;   Production Value: Off: x7 S& z2 i1 w, k( U2 ^% m
  160. 7 D! |+ V( p" j% a5 m% V/ u
  161. ; url_rewriter.tags
    ( T: v2 c! I. |  o* K$ m- ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 z5 O, V% X8 G- V8 Q+ i+ d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 d2 m! a! U) I2 O: d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( B$ F4 R0 k! ?2 d1 ~; I& T

  165. * h6 s6 g; q+ `1 S. U
  166. ; variables_order
    5 i$ B; a0 e: j) U2 y( L
  167. ;   Default Value: "EGPCS") r" z( i* m2 V4 P3 i
  168. ;   Development Value: "GPCS"
      E1 e6 Y) G5 |$ }
  169. ;   Production Value: "GPCS"1 h4 n) P5 P- O; q' z2 ~

  170. ! k6 V' I8 D* N5 M
  171. ;;;;;;;;;;;;;;;;;;;;- X# G. Z2 e% f) l' w
  172. ; php.ini Options  ;
    ( w* A2 U% w$ B
  173. ;;;;;;;;;;;;;;;;;;;;4 s( N# X" w) n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    * ]2 q, c; ~- ], z6 |! d7 Y
  175. ;user_ini.filename = ".user.ini"
    ! O' P8 h3 W% J
  176. 2 y7 P% g; J2 {/ R
  177. ; To disable this feature set this option to empty value2 ^9 [+ t* u$ C7 C3 N
  178. ;user_ini.filename =% t9 m9 C# t7 x. [  {. L6 H' H

  179. 4 F0 W1 _! _& h" N8 g) F0 F9 m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 b& H) Z6 Z  e6 H
  181. ;user_ini.cache_ttl = 300
    " F5 Z1 M% ^7 J! V. k9 Q, Y$ N

  182. 1 m) P/ h& b5 y' o2 U
  183. ;;;;;;;;;;;;;;;;;;;;3 P, }: ~) W" ^8 L* d
  184. ; Language Options ;* ?% e1 N0 G* S/ I% _% o" i1 G
  185. ;;;;;;;;;;;;;;;;;;;;
    / x: b7 P7 }/ |7 _7 @2 r$ a

  186. ! w0 L/ Z* f" h: u& ]1 L
  187. ; Enable the PHP scripting language engine under Apache./ p( j) z$ P  M. {% D
  188. ; http://php.net/engine+ a1 Q, c  ], b% @: r+ T
  189. engine = On" p! ?# V2 @* p. H

  190. & e: {$ v" ~4 J. d
  191. ; This directive determines whether or not PHP will recognize code between+ d6 G9 S6 a* O+ s
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& D1 X& S1 e5 M! W0 Y
  193. ; generally recommended that <?php and ?> should be used and that this feature0 U" _' Q& u) P# j: V/ e' g1 j# e
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * S/ e0 Z( x) C5 d# R7 y9 e5 _8 C& p; J
  195. ; documents, however this remains supported for backward compatibility reasons.* ]; _$ F0 J! E( C7 Y- S4 G7 k; r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    2 p: x" H' f8 B- U  y
  197. ; used regardless of this directive.
    2 E9 j- k6 |. T& U
  198. ; Default Value: On7 a+ c. |4 _- i7 p, d' c" l/ `
  199. ; Development Value: Off
    . O0 K/ L) _8 v9 W
  200. ; Production Value: Off3 V. X2 t7 _5 [; o
  201. ; http://php.net/short-open-tag
    4 i  {0 r% k/ p5 E  l: o
  202. short_open_tag = On
      q! C# T- m0 {. B2 P1 {! W

  203. / Y7 J8 R7 @/ G! k" ?
  204. ; The number of significant digits displayed in floating point numbers.
    ' Y4 W: V$ B& B7 J
  205. ; http://php.net/precision. u0 E: c" f! a, {) J8 I) o/ _
  206. precision = 14
    0 }% L+ l+ {# r; d

  207. ! h# P* O& `4 t2 q9 ?* _2 M  t- J
  208. ; Output buffering is a mechanism for controlling how much output data
    + }% h5 @& H! M5 q+ p
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that' a$ @. C8 Y; E, |$ O3 M
  210. ; data to the client. If your application's output exceeds this setting, PHP
    5 t2 m' s* f, M# v
  211. ; will send that data in chunks of roughly the size you specify.
    ) B* Z- Y6 L1 R) I8 v2 F. B
  212. ; Turning on this setting and managing its maximum buffer size can yield some. F( B. Q; q- u5 `0 Q
  213. ; interesting side-effects depending on your application and web server.( F( o9 f& v5 q. G+ R0 W
  214. ; You may be able to send headers and cookies after you've already sent output
    4 w, Y& L) T+ N+ r* O' o- Z
  215. ; through print or echo. You also may see performance benefits if your server is1 Z6 }7 x) E3 p5 O
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    3 M# u3 S1 J2 Z; r) _
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance$ g% X6 n: Z' d9 y( [+ r3 y8 Z
  218. ; reasons.* d+ m2 U+ A7 S0 T' T! m6 U' I
  219. ; Note: Output buffering can also be controlled via Output Buffering Control9 j& N8 O* c( {3 L! P/ M
  220. ;   functions.
    & I1 v) ?1 q4 X1 C" N8 ~
  221. ; Possible Values:
    1 r7 q8 f( a3 g' q0 z! ?# n$ X8 ~5 }
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 k* e' p( V4 _9 p* _6 F7 e# C
  223. ;   Off = Disabled9 |+ W6 v- B" r' r( f6 E/ k0 r
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 t# |( l0 O+ U# v
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI" g! m, @, ~4 T8 F, ?: ]1 M
  226. ; Default Value: Off
    3 i6 w$ ]0 y* \/ ]% t
  227. ; Development Value: 4096
    7 [4 m+ A% n5 l
  228. ; Production Value: 4096
    4 ?* i1 v; I4 Y' H! U' n- _
  229. ; http://php.net/output-buffering
    9 b6 e' a% X4 Y5 }. [
  230. output_buffering = 4096
    ( S% K  I+ g" G; E$ C' X% l$ c4 g
  231. . c0 W4 H# A4 }8 `1 b3 T# m
  232. ; You can redirect all of the output of your scripts to a function.  For3 U$ r  C% h9 {+ d' Z7 b; {) d  P
  233. ; example, if you set output_handler to "mb_output_handler", character; J$ X7 X7 r  p3 N1 S) k
  234. ; encoding will be transparently converted to the specified encoding.( v8 t) i/ r3 N' w  a: }
  235. ; Setting any output handler automatically turns on output buffering.
    / f3 Y( e% h" U! V$ U, o8 d
  236. ; Note: People who wrote portable scripts should not depend on this ini: r- j) u8 ~8 ~  j( B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().3 E$ r( _1 Z6 T" ?5 g
  238. ;   Using this ini directive may cause problems unless you know what script1 D$ p' s" E% R7 x2 S
  239. ;   is doing." N" Q! _0 p0 k$ y, Y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ( G1 Q8 p# y4 p/ J& ^4 H3 P
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 C: _' ?' P) D# M; w
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    % D7 @" u& R3 e; z# O/ p
  243. ;   Instead you must use zlib.output_handler.
    # X( x; }0 @5 W/ d
  244. ; http://php.net/output-handler
    3 M, ~5 f. ]9 x1 U7 S/ Z
  245. ;output_handler =% V, H# b, n0 N) l5 g. }

  246. 6 Q3 D$ q9 r, L- v+ j1 G  Q. Y
  247. ; Transparent output compression using the zlib library& @" K# B9 O# d2 G9 B
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size0 d8 @$ ]8 M$ ?5 q4 [7 b
  249. ; to be used for compression (default is 4KB)  C8 w4 K  y, b- v' S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) A  Q6 W4 }' k/ G
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    8 t$ S! r1 i, J& u
  252. ;   compression. If you prefer a larger chunk size for better
    9 r. q- e# j0 T9 x/ t0 _% k
  253. ;   performance, enable output_buffering in addition.
    1 h+ M. z% H+ x/ d: \
  254. ; Note: You need to use zlib.output_handler instead of the standard# G! _2 L# b: B, t  ~/ p  Y4 z
  255. ;   output_handler, or otherwise the output will be corrupted.
    ; I/ }/ X6 c0 ^" Z+ S9 D
  256. ; http://php.net/zlib.output-compression/ d. ^8 [+ r; K
  257. zlib.output_compression = Off
    . z2 x& p- {( j( E# o

  258. 4 D* ?4 c* `5 q) u" P
  259. ; http://php.net/zlib.output-compression-level
    0 S0 r+ B/ z( R, t5 [5 K9 x. l& n
  260. ;zlib.output_compression_level = -1( w( q, k8 I* C9 M6 r- N
  261. ! Y" E& X+ |: y( h. A6 m3 b
  262. ; You cannot specify additional output handlers if zlib.output_compression2 O8 R& l8 b0 w7 H! ^
  263. ; is activated here. This setting does the same as output_handler but in+ E, ^3 Y5 x4 n' n# p" U0 S+ x1 g8 q2 {
  264. ; a different order.
    ; B: N3 f3 V0 I$ ^
  265. ; http://php.net/zlib.output-handler3 H0 S8 J& C+ f! c3 k. ]3 z$ [
  266. ;zlib.output_handler =% [% P% m. E2 P

  267. * r) M. {' s' M' ?3 r
  268. ; Implicit flush tells PHP to tell the output layer to flush itself6 @2 A+ o. `5 Z4 K( o$ p2 B5 Q
  269. ; automatically after every output block.  This is equivalent to calling the$ U, R+ g& t% e- ~3 D% R) K- O- h
  270. ; PHP function flush() after each and every call to print() or echo() and each& B3 C( r0 v, B6 f
  271. ; and every HTML block.  Turning this option on has serious performance- o0 B4 w1 r- K; k
  272. ; implications and is generally recommended for debugging purposes only.& k$ ?; q/ p5 l
  273. ; http://php.net/implicit-flush: ^% k# ~3 y" e
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    . g. s6 n2 s! p: y. X( G
  275. implicit_flush = Off* e  j) d3 m0 \8 Z
  276. ) i1 h9 H8 @8 K
  277. ; The unserialize callback function will be called (with the undefined class'
    ! s6 H3 g+ x& F
  278. ; name as parameter), if the unserializer finds an undefined class2 H) g5 R2 ^: @3 I
  279. ; which should be instantiated. A warning appears if the specified function is4 w: x: |" U; P" c! T3 y1 P
  280. ; not defined, or if the function doesn't include/implement the missing class.4 q: T: J+ P( `+ O, G) S6 D  T
  281. ; So only set this entry, if you really want to implement such a
    $ Q8 F. r3 X: t" I# w' B' s& m
  282. ; callback-function.* z" R" ?0 C) x) \4 v# [; G
  283. unserialize_callback_func =4 ], I- j5 d" N8 K4 z
  284. 6 A) ~  g* m9 v' {
  285. ; When floats & doubles are serialized store serialize_precision significant: b% D; j5 D$ t' o. s, E
  286. ; digits after the floating point. The default value ensures that when floats
    2 A7 ?9 g1 ]7 H, u' n' F. V. j4 j
  287. ; are decoded with unserialize, the data will remain the same.
    1 m2 i  z+ t2 i! N: ^8 N' P
  288. serialize_precision = 17
    " j" A, B, T2 J

  289. ! F( u* b4 ]% U4 A6 N+ z
  290. ; open_basedir, if set, limits all file operations to the defined directory' G& J8 c, s  y% Y( O5 M
  291. ; and below.  This directive makes most sense if used in a per-directory
    9 `+ H# C7 e' D6 b$ J
  292. ; or per-virtualhost web server configuration file.) Y3 m$ m& c2 F. S5 g) ]& A
  293. ; http://php.net/open-basedir0 I) f2 c8 y$ g
  294. ;open_basedir =1 y' Q& A5 J0 @
  295. 0 y  o" R  J6 n: q- y0 `
  296. ; This directive allows you to disable certain functions for security reasons.+ z5 ?6 N/ \! Z
  297. ; It receives a comma-delimited list of function names.
    8 _6 c) P9 o8 W. ^# K' r5 d
  298. ; http://php.net/disable-functions- b: [- L6 x) B8 M% @5 l
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) W* x) J( h8 X1 c

  300. # w0 N6 C$ k; d3 a6 \% h
  301. ; This directive allows you to disable certain classes for security reasons.5 C3 Z$ K/ b; U2 ?8 V
  302. ; It receives a comma-delimited list of class names.
    ; c5 f! R; ~, ^' }
  303. ; http://php.net/disable-classes
    ; M, y2 z4 x# N) l  b7 {# M9 z$ _
  304. disable_classes =: \1 F, X) \, G$ t6 E. C
  305. $ R# J# L. b6 ~$ ~, {$ m$ s; r6 o
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 n1 \0 v+ x9 j* \8 Q; r
  307. ; <span style="color: ???????"> would work.
    + B; e1 E; Y  |& U
  308. ; http://php.net/syntax-highlighting
    , m; d7 s% _' l& [; f$ v
  309. ;highlight.string  = #DD0000
    * j- }; b; e/ j: y' O- Z  G# U
  310. ;highlight.comment = #FF9900% Y, m  v( q8 g- L! B
  311. ;highlight.keyword = #007700" W5 e7 y/ B! _5 v
  312. ;highlight.default = #0000BB% q5 k+ M5 c( k9 \% I: V
  313. ;highlight.html    = #000000) Y4 J; D0 w# t1 d. C  D  ?& G

  314. ) j0 f) }6 q( ]) x+ U
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ) H" r) Y! j$ H: {! f
  316. ; the request. Consider enabling it if executing long requests, which may end up
    - K/ C' y$ S3 W! ^& B
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 R! h0 W& ?9 g: _- p
  318. ; is to disable this feature.
    ) r5 S& B& D/ z+ d4 F
  319. ; http://php.net/ignore-user-abort& z$ o& C9 ~3 y6 y. g- {8 I
  320. ;ignore_user_abort = On1 t* X% J& @0 n
  321. 3 E0 B* P& N: Q
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ' m$ K! ^4 p, ]. N
  323. ; be increased on systems where PHP opens many files to reflect the quantity of: V6 v; o: m. [) m6 |
  324. ; the file operations performed.% Q! l$ r8 b3 [. n) N% I% C+ A  `
  325. ; http://php.net/realpath-cache-size" D# P, E3 d7 F% u, W& s. p2 c
  326. ;realpath_cache_size = 4096k
    . w' }/ x3 H6 g0 b2 m6 E+ \7 U1 V
  327. " q. S* M8 {/ Z$ r
  328. ; Duration of time, in seconds for which to cache realpath information for a given3 u. \* b1 _1 u0 @
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    * D$ j% [1 J. \) `- t/ ]
  330. ; value.  W# j, }) B* a6 g; u& k7 @
  331. ; http://php.net/realpath-cache-ttl" q* M$ n- k; X- T- ~5 i% Y: h2 W
  332. ;realpath_cache_ttl = 120" N: V, ?% E6 S7 l7 Z& V- i  a7 ^
  333. 1 e1 h% k  f, q/ u
  334. ; Enables or disables the circular reference collector.: C; e- f% S  f3 s! J- }* g- k
  335. ; http://php.net/zend.enable-gc
    : D" |% c# P" o, `* }* V/ @
  336. zend.enable_gc = On
    2 V  n$ r4 C% k9 W9 N0 [& w9 L

  337. 2 s( z+ L. s4 |- z$ [
  338. ; If enabled, scripts may be written in encodings that are incompatible with  D' _! m+ |4 A* P7 _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such* H2 p- r4 G& A/ n/ A& _/ X5 n+ G
  340. ; encodings.  To use this feature, mbstring extension must be enabled.; f0 {  R2 [5 Z. ~; C' `
  341. ; Default: Off: F7 {) {2 ?5 O! l; J" q/ a
  342. ;zend.multibyte = Off/ n9 P4 ~( n' J# r
  343. % O% D2 K4 c1 r3 \
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) v5 Q  {% ~- H' k
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    9 I% ?( ]# ]. ]8 }5 |  i
  346. ; Only affects if zend.multibyte is set.
    - h- A3 S7 B, e1 U. Y
  347. ; Default: "": d& |; i8 Q; x) B. y. c! S- B. V$ w
  348. ;zend.script_encoding =
    + U" Z# f6 N9 S2 }

  349. : `2 Y) |& {- r( U/ {5 o' I
  350. ;;;;;;;;;;;;;;;;;) Z% q# n6 B' ~" y! L3 P
  351. ; Miscellaneous ;( j  B3 M  Q$ Y: O: @
  352. ;;;;;;;;;;;;;;;;;1 l4 y# A# x4 C5 h8 F) p

  353. % a9 [9 f; z3 B& n! U! k
  354. ; Decides whether PHP may expose the fact that it is installed on the server$ T* A1 ]3 Z+ J* B: t# o
  355. ; (e.g. by adding its signature to the Web server header).  It is no security2 f# Q9 O/ ^3 k% @0 I* L( }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 M- o3 j/ W& |, ?! m- Y4 k
  357. ; on your server or not.
    ( ]9 k# ^# \7 e: e! [- `- A% f
  358. ; http://php.net/expose-php) ?* ~1 v) t9 a- F, s
  359. expose_php = On
    3 R$ n/ Y1 f7 d$ Y
  360. & F- X( g& P( {% d# d
  361. ;;;;;;;;;;;;;;;;;;;8 b4 S' S( k- d& X
  362. ; Resource Limits ;
    / Y& p; I6 t7 f# z7 k4 d
  363. ;;;;;;;;;;;;;;;;;;;) {3 b7 `% e3 `6 I  I  l/ u

  364. # u: [: i& \% E: ?3 g! g7 N+ P
  365. ; Maximum execution time of each script, in seconds
    * o/ u) Z& @5 U; g4 |3 V
  366. ; http://php.net/max-execution-time8 Z7 @8 _0 b  R% g$ d  f/ q
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ e" X$ s( N9 J6 E4 @6 z2 j
  368. max_execution_time = 300
    6 t0 J, S; e8 {- [

  369. . |, J& A1 k6 |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' }% _0 f3 ]$ e$ G( c$ V
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    : w8 X! e& ~# e$ w
  372. ; long running scripts.
    ; e1 W, a3 B& [) G* K  Y
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI6 ~4 J, h& ^5 f9 e. _
  374. ; Default Value: -1 (Unlimited)
    " ~+ L4 U  L" f, H; P: R1 x) }, \
  375. ; Development Value: 60 (60 seconds)
    - ?: w& u6 ]0 T* @# ^
  376. ; Production Value: 60 (60 seconds)- g* w& P& z3 h" Q& c" b
  377. ; http://php.net/max-input-time* q: o- q% ?+ y' _5 M- B
  378. max_input_time = 60" I* b1 P6 V  P( H/ r

  379. 2 _# @! @; {& l9 i
  380. ; Maximum input variable nesting level
    " t6 p9 ~7 r9 T+ Q
  381. ; http://php.net/max-input-nesting-level* U1 U. h% F* m( j, O
  382. ;max_input_nesting_level = 649 b9 o1 K' S3 d4 Z- |6 O% p1 K# {; T

  383. 3 t; B7 |5 ?! {0 z
  384. ; How many GET/POST/COOKIE input variables may be accepted
    - r  v5 P5 P4 ?; g/ i# N
  385. ; max_input_vars = 1000% N2 @" v* N+ U8 t% l
  386. 6 M5 t2 h9 ~: h  z* J
  387. ; Maximum amount of memory a script may consume (128MB)
    0 o- b- j% h3 U' S% z  J
  388. ; http://php.net/memory-limit
    8 b6 [3 Y1 {2 Y0 Q
  389. memory_limit = 128M8 u8 ^' i  K0 `5 N7 P& ]
  390. ' @, L8 x; |6 J5 Y$ I
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 Q* `0 ^# d" s- Q
  392. ; Error handling and logging ;
    ! s  w: O4 s; e' Y& q4 O
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 G2 L8 M8 h' V6 V/ O

  394. . B* t: g4 w! n. ]' {5 w
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 }" a. R+ R( H; Z9 N4 @
  396. ; it to take action for. The recommended way of setting values for this
    % h% M" Y/ I  \8 s4 j
  397. ; directive is through the use of the error level constants and bitwise* ^+ p% h4 Y% R/ @9 X& j
  398. ; operators. The error level constants are below here for convenience as well as
    : J/ f' z( W  o/ w7 i( N
  399. ; some common settings and their meanings.
    ' B! K3 G2 \; X' G
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    5 C- \3 h4 X7 f, T% [4 A
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . ~( x/ H' |4 _% e9 A. u
  402. ; recommended coding standards in PHP. For performance reasons, this is the. e7 [9 {' K3 v' U0 e
  403. ; recommend error reporting setting. Your production server shouldn't be wasting. {  E* }4 U! {
  404. ; resources complaining about best practices and coding standards. That's what
    5 M" q- ]& X9 w8 s
  405. ; development servers and development settings are for.
    - I7 Z" A8 m9 D! z1 A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This- l4 l2 M- n  L$ I3 v8 e! |: _
  407. ; means it pretty much reports everything which is exactly what you want during
    1 h& v- S8 R$ h
  408. ; development and early testing.: D) W  C8 p2 b2 i4 x8 a$ \
  409. ;5 h7 P# j* O$ r* f* o3 N( @3 H3 F
  410. ; Error Level Constants:7 k# D  F% x7 d9 R; T4 j) y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)0 F& V7 G" P! [) y3 A3 D8 @" c# E
  412. ; E_ERROR           - fatal run-time errors
    : z( Y* X9 d$ F# F2 [
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : i' t, t) A% c8 U" K. [. [$ U9 w
  414. ; E_WARNING         - run-time warnings (non-fatal errors)9 B" g8 y. H$ Z
  415. ; E_PARSE           - compile-time parse errors
    4 A1 w6 b  z6 T: f9 b8 X+ p
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) r+ u" ], [! J9 M
  417. ;                     from a bug in your code, but it's possible that it was
    0 [% X6 i4 V7 }
  418. ;                     intentional (e.g., using an uninitialized variable and( d# W' A4 f$ v' q
  419. ;                     relying on the fact it is automatically initialized to an
    / }, O3 e% G- |* m% U
  420. ;                     empty string)
    ; i" ?/ K' X$ }) E1 H9 e* y1 o
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; n: k) b" u0 X9 o) b
  422. ;                     to your code which will ensure the best interoperability* Y: {! N5 ], l2 R
  423. ;                     and forward compatibility of your code
    8 M! p* U8 [: N$ a; n, ~, z( n
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 ]! ~) ~1 c, V6 o4 H3 ~9 W3 m
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 ?0 _  q( ?8 I$ d) D8 M
  426. ;                     initial startup
    $ Q# V8 [, h9 V; ?$ w4 `( H
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : t( V# V1 W3 R' u
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)) `8 u* r5 T8 V
  429. ; E_USER_ERROR      - user-generated error message
    ! D0 w8 M9 _+ w6 \
  430. ; E_USER_WARNING    - user-generated warning message
    ( ?: F" f; @( z$ _2 E
  431. ; E_USER_NOTICE     - user-generated notice message
    ) R9 D- I$ O5 I, X( b/ K. N
  432. ; E_DEPRECATED      - warn about code that will not work in future versions& g" g5 u* a- m9 h  }1 E  S8 q
  433. ;                     of PHP
    " ^1 A: X8 R: h5 @& n" F, a
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings" K" H$ e  J7 `' h0 L6 j) K+ n/ b
  435. ;
    ( _. x3 i- l& }- T. b3 d  v
  436. ; Common Values:% V" C1 H! z: k/ R, R
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 A/ K1 X4 M) P& l# S8 Z
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)0 Q- j8 K$ w2 h% k( ^
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 x; J3 e- N! G
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % K8 P2 @/ }9 ~) [$ r
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 z' G* q7 j6 b1 g. |0 U$ y- {2 r
  442. ; Development Value: E_ALL
    % e5 w  l  ]; w0 O5 s
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ u6 w; t2 v8 i; N7 T
  444. ; http://php.net/error-reporting+ m8 x/ V7 v7 |: e
  445. error_reporting = E_ALL & ~E_NOTICE( j9 O% a, x9 T+ t  u2 S: P! g' e

  446. 7 Y" G/ E. P+ e  q+ w1 J
  447. ; This directive controls whether or not and where PHP will output errors,
    * b+ A9 Z" P! \0 f
  448. ; notices and warnings too. Error output is very useful during development, but# ]* j+ k1 D  g7 A" x2 M
  449. ; it could be very dangerous in production environments. Depending on the code; H9 T& l) J1 ?- {9 r0 Y: d
  450. ; which is triggering the error, sensitive information could potentially leak
      \4 A( \9 w. {0 I! F  l
  451. ; out of your application such as database usernames and passwords or worse.5 x0 h' P/ a2 B2 J
  452. ; For production environments, we recommend logging errors rather than
    3 \, \2 n* ]0 A1 i
  453. ; sending them to STDOUT., V& n% e: y, U' K1 C4 N
  454. ; Possible Values:
    ) x  E: {7 F) u5 r+ T. H: b- D( J
  455. ;   Off = Do not display any errors2 w% l# c) b$ x) C  K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 I( v+ N! F% @3 g
  457. ;   On or stdout = Display errors to STDOUT
    - S6 \* O0 y1 c" R
  458. ; Default Value: On
    : A& P$ q$ t  W7 P
  459. ; Development Value: On
    * Z) N; E2 C% N5 Q
  460. ; Production Value: Off* Q8 s$ i1 S. I8 z# J
  461. ; http://php.net/display-errors
    : {, P. W9 y/ b5 C' ]9 H
  462. display_errors = On* y% \& o: b/ `2 V
  463. 3 W% |7 a- _0 E5 F/ \1 f) |% w
  464. ; The display of errors which occur during PHP's startup sequence are handled* U4 q$ _! V1 F# q
  465. ; separately from display_errors. PHP's default behavior is to suppress those; U' Z3 l  U6 z% g5 C
  466. ; errors from clients. Turning the display of startup errors on can be useful in# j0 J5 w1 L4 C1 r% n, S" J
  467. ; debugging configuration problems. We strongly recommend you
    ' k: @3 E' M1 i
  468. ; set this to 'off' for production servers.# s+ A3 [8 [3 _4 ~
  469. ; Default Value: Off
    - @/ j5 Y+ \) A2 G/ G
  470. ; Development Value: On
    $ H9 I; w) C, j: n+ w- d& F
  471. ; Production Value: Off" v" V1 U; ^) J# S' Z
  472. ; http://php.net/display-startup-errors
    " w7 {: g5 ?- g/ ]
  473. display_startup_errors = Off
    ! D7 B: q# H& L4 \$ U

  474. ( [, ^% v# _  W* C. `
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    & v: M2 ~7 J' D) A
  476. ; server-specific log, STDERR, or a location specified by the error_log4 v% g$ D: O( W- S
  477. ; directive found below. While errors should not be displayed on productions
    & Q2 [$ ]* }8 h, P3 ]+ c% w* p
  478. ; servers they should still be monitored and logging is a great way to do that.
    - R! ~8 M9 ^' t- v6 R4 s8 n
  479. ; Default Value: Off
    - r" S, X6 o& }
  480. ; Development Value: On
    7 v' x1 h% d/ k# ]6 `
  481. ; Production Value: On7 e& O9 n: a" t" W
  482. ; http://php.net/log-errors, r# S% ?% H1 M" T; T0 r
  483. log_errors = On
    , g% ]* P6 `) S

  484. ; @' d- ^$ }. }* i
  485. ; Set maximum length of log_errors. In error_log information about the source is
      c, c+ e+ e0 f/ e
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / y0 ?4 ~) f; x$ m+ G  j7 M
  487. ; http://php.net/log-errors-max-len
    $ v- |5 U2 K0 `+ O7 h
  488. log_errors_max_len = 1024. C; T( U$ v7 a1 E% y' n' m7 l

  489. 2 n! \4 {  x1 p) u' i0 p
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . i  u( ]; S: o- ]( z6 i# G
  491. ; line unless ignore_repeated_source is set true.
    ! ?9 b- {6 M4 i2 M! O) m+ J5 n
  492. ; http://php.net/ignore-repeated-errors2 C* L5 G, q3 D/ }
  493. ignore_repeated_errors = Off2 |  ^4 l1 I" z# f

  494. $ m0 ^' p3 w; ], q. u1 M. o
  495. ; Ignore source of message when ignoring repeated messages. When this setting6 i# Z, c& b$ n. f3 `2 I
  496. ; is On you will not log errors with repeated messages from different files or' p) C! D) D. ~( C
  497. ; source lines.$ I- W% ?* g4 o& X( X1 k- M
  498. ; http://php.net/ignore-repeated-source& u" h$ r3 |& e8 O
  499. ignore_repeated_source = Off  E; E/ [, _: J

  500. 5 g) E4 ^( k. c: c: k
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 s1 A' k- o- ?
  502. ; stdout or in the log). This has only effect in a debug compile, and if8 V% W, i4 O+ l" m. K
  503. ; error reporting includes E_WARNING in the allowed list0 c  j3 P/ V; ^6 X! w' s; ^
  504. ; http://php.net/report-memleaks2 c/ q0 E, C9 M( ~
  505. report_memleaks = On; C0 l3 Z* U. Z( S" j( |) t1 ]4 T

  506. " w: I3 `+ @( u+ _
  507. ; This setting is on by default.; |8 \# l/ p- y9 Y8 C6 B
  508. ;report_zend_debug = 0" }) C6 E) E/ p4 o1 k7 B4 N

  509. ( B% @5 A4 e# J, i
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% U3 j' \4 R$ c& e
  511. ; to On can assist in debugging and is appropriate for development servers. It should' T/ o( v+ d2 H( ?8 @% ]
  512. ; however be disabled on production servers.
    % y2 q) {4 Y) B
  513. ; Default Value: Off
    ; n) A8 K8 Y) J% C' ?* T9 W
  514. ; Development Value: On
    5 `, I' Z4 C  r9 G' J, m( e
  515. ; Production Value: Off8 v* y' w8 u# Q1 Z, i
  516. ; http://php.net/track-errors- a! T: {2 L0 X% L0 G- |+ \; t
  517. track_errors = Off
    ! P( w* {# F9 |5 n" x

  518. 9 B8 T% w  e% Y8 A; n' b
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 {. `+ A" K& V( \2 E! {
  520. ; http://php.net/xmlrpc-errors
    7 \( u3 H  q* O; s4 w1 Q1 s
  521. ;xmlrpc_errors = 0  h3 d$ b: H, }* X7 L

  522. 9 \* d9 p5 V1 l: {
  523. ; An XML-RPC faultCode/ ~$ }1 Z. c7 @" V9 T
  524. ;xmlrpc_error_number = 0! Y- T( k5 X3 ^
  525. 2 }6 O) l, F# ?! ^9 j5 U; T
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    , M* b; `$ N- G4 n1 {2 i1 k
  527. ; error message as HTML for easier reading. This directive controls whether
    : O, e# g0 f( c0 _* M. j! C
  528. ; the error message is formatted as HTML or not.
    - d+ I# R. }9 s
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* v; w& a  j! Q! @  k2 ?5 L
  530. ; Default Value: On, k7 I/ F  O) f
  531. ; Development Value: On
    ) _' G/ N) ^3 M0 K0 ^; c& f
  532. ; Production value: On
    + [5 t1 R/ n' P% \! a# c( J
  533. ; http://php.net/html-errors5 ?6 w! m5 [- ?% \0 C6 {: }' m+ L. X' f
  534. html_errors = On; T+ G2 N( F# X9 w& K3 Y
  535. ) g4 u0 e4 d" D! R; _7 N# e& w" G. K& H
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 B" X: O* F6 H
  537. ; produces clickable error messages that direct to a page describing the error! s/ j% b' Z- R
  538. ; or function causing the error in detail.
    $ Y2 a, j0 x7 @% F, W1 d
  539. ; You can download a copy of the PHP manual from http://php.net/docs: J( {1 g% S" @9 N
  540. ; and change docref_root to the base URL of your local copy including the
    9 q( x! |& @% j' z
  541. ; leading '/'. You must also specify the file extension being used including
    " h9 S: E9 O0 f) E
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' e* x6 ^( X- {. j$ b
  543. ; case no links to documentation are generated." ~1 Z9 ?: u5 K( y$ D' @8 t( W
  544. ; Note: Never use this feature for production boxes.
    . B9 Q5 O' s  h
  545. ; http://php.net/docref-root  v0 a6 y& J. C( c
  546. ; Examples
    ; L# B6 p+ o1 x1 m) D8 {' [/ R
  547. ;docref_root = "/phpmanual/"; `! d- @7 o2 h% [

  548. ; V3 P7 Z6 u9 N4 H. p$ |
  549. ; http://php.net/docref-ext7 K% p, d; G: ~- C& v
  550. ;docref_ext = .html- x: T1 }' _3 K. [  {9 M  R1 X

  551. % S2 o/ H7 o  V3 o6 w* c! V, |& Y
  552. ; String to output before an error message. PHP's default behavior is to leave
    & J  B: s) E* m1 J
  553. ; this setting blank.
    ' K! i1 N2 e) h: e' v: z
  554. ; http://php.net/error-prepend-string
    , ]9 d) J' n+ [* W
  555. ; Example:1 i1 b+ G( d; {" L4 {7 G
  556. ;error_prepend_string = "<span style='color: #ff0000'>"* W, F1 M; \; D

  557. ) T% k4 G% Q7 q
  558. ; String to output after an error message. PHP's default behavior is to leave2 v# {8 z' B: x8 I: M* C
  559. ; this setting blank.
    9 P5 c. N& K- |6 q4 T
  560. ; http://php.net/error-append-string
    , d. R# Y  W1 L, r+ P
  561. ; Example:
      ]! D& V, {7 o6 S
  562. ;error_append_string = "</span>"
    ' U2 C* e5 T9 [9 a" i! p

  563. ; C. Y8 R8 K3 g' h5 y
  564. ; Log errors to specified file. PHP's default behavior is to leave this value2 M- f" j. `. J2 F, [! i: M' Q3 _
  565. ; empty.; o7 D  a) e' K, V7 E8 B7 a
  566. ; http://php.net/error-log/ ^; ~$ \: O' V# `9 C# M
  567. ; Example:: Y% B' m. b3 v. Z; O' L
  568. ;error_log = php_errors.log
    ) \. r  ]1 }7 ]7 t- Z
  569. ; Log errors to syslog (Event Log on Windows).% }5 \0 Y5 u( `
  570. ;error_log = syslog
    $ ]! z  D# R5 f& Z6 u. Q/ q
  571. & `% r  r4 J3 q0 k* b3 K
  572. ;windows.show_crt_warning
    ) q, b( S) H( e9 m5 {
  573. ; Default value: 0
    1 H; [; T; {! W3 i4 t( m
  574. ; Development value: 08 C; [9 a$ ~" [$ f4 p
  575. ; Production value: 0
    6 \/ V% G: T+ |! W) o

  576. 4 D1 K1 x( t0 ]% `, z; K" @3 Q
  577. ;;;;;;;;;;;;;;;;;& I2 A; u1 K- ^, O3 s! p& w
  578. ; Data Handling ;
    ; {1 _" W$ z2 l" h
  579. ;;;;;;;;;;;;;;;;;1 ^% q" H/ u! P( L. K; ^; _

  580. ) y: t4 k( ?/ ^6 z) W
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! L" n) R7 |: d" c! l/ ]! t
  582. ; PHP's default setting is "&".0 [! X8 g5 u7 ?, @; r8 i( K! ^
  583. ; http://php.net/arg-separator.output+ W4 d6 _( M5 b
  584. ; Example:
    ! V( E) v* D; Y! j3 X* I
  585. ;arg_separator.output = "&"/ @4 {. Q! I5 f5 I% v0 m0 D3 ^
  586. # P7 Q7 k- h2 L' d, w
  587. ; List of separator(s) used by PHP to parse input URLs into variables.. \( m" Z: d3 p- O) @) h
  588. ; PHP's default setting is "&".
    5 i% m$ H% Q, _+ B
  589. ; NOTE: Every character in this directive is considered as separator!' V0 k- w; E' x3 g4 m# l
  590. ; http://php.net/arg-separator.input+ }0 c- m  m# C% O3 d! v
  591. ; Example:
    & ^! u" W/ x: F- ?1 Z
  592. ;arg_separator.input = ";&"
    9 |$ W" s. E6 R7 ~
  593. / A! k; z; \% H5 i3 X
  594. ; This directive determines which super global arrays are registered when PHP6 w9 v% Q0 T5 T! J3 q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & n( S) x+ G! D, P& h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty2 w5 f* `9 o5 Y  B8 M: f6 G. _
  597. ; paid for the registration of these arrays and because ENV is not as commonly$ U1 ~( K' [: l* }' d: O5 W
  598. ; used as the others, ENV is not recommended on productions servers. You9 i$ z, N  L( G6 ?4 d
  599. ; can still get access to the environment variables through getenv() should you
    , ]+ W/ v3 ^# j; r  l
  600. ; need to.; l$ m2 d/ ]6 C$ b
  601. ; Default Value: "EGPCS"% G9 ^5 [8 r- P
  602. ; Development Value: "GPCS"& H" N, d: b- Q
  603. ; Production Value: "GPCS";( i8 `* N/ m. p& f  }3 M! B
  604. ; http://php.net/variables-order
    * ], Y/ Y* H9 K& Q
  605. variables_order = "GPCS") v3 K; x! Y3 Y' s/ \  p1 ?

  606. 0 L3 P; o1 `' @) z" T  u  t* B) K
  607. ; This directive determines which super global data (G,P & C) should be
    , P& ?/ l  v% E; A
  608. ; registered into the super global array REQUEST. If so, it also determines, {; {' h9 V1 Y4 M; s8 B# \& _
  609. ; the order in which that data is registered. The values for this directive
    7 F. T! t& d" w7 `
  610. ; are specified in the same manner as the variables_order directive," R, L+ W* z- Y) Q$ ?0 e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 q# T7 M# A  Z/ E- g. B% e
  612. ; in the variables_order directive. It does not mean it will leave the super
    ' j% X9 b6 E. T% @7 l
  613. ; globals array REQUEST empty.6 V# A7 @; D  b& \
  614. ; Default Value: None/ O4 V: s9 E6 L( f9 O3 X- @$ P
  615. ; Development Value: "GP"
    & g0 D; g: L% H
  616. ; Production Value: "GP"# G; c; y. T$ V* Y  t' J5 y% {) z" B
  617. ; http://php.net/request-order
    & ^4 s- B% o: S
  618. request_order = "GP"
    # S- t5 R+ S$ S" [; o' z. G" A

  619.   H7 I* p3 `5 s) [0 q8 `0 j  U+ \9 l3 [
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    1 G& r( D6 S0 e3 T0 c6 F
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , a+ H  _6 T9 {. r) F8 P
  622. ; is invoked. $argc contains an integer representing the number of arguments# ~9 I* d9 |: I3 a% Q4 w
  623. ; that were passed when the script was invoked. These arrays are extremely4 i7 a. u0 J6 A% [& d
  624. ; useful when running scripts from the command line. When this directive is
    $ J. M5 H1 R$ w; F/ R$ h0 k' Y* a4 h( U9 G
  625. ; enabled, registering these variables consumes CPU cycles and memory each time" P  @& ?- J6 M; R5 T1 j) H
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ) |1 B: B+ `" @: U
  627. ; on production servers.
    ' o/ P0 C6 f: g. W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 y/ m$ H& r9 y, A# M/ i
  629. ; Default Value: On7 n2 Z. X6 F5 o" l* ]/ ~7 e: x) P" s
  630. ; Development Value: Off
    $ Q) ^* @! {* f2 Z
  631. ; Production Value: Off5 a* B+ C# d6 v
  632. ; http://php.net/register-argc-argv& I! u& ~5 e" E6 b* g
  633. register_argc_argv = Off
    3 ?) ?6 }- W% R
  634. % ~2 y6 y9 t, x! I; b/ {
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 m9 o% a/ I  V
  636. ; first used (Just In Time) instead of when the script starts. If these
    5 V5 d, B0 Q5 i$ d* U6 |5 W
  637. ; variables are not used within a script, having this directive on will result; P; `& m7 l/ E% X7 t6 z! q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % m9 x7 B+ ?/ r
  639. ; for this directive to have any affect.; t. ^+ r) V5 e3 c5 @0 ~% W+ K
  640. ; http://php.net/auto-globals-jit
    ; t3 K; F: ^* W
  641. auto_globals_jit = On3 X0 ?! ~9 i9 A4 J$ Q3 C  r

  642. # a* ^" w* M8 c5 c7 j5 o
  643. ; Whether PHP will read the POST data.6 z* j1 I. `! F  l7 G* H6 @
  644. ; This option is enabled by default.8 O- n- N/ O1 v  W0 N6 r! N
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 g: B5 l' B! d, e) v: u- K
  646. ; and $_FILES to always be empty; the only way you will be able to read the) E7 Y  s- i% G2 \. T; J0 R5 U
  647. ; POST data will be through the php://input stream wrapper. This can be useful' H) K" B$ E, M6 a+ j6 r& [9 K+ h
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    & q8 N/ ~1 G* T" S% ^  S1 r6 e5 q
  649. ; http://php.net/enable-post-data-reading
    ) `, E6 q6 c) H6 l# a3 j7 b
  650. ;enable_post_data_reading = Off
    $ X$ a2 B4 f7 Z; x( b
  651. ; g, `7 s! `8 i# a9 q
  652. ; Maximum size of POST data that PHP will accept.
      E$ X* z. z9 b4 b% T9 g# i3 o
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 j2 }9 ^! s3 c% F3 x
  654. ; is disabled through enable_post_data_reading.1 l! T' J6 x9 \  c! U
  655. ; http://php.net/post-max-size
    ) x+ y+ I2 g6 N& i- J
  656. post_max_size = 50M5 K  g1 `, a" ]4 z8 {
  657. / M# _2 E7 L  @6 L2 x# t! a. P& d
  658. ; Automatically add files before PHP document.
    ( C1 j8 k; i7 W1 D& Z
  659. ; http://php.net/auto-prepend-file
    ( _, P3 W+ G6 I3 o- d7 w2 r3 ^
  660. auto_prepend_file =6 o3 m/ j; k3 V+ p/ Y( k

  661. + v  N8 Q: c) R
  662. ; Automatically add files after PHP document.6 }6 q+ r1 ]$ p. h
  663. ; http://php.net/auto-append-file* E, ~& |5 r  A
  664. auto_append_file =
    % e& C3 B+ I6 |5 j+ H  o

  665. 6 a: {  ~6 J! d, H( ~+ V& F
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ' S5 b& \, y2 s
  667. ; disable this, simply set it to be empty./ ]* M3 b0 f# v9 v1 _$ }* Q
  668. ;
    8 B# D! c* \4 h( Z
  669. ; PHP's built-in default media type is set to text/html.
    & M/ h+ w9 w/ I9 r& |2 b( Q
  670. ; http://php.net/default-mimetype
    , a( _% q; K$ `+ Q4 k7 k& p* G
  671. default_mimetype = "text/html"
    2 n# Z% |* M. o- ?" O1 p  J
  672. % q, R6 W1 q( _9 C
  673. ; PHP's default character set is set to UTF-8.
    * }" z  b! h7 c# v* G% K, g# \
  674. ; http://php.net/default-charset  p; X% d( t0 H" }8 ?. E  x
  675. default_charset = "UTF-8"
    / r+ p8 [  w. c

  676. " g+ l- w3 h. B- p9 J
  677. ; PHP internal character encoding is set to empty., D- P  a8 G0 z, R
  678. ; If empty, default_charset is used.
    . I& E5 D  s7 z3 g, C( w
  679. ; http://php.net/internal-encoding7 u; Z7 P+ v& x
  680. ;internal_encoding =
    $ A+ e8 z, a. T5 Z& X  a" W* f. r( W

  681. 7 H9 b3 K: k/ I
  682. ; PHP input character encoding is set to empty.
    # _+ W+ l# o+ i5 J3 I( O
  683. ; If empty, default_charset is used.
    # f0 G9 u, @. Z% M
  684. ; http://php.net/input-encoding
    . o) q. M# a: |3 s
  685. ;input_encoding =
    0 `) s6 f% P- |0 \; Z

  686. - T5 h- @0 x* A. L% C
  687. ; PHP output character encoding is set to empty.
    # C. |) a% }7 T# u' n; M% {% s
  688. ; If empty, default_charset is used.
    " _7 x7 V) a" f' G/ O2 F7 u# n
  689. ; See also output_buffer.
    $ m* y- Q: W7 \5 j  L
  690. ; http://php.net/output-encoding  E; T7 t8 F: d! I5 I; n
  691. ;output_encoding =
    ( x; T, f6 i1 p% Y
  692. 0 m9 N$ ^! E. l' O* z+ d. ^) S
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;  L3 l2 N8 {" T3 c8 v1 E
  694. ; Paths and Directories ;+ w# m5 w: ~6 Z) B; N
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;: j# Q' q8 n7 ~
  696. 7 _% \$ _5 |2 i
  697. ; UNIX: "/path1:/path2"& i! @" T6 g# j; w4 H
  698. ;include_path = ".:/php/includes"4 U3 S; Z* i+ A" H& y
  699. ;
    5 I1 }, O6 d' V* l# _, c
  700. ; Windows: "\path1;\path2"
    : z/ j) G4 g& j( u2 A) i
  701. ;include_path = ".;c:\php\includes"
    ) U, S, k# n, D6 y& r/ L* B; p
  702. ;
    . V8 m% ?2 x& G0 O" g
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"& d; `& u) i; k# @4 y: j' c
  704. ; http://php.net/include-path
    # L, E5 F1 U1 Q7 A3 W: a

  705. 5 B3 F+ \2 }4 @; r8 P
  706. ; The root of the PHP pages, used only if nonempty.( a0 t1 R  I' [: k/ K
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 p' b& F' t  i0 G! ]$ W. b
  708. ; if you are running php as a CGI under any web server (other than IIS)3 I* z* N, s% d9 f9 @# {
  709. ; see documentation for security issues.  The alternate is to use the
    . j8 G) L  r$ {$ J" x( N
  710. ; cgi.force_redirect configuration below2 `- _7 S7 N1 d8 v! L/ V; j! q; Q
  711. ; http://php.net/doc-root
    8 I* S% c* @1 K+ S% }
  712. doc_root =# l9 I9 `' @" k& C7 h+ K
  713. * z4 i$ Z0 T2 t0 z, d
  714. ; The directory under which PHP opens the script using /~username used only
    * d. K9 P, F/ y
  715. ; if nonempty.: E3 H" C$ P2 e( |) Q' I9 L
  716. ; http://php.net/user-dir
    / W, z4 l' R+ W+ Z* P* z7 q
  717. user_dir =
    % I' L& {. r: p" h5 s. E) a  M) j# n6 n

  718. 6 A8 Q8 ?) ~3 b# s! d; t
  719. ; Directory in which the loadable extensions (modules) reside.3 K# l" |+ |8 j) y/ f
  720. ; http://php.net/extension-dir0 d- Y8 o7 q+ L7 j8 w
  721. ; extension_dir = "./"2 E1 T/ ?9 w) J2 `
  722. ; On windows:
    9 D+ j' ?" t1 y# {
  723. ; extension_dir = "ext"' g) `. _0 s4 g
  724. + d) h5 g3 c1 J7 I$ p
  725. ; Directory where the temporary files should be placed.. n6 G. E  u$ R0 |: o
  726. ; Defaults to the system default (see sys_get_temp_dir)8 w4 [; n. `7 z' E, k
  727. ; sys_temp_dir = "/tmp"+ F* \8 a" ~. o! s( A
  728. * B1 [/ E9 B$ h# t! }9 |
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      ^9 O; X( S) n% T5 }! Y# v* _' s% z
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 x$ D$ e- ?7 D, ]; X; x
  731. ; disabled on them.
    " O& w0 X( \+ T8 s% ?' s) L; K
  732. ; http://php.net/enable-dl$ h5 r7 X2 F* q. l! D0 m
  733. enable_dl = Off' B- \: _, q6 p+ w$ [  o
  734. ' d- p! X$ ?2 V* X  H9 D
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under: _: h# I9 A/ F! B; o( M
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 z# Z  Q6 r; [: ?& C, C5 r
  737. ; turn it off here AT YOUR OWN RISK  ^' ~7 H( C; Y/ y8 u
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    / P! Y3 S& z/ F. x) G. z7 |5 H; E
  739. ; http://php.net/cgi.force-redirect
    0 e6 \& Z6 D" ~7 Q6 P2 D
  740. ;cgi.force_redirect = 12 W1 N8 o; k2 |9 x! Y, n# O! _( _
  741. 1 Y9 i; L, J9 A# p1 q& R
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with" c' x8 [5 @$ k. a$ Y  \
  743. ; every request. PHP's default behavior is to disable this feature.
    1 Z! G0 ?/ S$ G' ~
  744. ;cgi.nph = 1
    9 x% O9 j2 v( B( n

  745. + Z- W! r, `5 j4 P4 s) x+ |
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    - e, a5 P, N) u4 C8 w% T& \
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ b- R( U' _) H; |8 T
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 Y: P( V* n) G3 }
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      @, O: D5 O; ?6 k$ h
  750. ; http://php.net/cgi.redirect-status-env
    9 h+ J6 T$ j4 E7 I1 t6 {
  751. ;cgi.redirect_status_env =
    1 s+ U. T1 _  J0 E

  752. ( q0 r3 k& @  C
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" x: e$ l7 W, P# N/ B* ?
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok6 H: |. w) o- }( B
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    - [1 s) _5 p0 n2 U  y5 \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting5 H, J3 l' v5 X' f4 j4 ]
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % E2 p4 Q) g0 g
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 ]1 _5 j) q  N& o
  759. ; http://php.net/cgi.fix-pathinfo
    * u' n+ ^* @6 A! u0 `7 w3 z
  760. cgi.fix_pathinfo=1
    ( \. W1 ~% G& b7 R1 I: x  Y
  761. , y5 M+ j8 u: V' ~) I9 Z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; k( [) T) g1 m2 V1 H
  763. ; of the web tree and people will not be able to circumvent .htaccess security.6 w* w( t1 g' R: K0 d4 n. v
  764. ; http://php.net/cgi.dicard-path. ^& _, X( t& Q" F( k
  765. ;cgi.discard_path=18 C- ]+ c( h& l
  766. - ?0 S& V; M+ K2 \& i( t/ Q
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # S1 Q5 O0 ]3 L( s! w# f6 o
  768. ; security tokens of the calling client.  This allows IIS to define the  }$ w" G4 P+ h2 h3 H) A
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    + B5 |7 `; p; W. _# S
  770. ; does not currently support this feature (03/17/2002)
    3 ^3 }6 E+ `: i% e# Q/ [
  771. ; Set to 1 if running under IIS.  Default is zero.
    " J7 [, M$ X( S& I
  772. ; http://php.net/fastcgi.impersonate: X- I2 M* I6 O) O& B8 P* m
  773. ;fastcgi.impersonate = 1
    - F, }4 e/ y1 L8 d

  774. : F3 ]* L3 M8 A8 ?3 J; U% K
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable2 x# r& J; ?! Q6 @
  776. ; this feature.
    4 G/ r) }9 [6 x& w7 V
  777. ;fastcgi.logging = 0
    5 q1 Z6 x' y2 T$ I4 V: \

  778. # S- _) Z+ s8 J" y- P
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    $ \2 {4 y4 u) ?6 M
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, o8 I1 c9 L( R! y  ]
  781. ; is supported by Apache. When this option is set to 1, PHP will send6 J% ]2 n" u) P1 M( w
  782. ; RFC2616 compliant header.
    2 T5 J5 y$ q, Z
  783. ; Default is zero.
    ; G% b' Z! w& b1 X5 L% T
  784. ; http://php.net/cgi.rfc2616-headers
    2 O$ g) Q0 |/ W, b, y, p4 E( B
  785. ;cgi.rfc2616_headers = 0% \0 N( n3 n  }
  786. 4 s3 }% b, u, x) F- d
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: E, c0 \, h/ H7 |+ G' r+ z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    # L/ e( o  F4 `9 N
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    + t$ t* w/ T7 E2 {" q7 q6 U( }4 g  J
  790. ; mode skips this line and ignores its content if this directive is turned on., G  L& B  |9 \6 y' q
  791. ; http://php.net/cgi.check-shebang-line
    0 {8 f3 z7 r2 v& N- P* B8 k3 x
  792. ;cgi.check_shebang_line=1
    / y, m/ H0 ?# [5 H* U9 d4 K

  793. ! U  Z+ U4 q4 w# z1 }
  794. ;;;;;;;;;;;;;;;;
    3 d6 S$ R( s( s
  795. ; File Uploads ;
    8 B& {. @% b+ ?/ t" Q. `& K
  796. ;;;;;;;;;;;;;;;;9 j9 E6 T( o0 R# U1 T4 g

  797. & r7 C" Y; R) T9 W% }1 b
  798. ; Whether to allow HTTP file uploads.
    7 X  ^) u9 X% F( A- D& b2 r7 M
  799. ; http://php.net/file-uploads
    ) m3 e% t7 N; D2 t3 y
  800. file_uploads = On
    0 f$ K( Z" e8 J) y& _, d# `4 T0 _2 R
  801. 1 c; Y* i2 P* ]2 ]4 }5 P8 H5 F
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    & |, ?4 z0 H- g, X8 F9 I/ i- N" l' z
  803. ; specified).
    . P5 Z/ l' G7 C) _8 Q
  804. ; http://php.net/upload-tmp-dir
    / j- b7 p% r1 Y- S  K. [
  805. ;upload_tmp_dir =# |. L' f% R: \$ F, K
  806. - `  p# L1 _$ J9 ?0 I
  807. ; Maximum allowed size for uploaded files.$ K! W# F5 B6 b0 j8 u; I
  808. ; http://php.net/upload-max-filesize' l5 u3 x: `; ]
  809. upload_max_filesize = 50M- ?! x% g$ o) q. f

  810. / F: \5 J" x- K. A
  811. ; Maximum number of files that can be uploaded via a single request
    + \  p" O$ t$ V+ j% H2 e( e2 C  h
  812. max_file_uploads = 20
    ! _$ O' T  o9 K
  813. 2 D5 D' o' W1 T4 f2 P0 L
  814. ;;;;;;;;;;;;;;;;;;" y+ I! b- D: d1 l+ F
  815. ; Fopen wrappers ;: r' p2 c" n; @  F: q1 ^
  816. ;;;;;;;;;;;;;;;;;;- y( q( ?0 K1 O2 V5 C! {* w8 Y2 J

  817. : m, j5 @" q& O/ o& I9 j- Y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : p/ ~# s) X( V
  819. ; http://php.net/allow-url-fopen
    * `0 l- r, n8 x4 |3 `% K9 L. L4 t
  820. allow_url_fopen = On; q. V1 h! r+ T% l

  821. : k: h$ w( w$ \% @  A0 M* f. y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ) c( a& ^9 l( E* H
  823. ; http://php.net/allow-url-include6 W5 K; h% X+ C+ p$ C* n
  824. allow_url_include = Off
    9 E8 L3 C. J7 F9 w$ l
  825. # J5 h9 |% s! W
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    " C" h" @3 j/ ]5 v+ |3 W
  827. ; for this is empty." \: b, c, \. O. f
  828. ; http://php.net/from! P. x* s. g0 ~
  829. ;from="john@doe.com"
    4 `% F2 F- M! e3 H3 j0 o
  830. , r7 ^1 A, ?, q$ p$ a4 D8 t
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    2 @  c! z9 q/ [8 d
  832. ; http://php.net/user-agent
    5 h: {& C' r2 k+ C* s# P/ s
  833. ;user_agent="PHP"
    0 y" O0 S4 E! O' l! m- h2 B* w

  834. / v7 d2 o/ V: j; ?
  835. ; Default timeout for socket based streams (seconds)
    ( \! x4 @4 e0 T
  836. ; http://php.net/default-socket-timeout
    % I: U! o: K& J- x6 \
  837. default_socket_timeout = 60  w, q6 J( s9 j" P/ t5 r" ]
  838. " V$ U2 l; P. _7 e4 N- b3 y* U: t
  839. ; If your scripts have to deal with files from Macintosh systems,7 I' I/ ^" I2 `9 p9 F, d
  840. ; or you are running on a Mac and need to deal with files from) {% f- R) u0 E5 g! u7 s
  841. ; unix or win32 systems, setting this flag will cause PHP to- ^! x! c; o* C" t
  842. ; automatically detect the EOL character in those files so that. l4 ]4 Y3 f# ^0 ^; n7 z5 @
  843. ; fgets() and file() will work regardless of the source of the file.
    ' a3 g* \0 Q+ X# Z0 X
  844. ; http://php.net/auto-detect-line-endings
    ! `* w1 d! `" e5 }/ S
  845. ;auto_detect_line_endings = Off
      d, p/ s& L; o% M: Q, e( O
  846. 9 r3 g* `8 a9 i, v
  847. ;;;;;;;;;;;;;;;;;;;;;;+ B- v9 O4 M" w! C( X2 _4 l  A
  848. ; Dynamic Extensions ;
    ; [3 e' H: I- l
  849. ;;;;;;;;;;;;;;;;;;;;;;. Q( P  Y  k8 d8 Q$ j7 M6 P: n

  850. 5 H' m6 i7 @4 n; n( d6 r7 {8 @
  851. ; If you wish to have an extension loaded automatically, use the following+ M: z4 Z8 O& I4 G  _, O
  852. ; syntax:
    1 Q* n' B; a% d1 j) O# V
  853. ;( p. h. ^& a/ N& g9 r; ^
  854. ;   extension=modulename.extension% w$ d$ V0 t" {  n" x' Y2 {# O
  855. ;, P* g$ ?& Z% X$ f
  856. ; For example, on Windows:# Q* l) s0 A9 ]2 n1 H/ B# g
  857. ;
    3 Q" m0 h; G/ C0 N8 Q
  858. ;   extension=msql.dll
    $ l' E/ r1 h4 N- Q6 ^
  859. ;
    # b. g) W- A* b& Q% R' @
  860. ; ... or under UNIX:, ~" ~; A, W3 v- c  y0 y9 p3 O
  861. ;
    . O; u' A. ?$ I/ e- ?0 P6 N6 {
  862. ;   extension=msql.so5 @) z; T, f: @! ~* M5 E
  863. ;: o8 t" \# y2 w, ~3 H& N. R- P
  864. ; ... or with a path:8 j4 d3 s2 O; r4 o9 y3 _3 u
  865. ;2 ^5 @" Q% f& J! w/ {
  866. ;   extension=/path/to/extension/msql.so+ q. E" y* c8 l. ?
  867. ;9 K3 y9 u/ z" H4 b7 }# J3 G
  868. ; If you only provide the name of the extension, PHP will look for it in its2 L9 V8 W/ A" N+ G/ c' T: l7 d, K4 C
  869. ; default extension directory.$ K; J! Q. u  e6 d1 q& h
  870. ;) y0 m0 w3 J6 K# c$ Y
  871. ; Windows Extensions, n; ~/ a: T' x# X
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    . I, t+ G5 I" J$ r/ p3 k
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+). `) J7 }, J3 ~2 F. `
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).' P( a9 ]3 x. W- I" r
  875. ; Be sure to appropriately set the extension_dir directive.
    - @+ C: f6 C! \6 O# ^. k, w
  876. ;
    7 C$ p7 s& M' ~' p  @0 r8 J
  877. ;extension=php_bz2.dll& ]6 U  H$ ~* o
  878. ;extension=php_curl.dll8 J) f9 V6 O1 N; E, R
  879. ;extension=php_fileinfo.dll) z, s: s# _/ `6 X
  880. ;extension=php_ftp.dll) e5 V2 K, d( Z) V
  881. ;extension=php_gd2.dll6 h, O  v9 w) E* F9 r
  882. ;extension=php_gettext.dll
    0 r+ a  ]7 n4 j/ K! M
  883. ;extension=php_gmp.dll/ E) V% m2 m3 Y( w2 i
  884. ;extension=php_intl.dll
    2 s$ {) A# ]% ~
  885. ;extension=php_imap.dll
    # y! D# {3 Z7 @3 \4 n
  886. ;extension=php_interbase.dll
    2 f, o) u* s- U& H0 A3 F1 {
  887. ;extension=php_ldap.dll/ M) v4 s+ G% Q- a
  888. ;extension=php_mbstring.dll
    ) ]0 G. p* ]5 h6 |% n8 o5 q9 f& j
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 ^& x0 T  s' A  }
  890. ;extension=php_mysqli.dll( W3 I* e/ X5 o9 o9 g1 f' O  T
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & p: @, j% |, |- [& O; I5 _
  892. ;extension=php_openssl.dll
    9 M7 @, D5 H) `
  893. ;extension=php_pdo_firebird.dll8 c& a8 p; L& T3 w
  894. ;extension=php_pdo_mysql.dll
    8 r1 r2 V& L+ x' a! S( J
  895. ;extension=php_pdo_oci.dll
    6 Y, Z/ S% }4 w2 x" H
  896. ;extension=php_pdo_odbc.dll
    2 l+ o& L* i% s0 R2 ?5 }
  897. ;extension=php_pdo_pgsql.dll, y- b2 h$ m+ W
  898. ;extension=php_pdo_sqlite.dll
    ! |. W" N% O, |9 S4 O
  899. ;extension=php_pgsql.dll
    % D& w0 r/ n1 e( ]% D9 I* Z8 p
  900. ;extension=php_shmop.dll9 S# I0 B* Y+ [3 w' S7 z$ Y& w6 U
  901. 0 i- w$ @* o" N0 {/ O6 a. S
  902. ; The MIBS data available in the PHP distribution must be installed.+ {8 {, P2 H2 Z- O: p
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # G5 @5 h/ x1 p$ p- ^4 J
  904. ;extension=php_snmp.dll- i9 m9 s6 C" k6 g, m& B# |

  905. ; ]1 s- c% Z0 k: M' z
  906. ;extension=php_soap.dll! z$ N. `0 R) Z( D+ M) m6 n- I
  907. ;extension=php_sockets.dll+ X* O+ b5 ?, u' H; w4 K  y
  908. ;extension=php_sqlite3.dll
    * t  ]6 V, s. n
  909. ;extension=php_tidy.dll
    - [0 T* U# M- M% o
  910. ;extension=php_xmlrpc.dll
    0 t+ z( B2 ?" H! l- S& ^
  911. ;extension=php_xsl.dll0 T: y  [6 t1 v, H( [
  912. / f+ P3 I0 x' u; [9 M: c
  913. ;;;;;;;;;;;;;;;;;;;: U: J* u/ {" k
  914. ; Module Settings ;* h5 L* {% o  r
  915. ;;;;;;;;;;;;;;;;;;;
    6 n; X6 C/ q7 {! o

  916. 3 a, v, N9 }3 n6 S( z! c6 W
  917. [CLI Server]
    2 n1 A6 |* M3 A
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    $ s0 g$ ?# S' q
  919. cli_server.color = On
    6 w0 `! p# G( b0 A/ R: N7 n4 }4 d
  920. / v+ I& `0 l' H7 y0 }
  921. [Date]
    - j* |% L0 Y% V6 e
  922. ; Defines the default timezone used by the date functions4 f4 I  E# E- t2 ]5 @
  923. ; http://php.net/date.timezone$ `+ G( W1 V. \- Q$ I
  924. date.timezone = PRC; Q$ B5 W  ?6 y3 q

  925. # C! D. w0 F$ p2 s5 `$ o3 F$ b
  926. ; http://php.net/date.default-latitude
    1 J5 U6 f% M3 O/ n+ h* Y
  927. ;date.default_latitude = 31.7667! r5 C) m/ @$ D4 z( P6 I

  928. - U6 T' ^# |/ c
  929. ; http://php.net/date.default-longitude$ s1 }4 N( v# D! I) F" E9 a* r* E9 i
  930. ;date.default_longitude = 35.2333" T4 r" h( o5 a: j
  931. 5 y6 f+ H8 p6 G# I
  932. ; http://php.net/date.sunrise-zenith
    , n. l$ c2 s  A1 T
  933. ;date.sunrise_zenith = 90.5833339 l5 L1 a/ C& g& N# s
  934.   h# L5 h0 E+ g* I
  935. ; http://php.net/date.sunset-zenith( ?/ L' }1 R& d2 v0 ~% s
  936. ;date.sunset_zenith = 90.5833338 ^: w0 {+ v, R: z" _, Z

  937. 8 J6 t7 G+ ?0 M8 ]+ p3 r' w
  938. [filter]7 S3 g7 n7 X" o, _2 e7 V
  939. ; http://php.net/filter.default
    . g4 a% C6 \, k* a" r6 q6 L( p
  940. ;filter.default = unsafe_raw* }$ K, U+ q6 j
  941. 2 }* R' g# m3 M1 W8 y# K+ V  J
  942. ; http://php.net/filter.default-flags
    $ H; F7 d2 v7 f5 ]/ p- A
  943. ;filter.default_flags =
    2 V7 ~3 o7 ]+ X2 v  g# {6 D
  944. 8 P! G( B5 }9 Y  e0 b* |
  945. [iconv]6 l- e5 f4 p# J/ G, l5 A% L/ r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.5 z0 L8 b9 {+ s2 i! p+ R9 _
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # U  B) j6 b, [' w
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 X' A7 Q. @( q7 h/ _  E
  949. ;iconv.input_encoding =# [  P3 Q2 d& h5 {0 w4 `7 u, e+ t

  950. + f: s8 u: @: o8 S& R
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.% y5 V9 Q* {- B0 U& [& @
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ L3 w& H+ _) p+ L
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + H( c% r. O# P; @& A+ \! z
  954. ;iconv.internal_encoding =
    . x1 P- B) {7 b3 S! C% E. M" Y
  955. & N( l; D0 Q) z2 f. z: {
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.6 x7 {: W1 v/ m0 u- Y' z; w
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) l& b. F, f; `; `: U1 [; Z! E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding% ?2 D0 g  H5 V, y! U5 g9 B
  959. ; To use an output encoding conversion, iconv's output handler must be set
    3 S, ]. \5 ]3 T+ M
  960. ; otherwise output encoding conversion cannot be performed.
    / h: _& x2 b: n
  961. ;iconv.output_encoding =
    , o; O  B" v: p# [  ^4 e5 j
  962. 9 u6 d* S$ e* [, M
  963. [intl]
    ) {& J8 w* h& z& Z7 A& b
  964. ;intl.default_locale =
    ! K$ w: l% o8 d
  965. ; This directive allows you to produce PHP errors when some error
    - R7 C9 \+ W; S' k$ `( W: P
  966. ; happens within intl functions. The value is the level of the error produced.
    8 b3 M! }7 l  J5 c% k  [
  967. ; Default is 0, which does not produce any errors.+ K! p1 |5 t0 h- W! `2 [
  968. ;intl.error_level = E_WARNING
    0 N  `2 \, N3 ?
  969. ;intl.use_exceptions = 0
    0 }8 i5 M6 J) e+ ]2 `
  970. / L5 h! F% D2 p7 c$ Z8 p
  971. [sqlite3]1 v$ x- @# v& M  N5 q! `# F
  972. ;sqlite3.extension_dir =
    . r2 U$ Q8 ^/ H/ @% t
  973. - X5 |0 ^5 k0 S& p$ b8 x
  974. [Pcre]
    # C9 g- o/ i4 w
  975. ;PCRE library backtracking limit.
    0 x1 c4 B! L) C, b  I# `4 r
  976. ; http://php.net/pcre.backtrack-limit4 [  A4 Y; R2 X
  977. ;pcre.backtrack_limit=100000: m5 y7 O8 I! I7 O1 Q# C$ Y4 `
  978. 4 D3 W) C4 Q. e" h. h
  979. ;PCRE library recursion limit.' `9 E# k* F) e( g% B7 ~  F% t( F
  980. ;Please note that if you set this value to a high number you may consume all- }/ s5 F2 _: U, l  i; z
  981. ;the available process stack and eventually crash PHP (due to reaching the! Y( o$ x" G: U8 t, i6 e" x! ?
  982. ;stack size limit imposed by the Operating System).
    & B  }) W% z( b4 L' K6 k5 [' E
  983. ; http://php.net/pcre.recursion-limit
    ) ]. ]+ q' ?! f' M/ S9 S
  984. ;pcre.recursion_limit=100000% W. P$ Q1 o# M' U' h

  985. 5 ~! P$ S/ P" Z
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE7 k4 F/ T0 |1 `
  987. ;library to be compiled with JIT support.
    ) O4 c. {/ r( W0 z% m6 f
  988. ;pcre.jit=1  K8 ]/ g" Y9 z+ u
  989. 8 N% I+ m6 Q9 ~. @" }+ y
  990. [Pdo]- T& U' E2 i' h
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"  _- x2 P( x8 f' u2 g. c) y
  992. ; http://php.net/pdo-odbc.connection-pooling3 `; I; a( p3 B+ M% E7 V+ `& R
  993. ;pdo_odbc.connection_pooling=strict
    * Z/ A; i7 l! p% Q
  994. , i2 h8 A8 m3 W) ?- A7 J7 C
  995. ;pdo_odbc.db2_instance_name
    1 _) K* {  }8 n! Z& D5 y! g+ ?

  996. 4 q8 A) l' i( V5 Q
  997. [Pdo_mysql]
    & \9 j) W: Z2 N- l; [& R! |
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache% N, ]% l5 d! X
  999. ; http://php.net/pdo_mysql.cache_size2 `4 x+ B( _3 R( P& F
  1000. pdo_mysql.cache_size = 2000
    $ `6 t1 M: y' \- H. L3 h: @
  1001. & q5 c9 F0 R9 C! h0 V% l, C$ }: t
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      G- k: o* L5 H4 ?# D
  1003. ; MySQL defaults.1 K, b1 t7 c; O7 r
  1004. ; http://php.net/pdo_mysql.default-socket
    " W- C! W5 p' C, R" f
  1005. pdo_mysql.default_socket=. M: a8 d! L# s
  1006. : j+ Q# m* P3 ~# ^& Y1 W# v& ~4 |
  1007. [Phar]
    $ L# X/ b1 @, r4 X' t
  1008. ; http://php.net/phar.readonly. i2 R% G8 `0 A
  1009. ;phar.readonly = On, \. U4 X: M+ U& S' B: x
  1010. 3 o& o! z& A/ P- g0 ]
  1011. ; http://php.net/phar.require-hash, ?( e9 s" I- ]6 G
  1012. ;phar.require_hash = On, C* ^, Q& i7 B, o/ M( @
  1013. * U  G" M3 n4 e$ a) g: B) E
  1014. ;phar.cache_list =% L' _0 I1 I; ^  b! w9 |( }0 g

  1015. 2 b* v8 W7 l% V) m7 X( X0 \
  1016. [mail function]
    $ _7 c8 ~/ c% r$ p
  1017. ; For Win32 only.# e& v: _3 |/ [) _/ b/ t/ z! W
  1018. ; http://php.net/smtp* X& R6 k9 L3 H6 T9 _
  1019. SMTP = localhost' e& r( }9 s8 f) y2 l
  1020. ; http://php.net/smtp-port2 O0 r) Y5 e" u5 z8 V. z1 Z
  1021. smtp_port = 25
    ! G2 K/ {# E' @$ C; v
  1022. ' i2 h# R( c8 y% \
  1023. ; For Win32 only.( t2 Y3 _) _! _, W# J. I% k+ B
  1024. ; http://php.net/sendmail-from
    , G) a) U+ P5 n5 o7 a+ O
  1025. ;sendmail_from = me@example.com
    1 a8 p5 V, w# r; Q# ^

  1026. 1 S5 b  t, d6 W- ^4 w
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: @4 I8 k* j" J9 O+ P5 \3 u
  1028. ; http://php.net/sendmail-path- d# y. j' E' `5 X) j& m. Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    2 X1 C  s6 ~/ S7 H
  1030. . r% o) Y4 `1 @0 m+ u+ a
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 ]& a/ ^6 `2 R5 t1 g, R' g( L1 Y
  1032. ; to the sendmail binary. These parameters will always replace the value of# P3 J$ G5 U; a5 J0 Y# {3 \
  1033. ; the 5th parameter to mail().0 T9 K, N2 r+ X" ~2 ?# p$ l
  1034. ;mail.force_extra_parameters =
    : T- V- B# q  @3 b* C4 r6 g3 q: T
  1035. ( X* m" V) M' C5 R. }+ P) s
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ( Q& z4 I6 a) q8 E% }# J) {5 v. t
  1037. mail.add_x_header = On
    4 I" n9 C  A( S" V$ p

  1038. 4 s4 F) n( M' h1 \+ u5 L  f
  1039. ; The path to a log file that will log all mail() calls. Log entries include2 \: Y1 c1 a7 y8 R; }
  1040. ; the full path of the script, line number, To address and headers.
    , h4 u, S, z1 D$ H4 s+ d' ?. x3 G
  1041. ;mail.log =, U% I$ b+ }' D) O
  1042. ; Log mail to syslog (Event Log on Windows).
    " _9 a, M$ K- T5 S
  1043. ;mail.log = syslog  L  B/ K/ o7 x$ C( A
  1044. 2 T/ C! N' j( V/ b+ |
  1045. [SQL]
    6 R2 E+ G% h' ~9 a
  1046. ; http://php.net/sql.safe-mode
    2 z' r; S( `( r# H4 ]% G
  1047. sql.safe_mode = Off
      P+ m6 h3 ?/ J9 }/ _" A" v2 y' x

  1048. - T* D+ ?  a& D2 }; u
  1049. [ODBC]
    2 p7 w6 m: x! Z. u4 v- V4 L
  1050. ; http://php.net/odbc.default-db
    . O! S7 q! A$ b2 j  i0 E7 O
  1051. ;odbc.default_db    =  Not yet implemented7 ?6 l4 C% Q7 V" A; w/ G% z! s
  1052. 2 ]' D$ l+ u0 }! v9 k& q
  1053. ; http://php.net/odbc.default-user
    / T) [1 @  X& g
  1054. ;odbc.default_user  =  Not yet implemented
    # C, E7 C6 d+ H. L
  1055. # w0 D8 y4 K( J+ ]" t
  1056. ; http://php.net/odbc.default-pw+ \& r+ V0 p" @- B9 s# j6 M
  1057. ;odbc.default_pw    =  Not yet implemented) d4 p& I6 Y4 j

  1058. 2 b; i4 r# G& ]" k+ s3 n
  1059. ; Controls the ODBC cursor model.: A: r1 B! b  y& V- Y! ~
  1060. ; Default: SQL_CURSOR_STATIC (default).
      y  M9 n# U2 t7 e, \4 Q
  1061. ;odbc.default_cursortype% C: F! w: E2 R! d1 N7 T
  1062. 1 B6 @: J, m6 M6 u% Y- h
  1063. ; Allow or prevent persistent links.8 x, ?9 [& X; Y
  1064. ; http://php.net/odbc.allow-persistent% c: h. x9 f& c( I( _' w
  1065. odbc.allow_persistent = On
    - B* l( e1 o; ?4 h/ f0 }- ^
  1066. + t* S) I% m# Q8 \  u1 @
  1067. ; Check that a connection is still valid before reuse.
    ) s4 I5 y: i9 G9 z
  1068. ; http://php.net/odbc.check-persistent
    6 X, F3 ?3 T, R1 [/ m4 }; t6 J& y
  1069. odbc.check_persistent = On) `+ l  s9 t: H3 @$ b. i* u
  1070. 9 {9 m8 i8 g- K; @% V9 f  o; K9 x
  1071. ; Maximum number of persistent links.  -1 means no limit.$ @+ T9 O0 i$ S$ ]7 |# D) ^' f
  1072. ; http://php.net/odbc.max-persistent
      I5 x" K, e, U6 C& H) g8 Q3 b' p
  1073. odbc.max_persistent = -1
    + y5 o7 h* B: V! V2 [

  1074. $ e4 ?0 l0 |$ U# V4 I# c4 U. l0 f
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 U: T9 Y3 |1 i( \; j
  1076. ; http://php.net/odbc.max-links) c& q6 v) f; @& B
  1077. odbc.max_links = -1; v8 J' H+ d5 @

  1078. * y" C- _4 R+ X
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 |: \0 P" z. t& g4 j8 S3 h; Q
  1080. ; passthru.3 Z8 N0 [* ]4 p% e( o7 G
  1081. ; http://php.net/odbc.defaultlrl2 d  g3 L  q0 T7 H8 r0 z
  1082. odbc.defaultlrl = 4096
    - a2 q6 R9 D0 T9 h/ A
  1083. + V7 _1 y" W  E5 Y) P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + d' }* }/ i, {7 u( ]& r
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / ?6 g0 A! O5 t7 `4 i0 w3 L2 l# l( s
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    8 D4 z; g+ j' O: V6 M
  1087. ; http://php.net/odbc.defaultbinmode
    , Q/ G) P7 D3 b& Y3 X+ p: v1 m$ s
  1088. odbc.defaultbinmode = 1! g! x  m6 P  b. ~
  1089. 7 H; |) x' K4 K. N& \
  1090. ;birdstep.max_links = -1$ w' I3 `. }+ D/ M7 \
  1091. 7 @' D1 N4 _2 L1 s: j
  1092. [Interbase]3 }* w3 _: H! I2 }* k
  1093. ; Allow or prevent persistent links.4 k  M4 a& h; \$ [0 F
  1094. ibase.allow_persistent = 18 |( L& Z" x9 z9 b
  1095. & X$ [, k. R! o  x' f) f. u
  1096. ; Maximum number of persistent links.  -1 means no limit.3 {( }) @/ f8 k- F% o
  1097. ibase.max_persistent = -1$ j2 C7 s. k( p) ~8 w
  1098. . {9 l. u" G0 l( L
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 F6 r5 c" E" o+ f* @" C. J
  1100. ibase.max_links = -1
    - T0 v1 e' M% k. h* ~
  1101. 6 r& `6 e2 h: `( e, ]* h+ p
  1102. ; Default database name for ibase_connect().
    8 W" d: W) b! ]
  1103. ;ibase.default_db =% W2 H" N1 h5 a, J* p; ]
  1104. 6 A6 d. f) x' Y
  1105. ; Default username for ibase_connect().
    ; h  x' x. _4 H, ?$ b7 Q
  1106. ;ibase.default_user =8 V/ e  ~4 u, ]! _% W+ L' b) g) D

  1107. + p1 l9 y7 h  n. w
  1108. ; Default password for ibase_connect().) d* |( o0 c) m0 p- S
  1109. ;ibase.default_password =, r: I1 B' o! |
  1110. 9 v+ F$ }: k! C+ N$ s
  1111. ; Default charset for ibase_connect().
    / x1 N4 Y& }4 G0 M" M
  1112. ;ibase.default_charset =
    ) Z/ ^' @4 v0 \/ U4 k2 W! d5 Q
  1113. 5 ^" X& G+ a) q0 Q7 }6 g; q
  1114. ; Default timestamp format.
    6 z  Z/ T( K4 c, a) Y
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* Q( g2 J+ O/ _/ P) Z) @% _5 Z

  1116. 6 A4 @# \7 V$ d2 d
  1117. ; Default date format.! a( `; ]; @& f9 I, ~" g: x8 i
  1118. ibase.dateformat = "%Y-%m-%d"
      w+ _3 u: T5 C

  1119. 3 W; f( j6 H, |
  1120. ; Default time format.0 P+ M5 V" ^8 b9 K
  1121. ibase.timeformat = "%H:%M:%S"
    " W, n* C" X2 a: q
  1122. 7 c9 T+ b: q7 {, b5 b
  1123. [MySQLi]0 N% S+ Y/ p" D- j

  1124. . J1 G8 U* _( Q
  1125. ; Maximum number of persistent links.  -1 means no limit.- j% |" g9 w! e1 \7 B$ I* E) d
  1126. ; http://php.net/mysqli.max-persistent
    ) X; k' ?0 d/ m6 s9 u5 {
  1127. mysqli.max_persistent = -1
    / E& m. o1 C& R; [6 X$ t- W

  1128. ! d5 J! E) p4 N1 a
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; Z/ c& m* `. \# c3 L7 {
  1130. ; http://php.net/mysqli.allow_local_infile
    ( V( o* i' I+ R. H  E
  1131. ;mysqli.allow_local_infile = On9 T0 h% S* D; g' r  ~; D& z# H8 {

  1132. ) t5 G: }% v; R% \$ Q
  1133. ; Allow or prevent persistent links.. A6 C  W$ i" J. z
  1134. ; http://php.net/mysqli.allow-persistent2 [7 {& N1 ~  s' J  v
  1135. mysqli.allow_persistent = On
    + v, @& |. G; B3 p" D# s

  1136. . }. m- L9 e" M/ [, V8 g2 X9 B
  1137. ; Maximum number of links.  -1 means no limit.' p( P0 I; J" h$ T
  1138. ; http://php.net/mysqli.max-links
    & Y! U$ @3 w# K$ I- {! a8 i6 L
  1139. mysqli.max_links = -1
    / y; e; {4 a3 g) h& f. j9 C( F
  1140. $ F  u. ]& p; M6 u' `
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 \$ j7 \. z% j; A, L' M
  1142. ; http://php.net/mysqli.cache_size/ I& s' m$ ]3 x0 _/ |4 k" d4 ]
  1143. mysqli.cache_size = 2000
    8 v+ e8 ], h# n4 r+ ?$ A

  1144. : ~6 {$ P8 C$ J! _5 @) e: l# L
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; R1 X0 H$ H8 g4 i* |4 x: n+ t
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 t8 l/ G) b. ?  b7 y" b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 H; ?6 F' l- Y: B" R* @" J1 ?
  1148. ; at MYSQL_PORT.
    * B6 K; Y" K+ U$ o
  1149. ; http://php.net/mysqli.default-port2 h* H& F: t0 F
  1150. mysqli.default_port = 3306
    * s0 G* c. f+ N6 _

  1151. 4 S3 v3 S, I6 ~# @* r3 f
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in6 z, |4 B" r& {* g9 V; S( C
  1153. ; MySQL defaults.! V- C3 e7 j6 E5 x- L5 S
  1154. ; http://php.net/mysqli.default-socket/ R( W& {+ S9 e: [
  1155. mysqli.default_socket =
    8 R5 ]# \; r1 ^* q
  1156. 9 K) t' H' x8 Q- T- K7 {- G
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 G) ]4 g; E4 u9 l
  1158. ; http://php.net/mysqli.default-host
    / Z/ A+ S* }# H; U
  1159. mysqli.default_host =8 d+ v8 ]/ z1 \3 v* y

  1160. 6 P# T( E. r5 d$ @$ e
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., V0 x) k7 z, o: N/ M$ G  b* f
  1162. ; http://php.net/mysqli.default-user
    4 T4 k6 i$ H$ C: Z6 l
  1163. mysqli.default_user =+ S, A7 N0 u. g6 I
  1164. + Y# Z' R& l& g* D; Y
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 }4 |8 _% c4 K3 S: ], h% M6 J
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.% N1 F* |4 C, M0 k0 i& Q: i
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
      }  N0 ]/ C6 n5 s. ]4 }
  1168. ; and reveal this password!  And of course, any users with read access to this
    7 l% F+ P" S- p" |' N2 z
  1169. ; file will be able to reveal the password as well.
    - Y2 o6 a  a& i1 d  A; t4 Y# }
  1170. ; http://php.net/mysqli.default-pw4 z! z7 l, F( L5 j9 g
  1171. mysqli.default_pw =
    ) f0 z  n8 p8 s' a9 S: l
  1172. $ U! k1 i. ]- k6 J/ F( i8 ]9 p6 P
  1173. ; Allow or prevent reconnect
    8 J. N* N2 e2 Y+ W) w8 Z1 h6 @
  1174. mysqli.reconnect = Off
    3 \4 Q% {4 p2 s

  1175. . U7 g; y/ p: z7 l3 `
  1176. [mysqlnd]
    - l/ J  H1 {/ A. N( ?5 Y# X
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , R$ I/ z. c- t- G4 {& _3 ~
  1178. ; used to tune and monitor MySQL operations.
    2 g! F5 |* f& c( A
  1179. ; http://php.net/mysqlnd.collect_statistics
    $ c+ c, |' ~1 b0 T- G9 Q
  1180. mysqlnd.collect_statistics = On
    0 }" [  N5 f8 D3 U, P% S

  1181. * ?) v0 ]  A$ G: C% N; B% p
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * U$ b  Y' r1 N$ U: L
  1183. ; used to tune and monitor MySQL operations.  b4 U: d, E% q4 K
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    2 d* c9 R: |% ~! F. F
  1185. mysqlnd.collect_memory_statistics = Off0 y* Y. a0 A/ }* U  c
  1186. " A! ]' G" v2 U, }
  1187. ; Records communication from all extensions using mysqlnd to the specified log9 H+ a5 d, w2 s
  1188. ; file.
    $ z) d* N( P& h" w) {
  1189. ; http://php.net/mysqlnd.debug; q7 a% x+ L+ X
  1190. ;mysqlnd.debug =9 E7 p- |* C" q" j6 I( h1 @
  1191. ' u, ?3 ]4 f% C- z: U% C0 n  v# q
  1192. ; Defines which queries will be logged.
    ; K7 |! F. I# Y9 R1 M" u8 v! C
  1193. ; http://php.net/mysqlnd.log_mask
    ( p3 h) b: ]* V# _2 R" \$ z* a
  1194. ;mysqlnd.log_mask = 0
    ) }) e, z% ^) X
  1195. 2 l( ]3 Y; ?1 x: a6 Y3 t! U( i
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.) D4 ]2 ^5 I: @; f
  1197. ; http://php.net/mysqlnd.mempool_default_size) @% a0 ]! ?7 h' n
  1198. ;mysqlnd.mempool_default_size = 16000. q, E* z$ W9 v/ p% z& E4 O. ?9 S
  1199. ; y7 @6 \% c/ ^2 l/ f. G: O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 u6 @# E6 d+ I# A
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " C, }# r! e' I) e- v# O
  1202. ;mysqlnd.net_cmd_buffer_size = 2048% E  U6 o3 |: d1 _( H# |4 Z# F
  1203. - b" Z' R0 {4 m& a! U' U
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    - C1 P; l" h: F0 P5 o
  1205. ; bytes.
    # G: s) C1 n; T/ U  r1 k" |* N
  1206. ; http://php.net/mysqlnd.net_read_buffer_size7 h$ {# P' g; D/ a
  1207. ;mysqlnd.net_read_buffer_size = 327685 C* M  A1 }8 D) ?

  1208. / }- P5 b) }8 p' g! O- `- @7 @/ S
  1209. ; Timeout for network requests in seconds.
    0 o& ]8 d' G- t5 L9 P5 E
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; e: W7 ^& [1 I6 d4 D0 _8 {
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 f# p% p2 K* D; f0 k& X
  1212. 5 m( `6 ?+ K! c2 C9 b! s% K
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    / l: Q9 o2 u1 h7 d
  1214. ; key., r' O, L' z5 p8 t9 |
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " c& P- k+ ?* d" ]% F0 H  s/ l
  1216. ;mysqlnd.sha256_server_public_key =+ }2 q, D5 U+ I: `
  1217. ; f5 T" i% a8 h0 P
  1218. [OCI8]
    ) w+ L. n$ y7 M% H+ ^1 ]3 _

  1219. " O3 _% |" U0 q% w% t: e3 o
  1220. ; Connection: Enables privileged connections using external, m% d' p. k$ j5 S" s, q, r
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 n, q, ~* @* C8 H
  1222. ; http://php.net/oci8.privileged-connect# r5 q/ n+ z) a: b
  1223. ;oci8.privileged_connect = Off
    ! P1 C) R' T3 b2 d0 m2 n7 _
  1224. 8 Q6 L7 n, w( S; H& L
  1225. ; Connection: The maximum number of persistent OCI8 connections per* o2 H6 D7 @6 V: o; L
  1226. ; process. Using -1 means no limit.8 Z5 k/ K) `, S* i4 l* ]( S) y. j" q2 ^
  1227. ; http://php.net/oci8.max-persistent
    + M4 m: X8 h! o( a! j, {( N0 T; F
  1228. ;oci8.max_persistent = -1, p: G% v9 Y# [' f
  1229. $ v- n5 |9 Z2 ^' `1 [8 g$ r
  1230. ; Connection: The maximum number of seconds a process is allowed to9 [& X! C4 ^/ Z
  1231. ; maintain an idle persistent connection. Using -1 means idle9 M$ p2 v0 L6 n! ~, S( X" ^# s
  1232. ; persistent connections will be maintained forever." u& }0 b6 w3 h
  1233. ; http://php.net/oci8.persistent-timeout% N" l3 l9 Z; D1 K
  1234. ;oci8.persistent_timeout = -1
    & E/ z& j, |: x% i% y. J

  1235. - i1 r/ ^) J+ h. E& a5 u" L
  1236. ; Connection: The number of seconds that must pass before issuing a! K) D2 {) ?0 N3 O' c
  1237. ; ping during oci_pconnect() to check the connection validity. When, \  V- q0 g( ?5 i. b6 @' m% [
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    . w! \( `+ o4 }6 R
  1239. ; pings completely.
    : _6 i8 A" I5 q* T
  1240. ; http://php.net/oci8.ping-interval! V9 b9 _( m$ d; B; M
  1241. ;oci8.ping_interval = 609 ?. b0 d4 l5 K- D% d

  1242. % E- \. i  U* {7 j
  1243. ; Connection: Set this to a user chosen connection class to be used1 N, }8 l) y3 d) U" |- s3 D
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / z' h, P* Z+ ^
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' N8 o* L3 s: [# ^( h9 Q6 f
  1246. ; the same string for all web servers running the same application,- B& Q3 T" I! _  z9 d7 k  Q
  1247. ; the database pool must be configured, and the connection string must7 p  y% J& M/ ^, G, Q
  1248. ; specify to use a pooled server.# _2 E" E; q" M/ [! r" e
  1249. ;oci8.connection_class =' V4 [' Y/ U- s% M/ h- n
  1250. $ `' c9 h7 _& I
  1251. ; High Availability: Using On lets PHP receive Fast Application# _9 m9 s# `) ?; d/ c2 @, M
  1252. ; Notification (FAN) events generated when a database node fails. The
    * o# B! f3 G& S8 D3 l2 b
  1253. ; database must also be configured to post FAN events.. g9 X3 Y9 t) z$ D$ w- t/ A3 x
  1254. ;oci8.events = Off7 A# P- F# g8 K
  1255.   a/ f) ?; x2 ]! n( G: {3 D
  1256. ; Tuning: This option enables statement caching, and specifies how  `& m& P8 O" u% \; [
  1257. ; many statements to cache. Using 0 disables statement caching.
    - s+ j; \* R/ c1 ^8 {$ y1 F
  1258. ; http://php.net/oci8.statement-cache-size
    3 ^2 k: a1 ~6 v8 b
  1259. ;oci8.statement_cache_size = 20
    ! `# n7 F8 R% i

  1260. # G+ p) I8 w/ s( G) H' _
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    , ~- C( }9 |$ }9 z& ]
  1262. ; rows that will be fetched automatically after statement execution.
    % K- c& Y$ l1 B" z9 n
  1263. ; http://php.net/oci8.default-prefetch
    4 O! e9 c5 e& \! g
  1264. ;oci8.default_prefetch = 100
    8 @% l& j  U4 W7 z

  1265. 0 q+ x( H1 n% }; h
  1266. ; Compatibility. Using On means oci_close() will not close" h0 q% X3 Z0 S4 `/ k
  1267. ; oci_connect() and oci_new_connect() connections.
    , e$ `$ b% }" ?! `) t# ~. o! z7 E
  1268. ; http://php.net/oci8.old-oci-close-semantics0 [. i* D# c) [* O9 s3 q
  1269. ;oci8.old_oci_close_semantics = Off5 h, J& X" e( z8 b6 Q- z
  1270. $ H1 V) a; F$ K* C, [0 u! G2 }
  1271. [PostgreSQL]* N3 X( P& s, E# G" s0 U
  1272. ; Allow or prevent persistent links.
    ! d6 G( h7 k6 e  C. j6 r
  1273. ; http://php.net/pgsql.allow-persistent
    ) G9 u5 l1 _7 c# z6 N* |; M
  1274. pgsql.allow_persistent = On
    ) a* d/ x5 A: R( p( ~; L& K
  1275. ' O8 Y! J! t( H1 K/ l: B8 W
  1276. ; Detect broken persistent links always with pg_pconnect().! ]& l8 g, q% S. F: C
  1277. ; Auto reset feature requires a little overheads.
    3 u0 a( R9 a+ b" z& R
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ( J. \  ~$ r$ G) Z9 o3 x  Y* g# E
  1279. pgsql.auto_reset_persistent = Off# v0 `/ [0 [# ^0 H: o# X

  1280. 2 s  ?- A" p2 o0 S
  1281. ; Maximum number of persistent links.  -1 means no limit.
    , a' y' X3 k' A& k) K4 A7 P
  1282. ; http://php.net/pgsql.max-persistent
    ( c1 u; k& U2 |  u  |6 [, r
  1283. pgsql.max_persistent = -1
    . N; `7 D4 M6 X

  1284. * z1 P: ~) B) x( W  C
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 m! V! P; w% h  o. f8 r
  1286. ; http://php.net/pgsql.max-links
    . r& V! p5 P, Y' w- a& ?* M
  1287. pgsql.max_links = -1$ A1 K3 l6 Q1 Y+ I& K. ?! a7 ]
  1288. + Z/ j* [+ g1 d
  1289. ; Ignore PostgreSQL backends Notice message or not.
    . r, y  i5 h9 [! u- c7 {. I
  1290. ; Notice message logging require a little overheads.
    " V5 y, a3 D" R1 C3 B+ P) Y6 C
  1291. ; http://php.net/pgsql.ignore-notice
    7 }4 G* {# w& E) G4 l5 Z
  1292. pgsql.ignore_notice = 0
    , ^" |1 |' E- H* W4 B* q' m- u6 J

  1293. 3 {* Q0 G' B6 p$ I0 j
  1294. ; Log PostgreSQL backends Notice message or not.
    5 g' Q9 x- }" ^* C/ v  o
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; L, Q" J8 Z) ]0 |; ^8 p/ L
  1296. ; http://php.net/pgsql.log-notice
    0 W8 @' I1 Y: C7 @6 g: c
  1297. pgsql.log_notice = 0
    & w5 Z  d* {' L% ]9 r

  1298. " ?6 G* K3 X' d1 k; z1 K
  1299. [bcmath]; O1 d8 C  D; j6 B  J% K) E. d2 k# B
  1300. ; Number of decimal digits for all bcmath functions.
      n0 _& g/ ^& p& a; m2 f
  1301. ; http://php.net/bcmath.scale5 S# o( g6 g1 Q4 n& M
  1302. bcmath.scale = 07 x& q- m- \' Q- S1 q" n

  1303. 3 r3 f  |2 u$ _7 o8 q7 U/ I
  1304. [browscap]" \' J1 F$ Q1 S$ j( q  p5 J
  1305. ; http://php.net/browscap" w7 T! p  A4 {$ y
  1306. ;browscap = extra/browscap.ini# w1 L( z4 c& j8 C, Q% B& K. b+ x
  1307. * J2 z9 Z2 ^+ X* {' l, U: z4 T
  1308. [Session]
    9 X; K/ z* `! J3 j& X; m
  1309. ; Handler used to store/retrieve data.# }% |; q9 R: p* P, W5 _# g+ X
  1310. ; http://php.net/session.save-handler4 A! S6 m! N9 \3 ]1 N  ?8 q2 M
  1311. session.save_handler = files
    5 k" f; U# }  Q0 Q* |: [
  1312. 2 a) w% k1 Z- [8 {$ f( P* I1 ~- h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path3 k* _" s5 H2 ~. d9 Z% X( t7 W
  1314. ; where data files are stored. Note: Windows users have to change this& R) r4 D' m* k2 D
  1315. ; variable in order to use PHP's session functions./ W5 ^& S% ]& i& P
  1316. ;# x$ _# L8 j2 m/ R" C$ p
  1317. ; The path can be defined as:1 X( D. P2 h9 W) y7 V' K$ N
  1318. ;- R/ z- z' g3 y& z3 Y2 b! V
  1319. ;     session.save_path = "N;/path"% ~9 @; z' }( x- Z! B2 E5 T
  1320. ;
    % o% O# q9 K8 u$ ]* c) g
  1321. ; where N is an integer.  Instead of storing all the session files in" x+ \; I( n1 J1 M
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    $ i, j; {: ^8 v8 @' u' f( Q, X
  1323. ; store the session data in those directories.  This is useful if9 g; }' F1 _& z3 Q% [, d
  1324. ; your OS has problems with many files in one directory, and is
    " _/ A5 s: `9 {
  1325. ; a more efficient layout for servers that handle many sessions.
    ; t( c" d* Z7 U
  1326. ;
    2 s/ e0 w' R9 G8 E+ B6 i
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    # J9 F- V0 r8 B( s# I* z' g
  1328. ;         You can use the script in the ext/session dir for that purpose.4 E  {) ?6 E! T. M" G
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    8 h8 c2 F. K! i- r; S" J9 H! Z
  1330. ;         use subdirectories for session storage
    ! w+ ]+ z0 f3 M, J9 S: G' L( Q0 Q8 o
  1331. ;0 |8 u9 P" V( R; h" C4 U
  1332. ; The file storage module creates files using mode 600 by default.
    ' U7 u" M6 n: L) k+ w. D+ M
  1333. ; You can change that by using! f  A& I9 E1 \9 P! Q4 P2 q
  1334. ;
    * }$ f/ L& S, x0 c, @
  1335. ;     session.save_path = "N;MODE;/path"  I" [# D$ p. W( w
  1336. ;
    , ]( V' B5 w8 P( M* d$ F/ J7 }
  1337. ; where MODE is the octal representation of the mode. Note that this
    % W1 Z+ v2 W: W
  1338. ; does not overwrite the process's umask.
    # I7 ]4 D6 Z0 ]3 F
  1339. ; http://php.net/session.save-path$ K1 O4 v  y9 R9 p
  1340. ;session.save_path = "/tmp"* G2 z+ o% C  n/ B6 t  T% I4 }
  1341. , D! A& _7 D8 E& D+ g9 `% `
  1342. ; Whether to use strict session mode." P- D9 W8 U8 Y% @/ T: g
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    : {" b, ^7 N/ I/ B8 b0 E" C; \
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects) z  @2 ?0 m$ k0 q& z
  1345. ; applications from session fixation via session adoption vulnerability. It is0 z# X6 a* s  c4 x
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    , X# G& ?% }  _7 S$ [
  1347. ; https://wiki.php.net/rfc/strict_sessions
    - s3 }9 x% N8 G( c
  1348. session.use_strict_mode = 0
    3 b2 ]3 O1 o& e0 M+ m5 r2 P
  1349. : L. o3 g9 O) f/ k
  1350. ; Whether to use cookies.
    ' ?2 M7 T2 h( M. `/ ~* U4 {
  1351. ; http://php.net/session.use-cookies
      h4 b2 A5 C) Q  W" E9 W+ v  L6 q  s
  1352. session.use_cookies = 1
    - c5 w, f6 x& R7 ~* E8 X5 M) B% @
  1353. * b, B9 f: J% z1 m) {
  1354. ; http://php.net/session.cookie-secure
    4 v% ]  Y) d. I8 K5 a3 ?% Z
  1355. ;session.cookie_secure =, g; x2 Y5 T1 ^6 w; N: \  s; \2 `

  1356. 8 H7 S9 e+ z7 |; |( E  S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    $ _4 a8 e7 N6 D4 M9 \  W
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    6 F4 ]" g3 T6 v5 N6 m
  1359. ; session hijacking when not specifying and managing your own session id. It is: h' m5 |) R; J( K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( ^: H& v  w& F) P' `2 R/ F# b
  1361. ; http://php.net/session.use-only-cookies
    0 ]3 W6 \) o4 y7 I
  1362. session.use_only_cookies = 1
    8 T8 S) ~$ @+ e' k5 G2 f

  1363. ( v/ w7 x9 a5 T/ P
  1364. ; Name of the session (used as cookie name).
    % U0 S: M" [. \3 c& n( Q
  1365. ; http://php.net/session.name
    $ y' ^; Q% n( ]2 V8 |
  1366. session.name = PHPSESSID
    $ y7 E+ Z# B5 u5 J6 s: O
  1367. . w1 a" ]5 i6 z9 N) v  m
  1368. ; Initialize session on request startup.* A1 P# T4 F2 F( B0 O6 S  i" Q6 T  M, ~
  1369. ; http://php.net/session.auto-start
    ; x! j7 V" ~  S1 j
  1370. session.auto_start = 0
    ; I  A+ S  H- ?8 J# K$ x) h! S
  1371. 0 W* \) L& y# K* N
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & @, t  S7 U- m( m& f- i' K
  1373. ; http://php.net/session.cookie-lifetime
    5 d  n1 w3 [1 ?, |# k0 `& R
  1374. session.cookie_lifetime = 0# n9 h2 q5 ]& m  y* h+ u3 F) u

  1375. + r) G" D1 B' N: ^5 W
  1376. ; The path for which the cookie is valid.9 x3 d4 j) s" P1 o4 t( K
  1377. ; http://php.net/session.cookie-path
    : w+ I3 G6 s+ b
  1378. session.cookie_path = /
    $ l' k4 P4 e6 t/ R

  1379. ! u- H# }' @1 M0 F
  1380. ; The domain for which the cookie is valid.0 w+ C) J( U" y: v$ i! B
  1381. ; http://php.net/session.cookie-domain
    * H! r. {8 y* n1 N
  1382. session.cookie_domain =. Y. Q, j9 |+ K# t( D( `& U

  1383. # k) I* [: V3 K  M3 _! f) s
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( L* Q+ p% \/ V  X- x# {
  1385. ; http://php.net/session.cookie-httponly: h4 ?+ q+ y( V4 W
  1386. session.cookie_httponly =: R; Y% v0 C& E7 k% f# x5 s: K6 B

  1387. ( L8 m" ^( U- u* U0 a' w- n
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    2 P5 T5 d' O5 i- ?
  1389. ; http://php.net/session.serialize-handler
    + N3 ], e* Q  w" r, J
  1390. session.serialize_handler = php
    ' S$ q/ ^) z( X4 t: Z
  1391. " N. e, H" [- O5 u+ w
  1392. ; Defines the probability that the 'garbage collection' process is started
    # |3 z. [: m: U8 Z9 c9 @% z
  1393. ; on every session initialization. The probability is calculated by using/ {+ p4 X9 _3 x4 x5 a; Z. Y
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. h! E4 r& V/ ?
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 17 \7 r0 g" P& y5 t6 E7 D
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * M' g) X8 ], \4 D
  1397. ; the gc will run on any give request.- M3 p( @9 }7 }. z6 B
  1398. ; Default Value: 1
    ; z2 t( m8 ?5 E. o! |) B
  1399. ; Development Value: 1
    + F) g- f5 M, N, O! s$ h0 S5 z
  1400. ; Production Value: 1
    . h8 L- A8 r2 H1 Q1 D- H
  1401. ; http://php.net/session.gc-probability
    9 I, R4 W) }* ?5 `1 v7 X3 B
  1402. session.gc_probability = 1
    % m, Q& |- q2 U! H

  1403. 5 S* k- G4 E' Q
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    2 q  |# g+ I! W' X1 i
  1405. ; session initialization. The probability is calculated by using the following equation:7 m! g9 h4 l& J4 u$ j
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 E, {: H* h& R' ~
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 k" M% p5 ^- [9 v
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) g7 s0 Y. x- [! ^
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
      B1 r+ d6 B! h7 D3 Y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( z) E. T' }8 ]
  1411. ; this is a more efficient approach.
    , a' ?0 }& t  _$ Z1 {
  1412. ; Default Value: 100
      C7 j. F, l+ x6 J- z& f
  1413. ; Development Value: 1000$ r0 l' `- }( g% A& H, k- X
  1414. ; Production Value: 1000* p; e. U" s3 O6 \0 Q0 c
  1415. ; http://php.net/session.gc-divisor+ a3 t' q6 B' l$ ~- I. s) |
  1416. session.gc_divisor = 1000. v, @4 [+ e, D8 H  F  U; v
  1417. 3 K0 g/ f8 _$ I- u- `. y$ y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and! }2 _0 m, S0 k7 o/ @! E$ W4 f1 N
  1419. ; cleaned up by the garbage collection process.
    1 C) ]4 [- a4 W6 a
  1420. ; http://php.net/session.gc-maxlifetime
    , `( C* _( v0 E% O2 _
  1421. session.gc_maxlifetime = 1440
    1 [! r4 z! E* k& s

  1422. $ l: f6 z1 R6 w2 K" G
  1423. ; NOTE: If you are using the subdirectory option for storing session files" a4 K5 J2 e, W, U' Y
  1424. ;       (see session.save_path above), then garbage collection does *not*+ _# i3 l; \' P. a
  1425. ;       happen automatically.  You will need to do your own garbage: T- c0 W5 A3 B4 s/ E- v1 F; A( C
  1426. ;       collection through a shell script, cron entry, or some other method.
    - Q7 S( p. }2 F
  1427. ;       For example, the following script would is the equivalent of2 f: S  B* w3 R! C- K% ]3 }
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - S8 z' p6 X0 Y+ X" |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / v9 |1 R5 D5 V: z$ v9 g
  1430. / I# ^2 I, ]) h, T; C
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& m. W: \; p( U0 A
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    3 D( w+ O# I% p1 ]2 P
  1433. ; considered as valid.
    + l; ?) R1 k& i: X
  1434. ; http://php.net/session.referer-check5 u. e  R% w; q
  1435. session.referer_check =
    * W8 c5 r3 Q5 _9 b& ]( g8 C" u9 v
  1436. # D! G; [: ]. v  h
  1437. ; How many bytes to read from the file.
    7 Q1 I' V% Z9 @7 u/ L
  1438. ; http://php.net/session.entropy-length' T  y" c4 x" t' n2 S' L7 S: ~
  1439. ;session.entropy_length = 32
    3 Z: l* q- e9 ^! P" g5 ~# t
  1440. - R; @$ F+ u3 m; f& n) U* y
  1441. ; Specified here to create the session id.3 z/ ]! z# T6 U9 k
  1442. ; http://php.net/session.entropy-file* _$ y4 f$ E0 Q. B" G) [/ j0 H1 w4 W
  1443. ; Defaults to /dev/urandom1 s8 T9 }$ x( [
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ C; t8 ]; ~) y! o: d0 u. _- ?
  1445. ; If neither are found at compile time, the default is no entropy file.
    . R: _2 I, l5 K6 o4 _
  1446. ; On windows, setting the entropy_length setting will activate the7 f4 F1 i/ X8 f7 P; H/ v- C' S& v; |4 j
  1447. ; Windows random source (using the CryptoAPI)
    ; \6 X" u+ t7 ]- R
  1448. ;session.entropy_file = /dev/urandom
    / U: j0 M+ H# |* K* y9 H

  1449.   y1 Q0 @; l+ }, `: |6 d
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ T/ R6 ]" w& H
  1451. ; or leave this empty to avoid sending anti-caching headers.
    6 i8 Y: O+ R6 u8 a, Z( s
  1452. ; http://php.net/session.cache-limiter, E' S* I* G0 [
  1453. session.cache_limiter = nocache% N9 w# Q' s7 u& D2 {
  1454. # j+ M$ N+ G! w4 v) _6 n5 g* F  R* u
  1455. ; Document expires after n minutes.' \. q. `5 B5 v
  1456. ; http://php.net/session.cache-expire
    - }; ~8 I6 t$ B: c  I, @3 b
  1457. session.cache_expire = 180
    ( a' X1 i! s* x  Q, ^3 ?2 e

  1458. % c4 r  B6 G& K" ]2 ?
  1459. ; trans sid support is disabled by default.! g5 b" T( g7 f0 x- p+ G
  1460. ; Use of trans sid may risk your users' security./ `& Y% I/ e# m1 `( R
  1461. ; Use this option with caution.
    - i# ~. t/ ^( P/ Y+ h
  1462. ; - User may send URL contains active session ID; H' B+ J! n: V9 _7 ?$ \
  1463. ;   to other person via. email/irc/etc.* A' L" r: H9 M$ n6 ?( M- F
  1464. ; - URL that contains active session ID may be stored( I. X2 x/ T1 X5 f" U& X
  1465. ;   in publicly accessible computer.% {. j4 \- V' c. ]
  1466. ; - User may access your site with the same session ID
    ) N  w+ u0 a% M8 T0 l
  1467. ;   always using URL stored in browser's history or bookmarks.
      H0 g: n5 F& ?4 j
  1468. ; http://php.net/session.use-trans-sid, x: r' U' B5 Z, n# ]9 O, l
  1469. session.use_trans_sid = 0
    " j" B( P. U; H! Q" T( |  h  J

  1470. 8 _$ Q5 k( p3 z9 h9 e
  1471. ; Select a hash function for use in generating session ids.% F2 b6 J7 b* T  f7 t- O) D$ M
  1472. ; Possible Values
    1 X  E7 |2 I- ?2 X+ y& p+ o
  1473. ;   0  (MD5 128 bits)
    8 _6 M& u4 y: l! W( x. Q. G3 S/ T
  1474. ;   1  (SHA-1 160 bits)& V; q* O# q) m+ W5 [# M
  1475. ; This option may also be set to the name of any hash function supported by
    * b" x4 q, |, s! w5 x+ {& a% b" \
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()* T: l! o: o3 G* P3 q
  1477. ; function.
    1 }& ^1 p1 U5 h) i( d3 |
  1478. ; http://php.net/session.hash-function
      Y  F& E$ u$ r+ ?# y! u
  1479. session.hash_function = 0- f2 ]5 T$ e( Z# N# [

  1480. - \( A. U  [2 Y7 i3 D
  1481. ; Define how many bits are stored in each character when converting* A4 O! P4 c4 w' z) P4 D
  1482. ; the binary hash data to something readable.( }  r  k( o7 n" H: E* L3 {1 U( X6 M
  1483. ; Possible values:
    ) O/ K/ }% O% `: q- w5 S6 |
  1484. ;   4  (4 bits: 0-9, a-f)
    % D! b' h" v: M0 B9 {' k0 a
  1485. ;   5  (5 bits: 0-9, a-v)
    % K% T! l3 P6 h
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 t8 @4 v: E" V/ K. D
  1487. ; Default Value: 4: S" j+ E, r* f7 g& d5 W( d) z
  1488. ; Development Value: 5( q! l# {5 t! n1 v
  1489. ; Production Value: 5' E* n& X+ @$ L$ T7 X7 |2 V% b& w# R
  1490. ; http://php.net/session.hash-bits-per-character1 ^$ O5 T' r/ E5 P
  1491. session.hash_bits_per_character = 5
    - C4 ^' M9 P6 x5 o. q* K$ `' G
  1492. 1 T5 s* e* F2 a8 k5 E3 ]( R/ [
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    , C+ w8 Q. z7 x  y
  1494. ; form/fieldset are special; if you include them here, the rewriter will: i+ {1 J9 o5 D2 o) v* s
  1495. ; add a hidden <input> field with the info which is otherwise appended8 u; f# u' |9 n9 N
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / U  H' _+ E$ X& l2 w0 v
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 @" m. W$ g, a% |
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 l% F7 ]3 Y+ M* b1 K9 p
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 Y5 U' @  e, `/ F: x
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 [' o) {+ ?: v( [5 Z
  1501. ; http://php.net/url-rewriter.tags
    % d2 S# c: ]/ _' B. D
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ w0 g2 e* V+ \0 Z8 k+ O
  1503. $ C, q. V- q  g- q
  1504. ; Enable upload progress tracking in $_SESSION' D+ Y* u& E6 h$ L
  1505. ; Default Value: On
    % z' L" w4 o4 p9 a# I. l$ ]9 L& E
  1506. ; Development Value: On
    : Q) K% H: p0 I( p. c5 E8 s
  1507. ; Production Value: On
      J6 K% l& e0 V# H
  1508. ; http://php.net/session.upload-progress.enabled
    # c* [4 B( T7 l. u
  1509. ;session.upload_progress.enabled = On5 _( H3 c- V5 C9 ^8 d  h0 `

  1510. - x: g4 g9 v) b: F! X1 E
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & A+ s- F' g/ w4 S7 t+ Z. a
  1512. ; (i.e. upload completed).
    ( D5 ^8 W, o9 A. `* s3 S
  1513. ; Default Value: On
    9 s7 x' q7 M/ B3 W- ]8 u3 d
  1514. ; Development Value: On
    & R, k* ]7 ~0 D- `+ b
  1515. ; Production Value: On
    4 J& g+ o+ H, u* l! N( ^$ _
  1516. ; http://php.net/session.upload-progress.cleanup" D( E% H! h* \) h, O
  1517. ;session.upload_progress.cleanup = On' c8 n& o6 w6 F- h$ {( y  ^
  1518. , t3 a2 T- f  k; e
  1519. ; A prefix used for the upload progress key in $_SESSION
    : r) v" R" i. v5 z* V0 k& Y% l1 m$ }
  1520. ; Default Value: "upload_progress_"/ h/ N5 U: U: n# h
  1521. ; Development Value: "upload_progress_"
    ! g  L6 V5 U# y
  1522. ; Production Value: "upload_progress_"+ N# x4 r! k3 {* D9 e
  1523. ; http://php.net/session.upload-progress.prefix6 I4 d% b0 T3 j5 O- t6 E  F' F5 k
  1524. ;session.upload_progress.prefix = "upload_progress_"* i0 b+ j( W: x+ J

  1525. # v+ f) i$ ~# X" S( J+ Z( U
  1526. ; The index name (concatenated with the prefix) in $_SESSION3 [% ?) Z3 K0 d* Z
  1527. ; containing the upload progress information
    6 Q9 B! p3 N1 Z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", n+ o$ [9 g! m3 Y6 {7 J; l
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ H$ ?) v. }6 ^
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 A6 C% L. @8 K. U
  1531. ; http://php.net/session.upload-progress.name( n! o. q! ~/ p% i
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"9 i: l) `  P7 i( p3 u& h

  1533. : V1 O! j# D5 p0 U) U
  1534. ; How frequently the upload progress should be updated.) a# H5 d) l; a* @, y( G+ `
  1535. ; Given either in percentages (per-file), or in bytes8 L: J. M. k4 q' ^
  1536. ; Default Value: "1%"8 M' W3 r: j; Q* i- C# d
  1537. ; Development Value: "1%"
    7 V( V9 Y& B1 n0 X4 b
  1538. ; Production Value: "1%"
    , T  K, o5 H; w, A$ e+ M
  1539. ; http://php.net/session.upload-progress.freq! B- W( V6 h( L0 Q* p( }3 G
  1540. ;session.upload_progress.freq =  "1%"# T6 Q+ D& Z0 @1 q6 t
  1541. ( @& Y( o4 g+ M5 a0 d9 r% m
  1542. ; The minimum delay between updates, in seconds
    3 Z8 c; Z7 v  S& N( B8 \- K
  1543. ; Default Value: 1, H; S" {+ A6 f3 f/ V$ Z
  1544. ; Development Value: 18 O8 P4 K8 v* i
  1545. ; Production Value: 1$ o3 u3 O% a( n( a) b: h, e+ \2 A
  1546. ; http://php.net/session.upload-progress.min-freq& ~0 I4 u1 _/ d
  1547. ;session.upload_progress.min_freq = "1"
    " j. K( c5 k8 q9 t

  1548. ' `/ ?& t& E* d2 Y. f$ z4 h% h1 x
  1549. ; Only write session data when session data is changed. Enabled by default.
    9 F  J$ @0 Q% O) g4 i$ I8 h+ H
  1550. ; http://php.net/session.lazy-write7 k5 v) |/ c2 I! V% n" @
  1551. ;session.lazy_write = On
    ! E5 t0 A# ^( ~' ?& e1 J+ Q5 `

  1552. ' m' R% N$ Q8 b9 H0 z) c0 C
  1553. [Assertion]  z/ @. k* ~/ ~
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)$ D* ?" C; z# E  H
  1555. ; -1: Do not compile at all. r) ^/ b3 Q' f$ e7 p0 q& \
  1556. ;  0: Jump over assertion at run-time
    * e4 [$ I& I/ ]2 X
  1557. ;  1: Execute assertions! h, Z2 z' a+ }
  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)
    : t+ C! e0 R% }) g
  1559. ; Default Value: 1; f* `1 A) u" `" M$ j0 f* j0 c
  1560. ; Development Value: 1
    6 _3 ]' x  V; I  |  u7 k) K# E
  1561. ; Production Value: -1
    6 I  C# l1 y7 h. w  `2 U6 w; {" j) R
  1562. ; http://php.net/zend.assertions+ K; D" P+ Z2 j" X! a
  1563. zend.assertions = -1
    ! M9 X- H! p2 C% {8 G, N- G
  1564. - h) [5 D0 ?) n5 t; x7 R& u! o" u0 G
  1565. ; Assert(expr); active by default.* b* J; @+ l1 x
  1566. ; http://php.net/assert.active
    ( V2 T5 R& E8 M2 \0 N
  1567. ;assert.active = On
    5 \/ v+ x" W7 ]

  1568. ( p, s" f  {' C9 E$ n+ ]
  1569. ; Throw an AssertationException on failed assertions: x& [: d* l' S$ s! H# K: X
  1570. ; http://php.net/assert.exception
    . k0 L* G3 ?& a. ~
  1571. ;assert.exception = On
    9 s5 f% ]1 a1 I9 g* j4 M

  1572. * Y/ U0 ^8 B0 G; _" |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)& [7 U% g  |0 I) S
  1574. ; http://php.net/assert.warning
    4 b/ Q5 j5 ?7 ?4 w1 w* c7 M+ _6 v
  1575. ;assert.warning = On
    " Q( R! B  G! y3 I) }, G/ U

  1576. ' F( y2 B9 ~: a8 C5 [" W
  1577. ; Don't bail out by default.
    0 u" r. x6 S- q' M" ~4 V- r2 W
  1578. ; http://php.net/assert.bail! y5 Z, \/ y9 Y( a: L( w0 o7 [
  1579. ;assert.bail = Off+ s% X$ c) i  V, j* x. B; H' T+ @
  1580. 6 Z1 p+ ?' g- C+ t
  1581. ; User-function to be called if an assertion fails.; o! D, K$ ]+ e6 s+ x
  1582. ; http://php.net/assert.callback
    3 L) C5 N/ S% K( f9 g, G2 R+ f
  1583. ;assert.callback = 0
    + V& |3 w& j  T

  1584. ) w$ }% y9 a, t" ]& J5 x% F- L! {4 O
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! A; J$ A$ V5 Y- B, O9 H# L
  1586. ; error_reporting(0) around the eval().
    8 r+ s, g! u) j3 O& e0 x% k+ X" r
  1587. ; http://php.net/assert.quiet-eval$ I% v2 Y2 {% A' o, s4 d. H0 Z
  1588. ;assert.quiet_eval = 0
    0 F3 f, d6 f; q- V5 d
  1589. ! b( p7 }3 x$ [; Z
  1590. [COM]$ L& b8 `. h2 _6 c
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 N( E: C0 i) U- u# R% R7 c
  1592. ; http://php.net/com.typelib-file
    7 f% ?6 A. E( Z( C
  1593. ;com.typelib_file =
    8 A! r3 j% q/ b$ S! p
  1594. + A$ X% m7 `5 o. v
  1595. ; allow Distributed-COM calls
    6 d$ x# Y5 N! C/ T+ }0 e4 O
  1596. ; http://php.net/com.allow-dcom7 o) `! U% _" ~
  1597. ;com.allow_dcom = true
    ( a. n* `+ s& M9 W! T& h, M

  1598. * ]' n- P6 q; t, [+ G# S
  1599. ; autoregister constants of a components typlib on com_load()7 O, d, T7 H  @' d& J
  1600. ; http://php.net/com.autoregister-typelib
    " b/ Q8 ?' I6 _
  1601. ;com.autoregister_typelib = true$ w' m) ?/ p  X; H6 |2 x# k2 H" @! {

  1602. ' g& X7 l; e$ v( a8 ]1 k2 ]
  1603. ; register constants casesensitive) L" O& V: N% H- a8 f- L
  1604. ; http://php.net/com.autoregister-casesensitive% {3 Y8 j) L8 N0 ]
  1605. ;com.autoregister_casesensitive = false; d9 W, Z" n0 f
  1606. 5 Z; D* g/ A$ T
  1607. ; show warnings on duplicate constant registrations
    * f6 U% G/ j6 ]
  1608. ; http://php.net/com.autoregister-verbose
    $ F) y8 f( i* f  g# ~2 z) x
  1609. ;com.autoregister_verbose = true
    # T+ B5 s1 `6 I9 d5 X
  1610. / @2 t- B4 \# j1 m9 W3 M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    $ S* m, ?+ d- X+ U, F) v. b- T- \2 f4 m
  1612. ; Default: system ANSI code page* p" ~& Z& Z: T( `7 k
  1613. ;com.code_page=
    0 B2 ]! I* m$ n6 ^6 Z

  1614. % ?( P) T2 O- Y
  1615. [mbstring]. K0 G5 R% b% d6 L. c
  1616. ; language for internal character representation.+ k5 y# v' J2 w/ e" B# S+ H1 Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ; e2 J+ M% i) Q
  1618. ; http://php.net/mbstring.language
    / l7 C( f1 r; l2 ~% N5 i8 b
  1619. ;mbstring.language = Japanese: I/ j& Y& n4 o' B1 Y* ]+ h
  1620.   ~% B5 @0 H) s
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.; M) _- c0 F" ~# i& v/ U* }: d0 z4 c* G
  1622. ; internal/script encoding.3 ~' V( m) c* [6 q5 Z, S/ O
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    5 f5 D: J( ^2 k! a$ K( R( f
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. \7 d) m4 R6 [4 Y1 ~
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 `: ?1 Y9 n+ K7 F) ]/ Z3 @
  1626. ;mbstring.internal_encoding =- s" m7 k/ s$ S, L
  1627. 7 K0 n3 A# P! |
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! ?' h  H. [2 g$ Y3 K$ W0 r* M
  1629. ; http input encoding.
    " G* t5 [8 ?# l# w
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.2 x. R" W; ^4 ^+ ^
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 h  U1 [! S0 m# Q: |3 u* B0 o
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : p* ~& H' n- @, ~* h# Q+ Y
  1633. ; http://php.net/mbstring.http-input3 p4 H! r6 _) e+ v  v8 T' O) j- C
  1634. ;mbstring.http_input =$ R' P8 K# K/ E9 ]1 X2 b$ i
  1635. ( c* o: B* R* K! Q
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.' k; n9 `0 O; H, M/ ^
  1637. ; http output encoding.
    5 @- Y$ F) C8 q/ ^3 c5 \( O+ U+ S
  1638. ; mb_output_handler must be registered as output buffer to function.
    5 K8 A" [8 T9 o: f, ~' T) o3 u4 ~
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 C, x: ]" g$ w$ Q0 ?9 j
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 d1 j/ h+ L* B
  1641. ; To use an output encoding conversion, mbstring's output handler must be set2 P. \% \' b( `  T1 m! s. D
  1642. ; otherwise output encoding conversion cannot be performed.* p- n, s. {. P- M( e  g! c
  1643. ; http://php.net/mbstring.http-output
    $ U8 W; K2 i9 R- J- v
  1644. ;mbstring.http_output =+ ^2 V7 D5 ~. D. _9 W  y  U

  1645. 1 ^' E' o1 k  U
  1646. ; enable automatic encoding translation according to) l& l0 p3 C3 ]4 W$ {, u
  1647. ; mbstring.internal_encoding setting. Input chars are& g/ a2 H# x6 d% H/ g
  1648. ; converted to internal encoding by setting this to On.
    4 D, |* }" F  `( `" O" G( p8 K6 P
  1649. ; Note: Do _not_ use automatic encoding translation for
    - }- V* \/ E% t4 V
  1650. ;       portable libs/applications.
    % N# f2 S$ l9 V. K4 h+ K4 L
  1651. ; http://php.net/mbstring.encoding-translation4 C' |6 N# ?7 B4 f
  1652. ;mbstring.encoding_translation = Off
    3 ]$ m4 P* N' A& {' B/ v

  1653. " M7 n  U4 f# K, {/ S
  1654. ; automatic encoding detection order.0 y. `* O# [; B, j, s" x$ `+ w
  1655. ; "auto" detect order is changed according to mbstring.language8 x/ P4 M" T4 ~& d5 R
  1656. ; http://php.net/mbstring.detect-order. h8 G& ^, R, A5 u1 d
  1657. ;mbstring.detect_order = auto
    ; d$ P3 N! u" z0 o+ ]2 u

  1658. " i9 A  {" n: {
  1659. ; substitute_character used when character cannot be converted
    1 [) N& M; A2 a; Q8 ?
  1660. ; one from another- Z3 z# f' t$ j4 c
  1661. ; http://php.net/mbstring.substitute-character
    % v4 s! ~% S" u+ b: A/ |
  1662. ;mbstring.substitute_character = none
    , g0 ^7 W4 n2 J5 _/ J, \
  1663. : R4 |6 [1 w" S1 B
  1664. ; overload(replace) single byte functions by mbstring functions.* U! _' `4 ]3 \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 C- X' {+ E' T) T
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 E$ h$ P" ^' q2 f
  1667. ; For example, 7 for overload everything.9 k8 O/ T/ j3 p& E2 l" h- _
  1668. ; 0: No overload
    9 @( i" g, o' R$ I+ ~' r8 W% U
  1669. ; 1: Overload mail() function, W* T6 d* E) J4 _
  1670. ; 2: Overload str*() functions" e) W  e, r; W9 e! }2 w
  1671. ; 4: Overload ereg*() functions
    ) l5 U+ l( G5 p0 t" Z0 [
  1672. ; http://php.net/mbstring.func-overload% H1 s' p! r5 G! ]2 z
  1673. ;mbstring.func_overload = 03 I7 Y% F2 B" e- y

  1674. 9 }* N( d5 o4 t8 T0 O, [  J4 r4 `
  1675. ; enable strict encoding detection.
    . \/ \( ]: l2 I# H8 U, E' m( P  w
  1676. ; Default: Off
    * Q# H0 }. B4 V/ H9 ~+ p5 `+ z5 V
  1677. ;mbstring.strict_detection = On$ ^5 `7 g! E) w; P
  1678. $ {# q* H+ N. R- T6 z( T# W6 y$ s
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 G3 o* {0 B4 m4 H
  1680. ; is activated.4 |2 ]9 i$ L8 F7 m+ Q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    % s* B3 N; Y: @* Z% V
  1682. ;mbstring.http_output_conv_mimetype=
    " u4 n: Y% u( l& y; _

  1683. + `  x6 Z* \/ h
  1684. [gd]
    2 y  e& q2 F5 S. x8 D* H1 C
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    - W3 `' @% J* u* X! z
  1686. ; a gd image. The warning will then be displayed as notices( N1 }# k% @8 Y
  1687. ; disabled by default
    8 B& w' T, z, Q, Q; F
  1688. ; http://php.net/gd.jpeg-ignore-warning; ~) N( T$ e4 t0 K
  1689. ;gd.jpeg_ignore_warning = 0& Q; I" Y* D; l7 l: d
  1690.   K6 p5 k: }$ t
  1691. [exif]
    8 K" O, G2 U" `; w7 I- z, y9 h
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ I) {0 P$ A# o' Z( p7 r4 P) e
  1693. ; With mbstring support this will automatically be converted into the encoding% u) E8 W: x8 ^. o  Z6 l
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& ?3 c, o- G" ^' ?" Y
  1695. ; is used. For the decode settings you can distinguish between motorola and
    % y- i+ \' m4 d4 l4 R9 S7 t. {' G
  1696. ; intel byte order. A decode setting cannot be empty.( O$ ~( l) o2 g
  1697. ; http://php.net/exif.encode-unicode' `5 g$ C# m# M; I2 ?
  1698. ;exif.encode_unicode = ISO-8859-15! g9 n% v$ @2 a$ s1 {8 ~
  1699. ' v, K4 c0 Q9 w9 J9 I
  1700. ; http://php.net/exif.decode-unicode-motorola
    2 q+ F1 N: D! U3 t8 {4 q3 L5 j
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    + y2 x) |( n% a/ N

  1702. * ^' V7 t3 J1 K/ x& F3 v8 y( {
  1703. ; http://php.net/exif.decode-unicode-intel! k2 Z! k: b" j  {$ U
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    3 n/ t# J2 |* Y6 Y! ~$ N

  1705. 7 @* n, x) j/ G5 u/ V
  1706. ; http://php.net/exif.encode-jis
    " x, t) g% }1 E: X4 S8 @
  1707. ;exif.encode_jis =
    ; S, o: ~0 g8 U) @  S" W! K
  1708. 3 U+ h% i( \! G6 |+ l* _3 D
  1709. ; http://php.net/exif.decode-jis-motorola# r+ b( |1 k/ W1 w) ~) E$ l
  1710. ;exif.decode_jis_motorola = JIS
    / l3 U' `5 ]3 G9 N

  1711. 5 H6 }9 x# e7 U% H5 Y8 `
  1712. ; http://php.net/exif.decode-jis-intel; l3 z9 p( H3 G  r6 t) u- v
  1713. ;exif.decode_jis_intel    = JIS
    ' w( _7 Y" x$ X; h* V1 A* v
  1714. ' u4 q/ d& ?% Z2 {7 e. Z# U
  1715. [Tidy]
    ( Q3 A, F/ Q+ t& E( V. i
  1716. ; The path to a default tidy configuration file to use when using tidy3 i) C- b' p; V: h, ]1 s# U
  1717. ; http://php.net/tidy.default-config6 l2 J: Q5 U  {6 v9 e3 X5 L  e8 P
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 x) t$ @; D, j% q) D# r
  1719. 5 b$ ^/ j1 k' R+ t7 L4 X3 ]
  1720. ; Should tidy clean and repair output automatically?2 t6 l9 M4 i7 q5 H. D6 Z
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ) k8 }& {8 D3 M
  1722. ; such as dynamic images
    2 L* M3 Q: A. I0 V: f6 p* E# _% F+ g6 w
  1723. ; http://php.net/tidy.clean-output1 ?9 G$ d& U! G; q/ u
  1724. tidy.clean_output = Off
    6 |. c* g4 V3 c1 E9 H; ^

  1725. 7 o4 y3 R- J9 T% G% o$ _
  1726. [soap]
    2 p  G- o* ~4 w& h
  1727. ; Enables or disables WSDL caching feature.: G9 `0 o0 C2 j' E; J
  1728. ; http://php.net/soap.wsdl-cache-enabled- d7 f" z; [! V8 Q/ R
  1729. soap.wsdl_cache_enabled=1
    , D) [) U. \: ?3 m
  1730. 6 t0 d" K/ v9 [# h% _! q
  1731. ; Sets the directory name where SOAP extension will put cache files.* A" t# l* b9 u
  1732. ; http://php.net/soap.wsdl-cache-dir
    , a4 Q4 U. i3 j' F5 E& u" h
  1733. soap.wsdl_cache_dir="/tmp"& P! {% ^( B* {9 m. u
  1734. ) @9 u, W6 }2 G. J( ?+ e) s: r
  1735. ; (time to live) Sets the number of second while cached file will be used
    7 S3 K9 o* Z; v3 Z: _% Y
  1736. ; instead of original one.
    0 J  C8 }4 r: v& l) f( o/ v
  1737. ; http://php.net/soap.wsdl-cache-ttl& S' Y  c" K, S1 R9 C' l/ w
  1738. soap.wsdl_cache_ttl=86400
    0 Q3 k. a/ ?: @6 [1 l( i
  1739. $ C& z1 A/ P9 H7 _! h  G! T* s+ a
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    " |5 h. Q( P( k/ t6 E
  1741. soap.wsdl_cache_limit = 5
    ' t& N$ s* D# h
  1742. # F3 u" ?9 y- m+ a# @3 e
  1743. [sysvshm]
    7 d5 M4 \5 e* r$ s5 ?5 _
  1744. ; A default size of the shared memory segment
    $ f# z1 q* \) S# x2 G4 D
  1745. ;sysvshm.init_mem = 100007 D9 O& K% N3 Y
  1746. ) |% k; h: l  r  N# j7 ?! Y
  1747. [ldap]
      Z( ~1 {+ @5 S* f0 u/ ?' U' U
  1748. ; Sets the maximum number of open links or -1 for unlimited.8 S. I2 @! t0 v, {$ D7 C
  1749. ldap.max_links = -1
    - N: A. b; I- N( L1 x

  1750. & O, x. ~* P# Y# a  W2 K" o
  1751. [mcrypt]( y9 L8 ~+ J: i' ]" Z9 M/ e5 s
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 t) \2 S4 a4 J3 z, n" K
  1753. # d3 Y( d9 x$ t* g
  1754. ; Directory where to load mcrypt algorithms
    ) T% a4 O/ u( j7 Y1 I+ C
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " n: X; \9 d2 h* N7 Y& O% ]! W
  1756. ;mcrypt.algorithms_dir=+ U& J+ e" c5 u6 Z
  1757. & X6 t+ V# ]5 T# S& u; G
  1758. ; Directory where to load mcrypt modes
    6 }" ?. G0 t5 u+ }1 d, A! O. [1 T
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- T9 i& Z6 g7 i- W: Q) c& m, G! r
  1760. ;mcrypt.modes_dir=
    . A* P3 o( u4 S2 a

  1761.   @) D$ }+ r# F7 E2 x
  1762. [dba]/ n0 K' h, `! [0 h
  1763. ;dba.default_handler=
    & ?7 G$ ]- D0 q; K
  1764. 5 n/ O4 B, ~; K! n- y8 Y, W2 L
  1765. [opcache]( I) W0 o5 z! z: Y, j! |
  1766. ; Determines if Zend OPCache is enabled
    , D+ t9 Z- Z* A6 ^- |
  1767. ;opcache.enable=0: f; J3 a, ~  ]2 c4 b% _8 f
  1768. 4 ]: ~! }; O9 x; D  u$ J- S
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP: w1 N: F( J1 h: p9 B5 C
  1770. ;opcache.enable_cli=0$ E4 }. i2 ^4 o$ k' M# I7 ^% Y" S& f
  1771. % O% g0 r& i* M/ m' d4 G
  1772. ; The OPcache shared memory storage size.; R, R7 a" ]  _  x5 i  z
  1773. ;opcache.memory_consumption=64
    4 _  \. L: ^7 a

  1774. 1 D' m# b( v, h( s  F6 D5 j
  1775. ; The amount of memory for interned strings in Mbytes.% [% a/ D: }# \4 B. U* x% m
  1776. ;opcache.interned_strings_buffer=4+ H( W9 @$ `2 \) f) o
  1777. . L, D7 q5 U! x- e0 y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.8 C# V8 L" A3 Q+ e* Z* ^/ V/ i& H
  1779. ; Only numbers between 200 and 1000000 are allowed.( A* ?# d8 _  Q+ ~( E* Y& O
  1780. ;opcache.max_accelerated_files=2000
    / \& |# C! K. i0 F
  1781. + M- G- Q0 [; w" R/ ]
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* ~7 M' P; c; b9 P* b
  1783. ;opcache.max_wasted_percentage=5+ E# h7 K- u; A& v7 B- S' ^
  1784. ! {" `; F  ^5 E8 K  s- ]7 J( I6 H
  1785. ; When this directive is enabled, the OPcache appends the current working
    " r4 `6 ~5 `/ _4 K
  1786. ; directory to the script key, thus eliminating possible collisions between* I# O3 n9 g3 V6 N' ?. ?
  1787. ; files with the same name (basename). Disabling the directive improves
    * D6 r# R* M" Z( z+ ?  G2 t
  1788. ; performance, but may break existing applications.0 O$ c& Y8 t5 N$ W4 O4 i" _& d& H
  1789. ;opcache.use_cwd=1
    3 u* R. i1 g1 T4 M% x

  1790. $ s- h& d- _9 v8 M% Q" u
  1791. ; When disabled, you must reset the OPcache manually or restart the0 T+ m- Q" S) K8 v% U
  1792. ; webserver for changes to the filesystem to take effect.5 K/ d; K* {2 E9 s
  1793. ;opcache.validate_timestamps=1
    1 `4 G) s( j/ g0 [( z0 n1 {
  1794. 3 ], Y; U( [0 R+ K
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! t' K# v; Y0 H4 M3 [
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    2 ]8 T0 K9 n+ k) \( x2 I
  1797. ; once per request. "0" means always validate)# z! C4 l3 n; k1 R; j) Z9 k
  1798. ;opcache.revalidate_freq=2$ p$ T3 B) N: }5 q! V4 v

  1799. 9 e" ^( s$ z6 {' G3 R
  1800. ; Enables or disables file search in include_path optimization" k# D. t. n# c
  1801. ;opcache.revalidate_path=0
    ! e. p" ]- h$ U' T  W
  1802. 2 T3 p- w( L6 f8 i
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 y0 @6 K# l! u2 X2 t% ]
  1804. ; size of the optimized code.
    : ^; ~6 V2 G/ y5 R; |
  1805. ;opcache.save_comments=1
    " e- H6 K  X1 C# B) l
  1806. ( K, e+ l0 E7 m" }& i2 L  D
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 z7 I" L1 t' g5 [0 c/ Z' V
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.2 a% R8 X: Z! ]1 x) t: W: {; q1 W
  1809. ;opcache.fast_shutdown=0
    / K$ Y- F4 Z/ f7 o6 T% ~

  1810. 9 E( g9 h3 T- p) d2 u( M2 N# ?
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 e2 L! y, `0 Z0 W: q
  1812. ;opcache.enable_file_override=0# V' R! O0 V% H- \
  1813. / W7 |' H& t* x3 f( U' Z6 J5 F1 m6 N8 S
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache, b( p5 W5 q9 Z" b+ }: I$ {) H6 d' Y
  1815. ; passes
    9 i) j$ K9 B3 J; S# `' J
  1816. ;opcache.optimization_level=0xffffffff7 a1 {8 ]; d& M1 D) {9 r
  1817. 5 o& \# \+ a- y- n) b, Y
  1818. ;opcache.inherited_hack=1
    ; j8 C8 _- `( I/ l# ~3 R% s
  1819. ;opcache.dups_fix=0
    , C4 \8 J& p3 W5 N( V& `6 X/ f5 i
  1820. $ v2 |5 m% @. n# z  E- E( A% k
  1821. ; The location of the OPcache blacklist file (wildcards allowed).) n: z8 V" w  @$ R; i' Q& o8 N
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 S7 a; y( v) c( j/ h
  1823. ; that should not be accelerated. The file format is to add each filename: }6 |, Q% R+ m1 D
  1824. ; to a new line. The filename may be a full path or just a file prefix6 k' o6 {- y# ]2 \8 y
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www5 I" W4 |& j2 m8 O4 E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).5 y+ g# Y* e9 @2 W; D- M4 {
  1827. ;opcache.blacklist_filename=2 ?  g( e+ Z) e. R5 @7 a3 r# \1 O

  1828. ) f# ~  w/ X# `
  1829. ; Allows exclusion of large files from being cached. By default all files
    * |. G7 p8 w5 [& ]% G% ^
  1830. ; are cached.
    0 R4 }, A- X6 S+ U: F' |% ?8 G
  1831. ;opcache.max_file_size=0
    , P5 w' U; [, Z/ x9 k  T! h

  1832. % r% u( ^2 M2 G2 s" r  v
  1833. ; Check the cache checksum each N requests.% ~8 e' g& [# W  a
  1834. ; The default value of "0" means that the checks are disabled.
    8 Q9 a: ?+ `: E- T! v4 e
  1835. ;opcache.consistency_checks=0
    & b' _3 t9 `5 i0 V
  1836. & D% x; }2 B5 a0 u; ]
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & N/ G) x5 c8 S  U: G! P
  1838. ; is not being accessed.
    4 f# R- Z( Z; T; n/ U- d/ V. l2 {6 d
  1839. ;opcache.force_restart_timeout=180( g1 b: @- r" p" t; y& O

  1840. ' E7 t; S1 Z, o1 o* I+ N
  1841. ; OPcache error_log file name. Empty string assumes "stderr".& A& u9 I# J* b) `! r" \
  1842. ;opcache.error_log=
    2 D. [/ i- y& G, D9 g  Y

  1843. 9 w# P# N: o6 z% H9 w+ G
  1844. ; All OPcache errors go to the Web server log.
    ! Q0 X% I5 k  N7 i$ W3 d( g" |8 J
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ z: ^4 x2 Q3 H& ~* n# W& F
  1846. ; You can also enable warnings (level 2), info messages (level 3) or; r8 v$ Q$ q  F& o; u. I0 M
  1847. ; debug messages (level 4).
    0 y4 ?7 }# q" Y% }% ?& H5 c5 d% ~
  1848. ;opcache.log_verbosity_level=1
    ' @; R4 Y& p3 T" k3 L

  1849. 0 ~; b5 F' [; D7 e
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide." O) m! }- Q' r1 j
  1851. ;opcache.preferred_memory_model=" E2 G# p/ l1 K% z& i& \4 k
  1852. 4 O! _6 e% ~* ~2 S1 a5 Q3 a
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ; a& B. b% F9 ]; Q. v' l3 s
  1854. ; Useful for internal debugging only." N& c, V, a: o- I2 D3 S
  1855. ;opcache.protect_memory=0* Y- T- m1 Y7 f  \7 N& X
  1856. / H5 i" \6 Z! Q: O) Q6 ]/ v  a
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    % c, r8 l4 T) J9 P8 p
  1858. ; started from specified string. The default "" means no restriction% ]/ R# d( c& i' M- @# u5 O
  1859. ;opcache.restrict_api=
    - k4 d. f' j/ K; M* n3 k
  1860. ) X+ |; u+ r) e" G0 }
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP8 b; C* C* t8 _0 w+ |9 V/ l/ H
  1862. ; processes have to map shared memory into the same address space. This- s8 X$ ^8 v5 b+ r! n* k
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ' Z8 f9 V+ U, E, q; O
  1864. ; errors.0 s, T2 j0 Q0 W# Y; Y
  1865. ;opcache.mmap_base=8 O! p/ g. G, B

  1866. % E. e, ?% v8 Z& Y3 H4 ^  k
  1867. ; Enables and sets the second level cache directory.1 @  b% A# x0 s. m& M' N) Q' r
  1868. ; It should improve performance when SHM memory is full, at server restart or7 X* u" J) L( K) o
  1869. ; SHM reset. The default "" disables file based caching.
    + N8 s/ i5 g0 n" |! y9 X& P
  1870. ;opcache.file_cache=* a* h3 i& a5 `

  1871. 8 k- g! T: }) r+ K: f9 i$ a. T
  1872. ; Enables or disables opcode caching in shared memory.$ M- x1 ]- u( n' h9 l
  1873. ;opcache.file_cache_only=04 r3 Q5 Q, V1 [

  1874. " R0 ^* `- y$ t# {& c: y
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    : @5 Q* c) \, |+ B* j
  1876. ;opcache.file_cache_consistency_checks=1
    5 j# x9 ]. y( D3 i  p+ }6 ]( z
  1877. " N! ]7 h- a# w- c) Q4 a- u6 d3 V
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to1 I; o+ Y* U# {$ q. t; a  }% A
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ' K* q4 j1 \3 ?( J3 @
  1880. ; cache is required.
    2 e! \# D3 @3 Y% p- P4 L
  1881. ;opcache.file_cache_fallback=1
      P% u4 a- t4 l( ~4 C; v

  1882. % r0 ?' |" c, s5 g, I8 E! {
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES." j, f+ [& }3 a( |. U) ~6 b
  1884. ; This should improve performance, but requires appropriate OS configuration.! l. d- b. E* }( x) y
  1885. ;opcache.huge_code_pages=19 ]) m) C( V+ {- \
  1886. % I6 M7 o* f8 n% ]2 d3 _  B" H, C
  1887. ; Validate cached file permissions.
      |1 F3 G' O/ h6 N) c
  1888. ; opcache.validate_permission=0
    . O! p4 Z0 @+ F
  1889. 9 W/ f8 R; Z( k; W$ Y; p: C
  1890. ; Prevent name collisions in chroot'ed environment.
    / `$ [! O6 A6 Q9 U/ c2 J2 V
  1891. ; opcache.validate_root=0& |6 q$ \# l( r! F/ [4 `

  1892. ! R( Q8 s  s3 t- ]
  1893. [curl]
    ( k% K' `# P  ^3 `5 L9 ~; |3 g
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    7 M! E5 \6 F" H
  1895. ; absolute path.9 B' i( j! ~1 G$ N/ L
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 q: ^" e" D5 Z

  1897. 8 d. Y% @3 X3 \3 m/ w* B
  1898. [openssl]4 [/ d5 o) k, K, q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. V4 x7 ]: h- C# ]8 C" C- c1 t5 g2 \
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ K; o" o6 C! l$ h, S& x
  1901. ; not specify a value for this directive as PHP will attempt to use the
    + \3 H) e- f) i( j% {
  1902. ; OS-managed cert stores in its absence. If specified, this value may still6 D  Q: Y. {: J% h% X5 r+ N0 g9 P* h( R7 |
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 g% d9 U. F4 S; r! L2 n
  1904. ; option.
    1 S# M9 O$ a/ L/ c
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt8 U4 y( u; _7 a6 o) F, E' r

  1906. 6 w) T" x8 K9 j" H; D* j, E/ E
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the' o. X, A, S$ N! S
  1908. ; directory pointed to by openssl.capath is searched for a suitable' \3 V+ R; }: F6 {. G3 B
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    & o# n) m2 [) B" B1 g7 S% Z
  1910. ; Most users should not specify a value for this directive as PHP will" q. d# {' B& k4 j) K+ I; C
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & n" Y1 P! ]5 j; G8 q( f
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) D! ^' s, x2 k* z' }
  1913. ; SSL stream context option.2 J) j+ _& y, F' I( q3 w
  1914. ;openssl.capath=6 [9 K0 L+ m0 A/ ?1 U

  1915. 6 K! T% @& o" x  ?
  1916. ; Local Variables:9 `8 I6 j) S# t3 G. Y
  1917. ; tab-width: 4: _3 f# d3 v8 u5 \8 d* ^
  1918. ; End:
    3 ?+ X8 Q5 {6 h4 |4 A' l# d" T

  1919. 9 b9 ]* R+ ~/ c8 u* l" Y& V5 ^' L+ z
  1920. ;eaccelerator+ u5 X8 o8 ]  C! z* Q! \
  1921. ' c7 Y, x1 [$ f4 Q
  1922. ;ionCube+ W, i1 K* ^6 h0 [9 D( z8 i- A" l  r/ P

  1923. 6 m7 E" D, l6 r# S2 ~8 Y
  1924. ;opcache
    : I5 M3 _2 }  L! f. y

  1925. & }' \! E3 d' D
  1926. [Zend ZendGuard Loader]
    1 J$ a% X9 Z8 |) o  r3 o, t
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.$ Y& v- b$ B& t& E
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so3 Q# A$ e3 _" ]2 u5 h2 ~5 X2 C
  1929. ;zend_loader.enable=1( s. m  a( C: i  j) Z% _
  1930. ;zend_loader.disable_licensing=0
    ' Y  |4 w: L2 G6 h; I
  1931. ;zend_loader.obfuscation_level_support=3( e, Y4 f& H, Y# C$ p
  1932. ;zend_loader.license_path=
    1 F* T* x( ?: u9 F. `$ ]

  1933. ( a) u" z3 E' N5 _1 l2 K5 J
  1934. ;xcache
    9 g  Z0 W7 H5 R6 |) g
  1935. 6 l/ u( j5 \/ d2 B+ K2 y" h
复制代码

4 \3 X1 f, C( \2 [! M+ H/ G& n4 d% K# `& }* I
) I( o1 H4 i* C5 h

: Q& V  X% z0 z  z8 K
6 D$ X) s% u! i* ?' z$ e4 t  l* {( e; M" s7 Y2 I0 R. ^

$ H; ^/ h/ ?  _8 {: `- t7 FPHP5.6版本原始设置% X% D& m8 M+ K8 I3 i7 }
7 k* j6 R( U$ s' o
  1. [PHP]( y# D: Y% M: I) |4 b; @

  2. 0 z6 Y/ V* M- J! X3 r2 j2 {) a
  3. ;;;;;;;;;;;;;;;;;;;
    " i1 M" y' ?8 m! @. ]8 j; B6 R
  4. ; About php.ini   ;! d# B; g" J! R
  5. ;;;;;;;;;;;;;;;;;;;/ w6 H9 h% P- n6 N. J! J2 @! q1 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      Q8 M& o  d: C& w' _
  7. ; configuring many of the aspects of PHP's behavior.
    ' e: a# q9 ], ]
  8. ' ~' ]) x4 g* O+ A0 n7 e
  9. ; PHP attempts to find and load this configuration from a number of locations." `# g* b' H( g) i: A  |) a
  10. ; The following is a summary of its search order:6 ~' s9 H9 a" s
  11. ; 1. SAPI module specific location.
    $ P. D( ?9 Q" F0 V3 M
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 j8 n: i% I6 U3 |% ?
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)$ y! d0 K  d" Y& ^, s
  14. ; 4. Current working directory (except CLI)
    # \# n8 j- W6 z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 B0 |" @6 X- f: R
  16. ; (otherwise in Windows)
    ( i0 T1 Q. u# h: v. P7 |5 m1 O) j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 K: D: G! s; I( v
  18. ; Windows directory (C:\windows or C:\winnt)
    . x* U4 c- r) v% s+ t! v' |
  19. ; See the PHP docs for more specific information.1 W* B" T% J( u5 a
  20. ; http://php.net/configuration.file4 {8 A, f5 [7 t; y9 \8 X, i; k0 D
  21. 4 s6 _) ~- n) P% u. x; n+ u9 b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* m7 m- ?8 e3 M; d' k( a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) b. F; c' k! b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & b* ^' H6 x/ u/ A; R
  25. ; they might mean something in the future.
    # y& |  i# l4 B# `1 b6 i
  26. 9 j3 |& b# ^. w& x- R+ J8 \
  27. ; Directives following the section heading [PATH=/www/mysite] only4 u* Z0 z7 l3 H5 W% c- a$ k: O/ C
  28. ; apply to PHP files in the /www/mysite directory.  Directives, Z+ Z7 H8 P% P$ {8 V4 q
  29. ; following the section heading [HOST=www.example.com] only apply to
    % V- {0 S8 m  J' e
  30. ; PHP files served from www.example.com.  Directives set in these
    / }+ P- }4 f5 X$ L1 d
  31. ; special sections cannot be overridden by user-defined INI files or  v1 P$ U- c  {6 q, O2 ^# b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / j1 J3 [) Y( q
  33. ; CGI/FastCGI.3 ]* p1 U3 i# z8 p
  34. ; http://php.net/ini.sections6 d8 V. _8 [( e: X% q
  35. # B* c  L7 L" d7 {
  36. ; Directives are specified using the following syntax:* d( [3 y/ \. w& w; y* n. e% Y- U
  37. ; directive = value" s2 n3 S/ y9 D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' Y+ A# G. `5 U
  39. ; Directives are variables used to configure PHP or PHP extensions.
    7 G2 c$ }5 t1 n3 H' U% j
  40. ; There is no name validation.  If PHP can't find an expected+ a) X+ s1 [; r' X8 d2 P
  41. ; directive because it is not set or is mistyped, a default value will be used.0 H9 G; A% ~" [( P) M

  42. 5 x, Q& k$ \! R, @% a/ e8 H1 P
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    1 K- d) ~5 s, c/ Q. S1 @/ k* ~/ y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 A5 R; J8 T5 z* D' @$ [$ J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 B6 o4 o+ V2 I4 q+ l: p1 G
  46. ; previously set variable or directive (e.g. ${foo})4 w- S* y7 B9 j

  47. 1 H' J- u% F. o; g
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' ]' c% v3 u, q4 @# o6 x
  49. ; |  bitwise OR% _) \6 h  A9 B3 c! J" P
  50. ; ^  bitwise XOR; l3 b' }- I8 h1 K% W1 P' r
  51. ; &  bitwise AND
    # n5 w1 C( T" v$ G
  52. ; ~  bitwise NOT6 z' Q4 _1 k* I% I
  53. ; !  boolean NOT
      t1 c; V! b; M! k
  54. 6 f2 a7 M1 z( u" O- P6 @8 ?$ Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 `+ Y1 O0 u8 e7 \8 q" Y! ~
  56. ; They can be turned off using the values 0, Off, False or No.7 n8 M" b% U% B( M' m

  57. ) E  q. A" j$ ~  \, ~$ W* y8 p5 d. U
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' R2 z/ o# A5 z& h$ G. E
  59. ; sign, or by using the None keyword:7 T/ h5 S  p! [; v* ^2 v! P( w, N

  60. + B* Z5 \, F8 m8 H" w6 R
  61. ;  foo =         ; sets foo to an empty string; N7 K. {# j* e
  62. ;  foo = None    ; sets foo to an empty string  r6 Y  d  ^. \( X" M- D
  63. ;  foo = "None"  ; sets foo to the string 'None'  y4 I: H# i  `$ V' M  F0 r
  64. ' u. c4 q" p, {
  65. ; If you use constants in your value, and these constants belong to a
    ! I7 M' W4 X5 F
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 D( N6 m1 Y, E' M0 d, D. y
  67. ; you may only use these constants *after* the line that loads the extension.; H) M+ E) a1 o. c2 U

  68. 7 A! r! D/ @( y2 e
  69. ;;;;;;;;;;;;;;;;;;;
    % q8 H; {3 O* Q! L# F* w
  70. ; About this file ;
    5 Z. q0 }% \# \$ @6 L
  71. ;;;;;;;;;;;;;;;;;;;
    1 R: J' w/ ]# F2 u
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( b8 T: c; a1 I8 G) X( s
  73. ; in production environments and one that is recommended to be used in2 w8 T. ?8 o7 `; l/ l7 a
  74. ; development environments.  A' H$ O) B: n  u  c
  75. 2 O" N- {3 V0 z0 e& J3 r
  76. ; php.ini-production contains settings which hold security, performance and
    8 e) L6 }6 ]( ^+ ~( {
  77. ; best practices at its core. But please be aware, these settings may break: M( ?7 u+ \& Z0 j8 P- R
  78. ; compatibility with older or less security conscience applications. We
    & ~9 \' Q4 {2 m% N- H
  79. ; recommending using the production ini in production and testing environments.
    4 I; @* J3 b6 @/ h
  80. ) g9 Y. U& h0 B
  81. ; php.ini-development is very similar to its production variant, except it is
    + A4 W" M0 L- N  U
  82. ; much more verbose when it comes to errors. We recommend using the
    . U, b) @% @8 t' o8 K
  83. ; development version only in development environments, as errors shown to
    % u- k0 O2 W) W
  84. ; application users can inadvertently leak otherwise secure information.
    7 O# b& L* l* s; v# c9 o: g: D
  85. - G" P2 V' h* L3 u
  86. ; This is php.ini-production INI file.' L4 W/ @( K2 u1 `

  87. $ \% w1 e# U% w  A2 B
  88. ;;;;;;;;;;;;;;;;;;;
    ( X- N2 @1 i) m4 x9 o# M4 _7 P
  89. ; Quick Reference ;
    + d  V. R" Z# h
  90. ;;;;;;;;;;;;;;;;;;;2 \9 `4 t9 b. F5 s: n5 U
  91. ; The following are all the settings which are different in either the production
    8 z9 i& L: S! }& _2 |
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 R' R( V# h0 {2 ?+ I
  93. ; Please see the actual settings later in the document for more details as to why
    * d5 Z% n  W; d5 K; n) {
  94. ; we recommend these changes in PHP's behavior.
    ; O+ h3 Y1 \3 n6 C

  95. ! x, W( Y$ R7 d' j% X) m
  96. ; display_errors1 X0 P7 q1 Z$ H0 ]8 w& @
  97. ;   Default Value: On
    3 A) D# O! ^$ M1 j. C2 {9 T
  98. ;   Development Value: On% ~3 b! Z$ y6 M
  99. ;   Production Value: Off
    ) _/ p2 g8 D9 I# ]% ^3 Q
  100. 9 a  h6 b; S) S2 o& K, ~! y- Z
  101. ; display_startup_errors
    - J; ]# L9 M- d" [- ?
  102. ;   Default Value: Off( M$ I6 U0 W: l7 V+ P
  103. ;   Development Value: On
    7 D; i/ t' Y4 @7 e7 r' N/ U, o: |
  104. ;   Production Value: Off. u0 w$ C  C; o4 |4 ]3 U

  105. ) p4 Q3 ^: o5 p9 @6 p6 N9 B' [
  106. ; error_reporting
    - c5 \5 H& B$ N  H! t3 |. F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 f+ w! ^) w# s! K& }
  108. ;   Development Value: E_ALL
    ; h) }- v6 d( ~$ U, P% w4 w
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  ~* H& E# `) e
  110. ; T$ Q& T5 f3 d
  111. ; html_errors
    0 v$ S/ d% \, z
  112. ;   Default Value: On
    / Z6 s5 p0 u' @# n  v
  113. ;   Development Value: On0 S. |9 v2 M. ~& Q- x, N7 G
  114. ;   Production value: On
    2 B1 D- O) _( h9 ]; f8 R4 @3 R" O

  115. ' {2 |3 D7 ~  @% r
  116. ; log_errors
      O$ ^) L! J0 `* P
  117. ;   Default Value: Off, i/ q- C; T; I$ d. w: P
  118. ;   Development Value: On: D( w- Q9 W/ l! c
  119. ;   Production Value: On& j  N9 a: ^0 r) U- J. \% b/ s

  120. 3 \" X5 q) ~2 B. k
  121. ; max_input_time0 j) N) a* p- ~: Z( P
  122. ;   Default Value: -1 (Unlimited)# z2 d1 Z! ~& v& o3 q
  123. ;   Development Value: 60 (60 seconds)
    : x0 Y; H& k/ ]0 U' R; P
  124. ;   Production Value: 60 (60 seconds)4 I+ U7 X+ l0 v1 [5 x
  125. 1 f) K% j1 ?2 ]
  126. ; output_buffering: S+ B1 ?, r. E$ u$ `: A4 X
  127. ;   Default Value: Off: W7 ]/ Q: S1 `6 X4 q
  128. ;   Development Value: 4096
    8 |$ g: N& \0 I% `
  129. ;   Production Value: 40968 ~3 d- r! q8 ]6 w# x; U

  130. + d9 E6 \  Q' \! k" G
  131. ; register_argc_argv
    " x/ R9 ^; w" ?5 R2 ?; [
  132. ;   Default Value: On$ X1 ]0 P: }8 L- a* j& A0 }
  133. ;   Development Value: Off
    9 _2 w- X1 ]4 |/ z
  134. ;   Production Value: Off. \/ P5 i% A4 E/ r( t

  135. " `: t/ N% J( e6 u$ h8 @
  136. ; request_order6 d1 c0 Y  \# _$ A9 I
  137. ;   Default Value: None
    4 n* O; w3 ]% s  E% t
  138. ;   Development Value: "GP"
    6 ^6 b4 c4 B6 A$ k- r4 q  C
  139. ;   Production Value: "GP"
    " x0 `( h0 o$ a

  140. - N7 e# R0 f  \& x
  141. ; session.gc_divisor; D, t/ {/ ?4 }
  142. ;   Default Value: 1007 c. r9 [6 L- A8 n' i' s
  143. ;   Development Value: 1000/ T+ q2 u8 F2 x2 ~
  144. ;   Production Value: 1000
    7 G0 H. M; j# k6 f

  145. # C" z' v! P( M0 s3 k
  146. ; session.hash_bits_per_character
    7 A! N* b/ W9 q
  147. ;   Default Value: 4
    ( j0 r; \6 E. q0 g
  148. ;   Development Value: 55 f  P2 y3 |- |2 X: X* u+ n- [
  149. ;   Production Value: 5$ t" V6 N$ c3 z1 `# K0 f* H

  150. ) y8 _2 Y+ `% o
  151. ; short_open_tag. {$ [9 {% J/ G- C% V6 a* j- t
  152. ;   Default Value: On
    & {% P4 b" ^+ P, A
  153. ;   Development Value: Off; ~( T4 A& p* D# {$ ^# {
  154. ;   Production Value: Off
    , r8 v$ C, l  h) y& ?- i

  155. 5 y( F% `/ w% G. t
  156. ; track_errors
    % Z0 Y. \7 c9 S
  157. ;   Default Value: Off: v6 \) _6 F1 x  c4 d
  158. ;   Development Value: On
      N: c8 P5 _# b2 q7 G: I6 d+ N7 C
  159. ;   Production Value: Off3 {9 ~$ |3 O% S

  160. ( X: L- ^4 J5 i: n) c( ?
  161. ; url_rewriter.tags
    & l. P) q/ p1 ~2 @; |; n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # ]* I! O/ S2 X: D/ D
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & t4 d2 x6 s* |7 R
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* [5 t% @' I. F% P( O3 y* Q

  165. & C- R/ `1 p: e
  166. ; variables_order
    - S+ W; L5 v! J3 n3 x* F9 A
  167. ;   Default Value: "EGPCS"( g6 h/ F, Y9 \* X8 q3 l8 L
  168. ;   Development Value: "GPCS"4 E5 `+ p. S" e0 q
  169. ;   Production Value: "GPCS"5 V7 A: v3 u. J4 h9 J% d
  170. 4 }* @) j0 M. R( z
  171. ;;;;;;;;;;;;;;;;;;;;5 \: @6 j0 b; ^& X: u" P! v5 }6 k
  172. ; php.ini Options  ;
    3 d2 e1 {2 r6 q0 ^# B) B/ k
  173. ;;;;;;;;;;;;;;;;;;;;
    2 ~' V1 {2 C6 {+ W; H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    * J1 q$ A0 m' e. I/ \
  175. ;user_ini.filename = ".user.ini"
    # J/ l! Q# }9 h- `" Q
  176. + t0 g" V7 o7 J  S
  177. ; To disable this feature set this option to empty value4 }- y) Y* q$ K/ b9 }5 i  N+ `! w: w
  178. ;user_ini.filename =
    ' [# E3 q0 n" k$ b1 c/ M

  179. / ]: s, B6 Y* w7 m* q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)) a" A1 B4 M" j% A# M
  181. ;user_ini.cache_ttl = 300: F/ O% X' G# U- B3 u. x( L. b% F

  182. ! o' H+ `3 ~/ }2 F5 @
  183. ;;;;;;;;;;;;;;;;;;;;5 S9 X1 p7 c/ F
  184. ; Language Options ;% ?. K% ?) Y6 Q6 r, L+ |, Q; t* }" Q0 J
  185. ;;;;;;;;;;;;;;;;;;;;
    & j' v' h: C. w
  186. ! R; m* i# P8 v0 N, x
  187. ; Enable the PHP scripting language engine under Apache.
    # K' g' l# C3 K+ y, \
  188. ; http://php.net/engine
    0 Q5 C# b6 t' F1 j& H
  189. engine = On7 h. s9 D- R' b2 k

  190. 4 C" X7 h! _- G8 ]/ n0 p
  191. ; This directive determines whether or not PHP will recognize code between
    $ c6 T2 f; f, O9 D: t. ^1 S3 k4 }2 L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# N" f; ?: ?0 c0 F
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - a! g2 e. d$ {  Z6 ~6 a8 O6 ^
  194. ; should be disabled, as enabling it may result in issues when generating XML
    " V  d: ~1 K" {4 I% v6 C
  195. ; documents, however this remains supported for backward compatibility reasons.
    ; r0 N4 I$ @* I, d: B, J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 @; U3 A7 b2 ^8 r7 G. Y
  197. ; used regardless of this directive.7 X/ M  t/ T2 R, l
  198. ; Default Value: On0 L  g: C' F( q) ]
  199. ; Development Value: Off3 u. s  h" [+ H/ t7 O% J/ ~
  200. ; Production Value: Off
    8 v% l( p# g, N% r, c" g% y+ m0 R* f9 A
  201. ; http://php.net/short-open-tag
    ( c* A8 p7 p- J- Y' s
  202. short_open_tag = On
    & A! A, E  c, \% s5 B6 R$ R

  203.   M: z# S$ e0 o/ n& b  t- I9 o- w
  204. ; Allow ASP-style <% %> tags.$ H0 k1 D, i+ c6 \6 g1 V
  205. ; http://php.net/asp-tags: f1 P" Z* [: p1 a
  206. asp_tags = Off' F; w- @! L* K2 C8 L8 q7 |
  207. / Y  ]7 ?) v1 z9 e  _
  208. ; The number of significant digits displayed in floating point numbers.: P4 A8 T) Q! z9 d: h( z: f
  209. ; http://php.net/precision! x5 b1 f- `8 R0 }( u
  210. precision = 14; P: x3 q5 Z2 j4 z' c* M

  211. - t% V4 K& \1 Q$ Z( T# w
  212. ; Output buffering is a mechanism for controlling how much output data
    " R' S0 K8 g, A! n
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 h8 ]. X6 z9 `5 i; P# w( S3 l. ]
  214. ; data to the client. If your application's output exceeds this setting, PHP
    " q) C5 Y+ S" R, Y) W
  215. ; will send that data in chunks of roughly the size you specify.
    # Y) V, @, i5 P- j$ A$ z* }
  216. ; Turning on this setting and managing its maximum buffer size can yield some  m- x& o2 _; k. Y
  217. ; interesting side-effects depending on your application and web server.
    ( N, S: R$ K. ~) S! E( r
  218. ; You may be able to send headers and cookies after you've already sent output$ ?# E( j& ?' i* O
  219. ; through print or echo. You also may see performance benefits if your server is
    7 E" W! S  u; }% g# t. W. j" M
  220. ; emitting less packets due to buffered output versus PHP streaming the output
      T$ p( X6 `" ~6 n8 U
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance# G3 m5 W! }5 Y  R
  222. ; reasons.) L. m4 F2 J4 B4 b  `  [: \  ], T
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 y1 B. R& u1 m9 U% c
  224. ;   functions.
    " g# A9 F) R6 @
  225. ; Possible Values:
    # B% h* l; }9 c8 _5 y& o3 X
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)' ]3 p# v7 }; ~$ k) d- F. j! e1 T/ J
  227. ;   Off = Disabled) P" ]1 V3 ]8 p- D& Y
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 ?7 V6 a/ f9 i' F
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI1 Y$ i5 ?1 ^( d  `* a
  230. ; Default Value: Off  p4 P2 F# p' @* G! u
  231. ; Development Value: 40961 x0 z1 i( F' `. t
  232. ; Production Value: 4096
    / d- t7 y/ T$ c! D' m* L
  233. ; http://php.net/output-buffering1 o& }5 U4 N. u9 q' ^% F) w
  234. output_buffering = 4096
    5 U7 `1 ?3 `2 T/ B( v5 |$ o  k0 K

  235. " D9 V7 ~- M: N& V. E1 ^; p
  236. ; You can redirect all of the output of your scripts to a function.  For
    & p" A/ z( k* }
  237. ; example, if you set output_handler to "mb_output_handler", character
    7 A! O' m4 B) W( R7 V
  238. ; encoding will be transparently converted to the specified encoding.5 T$ e3 T0 j: c1 F- M3 b
  239. ; Setting any output handler automatically turns on output buffering.
    " P5 `5 B7 _! D# U
  240. ; Note: People who wrote portable scripts should not depend on this ini
    : H% {3 h6 N1 N9 n# U) F
  241. ;   directive. Instead, explicitly set the output handler using ob_start().  G5 y& y/ c3 A0 H$ e
  242. ;   Using this ini directive may cause problems unless you know what script
    * e2 F. k2 {% Z4 L4 g3 f5 P
  243. ;   is doing.5 P, j$ _& B2 z8 a  G3 ^1 d5 ?
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"  [8 y6 f0 q5 x# F
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 L+ u, o: p: L; D- U( {& ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) K0 h" w; n4 _( ?: Z
  247. ;   Instead you must use zlib.output_handler.
    & J+ e+ a2 J( o7 [
  248. ; http://php.net/output-handler
    # `, v/ M+ l$ g. E
  249. ;output_handler =
    " [8 Q1 K% K4 K! c, W
  250. + ~' v& a; G5 ~4 X) r+ Q
  251. ; Transparent output compression using the zlib library
    % w# V8 x7 y7 k: q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + H0 O4 t/ z. H7 k9 d
  253. ; to be used for compression (default is 4KB)
    4 X' t# F/ ~4 ~2 v
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP0 R, b5 [2 ?. P) M; A) b
  255. ;   outputs chunks that are few hundreds bytes each as a result of- |% O4 Z: S+ l" k/ }* J
  256. ;   compression. If you prefer a larger chunk size for better
    , H7 H* q0 J+ d9 D6 b) c) W
  257. ;   performance, enable output_buffering in addition.
    / v3 e3 d! X$ e/ o# v$ B9 g7 N# t! y
  258. ; Note: You need to use zlib.output_handler instead of the standard
    * a3 f7 M4 X6 G# H
  259. ;   output_handler, or otherwise the output will be corrupted.
    % u: V- Q" {% H5 i+ ~* Z8 D- x0 C% S
  260. ; http://php.net/zlib.output-compression+ I9 p' L0 @. k/ U% L0 F
  261. zlib.output_compression = Off- H, |2 |8 T, f
  262. 0 B" u" ?/ D" K% O0 s, h3 M- f$ U, z
  263. ; http://php.net/zlib.output-compression-level
    # b, r: w) y( F7 [
  264. ;zlib.output_compression_level = -17 q1 }$ N# C4 M( H3 D, n
  265. 7 n# q( x+ T* O6 [5 y/ ^
  266. ; You cannot specify additional output handlers if zlib.output_compression
    6 I* Y! N: {' e8 M8 z: q0 I
  267. ; is activated here. This setting does the same as output_handler but in( B7 V6 D$ Q6 z3 J6 Z2 ?
  268. ; a different order.8 {- X* p8 m& o$ w8 C( V0 l- o
  269. ; http://php.net/zlib.output-handler
    3 E( ?, N- b" u1 W* y! W- t
  270. ;zlib.output_handler =! q  n, a9 d* j% c

  271. 5 }7 L/ X  N+ T( w! G
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    - ~/ G& @; E! j3 T3 h
  273. ; automatically after every output block.  This is equivalent to calling the
    6 L/ x9 \" l) o6 C2 V9 K; h  B+ ~
  274. ; PHP function flush() after each and every call to print() or echo() and each
    7 q; n- E. W) p; i: N
  275. ; and every HTML block.  Turning this option on has serious performance
    : ?9 j% r3 d$ k0 R7 _' Y! z
  276. ; implications and is generally recommended for debugging purposes only., s& `% A% F5 l: ^
  277. ; http://php.net/implicit-flush
    1 d  n1 R" {3 \/ |4 a5 Z
  278. ; Note: This directive is hardcoded to On for the CLI SAPI  D1 O6 L/ F9 G
  279. implicit_flush = Off
    ( \  i, Q3 [7 L
  280. $ O( |2 R: N9 i
  281. ; The unserialize callback function will be called (with the undefined class'
      d/ Y) D0 ^; o: E; q
  282. ; name as parameter), if the unserializer finds an undefined class" Q1 t4 E0 K  }0 @& \( o6 b/ l
  283. ; which should be instantiated. A warning appears if the specified function is* ]/ }9 u) f8 H( h
  284. ; not defined, or if the function doesn't include/implement the missing class.
    1 Y' J- G1 P9 S; t: C; C
  285. ; So only set this entry, if you really want to implement such a! d' U9 \( F' P8 S! a7 }
  286. ; callback-function.
    & a0 V0 J' |5 n/ }/ G; }" j+ U+ D! ]* z
  287. unserialize_callback_func =0 l' M; _& p$ c( `7 s
  288. ) i+ X" n* t8 a
  289. ; When floats & doubles are serialized store serialize_precision significant/ ^  q  H& ~" j, j: C) ^
  290. ; digits after the floating point. The default value ensures that when floats
    ' b/ Y$ S% z! }/ [
  291. ; are decoded with unserialize, the data will remain the same.
    - V& Y$ X7 B3 J0 s) v, o) V
  292. serialize_precision = 17
    5 D) d$ O: _( B' Z' |
  293. / _1 ^6 M1 T- r3 u* D! J: b2 d
  294. ; open_basedir, if set, limits all file operations to the defined directory* R' L  R7 G! z2 Z
  295. ; and below.  This directive makes most sense if used in a per-directory- [" k* |5 z+ X$ q# v; l& y$ f
  296. ; or per-virtualhost web server configuration file.
    & b( R# T. u( `" a
  297. ; http://php.net/open-basedir
    ) `* Z& u" l% T" o6 i
  298. ;open_basedir =% f# \) Y6 F0 Z
  299. + y3 E& G( Z& @
  300. ; This directive allows you to disable certain functions for security reasons.3 A3 s  a& N- n9 ]: [8 E
  301. ; It receives a comma-delimited list of function names.
    $ x! R, a- a1 v
  302. ; http://php.net/disable-functions
    3 d" l6 @0 o& Z. q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# t; \- e# ?; A- O9 d

  304.   S# q* R. ]! P# q9 Q! x8 g* C
  305. ; This directive allows you to disable certain classes for security reasons.
    : ]1 m0 X( \3 {- G  Q6 b
  306. ; It receives a comma-delimited list of class names.
    6 y: h4 }7 O4 b: L% d% U
  307. ; http://php.net/disable-classes1 e7 ^! S/ c" A4 o, _2 J. g
  308. disable_classes =! m: o1 G6 o' I  o8 N

  309. " S' a) b. c2 A. p/ W
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* J! J* W* M' d5 y) c. H( d
  311. ; <span style="color: ???????"> would work.
    " J# ~- h  h  V+ T5 D( G$ i
  312. ; http://php.net/syntax-highlighting
    + j" W5 R2 c  c2 N/ M! |# J
  313. ;highlight.string  = #DD0000
    * V: Q8 S& M4 W4 t+ M* L% l3 q
  314. ;highlight.comment = #FF9900
    9 i( }. @4 x" W1 H+ T
  315. ;highlight.keyword = #0077001 y- v9 o) Y6 x) @  b
  316. ;highlight.default = #0000BB! W( {& V% M" t( U$ H4 ?
  317. ;highlight.html    = #000000
    ; d$ d5 F. v4 S) S( W% I
  318. 4 a3 w& Q$ c) B+ j1 D1 }
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    5 q! Q' o4 [+ y* w( S
  320. ; the request. Consider enabling it if executing long requests, which may end up2 b+ z$ ^3 g5 n; `- K" [
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    1 N4 i& o9 L. l: c8 H; l. n  l
  322. ; is to disable this feature.
    . r* r# j2 h4 W- q) D5 N
  323. ; http://php.net/ignore-user-abort# @4 z& n- C" e7 @1 a- o( B$ A
  324. ;ignore_user_abort = On
    + D) }1 t# U& {. ]% ]

  325. / W4 z1 @, S. q5 `" C! e
  326. ; Determines the size of the realpath cache to be used by PHP. This value should, |% @, D% h6 E$ H" Y& @
  327. ; be increased on systems where PHP opens many files to reflect the quantity of( ~1 Y- _/ d: {$ s# B
  328. ; the file operations performed.( R  L( f- c8 i' q% k* j( q
  329. ; http://php.net/realpath-cache-size
    3 c, L" o: K( w0 g9 y  f4 E
  330. ;realpath_cache_size = 16k
    / H) c8 N* J0 Y& @+ B! a

  331. 3 o4 N; L% t9 Q; W6 H' Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    3 m0 R( m  l: h, b- F9 I
  333. ; file or directory. For systems with rarely changing files, consider increasing this/ _4 p/ Q& O. o1 _% a8 J
  334. ; value.
    * s0 N1 w0 [. ^6 N/ q
  335. ; http://php.net/realpath-cache-ttl, g; i. F. I0 o2 W% _" K- g9 B
  336. ;realpath_cache_ttl = 120( B8 S7 @% V' A, x5 B

  337. " T" R7 `( V' u$ v) w; F, V! ^
  338. ; Enables or disables the circular reference collector.1 h# `' w2 p& K9 B) h$ ^
  339. ; http://php.net/zend.enable-gc& w- K9 ?# ^2 G9 n
  340. zend.enable_gc = On
    : M! |0 w! }0 r; t+ A0 o& ^+ T, w

  341. ; W* K8 r& {% j) U; I7 S
  342. ; If enabled, scripts may be written in encodings that are incompatible with% S8 l$ R0 q6 a! W8 a
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    7 ?( j; y: H( {: X, ?
  344. ; encodings.  To use this feature, mbstring extension must be enabled." F1 \, B8 z; ~: x' T2 j! D
  345. ; Default: Off
    ; T, w) `+ u- _- V) z- o. y
  346. ;zend.multibyte = Off3 Z% S; }# {7 H* I( ^& z/ n$ T1 B0 ]
  347. 3 q9 [7 ?: a/ `* h- R6 q/ K
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    " M+ {: r' t, X8 ?9 D* P
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.' d7 M  l( E: @6 S5 v$ S# F# }
  350. ; Only affects if zend.multibyte is set.5 p( X3 L; `( s9 a8 q9 e' I6 x  H
  351. ; Default: ""
    " j% `' E4 ]$ ~6 A3 D
  352. ;zend.script_encoding =
    % Y3 [' S9 q4 ~0 }% [
  353. * Q4 i' s8 I( }$ A
  354. ;;;;;;;;;;;;;;;;;
    0 k) Z. z6 q* Z  g9 f
  355. ; Miscellaneous ;1 O' l" l1 W( m* A& I; C
  356. ;;;;;;;;;;;;;;;;;5 k6 j/ q# K; ?1 g

  357. $ P# x$ G/ H8 G+ Y
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    5 T2 l8 V( y+ @' o" x- h
  359. ; (e.g. by adding its signature to the Web server header).  It is no security2 b  {2 g4 p( ]* e; Y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP+ \. i) B# v( c) _8 J& A; r
  361. ; on your server or not.
    4 }6 z4 C; p0 l9 y- q' M# f6 T
  362. ; http://php.net/expose-php1 }3 |/ N! r8 Z0 p: G
  363. expose_php = On9 \* u4 J4 p/ a0 ~% t

  364. 3 P, P" c: X5 _
  365. ;;;;;;;;;;;;;;;;;;;" ~1 O  ]0 H9 [, C( ^0 l9 V
  366. ; Resource Limits ;2 K& E. S" N( r' `7 H5 n
  367. ;;;;;;;;;;;;;;;;;;;
    5 e/ T/ u2 v6 r" V% `- o( _
  368. ! N1 A1 X- i6 i4 B$ J& K
  369. ; Maximum execution time of each script, in seconds
    1 ]: a7 l! z( `
  370. ; http://php.net/max-execution-time
    , q& P6 |  E) v; v; p4 H
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI' `& X  |) _2 x5 F$ N) R7 ?% I
  372. max_execution_time = 300/ l  d  A8 w2 W
  373. & v# Y+ g" P$ R) B+ m+ C/ e
  374. ; Maximum amount of time each script may spend parsing request data. It's a good$ c" U% _" E2 G
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 G# k6 Z) s9 H7 H. T; C
  376. ; long running scripts.$ O: ~0 p+ {/ d! q9 a: U/ G
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI/ |2 ~8 W9 T* T7 n! K
  378. ; Default Value: -1 (Unlimited)
    % d: A9 m9 b0 u% p$ Z# V
  379. ; Development Value: 60 (60 seconds)% `* q+ H* q8 h7 a4 f- k; S
  380. ; Production Value: 60 (60 seconds)3 Y" h1 I; l0 i; F; Q
  381. ; http://php.net/max-input-time8 z( e/ z. h1 \  b
  382. max_input_time = 60
    - U2 V  J( X$ r# L( m' k

  383. ; P( @$ m2 S; A
  384. ; Maximum input variable nesting level
      t* j5 D% `5 w" ^0 y& W! Y
  385. ; http://php.net/max-input-nesting-level
    0 H+ P/ P( I& O: G* U
  386. ;max_input_nesting_level = 64+ L# Y. D+ ~2 y3 z1 x: D- ?* `; M5 T
  387. 4 G  ~- b& b% D* f+ M
  388. ; How many GET/POST/COOKIE input variables may be accepted7 x9 w9 h( a3 n/ O
  389. ; max_input_vars = 1000
    # P5 B2 R$ H0 e& K# ^
  390. 4 s" O0 g1 w- y1 |5 E4 M; M
  391. ; Maximum amount of memory a script may consume (128MB)
    9 w$ N, u9 O( n
  392. ; http://php.net/memory-limit+ Q. g* n: p) I8 f6 W, A
  393. memory_limit = 128M9 d( L% Q/ }) R) W8 Z, t

  394. 9 p- Z8 c# |6 Z* ^& I
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ ^3 {; ~( x1 Y/ U* I4 Q' V
  396. ; Error handling and logging ;
    0 q( J; j8 w/ V- U
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  F0 G4 q& d2 y4 B/ P/ [+ k

  398. " {) s* \& j' o7 p, G+ F$ X# n  Y
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    : J; f+ k$ _0 h' }5 ?+ ]2 |
  400. ; it to take action for. The recommended way of setting values for this% Y- z. V% p' {
  401. ; directive is through the use of the error level constants and bitwise: o& b1 p; u( P% m
  402. ; operators. The error level constants are below here for convenience as well as+ G+ z' T$ q7 c
  403. ; some common settings and their meanings.! U4 g  J7 E8 X0 k& V7 v, Z7 F
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    / {8 X' y+ M2 o( G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      Y2 C6 l( K  Y- T4 P2 @
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    & O9 f. f9 X4 ^" K2 T. ?' ~
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 N. X$ Q5 U3 J) y% I) Y3 f
  408. ; resources complaining about best practices and coding standards. That's what9 H+ ^. b3 O8 s3 }8 @; N
  409. ; development servers and development settings are for.$ m; v( F4 @) m8 w" k
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) M' C  f  J6 M3 [5 X& c9 z( n5 f
  411. ; means it pretty much reports everything which is exactly what you want during
    " J: o2 }, R" J9 z
  412. ; development and early testing.
    4 f7 V6 k1 d; j4 J5 @0 ^2 ~
  413. ;( A& }+ u/ @9 D! j  q! `9 \: A
  414. ; Error Level Constants:% J  I+ c" f6 T* g; g$ F/ W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 h3 C7 a$ j0 Y  z" ~7 z
  416. ; E_ERROR           - fatal run-time errors
    ' o; W" `7 o5 u* R, g5 F6 X& y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 {  ]- W9 j3 G. a
  418. ; E_WARNING         - run-time warnings (non-fatal errors)" W5 ]# W0 y" O( S- B1 y
  419. ; E_PARSE           - compile-time parse errors
    9 @! X, J- o/ S2 J
  420. ; E_NOTICE          - run-time notices (these are warnings which often result( F! D/ D+ x" o5 W
  421. ;                     from a bug in your code, but it's possible that it was
    ; }: z: x. v2 a; l# I7 q
  422. ;                     intentional (e.g., using an uninitialized variable and2 v/ Q* T, F, [% N, M+ \- w
  423. ;                     relying on the fact it is automatically initialized to an4 n; \5 f- d0 Z
  424. ;                     empty string). J/ M- n9 P9 \0 _
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    % b% n3 Z+ K5 G. u1 U/ C+ b! f
  426. ;                     to your code which will ensure the best interoperability
    ! j& x' m- Z+ z' p/ ?. Z  l/ Z
  427. ;                     and forward compatibility of your code! `- d8 y) k$ i8 ^7 u& S
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup  p. J9 Z% f- q4 y$ Z) g
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 Q) h+ E4 }# X3 f
  430. ;                     initial startup& ~4 v, |( \9 E
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    6 P! U6 v6 L. U: O+ w
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- n) n/ ^) k6 ^% r  F/ |2 Z+ I4 p  y
  433. ; E_USER_ERROR      - user-generated error message
    4 ~- U2 e/ {( l3 y# r  r
  434. ; E_USER_WARNING    - user-generated warning message" k) H9 n. O( X" [+ `' X- p
  435. ; E_USER_NOTICE     - user-generated notice message6 o- j; S! F" W7 F' G) D: J
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    / M1 q, {+ Z$ _
  437. ;                     of PHP. p1 G0 A( u# w& u% v" j
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings* M8 C5 u0 F, [4 T( ?) j, V
  439. ;7 R/ @) H: ]) W- g9 C9 V
  440. ; Common Values:# M) @# I5 ~8 A" v& i' {
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + e3 Q: D9 `5 ]% A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    & O- D: B) O& N# D# X9 y0 Q
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 O0 f1 B2 q4 S' c! ]3 I) S% C) }& Y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    & F, |( B5 ~/ B5 ^. a, P' F6 Q: i" y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ ^7 [( U1 X5 d2 Q4 U# Y4 v) a
  446. ; Development Value: E_ALL
      Y3 ?% }- b& h5 `- C1 m0 @- \3 g: m
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      u+ S5 h0 g5 e" R5 F3 i$ t
  448. ; http://php.net/error-reporting
      R/ }4 l! m1 U5 c& x* }4 a6 e
  449. error_reporting = E_ALL & ~E_NOTICE
    & ?7 p2 ~) J8 T" S( z- |, V  e
  450. + I! y  }  N9 N/ s" ^: H* k
  451. ; This directive controls whether or not and where PHP will output errors,
    . q" I8 L/ W: P: W. n& r, i
  452. ; notices and warnings too. Error output is very useful during development, but
    ' n8 o$ J7 c+ i: B( I
  453. ; it could be very dangerous in production environments. Depending on the code
    . k- k( y3 p  U, y& o
  454. ; which is triggering the error, sensitive information could potentially leak
    & m+ U6 B8 M3 l) o% N7 b# x+ l0 o
  455. ; out of your application such as database usernames and passwords or worse.4 Z; e( |( |; x( M$ W- c4 y
  456. ; For production environments, we recommend logging errors rather than
    # {- g& _% L# W0 {2 L) r  E
  457. ; sending them to STDOUT.
    : T- s# h! g% |0 \4 o( ~
  458. ; Possible Values:, }, X8 [. W" r; i4 I7 Z  ~
  459. ;   Off = Do not display any errors7 ?1 Y6 p# U" E
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! B- H; w4 W4 {9 N1 q/ j& G
  461. ;   On or stdout = Display errors to STDOUT0 X  Z* `7 p2 K! D
  462. ; Default Value: On7 B  Q9 S* V8 l, ^+ |
  463. ; Development Value: On
    : `4 x+ E0 E" j0 [* h
  464. ; Production Value: Off
    ' F: P$ l1 F& i; L4 N. Q
  465. ; http://php.net/display-errors
    9 i; u" ^; E: _
  466. display_errors = On
    - @6 a# X3 q2 O) M. S+ ^: |

  467. % r) s6 w8 k* I1 L
  468. ; The display of errors which occur during PHP's startup sequence are handled8 Q( W) T8 s# R) `# Q9 P* O
  469. ; separately from display_errors. PHP's default behavior is to suppress those3 f$ {) T! ?) X' _7 R
  470. ; errors from clients. Turning the display of startup errors on can be useful in; s2 O* R/ I* `! x( c! ?4 G* U- Z
  471. ; debugging configuration problems. We strongly recommend you0 w8 q6 F; D; b, p; B* |
  472. ; set this to 'off' for production servers.$ Y5 b8 T7 g  d
  473. ; Default Value: Off$ }6 [9 I: y! v9 ^1 z5 P
  474. ; Development Value: On8 N5 Z7 m$ R  {8 z* ^. u+ U; ^
  475. ; Production Value: Off
    4 c7 ^; _, |5 \, C3 }6 I
  476. ; http://php.net/display-startup-errors
    % l/ c; P) z! C! _# A7 \" d8 @; g" l
  477. display_startup_errors = Off
    / W: j& z) o1 [

  478. 5 h, @- g, [& U: y* f
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
      t% W: a( ^# T9 Y' r- z
  480. ; server-specific log, STDERR, or a location specified by the error_log
    : A- B8 X$ f" t# F1 {5 ^
  481. ; directive found below. While errors should not be displayed on productions
    % c8 H7 j( F- c3 t6 X9 V7 J6 _, M1 n
  482. ; servers they should still be monitored and logging is a great way to do that.
    - H2 z1 d& S6 [# n4 q
  483. ; Default Value: Off
    + ?1 P) M7 @8 N7 b* X6 l: f6 o
  484. ; Development Value: On
    / k" E+ ~# o$ m. O
  485. ; Production Value: On$ P: \- w; e2 D5 }1 ]+ ^
  486. ; http://php.net/log-errors
    ; W9 Y4 }) ]: E
  487. log_errors = On1 U% D, I& e, ]6 G1 R

  488. * Z; y7 j7 {5 a
  489. ; Set maximum length of log_errors. In error_log information about the source is+ D: e- d, h9 o( ^" B/ I4 i
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.' ]7 D- m: H/ ?) U8 e9 B, A
  491. ; http://php.net/log-errors-max-len
    # s+ c# r9 b7 w% [5 t# T
  492. log_errors_max_len = 1024
    , p" n( M; P( }, _5 l5 z1 }( H

  493. & |% W. j8 [8 B% Q$ [+ D
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . V  n4 R" _  P. e% q
  495. ; line unless ignore_repeated_source is set true.( {3 ?+ {* D  A. n
  496. ; http://php.net/ignore-repeated-errors  Z" h7 Z; E) S  C! s0 X* K  s
  497. ignore_repeated_errors = Off% c" r. Z  P' \- p
  498. 7 K: n0 H8 Z8 o% g; O4 s
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , j: @5 j6 p6 ^8 P
  500. ; is On you will not log errors with repeated messages from different files or
    8 ]7 Z  P! F, B* |
  501. ; source lines.
    / O% u& r! P! ?0 ~( ~- Y3 b
  502. ; http://php.net/ignore-repeated-source5 F* R1 K1 ~  G1 ]6 H; w; W
  503. ignore_repeated_source = Off
    3 V! ]: e& u1 v) J6 r2 g

  504. 2 d9 T  R. k& H1 S: N
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on$ ?( M8 `; K, t& B
  506. ; stdout or in the log). This has only effect in a debug compile, and if& E# a( L1 S" I
  507. ; error reporting includes E_WARNING in the allowed list
    ) l2 ^" d% ^* U% C
  508. ; http://php.net/report-memleaks: q. X0 s4 c2 e# y: J# ?% U. N; Z
  509. report_memleaks = On4 ?3 j( e# b" N: g

  510. " Z2 P2 u* Q+ \6 J5 N- t$ l: Z
  511. ; This setting is on by default.
    " S& K3 ]  a8 u1 Y8 L6 }" D" m! T( Z
  512. ;report_zend_debug = 04 z% [' P0 R* |$ p

  513. 7 m6 G" a* Y/ `+ V- ?
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 c2 n; z* r7 v2 q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    , v1 M. A! ^6 x7 }1 g. g( N7 h
  516. ; however be disabled on production servers.
    & u- N  @! M! Q/ D: ~3 W! _5 ?/ t/ j
  517. ; Default Value: Off; R& X) I( H+ y! d6 Q
  518. ; Development Value: On; I0 r  ]: r2 S2 d0 U/ t5 Y5 B' _5 |
  519. ; Production Value: Off  f: Q5 g: i% V' L% S# V! ?: t
  520. ; http://php.net/track-errors7 l/ h/ P( N% c% G; V. J
  521. track_errors = Off: a( B! a6 }5 ]. U9 l1 G& @
  522. 4 h* r, G! O1 d8 J
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    5 V6 i7 H. \( y+ k! B
  524. ; http://php.net/xmlrpc-errors
    8 O" Y" t. ?6 d# K, L0 ^0 i- _2 m+ f
  525. ;xmlrpc_errors = 07 z' J$ @: v# o6 u  A

  526. 6 i1 S- O) `% T5 C' L
  527. ; An XML-RPC faultCode
    ! O! P; l$ V  v" s+ C" x$ j
  528. ;xmlrpc_error_number = 0; w) O- P: h% E/ i1 C% I
  529. 6 S$ d- ?+ j- h% d1 c
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , H! \) z# _3 P! V3 w9 ~
  531. ; error message as HTML for easier reading. This directive controls whether
    5 R. r7 W, D" _, m
  532. ; the error message is formatted as HTML or not.* T2 b& `1 {$ w) d5 b9 s
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI7 U+ e  h4 c2 d8 C- `9 o
  534. ; Default Value: On
    * ^; v" t2 S/ D% ~( Y  @4 U
  535. ; Development Value: On
    ; C0 [- z+ C5 @
  536. ; Production value: On9 q  m8 H# e  I1 Q! N
  537. ; http://php.net/html-errors
    : b* h( E! z6 m
  538. html_errors = On
    ' M. ]6 w3 H8 O% [- X! m
  539. $ {5 t' }0 d" \! N+ @
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " W, Y* z9 B( F
  541. ; produces clickable error messages that direct to a page describing the error
    ; Z% ^8 T5 f: K
  542. ; or function causing the error in detail.
    6 [4 D( s# H" P  p( w! Z+ w9 |  `
  543. ; You can download a copy of the PHP manual from http://php.net/docs' ~6 }7 E+ E9 A( C
  544. ; and change docref_root to the base URL of your local copy including the
    ; B7 [! v: [$ x- T. P$ |
  545. ; leading '/'. You must also specify the file extension being used including
    1 |. d$ A' T8 Q& v, e$ K! p
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    * A( }5 [7 r3 `/ T, J
  547. ; case no links to documentation are generated.; Y! Y' N2 E9 w; Q# f
  548. ; Note: Never use this feature for production boxes.0 L0 Q' O* E- h- Y4 y, z
  549. ; http://php.net/docref-root
    # T6 ]8 F7 K& h2 g) C. f
  550. ; Examples) M4 W& \5 A  K* Y
  551. ;docref_root = "/phpmanual/"
    7 x8 \; _: [' G/ O$ H

  552. 8 ~9 m  {0 ^6 k6 E2 I" L
  553. ; http://php.net/docref-ext% f& f5 M* S4 C% a* A4 C) }
  554. ;docref_ext = .html- `! v! d! A/ f! B. b4 f& x
  555.   E& `( C% Y' D0 d4 f% u4 A) b
  556. ; String to output before an error message. PHP's default behavior is to leave
    0 x! Q3 ~. X+ v' [: |/ X* F7 ?
  557. ; this setting blank.. @- U& @; E8 h' O5 y2 i3 x& N
  558. ; http://php.net/error-prepend-string! `9 n) ^. L+ V; _( |
  559. ; Example:
    6 N( y5 p& ^2 i. `9 K" R; m- `
  560. ;error_prepend_string = "<span style='color: #ff0000'>"6 O( L; ~* o$ ^; P4 C* Q

  561. * N1 U$ Q) j1 r
  562. ; String to output after an error message. PHP's default behavior is to leave9 [% R* w1 W- E5 \( b7 h1 i$ u1 b3 y
  563. ; this setting blank.# R7 l$ @5 A! l
  564. ; http://php.net/error-append-string" h0 W+ ^4 \" M6 F0 z
  565. ; Example:
    " K" r. g4 Z6 o5 a0 W/ v7 r
  566. ;error_append_string = "</span>", W5 L# o1 _1 R! `4 G6 F- I3 ^: v9 ~

  567. ; H. n8 B- E  k, ?- I5 j1 V; u3 h. r
  568. ; Log errors to specified file. PHP's default behavior is to leave this value9 D3 G% D  W8 D# U, w! B* K% X
  569. ; empty.- D7 Y! d- x, X* [
  570. ; http://php.net/error-log% k4 V: F7 o; E2 I9 A
  571. ; Example:  E1 n: u/ H; q+ M& I
  572. ;error_log = php_errors.log# g: Z: j+ e* r3 B
  573. ; Log errors to syslog (Event Log on Windows).* z& F9 @# z" r; v9 W
  574. ;error_log = syslog  l% f& G. S9 P" {" t  m
  575. 6 x4 h. D7 q8 I7 V* y, [
  576. ;windows.show_crt_warning
    # G0 V4 B  {+ p% w& g
  577. ; Default value: 0( X+ z! Z6 H) L! i
  578. ; Development value: 0
    ) Y  p: x) m1 Q( D
  579. ; Production value: 0
    ) _6 K( j4 V3 W6 A& ?
  580. 1 N. ?2 u5 k# j% Q% g; y, @' h
  581. ;;;;;;;;;;;;;;;;;! C5 e2 K( R( A* ^% b* x
  582. ; Data Handling ;: }" F5 b& R& g7 L
  583. ;;;;;;;;;;;;;;;;;
    ! j) w7 n- \# S* E1 k1 Q; f; O1 j

  584. & H- h8 T1 B' O8 X6 d
  585. ; The separator used in PHP generated URLs to separate arguments.- l3 g& k7 ~- x) \$ t+ f
  586. ; PHP's default setting is "&".
    5 s: M+ X0 W% i
  587. ; http://php.net/arg-separator.output
    ! N* Q; `+ m& X# \, {( {  N5 K+ a
  588. ; Example:
    + Y& v0 ~+ ~" v: z" c
  589. ;arg_separator.output = "&amp;") Q8 f6 P' L) N! R
  590. # L% k7 \& ^3 ]& U; \" B
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    9 X* H3 I9 e" Z' C
  592. ; PHP's default setting is "&".) t! ~9 T; G/ u; ^. I, I; V! \) n
  593. ; NOTE: Every character in this directive is considered as separator!
    : R1 @( k1 M- b9 ^  S# n
  594. ; http://php.net/arg-separator.input+ p* _* T0 v, s5 o
  595. ; Example:" r0 i6 D  O5 l' Z" P
  596. ;arg_separator.input = ";&"
    ( o$ L. ~* H" y/ p6 t/ L' \& a! X

  597. ! n0 B  h. P; N+ {" u' L
  598. ; This directive determines which super global arrays are registered when PHP
    ; r: ~1 p2 h; \2 t
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super$ [. u! b7 z5 G/ K& z. P, e
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 c. }% f, ^+ X' o# Z0 a
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    6 g0 O+ y  H3 U* Y+ [1 \/ }! I
  602. ; used as the others, ENV is not recommended on productions servers. You
    : q6 I3 V: \) H- E& U2 z
  603. ; can still get access to the environment variables through getenv() should you
    . S& I9 p, F6 Z& w
  604. ; need to.' R6 ]2 j1 d9 E* K7 f7 u
  605. ; Default Value: "EGPCS"
    3 y* M, ]0 P% w% D+ m
  606. ; Development Value: "GPCS"
    - d1 O' k! m* P3 a  h  n5 A. _
  607. ; Production Value: "GPCS";4 F* P  Q5 T5 _: D& a
  608. ; http://php.net/variables-order
      t5 Z& E0 {% ^4 {" o* l0 X% @7 r
  609. variables_order = "GPCS"& A& [2 o/ O" r2 g$ p; I
  610. : a) {/ J& u* c  H
  611. ; This directive determines which super global data (G,P & C) should be0 N' r/ B8 o/ W& r6 Q1 j, [
  612. ; registered into the super global array REQUEST. If so, it also determines
    : {8 f# T0 B; p  M& n# B( D" V
  613. ; the order in which that data is registered. The values for this directive9 `7 J4 s! l- R" o: k; l
  614. ; are specified in the same manner as the variables_order directive,
    ) |* f; A6 ^$ i/ U' g/ Q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    2 U  ~( t, B( {! v1 q* g4 l
  616. ; in the variables_order directive. It does not mean it will leave the super8 f' N0 F) ?6 E$ x& y/ R8 h
  617. ; globals array REQUEST empty.
    ' c$ W+ |6 A: |  P: a+ G/ K
  618. ; Default Value: None
    8 }6 ?& w9 @; o' m  w
  619. ; Development Value: "GP"
    # K5 s# n7 O1 Z' W% v2 \
  620. ; Production Value: "GP"
    " I+ f! b. }7 x  Y# b6 t
  621. ; http://php.net/request-order7 J; r: @8 k) `
  622. request_order = "GP"
    , m# s$ ]' ], b$ [4 E
  623. 1 x; N* \6 Q, z9 X: b# U
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    7 n& ]; m: a  r) @+ v$ @
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ [& e4 q, O6 v7 a
  626. ; is invoked. $argc contains an integer representing the number of arguments
    5 {. H  M: i5 K9 ~5 D# [# P
  627. ; that were passed when the script was invoked. These arrays are extremely1 m8 C6 x3 q" y; R  M. o. R
  628. ; useful when running scripts from the command line. When this directive is9 @/ O  |- d! q! H& s9 v2 U
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ' N" X; K7 _: p. [  _# r
  630. ; a script is executed. For performance reasons, this feature should be disabled
    * L8 \; n4 b1 [6 J
  631. ; on production servers.
    , N( m' H" l% I% `6 l
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( |2 P. E- c" x4 _( \3 {0 R/ W
  633. ; Default Value: On1 r: X9 |9 p0 w% o/ m
  634. ; Development Value: Off
    2 ?$ U9 J6 R+ Y* X- s
  635. ; Production Value: Off, h, Y- a! `0 L# O
  636. ; http://php.net/register-argc-argv
    6 c9 m" M; T; a+ t
  637. register_argc_argv = Off9 M' q5 ?: ?1 a
  638. 0 G- c; B6 [6 k4 @
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + ], u% j# t, _) s  u
  640. ; first used (Just In Time) instead of when the script starts. If these
    + U, I  R: n3 c
  641. ; variables are not used within a script, having this directive on will result
    * B% p7 g+ G- E$ A7 o
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      h& S9 s2 d  W# J% u* Z$ G# E
  643. ; for this directive to have any affect.
    : X+ K+ [( X% J8 s% R& P; V- ~
  644. ; http://php.net/auto-globals-jit
    1 W) u8 P" b* w1 E8 R
  645. auto_globals_jit = On! ]# Z# l# b+ z8 f4 d% I0 Y

  646. 4 x0 V, }" n1 a) ^
  647. ; Whether PHP will read the POST data.
    , y- Z9 m- E7 l, S" e' w$ i/ C' O
  648. ; This option is enabled by default.3 [7 H) X- \5 S' S: U; g
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST2 ~- ^( h0 U& ]7 C6 B- l- {) ?
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    % d. ]9 A6 p2 S2 ~$ ^& I5 Q9 Z
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ' ^; P& P. r* J
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.9 Z$ [' k' [7 ?' J
  653. ; http://php.net/enable-post-data-reading# g" v$ M% e! n7 I# _3 j9 |" D2 f4 Q
  654. ;enable_post_data_reading = Off
    ( r$ O  x* h; G7 m$ @; x
  655. + R+ s8 J2 T" f
  656. ; Maximum size of POST data that PHP will accept.! G# |0 [! @& V& e' a  l0 S- f* P
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    8 |1 R) |& z  a+ {
  658. ; is disabled through enable_post_data_reading.1 L: L$ X& C0 J0 ]' \  X
  659. ; http://php.net/post-max-size. k; w" k1 D* C
  660. post_max_size = 50M7 U; l/ }! m" k" l$ x4 ^

  661. * b& E0 f8 ^: s! J5 `/ Y
  662. ; Automatically add files before PHP document." F8 ]0 y4 k- a6 p9 A7 L
  663. ; http://php.net/auto-prepend-file1 Y: x, q* S3 L1 `* [  ?& U% w
  664. auto_prepend_file =
    ' X: z  [% D* h$ M# Y
  665. : \; d* U5 F" Q1 c5 E5 J
  666. ; Automatically add files after PHP document.
    3 }, R' O9 ~. h1 |. I1 i
  667. ; http://php.net/auto-append-file
    & C, j% e) t6 o5 p" I, \) i/ U9 ^6 ?
  668. auto_append_file =
    2 ^) d6 Z9 v2 ~5 {$ f, n
  669. + Z9 a5 m9 e& W
  670. ; By default, PHP will output a media type using the Content-Type header. To
    . ]0 [+ ]; ?- C# h
  671. ; disable this, simply set it to be empty.% E, I. i* M* S( I7 U# ~9 m
  672. ;* Q2 K$ u( K. M0 O& M; A0 U
  673. ; PHP's built-in default media type is set to text/html.8 ~8 E8 \8 d$ C
  674. ; http://php.net/default-mimetype' w$ _5 f4 J* q7 \: X
  675. default_mimetype = "text/html"7 g( [& |0 F- K' o- ^7 K5 f, _

  676. + ?* O* ]  g) Z5 O1 n4 t
  677. ; PHP's default character set is set to UTF-8.
    " }0 L8 P- s6 q2 i- }' }" U; Q, p
  678. ; http://php.net/default-charset/ R  Y, x3 k3 `3 Z* }8 @" a
  679. default_charset = "UTF-8"2 Y% C0 ^3 B# J+ W( c" Q5 n

  680. + a- h, d% J9 l& ^- p) ]  b
  681. ; PHP internal character encoding is set to empty.$ Q4 W# d- w  c5 Y: s! g
  682. ; If empty, default_charset is used.  P: z; g, d, O. R* n$ e+ v
  683. ; http://php.net/internal-encoding& g3 o$ b) q# K
  684. ;internal_encoding =9 Y1 {0 {/ m8 M) O+ l

  685. 9 }: @+ g& i. I# o
  686. ; PHP input character encoding is set to empty.0 q5 {9 I2 O7 g7 `5 Q
  687. ; If empty, default_charset is used.
    , _: {+ ~: [- K( M" e
  688. ; http://php.net/input-encoding* \/ t/ u0 s: X$ b4 H
  689. ;input_encoding =
      D: y# Q% k, K- H

  690. 2 I+ S: [, P0 q1 n' g
  691. ; PHP output character encoding is set to empty./ O2 W6 A& H& P. u* V
  692. ; If empty, default_charset is used.
    : |8 H/ H9 a, T! F# p+ D- X' J
  693. ; See also output_buffer., }- {) A& M! E3 A4 p7 C
  694. ; http://php.net/output-encoding% q& e# i+ {  g" f! R- k* O" h- P
  695. ;output_encoding =) w+ m( B; w$ s( {4 y
  696. * E- ?' s% p: a) p( P3 d
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is- A: k6 G7 K/ N7 Z8 v6 a
  698. ; to disable this feature and it will be removed in a future version.
    / `5 R0 ^. R& U; O# h+ v
  699. ; If post reading is disabled through enable_post_data_reading,' |) I9 t/ x  E' C& U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.1 h! V9 {2 }+ A0 v+ W
  701. ; http://php.net/always-populate-raw-post-data
    / B" g1 d: o  i% z/ ~3 x
  702. ;always_populate_raw_post_data = -1
    ) y$ P7 z: g& N9 P. p

  703. : r* T6 [) k$ P. r- K/ M
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - l- |9 `3 _) Y* F  [
  705. ; Paths and Directories ;# a& Z; Y; u- L5 z: w% c
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;+ k8 X" [+ W' {
  707. * E3 d! W1 A! ?0 _, {
  708. ; UNIX: "/path1:/path2"
    1 z# r8 l3 w( u5 s+ N: }4 }$ A; m& ~
  709. ;include_path = ".:/php/includes"1 v% s% U: {0 l% y
  710. ;
    % _# P( f  Y0 Y' ]. p) B/ h$ W
  711. ; Windows: "\path1;\path2"9 o* e& U; U7 v8 i
  712. ;include_path = ".;c:\php\includes"- C( J  v: }$ ?. `5 w
  713. ;" a) v7 R/ B( f
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * g: V# Z0 {: b3 h
  715. ; http://php.net/include-path5 q6 X+ A! X# [) P9 q. L' H
  716.   Y2 n; o8 }4 d7 ?; Q
  717. ; The root of the PHP pages, used only if nonempty., I; d% Q: m1 f5 }. \+ K: u& ]
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% R0 m' g+ u4 j
  719. ; if you are running php as a CGI under any web server (other than IIS)
    " P' u( m. X+ O
  720. ; see documentation for security issues.  The alternate is to use the; r6 K7 f5 h, G8 O. i; D
  721. ; cgi.force_redirect configuration below" d8 l( J0 Y7 ^7 Y! i
  722. ; http://php.net/doc-root
    & k- e% s& h8 U
  723. doc_root =2 U, d5 h) o# j8 e" |8 s# H
  724. 8 D4 D: m* M& B  w
  725. ; The directory under which PHP opens the script using /~username used only. T; H4 f- b  M( q( h
  726. ; if nonempty.: z8 X. F! ?8 J5 }0 ^. F$ v3 N" ^
  727. ; http://php.net/user-dir, m% B* M( L' O/ ~4 M( v
  728. user_dir =
    , H1 T+ Y/ [- K1 D1 Q

  729. 3 u: G' \0 F( ]! z
  730. ; Directory in which the loadable extensions (modules) reside.
    , w$ ~' n; K/ B* V  K6 S
  731. ; http://php.net/extension-dir5 a7 K8 C8 l6 M
  732. ; extension_dir = "./"
    & p  r0 O# r+ k3 ?' ]  c6 T
  733. ; On windows:
    , I+ M  l8 K0 \% G6 \, X7 E
  734. ; extension_dir = "ext"+ ~( A( V  T: ~/ I- G1 Z

  735. 2 B  U3 E; }. z9 Q& Q1 y
  736. ; Directory where the temporary files should be placed.
    & E  Z, @) R5 w
  737. ; Defaults to the system default (see sys_get_temp_dir): }% |* @+ Q* i1 d1 T4 L
  738. ; sys_temp_dir = "/tmp"  C) F: a) p& t: q
  739. ) e% ]& C9 s6 p! B8 T
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ) j( A, D6 Z2 n1 ?3 O- N1 `* m+ i
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; w) h5 X1 g7 R$ K( i9 I
  742. ; disabled on them., j. P# Y4 q  \0 B  a3 o4 A' S
  743. ; http://php.net/enable-dl  o1 R1 L& g. d2 J8 b
  744. enable_dl = Off
    2 f! u' b* f" T" W# i

  745. 1 y2 ^5 p' J* N# D% |$ b
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under8 {8 L5 J- i+ \+ c5 [: O& H
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can* [  n6 o9 K7 g3 h# p, U0 ]
  748. ; turn it off here AT YOUR OWN RISK5 H% o3 `; a; E: k: F$ y
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**; G8 R4 q% r5 C# C$ j
  750. ; http://php.net/cgi.force-redirect  Y9 w2 o# r( }: C( E- K
  751. ;cgi.force_redirect = 12 M  K$ k. f; s4 G1 {

  752. ; @0 H' G  w$ x( Z0 O: f$ P
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + J, e. d+ I$ u& s: h! J/ ~  Y! \
  754. ; every request. PHP's default behavior is to disable this feature.$ }  R% ^) H$ E
  755. ;cgi.nph = 1) ^6 a! V2 j0 x1 ]- p6 j

  756. $ t; }! {4 x7 Q* a; R! f; @
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; j/ m. ?4 e% @7 h% |# Q, q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " X/ E- R5 f" |  h8 i6 z- G9 S
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY( ~8 G0 J! _* t+ d1 Z7 E
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 m6 J- {; r& [
  761. ; http://php.net/cgi.redirect-status-env  D/ t9 S+ G- J8 ?' D: c  n
  762. ;cgi.redirect_status_env =" t" ]1 _5 L, \3 J: _4 g4 A5 w
  763. 6 r2 Z1 t3 F# ?6 ^. O
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " B. n0 O. R3 s: E9 b5 I8 I& A# c
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    * L& v' o8 l. |
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ V* D# ~9 t0 P
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % m6 ^/ D) v! C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : z6 n# E( R$ L2 G. ~! n& k9 S' c9 n6 l
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) C6 d) }% x% u' N) a/ R5 y/ e1 T
  770. ; http://php.net/cgi.fix-pathinfo
    2 w6 X1 H" g0 y$ r' }8 C2 F
  771. cgi.fix_pathinfo=1
    # b+ Z( p% A3 m" ^* R

  772.   @- G. G9 F% T( A' P1 K' O
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 R0 }$ [0 W: t# g
  774. ; of the web tree and people will not be able to circumvent .htaccess security.8 T& J$ m" l! H9 H  K' j
  775. ; http://php.net/cgi.dicard-path
    3 L0 a/ n9 t; N6 q* K/ k8 ?
  776. ;cgi.discard_path=1
    9 P# H7 o) R7 D; _! ]/ C

  777. 1 b' y' m' z( A1 H( U) a5 B
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    7 @7 P$ f( i: N& I8 E- i- N# S2 x
  779. ; security tokens of the calling client.  This allows IIS to define the3 _6 c- W' u0 h( O
  780. ; security context that the request runs under.  mod_fastcgi under Apache: o' F0 C# u$ Z
  781. ; does not currently support this feature (03/17/2002)- h. ^! ?# p/ g1 c) O- t" q+ l
  782. ; Set to 1 if running under IIS.  Default is zero.
    ; m% \* E. R! p, l( r& J0 R
  783. ; http://php.net/fastcgi.impersonate
    " X: ^/ I- C! F- @
  784. ;fastcgi.impersonate = 1! `! M4 H2 Q! `, r; D' G

  785. 6 {+ d( L( P" H5 d9 i4 N' r& M
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( k: ?8 `1 f: k9 k- H. e
  787. ; this feature.
    9 H& r+ \; k( [7 T* w
  788. ;fastcgi.logging = 0
    / E7 \5 U$ M) A" ]( w; C8 H
  789. ( d2 e( l; q0 o+ l# _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" Z2 f* b" g% Y6 T
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& l, y: F$ e6 v# V# M+ ~2 f1 K/ g
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    : E& G6 g  `  n3 w0 r% z2 D
  793. ; RFC2616 compliant header.. ^, A" \1 n. e
  794. ; Default is zero.4 |3 m8 h, Q6 \6 K. W
  795. ; http://php.net/cgi.rfc2616-headers  S& u- I$ Y  r2 n& B# B5 S
  796. ;cgi.rfc2616_headers = 0
    $ u: i- G- k6 I: s; R. J

  797. " o) S# O/ S' q1 K7 ~
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, r& c: F. v' ]
  799. ; (shebang) at the top of the running script. This line might be needed if the
    # Q- N! g: t0 P  J' g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 g8 g% g/ Q$ a% E- n# p
  801. ; mode skips this line and ignores its content if this directive is turned on.! L0 S% M1 j3 ^) a4 \/ T3 {
  802. ; http://php.net/cgi.check-shebang-line# k/ t2 x% L& q. v5 t8 _
  803. ;cgi.check_shebang_line=1; n+ {1 O! ~! B5 ?1 g6 L; W
  804. 2 O4 o  L( b; h( e' {0 A# S
  805. ;;;;;;;;;;;;;;;;7 Q) Q, w4 W) }/ [, a1 b1 [
  806. ; File Uploads ;9 M9 ^( q$ A- ^1 R% [
  807. ;;;;;;;;;;;;;;;;
    + E" o+ X; m) |1 o
  808. 9 t! Z  {% R( b/ p1 l) b
  809. ; Whether to allow HTTP file uploads., h% Z! G+ S" q0 M: t$ I# T
  810. ; http://php.net/file-uploads) q6 s# v: a* e4 |3 g
  811. file_uploads = On
    ; s6 q3 ^( B  k0 T. n- ]

  812. 1 X. \7 a$ ]) ]3 u
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' D) y+ b3 v3 _+ u/ C
  814. ; specified).
    " ~8 [- Z- J+ x  j$ U! \6 ]; B8 q2 g
  815. ; http://php.net/upload-tmp-dir9 z2 |7 _3 a+ V$ A
  816. ;upload_tmp_dir =1 j1 j6 Z) i7 e# ?5 q' q. c! x

  817. , K( n$ z9 a3 f" }. N
  818. ; Maximum allowed size for uploaded files.* L( K7 p/ X0 P: L( l
  819. ; http://php.net/upload-max-filesize; W8 A2 e5 ^. y8 w* H* O6 t- X
  820. upload_max_filesize = 50M
    ( P3 \# U2 P. H5 P$ G5 A
  821. " j5 p1 q* Q* F8 `% g" X
  822. ; Maximum number of files that can be uploaded via a single request
    # d8 W$ F6 D: K- D4 R4 V
  823. max_file_uploads = 20
    ; D: C' a- G# j3 R) i

  824. - r  O8 [- J. ~  J
  825. ;;;;;;;;;;;;;;;;;;/ Z( ^7 e4 a. s3 ?6 N( @( Y: W- i
  826. ; Fopen wrappers ;& _( P" w% x! m6 l& j  t% i$ k
  827. ;;;;;;;;;;;;;;;;;;( [* g& c9 b9 L( r: a

  828. 9 M/ c. c2 s1 s, T3 G: m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.6 d* z2 m! ~7 @
  830. ; http://php.net/allow-url-fopen1 b7 T6 n( N- I2 {0 w3 d
  831. allow_url_fopen = On$ |: Z4 F# X. s3 N4 t

  832.   Y  k* L- {7 U3 Z# R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / @. a- L- [8 t& C0 n! [2 Z; I
  834. ; http://php.net/allow-url-include
    * l$ q; M/ ?  l0 |0 y! M
  835. allow_url_include = Off4 G3 t2 ?8 q0 o. G1 D; m4 C4 [

  836. ; ?3 L7 o5 A2 ?% @2 q
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! I' Q6 v2 [) t+ _9 }/ M( B
  838. ; for this is empty./ S! @4 K1 o3 g, N
  839. ; http://php.net/from0 i5 s+ W$ q! k
  840. ;from="john@doe.com"" S2 k+ m) c0 t$ P; @* ]  P6 d, J

  841. ' q  i7 C( _, {4 C$ E0 _1 B
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    0 Q5 o  }1 h) P' e3 j+ n
  843. ; http://php.net/user-agent
    ; ?: R4 x) B- |* D
  844. ;user_agent="PHP"& z% f# v0 o: w/ e

  845. / R; k4 s  G  B/ ~( N
  846. ; Default timeout for socket based streams (seconds)
    9 s* `# }$ `$ l6 B
  847. ; http://php.net/default-socket-timeout  A* A% L% {1 h3 X- W$ ]7 g' y
  848. default_socket_timeout = 60+ v7 j! p; @/ `" w+ x; a

  849. # l. h) `+ `! E1 m* W
  850. ; If your scripts have to deal with files from Macintosh systems,
    9 @; z9 b8 y. e
  851. ; or you are running on a Mac and need to deal with files from+ W& C9 E1 a4 S  |  r/ U, a: E
  852. ; unix or win32 systems, setting this flag will cause PHP to% k5 G3 Q1 W: Y3 ^2 f' l# I
  853. ; automatically detect the EOL character in those files so that
    0 s0 T: g2 b  ^$ |  t- @
  854. ; fgets() and file() will work regardless of the source of the file.- q& g" l& ]) `! J) C! [* `) [
  855. ; http://php.net/auto-detect-line-endings: O5 e7 A) w1 p5 p% v* Q1 R( }
  856. ;auto_detect_line_endings = Off
    ; G8 |9 W. z# ], |$ M
  857. $ e- p3 i, ]1 d8 ?" K7 j
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ' w* x0 e1 d6 s$ U; |
  859. ; Dynamic Extensions ;
    ; ]- y" j; h: n; b
  860. ;;;;;;;;;;;;;;;;;;;;;;
    9 o. C$ u$ B/ n4 D1 W/ F6 G
  861. ( M4 A3 s: z( y
  862. ; If you wish to have an extension loaded automatically, use the following8 C4 G3 Q% w" E
  863. ; syntax:7 X1 l+ H: O4 N! q
  864. ;& {5 ?' t- X5 `
  865. ;   extension=modulename.extension  z% f* x' }6 K) G; e- C  d  h
  866. ;
    5 {. e  \. c6 s2 l* x& o
  867. ; For example, on Windows:' C9 y' N4 E/ {+ `
  868. ;
    + P% p+ s8 i7 Z1 m" k- {! T/ D5 D
  869. ;   extension=msql.dll
    2 C- m) _9 `* Z/ d- }% c
  870. ;9 t* s$ V9 B/ c# I
  871. ; ... or under UNIX:& D" n3 g' x2 i5 @6 l
  872. ;
    - P2 x! ]& ]; i# K' Q9 |" G" b! ^
  873. ;   extension=msql.so1 z, x) F) ^& r3 S' l. k
  874. ;, z( Z0 b/ N+ a" I+ `
  875. ; ... or with a path:
    . Z, H) d! n4 ?# k/ t6 K/ w
  876. ;8 }9 W5 I4 l+ o, X
  877. ;   extension=/path/to/extension/msql.so
    , R& o. w4 ~: x$ E. p5 q& g
  878. ;! r5 Q' f! m# f( p5 f/ D
  879. ; If you only provide the name of the extension, PHP will look for it in its/ l! L8 L9 \3 h
  880. ; default extension directory.
      v. U5 G1 i( ?2 z- f1 V0 K" J
  881. ;) L; @& A+ T0 e8 N
  882. ; Windows Extensions
    8 X% [* I( P* n/ n/ e
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) A( h: i5 f4 F( ^/ B
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)  O" t% M$ T, q) s6 U( o
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    4 J( ?  _: N' C9 r7 \, e2 B
  886. ; Be sure to appropriately set the extension_dir directive.( e+ }( P5 L8 H8 i' A9 v. i0 J
  887. ;+ [; l# v2 @5 |3 U2 z: C
  888. ;extension=php_bz2.dll& u% `7 _. T: u% J
  889. ;extension=php_curl.dll# h1 p7 s9 l9 N3 ^
  890. ;extension=php_fileinfo.dll
    / u& b$ ^4 ]0 `
  891. ;extension=php_gd2.dll2 Y- C/ O% ]5 W2 W" n7 m( Y( N1 o
  892. ;extension=php_gettext.dll: N! T* D9 {& G# `4 q
  893. ;extension=php_gmp.dll
    & m5 Z+ N0 P7 h0 y
  894. ;extension=php_intl.dll- U+ M) k0 J! x7 [" S
  895. ;extension=php_imap.dll
    & s7 H5 B8 m) O3 v+ O0 j8 t
  896. ;extension=php_interbase.dll2 X. u( g" Y4 C  H7 t; R) U; w0 S' m
  897. ;extension=php_ldap.dll
    - Y3 z; e7 D1 k7 _
  898. ;extension=php_mbstring.dll
    $ g0 K! K9 v8 l9 Y; O( K; o
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    , Q; M3 F$ E8 P
  900. ;extension=php_mysql.dll/ t0 _3 j* K7 T' c9 U* `$ H
  901. ;extension=php_mysqli.dll
    3 Y' T4 {3 g% e+ M7 `9 W
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" b- n1 k6 U4 ]$ ?9 C$ R+ ^/ g
  903. ;extension=php_openssl.dll
    0 r, x( c! |- Z' N
  904. ;extension=php_pdo_firebird.dll5 t/ `# |1 Y  G, J' s
  905. ;extension=php_pdo_mysql.dll$ o" W; }' h* F
  906. ;extension=php_pdo_oci.dll
    ; n: l6 A, p( l5 l% v% V; }7 W
  907. ;extension=php_pdo_odbc.dll9 a5 R) w, \! O9 N. q
  908. ;extension=php_pdo_pgsql.dll+ d4 t) X3 O. R, q2 o4 }. U
  909. ;extension=php_pdo_sqlite.dll1 [4 y% i1 x& `
  910. ;extension=php_pgsql.dll! ^: d; d: ]( b! C
  911. ;extension=php_shmop.dll1 b- u% W1 x  o, I: C
  912. 0 e2 N4 f% e7 Z# a
  913. ; The MIBS data available in the PHP distribution must be installed.
    . y  h  k* ]/ e; V
  914. ; See http://www.php.net/manual/en/snmp.installation.php 5 @8 j; \7 h! M" g. ^" O5 K
  915. ;extension=php_snmp.dll% o& B$ ?, j+ e, I2 g
  916. ( y6 B: ^% p! I
  917. ;extension=php_soap.dll
    1 A: b; a" N  C: l+ k
  918. ;extension=php_sockets.dll/ h5 k; Z# C" @3 m$ l
  919. ;extension=php_sqlite3.dll* F# R7 A  ?4 e, x0 I: O/ R3 L/ r  E
  920. ;extension=php_sybase_ct.dll' c& A- y3 L1 A% D  m
  921. ;extension=php_tidy.dll& z7 g4 Q- M' o1 o- J
  922. ;extension=php_xmlrpc.dll6 B* v! X: D, |. u  e- E" t% C
  923. ;extension=php_xsl.dll" F, G- S" l2 I. h1 v1 L/ A% v

  924. , E) r" N) k1 ^4 I2 a" F% v6 |5 L# A! m8 y
  925. ;;;;;;;;;;;;;;;;;;;
    $ \3 D( H! h. |$ I
  926. ; Module Settings ;
    / R' A9 k5 _) M3 R/ }, ~- w: ?
  927. ;;;;;;;;;;;;;;;;;;;
    - y6 S6 V+ A0 F* {; }

  928. $ u$ X$ [! t0 Z' i
  929. [CLI Server]
    7 [% Z' ^- c0 r' g- H( V
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , A6 o, [5 Y' y" n1 |
  931. cli_server.color = On
    - ]* F5 {& F- O$ S/ e/ D
  932. 1 q- Z4 r; K" ]* |1 I2 A
  933. [Date]5 ~5 d5 p; K+ @, h7 V" {9 y, p
  934. ; Defines the default timezone used by the date functions' d  \5 Y5 i- q% U4 b( N
  935. ; http://php.net/date.timezone4 o6 ?( ^/ E3 G4 J5 J4 o8 L
  936. date.timezone = PRC
    - F/ c! K- d9 b$ C4 X
  937. 1 w4 `+ `8 \5 w! p# {3 E
  938. ; http://php.net/date.default-latitude
    ( y1 p7 A) \" h- t4 ?
  939. ;date.default_latitude = 31.76670 Y7 s# u- a9 ^1 S: g& c" S& A

  940.   b7 Y2 o2 p* M) U
  941. ; http://php.net/date.default-longitude
    & S2 C: c- g8 W: {8 L+ g  J. f! ]
  942. ;date.default_longitude = 35.2333
    ( \% f0 V6 j- @& y8 o
  943. 3 t# U2 q1 L8 p  R1 S
  944. ; http://php.net/date.sunrise-zenith1 o4 A! M2 t+ g  o
  945. ;date.sunrise_zenith = 90.583333
    " S% C, H1 B( v, m( Q

  946. 4 B3 C8 y4 {% B7 }9 X
  947. ; http://php.net/date.sunset-zenith
    # j' t8 K( l3 |0 s: t6 `0 ^4 l$ h1 ]4 E
  948. ;date.sunset_zenith = 90.583333# P9 R- U1 V/ B4 x6 @, Z  Y

  949. ' n5 Z4 f# X; J$ N" D3 x
  950. [filter]
    ) u! [  q" K! S, I" i
  951. ; http://php.net/filter.default! W6 C" S! N: d( u1 S
  952. ;filter.default = unsafe_raw$ M/ q$ b' i- {- ?1 g# j8 ^! F

  953. , ?: {' s/ t+ l1 R2 R( r; k* R
  954. ; http://php.net/filter.default-flags
    1 M% \# W; y: h! i
  955. ;filter.default_flags =
    4 Y* y  }/ R8 A, k8 {* G# [( I
  956. 0 t& D& s/ I3 v* s
  957. [iconv]) a: [; z1 E" j
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 G. Q0 `* |! ], y2 o4 k
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 x/ m# o! u3 \! B' m: n  ^
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 z$ T7 V* o$ y1 p6 @
  961. ;iconv.input_encoding =9 W! i+ {3 Q- H5 e9 J
  962. ' n: C/ b* i% U
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; e$ @, }* b/ ^4 `9 ?7 `
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 L- ]9 I* L/ y; L1 [3 D2 ~
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; C: h/ e( W; C3 t8 D& V
  966. ;iconv.internal_encoding =
    ! T( V  {' o$ u8 }6 M- f; Q
  967. 0 w7 t6 V; U9 x+ R% l+ U' L/ m6 I  A
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 X6 {3 z+ Q2 X5 z+ B+ B
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    6 D7 ]7 ~5 V6 W; y  k  s9 I
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding  d7 W! ^- b& o+ l# X3 K2 f" Y
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ) K; s1 {. b$ ^) t$ ?2 @
  972. ; otherwise output encoding conversion cannot be performed.
    - I& O' C7 m. s7 B  a
  973. ;iconv.output_encoding =% w# `0 ~: }! u8 P  P* i

  974. # h+ U' n: `3 }% T) O; V. n  t
  975. [intl]( @% @" s6 K7 Q8 ?; K+ |9 r
  976. ;intl.default_locale =
    0 U3 L. B! r. g1 |8 ~
  977. ; This directive allows you to produce PHP errors when some error1 W1 H5 H4 R  |, h
  978. ; happens within intl functions. The value is the level of the error produced.: o; G3 Q' ?/ t
  979. ; Default is 0, which does not produce any errors.% N, B. L8 W$ C# P7 s
  980. ;intl.error_level = E_WARNING
      q# G  M: O! I1 w' S* W: X
  981. ;intl.use_exceptions = 0
    0 \/ E7 N- W' U; i9 ^9 z% _' t
  982. & q- W1 n% |2 M, [! M9 ?9 e9 B) E
  983. [sqlite3]* y1 v( F+ o$ W. {& d" w4 T
  984. ;sqlite3.extension_dir =
    * |1 w) g! M) E( c
  985. & ~% Y! _, Z* R1 V! p7 ]
  986. [Pcre]
      X* o) e5 S7 ~& t4 f# D) v0 x
  987. ;PCRE library backtracking limit.6 ]/ a, ]) n* N2 z8 E3 l$ r) G
  988. ; http://php.net/pcre.backtrack-limit7 V: |& n; n" H" U
  989. ;pcre.backtrack_limit=1000007 a* Y+ L" y( g

  990. + s8 z1 @: z$ e& Q6 y- w
  991. ;PCRE library recursion limit.
    , o6 _1 K/ W# d- J; X; L" ^, j
  992. ;Please note that if you set this value to a high number you may consume all0 _8 L# i$ n, X# T' D+ f
  993. ;the available process stack and eventually crash PHP (due to reaching the! p" y2 y& |2 h# C4 S0 D4 ]6 N
  994. ;stack size limit imposed by the Operating System).
    . @, i1 D9 f: i! N9 B3 e- D, S  J
  995. ; http://php.net/pcre.recursion-limit
    9 K6 e+ A7 p# E! b* Z
  996. ;pcre.recursion_limit=100000/ W! K. I; }) x7 r- U! R( V+ c
  997. 9 z% ^) x/ {' r5 C
  998. [Pdo]
    % @! {9 O# d1 o7 {- v4 P- P/ @1 X
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' @/ [& Y$ g& t( u
  1000. ; http://php.net/pdo-odbc.connection-pooling5 y; f5 Z( S$ W
  1001. ;pdo_odbc.connection_pooling=strict* {. _! y- C3 e( R$ e
  1002. & Q# W# F( ^# H6 \6 z
  1003. ;pdo_odbc.db2_instance_name
    ) w4 @5 J, b3 ]

  1004. $ D9 [" Z1 T' x! Z* \* A
  1005. [Pdo_mysql]5 w9 y7 d) f# k% W5 r" K# W. k
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % ~( n7 ~  C  o5 v+ I! K
  1007. ; http://php.net/pdo_mysql.cache_size+ \" W% @+ w$ {# u2 [' h
  1008. pdo_mysql.cache_size = 2000' b; m$ `& @! Q; J5 P% a
  1009. 2 O( E) g" ?' o" H' ]
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in& z' @# ^; m5 `7 o* G8 e& b6 R' B
  1011. ; MySQL defaults.
    $ m. |" n/ e. n! d/ q1 k6 r
  1012. ; http://php.net/pdo_mysql.default-socket
    7 i+ Q9 L. @+ T& _
  1013. pdo_mysql.default_socket=
    / O- ?+ r) H' g+ k% X

  1014. ) j1 B$ Y# f0 ?4 M0 u
  1015. [Phar]! T  c5 d; V: l& d8 _% a' V2 ~
  1016. ; http://php.net/phar.readonly+ r+ L( R5 C9 X* E! w: \7 ^0 H
  1017. ;phar.readonly = On7 r* @( H5 V) I5 g8 _8 f; y6 a* X$ ?1 q

  1018. # L# K% z* _- n/ T2 Z  o
  1019. ; http://php.net/phar.require-hash0 q, B) g8 P0 c
  1020. ;phar.require_hash = On
    2 w- m2 t8 G. F/ L8 e% d  S+ }& w
  1021. ; `, B. S4 s. ?/ W7 P
  1022. ;phar.cache_list =
      M3 Q; @. i6 J2 V# L

  1023. / \7 A+ ~. c# y) H4 H& L; X9 ?
  1024. [mail function]
    ' v* G4 f, W/ F- N2 [$ v2 V+ B
  1025. ; For Win32 only.0 {2 g' ~, x+ T' i8 `
  1026. ; http://php.net/smtp% x/ T% R1 K+ {3 B
  1027. SMTP = localhost
      R9 m! {0 j  S) Y$ }% |8 g+ H' i
  1028. ; http://php.net/smtp-port4 Q0 o1 ^$ J7 r3 e3 U: E
  1029. smtp_port = 25( [+ z* f: s; M. `$ Y1 l
  1030. + K8 h- w' n, I* j
  1031. ; For Win32 only.5 i9 F, h3 |& I8 V* R
  1032. ; http://php.net/sendmail-from0 K! I" e( |" U
  1033. ;sendmail_from = me@example.com
    9 N$ A7 g! N, e( W

  1034.   C6 s# _% \6 w% t( O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& N" I7 k+ N4 k7 u. V- ]* t
  1036. ; http://php.net/sendmail-path
    # |8 b9 ]% j2 K" }, K# K7 d
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      h- O& V' F6 Y" z) E# D2 w
  1038. # g+ ?- g2 V, @$ D6 J: o( [' Q4 J
  1039. ; Force the addition of the specified parameters to be passed as extra parameters9 `  c) R  a/ m* ?- P! W4 Q
  1040. ; to the sendmail binary. These parameters will always replace the value of1 ^9 T3 c$ Y6 @6 `4 s
  1041. ; the 5th parameter to mail().9 E% h; r, T( X6 _0 k* @
  1042. ;mail.force_extra_parameters =
    + Q7 j5 u& [% a' I1 }) t

  1043. : F6 p1 i$ u3 o: G: x
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , \  ?/ l; k) Q' x
  1045. mail.add_x_header = On7 q" t4 d7 t( l5 V; C

  1046. ) U. l6 s( }, F4 P# n+ q
  1047. ; The path to a log file that will log all mail() calls. Log entries include% x2 A* i) p, D0 I* T& Z2 I
  1048. ; the full path of the script, line number, To address and headers.! ^: B: [$ K/ L  \0 @+ o
  1049. ;mail.log =& y' X" ]0 E# F1 K8 c% {5 x
  1050. ; Log mail to syslog (Event Log on Windows).. A$ L8 I. z: w. G$ U
  1051. ;mail.log = syslog: y" D" L4 w- X- y% @. t; O
  1052. 5 W/ e# d' K, z3 W
  1053. [SQL]
    7 V) d: `7 E* p' F
  1054. ; http://php.net/sql.safe-mode
    ) P2 v! e8 w+ v' B
  1055. sql.safe_mode = Off/ o- M( X! S0 m: v
  1056. 2 g4 z8 \6 r/ a$ e
  1057. [ODBC]" c. W  O0 a& i: g
  1058. ; http://php.net/odbc.default-db9 E( B5 A7 M+ a, |" Z
  1059. ;odbc.default_db    =  Not yet implemented& ^5 s. A) |$ K  g* I& Z
  1060. 0 B3 |+ r* c% A1 j  E
  1061. ; http://php.net/odbc.default-user
    . p5 t: Y7 T  i7 V
  1062. ;odbc.default_user  =  Not yet implemented
    3 v: o& A+ ^1 h( s

  1063. $ j6 n0 y, V! [$ ^# U0 J3 S
  1064. ; http://php.net/odbc.default-pw
    7 b3 g5 v8 f- T
  1065. ;odbc.default_pw    =  Not yet implemented! G& P# B5 q5 x- P
  1066. / ~9 Z, E$ \& L8 p. ^) L
  1067. ; Controls the ODBC cursor model.; U) }- Y: L/ C9 ?5 K5 Z
  1068. ; Default: SQL_CURSOR_STATIC (default).& _/ }$ }" {* k- S0 l
  1069. ;odbc.default_cursortype# L  q. ~( _4 V5 c

  1070. 8 X4 `1 H; p* I) M
  1071. ; Allow or prevent persistent links./ L1 d8 a1 ^) h; l
  1072. ; http://php.net/odbc.allow-persistent  q; g6 f, u" b% l  i( H& v$ O
  1073. odbc.allow_persistent = On  W* {# I' x) v6 p' E1 T
  1074. " J1 T) a# B, _( G* T* G) |& Q
  1075. ; Check that a connection is still valid before reuse.
    0 M3 ]& {; t5 p( _; u3 q+ _8 Y
  1076. ; http://php.net/odbc.check-persistent# `/ L8 M3 \! F$ v* ~
  1077. odbc.check_persistent = On
    5 |, `* H3 I8 \5 H) c2 Q
  1078. 2 Z& n, ]" F  ?% P& z* A' @
  1079. ; Maximum number of persistent links.  -1 means no limit.
    , i4 B* \: m+ N, X( a0 ~) k8 R, c7 @
  1080. ; http://php.net/odbc.max-persistent( |: _) ?+ S, n3 b
  1081. odbc.max_persistent = -17 D) \' S0 r; m  _, J4 H
  1082. / t/ @$ W# f8 I# @$ y) N% \
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 Y7 w* k  p1 h" v* J6 l/ W+ _
  1084. ; http://php.net/odbc.max-links+ S# g, b4 q  F5 P5 `' X9 Z
  1085. odbc.max_links = -17 ?7 Y/ M. e- H' R5 y

  1086. $ @; W4 u8 R; s: \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means; Y# }4 R! Y* x& N5 x
  1088. ; passthru.7 S( M! g+ a" G  U+ n7 a' F
  1089. ; http://php.net/odbc.defaultlrl
    9 a( E, F7 x: i, j+ b" h
  1090. odbc.defaultlrl = 40966 {  I& `" H7 _  O5 @, k  X# F

  1091. ; M0 O& Z# Y3 u- g, t  z3 e
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  h; I( p) A- W1 T; A. N+ j
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - o# ]- ^0 J+ Z' }( M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # U! y7 K1 v" u" Z, y% \; I
  1095. ; http://php.net/odbc.defaultbinmode. z, H/ S5 s$ R' W& V/ C& k
  1096. odbc.defaultbinmode = 1! D3 Z9 C! b9 ~/ o( ?
  1097. * {+ ]6 E( B4 m# s, ^
  1098. ;birdstep.max_links = -16 V6 ]& A5 `0 f+ r) n

  1099. 1 g) a* Q4 }/ u$ l  v5 ~
  1100. [Interbase]* L: G4 ]6 S! x0 j! O5 C# |
  1101. ; Allow or prevent persistent links.
    & B$ V) [; _& `! i5 x
  1102. ibase.allow_persistent = 13 _# p. e9 U) T' F
  1103. ; j2 |* j: C5 J9 p; F9 X
  1104. ; Maximum number of persistent links.  -1 means no limit.% u4 K$ u/ A* j+ c+ ?2 K, ]8 p6 h
  1105. ibase.max_persistent = -1' b3 ?: D* l, v8 I9 C" h

  1106. 7 G) Z- i- `0 U
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; O/ \* V3 f! D
  1108. ibase.max_links = -11 [* c/ @0 G/ b+ O) g
  1109. 2 N2 U* H- V8 |# |7 P. x. A: Z$ L
  1110. ; Default database name for ibase_connect().
    5 g- O) K1 W) b0 Y4 v/ S- c' A1 f
  1111. ;ibase.default_db =1 g- H: K  J% T

  1112. 2 L9 `' ?  Y1 }# ^- z1 V$ T
  1113. ; Default username for ibase_connect().
    " U/ X) Z9 x( b; K
  1114. ;ibase.default_user =
    6 \) s  M! l" p. ^8 `; L
  1115.   q0 S9 j4 e$ S
  1116. ; Default password for ibase_connect().
    # M: r; B$ V( F6 @7 q2 q+ t
  1117. ;ibase.default_password =
    ! c- Q1 D; N% U% t
  1118. : h9 I  ]7 K. H3 u! I* O1 A5 i
  1119. ; Default charset for ibase_connect().
    , ]/ k* i# h" S5 O; p- P; s8 g
  1120. ;ibase.default_charset =$ ]9 U, V0 B& J1 Z: O1 X: w

  1121.   x# k0 d2 k* b9 ^' @- S" X9 L
  1122. ; Default timestamp format.8 \* _% V, f( U' o/ h+ T  K
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- @0 {; }# R4 Z8 c) o
  1124. 3 J# d- m) a9 Y2 M) t" \! M- g
  1125. ; Default date format.& G+ w8 i1 Z$ l( ?8 t" V- a
  1126. ibase.dateformat = "%Y-%m-%d"
    9 y; d% K8 I. z( p& b% Q

  1127. & ?7 g' Y! G$ p8 h. p3 w- c
  1128. ; Default time format.
    ' p" s5 m$ f* s
  1129. ibase.timeformat = "%H:%M:%S"% E1 Z" Q1 h' I  u7 F1 J
  1130. ( V! C/ R; e# {; o( `2 w
  1131. [MySQL]6 H9 p0 [' l8 m& C5 b% E
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ G6 X" L$ |) B) z, t# d6 O& k
  1133. ; http://php.net/mysql.allow_local_infile
    3 l7 ~; d3 R( }, }
  1134. mysql.allow_local_infile = On/ L/ i, X. ^0 i. P8 B

  1135. + L6 y) _+ G3 m
  1136. ; Allow or prevent persistent links.
    + z  b& o) H: V: a
  1137. ; http://php.net/mysql.allow-persistent
    ! C) |' D* S7 g/ @! H. {
  1138. mysql.allow_persistent = On9 h* j: }8 Z1 q' n: d! ?" ]. `8 I
  1139. 1 ~) n1 Q6 q/ ]9 h  J) s. F
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache* C$ R+ C% ?& ]$ `5 @% g
  1141. ; http://php.net/mysql.cache_size& i- o5 A* y, U2 B5 j) o
  1142. mysql.cache_size = 2000
    3 Z7 x2 G/ c6 B" J9 `% s2 \8 R

  1143. 4 O' ]" H) ]# X7 O5 C
  1144. ; Maximum number of persistent links.  -1 means no limit.' _. r6 w. j+ v; A
  1145. ; http://php.net/mysql.max-persistent
    " j1 x6 _- w+ q4 R
  1146. mysql.max_persistent = -1- m$ ^7 U1 I/ a, t
  1147. ! Z% b" t9 i5 N4 }7 U7 Q; ~
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . F5 G- |$ x/ R4 B4 ~% f/ M2 x
  1149. ; http://php.net/mysql.max-links7 R# W9 u/ g  C1 S
  1150. mysql.max_links = -1. ~& D% @7 ?' l; ]) S

  1151. 2 K; V" h7 M( j& R: Q
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use' F' ]3 K: X$ V( v5 u' ^" A
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the1 `: w3 ]5 v2 J
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 L% T: W+ ^5 z/ C/ d
  1155. ; at MYSQL_PORT.+ ?: t: N8 Z5 {) o" [) s& F
  1156. ; http://php.net/mysql.default-port
    * |7 z$ m0 K+ X# }/ H9 Z! }
  1157. mysql.default_port =
    # L) }/ U, n. s5 I0 Z* B

  1158. 6 s  Q" I" }# _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in& S1 E6 H, b, \2 q
  1160. ; MySQL defaults.
    5 u5 i5 J* z) S0 D3 i5 c) l+ F
  1161. ; http://php.net/mysql.default-socket
    ' v: W3 r$ m- `. `" F/ m+ c
  1162. mysql.default_socket =1 d, ~0 G5 }9 {. P

  1163. $ Z+ n+ ~; V6 M5 z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : `' |# T: `* P1 }4 H# q* p
  1165. ; http://php.net/mysql.default-host
    # |* D+ M# m  _
  1166. mysql.default_host =! s( c$ V% g# D# c

  1167. % {* Y! f1 Q" ~
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' e' p/ G: N2 [- T9 P
  1169. ; http://php.net/mysql.default-user$ ~3 Y5 W4 Z2 b, S+ I  D
  1170. mysql.default_user =
    # _4 X3 Z( [  E) c

  1171. 3 G; `5 X2 j( s1 l$ o% D3 h
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    9 X3 f9 u% U2 [8 C2 R
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * E: E+ b8 B7 R2 j/ O7 y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . N6 s* h( n# ?  }2 \
  1175. ; and reveal this password!  And of course, any users with read access to this
    + ^! W$ B* @% t' s8 j( P; E
  1176. ; file will be able to reveal the password as well.) F; K3 W' u% ]$ m8 l
  1177. ; http://php.net/mysql.default-password) ^* P1 W( r) Z/ i3 t. z7 D
  1178. mysql.default_password =, ?3 v: A1 @2 Z

  1179.   ]* p/ ]0 m% z+ P. K( M1 W. J  a
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit' Q6 y9 Q& J* P, O% h  a& C
  1181. ; http://php.net/mysql.connect-timeout
    7 N9 B+ ?! [. A) _
  1182. mysql.connect_timeout = 60
    / j# ~0 a6 ^" @! @: r
  1183. ( h* n- g9 Y$ V% [
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and+ W/ S" a. P0 c" [. }
  1185. ; SQL-Errors will be displayed.0 B, a  @8 h- k& g; ]+ C8 h! W
  1186. ; http://php.net/mysql.trace-mode
    " g8 r2 i8 i; T; q
  1187. mysql.trace_mode = Off7 p$ W: u3 z* E, b

  1188. 5 f6 w5 ]6 \8 l# T' Y; @7 q: p
  1189. [MySQLi]- r( d# g0 ]6 H) h, B0 ~- [' J

  1190. ! C0 ]1 e3 O5 T1 m& v
  1191. ; Maximum number of persistent links.  -1 means no limit.
    0 A6 }% g) E. h6 y0 Q' M
  1192. ; http://php.net/mysqli.max-persistent
    & h2 r$ {, B+ E3 X. c
  1193. mysqli.max_persistent = -13 C# k0 f6 C, W: Q
  1194. # d$ o) S$ P, n% H4 N7 A5 J6 g
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( E- T3 v( U# ?4 S/ ^4 _
  1196. ; http://php.net/mysqli.allow_local_infile1 E3 e/ T1 y0 o
  1197. ;mysqli.allow_local_infile = On
    % D! t8 u/ ^% R
  1198. 8 S" n# h9 y% |! h0 P
  1199. ; Allow or prevent persistent links.
    ) [7 S/ E" w( z( `
  1200. ; http://php.net/mysqli.allow-persistent! |& p; [/ z  g. ?  l- \
  1201. mysqli.allow_persistent = On
    + ~, }/ Z4 [0 v
  1202. ( z9 w8 W6 Y$ h! u  G7 i
  1203. ; Maximum number of links.  -1 means no limit.- S. r* S3 s- z3 A/ }2 M' Q
  1204. ; http://php.net/mysqli.max-links
    ; g1 L. v  ^) F; q
  1205. mysqli.max_links = -1% C. G/ X( O7 T' U5 e7 P# x

  1206. - L/ L6 l" l2 [7 {% p' ~& i
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 O4 s3 v! c  i9 d; Q. b# ]9 U
  1208. ; http://php.net/mysqli.cache_size
    5 _4 h" X3 w0 w' g
  1209. mysqli.cache_size = 20006 G1 l: s; A* I2 t
  1210. . Z- z: J$ K1 D! c' _& l
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ H0 W; z; l4 h: E$ t
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# s+ n; ~7 V/ l
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 A  f$ B  ~8 q
  1214. ; at MYSQL_PORT.% W/ A% R$ B$ g& n/ ]
  1215. ; http://php.net/mysqli.default-port
    8 D& o) I) u- C4 Y
  1216. mysqli.default_port = 33062 y3 E- b; o1 _
  1217. ( U% m4 ^( S2 d6 m
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : \/ `7 K8 T; C$ L
  1219. ; MySQL defaults.
    8 [2 Q0 S; p) K9 q* d9 A* G  h
  1220. ; http://php.net/mysqli.default-socket' L8 J/ a- F* v' x( s( Y* i/ P
  1221. mysqli.default_socket =- a8 _" u' h9 A0 M( s& C4 `

  1222. : L, l9 ~( V# @$ w" Y3 k% j
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).# l. Y; D9 ]1 x! v
  1224. ; http://php.net/mysqli.default-host
    + p& i8 R3 T0 V+ T, r
  1225. mysqli.default_host =
    * x* z6 i! C  F/ p# v
  1226. : h8 u  M% |* w2 ?$ l
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)." O8 s+ B, x$ Y9 `
  1228. ; http://php.net/mysqli.default-user! [% ?, T0 g, C
  1229. mysqli.default_user =7 ^' r2 f$ d5 G& ~' u: r9 F

  1230. 8 Y% A3 J1 n; o6 s
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* ~. \" `- y2 k
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.4 i! F( V7 D) ]. E+ D  }
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"), e/ {  a  C, v8 G
  1234. ; and reveal this password!  And of course, any users with read access to this
    ; b8 |1 x$ f0 P" a& F
  1235. ; file will be able to reveal the password as well.
    : }7 |" Y* [+ V4 b: I- h, D: A
  1236. ; http://php.net/mysqli.default-pw  d' J' \: s8 v2 e9 Q4 X
  1237. mysqli.default_pw =
    " m# K/ E  e3 v) R* k: ]

  1238. 5 A* a* q) o* D2 b$ d* `- w5 {
  1239. ; Allow or prevent reconnect: O  h# z; h5 Z; d( `6 G
  1240. mysqli.reconnect = Off
    " |1 p" z3 J! W; w' O. D. _

  1241. 4 ]5 r- |, E$ }5 O
  1242. [mysqlnd]) l0 S5 [5 @9 |' A% M
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be6 L3 ~: a4 C: V3 t7 H) {7 D
  1244. ; used to tune and monitor MySQL operations.4 D  [8 `" {% X: j' I+ ~- K+ H: N/ }
  1245. ; http://php.net/mysqlnd.collect_statistics1 S7 d% |& ^3 _
  1246. mysqlnd.collect_statistics = On
    ( B8 V3 T" g% M0 C

  1247. ' ?9 ~* e) M% U3 u$ t
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 r2 o; v5 b5 M& Y
  1249. ; used to tune and monitor MySQL operations." y) h* W% b2 P0 k) `6 K+ e
  1250. ; http://php.net/mysqlnd.collect_memory_statistics& s" s3 \1 |; S4 M6 w
  1251. mysqlnd.collect_memory_statistics = Off
    - @8 [( u* s5 \# y

  1252. 9 z9 S# |; R' P2 ?
  1253. ; Records communication from all extensions using mysqlnd to the specified log" @) N6 {) F; E: _3 M
  1254. ; file.1 M' P  Q: q0 J: x+ b4 o( T
  1255. ; http://php.net/mysqlnd.debug# o# }, I4 R8 W5 Z6 N
  1256. ;mysqlnd.debug =7 s$ h! C# h. d. L6 j# G- R/ }% Z4 s

  1257. 2 F: M% V% n4 u6 Q- Y0 }! g
  1258. ; Defines which queries will be logged.6 h# F1 ?4 A$ N8 t; @, ~
  1259. ; http://php.net/mysqlnd.log_mask/ d5 a: L2 V8 r3 R) V! m
  1260. ;mysqlnd.log_mask = 0$ k* {- m) _" u  m$ @& k& _" \0 }6 U

  1261. 4 W* ^# k9 Q8 P* m
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.6 P$ B# A. k" ?. y" \
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ! N$ j! b# [" s
  1264. ;mysqlnd.mempool_default_size = 16000+ P; J4 C0 [% T0 T/ ?& l
  1265. . p- X5 s3 E" D1 N! [( H
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    9 G- C) q& z+ p- q' F
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ; @3 |; s0 _. m8 W
  1268. ;mysqlnd.net_cmd_buffer_size = 2048& \# @; h0 l# }, @; D
  1269. 8 b; L8 n3 b0 C" @8 w3 U( |
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . `8 {/ i7 _( f+ c1 D9 r
  1271. ; bytes.
    . Q. L, {( D( C- }' ]4 W% Y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* H* `; [' a5 F' _
  1273. ;mysqlnd.net_read_buffer_size = 32768/ j! K7 L- R( _! \- ~

  1274. : }, j* J$ x1 E4 D& X/ h
  1275. ; Timeout for network requests in seconds.; e( k9 k4 y) [, K; ~# K
  1276. ; http://php.net/mysqlnd.net_read_timeout/ y3 N$ z% ]5 G: n( K1 N
  1277. ;mysqlnd.net_read_timeout = 31536000' G! y; J4 j$ N7 }
  1278. - ]; L! h' v; Z1 Y+ E
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' z; J5 B3 t, K! j
  1280. ; key.* o. u& F4 ?/ ]8 z9 |( }% \5 o
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    , I/ Z  v- F% N- q, T& _
  1282. ;mysqlnd.sha256_server_public_key =/ f( F. \1 c/ Y  F

  1283. ! |/ x) E, c3 x
  1284. [OCI8]
    1 H0 |- H% Q& m
  1285. / C2 L3 v" j! i* ~6 n" z5 |- J4 s$ O
  1286. ; Connection: Enables privileged connections using external
    - N' ~  P7 i4 W# f5 ^* a- m  t% l
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 a, K( F* B/ n+ F1 a
  1288. ; http://php.net/oci8.privileged-connect  Y. I1 Y/ d1 |  H  S  i
  1289. ;oci8.privileged_connect = Off9 k/ L0 K; L5 e0 i
  1290. 2 w1 V0 k  |& t7 C& {+ A" K% B
  1291. ; Connection: The maximum number of persistent OCI8 connections per# _" q1 ]& [( @+ M. P  a% \
  1292. ; process. Using -1 means no limit./ L2 r  E# N) d0 f: _
  1293. ; http://php.net/oci8.max-persistent, O, P! t3 P# f- T7 `2 y4 k
  1294. ;oci8.max_persistent = -1
    + |7 S6 B  g* e. }9 E# s' n; K
  1295. ' P: F2 |  M1 W1 f: I
  1296. ; Connection: The maximum number of seconds a process is allowed to5 H1 Q( _, o; f( h% I
  1297. ; maintain an idle persistent connection. Using -1 means idle# j! b4 J6 f# l' q, B% L7 q/ g
  1298. ; persistent connections will be maintained forever.. y3 [; D5 g+ {+ M, L3 g( O
  1299. ; http://php.net/oci8.persistent-timeout
    / L1 s" {% d; h8 @  i  h
  1300. ;oci8.persistent_timeout = -1. Z, g6 g/ g+ |( V; m

  1301. & b5 z% n9 G4 D% C( D7 g7 |3 p
  1302. ; Connection: The number of seconds that must pass before issuing a  b9 t: p. T7 y; M1 w
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ! t0 h3 }. O1 W' N& ~' ]' a* t& q
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables* c) B! t' @$ W  F: s& o: x  O
  1305. ; pings completely.7 [) H; F* j  f9 M
  1306. ; http://php.net/oci8.ping-interval4 O  k9 O. R" v* Q# p
  1307. ;oci8.ping_interval = 60
    , b2 S7 ~1 E* [0 o

  1308. ( }8 o8 C4 S6 Y. v" Y3 I
  1309. ; Connection: Set this to a user chosen connection class to be used
    6 j$ r! J- A; L5 ?! I
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    1 N# o3 n& U4 G' |$ X: p5 @1 j7 N; I
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & \% Q/ ]" Y2 n4 t
  1312. ; the same string for all web servers running the same application,7 O: Z# s1 \' \4 C
  1313. ; the database pool must be configured, and the connection string must
    . ^: h) b3 X; G3 H
  1314. ; specify to use a pooled server.
    3 O$ _9 ^- R9 N* E* p: t
  1315. ;oci8.connection_class =/ S9 G) ?& w' F# U
  1316. & V: I: `: L. j1 `& m8 @
  1317. ; High Availability: Using On lets PHP receive Fast Application' l; {% Q( |* i8 ~4 a- Q& w6 b1 x
  1318. ; Notification (FAN) events generated when a database node fails. The4 K- v; d6 j4 A. D' p, W, H
  1319. ; database must also be configured to post FAN events.$ A4 m- c' K1 G* N1 {9 e: A
  1320. ;oci8.events = Off
    4 o2 j( M7 Y& ^, M% T

  1321. " L3 }9 P. Y% o7 V% y, u' B: y) R
  1322. ; Tuning: This option enables statement caching, and specifies how
    4 E  T" A3 ~. }) N( w# v0 T
  1323. ; many statements to cache. Using 0 disables statement caching.
    ! E$ T1 K* w6 K
  1324. ; http://php.net/oci8.statement-cache-size9 [7 |& U1 V. }1 O4 D8 W1 n
  1325. ;oci8.statement_cache_size = 20
    2 r- J* L6 J) n
  1326. * \* |" J, t) j$ z3 S+ @: ^
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ) S& M* Z. O! `. ^6 g1 H: W1 w$ @
  1328. ; rows that will be fetched automatically after statement execution.! _, y; r0 e; x3 o5 m+ I
  1329. ; http://php.net/oci8.default-prefetch
    ) |- C2 C* c' o9 ]
  1330. ;oci8.default_prefetch = 100
    6 H1 _1 {0 K# n3 h

  1331. / Z8 U  d1 E* {( W0 Q4 c* C
  1332. ; Compatibility. Using On means oci_close() will not close
    0 p. u7 K: k. H4 Y" w2 V
  1333. ; oci_connect() and oci_new_connect() connections.
    + I& O. X* U8 m0 O0 U4 I% \  y
  1334. ; http://php.net/oci8.old-oci-close-semantics
      @5 z# L3 L9 n5 \1 m, W% N, P1 t
  1335. ;oci8.old_oci_close_semantics = Off5 I" N6 s  o  @& r# ]5 |

  1336. 1 P7 P, l' G. B1 B5 p
  1337. [PostgreSQL]4 I! E# l9 Z2 Y& B  V- d
  1338. ; Allow or prevent persistent links.
    - [4 d- B4 z* s: B3 O( d( r
  1339. ; http://php.net/pgsql.allow-persistent( c% _4 i& ?- n+ W7 m
  1340. pgsql.allow_persistent = On
    * ]9 o9 x0 _- f" \  u  f
  1341. 7 D# V, j2 i0 X7 f6 z9 ?
  1342. ; Detect broken persistent links always with pg_pconnect().
    + d, e" @8 f9 }6 Y% M
  1343. ; Auto reset feature requires a little overheads.
    1 `8 r4 w: l4 \, c3 B6 f+ @& ^& e
  1344. ; http://php.net/pgsql.auto-reset-persistent/ ?6 a2 w. r" x/ x( ~) D1 g- y
  1345. pgsql.auto_reset_persistent = Off
    / r. A0 E7 ^; p. W2 b; x
  1346. 5 r; {/ T$ G! O9 B
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 D7 N0 }& s" I& w+ p
  1348. ; http://php.net/pgsql.max-persistent
    - ^7 f# ?5 d2 R& J
  1349. pgsql.max_persistent = -15 D8 M. F5 A; M

  1350. ' b% T( V9 z9 o5 C5 F
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( K# v* n1 L  |, K
  1352. ; http://php.net/pgsql.max-links4 Q( |% e1 e2 n1 H- W
  1353. pgsql.max_links = -1; I8 {9 `3 y# d
  1354. % r7 V! n7 ^- r2 I& C% B
  1355. ; Ignore PostgreSQL backends Notice message or not.+ y3 W0 O1 w, c% z& {' H& @" }
  1356. ; Notice message logging require a little overheads.
    7 v; h& a5 |4 }% I7 y. E' D" P
  1357. ; http://php.net/pgsql.ignore-notice
    ( _9 V4 B, }1 U$ n0 @/ ?( b+ J
  1358. pgsql.ignore_notice = 0
    ) Y8 Y( [5 c  A5 l" e+ `

  1359. 4 y% h0 f7 a9 j* }! R2 q: N1 ~
  1360. ; Log PostgreSQL backends Notice message or not.5 f3 b* w& x3 {5 L  d* d. }
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - }+ y4 q! X) K1 f+ c. M/ X
  1362. ; http://php.net/pgsql.log-notice
    5 }. U4 {8 F1 \* \
  1363. pgsql.log_notice = 04 i& Z% E8 _* V! H4 W- E* T5 q
  1364. : j& k, n: I5 K3 u
  1365. [Sybase-CT]% j. p% W6 E( f# w
  1366. ; Allow or prevent persistent links.
    # @; }; I5 A4 M
  1367. ; http://php.net/sybct.allow-persistent
    2 o0 S# k9 [4 }. g; i6 F
  1368. sybct.allow_persistent = On4 G2 R# q& W: x0 n0 c2 g& Q
  1369. " ]& Z8 X) e+ y; F& u
  1370. ; Maximum number of persistent links.  -1 means no limit.
    / B7 [' r0 f/ K# h9 ]" c
  1371. ; http://php.net/sybct.max-persistent
    " a! t+ c  ?& z) A, D7 B
  1372. sybct.max_persistent = -1
    5 j5 a- w1 W% s+ t3 `0 S1 Q* u" _$ A

  1373. ; c4 U3 T! d3 ?( l3 @3 Y2 m
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) P! h( m6 t# W0 T% G" T! ~( ]
  1375. ; http://php.net/sybct.max-links# j( \; \8 [, E* Y# H+ f
  1376. sybct.max_links = -1
    ( I! J6 W) k9 d
  1377. 9 ?9 N" M/ ^. G; A, s
  1378. ; Minimum server message severity to display.
    + Q7 K8 U1 \8 x  _
  1379. ; http://php.net/sybct.min-server-severity
    * b$ e- g! M+ i* e
  1380. sybct.min_server_severity = 10; J( C# D# ?& D4 t
  1381. 1 C5 ]* U2 O- a" Q" i3 _
  1382. ; Minimum client message severity to display.3 R/ T/ K0 s2 O7 s
  1383. ; http://php.net/sybct.min-client-severity' q- l: b; x, I* P9 G" P# r
  1384. sybct.min_client_severity = 10: T: Q7 g& S) X( K
  1385. ! a" C( ]. f) {8 u# q; h! I" W
  1386. ; Set per-context timeout
    3 M5 Q- b; i& r; a
  1387. ; http://php.net/sybct.timeout
    / E- H. {) o. @# h: |
  1388. ;sybct.timeout=
    % {+ `% ^" W8 N$ \6 D4 H& e/ V

  1389. 9 `3 K8 p4 C% n: M0 G6 |0 h
  1390. ;sybct.packet_size
    0 j- G, s9 B* o  b- J$ V) _
  1391. * p* c6 R( ?1 A' X: s
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 p$ @! ]: ]' z6 @
  1393. ; Default: one minute
    2 N1 b1 x( s6 F( W+ j( U
  1394. ;sybct.login_timeout=
      }* d: a9 r( O0 h

  1395. 8 {% Q+ h+ u: f2 ~4 o
  1396. ; The name of the host you claim to be connecting from, for display by sp_who." ?& _7 k0 m6 E; x) Q- |, x+ B
  1397. ; Default: none
    1 y( W0 u( j1 ]2 y/ u3 [9 T8 W* m
  1398. ;sybct.hostname=
    & x' D7 S' A( M/ l9 R' H* L) F
  1399. ! n( X, |) n8 s8 p' w( P
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 L, Q4 \$ W7 L2 E6 X
  1401. ; Default: 0
    $ b# J" g' S$ p+ `/ {. M0 I; t
  1402. ;sybct.deadlock_retry_count=
    8 b8 O, M1 d7 C% `' \% ?9 ^+ I! [

  1403. , L/ M9 ]9 C* S& s& J( ]
  1404. [bcmath]
    0 Y* |% n6 A  [7 z3 b; z9 u9 I/ u
  1405. ; Number of decimal digits for all bcmath functions./ K& e9 [7 n! H9 l) r( A, u& y
  1406. ; http://php.net/bcmath.scale
    ' r6 q: s8 ?, r4 S8 U
  1407. bcmath.scale = 0
    & B% J) D& d% k1 j! `% ?. C6 d
  1408. 5 |" V' D& t! Q& [- y3 H
  1409. [browscap]
    / }0 K  c' A! V' }8 l
  1410. ; http://php.net/browscap
    5 z6 a& u0 c4 a! e
  1411. ;browscap = extra/browscap.ini: n2 m! J  d& W0 Q

  1412. * ^1 _& R8 A. H2 J) Q
  1413. [Session]" x/ i$ d4 X. ]
  1414. ; Handler used to store/retrieve data.6 P) u1 s, ^- {/ D% s8 R9 b
  1415. ; http://php.net/session.save-handler5 S7 A: G8 Z! J! X( [' P5 n
  1416. session.save_handler = files
    1 p3 z, z; _7 [! [- G
  1417. , s8 U) K6 S# p. m" K8 N
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: W: Q3 M1 G$ [; H/ T3 U" N
  1419. ; where data files are stored. Note: Windows users have to change this
    ) S* q  h1 P. x: S" O2 C' ^
  1420. ; variable in order to use PHP's session functions.7 t$ O6 L1 L; X2 L. r
  1421. ;  e/ p2 z  k0 E4 k
  1422. ; The path can be defined as:
    * }+ c  s$ y" K+ r* Z6 o6 Q7 R
  1423. ;
    + c* H5 _2 i- s! I- i  i0 r
  1424. ;     session.save_path = "N;/path"8 E" d2 T$ s( [
  1425. ;
    & l2 e, ~6 A% j8 M: w# v
  1426. ; where N is an integer.  Instead of storing all the session files in
    4 O, a# o0 {3 R. d
  1427. ; /path, what this will do is use subdirectories N-levels deep, and0 q0 c7 C$ G! L0 o9 F5 I
  1428. ; store the session data in those directories.  This is useful if& j0 |( h* W7 C; R; z" r
  1429. ; your OS has problems with many files in one directory, and is& h8 }7 e, ~8 l& l: }3 m
  1430. ; a more efficient layout for servers that handle many sessions.$ g8 z, i1 [' V. N% @! c$ d
  1431. ;, u3 q! }2 v2 N
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' G  M# U5 Z7 O( z% b% q2 v
  1433. ;         You can use the script in the ext/session dir for that purpose.. s2 ?9 Z4 e9 s/ Q+ H, T1 R
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    " W' x! C2 Z: z  v
  1435. ;         use subdirectories for session storage. Q* v" h  ~7 h1 F# o
  1436. ;
    ; j3 y$ ]1 j( `! Q
  1437. ; The file storage module creates files using mode 600 by default.
    # L& k' |( w+ s4 {
  1438. ; You can change that by using
    5 N+ T  H6 v4 U/ Z3 [
  1439. ;  E+ @* O  _9 E2 V" L1 F. _8 N
  1440. ;     session.save_path = "N;MODE;/path"
    1 u7 ?/ V  h1 @% d9 A
  1441. ;
    9 y; V  T9 J, z! A0 N1 ?# D5 h
  1442. ; where MODE is the octal representation of the mode. Note that this
    ! L0 N# o; j0 ^4 Y
  1443. ; does not overwrite the process's umask.% S, l- }( G* W
  1444. ; http://php.net/session.save-path
      p. W  S9 U7 U# Y3 d$ V  S: h
  1445. ;session.save_path = "/tmp"
    9 |* T% Q. y0 l9 C' @* o! B
  1446. 9 u; t: h8 b5 L. x) c% P5 _
  1447. ; Whether to use strict session mode.
    : d5 a+ ?8 z4 ]8 s0 T* d9 u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate( G, |5 v% x' v8 D$ \
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% Y: t4 t4 Y# a$ E1 e
  1450. ; applications from session fixation via session adoption vulnerability. It is2 H5 [" m1 X8 J
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! l" j+ S8 w& M  K# j( {0 Z' D/ Z
  1452. ; https://wiki.php.net/rfc/strict_sessions/ x1 h1 U' I7 Y6 y
  1453. session.use_strict_mode = 0. Q6 e& I! e# o
  1454. 8 p: S2 S# e; ?2 y$ d8 s" s
  1455. ; Whether to use cookies.
    8 ?1 v# i7 O4 Y* I5 f  ^
  1456. ; http://php.net/session.use-cookies* d  L9 `1 V8 g3 v( V/ a! g8 M
  1457. session.use_cookies = 1/ Y* Y5 K! c% S. b7 k6 r  U+ }

  1458. 1 ~6 b; u# z) N3 l5 G% z0 O
  1459. ; http://php.net/session.cookie-secure
    $ g6 ]2 O( z6 ]: |* Y8 V8 K
  1460. ;session.cookie_secure =% m/ o; Q, y7 \, K* ~4 B- p

  1461. + c1 g8 Y8 Y2 T. T$ k+ t" R: V
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining: U6 M2 L$ {3 A+ d4 n* @# S# h
  1463. ; the session id. We encourage this operation as it's very helpful in combating: Y% S. `5 s  H' b" l8 g
  1464. ; session hijacking when not specifying and managing your own session id. It is
    + }% U6 [5 k/ l7 a% K  o+ K
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 I  W" j. X; n+ ^
  1466. ; http://php.net/session.use-only-cookies; l# A5 `" G. P# Q
  1467. session.use_only_cookies = 1/ B, f0 f1 z: G1 o( R- `. N9 ]
  1468. ; X3 L' I# ]7 `% A3 P9 A4 n
  1469. ; Name of the session (used as cookie name).1 k. y& ^8 g8 M* g2 |/ v# X
  1470. ; http://php.net/session.name
    9 u% @0 T+ H+ f' s/ ]' w* b
  1471. session.name = PHPSESSID3 ?, C) J& u0 D$ S

  1472. " S/ p- `3 A8 c$ k* M( N
  1473. ; Initialize session on request startup.
    ( W* s; B2 G# \- p
  1474. ; http://php.net/session.auto-start8 p" S0 P6 Q& @' s9 M' F
  1475. session.auto_start = 0
    , h6 N% ]$ m1 A* H: V
  1476. 2 S) K0 f7 g) l$ m+ c5 U
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 l0 J- _7 x. Y) A9 I' ]
  1478. ; http://php.net/session.cookie-lifetime
    / H3 [% v3 K7 ?6 [8 l1 ]. R
  1479. session.cookie_lifetime = 0
    ( `2 i- |" ]+ f/ p/ _3 I* J. B
  1480. ) i8 V5 [( x- U1 ?* u0 Z& `
  1481. ; The path for which the cookie is valid.
    ! ^  M% Z1 ^, @' B1 k
  1482. ; http://php.net/session.cookie-path4 z  w2 p- G) u7 J; [9 j4 I3 S, [' g, }
  1483. session.cookie_path = /
    ( x1 m  [& ~1 g3 `
  1484. $ K6 k* K5 w) s$ A; w  y: T
  1485. ; The domain for which the cookie is valid.6 W; n- a, F. r4 i5 Y; f
  1486. ; http://php.net/session.cookie-domain; d1 v- T! T& u$ V
  1487. session.cookie_domain =
    . R/ Z& A! Q& Q1 }' }
  1488. 0 B7 n# L( Q: Y1 f2 ^5 n
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    & J) k1 X  P& ?4 l7 W3 o9 w; P9 Q
  1490. ; http://php.net/session.cookie-httponly6 _/ y& S2 V2 m1 W0 I# V2 i) Z3 x
  1491. session.cookie_httponly =8 p; ^% }$ Y8 ^/ V
  1492. ' @! e6 Q0 }4 l" ~7 [7 ], W
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.; \. A4 i; R% t- U7 M
  1494. ; http://php.net/session.serialize-handler! R. c8 A- e1 X. y
  1495. session.serialize_handler = php
    2 k' J4 n# B3 g& }" A$ h( K# T" v% l

  1496. 3 b9 H6 R7 L! w- b4 r% u
  1497. ; Defines the probability that the 'garbage collection' process is started' x+ i- O: _0 H# N- f1 [4 l* A: S
  1498. ; on every session initialization. The probability is calculated by using% J! F8 S3 Q, |
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- d# I7 S. |% C1 q6 R/ p1 u' U! y6 Z
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 e, @1 J8 Z& t4 R0 q( E$ q+ n
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : ]# ^% b8 b; S, s
  1502. ; the gc will run on any give request.8 k! m& a' }  H/ E, `9 s1 Z9 D
  1503. ; Default Value: 1( L. L- H8 e) c9 Y8 D5 O
  1504. ; Development Value: 1
    / \- z8 V; {/ ]4 u
  1505. ; Production Value: 1
    ( {$ O4 U2 O8 ^& P
  1506. ; http://php.net/session.gc-probability
    6 P& N2 K  Q! ?, k/ s) O
  1507. session.gc_probability = 16 M& A6 ~0 o" F. x* U; {7 v8 R4 a4 |

  1508. ( Y- J6 u. `% b0 ^
  1509. ; Defines the probability that the 'garbage collection' process is started on every  B4 x) m! \$ ?& h3 {2 {
  1510. ; session initialization. The probability is calculated by using the following equation:
    7 ^% W9 W( m: ?# E3 Y  L5 ^# c! ^, X( x
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and+ N3 t" |3 R) o: f' f* s9 F
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 T6 D1 e+ ]7 {6 k7 I
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , u" P# w- E4 f3 E8 T  A( j# ~
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 p+ z5 `3 |' S9 I/ o
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 C6 y) C  M+ D/ |2 d6 c7 i
  1516. ; this is a more efficient approach., ^- w6 i/ @: e- S  f
  1517. ; Default Value: 100
    - W8 n2 @$ _- P' a4 t
  1518. ; Development Value: 1000
    % T, |$ p0 {& c0 m0 U4 e' q
  1519. ; Production Value: 1000: k% i4 H3 s5 c) f
  1520. ; http://php.net/session.gc-divisor3 d4 ?8 r3 a8 X; p
  1521. session.gc_divisor = 1000
    , }+ I/ s7 M" Z

  1522. 3 Z. N, P8 N2 ]/ u7 U; |9 l0 b- o
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and4 a. e: p& K% x, n. ~' P
  1524. ; cleaned up by the garbage collection process.* k3 k3 R- x& P1 C
  1525. ; http://php.net/session.gc-maxlifetime
    2 {- ~) q" O7 t
  1526. session.gc_maxlifetime = 14404 G: m" P4 ^3 q# H( k2 V/ |
  1527.   a( T# j5 }( l* Z5 `
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    $ c, m' n# F5 Y( Z, o( W3 G) i6 b
  1529. ;       (see session.save_path above), then garbage collection does *not*
    . }; y2 s( P" y/ n$ y: n
  1530. ;       happen automatically.  You will need to do your own garbage! s# A/ a, c" j* [4 o6 ?
  1531. ;       collection through a shell script, cron entry, or some other method.
    1 S* d* r# a9 h0 n- O/ h% |4 X1 i
  1532. ;       For example, the following script would is the equivalent of
    ! ^3 Q9 r$ a' V$ Y5 P' v
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. S6 K) m' ~" j
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & ~) w& p7 |/ w* \; ]+ O4 a

  1535. / O7 j% P, Q* N
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.' C( c1 \1 a: c; h3 _5 ]3 ~& S
  1537. ; HTTP_REFERER has to contain this substring for the session to be5 u( D" u. D9 \$ U9 L4 X* i/ Y
  1538. ; considered as valid.( x6 P6 u! _! `/ F$ u  w( [
  1539. ; http://php.net/session.referer-check" G6 c9 L$ N# O/ u
  1540. session.referer_check =% V# s; g8 P1 Z% n

  1541. % U# K0 q) ?, Z$ {/ ]  {4 \
  1542. ; How many bytes to read from the file.- Z% K* e8 T  B# {% ^/ z( R0 g& W
  1543. ; http://php.net/session.entropy-length8 n" K8 M) F& f
  1544. ;session.entropy_length = 32: ~6 b* U. |9 A3 h
  1545. + T: E% Q' |( J* p& C
  1546. ; Specified here to create the session id.
    6 w& G2 ^( S) Y$ u( n
  1547. ; http://php.net/session.entropy-file
    7 y- n) }) `& i' W
  1548. ; Defaults to /dev/urandom
    % D1 h, q2 n- I2 z0 |  T, e1 R
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ z! {; K3 b; r
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ p8 V2 c% n& A  @5 ~$ h
  1551. ; On windows, setting the entropy_length setting will activate the
    0 J; ]% w2 f4 L* W) ]7 w& A: L
  1552. ; Windows random source (using the CryptoAPI)
    - q2 S/ z5 ~) y2 x
  1553. ;session.entropy_file = /dev/urandom
    / E" p$ I8 a" `9 P) r- \# Y( r# f

  1554. ' G4 l$ [' s5 x; S/ n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / f& P4 r- c/ I9 q4 I
  1556. ; or leave this empty to avoid sending anti-caching headers.' @$ [2 e# `5 I4 q3 M3 J3 R& S7 T
  1557. ; http://php.net/session.cache-limiter- k0 ^; s/ J" ]
  1558. session.cache_limiter = nocache
    % h; f* ~  y. V3 u. y, @
  1559. ( g: s) ]" N2 z+ T( m5 e. L
  1560. ; Document expires after n minutes.
    , t+ ?, C0 x) f- V4 g
  1561. ; http://php.net/session.cache-expire$ D) S8 W$ O* k/ p9 p
  1562. session.cache_expire = 180
    * }: K% s$ f+ q$ g9 E
  1563. . S. _$ b. R7 Q; i1 T8 N/ u4 t
  1564. ; trans sid support is disabled by default.* m5 v) o1 T# N- D/ h# R. g3 b4 o
  1565. ; Use of trans sid may risk your users' security.
    ! Z" R. Y$ O: e1 }: F6 ^: n
  1566. ; Use this option with caution.
    & t9 s' w! R* Q# g9 x
  1567. ; - User may send URL contains active session ID
    2 s! l) X, C, G- _
  1568. ;   to other person via. email/irc/etc.
    , F. s/ Z  O6 q# _5 A$ g( Z* m
  1569. ; - URL that contains active session ID may be stored
    & d" O1 S7 ]# I
  1570. ;   in publicly accessible computer.
    6 o6 x1 t) m! a* V3 u, b2 J
  1571. ; - User may access your site with the same session ID
    , ~8 G; {2 x0 `, {0 x! F5 X
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 ?1 p1 F: j7 B- x& T
  1573. ; http://php.net/session.use-trans-sid; t- N8 @9 N8 o! A
  1574. session.use_trans_sid = 0% n9 ~0 s" i( U% ?5 e/ C

  1575. $ ?5 B1 v8 l, u5 C
  1576. ; Select a hash function for use in generating session ids.0 U4 n" f3 [& |. X  T: ?2 W: g
  1577. ; Possible Values3 ?$ r- W: \3 U; r: m& l3 K
  1578. ;   0  (MD5 128 bits)# A  @" m$ V: a( \8 m/ g+ L" z
  1579. ;   1  (SHA-1 160 bits)
    " _% T: u5 k$ M
  1580. ; This option may also be set to the name of any hash function supported by
    + O. \& F7 Q+ P. }
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 l3 o% |. Y( d
  1582. ; function.' t1 w6 [9 e5 Q0 X+ K
  1583. ; http://php.net/session.hash-function6 @! v- u  V! N1 B  W2 |& H
  1584. session.hash_function = 0* P$ W. {4 ^) U% q! [; v
  1585. 3 P0 {" c) ~% l7 \! t; `9 q
  1586. ; Define how many bits are stored in each character when converting
    5 j0 L3 v4 p$ _: G9 Q4 [/ G
  1587. ; the binary hash data to something readable.9 C5 I+ U2 x/ J$ f4 G
  1588. ; Possible values:
    ( l" B" O, ~, p. ]
  1589. ;   4  (4 bits: 0-9, a-f)
    ' |9 o# e6 g& b- Y+ l2 |
  1590. ;   5  (5 bits: 0-9, a-v)
    : \" t! a9 w7 Q' J6 b0 s4 Q! e  \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ! x' D+ H% k( B: W8 E9 }( Q
  1592. ; Default Value: 46 l  @' w8 z. p/ Q6 n9 ~
  1593. ; Development Value: 5
    " {6 l, @& \( E! {$ u  F, C
  1594. ; Production Value: 5) e3 b6 {2 a3 s( C$ E% L
  1595. ; http://php.net/session.hash-bits-per-character4 |( w0 C: C+ [) k! }
  1596. session.hash_bits_per_character = 5" A8 L1 o* A" N0 w% J: }

  1597. ) V# G& N( U7 H( V1 |, _7 S
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . g. k5 D* G2 ^
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ; V5 L0 @1 F) j9 g5 W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ( Y: |3 Y9 Z' X" W( ^+ o7 g
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry., M4 H8 x( K1 Y! U( R
  1602. ; Note that all valid entries require a "=", even if no value follows.+ u! T1 G( P9 f" Q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", s4 J! |  ~. U- d4 T. b
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 Z8 |  F( l% Z$ Y4 b. d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % y2 n( R, D' Z
  1606. ; http://php.net/url-rewriter.tags
    2 ^4 i5 ~& u: s' P9 [( _" w
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( m/ T1 ]6 t, Z4 ~- {' I
  1608. ! w0 g! b! L$ b+ ?
  1609. ; Enable upload progress tracking in $_SESSION
    # ^# `9 E, I# w
  1610. ; Default Value: On% |6 O  _5 P6 o* `
  1611. ; Development Value: On. k" b7 ^2 z6 q+ Y1 _5 c
  1612. ; Production Value: On
    & y% B( }$ s6 `8 p  j
  1613. ; http://php.net/session.upload-progress.enabled
    : X2 m' @8 V. ~" v. b
  1614. ;session.upload_progress.enabled = On
    $ ]) X! V! b* C( B" L$ p  `. y& g
  1615. & Q6 D  x8 p: Q
  1616. ; Cleanup the progress information as soon as all POST data has been read
    , k& f: j% ]* |; ?
  1617. ; (i.e. upload completed).4 M: \3 [5 |& J1 R9 S  k0 u4 [
  1618. ; Default Value: On. V/ {- ?! ^% Z$ |; i
  1619. ; Development Value: On$ t$ W- m4 x4 }& y1 T3 u% F6 ?  h+ E
  1620. ; Production Value: On
    2 X6 a5 k, i$ ^0 W6 Q5 P- y( d
  1621. ; http://php.net/session.upload-progress.cleanup5 P, U& }' o2 ?: t
  1622. ;session.upload_progress.cleanup = On
    8 h$ i; }) l+ b  u1 d

  1623. 6 j$ P' K* x9 s
  1624. ; A prefix used for the upload progress key in $_SESSION- o$ n& x& Q, F# D, r
  1625. ; Default Value: "upload_progress_". o9 e6 A4 A5 y9 q8 P, e2 e4 Y# \6 W
  1626. ; Development Value: "upload_progress_"
    1 L; n% P6 N7 T: @
  1627. ; Production Value: "upload_progress_"6 c6 r% I$ _( [" _4 c) u- K, u
  1628. ; http://php.net/session.upload-progress.prefix
    # _' y. ~* [; @- k
  1629. ;session.upload_progress.prefix = "upload_progress_"
    % s. F3 U* {4 ]6 F2 M& P
  1630. # l! ]" J# {( m5 C
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 u1 }$ `; G1 W. Y7 n+ Q+ Y
  1632. ; containing the upload progress information
    ( j" v& [# X4 E! a) s
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" j9 E( g$ h* e3 O' Z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"* y4 m& G$ H$ r" B* O6 O$ S
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ L( h, `! W# \
  1636. ; http://php.net/session.upload-progress.name
    9 j/ N8 R7 r2 |( s" f' d
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 ^) M& T: m% o5 b* c

  1638. & k% P- ~0 ]& @, u4 D
  1639. ; How frequently the upload progress should be updated.% ~% \& {9 X8 `' T4 |1 N* p$ b
  1640. ; Given either in percentages (per-file), or in bytes3 m, b: G( ~: O/ O. p1 u/ U" P, Y) W
  1641. ; Default Value: "1%"
    9 x6 ^! r% G* C7 n3 G7 P; g
  1642. ; Development Value: "1%". ]3 m4 @! J' z$ i
  1643. ; Production Value: "1%"
    + Z  ?" g' B0 `, n- ~
  1644. ; http://php.net/session.upload-progress.freq
    % }. h* H7 }  h5 P1 |; `
  1645. ;session.upload_progress.freq =  "1%"" \1 a5 @; [& q! |' ~  D

  1646. " d( b, S4 p7 w$ d
  1647. ; The minimum delay between updates, in seconds
    3 a' f4 I" {# B
  1648. ; Default Value: 17 b* P+ l4 {& o; Q; G  C
  1649. ; Development Value: 1, [- `/ |8 W) @: I
  1650. ; Production Value: 1' u- r% `! j5 p4 a! `' ~9 s
  1651. ; http://php.net/session.upload-progress.min-freq
    8 A& Q2 X* k; Y! G- ?# j) Q
  1652. ;session.upload_progress.min_freq = "1"
    - H: m3 G2 [% C* P- S- g, G
  1653. / x, P+ K$ ^! m7 t7 U
  1654. [MSSQL]
      }' W" G/ T8 t9 D
  1655. ; Allow or prevent persistent links.+ b3 X3 e& b3 b0 G, S' \: ^) i, B
  1656. mssql.allow_persistent = On
    4 c" p# Z8 t. i/ V

  1657. 5 C8 d% S4 A  c; A" A
  1658. ; Maximum number of persistent links.  -1 means no limit.
    . `6 y( n4 H2 k% w2 K" n
  1659. mssql.max_persistent = -1( p) g! |# P( c2 F, t/ F
  1660. 3 q" M: }; p9 D$ B  g
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- C. W! H! L, s# i
  1662. mssql.max_links = -1. Q& T) d+ P# t: g2 E

  1663. ! j  K- q5 c9 L
  1664. ; Minimum error severity to display.
    ) U2 E/ V: s+ c7 I
  1665. mssql.min_error_severity = 10
    4 s( t1 |  ^9 g. C

  1666. " A+ L4 t4 V7 O
  1667. ; Minimum message severity to display.. h& k+ o2 O5 T, b9 X& b
  1668. mssql.min_message_severity = 10% Z- o8 c) V5 D0 x+ {
  1669. / `% r+ W8 Z: X- c
  1670. ; Compatibility mode with old versions of PHP 3.0.: q; J! O* J/ Y1 L9 f0 h$ [& J
  1671. mssql.compatibility_mode = Off
    : C% {, s. i: ]
  1672. ' Q+ K6 h( x9 M; P/ Q8 G5 T
  1673. ; Connect timeout
    + w' }3 V! z2 U5 I0 P
  1674. ;mssql.connect_timeout = 5
    ( h; U$ [2 W! @+ M  D! c! D

  1675. 9 E: k8 A1 e5 v! j5 c$ ^9 l. J, G. J( Q, b
  1676. ; Query timeout" v6 r% S& i( J) _! Q
  1677. ;mssql.timeout = 606 c( H! T  v% [& j4 `8 u+ l

  1678. - y9 y) F2 H) N+ M# _
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    9 G1 }( Q4 k, E2 t! c" [
  1680. ;mssql.textlimit = 4096+ c6 z# a7 b8 u+ m" [8 k
  1681. 8 g& m  a2 R/ f" Y9 m3 g. n8 x" U
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    " z. a" H9 N1 ~( X1 G/ k
  1683. ;mssql.textsize = 4096
    3 K! h# i" b4 I9 Z( q1 O) e
  1684. . w- ?7 I- z6 n  e" u. T1 ]
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.4 k5 \( l1 f7 y/ h4 M
  1686. ;mssql.batchsize = 0
    * g" s9 T  q! r. L/ |6 k% O

  1687. # w1 F) z" F: V3 r
  1688. ; Specify how datetime and datetim4 columns are returned! z5 {  _6 ]8 c2 L+ j
  1689. ; On => Returns data converted to SQL server settings
    ( Y$ }: n. }# x
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss" ~3 f2 a1 H1 v. D4 a
  1691. ;mssql.datetimeconvert = On0 o$ ?9 c- t2 O" M  K# d% s6 s
  1692. + p* {( A4 _. e9 i/ n0 k& S
  1693. ; Use NT authentication when connecting to the server  H# s% }8 q' R% l
  1694. mssql.secure_connection = Off
    0 G) u4 t3 {- C* ]
  1695. # A4 Q, A2 G9 W& {
  1696. ; Specify max number of processes. -1 = library default1 m  g+ v4 U' x4 ^+ A- k
  1697. ; msdlib defaults to 25
    3 z+ ]3 e* k: I1 A7 w4 g9 l# H
  1698. ; FreeTDS defaults to 40969 a1 |4 a0 c3 G5 O2 Z) I' b
  1699. ;mssql.max_procs = -1  {1 H. E- r. {" F% J

  1700. # S4 U, c6 ~  G0 }* t0 q- O" _
  1701. ; Specify client character set.
    - b* d6 Q) G( v/ I# M! B2 F
  1702. ; If empty or not set the client charset from freetds.conf is used
    5 m! }( P: @) _3 _4 o3 e+ M" a
  1703. ; This is only used when compiled with FreeTDS
      P/ w  O& y( @( ?
  1704. ;mssql.charset = "ISO-8859-1"
    : D; t7 k( P* t3 ]  z; u) K
  1705. / b& v; I! ]/ z$ ]
  1706. [Assertion]  x6 D8 K* Q0 W
  1707. ; Assert(expr); active by default.
    4 I: R! C* c' N* y. V; }6 K$ [8 c1 \( }
  1708. ; http://php.net/assert.active
    / {. i) v, i) J
  1709. ;assert.active = On. `! a1 R8 j' e! y3 ]/ A, r
  1710. - Z1 d5 i/ W. v6 F4 O, L4 e' S
  1711. ; Issue a PHP warning for each failed assertion.
    8 l( M0 U0 m# a& B) b$ \; a4 u
  1712. ; http://php.net/assert.warning: ]/ u& K( |3 N3 v$ A
  1713. ;assert.warning = On2 `; S' t5 f. [" P) y( n

  1714. 4 \: d5 }6 z' P! |, m- D5 M5 q
  1715. ; Don't bail out by default.0 o/ t' `9 V0 i( L6 b5 M
  1716. ; http://php.net/assert.bail
    , M6 Q9 U! w1 X0 [3 p& o
  1717. ;assert.bail = Off0 ?3 |5 z; I, [! i5 B( ^5 t
  1718. 3 g4 Q' [, I; ?$ y3 G2 z
  1719. ; User-function to be called if an assertion fails.
    $ g( i8 G& r5 h
  1720. ; http://php.net/assert.callback% u2 R6 }# t" D" T- G
  1721. ;assert.callback = 02 E, U8 _, m+ c- u2 k! C; F
  1722. 3 U8 X( }; Y0 D, l7 q) z
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    $ R+ O! a* F. U
  1724. ; error_reporting(0) around the eval().. F+ l5 v* |0 w9 e; x! B" q4 c# u
  1725. ; http://php.net/assert.quiet-eval( r* q# y8 h; {2 z5 S  ]
  1726. ;assert.quiet_eval = 06 U8 P% P$ c; \  {! {4 P
  1727. & L) |9 B2 y& v& F5 C; N
  1728. [COM]2 f& b. W; y; b0 T" w! y3 v# D: P
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; U5 \. ~+ l  G, B: c
  1730. ; http://php.net/com.typelib-file
    . g- f9 T5 I, t6 a3 y
  1731. ;com.typelib_file =
    7 b" O# T% }& h4 Z9 x
  1732. ; K5 ~: s( r/ Q& h" ~
  1733. ; allow Distributed-COM calls4 `0 ?) `8 o3 [- P+ ]
  1734. ; http://php.net/com.allow-dcom
    ( |5 Z/ k& N8 @% \( b/ ?3 w9 b' F
  1735. ;com.allow_dcom = true
    3 R( r6 p! Z9 \& D$ ]4 ~; N

  1736. - D  R1 B6 Y. |5 v0 F6 q
  1737. ; autoregister constants of a components typlib on com_load()
    ' a  M4 g5 l5 N" A4 e
  1738. ; http://php.net/com.autoregister-typelib  u% G4 [) j6 n% w! b4 G# I; v
  1739. ;com.autoregister_typelib = true6 K3 K4 O) {' G
  1740. - g& u5 g. C/ h9 R6 k% U" K9 D$ r
  1741. ; register constants casesensitive
    " y5 S. X$ a/ G. a) B& l. Q1 H
  1742. ; http://php.net/com.autoregister-casesensitive
    ! d  B& v0 O: o
  1743. ;com.autoregister_casesensitive = false
    $ H/ ~0 v! o2 r
  1744. 8 X4 U8 T5 T4 q; T' k6 Z
  1745. ; show warnings on duplicate constant registrations
    / R8 H( y& x" `' d, ]# u* a
  1746. ; http://php.net/com.autoregister-verbose1 X1 q2 j5 a: A; x1 @/ u
  1747. ;com.autoregister_verbose = true6 {0 [. _9 I& S$ z; o
  1748. 8 a& Y! X' g/ g
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    " D! J2 T0 P+ ^' ]( d
  1750. ; Default: system ANSI code page
    * E7 F8 O/ d! ~
  1751. ;com.code_page=
    7 q- e/ g0 M* q: H
  1752. - R3 t; W# e; j# U
  1753. [mbstring]
      P7 x3 Y( z  m1 d( t
  1754. ; language for internal character representation." m) E) A- x3 ?% p/ G, y3 ~
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.; M- m2 D0 W( s) f1 Z1 n
  1756. ; http://php.net/mbstring.language& A" o6 Y8 _  N2 Q$ u
  1757. ;mbstring.language = Japanese
    9 l6 W- i' ]7 q6 f6 H" U

  1758. 4 c& |. f" `1 D1 U: `! i/ S( j% V
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 X# s: G2 r6 l/ P/ a" D7 c( I, |
  1760. ; internal/script encoding.. D. m, M% n; O
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), v, w6 W% D+ t6 c' A
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 S$ G# _) U# k5 l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 w. {2 I' @3 X/ P2 B& `+ M0 A
  1764. ;mbstring.internal_encoding =
    6 B( C, |" \8 a! Z! [  Y7 k

  1765. ' L( x- N6 B0 K1 Y
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ z( z( S: h1 D( s$ c' f2 q
  1767. ; http input encoding.
    # x: L+ e6 \( C; E! R# W8 p2 d
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.3 G* U- q0 I7 o/ C6 P% ~
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.3 q0 l0 I' z6 J* u
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) N5 E1 Y9 j  `! x; N( A
  1771. ; http://php.net/mbstring.http-input
    , G2 M: Y0 G, T$ n. S% w5 l
  1772. ;mbstring.http_input =( J( q+ t2 i) t/ O8 f

  1773. 7 @5 e! {- x& m7 N. M, g7 O
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " b  e( r2 r: E' `" `$ Y
  1775. ; http output encoding.
    ' S0 R  q! i4 `1 u( u* J5 j# F
  1776. ; mb_output_handler must be registered as output buffer to function.
    $ o9 U2 e- Q& q" s5 H4 c1 k8 c
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    3 A8 {9 r# y6 a. v" e3 D
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    # B( F/ w; U: F& ^( `0 z1 W
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    9 |" L0 E; N% D9 h7 f
  1780. ; otherwise output encoding conversion cannot be performed.
    / A# ?5 @, Q! J7 y
  1781. ; http://php.net/mbstring.http-output
    % T* K( c$ w2 q; Z, a& B
  1782. ;mbstring.http_output =
    6 Y/ Z8 \# \7 n0 T- U2 \( N3 J# T# P5 }

  1783. ) I5 W1 S# h/ k* u
  1784. ; enable automatic encoding translation according to0 W1 Y4 f9 {$ }6 l1 O7 V& @% x
  1785. ; mbstring.internal_encoding setting. Input chars are
    ) y- P: o) F1 @
  1786. ; converted to internal encoding by setting this to On.3 |. j2 ~" _1 q% z3 h
  1787. ; Note: Do _not_ use automatic encoding translation for4 y: z, |- h3 u" _$ B
  1788. ;       portable libs/applications.
    5 Y2 U3 y+ |) W5 g  A  k* g: I
  1789. ; http://php.net/mbstring.encoding-translation9 J  m( T1 _* @- V2 s. [
  1790. ;mbstring.encoding_translation = Off( ~4 E" I! v: \$ V. Q8 [, [
  1791. 8 j6 F+ o6 o1 i( Y: R
  1792. ; automatic encoding detection order.
    ( W/ N" A: U4 S' U7 Z6 `. v
  1793. ; "auto" detect order is changed according to mbstring.language
    ' U' ]! z% n* F
  1794. ; http://php.net/mbstring.detect-order; ^' Q+ y" I; D& M
  1795. ;mbstring.detect_order = auto
    7 A) S' ~1 G5 D0 z# d! `0 J* @1 ~

  1796. * N& J$ A* E# Z/ Y2 R( L; F
  1797. ; substitute_character used when character cannot be converted
    4 n8 R, X2 y5 u7 O4 ~
  1798. ; one from another9 P  @4 C7 S* r  r
  1799. ; http://php.net/mbstring.substitute-character5 ?% T/ A3 k+ c- ]; p
  1800. ;mbstring.substitute_character = none: G. O3 Z# y$ w! l- U

  1801. - `% Q: @: _, ?8 z
  1802. ; overload(replace) single byte functions by mbstring functions.5 d# a6 N2 c5 q; e( L3 _$ y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),% A7 n9 f0 A$ e, G  j9 J
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 F; I" B, Y# j7 J1 t) z. [$ g
  1805. ; For example, 7 for overload everything.
    7 o+ Y; z( G9 a6 G
  1806. ; 0: No overload  s3 z( Z! `1 o$ X
  1807. ; 1: Overload mail() function
    , l: y% T5 L& Q" A4 J  i
  1808. ; 2: Overload str*() functions
    * E) i7 J+ ^2 ?1 I5 \6 N; ?" ~
  1809. ; 4: Overload ereg*() functions
    - W$ D% w& F! N
  1810. ; http://php.net/mbstring.func-overload
    3 R) K- z. T/ Y4 c0 @
  1811. ;mbstring.func_overload = 0
    * I, x  h) N" u0 n/ k# L6 Z7 i

  1812. , }7 R6 {* o* `1 b! F
  1813. ; enable strict encoding detection./ T) j9 l, ~" m; C7 ?
  1814. ; Default: Off
    ! e/ N) n. m! a; {5 b7 A( a
  1815. ;mbstring.strict_detection = On6 b* \# [+ d: M$ b& u/ t

  1816. / I9 w5 P  Z9 v5 Z% u
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    $ a. T% z7 }6 h1 U2 A& k* S. \  w
  1818. ; is activated.& S; \' L  F! c$ z; z# ?
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . Y  i) o& |( W
  1820. ;mbstring.http_output_conv_mimetype=( Z" m: g" F0 @$ D  K
  1821. 4 b) V+ g' W- P
  1822. [gd]
    % \6 h! j/ K6 k3 @
  1823. ; Tell the jpeg decode to ignore warnings and try to create3 P9 E' J4 I  V' _1 O' z7 x% x/ H( _
  1824. ; a gd image. The warning will then be displayed as notices  K. Q1 S) X) R6 ?' F# B) E
  1825. ; disabled by default
    * v0 b0 E+ c1 R) b8 h
  1826. ; http://php.net/gd.jpeg-ignore-warning
    $ H& u% f# N3 \! u; G
  1827. ;gd.jpeg_ignore_warning = 0
    9 V' d  {7 x" Q& x% s' e& Y" ]9 @0 J

  1828. & a" a, O5 f# Q6 U: w
  1829. [exif]  x6 `6 [. V- A# ]: X
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    " m) i, z8 x. C! D! r" o
  1831. ; With mbstring support this will automatically be converted into the encoding7 c3 o+ t0 F* c: G& n6 |
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 ^7 ?* P$ n2 r9 t
  1833. ; is used. For the decode settings you can distinguish between motorola and+ a) h. G6 R# B, X7 j; N
  1834. ; intel byte order. A decode setting cannot be empty.) a* M  ~9 K: t- S9 W. ?
  1835. ; http://php.net/exif.encode-unicode
    : A/ \% w# F$ Y/ q# d; u
  1836. ;exif.encode_unicode = ISO-8859-15' y5 l+ Z5 |9 y9 k

  1837. 3 x, T+ K" K# S. G, u
  1838. ; http://php.net/exif.decode-unicode-motorola- Z' f" n' A( L7 k9 X! r
  1839. ;exif.decode_unicode_motorola = UCS-2BE& c2 R- U$ L/ G( f0 x3 {2 j8 I1 M
  1840. 7 Y2 X3 b! e( o- f
  1841. ; http://php.net/exif.decode-unicode-intel
    % t  P/ {- i2 l
  1842. ;exif.decode_unicode_intel    = UCS-2LE" D8 W) H2 B. O9 X

  1843. / Z* R5 g3 c0 g8 x. y
  1844. ; http://php.net/exif.encode-jis
    ; t9 F' m5 @; y% N2 s
  1845. ;exif.encode_jis =
    ' Y/ k0 i- W9 {: I9 Z: D5 Q- M' ^

  1846. ! W: b" r% L" w$ K; [; V
  1847. ; http://php.net/exif.decode-jis-motorola0 ^6 o* V( N0 P, F0 Q3 w6 p8 {% F' z
  1848. ;exif.decode_jis_motorola = JIS
    . R4 x0 }3 Q. @& W9 C+ Y

  1849.   \% N: w  M. C: j0 v
  1850. ; http://php.net/exif.decode-jis-intel
    $ ^+ [7 k' y( k  ^" l
  1851. ;exif.decode_jis_intel    = JIS" l7 r: Z' b/ X, k

  1852. 5 A- `$ C2 j7 t
  1853. [Tidy]
    - e) p! }2 i  j8 t; Y
  1854. ; The path to a default tidy configuration file to use when using tidy
    / i; L0 Y# g2 s  n
  1855. ; http://php.net/tidy.default-config7 t  \% |" e5 I# C
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg. X) I  A. h5 q: r2 y( ^
  1857. ! f( Y4 y! Z9 `9 r  M
  1858. ; Should tidy clean and repair output automatically?- E9 V; p' E6 D
  1859. ; WARNING: Do not use this option if you are generating non-html content
    * U. E0 `4 O- T+ X- P5 y0 ]
  1860. ; such as dynamic images" n$ z0 y* p5 ~  L2 ~+ L! i# @
  1861. ; http://php.net/tidy.clean-output
    ) f$ Y9 f  P& G6 ]4 Y  H  d
  1862. tidy.clean_output = Off# x/ W, Y7 h' Z
  1863. & r( o! E; t( M2 A1 b
  1864. [soap]
    8 \4 m6 @( ~. b
  1865. ; Enables or disables WSDL caching feature.
      V0 c  j% T5 @. P
  1866. ; http://php.net/soap.wsdl-cache-enabled7 W% a- i8 i7 O
  1867. soap.wsdl_cache_enabled=1( G! \! B5 R) K; ]
  1868. # l( w& W" g, s5 s5 i' c* U' H2 f& Y
  1869. ; Sets the directory name where SOAP extension will put cache files.
    8 D: l5 Z8 R8 y; H, D
  1870. ; http://php.net/soap.wsdl-cache-dir6 }3 Q1 n8 G  p* T
  1871. soap.wsdl_cache_dir="/tmp"
    0 f* O0 f( D- |) ?( T
  1872. % H( G' ]5 r( I" S! Q6 v0 S
  1873. ; (time to live) Sets the number of second while cached file will be used2 i% \8 y( }; Q, ]3 B
  1874. ; instead of original one.0 y, I0 }" J( k1 ~% o6 P, J
  1875. ; http://php.net/soap.wsdl-cache-ttl* r& @9 h2 D8 j/ Z
  1876. soap.wsdl_cache_ttl=864008 x5 K( ^1 m+ N

  1877. + f* T' p) J; f) r4 F
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) |3 Q# H" p, N) H" [  p+ A: [
  1879. soap.wsdl_cache_limit = 5
    / b% ]' x- x3 _6 K5 P; s, J- g0 A
  1880. 8 i* t: U: A( j1 M$ a
  1881. [sysvshm]  Q$ a  ^# `5 ^$ b9 Y4 `
  1882. ; A default size of the shared memory segment
    0 [2 A! z& a. [2 [+ Q  t' u( U
  1883. ;sysvshm.init_mem = 10000
    . W9 U! G' s  I3 f0 O4 z. n
  1884. / ~1 _1 |( h, a
  1885. [ldap]# B3 @' t& I7 M# ~( r' n- \9 T2 W
  1886. ; Sets the maximum number of open links or -1 for unlimited.  k7 m/ f7 T0 g5 a) w
  1887. ldap.max_links = -1
    - P0 H2 m- S  f8 [
  1888. 2 u/ J+ U2 D' x& r% k2 u
  1889. [mcrypt]3 O. Z# o( L0 i4 ^( J
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open+ @5 m, J7 U% m9 r
  1891. # W% q% S4 V. K8 v
  1892. ; Directory where to load mcrypt algorithms( p' x9 j* p8 I: Z; @! x9 ?: m' ]
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). f/ T  w  e2 F2 E) l& s  a$ {: I+ l
  1894. ;mcrypt.algorithms_dir=2 [1 O; v" F! Y! N

  1895. 3 `4 Q4 J8 _6 t8 x$ k
  1896. ; Directory where to load mcrypt modes
    6 L6 x5 z  O7 o7 H) g4 f+ v, S- N- r
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 @6 q) `) q, @( d3 ]% R: B4 s4 F
  1898. ;mcrypt.modes_dir=
    & {% Q( e4 h- {! u4 n" B2 v# K
  1899. $ Q; r, M9 `3 ^- t3 B( }
  1900. [dba]
    6 f# u0 m8 i% }, a6 b, c# e
  1901. ;dba.default_handler=
    % l5 J& b) o0 L

  1902. 7 V6 H* \) \2 @6 e: D/ f  v
  1903. [opcache]
    . H$ u! ?8 @  |+ b# y; D. U7 h
  1904. ; Determines if Zend OPCache is enabled
    6 `) k6 P& E" V* N2 K# N
  1905. ;opcache.enable=0
    : h6 C) \* b' \9 g! u: X) u

  1906. % x% C6 S, S% A! J
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; ?8 v% A! q  ?8 K6 }9 [' p
  1908. ;opcache.enable_cli=0
    % N* L) R. t+ L+ C

  1909. ; q' G0 i* w. v. l
  1910. ; The OPcache shared memory storage size.
    ) B- H, O3 ]7 P3 @
  1911. ;opcache.memory_consumption=64
    : M  l1 ]/ H8 P% T. k

  1912. 6 _7 y; [$ D  p
  1913. ; The amount of memory for interned strings in Mbytes.3 C* a+ h9 D7 T) P7 ]% E& Z
  1914. ;opcache.interned_strings_buffer=42 {6 U5 g/ m  @: g% A

  1915. : T4 X1 s5 w& z, v  @. Q8 L
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.# x  q8 F. w( D7 V% M
  1917. ; Only numbers between 200 and 100000 are allowed.) S0 V+ A; [( b, s
  1918. ;opcache.max_accelerated_files=2000
    $ X* @! c+ J0 t7 [, r+ M/ F2 q
  1919. & I# b0 f2 O% t
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) ?$ B% M: C0 u# {% n9 i9 H
  1921. ;opcache.max_wasted_percentage=5
    4 i% j; l& \# v) w. T1 ]4 j
  1922. 8 t# J2 T9 i: y' G( Z! C/ d
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 c) w7 W, `) w% k
  1924. ; directory to the script key, thus eliminating possible collisions between( R$ V2 t0 B  }3 h2 ~1 B
  1925. ; files with the same name (basename). Disabling the directive improves
    9 N$ b: v3 B5 S
  1926. ; performance, but may break existing applications.
    ! M9 h9 B, H, I2 [: s+ C
  1927. ;opcache.use_cwd=1& ]* Y) s* R% D7 o4 s* r' i: x

  1928. + a8 Y8 \* F/ i% R/ t
  1929. ; When disabled, you must reset the OPcache manually or restart the
    * s# t; M" M( z( H: b3 i9 u4 X, ^$ L
  1930. ; webserver for changes to the filesystem to take effect.
    5 y4 j2 o" E3 o0 h, T" N
  1931. ;opcache.validate_timestamps=1
    ' K4 s( S  v% D& t

  1932. * ~$ O+ J: ]& \  T& \9 n
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    % f" k0 Y1 E8 ]: Q3 d1 q, v
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    # F+ P  U3 }3 x) `
  1935. ; once per request. "0" means always validate)
    , X7 J6 L4 Q- R# X
  1936. ;opcache.revalidate_freq=2
    $ Y# C8 ~5 a. Y- a+ n- K0 N

  1937. 8 Q8 @1 D' Z$ E( v, {2 L
  1938. ; Enables or disables file search in include_path optimization* m# H% t2 K6 L+ O( p6 [
  1939. ;opcache.revalidate_path=0
    3 G8 \: Y/ c& s& Q, k* O9 o

  1940. & y  D1 d) O0 v3 x. l/ u4 x8 e
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the( E4 ~  D; S) G) L* [3 S
  1942. ; size of the optimized code.9 w' P' a2 E1 w' x) @+ m2 C
  1943. ;opcache.save_comments=17 ?" t1 A* @, ^

  1944. $ @& d( M& ^; F0 u
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ I4 v6 }! x" X+ |3 `
  1946. ; may be always stored (save_comments=1), but not loaded by applications9 H9 G8 C/ B, ]6 n4 x% p
  1947. ; that don't need them anyway.* z) H* l# K5 [8 K1 n
  1948. ;opcache.load_comments=1
    6 A, \' [" e6 ?1 }0 S% T

  1949.   t7 p* C2 l" B3 x5 n! `1 i
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    5 h; v& g4 S8 |  I+ W% |
  1951. ;opcache.fast_shutdown=0
    4 f# k1 {: m1 s1 B; i3 Z- _2 Z" K

  1952.   @7 Z* J4 d" C6 ~* E0 O) K
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    4 N! ]/ |* x, T
  1954. ;opcache.enable_file_override=0
    + o! T7 o/ P/ j$ b% ]3 M5 g

  1955. 6 A$ r- u6 w5 |# {6 G2 S) d/ E2 ]
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache0 C: [1 F. D. B/ O; ?
  1957. ; passes
    # \6 J% e0 M) C5 R; G! O$ V& A' f
  1958. ;opcache.optimization_level=0xffffffff0 |! X. B! L& A' i

  1959. " ]. U; {/ v- U1 {/ l( F4 H
  1960. ;opcache.inherited_hack=14 I( H8 b- D* C3 o5 `9 }6 p" ^
  1961. ;opcache.dups_fix=0
    $ r) H% f+ r2 X& @5 M
  1962. & F; ]. X9 {5 i- s# F
  1963. ; The location of the OPcache blacklist file (wildcards allowed).! a4 a2 @' L( A$ |' @: @2 K: _
  1964. ; Each OPcache blacklist file is a text file that holds the names of files" {" p# n& N" S  w5 t
  1965. ; that should not be accelerated. The file format is to add each filename
    # g$ x4 N. m# C& b/ i, y% l$ W
  1966. ; to a new line. The filename may be a full path or just a file prefix
    0 L* M7 q) V! |0 l7 N
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% W" e/ _% {5 n, _" Q  C
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - a7 k. k6 |0 c6 \: j  e3 D
  1969. ;opcache.blacklist_filename=4 R9 C2 z6 k/ c- P2 ?  }
  1970. 5 W- U$ o/ u% C7 u
  1971. ; Allows exclusion of large files from being cached. By default all files
    4 A( q) y) q4 K- Q
  1972. ; are cached.1 b' Q; P. N6 w& s3 W+ y
  1973. ;opcache.max_file_size=0
    " v$ e* p4 r- J2 {7 W

  1974. ) V* q: C+ A0 P: O
  1975. ; Check the cache checksum each N requests.9 e9 q% M4 X. k; K
  1976. ; The default value of "0" means that the checks are disabled.. V7 Q2 }' q, \4 j0 s: `
  1977. ;opcache.consistency_checks=0
    % E+ [* |, p% ~  X4 Q4 K
  1978. # r+ g0 ~8 G) K% ~/ O7 L
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 v2 B) D4 i* J  _( {- |
  1980. ; is not being accessed.; z6 g, \. d; a) P  T( [$ v
  1981. ;opcache.force_restart_timeout=180% O* U1 m7 I. n7 z4 q2 u

  1982. - K4 Y1 n; M& x
  1983. ; OPcache error_log file name. Empty string assumes "stderr".8 p  \7 s) n8 z8 o% j0 @9 `
  1984. ;opcache.error_log=' N: Y7 {1 g. ^4 X6 z3 W' H

  1985. 5 m  u7 {: F$ _  _5 S5 N. B
  1986. ; All OPcache errors go to the Web server log.
    7 i, R7 ~; Y( [3 }
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' q+ j" Y2 L- w' v
  1988. ; You can also enable warnings (level 2), info messages (level 3) or" |  ?' F( c8 Q" v
  1989. ; debug messages (level 4).' V3 J. W0 `+ x8 W2 b. o
  1990. ;opcache.log_verbosity_level=1% X/ k; P3 b5 M, B
  1991. & m4 S  Q% ^: e0 V, W/ M  L
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' w* ~, W( Q/ ?! F7 f* z4 }
  1993. ;opcache.preferred_memory_model=
      d( s+ f1 b: m) h" ?6 H2 i

  1994. ! P* v+ T2 d% C
  1995. ; Protect the shared memory from unexpected writing during script execution.* y, P* D5 u( d) R  \$ _
  1996. ; Useful for internal debugging only.5 C0 t& D  ?: k- j8 J! z% L# R- t! E+ _
  1997. ;opcache.protect_memory=04 k) `3 k, D" b

  1998. 5 y; X' ]+ ]( A2 K, J
  1999. ; Validate cached file permissions.
    ! L- m& P2 _9 y4 L5 s% Z! W
  2000. ; opcache.validate_permission=0
    $ V% R: g, L) U. L1 {9 F

  2001. 2 F# [- m  u: o( Y4 p
  2002. ; Prevent name collisions in chroot'ed environment.
    1 R8 z8 D: X& x, S3 x. G7 I: S1 Q
  2003. ; opcache.validate_root=08 d4 ?! g0 h0 A; ?6 K
  2004. 6 T1 w# w' n) x
  2005. [curl]
    " x0 j9 w% s8 u+ [0 M1 Q
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an) t. k5 H  c* H5 X
  2007. ; absolute path.
    % b, s5 a$ f5 |6 W6 a2 {& [" c% l
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% X1 m- x# @6 c
  2009. 7 h+ z5 Y! Z- L% |- N
  2010. [openssl]
    " K$ J7 ]0 k) v2 r# L
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem5 F  N4 Z' w5 P
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should" {* \- v5 `; }  q
  2013. ; not specify a value for this directive as PHP will attempt to use the  W: ^# e, k* R9 I6 c1 N
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 S" i; w. g  u( v: k+ h
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 d3 |, S6 x- y$ J# u7 K( P
  2016. ; option.3 V: a* C' R" y1 [6 h' _: m7 H5 @
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt1 L! J$ @# ?9 x3 v5 i6 `/ {

  2018. : P0 t# f' s, r  w3 @0 H1 f
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the, F* z2 I4 \! d- x
  2020. ; directory pointed to by openssl.capath is searched for a suitable# V. q: |% y0 U- W1 Q0 J1 w
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    2 I/ {. a' A5 o* ?6 z5 F: ^0 ?
  2022. ; Most users should not specify a value for this directive as PHP will+ _7 g. ], S& ?$ [( l
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,& T. p, G; b0 q
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ; |. a( q9 ?7 }- q
  2025. ; SSL stream context option.
    , f8 k- d- ?+ q* z% w" v" {
  2026. ;openssl.capath=0 Y+ K' q, F  c; f  R

  2027. 3 s# t6 p6 e2 S" g0 A
  2028. ; Local Variables:
    6 P8 v. T( x$ Q; c" y7 E9 A' N7 d
  2029. ; tab-width: 4# p6 y9 o) ~' [' \! ?8 t
  2030. ; End:
    & ^) Y8 K* ?; E3 `

  2031. ! I! n7 }6 U. r+ ^8 A
  2032. ;eaccelerator
    & J+ b# k' A; l+ {# e
  2033. 2 V( u0 \8 W9 Z& ^8 ?
  2034. ;ionCube, [6 d" V  S$ X
  2035. . j7 d; T4 P6 V6 t
  2036. ;opcache
    ! P7 v% S# W* T9 V* _" E

  2037. " \% w. Z2 A+ L% p3 M
  2038. [Zend ZendGuard Loader]6 Q; L7 r! A# c0 n2 f
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so( U+ y% o: X! V. Y3 T
  2040. zend_loader.enable=1
    3 x$ z# U3 s- P9 B3 G4 f, {
  2041. zend_loader.disable_licensing=0
    3 R# F5 H- n+ ]2 C$ M0 a% F
  2042. zend_loader.obfuscation_level_support=3; T( [4 B% g% a# @
  2043. zend_loader.license_path=
      ?, r; Q( i! b3 `7 q

  2044. $ D9 K# h+ T9 q! P
  2045. ;xcache' X! Y1 e* p+ U1 F4 E/ r6 u$ @
  2046. 7 f6 N. R: J3 h! j
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692" q1 c4 O6 w( v- V- x& I+ w

: D) s$ c2 c% }9 ?
' i- C( P. x; \$ o( b5 KDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,* D/ S: x: Y# f) P. g; Z8 N1 Y6 g6 U& {

% }! j1 r8 `  o# {  @# {8 DDiscuz!程序版本选择:
, k* b& P$ `5 Z' x9 k站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' u- Z1 i: X- [: r+ m# v
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:0 t0 s/ Q# P5 L, c+ `  S, F+ G
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。& [0 ?, E8 m' X( g7 a9 t+ [; M

. j, B4 s. V- L! L9 ZDiscuz!插件模板版本选择:
( N8 ~, o/ R, r0 D/ r很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
2 W+ W- M$ j9 d7 H! [. e0 i+ M针对这个问题做个统一的普及:0 Y! p3 M8 |- D- R: n
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ @+ q4 {# A: ?" u) u
4 K  l1 N: B& c# K/ d5 W8 U
所以
' U0 ~! C4 J8 j( R0 Y* ^$ Q适合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的二级域名。( n7 e  k% a: e$ R7 l
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。; E' n, A# u, E0 p0 r* z9 I, W9 s9 W
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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