分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
! k! o) ^4 P$ P1 Y  K, c# `& |  i. a" X" A
  1. [PHP]2 v  J1 {7 Z2 q

  2. ! a  v- ]6 F: {. u* V2 ^" z
  3. ;;;;;;;;;;;;;;;;;;;# `% [" K: N( E; L/ a- J
  4. ; About php.ini   ;, U& z% o2 j! B, |- |
  5. ;;;;;;;;;;;;;;;;;;;0 y! y3 m& ]  b7 ]5 K) O0 w
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    & H& r! G7 Q/ A
  7. ; configuring many of the aspects of PHP's behavior.6 C) `, c% P! g% D3 Y
  8. ! B: v+ R' X+ n
  9. ; PHP attempts to find and load this configuration from a number of locations.& f- }: M- m, E; E* n0 M
  10. ; The following is a summary of its search order:
    7 p, B) P/ R9 _; ~0 |% Q% I
  11. ; 1. SAPI module specific location.
    5 l/ p  y- a+ o6 u; d
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ r% F5 y3 f& s. v! o
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)9 e' O5 n0 }7 C6 `# [! H
  14. ; 4. Current working directory (except CLI)
    2 l# A  t' c7 c& K# }
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
      P6 ?  c& j4 g1 U+ X  {! a3 a2 f+ L3 ^
  16. ; (otherwise in Windows)* L+ K- l; ?- h; `9 E7 }
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 n+ p# r* a' J. M1 y9 r
  18. ; Windows directory (C:\windows or C:\winnt). R% ~! Z6 e  @( v
  19. ; See the PHP docs for more specific information.$ V0 N. f9 k9 b1 g8 {. p4 U
  20. ; http://php.net/configuration.file  [2 o- F  M4 {. Z2 p; f3 j$ h
  21. 7 R7 W6 Z  r# z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines1 x* r7 M2 D0 G) `  I9 y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 L$ B3 T1 Q7 f; \3 J( S% s9 S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 b' `9 Q& p! |
  25. ; they might mean something in the future.
    ) T1 g" _% l5 K  J

  26. ! e) \9 c( {0 Y1 b
  27. ; Directives following the section heading [PATH=/www/mysite] only  b0 s7 w. I1 v- x! v" l0 m
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 `: u. ~5 m; l& G# \6 L0 D
  29. ; following the section heading [HOST=www.example.com] only apply to& X* w$ Y* o4 t9 H% o7 q' m8 n6 M
  30. ; PHP files served from www.example.com.  Directives set in these4 Z. M. T; d% N# u7 T
  31. ; special sections cannot be overridden by user-defined INI files or
    : k4 T- n7 u2 V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under: I9 @4 z2 A" I6 Y' o$ D
  33. ; CGI/FastCGI.: E+ z  L7 U% k$ N; }4 t' J
  34. ; http://php.net/ini.sections; ]1 m  E' s9 d

  35. # M$ {0 x3 ~, x! f8 @* h1 v
  36. ; Directives are specified using the following syntax:
    ; h! r, l0 m3 y( G/ R% S" A* P+ ]
  37. ; directive = value* a% s  ~. t/ F1 q% B0 h! c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 q. d/ }$ ~1 E) c+ d( ]6 z
  39. ; Directives are variables used to configure PHP or PHP extensions.( o. R1 @( ^1 {4 U
  40. ; There is no name validation.  If PHP can't find an expected; b$ a8 x2 l+ |
  41. ; directive because it is not set or is mistyped, a default value will be used.# ^8 P/ A* z& d" a; I' g

  42. % K  t( `; x4 T% u* O# r" b
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one; w# ]7 B) R" ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    1 _- ]+ b* d1 G( Y5 A
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a2 l3 H3 D. [* t
  46. ; previously set variable or directive (e.g. ${foo})& f* s' t* E* u2 k1 [# A& T
  47. ) [! @+ b; p3 D. C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 v8 A2 E) ~8 _2 r' m
  49. ; |  bitwise OR
    % {2 l( H4 [+ y. ^$ y
  50. ; ^  bitwise XOR% }% Q  z& S" c9 h5 u" s
  51. ; &  bitwise AND. p7 O- C8 Y$ d6 Z
  52. ; ~  bitwise NOT% L0 W: K( m+ b3 r
  53. ; !  boolean NOT! D# p1 \# _# O9 g' L
  54. 5 _$ N# \' G5 ^2 h! o
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes." g1 f+ i) D/ f1 X+ }1 |& v
  56. ; They can be turned off using the values 0, Off, False or No.
    / K) i9 e' j* a- Y( C9 ]  a

  57. ' H7 I0 T* f8 C, o
  58. ; An empty string can be denoted by simply not writing anything after the equal
    % D4 _! j, h5 \8 V2 \5 p
  59. ; sign, or by using the None keyword:
    . P" ^3 U% |3 L6 p7 c

  60. 1 l* @& w. K+ U% ^& G& \
  61. ;  foo =         ; sets foo to an empty string
    6 x; B: k/ g0 Q$ D& ^
  62. ;  foo = None    ; sets foo to an empty string2 ?4 P! g5 l# M9 }+ l
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . m/ @: l; Z6 }. d- M
  64. 9 Z1 K: ?* f, @! d- I/ O* @) H
  65. ; If you use constants in your value, and these constants belong to a
    + B) c8 _$ p: g" u; [
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; X+ I$ T1 M  Y; e7 w5 s9 ?. Z
  67. ; you may only use these constants *after* the line that loads the extension.% p+ P7 D7 [1 k' I7 [

  68. 7 ?$ Z/ ~! q5 z6 B, z8 p: L+ Q
  69. ;;;;;;;;;;;;;;;;;;;9 ?5 e9 l0 z  ]# s+ Z# T; @% o% o
  70. ; About this file ;
    5 k1 S: T7 D4 U# J" d
  71. ;;;;;;;;;;;;;;;;;;;
      s: H+ G/ T# h. j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used% ]- q3 a; z9 W) X$ Z, }- Q$ s7 u7 B2 k. T
  73. ; in production environments and one that is recommended to be used in
    * W* o/ D; Q( P( b1 K
  74. ; development environments.
    * {' B; V3 j7 V
  75. ' r7 ?6 T5 d  a
  76. ; php.ini-production contains settings which hold security, performance and
    , [6 t( U3 m  I- j* A
  77. ; best practices at its core. But please be aware, these settings may break
    2 _( w' s5 a& ?: ~; r- A
  78. ; compatibility with older or less security conscience applications. We
    0 z* |# n+ Z6 f0 p. {
  79. ; recommending using the production ini in production and testing environments.
    1 M% ^( g0 a5 ?* ?: @% I

  80. 0 W% R, m% |8 w" |; P+ X" y! [
  81. ; php.ini-development is very similar to its production variant, except it is" O% ~! s7 C- ~* J; k. E
  82. ; much more verbose when it comes to errors. We recommend using the
    ! b- V4 i  c( `  @2 d
  83. ; development version only in development environments, as errors shown to
    % T0 ?: O/ W: v4 ~6 i
  84. ; application users can inadvertently leak otherwise secure information.+ q# C+ ?) U, b5 U' M
  85. " t! W- ?& W) H) o4 {- Q
  86. ; This is php.ini-production INI file.
    / P) N( o) p' E) a3 f( p+ q; H
  87. : _* S1 s; [2 V" n0 c
  88. ;;;;;;;;;;;;;;;;;;;
    + m+ l2 M6 q6 @: c3 y7 M# `
  89. ; Quick Reference ;1 G$ T8 c, W: `7 u# \2 P
  90. ;;;;;;;;;;;;;;;;;;;# f' f- F$ E. M8 x8 M
  91. ; The following are all the settings which are different in either the production
    9 F$ q6 y; Y" s! B4 ~/ k
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 @& k) o5 z. V4 S+ o" @  C! ^9 }
  93. ; Please see the actual settings later in the document for more details as to why
    , Q0 `- v, [: h3 q" _/ h
  94. ; we recommend these changes in PHP's behavior.5 L- }" @8 U$ X5 Q6 Z+ ~+ y

  95. , e! [" p3 f$ q3 [, y  X3 T
  96. ; display_errors
    & t6 J# V5 }0 Z  z
  97. ;   Default Value: On4 ^! B3 m' Q5 D) D" v$ ]3 Q
  98. ;   Development Value: On
    / P* I  H6 N: C0 f* W
  99. ;   Production Value: Off9 O# x6 s7 |$ G8 ^- u

  100. $ ^+ |7 l& A. x" Z+ s8 y$ J
  101. ; display_startup_errors/ \# u9 }% d) H5 u* Z# g0 E; r
  102. ;   Default Value: Off
    ! m* \9 t  z( @# w( p
  103. ;   Development Value: On4 |0 e9 J4 r- o# s' U  I7 t
  104. ;   Production Value: Off- X6 F+ u1 O0 E

  105. 4 x, j6 x6 M0 T& s) e
  106. ; error_reporting% h) Q. B# b# R& T  I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( J8 U5 ]8 d% j: d; i, E8 A
  108. ;   Development Value: E_ALL1 X) u. `* B1 k4 r* {3 P. Q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; n1 D! J4 G$ L' L

  110. # V% z/ @$ ^3 H5 q9 W
  111. ; html_errors
    $ P/ U! n& c7 I% ]  D* W
  112. ;   Default Value: On
    / q& I; ?8 t4 n& X5 R
  113. ;   Development Value: On
    5 U/ ?  J* V' R+ Y; @# D5 r
  114. ;   Production value: On) u7 R" m/ E$ \! h( ]

  115. 7 k5 a& a% T7 k1 ]4 {
  116. ; log_errors/ A  G' Q' s1 [5 o
  117. ;   Default Value: Off& `7 p2 Q: M/ w' j/ }. w4 r
  118. ;   Development Value: On3 \) W! m( H0 U% c
  119. ;   Production Value: On
    ' Z9 \9 y( b  z" e

  120. 7 z0 Y- x3 A! i  q, C
  121. ; max_input_time* M2 x6 m' Q* g
  122. ;   Default Value: -1 (Unlimited)
    5 Y. i9 Q9 i. K" M0 h: X
  123. ;   Development Value: 60 (60 seconds)5 p' x& g# R; g7 h: Q, m) z
  124. ;   Production Value: 60 (60 seconds). h- o( k7 T0 I; B6 X
  125. # t# a$ o/ W9 A- X
  126. ; output_buffering
    4 H  k! x7 W, R% u4 I2 j# n5 ^
  127. ;   Default Value: Off: D0 u4 O, l% ^8 k. K2 b/ a' K2 S
  128. ;   Development Value: 4096/ L9 I$ M) X; @$ V% Z7 E
  129. ;   Production Value: 4096
    6 u" Q, h4 f" H5 D; i  F
  130. ' n0 C2 ^5 L  q/ D( `" V) f
  131. ; register_argc_argv, T/ n* C: T% W- P0 R2 U. _0 F9 O
  132. ;   Default Value: On& B0 d4 C8 j3 @0 P: o7 j1 S+ B4 y; J+ l
  133. ;   Development Value: Off( \7 j  b. g+ B, J8 D! |0 s
  134. ;   Production Value: Off/ }# g9 k5 ]9 n6 S

  135. / y% J% j( D2 N4 B+ a, ~
  136. ; request_order
    7 A8 a9 d5 V3 l4 z
  137. ;   Default Value: None
    ( x' D6 }& H1 P
  138. ;   Development Value: "GP"
    8 s0 G9 }7 t; E3 e7 Z
  139. ;   Production Value: "GP"
    ( B7 o7 D1 {* O- s

  140. + T$ O* U( R) l$ V: e: A& a
  141. ; session.gc_divisor% @0 [/ R. U7 y. x0 s0 p* ]. m
  142. ;   Default Value: 1002 p( Z  ]3 Y. b; {& a6 L. u7 s, d
  143. ;   Development Value: 1000
    6 B; a( t3 ~# x7 ]1 u
  144. ;   Production Value: 10007 o  l" Y, z0 ^; ?/ `- N. o
  145. 1 @4 n1 H8 `" a' U' \6 ^
  146. ; session.hash_bits_per_character$ u5 n8 X  [4 p
  147. ;   Default Value: 4
    - y7 x0 c& e; n3 J- A
  148. ;   Development Value: 5
    . q9 r6 P  n/ j6 d6 a
  149. ;   Production Value: 5
    ; b3 X- L* Q- J, w
  150. . w6 u3 Z& p( |0 t
  151. ; short_open_tag
    + x, m! V' q! @. H
  152. ;   Default Value: On. R( p9 L- ~. m/ |; P
  153. ;   Development Value: Off3 p8 }2 k, _  R, S* ?
  154. ;   Production Value: Off
    8 j; H) T3 w6 z, _% C" |

  155. . k5 E" |( P1 Q( R1 Z% c; E% M
  156. ; track_errors1 s4 t+ l9 i& k; _$ G5 Y
  157. ;   Default Value: Off/ M+ t) {2 G1 }+ Q$ K
  158. ;   Development Value: On
    ' w# M; {, j% q$ @
  159. ;   Production Value: Off9 M/ n1 R3 F0 {0 @2 B9 r4 Q" z

  160. 8 p  b7 @9 C2 ^& j' z
  161. ; url_rewriter.tags; a# p0 a, [. T' U# M
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* {2 ]. F9 j" Z6 v5 K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; W" U9 ]7 a: x; R3 E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; w4 @/ ]9 J, j, j9 G
  165. 2 B( a7 ]! @; u7 W( B6 g1 w. Y
  166. ; variables_order
    ( p  X+ P: ?2 L& L& N: C
  167. ;   Default Value: "EGPCS"
      z9 k( b  c2 Y
  168. ;   Development Value: "GPCS") r5 k1 j* ~/ O
  169. ;   Production Value: "GPCS"
    , {& j! s, V6 _. c' A. a! x

  170. ' h: ^$ {5 w* p; Q: |
  171. ;;;;;;;;;;;;;;;;;;;;
    # W* v  V* o& E% D/ l, J
  172. ; php.ini Options  ;4 A# O2 q% Z. A
  173. ;;;;;;;;;;;;;;;;;;;;
    4 t! b5 i/ w2 t6 D! x$ o8 l
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") S; E3 I  K7 g3 b' e9 g' u
  175. ;user_ini.filename = ".user.ini"
    3 J: h# P$ t: \+ W% J( }# T' J7 x
  176. 3 H+ J% Y! f  c: \) V, r
  177. ; To disable this feature set this option to empty value/ h" C# n( e" S, W+ |4 d
  178. ;user_ini.filename =
    / ^- I3 o4 l; Y3 A$ `. Y  l
  179. $ m" v& G: J: A( A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 L3 G4 }+ v, B- P; i6 c
  181. ;user_ini.cache_ttl = 300/ Y; ?" Z( R# }/ ~

  182. * T6 k6 ^; Z, z
  183. ;;;;;;;;;;;;;;;;;;;;# v6 W# A: F% W3 p. m( M
  184. ; Language Options ;& x* t/ }+ P: B9 ^( B
  185. ;;;;;;;;;;;;;;;;;;;;
    2 ~- X* {4 H! x- j( P. j

  186. $ @2 Z, e# c9 Y" I
  187. ; Enable the PHP scripting language engine under Apache.. ^! T" f. \1 X
  188. ; http://php.net/engine
    ' w7 a- X" e+ U3 j; _
  189. engine = On) D* {+ `3 ^( t% P( S
  190. ( e. \" X+ U+ Z" k6 v
  191. ; This directive determines whether or not PHP will recognize code between5 X+ r" L3 K5 n3 Y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! m9 M; L6 f# s6 _' }, \0 t
  193. ; generally recommended that <?php and ?> should be used and that this feature: w4 X; t6 w6 p# W, x0 |
  194. ; should be disabled, as enabling it may result in issues when generating XML% Y; M& I% k) m3 P# y/ |
  195. ; documents, however this remains supported for backward compatibility reasons.% u/ N4 d( k7 T6 c7 j7 R
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    6 H1 g, @8 s6 s; _/ V. A/ E
  197. ; used regardless of this directive.
    - \0 v4 q6 t4 |8 n$ }! B5 q9 P
  198. ; Default Value: On2 C/ s6 }: E6 o
  199. ; Development Value: Off8 Y7 P5 Z) ], t7 f4 A( u7 Q; _
  200. ; Production Value: Off
    , x$ K% l- x9 k  _
  201. ; http://php.net/short-open-tag( t0 x/ c# j5 D2 H, u: h3 [
  202. short_open_tag = On
    / J+ r9 h  m1 C5 o( O

  203. & x6 B( n# S+ t; X( h1 {
  204. ; The number of significant digits displayed in floating point numbers.4 z! `! Y0 w) W+ I
  205. ; http://php.net/precision& t  ~" t/ e5 T: R! g7 g
  206. precision = 14
    & O4 s$ v2 r6 ~* x0 [. [9 ~  D  ~# ?

  207. 3 y0 P) D) z, S8 k
  208. ; Output buffering is a mechanism for controlling how much output data
    5 Z& a8 P" M) X9 c7 [
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# f- P% [: r+ J
  210. ; data to the client. If your application's output exceeds this setting, PHP) A7 r% @" U% ^
  211. ; will send that data in chunks of roughly the size you specify.% A; D9 N1 n8 _" x$ M4 h" q" `
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ) \5 T, N0 ]5 O& T7 O5 f
  213. ; interesting side-effects depending on your application and web server.
    9 a- |2 g# w9 i( C/ c# q- P
  214. ; You may be able to send headers and cookies after you've already sent output
    . V5 y$ ?/ x8 r# L0 f% l" [0 P
  215. ; through print or echo. You also may see performance benefits if your server is0 w# T3 `) y6 x" l- V" p: ?7 w
  216. ; emitting less packets due to buffered output versus PHP streaming the output4 u& j" L  D0 S: L) H
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- `7 Z9 F; J- d7 j
  218. ; reasons.8 _- L! B4 K+ y5 f# H
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: n8 R; f$ m  X- ?1 r& F
  220. ;   functions.3 d+ ^9 \6 S" i1 u8 t
  221. ; Possible Values:
    ) {) g9 J  W$ c0 l9 t* D8 k! ]
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)  ?( F3 X4 }1 F6 k  V& b
  223. ;   Off = Disabled- A; n. w1 j" u" m! l# T* r! h3 a6 |
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.8 E  m/ }: M' M  k; a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI. J, t- F1 R# U& V0 O( w  o
  226. ; Default Value: Off
    ; p9 @" W5 M6 Z9 [
  227. ; Development Value: 4096  R" i4 t. K( z' q# U
  228. ; Production Value: 4096* d' i- [, |9 d* x0 F: R6 f
  229. ; http://php.net/output-buffering
    8 \5 s, m9 Y) G/ t$ H
  230. output_buffering = 4096
    0 F( L! L2 q5 y3 [
  231. - X3 N* M. }; |9 |1 n: |
  232. ; You can redirect all of the output of your scripts to a function.  For6 o0 _  D! R! H3 {' X/ H  u0 F* Y
  233. ; example, if you set output_handler to "mb_output_handler", character+ G) D9 ]* P+ ]
  234. ; encoding will be transparently converted to the specified encoding.
    ; u/ H4 _; ^/ @# F! R3 o# X
  235. ; Setting any output handler automatically turns on output buffering.. d: R+ v. T( K& N: |: v6 M
  236. ; Note: People who wrote portable scripts should not depend on this ini
    2 E9 M2 c, n) r8 b6 U- J
  237. ;   directive. Instead, explicitly set the output handler using ob_start().! ]' q6 t( Q( p  d8 u; D: Z: r
  238. ;   Using this ini directive may cause problems unless you know what script' }5 j; B. y% |: ?
  239. ;   is doing." l- l( F2 P8 g& C3 J1 m- A$ _
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " h$ R, k. o3 t( a
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    - z/ ]) t% j+ m) t  R( {( ]. e& j
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    - B" K( ~  c' D  `/ \; `- U! A
  243. ;   Instead you must use zlib.output_handler.
    $ L" e3 f" d0 N( H8 X& S, z5 Q
  244. ; http://php.net/output-handler, K8 ?* U; z. j* e+ T9 w2 Q6 k
  245. ;output_handler =
    1 O6 V5 [$ u1 k0 L2 ]

  246. - w9 q3 s3 I, D" d
  247. ; Transparent output compression using the zlib library4 e! N* r% y  w+ f& ~% L# c
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ L, Y; O# P- ^& X9 F1 r$ O' Q
  249. ; to be used for compression (default is 4KB)* x  H8 j& l7 i* C- s) V5 w
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : H" [6 a  h9 o+ w$ t+ @7 W# C
  251. ;   outputs chunks that are few hundreds bytes each as a result of' S  E  |; k. M% d( R) V5 |
  252. ;   compression. If you prefer a larger chunk size for better
    1 v' T: G- Z, @: E5 q9 j
  253. ;   performance, enable output_buffering in addition.
    / S/ y) K: v7 ?9 H9 u
  254. ; Note: You need to use zlib.output_handler instead of the standard3 a- e' v5 M! d* U. M
  255. ;   output_handler, or otherwise the output will be corrupted.
    1 Z4 j5 S$ k, v  _# F% |! K
  256. ; http://php.net/zlib.output-compression
    # t1 `4 v) w4 `1 r' Y
  257. zlib.output_compression = Off
    ' c3 C" W- e; C; Q* t( _( n3 m6 [/ b
  258. 9 d. T5 G" H; i+ x' H8 a
  259. ; http://php.net/zlib.output-compression-level
    ! j: L8 [2 \$ h
  260. ;zlib.output_compression_level = -1
    - \3 ^; g$ ]& T% M7 A
  261. / i* \# k9 A; X" z) e3 a0 N
  262. ; You cannot specify additional output handlers if zlib.output_compression+ h# G# ^* U! l1 ?& y  z
  263. ; is activated here. This setting does the same as output_handler but in5 u& f* ?( r' R! Y4 @
  264. ; a different order.
    8 }7 g( l) a4 f+ O0 N
  265. ; http://php.net/zlib.output-handler) I2 }5 H5 N) g( B9 d
  266. ;zlib.output_handler =
    5 d, ?9 u0 W+ H8 z# z; _( X

  267. + H, _: T. \4 V. ^
  268. ; Implicit flush tells PHP to tell the output layer to flush itself/ Q% Q' N: A+ O0 F; \
  269. ; automatically after every output block.  This is equivalent to calling the
    % }% G: D+ W2 @6 C3 i
  270. ; PHP function flush() after each and every call to print() or echo() and each
    7 g5 g" O% X( K6 u
  271. ; and every HTML block.  Turning this option on has serious performance
    # T; h3 d3 z% B, P6 k/ r2 K# Q
  272. ; implications and is generally recommended for debugging purposes only.9 g9 m, U3 ~( R$ w2 a. Z* J
  273. ; http://php.net/implicit-flush! Y1 j6 c  J, }! a
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    # ?% L/ W4 H0 W8 e5 {: N4 V& p) [
  275. implicit_flush = Off! ^1 U5 }* ?5 g$ `( E

  276. ; F% B6 M! N  Z$ s3 Z# e9 ]# }
  277. ; The unserialize callback function will be called (with the undefined class'% p6 A3 r6 r8 `
  278. ; name as parameter), if the unserializer finds an undefined class
    % [+ y' d# |* N) j8 }
  279. ; which should be instantiated. A warning appears if the specified function is
      _/ m5 V) Y* w8 @
  280. ; not defined, or if the function doesn't include/implement the missing class.
    8 `3 o' @5 l! y- M# `. [
  281. ; So only set this entry, if you really want to implement such a4 u1 |4 P* ]) f
  282. ; callback-function.. G1 \+ O5 n& A8 [  z
  283. unserialize_callback_func =
    9 k+ T! t) \. x7 ^! j
  284. $ x; O2 d& g8 ^% l  g% u
  285. ; When floats & doubles are serialized store serialize_precision significant3 J: B$ A: [3 u1 L; p( R( S; }/ m
  286. ; digits after the floating point. The default value ensures that when floats. u% l% ~2 A7 A0 ^: Y: d
  287. ; are decoded with unserialize, the data will remain the same.
    1 N7 |+ w- k- U  l& d! |. g
  288. serialize_precision = 174 R+ ]4 X+ U9 h( S8 a/ S

  289. + g, H* U2 c9 `' R9 W) b* s
  290. ; open_basedir, if set, limits all file operations to the defined directory
    3 P, Y% |' O) ~# w
  291. ; and below.  This directive makes most sense if used in a per-directory, l. s% b/ }6 \# a  K  [
  292. ; or per-virtualhost web server configuration file./ G5 j( u% `) g+ j4 C
  293. ; http://php.net/open-basedir
      u& ~* g. P3 P' V. J! s7 {
  294. ;open_basedir =
    ! T$ R% X* g! Y. s$ r
  295. $ i9 U0 q4 O; y1 x. T) Q
  296. ; This directive allows you to disable certain functions for security reasons.$ u+ ]8 b6 Q. f5 @
  297. ; It receives a comma-delimited list of function names.
    7 V  Q: N1 \2 Y# I3 j, [
  298. ; http://php.net/disable-functions! {: y+ Y. `7 n# [
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 K9 {+ g: R1 ~7 e( p. o
  300. - P6 h, p/ e/ A8 l
  301. ; This directive allows you to disable certain classes for security reasons.1 ?8 b. [! e5 c! v
  302. ; It receives a comma-delimited list of class names.2 |7 K8 h1 v: M4 `. q: P4 T9 A& B
  303. ; http://php.net/disable-classes
    ' c, r! j$ p' o. p. T6 w
  304. disable_classes =& [$ T( z  F2 d( P( S7 J3 z* Z

  305. 4 G# W$ O+ M  ]/ s( s* g! L' E
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 O( n( D: `5 D* F$ G6 _5 j
  307. ; <span style="color: ???????"> would work.
    ; i4 d) F6 Z' P. _% A0 t
  308. ; http://php.net/syntax-highlighting
    0 g( S/ w1 R; |7 Z" y7 s# C" h( Y
  309. ;highlight.string  = #DD0000$ N: a8 D1 c! r7 s! `9 h
  310. ;highlight.comment = #FF9900
    7 {& @$ T2 m& c& N6 c& ^
  311. ;highlight.keyword = #007700
    7 o- r+ Q* }. m$ J# M
  312. ;highlight.default = #0000BB
    . `& D1 p: ~$ t! E# D5 C
  313. ;highlight.html    = #000000
    / _" a* \& I, p/ z0 [" R8 i

  314. / m4 e" x& H' T7 S6 {) O, C' \, F/ P# h
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    " V+ m$ r8 c3 l4 f
  316. ; the request. Consider enabling it if executing long requests, which may end up) u# c( k2 @$ |/ e5 Y& a
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    4 X: }' l3 |" I4 [+ e8 j) f+ \: C. t
  318. ; is to disable this feature.
    & P$ Y. |& ?* A8 N
  319. ; http://php.net/ignore-user-abort
    & o7 F8 Z$ o9 j5 \7 _
  320. ;ignore_user_abort = On' D3 Z' W7 J/ M

  321. $ _# g$ v% g8 F6 _" e4 A
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    . G9 v% `+ R. O# X1 n: t8 n
  323. ; be increased on systems where PHP opens many files to reflect the quantity of( F' f2 z0 k! z; y5 C' B- P* g
  324. ; the file operations performed.
    0 q( @4 r4 I6 }3 _
  325. ; http://php.net/realpath-cache-size
    . U2 v0 Y+ [: S+ }  H0 r
  326. ;realpath_cache_size = 4096k, T3 J) T2 w9 Z9 }
  327. 2 t& ~) k7 }. _9 G4 \
  328. ; Duration of time, in seconds for which to cache realpath information for a given) E& K, @' ]) H0 C2 ^2 n
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    4 ]$ J) I5 q$ f  N) d
  330. ; value.; E3 N8 c1 `7 C! |
  331. ; http://php.net/realpath-cache-ttl
    $ u" {& Y- n- }  s
  332. ;realpath_cache_ttl = 120) i8 P- [" S) X" I. B
  333. 7 W& b' v# w. ?. ^. A0 T
  334. ; Enables or disables the circular reference collector.
    ' a0 T* g: F( }9 i6 k8 T* e9 n2 \
  335. ; http://php.net/zend.enable-gc
    % Y" ]& ^7 c3 A1 _" f0 ?
  336. zend.enable_gc = On
    . S/ _& y, h6 N/ H* N4 N$ T7 F
  337.   ~0 D+ g, r3 p7 L9 ?: {2 s
  338. ; If enabled, scripts may be written in encodings that are incompatible with; n* H' o' D# v& t, i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      c. o9 @: X: Z) |3 N3 G' L
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) a4 U, }* D" b) V2 q
  341. ; Default: Off
    ( ?$ N+ p5 t# G5 C8 l' f
  342. ;zend.multibyte = Off- P6 x. |1 I4 {6 |5 [" b  r

  343. 1 T& }6 ~0 w) G9 B3 N
  344. ; Allows to set the default encoding for the scripts.  This value will be used6 W# T( s& ?8 ^8 w1 G! P
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( r( M3 X; ?& z: |
  346. ; Only affects if zend.multibyte is set.% P( ]  q; z/ v: Q1 L
  347. ; Default: ""6 z1 [$ j, w3 ?$ [
  348. ;zend.script_encoding =
    % @  P4 r" @* Y: S2 Y4 ^: z! H

  349. # Y7 C# C! L0 T% I
  350. ;;;;;;;;;;;;;;;;;1 }( }8 ]8 c: m) q6 y+ v
  351. ; Miscellaneous ;
    ; M( p4 e( J, {
  352. ;;;;;;;;;;;;;;;;;: v# h  v/ d" N
  353. 1 c3 N2 |: V7 o
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    % |' V( y1 Y5 M" P0 X) x
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 x+ Z( q% q# e
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    " X# x, X. h# e( K- L0 g2 n1 y
  357. ; on your server or not.
    $ R) E. V2 w: \5 a7 n
  358. ; http://php.net/expose-php
    & U+ ^0 w' S. D. _4 p2 [5 f
  359. expose_php = On* A; {" W) i: t" r9 _% M8 A9 d

  360. * ?: e6 ^1 z: G7 ~, F& Y6 d
  361. ;;;;;;;;;;;;;;;;;;;6 X9 @. ]$ W" j# n6 y# c
  362. ; Resource Limits ;% a6 w  V# K2 \( U7 g7 S
  363. ;;;;;;;;;;;;;;;;;;;
    & f; `5 H9 {; P  W) p- B: |) `* `5 [

  364. ' Y) Y0 r( U, x" e6 x0 B& L: q
  365. ; Maximum execution time of each script, in seconds
    8 C* Z# c8 x0 l8 h( R0 D
  366. ; http://php.net/max-execution-time7 t! C4 ^( T0 ~. X8 g  M! q
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI" z. {! v$ U; H
  368. max_execution_time = 300
    ' H$ b; f) L( P7 B/ b0 H  j" s

  369. $ b; _6 G+ z! L+ s; q
  370. ; Maximum amount of time each script may spend parsing request data. It's a good" |: o$ p( u+ }. a, @1 e
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
      N7 F0 t* N! y( i( @/ y
  372. ; long running scripts.
    * V2 o9 K0 H/ x$ g# @) t+ }
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 r1 ^2 `+ O4 \, S9 H7 n" V
  374. ; Default Value: -1 (Unlimited)
    9 `5 `  Z$ X- D) d4 b* T
  375. ; Development Value: 60 (60 seconds)5 H# e# c6 E3 `& _7 `
  376. ; Production Value: 60 (60 seconds)
    ( M: y* A$ P. w: K. d
  377. ; http://php.net/max-input-time9 M5 A" g4 S9 {, v7 J" h
  378. max_input_time = 609 j3 Y6 Z! D& @* P$ W, W
  379.   g' L- Z' O; _! U$ k' m
  380. ; Maximum input variable nesting level
    $ }0 C' \4 g+ x) H4 I
  381. ; http://php.net/max-input-nesting-level* i5 U1 u" `6 F; P7 g0 W6 I6 @
  382. ;max_input_nesting_level = 64% v. W" [- q5 N! e9 p# T& ^8 N
  383. 1 W# K( z1 h7 F+ K1 r6 i5 o% G
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 `$ C# n( T4 b# k+ |' a
  385. ; max_input_vars = 1000
    : D, l" u" R0 n* P! i8 S
  386. 4 J: t  F3 S6 q& K" |. i8 T+ r
  387. ; Maximum amount of memory a script may consume (128MB)5 |, O8 m) i3 P$ |+ l
  388. ; http://php.net/memory-limit7 [* z7 T6 M# J9 H- q& Z
  389. memory_limit = 128M' j/ P6 i3 Z" X9 |3 f

  390. 7 E" q* `  c0 e* R4 s- \7 A
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # Z5 h! |% s+ p
  392. ; Error handling and logging ;+ R. h; [8 A2 p6 m
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 z( h4 l7 b9 x* I, i' c" _

  394. . X/ L2 _8 v2 n& A
  395. ; This directive informs PHP of which errors, warnings and notices you would like" V0 |* F6 @; ^; f7 C9 k" t  J
  396. ; it to take action for. The recommended way of setting values for this
    3 u' X  @: y2 r3 j
  397. ; directive is through the use of the error level constants and bitwise
    4 \" S4 t5 M4 ~8 B: J6 Z0 h0 }. Q
  398. ; operators. The error level constants are below here for convenience as well as
    ' r/ U( s: D/ o0 Q0 C3 N2 r) S
  399. ; some common settings and their meanings.! x) ?" m/ P, l; Q  d5 {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' d, c/ [* w/ I8 Q' R" ~% P/ }7 ?0 [
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  f4 R6 E0 ]2 t) C. e! Y8 d
  402. ; recommended coding standards in PHP. For performance reasons, this is the& Y, ?1 |4 w) d" J  _7 d
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    + J* H& f7 c- P
  404. ; resources complaining about best practices and coding standards. That's what/ s* U( H6 N; t  O; f) ^
  405. ; development servers and development settings are for.3 g) M$ k$ t# P
  406. ; Note: The php.ini-development file has this setting as E_ALL. This# b9 B9 Q& v  b6 q
  407. ; means it pretty much reports everything which is exactly what you want during
      o% S! K* c7 b" \* q
  408. ; development and early testing.
    ) R- r# z. [0 a+ E, ]. z
  409. ;$ ]8 }$ [6 h6 g8 _( g$ b7 {& e. d
  410. ; Error Level Constants:5 l+ C3 H. V' l  Y4 Z3 ~
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! s( F8 O4 G& @, Q
  412. ; E_ERROR           - fatal run-time errors$ v  d4 C0 i4 L) F
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    + S+ d0 B+ L$ [0 |
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; y( h/ x" P3 S: A
  415. ; E_PARSE           - compile-time parse errors
    " h! U* b% O$ A4 R
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    , z2 o; j# A8 e, j$ h5 _; w$ g
  417. ;                     from a bug in your code, but it's possible that it was1 Z4 O3 T0 j, q( ~. Z" V& P
  418. ;                     intentional (e.g., using an uninitialized variable and
    1 f" R, ^& `# x2 I+ o! M1 U
  419. ;                     relying on the fact it is automatically initialized to an3 k. S3 z' [3 Q1 o% m) e5 k) \
  420. ;                     empty string)  }3 x& z4 l; I3 l; M3 y! Z1 O+ v5 n
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; ~4 F* M: |' u" u8 _
  422. ;                     to your code which will ensure the best interoperability: @& W+ O- g, g# f" P  U
  423. ;                     and forward compatibility of your code
    * t2 C1 y5 \0 C$ K- t# R8 K* t
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # w, X- \( V5 ~! k8 g
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 P6 q) {0 J) x+ O6 I
  426. ;                     initial startup& e+ H! P5 z4 X8 ^0 R5 R
  427. ; E_COMPILE_ERROR   - fatal compile-time errors7 u0 p( i+ P' A3 O9 P+ o' ~8 c/ t
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & A+ M+ [- }/ i
  429. ; E_USER_ERROR      - user-generated error message
    - O2 J' |) G/ F
  430. ; E_USER_WARNING    - user-generated warning message
    ; g- Y3 O  z9 u6 y9 o
  431. ; E_USER_NOTICE     - user-generated notice message( {& x7 n3 T: S- Q  Z7 |) t
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    7 ?1 J% }! C) ?( t" _! E& ?* j
  433. ;                     of PHP
    % l' E: c/ Q8 ]9 M# S0 u
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . y* X, ^" R. E/ |) Y' W1 H( f
  435. ;
    3 ~  |3 r2 q6 h  H. S
  436. ; Common Values:
    1 [' L, k9 n' ^) D/ ^* Z$ \
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.); ?) j; I2 f, K$ K6 }+ G3 X
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)/ V! v& P  x( c* ?3 d: t
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* A/ r7 a. x/ z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( H6 {6 H$ o) Z: D! e
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% P: w, O5 Q' a
  442. ; Development Value: E_ALL" x: Z( C6 I. @# o7 V. m
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 R7 j" Q6 m0 ?/ l
  444. ; http://php.net/error-reporting
    . h6 R9 F4 r7 F- p) {1 B9 L, |
  445. error_reporting = E_ALL & ~E_NOTICE
    . z8 k1 A% ^- ^6 _& _" `1 P( i; @# J
  446. & D! e+ X' }1 f) U( _3 L: \
  447. ; This directive controls whether or not and where PHP will output errors,
      v: G, W' i3 H/ I% j/ g# O5 A. B" Y' Q
  448. ; notices and warnings too. Error output is very useful during development, but
    / Z* x3 ^/ x' K# N5 ~: o, l
  449. ; it could be very dangerous in production environments. Depending on the code4 }, L& M7 T, o  K& Q& |. e' m7 T0 F
  450. ; which is triggering the error, sensitive information could potentially leak
    ( r% t5 Z: F& o; ]+ p! [
  451. ; out of your application such as database usernames and passwords or worse.# c/ U. }1 D0 u2 V3 s+ V# \/ x5 o+ f3 K
  452. ; For production environments, we recommend logging errors rather than
      E% P9 s' m& H! I. B# D
  453. ; sending them to STDOUT.8 f* C0 t8 Q8 n% {
  454. ; Possible Values:+ r* L. C- ?& x1 `& U: S, y+ O
  455. ;   Off = Do not display any errors
    " }0 g3 q8 s: Y5 H( T% k
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) l; m( ?/ c7 b& J
  457. ;   On or stdout = Display errors to STDOUT+ D3 w  o4 W7 F8 O, f
  458. ; Default Value: On
    ) D2 s% U; ~. U) J/ K3 ]5 D
  459. ; Development Value: On
    1 B) D! s5 l& a' u: F& `# y
  460. ; Production Value: Off
    / T9 \! \" o# n) l1 y
  461. ; http://php.net/display-errors* U+ X2 a7 z8 }/ v
  462. display_errors = On
    / a9 _  J) r6 a6 Y, F

  463. # r* N$ u( \5 t- L
  464. ; The display of errors which occur during PHP's startup sequence are handled6 o& T# v* J; r; W% Q* M) ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those; P; w# J2 z- m; ], N" I/ J
  466. ; errors from clients. Turning the display of startup errors on can be useful in9 h' v6 Y/ T1 C7 x! K# h
  467. ; debugging configuration problems. We strongly recommend you
    / E+ j- l7 i( N* k7 F' ^
  468. ; set this to 'off' for production servers.+ ~0 C- T2 ]& I' e+ F0 R: l
  469. ; Default Value: Off
    " J( H0 D, K9 Z& h
  470. ; Development Value: On: t# m9 c, m% r
  471. ; Production Value: Off! t, s1 z' i1 h/ s
  472. ; http://php.net/display-startup-errors
    % P- ^# D- W% i1 m- F/ d
  473. display_startup_errors = Off
    5 }5 k7 A$ w; S6 [
  474. 5 t! {; y# w4 M0 L) S1 w3 ^7 e: s# |
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    , J& y- i7 U$ L
  476. ; server-specific log, STDERR, or a location specified by the error_log
    " m" x; S1 s5 z- c- M6 R. r
  477. ; directive found below. While errors should not be displayed on productions
    ! j5 Z! w1 A" }( ^5 x. z
  478. ; servers they should still be monitored and logging is a great way to do that.  Y( F& ?" S7 H/ O
  479. ; Default Value: Off
    , o, \4 y( P( F# O/ I1 @
  480. ; Development Value: On
    3 [4 A4 j2 R, _2 N% M5 k. ]: W
  481. ; Production Value: On$ M0 ~6 H& u( F* T
  482. ; http://php.net/log-errors& P; b% k3 W0 n' _
  483. log_errors = On8 r" U% `! @! q) [& j
  484. 6 H! r6 }1 b7 ?. J" X2 _9 q
  485. ; Set maximum length of log_errors. In error_log information about the source is( T' @# @/ l& Z% |
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.6 R1 g8 b) E2 R7 p8 W
  487. ; http://php.net/log-errors-max-len6 t, R/ C9 D8 k( E7 ]7 ^! {$ m
  488. log_errors_max_len = 10248 b3 N) B; Q) H" B( M$ S2 I
  489. 2 [: C  f8 y' [' A9 X& T7 O
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    5 Y1 E$ Q; ]$ b  _7 m
  491. ; line unless ignore_repeated_source is set true.. H& Q4 n( ~* \
  492. ; http://php.net/ignore-repeated-errors, G8 ~9 }8 v/ p) E4 v/ i7 Q- i
  493. ignore_repeated_errors = Off( z  O+ G+ ^5 |2 _  p

  494. , i( ^/ T( I2 E8 O% x& A! ?
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ; T$ h+ F8 o8 Y# s
  496. ; is On you will not log errors with repeated messages from different files or
    2 _# l0 U: S6 e6 Q0 ^0 r
  497. ; source lines.8 l, D4 J3 a% {3 f4 r$ q, t, M
  498. ; http://php.net/ignore-repeated-source
    , l$ Z5 G; f. R5 k* m8 w) T0 [
  499. ignore_repeated_source = Off5 h* y9 l7 b/ E' \1 P4 @: @9 M

  500. $ u) A! B, Z( Y/ O( M: Z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & [$ k8 D1 k: q6 D4 ?/ A+ q& E
  502. ; stdout or in the log). This has only effect in a debug compile, and if8 ?7 o! ^6 O7 L2 R7 x
  503. ; error reporting includes E_WARNING in the allowed list6 |3 @: S* J8 P9 }5 U
  504. ; http://php.net/report-memleaks
    0 [, l( @; f, D" G+ S+ f2 K
  505. report_memleaks = On
    * I" \. c' g0 G# A+ j
  506. 3 i8 c+ R. b9 X0 K4 {
  507. ; This setting is on by default., |$ X) l7 W- @, Y8 T  ]5 U
  508. ;report_zend_debug = 0
    4 ?5 s" h5 A# U2 u

  509. 8 v9 g2 `8 s6 Z! e# [
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    + x: D. Z5 v7 {+ l0 f) ]
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    4 ~+ Q& Q8 ~0 [" ]5 @7 g3 `
  512. ; however be disabled on production servers.
    # {. a8 N. w% `  c6 p
  513. ; Default Value: Off/ d- K* T/ u/ T" d/ V8 ]
  514. ; Development Value: On
    : u3 D& D. i9 }8 z: a' F
  515. ; Production Value: Off0 _& b/ m7 m8 l# Q9 s2 |5 l+ Q
  516. ; http://php.net/track-errors
    / A- o# {+ P5 W/ R; S6 ]5 |# A
  517. track_errors = Off1 [* P! l; M6 f8 Z* L, w
  518. 1 j! q1 X8 \2 j" W5 v5 z
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    9 ?* B) b3 g( Q  ^9 Y% b
  520. ; http://php.net/xmlrpc-errors, f9 Y8 p, z5 \
  521. ;xmlrpc_errors = 0
    % `* L$ X* U# ?# b# G% d7 V% _
  522. ( C" |7 v4 s; s+ L7 j
  523. ; An XML-RPC faultCode
      J- q9 f: r/ [& `: n& R
  524. ;xmlrpc_error_number = 0
    " v, ^5 ^6 ]$ a! \6 X; Y

  525. 9 c2 r% ]: }& G+ t- M. A
  526. ; When PHP displays or logs an error, it has the capability of formatting the* P) |; r# P: K
  527. ; error message as HTML for easier reading. This directive controls whether+ ]+ e1 \8 ^2 ^; ~3 a# y' @; t9 I
  528. ; the error message is formatted as HTML or not." {( m6 a5 i6 I7 x- h. U
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI" V' r* j5 f( E, `1 J% T4 S
  530. ; Default Value: On; J2 x3 Y0 M3 B! T1 q+ U( o
  531. ; Development Value: On
    ( }- u" z4 n3 s3 G" g) E9 i
  532. ; Production value: On
    & {% }6 G. d/ p+ Z; p0 L6 n
  533. ; http://php.net/html-errors
    ! r) B4 A* N3 `9 w
  534. html_errors = On6 ~/ o, P% ]/ p* J! I5 t# K8 C8 c
  535. ( k- w) T0 j7 l3 u% y# S+ N
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 O3 _. X; p$ [
  537. ; produces clickable error messages that direct to a page describing the error: s2 @: S3 u% ]6 x* X3 r* b
  538. ; or function causing the error in detail.* l& j* [/ m( R2 ~2 E8 U- x2 ]
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    3 x( s+ N( y% u4 N, ~
  540. ; and change docref_root to the base URL of your local copy including the
    & q, N* k2 R* z; r: V
  541. ; leading '/'. You must also specify the file extension being used including% f  _8 y5 L4 i- j
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" R/ l5 T6 Y: V% a* f; M
  543. ; case no links to documentation are generated.
    : k$ N+ j; X; W  o2 m2 _
  544. ; Note: Never use this feature for production boxes.
    6 p6 W1 [9 X  C  ]- r) _' ^
  545. ; http://php.net/docref-root
    2 ?+ V. Y( W" t/ M
  546. ; Examples+ g, _- _& C( B. N5 ^
  547. ;docref_root = "/phpmanual/"
    - A2 ~7 k$ c- C' S& I

  548. 4 d8 h3 e4 X) P! ?6 T+ [5 D; Z7 n3 C
  549. ; http://php.net/docref-ext
    3 h( u# b# s) X8 p, ^$ C
  550. ;docref_ext = .html) L. j6 o+ J1 E/ w
  551. . C$ ^- E: `0 z7 k. |9 S+ t9 v
  552. ; String to output before an error message. PHP's default behavior is to leave
    , T+ {1 p5 x3 d* \& ^" \
  553. ; this setting blank.
    $ L4 I5 d2 F+ H
  554. ; http://php.net/error-prepend-string4 A$ a  P& S8 E7 Z  B
  555. ; Example:
    2 ?0 n% t, d1 e& }
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    # f' _. b6 U  r1 G4 v" Q' g: L
  557. & Q, {, ~" }4 C& a" l
  558. ; String to output after an error message. PHP's default behavior is to leave% C6 V+ w) k  i4 N- m
  559. ; this setting blank.6 H4 }1 s! M  N1 f9 C( J' I! |1 u( f
  560. ; http://php.net/error-append-string  C7 t* ^7 ?8 s
  561. ; Example:
    & z) i$ z- ]( ~9 Y8 N" V) N6 b2 i
  562. ;error_append_string = "</span>"
    % d- L# K/ E7 F7 s6 t9 X
  563. / l4 D7 [: X# E) A
  564. ; Log errors to specified file. PHP's default behavior is to leave this value: k- R) x/ e' s7 h$ e, Q2 o" q
  565. ; empty.- Z$ \; L2 r: W) ^# f' t0 _7 k
  566. ; http://php.net/error-log
    1 D  d3 ~7 `8 i: y- v9 Z& J% i
  567. ; Example:
    ) y  M) T1 }5 c6 C1 M8 G# Y0 {( d6 c: u
  568. ;error_log = php_errors.log% }- k6 b: G: R2 ~
  569. ; Log errors to syslog (Event Log on Windows).' A; ~  z$ J" a: }- N8 q
  570. ;error_log = syslog. J, Q' _; E5 H

  571. ' y/ \5 R4 h$ R  K' s& R  T! }
  572. ;windows.show_crt_warning
    2 ^, v& F* s9 Z  z$ H
  573. ; Default value: 0# @, p% o7 b( d* L
  574. ; Development value: 0
    2 s) m/ v( t) S6 e5 Z( v# ^
  575. ; Production value: 0
    8 q4 q9 `2 ^+ k: W
  576. . j5 {4 q7 j2 t/ u9 a# N
  577. ;;;;;;;;;;;;;;;;;" @! S; x+ \) z1 J/ E
  578. ; Data Handling ;
    ( n9 J) A, j( m- N! V) F
  579. ;;;;;;;;;;;;;;;;;
    6 p4 A6 V6 i1 v4 [3 x! i
  580. # d$ E* R* U8 o4 b9 c
  581. ; The separator used in PHP generated URLs to separate arguments.
    # o: n, n! }2 U0 B: H
  582. ; PHP's default setting is "&"., n8 l5 t) G8 R7 s7 Y% E5 d
  583. ; http://php.net/arg-separator.output
    $ u& \& ]7 l5 x6 W' Y9 x4 M
  584. ; Example:% s; }# w- K. x4 C/ K! t+ R! Y9 L
  585. ;arg_separator.output = "&"
    : m: o/ F- |5 J, J$ s

  586. 9 o. ?; g6 Z! ]* {& ?
  587. ; List of separator(s) used by PHP to parse input URLs into variables.4 `. b5 K- T! F2 V$ u0 I* c7 w  M
  588. ; PHP's default setting is "&".9 R$ Q! v6 k" m2 A" B) J
  589. ; NOTE: Every character in this directive is considered as separator!
    ( ?: E% X1 A8 B& o3 c, l' j- h
  590. ; http://php.net/arg-separator.input
      N' o) h- _7 c% }1 O' Z. z0 R
  591. ; Example:
    4 P( P' O5 d3 r
  592. ;arg_separator.input = ";&"8 M# V7 R# X0 @6 l
  593. ! p# x/ Z' Y8 ?- M
  594. ; This directive determines which super global arrays are registered when PHP
    7 X8 Y: H: H% E) [' e
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . y+ r. [2 t2 Z0 F% O8 n
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    7 {6 o3 V. \2 Y' w  D2 s
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ! j, V# l4 C  r9 Q& R( Y; N
  598. ; used as the others, ENV is not recommended on productions servers. You
    / G: ]4 N% M- E& K- _
  599. ; can still get access to the environment variables through getenv() should you
    $ S. Z/ b+ ^" o% F7 s/ `
  600. ; need to.
    8 j. z# k: u3 L  q6 p
  601. ; Default Value: "EGPCS"
    1 x( u3 _! A; {# X! H$ \$ D# @3 O
  602. ; Development Value: "GPCS"
    4 q# w" H2 r1 l2 v5 A# i0 \5 Z: c. `+ k
  603. ; Production Value: "GPCS";4 n' ~' \' }' f, n: R+ E
  604. ; http://php.net/variables-order# E" l2 Y- P" T9 u' @7 Z; r- Q
  605. variables_order = "GPCS"
    9 `8 b$ M  i6 R; V5 t- @' K: ?  G4 P% P
  606. ) b# O6 A% O, q' C6 t+ a. I& y
  607. ; This directive determines which super global data (G,P & C) should be
    . {5 a* w5 F4 D1 g
  608. ; registered into the super global array REQUEST. If so, it also determines
    * G- U1 I  g+ |; S
  609. ; the order in which that data is registered. The values for this directive
    5 h5 w' ?6 K% }) R- K& C
  610. ; are specified in the same manner as the variables_order directive,
    0 ?( w0 M) J4 M$ m4 c3 T
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" O+ N: S2 P8 M7 U
  612. ; in the variables_order directive. It does not mean it will leave the super
    ! |0 X( f% O* j( Y# w
  613. ; globals array REQUEST empty.
    " o+ g& P# s5 D! d. q5 O4 Z$ |5 i  D
  614. ; Default Value: None: k; N1 _% p4 }( [+ ]4 e
  615. ; Development Value: "GP"
    8 r( B; r/ u6 [  u! q: o' k5 i
  616. ; Production Value: "GP"3 n4 f* e/ [* _( o8 t
  617. ; http://php.net/request-order
    % V5 }1 u7 o6 H9 z2 ~: d; @
  618. request_order = "GP"
    & T0 l" ]' Z# x  E% O( N) Y

  619. ' ?6 z4 [( J1 B" h* |' _
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    % S+ P4 W3 O7 ?: k, O$ _+ r
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script) V1 }, g' z% k5 f9 |
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ) W! |+ S5 h7 U  }
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 y4 I9 e8 q' s; D  j' K9 z
  624. ; useful when running scripts from the command line. When this directive is/ O2 H  I# U) i- M7 }
  625. ; enabled, registering these variables consumes CPU cycles and memory each time1 m- Y9 W, k& \# J0 o0 M0 r8 b
  626. ; a script is executed. For performance reasons, this feature should be disabled
    # ?9 v+ G) W, _3 D
  627. ; on production servers.( k3 f5 |& |. p/ d" Z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    . E- v0 ~! u0 A! h
  629. ; Default Value: On
    " ^, a0 o: E- v  _
  630. ; Development Value: Off* A. J  a/ W# D" d/ r4 b1 t0 m. c2 |
  631. ; Production Value: Off/ f' J) W) f3 g- _) `
  632. ; http://php.net/register-argc-argv: p8 c0 T4 @  V9 k- c1 i
  633. register_argc_argv = Off0 _0 V+ |) A" A( \3 v4 A' D5 W

  634. ' z  Y, R8 x( t6 Z! J' z  Y
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% q) ]9 _6 P4 Z
  636. ; first used (Just In Time) instead of when the script starts. If these
    : t& o/ n, D4 Y
  637. ; variables are not used within a script, having this directive on will result
    ! @4 |6 O( `1 m+ O
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# k2 U( b2 N8 i% {2 R% U+ ?
  639. ; for this directive to have any affect.3 |2 i* I9 x0 U2 x  P3 U
  640. ; http://php.net/auto-globals-jit
    1 ]2 o- }4 }+ T$ d! l
  641. auto_globals_jit = On: u3 x3 x3 e, k1 }9 A0 k
  642. . d* C1 }/ ~- T
  643. ; Whether PHP will read the POST data.8 x! B. i+ m6 o+ C$ K
  644. ; This option is enabled by default.$ w9 x! R( ^2 V7 B# R/ C
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 ?- k$ a! _) q( W& C8 _
  646. ; and $_FILES to always be empty; the only way you will be able to read the1 |# i6 E* u$ J  v5 P& g9 x
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 b# l4 f- e% d
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.1 Y4 c* t% U; M0 Y' \8 ]/ v
  649. ; http://php.net/enable-post-data-reading9 A2 \4 g, _6 ~, ^  k7 V
  650. ;enable_post_data_reading = Off4 N( z6 U7 m8 h0 |5 n- v/ }  |

  651. $ o  M8 c, W3 K' J: q/ n* B
  652. ; Maximum size of POST data that PHP will accept.
    4 c& y8 s" i1 m, ?% u# a
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading1 k9 `, l" r) q; E/ w: P0 v! v2 @
  654. ; is disabled through enable_post_data_reading.$ X+ P% Q# q6 U- n/ u
  655. ; http://php.net/post-max-size
    ) \1 M3 {) P2 ]
  656. post_max_size = 50M- Q' S7 S; E: v7 ~2 h9 t/ T
  657. 5 \; o7 I) |$ ^2 c; D
  658. ; Automatically add files before PHP document.
    7 s) |( L4 Z- s3 x& f# I/ U
  659. ; http://php.net/auto-prepend-file0 }4 w9 f) A, O" o+ Q0 Y) i
  660. auto_prepend_file =: s- m7 j2 M: O# U2 G
  661. + D; s8 Q1 X( [5 I0 o8 F
  662. ; Automatically add files after PHP document.$ l. [# Z+ K$ ?2 H* s
  663. ; http://php.net/auto-append-file6 h" x# K/ t+ l
  664. auto_append_file =
    9 E) Y1 ?0 U2 w( e' X7 y4 _

  665. " I9 ?, L' J/ d+ u6 e1 t/ G' u
  666. ; By default, PHP will output a media type using the Content-Type header. To
      R  k0 ?+ [. ^: J' M0 B* s' U
  667. ; disable this, simply set it to be empty.# [: Z$ C6 {1 G0 U, t
  668. ;( a( G3 R( C1 ]4 ?. I+ g3 @
  669. ; PHP's built-in default media type is set to text/html.
    5 ^- L; p& j2 y( O, A
  670. ; http://php.net/default-mimetype: n. S5 R0 s* M; g7 b
  671. default_mimetype = "text/html"( H; @6 S2 {! O& y
  672. 2 a: l+ L7 U  T" k
  673. ; PHP's default character set is set to UTF-8., d6 y1 z4 v+ J4 O4 |% B9 w5 t
  674. ; http://php.net/default-charset) I$ h) B0 j; a# Z. I5 v
  675. default_charset = "UTF-8"
    2 p$ m9 c8 z- I2 r' q3 g
  676. # T/ n# o$ _& `3 i" {3 f/ ?
  677. ; PHP internal character encoding is set to empty.
    + g1 ^- V4 l/ d4 v7 _
  678. ; If empty, default_charset is used.
    1 H( n0 G& m1 J( ~9 m
  679. ; http://php.net/internal-encoding
    ; p7 y2 {' n9 p& B" D$ \
  680. ;internal_encoding =
    6 j) n# J4 \- Z5 y" d/ O8 N' Y

  681. * F# p  ~$ l! D; Z- q4 R9 N
  682. ; PHP input character encoding is set to empty.
    ! o% h' f1 q: B6 u, s* h
  683. ; If empty, default_charset is used.- q+ S4 @+ C7 N- h3 O; b' K
  684. ; http://php.net/input-encoding
    2 ?* [: T# \3 V( |: E
  685. ;input_encoding =: J% y9 L8 g# H! k* |

  686. 3 q" e5 {5 N  p# A/ c0 ?
  687. ; PHP output character encoding is set to empty.) V% @; M' y5 x) ~
  688. ; If empty, default_charset is used.
    1 L* M& E8 v7 D: [9 s
  689. ; See also output_buffer.: `; w% D6 w; _( c0 I' j0 d) f
  690. ; http://php.net/output-encoding
    ( H0 e* L. d: N" S' s! f# ]
  691. ;output_encoding =7 d' t  |5 s2 [' J0 S! F0 P

  692. & j3 ^5 B* F$ N. R( P4 U
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 F8 U/ E5 E" z4 P2 ?# i
  694. ; Paths and Directories ;
    ( W0 a/ H, ~' p
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 x3 t- l+ }0 d% ?2 W* ?
  696. % b1 h$ c) Q- y+ H: x
  697. ; UNIX: "/path1:/path2"
    , i3 E# @; L5 c" ~8 D
  698. ;include_path = ".:/php/includes"
    . G, C. A$ ?- u! r! G
  699. ;& j$ l2 r+ ~/ c" c* `8 C* D4 G1 j
  700. ; Windows: "\path1;\path2"0 ^. t9 e  @3 m
  701. ;include_path = ".;c:\php\includes"
    ' ~' ^+ _4 H* [* i  b/ w
  702. ;
    : Z* C- F& O- m# |( \$ w2 Y" `
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"2 n. d! N9 o  ^6 f/ S" k6 i
  704. ; http://php.net/include-path
    * a) l$ S! q: z4 M

  705. 8 P# V! l" F, @: T) ?) n5 S' @% ?+ `
  706. ; The root of the PHP pages, used only if nonempty.
    9 H' Q. a2 E, f+ g4 W
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root$ a, D2 F- i0 m, O
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 ^5 Z& P' F# L8 V! d, b
  709. ; see documentation for security issues.  The alternate is to use the4 r* O8 u( p; e4 J' [
  710. ; cgi.force_redirect configuration below
    % S" B/ E3 E5 W
  711. ; http://php.net/doc-root8 P! s# e* Y: {8 B
  712. doc_root =
    8 W6 M% V" H, X1 t! T

  713. ) D' f4 o9 x; [1 f% H" ~0 k
  714. ; The directory under which PHP opens the script using /~username used only, ~1 L' I* d, O0 x8 j4 k* S' ?7 h2 ]
  715. ; if nonempty.
    0 e3 f% W( r3 }/ v. F" O0 d6 y
  716. ; http://php.net/user-dir
    2 u! @& ?8 ~3 S* T, R% ?: s% _
  717. user_dir =# g- P* f7 c/ S, M, }6 S7 M

  718. 7 C  d" z/ K9 f/ L2 o% `/ h' T
  719. ; Directory in which the loadable extensions (modules) reside.) r( {' ]/ h  B6 F2 @; N" p8 P
  720. ; http://php.net/extension-dir- `2 Z0 {& B. w( w& P/ c2 i, N, q( t
  721. ; extension_dir = "./"
    2 I6 M: h2 f  p8 ]& u
  722. ; On windows:
    ; [* Z4 l9 M9 u# |4 J
  723. ; extension_dir = "ext"
    & G' }. r' S0 t( W
  724. , Z8 j; k$ l' N$ N, J& L  @
  725. ; Directory where the temporary files should be placed.; s9 w3 g* g9 G9 D, S4 S# C
  726. ; Defaults to the system default (see sys_get_temp_dir)+ v7 g; `$ T6 e! ^/ t* i8 m5 f
  727. ; sys_temp_dir = "/tmp"
    ) K$ `; N4 B1 U) ?  l, \! I

  728. ! @9 Y4 k. A" }2 s
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work" s; A1 z8 R: @% E0 k# K) f
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    , S! H0 Y6 M. k0 J& A
  731. ; disabled on them.
    ' h7 w; a4 b3 m2 {2 p( x5 b; X
  732. ; http://php.net/enable-dl
    % P* D+ }7 |% g) F; T
  733. enable_dl = Off9 B, W# u: w$ }7 E" N+ U! q

  734. + Q0 k6 x" i# T- m! Q4 \' ?
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
      ^& j; L% h& s0 K5 ^; R& M" P
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) ?, K: g! r# q9 Y; o
  737. ; turn it off here AT YOUR OWN RISK
    & c% U) S! ]! _# U
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    6 O8 i0 P) p3 e( J
  739. ; http://php.net/cgi.force-redirect
    - y' q+ V3 O0 U4 r
  740. ;cgi.force_redirect = 1
    % D% H/ S! a" s' s
  741. - j+ |. v5 B/ g% H+ p2 Y  i
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    0 o3 R- D- Z3 b# t4 r2 c* w& {
  743. ; every request. PHP's default behavior is to disable this feature.  z4 z+ k5 k; L7 D% P! F! w
  744. ;cgi.nph = 1( D% k+ W# B1 w7 T

  745. : F& A+ E9 I8 @% @0 v
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " f9 C1 N6 S& e7 }' _2 V  `. K  L) s
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 w, y  O6 A! t% w
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    & C3 c; }$ P. L$ U4 L
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ a+ X# @& N/ j% N$ f
  750. ; http://php.net/cgi.redirect-status-env. }+ Y1 Z9 w: R/ R  d. I
  751. ;cgi.redirect_status_env =
    7 f0 m& E; I: ?2 y5 U
  752. 5 V% L! T1 s5 E2 r5 q2 `" U
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& @7 ]5 F& r2 e8 Z4 N- V3 P
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( d7 R$ Y+ n$ f! Q
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' F' m5 I4 x6 y) a
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( v2 y7 U- t6 D! A- h
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# {+ s! {8 M  D9 m
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " \5 n* A$ e- j
  759. ; http://php.net/cgi.fix-pathinfo' a0 u5 I$ P/ [1 p  Z/ Y4 a9 A( }& A
  760. cgi.fix_pathinfo=1
    ) i3 _; @% u7 B) Z( X6 U

  761. $ X5 Q; K$ l: S) Z3 w, x8 z8 Y6 C
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . @& Y1 M1 m  C: a
  763. ; of the web tree and people will not be able to circumvent .htaccess security./ P/ s" b- T* s( I' n, m
  764. ; http://php.net/cgi.dicard-path
    ' t1 D0 Z: L) X4 `
  765. ;cgi.discard_path=16 x# n4 U- Y8 I8 I' l
  766. 5 C3 [0 i# ~6 E# n1 N! a' @
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' ?, v$ ^/ t, y
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' ?+ A' N  W. L: ]
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    0 e$ F% i5 z0 S2 P( A5 y) f3 |( ?
  770. ; does not currently support this feature (03/17/2002)
    : q. E: }$ ?/ A3 z4 R  L
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 }5 d! D7 q$ z, q! P7 V1 l
  772. ; http://php.net/fastcgi.impersonate
    & |* K+ Z! `) Q$ _
  773. ;fastcgi.impersonate = 1
    7 i% U& D/ @% X% }7 e4 [3 K
  774. # Q$ o. N4 ?5 W: Y# q! c: T
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 q9 f( L+ Q2 E5 q( x9 |
  776. ; this feature.
    ) F' |$ X5 P) e% o/ ?* O+ l# X
  777. ;fastcgi.logging = 09 `  G! M! W! g0 C. X
  778. $ {9 K) @- V8 B+ t( N
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  ^9 Y6 s6 C1 D7 s+ F: @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; c  Q/ v( T. D; [$ s7 [
  781. ; is supported by Apache. When this option is set to 1, PHP will send
      n/ e& n( J" F$ ], N. s
  782. ; RFC2616 compliant header.  v7 P$ X6 C3 [- N/ B, g/ l3 ?
  783. ; Default is zero.
    # q: A0 M% f  n
  784. ; http://php.net/cgi.rfc2616-headers% ?1 t5 j4 a4 L9 ^+ i
  785. ;cgi.rfc2616_headers = 0
    ( j) n6 J+ c5 k9 f1 _( m& n
  786. 0 C* y3 H  R. c
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * |" Q( p7 y, a, ?) ~  G7 }
  788. ; (shebang) at the top of the running script. This line might be needed if the7 G$ |( O- S7 R+ e1 T, P. o: y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 b2 k; i; F* ^% M9 M- N3 {
  790. ; mode skips this line and ignores its content if this directive is turned on.! g* t" [+ S# J% Z, C, a- P
  791. ; http://php.net/cgi.check-shebang-line7 t% I  i4 j! J; E( _  V1 R  ?, _
  792. ;cgi.check_shebang_line=1- p) ]6 b' i, M) U! t% C( |2 a

  793. , ~7 T; s) D# _) ^. [9 b- b  a/ L
  794. ;;;;;;;;;;;;;;;;
    : H% |3 c  n  @
  795. ; File Uploads ;& s( `, e3 j* G6 C- Z) l2 Y
  796. ;;;;;;;;;;;;;;;;
    " G) F/ R1 Z* @
  797. $ `& i+ K. Z, Y. {- a, Z  j$ B1 w
  798. ; Whether to allow HTTP file uploads.
    8 c+ r) y+ A) q
  799. ; http://php.net/file-uploads
    1 _0 |8 [( _8 g) _+ x
  800. file_uploads = On7 _% e* L+ Y/ t
  801. ' T) i* m# }, o0 [
  802. ; Temporary directory for HTTP uploaded files (will use system default if not0 T) \4 J, ^" P- [
  803. ; specified).
    # S5 w) h7 s' {4 {$ |$ _7 S& F4 z
  804. ; http://php.net/upload-tmp-dir- K7 b  F$ e* _4 r- m  A( N+ T' ]; k
  805. ;upload_tmp_dir =8 ]4 s& S! p. B/ M' z' S  A

  806. 4 Q- g% {) {% C$ g/ \, I3 c
  807. ; Maximum allowed size for uploaded files.
    ! O9 l! T/ F1 o
  808. ; http://php.net/upload-max-filesize
    ; q' g+ `* Z5 w8 ?
  809. upload_max_filesize = 50M' ]1 f& \- n$ z6 s
  810. 0 q) P9 @, ~: W! e' ~
  811. ; Maximum number of files that can be uploaded via a single request
    4 Y( A, U) [0 u1 D( u% }( t
  812. max_file_uploads = 20
    ' f- n0 [0 |5 o6 ~* B1 w# H

  813. * u5 l3 o9 z3 \4 Q8 a( p2 [, n9 H/ ~
  814. ;;;;;;;;;;;;;;;;;;
    3 J- E/ Y: P5 j% G2 \
  815. ; Fopen wrappers ;
    $ Y! y5 s2 M" z3 W  |
  816. ;;;;;;;;;;;;;;;;;;( r* Q+ |$ M7 [% Q
  817. , A- r3 z) h+ u  m  ?. Y* @3 L- x7 a
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.' m$ [7 U. O: d- U) L# H
  819. ; http://php.net/allow-url-fopen9 F! p. r2 }* s2 E5 ]' p
  820. allow_url_fopen = On/ g+ p, M. d9 l4 k& }
  821. 8 b+ `) T: A* o3 |- b
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.$ c; f& Q/ R$ J8 @& S& e+ C; \( C. ?
  823. ; http://php.net/allow-url-include
    2 S/ o% {" f& i6 O8 H
  824. allow_url_include = Off- o8 v% w( \$ _9 X# W% q

  825.   h/ a! U' t, g1 r" J. s5 k& z" u
  826. ; Define the anonymous ftp password (your email address). PHP's default setting' G0 f) k# T3 V$ h+ Z# ?$ k8 f  p
  827. ; for this is empty." s5 h" H/ {7 X$ p
  828. ; http://php.net/from; \- T) g/ T5 w( n( ]
  829. ;from="john@doe.com"# w. P  I6 F$ {8 f1 S+ ]% J

  830. 3 D5 i1 O8 x5 b# T. s
  831. ; Define the User-Agent string. PHP's default setting for this is empty.4 N7 T: W: H9 z/ r/ {9 M3 N
  832. ; http://php.net/user-agent: H9 p% U# Z$ T$ B: \0 k
  833. ;user_agent="PHP"
    / i9 v0 y1 Q; Y( V- o
  834. + k) B0 R" r1 z0 c
  835. ; Default timeout for socket based streams (seconds): g* s  y* g+ T6 o% W
  836. ; http://php.net/default-socket-timeout
    " X6 t9 Z) d6 G. e( l. b- V0 z
  837. default_socket_timeout = 60& Z% Q5 x& z% J8 h( e( @5 F3 N

  838. 7 h2 i3 f, n7 b9 C& Z# V
  839. ; If your scripts have to deal with files from Macintosh systems,
    % N* G! [) J0 y) p9 P
  840. ; or you are running on a Mac and need to deal with files from
    & c/ W# j. m- k* K. ]6 C
  841. ; unix or win32 systems, setting this flag will cause PHP to
    1 q/ V# C4 Z) c1 ~$ z& P) d# [
  842. ; automatically detect the EOL character in those files so that
    4 ]! V/ R7 r% P5 t' R
  843. ; fgets() and file() will work regardless of the source of the file.
    5 ^/ q" g  z2 a
  844. ; http://php.net/auto-detect-line-endings
    ' v+ p: p1 [, r
  845. ;auto_detect_line_endings = Off
    , o4 c2 C" r0 x  ^# A) X8 s! l* s; C

  846. - o6 r) Q- p* I: w6 O- N  r! }
  847. ;;;;;;;;;;;;;;;;;;;;;;1 E4 x$ r) r, X, @: z
  848. ; Dynamic Extensions ;
    - v# k7 a3 L/ j2 o; p
  849. ;;;;;;;;;;;;;;;;;;;;;;& b  Q7 r/ s6 m1 d9 D
  850. % z3 R8 ?* Y* m, N9 Z* G9 L3 S
  851. ; If you wish to have an extension loaded automatically, use the following7 ~+ r9 ?4 |) l0 h
  852. ; syntax:) X! Y7 I% X- N+ V5 {
  853. ;$ O! T8 t8 q; i# R9 |4 |& {6 \
  854. ;   extension=modulename.extension
    * }5 `. i: ?# I  d3 C: {6 h
  855. ;& k& H9 {, k& {5 P& Z
  856. ; For example, on Windows:
    - a0 a$ @) i7 {0 c8 c+ `
  857. ;* L- ]3 E. W* w0 f
  858. ;   extension=msql.dll4 `+ n/ {2 @  O% C% x- h8 l, _6 Q
  859. ;
    ( w! E: M% Q4 u
  860. ; ... or under UNIX:- _1 h$ k; p" a& m4 D3 r
  861. ;$ ?5 R. s; H: [3 X. K/ i) z8 l
  862. ;   extension=msql.so
    % r( F0 L" S, {
  863. ;3 c7 G# o' i. c# s* A
  864. ; ... or with a path:$ u, X9 ]+ x/ ^- Y# ]1 `& O
  865. ;
    9 f2 ?1 c  ~7 [; }% [) {' V% @
  866. ;   extension=/path/to/extension/msql.so
    7 U0 P) Z3 _7 r& k
  867. ;
    7 O2 F- ~/ u" q+ I
  868. ; If you only provide the name of the extension, PHP will look for it in its
    4 P* S: ]; N  z9 D  z
  869. ; default extension directory.
    0 o0 E7 k$ e; H; O- B
  870. ;
    " S; o* s! G6 k4 L2 }! T
  871. ; Windows Extensions* ~8 ~4 E% `# `* s+ P: d! R* R
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      ?1 z; @8 x* b; N% w
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    7 |7 x( S5 x  I) H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)., g5 `+ H5 g; V2 D; ?- C& G, G
  875. ; Be sure to appropriately set the extension_dir directive.) S7 I7 j) Z( ?' F. {  u
  876. ;4 t6 G+ U% X- y  ?
  877. ;extension=php_bz2.dll# E- }- g8 ~& L2 Y2 D& I' q0 t
  878. ;extension=php_curl.dll
    ! A2 k  J/ M( v7 ]% `
  879. ;extension=php_fileinfo.dll
    + t( Y! F% J4 t
  880. ;extension=php_ftp.dll3 F  W9 ^, _6 H( m% T7 F6 [# j
  881. ;extension=php_gd2.dll
    + q( Z$ E0 y$ n0 c( I; s
  882. ;extension=php_gettext.dll
    5 E( r3 n6 j7 |1 Z. M
  883. ;extension=php_gmp.dll: I% Q1 z: k" w# C9 e# _, S
  884. ;extension=php_intl.dll
    % l9 K& k; L% f# `
  885. ;extension=php_imap.dll; `. ?1 G: X6 B. N! m6 U( \$ n
  886. ;extension=php_interbase.dll% l1 a5 C  n5 ^! w( P" V
  887. ;extension=php_ldap.dll  r7 V: J1 ^- U
  888. ;extension=php_mbstring.dll8 Y/ O$ R/ F. @/ [( S  P
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 f' l" q8 i( n# t; N
  890. ;extension=php_mysqli.dll$ g. L: V# }7 }9 c! _- s* \' f( ~
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # p: f) A' g9 K& W: s, G0 j
  892. ;extension=php_openssl.dll
    * n  |. G$ k  t4 h8 N  i
  893. ;extension=php_pdo_firebird.dll
    6 j2 G. y1 f% x
  894. ;extension=php_pdo_mysql.dll9 P. n( F% V0 V
  895. ;extension=php_pdo_oci.dll8 ]8 A- V/ b5 Z8 i, A5 x
  896. ;extension=php_pdo_odbc.dll
    8 W. P8 }$ p+ b; o, S' r$ t
  897. ;extension=php_pdo_pgsql.dll8 c+ M2 S6 I! t2 |2 r+ z
  898. ;extension=php_pdo_sqlite.dll
    0 x; }0 _; r1 t) d, s2 k( c
  899. ;extension=php_pgsql.dll4 D# t  \' u/ L" A- {# w, e3 K
  900. ;extension=php_shmop.dll7 B  N, \5 ^3 l, g1 ^( h

  901. + K9 N2 K* I. H, H% A+ U+ Q# [
  902. ; The MIBS data available in the PHP distribution must be installed.$ g% L/ B; H! k( K) [. Q
  903. ; See http://www.php.net/manual/en/snmp.installation.php& O) X- ^( D% D
  904. ;extension=php_snmp.dll
    # W2 ]- q* I4 K  ]1 e8 P
  905. 9 Q+ c, I9 a* e% @5 |
  906. ;extension=php_soap.dll
    ( R* R( U' P( ?" |: Z: E
  907. ;extension=php_sockets.dll" S0 V1 |+ Q* x" ]0 B4 j. s9 d+ M
  908. ;extension=php_sqlite3.dll4 B0 L6 R! h1 o0 B. N3 ~  Y
  909. ;extension=php_tidy.dll% s) j4 ~( i5 U4 e- E! `9 a4 R( C
  910. ;extension=php_xmlrpc.dll9 A" o: @% h; }& l
  911. ;extension=php_xsl.dll# O* l; |/ j  V5 b  `

  912. ! f6 O1 _( S6 g, A3 r2 R
  913. ;;;;;;;;;;;;;;;;;;;  r$ E0 s6 _; R3 E* I5 H0 D/ v! \
  914. ; Module Settings ;
    8 d& m4 [( L9 K8 B& B* m  c: @
  915. ;;;;;;;;;;;;;;;;;;;
    $ C- }8 \7 X- H; h. L6 E' M% b

  916. ; H% ^; k* l% T: z9 ^* l
  917. [CLI Server]; v& S' X" ?; A1 p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    " o* q6 q! E# R2 N% F7 L% a
  919. cli_server.color = On
    ! o" Z/ O6 Z, x
  920. 8 M# Q7 h$ e0 x! i6 `
  921. [Date]$ A+ [; ?( a4 m$ `! i3 y
  922. ; Defines the default timezone used by the date functions
    : z3 M0 `$ L- j7 A; [
  923. ; http://php.net/date.timezone
    7 L! x% E; B" S/ v' C" }9 L' k
  924. date.timezone = PRC# ]- C6 P. |. f& _& s3 T+ Y
  925. 6 @4 Q% e+ `7 c
  926. ; http://php.net/date.default-latitude
    ; U1 S' \" R" v! Y7 a
  927. ;date.default_latitude = 31.7667
    4 v# `) V: f# P$ L1 b, w3 T: r( l$ E. s9 S
  928.   i2 Y  G7 T" ?5 I
  929. ; http://php.net/date.default-longitude: c4 t( ?: G( A9 i. B3 \4 x5 ~4 ]
  930. ;date.default_longitude = 35.2333# T7 o, y7 Q4 ^

  931. 4 U: }* O5 }% P$ j% R
  932. ; http://php.net/date.sunrise-zenith0 G! C! l2 X2 ]+ M; l7 F& x
  933. ;date.sunrise_zenith = 90.583333
    - t! z. p; Q& L
  934. 3 H" u% G/ s2 R  b* t
  935. ; http://php.net/date.sunset-zenith
    9 R# m* M. J# H! y1 J: {
  936. ;date.sunset_zenith = 90.583333
    + H/ H; m* N1 j4 M/ M) F
  937. ' Q0 r9 o) u; V4 K& m
  938. [filter]
    % s9 Q5 B; \* h
  939. ; http://php.net/filter.default' V% `! p; U1 O( ]. _
  940. ;filter.default = unsafe_raw
    % w, L8 u! f  ~8 q
  941. / w, |! m7 \& F; U
  942. ; http://php.net/filter.default-flags
    8 L% \5 u# \% R$ n
  943. ;filter.default_flags =
    : v+ ^3 g0 }& Q" g* K$ k

  944. $ |# N. ^1 f8 D* @0 }. `
  945. [iconv]* d6 N( H+ y& _' ~
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 x/ e2 \! ?* X1 H! V! N9 r! N  Y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ' l" A/ d; P* x: ?; ^! z% V
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding( t" ?* Y! x7 S  ]
  949. ;iconv.input_encoding =
    8 a. y0 R0 j9 n/ ]' u
  950. + V" m  L0 V! d
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.; l. X# |; O& C# H/ w
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 d. W- X' R! c4 @
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      h7 n/ G$ z1 j6 k& U. F3 N; a
  954. ;iconv.internal_encoding =
    / L9 M+ F. h: {3 v- m2 r

  955. ' a) P1 _3 L$ u9 j; C' ?
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.4 o. n  l4 h) I' ?# }! F; c
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 y2 T/ C) I' \, T1 I
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    + u' v: a  Q# E! Z
  959. ; To use an output encoding conversion, iconv's output handler must be set3 ^- [' A5 X$ p
  960. ; otherwise output encoding conversion cannot be performed.* T8 T& `/ A& r! O
  961. ;iconv.output_encoding =
    3 {/ T& I; A8 E+ S! L+ R% i

  962. # m( D) Y  l6 O+ Z
  963. [intl]
    $ w; J7 R* c8 _. A: l
  964. ;intl.default_locale =
    ) h' Z7 \, @  G7 F. T' F9 d1 T
  965. ; This directive allows you to produce PHP errors when some error
    8 h4 x5 r: R4 Q6 ~" w2 {! w& I
  966. ; happens within intl functions. The value is the level of the error produced.5 G% h2 a! N8 l! T8 |# \
  967. ; Default is 0, which does not produce any errors.
    & V1 L* i, K/ I
  968. ;intl.error_level = E_WARNING; g0 u) W4 b  R6 h: K0 N
  969. ;intl.use_exceptions = 0
    * o( s9 [/ c8 f8 M% N- u# x

  970. - m+ f7 i9 X3 v4 T# ?
  971. [sqlite3]9 u. |$ M+ s! h- w& h- |
  972. ;sqlite3.extension_dir =; k+ E: k' T' B" p+ Y5 w

  973. * N# w* o  S8 w2 C
  974. [Pcre]- @5 r7 G  d: Q9 v6 _
  975. ;PCRE library backtracking limit.
    4 I; q2 v; ~5 N8 P. M1 z
  976. ; http://php.net/pcre.backtrack-limit+ \( h8 Y3 p8 ^& `5 ]
  977. ;pcre.backtrack_limit=100000
    # v7 N0 x9 O0 i2 `, K7 i
  978. ! Q2 l# X; ?& x/ W4 c3 F
  979. ;PCRE library recursion limit.
    : E$ F8 ?8 m$ @. n! C& n6 c% I
  980. ;Please note that if you set this value to a high number you may consume all, }: f1 x0 b# @+ B) d
  981. ;the available process stack and eventually crash PHP (due to reaching the8 |- ]' K. r. ]6 U" b2 C
  982. ;stack size limit imposed by the Operating System).0 P. ^* W6 u9 Z# [# l, b! U
  983. ; http://php.net/pcre.recursion-limit
    * |9 M) f: y( x
  984. ;pcre.recursion_limit=100000
    1 O9 P, U; l: e: b: U+ E

  985. ( U  b  L1 B. G& i$ |
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE9 {1 X1 e0 V# |) P, }% v5 e
  987. ;library to be compiled with JIT support.  w9 M2 P% r6 ~: l  m  L
  988. ;pcre.jit=1
    1 t" X+ J5 b; Y8 g* t0 [( p' e

  989.   f$ I( G: T1 U. D' e1 }
  990. [Pdo]  X3 h( P  V8 A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / m% P- m7 v$ y0 \9 [, I7 L
  992. ; http://php.net/pdo-odbc.connection-pooling
    ) Y) I3 x* M6 W$ I
  993. ;pdo_odbc.connection_pooling=strict
    / K. }2 c9 K" [0 A

  994. ' _  h* \) U  b5 a0 T
  995. ;pdo_odbc.db2_instance_name8 ^- |) D+ ]- B
  996. & t6 z8 m) P0 `: W* a
  997. [Pdo_mysql]
    , B% K: d7 _! r
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' ^1 {4 U0 V2 X
  999. ; http://php.net/pdo_mysql.cache_size
    9 p( N2 c3 K. e( Q6 S; I
  1000. pdo_mysql.cache_size = 2000* x6 s) l  O% P

  1001. 0 A/ t  c  D7 [) ~. X4 J8 h1 M+ B
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) v4 o- ^: ^; t% h9 K9 k, M
  1003. ; MySQL defaults.
    , y! A7 j! E+ ~
  1004. ; http://php.net/pdo_mysql.default-socket: q7 Q* C' t0 s3 t
  1005. pdo_mysql.default_socket=
    4 g- w8 o' z  G; J
  1006. . R4 \4 z& S5 n" r- r$ s
  1007. [Phar]
    # c( G* z; K( K6 Z
  1008. ; http://php.net/phar.readonly3 g, h$ \: X  {( y' C! ?) o
  1009. ;phar.readonly = On! F7 r" {1 M" l5 a# @

  1010. 6 A' O  u$ p6 x$ b& E
  1011. ; http://php.net/phar.require-hash
    ! w. |, V8 j9 \2 S& q/ o! S/ @4 p' M
  1012. ;phar.require_hash = On
      v! z1 ^$ D! u" T7 g! D' X5 x
  1013. . w% o! b1 w/ i2 u+ ]1 Q3 }
  1014. ;phar.cache_list =) Q. ]% I' L0 D$ O7 P6 o
  1015. 4 b9 }& Y! M7 q( S
  1016. [mail function]
    & K3 a6 x4 [, X( ?
  1017. ; For Win32 only.
    " J6 N- f' b; H
  1018. ; http://php.net/smtp2 Y& q+ G6 p: L! \: j/ i3 U3 o) c# [
  1019. SMTP = localhost  `& G: @% P" K) l! M
  1020. ; http://php.net/smtp-port  {! L0 r6 r, w
  1021. smtp_port = 251 o9 D" C) U9 G) v0 ~* W+ ~

  1022. & x+ D3 W7 D$ v$ f' B2 G7 }
  1023. ; For Win32 only.
    2 b' J! T' F8 A! }0 }8 f
  1024. ; http://php.net/sendmail-from! O" b5 a1 M5 y. _1 @) c% ]$ E
  1025. ;sendmail_from = me@example.com
      d5 c: ~" ^/ O: ~

  1026. 6 Z8 @9 Y" l. F% r8 x
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. w" G# S. \8 N
  1028. ; http://php.net/sendmail-path
    8 c7 {6 V& Y5 A6 T0 \3 G1 o
  1029. sendmail_path = /usr/sbin/sendmail -t -i. X4 @) j  a1 j8 o& k# C
  1030. / L* z1 a* `# t7 g; w1 e
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    + U( A: x' V6 X
  1032. ; to the sendmail binary. These parameters will always replace the value of9 A; g' O2 A: q  K
  1033. ; the 5th parameter to mail().
    & r2 M: @# I! E/ @1 f2 s+ t7 J1 u6 O
  1034. ;mail.force_extra_parameters =
    6 k4 R- u+ V# z' v$ V, Y
  1035. + r' q9 x* R  f7 Z1 p  {- c
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename9 v( ~3 @  G& }5 H/ I5 w6 m+ i2 q
  1037. mail.add_x_header = On
    " s: u) x1 x! P( z+ @. K0 n! Z

  1038. ' N! l2 v; J* M9 k8 D' x* N
  1039. ; The path to a log file that will log all mail() calls. Log entries include0 I& g8 y7 Y: u  m5 z2 g& u
  1040. ; the full path of the script, line number, To address and headers.
    ' o, g. ^, k- T/ y& S: k/ y
  1041. ;mail.log =. h" I8 l8 B3 A: B2 Q% Z+ h% p
  1042. ; Log mail to syslog (Event Log on Windows).
    / ?/ W+ B7 {# S: f: m! b
  1043. ;mail.log = syslog
    $ _' {( }& C; ~0 `9 v$ S; C. M' R
  1044. 8 n& K6 `: O4 I" c8 x7 y
  1045. [SQL], T! g3 C- O  }( D
  1046. ; http://php.net/sql.safe-mode5 z- C" j) d5 t: t# M: b; V" M
  1047. sql.safe_mode = Off$ r) z2 b  r8 V) X. B$ J: C
  1048. : I. K) i! T: M4 p1 M. e& @1 V
  1049. [ODBC]
    % [4 ]: q+ r. W) Z0 M7 A
  1050. ; http://php.net/odbc.default-db, H) o/ e: \% N! U4 X! j/ u8 R7 S
  1051. ;odbc.default_db    =  Not yet implemented
    1 {% l# s9 L7 l/ K2 Y% d
  1052. ( B. \0 L4 V# a$ @# `; ?
  1053. ; http://php.net/odbc.default-user/ O: A7 J: ~% {9 k# p, w1 a
  1054. ;odbc.default_user  =  Not yet implemented: t2 a) {( a+ ]- G

  1055. 2 L5 o" e1 a2 p) v
  1056. ; http://php.net/odbc.default-pw) W4 m8 p) G7 p1 y" m% Y) Y( |( B
  1057. ;odbc.default_pw    =  Not yet implemented9 N/ E% [: P$ ~2 W/ @7 }$ Q1 e
  1058. ! G2 l0 L" f; _* [2 t1 @7 V# ~  _% l
  1059. ; Controls the ODBC cursor model.7 @0 f" S. J3 P9 g! z7 z
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ K& t8 N/ ^2 c) n
  1061. ;odbc.default_cursortype
    . @7 _/ w, W6 h

  1062. " E0 \+ j2 z  h7 \/ G$ c
  1063. ; Allow or prevent persistent links.
    + X$ D* C/ B+ E4 V
  1064. ; http://php.net/odbc.allow-persistent* Q, R# K% c: a% m
  1065. odbc.allow_persistent = On/ r8 ~6 |! \4 u' Y  N' p

  1066. $ g# Y# Y5 E8 t( e, Z& C! P
  1067. ; Check that a connection is still valid before reuse.
    ! g- s) ~* I# {1 z! A9 I# g, ^
  1068. ; http://php.net/odbc.check-persistent
    , ~$ o" T: c; ^# [
  1069. odbc.check_persistent = On
    5 H+ }/ n! i; s
  1070. - l# F$ n& ?: t' `# B$ B9 P+ I+ b
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * S* c$ ~3 F9 l0 ^( ^& g+ c
  1072. ; http://php.net/odbc.max-persistent8 A' j- s! T/ [& \- ]2 H
  1073. odbc.max_persistent = -11 m( r2 O  {0 \$ U& E

  1074. 0 u! A9 B1 M& x' y1 `8 d$ {9 D+ Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  d1 v1 a' ^! t1 X, u: b
  1076. ; http://php.net/odbc.max-links
    ! W, l" P: ~9 l% R6 n. \
  1077. odbc.max_links = -1
    3 M; q5 P/ N) k8 f

  1078. - T) X( `, }' |1 J+ Q! \. z& C
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    4 K2 y* k( G9 b, A% W  z5 _
  1080. ; passthru.( x! S8 c( ?# }/ }0 |" E, e
  1081. ; http://php.net/odbc.defaultlrl/ Z1 x. ?! H8 W1 k' c8 X+ C. `
  1082. odbc.defaultlrl = 4096! N+ C1 W; @/ G" m0 J8 v. Y8 d% J2 H
  1083. 6 p$ M$ S/ J8 T9 \  J: h
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char./ Y2 F, }; o4 v4 n8 _
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) @* |2 t4 Q) f% F  s
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 S  }- q/ x: }7 V* k9 l
  1087. ; http://php.net/odbc.defaultbinmode
    5 D4 Q% ]) e* z! ^% u& f& i& d
  1088. odbc.defaultbinmode = 17 z$ T& k5 b6 Z3 v0 @% _" z0 {' }
  1089. + Z# N+ k$ z9 B" a
  1090. ;birdstep.max_links = -1* p  `% D# C/ b# u: A

  1091. 4 V/ z+ k  f* F  c" u- I
  1092. [Interbase]
    $ Y5 C, J7 X- P9 J) u
  1093. ; Allow or prevent persistent links.4 c4 z% X8 ?/ R
  1094. ibase.allow_persistent = 1, o5 Q5 F. f) w) t; e* h
  1095. " X) R- n  y. i( E
  1096. ; Maximum number of persistent links.  -1 means no limit.* X" Z& @$ A: y$ H2 D
  1097. ibase.max_persistent = -12 i2 O% H1 @! F/ K

  1098. 4 O, k5 T' D# C" v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 ]+ W8 h, R# x! m) s% `7 L. n' g
  1100. ibase.max_links = -1
    ; S2 B! \8 ~7 |* n8 k

  1101. ! I9 H; ], j! J* q: L
  1102. ; Default database name for ibase_connect().
    / H2 \& [! [0 {- Q* p
  1103. ;ibase.default_db =1 N8 R: k4 P% Z8 O* R3 v
  1104. $ ~" I. l' j: J
  1105. ; Default username for ibase_connect().
    3 @9 D$ I5 s, {0 g% D1 `( p
  1106. ;ibase.default_user =- ~) S/ v) a' [. C5 d7 Y4 b
  1107. ; m+ [- A8 `* ^- p& S6 T
  1108. ; Default password for ibase_connect().9 u& u1 ~" a; @
  1109. ;ibase.default_password =6 N% }3 @* R. ^; |$ L# Y. V

  1110. # a6 r7 H2 z) G! w5 X) U4 M
  1111. ; Default charset for ibase_connect().
    ! Y1 ?& A: S9 T9 c; ?& B1 l# R, r
  1112. ;ibase.default_charset =
    4 \- z6 V5 d$ R8 _* ^0 J
  1113. 8 G0 w% \. J- i3 _9 k8 e
  1114. ; Default timestamp format.2 o* X. R: ]) E, ?) `- J6 F
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    8 f6 J  H2 U4 O5 S& _' _; e# r. a0 C3 n

  1116. # J; O9 G: x/ I8 g& h' k
  1117. ; Default date format.
    ( i! E% u9 S' `* i2 f$ g& P! o
  1118. ibase.dateformat = "%Y-%m-%d"
    % f  Q0 m& w6 e. {

  1119. 0 O9 f& c5 G5 I8 U5 |' P) e& z
  1120. ; Default time format." g9 t; f5 o% R
  1121. ibase.timeformat = "%H:%M:%S"9 M$ y  a6 V% W- _
  1122. 7 R4 D* O+ M8 n) w
  1123. [MySQLi]/ [6 \  P5 \6 Z, p

  1124. 1 y3 ~) u4 Y1 Q$ Z' t/ [
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) b! c% [: Z! M4 B5 u
  1126. ; http://php.net/mysqli.max-persistent
    ! t) f' Y2 ~; J# Y  a4 l
  1127. mysqli.max_persistent = -1
    : z9 m( A4 ~: l- t; K! Q
  1128. ; D, i0 n1 P4 H! s* R7 {
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 G! e8 g7 ^" e' S6 v8 J
  1130. ; http://php.net/mysqli.allow_local_infile
    6 n/ m: |% s, p* h- B7 i) [0 g
  1131. ;mysqli.allow_local_infile = On. ~" |. O& Z) S! F
  1132. # `8 x# {, \) u$ u5 q/ m' [; M
  1133. ; Allow or prevent persistent links.
    $ T: g" J9 c2 R# a; W+ k9 m% a
  1134. ; http://php.net/mysqli.allow-persistent9 T, j8 ?7 j! q
  1135. mysqli.allow_persistent = On; N6 i7 i; }9 L9 W5 `5 S1 K

  1136. 3 L0 i; M- s% p4 M, Q! V, B
  1137. ; Maximum number of links.  -1 means no limit.
    0 a2 \% c/ k  J) A' H
  1138. ; http://php.net/mysqli.max-links5 N3 T1 F4 \6 |% G+ }, Y- r. `6 e( p
  1139. mysqli.max_links = -18 m1 {6 d2 K* j4 M" I7 o9 V9 m  J
  1140. 7 J/ f: I/ t* B& @% k) L' [
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & r' u/ h2 \7 F" @" a
  1142. ; http://php.net/mysqli.cache_size
    ; e0 ]+ z* ]0 G2 p
  1143. mysqli.cache_size = 2000
    , e9 x  ^+ j" n" G  M  s
  1144. 3 N# y: D% j2 j2 {# K$ d6 D! @8 @
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    0 S* e, |7 \7 U# i4 m
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % e; `0 N% d" u3 y; ?' u: T) c
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  N6 {9 A' K* l8 T/ L7 R  Q
  1148. ; at MYSQL_PORT.4 U3 C" N4 |; c
  1149. ; http://php.net/mysqli.default-port
    ' [+ \3 X. v: I' t: Y
  1150. mysqli.default_port = 33064 j* }( ~1 F6 g: }$ [! \6 x
  1151. 3 u8 }( J( b% {( t0 f
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 Y. W) \8 i1 S' R2 o" G9 t
  1153. ; MySQL defaults.+ W) M; U; |3 E
  1154. ; http://php.net/mysqli.default-socket# W4 ~7 G* a  ^' a
  1155. mysqli.default_socket =1 R: I* g7 U4 H  e
  1156. ) |! ^, u4 D$ u
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! G+ N& ~. x8 u$ Q
  1158. ; http://php.net/mysqli.default-host" I8 G# |! h: J. i, g+ x
  1159. mysqli.default_host =
    8 D4 I' n# O0 x1 {' V% a5 F

  1160. 5 J4 C' _& u# S4 h
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 V& g  a" t3 }# \
  1162. ; http://php.net/mysqli.default-user
    : ?1 c; }; A1 R, q1 f; u
  1163. mysqli.default_user =- E0 p* Q0 L. B

  1164. 1 b& q% [! _- I
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    , ?. N' r% t1 o) F& a! [
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 j. z  u% ^6 g- i& X: T' o  |
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( @+ ^4 C1 p8 L3 u
  1168. ; and reveal this password!  And of course, any users with read access to this" F2 P9 c4 l. K8 |, B4 \* U; P" f
  1169. ; file will be able to reveal the password as well.
    $ N  h8 P/ P& P( A
  1170. ; http://php.net/mysqli.default-pw
    ' S5 E+ O: g) N# r% s
  1171. mysqli.default_pw =5 P/ t5 |% F) w' g

  1172. 7 a2 Q2 w/ K  X) C% I, Q5 ~! o
  1173. ; Allow or prevent reconnect
    % |( p, r7 Y$ E% r
  1174. mysqli.reconnect = Off
    ; b9 u: K. j  i1 S9 h$ S

  1175. $ J* y2 c; X7 N: g
  1176. [mysqlnd]
    % V9 f% s0 f' r
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 l) L1 v2 k+ T1 U/ X
  1178. ; used to tune and monitor MySQL operations.
    0 A& f2 @$ O( X) w' ]1 W
  1179. ; http://php.net/mysqlnd.collect_statistics
    1 X! z, i$ s$ m2 k8 j) M2 Z
  1180. mysqlnd.collect_statistics = On: h4 E, v$ q* t0 V3 a! W2 \

  1181. . a$ u8 |: B# l8 S
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' O; R! _2 f* ]6 w
  1183. ; used to tune and monitor MySQL operations.
    & F) w* O- L6 B  s4 V  ]
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    6 U+ Z6 N$ d8 r; I3 N
  1185. mysqlnd.collect_memory_statistics = Off- O; o+ a/ Q3 u3 f) u1 _; h' u' x
  1186. ! Q( n6 c- G  }- Y1 E
  1187. ; Records communication from all extensions using mysqlnd to the specified log  f( e0 O6 U6 ?& E
  1188. ; file.7 b# B3 w! G/ j( ^
  1189. ; http://php.net/mysqlnd.debug
    . T" C, I2 `4 O, g3 k  |
  1190. ;mysqlnd.debug =1 J4 B4 U2 n- ~6 ]/ Z7 P% l8 i- Q

  1191. 6 x/ z6 F0 ~1 U2 J2 }
  1192. ; Defines which queries will be logged.
    ' w. @4 t7 \, G: |7 I. T1 {
  1193. ; http://php.net/mysqlnd.log_mask* ?' A  R( K- h+ f; \' x! v# O
  1194. ;mysqlnd.log_mask = 0% F1 x* @7 I7 }! P7 j
  1195. 5 s1 g, n: s' _$ ?1 x6 t
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.4 h) w* u. q$ g- C7 p- `6 r& x0 y
  1197. ; http://php.net/mysqlnd.mempool_default_size
    . T2 g! h6 }0 {' ?; U
  1198. ;mysqlnd.mempool_default_size = 16000$ ?4 R. b. L) I. i

  1199. ! `; J) L8 ?1 K% z$ k: E
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.5 O' T1 v: V! }/ s0 B
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! u3 u  V# x, [+ z  i, M; ^
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    + K* A! S* b$ T0 v7 Q/ U) p
  1203. 9 [; _  y; J  H; I& I0 _, \& w. \
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in0 Q0 O' q3 y  W; n* P( y: h- c
  1205. ; bytes.; A, ?* A8 o1 J6 W3 v& d+ j
  1206. ; http://php.net/mysqlnd.net_read_buffer_size1 l5 I+ y: a% y' @; P* S6 o$ O
  1207. ;mysqlnd.net_read_buffer_size = 327681 W8 R% C3 Y0 [* D4 K$ }- T0 e

  1208. 6 ~, p" g- k' m2 J
  1209. ; Timeout for network requests in seconds.
    * ~. @- ~" M2 G
  1210. ; http://php.net/mysqlnd.net_read_timeout) z/ y; H( N+ G: s4 y3 g" e1 ~  m
  1211. ;mysqlnd.net_read_timeout = 31536000
    - ?- l7 G& ?* D" T- O( s# m/ Q. b
  1212. ; w$ |" b3 q% Y3 F, V: a) A* F! u
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      F+ _* e" A2 O6 n0 X
  1214. ; key.
    ' t1 q/ [% c: c3 {8 `5 ]8 n, B; B. v! J
  1215. ; http://php.net/mysqlnd.sha256_server_public_key5 v3 j) n/ l! r' e/ g
  1216. ;mysqlnd.sha256_server_public_key =; R5 j: X& w1 t5 {0 ~$ s, e

  1217. 3 \3 |& l; Z# r0 _. Q6 e$ M
  1218. [OCI8]
    : F9 X, Q3 f" A  V1 \/ l3 F+ g
  1219.   u  n2 r0 W2 e6 g8 }  D, l3 K
  1220. ; Connection: Enables privileged connections using external
    % ~; }4 @+ c! v( l9 K3 q" B
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; b' a6 L# O4 K9 h, i, l
  1222. ; http://php.net/oci8.privileged-connect
    + X! u+ m* g; H: G! w
  1223. ;oci8.privileged_connect = Off" N6 k9 C5 I1 d% N8 q9 F- C

  1224. % ^  u- o. k$ C/ `7 a  G7 g
  1225. ; Connection: The maximum number of persistent OCI8 connections per- c6 ?8 l- q3 C! B7 V. \% r
  1226. ; process. Using -1 means no limit.
    * k8 P5 J; H7 P* w) D( y" U
  1227. ; http://php.net/oci8.max-persistent
    8 S4 ]  H6 w3 a( T# `! @( l2 b
  1228. ;oci8.max_persistent = -12 l) z- K2 a3 L7 V* k) x

  1229. * K( ~! [$ T, l- ]' x+ D9 |
  1230. ; Connection: The maximum number of seconds a process is allowed to
    , g: l3 T% o& p  B" [# E6 L, L
  1231. ; maintain an idle persistent connection. Using -1 means idle
    % b- \  V% i3 {9 d+ y
  1232. ; persistent connections will be maintained forever.& K) j8 ~* Y$ o& f# I
  1233. ; http://php.net/oci8.persistent-timeout2 M* o! x( k7 A
  1234. ;oci8.persistent_timeout = -1
    9 G6 K3 y/ t6 R! q0 f

  1235. 5 |1 E" E) g: r9 y
  1236. ; Connection: The number of seconds that must pass before issuing a0 O2 ^* I1 g. s# k2 B
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) P' K/ {0 ?3 b& f, c4 d
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    2 U  ?+ ^; ]4 G
  1239. ; pings completely.+ k+ C- ?+ j2 a" a! b
  1240. ; http://php.net/oci8.ping-interval
    / w) G/ z( l" T4 o7 L
  1241. ;oci8.ping_interval = 60. l7 l6 X9 h" T  b( ~# L, H/ f

  1242. 1 ]1 J; {2 M7 r: I/ j( L  ^
  1243. ; Connection: Set this to a user chosen connection class to be used' j& f% Z- G; u/ P) {# z: u: B
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    8 e1 }! C9 ^( D* U; N3 I
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" |  O2 p6 l. ]% l0 @( g. Q' L
  1246. ; the same string for all web servers running the same application,! z: w8 M1 i8 D
  1247. ; the database pool must be configured, and the connection string must2 n2 }/ g5 z- g/ B. H
  1248. ; specify to use a pooled server.
    1 N. j6 E) P2 U; g3 F
  1249. ;oci8.connection_class =5 x4 k  M" l0 b1 C7 N
  1250. ' S! j6 x. p. r) y* T) Q$ S
  1251. ; High Availability: Using On lets PHP receive Fast Application2 O3 |: {* }: F
  1252. ; Notification (FAN) events generated when a database node fails. The
    & f' o, g6 s3 C& s& m, U! w) |  s+ e
  1253. ; database must also be configured to post FAN events.8 e# R$ l4 y. w* p
  1254. ;oci8.events = Off
    ) w, M' Q' Y/ }

  1255. ; Y0 _, C( W. N/ f* Q: k3 i" K9 \5 V
  1256. ; Tuning: This option enables statement caching, and specifies how, ?  f$ \% k/ |3 O5 [
  1257. ; many statements to cache. Using 0 disables statement caching.
    $ Y& r5 ?" S/ w4 d2 V% B
  1258. ; http://php.net/oci8.statement-cache-size( }& T4 g9 I; b  Z% f$ x
  1259. ;oci8.statement_cache_size = 20$ P6 [$ k! C% \! P% U
  1260. * r  B5 Q) X1 G; P5 ~& j
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 q4 f# m% H' A. W  V, v
  1262. ; rows that will be fetched automatically after statement execution.
    + ^/ L( U) w3 @: [. o+ L
  1263. ; http://php.net/oci8.default-prefetch
    % I4 h! B: ]" |2 \2 N
  1264. ;oci8.default_prefetch = 100
    ) a$ j0 B, C/ r) F3 N) B

  1265. . R1 {1 \0 g" o0 |. F
  1266. ; Compatibility. Using On means oci_close() will not close6 @& h4 N) A' w' ^0 j
  1267. ; oci_connect() and oci_new_connect() connections.- [; [+ j, c: _& h/ S
  1268. ; http://php.net/oci8.old-oci-close-semantics
    . [, f6 \* j& D# W" |% f( ?
  1269. ;oci8.old_oci_close_semantics = Off! k, M1 C* I$ a
  1270. * _$ H: z" w- M2 a. j
  1271. [PostgreSQL]
    3 G. t) D$ i8 {+ Z- d
  1272. ; Allow or prevent persistent links.
    3 D3 y" g% a  }/ q
  1273. ; http://php.net/pgsql.allow-persistent
    : V: m' G: w8 {7 e7 ~6 a, Y
  1274. pgsql.allow_persistent = On9 z+ Q) e, A  S6 Q/ h, w) J' K
  1275. 9 B$ v$ D  t" e9 o7 @* o
  1276. ; Detect broken persistent links always with pg_pconnect().
    " z# ?% R# s- P+ t4 d1 Y
  1277. ; Auto reset feature requires a little overheads.
    # w7 v' r) x% f5 U
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ' a3 ?7 l3 H! q8 A  R: r: c
  1279. pgsql.auto_reset_persistent = Off3 K6 e/ Z' Y/ j, @6 f$ X5 E9 n; _$ S
  1280. % G. o( B* g" {2 Y) o$ b
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ! w! I5 r# P' ^& b  |7 Q
  1282. ; http://php.net/pgsql.max-persistent% x9 s& k4 E5 {
  1283. pgsql.max_persistent = -1
    ) s+ p; v) `# G( I1 W$ \
  1284. 3 ~& r7 ^' \0 \5 h) p( u
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % I" {! Y+ E- P- z6 o$ U: Q
  1286. ; http://php.net/pgsql.max-links
    3 Y% H7 K0 y; Q: o% H( H* h
  1287. pgsql.max_links = -1
    ; D. _' C/ n* ]

  1288. 7 \/ A) D1 d1 k' G- x& N# V$ J
  1289. ; Ignore PostgreSQL backends Notice message or not.
    / l7 t! e- x9 ?, G
  1290. ; Notice message logging require a little overheads.
    % |1 U. L8 A2 M4 G( _" x6 f* Q
  1291. ; http://php.net/pgsql.ignore-notice
    2 g9 `0 p3 ~) s. p7 q4 ?4 H& s
  1292. pgsql.ignore_notice = 0: {% ]& @" v6 b9 K7 E) z
  1293. * j, q! w; B( k$ R8 Z9 M
  1294. ; Log PostgreSQL backends Notice message or not.3 h( y, h1 o+ S2 P5 M. A
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    : ~! g! F/ M: b' j+ E& {0 ?
  1296. ; http://php.net/pgsql.log-notice/ F9 T' o1 p& c* A% b& n
  1297. pgsql.log_notice = 0
    & k3 y% L) b; _: h; ^! o

  1298. ( ]) {, P& z% ~( r* y2 W
  1299. [bcmath]4 Y( b# c2 B, _4 Y
  1300. ; Number of decimal digits for all bcmath functions.9 d; _: Q8 B% Z8 F! R# {1 Q/ c
  1301. ; http://php.net/bcmath.scale
    # z0 T7 v; `) M  H8 P1 s* ?
  1302. bcmath.scale = 0
    " z. P4 Z. w- ~- q
  1303. : ^6 }4 N2 t) ?
  1304. [browscap]
    & g( E! ?& F7 I+ Q
  1305. ; http://php.net/browscap
    2 j' h4 b% N3 j7 D
  1306. ;browscap = extra/browscap.ini' {- F4 ]8 ]! }. |$ `" _$ E) {

  1307. , O' m7 X/ i9 h: l7 W
  1308. [Session], ]0 r: n% L- R
  1309. ; Handler used to store/retrieve data.
    0 k) P: M% s* J+ X" Y
  1310. ; http://php.net/session.save-handler
    * M: r1 e( t6 Q4 T+ o* ^; G
  1311. session.save_handler = files. W2 j, J; d  M: W+ p, h
  1312. / f' a9 Z7 ]* h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    # [- j/ {0 a) z+ }2 {
  1314. ; where data files are stored. Note: Windows users have to change this
    ' r$ S8 b: U* E8 e5 Q
  1315. ; variable in order to use PHP's session functions.
    " X9 F: [2 e5 T! r
  1316. ;2 C1 V# U6 W, `6 j$ V
  1317. ; The path can be defined as:
    , N8 \2 Z5 k% Q& T: e
  1318. ;
    8 x3 m$ g' L8 w# H# A; W' B4 T
  1319. ;     session.save_path = "N;/path"
    4 _4 A* j9 O0 s! ?& v( ]
  1320. ;$ h8 s+ c- d8 C) F5 \& T0 w
  1321. ; where N is an integer.  Instead of storing all the session files in
    / p3 f) _3 v. m) C; V" H& S% ?
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    7 s! ^- N( v8 ^: T! ~
  1323. ; store the session data in those directories.  This is useful if+ g2 _4 ?& G$ L9 t
  1324. ; your OS has problems with many files in one directory, and is
    5 I9 N/ M. W& p" r  g
  1325. ; a more efficient layout for servers that handle many sessions.9 r# i; k0 X) W8 q" u% Y
  1326. ;6 ]5 Z- l9 n6 i( s& K
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    : R+ o$ Y5 O# ~
  1328. ;         You can use the script in the ext/session dir for that purpose.8 R3 y1 F$ f2 S. V& N1 f# e" f
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
      h8 X( q. _2 Q  L9 `  H/ S4 u
  1330. ;         use subdirectories for session storage
    ! o3 N# h6 N# g
  1331. ;+ j' K1 x! M5 p) u" z% A8 w
  1332. ; The file storage module creates files using mode 600 by default.
    * q- P# Q6 z# X* f. R) M: w6 p9 w4 U
  1333. ; You can change that by using
      u: H7 h+ `1 L6 x) Z9 h3 G: ?
  1334. ;2 a9 U* q' B( ?" ?
  1335. ;     session.save_path = "N;MODE;/path"+ `  \7 `& S# Z. }4 }" _
  1336. ;
    * c4 E/ _# q5 \
  1337. ; where MODE is the octal representation of the mode. Note that this0 x" l$ c: n& O) ~7 [- W- [
  1338. ; does not overwrite the process's umask.1 ^0 S  n0 I9 ~7 A8 r2 P+ i
  1339. ; http://php.net/session.save-path
    ; g: h* a$ ?$ N8 u
  1340. ;session.save_path = "/tmp"' s, x% k8 a! Z4 p! g
  1341. ; e1 I/ J( m0 o7 ]5 |
  1342. ; Whether to use strict session mode." G9 t( M) A* n
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate/ _% Z% c: [1 a$ K; Q0 j
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    : i; t5 z1 P+ r9 p4 E
  1345. ; applications from session fixation via session adoption vulnerability. It is
    4 ~6 S- Q5 b2 F1 H$ [) w5 W$ z' O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; P0 C+ r8 P2 q" K1 B- i7 f
  1347. ; https://wiki.php.net/rfc/strict_sessions
    . q6 x- v2 \2 U6 f/ Q
  1348. session.use_strict_mode = 0
    ' n# i8 U! n" Y7 A6 @6 B2 N
  1349. 1 v* Z7 d9 G" v" ?4 F: k
  1350. ; Whether to use cookies.
    ) h  @& A6 ]" I, a% \
  1351. ; http://php.net/session.use-cookies
    7 d% Q* C# T; G1 p
  1352. session.use_cookies = 10 C( q0 ?0 V( X1 H! b" h

  1353. - F8 O) m; J! G* U: G
  1354. ; http://php.net/session.cookie-secure
    & L, A9 O# _9 S0 ^
  1355. ;session.cookie_secure =
      f/ {% t, k4 n
  1356. # ~3 n  u: |+ e3 f
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & d8 ~- e1 P/ }
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 ~$ }% `+ s4 c! P* ?% v$ z9 z
  1359. ; session hijacking when not specifying and managing your own session id. It is8 k: X6 [" f- x: y3 i
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      I9 P7 }' c( I8 e% b. K9 j
  1361. ; http://php.net/session.use-only-cookies# x% A* |! f, G1 Q
  1362. session.use_only_cookies = 1& f; p) ?# P: f! Y% O
  1363. 2 n% B3 N2 D- @& |) Y% o/ p
  1364. ; Name of the session (used as cookie name).; D# P* D4 S' p. X# a
  1365. ; http://php.net/session.name2 q/ [) z; h. K, a4 m9 `
  1366. session.name = PHPSESSID
    + U, k7 \' a) g- L
  1367. * ]7 Y* _7 g9 h9 U
  1368. ; Initialize session on request startup.6 z0 d6 W: r. N2 M2 z9 e
  1369. ; http://php.net/session.auto-start# @, [% R/ h/ p5 D0 r# k
  1370. session.auto_start = 0
    ) r/ [2 c- K4 ^9 Y" O# k' H' N

  1371. ; b( D9 O1 X0 ^3 q! d$ J) Z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  r: ~7 [; ]2 C! w- _% h
  1373. ; http://php.net/session.cookie-lifetime$ C3 L' A! y9 e7 I+ \
  1374. session.cookie_lifetime = 0
    7 C9 h) w7 y; U, D- ^9 B

  1375. - g8 l  |* k" w7 |# D7 E4 F
  1376. ; The path for which the cookie is valid.
    4 A7 R# J  S) T
  1377. ; http://php.net/session.cookie-path
    + F" p! O  Z: N. e
  1378. session.cookie_path = /  t6 B( a) G. p/ C* E
  1379. 4 ]( Z7 V( Q# n' x
  1380. ; The domain for which the cookie is valid.) y. z* q+ w! G) c' _, v' s
  1381. ; http://php.net/session.cookie-domain
    " p/ H8 N9 i6 E# S3 d* y" k! E
  1382. session.cookie_domain =+ |5 }" V; g) V% j
  1383. 6 e5 K8 [; e6 f7 `  M% l& E" r
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& D! L( K' P& K, G- q- @
  1385. ; http://php.net/session.cookie-httponly) D% @( ^* l  Q9 l* G* C/ {
  1386. session.cookie_httponly =
    $ d, j0 d" [3 o% S

  1387. - W4 ~) K  K  A9 r. w( V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.! M8 w0 ^" B6 F
  1389. ; http://php.net/session.serialize-handler
    ' i# B* m. |, J' X! K) b; I' u
  1390. session.serialize_handler = php
    . o. `8 l5 e. M" l2 R: v1 ^$ `
  1391. $ l9 c; Z% Q$ ^) r+ [- c* B
  1392. ; Defines the probability that the 'garbage collection' process is started' h. ^! d& `3 p* z# w$ p
  1393. ; on every session initialization. The probability is calculated by using- Y% F& q. S: g7 v% j+ U
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
      l6 o4 d8 R2 m
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 10 w# N9 B4 C9 i5 W, }' C+ e: Z4 ~) @1 J
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 Q8 n/ T1 Y$ C& H, g& o
  1397. ; the gc will run on any give request.0 c( x9 a' f! N7 T% u6 @$ _
  1398. ; Default Value: 1& h6 ~2 |0 s. |
  1399. ; Development Value: 1/ f3 ]- a; c7 u9 \/ p' H# b# `
  1400. ; Production Value: 1
    ) V: Z6 U5 Q! t6 q9 {
  1401. ; http://php.net/session.gc-probability& Y; Q3 j+ h! G' _, I$ o2 E
  1402. session.gc_probability = 1
    1 K# S% p' W) Z% X3 {1 d

  1403. 2 L- A( L% _. B# |
  1404. ; Defines the probability that the 'garbage collection' process is started on every7 M, q7 I) X+ M: p) V# |0 M" J8 E( I
  1405. ; session initialization. The probability is calculated by using the following equation:+ T0 }1 W8 m! ^6 A2 r" a
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    & Q, _3 L6 H1 M
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1/ p. ~8 {1 z5 y4 Z( N. {5 V
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: M) i$ K: |  E; D& |( C8 i
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you+ p( w) t% ]- k. S( m" w' e
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,: x. ^' L6 j# g1 l- ]6 u
  1411. ; this is a more efficient approach.1 S' k& {$ {; }9 j" I% c
  1412. ; Default Value: 100
    & R( u7 B- }$ ^2 ?5 Q
  1413. ; Development Value: 1000) w. T; {& p5 Z0 E9 F# v
  1414. ; Production Value: 10008 R, c! Z' t! d% e0 l. ?% q
  1415. ; http://php.net/session.gc-divisor# z: c% N7 a2 ?3 R! s& J( M! i
  1416. session.gc_divisor = 1000, w! J! O! ~; o. ?

  1417. 9 T9 X3 S; P1 i) \# ~7 D
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # z. O1 f  Y# V' @; C$ N" Q
  1419. ; cleaned up by the garbage collection process.1 u4 @+ H9 }  L5 S- @
  1420. ; http://php.net/session.gc-maxlifetime' j8 R) h" W- Q1 ?- l6 i
  1421. session.gc_maxlifetime = 1440
    % |8 E* F4 c) j$ M9 O4 U2 {. C! _

  1422. 3 Y) t, V5 G, L  v! r
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    4 r/ L& X4 w$ j0 K0 E
  1424. ;       (see session.save_path above), then garbage collection does *not*) T& s+ S& x$ @1 k
  1425. ;       happen automatically.  You will need to do your own garbage0 P+ z8 J  C$ F2 ^/ R
  1426. ;       collection through a shell script, cron entry, or some other method.- ]; z+ g0 ]: g- ^( e
  1427. ;       For example, the following script would is the equivalent of
    ' U8 S& E2 c+ \$ }8 D/ F1 ?
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    6 F9 D, W( Z  d% d# ]1 E
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 b6 R8 Y4 G+ a3 j) t( P
  1430. - c6 B9 G, p: c, g
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 Q: Y2 g% x1 q
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " i, P/ C2 s7 [4 h- w. s4 ^5 ~
  1433. ; considered as valid.
    ; ?, h* y! x, N+ `3 t5 T, P5 G
  1434. ; http://php.net/session.referer-check2 @, A' a0 X- H# \
  1435. session.referer_check =
      k' M2 p- x8 J* `

  1436. 8 l4 j$ R! h: Q) M5 D5 X. f
  1437. ; How many bytes to read from the file.
    * ?( |+ p3 l: {/ H/ \
  1438. ; http://php.net/session.entropy-length2 y9 v2 \! O4 r" s7 k/ f$ @; g
  1439. ;session.entropy_length = 32
    # w" o9 b+ R3 _& X6 M4 c
  1440. * x+ h5 C$ u9 T% B0 C
  1441. ; Specified here to create the session id.8 Z- O% ~# S7 @% G
  1442. ; http://php.net/session.entropy-file1 I) Q: q) U7 w7 r8 j* ^
  1443. ; Defaults to /dev/urandom
    8 E8 L0 X" c! `3 e5 Y* ^
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " H3 b. J' u! m5 |3 _
  1445. ; If neither are found at compile time, the default is no entropy file.
    5 G% a* ?0 Y; p- v5 s, b; ~
  1446. ; On windows, setting the entropy_length setting will activate the5 N2 w& K8 i  Q$ T- H% W
  1447. ; Windows random source (using the CryptoAPI)5 C+ C; R: d0 F1 o/ c. |
  1448. ;session.entropy_file = /dev/urandom- f# H9 p' p& E: v" d1 S& `
  1449. % e+ E/ p* o0 _( v5 f
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 G, y8 ?1 A' i& H7 S
  1451. ; or leave this empty to avoid sending anti-caching headers.( p# U# b5 S# p% ]1 H4 ~! R* b/ d
  1452. ; http://php.net/session.cache-limiter7 s# O+ |2 g0 q/ l
  1453. session.cache_limiter = nocache) E( N1 u+ q* C- N. \+ p& Z' U& T: }

  1454. * p  c; N: ]8 |/ I* f
  1455. ; Document expires after n minutes.1 N4 u1 V( {1 \9 M
  1456. ; http://php.net/session.cache-expire% x+ {' c, m2 B% D3 o( n. i3 S/ {
  1457. session.cache_expire = 180
    8 d6 B% `; ?# ]0 B7 L$ w

  1458. ; `7 v- c7 h5 r
  1459. ; trans sid support is disabled by default.
    : r! K0 K: c: N0 ]% O
  1460. ; Use of trans sid may risk your users' security.) x8 s  o9 B$ _' c4 ?
  1461. ; Use this option with caution.
      x0 h$ {- G. t: J1 O
  1462. ; - User may send URL contains active session ID
    - `3 K  }- p  U8 H
  1463. ;   to other person via. email/irc/etc.0 b) H( c( q1 U1 d
  1464. ; - URL that contains active session ID may be stored; D5 S4 s; a+ z: z1 P
  1465. ;   in publicly accessible computer.6 m+ ~: x/ z* I# F
  1466. ; - User may access your site with the same session ID. A1 s1 V  r* p2 P
  1467. ;   always using URL stored in browser's history or bookmarks.3 N& n" G  s4 v2 Y& G# i
  1468. ; http://php.net/session.use-trans-sid' D( L6 }9 D1 L0 p  P6 d- v( Z9 a
  1469. session.use_trans_sid = 0
    ; R3 ^2 O# U& {; O# I
  1470. 7 l7 |$ }  e7 K; a- P3 }: C
  1471. ; Select a hash function for use in generating session ids.: L( M: v- |5 m% r/ M+ p- @6 K2 W
  1472. ; Possible Values
    5 l/ U6 T+ E% R" o& {
  1473. ;   0  (MD5 128 bits)) x4 M' [: K+ {. R$ P5 ^% g  ~  }
  1474. ;   1  (SHA-1 160 bits)
    / L& O2 m5 ^  m5 z0 I
  1475. ; This option may also be set to the name of any hash function supported by
    9 a& G+ b+ U" f% a' N+ F  A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ( s+ ~" \8 f% k3 Q6 m  [  f3 G9 n7 m
  1477. ; function.9 @! ?3 Y  }4 H# ~- y- y
  1478. ; http://php.net/session.hash-function. x1 A) ~+ b% F0 [
  1479. session.hash_function = 0$ A& h5 O0 g$ ^+ N" \9 ~
  1480. 1 Q8 m) e- H5 g: I, d
  1481. ; Define how many bits are stored in each character when converting, ^2 {1 \/ H8 T+ [  V
  1482. ; the binary hash data to something readable.
    ; x# ?$ p! z6 y% G( _" Q. |
  1483. ; Possible values:
    + c0 I! V! U/ L4 V1 O/ T% @. m
  1484. ;   4  (4 bits: 0-9, a-f)
      i7 u6 v2 ~. z  V+ I
  1485. ;   5  (5 bits: 0-9, a-v)* f- x! a, r. L$ v# v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 W* ^' p5 B- x: [
  1487. ; Default Value: 4
    , z2 Q: y) B" Y
  1488. ; Development Value: 5" u) }4 E3 Q5 ], S& R( x
  1489. ; Production Value: 5
    ( w" x; j; o3 R; z; X7 d9 K1 z: ~: R' _
  1490. ; http://php.net/session.hash-bits-per-character5 N9 b$ I% S. P8 w" T& u: e
  1491. session.hash_bits_per_character = 5
    # E! L3 ^$ A$ D
  1492. 0 @1 o# N# Y. _
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.. b* R- i* ?  W
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    1 y0 v( T" ]' o/ _) V/ e2 H  D9 ^
  1495. ; add a hidden <input> field with the info which is otherwise appended  h  x0 F: e1 l" u4 r% a
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 y; D* @" Z, N" ?
  1497. ; Note that all valid entries require a "=", even if no value follows.! \9 N1 S! q6 t7 \! Z3 s
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * ~+ i6 k. M8 v9 h
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 R" X: g% \  N1 E9 x( }$ K
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% j# y6 L$ b! p* J" S
  1501. ; http://php.net/url-rewriter.tags/ h0 ~0 i+ H2 {
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"4 ~4 }% {1 z* w  T
  1503. - }9 G( [7 G' e/ g: E0 l4 H/ M1 N
  1504. ; Enable upload progress tracking in $_SESSION
    , {& G* ]! f- b! L8 |3 `6 G6 S
  1505. ; Default Value: On. N  a. t0 l5 M- o  M: a
  1506. ; Development Value: On, y# B/ C" f! B
  1507. ; Production Value: On
    ( e! d* g7 `( O+ u5 n7 }2 |
  1508. ; http://php.net/session.upload-progress.enabled' k( v% c7 O8 j! \# Q' s
  1509. ;session.upload_progress.enabled = On
    ' H4 \/ N8 T4 ~, @) C! ^" k
  1510. - n* l; H% e* I- t- W
  1511. ; Cleanup the progress information as soon as all POST data has been read8 [' e& S; _9 g4 g
  1512. ; (i.e. upload completed).
    5 O: r; T! i; Z: G  Q8 z
  1513. ; Default Value: On' v8 y! z* z- c! C4 O( ~/ \
  1514. ; Development Value: On9 z0 N" x5 {1 c) f7 |4 m1 V
  1515. ; Production Value: On
    ' i- m9 X' v6 G
  1516. ; http://php.net/session.upload-progress.cleanup4 h- S& v* V$ H$ A
  1517. ;session.upload_progress.cleanup = On
    % o! T) k1 M4 A9 A9 o
  1518. & t# Y7 x0 X0 c7 ~. p/ {1 [
  1519. ; A prefix used for the upload progress key in $_SESSION7 {4 L' X8 m% v  X: j3 u5 v
  1520. ; Default Value: "upload_progress_"% Q9 g) d- Y9 M
  1521. ; Development Value: "upload_progress_"
    ( W; q; C. }5 ^# S+ R
  1522. ; Production Value: "upload_progress_"
    ; y0 y3 w4 V& R
  1523. ; http://php.net/session.upload-progress.prefix1 ^% Z$ ^3 O0 q! M
  1524. ;session.upload_progress.prefix = "upload_progress_", H$ b- \; F1 a1 T

  1525. 3 i+ ~  H( Q+ Z) w7 Y8 s; N
  1526. ; The index name (concatenated with the prefix) in $_SESSION  }5 s* `! Q6 Z; n8 `8 A! M
  1527. ; containing the upload progress information9 V7 k; f; l/ b" b& n" u& r( _8 Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 n" u3 ?+ J1 @
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , h& [6 C# l8 R8 Y1 _, `6 c4 u
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! p: b' L$ W. s3 A& @+ z, G
  1531. ; http://php.net/session.upload-progress.name" T" W4 B; C: ~
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"5 Q! G0 s: j" }* ^6 P
  1533. 6 ]' S; }$ v8 l' |, _
  1534. ; How frequently the upload progress should be updated.
    + v& }2 @# j& Z( t% X$ |0 ~' _" x
  1535. ; Given either in percentages (per-file), or in bytes/ t7 b; O8 V. X$ [. r
  1536. ; Default Value: "1%"7 P6 p# a0 y! |- t
  1537. ; Development Value: "1%", N7 J9 l0 Z- q5 p! `
  1538. ; Production Value: "1%"( z: X' m% a, Z$ ~
  1539. ; http://php.net/session.upload-progress.freq
    / C# b( U' f: q; I
  1540. ;session.upload_progress.freq =  "1%"4 A# S- r* r/ ^4 b" |
  1541. : S* f! N7 q3 J4 K
  1542. ; The minimum delay between updates, in seconds& T1 G; E3 D8 R7 E$ H, y
  1543. ; Default Value: 1
    ) w% C7 T( H4 q
  1544. ; Development Value: 16 K( e  l+ G6 k. F* G7 Y
  1545. ; Production Value: 1/ e9 h" e1 W: e# p
  1546. ; http://php.net/session.upload-progress.min-freq1 L; `, `7 L, F, {) S' S  k2 y
  1547. ;session.upload_progress.min_freq = "1"7 }8 @; p8 V, h  r( {
  1548. ! G, m5 v. m+ E& F
  1549. ; Only write session data when session data is changed. Enabled by default.0 O: d( _6 J1 a: {
  1550. ; http://php.net/session.lazy-write1 }& I$ G6 T) }) q' \
  1551. ;session.lazy_write = On3 K; g( j! S" h# j' Z
  1552. 7 d7 {5 ^* s% b! J1 E, N& D
  1553. [Assertion]
    5 _* [4 I- K. v8 o4 C9 {2 k( B
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)6 v7 N- @8 i/ i9 S$ S- p9 \
  1555. ; -1: Do not compile at all
    # Q* z. @1 ~" ]5 a0 g/ T
  1556. ;  0: Jump over assertion at run-time6 c& g5 T; P9 ~4 M" p- O1 n# {
  1557. ;  1: Execute assertions. L- `) f/ \5 e% I' [# S
  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)
    + k! s( @5 }7 C( B, A9 }. K
  1559. ; Default Value: 18 j  E& N/ [) \8 }
  1560. ; Development Value: 1$ W) A6 U7 b' W0 p( o0 _
  1561. ; Production Value: -1
    " ]& X7 N% k$ L5 V4 u( C
  1562. ; http://php.net/zend.assertions3 r* O6 u) p: p4 W3 r! ~& ^
  1563. zend.assertions = -1
    + i! x% f, a5 }$ ?4 r' L
  1564. , E2 n# u3 c- v# }8 ^8 ^6 Q1 P
  1565. ; Assert(expr); active by default.8 p; W( z. c) Y' i! V0 q0 I
  1566. ; http://php.net/assert.active# F( ~7 _% W; z# d
  1567. ;assert.active = On4 N0 k- L/ l  J, N7 a/ a9 L
  1568. 3 E  I, {6 w; B. B- g4 k1 b: C' ^
  1569. ; Throw an AssertationException on failed assertions' N# F4 a9 l8 S1 M  b
  1570. ; http://php.net/assert.exception( m  X0 l- s7 T. B- Q
  1571. ;assert.exception = On' V( O) Y% @$ g2 S
  1572. . a1 N& d  y0 s/ J1 w( w
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): A* p! T. w0 g: E/ {! d$ _9 _
  1574. ; http://php.net/assert.warning
    : [$ b$ K* Y" G' H. {9 R5 w# h3 z: S
  1575. ;assert.warning = On
    ' e; w2 N+ d$ T1 d- _
  1576. 0 Z5 m# T: ?6 Y( g
  1577. ; Don't bail out by default.- f$ C4 v5 u! r/ l& L9 W" @
  1578. ; http://php.net/assert.bail
    6 r2 h, b( `. s) |7 q2 |- e
  1579. ;assert.bail = Off4 X1 H1 w6 d, U

  1580. 6 u) r* a5 D* Q4 O5 K1 \! H
  1581. ; User-function to be called if an assertion fails.9 [$ y* E$ @$ X% L$ G" @
  1582. ; http://php.net/assert.callback
    ! h6 @% a" O" J& m
  1583. ;assert.callback = 0
    ; X7 X" Z7 |; I7 f
  1584. - J& E1 ~# e4 j, h
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . Z) r# _6 k, t
  1586. ; error_reporting(0) around the eval().9 h$ R, w0 a0 R2 O0 F/ {% e2 r' M
  1587. ; http://php.net/assert.quiet-eval
    - s* M6 b) i8 ~
  1588. ;assert.quiet_eval = 08 z- E+ R' d( P4 b

  1589. + p' a- t6 b* ]% O2 B+ g( f: _6 }9 i$ w
  1590. [COM]2 [* J# W, C# c+ Z+ f
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    5 G. @' `. z1 Q& y! x( O. A
  1592. ; http://php.net/com.typelib-file3 [5 y, Q+ n* |5 D6 d
  1593. ;com.typelib_file =4 F. {% L0 M: s& E; {. e7 ~

  1594. ; w! F! R& F0 ^: o. E
  1595. ; allow Distributed-COM calls
    ; K; c8 e6 ]6 Q+ ~4 I) g
  1596. ; http://php.net/com.allow-dcom3 \4 s- S, t, [/ J. {! M
  1597. ;com.allow_dcom = true
    , ~/ F( Y" [- ?5 y4 a3 N1 e# A% w

  1598. , n# K) c1 S. ?; m
  1599. ; autoregister constants of a components typlib on com_load()5 h( E  o, \7 ]. x) E
  1600. ; http://php.net/com.autoregister-typelib
    - L. r" ^/ L/ h5 [5 V( o
  1601. ;com.autoregister_typelib = true' Y( d7 Q- D+ c- M9 ]# i) @

  1602. 9 @0 ^' I, u0 j0 ~' i
  1603. ; register constants casesensitive. ~; l' }% ^# C; M. i$ \
  1604. ; http://php.net/com.autoregister-casesensitive" W1 W2 ?8 B  y. F6 S! m" d
  1605. ;com.autoregister_casesensitive = false
    - v- Q; G8 a  w

  1606. $ ?5 q7 r7 K  P' v! z0 p. i
  1607. ; show warnings on duplicate constant registrations( O- _$ y3 o3 z6 Y: `( }# y
  1608. ; http://php.net/com.autoregister-verbose
    : n4 S" {4 ~, i/ p" M0 P
  1609. ;com.autoregister_verbose = true
    6 `" k2 W4 A& @; {! Y, D
  1610. . E1 z! ?3 Y3 B( n3 ?9 V: o9 k" |5 Y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ; t" `- @, k4 R3 z8 D$ Y- T: l0 C$ P
  1612. ; Default: system ANSI code page: a0 C" v2 X% ]0 _
  1613. ;com.code_page=
    1 ~+ H. S) K3 i! C

  1614. + B' A; O3 g% n7 P$ g; S0 y( r
  1615. [mbstring]
    5 A8 w8 Q& f2 I
  1616. ; language for internal character representation.
    * a7 T# s- k0 u, I
  1617. ; This affects mb_send_mail() and mbstring.detect_order.0 f. e7 M( F: l1 e
  1618. ; http://php.net/mbstring.language% w8 u7 |- i/ G9 a$ _
  1619. ;mbstring.language = Japanese
    ) K( G9 U* \; l4 O

  1620. + i$ n& D! i+ i" V6 A5 B
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ @! {/ v8 J7 ?! G, H9 F# X
  1622. ; internal/script encoding.% h8 ^$ p1 q! C, d8 q! A; q
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& u' [; F& u8 }5 N2 D  ]2 U2 K
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* n. {8 U/ a" r$ y4 e# H% K) ^
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & r( E5 [  A* l, r
  1626. ;mbstring.internal_encoding =4 |; h/ q  S% g

  1627. 1 T% Z0 Z1 z' b$ n* U' k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # w8 u6 q$ D2 F( y' i" q2 O
  1629. ; http input encoding.& q3 [. t7 t3 e+ j
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; H6 k0 z6 c& y, z/ q
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( \# M% C- P: H) A' `
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 i. H) T6 z+ K( Y% F' e  S! e2 |9 b
  1633. ; http://php.net/mbstring.http-input; h( t9 G/ ?5 `) \
  1634. ;mbstring.http_input =
    8 X3 Y, t8 Y( t4 r& b

  1635. ! w1 x9 \& ~) X' b, I- A8 V5 P
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.- L+ ]! v, |( u' y6 {; t
  1637. ; http output encoding.
    7 A, z( s1 z) T6 x
  1638. ; mb_output_handler must be registered as output buffer to function.! h$ q; g+ C# F& r/ `9 _% G) Y) K
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 ?+ L, O/ ?1 a3 u! i/ n, u
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 [9 G; w! f7 I
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    4 v, o/ G  X& z) W- i0 \
  1642. ; otherwise output encoding conversion cannot be performed.1 ~, A+ p4 P4 |3 {4 e) e$ h
  1643. ; http://php.net/mbstring.http-output
    9 r5 u: w; f' y2 o
  1644. ;mbstring.http_output =6 U1 k" g. a- m  ?8 x8 _

  1645. # j( t! Q/ A. m$ h3 L( [
  1646. ; enable automatic encoding translation according to
    * h' r- Y+ B1 X4 \& x0 K  X3 v! \* a
  1647. ; mbstring.internal_encoding setting. Input chars are
    4 f* m1 R7 o. t$ N) n4 }4 M- P5 ~
  1648. ; converted to internal encoding by setting this to On.
    2 t0 D( _3 E4 _6 f1 t- i
  1649. ; Note: Do _not_ use automatic encoding translation for5 R% [% z4 R( N% a+ u; s( Y
  1650. ;       portable libs/applications.; t: [2 Q  I' m- I) W4 _4 n
  1651. ; http://php.net/mbstring.encoding-translation2 E2 ?  v& P) X% \: f( x
  1652. ;mbstring.encoding_translation = Off" }  p+ R9 o0 z4 p" x

  1653. 2 M3 U' Q0 }: b, P9 B# t) N. Z
  1654. ; automatic encoding detection order.
    # [4 A9 b1 s+ c
  1655. ; "auto" detect order is changed according to mbstring.language
    / m: \4 Y8 e1 X% |/ _2 ~
  1656. ; http://php.net/mbstring.detect-order
    0 q9 N  k' r6 k5 n8 l/ i
  1657. ;mbstring.detect_order = auto
    / f, ^) v$ x  e! o! N
  1658. % a! B) P" x& G; `$ e4 i
  1659. ; substitute_character used when character cannot be converted
    . i/ V7 ?! r" W1 {, X6 ^8 l  R" s
  1660. ; one from another0 ?3 D, p; S" v. F/ S% ?0 c
  1661. ; http://php.net/mbstring.substitute-character& n% v$ [, W0 \& ^
  1662. ;mbstring.substitute_character = none. k% D- m8 [, r# A1 ?9 f* b
  1663. 6 S1 i. ]# ?; m! G& i
  1664. ; overload(replace) single byte functions by mbstring functions.3 Q  ]& ?: F/ F  Z( ~% Z  f' D3 a
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    " j$ F1 \5 ?7 x9 g! Y6 X0 t8 f
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- Q! V9 i6 J. w6 ?  q3 F, Y: i& I
  1667. ; For example, 7 for overload everything.
    ( a2 D& b9 n' v; ]; {( f- `" Z
  1668. ; 0: No overload* G5 y, l% i7 a3 L. c' F, Q
  1669. ; 1: Overload mail() function
    1 r! r) P0 l! k: d
  1670. ; 2: Overload str*() functions
    # N2 o/ }5 b' x
  1671. ; 4: Overload ereg*() functions
    " J. Q/ K- t: h- q
  1672. ; http://php.net/mbstring.func-overload7 H. R; ~4 {4 q# \
  1673. ;mbstring.func_overload = 0
    , _( A) L& M$ e$ i" e. N

  1674. 8 m8 X6 Y: _" w1 F
  1675. ; enable strict encoding detection.& D9 F/ X" d' o1 Z3 s
  1676. ; Default: Off
    + ?  I/ E9 F7 v7 ?8 _0 w% B. U
  1677. ;mbstring.strict_detection = On+ R& r7 M) Q& V% m+ \: P
  1678. : A5 F) l* l# K" S! H/ T
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' p/ \" I+ w: k, \. s. {" W/ Z
  1680. ; is activated.
    5 O7 c) e8 {& e' C, v
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! }4 P' }. P2 F3 F( C" d  t
  1682. ;mbstring.http_output_conv_mimetype=4 Z8 n1 O. h. T1 m& Z

  1683. 2 V9 _' j" B. Q
  1684. [gd]  W+ m+ E5 w* {, r9 M
  1685. ; Tell the jpeg decode to ignore warnings and try to create( x- [/ p* K' r" [; {
  1686. ; a gd image. The warning will then be displayed as notices8 y  r& B' ]0 A7 L' A/ W; }# K
  1687. ; disabled by default0 t$ r. `' d! y+ {( m$ k/ O3 |
  1688. ; http://php.net/gd.jpeg-ignore-warning5 \9 v: Y4 F* b& d- i# q9 F" t0 @
  1689. ;gd.jpeg_ignore_warning = 02 t% L6 t8 D8 f3 o8 Y, K
  1690. " I3 u3 k- x$ h: d4 D
  1691. [exif]9 N& Y& ~. Z4 k
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - P5 \* }% I, K% M& h) |
  1693. ; With mbstring support this will automatically be converted into the encoding, p7 @% F% |( W7 |- @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 l! J: \. I- Q6 G
  1695. ; is used. For the decode settings you can distinguish between motorola and# [- P: c" z; ?! {8 y7 w2 h% ~
  1696. ; intel byte order. A decode setting cannot be empty.
    % }- w; E# c$ z
  1697. ; http://php.net/exif.encode-unicode+ ^) Q% `7 z2 g8 O) w, a
  1698. ;exif.encode_unicode = ISO-8859-15) X* n" a6 E- K. g( ?
  1699. ; e- q1 k: M1 I7 r
  1700. ; http://php.net/exif.decode-unicode-motorola6 B; t% @+ w! }% V- r* m- y2 I
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    8 |" A# ?) ^. i' V  h$ C4 E
  1702. ) K0 _6 ]0 p( p* l
  1703. ; http://php.net/exif.decode-unicode-intel8 s" k3 U$ d" K( |: r/ O9 M# _
  1704. ;exif.decode_unicode_intel    = UCS-2LE! b0 X9 ^. [2 N/ A$ k

  1705. ' R- [4 }. {* \( B( C
  1706. ; http://php.net/exif.encode-jis
    , u8 v! D' m1 g. L: I
  1707. ;exif.encode_jis =$ f- \2 j' s1 M8 G7 F% u
  1708. 5 ?2 M& g# k3 N6 a8 I0 g
  1709. ; http://php.net/exif.decode-jis-motorola
    * r; w. ~+ h9 x# C
  1710. ;exif.decode_jis_motorola = JIS
    9 z9 K  z: M0 D" s) @

  1711. 0 @) }. ]; W0 N
  1712. ; http://php.net/exif.decode-jis-intel
    6 c8 q- o' h8 Y6 R" @! i2 X: _5 l9 T
  1713. ;exif.decode_jis_intel    = JIS3 q1 R* M& v0 B) F9 q
  1714.   y4 d/ f( k7 V( t- r( D+ f! a) x- F
  1715. [Tidy]/ _  ]3 e* U) D: L
  1716. ; The path to a default tidy configuration file to use when using tidy
    0 X. T1 C6 i; @! m
  1717. ; http://php.net/tidy.default-config. \1 ~$ j' L6 z# ]6 ?4 T, \; E
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 L4 {4 Q# D: X! Y

  1719. : l' s1 o8 u- t( Q
  1720. ; Should tidy clean and repair output automatically?4 ?: r! m- [+ n
  1721. ; WARNING: Do not use this option if you are generating non-html content- o4 g' e. X8 ^) ~
  1722. ; such as dynamic images8 v. |: p! v& Q$ Y0 J8 a
  1723. ; http://php.net/tidy.clean-output- [# F3 V  X  {; r0 U% y4 F
  1724. tidy.clean_output = Off9 Z! I: B3 e4 i* I; s
  1725. - o; Z8 Z8 A7 ?) L
  1726. [soap]& r4 _$ C1 a. |! x8 y& P( s
  1727. ; Enables or disables WSDL caching feature.5 q0 A  f' R5 {' H
  1728. ; http://php.net/soap.wsdl-cache-enabled% O1 B: e% v% d/ `: K
  1729. soap.wsdl_cache_enabled=1' F5 X) ^4 N9 o  H( {2 [1 B# ?

  1730. & L  H  Y8 X' z8 B- t7 Q4 [# @
  1731. ; Sets the directory name where SOAP extension will put cache files.  K( |. J& w$ e) o7 k6 _6 |0 \
  1732. ; http://php.net/soap.wsdl-cache-dir9 u# v1 I( u" W4 x
  1733. soap.wsdl_cache_dir="/tmp"
    8 o$ s. q' L$ {* J; s5 w
  1734. 5 U3 l" X2 l  }1 R, Y2 R
  1735. ; (time to live) Sets the number of second while cached file will be used' S% d( E1 X5 |! L
  1736. ; instead of original one.. I7 d- C' C3 g% {
  1737. ; http://php.net/soap.wsdl-cache-ttl
    7 f( b& p' z5 V. R5 r' M
  1738. soap.wsdl_cache_ttl=86400
    / T' u8 H$ m8 o  f3 _  O6 P) [& g2 P
  1739. 4 c5 i/ a4 A5 ?; n$ \9 @& E- S
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) m# }4 {2 s: G8 {
  1741. soap.wsdl_cache_limit = 5
    6 G% V  G( J; v9 `3 C$ l
  1742. % e) M2 i4 t: h2 E* k
  1743. [sysvshm]
    6 t+ S5 b( c9 W9 n# x
  1744. ; A default size of the shared memory segment
    ) p5 K3 l3 Y- t! [% e, C
  1745. ;sysvshm.init_mem = 10000, j/ t% E: U6 s# k

  1746. 4 K+ o. f" u' ^7 X1 E, c
  1747. [ldap]5 F' i1 x3 E" D, C* T3 D# B) g
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & T% i$ z; O- a6 e0 h6 ]  H& b
  1749. ldap.max_links = -1
    ' q' m0 Z" l" F9 e3 `0 [

  1750. ! f9 t4 G) ~. S6 E9 T- u
  1751. [mcrypt]
    , B, _% U9 m( D3 M1 ]4 {" H
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open" `) \8 \4 u2 @3 X& D

  1753. 4 I7 G( K% ]% g% k# j4 }* L* R0 B
  1754. ; Directory where to load mcrypt algorithms
    ( o3 _' v5 o) f  I5 h1 E& b- N4 O
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 ]1 z3 I: m& V' Q: q
  1756. ;mcrypt.algorithms_dir=
    + V8 a% ?- ~- _' z# o5 ~, u# s, H* l% X
  1757. 8 ~  a5 r! @2 |  ?7 O5 n2 H
  1758. ; Directory where to load mcrypt modes  l, m0 J2 o( Z5 l% E
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ G: G9 ~! K5 P- i' I2 ~* x; b5 W
  1760. ;mcrypt.modes_dir=
    3 O9 C1 B4 }6 y
  1761. ) E& Y' g+ v. l- g- q
  1762. [dba]% c0 P: T+ K3 p1 V! O
  1763. ;dba.default_handler=: f- G/ |7 l! H1 q3 @5 S2 u, Z* d  e

  1764. ) ?3 R# U7 d6 M+ b# S* s
  1765. [opcache]2 P/ F2 E7 V# \- L2 D3 {* l$ q$ }, q
  1766. ; Determines if Zend OPCache is enabled
    5 q: y4 r( ]( j0 k! i
  1767. ;opcache.enable=0: a0 X' [9 T+ N  L: V

  1768. 4 G. N# a% \+ f
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP5 o2 P; p: E5 r) I/ H0 G7 O
  1770. ;opcache.enable_cli=0
    / w% {/ O! h5 k% e+ h! G- K7 a
  1771. 8 N; X/ m# \) I5 p
  1772. ; The OPcache shared memory storage size.
    5 ]. E, s2 P+ t! L! M. B7 p
  1773. ;opcache.memory_consumption=64
    0 @% J9 M, u) \6 m% Q/ Y
  1774. 0 G) ~/ a9 b; r/ [" v& u
  1775. ; The amount of memory for interned strings in Mbytes.- M: R# g$ w# a& K
  1776. ;opcache.interned_strings_buffer=4
    * V3 m3 w# \" X" c0 Q

  1777. , Q7 q# o3 y9 j" N
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    / @) X) c% P2 ~# P/ k" O
  1779. ; Only numbers between 200 and 1000000 are allowed.
    . q: w/ m) b* s& t# h' i
  1780. ;opcache.max_accelerated_files=2000
      h8 v% K, w; \9 t+ i& W# Q9 J6 |- v

  1781. ; m$ w- I: H6 B- B3 e
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ) i" y0 S# d8 Q: c% H  w8 E
  1783. ;opcache.max_wasted_percentage=5
    ) l1 m3 Z( `; @7 i7 J: M7 o
  1784. & e/ V, X) i/ L
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 k8 r* W. q* S1 V) `% \% O
  1786. ; directory to the script key, thus eliminating possible collisions between9 n5 h- D# [( g# H" B$ N8 I# H
  1787. ; files with the same name (basename). Disabling the directive improves
    9 f) U# Q7 q7 r8 L! E1 x
  1788. ; performance, but may break existing applications.
    8 }* O, D$ g7 i+ }+ |5 B. Y* o
  1789. ;opcache.use_cwd=1
    3 X/ a& O- v5 @/ D0 o& b/ t
  1790. + H/ f2 L  y+ Y
  1791. ; When disabled, you must reset the OPcache manually or restart the
    - X$ I& I  s$ j5 Y6 ?
  1792. ; webserver for changes to the filesystem to take effect.
    + u6 @& ]9 }- H1 U4 C
  1793. ;opcache.validate_timestamps=1. x& L6 O+ X; X; F4 r  M+ |. n
  1794. & g( \* D& M5 _' p8 a; M
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    # H( V. q- o- V+ [: E( g6 T% h2 L) d
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    5 X, ^) K$ I3 O- v8 ~: [
  1797. ; once per request. "0" means always validate), i4 J0 I( b: U/ b7 V! A% G5 `0 x- ]5 ]
  1798. ;opcache.revalidate_freq=2
    . g+ P, k; a, F- g

  1799. ! `5 X2 d4 B- J. A( f. h/ r
  1800. ; Enables or disables file search in include_path optimization$ K" d4 g; G$ ?' \' H$ _6 o7 F- i* W
  1801. ;opcache.revalidate_path=0# l; k% G- D% ^) ]8 }
  1802. 2 b* v' m. G9 R
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; w( Y1 x2 n( w- m& G- D
  1804. ; size of the optimized code.
    ' y5 k: Q& _$ k7 x' @% C
  1805. ;opcache.save_comments=19 T: X6 C& N  V- O; K
  1806. 6 d( c5 z! r; h- [3 r: K0 p7 U2 W
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code  P; y$ d" y/ q" r6 B
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.6 P) d# S4 k5 D. e0 N- k$ ^
  1809. ;opcache.fast_shutdown=0
    5 B+ H( Z8 D0 r4 ?) h

  1810. 2 ^2 M" @& T! ]0 u) G* i- u0 C
  1811. ; Allow file existence override (file_exists, etc.) performance feature.' N3 Q& [. ^9 e& q# g9 Z
  1812. ;opcache.enable_file_override=03 o; F  T+ @1 @
  1813. 0 Z  j2 V5 i( Z6 c$ O
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    7 u& o9 S. r3 e8 a0 H: u9 `
  1815. ; passes0 f6 e9 M" g% x: M( @# U: G
  1816. ;opcache.optimization_level=0xffffffff- K5 g& }& X; w  F) o5 F# I1 K0 @
  1817. 4 m8 i% v, z- R
  1818. ;opcache.inherited_hack=1/ N: R2 {: U8 ~- m! R/ W
  1819. ;opcache.dups_fix=05 `) J) T+ o2 f; Y
  1820. ) o$ E% M0 ?8 ~! F7 i
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ) b3 g9 w! `* U/ K) U6 k
  1822. ; Each OPcache blacklist file is a text file that holds the names of files# D) ~7 A6 q8 D9 V/ ]+ P
  1823. ; that should not be accelerated. The file format is to add each filename- [  O+ j% K$ F- K
  1824. ; to a new line. The filename may be a full path or just a file prefix. W4 T7 B8 b) B9 P. X  M8 y* r
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% p) W) d: k5 i% O7 l+ _
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    - e) B, o; s; ~! d$ ~* s: P& ?
  1827. ;opcache.blacklist_filename=4 [# _( c4 p4 p: `( E

  1828. % k( V/ }0 N* r9 c
  1829. ; Allows exclusion of large files from being cached. By default all files
    8 j7 z- {+ n, s$ J8 }! V
  1830. ; are cached.
      R% e6 }3 Q7 S' P1 B! o
  1831. ;opcache.max_file_size=07 r7 K1 u: H/ U' V* U

  1832. 5 _6 ?6 ^4 m/ e& Z0 W9 O& D- L
  1833. ; Check the cache checksum each N requests.8 U$ T0 \$ N7 F' c, [
  1834. ; The default value of "0" means that the checks are disabled." y! k& ?9 z  _  M8 P7 Q! b" B
  1835. ;opcache.consistency_checks=01 M( l4 M0 F  q

  1836. 6 w# q7 o2 }6 t* W9 Y5 q* |$ E
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " ~( V3 C( }9 O% d6 W* c
  1838. ; is not being accessed." b7 Y" q; z  j0 Y/ ~3 k, {/ z
  1839. ;opcache.force_restart_timeout=180* ^# a! L8 L: ~% B" @  s. M% n

  1840. % i' }! y; S, L2 J% g) T2 y+ u
  1841. ; OPcache error_log file name. Empty string assumes "stderr".$ B/ }9 ]. N6 U/ k: y
  1842. ;opcache.error_log=  }% {. ?+ d$ k* ]  J: o
  1843. - A" r; O6 l. h: I& K2 e
  1844. ; All OPcache errors go to the Web server log.- B! N/ P: h0 K8 ^6 l* h0 K. H
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! s1 p# b; _* C6 y
  1846. ; You can also enable warnings (level 2), info messages (level 3) or$ z! M1 n" H# v
  1847. ; debug messages (level 4).1 b3 J% k, ?7 T+ c$ d9 L: D
  1848. ;opcache.log_verbosity_level=1. K) _6 P' ]8 Q3 p- d9 J7 }
  1849. 9 O; v6 d; p4 [* ~$ k( _* x- D
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 e/ Y( n# w) |% a% z  W, P
  1851. ;opcache.preferred_memory_model=" {. {9 h: g2 M# W
  1852. 3 N. i9 E3 o0 _$ r/ O6 r7 O
  1853. ; Protect the shared memory from unexpected writing during script execution." `" B. z7 C7 v0 q" ^
  1854. ; Useful for internal debugging only.
    # F- H2 e' Z% d4 S- g# F
  1855. ;opcache.protect_memory=0; P* M$ m) f& m7 }: I" G% @- u* Z7 D: u

  1856. , m# g' a( d* Z. I
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . ]1 a7 \0 P* ?
  1858. ; started from specified string. The default "" means no restriction
    ' r' W5 K% m2 @- t
  1859. ;opcache.restrict_api=8 S- C- q& g* h$ p" x
  1860. " |( y+ C7 C5 r; i0 `$ K  D2 u
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    9 U) M" [. y* e4 r
  1862. ; processes have to map shared memory into the same address space. This
    ) P+ {2 b* Q! L/ o9 K8 f
  1863. ; directive allows to manually fix the "Unable to reattach to base address"0 p- r' b* k* m) C
  1864. ; errors.0 E/ P5 U9 @5 r  H. }7 N+ g. B
  1865. ;opcache.mmap_base=' n7 W% A8 Y& V+ A" T

  1866. ( Y, C7 l; r3 w4 A( I9 f; G! W# v2 h
  1867. ; Enables and sets the second level cache directory.
    ; A2 k& }' e' z
  1868. ; It should improve performance when SHM memory is full, at server restart or
    : S, S" z5 @8 o4 ?, P$ m0 A- t" R1 L
  1869. ; SHM reset. The default "" disables file based caching.5 q$ B  Y9 H% M0 q$ J6 X
  1870. ;opcache.file_cache=7 @; o  J9 Q: G/ p' L" \: r

  1871. 1 T- p+ n. Q: Q! O5 z9 }" |
  1872. ; Enables or disables opcode caching in shared memory.
    , q! g9 e. ~! \8 {
  1873. ;opcache.file_cache_only=0
    : ?  D" W( L# L( @

  1874. 2 E* n* z9 W9 {+ ~- }) l
  1875. ; Enables or disables checksum validation when script loaded from file cache.3 W8 `! T  A9 z% N
  1876. ;opcache.file_cache_consistency_checks=1
    % O, ~5 `( p7 ], ~  g
  1877. % f8 F; n$ P" e3 K( X4 Q5 u8 ^% B) F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    , t4 e" E  ^* \7 t. g( `3 f
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    5 h' g6 P  y6 s, k
  1880. ; cache is required.; l4 k& o* V$ Z' L8 V$ e( j( t
  1881. ;opcache.file_cache_fallback=1
    $ I( Z0 c5 ]1 H' @: G) C

  1882.   t, q1 J( v- C" Z8 ?, t' F
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.  G( v# O, Y) u0 o
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 [) g3 k+ o  V9 ^7 j+ n1 y
  1885. ;opcache.huge_code_pages=1  R, U9 A/ ~2 ]

  1886. 0 x: H% @$ O& G
  1887. ; Validate cached file permissions.
    3 }3 X6 Y& I' S
  1888. ; opcache.validate_permission=0( ^8 q! R5 F% O- ?5 ^/ |

  1889.   e: c6 ]6 v4 u8 h' n( _7 {
  1890. ; Prevent name collisions in chroot'ed environment.
    , C0 d# c1 |$ w: t# N; n
  1891. ; opcache.validate_root=00 l' [& m4 x4 t% ^6 {4 V/ m6 p
  1892. + h0 s0 x; `1 Q8 C9 Y
  1893. [curl]
    + s6 ?! G0 h( F" G: b& q
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an# S, H  x6 O8 `3 K' H
  1895. ; absolute path.
    8 }% d" p. ~1 h* @& a3 }3 ^
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 ]* z1 y6 y& l+ _) i( ]% q
  1897. : _4 R, z7 n0 w3 p
  1898. [openssl]$ b1 E$ P' x& c# k7 S& B$ F% o
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    . {7 v+ v& q, e# G) d) D0 {) J
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # g3 O4 A  K2 [' b2 Y% U9 z% P
  1901. ; not specify a value for this directive as PHP will attempt to use the
    9 j/ m. k! {4 n; [. g( i0 A  ]
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ; I# w- Y6 F8 _- c: ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context* T7 i& u! \- U8 k, y, d1 h
  1904. ; option.& Y2 o3 a( U- i4 f' W
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , g( i0 w7 q4 U4 g3 l
  1906. , X, v  z! z0 J: F3 z4 K/ B9 S
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the% Z$ r  A: w. \0 w
  1908. ; directory pointed to by openssl.capath is searched for a suitable; q* r, v6 D& }
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    % E0 x  o  \  {
  1910. ; Most users should not specify a value for this directive as PHP will; d+ `- X1 m( |; R( ^; y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,4 R" H. f+ r6 }/ W" i7 T
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & H) v+ ?. A; z% ~
  1913. ; SSL stream context option.
    ( s# O5 o6 D0 C. K* U. f3 T
  1914. ;openssl.capath=
    8 m$ ^- }( |5 H& y3 i6 m
  1915. 1 x9 i) h% r( t( l2 R
  1916. ; Local Variables:( g2 S  Y9 K0 H4 q
  1917. ; tab-width: 4/ z' d/ m, i- h, T0 R$ m
  1918. ; End:
    % `, C0 ~2 Y; e4 n

  1919. ( `" ]  c6 O( T1 w! [8 v' @
  1920. ;eaccelerator# f( _- h$ b- Z1 _. q, z

  1921. $ R4 r  o* n7 {% {8 Y8 h
  1922. ;ionCube; K2 r) }8 V5 ]' j
  1923. 4 t/ B, S: q4 l, t3 o2 `) |
  1924. ;opcache$ i5 o6 {. S: o5 c- X( T
  1925. + X& H( u! I8 a$ {
  1926. [Zend ZendGuard Loader]
    . g, W: L& x) A( y' y$ T; M& E7 K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.- z) |! y; a, C  }3 c
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so$ X& d6 y+ G, L
  1929. ;zend_loader.enable=1- x9 D& Z" J; u1 m
  1930. ;zend_loader.disable_licensing=0
    & z! d+ _) S1 U) @- X. \! r
  1931. ;zend_loader.obfuscation_level_support=3. |0 Y1 [* A3 C8 |  b
  1932. ;zend_loader.license_path=$ Q. b# W- T7 P3 J7 ~6 Y+ T
  1933. + m+ T4 i( J; U
  1934. ;xcache6 O( T5 A- u4 K5 I4 S2 K
  1935. 4 ^1 e/ W5 ^' `8 D2 o
复制代码

1 ?" D. H% p7 I  Z+ r
9 Z1 S' i! S8 G, Z3 U4 U
9 j2 u5 d9 `2 n, ], \6 r% |
0 R/ t7 b# ]' O# d$ X/ o$ v5 ]2 N9 c
1 v# B$ p  f% v& |* ]

* W. x6 I% I( j  m' {' E" H& pPHP5.6版本原始设置
" y7 Z$ B* w+ ?- p: e0 c4 u# J
$ U# T% j+ ^6 q7 y2 d! }8 @$ s
  1. [PHP]
    0 ?* s9 v7 I* U9 m- C8 L3 C  K

  2. ' e; e  ?- Y, k
  3. ;;;;;;;;;;;;;;;;;;;
    * A5 G6 _8 c  e1 V1 u
  4. ; About php.ini   ;6 w9 M5 q1 Q% V! n) U& F( e
  5. ;;;;;;;;;;;;;;;;;;;
    # h) M7 f, `& _: u
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) Z2 c5 m* @! F: _$ V
  7. ; configuring many of the aspects of PHP's behavior.1 {9 H1 @5 z$ N& C( q

  8. 5 x  E! C, |% p
  9. ; PHP attempts to find and load this configuration from a number of locations.& ~6 s2 |) v: I, |" s
  10. ; The following is a summary of its search order:
    # e8 O. e, y- f8 c/ f! @
  11. ; 1. SAPI module specific location.7 c4 U5 O$ M5 o' b. m8 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 j9 j1 G* F. m/ y. O# x
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& m1 j' Y# |) @* R4 w
  14. ; 4. Current working directory (except CLI)  c9 ~& P: O9 ?3 \
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & M+ e* M7 Y1 `% Z8 }( u) y
  16. ; (otherwise in Windows)
    ( U' Q; l- e5 i& k' F7 t
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; o' q. R  p. Y, B
  18. ; Windows directory (C:\windows or C:\winnt)
    ' U  x( q8 R; S  w0 |( z, q
  19. ; See the PHP docs for more specific information.
    1 @/ N- A1 |+ p. s3 p0 U
  20. ; http://php.net/configuration.file2 l; i1 W. _7 J: h

  21. 2 Q2 V/ s$ ~7 ^9 }: _# c! `% b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" k. y( w+ d8 r( e5 X
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    7 J' z1 E7 K/ ]' C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( T9 U: S6 N# ?) y
  25. ; they might mean something in the future.
    8 S% k9 W7 u6 I2 I: ?

  26. . X/ p# D# ?) a
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ( A0 ^9 T) |5 X/ {) R
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 U! W; |2 z' \
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 ]0 z- G  j' ~' Z: S
  30. ; PHP files served from www.example.com.  Directives set in these0 H7 V6 ?- q. y7 ~; b) T1 @" n1 W! ~; j3 T
  31. ; special sections cannot be overridden by user-defined INI files or
    % m; C9 V, i  F2 A  U3 }: ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under' J% {# I( w: d$ N0 @1 O
  33. ; CGI/FastCGI.
    , v: @2 U! H0 t5 ~) w8 ]7 |/ s
  34. ; http://php.net/ini.sections
    8 t) n; M; |/ v+ y% q
  35. & ^/ t: |$ d. c, Z- n2 i1 E3 \
  36. ; Directives are specified using the following syntax:
    4 e, h8 h- f' E0 I
  37. ; directive = value. ~" H/ l5 B6 {% R0 J
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    - s* p' u* S- ~3 m3 }: C
  39. ; Directives are variables used to configure PHP or PHP extensions.$ W4 L7 J" z# m' l
  40. ; There is no name validation.  If PHP can't find an expected
    " x4 D" S7 J% V" p
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 G& d8 i/ Y) ~0 ~  O

  42. & W3 h+ V5 V# R4 Z5 C' N% P
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) A& ]& J# j2 V3 K/ Y6 e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression: d# n% q5 [3 B9 z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 k4 @4 L7 h% E( s2 B- [! F
  46. ; previously set variable or directive (e.g. ${foo})! u6 _# Z/ e, y0 a
  47. % ]/ a. I) X6 J
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' H; m( A% ^$ {% i
  49. ; |  bitwise OR' o9 U7 e3 d9 C1 I0 V! @; m+ F) n
  50. ; ^  bitwise XOR
    ( S2 Y% a9 [+ {: g. u
  51. ; &  bitwise AND
    4 Z' @, Y' \+ o
  52. ; ~  bitwise NOT3 c/ m8 `/ ~: B, d3 o/ P+ B' i' {
  53. ; !  boolean NOT
    1 }- a; ^" t4 E) W; A

  54. 7 W3 E9 p- S. u9 }2 G
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 Q9 L5 s/ y3 z# m  y
  56. ; They can be turned off using the values 0, Off, False or No.
    2 g0 F* a% u, Q# X" ~
  57.   _+ \& o$ |: [! F- J
  58. ; An empty string can be denoted by simply not writing anything after the equal$ H) ~' {2 c/ N$ R% x% Y) ~, ?; y
  59. ; sign, or by using the None keyword:1 d3 D& Q8 T# p7 I6 t8 E2 E
  60. ' ^1 C( W3 H& _& X7 W0 l
  61. ;  foo =         ; sets foo to an empty string
    & h( S; g8 }" {  p" @' o+ v  Z
  62. ;  foo = None    ; sets foo to an empty string
    " a( f  ]5 e2 O6 h4 Z% V" a2 N% t
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . Y* ~! ]# G5 C2 Q
  64. & K0 ~1 j  c' r: F/ O( G
  65. ; If you use constants in your value, and these constants belong to a
    : y* v+ u" D/ v% Q" _  ^- M7 b
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    9 `) h0 D0 c' o3 N+ E1 J& C- e
  67. ; you may only use these constants *after* the line that loads the extension.6 A  \! H( ^5 e; E) X4 i! U2 ]& i
  68. $ \" l1 N' q0 o9 H' [1 T
  69. ;;;;;;;;;;;;;;;;;;;  S8 ~! d# V/ }  n/ x1 W. m
  70. ; About this file ;
    1 a: ^/ U1 z, O: v8 n6 Z
  71. ;;;;;;;;;;;;;;;;;;;
    * r/ i& P: g6 e$ e! `. X9 y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used/ \4 M" n4 U8 J. I
  73. ; in production environments and one that is recommended to be used in
    " w" h4 r, X: o! J$ Z' h/ Z2 s
  74. ; development environments.  r% y- M7 j" A. f

  75. 8 V8 ]5 k9 f) N5 b& v
  76. ; php.ini-production contains settings which hold security, performance and
    ; A' p+ l; p/ P6 C
  77. ; best practices at its core. But please be aware, these settings may break
    5 q* I7 z2 @% E5 s1 w( Q! N& u$ J" f
  78. ; compatibility with older or less security conscience applications. We
    2 D, }1 d4 |5 w% t" O+ U9 N8 x7 m
  79. ; recommending using the production ini in production and testing environments.9 n: w" P8 p& D- ~9 k, K

  80. - v7 H( y9 ^/ T3 S) R
  81. ; php.ini-development is very similar to its production variant, except it is2 Q; O1 r' `- f& b6 m; w( @
  82. ; much more verbose when it comes to errors. We recommend using the
    ! q6 Q- ^1 L1 U, A$ v1 D
  83. ; development version only in development environments, as errors shown to  _6 L. e2 t* E
  84. ; application users can inadvertently leak otherwise secure information.
    5 j7 ~2 B9 f, Y' D0 n, H
  85. ) @7 ], N  g9 [9 T: u
  86. ; This is php.ini-production INI file.
    + T' N) i, Y# P* Q: ?, l$ m3 q
  87. ! t8 e1 H3 y3 D6 X$ V
  88. ;;;;;;;;;;;;;;;;;;;
      G9 G/ q$ T4 j0 b
  89. ; Quick Reference ;
    " O, u5 O; f; q& h! b, Q& Y
  90. ;;;;;;;;;;;;;;;;;;;
    # X, Q6 I, B: l9 N& T( q' b
  91. ; The following are all the settings which are different in either the production
    4 y, D. t8 u8 V( b1 m
  92. ; or development versions of the INIs with respect to PHP's default behavior." ]# v1 ]# V& p' @5 N
  93. ; Please see the actual settings later in the document for more details as to why; e: {( ^. [" s& S+ o3 u( X1 e
  94. ; we recommend these changes in PHP's behavior.
    / D+ T% [$ G( x
  95. 2 ~4 _, x; F% |7 J5 J
  96. ; display_errors
    % R$ f  B  _  B* f# {( o# n1 Y
  97. ;   Default Value: On4 a4 |4 v3 `: Z) i
  98. ;   Development Value: On% }& w( ]2 R$ Y8 A3 n2 Q' P$ E
  99. ;   Production Value: Off
    1 r* t5 d$ _% s

  100. 9 `- Z. \' ?2 B5 w
  101. ; display_startup_errors" ~$ [; m$ o) ]6 k
  102. ;   Default Value: Off
    8 o; E# v' I& b! ^" r! o
  103. ;   Development Value: On
    + H3 D0 d# S2 h
  104. ;   Production Value: Off
    & P; G, q/ ^. ~2 \8 \! ]! X" [/ U8 r
  105. - R1 E( Q/ Z% N9 {3 k$ J7 D& \0 o
  106. ; error_reporting
    % S1 p" e8 r  Y+ r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' g( L# l% ?& A7 r# }: p
  108. ;   Development Value: E_ALL
    ( J+ p9 S! S5 H- D% v; J* m
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 U- g$ M9 z0 {
  110. 1 R8 n) R/ ~. o$ @5 Z' H, C
  111. ; html_errors' ]) r4 d2 I0 [" K3 O' a
  112. ;   Default Value: On
    : W. A, }4 u! h9 }- O8 g
  113. ;   Development Value: On( K2 r# W- O+ \; n* M8 L: `
  114. ;   Production value: On
    + M8 o" K; D, z1 ^! X1 q

  115. , @" B& z1 s: q: o) e
  116. ; log_errors
    % W9 K0 l. m0 F$ i1 B5 |
  117. ;   Default Value: Off' P! k! ^, B+ x& d  ^! A
  118. ;   Development Value: On
    * d# _; L7 V- `- T9 b6 b* t- O
  119. ;   Production Value: On
    + h' i* S9 Y- d3 |, q

  120. 4 z& v; h- n5 x* V4 b; Q
  121. ; max_input_time
    8 G  \" u6 Z) J7 N+ q" m5 ~
  122. ;   Default Value: -1 (Unlimited)- S2 Q) J. g6 B% \9 z) j: L$ r
  123. ;   Development Value: 60 (60 seconds)
    6 r* Q) j& P: ]5 x
  124. ;   Production Value: 60 (60 seconds)
    7 G% H2 g( ^3 z6 ?- c5 r# D" p- [

  125. 8 U* X3 O, |' [
  126. ; output_buffering# M, W5 X  e# R/ [3 l+ B; |9 V3 `
  127. ;   Default Value: Off
    $ i) ~; l, e: l8 f6 F* T4 N
  128. ;   Development Value: 4096# R, Y! Y4 T, R& Z% O
  129. ;   Production Value: 4096
    . _8 t( A! c: X# ?4 q) T
  130. 2 w3 a) Q+ G" h
  131. ; register_argc_argv' J, v2 ~6 r4 b/ m7 ]$ G
  132. ;   Default Value: On: C1 a. P# e% J" ]! a6 J$ ?
  133. ;   Development Value: Off
    ) z; I' B# a+ v
  134. ;   Production Value: Off
    % {' c; H" L2 ^7 H! K

  135. & }( |) x# ?) c$ L) l
  136. ; request_order
    2 Q1 q" e  o! u$ ^& ?$ {
  137. ;   Default Value: None+ n5 _2 A( A2 S: ~. o
  138. ;   Development Value: "GP"
    9 @0 c( v. v, i' I
  139. ;   Production Value: "GP"/ E$ S) O3 W% f, |# g

  140. 5 K) y2 I0 j. f. }  K( }
  141. ; session.gc_divisor
    0 X! `! x" F" G) K( c
  142. ;   Default Value: 100- K7 `2 }8 p" S) j
  143. ;   Development Value: 1000; T& O, B: B' E/ l
  144. ;   Production Value: 10004 P4 `5 q% J$ d

  145. 0 W$ Z& {8 I& G4 |$ n
  146. ; session.hash_bits_per_character
    & ]( N' K* D" T+ V% Y
  147. ;   Default Value: 4
    ! s! m7 t0 s# w% o7 R$ G
  148. ;   Development Value: 5( m" H8 N- t6 I* I" n
  149. ;   Production Value: 5
    1 i* [0 W' [! W) O1 G6 ?

  150. . Y% i4 J# L0 m) P! e
  151. ; short_open_tag
    % g5 S7 ~: I) r& h' ~/ X) B9 }
  152. ;   Default Value: On& q7 n5 U1 S  z" j  O# f; ^
  153. ;   Development Value: Off% |) u* B. C. [7 \0 v4 O! N6 y* B
  154. ;   Production Value: Off
    # ^. ~! m$ s: z  t5 F/ V
  155. % E) ^, d2 l  G5 h; t+ `
  156. ; track_errors
    , J8 v: w7 ~9 a
  157. ;   Default Value: Off2 }8 Q5 E; k$ _6 }' ^( e, g$ g
  158. ;   Development Value: On' e' q! x# k% W) D' p4 o
  159. ;   Production Value: Off
    . r7 C) e, n4 U- H5 T7 f4 G

  160. . q1 k( L: i4 }# w, K: m
  161. ; url_rewriter.tags
    8 x. |& J+ O$ f& o* {& ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 H4 F! ?6 }7 N/ U3 ]# f, z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  @6 W- Y0 n. `5 q) L# V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 J) x, \9 u0 J5 f6 U- ^( t

  165. / E. ?) V2 _$ [# P+ N  r3 P
  166. ; variables_order
    , ^% D. C6 m5 f0 c$ y  |* j
  167. ;   Default Value: "EGPCS"
    - r2 a& l4 s+ p/ U! k: A
  168. ;   Development Value: "GPCS"
    " g0 J4 i: w( A1 A) E" X3 f. p" I
  169. ;   Production Value: "GPCS"4 Z- P2 o% X- O. W! [
  170. 4 }4 U$ \1 R1 E/ ]. A" w
  171. ;;;;;;;;;;;;;;;;;;;;
    " m8 V0 R- H! t( c' j
  172. ; php.ini Options  ;: Z% L& `! f# m; r6 C0 p$ ]; r/ ^
  173. ;;;;;;;;;;;;;;;;;;;;
    2 h9 y( `5 w" o/ t$ f2 T+ \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . F$ S7 M7 [" e" N5 a( v3 N1 i2 \
  175. ;user_ini.filename = ".user.ini"7 i6 ]" K' R! C: r: y4 x

  176. / e6 J/ w: z6 m4 Q7 R, P" s' s. G+ U
  177. ; To disable this feature set this option to empty value3 d  q# e- ?$ e2 _* i: }
  178. ;user_ini.filename =% l* \) P5 A- y2 {# U9 ?! c
  179. . _' u4 i  C4 p, t3 I) @! f# {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# j# q/ R, X8 _% F# Q5 i3 c, @
  181. ;user_ini.cache_ttl = 300
    . u( R( h2 c: l! F' v4 ?0 R( ?' [

  182. ' w2 b) h1 c! {) U1 Y/ V
  183. ;;;;;;;;;;;;;;;;;;;;
    ' b; m+ W, W' B# r. `! C- Y: D9 v) V
  184. ; Language Options ;
    7 l; i: C5 o. X4 \/ ]; C; ~3 f
  185. ;;;;;;;;;;;;;;;;;;;;0 _' g6 \1 r3 W
  186. 4 y( G6 u# O! B
  187. ; Enable the PHP scripting language engine under Apache.9 ~; E4 Z7 P* J, @, f0 F7 E
  188. ; http://php.net/engine
    . p* H  H) @9 j2 k$ `
  189. engine = On
    $ J4 \* X. ?8 }
  190. 8 a9 U- U0 K# X' Q5 d% |( c
  191. ; This directive determines whether or not PHP will recognize code between
    5 L: t3 t" c* k2 ?+ u, R1 T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; h3 n8 J% Z) S! |& _! S6 J8 a, d
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) P0 x5 d$ Y+ y4 z) A' ?
  194. ; should be disabled, as enabling it may result in issues when generating XML1 p8 O  q8 ?9 R2 f
  195. ; documents, however this remains supported for backward compatibility reasons.
    / z4 V' z2 K, B+ z0 x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - E' I) y: E$ W
  197. ; used regardless of this directive.
    : ^$ i) w0 o8 S
  198. ; Default Value: On
    * R$ v. \: J7 W6 x' g
  199. ; Development Value: Off: k* p0 k% O8 O. x3 |# p
  200. ; Production Value: Off  ]/ W- ~# X: g) T
  201. ; http://php.net/short-open-tag
    3 w; h# i, Z' ^8 y4 s
  202. short_open_tag = On
    # T1 v6 z# m7 g, C2 Q

  203. . ?% E* T9 K( E( {
  204. ; Allow ASP-style <% %> tags.
    ; \% W1 h' z+ i* Q
  205. ; http://php.net/asp-tags
    . M5 H2 Z8 `5 O+ S4 u( R* N
  206. asp_tags = Off
    + v, p- i9 l( U: d9 N  C1 X
  207. 8 ]( T! {: f' i+ O1 [3 A
  208. ; The number of significant digits displayed in floating point numbers./ m: o2 l4 G9 K
  209. ; http://php.net/precision
    : H9 `% T6 i$ I+ N  P6 q
  210. precision = 148 l* R% T+ K. w5 w) r$ |

  211.   y) a' f; @' C( a
  212. ; Output buffering is a mechanism for controlling how much output data
    $ l: X4 W6 A% U8 R- f% i6 p
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that' k3 w3 ^) g! U
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ; n' W/ i& O, O0 ~
  215. ; will send that data in chunks of roughly the size you specify.3 b2 i* Q% _/ `8 M$ l) @. a
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    9 J; T. F3 w* Z, E& a* y3 q
  217. ; interesting side-effects depending on your application and web server.* Q2 d  f$ u$ g
  218. ; You may be able to send headers and cookies after you've already sent output: z; D: ?5 c5 v+ n* h
  219. ; through print or echo. You also may see performance benefits if your server is
    - N& g+ s8 f  J0 q# ^& |& L  ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 }& w) w. F% e8 G! F" A
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / A4 B6 {2 a1 Q6 I' t
  222. ; reasons.8 `7 k. V4 d4 J
  223. ; Note: Output buffering can also be controlled via Output Buffering Control& Y; V, K& @/ C6 U+ Q, P( ]* b$ W
  224. ;   functions.
    3 z2 C4 \# o! h, Q
  225. ; Possible Values:: j3 K& z& P4 l0 A& v+ l* W. [" A
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)6 W3 @0 E( Q$ k9 k! r4 x3 S3 }
  227. ;   Off = Disabled$ X7 S# D% I# V
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    2 i- c* X6 m! D1 [" P
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  s) J# b8 y$ }
  230. ; Default Value: Off" N1 d) W) o; T' U4 v' r' y7 G8 v$ j
  231. ; Development Value: 4096
    / J& n' k/ X( h4 L
  232. ; Production Value: 40961 R& G/ y9 b. B5 x1 ]$ I
  233. ; http://php.net/output-buffering9 ^( g9 K+ O# Q  c2 B9 @
  234. output_buffering = 4096  C: y" M: p9 w6 l9 F8 h! ^6 i

  235. : A; K, ?- u( J3 T
  236. ; You can redirect all of the output of your scripts to a function.  For
    : z' z  p* U& y8 a- A* A8 @* o/ d
  237. ; example, if you set output_handler to "mb_output_handler", character. R$ \, x2 O9 r& F) D4 k
  238. ; encoding will be transparently converted to the specified encoding.5 h3 M) ?, i$ l# X. D
  239. ; Setting any output handler automatically turns on output buffering.3 C  ^" p9 X" ^
  240. ; Note: People who wrote portable scripts should not depend on this ini
    8 l* w! M) W. X& v  B
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    2 S2 V$ B9 M' F8 x) z$ n0 K' K, o/ d
  242. ;   Using this ini directive may cause problems unless you know what script
    ' r# e/ L( e5 C
  243. ;   is doing.' C4 A# u( q& Z5 _2 p* E
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"5 a7 T* J# a$ U1 {
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".! A; Y7 T3 w) R
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    4 A+ ]2 u' ^! c+ R1 U
  247. ;   Instead you must use zlib.output_handler.
    ; w; n5 D# m2 K& }+ Z
  248. ; http://php.net/output-handler# \0 v5 E1 ]* h
  249. ;output_handler =0 g6 V+ v7 r' Z5 v6 W8 i% R  N

  250. % B  ]( @4 v3 z! Y
  251. ; Transparent output compression using the zlib library# l3 s+ n1 b& V
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size9 ?6 u( w3 Z5 s: A: X' ^
  253. ; to be used for compression (default is 4KB)
    ) e! V/ p% @" v4 r- {) n0 L4 t
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP& I0 A- \- d- {# T8 O5 n# K; u
  255. ;   outputs chunks that are few hundreds bytes each as a result of  p1 q: s3 T3 D! ~$ w
  256. ;   compression. If you prefer a larger chunk size for better
    ; ~# w0 a( `( y' S
  257. ;   performance, enable output_buffering in addition.  @# j, z. O5 [% K' c8 Q
  258. ; Note: You need to use zlib.output_handler instead of the standard
    * a7 U0 {! l1 a+ j
  259. ;   output_handler, or otherwise the output will be corrupted." K( P2 v: U* _3 h9 u/ Y, Q
  260. ; http://php.net/zlib.output-compression) J! E" c% D" A" H
  261. zlib.output_compression = Off. H& Y: f" v, S4 W* M% {
  262. ( O. d/ u$ k+ Y/ p" L
  263. ; http://php.net/zlib.output-compression-level
    & B* l7 s4 S' n2 U0 E6 t- R- \
  264. ;zlib.output_compression_level = -1
    4 b& i# W- n' `  W  H

  265. * s4 h1 W4 t# z% _0 m; ^# G
  266. ; You cannot specify additional output handlers if zlib.output_compression
    & f% s2 J7 B& ~0 K
  267. ; is activated here. This setting does the same as output_handler but in9 Q7 Y2 w) O- o* e
  268. ; a different order.! J; L9 [' Q2 S( ^- o* y
  269. ; http://php.net/zlib.output-handler) `3 c: w5 E( I5 d; `
  270. ;zlib.output_handler =
    5 Z: ?8 n) w- }! u4 ~) ?( u8 A
  271. ( S+ Y- l, ~3 D% K$ ?2 V  k
  272. ; Implicit flush tells PHP to tell the output layer to flush itself  Q, B2 ~* s" ?
  273. ; automatically after every output block.  This is equivalent to calling the
    2 {  ~5 P+ E  u9 `- x7 M
  274. ; PHP function flush() after each and every call to print() or echo() and each. C& z. Y, _1 ~
  275. ; and every HTML block.  Turning this option on has serious performance2 X5 k+ g4 `1 }& |: \
  276. ; implications and is generally recommended for debugging purposes only.
    0 r- K  W. V4 T, U( A
  277. ; http://php.net/implicit-flush1 w5 M3 G. e% R
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    # ^$ v% A7 p3 e! _+ K
  279. implicit_flush = Off9 k. B% Q: \3 Q- ~' ^9 P; K# y
  280. * Y9 n  E7 \4 \0 V4 H0 B1 j
  281. ; The unserialize callback function will be called (with the undefined class'6 {9 Q7 ~0 m7 F8 \. d, v! g8 ^
  282. ; name as parameter), if the unserializer finds an undefined class3 g, B2 r# Z4 c* f
  283. ; which should be instantiated. A warning appears if the specified function is
    + I9 n8 @/ q) H, g
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # @( X3 P4 _0 W# m
  285. ; So only set this entry, if you really want to implement such a4 k1 ]1 k4 F9 H8 P+ |. P
  286. ; callback-function.; f/ ^  P  J- b/ q1 w
  287. unserialize_callback_func =
    % @2 @) ]6 o2 Y4 t0 {7 R* g' ]
  288. 5 |- x1 h, ], o
  289. ; When floats & doubles are serialized store serialize_precision significant
    % [7 {8 b& J% J; g2 ~
  290. ; digits after the floating point. The default value ensures that when floats
    9 ^& G4 t5 W. h
  291. ; are decoded with unserialize, the data will remain the same.
    + b4 G' q! L5 S$ c  \4 F$ w
  292. serialize_precision = 17
    $ x: d  f" F% ?, G

  293. : i3 [& G% _/ w) h* V+ i8 |+ o
  294. ; open_basedir, if set, limits all file operations to the defined directory3 {. ~6 t# a6 f5 D* s( u5 \6 T2 I
  295. ; and below.  This directive makes most sense if used in a per-directory
    . O& L3 f0 {& Z& m# e
  296. ; or per-virtualhost web server configuration file.+ R3 n. i8 z2 J# H( ^7 G1 Z* N7 M# s
  297. ; http://php.net/open-basedir- F9 w# j6 U8 u, Y; E# G, Y5 q
  298. ;open_basedir =
    1 q8 y# U# ^! f' H! d% _  k

  299. : B/ r$ E. O. m+ ~
  300. ; This directive allows you to disable certain functions for security reasons.% P; M' g# g2 G, D' J; k" Y
  301. ; It receives a comma-delimited list of function names.4 K% Y5 k5 ?' D. A5 G
  302. ; http://php.net/disable-functions7 A8 c7 r. i' Q, Y* }. v
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " J( ?8 A/ W% _7 y

  304. 0 A4 ?/ R2 y: D' F' T. n5 Y
  305. ; This directive allows you to disable certain classes for security reasons.6 z7 J* u/ r. n. k& ]$ H$ Q
  306. ; It receives a comma-delimited list of class names.
    6 o% N9 q7 P* |5 B2 |
  307. ; http://php.net/disable-classes4 i+ H. _- I. A1 \# W) l5 _
  308. disable_classes =
    7 S/ }1 p. `2 ~0 a* e( T) k
  309. & q7 q0 q3 q$ c) Z3 X. P! V
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* u2 b. T7 W- y8 f9 [/ f
  311. ; <span style="color: ???????"> would work.9 |4 d5 \2 D2 ?  B. M" Y
  312. ; http://php.net/syntax-highlighting
    5 f: c# T0 W* k7 z
  313. ;highlight.string  = #DD0000- _9 ^# o# j: `, }& v" E3 r
  314. ;highlight.comment = #FF9900
    $ r$ Z* Z; ], u/ A1 c$ f+ U
  315. ;highlight.keyword = #007700
    + |' d- I3 w5 \& Y' s% S
  316. ;highlight.default = #0000BB
    $ v! F- G; z% W0 G. |; M7 D
  317. ;highlight.html    = #000000
    ( }. E/ l. H/ `# |
  318. 8 q4 _: p2 s" Z) f9 k# f7 K4 U
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ; l" T2 w7 K6 m, _
  320. ; the request. Consider enabling it if executing long requests, which may end up- A5 Q8 f. N% I1 Z8 [4 C
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior, c8 |2 Z1 r8 D# L, b0 w
  322. ; is to disable this feature.
    - S5 B! z$ }# x4 W( z/ V5 v! T
  323. ; http://php.net/ignore-user-abort5 I$ }8 S9 a9 T% x# }% x" `
  324. ;ignore_user_abort = On
    * b4 Y( w2 _, B0 w+ ~! b% {' g
  325. ( k7 R' S  F- v- m; ?* l
  326. ; Determines the size of the realpath cache to be used by PHP. This value should1 a2 w' z, W+ ]
  327. ; be increased on systems where PHP opens many files to reflect the quantity of0 _8 Y% _# O' S5 R5 G5 p) J3 h
  328. ; the file operations performed.
    & K$ n2 K& l1 T" k) `+ f. C
  329. ; http://php.net/realpath-cache-size3 ^% P* s  }5 N' i* @
  330. ;realpath_cache_size = 16k
    0 D  @; P1 f/ q7 z5 k

  331. 8 q* q$ {& o; x
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    6 N* |, c% I4 D4 u3 `- }
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    9 b5 `& C" @3 K
  334. ; value.- X$ Q7 v3 l  q# F# _
  335. ; http://php.net/realpath-cache-ttl4 t6 j( T. T7 |9 j
  336. ;realpath_cache_ttl = 120
    1 p/ y9 j- i' t& [8 Z' c" e7 E

  337. ; ^$ {# _  f! ^7 c0 b# K
  338. ; Enables or disables the circular reference collector.
    % A" a- E# f0 V% h7 G$ z
  339. ; http://php.net/zend.enable-gc
    5 q. a, i, p" a5 ?" q0 W" E6 O
  340. zend.enable_gc = On7 y: ~% D1 M1 \0 X* @
  341. 4 i5 e/ U- F" G
  342. ; If enabled, scripts may be written in encodings that are incompatible with0 g" p6 p; |1 k- T) D1 r' @
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such$ Q! L$ R1 Y  H$ S2 w  Z
  344. ; encodings.  To use this feature, mbstring extension must be enabled.. A  A! Y, z5 Z& F
  345. ; Default: Off
    : m* S+ `  X5 @
  346. ;zend.multibyte = Off
    + C1 s+ t) W4 m& _' j3 D
  347. " S4 ~7 v: ^+ h3 d4 V6 @8 H
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    , T/ }4 v. C+ h! ]7 I5 i) k
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( {% r# y" V0 }
  350. ; Only affects if zend.multibyte is set.  O* D! H7 Z" g$ S  k
  351. ; Default: ""
    9 K5 D' G4 b7 P! U$ A
  352. ;zend.script_encoding =; N- j5 f. i& t; H

  353. 1 w2 c2 j3 V; X
  354. ;;;;;;;;;;;;;;;;;
    1 G% f8 d) c% E' T3 m! g% b7 \
  355. ; Miscellaneous ;
    ; |1 e9 T/ r& d! p9 y! E& e# ]9 J
  356. ;;;;;;;;;;;;;;;;;8 H, o* j) G4 M( x& `1 y
  357. 1 `% u7 ]0 \' s2 j
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    # a0 w; q* i" ~% i: h2 a; ^9 F
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 \" S7 [% z- N) P
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    # H$ R' T* V9 ^6 F
  361. ; on your server or not.
    & U1 z/ }5 t5 U
  362. ; http://php.net/expose-php
    ' N$ u# x6 T- |# w" j6 h
  363. expose_php = On; F) e) j" |, ^* a2 \7 O# m0 z& H
  364. 1 o$ ?" ~5 k/ |2 h/ s+ _
  365. ;;;;;;;;;;;;;;;;;;;
    , h5 J! l" \6 d! c% u8 b( ]1 N0 Q
  366. ; Resource Limits ;
    ! @7 T# j4 I6 _3 ^+ x8 A
  367. ;;;;;;;;;;;;;;;;;;;+ Q& X9 m3 ^: y7 P" A0 U( A4 Q
  368. ; P7 @* ]9 |% y+ O
  369. ; Maximum execution time of each script, in seconds8 M. d& {- P" U$ d* M
  370. ; http://php.net/max-execution-time
    2 D' e) X! B5 v3 {, I& x$ w) T! ?
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # O3 d, m% |0 F. D/ |; m% A
  372. max_execution_time = 300% ]9 h* A8 P- v) N

  373. , V" R! n  B5 i  H2 @6 M
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
      `3 w' }% {) \( }( ^
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ l2 n7 a( d! b: u/ b  _5 ]
  376. ; long running scripts.
    " U9 Z" T" c3 [8 g
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 n* v0 ^4 u8 B+ a
  378. ; Default Value: -1 (Unlimited)
    * @  G7 o8 v3 G3 f
  379. ; Development Value: 60 (60 seconds)# X% ^/ Q3 M: n' r
  380. ; Production Value: 60 (60 seconds)
    3 o+ L! m# {: \2 r; @
  381. ; http://php.net/max-input-time) j/ {! P2 }" B; ?, Z
  382. max_input_time = 60) g7 B. l" m: |! P
  383. . K- c3 d' h! S- F# Z
  384. ; Maximum input variable nesting level
      \! {" B/ O' ^% V2 o7 O
  385. ; http://php.net/max-input-nesting-level, F9 U0 u$ V3 H1 V$ w7 v/ Q8 s! Q# o
  386. ;max_input_nesting_level = 64
    / l5 N& G) l, |8 c8 W

  387. ( g4 O  T" t$ r5 w0 r7 ~
  388. ; How many GET/POST/COOKIE input variables may be accepted
    / U5 g8 K! x8 M! R
  389. ; max_input_vars = 1000
    ' ^0 g4 P$ v; Y8 t5 J7 v0 J

  390. ' w4 q8 c7 J9 s( E! o8 W5 o/ }
  391. ; Maximum amount of memory a script may consume (128MB)
    0 a: C" }1 A' t" o1 o
  392. ; http://php.net/memory-limit1 ?8 U% K4 B  h8 F% _
  393. memory_limit = 128M
    8 D3 _2 e4 @' M0 T; s6 H7 H/ H
  394. ; v) L* P7 d/ Z: @2 X
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( i0 Q$ m5 d0 u( Y/ R% y
  396. ; Error handling and logging ;
    / r5 B6 i% z) E; ?* S
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 o9 n; V8 j' f0 X/ V# h, r

  398. . J9 h4 ]3 q/ L( w; q
  399. ; This directive informs PHP of which errors, warnings and notices you would like8 v/ m+ }2 @% ?6 n; I3 ]
  400. ; it to take action for. The recommended way of setting values for this
    4 y/ W% f: _4 N) L5 U
  401. ; directive is through the use of the error level constants and bitwise
    5 g  O! i# Y6 k; @
  402. ; operators. The error level constants are below here for convenience as well as
    " J' e1 L: u- v1 Z
  403. ; some common settings and their meanings.
    # G; W9 o, v1 z0 M- N
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + @: T5 X* v+ T% v- B$ }# v
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. O( W7 |+ K! a5 S
  406. ; recommended coding standards in PHP. For performance reasons, this is the9 k5 d6 G# k7 y
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    2 }" L. v6 F, _( \; }8 ^, [9 @; b' a+ G
  408. ; resources complaining about best practices and coding standards. That's what) X( P' A$ L1 W4 I& E! ?% R
  409. ; development servers and development settings are for.
    ( u4 f' W+ N+ v' h& q. |
  410. ; Note: The php.ini-development file has this setting as E_ALL. This1 F9 Z7 N5 `8 A* q: g4 i6 b
  411. ; means it pretty much reports everything which is exactly what you want during6 {. F$ E7 j/ A' i0 ]) ?
  412. ; development and early testing.
      b! Y7 X9 r$ W  y- p$ v
  413. ;7 d! U5 q5 ~, e+ O+ ?* l/ E
  414. ; Error Level Constants:8 Z% T8 ~- d  m- w9 D1 `( z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- W4 k, V& t+ l1 U
  416. ; E_ERROR           - fatal run-time errors
    1 k+ g* D& v2 M( x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 i, }3 ]) I% c3 Q! I  `9 N# D; c
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 i' R) Y/ W- X6 z3 i
  419. ; E_PARSE           - compile-time parse errors+ u! I1 v4 ]& |; _; O# u
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 r3 q/ }' o4 T+ L2 w) H
  421. ;                     from a bug in your code, but it's possible that it was
    & K$ J1 h" U  ], L
  422. ;                     intentional (e.g., using an uninitialized variable and
      Y$ G; Y9 [4 K8 [9 i
  423. ;                     relying on the fact it is automatically initialized to an
    5 n. E* @3 |+ s- |
  424. ;                     empty string)1 g; ?% B, t4 J/ x
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ W( h2 {& y) h# ~6 T4 b
  426. ;                     to your code which will ensure the best interoperability
    3 }3 \7 c3 b0 y' \3 i/ v7 {/ w
  427. ;                     and forward compatibility of your code
    % H0 Y, R+ Z3 Z  Z# a
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 W2 @6 Q& @" S) b
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 M7 k0 @; t; H3 l  d% N8 b/ y2 o3 h
  430. ;                     initial startup
    8 T. O9 G' V# ^, I
  431. ; E_COMPILE_ERROR   - fatal compile-time errors* O, T# C0 S& C' K% T$ E" l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 d3 S7 l7 ^4 f5 C' ^/ N$ X
  433. ; E_USER_ERROR      - user-generated error message
    1 c( f2 V% _9 c8 ?/ z7 R( L
  434. ; E_USER_WARNING    - user-generated warning message7 f% u8 n8 _8 j6 f
  435. ; E_USER_NOTICE     - user-generated notice message# A) z% _; C/ k
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & ]4 [& V% |, h
  437. ;                     of PHP; H& L- s. p" l# Z9 m4 f. q% K
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; j( N8 R, ?7 ]& V2 C
  439. ;* }' H! }0 D9 q6 I  q% s' E6 H# m9 {
  440. ; Common Values:) q" Q- O" q8 u, M: H0 A# L- t, V
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( g) ~; D9 S: m
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' g: f1 C1 V; H0 b7 W
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    5 P7 X$ f& ~; b" z/ c+ Q5 N& W$ Q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors); S, s2 K9 N/ h' _3 |
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" G( J9 D. ]7 j6 t
  446. ; Development Value: E_ALL8 ^6 |9 W$ l- X9 i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 c/ m( ?$ Q" }- h% j
  448. ; http://php.net/error-reporting
      B6 Y0 ~/ L3 F+ l
  449. error_reporting = E_ALL & ~E_NOTICE
    4 U/ f/ ^0 N" ^0 [! s& Q

  450. ; k$ ~$ o# [" p8 B4 u: c
  451. ; This directive controls whether or not and where PHP will output errors,  t/ w  w' D  X+ U) p% y4 e4 S2 m. l, a
  452. ; notices and warnings too. Error output is very useful during development, but; ]$ O$ u9 e8 M( L5 b" a8 g7 D
  453. ; it could be very dangerous in production environments. Depending on the code7 A3 r2 Q4 N- F: o# H
  454. ; which is triggering the error, sensitive information could potentially leak. d& Z6 `" A) m4 \& f2 F7 E
  455. ; out of your application such as database usernames and passwords or worse.9 o6 g8 H' s& x1 R& y  ]6 p
  456. ; For production environments, we recommend logging errors rather than7 v: U6 _3 q4 m) W+ C6 V2 e
  457. ; sending them to STDOUT.
    ( ]2 e0 Q  D3 X7 F8 [& Y; D
  458. ; Possible Values:
    ( p, o# U, z- J9 M
  459. ;   Off = Do not display any errors1 f" }0 D6 y0 L: v/ c% x3 O7 d
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) b& k1 c9 [: q
  461. ;   On or stdout = Display errors to STDOUT$ }3 B, |+ a7 y9 G& {* c
  462. ; Default Value: On
    , s4 P# ?" Y5 Y: Z" x% m
  463. ; Development Value: On
    7 @" ~7 [4 y" k2 \, [$ ?
  464. ; Production Value: Off
    , J1 N% Q( ]9 `; |# ?, o" J
  465. ; http://php.net/display-errors
    5 b& `1 z1 H# H: F+ W
  466. display_errors = On6 N& v4 z- z/ Y! A

  467. ' v. I* L+ l/ G6 v( x! ?
  468. ; The display of errors which occur during PHP's startup sequence are handled# F6 z  i3 |6 g" A
  469. ; separately from display_errors. PHP's default behavior is to suppress those, r: A! Q8 t$ m2 U" z  L" l; M7 e
  470. ; errors from clients. Turning the display of startup errors on can be useful in$ f) w' k9 x, L) J1 B
  471. ; debugging configuration problems. We strongly recommend you
    ) V& _, I" f- l4 s. ~  D  I
  472. ; set this to 'off' for production servers.1 a8 K; L# x3 {( o
  473. ; Default Value: Off
    ! L5 u( X9 \2 s2 I7 ~& {
  474. ; Development Value: On+ u+ F% S8 D2 l% n! Y/ C1 B' o; R6 z
  475. ; Production Value: Off. S* r; e9 _& \2 J2 n7 i9 b
  476. ; http://php.net/display-startup-errors
    8 a5 t# v8 C+ i5 Z% n
  477. display_startup_errors = Off
    ! A3 X9 {' C( P3 g8 Y. x! R. `: |) w

  478.   Z' F7 X* z; r- d% W/ }
  479. ; Besides displaying errors, PHP can also log errors to locations such as a5 _& ?9 J4 z) V2 X) x" N
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ( H" U0 `4 J( J& O; C
  481. ; directive found below. While errors should not be displayed on productions, K: P+ O( Q' b. c
  482. ; servers they should still be monitored and logging is a great way to do that.: @: T6 [0 o, I7 o% i
  483. ; Default Value: Off! e) i) ^( m0 A8 t, I9 i
  484. ; Development Value: On
    2 d. B- x6 }$ R
  485. ; Production Value: On
    # P0 O& `" {0 n
  486. ; http://php.net/log-errors
    # v# U  j; f1 z. T0 [4 V9 h3 Y
  487. log_errors = On
    - y% p( T$ |7 X$ q8 f
  488. ) H2 [. u$ d! {1 z1 o
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ) T5 [0 ]$ \$ M2 Q" `9 @
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : K, N- O( e# M) G' y& p! r- ?" T
  491. ; http://php.net/log-errors-max-len
    : K7 v2 ^4 x. P  t& T
  492. log_errors_max_len = 10245 ~/ D4 e% k/ C5 k; N  c+ q
  493. 3 l( v; ?" V% U; _+ ~8 f
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same7 f* u; z5 x, A4 d/ g! U
  495. ; line unless ignore_repeated_source is set true.
    ) ]4 f( k' V, ]# L& r. R
  496. ; http://php.net/ignore-repeated-errors. T  G+ _1 X- k+ I9 t6 U0 H) {
  497. ignore_repeated_errors = Off
    ) r' l) p9 I- R
  498. " f5 ]0 }( n4 q: S
  499. ; Ignore source of message when ignoring repeated messages. When this setting& \) q& A' W, d
  500. ; is On you will not log errors with repeated messages from different files or
    * r" A# L4 w+ d7 h
  501. ; source lines.
      c% e2 M( X1 E! W. ^
  502. ; http://php.net/ignore-repeated-source
    9 u6 Q+ ]$ T+ V9 E' e
  503. ignore_repeated_source = Off0 z( Z8 N5 n- C8 |! m' i
  504. ! B8 H  ]2 ^2 Q, d" D1 b
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on7 Q# }# {2 s, G! E. a! I5 g
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    7 U; U& x; D/ b+ v  c* l, Y
  507. ; error reporting includes E_WARNING in the allowed list) G- U* C6 j  b0 z/ f* q
  508. ; http://php.net/report-memleaks
    # U9 ^; r; y# R
  509. report_memleaks = On
    * Y& E. p1 o  w9 d- e

  510. 5 Y% Q5 S! M5 [! J6 k) X
  511. ; This setting is on by default./ H9 d& v; O: H# w
  512. ;report_zend_debug = 00 a0 T, q" n$ \3 K
  513. ; p/ |, q+ T' H+ L/ {
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value" l' p% ^1 h4 t
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ( l  u! Q+ S. s; x2 V8 j; V- u
  516. ; however be disabled on production servers.
    + G3 c6 d/ t3 c' Y
  517. ; Default Value: Off
    ' A3 m" p$ t7 {. N4 N4 g
  518. ; Development Value: On
    . M& i1 r. q$ m4 j, K3 o
  519. ; Production Value: Off- l2 b- X: a  y5 i6 \
  520. ; http://php.net/track-errors
    ) K9 T) }" E% U! w+ h0 h, e+ P$ Q
  521. track_errors = Off: _% P2 _8 V  v. L9 A

  522. ; Y0 T, b. h3 i& C0 x+ f
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    4 u1 |3 v4 ~" a$ x- Y
  524. ; http://php.net/xmlrpc-errors0 t' \; i1 Z8 Z. I
  525. ;xmlrpc_errors = 0
    * S7 {' [6 |% D+ `! |
  526. ; t3 B$ l, T6 X6 @" B
  527. ; An XML-RPC faultCode9 A$ R& W3 S; m
  528. ;xmlrpc_error_number = 0
    9 K& E- T1 o3 c- K' I, N

  529. 6 J- E" v* l, K7 q( e1 y3 R
  530. ; When PHP displays or logs an error, it has the capability of formatting the% Y4 u" _. x& z( I* m: a# G, n" F
  531. ; error message as HTML for easier reading. This directive controls whether# w  F/ R. h5 t1 d
  532. ; the error message is formatted as HTML or not.2 Z% f2 e8 c8 y% W! l( Q& @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , B: I9 N' m: c8 \
  534. ; Default Value: On
      f9 _8 }& x6 x
  535. ; Development Value: On. R' d: Q6 W! A3 k4 C4 w3 ^
  536. ; Production value: On$ T& ?! ?. p/ O6 U
  537. ; http://php.net/html-errors
    , w! b8 d) d4 l! n! c6 ^. A% m
  538. html_errors = On
    4 z5 |) W9 C  w

  539. + D; ~; t, ]" D9 g' C5 G
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 k+ g9 N1 b4 b/ @
  541. ; produces clickable error messages that direct to a page describing the error6 K* |2 u# a, x, }% S+ b8 b4 P( Z
  542. ; or function causing the error in detail.6 x( X6 `$ y$ X' [! m
  543. ; You can download a copy of the PHP manual from http://php.net/docs/ K9 M! ?9 I5 c" ^
  544. ; and change docref_root to the base URL of your local copy including the8 p% c, V% b% ?
  545. ; leading '/'. You must also specify the file extension being used including2 {! S9 t- r/ n) V
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which' x: K( `7 ]: _& ], X' J
  547. ; case no links to documentation are generated.
    ) U; B. V5 U/ e- w) e3 d
  548. ; Note: Never use this feature for production boxes.& N' ^& F. n' `9 [1 B/ g( }
  549. ; http://php.net/docref-root
    * L0 |1 w0 \, F0 ~0 f) o
  550. ; Examples* i* @6 f/ K0 R9 o% _5 d
  551. ;docref_root = "/phpmanual/"- F& y- C, V' o5 j4 a
  552. 3 v  x" ]+ m) u, V+ A' ~9 b
  553. ; http://php.net/docref-ext) V) P  f% f2 n4 r
  554. ;docref_ext = .html9 S; j6 [1 _/ ~* V

  555. : q6 j$ a  l  K. Z; w2 h) E2 y
  556. ; String to output before an error message. PHP's default behavior is to leave) \+ P; y- k9 x0 k4 _0 |' A. @9 g3 B3 }- G
  557. ; this setting blank.* _) \/ u; b! F6 L+ L7 A; h
  558. ; http://php.net/error-prepend-string6 ^/ N/ ^, b& ~/ a
  559. ; Example:: V  W- d, y; n0 M9 T) L
  560. ;error_prepend_string = "<span style='color: #ff0000'>"( l" i/ F3 N7 ?0 g  Q# |% t
  561. 0 _+ p! a5 u, g" z
  562. ; String to output after an error message. PHP's default behavior is to leave
    & ^, b, c) c. y
  563. ; this setting blank.6 E' W% k$ z! x
  564. ; http://php.net/error-append-string
    0 y7 [% x5 e) b; I
  565. ; Example:
    5 c. V- u: C5 H( A  h
  566. ;error_append_string = "</span>"
    8 \; X, d7 m0 d" I. W* e
  567. 8 L9 W- K9 a- U6 b1 U; ~, m5 z
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 K0 l% v% V# |" R3 R$ G
  569. ; empty.' |6 r2 D3 P4 [# w6 J8 I
  570. ; http://php.net/error-log7 A* D; r- A, |* Z. N3 i  s
  571. ; Example:
    9 J. _" l2 _: G; P0 Q
  572. ;error_log = php_errors.log0 G7 K) A6 |$ s# W: B
  573. ; Log errors to syslog (Event Log on Windows).9 w& @; U1 v: h, Q
  574. ;error_log = syslog# O* U6 B3 C2 ~1 T, Y
  575. + B1 Q" }! m; b9 }* |
  576. ;windows.show_crt_warning& ?5 e8 q' z2 d% k$ I% C" E+ H
  577. ; Default value: 00 ~" y+ r' b- j) ^
  578. ; Development value: 0
    $ A) @; P* k# v' l- ?( O
  579. ; Production value: 0
    1 U! k2 Y/ m/ C0 c% R

  580.   n9 A% A' o4 D
  581. ;;;;;;;;;;;;;;;;;
    1 F! B: w( s3 Q5 A1 q% k5 ]
  582. ; Data Handling ;$ O% D' J, c+ R! [  c! y
  583. ;;;;;;;;;;;;;;;;;/ j' b, j3 H" S& t, e5 L9 D
  584. - E9 E# a7 T. R+ J2 Z
  585. ; The separator used in PHP generated URLs to separate arguments.
    8 M# Y9 S( N# H. ]% c5 l
  586. ; PHP's default setting is "&".
    & E. Q1 K/ P- b' @$ F/ a" E- B5 w
  587. ; http://php.net/arg-separator.output5 r. S$ f+ i7 Q: t  b
  588. ; Example:
    7 e5 e- [: h+ Y1 w1 `' i5 {
  589. ;arg_separator.output = "&amp;"
    / ?; a4 U* }* I7 R3 }& N/ k8 ~

  590. ) F6 E  }. L& c8 F
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! j6 p1 r7 V5 N/ t3 u4 f
  592. ; PHP's default setting is "&".
    ! {' R! z1 S7 z' U: P9 p
  593. ; NOTE: Every character in this directive is considered as separator!
    - d+ [: k9 O% B, t7 N
  594. ; http://php.net/arg-separator.input" D* T! I, V( s5 z9 b
  595. ; Example:/ ?) {: n0 {  r; }& E9 `
  596. ;arg_separator.input = ";&"
    2 A/ ~- R5 D7 J* S) g& u& E6 l
  597. 5 Q& ]: r; v, }4 R- \4 y
  598. ; This directive determines which super global arrays are registered when PHP4 g* B5 J' S8 C! ?  w9 {
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 A4 e5 t# H$ \6 v3 P$ f
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 B  p" D; V7 m* d1 g* v* M
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    6 g! a4 R5 Z4 G0 B. w+ Y; [2 S2 D
  602. ; used as the others, ENV is not recommended on productions servers. You
    3 ^  g, W, ]( W, C9 |
  603. ; can still get access to the environment variables through getenv() should you4 p" E& r8 a5 p  }2 l( w
  604. ; need to.% S/ ]0 T' @9 ?- j/ S
  605. ; Default Value: "EGPCS"5 c3 ~& V' x7 [7 o+ U( E
  606. ; Development Value: "GPCS"3 Z) ]- V7 Z2 B1 |
  607. ; Production Value: "GPCS";% ]3 O% K6 @7 J& q
  608. ; http://php.net/variables-order
    + U' n! e  m; P0 P/ k" v
  609. variables_order = "GPCS"* y; u3 |) v' ]% b4 j5 Q

  610. # X" \& B- d) i  Z
  611. ; This directive determines which super global data (G,P & C) should be
      t9 M' Z9 Y' Z2 E& ~  X
  612. ; registered into the super global array REQUEST. If so, it also determines% E5 P/ f7 k& L% b; j1 Q
  613. ; the order in which that data is registered. The values for this directive
    % M' F) {3 R* K
  614. ; are specified in the same manner as the variables_order directive,
    , K1 Z( r  ~6 s5 v& N/ C% c
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set2 X; I% |, D' C7 y
  616. ; in the variables_order directive. It does not mean it will leave the super
      c9 y) Y2 ^8 r# A: \% j2 V
  617. ; globals array REQUEST empty.
    # u- d" s; ~: c; a2 C/ ]
  618. ; Default Value: None0 y& Q# K  `% q/ {" E& G
  619. ; Development Value: "GP"
    + J/ ^- f8 q2 I; _0 ~, a( X! a2 y
  620. ; Production Value: "GP"
    % }3 `' Y) L$ J9 G1 ^0 f
  621. ; http://php.net/request-order
    # I0 `3 m& {+ X6 T1 s
  622. request_order = "GP"4 v% ^: a6 {" a' v" {6 @
  623. + y1 g( f0 e+ b& U  i4 q
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    8 H& E5 _: c, ^3 P$ v; s: O! P9 A) u
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    $ P2 o  ~: i- Z# [0 {# Y; f
  626. ; is invoked. $argc contains an integer representing the number of arguments
      q/ s& ^9 C8 h& K
  627. ; that were passed when the script was invoked. These arrays are extremely3 e( R6 _$ i- ]: {3 ~2 n0 Y4 e
  628. ; useful when running scripts from the command line. When this directive is* n3 h. P7 X! y# S5 p
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 @" t$ V" F  ]7 q/ m2 y* H
  630. ; a script is executed. For performance reasons, this feature should be disabled5 l4 g; i6 i) Z
  631. ; on production servers.# j( L2 U* z1 d
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 X, K6 T0 I4 h3 X: x4 l% b/ N
  633. ; Default Value: On1 N$ t) r& Z' M; Z
  634. ; Development Value: Off5 `4 g# d# x8 u! U& J" W
  635. ; Production Value: Off( ~: [& a! R; P; n
  636. ; http://php.net/register-argc-argv! g9 u/ b3 |+ p: [) c
  637. register_argc_argv = Off9 \$ x% {7 ?/ I5 e

  638. . C& W! m+ U4 c& g, m
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # g( U3 f( l3 ^- g! B' Q
  640. ; first used (Just In Time) instead of when the script starts. If these
    9 r% J+ r" Z  N- x
  641. ; variables are not used within a script, having this directive on will result
    - ?) x1 Z% }/ v5 H, m$ W% C7 a
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % p1 Y5 H( ^+ N5 R! D
  643. ; for this directive to have any affect.
    1 P2 N& A  p- c0 j, p, {
  644. ; http://php.net/auto-globals-jit
    : d9 I# ^8 |1 Y- Y+ `
  645. auto_globals_jit = On, `, C, E/ G5 {# z. Q4 p0 `

  646. ; z' i4 U( Z- E  Z% W, `
  647. ; Whether PHP will read the POST data.
    4 I+ p# H6 X: C, Y# m
  648. ; This option is enabled by default., f" W6 o; U6 @
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST; @3 G  c; M2 z8 y  z
  650. ; and $_FILES to always be empty; the only way you will be able to read the" }2 S5 ]3 ~9 i# E5 f
  651. ; POST data will be through the php://input stream wrapper. This can be useful  J7 @" @8 j, }5 y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.# ^& P( J% t+ U7 H  ~* M  _9 u7 P: Z
  653. ; http://php.net/enable-post-data-reading
    " P7 W2 t) E) N; L: g# k
  654. ;enable_post_data_reading = Off( Y9 {! Z& i: |1 f+ L. @! j

  655. 5 M% H: n9 l& B4 z$ v
  656. ; Maximum size of POST data that PHP will accept.
    ' m9 X" h9 l* W0 a% G0 `% q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 m& X! h0 L, g3 P
  658. ; is disabled through enable_post_data_reading.
    7 N/ Y, r9 }5 J. ^" e
  659. ; http://php.net/post-max-size/ R* H8 g) N0 S8 n
  660. post_max_size = 50M
    " [4 ~8 s+ {) ~. a
  661. : M5 x" a/ w: X7 H' j
  662. ; Automatically add files before PHP document.2 _, G6 a0 Q. V& N3 R
  663. ; http://php.net/auto-prepend-file
      Q# l  o1 L- L" S$ Y7 g
  664. auto_prepend_file =$ n, G& N( c, I) F6 W" }( L! T+ h
  665. : r& n/ n/ g8 q  e
  666. ; Automatically add files after PHP document.
    4 A2 h7 |# Q9 J' J
  667. ; http://php.net/auto-append-file1 E! z. ^; z+ N) K& ]" n3 }
  668. auto_append_file =
    4 n4 O. `( j* e$ {
  669. 3 s  f- O) M* T( ]7 a
  670. ; By default, PHP will output a media type using the Content-Type header. To
    9 K2 P" i2 b3 ?& v+ e
  671. ; disable this, simply set it to be empty.
    ! k* ?- e# V9 v0 F* b# Y% S
  672. ;9 T4 c: g- {, g
  673. ; PHP's built-in default media type is set to text/html.
    # L$ ?. \0 C9 z8 u% J# }
  674. ; http://php.net/default-mimetype( U4 h  D  @3 X9 t
  675. default_mimetype = "text/html"" p2 f' O' y" A9 U! E# |
  676. 6 A+ y' B; y: [& G' f8 _
  677. ; PHP's default character set is set to UTF-8.. T1 Z/ Y! P9 p) y5 V* Z, o5 x  ]
  678. ; http://php.net/default-charset, M8 \/ ?0 T+ |
  679. default_charset = "UTF-8"
    4 p! ~- A/ r4 g' n7 W6 F! O

  680.   o" q" w, P' c- m) A- @
  681. ; PHP internal character encoding is set to empty.1 _4 `8 o7 y# q" B
  682. ; If empty, default_charset is used.
    & m% q# o" |" m' d! k/ k( {
  683. ; http://php.net/internal-encoding
    ; Y9 `+ O. j4 {" D" W, B
  684. ;internal_encoding =* `9 x2 J" ?9 t6 J" L3 K+ c
  685. & h& D7 p8 `; _8 C
  686. ; PHP input character encoding is set to empty.
    , P# H/ ~! q  s: Y+ E2 f  J
  687. ; If empty, default_charset is used.' s3 S' N. H; {% }% W3 V, l# Y% f. v
  688. ; http://php.net/input-encoding
    % O! V7 }9 P& c+ k/ }5 O
  689. ;input_encoding =
    ( \" L+ n6 \  j6 C

  690. 3 q" X7 m" X9 w) m
  691. ; PHP output character encoding is set to empty.
    $ s' A/ a* p! B9 _3 k9 ^
  692. ; If empty, default_charset is used.
    & D1 |% a0 T8 _& b
  693. ; See also output_buffer.
    " v1 V. [+ l7 C* j9 G1 Z3 ]
  694. ; http://php.net/output-encoding
    9 M/ r& _! t6 G# G# Y
  695. ;output_encoding =6 k, u) P) t! @3 V+ m, P
  696. ) _% [. B) v0 ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is" ?1 F, N: ~8 p: t' N* i" U& w6 `
  698. ; to disable this feature and it will be removed in a future version.! Z6 h1 H5 j# Y& c( T9 @# O7 P6 ~
  699. ; If post reading is disabled through enable_post_data_reading," O9 w/ R5 w2 ~; a4 f$ t/ `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    1 n0 h- o3 A- z2 F( @7 f
  701. ; http://php.net/always-populate-raw-post-data; u% K1 p0 \5 n( o2 ]6 @
  702. ;always_populate_raw_post_data = -1
    9 g6 ]7 B* [8 Q8 G9 Q9 w  h+ M
  703. 6 g$ T7 E3 A. U( K
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;! N' I4 U3 S( w/ F8 T" _* v
  705. ; Paths and Directories ;( F: E4 j- C. p6 m$ y/ H
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - p, r* S" D8 R
  707. # g* P3 J2 }& @2 Q- S
  708. ; UNIX: "/path1:/path2"2 D0 N& W+ l9 T2 h
  709. ;include_path = ".:/php/includes"
    " Q: }. q3 V1 I5 L1 K
  710. ;7 A8 [: j4 a, j1 O  A
  711. ; Windows: "\path1;\path2"
    $ P: ^# u8 w- x( C: ^
  712. ;include_path = ".;c:\php\includes"
    ( j: v/ _& g1 f3 z) k
  713. ;$ Q5 K4 n4 l/ v. S* [) a
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear") U( w# p% ]! Z  S9 C% A
  715. ; http://php.net/include-path
    8 F0 \9 |0 N+ o6 J1 z

  716. 2 h3 w- T. q) j& O
  717. ; The root of the PHP pages, used only if nonempty.8 D, u2 g% _9 C5 o; {0 l6 j+ A
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    0 B) d( `0 d% X9 I
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' f( \1 C4 i% S  p" M) d. u3 s+ w
  720. ; see documentation for security issues.  The alternate is to use the
    " _+ s  A, w  a& ~
  721. ; cgi.force_redirect configuration below3 I$ P5 B# B+ K& P" e
  722. ; http://php.net/doc-root2 x! W; R' g& S
  723. doc_root =
    ; p6 T1 x* F# {+ l) ~0 ]) B

  724. ' Q* H# p# B* p5 k, r7 W
  725. ; The directory under which PHP opens the script using /~username used only  o9 Y, Q* D! V/ V* i
  726. ; if nonempty.
    ; b$ x# i( L$ ~9 p, a
  727. ; http://php.net/user-dir7 L7 B& M  ?0 w  r7 S
  728. user_dir =
    & G9 J* I3 P( u

  729. ' y$ ^8 u: Y& t/ K  G% {) U
  730. ; Directory in which the loadable extensions (modules) reside.
    1 p1 G3 ?2 R7 V; ?: ^# L$ q4 ~
  731. ; http://php.net/extension-dir
    2 x, c5 a4 ^" b
  732. ; extension_dir = "./"
    ! U6 R# t) R" @# C' a- ?4 B
  733. ; On windows:
    8 j2 M# T5 r# {
  734. ; extension_dir = "ext"; Q/ n1 m% f' u5 e, ]! F% V" W
  735. . l/ b1 w* P5 w$ M
  736. ; Directory where the temporary files should be placed./ S* Y: W- A7 T% x" C, T7 r1 t6 n% c
  737. ; Defaults to the system default (see sys_get_temp_dir)
    4 h' N1 I' a- U) _2 K9 p5 ]% b
  738. ; sys_temp_dir = "/tmp"
    - P+ T1 X; _7 `* X3 q. F
  739. & U4 D- b- s+ C" t# @6 O
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work5 k  U! r1 k5 U9 |" Z) S' O
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. V/ @: C* e. i2 J
  742. ; disabled on them.. J; w$ |) }9 ~+ T6 N: _) V
  743. ; http://php.net/enable-dl
    . m) ?5 W; D- c% ]* I
  744. enable_dl = Off0 b* S$ |. s" }2 ?  n+ Z' ~7 W
  745. / m- j  a# H+ N! Q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - w0 v: n3 _# v, P7 y
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can+ l$ \# o# @9 U2 e; H
  748. ; turn it off here AT YOUR OWN RISK( P( \+ g# p/ m: g4 j3 D% u! ~  B( ~2 C
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; _- t! c* [: H; `0 d: o$ t! s! M
  750. ; http://php.net/cgi.force-redirect
    6 ^# k8 v+ o! I
  751. ;cgi.force_redirect = 1
    ! {, ^) d7 k/ W

  752. & `  k5 K% w% N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with% ~2 F. a, z1 k: l1 K' z
  754. ; every request. PHP's default behavior is to disable this feature.
    , }5 q; j* e0 N# l7 d
  755. ;cgi.nph = 1. ^+ h' R3 F) b7 x/ @

  756. ' @2 N' Q0 v) ^5 B% q, P: t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  A/ I8 j% O- ~3 H
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP& j! W6 \& R% L$ A
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ! C, T0 O/ H) N/ }9 l
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ) p1 v, |% x0 ^& b2 a% G* l" T; p
  761. ; http://php.net/cgi.redirect-status-env9 X: g$ Z2 o, n" Y' J5 J
  762. ;cgi.redirect_status_env =
    ! I$ `' ?" A7 W) ^' S' [5 u
  763. 0 R5 ]2 i8 u. w: }) R" Z$ E2 C
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    # N. a- k! y2 {
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    0 S. b: N3 W! D% w  x! ?- J, }3 I
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting+ z0 Q9 q' @3 M* }+ ?
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ ^9 a" b1 t9 Q
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 u2 R% K* \5 o! Y$ U+ H2 H! g" }0 H
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: {& |: }6 O( m- B: H+ M
  770. ; http://php.net/cgi.fix-pathinfo
    1 @- Y! w, B+ Z, ]$ X
  771. cgi.fix_pathinfo=1
    1 H% X! Z8 k  n

  772. 9 C9 ~' g! T, Y3 ?% Z; r' V& U
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside0 N4 h# |. L2 r4 g" C7 b
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    , ?7 n! E. n7 g5 S2 t2 k
  775. ; http://php.net/cgi.dicard-path9 I8 Z7 {: S7 Q3 }
  776. ;cgi.discard_path=1
    + h; r% W" `) A/ s6 U1 {5 L8 t& @
  777. 0 Y9 ^: k5 {: x7 w* H
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 R* D( `) x. \, X$ Y: C
  779. ; security tokens of the calling client.  This allows IIS to define the' I8 G' e% P: b! R5 F( N
  780. ; security context that the request runs under.  mod_fastcgi under Apache: x* \* i( M8 o2 y6 F
  781. ; does not currently support this feature (03/17/2002)" r, v/ G. z; J4 U
  782. ; Set to 1 if running under IIS.  Default is zero.
    5 B7 K! S1 r. o' ^& B# B
  783. ; http://php.net/fastcgi.impersonate% _8 H7 g+ h, s" O+ U* z/ N
  784. ;fastcgi.impersonate = 1
    8 R4 R" V' r  r& z( W9 A

  785. ) J, u3 i1 ]$ w4 b' o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ I) ]  f  R. I2 d4 v+ }
  787. ; this feature.
    : N4 u! l$ B  y& N8 O- W) n" i% b& a% }
  788. ;fastcgi.logging = 0
    ! w* y, |; ], A) t
  789. : I3 v3 a& I( ]" U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 @7 |( P+ q: T+ T" n
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; n0 e! m/ w1 C! i# W9 W( g, u, F
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    / _* Q. y8 y& A
  793. ; RFC2616 compliant header.- d+ N1 {/ H9 z8 \& ?7 {- b4 j
  794. ; Default is zero.1 V3 j3 H# H" j: @. w# H/ {
  795. ; http://php.net/cgi.rfc2616-headers6 [( |+ y3 I- C
  796. ;cgi.rfc2616_headers = 0
    / d, F  G7 H- N& k; o/ h/ b7 \
  797. . W  E) q  W+ Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!0 ]6 {- C3 t8 Q1 d
  799. ; (shebang) at the top of the running script. This line might be needed if the. ~; e9 i9 g3 p3 {& r# a
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; G& G; l" S8 B4 A/ o, h
  801. ; mode skips this line and ignores its content if this directive is turned on.
    6 _  d2 |1 }0 [/ Z! [  w8 i* \  j
  802. ; http://php.net/cgi.check-shebang-line
    / S3 f3 _1 Y" R( R7 c
  803. ;cgi.check_shebang_line=1: z+ G$ `' C" c1 ^2 M# Y/ @0 h# [5 y

  804. 5 F- p. R( V5 l/ g( B
  805. ;;;;;;;;;;;;;;;;
    ; G, Z; a- s; F- J5 x& Q
  806. ; File Uploads ;
    8 @; C  y6 o3 i3 c1 J9 }# K
  807. ;;;;;;;;;;;;;;;;" K: y. h6 h. x# X- b9 w9 I2 b9 t

  808. % d, k* i; {3 i5 b3 I) o+ N8 ~
  809. ; Whether to allow HTTP file uploads.
    " u7 T, a9 l$ _. Z" ?3 J# e
  810. ; http://php.net/file-uploads1 }" p9 t7 X# L' }" g8 G* d" B
  811. file_uploads = On
    $ S- v$ |  R* I0 U
  812. 8 Y* z& H  z- x) |% S
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 j4 T3 h0 i  W+ y# f. m
  814. ; specified).
    * {" r0 e5 Q" @# o% a# ~
  815. ; http://php.net/upload-tmp-dir+ C' z! {1 {0 z5 F7 W0 I3 F) b
  816. ;upload_tmp_dir =% ]; `- E2 e# T2 y8 ?% @" r

  817. ' t4 j4 @/ n6 Y
  818. ; Maximum allowed size for uploaded files.9 F/ F  T/ I7 @. d9 d" ^
  819. ; http://php.net/upload-max-filesize
    % k& ]" k8 p6 v& |
  820. upload_max_filesize = 50M
    0 n" @: e( k" h2 c6 Q; g
  821. ' u4 |, O% M% V7 \0 w5 p
  822. ; Maximum number of files that can be uploaded via a single request
    ' u( W( Y( ^* R1 }4 N  h8 }2 ]
  823. max_file_uploads = 20
    , @6 e1 W4 E& _* K- x
  824. # U9 `' M) q' d$ P
  825. ;;;;;;;;;;;;;;;;;;
      u! }& ~- r* p$ j
  826. ; Fopen wrappers ;$ y2 N4 S' h; n, G
  827. ;;;;;;;;;;;;;;;;;;
    3 I# \" w/ K0 _1 P1 ^

  828. ! Z. n9 N8 n, U
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      U- w' F; \; i  l. @# L; W# m
  830. ; http://php.net/allow-url-fopen
    * u' ^+ D' m8 [% s4 O2 R$ d
  831. allow_url_fopen = On" \% R0 q5 R$ D; ?8 |. M
  832. $ ]/ Z$ x, E9 |1 b; y
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / a9 |' R7 A% Z8 Y' w( e
  834. ; http://php.net/allow-url-include
    ) ?0 I4 h4 M9 p. b: H- ~' L) `
  835. allow_url_include = Off: w, @' }1 V. }! T' l7 q/ T. N( V

  836. & ]$ H( E% c$ f8 s+ [
  837. ; Define the anonymous ftp password (your email address). PHP's default setting5 q! Q+ ~% b4 d: ?8 |2 F6 G$ b1 C
  838. ; for this is empty.
    " t0 M" Y% |' |+ G- N4 N" x
  839. ; http://php.net/from4 [, r" q7 l  G1 x9 ^
  840. ;from="john@doe.com"
    * }! i! V# n% Q9 ~

  841. 7 n/ u' A) i, A- U: l
  842. ; Define the User-Agent string. PHP's default setting for this is empty., V. ?1 v+ [5 [1 ?1 R  N' H
  843. ; http://php.net/user-agent
    ( Z& c  Y9 e3 r( P7 g% G+ L
  844. ;user_agent="PHP"
    5 N9 F" w  ]- G) a7 }
  845. 9 ]8 S7 \7 h) q9 S& B
  846. ; Default timeout for socket based streams (seconds)1 V7 v! t, ?" y5 Q' I( m8 m
  847. ; http://php.net/default-socket-timeout
    : v* m9 j3 ~. G8 o6 W
  848. default_socket_timeout = 60
    % Y" R0 r8 w& Z; M

  849. % g0 P  Q- L0 h/ t) A; c' `+ k' H
  850. ; If your scripts have to deal with files from Macintosh systems,
    2 z+ Z8 ?3 S3 \9 j, O
  851. ; or you are running on a Mac and need to deal with files from+ V0 B5 d/ I# [. Q8 C7 S
  852. ; unix or win32 systems, setting this flag will cause PHP to
    9 ^) p# j! a2 O( ?( N% J, b
  853. ; automatically detect the EOL character in those files so that
    0 _7 G+ V; V. H  B, c' T5 {
  854. ; fgets() and file() will work regardless of the source of the file.# c$ s* }' l1 X5 P
  855. ; http://php.net/auto-detect-line-endings
    , K% E$ J, P2 ]6 ^# q
  856. ;auto_detect_line_endings = Off% E5 ~: A1 n) ~9 ~# e# U6 P$ `
  857. , ?- [  u6 c9 k+ o
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ) S! P3 A. c% |7 C; N4 b% s
  859. ; Dynamic Extensions ;$ Y( B/ W/ _* G, B$ v
  860. ;;;;;;;;;;;;;;;;;;;;;;
    . z+ M7 D6 N4 n  [; }
  861. ' v5 ]: x. }. ^+ ]
  862. ; If you wish to have an extension loaded automatically, use the following& s6 P$ H) i3 h4 [/ `
  863. ; syntax:
    , o, {, _/ O2 ^, G3 A: Y# s
  864. ;
    9 y4 \7 Q: I" L  F6 x
  865. ;   extension=modulename.extension
    # q4 o0 c! V2 b& r- C3 ?& n6 n
  866. ;
    & r4 i8 D7 H* K' _! Y$ N0 Q
  867. ; For example, on Windows:
    - p+ h5 E7 a0 D; x
  868. ;
    & @; T- n8 n1 }; j. S
  869. ;   extension=msql.dll( i6 h1 `, v, A! g
  870. ;
    5 m8 }- f, I, U
  871. ; ... or under UNIX:
    " ?8 T; l( @! n* g7 M" x9 U
  872. ;
    + _4 p+ p7 M1 k& o8 z: f
  873. ;   extension=msql.so
    # `: n$ \& Z! i- A
  874. ;8 c9 c4 [. H6 M
  875. ; ... or with a path:
      L4 i, _0 E+ ^% A3 p
  876. ;
    ) A7 C* b7 A" |- c( ^% y
  877. ;   extension=/path/to/extension/msql.so
    ' K& R5 X& X" d' q' _! k6 c
  878. ;
    3 G% M8 l& }7 }4 }+ a3 l5 `
  879. ; If you only provide the name of the extension, PHP will look for it in its
    + D0 L0 N5 J- k  p! y* v" n
  880. ; default extension directory.+ m7 V! F& e% A0 M8 `2 N) C3 g
  881. ;
    1 I5 S) u& X& v, V! ^+ F
  882. ; Windows Extensions+ a* k" L9 s" C; l' L
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ! i% |/ \' ]  N* `3 f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    . k6 x3 S$ Y6 v+ R/ h  D
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    : \6 `& c* D( P7 w; k
  886. ; Be sure to appropriately set the extension_dir directive.
    7 h6 w' l3 e( C* F* t  f
  887. ;& U; P* Z9 x: a/ v4 y
  888. ;extension=php_bz2.dll
    4 d# d! I- B1 C' ]( Q, H
  889. ;extension=php_curl.dll
    . Q0 O# G# m3 A1 x  B
  890. ;extension=php_fileinfo.dll
    1 o- [( b6 |/ _( `
  891. ;extension=php_gd2.dll
    ; p; N1 X7 O) j0 l3 C' o
  892. ;extension=php_gettext.dll  V% R% L) v# j  ~+ E, Q" O
  893. ;extension=php_gmp.dll1 {6 \% a- v- I
  894. ;extension=php_intl.dll
    / Q+ |4 Y; ?1 b5 |
  895. ;extension=php_imap.dll
      s0 S: d+ f: G0 ?( K& n7 z
  896. ;extension=php_interbase.dll
    8 y! k( |" d: J  \% P/ h
  897. ;extension=php_ldap.dll' O2 O0 ]9 ?7 D3 d  w- Z2 X0 C
  898. ;extension=php_mbstring.dll
    ' Q* u" D) k: _! v
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ C/ O8 E% d3 d
  900. ;extension=php_mysql.dll! c( N: v" u* W
  901. ;extension=php_mysqli.dll+ S6 ^% j& P/ A# y5 |$ _8 W5 @/ C# T
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # f: |6 |$ f" d" b, e0 h
  903. ;extension=php_openssl.dll
    , O8 g8 y$ ~: y+ ]% `
  904. ;extension=php_pdo_firebird.dll
    . ?  e4 U: O+ z- S6 ]6 `9 D0 k* G
  905. ;extension=php_pdo_mysql.dll8 v5 f/ k" Q, H  t
  906. ;extension=php_pdo_oci.dll
    $ x5 p5 \  z* O1 p% m" I+ V3 B2 \
  907. ;extension=php_pdo_odbc.dll- f! k9 i: _5 A( y- Z
  908. ;extension=php_pdo_pgsql.dll$ V# I2 M8 R$ }# M
  909. ;extension=php_pdo_sqlite.dll
    7 W! ^: u6 Q% @7 m$ b# Z- I" {
  910. ;extension=php_pgsql.dll% V6 K" H" P* L+ S. n  N
  911. ;extension=php_shmop.dll  o, [- {9 U9 c4 G! j; P

  912. 5 m+ ^2 j+ P4 ~6 M5 w
  913. ; The MIBS data available in the PHP distribution must be installed. % M. z6 g  ]  X3 t+ g; v' c
  914. ; See http://www.php.net/manual/en/snmp.installation.php $ ^9 U: R, ~+ M, a# v5 L% n
  915. ;extension=php_snmp.dll
    2 F6 d( T3 h* Q' {7 W3 j) ^8 I

  916. 6 _0 F  V' |! q- G  D1 r
  917. ;extension=php_soap.dll) c( {2 I  h: m$ S
  918. ;extension=php_sockets.dll' T% `4 `3 G: Z9 m5 K" h7 w  ]+ L
  919. ;extension=php_sqlite3.dll/ g0 z/ ]8 G: I2 p
  920. ;extension=php_sybase_ct.dll
    ! m$ ~7 G+ l! c' o7 b
  921. ;extension=php_tidy.dll
    & g! q0 s5 W3 A( n: u5 J
  922. ;extension=php_xmlrpc.dll
      c" A6 u4 k$ ^( O- R9 I
  923. ;extension=php_xsl.dll* j4 n* B/ |3 I5 A" E: i

  924. $ Y7 A6 R  x# ]7 H" H4 u
  925. ;;;;;;;;;;;;;;;;;;;+ ?/ U7 t5 o5 N1 C
  926. ; Module Settings ;* t" U4 [0 P. U: U' z
  927. ;;;;;;;;;;;;;;;;;;;3 B6 `4 Z6 h# d( [

  928. / L1 J& C- u3 \& b+ T3 W
  929. [CLI Server]/ s) B- R8 r2 {1 L. ]
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 E+ o# e, \5 X; p
  931. cli_server.color = On
    + M( C' u* b- l+ O

  932. 1 L& a( H% {# z6 N1 Y: X9 X' I$ n
  933. [Date]
    ; j$ x; z7 ]6 [. r7 P
  934. ; Defines the default timezone used by the date functions/ J2 L+ W2 g5 Y8 f7 `) P
  935. ; http://php.net/date.timezone, ^3 ~% D% e0 {
  936. date.timezone = PRC
    3 G9 u2 \  J: Q' F5 X3 V
  937. * @& O6 w' i: _' h) D8 M' l2 W
  938. ; http://php.net/date.default-latitude! o* }( Z$ @: N  {8 X' ~3 @# j% G
  939. ;date.default_latitude = 31.7667
    , e+ p+ F. {5 _8 d  S9 Q8 [, z; ?* T

  940. ; S% x5 B* g$ a; ~8 r, p
  941. ; http://php.net/date.default-longitude
    5 s4 ]# B5 W1 X
  942. ;date.default_longitude = 35.2333
    # L7 _7 s! U6 J0 d3 `

  943. 8 V" K9 a3 a% h% n4 v
  944. ; http://php.net/date.sunrise-zenith- s5 p: P$ ?! k* R
  945. ;date.sunrise_zenith = 90.583333! D7 y1 c/ P0 K4 L* f9 Q

  946. 8 q4 P+ L/ x  c9 |7 m+ V" [
  947. ; http://php.net/date.sunset-zenith
    # g) M6 Q$ X, L; f- q9 t* D
  948. ;date.sunset_zenith = 90.583333
    , \! p7 ?) I6 I+ J& |" a& c+ j1 T
  949. # s  ]3 [  ^" k# l# j
  950. [filter]) B# ]" ~/ F, n: `9 s' r
  951. ; http://php.net/filter.default/ A$ _; p, Z# Y1 J. n2 h9 U
  952. ;filter.default = unsafe_raw
    : g. f$ Y6 r0 Z# \; O

  953. 2 {% L. w7 v2 m( U/ v* ?
  954. ; http://php.net/filter.default-flags  {4 j' E# `3 C
  955. ;filter.default_flags =$ r" z0 s1 p& s
  956. , ~; }1 d! _9 l7 h: F; e- x
  957. [iconv], @6 \4 I; Q/ _
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 R# s7 o- S0 S3 i
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.4 d8 z" p( e4 j
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 w( Q0 Q6 v  W
  961. ;iconv.input_encoding =
    ) P2 F+ ~- h2 N8 X4 L. L
  962. 2 l9 P" r& {' W1 ^3 x5 i
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # h+ A" F. y2 d  z' O
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! L/ u: d% T1 w: _7 i2 e. r1 k
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( G/ b) L! r1 R6 k/ ?! ~$ Y
  966. ;iconv.internal_encoding =- u7 e/ S& i7 d
  967. 7 j7 T/ M+ P# t' f% L- ~0 N& Q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 M* U- ^6 C8 u/ x! C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + E! c' ?' s* B5 P' b8 p
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 b# [2 D* S4 N
  971. ; To use an output encoding conversion, iconv's output handler must be set! ?, N9 }2 {6 P7 C& R% z3 M
  972. ; otherwise output encoding conversion cannot be performed.  V- g$ w, k3 X
  973. ;iconv.output_encoding =
    ! \+ K3 Z! _0 V7 m4 c" L( s* g
  974.   h& _6 z0 _* X' u% c
  975. [intl]1 `/ X7 V1 R' }3 K
  976. ;intl.default_locale =4 d$ f& n* g& F
  977. ; This directive allows you to produce PHP errors when some error; s# v* Z: e' f" t
  978. ; happens within intl functions. The value is the level of the error produced.. X4 `1 _/ k/ z4 m( \
  979. ; Default is 0, which does not produce any errors.4 ?0 \3 F7 m, ?4 i; b! d" x' K
  980. ;intl.error_level = E_WARNING
    ) N5 M9 \" @! i* y- ^5 C4 y1 x7 f
  981. ;intl.use_exceptions = 0
    7 X: t7 Q1 M9 E" W

  982. % q* D7 z4 Q; j5 C" q4 H) I. m
  983. [sqlite3]
    $ a# i: Z8 P$ J& j3 ?# G  W
  984. ;sqlite3.extension_dir =
    . L2 Z2 ^9 ^, ]+ f" H  a
  985. ) g$ i6 ^) z8 x' x( c! k, s
  986. [Pcre]7 y! f0 F" k9 i, Q, V+ K- a5 u" k+ L
  987. ;PCRE library backtracking limit.
    " N% z. O2 s, Z+ F0 s4 o
  988. ; http://php.net/pcre.backtrack-limit
    ( p- b& a* e$ u/ I1 g! w) l
  989. ;pcre.backtrack_limit=100000
    5 {7 U% T7 x- U0 A: N. \& `

  990. 4 n# e' ]2 Z9 V# C" E/ f" C
  991. ;PCRE library recursion limit.5 ]. j9 N6 v( R% j
  992. ;Please note that if you set this value to a high number you may consume all
    1 H1 w" k" c* ?. F
  993. ;the available process stack and eventually crash PHP (due to reaching the; R$ t1 k6 M5 ^! w& B- w* G
  994. ;stack size limit imposed by the Operating System).: w$ a$ E% k" ?% e4 B" R6 a
  995. ; http://php.net/pcre.recursion-limit8 X9 B5 b( x+ s4 R2 j1 y8 x6 |3 C
  996. ;pcre.recursion_limit=1000003 ~( |, H# w1 F6 o

  997. . u/ d. w% `  L  h+ z+ S/ O, s
  998. [Pdo]
    ( Z, R9 W1 z& v& x% ~  A/ q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    3 n) ^2 z" M1 M4 i, n5 z
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 I+ V' {3 P6 p9 R* J- A
  1001. ;pdo_odbc.connection_pooling=strict4 U/ R$ _! x$ ~/ |7 Z( H, ?/ Y6 R8 l
  1002. 5 Y4 f! A+ {: r  J! G5 S' Q' g7 N
  1003. ;pdo_odbc.db2_instance_name
    " S, d8 K9 h2 ^1 g4 `3 R: d! O
  1004. 8 a& I& U5 `! t0 u2 a
  1005. [Pdo_mysql]
    ( u8 a6 n9 D, l! |
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache# Q4 ~  e$ Y. m& v. U9 ?
  1007. ; http://php.net/pdo_mysql.cache_size
      [) s5 k, f( [' n3 \
  1008. pdo_mysql.cache_size = 2000! O9 a* ~. t+ z) q% ~; B6 I
  1009. 8 @3 t9 S# B7 {+ G, w6 t
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) ]0 h3 g& y( P2 G" }/ T! O
  1011. ; MySQL defaults.
    ; n; V' t5 T5 I
  1012. ; http://php.net/pdo_mysql.default-socket
    # s; f* y2 C' S3 b
  1013. pdo_mysql.default_socket=
    / M) |6 ]+ z, S6 I1 l. h8 L5 M, s+ J+ h9 {

  1014. * h; G# Q9 Y2 c" g8 f
  1015. [Phar]1 b& M) m0 M% o' ^
  1016. ; http://php.net/phar.readonly
    + g! e6 S2 z) ]& E% O' j
  1017. ;phar.readonly = On
    * H7 i5 y, }9 b& X! h+ l! G' F
  1018. , }# y; y8 D8 O: D
  1019. ; http://php.net/phar.require-hash3 \8 D5 h6 i: \& o1 G, Z% U
  1020. ;phar.require_hash = On
    $ S, X# o6 Z! ~/ N- `( b/ y

  1021. : I% x' `% r( N- E# S( Q9 Z
  1022. ;phar.cache_list =) }# m( b9 p9 e, }+ U# r7 b9 Y& I/ P
  1023. & @5 j3 _: R# ^+ Y
  1024. [mail function]
    % a$ K" _# i6 P( a3 Z# L
  1025. ; For Win32 only.
      W  J* Y6 X, r1 e8 W7 x* f- I) c
  1026. ; http://php.net/smtp% [# K& n1 t4 H7 R; R) H; h
  1027. SMTP = localhost# }" a/ k# \. n4 p3 R
  1028. ; http://php.net/smtp-port
    * i& m, n( q: X
  1029. smtp_port = 25
      q+ k: y* Y9 @
  1030. / z& x$ D3 E1 x3 |9 g2 X& W0 r
  1031. ; For Win32 only.
    : n- t& S- x4 d& z
  1032. ; http://php.net/sendmail-from8 S) G" V7 e' W$ Z) S
  1033. ;sendmail_from = me@example.com
    ! |6 w$ a/ e/ R& y: `0 I
  1034. , }" S$ W/ K' Y7 V2 K" B% R8 C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. k. ^! u/ M  I
  1036. ; http://php.net/sendmail-path* r( \) r3 A, o2 D, \0 r5 ?8 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i" Z9 ]- Q' D9 n! u& F; ]

  1038. ; ^4 C$ G  p; F9 W' t& k1 k
  1039. ; Force the addition of the specified parameters to be passed as extra parameters+ a& s8 o4 G; }8 k  O
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; j$ }- d/ Z" D/ n+ k$ N
  1041. ; the 5th parameter to mail().
    % O8 M7 P. s$ V5 f/ a
  1042. ;mail.force_extra_parameters =
    3 U) L- o# b. i0 S$ g) B5 J$ }

  1043. % |6 G  k) D8 y7 B* a6 L
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    % Y7 K7 d: }4 ]
  1045. mail.add_x_header = On
    $ V; b+ k+ b& ?" p+ J+ z
  1046. ! c4 u0 {' Y- w2 a/ E8 v6 O1 p" v
  1047. ; The path to a log file that will log all mail() calls. Log entries include/ n+ n. d) A5 \& _% Q$ b5 D- I1 `
  1048. ; the full path of the script, line number, To address and headers.- k' n) r# o/ D. q7 X
  1049. ;mail.log =( @* i1 M3 B, O+ a. T/ }, Y
  1050. ; Log mail to syslog (Event Log on Windows).
    1 c, A. P/ e+ Y- s
  1051. ;mail.log = syslog5 \: W. p4 \! v2 Z5 }$ I
  1052. . i% d+ W8 Y7 z
  1053. [SQL]/ q4 `/ g2 v; ]0 |# }% y, }7 A
  1054. ; http://php.net/sql.safe-mode0 R3 g5 f, J# J& r5 l& `
  1055. sql.safe_mode = Off
    ( J! o- I+ k& H  \3 w5 a

  1056. * S. G1 J% e3 z: D
  1057. [ODBC]
    6 C2 J9 U8 @" X7 u3 T  c2 x
  1058. ; http://php.net/odbc.default-db2 M% Y7 P6 I& [* Y. Z" L; Q, ]9 s( Z
  1059. ;odbc.default_db    =  Not yet implemented
    * E& x/ ?; V  ~: F9 h) F
  1060. " g& i7 c- I! e! Q- Q6 Z
  1061. ; http://php.net/odbc.default-user! z% }, D6 B8 R" g9 Z7 I& y
  1062. ;odbc.default_user  =  Not yet implemented
    6 Y  r! i! [. d% q. d
  1063. ; M: }  e4 r! X; p
  1064. ; http://php.net/odbc.default-pw% e3 T5 ~  i+ Q9 {' C
  1065. ;odbc.default_pw    =  Not yet implemented6 Y$ @7 I; K; p" g2 B

  1066. & I+ \  n; G% I- T
  1067. ; Controls the ODBC cursor model.! i+ O1 @" O* g% _) e; O: T
  1068. ; Default: SQL_CURSOR_STATIC (default).1 r( M) b' n& P
  1069. ;odbc.default_cursortype
    3 v6 J9 q0 v  \3 M' A4 i/ w: D- |

  1070. $ t+ _* w+ O3 u- ?9 ]
  1071. ; Allow or prevent persistent links.
    2 P4 i! ]! h0 i- K) D# y- m
  1072. ; http://php.net/odbc.allow-persistent1 x! n7 @4 D( _8 ^" X7 {7 q
  1073. odbc.allow_persistent = On6 q0 o% K) l8 m2 H4 U; `

  1074. / ~7 M! D* S' b2 `; ?5 S
  1075. ; Check that a connection is still valid before reuse.* G1 @1 b0 I6 O) P9 l6 k1 c
  1076. ; http://php.net/odbc.check-persistent
    2 J$ f/ d) L1 ~3 U) j2 v
  1077. odbc.check_persistent = On
    / d, u: I; C2 y" C& ?$ k: P

  1078. % s- c/ A% o) G7 X1 w
  1079. ; Maximum number of persistent links.  -1 means no limit.; D( o1 b% u  e: H& _" Z, p: e+ E
  1080. ; http://php.net/odbc.max-persistent
    4 A1 U7 U) `! }# U: G2 l
  1081. odbc.max_persistent = -1
    : H7 k5 _( W! F. p2 @

  1082. # h# C* I: @' y# i5 W/ A7 n
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 z8 ]. N; ?: M! T4 `( h
  1084. ; http://php.net/odbc.max-links5 L, r; ~8 o# }( X1 w" f
  1085. odbc.max_links = -1' W, }! {" _0 O; y7 X

  1086. 9 R9 b! y- e. g$ i* P5 Y
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 {# N4 n0 i; [% C* F$ t
  1088. ; passthru.
    ' {7 _7 Z" d$ S  ^
  1089. ; http://php.net/odbc.defaultlrl
    ! J7 D8 q6 j/ A
  1090. odbc.defaultlrl = 4096/ c: n# x  Y4 ]% g# u7 x

  1091. ; @7 D% n( s: _
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char." D& Y! j$ }$ i
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' G6 V3 R. g. i8 u4 G/ M/ D0 d
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( g$ B5 F) i! U5 o" {
  1095. ; http://php.net/odbc.defaultbinmode
    3 h" R. M* F+ z7 M1 O) v
  1096. odbc.defaultbinmode = 1( C0 q8 i! `- L

  1097. 7 D; C# d1 W6 n1 i: o
  1098. ;birdstep.max_links = -1# Y- ?; g8 D( m5 _" p) i

  1099. & t9 A& e' z6 N7 X$ ~2 A
  1100. [Interbase]
    $ M" U9 _; v6 o+ ?% x  M* R5 M
  1101. ; Allow or prevent persistent links.
    * U" K' ?5 ^3 i. w& F, p' E# m9 g
  1102. ibase.allow_persistent = 1
    5 @9 Q4 \2 ^9 p6 @: u* i
  1103.   ]$ k0 R8 N5 D% H5 _" y5 C. j
  1104. ; Maximum number of persistent links.  -1 means no limit.1 j! ]7 ^- n7 }, k( h6 ^1 O2 J
  1105. ibase.max_persistent = -12 _1 r8 @& Z- z% K! s; Z. S. H
  1106. * a4 }8 x, V6 E7 T) l% f
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( e( ^5 B0 ?; W& r: E$ K, w
  1108. ibase.max_links = -1! R' g  P+ E+ j. s4 w& ^1 [7 Y- y
  1109. 4 s. N# c8 c+ f' _  f; `
  1110. ; Default database name for ibase_connect().
      D) S% P; I: A+ E
  1111. ;ibase.default_db =* h; ]0 K2 P9 E. D
  1112. , ~3 K' R& E. _1 T! G0 ~
  1113. ; Default username for ibase_connect().
    . P: U+ V: D& _" @& a5 }9 T4 k; R
  1114. ;ibase.default_user =+ n; b  z; V: Z  V# t" M, c

  1115. 4 ?0 r$ @4 h* a" r
  1116. ; Default password for ibase_connect().
    7 k6 B7 g) L, g$ ?" a: {2 r
  1117. ;ibase.default_password =
    # x" y9 E2 @: o! L- B; Z

  1118. " y7 U7 p& T. |4 ]3 h/ v5 A
  1119. ; Default charset for ibase_connect().
    , ]0 y( E/ f- S: }
  1120. ;ibase.default_charset =! A+ E# g) w+ L. |9 L0 H9 q

  1121. 4 f( C* P4 v8 v$ p, r( ~9 _
  1122. ; Default timestamp format.
    ' A: v: K' j! m8 d; Q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" p$ @4 P, x: m/ s+ _& a

  1124.   t  F" e0 J: r  x) W0 ~5 k0 c/ n! z
  1125. ; Default date format.
    , b, j, b; s. J0 ?. d3 J$ f( m
  1126. ibase.dateformat = "%Y-%m-%d"
    ( \. M( Z  ?* r# q& v
  1127. + {# K, l% Q! }: g" s- I
  1128. ; Default time format.
    ' O) F7 p3 J. \) x6 H1 J' A
  1129. ibase.timeformat = "%H:%M:%S"
    & K* i: h" x5 g8 O$ [- I5 }8 ]

  1130. 0 L+ H* K' S$ v- D
  1131. [MySQL]4 K2 M& K. z+ N1 V6 |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 w) \: p% O5 E/ a. V# n2 w
  1133. ; http://php.net/mysql.allow_local_infile
    " a+ e% Q% }4 p, j+ B
  1134. mysql.allow_local_infile = On0 Y" e+ @" S$ b# i9 \
  1135. 7 @. p% M2 K2 F1 ~: S
  1136. ; Allow or prevent persistent links.
    1 O2 R/ f4 X: D+ K  A
  1137. ; http://php.net/mysql.allow-persistent* v7 I: J* Y$ K* n3 d4 A" Q# x
  1138. mysql.allow_persistent = On0 g* t# s# X8 D$ p$ W6 ]: {. ~$ g
  1139. % u" J+ X2 w; D
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " g$ j+ Y$ k/ u  s, @; ^
  1141. ; http://php.net/mysql.cache_size
    : w) e5 _: J. J- F4 h9 u3 m
  1142. mysql.cache_size = 2000
    8 L" V) R5 o: p

  1143. 6 v7 [7 h1 O3 ^$ W7 ^* ^
  1144. ; Maximum number of persistent links.  -1 means no limit.5 @+ O' P1 }, k: T$ ?' Y5 _$ L
  1145. ; http://php.net/mysql.max-persistent/ b1 N3 j4 Y. c& B2 V& g
  1146. mysql.max_persistent = -14 O) \! j$ M; N) q1 d( X
  1147. 5 x& |, w+ a  U0 h5 H
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( I( f- ?9 d: e2 X
  1149. ; http://php.net/mysql.max-links
    . f- J# y3 l& y6 J  N- E: j: ~; k
  1150. mysql.max_links = -1
    8 C) e6 G& S& h
  1151. 8 ]; i+ [& E  E4 m% @
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use- |8 D  _  W( d# x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* y: h4 C+ x- j" |) D
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 k" _, Q- G3 B( r8 U  c6 L
  1155. ; at MYSQL_PORT.' l1 e% [( X' w/ p" @6 O; Y
  1156. ; http://php.net/mysql.default-port; _% Y/ F, a1 j; `: K1 x
  1157. mysql.default_port =, j3 g. `' m6 n1 s# F/ p; x

  1158. 0 m3 w) T$ d/ Y
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in" K, x' i; W7 {3 \2 q) o+ D  i
  1160. ; MySQL defaults.
    # g+ e! l, b: X. m
  1161. ; http://php.net/mysql.default-socket
    + |7 f, D( u4 G( h
  1162. mysql.default_socket =
    0 s" o2 X' V! C; `) C
  1163. , m/ P7 i# Y& J5 |8 @- K
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).1 V6 R4 q# j: l3 {2 \
  1165. ; http://php.net/mysql.default-host
    2 `* {5 J6 f! j3 ?% E3 O
  1166. mysql.default_host =4 r4 G6 F/ o  k( E! H$ L. o
  1167. 9 b$ \3 E1 m7 ^  q. [0 ?: v( f
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).1 r8 d. @! X- A1 y" ^  |
  1169. ; http://php.net/mysql.default-user' _  y! b) I% s! _' S( G' f
  1170. mysql.default_user =6 |# f( u  F  F, x, X' J  I/ L

  1171. $ A5 E' o$ c' S
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 D. v  Y' k9 u% F  B3 f3 ^8 t5 p
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.( @) c( t+ s5 U9 C) X
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    - r0 x% K: Y. \8 S; ~
  1175. ; and reveal this password!  And of course, any users with read access to this
    6 e+ Z1 V! B2 `0 o
  1176. ; file will be able to reveal the password as well.8 E5 N( Q' \" K. d  I1 V
  1177. ; http://php.net/mysql.default-password/ z7 h# h  Q6 T# V6 w
  1178. mysql.default_password =
    / B! s/ J* R; X1 i) O6 L; x5 Q
  1179. 6 ^4 ^4 y1 b/ z( B
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % w( E8 _$ s# G
  1181. ; http://php.net/mysql.connect-timeout
    + P1 [5 G" r- `+ m* Z. T
  1182. mysql.connect_timeout = 60
    $ W$ |& X& d9 v4 N. g% c

  1183.   A- M- [4 Y+ E6 F$ z! l% N5 z0 C
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and7 B& O4 m6 \. G
  1185. ; SQL-Errors will be displayed.
    6 `$ m# j4 W! \4 l, ^* V
  1186. ; http://php.net/mysql.trace-mode
    7 U4 g! C- z& u' H" j. N0 T7 ~
  1187. mysql.trace_mode = Off3 U1 X& A5 i* O! ?" g. K* f
  1188. 7 ^& W9 P$ k" M0 @; K
  1189. [MySQLi]: p( D' W. u* o+ C0 S3 a
  1190. 8 @/ j! n& S. A
  1191. ; Maximum number of persistent links.  -1 means no limit.
    & S$ J) a  ]1 p/ E( \9 q, f
  1192. ; http://php.net/mysqli.max-persistent+ H3 s# ?! N6 Z5 V, H
  1193. mysqli.max_persistent = -1  D% K# }/ p; p
  1194. $ a1 I# ^1 C! `
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 H/ w6 a3 o7 ^; P' o. x
  1196. ; http://php.net/mysqli.allow_local_infile. D& {# y* j  E4 ^* K+ `0 c4 c  j0 L# _' @
  1197. ;mysqli.allow_local_infile = On
    5 q# b  [6 p# r: h+ G
  1198. ; b# K0 _3 F* S; r" P# U! s8 R
  1199. ; Allow or prevent persistent links.
    ' R. w: k/ B& T6 g! F! s
  1200. ; http://php.net/mysqli.allow-persistent% h! K3 D4 N3 F# U* p& b  G, q
  1201. mysqli.allow_persistent = On% q# k4 Z/ P3 e( @3 ^2 ?2 V. b
  1202. 5 }8 I* }8 x+ ]: e3 Q
  1203. ; Maximum number of links.  -1 means no limit.
    & [- Y% D8 T* ^2 J' p, {
  1204. ; http://php.net/mysqli.max-links0 Z4 Q1 u$ p, k7 \. X
  1205. mysqli.max_links = -1
      q8 t# c& d+ c- }) k

  1206.   ^* }- n3 ^' X( q7 f
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' m+ `, n$ O' x
  1208. ; http://php.net/mysqli.cache_size
    1 T, l; O5 b" ^* q- f! c
  1209. mysqli.cache_size = 2000
    + s* {4 y' P% S4 w: @4 M1 f

  1210. ! a' K2 ~3 q4 f. B: L
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 o- U) B9 {% Q8 A
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 q4 ]9 |1 y8 ^6 H7 C0 w
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + d% o+ o9 p& H* ^( c) t2 i
  1214. ; at MYSQL_PORT.! w+ E0 V4 `7 C  K- N
  1215. ; http://php.net/mysqli.default-port
    ( `' n  Q, _6 j- `+ p* {
  1216. mysqli.default_port = 3306
    + H$ D; x/ f+ B) w7 f0 ]9 ]9 ~$ y- }* h

  1217. . H% s; w$ P% [- U
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in% e8 z2 x& g1 U+ [* m% \
  1219. ; MySQL defaults.! @$ _5 j1 Q8 t3 Q. z
  1220. ; http://php.net/mysqli.default-socket
    3 h" R- d) c8 f( ~
  1221. mysqli.default_socket =6 V# y0 ~5 x8 H$ U
  1222. 6 h2 L0 u8 B! h: L4 y' f" K
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 v" L% ?& F8 S
  1224. ; http://php.net/mysqli.default-host( E4 m. j- x5 G
  1225. mysqli.default_host =2 b8 }1 j6 I$ \6 l
  1226. : t* W. w+ q$ l/ R) {
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 V/ ?* K/ B. a4 d; a+ W
  1228. ; http://php.net/mysqli.default-user6 O: d( d  F9 L4 ~, n* i
  1229. mysqli.default_user =
    5 L: {9 y3 ]% r# P. g

  1230. & T& `% t8 |) T% w( j5 A1 ~- p
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).. \/ D( j8 d, \% }( w$ v
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.  o' b$ ?/ N4 |, n3 I  V
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"), s, l% F! w  A' j9 [4 U
  1234. ; and reveal this password!  And of course, any users with read access to this
    5 l: g" a- z% _' H
  1235. ; file will be able to reveal the password as well.! I2 s0 Q* Z4 s! y! _# C6 q
  1236. ; http://php.net/mysqli.default-pw
    & s) @3 G8 d: ~7 _1 r
  1237. mysqli.default_pw =0 y, b/ v* W) _, N' A/ O& C/ P

  1238. , |8 r/ w6 Q, Z0 ~8 c" x) ?
  1239. ; Allow or prevent reconnect4 J9 T6 e! m2 E, g! {- z0 I$ T
  1240. mysqli.reconnect = Off% {" q% Z4 r+ z0 E% Y9 ~
  1241. 9 I7 A7 `. B0 M( t, a
  1242. [mysqlnd]
    . T+ _* z1 s6 j; x) D. `9 {
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be. R5 J/ r) l' W3 u. t
  1244. ; used to tune and monitor MySQL operations.
    & h- k3 G: X9 f0 d4 o5 w
  1245. ; http://php.net/mysqlnd.collect_statistics
    " Q8 S3 r# o, h3 |
  1246. mysqlnd.collect_statistics = On
    - T! Q# G. z# J# B
  1247. % K) l' S7 K  Y- A; q0 s7 J4 g7 K" w3 t
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 b; n( E: a, U+ m2 `& m) D0 V
  1249. ; used to tune and monitor MySQL operations.
    9 a  a* m: P4 p, o! t
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    - [2 d/ y2 @7 d( ^+ p
  1251. mysqlnd.collect_memory_statistics = Off
    ' f4 A, ^0 S4 |! B( v3 j
  1252. ! E  X. Y9 P1 y3 _: R& U
  1253. ; Records communication from all extensions using mysqlnd to the specified log9 u: j* R9 `: X# Z3 r% {
  1254. ; file.
    ( v+ N" _7 |5 p$ y# [, `2 E5 m
  1255. ; http://php.net/mysqlnd.debug$ ^( K4 u5 j$ W
  1256. ;mysqlnd.debug =# _9 Y* ^# w2 ]# F, V3 c4 h
  1257. & k  }0 ^8 |0 n
  1258. ; Defines which queries will be logged.3 w- k9 B: U- J" R/ I: ~2 g) K
  1259. ; http://php.net/mysqlnd.log_mask( H6 H2 R- f6 y- s9 U0 t2 g) B
  1260. ;mysqlnd.log_mask = 0# {0 J) e1 ?9 v

  1261. 2 h; a, h  ~8 s  v9 j$ ?
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : M% {6 O* f8 h$ ~9 L' ?0 ^1 K2 y
  1263. ; http://php.net/mysqlnd.mempool_default_size
    5 E2 z0 }  L7 S: u( y6 s' o& d$ Y
  1264. ;mysqlnd.mempool_default_size = 16000
    4 v5 c2 A3 N: ^# H; h5 a

  1265. , k4 C4 L2 ?  x9 j  Y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' X- p2 W! Y8 [5 F$ S& j
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    0 A: v, g5 s' h' s1 o* n9 `
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ s8 P+ w! ]( G1 U5 k, E/ z

  1269. ! X' R2 M, f6 x$ h
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # d5 \5 R; a8 f2 L
  1271. ; bytes.
    & Z7 h/ U. }7 T/ `0 F' n, i0 M
  1272. ; http://php.net/mysqlnd.net_read_buffer_size/ D3 H. o7 x5 N' l. h
  1273. ;mysqlnd.net_read_buffer_size = 32768
    + q0 J* b$ T, g6 {6 g
  1274. " e- I; X, U+ ?# C
  1275. ; Timeout for network requests in seconds.
    " I) |: B  @: U  y; K4 H
  1276. ; http://php.net/mysqlnd.net_read_timeout' f7 V: e4 y5 L% X; a6 w
  1277. ;mysqlnd.net_read_timeout = 31536000; ]& w8 y2 h" ?1 C4 e" w

  1278. " t' y$ S- {$ ~7 h2 p( M# M3 ^
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 i* V# \3 w8 `8 S
  1280. ; key.
    5 S# U* K- S; G2 }5 k6 M
  1281. ; http://php.net/mysqlnd.sha256_server_public_key% T9 F, p0 u; `4 K. U4 p
  1282. ;mysqlnd.sha256_server_public_key =
    7 V  V" [# ~- g6 c/ z9 U
  1283. # f# `' Y/ m* y/ i; U% R
  1284. [OCI8]" S/ W/ x& _0 E
  1285. ' H! G* U, D, D, j: C/ y3 b
  1286. ; Connection: Enables privileged connections using external% a# k" Z8 c6 U4 V! Q; w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 r$ Y. F" V6 n* g; U# z
  1288. ; http://php.net/oci8.privileged-connect3 A- _( \5 Y- g  `; O- P4 D0 T
  1289. ;oci8.privileged_connect = Off7 k- a* [5 ]/ C1 S  |# `
  1290. & T5 y; i- r5 Z( m, L- S! P' O! R
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    / G# c: K3 C) U- W% Y- c
  1292. ; process. Using -1 means no limit.- N5 t( g6 T+ c) m1 k' k1 W8 E: N8 I
  1293. ; http://php.net/oci8.max-persistent
    4 V8 l+ Z6 S- y. N9 L6 T6 ?
  1294. ;oci8.max_persistent = -18 m# j4 }0 q! d5 ?. {  A

  1295. 6 {  d/ i  T6 |9 M
  1296. ; Connection: The maximum number of seconds a process is allowed to3 K2 J' T. z' X: B
  1297. ; maintain an idle persistent connection. Using -1 means idle1 R* f9 B4 Y8 u6 c& Z
  1298. ; persistent connections will be maintained forever.% W7 @' H" p% m9 L7 W3 \
  1299. ; http://php.net/oci8.persistent-timeout: `3 c4 |  d5 L
  1300. ;oci8.persistent_timeout = -1. a* o6 ~8 [0 w

  1301. + \$ S  O! R+ n0 l( G: V0 a
  1302. ; Connection: The number of seconds that must pass before issuing a2 R+ r  ~; }" [4 b! u
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 s! H. x& g5 {8 I) m
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : A7 `, M+ K; \" Q9 v8 H  \
  1305. ; pings completely.0 B+ k1 c2 d2 t1 b1 ]; M6 N- H9 X
  1306. ; http://php.net/oci8.ping-interval+ k7 \( d4 q3 z* J5 D
  1307. ;oci8.ping_interval = 60) `. h3 Y. V, _4 z, l0 f
  1308. 9 h# C4 I- S1 U8 a: K  M
  1309. ; Connection: Set this to a user chosen connection class to be used
    : l% L* F/ h# _4 W! ~. v
  1310. ; for all pooled server requests with Oracle 11g Database Resident; u* H) X; d+ o- i! ]9 Y
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to% C# C6 c. Q/ L( a* f: y
  1312. ; the same string for all web servers running the same application,
    $ l% O' @9 `6 z6 F, F* L' m
  1313. ; the database pool must be configured, and the connection string must9 n" D/ Z% \# y, o7 d# |. `+ y
  1314. ; specify to use a pooled server.
    2 w- r& t4 Z  v& n
  1315. ;oci8.connection_class =" d/ ^% }& J+ p2 @$ i( Y: P
  1316. , k& d6 i& h8 {2 {, _$ I: |1 ]
  1317. ; High Availability: Using On lets PHP receive Fast Application
    " M7 B1 D. R2 \7 r
  1318. ; Notification (FAN) events generated when a database node fails. The. t* v' K; R" z( L' B: @+ k
  1319. ; database must also be configured to post FAN events.1 `% u; t! Y5 p
  1320. ;oci8.events = Off0 V, G5 E7 Y! v' P% D2 m8 k! o

  1321. 4 ?- t+ d$ R8 v) a, i, c
  1322. ; Tuning: This option enables statement caching, and specifies how
    # O6 C# ^5 b8 B# G% ]3 r
  1323. ; many statements to cache. Using 0 disables statement caching.
    $ |0 D( l0 `6 C4 h
  1324. ; http://php.net/oci8.statement-cache-size
      x& Z' u! M8 W: _
  1325. ;oci8.statement_cache_size = 202 I$ ~! P5 F5 o0 ?9 c/ ~( Z

  1326. - [9 O8 m6 D# Y" l8 I" t
  1327. ; Tuning: Enables statement prefetching and sets the default number of$ m3 c8 `4 p; _. r) T1 B0 L' g
  1328. ; rows that will be fetched automatically after statement execution.
    4 k6 Y+ @, _, d  `0 m
  1329. ; http://php.net/oci8.default-prefetch! T1 \: K3 Z  b' j* d0 t( g: @
  1330. ;oci8.default_prefetch = 100
    ) W0 R; f8 I2 d' n

  1331. - J! ~1 v- x0 D* Q
  1332. ; Compatibility. Using On means oci_close() will not close
    ( I2 z0 D- f: `4 m' P; U
  1333. ; oci_connect() and oci_new_connect() connections.7 R& f- [4 O2 e& p8 o2 R( W. c
  1334. ; http://php.net/oci8.old-oci-close-semantics- j8 }% U3 R) ?4 N# U
  1335. ;oci8.old_oci_close_semantics = Off
    2 k8 r9 M3 C6 g# T3 s+ @! f

  1336. 1 C4 Y* \9 ?# |" |+ N" b2 \2 z
  1337. [PostgreSQL]
    ! H0 m, Q- F6 F5 q- Y' w  L
  1338. ; Allow or prevent persistent links.
    4 ~2 G+ X. a2 o5 F8 r: M
  1339. ; http://php.net/pgsql.allow-persistent
    $ v" H! X$ \, O7 j" }
  1340. pgsql.allow_persistent = On1 K8 o2 l) i- u9 b; C. Q, A
  1341.   Y0 n( a4 @/ [: {( ]
  1342. ; Detect broken persistent links always with pg_pconnect().
    6 `: K7 f) B. l* i8 x2 c$ N
  1343. ; Auto reset feature requires a little overheads.
    # Q! Q2 I" t0 }2 ?0 k1 ]* R
  1344. ; http://php.net/pgsql.auto-reset-persistent
    * O3 u8 \5 G- b% K, z
  1345. pgsql.auto_reset_persistent = Off/ G5 o! _" ]3 H4 i: Q* K

  1346. & _. E. p+ C# L5 s; z/ ]* L6 w0 Z2 A
  1347. ; Maximum number of persistent links.  -1 means no limit.
    4 ^* B; L2 d( e
  1348. ; http://php.net/pgsql.max-persistent; p( H. Z& {, j  e; ~
  1349. pgsql.max_persistent = -1
    - S( u, Z0 U3 l( h9 j# w

  1350. 6 b+ a* s$ [8 J' N% b
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - w$ d3 W/ u, J2 N0 [4 E- p) b0 R$ v
  1352. ; http://php.net/pgsql.max-links
    - g- F" g$ I$ ?! D
  1353. pgsql.max_links = -1. F& Z4 H8 s5 {. ?+ `

  1354. ) X6 e6 `$ g& `1 W& D( n
  1355. ; Ignore PostgreSQL backends Notice message or not.
    8 ^  d+ \8 u8 e; c# s  [
  1356. ; Notice message logging require a little overheads." u/ p% }2 D, D: |( U
  1357. ; http://php.net/pgsql.ignore-notice
    9 C, `# q- p1 ?! A2 p  X
  1358. pgsql.ignore_notice = 0
    ' H1 h; P( B4 m) Q' l/ n
  1359. % ]% b3 j" N/ [5 T2 v
  1360. ; Log PostgreSQL backends Notice message or not.
    # ?& |8 ~/ O5 }, y3 ?0 `- X- j* T" a0 ]
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; Y0 H1 V, K4 }' O+ T
  1362. ; http://php.net/pgsql.log-notice
    ( w; x- ~* W2 B7 g: r# h! r% e
  1363. pgsql.log_notice = 0
    . Q$ s* g, X4 }6 Y
  1364. 4 j) l: q, Z% M1 A  T( b/ |
  1365. [Sybase-CT]
    - w6 T- K! |8 u2 c& j' @# w
  1366. ; Allow or prevent persistent links.) ?& A& F7 C& j% r" J( B
  1367. ; http://php.net/sybct.allow-persistent1 P3 s6 I: E6 k& N2 F: p
  1368. sybct.allow_persistent = On
    # P" w* t& [: T# R0 O* g
  1369. 4 U. q6 `% }& `- j
  1370. ; Maximum number of persistent links.  -1 means no limit.6 b) M; b1 N& Z& l5 E
  1371. ; http://php.net/sybct.max-persistent
    / X, X% p  d/ P0 ]
  1372. sybct.max_persistent = -1
    & p  N. x% u& h
  1373. . C, Q' s. \/ t( Q$ e2 h! C
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 k6 w$ _( g" R# v6 D
  1375. ; http://php.net/sybct.max-links( o  X2 y! q! s
  1376. sybct.max_links = -1( r9 s+ t" [; A6 Y

  1377. 1 y/ g" U9 I3 Q) R/ e. }" a0 ]
  1378. ; Minimum server message severity to display.
    $ D6 _- r7 }& R0 G
  1379. ; http://php.net/sybct.min-server-severity
    3 y% y4 x) s5 g  v
  1380. sybct.min_server_severity = 10( r6 |% {2 f- V( x

  1381. " U0 t# T: U  W; e# j; k! D
  1382. ; Minimum client message severity to display.3 P! ?0 T" K, V
  1383. ; http://php.net/sybct.min-client-severity
    1 r/ P4 t; ~4 g' D) W9 M
  1384. sybct.min_client_severity = 10  G3 l! J  Y* k# D/ Q! a: v
  1385. 2 B: C4 C5 X7 L1 t
  1386. ; Set per-context timeout7 f, e, ^4 p) |" L' s
  1387. ; http://php.net/sybct.timeout& Q3 p9 _0 q1 i  A. Q, {
  1388. ;sybct.timeout=
    4 w6 b* l  P( s# r* r2 U7 M2 D. @
  1389. * C8 ^4 x0 I3 F) m
  1390. ;sybct.packet_size
    ! X* q+ @2 t, A: h" I5 S) V  S# w4 Q
  1391. ' y: a/ l+ S* V& y( O, Y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.& @# C8 `7 O1 c9 @4 l0 D! ?. R
  1393. ; Default: one minute
    2 ?! m" A5 J; Q; f1 N7 i
  1394. ;sybct.login_timeout=- c$ t/ W& _: A
  1395. . _$ ~! S4 ?9 R2 _6 M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.+ u0 }$ L5 q. p  n' G
  1397. ; Default: none
    . Q' N6 i, }8 n! D* T' z/ Y& I4 k
  1398. ;sybct.hostname=" n! [, {" k9 L8 t

  1399. 6 H( s* u' O( P) u3 I4 c. ?' c* }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    & {- C  u& @# z! `, R' e7 X
  1401. ; Default: 0
    # ?' Z+ r( }, T( k7 }
  1402. ;sybct.deadlock_retry_count=
    - p$ S4 m" ]" \: |$ Z- B: a
  1403. 4 _! a! Q2 O* h9 h! t+ [$ P8 J
  1404. [bcmath]+ \+ ~6 K  f& W. J, K
  1405. ; Number of decimal digits for all bcmath functions.7 O# A2 D8 i4 c6 ?. {
  1406. ; http://php.net/bcmath.scale
    - t8 t7 U# u. B/ J( ?; E
  1407. bcmath.scale = 0: a" s% Q6 h% Y% B

  1408. 2 o4 x$ O, J/ c9 A. m5 s  n
  1409. [browscap]
    # d3 a, \( d# [: e5 @. @; L
  1410. ; http://php.net/browscap
    - }, `' ^% u5 c( E! l7 i
  1411. ;browscap = extra/browscap.ini0 Q0 ~1 S* u" |/ u; j
  1412. - M) l2 i: A0 E% G# l- j
  1413. [Session]
    ) A( W* y; H7 j# Q1 t" y$ }, ?. B
  1414. ; Handler used to store/retrieve data.
    5 a) h: a, |7 c  C. V
  1415. ; http://php.net/session.save-handler$ b/ D6 S9 b1 v' d
  1416. session.save_handler = files
    2 B5 }/ B: q7 a; U  f
  1417. 4 Q/ i2 D7 c$ K+ n  |; n3 C5 q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path/ G  X5 c. p8 Y9 ]
  1419. ; where data files are stored. Note: Windows users have to change this
    : d( k/ D; g2 Y3 u' B  U
  1420. ; variable in order to use PHP's session functions.5 A! r6 [1 P. G7 d
  1421. ;5 b- f) E+ A1 V! U! [" o. \
  1422. ; The path can be defined as:
    9 {+ d9 h' X) o( P
  1423. ;
    " U# z4 P+ `0 i" j- e/ }/ R
  1424. ;     session.save_path = "N;/path". x3 P* Z1 l4 _$ R
  1425. ;
    " W4 m$ {; z- M* r5 U+ x$ n
  1426. ; where N is an integer.  Instead of storing all the session files in
    ( j/ `( P4 O3 }$ \/ b
  1427. ; /path, what this will do is use subdirectories N-levels deep, and: r3 V& ^# X1 x6 h
  1428. ; store the session data in those directories.  This is useful if
    ; z2 o% \  _5 {- r- F
  1429. ; your OS has problems with many files in one directory, and is
    $ C' Q2 z/ E( r/ [
  1430. ; a more efficient layout for servers that handle many sessions.
    8 R. }0 @! ^4 B  {2 X5 i
  1431. ;
    $ x" @2 n0 n8 b8 _
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : O  k2 r( I7 \7 I% b
  1433. ;         You can use the script in the ext/session dir for that purpose.
    * e" c- W$ @( w9 U" q- n) N
  1434. ; NOTE 2: See the section on garbage collection below if you choose to: C0 R/ X$ g3 o& C% S
  1435. ;         use subdirectories for session storage% B: C- F: ]6 v7 [: G0 O
  1436. ;
    : b: {- \2 M" n% T+ ~
  1437. ; The file storage module creates files using mode 600 by default.( `; z5 s4 X% G( s# `; E; K
  1438. ; You can change that by using  ^7 I$ \! B) J( F
  1439. ;: G: C8 t! G9 E) d% r' r
  1440. ;     session.save_path = "N;MODE;/path"
    8 q4 C, t% x- g2 b
  1441. ;3 p6 g1 f' x% A# {* \
  1442. ; where MODE is the octal representation of the mode. Note that this% C$ a5 V) @6 y# I$ u# i/ `' ~5 q9 [
  1443. ; does not overwrite the process's umask.8 w: B2 ?4 \1 r5 c5 T/ ]
  1444. ; http://php.net/session.save-path# w2 b7 f0 Y. S) p8 s& {
  1445. ;session.save_path = "/tmp"  k* L* Y) H1 H/ j7 `! `' X( J

  1446. 5 I; W: n, J: P$ X' M" B) j0 v, h
  1447. ; Whether to use strict session mode.
    : Z/ @) b' u1 O6 @  Z* o+ Q8 {
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    % c( @' m3 m+ X. h, L- t. L8 i: G
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects7 J0 T4 l+ w6 M7 k3 M" J
  1450. ; applications from session fixation via session adoption vulnerability. It is
    4 [. l" F5 r  A- z9 w' Y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.! ~2 d6 w) z, }1 e/ r& l
  1452. ; https://wiki.php.net/rfc/strict_sessions
    # x( p; }+ l% {
  1453. session.use_strict_mode = 0
    5 v! b. H) L% s) {( @, r+ X
  1454. 2 q! \2 F  O9 I* b+ J
  1455. ; Whether to use cookies.5 Q' {4 t! ?8 W
  1456. ; http://php.net/session.use-cookies8 |" T+ j( A3 V
  1457. session.use_cookies = 1
    2 C+ w9 i. @7 W. }2 w6 ]4 w

  1458. + g, D  h& A0 s$ [2 g
  1459. ; http://php.net/session.cookie-secure, g' u1 r! F$ p6 P) F+ f  D
  1460. ;session.cookie_secure =
    + |/ v+ {/ t# s" y' p& h; V

  1461. 5 O% N: D& y. j* a" e
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - X7 ~; J+ K3 B8 i8 _
  1463. ; the session id. We encourage this operation as it's very helpful in combating: Q, n4 Z! F3 W: `
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ' i, m0 U2 e) V$ i4 p/ h
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ d- O: Z) o/ s. C. I6 g
  1466. ; http://php.net/session.use-only-cookies' w, \( O; p( [) I/ N/ o
  1467. session.use_only_cookies = 1
    . A" F: l0 c/ B' p2 z' T4 K' z

  1468. 3 ]1 j" ^3 _4 C8 K1 Y8 k- d5 w! K
  1469. ; Name of the session (used as cookie name).
    6 H4 H! e7 c) L" o6 E9 F0 g
  1470. ; http://php.net/session.name/ P* L0 R7 s/ X9 A, q5 L* g
  1471. session.name = PHPSESSID
    - _* X' U5 \' r0 ~2 g
  1472. / g5 H# y; e! x: u) {+ f. q7 [
  1473. ; Initialize session on request startup.0 ~  w- ~. ^: f3 A+ u- l  [  }
  1474. ; http://php.net/session.auto-start
    8 j4 Z+ M- h; A  J+ Z4 A
  1475. session.auto_start = 02 U4 Q, j# o' t# |" O
  1476. , ?5 E7 J' l. l$ j; H
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# q4 }* k, W( x/ l; C9 ?
  1478. ; http://php.net/session.cookie-lifetime
    / T+ m; F0 m' U" {, p  i8 p  C
  1479. session.cookie_lifetime = 01 ~( r% w7 t( ?* h
  1480. ) L% s! P# W3 [% E
  1481. ; The path for which the cookie is valid.
    3 R4 b  J$ i) E9 m* g( H& I
  1482. ; http://php.net/session.cookie-path
    0 {) W% _! Y% A4 ], Z9 R. w7 O. K
  1483. session.cookie_path = /; Z* ~- U1 f; [; ?; K* P/ F# V
  1484. 8 k3 c" Q: L8 @1 I. B8 \
  1485. ; The domain for which the cookie is valid.& L* m. V/ k: N% X* k5 D
  1486. ; http://php.net/session.cookie-domain
    8 ^7 k- n* A2 M2 H2 e& R2 h+ z8 C! |
  1487. session.cookie_domain =
    " D8 W$ `8 U: D) q/ ~: P. o& c5 |

  1488. ! p4 P% b) c  y! `/ M
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! X, K" Y) |7 u
  1490. ; http://php.net/session.cookie-httponly, @" o3 {7 w2 J+ I
  1491. session.cookie_httponly =
    ( V, ?( ]& P4 ^3 z# D$ I6 U+ X6 F! t

  1492. " Q; ?5 B0 L$ B0 {0 a
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / O& J0 a. l' I
  1494. ; http://php.net/session.serialize-handler
    / r) x" `5 q& v
  1495. session.serialize_handler = php
    ' d( B( K% R: D7 Z6 ?
  1496. & \/ u5 G/ k3 ]( o; m( @( ^" I8 g
  1497. ; Defines the probability that the 'garbage collection' process is started8 q9 q" r2 d# e* X
  1498. ; on every session initialization. The probability is calculated by using
      ^4 k, b  r" L( L
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator; N. N: U% z$ W% e* R3 s- a
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . e) e% y% Z: D/ U7 Y/ M& j3 o
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) y. \, K2 P# v2 x* \) x
  1502. ; the gc will run on any give request.
    + Z: c& C9 l1 p9 v. ?3 q1 q
  1503. ; Default Value: 12 ^% S) K5 u$ J) @# c  r4 ^- H
  1504. ; Development Value: 1
    * c$ N% t' y. S+ T5 g
  1505. ; Production Value: 1" y" d: k' ]$ T9 C. w
  1506. ; http://php.net/session.gc-probability
    $ G# x, x& \. c  ~9 y9 x1 d! e
  1507. session.gc_probability = 16 k$ s' V9 E, S! {( i/ \4 \+ |( _
  1508. ' R, k& ?* K4 _; c% c
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ( v: b* I% |. ]" v* q& ~5 x! L
  1510. ; session initialization. The probability is calculated by using the following equation:
    / I4 k, u8 F8 Q: t$ c
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    8 [, V1 `! K( Y2 r% |
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 u+ _: b+ e6 N
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 B- t' k4 O& }2 Q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you3 w. }; j9 Z% o
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # h/ E# D% i9 p$ S
  1516. ; this is a more efficient approach.
    7 c  {, r" b  f  N" W
  1517. ; Default Value: 100) J' s/ i: r( Q' E7 D& \# h' c, A
  1518. ; Development Value: 1000
    5 {4 j8 D/ X: S
  1519. ; Production Value: 1000
      z; J+ \8 c- B( J& c5 \4 y
  1520. ; http://php.net/session.gc-divisor
    : y1 ^* _$ N) T: k( j5 t
  1521. session.gc_divisor = 1000
    2 U5 ^0 |2 c* X$ [4 ?% B

  1522. " t8 H- b7 I& L# {
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    . F, y" A& D$ A4 o8 E+ n2 f8 C$ j: o) z
  1524. ; cleaned up by the garbage collection process.
    9 C: j% i4 ?$ p7 r; g& i/ F& s
  1525. ; http://php.net/session.gc-maxlifetime! C; F, y2 f& N0 |9 o
  1526. session.gc_maxlifetime = 1440, R! _" G# V0 d# k
  1527. 8 F  h% N) D% q+ |* B
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    * H2 e9 g5 P) P1 Z' Y( y
  1529. ;       (see session.save_path above), then garbage collection does *not*
    . f( A$ d7 a2 @8 _
  1530. ;       happen automatically.  You will need to do your own garbage) L, D/ V7 J  {/ {& b. y* R, H3 D
  1531. ;       collection through a shell script, cron entry, or some other method.( ?& A$ `% L$ Y* d7 x
  1532. ;       For example, the following script would is the equivalent of& k' D. e7 U- u' j9 Y9 k0 d& ?3 l
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; B+ `8 A0 Y6 j( V' Q
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! @0 q! k) ?" ~5 i7 @- y5 X

  1535. ( K+ Q' m6 F' W, a2 q5 b; K
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.. r; R+ s. w8 G+ W7 F7 w
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , b/ }' B7 B2 |4 h! Z! V
  1538. ; considered as valid.8 l' ~8 `- ?! g, A: f
  1539. ; http://php.net/session.referer-check1 C: _0 u' @. _7 w
  1540. session.referer_check =
    & f1 G: ^, R! r9 d$ H- i

  1541. 9 @4 \) [. l3 Q' Y5 B; B; \# ?
  1542. ; How many bytes to read from the file." ?$ b" |8 O) d: E$ v
  1543. ; http://php.net/session.entropy-length
    , l1 z0 O- Y* J% O9 u+ h$ X
  1544. ;session.entropy_length = 32
    ! I7 L8 f3 m6 i7 z: a7 @  L( `

  1545. 6 ?7 ]; L3 i' u
  1546. ; Specified here to create the session id.: ^7 ^  D: w  K" p
  1547. ; http://php.net/session.entropy-file
    7 @4 \7 \- v2 s
  1548. ; Defaults to /dev/urandom" i; k  C: _5 `/ e2 [9 o1 R3 o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: [# }" ^" z6 ?# N
  1550. ; If neither are found at compile time, the default is no entropy file.
    * p4 S- @# F$ y5 t0 O, @4 E8 O
  1551. ; On windows, setting the entropy_length setting will activate the0 \5 M) g6 f5 G& x3 ^0 L. H3 ]
  1552. ; Windows random source (using the CryptoAPI)
    $ H" {* l7 y2 |0 d- V6 r5 k# G/ E
  1553. ;session.entropy_file = /dev/urandom7 ^$ S  L; X8 F2 i

  1554. - U- E2 V% K. |5 N
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects; z+ W: v4 d4 a- \3 E. `
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ) A3 t1 j' X5 Y" J. n. t
  1557. ; http://php.net/session.cache-limiter
    : u8 |6 }: {% Q6 ?( T! c
  1558. session.cache_limiter = nocache! N( k5 g/ Q; ^. e/ J! [* _
  1559. ) c5 T5 N- C' Z( G7 K
  1560. ; Document expires after n minutes.- A6 ]/ f& K: `4 D0 Q
  1561. ; http://php.net/session.cache-expire# ?, N" W2 w3 P) x2 N& g
  1562. session.cache_expire = 180. {; W, w% c  {1 i1 `) C; _+ j# f' a
  1563. - @! T9 v, B8 f3 G  n) d
  1564. ; trans sid support is disabled by default.
    : q. `0 T% T' V( A7 m& S& ^2 d
  1565. ; Use of trans sid may risk your users' security." U2 w% H* T( K# x4 \1 m) T6 f/ N2 \9 h
  1566. ; Use this option with caution.
    1 M, j) p0 q) q, `, \9 ^6 W6 F
  1567. ; - User may send URL contains active session ID/ V1 D/ r4 a; O  P6 Z
  1568. ;   to other person via. email/irc/etc.
    6 `5 C# a: E+ J6 ^7 g# I# {) G
  1569. ; - URL that contains active session ID may be stored+ Q7 ?# b9 d' r
  1570. ;   in publicly accessible computer.
    4 J) j* ?2 c/ K8 s1 Y
  1571. ; - User may access your site with the same session ID; `9 i, c( r+ c7 D+ \
  1572. ;   always using URL stored in browser's history or bookmarks.! \. U5 Q# Y0 [* X
  1573. ; http://php.net/session.use-trans-sid
    , R( F3 {0 G: L
  1574. session.use_trans_sid = 0
    $ n& y5 Z$ }3 s8 w0 ]

  1575. # q3 Y6 I8 q, Q, y7 m! j
  1576. ; Select a hash function for use in generating session ids.6 x3 c  m* L2 D  C% H; M
  1577. ; Possible Values
    , D. E; h/ V/ X' v( _$ z6 {
  1578. ;   0  (MD5 128 bits): ^0 j. [% ]/ K8 V
  1579. ;   1  (SHA-1 160 bits)
    ' M6 ^1 n/ {6 R& @- y
  1580. ; This option may also be set to the name of any hash function supported by
    $ ]" [. @8 \) n
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 [2 W9 j0 B- Q- H$ L$ x8 m
  1582. ; function.
    0 I; c# H& Q0 s
  1583. ; http://php.net/session.hash-function
    . D; t% w2 T+ t/ B% \# A) T$ L
  1584. session.hash_function = 0/ `$ t! t8 [5 M9 l5 z, k/ W' t, u
  1585. 6 f8 ~5 h9 _* |7 z" v0 |" T! w3 ?
  1586. ; Define how many bits are stored in each character when converting2 U: i$ j5 V) ]$ R- M4 b$ v! I
  1587. ; the binary hash data to something readable.- ], A6 ?! z+ n* j
  1588. ; Possible values:2 f/ y* A: X/ L. p7 a( w! A
  1589. ;   4  (4 bits: 0-9, a-f)8 D# {- P; b1 @. R2 ~8 s& G
  1590. ;   5  (5 bits: 0-9, a-v)
    . w% D  s: S( J2 M1 o
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & n5 j7 Y/ `* I
  1592. ; Default Value: 4
    7 k% m# w9 u# P. T5 u5 {# d% v
  1593. ; Development Value: 5
    % X$ \- z! m* u2 A8 M
  1594. ; Production Value: 5
    6 b5 z1 O7 C4 H& E) P
  1595. ; http://php.net/session.hash-bits-per-character5 e3 f7 U8 c6 P' Q* S1 R6 S
  1596. session.hash_bits_per_character = 52 V  }+ P$ I# V7 I, y9 D( B4 ?
  1597. # i% b0 W) {! D* u$ r
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ @( K9 C: P5 ?: H' M% E6 G
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # _5 U) d& p; p. e7 {3 _0 w
  1600. ; add a hidden <input> field with the info which is otherwise appended
      ]/ D# X# L5 K) F# j
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - ^" G! U" J6 }# ~4 q4 E) f
  1602. ; Note that all valid entries require a "=", even if no value follows.
    * T5 W# }7 P& n# i/ Q8 u$ h
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="& z) h- f9 x! E" K! n6 L' ?
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 E* Z1 o3 j, t9 q. d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". g! l, F% Q2 g" k2 x8 P
  1606. ; http://php.net/url-rewriter.tags; n4 A6 w  N) N4 Q7 F& m+ X
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 t0 ^8 ]" G3 ~7 P

  1608. - s( n, ~8 M3 ?# ^( m- h' [- y$ p
  1609. ; Enable upload progress tracking in $_SESSION) n2 R+ P6 L$ }0 e4 Y" {
  1610. ; Default Value: On
    " L* O/ |( P4 o
  1611. ; Development Value: On: v% H3 k; x3 x) {1 l! z
  1612. ; Production Value: On* A6 h. C: O' |% W7 N
  1613. ; http://php.net/session.upload-progress.enabled
    $ c, P2 W# b# N
  1614. ;session.upload_progress.enabled = On
      Z" f' m8 R# m5 B2 N
  1615. . D, s3 v1 A; i3 `/ |6 A
  1616. ; Cleanup the progress information as soon as all POST data has been read$ ]- y. |0 P  [, @* a$ v
  1617. ; (i.e. upload completed).- S: A5 z: S' }  _& b
  1618. ; Default Value: On7 |5 u/ R; O: ?3 Y! Y( _1 Z6 Z3 p
  1619. ; Development Value: On# m, h, \* }1 f4 V; N; _
  1620. ; Production Value: On
    % R4 A8 J3 s, t1 S; `
  1621. ; http://php.net/session.upload-progress.cleanup
    . k% U' }) R; t. T
  1622. ;session.upload_progress.cleanup = On
    ! m" I& j% K. K' g8 _3 _- I
  1623. ! M  h, D. Q' Z) r/ p
  1624. ; A prefix used for the upload progress key in $_SESSION, T$ B8 i' X" d
  1625. ; Default Value: "upload_progress_"
    $ d0 e1 j7 ~* p4 v+ q7 z
  1626. ; Development Value: "upload_progress_"
    , H/ y0 V) U/ O* V; k, ?+ W
  1627. ; Production Value: "upload_progress_"
    6 e: p' D, G& U/ x! q
  1628. ; http://php.net/session.upload-progress.prefix2 d  Y% l5 J, d( x) K
  1629. ;session.upload_progress.prefix = "upload_progress_"
    % [7 X# {; f  O5 u2 {
  1630. . s; g4 \& y) _, b4 n! R: g
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    / C$ m1 t, b$ E6 @& Q
  1632. ; containing the upload progress information
    ! q% H/ C7 C( k1 T, W% H) ]
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / a6 Z* X% Q/ n6 R$ j' R+ r, ^
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) z5 X  p4 }8 a. S! k( G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! }* L9 w1 l2 a/ O& d3 N4 X
  1636. ; http://php.net/session.upload-progress.name
    5 c: ]0 u) w; Q; ?
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ X9 n# T8 a$ G

  1638. 0 l8 Y9 M* V1 m+ p0 S6 e2 K
  1639. ; How frequently the upload progress should be updated.9 x  f5 z' u4 P; Z9 ]9 v8 w& ]
  1640. ; Given either in percentages (per-file), or in bytes: k" w6 X! ?* k( E2 V3 D3 l
  1641. ; Default Value: "1%"
    % q% g) \, J; M- f3 x
  1642. ; Development Value: "1%"
    8 @8 |3 B' B$ k
  1643. ; Production Value: "1%"
    # i' v# [3 G. }% Y- y! v' m9 d
  1644. ; http://php.net/session.upload-progress.freq6 i8 I0 `0 Q  H# B0 ~2 |( ^
  1645. ;session.upload_progress.freq =  "1%"6 E% s8 L2 e6 I3 F- T

  1646. " V; A# J0 U1 H# c1 c( a
  1647. ; The minimum delay between updates, in seconds. t& K' U7 S; b1 @
  1648. ; Default Value: 11 \+ p% T' T- y9 d( R# }" K
  1649. ; Development Value: 1
    . U1 ]' I* W! W: k, N8 `! L, i
  1650. ; Production Value: 1
    5 R# e* i+ o( r
  1651. ; http://php.net/session.upload-progress.min-freq
    $ f) O; z/ z# ]" {( o$ O  i& V
  1652. ;session.upload_progress.min_freq = "1"1 g' R3 L# ]3 J

  1653. - r6 }0 b0 ?9 u
  1654. [MSSQL]( G4 o0 V# m, S. B, o- D
  1655. ; Allow or prevent persistent links.
    3 Z3 X9 Q: ~/ b
  1656. mssql.allow_persistent = On/ r2 C) w# s# E8 g
  1657. : y( s9 }, Z: w. L7 `! ]6 \+ y
  1658. ; Maximum number of persistent links.  -1 means no limit.
    0 @/ m* K$ T, M  W# Q4 r
  1659. mssql.max_persistent = -1. z) v! g8 S' q. V3 y( x4 |

  1660. * j6 ~; y0 i1 i/ z  k: G9 z2 ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 t( V' Y: b1 ?$ `; u0 Q; C# W( O
  1662. mssql.max_links = -1$ y  i9 v" B. k' ~! n8 b
  1663. ! {5 ~5 b. X; Y' _3 R# _9 I
  1664. ; Minimum error severity to display.
    * y$ M2 G  z  R' l$ J
  1665. mssql.min_error_severity = 10- w2 {$ F+ a1 D7 ?! O$ Z/ Q

  1666. 3 v' Y! M; n: i- z
  1667. ; Minimum message severity to display.
    % w2 g8 w/ e' `$ m3 t3 G) v1 D
  1668. mssql.min_message_severity = 10! a- ]% p/ N9 U& M
  1669. 4 g4 m3 C2 a3 M* K. y& k
  1670. ; Compatibility mode with old versions of PHP 3.0.0 O6 l! E4 O! S! s" |; z
  1671. mssql.compatibility_mode = Off
    2 N0 I7 z3 s1 _# O8 R1 b

  1672. ) B( D! `/ c5 p6 G4 T2 L3 T; x
  1673. ; Connect timeout  {! y, E0 Q9 r- ^0 {
  1674. ;mssql.connect_timeout = 5
    $ a9 u$ h+ v. u3 @( |) Z" B& H
  1675. 2 s5 p2 }6 e4 d2 j7 Y4 P
  1676. ; Query timeout
    ' `8 M: A8 W% P( I8 e) M
  1677. ;mssql.timeout = 60
    + R' {5 T: R9 q% N" F3 ?1 i) d

  1678. 0 `! d2 F3 l+ g( V$ C6 H$ c$ Q
  1679. ; Valid range 0 - 2147483647.  Default = 4096.: N2 }5 L7 P0 `( W* c1 ]
  1680. ;mssql.textlimit = 4096' f+ q% ]+ i+ B3 e8 y. [

  1681. : T9 V: i& F, ]% d. a0 X; d) g
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * q1 e: o# O9 h/ b- q) V- r
  1683. ;mssql.textsize = 4096
    : x; C/ {# j9 K: ?- x
  1684. 9 w2 x0 Y: ~1 }0 C3 Y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.% X# T( H: n# \8 |  A0 s; P5 b: Z
  1686. ;mssql.batchsize = 08 d' R% F3 w  z' D8 K( G/ e! r

  1687. $ w) ^! `7 o9 K4 i1 G3 l4 Y
  1688. ; Specify how datetime and datetim4 columns are returned
    : f( C; D: @, E( A" E/ O
  1689. ; On => Returns data converted to SQL server settings9 _, i6 C" n4 A6 w
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss+ l1 A) ]2 D6 w: V0 U- b
  1691. ;mssql.datetimeconvert = On
    " o& ?- w5 m* [! g" I) v
  1692. - p1 L+ G: @" J# {* W7 W0 k9 f
  1693. ; Use NT authentication when connecting to the server
    ' r' [9 O; z' x: _
  1694. mssql.secure_connection = Off5 M( a0 O2 Z9 C! T$ o' F9 R. \
  1695. + e7 K6 j* L5 \: h" t) F9 H5 ^; S
  1696. ; Specify max number of processes. -1 = library default
    4 p0 w, E3 S) N+ N9 N$ @: ?
  1697. ; msdlib defaults to 25% O  P$ h9 c& U4 b3 e$ s. c
  1698. ; FreeTDS defaults to 40966 Y. z/ y5 z5 U6 c
  1699. ;mssql.max_procs = -1# D. `  A' P) J6 t& B& {
  1700. # E8 d. R! T5 G/ x  c2 W
  1701. ; Specify client character set.% U' v4 Q3 b) W1 b+ R7 X; {4 A7 o
  1702. ; If empty or not set the client charset from freetds.conf is used+ W5 H& J; w. L% |3 w* U. w
  1703. ; This is only used when compiled with FreeTDS
    / z. I2 y  j* Q! S1 {
  1704. ;mssql.charset = "ISO-8859-1"4 M8 E* z! Q2 P: o0 ?6 |2 [" D
  1705. + b& ^0 q6 K0 `8 Y" D4 e+ t
  1706. [Assertion], M8 Z, P6 Y8 O' K2 F
  1707. ; Assert(expr); active by default.
    " c- e" l. E; i) r6 y
  1708. ; http://php.net/assert.active
    3 J+ D( }9 ?+ W& S7 Q3 R, {- c
  1709. ;assert.active = On0 F- f/ j. l: O6 t: Q
  1710. 1 K( [" ?! A" L
  1711. ; Issue a PHP warning for each failed assertion.
    * \  Q  N4 |5 i: z  `4 J3 [5 A& J
  1712. ; http://php.net/assert.warning! c' \$ g# r3 {- B
  1713. ;assert.warning = On! a0 P4 [; V0 a
  1714. % r4 Q$ T- |$ h* f6 v+ U
  1715. ; Don't bail out by default.2 g+ M, T* ]! h
  1716. ; http://php.net/assert.bail! F: k* ?% o7 y6 }. e
  1717. ;assert.bail = Off
    $ ]1 a( f  H0 q: Q. `

  1718.   m$ j4 `2 e/ \6 @+ o/ o
  1719. ; User-function to be called if an assertion fails.# u: ?2 _9 A( S2 ^5 {
  1720. ; http://php.net/assert.callback- n! k5 n: c: z3 V) }: o5 E5 Y
  1721. ;assert.callback = 0
    # L& U$ B# y$ i

  1722. 5 d: t! X) h; l" }# T1 O, e
  1723. ; Eval the expression with current error_reporting().  Set to true if you want/ r' ~2 i' e3 B+ C# l
  1724. ; error_reporting(0) around the eval().
    ! }4 e9 M4 O( U( c" Z$ ]  ?
  1725. ; http://php.net/assert.quiet-eval5 X$ t7 b, V! F+ w
  1726. ;assert.quiet_eval = 06 ^4 `+ Y  L+ Z4 B
  1727. ! s& `8 h: s+ ?- |: g8 Q7 @) ?
  1728. [COM]
    ) _+ U$ e! T, ]4 _  s' s* I& `: @
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs" J, F1 b" I, M5 A4 N' P
  1730. ; http://php.net/com.typelib-file
    ! M0 F( O- l: x. G: \' C/ ?: F
  1731. ;com.typelib_file =% }2 B# _9 J7 W9 D- O$ ?

  1732. 8 t8 I6 U. ~5 ^# x- t
  1733. ; allow Distributed-COM calls
    3 E8 w6 ^$ d) w/ v; F' ~3 d/ M: @
  1734. ; http://php.net/com.allow-dcom
    5 Q) S. U0 z7 U% U' ?. w
  1735. ;com.allow_dcom = true" c) K5 s$ T, U) `, N0 T

  1736. 0 u  D2 E/ N5 i
  1737. ; autoregister constants of a components typlib on com_load()
    * U% z7 q6 b8 E3 W3 ]: f; ^
  1738. ; http://php.net/com.autoregister-typelib
    % s4 l# D9 J3 q% {' s2 @. }$ A5 {
  1739. ;com.autoregister_typelib = true# _$ `/ s& \4 o) ~; a4 |
  1740. 6 h4 A( q' g# l! \1 S8 _
  1741. ; register constants casesensitive
    % F2 d( M% X5 p. s. e% ?0 d6 h
  1742. ; http://php.net/com.autoregister-casesensitive
    1 v5 S. I8 F% S
  1743. ;com.autoregister_casesensitive = false
    % G& x1 H) E* ?0 E
  1744. . J. j* ]4 y% ~6 t" h/ B
  1745. ; show warnings on duplicate constant registrations
    3 g+ m. e1 \. }+ d/ y" ?
  1746. ; http://php.net/com.autoregister-verbose
    6 k# Y; \7 v  S& }$ D
  1747. ;com.autoregister_verbose = true
    & x5 H$ A2 b6 L5 ~$ G3 P
  1748.   _! H/ F2 t. \4 {' r* p4 C9 \
  1749. ; The default character set code-page to use when passing strings to and from COM objects.* E* v; q" l3 q% X
  1750. ; Default: system ANSI code page
    3 B+ |; `/ A' c) C: P. U
  1751. ;com.code_page=* S0 c% E. [/ ?$ P/ d& Y% G9 s
  1752. . S( T# T1 K, W% G1 i2 Y2 K( z$ h
  1753. [mbstring]$ T2 N/ A$ e& ]# g
  1754. ; language for internal character representation.
    : z' G- D$ A" o2 X: x
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.! f: g* }3 v6 m  p# r5 f
  1756. ; http://php.net/mbstring.language5 H( O, V3 k; G; c5 ^0 _
  1757. ;mbstring.language = Japanese
    4 h+ w* Q6 q% \1 |) |2 e; L* D
  1758. # p% q3 K8 ?( h5 i# G9 _8 N
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & R6 K" L8 D' O+ B1 _4 j
  1760. ; internal/script encoding.
    % ~- H' Q- J5 ^
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    + n: \/ }% F( [' X$ g6 V
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." d/ ?7 j0 H7 U" z$ Y5 y
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : _  J% K/ r3 D8 T! k
  1764. ;mbstring.internal_encoding =( e& [4 o; P5 v

  1765. 0 k- w; [# a. Y9 W9 a  ]
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 K1 {' @- a  n
  1767. ; http input encoding.
    - U, C% M& h. Z' L+ R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.& z- P9 {- Z. C+ {; f
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.3 ?1 U: W/ I8 e: ?. s4 s
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 ~4 y3 B+ X1 M& ?4 o3 N# D; `
  1771. ; http://php.net/mbstring.http-input
    8 G$ F1 }. [! J4 D% `5 r
  1772. ;mbstring.http_input =2 T, K- Z1 y5 E
  1773. % _& }3 N3 t$ O, ~  V8 e/ e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.: ^3 A, w) r* M. H
  1775. ; http output encoding.% f. `5 h4 v6 C6 y  Q2 X. E: `3 w
  1776. ; mb_output_handler must be registered as output buffer to function.7 p0 R& d7 K7 J
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . R, R1 S! U! I5 H8 L/ y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , @2 v1 M' g3 z$ N6 h3 X
  1779. ; To use an output encoding conversion, mbstring's output handler must be set' ~1 Q6 q6 |6 \7 j  `# P
  1780. ; otherwise output encoding conversion cannot be performed.7 L- z& d" A* R
  1781. ; http://php.net/mbstring.http-output, ?3 `: m5 z/ w/ h" i
  1782. ;mbstring.http_output =  d& u+ d, R2 h1 A) N: M
  1783. , A; O- @) V$ s
  1784. ; enable automatic encoding translation according to3 e" g- E' p& O. R3 i; o
  1785. ; mbstring.internal_encoding setting. Input chars are  D: \" M6 t. Q2 g5 I8 g9 U
  1786. ; converted to internal encoding by setting this to On.1 b: A3 v( l/ ?* s" V; x: S0 j4 R
  1787. ; Note: Do _not_ use automatic encoding translation for
    9 S) U  Y- }) L# b; K! `+ Q
  1788. ;       portable libs/applications.
    . u0 ?1 \0 h: D) b9 b
  1789. ; http://php.net/mbstring.encoding-translation8 k) P$ Y9 a+ Y
  1790. ;mbstring.encoding_translation = Off
    , Z# a7 P, V9 v) N7 J% y+ d; U

  1791. ' G6 O, e% k% Y- L6 E: M, r
  1792. ; automatic encoding detection order.
    ! t5 I( c8 k: q+ }' }& Z
  1793. ; "auto" detect order is changed according to mbstring.language
    & r  A- H( a" O/ d5 z
  1794. ; http://php.net/mbstring.detect-order; @: i$ H0 W- m7 c
  1795. ;mbstring.detect_order = auto
    5 q" k0 Z9 }% w
  1796. ' f6 l( ^: x4 l1 r# K8 i( b( ?
  1797. ; substitute_character used when character cannot be converted
    3 F  \( U, j. S% ?3 z8 @
  1798. ; one from another
    4 ], X. m4 l7 g* g
  1799. ; http://php.net/mbstring.substitute-character3 O9 u0 ~& z& f7 s
  1800. ;mbstring.substitute_character = none
    1 e9 G* \7 {! l' H: {

  1801. 1 ?) r9 v/ D) `8 A% t" g# O* |+ d
  1802. ; overload(replace) single byte functions by mbstring functions.
    ; P; }5 V; g# M  R
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),5 a  _( w$ K" C* U0 z% D- K! J( B
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    # J* S+ O! x. I' ]
  1805. ; For example, 7 for overload everything.* t" P; ~; c4 R
  1806. ; 0: No overload
    % p" j6 d3 r. T& D
  1807. ; 1: Overload mail() function  q1 ^# G2 C) z6 ]
  1808. ; 2: Overload str*() functions8 b4 V: {1 D$ P
  1809. ; 4: Overload ereg*() functions
    # J4 I8 w3 v. Y' k* z, y
  1810. ; http://php.net/mbstring.func-overload
    " O' k4 \& f6 H# E5 k
  1811. ;mbstring.func_overload = 04 x/ d8 B- a8 E) h
  1812. , Q" J! ?) e2 t& k) Y9 Z% J
  1813. ; enable strict encoding detection.
    : H" f# F, L% e" G$ U
  1814. ; Default: Off$ `. b8 B6 ~  M
  1815. ;mbstring.strict_detection = On
    3 v! r) {) A  w* C; b

  1816. * `) ^: D5 k  ]2 L7 G( r
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 C" x% d! [( N, \6 ~" a: B
  1818. ; is activated.
    * \# h$ ~; A: d% U) j) E
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( B- i: D+ v% ?) `) u
  1820. ;mbstring.http_output_conv_mimetype=
    ! O- W  [! K9 y( ~! @+ c

  1821.   P0 y" w; r' c, h# Y9 J& c$ u8 D1 f( _
  1822. [gd]
    7 |, c# A* i# F
  1823. ; Tell the jpeg decode to ignore warnings and try to create" j* W1 _, `1 O. P4 v6 P3 F
  1824. ; a gd image. The warning will then be displayed as notices
    ' e2 I& U3 b: ?) i0 v
  1825. ; disabled by default
    : O$ G  E/ v( Q9 p% C
  1826. ; http://php.net/gd.jpeg-ignore-warning
    & b' E' J. E( n0 n
  1827. ;gd.jpeg_ignore_warning = 0: s4 {$ z; x* i' d. t- [

  1828. 1 O7 ~6 Q$ @9 c  v
  1829. [exif]
    + R5 {, S" k- m' ?
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    + @9 W$ w, |  W+ _# p; g. v
  1831. ; With mbstring support this will automatically be converted into the encoding% ?! D/ D) I5 i$ b- d$ p* M- \+ Z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    % ?. |' S0 r- a; r8 i; u
  1833. ; is used. For the decode settings you can distinguish between motorola and3 m, S$ L: s8 m  v( H( l. @
  1834. ; intel byte order. A decode setting cannot be empty.
    $ D5 t" E% E0 J; G8 A: v
  1835. ; http://php.net/exif.encode-unicode  {3 f# j! F8 W5 w, f3 ^4 t5 Y
  1836. ;exif.encode_unicode = ISO-8859-15: S# P3 \9 k! }. o0 y: x

  1837. 3 N* m! z' G5 [% l  ?/ S
  1838. ; http://php.net/exif.decode-unicode-motorola3 p3 P: v3 ?1 E8 }
  1839. ;exif.decode_unicode_motorola = UCS-2BE3 B4 v3 J# y- |, R
  1840. " S4 e( A8 U- g
  1841. ; http://php.net/exif.decode-unicode-intel% S/ a5 v# U( Q7 X+ J
  1842. ;exif.decode_unicode_intel    = UCS-2LE9 k6 ?) q, e6 o  D

  1843. 5 u% c6 V+ b( ?$ U& F/ E
  1844. ; http://php.net/exif.encode-jis
    ' J5 H4 r2 D; f' `5 u$ n' e
  1845. ;exif.encode_jis =8 c+ J. r/ e/ ?' i

  1846. # j$ O/ a5 R7 v
  1847. ; http://php.net/exif.decode-jis-motorola
    5 u% a; ~7 f  q8 e6 u, }
  1848. ;exif.decode_jis_motorola = JIS
    * [5 o( s0 W: s0 {% O

  1849. + ~4 c/ H, N% Y# ~
  1850. ; http://php.net/exif.decode-jis-intel
    * g3 J) l' o3 @$ }4 Z/ u) [. |
  1851. ;exif.decode_jis_intel    = JIS3 _& z4 @" {. v! s* W

  1852. / A* d3 _+ `& T& c+ U3 {& w
  1853. [Tidy]
    ( I2 Z: w1 }# W- H  K3 m% {
  1854. ; The path to a default tidy configuration file to use when using tidy# l+ n6 ~& m: L3 }& h7 Q9 E
  1855. ; http://php.net/tidy.default-config, v! @" j* r; e6 s& f6 L
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 p! J: z' b7 m

  1857. 0 y5 r: T0 m* q9 @
  1858. ; Should tidy clean and repair output automatically?: ]. P. b$ Y0 y9 N2 R, R
  1859. ; WARNING: Do not use this option if you are generating non-html content
    0 S9 g: Y; Y% z3 m" ~
  1860. ; such as dynamic images6 F$ v$ T5 P  k- j4 P" l( J
  1861. ; http://php.net/tidy.clean-output( ?7 l5 @4 L4 ^4 |
  1862. tidy.clean_output = Off
    3 j  q# Z1 y5 [( c  k

  1863. 2 c/ I8 Z4 D; A4 `7 `7 J( n
  1864. [soap]6 y5 m7 o8 A5 a% Q7 s
  1865. ; Enables or disables WSDL caching feature.
    9 `# a6 }. L$ O( _. {( G
  1866. ; http://php.net/soap.wsdl-cache-enabled+ m. ]. Z% b4 ^4 b5 L$ E4 t" o, I$ I
  1867. soap.wsdl_cache_enabled=1
    & l" r: C. j0 f
  1868. ( M6 h2 D: p# Q# a
  1869. ; Sets the directory name where SOAP extension will put cache files.) Y4 T5 `: T% L; K' b( p9 N6 ~0 a
  1870. ; http://php.net/soap.wsdl-cache-dir& d3 z( Y1 ]3 t, g  L( x
  1871. soap.wsdl_cache_dir="/tmp"
    ) \5 ~3 {3 p" l8 b
  1872. 0 l* i! G* A' k: v* W* i* ^8 g2 O
  1873. ; (time to live) Sets the number of second while cached file will be used$ M9 z5 f* L/ w! G, Z& W
  1874. ; instead of original one.
    % g7 |5 `' _7 X; w" X/ o
  1875. ; http://php.net/soap.wsdl-cache-ttl
    % s2 s9 w9 ~0 Q9 \
  1876. soap.wsdl_cache_ttl=86400; i! G. K- F( e) _

  1877. + s; C1 h0 j2 q2 f& ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 s, l2 L( \( v& r3 E5 ^) g! }
  1879. soap.wsdl_cache_limit = 5
    0 D% i) [4 V4 R: Z

  1880. , w; g' y1 ?' ^; K3 Q: q
  1881. [sysvshm]  m$ b' `- i" m$ B! T% s
  1882. ; A default size of the shared memory segment
    & @" o4 J, ~1 Y: s' U' [
  1883. ;sysvshm.init_mem = 10000
    4 b" M4 L6 V2 G6 w4 ]
  1884. - u, [7 R' p, E. X% {0 g
  1885. [ldap]
    1 n  `/ U# b* V% v2 I( h
  1886. ; Sets the maximum number of open links or -1 for unlimited." x9 p6 p" I5 V
  1887. ldap.max_links = -1
    , t1 J) }# v) h2 S4 Z% a% [- T
  1888. 8 ?9 K* ^1 ^$ a4 k
  1889. [mcrypt]  v; ]2 ]. o- O" v
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  q  R- o/ g" D- m

  1891. 7 ]- j6 z6 N' E: F; d
  1892. ; Directory where to load mcrypt algorithms
    . s- ^7 b; [2 S* S
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 F* L6 C7 X( m) H! g$ t
  1894. ;mcrypt.algorithms_dir=9 m4 ^1 |$ }$ R& u7 K( x

  1895. 8 w5 n  L7 Q* M4 M  e' T  E8 N
  1896. ; Directory where to load mcrypt modes% w; @* \+ r. i
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , B# R9 d: ?3 P  E
  1898. ;mcrypt.modes_dir=- b- s8 w, x7 q! Q! B6 O. u9 c
  1899. 8 }$ H6 X, m1 e- v( |
  1900. [dba]
    - V1 F* _/ E& [% }. C. ]4 b
  1901. ;dba.default_handler=# M3 V% |0 a7 R0 w

  1902.   d; B# `9 \* E/ Q; G! C
  1903. [opcache]7 z: D1 X) c% p6 o
  1904. ; Determines if Zend OPCache is enabled0 D  Y& C* E; J4 u( k
  1905. ;opcache.enable=0: H+ A; m# E8 S7 A7 M

  1906. 1 m, E% w# w7 d- H, }  z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP5 b* H% P3 Z& H4 a1 A( N
  1908. ;opcache.enable_cli=0+ n: K7 k) c% x$ T) H: f  F
  1909. 1 U. I7 ]) j0 N
  1910. ; The OPcache shared memory storage size." }* l0 O/ f; c6 Q
  1911. ;opcache.memory_consumption=646 Z) F7 u9 A% V) E- }. Q9 {

  1912. & n8 m! G# b0 l
  1913. ; The amount of memory for interned strings in Mbytes.
    6 W8 F- g3 v; q
  1914. ;opcache.interned_strings_buffer=46 o: Q# n% n# `" A  i6 B

  1915. ; `% C: T' t, B& I
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
      G; x3 u9 x" U6 t& n0 L, l
  1917. ; Only numbers between 200 and 100000 are allowed.
    5 H5 f: z2 S  l' m# n$ S8 b; n
  1918. ;opcache.max_accelerated_files=2000( A7 F" E; M7 R5 L2 {& @

  1919. # z! T2 T: ?7 E2 @: |* A' q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% P! W6 t; H8 F8 u0 K9 }. l
  1921. ;opcache.max_wasted_percentage=5# e2 e" S+ r# p1 v4 m: ~

  1922. 8 F9 g8 t6 S. f  a6 g; T
  1923. ; When this directive is enabled, the OPcache appends the current working
    ; V+ M9 ^% T) w' n- T
  1924. ; directory to the script key, thus eliminating possible collisions between( z. {7 ^3 g8 ^) G/ T
  1925. ; files with the same name (basename). Disabling the directive improves' z* ?/ Z* v6 J5 r0 J
  1926. ; performance, but may break existing applications.
      r! u) n1 ^9 l
  1927. ;opcache.use_cwd=1
    : r) S) ?  ?' c* p  L0 h$ |# x0 d' l# n; Q. s
  1928. - ^, }. L: h) g1 _; H0 t) z2 `0 }
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ( R0 l4 F  m) c8 c3 p
  1930. ; webserver for changes to the filesystem to take effect.
    $ e8 @' b- F2 `$ L+ [% q
  1931. ;opcache.validate_timestamps=1* [. n9 V2 h7 [' \. `7 b
  1932. 5 k6 m# Y4 Y* f" f+ ?
  1933. ; How often (in seconds) to check file timestamps for changes to the shared& L! B* e, b" C) i: O( Z, a) A
  1934. ; memory storage allocation. ("1" means validate once per second, but only7 e' M" @% S2 E% C
  1935. ; once per request. "0" means always validate)
    / R) A+ z$ a# x  M
  1936. ;opcache.revalidate_freq=2& `# `9 J: n/ X

  1937. ) l  {' w7 o% c7 S, o, X4 w
  1938. ; Enables or disables file search in include_path optimization
    1 J  E/ \/ j8 |5 U$ @! V( E
  1939. ;opcache.revalidate_path=0
    $ R7 a" C- @+ n  `
  1940. ( V9 `5 }/ h! {3 _) F' D9 |
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; P1 A; N( ~8 `/ D! F+ h- b' s+ V7 j
  1942. ; size of the optimized code.
    : L( L4 ~+ c' |9 M
  1943. ;opcache.save_comments=1
    " M) e; h7 I  p2 o. e) `; N) `/ @* Y

  1944. . e( w2 r: z0 }" Z
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"7 ?+ F5 O! X% y* `! F
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    % z$ h4 l' ^& ^* {: S
  1947. ; that don't need them anyway.
      Y/ m' {+ h$ @4 w5 O
  1948. ;opcache.load_comments=1
    4 S, I7 W" S3 r, [: g9 ~& k. ?
  1949. " h3 _/ h6 i: r, V6 y
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 P7 ~) ?- z. h- f3 F9 E
  1951. ;opcache.fast_shutdown=0
    5 s. A1 i" M' |* E# b! C
  1952. . E5 G" B9 e0 ?! _/ t
  1953. ; Allow file existence override (file_exists, etc.) performance feature.* q; V& F# _2 t- x3 @. n
  1954. ;opcache.enable_file_override=0
    ( x# d4 k9 M  i+ O2 T( V, W7 Q

  1955. 7 Y8 X9 N- d( t' D  C- L8 [* a
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache/ N# l8 r4 v% V) G+ [, U4 {
  1957. ; passes
    0 q0 _8 Q7 B) q' ?3 g0 R
  1958. ;opcache.optimization_level=0xffffffff# M+ L  R% g5 c& V

  1959. # O8 E1 }; k. e& y7 g
  1960. ;opcache.inherited_hack=1
    8 b0 ~* f% s- f. q, {# y
  1961. ;opcache.dups_fix=0: @  P/ u% S  k' ]: n  t( @
  1962. ) p% R( O5 B6 n  U4 l
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / P4 @3 H( P, b; T
  1964. ; Each OPcache blacklist file is a text file that holds the names of files$ I  l. ^! a6 I
  1965. ; that should not be accelerated. The file format is to add each filename
    ) r/ K2 k4 s+ ^$ ^3 F) [. W9 r0 M
  1966. ; to a new line. The filename may be a full path or just a file prefix6 d  y& E& x: `3 X7 H9 z
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# t1 z9 i4 q4 e! ?1 e
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).$ s1 |# m& m1 N5 l3 F
  1969. ;opcache.blacklist_filename=
    9 {* s" r0 c( ?' G8 }& y
  1970. 5 l! a+ S" F/ S- ^
  1971. ; Allows exclusion of large files from being cached. By default all files
    8 H' o" Z) s- y" _" q
  1972. ; are cached.6 y6 I* c$ R  d* y) S% e1 U3 D
  1973. ;opcache.max_file_size=0
    & d6 ]& B7 D+ I; Z0 w1 ]

  1974. 3 \( e0 G7 J; x7 G9 R- d
  1975. ; Check the cache checksum each N requests., Y" v+ v6 g9 f( W/ @/ U. X1 ~/ w
  1976. ; The default value of "0" means that the checks are disabled.! A7 n) m- D( y- Z
  1977. ;opcache.consistency_checks=0
    ; w. G2 c/ X# N3 L, o0 i

  1978. $ z7 o( Q/ V# S+ |6 ?. S
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; C) [  j/ _8 b& o# y
  1980. ; is not being accessed.3 s$ a6 D' C# c. \# t* _
  1981. ;opcache.force_restart_timeout=180
    % ^) T  f# }$ M$ c1 a" w% [8 m- n

  1982. 3 _- L  u1 t& Y8 U" z7 f; s* d) k
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    . D; c/ u& x) c2 b
  1984. ;opcache.error_log=' I$ `& C: @  c( Z/ z* k& b4 i

  1985. 9 A; g2 v8 |! y4 l/ O
  1986. ; All OPcache errors go to the Web server log.8 e; t2 S4 b0 T4 S/ N
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 t) E' _7 Q( j3 j- P  p2 E9 U% A; Y" W
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    7 w" W, P1 ]/ T0 q9 R; x  @; p8 `
  1989. ; debug messages (level 4).$ Y/ h; l  i6 _7 U4 {& O6 s4 k
  1990. ;opcache.log_verbosity_level=1
    & A0 u/ r: d1 U7 _6 Y: N  p/ u

  1991. ) I% K; L$ Q. j2 y: J- }# m
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# l0 F' S6 Y* c4 _
  1993. ;opcache.preferred_memory_model=+ |" K3 [5 ~- m% X% Q& {

  1994. 0 M: K" E+ F" T5 h. ]$ G6 s/ @$ _
  1995. ; Protect the shared memory from unexpected writing during script execution.
    $ M, [5 b; a0 ^+ d6 T/ ~
  1996. ; Useful for internal debugging only./ S! s) V3 s, D8 o* c
  1997. ;opcache.protect_memory=0
    ; Z* j; n: ?/ k  h( W& ~$ y: W$ l
  1998. 7 {+ x" I, R( c2 J5 p
  1999. ; Validate cached file permissions.
    ( u! |* ]+ U. q
  2000. ; opcache.validate_permission=0! D) @- r/ @( X2 _0 r5 F+ G+ p4 [
  2001. 6 e. o  \: A1 O8 l/ a
  2002. ; Prevent name collisions in chroot'ed environment.7 U& {. R1 x( ~& E* k3 {
  2003. ; opcache.validate_root=09 }" ?# ]" z2 W7 T+ a. R' g, t
  2004. 2 h8 h% M' ^% s6 O4 G
  2005. [curl]
    ( ~2 i9 p4 ~7 H$ {
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 j: a6 L( I/ e+ e- e
  2007. ; absolute path.
    ! M$ D! Q7 q  p; I7 y
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 q# P& U; J* L4 U! ?
  2009. - E3 w6 ~) k& G1 t% Z8 x0 M- L1 F
  2010. [openssl]
    . {5 k" c: \2 [8 M
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 Y9 ?1 T0 Z/ ^* @
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should' O( Y  M  t# i: N5 _
  2013. ; not specify a value for this directive as PHP will attempt to use the  \/ G8 z" j1 C- w
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    2 d# _& e/ f: X5 H
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ! a1 A& p8 U& M0 F' H) o7 F  @
  2016. ; option.
    ! V; @( O) L9 W. \! [# l: v
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 U7 L& V2 V. @) y2 a( G6 @" B. S! v
  2018. ; H! s0 `: b% T) ]& {' [
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    . Y; n" R$ \) ~0 H9 [
  2020. ; directory pointed to by openssl.capath is searched for a suitable, v' |+ `. x( c! D' n' o7 A
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    / U9 |, u2 z3 ]# g* j
  2022. ; Most users should not specify a value for this directive as PHP will" v. k9 ?5 B/ @" P2 z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,8 L8 w1 {3 Q* @, i& f
  2024. ; this value may still be overridden on a per-stream basis via the "capath"5 |, f1 r5 y: F" R4 \) A( L
  2025. ; SSL stream context option.
    ; f, p: M: W' [
  2026. ;openssl.capath=
    6 K+ Q/ l% t) c8 O. q) H. v$ v

  2027. 7 J' x( u, ?* y* F! R( U- B" |( r
  2028. ; Local Variables:% ~/ q6 E* F4 s  @$ l# q6 s, T
  2029. ; tab-width: 4
    8 q: U: ~! O+ |1 `  e
  2030. ; End:$ r$ s: `2 f6 B- v# [7 z: z" [" O
  2031. 3 i/ e: a5 a# c" P0 g3 Y
  2032. ;eaccelerator4 L$ G# i* F7 t0 @' r( F& R8 u' L8 N
  2033. " k! p6 Y3 [) u+ d2 L
  2034. ;ionCube
    ( p% d- C+ U1 T+ N* @$ V

  2035. 5 e9 k9 h9 Z$ I3 f" I" E
  2036. ;opcache- I5 x+ @+ m  B7 Q
  2037. 9 q2 Q( S' M+ n( M; ^5 T! c
  2038. [Zend ZendGuard Loader]
    % n+ u: C8 }- h6 F5 s" X
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    1 L5 g" O7 ?7 Q) ^# ^" j4 Y* ?9 E
  2040. zend_loader.enable=17 t- O& l' c% @- m! ?# _6 V
  2041. zend_loader.disable_licensing=07 @+ a" r$ N- ]; u  s) \) P% D
  2042. zend_loader.obfuscation_level_support=3: n/ G; c6 f) s/ N+ ]! b
  2043. zend_loader.license_path=& L6 K( `8 D3 l

  2044. 1 i* |; r% P! Q: E: B& X4 k
  2045. ;xcache: `$ w8 N/ u* e* ^
  2046. ; `. r& w- l3 T6 n
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146924 s$ X% [# Q* i, j$ p) Z
9 t. I, I1 f  o+ V

+ n9 U' x: x  d# A& B% b- WDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,& r9 o6 Y) O$ _0 w/ {4 i0 r' G) b
0 z- o# Q% T% r9 ]
Discuz!程序版本选择:- @, w, k; h2 R  @; q1 g! Z: }
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
' n+ ~; D( B5 i; b不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
' t  L& p" _* y& VDiscuz!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。8 S2 {% ]$ D2 E6 q7 b

/ q9 @) p8 J' y8 K' t( l8 ]2 L2 C' vDiscuz!插件模板版本选择:
  K" B# u0 P& \  g+ O( \7 B很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
, \  I0 B' ^* C$ R  n5 f. G针对这个问题做个统一的普及:
. p! _6 V: v0 l6 ~7 m$ aX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。  d4 {4 K! A4 @; r, V3 Z9 I

2 ^8 f3 o0 n8 B+ y/ J  _+ c所以% \; o* s( w& q# c
适合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的二级域名。2 y" t( s, V" n0 _/ p- q) H( u% S
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。: r; Q# n  F  p4 X$ [- g
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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