分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0+ g2 W7 |# F4 h$ J3 A

* y! q: Z  ~* B5 `9 Q% @
  1. [PHP]/ _/ O" c; N$ R2 n
  2. 8 [# ?2 [# g; o  u* r+ q+ h
  3. ;;;;;;;;;;;;;;;;;;;, M6 P; V( b5 B% j
  4. ; About php.ini   ;
    & Y, V* v, U4 N7 |" R/ h
  5. ;;;;;;;;;;;;;;;;;;;6 \  z( U' z$ D# q& S
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ \& b2 |8 Y) o' _0 d; M1 p) D
  7. ; configuring many of the aspects of PHP's behavior.$ p% I7 C& d) T+ @3 |. p" x0 {

  8.   f( D; u. w. L/ i
  9. ; PHP attempts to find and load this configuration from a number of locations.- o" n3 A8 T" j  E' @1 g
  10. ; The following is a summary of its search order:
    8 K, ]. A3 k& p. l. y6 K
  11. ; 1. SAPI module specific location.$ A; ^- @1 V, E) ~+ M/ M
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)0 T0 a1 R4 p, j9 F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)3 \$ N5 E0 F6 S( v8 H
  14. ; 4. Current working directory (except CLI)
    8 n/ e" q1 V9 |" ~" ^5 q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ \' {$ H2 d) Q0 @
  16. ; (otherwise in Windows)
    ) J, X9 C6 |4 D# q9 |% U+ `! I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 |0 @' @; Z, P! b9 Q
  18. ; Windows directory (C:\windows or C:\winnt)) T) I3 `$ e: y
  19. ; See the PHP docs for more specific information.' X* A0 L' c& n/ B/ m% b" D
  20. ; http://php.net/configuration.file- q5 ]( `. Z! |& I/ h

  21. # G, i0 S# r) I: D# o* h( Q2 q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    6 f% ^5 L1 f7 r1 d9 [) Q8 J
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - @' Q+ O* t! J+ T# `- j( u2 r8 G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    8 T$ p5 p0 f& u  r/ p) p
  25. ; they might mean something in the future.
    : }! d" j/ B+ g5 J

  26. & x3 U5 U0 e5 \9 I1 ^5 u" X
  27. ; Directives following the section heading [PATH=/www/mysite] only
    8 ]5 u3 P% t% o
  28. ; apply to PHP files in the /www/mysite directory.  Directives& V1 j; S9 f7 n: {. c+ H, V
  29. ; following the section heading [HOST=www.example.com] only apply to
    # q; o& r' l3 ^2 ^% u' ~! w
  30. ; PHP files served from www.example.com.  Directives set in these" M( T7 b- M2 v* p) O* H7 N
  31. ; special sections cannot be overridden by user-defined INI files or/ g& Y3 i- L: x( b. X- J, r6 B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; A( r' c8 ^7 L: A+ b! i
  33. ; CGI/FastCGI.) W: ~6 ^( G- K6 ?  E7 U
  34. ; http://php.net/ini.sections
      U  ~* ]  Y" [
  35. ; `+ \* j1 o( K3 Z' H' s8 B
  36. ; Directives are specified using the following syntax:/ C: D% o6 _2 A: v9 B
  37. ; directive = value
    - F. P$ v, x! `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    0 }5 a; n6 i" J; h
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 k/ I& c3 Z4 n
  40. ; There is no name validation.  If PHP can't find an expected, c. M' ~  S3 H7 |0 H) p
  41. ; directive because it is not set or is mistyped, a default value will be used.7 n2 M8 C" g0 U- t0 G2 l0 u; s2 q

  42. 1 ^0 @$ A$ m  Q" V1 |: t' V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one* s, F) D; B* E5 n2 z) t4 z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression$ _' T: X# R7 F5 o3 N8 m' `
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 J5 E  R7 M( R) P0 @, G. h/ o
  46. ; previously set variable or directive (e.g. ${foo})" G2 @' b  B$ F( C2 G
  47. ; U4 G2 L# w* q$ A! S5 U! D
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' Q( Q' T" R4 y0 Q: {5 Y$ e2 K& B/ Z. B
  49. ; |  bitwise OR
    5 f2 [% q5 t3 g
  50. ; ^  bitwise XOR; l( P% R- g/ L7 ~; x+ J+ y, m
  51. ; &  bitwise AND5 ?! m" l. P, F; D& K4 Q
  52. ; ~  bitwise NOT
    ; \0 u7 d- E4 C6 N6 t0 W
  53. ; !  boolean NOT
    1 r, Q  d0 S1 [; H% S% x& t

  54. / J6 }' I# {3 p
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 z1 k0 n  ^+ ?: _& y8 L: }
  56. ; They can be turned off using the values 0, Off, False or No.0 Y7 J% Y; w" C, Y  y
  57. ! {; M4 T6 i$ w4 a! _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    5 J  V# S5 l' Y, f- C
  59. ; sign, or by using the None keyword:
    6 _5 r6 g7 d' {. z7 c6 r) N
  60. - R0 c1 o8 O# c4 O& Z4 M4 m
  61. ;  foo =         ; sets foo to an empty string0 \6 w  Y- O. V1 B& P1 B9 `
  62. ;  foo = None    ; sets foo to an empty string3 g' F& e! q3 w2 }2 P7 [
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 ]0 U8 ]! H! @/ @5 K7 s4 L" g
  64. " D1 L; W* B4 [8 m) ^/ G$ ^4 e
  65. ; If you use constants in your value, and these constants belong to a" ^5 v. K' K* c
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& g- Z! S- \$ V- F' q& C2 p' ~
  67. ; you may only use these constants *after* the line that loads the extension.
    + l: a  t! `& B9 ?% X- D
  68. 1 e" p$ N+ G3 E% F: M. H
  69. ;;;;;;;;;;;;;;;;;;;7 N( F) a$ y" s( m/ ~: A# F4 m
  70. ; About this file ;; l' n: {: z8 Y& k  a
  71. ;;;;;;;;;;;;;;;;;;;* R  l( k+ x8 V/ g  e6 M9 P) D+ j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used0 k7 H: `, Z& G3 K# y8 w
  73. ; in production environments and one that is recommended to be used in
    5 y: A- W3 q% W8 p/ q# R' f0 j
  74. ; development environments.! I& J6 L' _9 M1 x* C; q8 ?5 `
  75. " z  ]# i# j# ]% S
  76. ; php.ini-production contains settings which hold security, performance and
    + E9 k; u; H' ?! @" X
  77. ; best practices at its core. But please be aware, these settings may break
    ) U$ C! a, B5 X
  78. ; compatibility with older or less security conscience applications. We
    # Q! G3 m9 m3 e. j# L
  79. ; recommending using the production ini in production and testing environments.9 Q! T+ D3 I  R2 v

  80. + I8 O+ Z; ^; k
  81. ; php.ini-development is very similar to its production variant, except it is! i- Q& ^& x) h6 Z
  82. ; much more verbose when it comes to errors. We recommend using the; F2 w+ K, r+ A; C
  83. ; development version only in development environments, as errors shown to
    3 T/ P* K* N+ [( K- Z
  84. ; application users can inadvertently leak otherwise secure information.8 ?0 a1 e  J$ z
  85. ( v0 y8 ~! g; f5 }6 D9 w6 N7 \; U
  86. ; This is php.ini-production INI file.
    - p) X4 f6 y6 d5 B7 n
  87. ( c, R6 f$ C0 n$ R5 W
  88. ;;;;;;;;;;;;;;;;;;;
    4 h6 u* V. f5 y0 z2 X
  89. ; Quick Reference ;; b7 O+ A4 T& g$ G7 R' Y
  90. ;;;;;;;;;;;;;;;;;;;
    , G- E2 c2 ^/ T+ ?9 C: w; v
  91. ; The following are all the settings which are different in either the production
    ) \" C  ?8 ^* O+ ~3 X- y
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    & c6 I: }6 e# a- m* x# ], P6 F
  93. ; Please see the actual settings later in the document for more details as to why/ D" N) d5 C- \6 |
  94. ; we recommend these changes in PHP's behavior.
    0 O; b6 O( T# E6 f9 H7 b/ t
  95. 9 w; n& e; o1 W7 a
  96. ; display_errors
    * V8 t8 n" g2 E6 D& q6 ?
  97. ;   Default Value: On
    - P3 z& D7 t  G% m! F" x
  98. ;   Development Value: On* q6 }" U" i) H7 v9 ?& r2 U# x
  99. ;   Production Value: Off8 u9 P1 @5 ~- [- p8 A

  100. 8 Z# V( b) K& F, O; m
  101. ; display_startup_errors7 G( Q/ Z5 m) O
  102. ;   Default Value: Off* s1 M; P0 E& S1 M8 O% j6 s+ q
  103. ;   Development Value: On
    - N& S: h/ p; r" f$ c9 l
  104. ;   Production Value: Off2 [; ?1 \  q8 n- R5 [

  105. 5 A* S0 o9 M% C8 _% D" F
  106. ; error_reporting
    4 l1 c9 S- \6 H' V! ?
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 c8 e& M, p9 K4 H" P2 z8 [* U7 T
  108. ;   Development Value: E_ALL* U3 c7 l1 ~( j1 D9 a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % x$ {+ k. O' W' R: G% ^( \: z

  110. 6 ~6 j7 {5 I) p7 b* @9 L
  111. ; html_errors7 }7 c& B4 L! k4 m4 x/ N6 X: _
  112. ;   Default Value: On
    , a" E8 }# o9 d. s
  113. ;   Development Value: On2 y. F4 L% H. Q$ s
  114. ;   Production value: On
    & e6 L8 r: i6 r) x
  115. + k* N! B3 }+ i% K+ ~+ H3 B+ a, i
  116. ; log_errors, B0 N0 l3 `+ W) p0 ?/ X$ E  p
  117. ;   Default Value: Off
    ' q# ?9 W- b+ W+ V7 f
  118. ;   Development Value: On
    ' }0 l1 H; M5 u! a
  119. ;   Production Value: On! S* I) f( g. n- Z
  120. / u* I8 J! S- v( ?# g8 p
  121. ; max_input_time
    0 E- X/ u$ Q6 s
  122. ;   Default Value: -1 (Unlimited)# h9 i  s. B# k5 P4 i5 Y" k% ?
  123. ;   Development Value: 60 (60 seconds)3 h: E& l6 P2 k2 `, o
  124. ;   Production Value: 60 (60 seconds)8 j, z, L% [. B2 H
  125. 9 O! ^7 l/ U6 k8 o  ~" M
  126. ; output_buffering
    / l+ X1 m* B: @: |
  127. ;   Default Value: Off
    9 F  L+ s4 C5 M/ a5 w# e. H: P1 m. w
  128. ;   Development Value: 4096: F3 C) T0 v9 @) s! \' X6 q
  129. ;   Production Value: 4096. L; i4 |) c, e  w. ]- N
  130. ! T8 C0 s5 B* N
  131. ; register_argc_argv+ p& s* |5 C4 n" B$ |6 h
  132. ;   Default Value: On3 u* u  t. x: H7 v3 ?: \
  133. ;   Development Value: Off* w9 ^% q3 z" ~# Q
  134. ;   Production Value: Off
    2 S% L( N0 ?2 ?% e9 R8 |
  135. ; \% w) ~' a" G
  136. ; request_order1 U1 k' r, ^& k
  137. ;   Default Value: None
    6 N% _  x3 @  O
  138. ;   Development Value: "GP"
    ' ]+ O1 l0 {4 o6 j/ K! b
  139. ;   Production Value: "GP"; @( I: D* U1 I; i8 V" |
  140. 0 h# L" E6 f( g  c' t* `) `
  141. ; session.gc_divisor/ `1 u: }2 C0 e4 V$ n" `" l
  142. ;   Default Value: 100+ Z$ g% S' f1 }. g+ f9 ~
  143. ;   Development Value: 1000' t8 {% y3 i2 l3 B8 V7 t& X$ d
  144. ;   Production Value: 10006 y( |) H' o& k/ m

  145. $ r- U/ L  _0 F2 \; s' L$ A) t- I1 y
  146. ; session.hash_bits_per_character7 r# t3 B. Z1 ?5 `( i) T, V
  147. ;   Default Value: 49 l3 u5 E! ~4 n/ e* Z
  148. ;   Development Value: 5
    " M+ e" U6 ?- P3 q
  149. ;   Production Value: 5, g; s3 F2 _$ z' a* Z

  150. 3 v' @- o3 l# h2 D$ R
  151. ; short_open_tag2 O" m# ]$ j+ i8 R4 Q" d( q
  152. ;   Default Value: On, K5 I/ i% l) ?8 F3 F0 }( Z
  153. ;   Development Value: Off8 Q* |' f; g3 |# b) Q# ?
  154. ;   Production Value: Off
    . F% F3 U# O% i5 F% V1 d, S
  155. ) n& x9 o  V2 L9 w! _
  156. ; track_errors
    * ~3 V9 r$ Z  |- U& Q
  157. ;   Default Value: Off
    ' w9 m4 U' W7 p4 p5 n/ q
  158. ;   Development Value: On
    7 Y# x( T9 X$ }1 F' I* r
  159. ;   Production Value: Off
    * q0 A! D2 C0 u6 V: A( m

  160. ; |6 I* @2 _/ R
  161. ; url_rewriter.tags- W( [. ]0 M$ g# W+ _4 u6 h' k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 D7 r1 b" k; {$ D
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ z! K! n* @! Z8 F8 s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # y3 S- E: h; b  ]2 }  {
  165. 2 ^( u( X# H% I7 M6 h6 z6 v' r
  166. ; variables_order
    ' K- J5 I- f, h- u' N/ n6 X# ?
  167. ;   Default Value: "EGPCS"- R7 U1 E# X$ C; s
  168. ;   Development Value: "GPCS"# [! [0 f. O+ x/ }! x( m$ U
  169. ;   Production Value: "GPCS"% Z5 a4 m2 v) W9 l- @) Z
  170. 6 G/ i( V: P  [1 r! B5 X
  171. ;;;;;;;;;;;;;;;;;;;;8 ~6 n1 q: n; M% y' G
  172. ; php.ini Options  ;# r1 d  _+ j1 a, g
  173. ;;;;;;;;;;;;;;;;;;;;9 E( _* e- Z' a3 \+ y2 v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    " D2 f/ o; @) C* P: }, Z; w1 ?8 O6 v
  175. ;user_ini.filename = ".user.ini"# v" X6 A1 l; P( q1 l# m

  176. ! y3 ^9 K5 y+ g, i2 E
  177. ; To disable this feature set this option to empty value! \' f9 N" D" g# s& `7 m
  178. ;user_ini.filename =8 F# a/ ?! l" `3 {! e- D

  179. + _. O' C0 Q" ~! n3 v5 H6 e, G
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)7 q, `4 i! o& D
  181. ;user_ini.cache_ttl = 300
    ( q3 H; x5 a- Y: H6 @2 o
  182. ) p( h8 O" f: X/ j/ w' x
  183. ;;;;;;;;;;;;;;;;;;;;
    - u3 j9 w( {+ D3 S
  184. ; Language Options ;
    & Q0 b, f" g2 n
  185. ;;;;;;;;;;;;;;;;;;;;! r0 H$ i+ _  ?+ ~' e0 }

  186. ; i! V& @; J- }
  187. ; Enable the PHP scripting language engine under Apache.+ A4 K* i6 t. P1 _
  188. ; http://php.net/engine! p2 T" J1 h/ J' s
  189. engine = On
    ' D* U& A% ]) [* H: z( a
  190. ; g9 W0 t7 O$ j  a) @2 T' [% X
  191. ; This directive determines whether or not PHP will recognize code between% z4 g. R8 J$ o% ]- C2 M" U
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    4 C: s( d$ ^" X; X$ @
  193. ; generally recommended that <?php and ?> should be used and that this feature. G1 @3 Y3 K0 d. x
  194. ; should be disabled, as enabling it may result in issues when generating XML3 A; v- e0 V! I+ M
  195. ; documents, however this remains supported for backward compatibility reasons.: D, {% @  }( h  V. A
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ \) o  K* S# r# x8 o2 F6 G' l6 P
  197. ; used regardless of this directive.
    5 R/ x8 n8 X" K9 I6 F& Y
  198. ; Default Value: On/ u- f3 h  w. U
  199. ; Development Value: Off
    ( M+ R; A1 E' D$ N1 C. g0 @
  200. ; Production Value: Off& X( |" y5 e7 U3 G# ?
  201. ; http://php.net/short-open-tag7 b. f' U% y- C  n* K" u; I1 c
  202. short_open_tag = On
    3 X$ o! U& ?, S) ?
  203. . S! F  Y3 [3 d1 i. N5 {
  204. ; The number of significant digits displayed in floating point numbers.
    ! e1 _! n! ~( S$ j% {6 {
  205. ; http://php.net/precision
    ) L* n3 ~: ^  H( [: w" L
  206. precision = 14
    9 |7 E" b6 I! k% z+ p6 P

  207. ! l) h* E, v5 d+ ?" o/ w
  208. ; Output buffering is a mechanism for controlling how much output data
    & A7 a$ e: C& j' s3 [4 V5 B0 q8 q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that! I8 S, }3 }1 o% U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    4 q* c2 }! ~7 n, S& \" |1 Y  z! Z
  211. ; will send that data in chunks of roughly the size you specify.( T+ E# O* ^( e: W0 h( M4 B1 i( _6 {
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 D& a: o) `* z9 }4 f
  213. ; interesting side-effects depending on your application and web server.
    6 V/ k$ {+ ^2 e- R& C5 v
  214. ; You may be able to send headers and cookies after you've already sent output3 {  L3 Q) s$ O4 X7 ^4 }& ?
  215. ; through print or echo. You also may see performance benefits if your server is8 N) [; I2 F+ w! d- |7 C
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ; L9 d+ |% v: A  Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 ~/ U% ^3 `0 ?# w) _+ r
  218. ; reasons.) A+ A% y1 j1 `- J9 W# N0 [& S% m
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 {' T' n  R1 H. ~9 G7 c2 q) ?/ A
  220. ;   functions.
    7 d8 U( H9 ^  D! A
  221. ; Possible Values:
    6 ~( i9 ~2 J( T$ F& N) o9 P
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)5 {( S, [& O1 q. Q( j
  223. ;   Off = Disabled
    ) ]7 |, P9 B) y, k# X
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    0 W- m+ U0 f% v( o) ~
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 T* Z* B+ N$ ]9 K6 V
  226. ; Default Value: Off7 T  p* w3 \2 l
  227. ; Development Value: 4096. l" d/ i' o8 k- |+ K3 m' {. h8 x
  228. ; Production Value: 40969 s8 ]% \; d* d+ G/ n
  229. ; http://php.net/output-buffering0 D9 V5 z& M1 A3 y
  230. output_buffering = 4096
    8 j1 s- d- j  b1 O. a

  231. ) X5 O+ _, ^0 b% q6 U+ J8 U
  232. ; You can redirect all of the output of your scripts to a function.  For+ ?3 P! e5 u  h* y" b
  233. ; example, if you set output_handler to "mb_output_handler", character
    + d, R+ @' ?( `! F" F- S' [
  234. ; encoding will be transparently converted to the specified encoding.
      e. x; H) J3 _* M
  235. ; Setting any output handler automatically turns on output buffering.# p0 n) M! e9 {: B1 Q. \6 Q; r2 w
  236. ; Note: People who wrote portable scripts should not depend on this ini2 W( C0 W) t- {% s
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ c  h& A! j6 \3 l
  238. ;   Using this ini directive may cause problems unless you know what script2 E) D, j$ ~, c$ \* Q5 i6 U' G- A
  239. ;   is doing.$ U) G/ C* W. q) C. }7 m& s
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & O4 b; }7 |0 l
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 o5 ^) a( @' R$ ]. v, v& M
  242. ; Note: output_handler must be empty if this is set 'On' !!!!0 J2 L. |0 e$ Q6 O$ T
  243. ;   Instead you must use zlib.output_handler.: Q7 n/ s: I/ `* ~
  244. ; http://php.net/output-handler
    - i, F) p* w9 o( C( o& ~/ e
  245. ;output_handler =  R( j- |# h1 ^8 d5 C$ V' \

  246. + Z9 O( L( P/ S: ^! `9 W6 @) ]
  247. ; Transparent output compression using the zlib library: f9 Q1 u+ |+ m8 _6 @9 @. I
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size: d5 s; o6 I, L8 P/ N3 X
  249. ; to be used for compression (default is 4KB)9 ]3 r- E6 c" C/ r
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    5 t* I; y! E  R% z$ j) d
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    8 L2 k. `) r: R8 L; y; f- S
  252. ;   compression. If you prefer a larger chunk size for better( A+ T" }4 b5 \" `# l  }, @% G
  253. ;   performance, enable output_buffering in addition.
    . u5 {2 d$ y0 K$ U( w1 @7 T
  254. ; Note: You need to use zlib.output_handler instead of the standard# i/ f, ~5 ]% W, }' k
  255. ;   output_handler, or otherwise the output will be corrupted.4 M8 U& C! O& K. ~% G
  256. ; http://php.net/zlib.output-compression
    * j$ M" R. K$ Z& V
  257. zlib.output_compression = Off7 M" N2 }% B$ v- M
  258. 9 Z+ G6 }, h7 _& r
  259. ; http://php.net/zlib.output-compression-level4 h: u2 n; I" s5 x% |; t
  260. ;zlib.output_compression_level = -1
    & z! X& o3 m" \1 x% R2 M7 N
  261. * A7 Q1 t6 Q# N
  262. ; You cannot specify additional output handlers if zlib.output_compression1 ?4 p) n3 c. v0 H4 T/ a3 P% M
  263. ; is activated here. This setting does the same as output_handler but in
    3 t0 B8 X8 _. y$ t
  264. ; a different order.2 a8 D7 L2 R  q! v8 k+ D5 Q& Q$ l
  265. ; http://php.net/zlib.output-handler
    2 d- X* q2 b- ?4 y/ c* B$ `
  266. ;zlib.output_handler =( h1 Q3 J# T7 g7 y
  267. / ]9 R* Y( v( I; s, ]# j
  268. ; Implicit flush tells PHP to tell the output layer to flush itself: I% w, x4 S, L' h( N
  269. ; automatically after every output block.  This is equivalent to calling the
    * q+ L7 T; c+ a2 b
  270. ; PHP function flush() after each and every call to print() or echo() and each
    / a( w1 Q0 a9 y2 ]2 Y7 F. c
  271. ; and every HTML block.  Turning this option on has serious performance3 W9 q0 }* t- Q: R
  272. ; implications and is generally recommended for debugging purposes only.6 q* h  g2 z! R( Z3 i, f% D
  273. ; http://php.net/implicit-flush1 |9 t" W6 D/ H& U- y& }
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & k# g6 n+ a/ H$ f* z* `4 c
  275. implicit_flush = Off
    6 l* R0 r/ w  c& m  }: R" O

  276. , t% k3 m: V$ w$ ?
  277. ; The unserialize callback function will be called (with the undefined class'. o, i: y' D7 b) t
  278. ; name as parameter), if the unserializer finds an undefined class
    ' q2 S+ I& e0 a$ n
  279. ; which should be instantiated. A warning appears if the specified function is" U/ }/ M. b& q; w1 ^/ d" C9 y4 B: s
  280. ; not defined, or if the function doesn't include/implement the missing class.% P0 J$ F  ~5 C( @* x) Y, ^+ s2 l
  281. ; So only set this entry, if you really want to implement such a- X. M# b# F1 t; }% A
  282. ; callback-function.
    ' L6 I0 n" ?- u+ s& g
  283. unserialize_callback_func =
    9 Y  w' }( c. M8 U) |8 G  l

  284. , V0 }: o9 @3 e
  285. ; When floats & doubles are serialized store serialize_precision significant
    . w+ f' o& g" b0 A5 {0 X
  286. ; digits after the floating point. The default value ensures that when floats
    0 e' ]) [, i2 s1 j# P5 d7 e
  287. ; are decoded with unserialize, the data will remain the same.+ B. V. Y$ X( p3 S( u! S' X/ v
  288. serialize_precision = 17
    8 F$ ^2 D) y( R  \
  289. % Q6 H! W# i) W# t
  290. ; open_basedir, if set, limits all file operations to the defined directory
    4 R- M$ u: S# a+ p7 ?, T3 Y& b, }/ u
  291. ; and below.  This directive makes most sense if used in a per-directory3 _! ]- [; j6 M
  292. ; or per-virtualhost web server configuration file.2 L8 @) g+ g7 y  b" ]( _6 m2 W
  293. ; http://php.net/open-basedir
    ! o! s5 f9 m1 K+ S9 y: R
  294. ;open_basedir =
    $ U, h) R6 J9 i1 _& M, t

  295. 3 w" y' A( O/ @. G% v
  296. ; This directive allows you to disable certain functions for security reasons.
    : ^8 A5 e) |% Z
  297. ; It receives a comma-delimited list of function names.
    4 v2 F) \2 O6 F1 M1 N) J/ T6 G
  298. ; http://php.net/disable-functions# C5 q9 _/ T2 `  Y6 `3 J: i
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru8 c, h5 z* X; b$ z

  300. & u/ W2 U# W* b( a) n* M
  301. ; This directive allows you to disable certain classes for security reasons.
    8 _6 n+ S; B; L  W) |  T, g: {, l/ U
  302. ; It receives a comma-delimited list of class names.0 S4 J, N3 c/ R9 W  v, k8 n- m
  303. ; http://php.net/disable-classes9 e" j3 g5 A$ o: N9 T# z* R
  304. disable_classes =! P) m3 t. t) Z0 \
  305. $ x+ z- F" C+ M$ o0 f) j$ `
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / P+ x3 \/ O: D0 n8 q: o
  307. ; <span style="color: ???????"> would work.7 w; E5 a, L3 Y. q# ?: ~+ q- n
  308. ; http://php.net/syntax-highlighting
    / O# R9 D9 b0 c2 b7 g. ^
  309. ;highlight.string  = #DD0000$ |  |" u3 ^; V2 V, x+ C9 t7 M1 p
  310. ;highlight.comment = #FF9900- E! ]* W% s/ K; n
  311. ;highlight.keyword = #007700
    / o- [7 J( Z- \, P/ D& Q
  312. ;highlight.default = #0000BB, U5 w5 @5 S4 }' T- A) ^  `8 n
  313. ;highlight.html    = #000000, L( t" Y1 p# d6 T* y

  314. : P- ~5 f( a1 w, C+ E+ s& W
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    : c: y# ~8 Z6 H: o' d9 O3 q
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; ^/ r2 M5 w. G
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    " W/ \. k( E: }9 y- Z  o, b0 o
  318. ; is to disable this feature.9 Q& U: A% P/ i7 N; m+ V
  319. ; http://php.net/ignore-user-abort8 q! b" G& `2 E+ ~  D
  320. ;ignore_user_abort = On
    $ W" x$ F) Z5 g2 h

  321. " t4 S: D, z& U" W9 f
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 ?+ P3 b6 q% A& \
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    , r& F1 @4 Z* H4 y2 h
  324. ; the file operations performed.
    6 `. k& w' ^1 i5 ~5 F. \& ?
  325. ; http://php.net/realpath-cache-size! w* b7 A, b& w. y. p/ h
  326. ;realpath_cache_size = 4096k* L; o& Q, H3 C- d- a& h

  327. + Q# v  K) y( D8 {
  328. ; Duration of time, in seconds for which to cache realpath information for a given) \( b. ~' S4 S; t# ^# }! A
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ; O6 m9 E# L+ @* k9 i$ a
  330. ; value.* B# u7 F6 S7 z) Z2 q+ g* D
  331. ; http://php.net/realpath-cache-ttl
    + f) {0 d# G: Z% A
  332. ;realpath_cache_ttl = 120# A' b5 p6 K+ M6 [' }+ H  k+ k9 X
  333. 1 H( y& t) ~1 V8 h. u, S, F
  334. ; Enables or disables the circular reference collector.( ?/ C# Y7 F# [2 T: S7 O! ]
  335. ; http://php.net/zend.enable-gc- B, J" ?' l2 O' W, ~; ~
  336. zend.enable_gc = On
    + E' y0 Z% a6 `7 M* y
  337.   o- @# ]; d# Z6 L
  338. ; If enabled, scripts may be written in encodings that are incompatible with- {$ |4 l( R- G5 S8 W' a7 o% W
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 i+ l, Y5 I/ p9 l. m, G
  340. ; encodings.  To use this feature, mbstring extension must be enabled.1 [0 C+ b. e  ~2 m' s1 ^) P8 O$ H# T
  341. ; Default: Off+ j" |7 d8 w$ ]- @: y# e
  342. ;zend.multibyte = Off$ E& n. g& ?3 z2 z
  343. 9 m! w4 R$ e" \9 A. C* Q3 m0 z' I5 N
  344. ; Allows to set the default encoding for the scripts.  This value will be used. }8 D$ N% x8 A9 \, m. @* w
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 c' Z1 \! [3 [/ U1 l2 l
  346. ; Only affects if zend.multibyte is set.
    / _6 k; j, Z4 g3 A
  347. ; Default: ""
    - T7 p6 ]/ |) T$ `6 z; {' J/ Y) i, O6 h
  348. ;zend.script_encoding =) [0 e/ I, d+ m
  349. 4 T/ U% S2 n% U( ^; l
  350. ;;;;;;;;;;;;;;;;;( Q# h: Z; c/ @# m# |5 \' p9 r
  351. ; Miscellaneous ;, v+ c1 M* c/ x2 A4 N# J$ D* u
  352. ;;;;;;;;;;;;;;;;;% u' @8 Q; H, F$ O7 l
  353. & \7 H. z, W3 }- s% m, Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server/ O$ k7 _. J" f& o
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    % L0 V( M6 E% U2 ~5 G
  356. ; threat in any way, but it makes it possible to determine whether you use PHP9 e* V6 k$ k# w- j; w0 d$ R! {  ]
  357. ; on your server or not.. r6 \6 L6 _( E# ~
  358. ; http://php.net/expose-php
    $ P1 M6 y% b/ ~. s/ O3 G
  359. expose_php = On# {7 m9 |/ `& o

  360. + A0 w% x8 A1 b: J) O
  361. ;;;;;;;;;;;;;;;;;;;/ \8 }# B8 G! K, H- z( I& w5 v- w
  362. ; Resource Limits ;
    % k" z  u$ S- X7 K3 q
  363. ;;;;;;;;;;;;;;;;;;;4 Y# \- g/ H' j7 a# ~/ B6 o
  364. ( E$ _& l" u7 [6 F6 M, [
  365. ; Maximum execution time of each script, in seconds: D) ?3 E- U: ~5 D: N- X
  366. ; http://php.net/max-execution-time
    2 q- E( z* o' }% {& i5 T, L9 C
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 B  O8 C/ t0 }! J0 q
  368. max_execution_time = 300
    , @" ^9 t' R5 N" N! L. Q
  369. % ~- |7 B2 ~) r1 d) O  \
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 z7 O+ V& z3 x
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 [" R/ I% x% U! Q' u0 C
  372. ; long running scripts.
    ; K7 o  ^! J* J% z: A  ~- R
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + c, g$ y/ ?, t/ F. z) }
  374. ; Default Value: -1 (Unlimited)! i: l. C4 ~1 O2 w
  375. ; Development Value: 60 (60 seconds)
    + _8 {1 Q7 K2 ?: v: d
  376. ; Production Value: 60 (60 seconds)* N6 T4 m3 T$ N. y: e2 ~
  377. ; http://php.net/max-input-time
    7 g5 z& h  e+ L' }
  378. max_input_time = 60- @6 s- r5 E1 u0 n, U9 }; N$ s
  379. 3 ~! o$ i3 M# r- j
  380. ; Maximum input variable nesting level
    + d* r% s9 t4 t% u
  381. ; http://php.net/max-input-nesting-level
    3 o1 N5 m, W3 s
  382. ;max_input_nesting_level = 64
    ) Y+ r& d5 _1 y

  383. ) {$ C! A1 O* @3 n. {6 v9 U+ J3 x
  384. ; How many GET/POST/COOKIE input variables may be accepted
    , u6 z  E% v, Z+ B
  385. ; max_input_vars = 1000
    " P, \  {2 c) ~0 F! z

  386. ' ]+ V4 d( _7 A
  387. ; Maximum amount of memory a script may consume (128MB)/ Q: ^% x9 m& K0 G- W- M
  388. ; http://php.net/memory-limit7 Y& S6 G) e- S8 o. n. H8 O( C
  389. memory_limit = 128M
    - l% Z7 u  }0 X$ |+ [; C. r
  390. + l4 P/ l; x2 S* P
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' O# n6 i$ i. ]* }0 L
  392. ; Error handling and logging ;
    ; T2 k: w& ^! _2 e8 D+ E- r
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# {/ I% t2 w% X* C: t$ B

  394. ( ~  e) W2 [/ R7 k5 @% C5 P
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 v5 L" Z( u! E3 |9 o+ I, k
  396. ; it to take action for. The recommended way of setting values for this, i' O: \7 C4 Y9 _( H( w
  397. ; directive is through the use of the error level constants and bitwise2 ~5 p2 x3 R& i/ u6 A2 `
  398. ; operators. The error level constants are below here for convenience as well as. Z  ]! R- C) U9 E
  399. ; some common settings and their meanings.9 N/ I+ c$ B$ y0 t3 _
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 |, ~# {& R9 J1 c: E3 [0 \7 ~
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 r3 Z& ?4 }8 d/ H1 w: e
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ' C1 k" @% D6 m0 Z
  403. ; recommend error reporting setting. Your production server shouldn't be wasting: |+ ^3 W8 C9 ^  g) U1 |7 s  W
  404. ; resources complaining about best practices and coding standards. That's what- p8 C1 z' D7 m3 e- ^& r6 Q
  405. ; development servers and development settings are for.- n3 V* ^0 m/ p
  406. ; Note: The php.ini-development file has this setting as E_ALL. This1 E' K3 p, |) }4 k6 j! e" K
  407. ; means it pretty much reports everything which is exactly what you want during
    / j. K1 x' B! s$ L! \
  408. ; development and early testing.
    % Z8 N& P" @! K1 y: p9 e7 [
  409. ;
    ' n7 P1 z  r- h$ J# R) |
  410. ; Error Level Constants:
    9 w* t+ O/ I* x9 z. r8 H1 e
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)" M, g8 R9 n& G3 e8 t# ^
  412. ; E_ERROR           - fatal run-time errors( H- Y0 [7 x! e" @; h; N. b- E
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 f. l  P1 O6 Y0 y3 D9 B
  414. ; E_WARNING         - run-time warnings (non-fatal errors)- \3 Q( b) `2 C9 |( k- A
  415. ; E_PARSE           - compile-time parse errors: I5 O$ i5 I# r* t' J9 [: D; N
  416. ; E_NOTICE          - run-time notices (these are warnings which often result0 f  r; Q% O: h& C9 r$ |, ]7 q2 m
  417. ;                     from a bug in your code, but it's possible that it was: y6 C0 J. |( S1 }6 T8 W
  418. ;                     intentional (e.g., using an uninitialized variable and, n" O1 N0 H; V1 ?4 v( N, }7 u# [
  419. ;                     relying on the fact it is automatically initialized to an/ X. [( o3 ]5 F; p5 l/ r2 A% i% `! S
  420. ;                     empty string)
    7 t$ n0 u9 _1 Z9 Q' x
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 Q* J+ M. t; x3 k& g& _
  422. ;                     to your code which will ensure the best interoperability
    0 @( e$ @% d4 J# g" n- {7 @$ {
  423. ;                     and forward compatibility of your code
    & W# V1 L+ W) X6 W4 O
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, J( P. m7 F/ n3 C% \. U6 t
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    6 B/ v% k7 M+ @$ k& y. v" w
  426. ;                     initial startup
    ; q% w% `9 H1 b5 ~2 r$ B
  427. ; E_COMPILE_ERROR   - fatal compile-time errors" }. k3 c& N/ ]3 X- M
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 x" a% T: \% [+ _" i# ^
  429. ; E_USER_ERROR      - user-generated error message
    ; B" m  V$ h$ [3 o
  430. ; E_USER_WARNING    - user-generated warning message
    3 d; f& l" P& F% v% ?# U& v+ R
  431. ; E_USER_NOTICE     - user-generated notice message
    % l& H- R$ V) a6 Y2 e$ ^) s
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' \, C0 ]0 ?2 e, ]% i% m
  433. ;                     of PHP
    7 p0 g# ^6 i3 j" ?- G3 }9 D1 n- k
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings4 _0 R: e2 Z8 Q; o+ M$ Q, l
  435. ;8 y# [; A! L" K8 t. g
  436. ; Common Values:
    ) j; V- `1 \8 H/ I* B1 P3 ~5 B
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( \- i* N+ b) R4 Q* I* P& s; f
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # \& E" a; T) y6 M) W
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . _4 `7 Y8 K- q) l
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    - U) v; m! b4 r' t) ^' T" t
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 y& F& j0 s% F" {5 r9 U6 O5 x
  442. ; Development Value: E_ALL
    + l1 N2 E' S7 q% `
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & V: r% r0 b  V( R
  444. ; http://php.net/error-reporting0 p1 S1 Q+ X' t
  445. error_reporting = E_ALL & ~E_NOTICE
    + G' n0 V( `. p7 d! o8 _
  446. , j% u- S2 J2 [& c) p; z7 U- A; R
  447. ; This directive controls whether or not and where PHP will output errors,0 q# q0 M, G- b6 l
  448. ; notices and warnings too. Error output is very useful during development, but
    : ~+ {8 Q, g3 R- {7 L* }
  449. ; it could be very dangerous in production environments. Depending on the code% _8 Y/ [  l% ^) }! l/ q
  450. ; which is triggering the error, sensitive information could potentially leak
    0 K& A/ ^2 i( P% w$ _: N7 n, E, S
  451. ; out of your application such as database usernames and passwords or worse.
    % J/ d9 r+ ^' f5 M3 E6 E& B
  452. ; For production environments, we recommend logging errors rather than
    # |7 k# |: N! w4 V1 M7 k5 D$ s/ `
  453. ; sending them to STDOUT.# ?" w. |1 D  [! k
  454. ; Possible Values:
    7 o: F# n  ^: D( N3 h" M% N8 _& H
  455. ;   Off = Do not display any errors: z" [: E7 }* Z- \. e
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 z9 u0 w1 `  i" k8 h6 `! z  n
  457. ;   On or stdout = Display errors to STDOUT
    9 Y! x& O4 @: ^0 c7 A9 [
  458. ; Default Value: On
    ( c+ i8 T* U- y
  459. ; Development Value: On
    ) g: y. W+ K3 g+ @3 K7 `2 T9 R
  460. ; Production Value: Off! h/ |; @: B! @) U
  461. ; http://php.net/display-errors
    8 i" c6 \) @$ M, w
  462. display_errors = On, V* ~5 G. n% Q& I

  463. - L% s! |' R8 `/ R
  464. ; The display of errors which occur during PHP's startup sequence are handled4 X6 R, L) T& [5 s5 z! O7 P
  465. ; separately from display_errors. PHP's default behavior is to suppress those4 l9 D% A: D. w# f( o# E
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    9 X' w0 ^; Y2 ?
  467. ; debugging configuration problems. We strongly recommend you
    2 ~6 |6 X+ ]; T, G0 O4 D% ?
  468. ; set this to 'off' for production servers.! F- H# k9 b) N. ~# n( C3 Q
  469. ; Default Value: Off7 i8 J, y7 D6 W. m1 G% m$ f8 O
  470. ; Development Value: On) z% ]7 ~; [' `' a) @" t; d
  471. ; Production Value: Off
    * x* C& F. b0 G# ~; ^5 A9 T' Q/ n
  472. ; http://php.net/display-startup-errors+ p% D+ E, M0 G( [2 w
  473. display_startup_errors = Off
    ( A9 m7 u: Z( w" S+ o! L

  474. ; |1 M+ o+ i2 E( i
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    5 s$ I5 t( ]* Y# D( _% e" z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ V; i9 [3 O: D7 J8 Y' K
  477. ; directive found below. While errors should not be displayed on productions
    9 Y5 g/ I" ]+ G9 ?4 f
  478. ; servers they should still be monitored and logging is a great way to do that.6 m& T( T, a6 z- @
  479. ; Default Value: Off, \( m6 L9 ]9 Z- a9 x1 q5 O
  480. ; Development Value: On  Z) _/ Q# c2 B( b! f( V
  481. ; Production Value: On
    ' \2 H/ L( q0 t+ x; X6 w
  482. ; http://php.net/log-errors# w1 }* ~: k% y$ Y4 N
  483. log_errors = On: a! a3 |0 f5 y& X0 k: ~

  484. + O* p( F2 p, w7 `" Z  L: \5 K5 {
  485. ; Set maximum length of log_errors. In error_log information about the source is* e! r7 J" `4 |3 S* W. l" o; Q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.9 ?" t7 W  `5 z2 I% M. _
  487. ; http://php.net/log-errors-max-len! _: u5 j3 d6 p
  488. log_errors_max_len = 1024
      P5 E1 b7 x( K, I3 z1 m
  489. . c2 X7 |4 A; q9 X
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 b' J7 ^8 a5 H
  491. ; line unless ignore_repeated_source is set true.+ L; R3 y" [& b6 P, b+ o; h( ~
  492. ; http://php.net/ignore-repeated-errors- A- \  V: `. P/ d8 ?/ H" m
  493. ignore_repeated_errors = Off2 v" [) {* _8 i

  494. + d5 A0 A' p6 Z& }3 w2 a
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / Y3 g1 W) {9 y
  496. ; is On you will not log errors with repeated messages from different files or
    ! U+ m5 j& i: C% ~- J" a
  497. ; source lines.* V- K( s5 M- \+ {; \" ]
  498. ; http://php.net/ignore-repeated-source
    3 r2 o+ D( j$ L* h# p
  499. ignore_repeated_source = Off* T& {  z) V$ F$ b! W* O! y

  500. , C2 z% S; O0 C8 N6 h" u
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : ]( ~; H: h+ }. T1 d5 g- N% s- A  t" b
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' G+ m5 G9 Y! T1 v9 V3 K
  503. ; error reporting includes E_WARNING in the allowed list  H8 g: N! \$ U8 E( L1 g0 Y
  504. ; http://php.net/report-memleaks
    : s  y( t( ?0 P; F: g) \# C4 [
  505. report_memleaks = On) e9 q1 V8 a) s0 o# y
  506. ' d3 ~& [, f/ U. j% k) X2 p0 j4 ]
  507. ; This setting is on by default.
    8 {, ~+ |& r) F' O/ @
  508. ;report_zend_debug = 0' Z% V1 s  g8 Q+ M

  509. , C2 `5 T: ]7 P$ o# O1 O
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 R; X4 O- z: W) ]+ u" X  N$ _% v# m
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ' d) v2 p( b( _6 T" U
  512. ; however be disabled on production servers.. E" p. J9 V1 ?* s- [' l/ `0 p" g6 K
  513. ; Default Value: Off/ D, t6 s9 b/ S# W
  514. ; Development Value: On
    ' N+ p6 f' b* Z+ Z1 |
  515. ; Production Value: Off
    , u" H$ o: ~, h" R& j8 q
  516. ; http://php.net/track-errors
    2 r3 Y3 b' H9 B9 {
  517. track_errors = Off4 p8 K0 A% Y+ m+ K

  518. 4 b9 N7 y3 Z6 ~. K8 E: W
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    8 a' q* F1 _- u. W* J, X
  520. ; http://php.net/xmlrpc-errors+ R. w' y: @0 I* r& R9 Z
  521. ;xmlrpc_errors = 0
    * k- B0 h, t; U* j# Q: }

  522. " {1 C$ w$ `+ a$ P& c. E. ^" m
  523. ; An XML-RPC faultCode) `% _1 |4 A; g% a
  524. ;xmlrpc_error_number = 0
    + V# \0 _8 @- L' B
  525. * k/ r. \5 x" }; d
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ! i# ]5 A0 Y4 D+ I
  527. ; error message as HTML for easier reading. This directive controls whether
    5 j% P8 a. Y& [( x$ j) B  F" z
  528. ; the error message is formatted as HTML or not.. S$ S  s' J  g+ |. @5 u
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % P; n! y7 J* C, t
  530. ; Default Value: On: o( n- [5 J5 q
  531. ; Development Value: On0 p) k( I" V, }1 _
  532. ; Production value: On* P# F* M& Z- d! f/ T0 v1 m5 ~
  533. ; http://php.net/html-errors. k- y! u0 N; S+ Y: I
  534. html_errors = On  d* d: i) ?5 w

  535. 6 Q8 l: i0 G  ]# I) K
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP. P% f( ~, |% d" s1 y* ~, Q. k* l) p
  537. ; produces clickable error messages that direct to a page describing the error
    , |: k7 m+ ?: D- ~' u: h
  538. ; or function causing the error in detail.
    : z, F7 q! y; \7 `' G
  539. ; You can download a copy of the PHP manual from http://php.net/docs, Q: b& ~+ f; d0 J: E4 z- ]
  540. ; and change docref_root to the base URL of your local copy including the
    & W9 L: _0 W- @7 p
  541. ; leading '/'. You must also specify the file extension being used including& e! e- }' M$ D  }6 Y+ W3 }/ N4 J
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # \4 k* u% c, J+ x  U
  543. ; case no links to documentation are generated.
    ' P% Y/ T4 \* r
  544. ; Note: Never use this feature for production boxes.4 o8 B8 Q; @# Y% z+ p: c
  545. ; http://php.net/docref-root, A3 O& Z5 o8 q! ~  F7 ~6 v
  546. ; Examples
    ) F2 v* d9 B: |% u+ F8 a
  547. ;docref_root = "/phpmanual/"/ T9 m/ R8 z2 \* P3 n% g3 K" k

  548. ' T+ j6 O, z6 Q6 W" J# C
  549. ; http://php.net/docref-ext
    ! W$ l+ |, ~6 D
  550. ;docref_ext = .html
    & \; T" ]7 C6 |9 k3 c1 S- l4 m5 I

  551. * D( e! M( h9 m" D5 B4 m( l$ b
  552. ; String to output before an error message. PHP's default behavior is to leave7 }) l1 X0 s1 ?# c5 \
  553. ; this setting blank.
    * M) K9 |* i5 m9 {' K4 @, z) g
  554. ; http://php.net/error-prepend-string
      L# K! u7 X/ v1 P3 T3 c# H  q
  555. ; Example:
    - }0 \6 B# }3 B5 A* B
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & c: e+ j3 ]8 ?' Q# O, T
  557. # w8 j, \: J& m: c$ P
  558. ; String to output after an error message. PHP's default behavior is to leave
      r& O' ?+ }/ ]# C) g7 N# C
  559. ; this setting blank.& c# o" K% }. Z
  560. ; http://php.net/error-append-string; d) f/ y) U# K% E, \( Y! \! P
  561. ; Example:  C5 b! u# P6 A2 C
  562. ;error_append_string = "</span>"( S$ P6 J: g2 C! H5 T

  563. ( J' s5 n' H; M
  564. ; Log errors to specified file. PHP's default behavior is to leave this value/ d) Z4 S% }( Z3 R$ t9 s
  565. ; empty.
    9 G% r1 w1 U  y2 n/ u  z, U
  566. ; http://php.net/error-log
    4 t& ~6 X6 T- g
  567. ; Example:- a: O& g, a/ u3 Z9 E+ _, ?$ F
  568. ;error_log = php_errors.log9 u3 Z" `) f0 e
  569. ; Log errors to syslog (Event Log on Windows).
    6 \, m+ L9 F+ T
  570. ;error_log = syslog9 [0 V/ E! p" ?: R

  571. 7 B) ~9 {: G6 x* `! V0 G
  572. ;windows.show_crt_warning
    ! J0 @# p- E0 q+ U% \
  573. ; Default value: 0
    / u# ~1 c4 c; @  b: p2 |8 t% c0 I
  574. ; Development value: 02 D4 U2 P9 A$ `, L* J
  575. ; Production value: 0/ Z6 F/ Y9 m1 j/ x/ f( D2 t( e. ]
  576. 0 I7 c3 o: u* l
  577. ;;;;;;;;;;;;;;;;;
      E5 g9 B5 ]& f0 {9 P# J+ \& R
  578. ; Data Handling ;9 o! O: j% w% k) @& Z
  579. ;;;;;;;;;;;;;;;;;3 Q3 z( }7 }5 x. W% |

  580. : F; Y5 W$ u/ c7 c% |; ]( Z5 q
  581. ; The separator used in PHP generated URLs to separate arguments.
    " v) J8 f4 m0 a& p6 c% c& E
  582. ; PHP's default setting is "&".3 |3 k' t4 q$ z* B, A( [: F# b
  583. ; http://php.net/arg-separator.output) Z1 F# P6 g0 ^9 M7 K$ l
  584. ; Example:
    0 y7 r+ Z" Q- W; ?" }
  585. ;arg_separator.output = "&"
    ! E" T% P! d/ e1 T, B
  586. / I( `7 Y* l7 k, S
  587. ; List of separator(s) used by PHP to parse input URLs into variables.' d% z7 K+ H( g0 I2 m( j4 M3 u5 C
  588. ; PHP's default setting is "&".* t8 C  N1 D/ o7 B
  589. ; NOTE: Every character in this directive is considered as separator!' i! N& O: ^2 x/ d* A% }
  590. ; http://php.net/arg-separator.input
    6 f# E5 L" J2 E1 Z4 y9 W0 X5 U
  591. ; Example:# ]; [+ @4 C8 F  i7 S* |
  592. ;arg_separator.input = ";&"
    3 W6 y: d. n& D* b: M1 w

  593. ! ^9 R/ L6 j9 D' }
  594. ; This directive determines which super global arrays are registered when PHP& J3 g; v4 q  t1 U
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super4 F8 Q, \: [$ c3 L. {, C
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ X. V/ b+ m* Z8 C6 q7 F' c4 q
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    % q" a$ z/ ]. z1 w
  598. ; used as the others, ENV is not recommended on productions servers. You% N$ a( Z$ ^& g3 t
  599. ; can still get access to the environment variables through getenv() should you
    & h* P8 s  j0 Z  e
  600. ; need to.# O( D7 ^0 V( B8 |' c5 ^' V
  601. ; Default Value: "EGPCS"! u7 B# |. C/ e% @( r4 T
  602. ; Development Value: "GPCS"
    4 h/ }3 ^* v, i9 _  c
  603. ; Production Value: "GPCS";
    ' _5 ?1 H, k+ Q  t6 V  i  Y5 X
  604. ; http://php.net/variables-order
    7 J" G, I2 M% h$ B$ D4 y& n' h
  605. variables_order = "GPCS"
    * S1 y0 e6 H$ m  A. p
  606. ' v3 ?7 q- _5 @1 H
  607. ; This directive determines which super global data (G,P & C) should be" v* V& @$ ~- c0 Q
  608. ; registered into the super global array REQUEST. If so, it also determines$ ]  T3 z( B5 ]
  609. ; the order in which that data is registered. The values for this directive
    5 i1 ]6 O  T# L4 F! g
  610. ; are specified in the same manner as the variables_order directive,& ~0 |2 k! Z0 [" }
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ ^/ v8 A  Q/ |. K
  612. ; in the variables_order directive. It does not mean it will leave the super, N: m( [& A) A5 e
  613. ; globals array REQUEST empty.
    2 ]+ C% L# S3 Q' r4 D
  614. ; Default Value: None
    $ r+ o3 M! @( Y
  615. ; Development Value: "GP"
    3 H( j" v4 ]( ^# i3 b0 J6 E& g. D
  616. ; Production Value: "GP"
    5 Z9 i' Q3 B# N5 t# A
  617. ; http://php.net/request-order
    : ]; G0 t2 K7 H  E9 n% r
  618. request_order = "GP"
    4 z; m' F- l# j* Q, H; [

  619. + ~9 ~" c+ [8 v$ f
  620. ; This directive determines whether PHP registers $argv & $argc each time it) w8 J( P/ k. N3 O9 l
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " m9 u! h# A4 x! s2 M1 S2 k2 l
  622. ; is invoked. $argc contains an integer representing the number of arguments
    3 \0 U) Q4 o' o7 I
  623. ; that were passed when the script was invoked. These arrays are extremely
    . ~4 q4 k% q; ]8 L
  624. ; useful when running scripts from the command line. When this directive is
    ( q3 n4 o# d: m- g" w
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    * B+ I- {. Z# c; e# d3 ?0 f
  626. ; a script is executed. For performance reasons, this feature should be disabled  l3 W% x7 q2 x/ d
  627. ; on production servers.
    4 G" S. S- ?4 f
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 W" N. f% r0 [) M
  629. ; Default Value: On
    & B5 |) R" o7 Z8 o0 u( G( O
  630. ; Development Value: Off
    * v( g9 p5 Z5 M, c
  631. ; Production Value: Off
    7 P& l9 V  P6 n) Z( D
  632. ; http://php.net/register-argc-argv4 ?  {& R1 x: [! C
  633. register_argc_argv = Off
    $ d# ?# E# c/ ]4 }
  634. ! e5 c6 d5 K7 w/ O" K
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( }9 e+ y! c6 U% x8 B
  636. ; first used (Just In Time) instead of when the script starts. If these( Y/ t! d2 A" e7 |* S
  637. ; variables are not used within a script, having this directive on will result: S( d/ A5 I/ o) A
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# I, w- b) K% G  P/ a0 y+ U
  639. ; for this directive to have any affect.
    % v7 m1 Z( y! d6 G* r* e; ]5 w  \0 X
  640. ; http://php.net/auto-globals-jit
    ' T% K5 n% Z7 f  b
  641. auto_globals_jit = On; @, r- p" c, V  \4 a2 o1 {" a

  642. ) }* ]" G3 Y7 S" r+ M. [$ K
  643. ; Whether PHP will read the POST data.# n# Q6 i- ^# m" O5 V
  644. ; This option is enabled by default.
    3 Z# s& a, q& O7 v7 v% Z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST0 S1 h. }' O* O  b2 c: n* `" g( Y; k
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      {* O# v5 o% T3 @3 r- e# q) P
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! d: ]" d) N8 q$ @  T
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.( Q+ |8 U$ {9 v) g; o
  649. ; http://php.net/enable-post-data-reading" s" Q  r/ y- ^8 q0 T! T" r
  650. ;enable_post_data_reading = Off
    / t* W/ f. A# i  ?
  651. + n8 s& A5 @4 k- M8 k4 O7 n
  652. ; Maximum size of POST data that PHP will accept.
    8 T5 _& ]5 A; L4 I8 I
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ i& ]1 S% d* a7 B' I$ f
  654. ; is disabled through enable_post_data_reading.
    / v/ E5 [; ]2 S7 s* d
  655. ; http://php.net/post-max-size# K- x0 k, \* Q8 K# F) v; I
  656. post_max_size = 50M% z' D8 J- ~: w9 d: g

  657. . C/ p! H! U" Q9 P( ~: H4 M3 G
  658. ; Automatically add files before PHP document.  X: V6 k: H7 @2 e
  659. ; http://php.net/auto-prepend-file
    $ Y; R& W3 k( x* ]0 _6 I
  660. auto_prepend_file =+ x; e4 L; r$ P7 ^$ P! b

  661. 5 H: v, [& t# G; T: F
  662. ; Automatically add files after PHP document.
    # B8 {( h3 _4 K) a
  663. ; http://php.net/auto-append-file
    7 G1 D7 G% E! _/ T1 I8 x& E
  664. auto_append_file =
      l1 m. n2 c' a* \3 s" p
  665. % b+ i- O* Z6 B4 j) G
  666. ; By default, PHP will output a media type using the Content-Type header. To
    # T( F* j' X. {
  667. ; disable this, simply set it to be empty.3 g- `* o( c: ~. w3 R, `' X4 E; f8 D' o
  668. ;
    ; j% F6 u) Z; ^$ M
  669. ; PHP's built-in default media type is set to text/html.
    + h# a3 M- D5 `* |& Q$ w" n7 w
  670. ; http://php.net/default-mimetype
    - B& l* S3 _  b+ C% f
  671. default_mimetype = "text/html"
    2 d/ [* h8 E* a5 E1 x1 A

  672. 3 X7 a, \: r5 N; o; ~4 Z  g2 z
  673. ; PHP's default character set is set to UTF-8.
    ) @( y3 s) x; V% U1 J" Z
  674. ; http://php.net/default-charset3 [$ \& L: v5 e) T5 m( F
  675. default_charset = "UTF-8"
    " Q5 k$ J4 }- p- `- p
  676. 1 Z# ]% v* y/ [- Q
  677. ; PHP internal character encoding is set to empty.$ ~  C6 y  Z/ M! w
  678. ; If empty, default_charset is used.2 w* c; }* _1 W0 o, u# z
  679. ; http://php.net/internal-encoding
    ) K7 E% X" V) }6 p# v
  680. ;internal_encoding =
    1 G; b, B/ S! G  A4 M# t  R4 Q
  681. 1 Y& Z1 J! p- x- b+ t* r
  682. ; PHP input character encoding is set to empty.8 S$ C+ Z6 ~- P; J; h% z
  683. ; If empty, default_charset is used.6 H& h$ F2 q' I- Y' v
  684. ; http://php.net/input-encoding
    ( R& l& I# Y) f' h2 X! G
  685. ;input_encoding =6 X) M1 U7 Z, v) F" m1 I

  686. 2 ]& i2 n# s& [( t
  687. ; PHP output character encoding is set to empty.
    5 }2 m+ r9 o! X& B
  688. ; If empty, default_charset is used.
    9 ~- O# _  s6 ^7 B
  689. ; See also output_buffer." N, E- z) w0 h% i5 m# `# M* `
  690. ; http://php.net/output-encoding3 @- q! O: A' Z8 J
  691. ;output_encoding =
    4 {3 D. R9 f, c" u- s4 S9 ]
  692. 8 q* ]+ }* t+ k7 d
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 g8 I' J3 ]+ w( M( |2 F, k9 {& J
  694. ; Paths and Directories ;5 }" g, X) ?$ D
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;" ^! j# Y8 l) a1 U- n- [1 T
  696. . r+ b+ u' V5 J( ~' ?
  697. ; UNIX: "/path1:/path2"
    5 h9 I1 I0 L' [3 G
  698. ;include_path = ".:/php/includes"
    : p  _5 ~8 `% k9 M
  699. ;, q6 W4 D' \9 q+ m7 |- @
  700. ; Windows: "\path1;\path2". p2 j# M3 P4 q. X3 H
  701. ;include_path = ".;c:\php\includes"
    + _# w/ u7 \4 G: I- \5 N
  702. ;5 N; a6 l/ Z$ Y/ S/ \, t. `% P
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 q$ _0 R0 ]! V2 ?* W- s0 [5 z
  704. ; http://php.net/include-path* B- b2 f" v/ q+ T
  705. 9 u. A$ H8 _- |- z4 F6 X, _
  706. ; The root of the PHP pages, used only if nonempty.& `) F: S8 s- I* r
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& l& f/ V. S' m$ F1 g# r
  708. ; if you are running php as a CGI under any web server (other than IIS)
    4 b# d' h" `! X" `3 S
  709. ; see documentation for security issues.  The alternate is to use the2 ]6 \3 V0 H" s/ r" G& ?' c  H
  710. ; cgi.force_redirect configuration below' X- {' F( t+ _  q. m
  711. ; http://php.net/doc-root
    2 t$ Y, @4 l( k/ c" k6 T
  712. doc_root =- `* K) w% X# n& Z* H9 p
  713. $ J7 n' X1 {& q" h  A
  714. ; The directory under which PHP opens the script using /~username used only1 K) ~$ w- R  O  i8 x
  715. ; if nonempty.
    + j, V+ W1 D8 X3 [
  716. ; http://php.net/user-dir. o( A7 z# i' O: V! N
  717. user_dir =0 M% d) \1 M; w7 l

  718. + j: T. f% `  _2 E& O
  719. ; Directory in which the loadable extensions (modules) reside.2 A8 `0 I: p8 R; K
  720. ; http://php.net/extension-dir/ z& l  I7 C( {. w+ M, k3 V
  721. ; extension_dir = "./"
    - e2 P$ J% b% \# j
  722. ; On windows:
    2 }4 N. Y3 V! @9 O
  723. ; extension_dir = "ext"
    1 D- Z2 M1 O' |( E
  724. , |- M8 Z9 q3 F3 h! |
  725. ; Directory where the temporary files should be placed.; }. n3 p+ Z7 ]9 y( ~- H
  726. ; Defaults to the system default (see sys_get_temp_dir)
    6 P$ `6 n2 m9 p! D3 |" P# w+ e
  727. ; sys_temp_dir = "/tmp": P  [6 M6 N5 L4 b
  728. 1 v) _" q; z. I
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work  W% b2 a; u* S3 ?* @0 y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    4 X  k: F; h% U1 G) k2 S
  731. ; disabled on them.
    ( O" J" F( h& b- f9 J( i% ?
  732. ; http://php.net/enable-dl
    8 S7 y1 @! j+ L- p0 c' B* t
  733. enable_dl = Off$ d5 f: _  x5 a  z0 e( k+ ]5 A% i

  734. : u+ s* y, _' i& d9 `0 k2 s8 a
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ |2 _3 C& N% Y4 D% b1 |: }
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can# P* Y! S7 k  \+ K6 Z' v# y( h
  737. ; turn it off here AT YOUR OWN RISK" m* Z$ {9 D. p6 h
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% g1 ~" b) I3 j. o
  739. ; http://php.net/cgi.force-redirect- V1 [# D6 e( W8 s% z  J* f. f4 K8 \& Z
  740. ;cgi.force_redirect = 16 A+ \5 f2 I+ A+ X& s& w
  741. * S9 ~. k5 P+ V& ^0 P
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' P; R$ \: G! R& u
  743. ; every request. PHP's default behavior is to disable this feature.
    ( Y) ~" B* @6 A% |+ j" i4 [+ G
  744. ;cgi.nph = 1. E  @# X8 }& J' H0 \

  745. ( a) F# a( ~+ J' {* f; F& _( S' G
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ M; I4 `" a) I: l- a: ^* Y! [" z6 A! `
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # E1 F: u3 D" ]4 w+ @, q
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ( G* D. y/ X, E
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    0 e* m. Z9 [; w2 f0 L
  750. ; http://php.net/cgi.redirect-status-env
    * X1 V# J2 U2 \8 f8 V% t* ?
  751. ;cgi.redirect_status_env =  ?; j  z* r3 U7 c1 [; x) H! p

  752. 0 J5 Z' F7 x3 R1 K, T0 H
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ( F' X1 J. k& q; k6 M) Q) k3 L' T
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " z& m% e6 e0 U6 r
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& Y; Q* W- P' c$ Y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % {* O0 i2 g, e# Z! z3 R' J
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; b3 w% Q' c% s2 \: i& G
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    1 X( x. s# n9 [
  759. ; http://php.net/cgi.fix-pathinfo
    7 t: e6 h; C  V; g! x
  760. cgi.fix_pathinfo=1
      |: c6 h0 T1 i; `

  761. # N% `! r1 H6 H+ Q  T$ N
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 t% t: U9 n5 f/ g: a
  763. ; of the web tree and people will not be able to circumvent .htaccess security.5 O7 j1 R  I; K- N& z
  764. ; http://php.net/cgi.dicard-path
    2 Q* m5 E: Q& W3 P- z3 O) W
  765. ;cgi.discard_path=1- H3 H6 h& l: p4 j1 u/ ]0 f5 S. D

  766. 4 g, V; ^7 q* I/ S$ o
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' @3 ^+ Q7 G; e% l! Y7 B  |, o
  768. ; security tokens of the calling client.  This allows IIS to define the* n0 ]) M; K/ f. r6 S
  769. ; security context that the request runs under.  mod_fastcgi under Apache4 O& J2 O" D. R: P* L5 i9 ^
  770. ; does not currently support this feature (03/17/2002)
    ; ~, ?. m4 F; N; C2 _' X
  771. ; Set to 1 if running under IIS.  Default is zero.. ~, O3 ]% E: t$ v5 B  Y
  772. ; http://php.net/fastcgi.impersonate7 x4 G% v8 D- ?2 e- o( j
  773. ;fastcgi.impersonate = 18 n, n( g+ }) s
  774. 2 x1 e- w$ D; ]& Q9 \9 Y. j4 |
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    5 v4 \7 E% @! E: C4 Y/ k
  776. ; this feature.
    2 ~, M) A0 [0 q* W/ \2 V1 M
  777. ;fastcgi.logging = 0
    ! s/ [7 @  u  q6 Z& s
  778. & ~, }6 d8 r& O0 ^1 r) s
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  D; Z9 z1 n# G& d
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that2 _& m) L1 s& Y
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    . }+ C. h4 k1 k9 i; _  o' B& ^
  782. ; RFC2616 compliant header.
    6 G; h# h) S( D
  783. ; Default is zero.
    6 v4 f; {5 Y0 Y) S" J8 ?
  784. ; http://php.net/cgi.rfc2616-headers
    - o. j% e8 K8 i# O( i
  785. ;cgi.rfc2616_headers = 00 U  w8 Z7 a. X
  786. : x) c6 y* b  Y* e! a
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# A, Q: |5 C5 r
  788. ; (shebang) at the top of the running script. This line might be needed if the2 n  c$ H; _" z. d" {  j3 K
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* I* H% f( k" q
  790. ; mode skips this line and ignores its content if this directive is turned on.7 K+ S' V7 B2 Y" V0 L# Q
  791. ; http://php.net/cgi.check-shebang-line
    5 i/ Q* _/ q) I2 ^( u+ x% ]5 I5 @
  792. ;cgi.check_shebang_line=1
    0 H/ W+ C" v! y/ B
  793. + k* Z- u/ x: d1 x0 [3 n: |) D
  794. ;;;;;;;;;;;;;;;;
    7 K5 M5 Y: a0 q& Q" M
  795. ; File Uploads ;
    , B9 k9 l9 o/ L/ |6 J( V( i
  796. ;;;;;;;;;;;;;;;;: l6 g+ ?0 r8 f$ H/ X# D
  797. 6 @1 E: q: n. J( o3 p# X" R
  798. ; Whether to allow HTTP file uploads.
    ( ^/ `% A5 _/ Z3 M7 H. V
  799. ; http://php.net/file-uploads% M7 X3 w! G; P. a2 V' j$ ]. g
  800. file_uploads = On
    1 `( P4 H. ?8 [- F
  801. * x% s, W6 p7 I' x: V
  802. ; Temporary directory for HTTP uploaded files (will use system default if not7 T1 m0 V) X. _2 j3 o5 D
  803. ; specified).- k5 w- ?! J( e6 S8 U. ^! z6 W! O$ E- C
  804. ; http://php.net/upload-tmp-dir" e& f; T5 v, W) w
  805. ;upload_tmp_dir =' H$ W. M$ v+ h+ _

  806. 1 P" |' a. {+ O8 k( A
  807. ; Maximum allowed size for uploaded files.
    0 d1 M1 N" b7 G0 O" N
  808. ; http://php.net/upload-max-filesize: Z6 E: J2 S. f* D' @; I3 }" S
  809. upload_max_filesize = 50M7 y0 p5 D: e$ y  q" t) Y  i
  810. 3 B5 U5 m4 L" ]5 g. }  c3 G$ s5 |: i
  811. ; Maximum number of files that can be uploaded via a single request8 S: L5 H! b3 s/ Y9 A. B1 s; e+ s
  812. max_file_uploads = 200 v; ]+ E  H) j6 y: {% F% B

  813. % U1 L# c& |4 J9 F  I  o: G
  814. ;;;;;;;;;;;;;;;;;;2 I9 }% x' K: c4 y; s' @9 F7 a
  815. ; Fopen wrappers ;
    * W/ d: x( j$ T7 ?/ ?
  816. ;;;;;;;;;;;;;;;;;;( |/ s2 u# x! u* y4 V
  817. 7 d' [2 T0 t$ F8 ~# o7 x+ ]
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 }% ]2 E% |% g. N5 W2 M4 Z# f& `) o
  819. ; http://php.net/allow-url-fopen9 B* k* l  b- o( W9 b
  820. allow_url_fopen = On7 R+ s' ^0 Z5 [  N: `
  821. 1 r: a8 G- i) G) E
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 M2 Q' X9 Y4 t% u5 q+ M* N
  823. ; http://php.net/allow-url-include9 |% I; r. l8 n" r
  824. allow_url_include = Off, H1 o) I8 C6 c; ]# i! E6 W2 G/ K

  825. ) x; V2 H2 z# b2 Y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 T0 D4 O4 g/ D9 F0 U( t
  827. ; for this is empty.
    % i2 B) o$ d4 h$ j" O
  828. ; http://php.net/from
    - i: P8 H/ n$ {6 f2 F; r8 j' x
  829. ;from="john@doe.com"
    9 i$ M9 h! u0 R3 R- a
  830. ( `/ @: @+ N! B. d( ]5 w1 n6 @% q: y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 w9 I, {. @7 m$ T6 Q5 ^' Z: ?
  832. ; http://php.net/user-agent
    : {( |: X( |3 P; O: E# J
  833. ;user_agent="PHP"$ O3 M6 S9 j  d7 E* @9 L

  834. # E* o, v; p. h
  835. ; Default timeout for socket based streams (seconds)
    0 e) g6 ?( ?6 q9 Y, |9 k* U' d  ^
  836. ; http://php.net/default-socket-timeout
    2 Q4 d  Y: @8 k3 s9 }0 x6 N
  837. default_socket_timeout = 60, e9 p2 O) u9 b% w

  838. # O" m: Y7 n0 }! \5 i* p
  839. ; If your scripts have to deal with files from Macintosh systems,! n  d/ ~2 n$ w3 U. R: {' K
  840. ; or you are running on a Mac and need to deal with files from% B- H8 ^2 r/ ]1 O3 N- E
  841. ; unix or win32 systems, setting this flag will cause PHP to/ b. U' [' x/ C5 W% `1 i( C
  842. ; automatically detect the EOL character in those files so that
    / a% H) v/ y1 h( @4 R% t
  843. ; fgets() and file() will work regardless of the source of the file.1 L! G/ d# W. G  x( ?: _
  844. ; http://php.net/auto-detect-line-endings
    $ I' T( {9 D$ ?) X# x; E$ x
  845. ;auto_detect_line_endings = Off$ R( I2 m" D( x$ g3 b

  846. + r+ Z# r' G5 g1 U/ n$ p
  847. ;;;;;;;;;;;;;;;;;;;;;;
    3 Y9 d1 X  a+ R* I
  848. ; Dynamic Extensions ;$ e) p6 I/ d, J; W9 ~" k
  849. ;;;;;;;;;;;;;;;;;;;;;;- l. Q4 B. G' S5 F- S

  850. 6 E. R3 l/ f9 m( B/ T8 O
  851. ; If you wish to have an extension loaded automatically, use the following
    * o7 k: o' [8 n( b0 d5 z) t  [
  852. ; syntax:; r$ y3 k: o* j+ t" b) Z* {  d
  853. ;* W0 k( S  u* X
  854. ;   extension=modulename.extension7 `1 L3 L4 b0 f  C! |# @
  855. ;1 h( T* y4 S; J. C) z- [" }+ R, I
  856. ; For example, on Windows:/ j4 N0 H$ P5 v  z2 ?5 G) l
  857. ;
    ! {9 {" D  H9 P/ u% v4 `5 d* |
  858. ;   extension=msql.dll: ?% H& Q/ s3 u: P
  859. ;
    2 H/ U0 f3 Y/ }! x! B
  860. ; ... or under UNIX:/ |9 f0 P' O. z
  861. ;
    4 P$ V/ @% H; e: V
  862. ;   extension=msql.so9 [# ^7 o) b$ F& U# Z! S) d8 A
  863. ;6 q( L7 M! P+ |% I+ S8 ~
  864. ; ... or with a path:: _4 D3 ^/ e$ ]% T8 J/ S
  865. ;6 ]' P3 R: \, R4 y  _
  866. ;   extension=/path/to/extension/msql.so0 K( g& f; U6 j- e, b; M3 s7 ?" V
  867. ;
    ) M# K/ n* N1 t  r
  868. ; If you only provide the name of the extension, PHP will look for it in its
    : a8 X1 n+ m& u9 `# w
  869. ; default extension directory." ]! Q/ u1 X  h
  870. ;
    ! h$ S$ b8 ?/ w" W  y
  871. ; Windows Extensions# B$ E7 \6 @( ~$ X
  872. ; Note that ODBC support is built in, so no dll is needed for it.6 e, p7 w/ G# l  z' V* I( {
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! q  x4 J3 c8 E% L$ P2 v( @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    9 l' v) j" J3 c$ O. x# N& ]7 R
  875. ; Be sure to appropriately set the extension_dir directive.
    + D) H- ^% m* k# G7 S" M  c8 V1 B( f
  876. ;( w7 [. T$ ]1 G
  877. ;extension=php_bz2.dll
    / d9 u( J8 m* s* ?- O- P
  878. ;extension=php_curl.dll
      b9 b5 N- ?. D6 r9 o+ I' a- K
  879. ;extension=php_fileinfo.dll3 i$ |. {) z+ T9 [3 @$ @& E9 x
  880. ;extension=php_ftp.dll
    # h/ t) [. Z# p; h1 |5 d% {
  881. ;extension=php_gd2.dll
    ! `( i( Y6 \: o0 B6 [4 j
  882. ;extension=php_gettext.dll( o4 y$ {8 ^  [" o
  883. ;extension=php_gmp.dll2 x. \2 ^5 F  t, Z
  884. ;extension=php_intl.dll
    , N( V1 `& E, c& }+ h1 {. {
  885. ;extension=php_imap.dll, j- @. v; Q& b+ I* t: _
  886. ;extension=php_interbase.dll6 L6 `, B" L; _. l  T: P* x: C
  887. ;extension=php_ldap.dll+ c% p/ \+ m$ ?7 L/ Y0 g. K4 Q
  888. ;extension=php_mbstring.dll
      f! r6 f) O0 U& v& V' C: w
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it* ?# K: \. H8 H2 Y0 Y9 w
  890. ;extension=php_mysqli.dll4 {/ N7 A# n5 ]7 T; K7 R3 e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client9 @& ?  ~- `  m6 f, K
  892. ;extension=php_openssl.dll& @* S+ |; r% m; b6 o2 r7 n
  893. ;extension=php_pdo_firebird.dll" i  E% r- t& c
  894. ;extension=php_pdo_mysql.dll7 H4 v- j4 \2 t$ N6 A4 v! q
  895. ;extension=php_pdo_oci.dll
    % E0 \2 z# H  g2 a6 F0 L
  896. ;extension=php_pdo_odbc.dll
    ( I$ M7 f' A* }# U6 h' ]7 k8 V
  897. ;extension=php_pdo_pgsql.dll
    9 I3 g* O5 [& T" v
  898. ;extension=php_pdo_sqlite.dll* B0 b, q: H# N( {, `+ z  o6 w
  899. ;extension=php_pgsql.dll
    ' N4 w( o! t% Q
  900. ;extension=php_shmop.dll
    3 O+ m% w, y& B/ S5 g

  901. , v/ |9 z  U+ g$ E7 z; \7 z
  902. ; The MIBS data available in the PHP distribution must be installed.
    ' u5 ]7 ?- q" e; h+ l8 j
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    2 U7 z% s+ ~: m: t9 ^- a- N
  904. ;extension=php_snmp.dll
    2 h9 C9 P/ y0 t# x
  905. , G8 f( p1 U+ c& X" g
  906. ;extension=php_soap.dll1 O4 D: u4 }, L8 p
  907. ;extension=php_sockets.dll9 x  I3 r+ b3 B! C& `
  908. ;extension=php_sqlite3.dll
    2 `# F  J+ J6 U+ H# b: J! o
  909. ;extension=php_tidy.dll
    - s5 G' {+ `* Q! Y7 t
  910. ;extension=php_xmlrpc.dll9 W- Q$ u3 \, y0 I( O" q
  911. ;extension=php_xsl.dll
    7 x0 T; b/ t% o- ^8 R' m/ f
  912. 4 g0 ~$ H0 u' w7 T6 r7 X, O  y4 F
  913. ;;;;;;;;;;;;;;;;;;;/ q  t) s: t- J; {, a' p; h/ W  X' z% r
  914. ; Module Settings ;
    1 X. M& g! G/ w( N+ B' `
  915. ;;;;;;;;;;;;;;;;;;;  `+ p2 H8 \3 W6 u
  916. + k0 k3 ]6 @$ ]& s; s+ P8 I9 e" b
  917. [CLI Server]# r: n4 H& f8 U9 I1 j
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.  `. ~7 U4 D" y0 d
  919. cli_server.color = On" g+ ?5 J( }1 O- ?! C5 m+ w
  920. $ w( j1 w. z, J4 i$ {$ a0 ^
  921. [Date]
      A1 H7 U: b2 {# h: u2 K
  922. ; Defines the default timezone used by the date functions2 X9 R8 `1 ~: Y# d
  923. ; http://php.net/date.timezone
    + x) n. F9 {# P
  924. date.timezone = PRC
    # a( T& n5 L# P9 l7 x- A7 w

  925. / ^7 x% o) y( {5 r$ R  q( t
  926. ; http://php.net/date.default-latitude5 W1 O! _0 |" M" l1 Q6 R& g' f- F
  927. ;date.default_latitude = 31.7667' e  H3 w3 R, D% |+ W
  928. 1 d) F  g$ J) g) B4 ^
  929. ; http://php.net/date.default-longitude" H7 S& O1 \/ T- q
  930. ;date.default_longitude = 35.2333  w' Z* E; S5 b  W6 S8 Y

  931. . k4 R8 g* q$ s  _
  932. ; http://php.net/date.sunrise-zenith# W8 T2 p$ N5 h4 r  d( n; k
  933. ;date.sunrise_zenith = 90.583333
    5 C' h" G  N' B& n2 @) B' z% v4 e

  934. $ r% J! p) ]( _1 @3 @
  935. ; http://php.net/date.sunset-zenith& ~4 M' @5 ?/ v5 z% n
  936. ;date.sunset_zenith = 90.583333( B1 T- h% a; D* G6 |4 c

  937. : }) f2 Q- B* J8 u0 ]3 v
  938. [filter]0 f+ F% v" ~* z
  939. ; http://php.net/filter.default
    . M" b# \8 Y/ \3 C- q9 p
  940. ;filter.default = unsafe_raw; q" |, ^, D* _0 l: A
  941. + c8 v- J, [8 Z. [
  942. ; http://php.net/filter.default-flags
    ! X  A9 [3 i* ?
  943. ;filter.default_flags =
    ) C% O* S2 ^% P2 v; i# K
  944. # g, h1 N; X/ W9 s) }5 H2 o
  945. [iconv]
    3 {* v$ ?* y# ]" C
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * g7 ~3 M' z( Z( ~: A* }
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.; w9 m9 C' T; w5 E" C
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 J5 C7 T  K7 D8 r$ F, l, i4 M6 N
  949. ;iconv.input_encoding =
    ' V2 y4 g% @: S# e+ w0 p* b
  950. 8 R, |  }1 h. u3 X6 u3 J
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.' W7 b0 B) x" `1 ^8 U
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ |9 w# ~7 h6 E0 n) F5 z
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 r1 Q  n, Q$ a# E5 j+ D3 a: @
  954. ;iconv.internal_encoding =
    2 Y/ s) H% `9 s, d5 {1 Q# u
  955. ' O1 x) G) y; ?6 f: C0 H% u
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 e. y( e6 [' u+ ?
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; `* j0 Y, n" A
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    2 L% j' H' \# Q1 {/ ~0 g& k
  959. ; To use an output encoding conversion, iconv's output handler must be set4 e+ {+ M, o; k; [2 O/ j' V7 W
  960. ; otherwise output encoding conversion cannot be performed.9 D9 r( b+ C  ?1 ]2 G
  961. ;iconv.output_encoding =
    2 p' ~/ K& p& N; O
  962. 0 u, k1 k  W, m+ t
  963. [intl]
    3 }" K/ w% ~' k) m2 ?- L
  964. ;intl.default_locale =7 ^, `0 b9 I, j2 ]" W# G
  965. ; This directive allows you to produce PHP errors when some error9 A/ M2 b! W& G' I6 y
  966. ; happens within intl functions. The value is the level of the error produced./ E# F* q: V# q# |
  967. ; Default is 0, which does not produce any errors.
    ) V; {% _& A! S& l
  968. ;intl.error_level = E_WARNING: V: I2 V' b2 [( \
  969. ;intl.use_exceptions = 0
    + G* i" A6 @4 @# x8 |& C3 A) a

  970. % @# d; I5 g; c/ a: j+ ^3 f
  971. [sqlite3]
    2 O5 F! y" E: ?/ e8 C. C+ J
  972. ;sqlite3.extension_dir =
    ( N4 h* H; ]/ Z2 k$ h7 D* n

  973. & q( ^& X2 b+ u
  974. [Pcre]
    0 I4 C' d6 \% `' \% S2 T/ P
  975. ;PCRE library backtracking limit.. m7 @8 |' {; M: D* ]
  976. ; http://php.net/pcre.backtrack-limit
    ; k( g* x* \: P, a
  977. ;pcre.backtrack_limit=100000
    " o1 }' p* B6 A/ t5 s4 H

  978. ; j' }# ]" p6 R! `% J: ~+ F1 k2 j* {: L
  979. ;PCRE library recursion limit.
    # Y0 u" o- M1 `* o# V, a, p0 ~
  980. ;Please note that if you set this value to a high number you may consume all
    + m& p4 R! i- h( b
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ; v* A8 q# r* g, @! @+ A! k
  982. ;stack size limit imposed by the Operating System)." G# x' F& T! I+ A% X5 z
  983. ; http://php.net/pcre.recursion-limit
    & C* E* v7 D. m' a0 C$ x; ?% W
  984. ;pcre.recursion_limit=100000. {8 ^9 N  P" F5 a

  985. 7 E9 Z. c0 B) w# }1 e
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE/ T/ w% `& I5 I. t6 l  W
  987. ;library to be compiled with JIT support.2 ]7 j; F& q( ^7 H* s
  988. ;pcre.jit=17 h: m7 F4 A  o1 X" ^, X
  989. 5 [4 x' v; K$ j2 C8 o) b
  990. [Pdo]
    + R+ Y/ B  l% V
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# d5 F( V& [1 g$ _6 F$ D
  992. ; http://php.net/pdo-odbc.connection-pooling
    # }  ^* w* [/ I
  993. ;pdo_odbc.connection_pooling=strict! e  u% }$ y. v# G5 |
  994. ! F4 C) p' l/ h
  995. ;pdo_odbc.db2_instance_name* r4 E1 c$ |5 S- |

  996. + s1 ]0 A4 C6 E2 ]$ g, V3 A6 X
  997. [Pdo_mysql]
    - k: G% |$ d; C! b( F7 J% C
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & s- l4 T& x1 G. ?6 f) m/ N
  999. ; http://php.net/pdo_mysql.cache_size
      b! h% @$ z1 y
  1000. pdo_mysql.cache_size = 2000- o: x- |9 x4 H# d. O$ j
  1001. - ?9 p2 X+ v0 Y- J/ }
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 J1 K8 Q# S6 [/ u( X
  1003. ; MySQL defaults.4 O$ N. i" `- D* |
  1004. ; http://php.net/pdo_mysql.default-socket
    7 i; o$ G, I6 m; v6 \
  1005. pdo_mysql.default_socket=9 r& c; l- m2 ^; m! p3 v6 K

  1006. " ?% t; f2 V5 E! U: {' M; U
  1007. [Phar]
    * ^% v* Q  T7 J' ~8 n7 n2 A
  1008. ; http://php.net/phar.readonly
    # j$ u( n; D! x
  1009. ;phar.readonly = On1 {4 J+ m3 Y+ n7 p' U; t
  1010. 0 ~# w% r3 W% G4 R$ }4 }
  1011. ; http://php.net/phar.require-hash. G; G2 N2 e( U8 ?
  1012. ;phar.require_hash = On, s1 {7 @; J9 j6 a% v

  1013. 6 c/ N. P& {# W, s) ~0 B% r
  1014. ;phar.cache_list =: d- y; ]% L5 G+ i1 _. G8 a+ k
  1015. / k: c0 y$ W2 [! t+ E# z! }
  1016. [mail function]6 V) l7 \+ [2 t. N( }& B% _& p9 i* [
  1017. ; For Win32 only.
    7 r% F- }9 |$ z6 X: R/ K
  1018. ; http://php.net/smtp
    % a4 L9 n# a/ d. g2 s
  1019. SMTP = localhost
    * i4 _8 a. G+ i# B5 [% O9 L
  1020. ; http://php.net/smtp-port/ [4 p1 [, Q6 v* T( w
  1021. smtp_port = 25
    8 F0 F9 [) B. @  J& I& g7 j

  1022. - A% [) M/ U- _$ a8 z
  1023. ; For Win32 only.
    + s- Q& y% k+ N# \
  1024. ; http://php.net/sendmail-from8 a# t" ?/ i" o
  1025. ;sendmail_from = me@example.com) ^- L) ]) M# H! U- m
  1026. 2 _& @' \8 i1 T1 d0 o5 Y+ }) T7 C1 I
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    1 q& e( x. s. ^% ~+ o
  1028. ; http://php.net/sendmail-path5 p9 B% k+ e6 `
  1029. sendmail_path = /usr/sbin/sendmail -t -i( q  u- U. e; R: J  A# C; r" V

  1030. & }( [. G& B+ Q
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' k# v/ J' V- K0 J" H; k- d
  1032. ; to the sendmail binary. These parameters will always replace the value of2 D' V4 u# c+ d
  1033. ; the 5th parameter to mail().' u6 l0 W5 S! [' d
  1034. ;mail.force_extra_parameters =; |1 f8 q# Y) J7 t

  1035. & H: S( I! e% I$ I4 l5 V
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " }( o* R3 u. W  V
  1037. mail.add_x_header = On! Y  g1 j) H' t
  1038. , [  E' \5 n2 j/ U8 {$ S( k& k
  1039. ; The path to a log file that will log all mail() calls. Log entries include; H/ b% D4 q8 d" {+ V
  1040. ; the full path of the script, line number, To address and headers.
    # M& e# l- j. H' U1 Q, s
  1041. ;mail.log =
    8 n1 H: m# W+ ?6 p) h% w$ Q
  1042. ; Log mail to syslog (Event Log on Windows).
    % |* i: E( V4 g' p* x. J; p, Z+ B' u
  1043. ;mail.log = syslog5 k+ I; n5 ^  u  H& G( y4 Q" [
  1044. ) w7 @% i; E* v1 E
  1045. [SQL]
    / J& X7 e  A9 [' X$ U  x! [
  1046. ; http://php.net/sql.safe-mode5 M3 Q1 _; d9 j5 G$ ?
  1047. sql.safe_mode = Off2 ?; P7 ~0 K7 V; g0 x4 ]

  1048. ( n7 b% h: n5 y- [+ R( p0 v4 j
  1049. [ODBC]
    $ g7 d$ F1 s" o% T# D$ y6 c
  1050. ; http://php.net/odbc.default-db
      U' a! v4 }( D  _, X6 K# i  }; f
  1051. ;odbc.default_db    =  Not yet implemented8 f7 N9 U: h1 V

  1052. " n# h$ v7 Y' G8 F2 h& l( A
  1053. ; http://php.net/odbc.default-user" G3 H. m  F% i+ |% @2 `8 L) I' ?% @# N; ~
  1054. ;odbc.default_user  =  Not yet implemented
    + ]* ~# A$ n& s4 }. d5 t& Y0 `6 X

  1055. ) B+ M) P* Q' X% j; f* ?  |
  1056. ; http://php.net/odbc.default-pw
    3 A1 z! W  x4 o
  1057. ;odbc.default_pw    =  Not yet implemented7 R6 B( x  h+ I9 d: h+ u6 f' H' }6 v( n
  1058. $ i! p! F: Q( I! a
  1059. ; Controls the ODBC cursor model.
    ; i* n( K7 p, s, X' i. [# |5 _2 @
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ! ~& b5 x% r' _/ i: A6 c: [3 f$ m
  1061. ;odbc.default_cursortype/ `! i: J* x+ x. p- l: e# E- p
  1062. . O; z* w( w$ Q' c- L6 J& y; S
  1063. ; Allow or prevent persistent links.( ]" T( R+ e5 ?. v; s- N( g
  1064. ; http://php.net/odbc.allow-persistent' p& R/ r! i. A% K. t3 Z5 `  I! x, S
  1065. odbc.allow_persistent = On
    & b1 U. J- y) `2 o8 l3 E! b4 [

  1066. ( @3 i* r% b. H6 \; G8 V9 w+ O- e
  1067. ; Check that a connection is still valid before reuse.  Y9 h; i7 x7 i5 d
  1068. ; http://php.net/odbc.check-persistent* S$ W6 {- u3 U/ w; ^# z. L3 v  a
  1069. odbc.check_persistent = On5 M6 l' N6 n  H$ C& m
  1070. 2 x% V9 l, ~4 E: [" b* l
  1071. ; Maximum number of persistent links.  -1 means no limit.- n8 k) W4 r- W
  1072. ; http://php.net/odbc.max-persistent8 l' n% }( z  h3 c' a
  1073. odbc.max_persistent = -1
    3 L* t5 c9 Z) ?7 t- Q: L
  1074. 9 F" K$ t* k5 V( [4 C& \
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 u% F' C  H1 n, d1 ~
  1076. ; http://php.net/odbc.max-links
    * P' S7 z' L1 u/ x0 H5 v
  1077. odbc.max_links = -1
    4 I& U  g+ C! H# C: H

  1078. 5 X8 g( }& {- G2 R  u/ q! `0 N7 ^/ v
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    * I, g: b+ {4 d% g' z
  1080. ; passthru.
    - @1 n$ v- l3 n) U
  1081. ; http://php.net/odbc.defaultlrl
    ' W3 t4 e" U& W% g
  1082. odbc.defaultlrl = 4096
    3 S( P2 r  ?# ?- J1 Q* p

  1083. $ t% G; S4 m8 m! S& I
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! y% Q( H% i0 L+ j: K0 G
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) n- K$ O# E$ q: z: ?' m
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode* O( T/ F3 f% m% a0 @
  1087. ; http://php.net/odbc.defaultbinmode
    : \" M* q* ^4 C, v
  1088. odbc.defaultbinmode = 1
    1 @% l7 Q/ b  [2 t1 O5 L4 N# d  t
  1089. 0 A" |# v% F8 s1 {9 N
  1090. ;birdstep.max_links = -1
    4 {/ j2 s( x: J1 O- t+ `$ _
  1091. 7 v% Q4 @" U: R1 c% ?0 z- K. Y
  1092. [Interbase]5 Z2 M' ?/ ]  f. h$ ~7 l: A, K) `5 F
  1093. ; Allow or prevent persistent links.0 ~! n7 H$ P4 ]# E
  1094. ibase.allow_persistent = 1
    ! S& R- V% W7 R. [- m
  1095.   a+ ]( d4 y2 g$ a- ]+ ]4 V  n1 Z
  1096. ; Maximum number of persistent links.  -1 means no limit.
    : x( L# c! j5 b$ r0 N
  1097. ibase.max_persistent = -17 w2 y# W% X8 b
  1098. " \/ l- s+ e% @  L
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' y& z  h% L9 l  M. l& p
  1100. ibase.max_links = -1- @- O' g# I* I2 A* \; B8 E
  1101. ) m% G* I1 h* o; B! q: n
  1102. ; Default database name for ibase_connect().
    % V6 K  q" ?; m
  1103. ;ibase.default_db =
    # b; M. l; r, i
  1104.   |9 d7 [/ n. ?* a$ m/ a2 M1 J) C
  1105. ; Default username for ibase_connect().# \) {' L! U; }9 C8 H$ Q1 y9 V: c2 {
  1106. ;ibase.default_user =
    1 C- k5 V% F) Q6 c+ N  p8 C/ c5 p

  1107. # _  D2 }! b4 `! l
  1108. ; Default password for ibase_connect().( m  y5 R1 s% R" G
  1109. ;ibase.default_password =7 R/ l" R% A9 ?" l

  1110. - l. N6 y( q! A5 u' S2 p
  1111. ; Default charset for ibase_connect().
    % P: r6 [0 M) u& g$ J
  1112. ;ibase.default_charset =5 N1 T% `, g# c; v4 S
  1113. & b* s! v& x$ C
  1114. ; Default timestamp format.* t& N2 j9 z$ ^; U7 e% s
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * k. h$ b4 Q) O( ]7 E$ @9 n. V/ M
  1116. # Y$ e2 q* l* ?
  1117. ; Default date format.
    " X! W# U% F1 s5 i9 R  t* R1 R+ M
  1118. ibase.dateformat = "%Y-%m-%d"( Q7 q" u* r. k9 h' h" M
  1119. 6 t! D0 W. }3 Q9 _0 E
  1120. ; Default time format.
    0 d% L+ b9 a! s$ p) ]
  1121. ibase.timeformat = "%H:%M:%S"
    2 C$ ^  w$ p- {( j; @1 U6 ^

  1122. . v( n4 g+ l3 e3 z; p( p
  1123. [MySQLi]
    % s# r7 M3 t6 J* `% c9 s

  1124.   }( D/ t2 f! R/ g3 ]7 E! q
  1125. ; Maximum number of persistent links.  -1 means no limit.
    1 ~( `  ^8 @6 H$ }
  1126. ; http://php.net/mysqli.max-persistent$ v( Z: |6 e! m
  1127. mysqli.max_persistent = -17 D, ^" s! }6 g7 @/ i! L8 D

  1128. ( a! R+ B; n( `+ R8 u; m1 V3 ^
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 y1 _$ @" I. }
  1130. ; http://php.net/mysqli.allow_local_infile+ b9 ^' u' V) i) B+ h
  1131. ;mysqli.allow_local_infile = On- X, L$ ~. U4 M+ \2 }; r% m* i
  1132. $ `/ @' ]4 r2 V$ P( X
  1133. ; Allow or prevent persistent links.
    1 R8 Q# j% Z6 o# [
  1134. ; http://php.net/mysqli.allow-persistent: a6 [7 c# R9 {, |* ^" S' L/ ?5 W
  1135. mysqli.allow_persistent = On
    & a, a! O1 E5 F6 q7 }; l- f
  1136. 3 u' r  H/ P1 J. a$ w
  1137. ; Maximum number of links.  -1 means no limit.
    - D6 P. K8 G+ _! x* J4 p- W" R
  1138. ; http://php.net/mysqli.max-links
    8 R' Z6 }8 k" y6 ^: q) K
  1139. mysqli.max_links = -12 W+ B# m9 q  I

  1140. 4 x4 A  Z5 f6 T/ u5 }/ S
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache; i# [7 l' a% q4 R; y6 J" \) X
  1142. ; http://php.net/mysqli.cache_size( M6 Y! ~0 e7 o1 A' w4 w% O- j
  1143. mysqli.cache_size = 2000. H! L4 K0 e* Q  o/ h1 `& @9 D
  1144. ( x$ D) E2 y( P
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & G+ B5 O0 U* i* L
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ w/ z; _" z7 @1 y. d
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, N8 h2 P2 w5 [2 m2 N6 b# e& `+ |
  1148. ; at MYSQL_PORT./ ^" a+ r1 B4 n+ j) X1 P" W' D
  1149. ; http://php.net/mysqli.default-port6 [5 I1 ?6 ^( N# K( N! l& g: R. E
  1150. mysqli.default_port = 3306. U' f: d# `* K- F! E
  1151. : [" e' G6 E% F! I/ Y9 R
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 F; l5 k" b% a2 b
  1153. ; MySQL defaults.
    6 U+ N0 u- h* ~: M5 Z& t
  1154. ; http://php.net/mysqli.default-socket
    " ^) v" {% b! q& e. X5 s' _3 p
  1155. mysqli.default_socket =6 h) c0 m8 z: s' O$ x: M% Z
  1156. $ I$ R, }+ i8 c  q
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 h+ _/ Q. p( f
  1158. ; http://php.net/mysqli.default-host# o# P. O' c( `
  1159. mysqli.default_host =
    * E& Z6 ?5 f1 z( W( a$ e, U

  1160. + i8 A: q. n7 I, o6 T( v4 n
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 [6 R4 r4 t  u3 |) a9 |
  1162. ; http://php.net/mysqli.default-user7 S6 e: s" Q: y1 s* T9 k- B5 p5 M
  1163. mysqli.default_user =
    + l4 D1 a' |4 o
  1164. , ?8 u' m9 L6 E9 e4 C8 u
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. {5 p# H9 k8 J, _8 E
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.) \+ I# ^: Y) o2 w2 L5 c' g
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & `5 D2 w) q& v6 |: w( e2 }0 [. W( x
  1168. ; and reveal this password!  And of course, any users with read access to this
    ) b$ J+ ~2 q: N7 d8 n3 ^# I8 K* ~* ?+ }
  1169. ; file will be able to reveal the password as well.6 o1 h' _$ T0 [: n2 f
  1170. ; http://php.net/mysqli.default-pw1 u- u/ r5 W/ d; c. I2 x
  1171. mysqli.default_pw =
    " k& C# H; i, ]8 l6 v7 S5 n7 i1 m
  1172. ) h4 v  j! |+ p7 |
  1173. ; Allow or prevent reconnect  P6 R+ M+ t2 E. ^) f0 R5 Y
  1174. mysqli.reconnect = Off: H5 E: Y+ A2 U9 \1 v$ i3 U

  1175. 6 y/ Z# i* T: r' p1 k2 X) }
  1176. [mysqlnd]4 l) _6 }6 [+ ^2 G7 O# L
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be! }& Y% o4 Z, e5 y/ z* ?
  1178. ; used to tune and monitor MySQL operations.. T; Z" m; \( l# x0 O/ q
  1179. ; http://php.net/mysqlnd.collect_statistics
    . V! v5 x( }( t) Q$ N2 `
  1180. mysqlnd.collect_statistics = On" J- K# t! p" ^0 Z1 F& r1 Q

  1181. 4 D% I+ D9 F+ C3 n6 e
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, \6 O5 I% @' I2 ^3 p
  1183. ; used to tune and monitor MySQL operations.0 ^- P2 f4 q2 M1 k
  1184. ; http://php.net/mysqlnd.collect_memory_statistics3 Y- G1 H( l  H, `. U0 p
  1185. mysqlnd.collect_memory_statistics = Off
    % ]8 h9 S7 O. k  D' n% v

  1186. 3 D4 }# ~0 _) Q& C" M% m+ {
  1187. ; Records communication from all extensions using mysqlnd to the specified log0 s7 `5 W" b1 Z7 W) ~
  1188. ; file.
    # m4 ^  L2 B7 T( E+ i
  1189. ; http://php.net/mysqlnd.debug
      J3 b' x# e4 F8 C! g9 C* [0 c( {; V
  1190. ;mysqlnd.debug =
    2 n2 Y! @! a1 Q6 \5 H9 S
  1191. ) O3 t7 g0 F8 v4 K4 P
  1192. ; Defines which queries will be logged.& f* M# T; U0 g% g
  1193. ; http://php.net/mysqlnd.log_mask* x9 C, i& C" S, T
  1194. ;mysqlnd.log_mask = 0. |% p, E& y; X. v9 f8 x8 c7 s

  1195. . n, i- {/ L# m' q% c
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 Z5 d; B' \  o; }6 B$ W! y# ^
  1197. ; http://php.net/mysqlnd.mempool_default_size
    1 t  a6 ?: g- Z) q0 X5 G7 |
  1198. ;mysqlnd.mempool_default_size = 16000
    % _: j, Q1 C  ^

  1199. $ p7 {/ s4 i! a0 Q9 O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' _$ i- t' b: I- }/ ]. E6 F5 f
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! k3 H4 e. ~  z+ {* V% _$ W
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    3 D/ d# l* A& _: D: A& a
  1203. 2 {- X% y; k# Q" F8 _; G* c
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in9 p. W, ~/ g" T, K
  1205. ; bytes.
    & g. M4 Q0 T) x7 g9 b) C0 X
  1206. ; http://php.net/mysqlnd.net_read_buffer_size: @# L1 F5 n/ _* q5 b% L
  1207. ;mysqlnd.net_read_buffer_size = 32768/ j- P. }' L- H0 y8 D2 X+ u

  1208. ( _9 T9 \8 \- c9 S  D% i
  1209. ; Timeout for network requests in seconds.% w2 Y' v6 q" v% K3 k5 H9 M
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # i% o! z0 h! ?2 {- s" n
  1211. ;mysqlnd.net_read_timeout = 31536000. E  i. c: D4 H

  1212. , S" w( j0 `  r0 `
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    8 m& ^: O5 |+ h6 d/ I
  1214. ; key.+ D+ W7 N9 \: Y8 Z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key' u; h; ^2 t1 U
  1216. ;mysqlnd.sha256_server_public_key =
    2 u4 y/ ~: X1 m* W. M+ f

  1217. + I3 b  P0 L+ w& ?+ e5 T
  1218. [OCI8]4 F" N! U0 \1 M9 u

  1219. ) r1 ~0 r- d& u, x, F: e
  1220. ; Connection: Enables privileged connections using external! ]3 U7 K$ d8 l4 G; M
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ K, G( X8 o4 F7 U" C. h
  1222. ; http://php.net/oci8.privileged-connect
    1 y. m9 A* I! V) C
  1223. ;oci8.privileged_connect = Off
    2 d8 Y9 Y. e+ w) K7 g1 i
  1224. 3 n" ~& A8 y% u
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    $ F9 ~5 \) v' w! `( ?6 [
  1226. ; process. Using -1 means no limit.8 e0 v1 L+ I6 }% s  I6 N
  1227. ; http://php.net/oci8.max-persistent, K! F9 M( E, [9 Z
  1228. ;oci8.max_persistent = -1" U+ n) a/ o* ]
  1229. 0 z6 D- H# m0 e  z0 a' _  K
  1230. ; Connection: The maximum number of seconds a process is allowed to+ P3 J5 e% J$ F( O
  1231. ; maintain an idle persistent connection. Using -1 means idle. v' x, J, L# V0 N' B
  1232. ; persistent connections will be maintained forever.- J4 E1 J$ P: W% z' Z
  1233. ; http://php.net/oci8.persistent-timeout
    1 U1 V; B. V1 k5 X9 S! O3 ~
  1234. ;oci8.persistent_timeout = -1- M" K; P) u; s( k

  1235. 5 T: [* ?; f2 q; d
  1236. ; Connection: The number of seconds that must pass before issuing a
    9 y5 ]- t( A* N, q
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # B+ p- u! R+ }) E
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( d: }) O4 H6 J* G) h
  1239. ; pings completely., U, m: i1 x* V8 P
  1240. ; http://php.net/oci8.ping-interval8 g, n+ c0 B/ j4 b
  1241. ;oci8.ping_interval = 607 G; @5 g3 [' W* v! _+ I. {( G
  1242. + n1 S1 o. Z" G, S' [' ^+ a: _
  1243. ; Connection: Set this to a user chosen connection class to be used
    0 V& L) n' w" \
  1244. ; for all pooled server requests with Oracle 11g Database Resident0 L% x% ^9 s! r- w4 d
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: X5 F0 \: P6 W: o# _2 u) V
  1246. ; the same string for all web servers running the same application,
    # s4 e, T& I+ r; ?
  1247. ; the database pool must be configured, and the connection string must! E- e/ z  i4 s1 Q* Z  {' N+ w
  1248. ; specify to use a pooled server.
    6 C4 d$ q% `* ~) V
  1249. ;oci8.connection_class =8 k- Y5 s) |$ m4 ~6 m
  1250. ) X; D/ F' Z/ U  t8 w# ~( Q* n
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ) C9 e" a5 h3 Q) y  y
  1252. ; Notification (FAN) events generated when a database node fails. The+ L* ]3 X/ T1 o6 r2 V6 [( a  `5 ~
  1253. ; database must also be configured to post FAN events.
    / Y6 d$ |: T2 {( L( \
  1254. ;oci8.events = Off2 i: D$ N' B+ O

  1255. 3 Y/ o8 |- o2 Z: @" a& t# z
  1256. ; Tuning: This option enables statement caching, and specifies how- g, Q  ^9 @( z" b
  1257. ; many statements to cache. Using 0 disables statement caching.* y' U0 f# Y( W1 d/ N
  1258. ; http://php.net/oci8.statement-cache-size
    ! Z% X& t( W( y3 _* F; ~/ ?
  1259. ;oci8.statement_cache_size = 20( E) [/ [6 H, W6 x

  1260. + F1 l5 C! w5 Z8 u: Y5 m
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    . c* k. ^0 f( {) D; h( B* D
  1262. ; rows that will be fetched automatically after statement execution.
    2 j& d3 [6 X* B" ?* w" M# V1 {
  1263. ; http://php.net/oci8.default-prefetch
    3 B" z, b/ O+ K5 [
  1264. ;oci8.default_prefetch = 1002 L2 L3 z% U& N1 F

  1265. & Z, g$ f1 B( u- J1 n2 f2 Q" c
  1266. ; Compatibility. Using On means oci_close() will not close# m6 y# L7 ?; ?
  1267. ; oci_connect() and oci_new_connect() connections.
    0 ], o1 Q" f7 ~. t+ i! j' b( l
  1268. ; http://php.net/oci8.old-oci-close-semantics' m4 i& M5 H# _6 l7 c" r0 |
  1269. ;oci8.old_oci_close_semantics = Off$ T# u2 d* E0 n- H

  1270. % |5 j: t) V- S( {1 c0 @* E
  1271. [PostgreSQL]1 k' W+ s( ^% I% p4 c) }
  1272. ; Allow or prevent persistent links.* e- [3 L3 Z' \: o- b
  1273. ; http://php.net/pgsql.allow-persistent( K9 ?2 \4 b$ t( D, Q& x
  1274. pgsql.allow_persistent = On
    ) H4 N0 w+ ]; k! F; H7 {/ z! j

  1275. 5 S- t$ e& i+ z
  1276. ; Detect broken persistent links always with pg_pconnect().
    ' Q) @0 t8 W' R" s9 k, u
  1277. ; Auto reset feature requires a little overheads.5 y4 p6 t9 n6 U
  1278. ; http://php.net/pgsql.auto-reset-persistent/ U& p$ o: N  D  ?; Z
  1279. pgsql.auto_reset_persistent = Off
    ) d$ O: p' ^/ L9 _8 S' [2 f1 {

  1280. , e0 E7 U" [5 @7 i" T" F2 e( P) {
  1281. ; Maximum number of persistent links.  -1 means no limit.0 e3 L! ^9 i3 ~
  1282. ; http://php.net/pgsql.max-persistent. `3 b* F# P: P& ~- y$ e
  1283. pgsql.max_persistent = -17 J! K  i5 u' I2 q
  1284. 5 h3 i& O, W4 v  j1 [7 U9 J
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( U7 c& `6 a/ R. Y9 }7 ^
  1286. ; http://php.net/pgsql.max-links
      B+ c1 E6 B+ D! v  v9 h& }
  1287. pgsql.max_links = -1( w* n0 X) [7 w
  1288. * ~, L4 k% j! a% c
  1289. ; Ignore PostgreSQL backends Notice message or not.9 F1 ]- B% _  }& b3 D& H
  1290. ; Notice message logging require a little overheads.5 S9 _: \9 w# }& I1 V) W
  1291. ; http://php.net/pgsql.ignore-notice
    $ E3 r- o2 m# h1 x# }6 J1 ^
  1292. pgsql.ignore_notice = 04 ]# ^% l2 N, p- {

  1293. : Z: k# u3 s2 G* x6 }
  1294. ; Log PostgreSQL backends Notice message or not.
    7 u& P' R9 ]* L
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    " T7 A1 Y8 e( @4 t+ ^/ @7 W
  1296. ; http://php.net/pgsql.log-notice6 J6 q, e3 ]3 y0 i, W
  1297. pgsql.log_notice = 0+ v% ?( f1 R# X6 B' `& n

  1298. - k; c8 _2 {1 D* e) H
  1299. [bcmath]
    : [2 i- N) {: h# ?3 v4 t
  1300. ; Number of decimal digits for all bcmath functions.- A# u1 V* L* Z
  1301. ; http://php.net/bcmath.scale6 N$ X1 U  {: Z6 h
  1302. bcmath.scale = 08 e  {! a3 r$ K1 c7 v) X7 j/ a& L% r9 Z

  1303. ( G: V! m$ p2 S
  1304. [browscap]# l& ~/ k0 i! Q. P" L1 k- u4 K
  1305. ; http://php.net/browscap! ^; V0 G! ]1 m" T; R* A
  1306. ;browscap = extra/browscap.ini
    1 C- f+ `% y7 n2 P4 {- p

  1307. % i! |& c6 w' D; J9 g3 u/ K- g% b
  1308. [Session]
    " r2 S  X  z* ^& v
  1309. ; Handler used to store/retrieve data.
    & y8 m3 o. f' z# {$ B
  1310. ; http://php.net/session.save-handler9 J$ v' a% Z0 z6 ]
  1311. session.save_handler = files/ o7 b3 l% @4 e5 X1 U2 D) Y
  1312. ' `- H; x6 M( }4 k! ~
  1313. ; Argument passed to save_handler.  In the case of files, this is the path: J' p3 [3 K9 H, }% ^) C; ]2 k& |
  1314. ; where data files are stored. Note: Windows users have to change this
    7 O$ d1 K% r: j+ E
  1315. ; variable in order to use PHP's session functions.
    2 O8 W+ H5 l5 Z, U" W: H" |
  1316. ;
    : R, }8 b4 ?6 v
  1317. ; The path can be defined as:
    & B0 r2 M# @' \0 P# P
  1318. ;
    + @: X6 k8 \" {! u1 q9 U
  1319. ;     session.save_path = "N;/path"7 I/ ?* q$ k1 y( D( n$ I
  1320. ;
    , Z4 \  W& y) _# Z. Z, i: h
  1321. ; where N is an integer.  Instead of storing all the session files in9 j/ Z9 _. s4 a% ]: _# W% x5 a
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    1 E( ]! \6 i2 h4 ~+ h
  1323. ; store the session data in those directories.  This is useful if" Z. E7 A9 q( o4 @" I9 F/ |4 ]
  1324. ; your OS has problems with many files in one directory, and is
    0 p( v$ W( O* n' A
  1325. ; a more efficient layout for servers that handle many sessions.* Z. J& I2 k- v
  1326. ;
    2 O+ c: Q+ |& `) K1 H% P8 C
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & x" R1 V' i4 m1 R8 G+ Q2 S& S$ s
  1328. ;         You can use the script in the ext/session dir for that purpose.& W; B' X7 X' ^
  1329. ; NOTE 2: See the section on garbage collection below if you choose to7 D* [' n1 k  Y# G
  1330. ;         use subdirectories for session storage/ X: b2 H( }9 ?; W
  1331. ;# F' ]$ k- ]! _/ M  }5 F
  1332. ; The file storage module creates files using mode 600 by default.; j  @6 p, o6 x9 y9 {
  1333. ; You can change that by using, g- J7 l! o, @
  1334. ;+ A1 c6 u# O. ^8 L: W+ Q
  1335. ;     session.save_path = "N;MODE;/path"3 g. M1 N5 p7 Q9 |) k( @2 E
  1336. ;! V9 F6 E" |/ S+ x8 c- H# e
  1337. ; where MODE is the octal representation of the mode. Note that this% N, j! f) }/ I$ ~: H" C& L2 a
  1338. ; does not overwrite the process's umask.' I% w4 [: `! b1 U! W8 h8 f
  1339. ; http://php.net/session.save-path+ n* G4 Q( i- K( Y2 d1 s
  1340. ;session.save_path = "/tmp"
    * H- v7 H, l2 A  ]. T
  1341. 4 Y! @# {1 i8 P- _) ~2 N8 l
  1342. ; Whether to use strict session mode.: l2 K- e) a$ I& d! @$ j$ h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate% I# r5 V" ^0 O  W! y. X8 N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    5 P) i* s& m! y  u+ w' W
  1345. ; applications from session fixation via session adoption vulnerability. It is, _7 O% O- g2 B- L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 [7 Y$ I2 Z  \* \
  1347. ; https://wiki.php.net/rfc/strict_sessions/ P# b9 i, D& w5 n
  1348. session.use_strict_mode = 06 _+ l6 u. f/ P$ d, |
  1349. , f' Q% s: x  ~4 B
  1350. ; Whether to use cookies.+ y  h; `5 r: K' }- F3 ?/ F
  1351. ; http://php.net/session.use-cookies- X* C# x0 m+ {$ w. d* b9 k
  1352. session.use_cookies = 1) K& Q( N& D/ m5 [) c& D, b
  1353. ' S1 \1 C+ J( ^# _: h7 I
  1354. ; http://php.net/session.cookie-secure
    - ]* C; p7 e# _4 U4 h
  1355. ;session.cookie_secure =" H1 G% L( M; N1 U% {# G- E

  1356. " [6 T7 q6 t$ s' D! [
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 o; \. A) B2 ~1 ~
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    0 }, _. M4 y  Z6 r. Z
  1359. ; session hijacking when not specifying and managing your own session id. It is2 A' i' X2 |5 a
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 r- u/ Q% v% y4 m3 }! I
  1361. ; http://php.net/session.use-only-cookies1 c3 P$ s4 D& d8 Q
  1362. session.use_only_cookies = 1
    ! ?6 R$ A: M- R/ c3 F% x
  1363.   n  F% c% i/ r' \  Y2 q
  1364. ; Name of the session (used as cookie name).
    6 [4 o, Z3 L# G: n0 O6 ~3 U
  1365. ; http://php.net/session.name
    7 f" ^9 x7 \* X1 ^
  1366. session.name = PHPSESSID! C) t2 i7 Q3 u) b) J

  1367.   l3 s- h" `% z+ b) Q$ n
  1368. ; Initialize session on request startup.' b  W2 G) e6 C! E  T8 I, X% Y9 g
  1369. ; http://php.net/session.auto-start6 c' B& q0 h4 C& R) v1 K. }
  1370. session.auto_start = 0
    ) P$ j6 H) X  ?: z8 J9 t

  1371. 1 @! F% J1 {  j1 r% c& r
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 W$ z6 ]: D; l$ v, R
  1373. ; http://php.net/session.cookie-lifetime
    ) A  }& M& D9 y% W
  1374. session.cookie_lifetime = 0' [! t! J2 a" X# U. A* {% y
  1375. 4 a' f) m& X* I
  1376. ; The path for which the cookie is valid.6 Y8 }. c$ l6 P) {
  1377. ; http://php.net/session.cookie-path6 o2 A9 W+ j) f7 m6 l" e. g# O
  1378. session.cookie_path = /
    ( x+ h" Z: H: w4 [
  1379. # s0 _' i- M9 o' T# T. s
  1380. ; The domain for which the cookie is valid.8 }: [  P  U0 |4 s/ Q5 Z9 U
  1381. ; http://php.net/session.cookie-domain
    2 ^7 w( v; U9 d# X
  1382. session.cookie_domain =% ~$ K- d" v  t- D
  1383. ' V" q2 a1 g. L9 C* S% k
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' n4 i8 D4 X' P; T* g- _
  1385. ; http://php.net/session.cookie-httponly
    2 f# `# h5 L. F) _/ T0 I0 R1 B9 ]- V* |: X
  1386. session.cookie_httponly =0 [' x, [9 h0 x0 V& K: S- s
  1387. 9 M- c8 }( Z) P* ~4 Q1 D+ h# |
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
      A- _- o/ e: M
  1389. ; http://php.net/session.serialize-handler/ w7 z( f' q" l+ w% T  A
  1390. session.serialize_handler = php" ~/ s5 k, x. g( F" e1 _# T

  1391. % K) l# r7 g* R  U' B5 m
  1392. ; Defines the probability that the 'garbage collection' process is started! u( B& O9 a* D+ z# D
  1393. ; on every session initialization. The probability is calculated by using! D* {: p2 S2 S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) W, t; t/ S( D; v
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , |' u% l& M- X
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. y# U1 X  E4 W" d0 T
  1397. ; the gc will run on any give request.# f$ [) l( f# z6 N
  1398. ; Default Value: 1+ p% O' n' P5 p+ B; g4 z6 r8 P
  1399. ; Development Value: 1
    7 t% s3 N( t' D7 r$ T* d
  1400. ; Production Value: 1
    : [1 [  `* N! y+ M
  1401. ; http://php.net/session.gc-probability. t9 I2 t, c1 c- q9 X/ M$ Z
  1402. session.gc_probability = 1" {. _1 r5 c) z
  1403. + M' {. A) c9 |4 q8 a. T: C/ O
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " u, x4 K' A9 k' X
  1405. ; session initialization. The probability is calculated by using the following equation:& v4 x6 Y. e8 \' ?
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    & R6 \- h/ @0 ?. v( l
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 q. q0 I' t4 a$ k7 x
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 L0 r9 `5 d. j# p% X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 @& `& g# C1 b3 O( Y" r5 w5 V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 e0 @, F4 w% B4 D; A5 M
  1411. ; this is a more efficient approach.8 N' z3 J* v7 b: O$ J
  1412. ; Default Value: 1002 D4 X0 n* V. h6 U. h9 O2 L
  1413. ; Development Value: 1000
    * d8 m$ k, [8 S7 {% {* M/ m5 D
  1414. ; Production Value: 1000+ F4 I) A: F  l1 z; }/ O# Y" j$ y
  1415. ; http://php.net/session.gc-divisor
    8 d% r. R+ H* M
  1416. session.gc_divisor = 10006 M7 b* f2 r" T  _
  1417. / Y, z! M+ v5 G* v# k
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and* v. w5 s( t3 f4 N! M4 D
  1419. ; cleaned up by the garbage collection process.
    $ D0 T: ^% n$ B9 Z
  1420. ; http://php.net/session.gc-maxlifetime
    5 ?" f6 S4 @6 o
  1421. session.gc_maxlifetime = 1440! ]5 ~7 P% N" \4 ~& ^& \

  1422.   ~) B" J* T6 A5 `+ ^
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    $ M# K! f9 r/ _8 E, t( p  G2 M
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ( l; l$ O/ ^# O% o, i' |6 D3 Y3 i
  1425. ;       happen automatically.  You will need to do your own garbage) G4 A/ k) w2 T5 r/ ]- _3 H& \
  1426. ;       collection through a shell script, cron entry, or some other method.# H; t, T0 x$ A8 d
  1427. ;       For example, the following script would is the equivalent of
    " D0 R. E: b6 B& \* K- G
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " M) M) g) b; C4 h5 l
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& Z( l0 L4 b& L& g5 d  G

  1430. * A- Q  U8 f4 ^" X) D
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 \+ n! U- _8 K* |+ v( O
  1432. ; HTTP_REFERER has to contain this substring for the session to be: J- r& Q; P$ X, }3 ~
  1433. ; considered as valid.$ g8 b* B$ W% S- p/ P/ J
  1434. ; http://php.net/session.referer-check# [0 n( R) m0 Y5 c
  1435. session.referer_check =
    ) N3 u# i+ ^' h& l" Y1 H' x  R, U
  1436. : Y" t' G  Q: v$ G0 G# Y- E
  1437. ; How many bytes to read from the file.3 b1 l9 Y1 {+ V$ M
  1438. ; http://php.net/session.entropy-length0 v( c# z: V. W5 y3 }/ p2 s+ p: Q
  1439. ;session.entropy_length = 32
    ! \( ~/ L0 Z0 f1 k2 T' c; h& L
  1440. 0 d) M) U. ]; W+ S& N2 p
  1441. ; Specified here to create the session id.
    + W0 @6 N" h" a  v& G- [8 M! x
  1442. ; http://php.net/session.entropy-file% f$ S5 v+ f6 }; M$ Z
  1443. ; Defaults to /dev/urandom
    ; C2 P4 v3 j  \4 g8 Q/ l
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom, P9 v9 X9 J* R4 I& K6 E% n5 }
  1445. ; If neither are found at compile time, the default is no entropy file.0 |3 L2 \; ?- p: f$ }  Q& }- u" m8 g
  1446. ; On windows, setting the entropy_length setting will activate the% U: H+ [8 w# q  [4 x/ @' U
  1447. ; Windows random source (using the CryptoAPI)
    5 K+ q! j' ?2 y1 i$ Y9 s
  1448. ;session.entropy_file = /dev/urandom
    ! F8 b* i2 ^3 i) n
  1449. & w  X7 |  ^5 o& ~( I! w
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 J8 U5 E; o& y+ c1 `0 z: Z
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ' C, L4 \- X- R8 E; f" s
  1452. ; http://php.net/session.cache-limiter) r- i6 [+ f* @! a* P" o
  1453. session.cache_limiter = nocache6 l: I& f* l2 I! l3 z* L

  1454. # l6 ?& I" \+ `) x$ ^
  1455. ; Document expires after n minutes.) y! D" \0 ]3 O  h2 [( a
  1456. ; http://php.net/session.cache-expire
      W3 |5 ~5 l- g/ J
  1457. session.cache_expire = 180" u2 N3 j8 b9 g* U: d
  1458. ) V! s) c2 @$ u! T
  1459. ; trans sid support is disabled by default.2 T! B1 T4 k+ @; g" J$ h; n- K( ]
  1460. ; Use of trans sid may risk your users' security.0 H+ {/ m9 k9 L" f
  1461. ; Use this option with caution.
    ! q  E; ^9 M' ?- k5 B  N, q
  1462. ; - User may send URL contains active session ID) C* T" _) d& U4 \/ `, T
  1463. ;   to other person via. email/irc/etc., z* s2 b- v* E2 ~! d' S) O0 T
  1464. ; - URL that contains active session ID may be stored5 J* C) e0 g# [+ O" L7 z
  1465. ;   in publicly accessible computer.3 Z( a* q. e$ e
  1466. ; - User may access your site with the same session ID5 @$ L7 q! ?- f" m% Z1 A
  1467. ;   always using URL stored in browser's history or bookmarks.9 y! K; [/ L1 k* Z3 _4 @
  1468. ; http://php.net/session.use-trans-sid
    5 o+ t' B7 n' Y, e( S2 ^
  1469. session.use_trans_sid = 0
    8 W4 a  E2 e' j' j3 ]

  1470. : E- ]& u# Q5 R$ u" W
  1471. ; Select a hash function for use in generating session ids.
    9 v3 i- c% V* L+ [
  1472. ; Possible Values$ c6 _+ a$ ?6 w8 q/ a3 u% Q6 F
  1473. ;   0  (MD5 128 bits)6 D0 D( N8 @! b  j; q: a% W
  1474. ;   1  (SHA-1 160 bits)9 g/ ~& N" v9 M& ^1 l
  1475. ; This option may also be set to the name of any hash function supported by3 l7 Q" a9 Q) d% G7 t8 \5 X' r
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    " f# a6 U- C. M' z$ t
  1477. ; function.
    6 x3 W0 f( |$ b. P6 {. n, \/ S
  1478. ; http://php.net/session.hash-function
    2 u) e9 t; K+ X# P
  1479. session.hash_function = 0
    8 I7 Z3 o4 g. @7 d! \* P
  1480. 0 U: A$ j7 R: t, t3 C5 W
  1481. ; Define how many bits are stored in each character when converting
    " u" O% L2 Q; A: J
  1482. ; the binary hash data to something readable.
      M% K& L+ {& x9 f: U* [# V
  1483. ; Possible values:) M: U0 t( W3 h) e
  1484. ;   4  (4 bits: 0-9, a-f)
    8 l$ g& y% J) _4 F
  1485. ;   5  (5 bits: 0-9, a-v)
    , y8 t7 o" p* t. p
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 C2 q4 @- S, Z, w% r% {8 t
  1487. ; Default Value: 4& t- A3 O$ X3 ?, O; h7 `( K
  1488. ; Development Value: 57 C' v* H' Y+ B
  1489. ; Production Value: 5
    7 V5 p2 X4 X' }$ ~0 b; Q
  1490. ; http://php.net/session.hash-bits-per-character( R7 s8 {4 p0 H1 o, Q0 C) a
  1491. session.hash_bits_per_character = 5
      S3 j+ d+ c9 X6 a" v2 [
  1492. 0 u* |$ u+ @6 E  N6 C. F+ ^1 G! a# R
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.* w, Q) M: s. L( q4 a, z1 X
  1494. ; form/fieldset are special; if you include them here, the rewriter will/ g' e: @- \1 S0 v
  1495. ; add a hidden <input> field with the info which is otherwise appended: J- u. y" d' W! n+ J+ j. S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.. H$ |; H; r4 n+ f
  1497. ; Note that all valid entries require a "=", even if no value follows., z3 W. U1 M4 I/ ?2 P
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( T% ], E0 S4 h6 v
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " L/ y% `  u- Z4 h6 y. Q, c8 r
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + [- ~- I+ B6 a& i1 }! H
  1501. ; http://php.net/url-rewriter.tags/ E* q+ X% c1 L
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ t$ h0 j" q9 n, |& H& K+ i& y

  1503.   V2 |/ |2 w! g0 B8 d! o* k  u
  1504. ; Enable upload progress tracking in $_SESSION
    + W' H3 l" G* d% M4 s" f( [
  1505. ; Default Value: On& M5 b2 X2 `& u! G4 c
  1506. ; Development Value: On8 X/ l5 g' q1 f' ]! ^& E# d
  1507. ; Production Value: On
    # @8 Y; `1 o7 F% A
  1508. ; http://php.net/session.upload-progress.enabled
    / x! X$ L) F) t6 n2 C% S/ W
  1509. ;session.upload_progress.enabled = On1 K$ S% z; i# [  Z% X/ F* O1 k
  1510. 0 P9 `9 `0 A- N; x, I
  1511. ; Cleanup the progress information as soon as all POST data has been read
    6 V4 E7 v  u. q& e/ [
  1512. ; (i.e. upload completed).4 n: P2 w: u7 j3 Y+ K7 X
  1513. ; Default Value: On
    6 j' t! B, P+ ~! l' ^  ]
  1514. ; Development Value: On
    ' _: C$ t2 V/ m, x/ e9 \& u
  1515. ; Production Value: On
    # l1 E) x& A, H5 J4 x
  1516. ; http://php.net/session.upload-progress.cleanup" Z8 c$ B+ g5 P7 C( B& r
  1517. ;session.upload_progress.cleanup = On' J% E1 e2 V1 J3 I5 B8 D9 v# g" h1 g2 S

  1518. 6 o. l9 N; z' i/ S# I
  1519. ; A prefix used for the upload progress key in $_SESSION
    - z1 \6 E" s# _% ^9 y
  1520. ; Default Value: "upload_progress_"
    4 @; G$ q) O, G: V# V0 B! W* }
  1521. ; Development Value: "upload_progress_"2 D) @! F9 r5 c! D7 Y
  1522. ; Production Value: "upload_progress_"# i& }+ n7 @' F( y: ~4 r
  1523. ; http://php.net/session.upload-progress.prefix
    6 s! r, y( N- H6 L- P9 X  `4 U1 G
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . \% r2 N9 w! B" _( [
  1525. ; @% f3 ?; G% ~; R
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    , X) M% J5 W6 `- y, g; G
  1527. ; containing the upload progress information
    / H; P. N/ a* E3 m) c1 f- T- ]
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 b, ^; f. x: Q* i1 T
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 J, f# O4 h. r8 n( w
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! T, \. F+ w4 p0 u0 U5 j
  1531. ; http://php.net/session.upload-progress.name
    7 d7 ?/ h; V1 c3 s- h
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS": u3 Z9 W, _, }
  1533. 6 P; F" h5 z# L- I! M# h3 U7 j$ P
  1534. ; How frequently the upload progress should be updated.0 F8 ]8 L0 I  O+ A7 m% S
  1535. ; Given either in percentages (per-file), or in bytes
    4 @! n. ?. Y5 G- l
  1536. ; Default Value: "1%"
    & P  B$ s5 h) r5 f5 Q9 a0 B
  1537. ; Development Value: "1%"
    . d* j( ^8 I) R" h
  1538. ; Production Value: "1%": U: A/ N7 @+ |+ I$ T( @; {7 A. G& M
  1539. ; http://php.net/session.upload-progress.freq
    ; c* L" h% F+ }, _% g! ^( H: W
  1540. ;session.upload_progress.freq =  "1%"
    . S6 {5 S& L, t9 H: R* h1 A6 _+ ]) Y
  1541.   X* `3 K& D# ~* G1 W1 H$ P
  1542. ; The minimum delay between updates, in seconds
    ! i* C, D7 S# e, L$ T& B) y' F8 G, ^
  1543. ; Default Value: 1
    ) W( F# G1 e" @3 `# K
  1544. ; Development Value: 1
    9 K, o, k! p* X" \  N
  1545. ; Production Value: 1
    2 b- Q; N/ @! K1 @  Q8 A6 `3 |: d5 a
  1546. ; http://php.net/session.upload-progress.min-freq# O. d; F2 z% z% T
  1547. ;session.upload_progress.min_freq = "1"
    / `* y% d9 O3 T2 T

  1548. ) p& |0 Q; ?! K3 ?
  1549. ; Only write session data when session data is changed. Enabled by default.+ p5 g/ y0 P  b7 h# _0 |: @: H
  1550. ; http://php.net/session.lazy-write6 ^/ m! z3 N' k1 D8 Q3 w
  1551. ;session.lazy_write = On
    ' [3 j9 H  ]2 i% O7 w, [
  1552. ! h8 T" p4 s: O( V1 B
  1553. [Assertion]. }4 O7 r: i" {2 w, d, \
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)& V, r; O0 W2 p# p- v
  1555. ; -1: Do not compile at all
    8 q# N4 |( W" E0 r
  1556. ;  0: Jump over assertion at run-time7 B2 v/ c* D, J9 w. F* s% c+ p
  1557. ;  1: Execute assertions
    2 C4 j6 M# q$ b, Z
  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)8 y+ s% `/ y$ F( Z9 X/ Q' r
  1559. ; Default Value: 1
    7 m, e1 s0 ?8 E  i, x  {
  1560. ; Development Value: 1
    8 A8 E  B; s% y* Y/ k3 ~# Z
  1561. ; Production Value: -16 o: b: G9 l# A: O- I/ L  I
  1562. ; http://php.net/zend.assertions
    . V" R% Y0 ^! j$ K; P% O' Q& ^
  1563. zend.assertions = -1
    ; [/ m7 U$ J& _/ c$ w, n9 ^+ L3 E
  1564. - @4 Y( R2 d) y& Q
  1565. ; Assert(expr); active by default.
    " ]6 @4 G+ ]+ D) Q- _
  1566. ; http://php.net/assert.active! Q2 Z+ O0 z5 v- B  M- D; k4 U
  1567. ;assert.active = On
    4 ?# }9 _' m* u9 R3 u

  1568. " g( k1 [8 O' U7 J6 s7 g
  1569. ; Throw an AssertationException on failed assertions  l! _5 }( r9 y, {
  1570. ; http://php.net/assert.exception+ Z  J9 n$ d, o0 W2 [# S0 i
  1571. ;assert.exception = On/ }/ j7 f2 L" b5 _; x: D9 P) T
  1572. 8 I1 v$ W9 q. D3 u3 B# C( Q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 t. s. [" L4 D$ K
  1574. ; http://php.net/assert.warning
    . ]/ A+ c' f. b2 B
  1575. ;assert.warning = On
    3 s/ ~. q* l/ A0 \
  1576. ; K; Y4 N7 o7 T  u
  1577. ; Don't bail out by default.) C( V3 A# V( C) K5 \8 ]
  1578. ; http://php.net/assert.bail$ A) \0 _$ J" \
  1579. ;assert.bail = Off
    ' Z2 F5 L0 M# O  S

  1580. ; @3 Q$ j0 W. y0 I, K0 {9 Z& }, S
  1581. ; User-function to be called if an assertion fails.
    3 o; Q- e1 |2 J7 X+ ?" Y% e
  1582. ; http://php.net/assert.callback: @8 y" a2 ~  p/ u7 Y+ M+ J
  1583. ;assert.callback = 0
    3 c2 j% l( D* }% l6 P2 |: r
  1584. / X& Q- O- w" S! A
  1585. ; Eval the expression with current error_reporting().  Set to true if you want0 [5 y7 X$ C# B! g
  1586. ; error_reporting(0) around the eval().
    1 k1 ?1 X$ J( s1 W. Z8 q0 H; Z
  1587. ; http://php.net/assert.quiet-eval) i( t: Q1 h7 [: L6 |
  1588. ;assert.quiet_eval = 0( l0 @# [( n9 ?0 R
  1589. ' P7 C, ~2 X6 `5 [9 O" B( |
  1590. [COM]
    ; k; I0 E  L, u& z8 O
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) L6 ]: c' f0 d/ }4 m# x0 o* K5 F8 m
  1592. ; http://php.net/com.typelib-file+ h, q- i6 H3 z$ O- K/ l* Y* u
  1593. ;com.typelib_file =
      u8 Z* A! T+ r' r4 }& b

  1594. ! P# g: C6 E# k/ n/ [% d+ g
  1595. ; allow Distributed-COM calls( n  [9 W& b2 c/ A
  1596. ; http://php.net/com.allow-dcom0 S  {% \4 O) a% i
  1597. ;com.allow_dcom = true% m+ c% u  T8 s+ G+ `
  1598. 7 D4 d7 k7 V7 |) a- E+ D1 w. ?
  1599. ; autoregister constants of a components typlib on com_load()+ |3 _) y; h+ K( |
  1600. ; http://php.net/com.autoregister-typelib0 V0 ]$ N1 T/ M& l  [, T4 A
  1601. ;com.autoregister_typelib = true! G) |" Z" w5 Y0 V2 K4 ?9 D, w
  1602. 8 b, e( o$ K. ^( t1 L4 S% J
  1603. ; register constants casesensitive' q, \2 c' t  I5 C$ W+ L. P
  1604. ; http://php.net/com.autoregister-casesensitive: s7 o: }* K1 U: t
  1605. ;com.autoregister_casesensitive = false% J) P) I  {* @; @

  1606. ; m6 g5 {% T/ h2 x  \, P/ v) h* e
  1607. ; show warnings on duplicate constant registrations0 r: G$ @4 ^: y% v* y
  1608. ; http://php.net/com.autoregister-verbose
    + k: @7 w3 D* P: ^- N1 t
  1609. ;com.autoregister_verbose = true
    , d* N$ n5 W. J, n& ~' r7 e+ x$ p6 I
  1610. 1 _. n' Q$ W$ |9 ~
  1611. ; The default character set code-page to use when passing strings to and from COM objects.7 ^$ J; }9 I. Q$ q; _8 N
  1612. ; Default: system ANSI code page4 b. a. ?# J. z  O
  1613. ;com.code_page=! z0 y; e+ V6 I1 y' H7 Z/ v7 l

  1614. : l! X, E" Y1 X, k) c
  1615. [mbstring]
    / a+ f$ W+ x# S6 `% S) r( @* M
  1616. ; language for internal character representation.
    $ B; k% Z8 @/ U& N+ H
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ F0 L, k6 a/ O; ^/ L3 u9 l
  1618. ; http://php.net/mbstring.language4 d/ }7 a; v3 F  t; o* y
  1619. ;mbstring.language = Japanese
    # D: `) k) m/ U1 [+ |4 [6 H
  1620. % u7 c6 [' E+ L( d( |. ]
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 _! X+ W3 u2 z; W. |9 Z* ~
  1622. ; internal/script encoding.
    * {6 D5 u" n2 \3 L% P  |) z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) R% H' d) O3 v' M  P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 I! }9 X7 `& ?/ l! q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 d1 H* v, w# F7 v1 H$ I8 H
  1626. ;mbstring.internal_encoding =
    # r: [( b, v4 a; ^

  1627. ; Q4 E+ a5 S7 d# o* f# [! j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " J2 D2 o+ o& N3 o
  1629. ; http input encoding.; P: M2 c( W' D# i; k
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    / F7 H+ I% y: \/ U8 z2 j4 ]
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 T" d& U3 S# P2 z; i
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input8 s; L- M/ Q( G5 I3 k
  1633. ; http://php.net/mbstring.http-input# g/ Y/ v' J8 p6 J8 t
  1634. ;mbstring.http_input =
    / p# w/ R& a3 [* [9 p

  1635. . [$ Z! x0 G6 v, `' Y4 b5 [2 W
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 n- A) B" L2 e* {
  1637. ; http output encoding.
      U2 S1 o$ \# k& q
  1638. ; mb_output_handler must be registered as output buffer to function.  F2 C* n, F9 }( ]+ m1 r
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ( p" u9 t, K0 W5 [
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 R7 }, f1 S: y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set2 T8 z& M/ k( N7 l- p1 K
  1642. ; otherwise output encoding conversion cannot be performed.
    % M9 I, p2 x, V4 f! v) H! x0 H
  1643. ; http://php.net/mbstring.http-output  o  \% O" F. [0 c( P- a0 w
  1644. ;mbstring.http_output =
    , |$ H; W) _/ B5 x

  1645. / \2 \  L3 i4 W5 K: p9 S' v4 C( ^
  1646. ; enable automatic encoding translation according to1 @: H2 m( ~, D! r
  1647. ; mbstring.internal_encoding setting. Input chars are; \: l$ v; z0 m2 S0 W
  1648. ; converted to internal encoding by setting this to On.  j$ o1 o: c% Q) w: n4 ]! ~8 L
  1649. ; Note: Do _not_ use automatic encoding translation for. D& o8 a  x2 i9 O- ^
  1650. ;       portable libs/applications.: k9 j: m( Y+ l8 c4 A* ?
  1651. ; http://php.net/mbstring.encoding-translation
    3 Y8 M- R& a2 s+ @
  1652. ;mbstring.encoding_translation = Off
    : w6 v0 v' |+ p9 X+ P6 k) c

  1653. " A. s& X, G% N
  1654. ; automatic encoding detection order.' u* P  B$ ^1 j4 C" w: W! D
  1655. ; "auto" detect order is changed according to mbstring.language
    ' b, N  v# o: T# w, l6 M! x+ k: w
  1656. ; http://php.net/mbstring.detect-order
      o, V7 }# r! L
  1657. ;mbstring.detect_order = auto
    4 M) L# s; l& k8 z( }
  1658. 2 L/ m+ ^  ], ^& ^' X; \7 W( H( J$ Z
  1659. ; substitute_character used when character cannot be converted& o) R0 X; ]( n; y/ O
  1660. ; one from another8 b# y, ~2 _5 d) f/ t4 z" y
  1661. ; http://php.net/mbstring.substitute-character
    2 D. @( h7 ?: d' s& M/ l3 i' d# v! X
  1662. ;mbstring.substitute_character = none
    & z7 L5 F. b, ?- a" V  ?
  1663. 8 V/ A# j4 S: Q3 S- A+ |2 t
  1664. ; overload(replace) single byte functions by mbstring functions.3 `' x0 f- N' \4 I2 d! {
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( j* {! z' A+ [9 {8 \
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.2 y- W5 j$ J$ K+ }4 n
  1667. ; For example, 7 for overload everything.
    $ X. h- m) I" i' c
  1668. ; 0: No overload
    : c- ?' \8 `. M
  1669. ; 1: Overload mail() function
    ' k# S4 y, m$ x1 c+ F& A' I
  1670. ; 2: Overload str*() functions
    / S" t( f+ t% h5 O2 o9 Z+ v2 k% B
  1671. ; 4: Overload ereg*() functions; i2 ]( _+ K3 j
  1672. ; http://php.net/mbstring.func-overload
    6 ]5 N4 O8 r' P4 X/ U
  1673. ;mbstring.func_overload = 0( x" D" n% ]) [
  1674. # p) W# E4 R3 J( e
  1675. ; enable strict encoding detection.$ v2 i# P. v( q. f
  1676. ; Default: Off
    6 e+ \9 i. p: W; h# f
  1677. ;mbstring.strict_detection = On
    + s8 |  G2 f9 M" W" _. S
  1678. 9 i6 w# T; l0 F$ z6 h
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ) @: a, T+ m; }3 [9 R% k( {3 J
  1680. ; is activated.
    8 i! w; Q7 J2 |2 }5 H
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)" C$ w. n* Z1 O) Q
  1682. ;mbstring.http_output_conv_mimetype=; G3 g4 u+ R9 |! S+ J' [( A* \0 Y

  1683. 2 d1 s4 e5 d0 @9 ~8 R/ t
  1684. [gd]
    ' o, j* ]6 H- m9 J
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    * z+ Q7 G8 ^, l
  1686. ; a gd image. The warning will then be displayed as notices3 W3 s9 U, G/ x- O9 ]. t0 d) A
  1687. ; disabled by default
    ; y! ~$ @0 [& ^* |
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! P1 v# V9 @9 R, c7 e( ?
  1689. ;gd.jpeg_ignore_warning = 0
    $ o# y* K3 L& I: b2 h7 a
  1690. , ^& f* D1 [8 n# h9 F" W
  1691. [exif]/ O& Z  e2 t# J! l& i
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 e* j( B' @% ]" d! V6 a1 a! B
  1693. ; With mbstring support this will automatically be converted into the encoding" C5 M; [/ n+ U, S3 _* I
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& `! r0 H$ ?9 H
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ) K9 K9 n# n+ a4 e
  1696. ; intel byte order. A decode setting cannot be empty.' k2 k& x; Q2 \. R1 X) n
  1697. ; http://php.net/exif.encode-unicode* V8 u& R. j5 Z# c: C* h
  1698. ;exif.encode_unicode = ISO-8859-15  T. K6 x8 E$ U

  1699. 6 c  D1 L/ e( e
  1700. ; http://php.net/exif.decode-unicode-motorola
      {2 I6 \2 Y6 `- a) H6 V5 ^
  1701. ;exif.decode_unicode_motorola = UCS-2BE
      ^& X! ~3 N& V# ~: G% V2 Y
  1702. " k. a7 u' W' N- t
  1703. ; http://php.net/exif.decode-unicode-intel
    ( C- x" ]3 Y7 }8 w; w3 m
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    $ l' R$ c( p$ T4 O

  1705. ' l/ O4 N" G0 L) D  b7 G4 n  l
  1706. ; http://php.net/exif.encode-jis1 R( A1 @1 A! U6 v& }
  1707. ;exif.encode_jis =0 x( ]8 z) Q9 P. u6 M

  1708.   g5 W6 D) x* Q) o+ l  D
  1709. ; http://php.net/exif.decode-jis-motorola" t7 J$ Q( d( B* H9 @0 k- M6 b
  1710. ;exif.decode_jis_motorola = JIS
    8 D8 T* B8 J% X3 U1 j/ m7 X
  1711.   g( g! ?5 \; Y
  1712. ; http://php.net/exif.decode-jis-intel
    # P5 v) B8 M$ |& a8 j- I) R7 \) L
  1713. ;exif.decode_jis_intel    = JIS
    4 E/ o! N0 z8 z; ?, m* b5 W, M1 ?8 d

  1714. : y& T1 N, ?) d+ W9 m) M5 t* i' _
  1715. [Tidy]
    4 j" n. g* `/ U% {8 c
  1716. ; The path to a default tidy configuration file to use when using tidy6 h- O- x5 Q& G; K. d( t
  1717. ; http://php.net/tidy.default-config5 l" }# T  M6 R, G2 v5 S' X) D" ?8 y% Z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg' {" {9 H' I1 m. C; G$ g
  1719. % O2 M$ v6 q% Z
  1720. ; Should tidy clean and repair output automatically?  D& V7 k7 a5 _1 Z% a: R4 [7 h. p
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : e5 k; K4 I. R$ D" Y& }- d
  1722. ; such as dynamic images
    ' X+ |% C! l( O4 }: W( e# {
  1723. ; http://php.net/tidy.clean-output
    " `2 k# a2 i& N4 A7 y8 G
  1724. tidy.clean_output = Off
    0 z# m( _% c- d, m* [. b
  1725. , g" A7 ?, j- L+ b
  1726. [soap]
    - X4 _+ f0 F/ V3 I
  1727. ; Enables or disables WSDL caching feature.. S; }! I' p2 m
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 {5 v' f2 D5 N) ?
  1729. soap.wsdl_cache_enabled=1* m: q* r5 R( y& L& M

  1730. . M2 v" F- y% H1 ?. N
  1731. ; Sets the directory name where SOAP extension will put cache files.
      b+ p9 w8 M' `) `3 ]; L
  1732. ; http://php.net/soap.wsdl-cache-dir9 }6 \' t. s2 r; u2 j/ T  B/ m
  1733. soap.wsdl_cache_dir="/tmp"
    9 w. k6 U- t( [  S9 W  ^) U1 _3 F. N
  1734. 7 N+ m9 O/ r6 D1 Q1 J( s$ O+ z
  1735. ; (time to live) Sets the number of second while cached file will be used' b- M# l! `; o* ]0 h: T
  1736. ; instead of original one.
    ! ?. Z" X, ^. k2 }+ [6 s- U" [
  1737. ; http://php.net/soap.wsdl-cache-ttl' I  x! a: {/ j* y, t" W* S- ^. s
  1738. soap.wsdl_cache_ttl=86400
    1 @5 v9 n. E: ^! U  I/ T
  1739. 4 Y1 Z% }4 z% W. V& I: l
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 R0 q2 S$ A/ h+ A$ Z* P* a' x; L
  1741. soap.wsdl_cache_limit = 5
    / ]; v$ D, E8 i9 T6 w
  1742. 7 ^8 W: V7 Z8 b; G: A7 h+ \4 T
  1743. [sysvshm]
    - Y9 u: p9 H2 ?1 H- e% v
  1744. ; A default size of the shared memory segment
    4 K- K4 G) ]: f
  1745. ;sysvshm.init_mem = 10000' k2 Q. k! p, S( b+ v9 d" M
  1746. 2 N/ U0 H: c! m/ b
  1747. [ldap]2 G$ Y$ ?$ k: f# {/ A0 q4 ~6 M! m
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ( M/ h. B* Y9 Y) A, |5 }' F" f
  1749. ldap.max_links = -1
    . r& R4 A4 x  W3 {
  1750.   T, E+ i; E) W
  1751. [mcrypt]. L6 ?! e6 i& O: I9 D
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 J  U0 q. Z) f  n% T; Z
  1753. & Q2 N; I' S- _6 l- a8 V! z
  1754. ; Directory where to load mcrypt algorithms
    3 H% o; V' R. F
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! H! X8 R/ h( |
  1756. ;mcrypt.algorithms_dir=% b  H& h7 c/ n) {

  1757. 3 d4 u, `1 b2 W% Z
  1758. ; Directory where to load mcrypt modes
    2 i. h7 F. V3 D# W# l; z
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). w( Z+ b* A* v& z
  1760. ;mcrypt.modes_dir=5 U9 _% |7 G; U$ r
  1761. 8 j2 q- V# k3 _0 K
  1762. [dba]
    $ N8 ?8 u3 A$ v8 C5 Q
  1763. ;dba.default_handler=1 ^- m$ Q; l, P) }9 R

  1764. & ]8 l5 W4 T8 o, a
  1765. [opcache]% {5 i% V% X4 y
  1766. ; Determines if Zend OPCache is enabled
    # d2 @/ \3 k& L/ ^, B2 y
  1767. ;opcache.enable=0
    9 c+ D% c) t6 Z3 c1 X  x

  1768. ) v7 a$ ]1 M8 p& D: m2 L7 r& @0 B1 G+ p7 J
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , \, a6 o! y: e0 U8 F1 m# O6 V
  1770. ;opcache.enable_cli=04 M6 }5 Y9 o$ K' x2 u8 f( }

  1771. & k0 I( y- E- [: b# I  m
  1772. ; The OPcache shared memory storage size." t" G5 g6 a  k, Z$ _" S% z
  1773. ;opcache.memory_consumption=64
    ' K0 M! U: T1 ?& \
  1774. , q/ t7 q& m" f
  1775. ; The amount of memory for interned strings in Mbytes.- g- o5 t3 {- G: ~" h( t& D# E
  1776. ;opcache.interned_strings_buffer=41 F/ ^& z( }: ^/ t

  1777. 7 p% e. ^2 I* `% \/ ~5 j1 c
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
      l: I5 h) B/ d7 f7 e
  1779. ; Only numbers between 200 and 1000000 are allowed.% U/ f7 N" }( P- |
  1780. ;opcache.max_accelerated_files=20001 _3 B) q& x  C. T" g) W: B
  1781. $ a& i3 s9 ?; u, G) i' I" P2 G
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 H9 h- x5 D7 X/ ^; F
  1783. ;opcache.max_wasted_percentage=5
      \& C. b: I3 H- X9 l

  1784. 7 h1 R' b2 y$ m) O6 Z! ^! b
  1785. ; When this directive is enabled, the OPcache appends the current working1 X% o7 G: D* {7 V2 c6 K5 Y4 r
  1786. ; directory to the script key, thus eliminating possible collisions between
    + `2 X& H4 `' D' f- Q" A% _6 ]
  1787. ; files with the same name (basename). Disabling the directive improves
    ) p- m" m! q7 g  @0 B" U* M& k
  1788. ; performance, but may break existing applications.
    ' `. q) q9 D  r
  1789. ;opcache.use_cwd=1
    8 W* S" g3 }, `7 e; D4 R
  1790. 4 o% q/ X$ ]/ Y/ N4 h
  1791. ; When disabled, you must reset the OPcache manually or restart the% D* ]) u  I3 _* M
  1792. ; webserver for changes to the filesystem to take effect.( _) H& M) U9 x$ }: i) z. H
  1793. ;opcache.validate_timestamps=1, E0 s9 J- p; z$ b' k& X

  1794. ; k! Z- v. x; V1 P# C
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    9 G1 s/ W! e6 C9 c7 |# ~
  1796. ; memory storage allocation. ("1" means validate once per second, but only, O7 ^% ^9 C- C  [, s4 `8 R2 p
  1797. ; once per request. "0" means always validate)+ n4 s3 y$ I, f4 F7 e
  1798. ;opcache.revalidate_freq=2$ Z5 x, B! L8 b$ ^

  1799. $ ^5 d: X" I$ _% l
  1800. ; Enables or disables file search in include_path optimization: d- R+ X; m- m& o
  1801. ;opcache.revalidate_path=01 N, i1 a7 F, I
  1802. ! K/ O; P0 W) ]* O6 z! H; I
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + {0 b) O- N% B9 _
  1804. ; size of the optimized code.
    7 l: v! b/ Y5 \' V# W) q  l
  1805. ;opcache.save_comments=1
    1 t4 H5 z8 }* I, S
  1806. . I- R' B) P4 i5 n! ]
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code8 P& _* x# [4 D& G
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.$ _, ]- k; d2 l
  1809. ;opcache.fast_shutdown=0
    * Z. |# T( {1 U- L
  1810. ! g, `5 s4 o" h6 D
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    # k8 @) T) p8 D( J0 a" [% {) }) }
  1812. ;opcache.enable_file_override=0
    : }/ i4 w+ s" v. ^9 ]

  1813. . K% ?5 J0 C5 N% h; ^0 b
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    5 ^$ k" t3 I$ ?6 z' B% g- x
  1815. ; passes
    8 p- B" G  c  B* G/ _* _5 O
  1816. ;opcache.optimization_level=0xffffffff
    ! R  I6 u& V  w1 o

  1817. " `2 E+ o% x, o5 E0 |! C' K+ }5 K
  1818. ;opcache.inherited_hack=1- u5 l# c9 p/ C: s. r
  1819. ;opcache.dups_fix=0
    0 x, e' d6 a' d9 M3 q, Z; E

  1820. # L5 }5 B5 C0 ]5 j6 [& F" `3 B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).& G) O  _/ k2 `: c  `$ x7 R
  1822. ; Each OPcache blacklist file is a text file that holds the names of files; D5 n9 X2 F; y1 W) H! @
  1823. ; that should not be accelerated. The file format is to add each filename
    : r$ q: ]% L' a! M& n1 B! |5 ~
  1824. ; to a new line. The filename may be a full path or just a file prefix, y) ~( Z+ z- E5 g
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; M. b' R+ F6 h6 m$ Y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' Y7 j( h5 s/ l4 q" j/ `
  1827. ;opcache.blacklist_filename=
    2 q5 g- [) S+ W5 k

  1828. * A; X/ \  {; v0 ^! s
  1829. ; Allows exclusion of large files from being cached. By default all files
    " z' V  @: y* L9 ~' Y
  1830. ; are cached., T. n6 c3 p5 C
  1831. ;opcache.max_file_size=0- M3 U' H' @5 k& o  y8 z5 v* |  c
  1832. . ~0 A: A% \8 k0 x- P7 _3 o
  1833. ; Check the cache checksum each N requests./ B8 ?7 L! W6 |
  1834. ; The default value of "0" means that the checks are disabled.
    1 `  N5 ]6 z$ j3 M
  1835. ;opcache.consistency_checks=0
    2 n# P+ o- {" m& h

  1836. , V6 f3 q' A* X5 U0 n" U
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache1 I8 s7 ~1 v# E" U
  1838. ; is not being accessed." e' d7 b( |& \* i# z0 Z
  1839. ;opcache.force_restart_timeout=180
    / \8 E; A1 c: d5 \1 p" e8 R

  1840. * ~4 T2 G; \: X% V7 d( Q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
      E) z8 L/ t; {# o$ n
  1842. ;opcache.error_log=4 x/ N. E7 o+ W! h9 |( ~
  1843. 0 l% n# U, r: g( G: T& o2 E0 u
  1844. ; All OPcache errors go to the Web server log.0 w' E& S. n: h& ?! C6 q3 O$ I# Y- {. V
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 W' c" h# e  ~$ Z( Q) h6 k  g
  1846. ; You can also enable warnings (level 2), info messages (level 3) or2 p6 R7 N6 O! K  W
  1847. ; debug messages (level 4).: h1 ^+ o' A2 v
  1848. ;opcache.log_verbosity_level=1
    + W* H. Z5 s/ H8 d
  1849. - |$ Y* |& g; L
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 G. d) v) r! D! U: x/ t
  1851. ;opcache.preferred_memory_model=: I" q- |! e' e' `3 ~& \; O' i9 A9 L* ?
  1852. 5 z% I8 k5 J1 z0 g2 l! A
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ! N8 I) |* o8 l7 S$ y
  1854. ; Useful for internal debugging only.
    - ^' d. B- V$ l2 e
  1855. ;opcache.protect_memory=0
    1 ]- C! `. F1 ?' A  ]
  1856. # k  @$ a* L+ v
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is  k, p6 H2 ?! F4 _! w/ ?
  1858. ; started from specified string. The default "" means no restriction$ z* R" v# I5 G
  1859. ;opcache.restrict_api=  {9 @$ E) ^/ K8 T8 b
  1860. 3 r/ I& l$ n0 i' j# m
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP; L: x( @9 i8 C' W% a
  1862. ; processes have to map shared memory into the same address space. This
    7 J) Y; z1 y4 I0 w# C* G2 i
  1863. ; directive allows to manually fix the "Unable to reattach to base address"7 z0 s0 {# J7 T+ s* C1 m" \  Q
  1864. ; errors.; i0 v! Y4 `" k9 j
  1865. ;opcache.mmap_base=+ p8 O6 B  a: Z1 z" z

  1866. , |$ T8 g  W# \" N8 P9 y, s" h
  1867. ; Enables and sets the second level cache directory.5 F: U  D& ?/ Q( d. q" U
  1868. ; It should improve performance when SHM memory is full, at server restart or+ K; C4 }! ?; O
  1869. ; SHM reset. The default "" disables file based caching.7 ]8 `# q$ s9 i1 U& [7 B
  1870. ;opcache.file_cache=. t* B# \) g/ U& c6 ]

  1871. 2 O9 t) F2 Y* a- S+ |
  1872. ; Enables or disables opcode caching in shared memory.
    5 g0 Y! k* N( F# u9 B
  1873. ;opcache.file_cache_only=0
    ) q2 f+ P- [- i5 a" b7 F- s
  1874. ; J( ^9 K8 R  J' P; |1 N* ]
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    % B" W" A& O, V$ Y- [! }
  1876. ;opcache.file_cache_consistency_checks=1
    4 i! F" B/ x- {4 U) H' F" Q; L; S* O# M
  1877. ) h4 p9 I5 f, o4 Y' d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 C+ p$ d; v# B% k$ j
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file& S( ?7 f& J0 r( Z  j
  1880. ; cache is required.
    ( z9 V$ i, @  }6 U9 }2 t) _
  1881. ;opcache.file_cache_fallback=1- c$ ]6 n! T8 c  [3 B
  1882. + C- c  Z+ H9 `
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ! R( \& I* j$ O9 K/ p) M
  1884. ; This should improve performance, but requires appropriate OS configuration., C3 K# o2 P! ?2 ]! ~
  1885. ;opcache.huge_code_pages=15 R% f, e; c, W4 x) ?# B: f

  1886. . q- M$ ^! t) S5 ^
  1887. ; Validate cached file permissions.8 f# M5 D# _) i& ?- q! e
  1888. ; opcache.validate_permission=03 x) O. N0 s# S) }, ^

  1889. 4 @' z+ |' G+ b
  1890. ; Prevent name collisions in chroot'ed environment.
    $ m1 F  _, i1 k& @5 V
  1891. ; opcache.validate_root=0
    / G! B: y7 I  t
  1892. ! d: C( m  d  W6 u5 Z5 F" L8 q, i
  1893. [curl]: @& t4 J2 m: h+ l( \1 p9 d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an* _: T( G5 T5 n( m6 x9 E# E
  1895. ; absolute path.- M( L- K/ s8 W9 ]& I5 E# E' Q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt& j2 [8 {" t( a2 x: X

  1897.   K! j  o: N2 E& \
  1898. [openssl]8 ^6 _3 |9 i+ j3 Q( T0 L; Y6 I( P% M* |
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 k7 n+ }# r) [. e6 k4 T$ r
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) B; a- H/ t) c9 {4 s2 H
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ' s& h( \+ m2 o; Z5 z# ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still2 G9 C0 e$ E8 G
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context8 ^$ y1 s+ m' R/ |6 k3 Z8 W3 Q  D9 o
  1904. ; option.
    : m6 L) ]0 Y' a! K* F; N& t! m
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    7 A  h9 N. A  ^& Z+ ]- J3 I6 k0 D

  1906. 3 p- e9 c; s6 {) _( A5 N9 b. Z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' m* ?8 o+ i3 S
  1908. ; directory pointed to by openssl.capath is searched for a suitable! X1 o* y/ F, @9 [1 w7 Y
  1909. ; certificate. This value must be a correctly hashed certificate directory.+ d* b7 u7 }$ K: {* z0 G2 _3 z; I
  1910. ; Most users should not specify a value for this directive as PHP will
    8 C+ Q' D& b9 A9 M9 X
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,3 I+ A6 u" w6 e" n5 Y9 N- j, A/ z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"8 R) s& d1 ]+ l% {# n7 x. a. I( @
  1913. ; SSL stream context option.7 a! W  }9 P- U8 H# v
  1914. ;openssl.capath=& A6 B3 I8 p0 o2 @9 j# Z
  1915. % H& [8 M% I; F7 O* ^
  1916. ; Local Variables:0 w2 V* n) J1 X  p
  1917. ; tab-width: 4
    . a3 H0 H0 M2 Q0 Y. Z/ R( a- C" @6 t
  1918. ; End:
    ) w6 h4 o" r; Y/ b( `# e
  1919. 9 {, ~9 L: k+ i! {; z# J
  1920. ;eaccelerator
    $ k0 v& Z) z: o! H9 r

  1921. " Z& U  C1 u7 A: E4 \
  1922. ;ionCube
    % h- W6 a" s4 W7 ?& n6 \
  1923. # d, H7 V; N% Y
  1924. ;opcache9 R9 K' t( X. \0 c' B  Y7 X2 b8 ?
  1925. 3 P3 B, I/ x. a! x/ u( p
  1926. [Zend ZendGuard Loader]
    4 @( [! R$ |; G1 K) `% j1 w$ R
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    9 q9 y- r" Z; \+ z( f7 S
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      W9 D% U* v' I/ r
  1929. ;zend_loader.enable=1
    9 v+ i# V5 O9 _  Z
  1930. ;zend_loader.disable_licensing=0
    + M5 R' q" B3 X8 E
  1931. ;zend_loader.obfuscation_level_support=3
    8 D* U8 C* b6 R$ o/ v8 d
  1932. ;zend_loader.license_path=+ b$ @) r+ a+ j

  1933. 7 G2 v8 _# G1 h0 H) \# t% Z/ L% e
  1934. ;xcache, \- h7 m" [; U# K
  1935. 7 _* R& ^/ a- v. P" k* g
复制代码
* ]2 W2 l, a# c: h

8 {1 p9 ], l2 |5 n6 N/ R1 C. g- w8 i2 A8 ~1 w# W0 N- I- x

2 g0 m1 f$ Y$ e, A6 ~* o6 R
* L* A+ ?- ~$ u1 q  ?8 @6 z& T. M) k: {  K* ]
+ n& P% l6 ]3 K+ d
PHP5.6版本原始设置
+ C0 Y0 }7 J/ C
/ r/ @; J. l: k( m
  1. [PHP]
    ; E. d0 Y1 v* ?1 Z2 \# m8 S
  2. : \4 J, V! R: ]  m* z# i& v3 ~( M
  3. ;;;;;;;;;;;;;;;;;;;
    & K& e, h" r# [# ~/ P9 d
  4. ; About php.ini   ;. u; ?. R& v8 }% A: L9 y% w
  5. ;;;;;;;;;;;;;;;;;;;
    2 M& T6 P$ W* ~7 H
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    - F) G3 e* P+ p
  7. ; configuring many of the aspects of PHP's behavior./ _- k7 o- J  z8 K' j& h

  8. ! f- g$ c& i" T" y
  9. ; PHP attempts to find and load this configuration from a number of locations.7 q# G$ W; N! C0 d/ F4 d
  10. ; The following is a summary of its search order:
    5 |5 [( p2 N9 f2 k8 u& d
  11. ; 1. SAPI module specific location.# l# H* v- R* s% R  V1 ^& B0 W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    % C' H# W$ D7 y0 x2 H2 E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) S/ t! g' t, Y& D
  14. ; 4. Current working directory (except CLI)+ o2 Y/ B. s- |+ ~9 I+ C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 @- h* W0 `; [# s
  16. ; (otherwise in Windows)/ k0 Z9 h! U% e' w, h* G$ M1 W0 t2 M
  17. ; 6. The directory from the --with-config-file-path compile time option, or the9 L2 G0 X/ K' v  v& a9 w& H' v
  18. ; Windows directory (C:\windows or C:\winnt)
    1 T& x4 E" }  |
  19. ; See the PHP docs for more specific information.0 X* y7 m5 s% R9 {0 E
  20. ; http://php.net/configuration.file1 k4 c& g  k' C, N+ E& M! V

  21.   F! s/ }3 [- I* ?' R5 ^) F! W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, t. _( Q8 }5 \: q( z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    + l" v6 C' [( o, g; A
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though! J, _5 w+ S% X) r3 b$ |4 v+ S2 G
  25. ; they might mean something in the future.+ f3 F8 G  f. I6 {& c' r

  26. : P$ p4 F4 ~( S* x
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ) q- w) m& ?4 q4 G5 R7 Y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    & o% U' u3 P) [% p
  29. ; following the section heading [HOST=www.example.com] only apply to6 _# |# M3 k3 \. X0 Z3 \8 f
  30. ; PHP files served from www.example.com.  Directives set in these: b3 d$ w! r1 H8 e! Z
  31. ; special sections cannot be overridden by user-defined INI files or' o+ c) R" i# x; t# w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 t- V2 I* D- B: f% k
  33. ; CGI/FastCGI.* X7 s( s- m8 S5 r
  34. ; http://php.net/ini.sections9 |# C4 r( n+ J) V- Q2 h7 ?( i
  35. " r: B: H& J- a" H  C+ Q; v
  36. ; Directives are specified using the following syntax:4 V- T" [' z) V% S1 }% _
  37. ; directive = value1 W5 l, M" A! l
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    / u( ?& C, I0 n& L
  39. ; Directives are variables used to configure PHP or PHP extensions.5 z3 f1 C. m& E- o
  40. ; There is no name validation.  If PHP can't find an expected& E! s$ ^( t5 O
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " h9 h+ K" Y4 c# _

  42. 5 ?' Z1 ~, d* n; j0 z9 A
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    9 q: y3 Y2 w& M! V. j& I# [, b6 @/ [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* x) R3 o- m( |9 L$ N  w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 W# |1 _" r6 I- L+ N# k/ W
  46. ; previously set variable or directive (e.g. ${foo})
    ! f1 L( _. D8 c
  47. - T% P, @2 i) g; G4 Z# ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    . X3 m+ a/ v5 s3 `) [
  49. ; |  bitwise OR5 @1 k0 u( [8 ^
  50. ; ^  bitwise XOR% h4 E9 N/ }8 @# P4 [7 a
  51. ; &  bitwise AND
    7 K3 t5 D7 n5 N7 O
  52. ; ~  bitwise NOT0 [2 U( S  q: ?6 H8 T: _, n, g
  53. ; !  boolean NOT
    " Z* n+ C+ ~; d, s" ]3 V( D
  54. 8 B5 n" e! d/ s8 H2 P# l
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' Y0 a, }: j$ z: h0 w( `% W9 E
  56. ; They can be turned off using the values 0, Off, False or No.
    ! [0 ]  n  Z' \9 v: e" N; [, k

  57. 5 o& Z) T% a! n- D: \( z7 H
  58. ; An empty string can be denoted by simply not writing anything after the equal
    6 Y6 j* }& l8 L9 e7 ~
  59. ; sign, or by using the None keyword:' A  S2 V$ Z5 K% u

  60. $ C( B, Y2 G: `( }; Y  O
  61. ;  foo =         ; sets foo to an empty string! V  M3 P7 @6 ~# q4 |- H/ r( I# {2 E! O
  62. ;  foo = None    ; sets foo to an empty string
    + J& E4 T" e4 m- Q+ @( p
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 K% k7 W# z" X/ w7 m

  64. ) l# F: h/ ~2 P
  65. ; If you use constants in your value, and these constants belong to a
    9 }+ |2 k. S2 |0 D/ @
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      X6 Q# C- b+ L  T0 l; S, P0 K  ~) b/ W
  67. ; you may only use these constants *after* the line that loads the extension.
    - J9 ^& |" g) m! C# K7 C" F

  68. % r- ]% ^6 ^7 B' U- ^- i' d& F9 F& n
  69. ;;;;;;;;;;;;;;;;;;;
    ( U; q7 \: `1 {3 ]- G: ~
  70. ; About this file ;% K0 b* i* Z1 c. h
  71. ;;;;;;;;;;;;;;;;;;;1 S; W9 w, t0 e, E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' ^: c1 ^* L- P6 ~9 n8 d5 [0 X) e0 ~
  73. ; in production environments and one that is recommended to be used in
    + _. b. ?3 M/ G7 Z% P) H3 i, j: k
  74. ; development environments.
    . a& {0 `( Y6 ?4 S4 W
  75. ) |' [/ T5 ]; v
  76. ; php.ini-production contains settings which hold security, performance and
    5 `. d( T; Z) q8 [
  77. ; best practices at its core. But please be aware, these settings may break
      j1 j2 j% b% ~5 t. d  x4 N
  78. ; compatibility with older or less security conscience applications. We" Q- L' a& R. a1 o. C5 u( V9 T
  79. ; recommending using the production ini in production and testing environments.
    8 v$ O$ P$ ~- v

  80. ; C9 H6 d8 F* ~) n
  81. ; php.ini-development is very similar to its production variant, except it is
    $ w. E% Q6 B, Y! x" v: @5 P; Z
  82. ; much more verbose when it comes to errors. We recommend using the
      n3 q: R) X7 a/ b
  83. ; development version only in development environments, as errors shown to
    ! e  H$ h$ M/ ?6 i* B0 _
  84. ; application users can inadvertently leak otherwise secure information.
    , F4 x1 e% r+ t
  85. " F/ ]! `" V6 a  j( @5 g
  86. ; This is php.ini-production INI file.
    # M& ^; V1 V, W) v. N+ K( F
  87. 7 u7 h8 M1 k0 f+ C# o. o
  88. ;;;;;;;;;;;;;;;;;;;4 {/ |! r- i+ Y! _1 A
  89. ; Quick Reference ;6 i2 ?2 M& F7 x- c$ i* D$ n
  90. ;;;;;;;;;;;;;;;;;;;
    / _0 ]/ P6 @( [. }5 K3 c  I
  91. ; The following are all the settings which are different in either the production4 F4 K# k0 M" ?. q
  92. ; or development versions of the INIs with respect to PHP's default behavior.% Z5 r, n6 B0 h
  93. ; Please see the actual settings later in the document for more details as to why# y4 b1 j5 n# c( r; w7 j* \
  94. ; we recommend these changes in PHP's behavior.4 \7 d' S- _* C5 x; K, a
  95. . y2 E' `. W* w# p$ y* u
  96. ; display_errors: n" B. |2 c# ~
  97. ;   Default Value: On
    4 y# q1 g6 X- X( q8 x
  98. ;   Development Value: On- f' p% w1 G' x% d! g
  99. ;   Production Value: Off# o$ i; `  `  d) O9 ~* e( Y. j
  100. # a) f- B$ j4 g7 T
  101. ; display_startup_errors% B# \' p( g& z/ w
  102. ;   Default Value: Off7 e, n/ Y1 n/ D" o- n; F
  103. ;   Development Value: On
    9 g$ z! K* b, i5 G# Z1 _/ Y% j
  104. ;   Production Value: Off" _6 L1 k7 E# Y2 E" t

  105. ; K0 L9 ^/ `) O/ k, g
  106. ; error_reporting3 Y1 Q- h. J2 q# L% i
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ K( ~9 M9 S+ V: l) _
  108. ;   Development Value: E_ALL9 W3 C& W. `- U' D6 J
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 }$ C% u( v* h$ j# z
  110. ; J  x! S4 Y  c- x8 _8 ]
  111. ; html_errors
    ( Q# ], a: m) o/ g5 Q
  112. ;   Default Value: On
    - `3 |/ `, Q  Z* y
  113. ;   Development Value: On
    5 L( U( x: \& Q* L  c8 S
  114. ;   Production value: On
      K* X, R5 q( g$ h

  115. ' e4 F0 {! J# Z0 B/ W5 Z
  116. ; log_errors
    ' M$ `7 a0 i5 K, g1 P; M
  117. ;   Default Value: Off3 c1 X+ ^8 N+ I1 i/ B' G! }
  118. ;   Development Value: On
    , Y0 f+ P' {2 t5 M* T( K
  119. ;   Production Value: On" T0 p  i. n* y! i3 j8 w
  120. 7 v) t* t8 S. v8 t8 @% y6 T
  121. ; max_input_time/ d+ ?/ d0 J- u) u, ^
  122. ;   Default Value: -1 (Unlimited)
    4 _% ^5 d: k' J  ]; R5 a1 d
  123. ;   Development Value: 60 (60 seconds)
    . O" W' D' _3 F
  124. ;   Production Value: 60 (60 seconds)3 X3 v' h# H0 d5 f" \) I" @
  125. % {( X( Q0 V$ n1 \1 a/ J: S! T* \+ E
  126. ; output_buffering5 }* i- g4 V  X2 w
  127. ;   Default Value: Off
    * t+ C$ n+ `( x
  128. ;   Development Value: 4096& X2 H: k# u; D7 H# y+ g8 v4 `
  129. ;   Production Value: 4096
    / a: v: {/ |, g$ V
  130. $ D  `% i8 ~5 \- P: \4 P* g9 r  l
  131. ; register_argc_argv
    $ B* r/ w- z% n& e
  132. ;   Default Value: On' [/ B  |2 ?0 F7 K  }. E( l
  133. ;   Development Value: Off
    ! E% {2 Q( N3 X: \+ Y7 l
  134. ;   Production Value: Off
    5 O2 h% T( w7 A8 E+ L
  135. 1 z' C0 _& T* o4 m/ ^7 W/ M
  136. ; request_order
    0 i1 s7 L% w$ R
  137. ;   Default Value: None+ H' ]+ }0 \. c/ X
  138. ;   Development Value: "GP"' d  x! _6 C/ F( A6 M8 b
  139. ;   Production Value: "GP"8 [( J% t& |5 a

  140. $ y( l' M  R# {# Y
  141. ; session.gc_divisor6 G6 q' D7 h8 C& l; @1 l% c$ T% [
  142. ;   Default Value: 100
    7 Y" y) u9 ]% v
  143. ;   Development Value: 1000  J/ Q9 Q0 T% R+ n4 ?; {, s
  144. ;   Production Value: 1000/ q) h# m( ]9 M4 Y4 R8 B

  145. 9 E% l. p/ ~0 @2 o
  146. ; session.hash_bits_per_character
    4 [; G2 C4 P5 j" O& X9 @: E6 ~! `
  147. ;   Default Value: 46 ^' \8 n, K. V. h& L- i) ^, o
  148. ;   Development Value: 5
    & S9 n" K  k3 y- o, u
  149. ;   Production Value: 5
    7 [% Q  Q( n6 c1 k" v

  150. - ^: Q( P$ x. ]+ U5 \7 U; L
  151. ; short_open_tag
    6 E. H( I* X  y# N) V! ?# z+ W
  152. ;   Default Value: On: ?0 V( Y8 G, I1 V7 e& V
  153. ;   Development Value: Off
    ; |5 ?0 I1 y" ?$ r: D
  154. ;   Production Value: Off
    & \% q) ]& v6 P' T$ L

  155. 1 }8 d9 {" @* L/ c; u
  156. ; track_errors
    - H, W1 q4 p* [9 c2 C& Y5 h: c
  157. ;   Default Value: Off! j2 h$ I% d0 L' ?
  158. ;   Development Value: On# A  z7 ?! k: \$ i0 y" b- l
  159. ;   Production Value: Off
    $ B* c5 }$ z! M2 ~6 M$ l: w
  160. ( v2 d0 W+ s# a- u
  161. ; url_rewriter.tags& N  r$ h  A5 ^9 }8 k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 @8 e, Q  m' K7 J' F# M! X
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + a& W( b! s& n" s$ D& j: Z) `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & `0 ^* {% _  E+ \

  165. 5 O1 @) N- s1 N$ X! \+ d
  166. ; variables_order
    9 c# J4 d0 _/ _5 b7 X. ]
  167. ;   Default Value: "EGPCS"
    ( @* o- U4 K& y$ ~% y$ h
  168. ;   Development Value: "GPCS"
    - }  e# x- g; P# y! H0 S& {# v' c/ Y
  169. ;   Production Value: "GPCS"
    / V* A% m+ z8 w" W
  170. % `( N( i. N5 U- @! q
  171. ;;;;;;;;;;;;;;;;;;;;
    # c) T; r' f' T0 i' r# C
  172. ; php.ini Options  ;
    " e) P( F! F2 J- e
  173. ;;;;;;;;;;;;;;;;;;;;
    * ^% O; [" [' F) t% n" [  M' F' t5 a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , b' d: `. L9 \
  175. ;user_ini.filename = ".user.ini"5 [* {8 s$ k! J) p6 b5 @* p1 N
  176. $ @" t+ b3 ~1 u# h0 @% \
  177. ; To disable this feature set this option to empty value
    , C$ a6 G; X' S, U& m7 _
  178. ;user_ini.filename =
    ' S; d% Y: g' {/ v% Z) V% }8 l% I
  179. ( L0 A' [9 c7 f
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)5 N; Y  r+ E: I$ t
  181. ;user_ini.cache_ttl = 300
    ) V+ o$ o- Q3 [) F+ Q3 X4 I. E
  182. 3 ?& H3 g1 O& z2 g
  183. ;;;;;;;;;;;;;;;;;;;;
    2 ?' V' k; G  h0 q5 X& V' E
  184. ; Language Options ;
    " i, c$ o+ G0 s0 [
  185. ;;;;;;;;;;;;;;;;;;;;" {5 H, F7 p7 W0 ~! }: G( X

  186. , ]) g9 F  Y3 K1 I% p( H# H& [4 Y
  187. ; Enable the PHP scripting language engine under Apache.4 E8 V. E! \# ~4 m+ B
  188. ; http://php.net/engine
    7 F) g9 y0 K8 y) v: F" k/ w8 u
  189. engine = On
    , ^0 K* s- i7 Q4 Q2 E: R0 V3 m

  190. / Q7 ]  K$ T' `  o5 |$ p
  191. ; This directive determines whether or not PHP will recognize code between% h, P& {7 t  K0 M7 F6 f
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 a9 _# z6 G' T4 N* t5 o
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 V/ k, K' C6 P
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 b. Y1 R! J- ^/ q" A7 }
  195. ; documents, however this remains supported for backward compatibility reasons.
    + ?: k. K6 Y8 V1 Y2 N5 i7 ]
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    2 s6 w  Y8 |8 {0 d
  197. ; used regardless of this directive.
    % [4 }* t) X  g3 \+ h. {3 \. u
  198. ; Default Value: On3 S" R2 C4 A6 c$ p, m- R
  199. ; Development Value: Off
    ; H9 d' X6 Z" y2 S& h! g5 j( i
  200. ; Production Value: Off
    9 @& a: X" i- J0 y% X8 e
  201. ; http://php.net/short-open-tag) y' i* \+ m% T/ p
  202. short_open_tag = On
    & ~# e  p$ O" i+ L7 S; H) {

  203. ! g3 Z' q4 P+ M8 C; Z# ~
  204. ; Allow ASP-style <% %> tags.
    2 P. J  ?+ @5 ~0 Z- {# m
  205. ; http://php.net/asp-tags; B3 Y/ l9 |" P: B
  206. asp_tags = Off
    " ^/ w7 U  J3 Q5 M* h% z8 g
  207. 3 m* k  f  _3 X/ j/ t+ ]
  208. ; The number of significant digits displayed in floating point numbers.6 E. g% ], M: V* w3 t  N
  209. ; http://php.net/precision
    2 B0 v# D) w/ V0 c( f
  210. precision = 14
    9 U0 {& E( W- c. e
  211. 0 B  V* \( q2 A+ x1 M
  212. ; Output buffering is a mechanism for controlling how much output data$ e; O2 {3 U! p6 \8 C+ e$ z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that' W* M( Z4 U! \. C
  214. ; data to the client. If your application's output exceeds this setting, PHP
    , @: {; z7 D  w* I
  215. ; will send that data in chunks of roughly the size you specify." [% D4 I; t1 A) Q  V5 O, V) Q( g5 p
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    $ d" T% Y7 X8 K. d. D
  217. ; interesting side-effects depending on your application and web server.9 c- L, ~2 E% [2 X
  218. ; You may be able to send headers and cookies after you've already sent output' X. s& r: l2 D' ^# L
  219. ; through print or echo. You also may see performance benefits if your server is( \$ _8 B$ m% N; D3 \  Z
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 e$ s. P6 d5 S( b
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 y0 a, ^; N0 q3 V' x! O( S
  222. ; reasons.3 q' M# L, t" L( z1 @
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' j+ C) b! ~: s4 v
  224. ;   functions.
    * ^  l& D( g1 L# S8 b( f4 @+ H
  225. ; Possible Values:
    8 t: j" W8 O& @4 \  Q6 d
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 q4 E7 U) {4 ]8 @) G( H
  227. ;   Off = Disabled
    . Z* v: V/ L" Q! F  x" k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.- r4 e" ?  _4 x9 @
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI4 P2 Q$ C* u7 g% R% l6 G
  230. ; Default Value: Off
      |" J: x7 w) Y- D, Q: X
  231. ; Development Value: 4096
    ' f4 V% r: a! H+ J, {" v
  232. ; Production Value: 4096
    3 l3 |( V: I2 C, h1 Q
  233. ; http://php.net/output-buffering4 N% i" _0 U( }6 f1 n8 r; |
  234. output_buffering = 40968 K; p+ c* a, n% F% v) p
  235. 2 S' p" Z3 ~' x
  236. ; You can redirect all of the output of your scripts to a function.  For
    8 R9 J; A. O) P$ _+ o6 F
  237. ; example, if you set output_handler to "mb_output_handler", character
    " f- v# x: D' p4 n
  238. ; encoding will be transparently converted to the specified encoding.
      W% S  g, f  W& ^9 u9 g
  239. ; Setting any output handler automatically turns on output buffering.
    2 b/ `4 x7 r2 B9 N7 @1 P
  240. ; Note: People who wrote portable scripts should not depend on this ini
    $ L" T- g; l& \
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) P, F5 ~& x; ]4 E
  242. ;   Using this ini directive may cause problems unless you know what script8 n! E, K; H1 Z% y' p
  243. ;   is doing.7 `9 D- F5 T7 e8 H) W
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"  D7 a# r* j- ^  _" x& r9 M
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 c3 ~( U2 S# K& U7 ?5 c
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    7 c" M, ]; V2 w# U
  247. ;   Instead you must use zlib.output_handler.  [( g! L3 ^) i+ q! ~2 m
  248. ; http://php.net/output-handler
    $ p# z2 T! e3 J* D2 n! I- `" ?
  249. ;output_handler =
    / s9 Q; S6 \* L2 q9 K* d9 U) F7 f
  250. / d, [8 f  ^9 H5 T
  251. ; Transparent output compression using the zlib library' O; d* r) K( n$ ~* z) t- r0 S' e
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( R6 U& a6 P" K* ]' V; }( |* `$ d
  253. ; to be used for compression (default is 4KB)
    ' L8 Y+ ^$ E. d" w
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP" w2 _* i! k/ H
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    5 }% ~: `8 W: M1 r1 D; y  a! f
  256. ;   compression. If you prefer a larger chunk size for better0 a) L' ]  q! A# Q$ C
  257. ;   performance, enable output_buffering in addition./ L  x$ j9 u" P0 j! F
  258. ; Note: You need to use zlib.output_handler instead of the standard( d* s' [, h/ M
  259. ;   output_handler, or otherwise the output will be corrupted.8 R& Z  G/ S4 F+ M* N; v
  260. ; http://php.net/zlib.output-compression
      e0 U/ `4 f$ j) D0 H
  261. zlib.output_compression = Off
    6 K6 u- l: ?" E4 C) ~+ R

  262. 2 ]9 s7 E5 q1 e+ _$ G$ {9 v
  263. ; http://php.net/zlib.output-compression-level  i2 ?2 w2 i3 ~- \& `  Z. K
  264. ;zlib.output_compression_level = -11 ]% j$ O5 d+ i7 l$ {$ u* f9 M

  265.   {; |9 M2 K0 O5 c1 o' u! `
  266. ; You cannot specify additional output handlers if zlib.output_compression6 L/ c" _0 T+ w+ Y/ S* t3 ]) p
  267. ; is activated here. This setting does the same as output_handler but in
    6 b$ s! E3 s3 \- t
  268. ; a different order.
    % e% k& t6 o% q0 d2 @; f/ w
  269. ; http://php.net/zlib.output-handler$ |" J% _; j* |' x( @% U% z
  270. ;zlib.output_handler =/ N) `/ U2 h- U+ @

  271. 0 G. E! s4 `9 M
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    & B- t( b* |, b$ s+ j: @( L
  273. ; automatically after every output block.  This is equivalent to calling the
    % ]! h3 z4 i- G3 ~* P. Q
  274. ; PHP function flush() after each and every call to print() or echo() and each
    " y4 |2 R4 [: I: P- ~! \. E5 k  {/ J
  275. ; and every HTML block.  Turning this option on has serious performance8 l- T4 F1 W+ q. s5 ?. F5 G/ j
  276. ; implications and is generally recommended for debugging purposes only.
    - B9 k! n5 G; \& U/ b' m) p
  277. ; http://php.net/implicit-flush
    ! j/ {& w( S1 ^5 h0 @
  278. ; Note: This directive is hardcoded to On for the CLI SAPI/ o: O  Y1 ~& H0 A& }# s) k
  279. implicit_flush = Off* F1 w2 M5 I$ E) D( R( h9 \

  280. ! h) W6 [7 i: ^- C5 P$ v! r8 C
  281. ; The unserialize callback function will be called (with the undefined class'3 a9 r1 x" q' A" U& `! _: k
  282. ; name as parameter), if the unserializer finds an undefined class
    5 x- u8 t. w) y( }' Y' [
  283. ; which should be instantiated. A warning appears if the specified function is1 y  ]* c/ l& I  f% u
  284. ; not defined, or if the function doesn't include/implement the missing class.
    : K2 }3 Z9 e" t
  285. ; So only set this entry, if you really want to implement such a
    5 C, I) }4 L: v& G% e- V
  286. ; callback-function.
    / P/ v1 Q% w" S# R
  287. unserialize_callback_func =) W9 C% U9 V$ a6 w
  288. 0 D' X- C" _6 e/ D  R% g+ t# g
  289. ; When floats & doubles are serialized store serialize_precision significant
      d- [- |% Q2 j' k/ h% a
  290. ; digits after the floating point. The default value ensures that when floats
    ) |% T7 n, [4 l) \3 X7 @, H
  291. ; are decoded with unserialize, the data will remain the same.' @8 \  B/ O; A# B% J# g8 F
  292. serialize_precision = 17( N6 R+ ?) C& o. J5 \
  293. 0 R+ o  f7 w0 u4 M+ `
  294. ; open_basedir, if set, limits all file operations to the defined directory
    6 g2 R7 K4 u1 V$ [; U
  295. ; and below.  This directive makes most sense if used in a per-directory4 i1 l9 Z5 n7 v/ l# n  Y: r; d
  296. ; or per-virtualhost web server configuration file.0 A, J( m+ {/ }% G
  297. ; http://php.net/open-basedir
    ! M0 ^! `0 h! M/ C. H
  298. ;open_basedir =1 L% _6 }2 B5 g- T8 ^! A2 M- J

  299. 2 b+ E  O( }  T/ i! U  L
  300. ; This directive allows you to disable certain functions for security reasons.* J" s% k3 w2 ?+ w+ q
  301. ; It receives a comma-delimited list of function names.
    7 ]& K/ s6 f2 w
  302. ; http://php.net/disable-functions
    ( T* e/ l) [: t1 a7 Z( Q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    9 i* P/ N9 u) m. H" C

  304. 1 P3 V$ s# d1 e& @$ p
  305. ; This directive allows you to disable certain classes for security reasons.) g# Y* V( y! w( A
  306. ; It receives a comma-delimited list of class names.
    ! C+ {! E- L  y, [( P
  307. ; http://php.net/disable-classes
    . [; k; j! r' z* s
  308. disable_classes =
    # f  }0 q7 }; |

  309. - x2 |, y; d9 r- y! N
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    2 U1 Q' }6 R4 {- t6 @
  311. ; <span style="color: ???????"> would work.
    ) X9 s3 N3 g6 o# Z* Y$ \
  312. ; http://php.net/syntax-highlighting. k( l6 w. n0 [  L( g2 y: z4 S  G
  313. ;highlight.string  = #DD0000# x& O6 X1 k  k& U& z
  314. ;highlight.comment = #FF9900
    ! c( [/ G+ }) D/ {2 [
  315. ;highlight.keyword = #007700$ M4 A, x( N  o! o$ a2 ]5 R
  316. ;highlight.default = #0000BB. |- k1 G$ {3 ^& x/ q' }+ R4 }
  317. ;highlight.html    = #0000007 P1 z6 _& Q' G8 K

  318. & E  P- m3 V) Z1 T) N7 _
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    1 [( P- G, R7 a, l! z1 c% _0 V" `% V% r) d
  320. ; the request. Consider enabling it if executing long requests, which may end up- ]5 [4 E) U9 u7 b* q, n( j
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    , s4 p' A. o( G: C
  322. ; is to disable this feature.
    - E  ^( [; |( Q' P+ P( p
  323. ; http://php.net/ignore-user-abort9 h4 ^* v! T0 Z' c. h
  324. ;ignore_user_abort = On# Y7 L3 e4 E9 u
  325. ; P/ F2 G3 }, e; @9 B; W
  326. ; Determines the size of the realpath cache to be used by PHP. This value should7 r: F6 t9 L) D) X. C7 ?7 `+ M
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 j, B, D: g: K: J
  328. ; the file operations performed.+ W& v# c% \# n; W: @
  329. ; http://php.net/realpath-cache-size
    : t+ I9 c* F8 c
  330. ;realpath_cache_size = 16k
      X7 \# V# t3 v8 |
  331. ) m( h0 o" X+ `
  332. ; Duration of time, in seconds for which to cache realpath information for a given' K" Q) o6 o8 q. s
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    - H" T( r+ `9 y% H1 L& l
  334. ; value.
    ( y: z/ F$ d% q( ]
  335. ; http://php.net/realpath-cache-ttl; c! ^  }- P/ {7 {( _) }% t
  336. ;realpath_cache_ttl = 1205 B/ Y0 w( q$ u5 N6 t
  337. $ `. W- R, E' `$ H  I) |
  338. ; Enables or disables the circular reference collector.
    7 s4 B2 p. O' Z0 ?# i, z' K8 P# l
  339. ; http://php.net/zend.enable-gc
    & q% g- z. c. @& m" w- X2 R
  340. zend.enable_gc = On( n2 P, C  [8 b* {! U/ ^

  341. ! C7 ]& z5 y! `) j2 v. J
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    3 |) x  X; t( u/ T! A" q- U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# k8 `8 [) S% v$ H, i- G" \" `, O
  344. ; encodings.  To use this feature, mbstring extension must be enabled.) N  V) ~0 X$ e5 d* y, I
  345. ; Default: Off3 l/ [# @9 a$ L
  346. ;zend.multibyte = Off; p4 ^9 \( z- Q" f$ n9 [

  347. 1 w$ t8 I% M/ P- V
  348. ; Allows to set the default encoding for the scripts.  This value will be used5 Q: l* u8 b- m
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) J: m3 L3 _% [+ H1 P/ R5 k
  350. ; Only affects if zend.multibyte is set./ D* S. ^& o& B0 G: Y8 F
  351. ; Default: ""
    ) Y+ E$ M1 p6 W! h! E* Y7 B/ ^
  352. ;zend.script_encoding =. j& q. g" k6 H3 A' o6 J

  353. ! i. n2 Q5 G% X3 p, a/ G2 v& J8 _
  354. ;;;;;;;;;;;;;;;;;
    5 {$ G* r4 ]; N1 }9 A
  355. ; Miscellaneous ;/ u1 a4 L" U% x9 y2 b) v2 B! L
  356. ;;;;;;;;;;;;;;;;;
    & j" G# h+ ?' t# P( w. r) L! Y

  357. , L( D1 \+ x. C) Z
  358. ; Decides whether PHP may expose the fact that it is installed on the server$ G( `4 Q8 n( B$ d
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 y9 p  p) Y+ W
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) n& C" Y; k: j( i$ y
  361. ; on your server or not.* a  {+ B$ k# ]) \" w1 v. h+ r
  362. ; http://php.net/expose-php) N- }% S* x9 z1 m
  363. expose_php = On& A7 n4 c4 W4 r8 }
  364. 3 f1 v; p0 s; @' f2 i) E2 P% x
  365. ;;;;;;;;;;;;;;;;;;;  `' d: y: u3 X3 G4 z+ u6 R4 p
  366. ; Resource Limits ;4 q; v. V2 k7 [% c% ~0 q* ?7 `$ B
  367. ;;;;;;;;;;;;;;;;;;;% V; w7 |# Y1 c. m% b% s) _4 N: w$ o) e
  368. & P& q5 ~2 s7 V/ T# E; U! I
  369. ; Maximum execution time of each script, in seconds$ |/ c3 U0 H5 \$ i( h
  370. ; http://php.net/max-execution-time
    # a* v; {: k# ]8 n3 l' Q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 }  R7 E- I8 w* _) F- ?! [
  372. max_execution_time = 300
    * c0 ]! b( k6 s- S) u: d2 E- Z

  373.   ?; [( L. g: D. x
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - n1 M8 \0 k3 h# f& p" p6 ?
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly% \1 ^+ A2 `4 g. |/ p' X
  376. ; long running scripts.3 a/ G! c; E+ D: f) ~5 g* y' L
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI( S4 _4 d( O& c% p' _; P( ?
  378. ; Default Value: -1 (Unlimited)
    6 s2 @* x, K3 y0 a/ f' K# b1 Z
  379. ; Development Value: 60 (60 seconds)% K) D+ Q6 R; Y
  380. ; Production Value: 60 (60 seconds)
    3 t, f$ z& v- g4 H' L, Q+ O5 U0 D+ R& f
  381. ; http://php.net/max-input-time! I: U: h( ~2 `/ S8 f9 {
  382. max_input_time = 60
      A7 @, @$ G1 t8 i

  383. 7 ^2 q- ], u0 q( \& k+ w
  384. ; Maximum input variable nesting level
    8 z6 N% ?8 D* \6 d8 k' M' F1 ?* m
  385. ; http://php.net/max-input-nesting-level8 o/ \( R9 ?, p
  386. ;max_input_nesting_level = 64
    , }# _6 C( _. }: x! w
  387. : v8 V  }5 o: m; P& z
  388. ; How many GET/POST/COOKIE input variables may be accepted! e' [5 t& p( |# x
  389. ; max_input_vars = 10009 f" N' M+ S4 S& X4 ~' u- l
  390.   z2 Q7 u- @; ^5 r" c
  391. ; Maximum amount of memory a script may consume (128MB)- M8 I  g) \2 K( t/ Y
  392. ; http://php.net/memory-limit$ j, b' F% U, M0 k# h
  393. memory_limit = 128M
    7 V, b0 Y. O5 k: h7 U

  394. ; r$ F4 P- W- P8 B8 w+ g6 d
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 g) Y5 I$ |9 }& S
  396. ; Error handling and logging ;
    1 b+ S6 I" H7 b( B* `
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! l( F% }0 n5 A. f# {
  398. ; q3 _3 n% R/ w0 k
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    8 v; Q+ N( O3 ~/ {) c
  400. ; it to take action for. The recommended way of setting values for this3 p3 ]9 o" G% z3 c/ |, n; F- c8 w8 z' m
  401. ; directive is through the use of the error level constants and bitwise  I( a0 x6 i. I1 N
  402. ; operators. The error level constants are below here for convenience as well as
    5 M2 K+ h3 Z; _6 X4 u4 V  P
  403. ; some common settings and their meanings.6 d0 D* L3 r4 s; U  b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      i# w' _/ [& U% f
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    , B/ q3 Y& C5 f- g
  406. ; recommended coding standards in PHP. For performance reasons, this is the$ {( Z7 o3 G7 A, {. U/ |- S
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    7 {, K( N1 O$ J' Z) ?- b6 Q( b# }
  408. ; resources complaining about best practices and coding standards. That's what
    . G6 I" i7 g1 J  K' a
  409. ; development servers and development settings are for.; S  r+ O2 ]& y: ~+ ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This% \3 g  G4 J% |6 S5 S, E5 R
  411. ; means it pretty much reports everything which is exactly what you want during: J) Q7 k) ], d6 p
  412. ; development and early testing.% X0 f5 u& A, {) z9 z
  413. ;- D  D0 P" K' Y$ X; C7 Q
  414. ; Error Level Constants:
    ; `$ ~4 d$ J# e" [' _
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ ?4 C9 ~; A  E( N3 I
  416. ; E_ERROR           - fatal run-time errors
    3 f: ~- ?+ G: z+ k1 c% J" o
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& Q2 J: B8 y/ c  U, D1 K  K
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) s1 N) ~1 K4 E. b$ x% y
  419. ; E_PARSE           - compile-time parse errors% p! i6 g- a4 v% b2 b+ f: p
  420. ; E_NOTICE          - run-time notices (these are warnings which often result5 A! x/ S$ y  O1 a
  421. ;                     from a bug in your code, but it's possible that it was
    / |0 X8 [  _- r9 V. v' r% y( f
  422. ;                     intentional (e.g., using an uninitialized variable and) ?  p  _* Q( x
  423. ;                     relying on the fact it is automatically initialized to an3 S- u8 ~- t7 U3 A" n; p
  424. ;                     empty string)) k" i% }: f! D8 p) ~. Q
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    7 |! A& W; [8 p1 B5 I
  426. ;                     to your code which will ensure the best interoperability
    & r2 @# h; A9 J3 _: [! j+ Q
  427. ;                     and forward compatibility of your code# L! E+ Z* K7 K" @2 V3 i
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 s0 x3 I9 N; m0 m1 f) b0 M
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's$ y3 o6 g9 j  n
  430. ;                     initial startup. W4 O* o! m' y( P0 W9 t' a; Q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, @7 A. T) E) i& r5 \
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : X0 g% Q1 ]5 C9 V
  433. ; E_USER_ERROR      - user-generated error message$ `, p6 Q2 ^& a/ i$ U: G3 o
  434. ; E_USER_WARNING    - user-generated warning message5 G2 Q$ G8 @& y4 Q. j" J+ k
  435. ; E_USER_NOTICE     - user-generated notice message8 O' z0 z4 w% c1 s2 H- P  ^, g
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
      x" Z8 ?- L7 q
  437. ;                     of PHP
    ( d' w4 C' ^$ P: d) m
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings6 H! d0 Y" O6 A+ E3 H$ K
  439. ;
    1 e. x5 _, C8 |7 N4 D
  440. ; Common Values:
    - {5 G: A/ ?0 W- H: ]! ^
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 [8 k% u4 I* b6 u1 M
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% c, q/ [. Q+ E2 ~
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 a1 J; A" a7 ]$ ^+ ]
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    + m8 ]  G* s4 S( U* e/ N* q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( u9 s: ^& \5 ^, B8 }
  446. ; Development Value: E_ALL
    ) S6 B: S0 D7 N
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ h& I. @  C- X- k9 j" c
  448. ; http://php.net/error-reporting
    . R/ p: C& H3 f: z
  449. error_reporting = E_ALL & ~E_NOTICE0 J- x( W  c8 F/ w2 W# b

  450. + X3 y5 l1 y0 {4 U: Q
  451. ; This directive controls whether or not and where PHP will output errors,% x9 B) l5 R2 E7 U
  452. ; notices and warnings too. Error output is very useful during development, but
    4 S( C6 b# e6 ^3 U# r# I& \
  453. ; it could be very dangerous in production environments. Depending on the code- |0 J2 Z" Q2 D& T/ Q7 R9 T
  454. ; which is triggering the error, sensitive information could potentially leak* t* i6 w5 U! U5 y3 O+ v
  455. ; out of your application such as database usernames and passwords or worse.
    $ Z0 @* r/ V: V/ l$ s6 w) \
  456. ; For production environments, we recommend logging errors rather than- h) X3 @; T7 T  e+ |  K
  457. ; sending them to STDOUT.; V$ B- g- ?8 @& i' N& g
  458. ; Possible Values:$ A3 {6 Z; S6 B9 O
  459. ;   Off = Do not display any errors3 C- L/ ^* r  J) U
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)0 U  w8 A# P6 r: h4 n
  461. ;   On or stdout = Display errors to STDOUT
    4 {; K& n& Y+ _" x9 w/ a8 o7 l
  462. ; Default Value: On
    # ?. E) F/ m/ ~5 h
  463. ; Development Value: On
    & B6 f* U4 w; M# c) ~
  464. ; Production Value: Off+ g9 R1 C; [3 A5 e
  465. ; http://php.net/display-errors8 y. B9 k8 x& B; {4 r; u  h
  466. display_errors = On; z! }# d7 G" _% v
  467. 2 d6 g$ s5 G* A+ P
  468. ; The display of errors which occur during PHP's startup sequence are handled
    9 V/ B/ v+ r% g4 ^+ B! C4 m
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ! I' L* q( `* Y$ U, c
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ( E& m2 I+ E1 ~( d
  471. ; debugging configuration problems. We strongly recommend you) H' r3 b, V1 E5 v% D4 P. P
  472. ; set this to 'off' for production servers., g2 `/ r( F4 ^! f9 J) X3 h% L
  473. ; Default Value: Off
    6 P5 z# s- ]4 G: |1 [
  474. ; Development Value: On# `3 W3 Y+ O8 f' d  V& ^
  475. ; Production Value: Off
    3 ~6 _# I, j6 q6 G3 A5 I- j% s: x2 w
  476. ; http://php.net/display-startup-errors9 L+ `! B, Q# w% ^5 J1 u
  477. display_startup_errors = Off
    ; O  z* q$ D( n. U' t
  478. 3 B" C8 d' K" R6 }, i
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    8 k% |! k- W3 w+ ?) C  {
  480. ; server-specific log, STDERR, or a location specified by the error_log
    : {- n5 ?, W! l  E6 U5 j! Z" N  H9 W
  481. ; directive found below. While errors should not be displayed on productions7 s" h. q. L' S
  482. ; servers they should still be monitored and logging is a great way to do that.0 o" V6 R9 @# i) A% D
  483. ; Default Value: Off
    $ H% [8 C$ h9 A' i$ F
  484. ; Development Value: On' W* n% |' l1 W1 b. x0 C) z( Z: M* R
  485. ; Production Value: On1 N" x. ^0 K- x0 f5 r1 g3 @
  486. ; http://php.net/log-errors1 t1 m2 p6 i+ n- a
  487. log_errors = On( @' N: a6 s. m

  488. : C2 X. d  w. }) d+ Q
  489. ; Set maximum length of log_errors. In error_log information about the source is8 _/ K1 H) t: b8 t: i  W
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ u# v2 k7 m& s4 y3 H
  491. ; http://php.net/log-errors-max-len7 [1 r4 ^* R7 d# V/ T
  492. log_errors_max_len = 1024' l( X& o( q; p8 [

  493. ' }/ A6 A; R1 _7 N; A6 i3 P9 C# h
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same3 v: k! N3 X; k, J. D( J6 g2 e$ f
  495. ; line unless ignore_repeated_source is set true.% B  P* P* ~- i% I! W
  496. ; http://php.net/ignore-repeated-errors3 l8 I  a; |& E% {. x. O+ @
  497. ignore_repeated_errors = Off
      p$ x! c8 Y" E8 _* ~9 b1 J1 Y

  498. : `3 [9 P* g0 t* I; `2 x/ G# D
  499. ; Ignore source of message when ignoring repeated messages. When this setting$ ^( P6 D! A& H' @+ I. R" Q2 x
  500. ; is On you will not log errors with repeated messages from different files or) E% @0 |. y, T1 `
  501. ; source lines.
    4 C; [+ _4 N4 s2 o4 V: `& J( A. W
  502. ; http://php.net/ignore-repeated-source/ y% ~+ p) ?7 l+ m0 l, G; J
  503. ignore_repeated_source = Off
    ) U7 t9 l& s4 `# P) C0 Z% T$ w
  504. $ B- v8 q6 V! @6 m. P/ a% {6 }. r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 G! [: z: l. g& R
  506. ; stdout or in the log). This has only effect in a debug compile, and if8 a8 w% D; U+ M4 q4 A' @
  507. ; error reporting includes E_WARNING in the allowed list
    2 F1 d6 q8 A$ v# w. K& J
  508. ; http://php.net/report-memleaks8 U, t# l, \+ z7 c" s- N
  509. report_memleaks = On
      w+ f4 g% F% a

  510. 7 r: z, b0 K- q" E; q3 \% q6 S3 e
  511. ; This setting is on by default.7 i7 T8 w& k! i; ]2 o
  512. ;report_zend_debug = 0
    # S& x" u" E8 I5 e" x
  513. + @6 c- f- E+ w. G' s( L
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 x& @9 L' R5 J4 p8 K) y( d& H6 l# z* x
  515. ; to On can assist in debugging and is appropriate for development servers. It should; E# r9 ^# r0 |6 L) G" \( ]
  516. ; however be disabled on production servers.% g- y3 V5 Z0 R: D  D; k
  517. ; Default Value: Off! O: c) c0 F& |% X# F9 i
  518. ; Development Value: On+ e% Q/ B. L( F
  519. ; Production Value: Off, Q  A" W( U% n
  520. ; http://php.net/track-errors
    ) F8 T- m( C) O% f% A
  521. track_errors = Off
    : s2 Z9 ]* i& X; ^7 P; H, k9 I  A% G
  522. ( d9 t9 P% J  W1 E5 b$ R
  523. ; Turn off normal error reporting and emit XML-RPC error XML& u* K: V9 U" V7 s9 W+ m( K6 O
  524. ; http://php.net/xmlrpc-errors9 ~! M/ \: b) E. K  a3 v; r
  525. ;xmlrpc_errors = 04 y" p1 t4 t5 i+ e
  526. 9 h' W+ a0 `* s. e1 Z  q
  527. ; An XML-RPC faultCode) @! l# |) K' f4 }
  528. ;xmlrpc_error_number = 0; N- N4 k+ {5 B' P6 R

  529.   ^& N; Q" v3 `7 s4 C0 p7 C
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    , h7 M' N" V0 o- d$ q0 q; L
  531. ; error message as HTML for easier reading. This directive controls whether
    + ]# o8 F3 X3 }# }0 y
  532. ; the error message is formatted as HTML or not." v! Q3 \  B7 A! z) s3 d+ G9 K+ r) S9 Q( E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI# I' X* X9 ~5 \
  534. ; Default Value: On
    0 y. c7 r# {6 ~# a% D
  535. ; Development Value: On* v& E* R6 f; p5 T8 p1 U
  536. ; Production value: On
    & ^6 }0 b' ]0 V4 ]5 Z0 s2 l7 s
  537. ; http://php.net/html-errors' {; p& f' t* X; H* N# ^
  538. html_errors = On
    9 s& N0 }8 `" r* Z

  539. # j. i8 G8 S- X) f
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) U% `$ p  m* p& ]4 w
  541. ; produces clickable error messages that direct to a page describing the error9 M: L6 t1 H1 l/ i$ W' J
  542. ; or function causing the error in detail.
    7 u- o. P: S" A) u& W) }/ `
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    3 Y! G. Z. u  ]& X) N( B
  544. ; and change docref_root to the base URL of your local copy including the
    ! S7 k' p! S2 u
  545. ; leading '/'. You must also specify the file extension being used including$ u1 o; _( A* |
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 O" z5 s* E7 t9 |
  547. ; case no links to documentation are generated.
    5 a6 d& m& V' B% [& H& O+ U3 j
  548. ; Note: Never use this feature for production boxes.( y# f' y8 ^$ r/ A: U6 M
  549. ; http://php.net/docref-root9 V1 X, G, M$ q
  550. ; Examples
    - {1 P5 V7 T0 A+ {( X3 |) C
  551. ;docref_root = "/phpmanual/"
    , M5 @. Y" H- e1 x' L6 f* B

  552. # [7 J6 p* {4 I4 U
  553. ; http://php.net/docref-ext5 J5 _; G) ]/ {( w0 v* l% Z! Y
  554. ;docref_ext = .html
    6 i/ s' B0 W3 ]  W9 N. M
  555. 7 W" p5 u3 o* ~  |3 |
  556. ; String to output before an error message. PHP's default behavior is to leave6 C0 J  k4 w( d3 o7 L
  557. ; this setting blank.
    5 x4 D6 m7 L% d$ i
  558. ; http://php.net/error-prepend-string3 ^1 c3 U" _1 B* p
  559. ; Example:
    ) y1 ~5 g: u: K6 z/ r9 L8 ]6 X8 F
  560. ;error_prepend_string = "<span style='color: #ff0000'>"0 V, q) r! b9 j* a" ?9 o: I( F
  561. . [% n5 r, _/ n8 b) H2 z+ J
  562. ; String to output after an error message. PHP's default behavior is to leave" p% J' D0 M$ U. O
  563. ; this setting blank.9 o/ P9 [. j. ~& [# e4 K& U
  564. ; http://php.net/error-append-string7 ]+ A, ~2 ]. O" y2 K7 L
  565. ; Example:
    ( ~* Y$ \+ e7 |% ~0 S
  566. ;error_append_string = "</span>"% v+ e: k: ]9 C$ k; U8 W: s

  567. " I7 M% w2 Y4 b. Z( b  B5 Q" I
  568. ; Log errors to specified file. PHP's default behavior is to leave this value8 C7 |2 _; [! L9 C5 k
  569. ; empty.
    9 d5 \/ R3 i- B. }' b5 R7 M0 V  _5 P
  570. ; http://php.net/error-log$ C2 o  T% R# {1 ~) S- i8 P7 C
  571. ; Example:
    5 {- O, g+ D# ^! w8 J, U( m
  572. ;error_log = php_errors.log" e( C& p: [8 w) _1 v, Q
  573. ; Log errors to syslog (Event Log on Windows).
    3 Z" o5 v3 Y, U0 {, i
  574. ;error_log = syslog& l1 ~  x+ W. R

  575. ; ?, Z- ?/ D8 e! G& M; B
  576. ;windows.show_crt_warning
    1 p  N* _6 M0 o0 K2 b2 [: R
  577. ; Default value: 0& |1 G. c* \3 `
  578. ; Development value: 0
    4 B7 _% _; t+ d7 k3 s
  579. ; Production value: 0
    + k% i: H2 X# p, H3 u

  580. / S# H1 y" l7 z0 q
  581. ;;;;;;;;;;;;;;;;;
    ) Q4 h; h# G% `! y# n6 ^
  582. ; Data Handling ;# A; p: z* g( |- _0 ?
  583. ;;;;;;;;;;;;;;;;;
    ; D. @/ N- I, }
  584. / L+ M; O* h; c; C1 m/ `0 Q5 S8 C' |9 j$ m
  585. ; The separator used in PHP generated URLs to separate arguments.* l) L* C+ D1 K. }; l
  586. ; PHP's default setting is "&".
    + D/ g1 Z+ c  t8 L" D1 O' ?% _% r
  587. ; http://php.net/arg-separator.output+ ~  O' m. l' O  x0 e- o* X
  588. ; Example:8 g# E4 S( l& y+ Y3 [
  589. ;arg_separator.output = "&amp;"  U$ _" ]4 G  X6 R

  590.   {7 h4 o. k) U8 ]2 @. J: V( b
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    7 P5 _# P9 ~6 y: N2 L( D0 `3 x
  592. ; PHP's default setting is "&".
    " P, P3 ]8 {$ O% d
  593. ; NOTE: Every character in this directive is considered as separator!% R# x9 |0 _7 b, ?( \, K$ p
  594. ; http://php.net/arg-separator.input# m5 L9 L! k0 {3 b5 d% l, U
  595. ; Example:
    , C( B+ i6 a# b
  596. ;arg_separator.input = ";&"9 N  |$ U# X! g) W( \, w

  597. ' s- h6 w7 h& E3 E: x  ^
  598. ; This directive determines which super global arrays are registered when PHP
    * e) B6 Q8 s* J- P, u9 f
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 K5 v+ N/ P: U5 ^" O0 R# W6 l$ k
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty; f* S' `2 n! d! _
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    / I. J( w# J7 c# [4 g1 D
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; H3 q$ K$ T9 b6 V8 C
  603. ; can still get access to the environment variables through getenv() should you8 L9 ]2 ^! y9 u; o. D/ a
  604. ; need to.2 N8 l; F# J* K3 K( I! q7 F" x
  605. ; Default Value: "EGPCS"
    . h; [/ |% }" a. n; v
  606. ; Development Value: "GPCS"- E6 t; d* p4 z( I, x
  607. ; Production Value: "GPCS";
    8 I2 N: G0 W$ R2 m3 p9 e
  608. ; http://php.net/variables-order
    9 \- X7 I' t  j" J0 N$ w
  609. variables_order = "GPCS"" x! C+ G6 p: `0 F3 @9 o) }& x
  610. / g& u: \4 v, B0 n
  611. ; This directive determines which super global data (G,P & C) should be6 ~; P: a( A* K1 Q3 [1 s4 n
  612. ; registered into the super global array REQUEST. If so, it also determines
    , I! z! I& J4 `; R% `& f
  613. ; the order in which that data is registered. The values for this directive5 B" b( A. M$ s% G* f
  614. ; are specified in the same manner as the variables_order directive,3 R4 G4 y" f4 E* |: Z5 C
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 m9 E9 @, \0 E) Y
  616. ; in the variables_order directive. It does not mean it will leave the super
    : u' O* }/ L9 P% z
  617. ; globals array REQUEST empty.1 F. y' c5 x2 C( m( x- X
  618. ; Default Value: None& A; Q3 j; ]) w4 U8 s, e# A
  619. ; Development Value: "GP"
    / Q& x- w2 [% X5 @: y7 v
  620. ; Production Value: "GP"0 I/ P  ^7 b5 h0 k4 H
  621. ; http://php.net/request-order
    # o" B# p0 _0 t5 l  r& ^; \- X5 y
  622. request_order = "GP"; H+ q6 |, F8 m0 u' ?

  623. / z2 f! H/ S5 L( k5 m/ Y2 ]
  624. ; This directive determines whether PHP registers $argv & $argc each time it  b+ K+ c: l6 `+ @* f( F5 z
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script3 L! Q0 V5 c* W) |
  626. ; is invoked. $argc contains an integer representing the number of arguments
    4 ^3 f- Z) I4 D( _- E; e8 U6 @+ I
  627. ; that were passed when the script was invoked. These arrays are extremely
    9 g" h2 [; u2 j# e# z9 f( e4 l0 c
  628. ; useful when running scripts from the command line. When this directive is
    ; R% V2 |2 {: m  u" P- a/ y
  629. ; enabled, registering these variables consumes CPU cycles and memory each time4 o. T9 [3 ]3 E3 g
  630. ; a script is executed. For performance reasons, this feature should be disabled" P  ]; ~' J  i; x
  631. ; on production servers.1 K1 U  \: P3 M$ o$ K$ K
  632. ; Note: This directive is hardcoded to On for the CLI SAPI* H* R3 T- n, o) u7 V
  633. ; Default Value: On
    ' E& m% q) K7 q, `, H7 i
  634. ; Development Value: Off3 T! k/ c- b7 r# N% B& B/ O% }( n
  635. ; Production Value: Off
    : g/ i4 C. \/ I0 Q9 I7 h  g+ u
  636. ; http://php.net/register-argc-argv( x$ \" z% ^5 R: Z( m
  637. register_argc_argv = Off' F4 R4 o' K! O" k/ l+ f! h
  638. ) u8 u& p! g: \: r! h; x4 F5 R1 x
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  _9 b  Z) @: A! m$ j! ^
  640. ; first used (Just In Time) instead of when the script starts. If these! w3 e. Q  Y$ w* h: A2 a
  641. ; variables are not used within a script, having this directive on will result) l  D/ a" U& T% H
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled; b$ t% P+ G9 `. Y  O
  643. ; for this directive to have any affect.+ c4 q; @: u7 M
  644. ; http://php.net/auto-globals-jit$ m( E: h# Q/ U8 d$ K& w; U
  645. auto_globals_jit = On
    0 ~) B, n( W- n+ U' R
  646. 8 z, A( c) {1 r* D! U
  647. ; Whether PHP will read the POST data.6 P, L) A# I9 x; H- N0 \5 b# F. b" R
  648. ; This option is enabled by default.
    / n- N1 s3 M* j# U
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST( A% T' U! w; \7 z1 K. r
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    - ~& O; l/ B0 @
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    $ x) Z6 W/ @# C: q1 o/ T8 J# n
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) f( j' m) }9 N1 I7 L3 @8 z8 F' |
  653. ; http://php.net/enable-post-data-reading
    1 C- J: D' I0 w2 I7 U! i" e6 O1 v
  654. ;enable_post_data_reading = Off5 c1 p2 B' P$ C5 `+ M7 H! W! {! `+ g

  655. / T' E) `: L$ f/ g# @4 ?2 ^
  656. ; Maximum size of POST data that PHP will accept.
    , |  ?" C2 Y. w6 ~9 v. s2 C( \
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      o  c" M/ D/ c# v
  658. ; is disabled through enable_post_data_reading.
    : O: n( e8 v) }! K4 d- R- ]; O/ |) |
  659. ; http://php.net/post-max-size9 C, m0 r* \7 ^5 r% c
  660. post_max_size = 50M
    2 r. r! C) Y. c

  661. % |" {# u6 q$ {; K& ^" Y  Q$ z5 p- M
  662. ; Automatically add files before PHP document.* B, j, h) P8 L4 A" s! h# y
  663. ; http://php.net/auto-prepend-file
    ' L3 p( p; h( k- k" Z, S/ M
  664. auto_prepend_file =" r! \, U+ g2 t8 G

  665. % B- v6 c( @! o  Q/ M
  666. ; Automatically add files after PHP document., ~! p. A$ `9 }
  667. ; http://php.net/auto-append-file
    + h4 v6 y5 G* C" s6 |! M; t& u1 D
  668. auto_append_file =; x' _, S7 _9 F& T, p5 T1 e- n
  669. 2 q, ~! P/ w' ?( e0 f
  670. ; By default, PHP will output a media type using the Content-Type header. To
    4 H/ v3 t4 L9 ]2 ^" o
  671. ; disable this, simply set it to be empty.
      @6 m2 P# r/ ]+ E+ h
  672. ;" P% s1 d/ X# |; x( n- N! H- }
  673. ; PHP's built-in default media type is set to text/html." B, I) J+ G1 `
  674. ; http://php.net/default-mimetype
    : v  k' t$ X9 w3 D( k! E: X
  675. default_mimetype = "text/html"
    ( `  k& q. p& _' B( l

  676. ' l5 n- U* B( l% Z4 Y
  677. ; PHP's default character set is set to UTF-8.
    ) j8 U: I2 _$ q: `5 P: _
  678. ; http://php.net/default-charset
    % V' x' K) o+ g7 D$ m7 d3 E) M& B
  679. default_charset = "UTF-8"5 R: L9 ]2 n* r+ G9 C$ @- ~

  680. # G8 D9 a( h2 d& R% p+ ^1 b
  681. ; PHP internal character encoding is set to empty.
    & s2 \" c7 V6 @* J; Z  s
  682. ; If empty, default_charset is used.: o5 }! \! R6 n
  683. ; http://php.net/internal-encoding* w$ B: f8 K. O# J' \
  684. ;internal_encoding =
    / }3 E, V" z8 }# K1 n) K' B

  685. ! e/ g; h- o, t" X6 S
  686. ; PHP input character encoding is set to empty.
    % S2 n- Q* |. C3 _
  687. ; If empty, default_charset is used.: \; Q/ k. V7 r/ h. Q" Z2 p0 E7 t
  688. ; http://php.net/input-encoding( j( Y1 R3 L. |/ _
  689. ;input_encoding =
    ; s( g! z# I' `0 p7 a

  690. , }+ s! u2 f+ u# [$ E4 g
  691. ; PHP output character encoding is set to empty.
    ) o+ K: E% b0 V) P8 @4 @1 ~8 f: n
  692. ; If empty, default_charset is used.
    + i. T7 M6 b& h; m4 X0 Q5 y
  693. ; See also output_buffer.7 Q1 n+ K! ^* c7 @0 e
  694. ; http://php.net/output-encoding3 l  L9 T, B2 K% g4 K* K% ^
  695. ;output_encoding =
    $ N2 b, d2 o8 V1 T% e& }7 @, Y

  696. 0 w1 z# F2 l1 p, N
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is! X. m8 Z! s4 b' F; ?
  698. ; to disable this feature and it will be removed in a future version.9 w9 d; Z* K& i( s8 F' U
  699. ; If post reading is disabled through enable_post_data_reading,
    ' s7 t8 l4 o/ \! f1 X6 r! t; J
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated." _* G: D# _# |) T5 g, v
  701. ; http://php.net/always-populate-raw-post-data2 K+ g9 I8 D& e3 h" L9 H, \- k$ V
  702. ;always_populate_raw_post_data = -11 o# j  ]* _" D1 w- H% N, F

  703. 9 C" f2 y' K* q. P) b) e
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + l5 S4 Q/ e- D3 F8 w
  705. ; Paths and Directories ;
    $ W3 q, r4 W& D# m
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . J; [% Z: l6 |7 V  D0 e

  707. ; ^! f: Y0 N4 |" f4 c' w# m
  708. ; UNIX: "/path1:/path2"
    6 I" b3 k$ b; H" _8 R7 A( h
  709. ;include_path = ".:/php/includes"
    3 Y0 L) o+ N6 _! B1 _) ~5 n, b1 m
  710. ;
    / x5 {5 g- t& U& h8 U% D! h/ P8 z6 J
  711. ; Windows: "\path1;\path2"
    % |8 l+ ~% y+ C! _5 V5 k4 N* o
  712. ;include_path = ".;c:\php\includes"
    ' [' q& y, A' y0 j: e
  713. ;" ~3 y% Y) {. G/ `0 {+ L1 Y* B' z
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"" r, S* ^' W+ M8 _
  715. ; http://php.net/include-path$ X! p+ t( i% G" |" @, F6 i& j1 Y( c
  716. # r, |- F6 p. [. U8 y: g' z
  717. ; The root of the PHP pages, used only if nonempty.
    8 ~2 E# W. S/ A
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: C0 h. I3 P7 A* }9 g
  719. ; if you are running php as a CGI under any web server (other than IIS)' I. L/ C( {- c; h7 J3 e
  720. ; see documentation for security issues.  The alternate is to use the
    - l2 }, n4 g0 }) F7 x6 U5 H
  721. ; cgi.force_redirect configuration below5 ?1 C- e$ C" l$ |; }& m
  722. ; http://php.net/doc-root
      n  Z0 Q6 y% ?5 Y. J. S' a. m
  723. doc_root =1 }; y. H; a+ H. v/ ]8 J& w0 Q

  724. - H5 a& m3 N. X: c( F1 c( s# j% P' `
  725. ; The directory under which PHP opens the script using /~username used only' z4 E0 N, I/ `" J' e3 ^
  726. ; if nonempty.
    / C% o# S# W+ \+ m4 ^9 ?
  727. ; http://php.net/user-dir; l9 r/ s% R+ V& _
  728. user_dir =
    & v# L2 U9 B' J" K4 L
  729. : g, r5 c. v# g1 Q. a
  730. ; Directory in which the loadable extensions (modules) reside./ ?0 f, K% j0 D$ C* x
  731. ; http://php.net/extension-dir
    * O& a% T& \2 j- D! I, L
  732. ; extension_dir = "./"
    " b( _9 [$ K3 D
  733. ; On windows:0 [/ }% P! v8 k
  734. ; extension_dir = "ext"0 W) X3 e4 o. m7 s& m/ i' }7 \
  735. ! |* j. ~( D) ^
  736. ; Directory where the temporary files should be placed.4 ^7 l& `4 F( e% n- E
  737. ; Defaults to the system default (see sys_get_temp_dir)' A0 b+ }4 C; S/ X1 I" e
  738. ; sys_temp_dir = "/tmp"1 R% [2 h; Z1 j$ N4 @: D' U# y

  739. . f" l; F0 G/ N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ( O: l$ Y! x/ o5 f- ]. U' o
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ' F  k( W, i  W
  742. ; disabled on them.2 J* w6 H/ d$ j+ J9 c
  743. ; http://php.net/enable-dl3 y* o7 p% n9 q8 F
  744. enable_dl = Off# x5 |9 s! {6 ]+ T
  745. ( U' ~+ Q, f* Q3 d
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & X6 l  P1 m0 A9 z8 H
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    2 w' W8 }3 k) s' I* n6 x
  748. ; turn it off here AT YOUR OWN RISK
    3 o. T( }6 g, u
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 M- X) o9 j+ P& Q4 l8 H2 I) x
  750. ; http://php.net/cgi.force-redirect8 x( T( E' I$ X& G* f! o
  751. ;cgi.force_redirect = 1
    ! o  I9 b% E6 D4 s' m2 a

  752. 3 e7 [, }. c8 F% c- z: m
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & y6 d& h% n5 H" [
  754. ; every request. PHP's default behavior is to disable this feature.3 Y5 y% e; U6 }6 Y) @  u
  755. ;cgi.nph = 1
    * _5 v/ \  @7 k

  756. % j% f, h# o4 z5 e: h9 D, F
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / c) r- C' _% N& }6 b
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP  S( r1 D+ D& Z' ~
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) W0 [* s& v4 l- B, [$ T
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    6 T+ ]6 v) x0 I6 u2 E
  761. ; http://php.net/cgi.redirect-status-env$ F5 N3 w  _1 T9 z: j4 Z3 w
  762. ;cgi.redirect_status_env =
      r- Y1 a" P9 s" y7 a1 s
  763. 8 H+ }+ K* ^3 W5 n- H( b0 D
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* t+ @8 \* n  o* x  V  @
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 u- R; G$ [$ g5 ~2 e+ K; i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * d$ I( F( I+ x1 E* e; P, ^
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting( T* ?* i% j' W
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts1 \% P, q5 _7 v
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) `) V" i0 G8 V
  770. ; http://php.net/cgi.fix-pathinfo
    3 c6 H1 w# f6 {. [
  771. cgi.fix_pathinfo=1
    7 n. R+ R# g+ y1 M0 @+ k3 K
  772. * Q/ u+ o4 Q( A
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , f. |1 z# Z. F% f7 q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + X: e8 }( B9 F
  775. ; http://php.net/cgi.dicard-path
    " F! M% J: n; g9 h/ ~5 H( Z: q
  776. ;cgi.discard_path=1
    + z: H( D# e- C5 t
  777. 3 e2 E, F3 f/ F2 L9 [1 s
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 ~& U/ d$ ]4 L8 o) i
  779. ; security tokens of the calling client.  This allows IIS to define the
    " i. V8 Z+ c1 t! h. b1 i# o
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * @% e5 A+ H. U- q+ U" X
  781. ; does not currently support this feature (03/17/2002)+ L2 C& {/ S" u/ W. g* z0 y
  782. ; Set to 1 if running under IIS.  Default is zero.( C' W6 K. j! f8 J
  783. ; http://php.net/fastcgi.impersonate
    # Y3 _( P2 `6 ?/ F! X' _# r
  784. ;fastcgi.impersonate = 1
    1 t+ W1 r; g4 W$ u
  785. ; U! F( l' b3 V$ U
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ; K1 [4 f! [: V+ u6 _( n! u
  787. ; this feature.
    - Q6 u3 x* ^% G# i$ w
  788. ;fastcgi.logging = 00 ~5 w" R3 @6 q2 W

  789. - {# E* I- ~- L( c
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, P0 u+ u% }3 J) u. I5 n: U" m7 E
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    2 k( M' J- v, e. `: o8 x
  792. ; is supported by Apache. When this option is set to 1, PHP will send2 o, s, P! Z0 ~: h# j* |3 a. T
  793. ; RFC2616 compliant header.# K( G6 K/ i& Z3 t/ r3 d: Q3 A
  794. ; Default is zero.0 w8 [( b: v/ o4 |$ q, R
  795. ; http://php.net/cgi.rfc2616-headers
    ) Q% _$ Q  ^; x+ ~4 c
  796. ;cgi.rfc2616_headers = 0* d9 `+ l% d% S0 h  M
  797. $ Z% k& `- H+ |3 E5 f
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 o7 G9 M3 ]+ d& I5 L8 F
  799. ; (shebang) at the top of the running script. This line might be needed if the& _2 `, q. Y. h  X. ]- Y* |
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' V& b2 Q2 B$ U5 |6 f) D$ G
  801. ; mode skips this line and ignores its content if this directive is turned on.
    % y" c; E4 m7 n
  802. ; http://php.net/cgi.check-shebang-line, V! }. O% _) E4 m4 k
  803. ;cgi.check_shebang_line=1
    ) Y% {5 s9 m! p
  804. / Y1 H, X% E, c4 _# I
  805. ;;;;;;;;;;;;;;;;1 S! b3 q/ W; ^
  806. ; File Uploads ;! t- K' e, I' B  t2 ^% A7 d
  807. ;;;;;;;;;;;;;;;;
    " b% w7 o0 Z8 i6 R$ |+ t, O1 d& y/ [

  808.   Z  z* j* j9 N( t" w7 X  o
  809. ; Whether to allow HTTP file uploads.1 }, D: {, b  w
  810. ; http://php.net/file-uploads
    3 @! N- b2 B' ~9 O7 \
  811. file_uploads = On/ s% t3 W. K# N5 D

  812. 2 X/ A  w, S; k6 Q
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' i5 L7 p7 J, `2 P: O9 n  G0 x8 j
  814. ; specified).2 j( W  R( \7 E+ }6 N. R
  815. ; http://php.net/upload-tmp-dir" V1 q4 d# J% a: k% ~! B3 O7 c0 T
  816. ;upload_tmp_dir =
      V7 A3 X$ C2 ?2 p# ^7 _4 d

  817. 0 `* ^, b) j; w2 a
  818. ; Maximum allowed size for uploaded files.
    2 m, I& C$ A. p0 @. T1 ]: _7 J  N. ]
  819. ; http://php.net/upload-max-filesize
    * m* v* _9 y" l$ W9 Q9 g
  820. upload_max_filesize = 50M
    6 u+ K+ X" X' B& \7 Z" R6 c

  821.   X/ m% d5 O8 a4 |% O- o
  822. ; Maximum number of files that can be uploaded via a single request
    1 a& x# W3 e5 b+ A3 P. ~
  823. max_file_uploads = 20% j' J  ^  w% J5 i- V! q
  824. " l/ `$ N# O9 {0 U# a
  825. ;;;;;;;;;;;;;;;;;;
    ! k. S9 T9 D  Y5 @, J
  826. ; Fopen wrappers ;" e  C  ^: V! Q: x' j$ P$ u- [, u9 o
  827. ;;;;;;;;;;;;;;;;;;
    7 t# [. B: W2 q) ^" H9 U8 t2 F

  828. # ~" N4 H& N1 O5 V% H3 Q
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.' _/ [, j2 P' ?; ]& D6 x4 D, S
  830. ; http://php.net/allow-url-fopen8 r; E4 w$ n; n3 l+ ~" M/ v
  831. allow_url_fopen = On* N" {6 A2 z" n; y+ R: C
  832. * h$ O0 A: R" c4 D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 X1 N! h, N8 \5 A% U1 Z
  834. ; http://php.net/allow-url-include, N# F/ `# b! m' K, J: t6 j
  835. allow_url_include = Off
    ! W% i$ }' q  _% x6 y7 V4 ^
  836. ( c2 Y9 T* m1 }  E
  837. ; Define the anonymous ftp password (your email address). PHP's default setting; D/ w4 M$ X% w0 _
  838. ; for this is empty.. Z+ t. h0 v% I- ~# h$ q
  839. ; http://php.net/from# `" u( ^0 {! ~9 w: }
  840. ;from="john@doe.com"
    0 U" I9 |, W. r$ H% S
  841. & O+ @5 s$ [  b% J5 l
  842. ; Define the User-Agent string. PHP's default setting for this is empty.; B# K0 y/ f# W. A
  843. ; http://php.net/user-agent
    + u3 p8 Y$ ?+ s4 j
  844. ;user_agent="PHP"
    ) O8 s* A9 b  R7 g" |

  845. ; a/ R. z# [( Q7 `- a6 ?7 F- l
  846. ; Default timeout for socket based streams (seconds). N9 f* K6 P; u
  847. ; http://php.net/default-socket-timeout$ M* x0 ^& t! y
  848. default_socket_timeout = 60
    ! `+ y; }" `# J0 P5 Y
  849. 6 o7 A1 ~: M0 i* ?  I: \" W- C
  850. ; If your scripts have to deal with files from Macintosh systems,
    2 ?, o* I8 n6 N: T
  851. ; or you are running on a Mac and need to deal with files from
    # h8 R" e2 b( I- M# k  |, R
  852. ; unix or win32 systems, setting this flag will cause PHP to- V% G) j6 C* \; \. R
  853. ; automatically detect the EOL character in those files so that8 V) u5 _4 o4 S- I! B- x
  854. ; fgets() and file() will work regardless of the source of the file./ J: m" \. b8 |
  855. ; http://php.net/auto-detect-line-endings) p' m, a. j8 G  v8 w) L. T
  856. ;auto_detect_line_endings = Off
    $ Z) Z. {! d$ x$ ^
  857. - V8 m1 s  F) Y
  858. ;;;;;;;;;;;;;;;;;;;;;;
    / {# h* E, S% a, H# E- x) N
  859. ; Dynamic Extensions ;3 ^8 z4 V% ?3 i( N( E
  860. ;;;;;;;;;;;;;;;;;;;;;;
    6 o9 d/ W. Y. B' f
  861. 1 o& z6 h& e% w0 b/ {
  862. ; If you wish to have an extension loaded automatically, use the following( ]4 m; n1 s4 m6 U% s1 {/ Z' R3 G
  863. ; syntax:- C  b7 x6 r% P! g- ^# e/ u
  864. ;$ _3 g$ _. |* w0 L& H" u0 K  O/ e
  865. ;   extension=modulename.extension
      b" j9 b2 \' s$ e$ I6 @+ V6 T
  866. ;( i4 ]! X* ~& V9 U% H' j
  867. ; For example, on Windows:
    3 x! U0 @( q5 h6 F% Z
  868. ;7 ]2 {5 a4 j/ X
  869. ;   extension=msql.dll
    8 C/ C4 v' {; e
  870. ;7 L) x4 i" ^' h5 n# q) p
  871. ; ... or under UNIX:. r/ O  t! e! ?+ J# @
  872. ;' |- ?, O1 @) `: h
  873. ;   extension=msql.so
    ) d. j: I- i' ^" z; S
  874. ;1 {. B9 Y. e2 y" B* L' ^4 Q6 P
  875. ; ... or with a path:. a% j; `0 W. j  z' a6 B: P$ Q
  876. ;
    ( h7 L; j! H: C% m" z: X7 Y
  877. ;   extension=/path/to/extension/msql.so
    ' ?! K- w& L& ]* N" ]9 i& f' U  ]
  878. ;$ Q; R* J0 V0 h" g
  879. ; If you only provide the name of the extension, PHP will look for it in its
    . ^8 W! p' p1 H+ ?
  880. ; default extension directory.' b' d" `5 _' Z$ |" f3 P0 k
  881. ;
    * w' F# d5 n4 c
  882. ; Windows Extensions4 i4 t  F8 U* t. P# {( w5 l
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    7 f0 [7 @0 P5 l7 \5 ^
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    / Q1 l2 V/ q- J/ s1 O
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).& @0 B8 r6 |# [# q! g! h5 D9 j
  886. ; Be sure to appropriately set the extension_dir directive.
    ' R$ L# G* G' m1 l+ @
  887. ;
    " M2 X' f! I( S
  888. ;extension=php_bz2.dll* q9 t% Z& S. S, D5 B
  889. ;extension=php_curl.dll
    % k* Z/ ?3 [) r5 Y9 t# C5 m
  890. ;extension=php_fileinfo.dll5 i; r0 d. R: \4 e9 t9 h
  891. ;extension=php_gd2.dll+ l. K  {3 [) K  e% k" I' G  r7 ^
  892. ;extension=php_gettext.dll
    7 g7 i# [5 c- q8 |& B& W" {
  893. ;extension=php_gmp.dll( V3 i; E* k3 J* w( ?! j
  894. ;extension=php_intl.dll& d# v* P/ O1 X. E: F- t
  895. ;extension=php_imap.dll3 @2 ]& b4 O; {& u# _8 I
  896. ;extension=php_interbase.dll
    ' c5 V5 N' t6 a/ Z
  897. ;extension=php_ldap.dll+ y! O1 z  W. h( V6 G3 Z
  898. ;extension=php_mbstring.dll4 m1 J$ l! A& u2 u4 [
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    0 i1 L5 o& i: e: S% B; a
  900. ;extension=php_mysql.dll0 l) i- U+ n8 t( d6 g" K) x9 X
  901. ;extension=php_mysqli.dll
    , ?* z/ `  H* |" A  ^1 C4 M
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 j. b, j. Z; n6 s8 J
  903. ;extension=php_openssl.dll
    " C2 b2 v& ^( U' t
  904. ;extension=php_pdo_firebird.dll
    # l- Z9 C( w! A" |0 j9 P$ @
  905. ;extension=php_pdo_mysql.dll0 Q2 k* Z( N, t1 ]( _
  906. ;extension=php_pdo_oci.dll
    3 r) F8 n2 K; ^% Y5 `' [8 C# p
  907. ;extension=php_pdo_odbc.dll; d' C: O2 ^* E, k* ]" W; N6 N
  908. ;extension=php_pdo_pgsql.dll
    ) ?5 C# w& }* M% _) R/ W! X' \
  909. ;extension=php_pdo_sqlite.dll
    & E3 R9 ~/ ^$ }& z" }/ T
  910. ;extension=php_pgsql.dll
    : Z- `$ t0 o5 s) P7 N/ E/ \7 t
  911. ;extension=php_shmop.dll
    9 c; U7 b! m8 O% e1 Y1 s

  912. 5 M9 Q& V/ m# R* m6 J. a* w& t
  913. ; The MIBS data available in the PHP distribution must be installed.
    * A" y$ t& t# g! J/ K
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    1 g& K& ]6 t. D6 W
  915. ;extension=php_snmp.dll4 P( C8 n5 E6 @& D2 {# i  E

  916. 3 C2 W  t% b% I5 u/ O
  917. ;extension=php_soap.dll
    " c9 C1 h' H! a0 t/ w) `
  918. ;extension=php_sockets.dll% b8 V+ f. Y& f+ k# W: u
  919. ;extension=php_sqlite3.dll$ W- B$ h- a6 j: H, L  p( N
  920. ;extension=php_sybase_ct.dll% N1 {' r1 z3 u& E
  921. ;extension=php_tidy.dll- ]. ~  w; F# A, D
  922. ;extension=php_xmlrpc.dll% U- M2 l) N1 o; y. k/ N' P' c4 T
  923. ;extension=php_xsl.dll
    ) e! D" Z$ B$ d6 Y, C3 R" n1 h
  924. ( A! L  V2 S4 N
  925. ;;;;;;;;;;;;;;;;;;;
    " d2 n/ q, U7 e- n+ n8 r
  926. ; Module Settings ;
    4 L3 e: R3 r* O& R7 H2 e
  927. ;;;;;;;;;;;;;;;;;;;/ G5 E2 p; k1 M4 u7 f1 W% w
  928. 4 E3 g  F5 U/ T  n5 V( P! q
  929. [CLI Server]
    3 s0 _; f! L4 U* ]3 o  I
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    1 L. H! d0 Q; L; D& K$ N& |) h
  931. cli_server.color = On0 }: X! G% x& g( @

  932. 5 l- y2 u( O0 H1 a- b7 [
  933. [Date]6 ]3 [3 O& E& q; D# F* z
  934. ; Defines the default timezone used by the date functions
    : X3 U/ H: n+ Y8 w) v
  935. ; http://php.net/date.timezone
    ! \- |1 q3 g2 T0 I% \. V8 Z$ p8 f" r
  936. date.timezone = PRC
    + i+ I6 M4 |! {1 V" V; u
  937. + `+ i$ X; B' N( K. B- ]! I1 d
  938. ; http://php.net/date.default-latitude1 ?! z9 V9 @: e) K! |0 ]
  939. ;date.default_latitude = 31.7667
    5 c8 W' N4 {/ Q7 Z% g

  940. / q3 w; S8 R9 k2 V2 Q6 ^) H+ E# U
  941. ; http://php.net/date.default-longitude' t( J* H. ]* a2 b8 ~! r5 K
  942. ;date.default_longitude = 35.2333
    ' d- z  u2 n" ^/ b9 {

  943. , P- R7 M7 u$ a* t# C+ j
  944. ; http://php.net/date.sunrise-zenith
    3 D7 i. Z  K# `! Q$ S% d5 G% `9 H
  945. ;date.sunrise_zenith = 90.583333
    * t" O* H0 c! M1 v
  946. 1 V' P, L* J+ v- F
  947. ; http://php.net/date.sunset-zenith7 Q& m' G( P& S" I, C; H
  948. ;date.sunset_zenith = 90.5833330 {" d7 s4 A, z1 a+ A
  949. ; ^+ j2 y# g4 G( \7 @  d& A
  950. [filter]
    0 q' H% _* L" X0 n
  951. ; http://php.net/filter.default
    $ V# h8 _6 d9 x1 h
  952. ;filter.default = unsafe_raw  d: E: p4 g" ]8 \6 |; p5 b2 ?

  953. $ ]% U( @# z$ O1 m) C6 p: D( }% K
  954. ; http://php.net/filter.default-flags
    * B* |, I0 {6 |5 \* m
  955. ;filter.default_flags =' c  V% \. G4 s( E7 v# @
  956. 3 a. ~% l& O2 U9 m4 x* u
  957. [iconv]/ @7 C2 A4 u5 ~
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; s; z) Q7 s& v" q
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # \% ]5 F* D4 x3 Q5 L; A
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 e  Q( ~$ p' }& i! j0 ~' C* |
  961. ;iconv.input_encoding =
    & K# O" s8 k; L( V/ @

  962. ! M" K5 t( X4 H  [9 ~1 a; f
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 V- Y+ ?/ |. B* y. }5 T
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 Y1 k3 `# Z$ k
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 i6 q7 j+ V7 ~  v# k' y( D
  966. ;iconv.internal_encoding =7 i$ i! I' s$ W: G0 U) L6 l
  967. % N) H2 D: o& o/ k, u
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.3 V, o* u. n, t6 c' H
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 m; V+ q. S8 K4 _, h2 r4 C$ e
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ( i0 w# R% X/ R/ X6 k; I) ?
  971. ; To use an output encoding conversion, iconv's output handler must be set
    7 _  F6 c7 q6 J' x2 t5 o/ [0 C  m1 k
  972. ; otherwise output encoding conversion cannot be performed.( w6 V) q- b4 S8 Z; N- h9 X
  973. ;iconv.output_encoding =8 l9 Y( B( V% K) I- @" Z9 _

  974. , }1 U0 H7 r. i! p4 h6 p7 F
  975. [intl]
    + f; w3 F" ?% p! N2 h
  976. ;intl.default_locale =& d3 ]6 Y. ?9 B) ]3 Z. x
  977. ; This directive allows you to produce PHP errors when some error( h0 D! i! a9 |! s0 E5 r. G2 j% U
  978. ; happens within intl functions. The value is the level of the error produced.  o2 u4 h' h! u) h& J/ @  g3 \5 E. h
  979. ; Default is 0, which does not produce any errors.
    - P) T- T+ t  l! l# _
  980. ;intl.error_level = E_WARNING/ [9 D. x, W0 [: z$ ]! f1 B
  981. ;intl.use_exceptions = 0
    & ]+ r- p7 x6 Y

  982. " D! Z2 s2 B% e  F  M
  983. [sqlite3]. y1 l) r/ x# w) H2 i5 w
  984. ;sqlite3.extension_dir =  L% z9 @8 s* ]& N

  985. - _6 f* _8 G3 v4 F
  986. [Pcre]
    ! T0 H; e  V; m3 A2 _
  987. ;PCRE library backtracking limit.. T' a2 |' s& \
  988. ; http://php.net/pcre.backtrack-limit
    ( r/ E; L$ W8 \6 C
  989. ;pcre.backtrack_limit=100000
    / _% Z& r' r+ S* U. N, p6 G
  990. ! P" k9 b4 ^* l6 Q) W
  991. ;PCRE library recursion limit.0 O) K: Z6 {$ w5 l" |$ N% i
  992. ;Please note that if you set this value to a high number you may consume all* N# Z2 T- G5 @
  993. ;the available process stack and eventually crash PHP (due to reaching the
    / I! ]. U7 Q5 u: J! _/ N# [
  994. ;stack size limit imposed by the Operating System).9 r! N% y. w/ f4 P( G6 M' O
  995. ; http://php.net/pcre.recursion-limit
    + {6 D9 _. y* Z  L2 }
  996. ;pcre.recursion_limit=100000$ G$ {2 M# i' O8 K2 k7 |4 Z7 G
  997. - C1 J) b' I7 t9 H
  998. [Pdo]
    5 O0 A% G' ?  U% [3 t/ x+ Q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ M5 P& J) W% f! V' j; ~5 C
  1000. ; http://php.net/pdo-odbc.connection-pooling
    4 b/ ^0 s4 L! _
  1001. ;pdo_odbc.connection_pooling=strict1 M0 @7 T# H7 {$ y' ]6 r  Z+ g

  1002. 9 T4 T3 G7 j! A4 s( X
  1003. ;pdo_odbc.db2_instance_name
    $ Q. D1 b2 Y$ N5 Q
  1004. 8 o4 s) h  A" D+ p9 [  Y
  1005. [Pdo_mysql]* P" P& w, F( n9 W* ?  ]
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 d: K  g, D6 }5 {9 U
  1007. ; http://php.net/pdo_mysql.cache_size
    * K- s' K9 A8 O$ F% Q' U) O
  1008. pdo_mysql.cache_size = 2000
    3 S; D. f( L3 L

  1009. ; R* M" L0 P, Y- D" f# g3 T  w
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in, E5 U' e! [( F& g; Q; Y
  1011. ; MySQL defaults.  {# c0 o5 V4 w
  1012. ; http://php.net/pdo_mysql.default-socket
    3 e$ ]& S! b7 ~3 T2 i5 k# }
  1013. pdo_mysql.default_socket=
    7 T; R8 l# m# K1 n$ E

  1014. / F9 }: U7 k& I% l
  1015. [Phar]
    ' g5 t- G& V8 r% t& g6 u& s- o  i/ `
  1016. ; http://php.net/phar.readonly( r1 x9 V8 l8 H* [6 T
  1017. ;phar.readonly = On
    ( j# P6 V( U* ^) [; v8 X
  1018. + M8 z4 H1 t+ r4 q* s4 n& f; P$ A
  1019. ; http://php.net/phar.require-hash, N% Q( h4 ]9 e2 \% n
  1020. ;phar.require_hash = On6 j, ]; w( p; C% e* z

  1021. % ~6 p' X) x( q) y+ o
  1022. ;phar.cache_list =
    " X, d. l5 g9 J8 W; i
  1023. ; `6 X  y* O% {$ p1 t+ A
  1024. [mail function]
    * O& z$ E; E3 o1 p
  1025. ; For Win32 only.+ p0 a0 ^" C1 N! C) F) ^$ R
  1026. ; http://php.net/smtp' u9 f: Q0 Y$ v- H! B7 q7 ?+ X
  1027. SMTP = localhost
    5 S6 D% E9 S8 a1 [
  1028. ; http://php.net/smtp-port
      A( M# b) T1 i/ e$ s- b% Z
  1029. smtp_port = 253 \" C) T# J" L' C2 e3 l" [
  1030.   v5 G& ~' q  V
  1031. ; For Win32 only.
    ) @# L1 ^  i* N  \! L
  1032. ; http://php.net/sendmail-from/ p8 K& n2 E" t* ~
  1033. ;sendmail_from = me@example.com8 G, Q- f( @, h( |

  1034. ( C1 K& T9 y4 m7 V- {% y+ m! p& U
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: _* y+ q  R) X8 Z+ x8 i5 d
  1036. ; http://php.net/sendmail-path; r/ n/ F8 p" M4 E5 M! B
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    % A! c+ M/ o1 }" A  `3 {* T% _' y

  1038. * [3 I9 V# \" l9 P6 M
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    : t: U% F  [+ |
  1040. ; to the sendmail binary. These parameters will always replace the value of
      [& [# H1 n% C2 _$ Z* w1 r
  1041. ; the 5th parameter to mail().$ n' |+ [1 T8 F+ D
  1042. ;mail.force_extra_parameters =
    - f) M5 H: Q; J. D' ~+ X

  1043. & x7 R  Q2 |9 E
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( H- k2 O4 k1 b+ z& a$ L
  1045. mail.add_x_header = On0 M( N" a0 }& U

  1046. 4 C1 h& p  j. l
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    4 u- P0 h5 W4 r7 `  h
  1048. ; the full path of the script, line number, To address and headers.
    : }, X# c: H3 B/ P! v
  1049. ;mail.log =
    ) o3 V- n& H1 K
  1050. ; Log mail to syslog (Event Log on Windows).  }' @( N8 M$ `
  1051. ;mail.log = syslog1 Q$ N1 k! `, ~7 m9 H

  1052. + T4 }6 q+ Y& M' P
  1053. [SQL]
    # X- x; |6 u* a" S2 s  H
  1054. ; http://php.net/sql.safe-mode
    ; T9 ?& p3 @- ]: O6 q
  1055. sql.safe_mode = Off
    7 `: O  |" P4 w, ~
  1056. 6 P0 X9 p4 [- H2 F
  1057. [ODBC]+ G: N+ W3 t+ [& K
  1058. ; http://php.net/odbc.default-db
    1 D( U$ h' B2 t9 P1 s: y( I
  1059. ;odbc.default_db    =  Not yet implemented
    7 }; y: {# ~- w2 [+ f( X0 C& k3 Y
  1060. / a6 S5 ?1 F5 H
  1061. ; http://php.net/odbc.default-user9 q! L% F1 K/ T6 o
  1062. ;odbc.default_user  =  Not yet implemented- M' X1 S  P" q7 X. ?6 r8 j
  1063. 1 F( ?, l5 l1 X, a( F# Q0 r! q
  1064. ; http://php.net/odbc.default-pw
    : `+ E* h9 T! p4 |$ T
  1065. ;odbc.default_pw    =  Not yet implemented, Y$ A  Y( {8 M% J. Z9 s% S' Z
  1066. & Y5 d" F3 K. ?. X: e1 z8 u
  1067. ; Controls the ODBC cursor model.
    ( W8 N7 z# A  |
  1068. ; Default: SQL_CURSOR_STATIC (default)./ T( i4 l8 U- V0 T  F. ]4 B5 @
  1069. ;odbc.default_cursortype' i2 i  r. x; m' R  }' Y& y. r8 J
  1070. , Y* U" a3 g3 @+ O
  1071. ; Allow or prevent persistent links.
    - B6 {+ ^. R: v' ~3 D5 V: b
  1072. ; http://php.net/odbc.allow-persistent
    6 v2 X+ ?6 k+ g. Z2 i: o
  1073. odbc.allow_persistent = On, v, c, y$ L- w1 d- j8 i" n

  1074. . ~  c  o: Z% S7 F  y/ T6 I5 B" K  k
  1075. ; Check that a connection is still valid before reuse.
    1 t  E0 C; D5 m8 K" @7 F
  1076. ; http://php.net/odbc.check-persistent! p6 m7 {4 @5 P, g+ I
  1077. odbc.check_persistent = On
    : ^7 C' s$ T8 V9 `  X3 H: Y

  1078. / [  Z) ^& ]0 v" W, W) Q# S
  1079. ; Maximum number of persistent links.  -1 means no limit.
    / {! L6 v$ _) B' O# H0 I9 [
  1080. ; http://php.net/odbc.max-persistent
    7 v1 ?2 G5 u0 R% o  c4 q
  1081. odbc.max_persistent = -14 v! o+ H% K) p* w. N8 L/ b& L

  1082. " n4 L4 d# d3 H! Z- R2 E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ ?3 h7 ^* r6 C
  1084. ; http://php.net/odbc.max-links
    : {& V. M  G' L$ L: b
  1085. odbc.max_links = -13 C, _: G: a& I) _  ~
  1086. - b* Q- j0 z8 |6 [2 k
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  r7 G) I4 {7 p. [
  1088. ; passthru.
    6 @) m% E7 V0 T$ m4 v
  1089. ; http://php.net/odbc.defaultlrl
    % W2 R1 c) D7 H' m. C
  1090. odbc.defaultlrl = 4096# c1 ?8 q/ F8 |/ B

  1091. 6 _# T( V" u: u/ X, }
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    " W6 _) }) _% O8 O1 A
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( l7 w- _/ n. l' X, w
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    & P* h; \4 M' J" h7 d: W) L9 w
  1095. ; http://php.net/odbc.defaultbinmode9 g4 i4 M6 v# b- `
  1096. odbc.defaultbinmode = 1
      m' b9 p. d6 m2 r: {7 o
  1097. ! i* H4 I( F- i; p
  1098. ;birdstep.max_links = -1& O! b5 W( E, @( q! i

  1099. $ a$ y# q# a0 |3 f- j
  1100. [Interbase], J; f$ _7 ~4 ^# e1 F- v
  1101. ; Allow or prevent persistent links.5 S$ I- \6 A0 O0 w
  1102. ibase.allow_persistent = 14 L; C* Z; l4 k8 a. o8 ~

  1103. + T2 k8 t) z" M6 N
  1104. ; Maximum number of persistent links.  -1 means no limit.
    2 Y7 l, x1 d' c2 k2 @5 |- z
  1105. ibase.max_persistent = -1
    ' G3 \1 R' Z5 f, S" c4 @5 `

  1106. 2 N2 H- ^% {, N! k/ U
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 u) j  S! b) ?) p  y; A. W9 ^7 ]
  1108. ibase.max_links = -1
    0 v2 C; A/ P0 R7 x& G
  1109. % b# h: L2 [, K/ q3 T3 a* L5 k
  1110. ; Default database name for ibase_connect().
    9 R  r3 K% l5 C  i: H+ ^) g
  1111. ;ibase.default_db =8 c8 e# p$ K8 r9 R# @6 a

  1112. ( o9 o7 V1 G2 {) M0 U# t& y
  1113. ; Default username for ibase_connect().9 w' q* z  m4 q7 d! u1 J
  1114. ;ibase.default_user =' U) o, u2 J0 B0 w( v- R

  1115. 9 N: G4 ~& X/ n. G# B
  1116. ; Default password for ibase_connect().
    $ u% m, f/ c7 }5 O* `: P* z
  1117. ;ibase.default_password =
    * A3 y' I7 x1 `) Z5 o4 a5 B

  1118. $ U3 [7 I- Q5 ^: O0 N, \
  1119. ; Default charset for ibase_connect().+ O3 v  ~! ]: j$ R+ B3 K9 m* z
  1120. ;ibase.default_charset =1 l! T$ N! v/ J+ }5 J% g

  1121. 9 V! y2 _( i# z  y. w7 _
  1122. ; Default timestamp format.
    / X& {! K2 u2 f$ T
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ Y. e' c7 ~0 |$ n' D, h

  1124. # m& a% J3 Y1 K# N
  1125. ; Default date format.
    * k: u+ g2 _) a0 k# Q1 n
  1126. ibase.dateformat = "%Y-%m-%d"0 ^9 ~7 m- y. F- {, s- F

  1127. ! j. n0 @4 c  p5 y
  1128. ; Default time format.
    1 e: C" o3 q1 x- j$ g
  1129. ibase.timeformat = "%H:%M:%S"
    / ^, }- k* c- a
  1130. 1 \- |8 j: J4 D% V
  1131. [MySQL]
    * K! c% Q, I+ _2 l0 Q) E5 B
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# A& @( I* W3 B
  1133. ; http://php.net/mysql.allow_local_infile% g, O+ W) B" d3 V% f- I% t
  1134. mysql.allow_local_infile = On
    4 c# m+ W" L% l3 P& v2 }2 ]/ q$ a
  1135. 8 z& s6 |- G# ~* H% Z$ [! S
  1136. ; Allow or prevent persistent links.6 Z3 ~, _( Y* x
  1137. ; http://php.net/mysql.allow-persistent
    7 W9 S- f8 n1 Q% H4 d# n! ^
  1138. mysql.allow_persistent = On
    + A" S0 p7 M8 ]  N# A: Y. [; {

  1139. : z- m" P: M: J4 c7 o* c
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( q0 b8 A8 k+ b: c1 |3 I% X9 D
  1141. ; http://php.net/mysql.cache_size
      P; v1 P; g) I9 }8 w
  1142. mysql.cache_size = 2000
    # G0 K9 ~- u; S! x/ [" |7 ~

  1143. 4 |0 o2 ]0 U: o/ i" w
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ) N3 w5 r# ?( `: }0 `
  1145. ; http://php.net/mysql.max-persistent) S7 b/ F* T# _
  1146. mysql.max_persistent = -15 C3 ?: @* @" `) v8 S5 o' {
  1147. 8 V) {9 ~0 \/ ]7 L9 W
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) u# `& L9 J5 r+ @. C
  1149. ; http://php.net/mysql.max-links* B- M, }5 e) k2 n; j) a
  1150. mysql.max_links = -1
    1 D/ l) Z6 ~: g# \5 u# M

  1151. 2 c3 X5 n4 q9 c" z) N( w
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    : [; x% j% f! W; I
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) v6 h5 W* w/ Z# C5 c; ]6 q
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 c! f/ D% i2 _5 @. i3 {
  1155. ; at MYSQL_PORT.
    , ]! E& v% c1 h, G, ~
  1156. ; http://php.net/mysql.default-port# A+ w; F; N! k# Y6 r0 _' ^
  1157. mysql.default_port =& i9 M. M6 `* F4 ]

  1158. ) t" u4 J' z' A1 B8 }
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + t- f$ _7 B: X/ F5 k
  1160. ; MySQL defaults., {! a7 O* K9 l5 ]0 U
  1161. ; http://php.net/mysql.default-socket
    0 `8 u4 N- F- Y
  1162. mysql.default_socket =! M  c; B8 K7 H1 p4 x
  1163. 4 ]7 e* E) z! j  M1 k7 O1 j
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; p7 x: s" l& z9 w/ p" Z
  1165. ; http://php.net/mysql.default-host
    - T. W9 F1 X( f3 m1 B$ M
  1166. mysql.default_host =
    : J( l+ _# S- l& @) D# u& u

  1167. " L9 i2 S, K) _5 Y. U
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).' E$ S7 A% e2 k# D* c0 Z
  1169. ; http://php.net/mysql.default-user( l3 `9 ?1 i2 b  |( R7 X! n, ?
  1170. mysql.default_user =
    0 P7 P( R* |; x1 d* f
  1171. 3 c4 V5 S4 x: j/ Y
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).1 G+ n' N, f$ x' I! J9 H0 H
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; ~3 z  L$ _$ I
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 k! a8 B, j$ [3 ^& e
  1175. ; and reveal this password!  And of course, any users with read access to this* [- {1 h+ ^  l2 J2 }7 g
  1176. ; file will be able to reveal the password as well.
    0 A0 W  u' Y0 }8 q: `7 }
  1177. ; http://php.net/mysql.default-password( t. f! {& ^* e
  1178. mysql.default_password =
    + q( \$ x6 x. s) j9 [  z5 j
  1179. * \' o4 h, j9 X" S
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit5 z* t' V' q9 Q( h  U( f, y
  1181. ; http://php.net/mysql.connect-timeout# F, m1 Y( J8 ?: `6 r* u
  1182. mysql.connect_timeout = 607 v/ |, y# m0 N9 V

  1183. 1 t& y% A# d& M2 f, Q
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ( p5 U4 v- R) g/ r
  1185. ; SQL-Errors will be displayed.  a, X$ [, l5 T1 q( W7 i* L
  1186. ; http://php.net/mysql.trace-mode
    ; Y& v4 {  H# a0 i& K
  1187. mysql.trace_mode = Off' x7 W7 U! ^- x* X3 S) s- G

  1188. . j# {) O, N  k. s
  1189. [MySQLi]
    1 }0 w8 s* D& Z! Y5 z  a

  1190. / z) Z: D  u; u* D
  1191. ; Maximum number of persistent links.  -1 means no limit.. v, ~. G: g0 V
  1192. ; http://php.net/mysqli.max-persistent& w% p( n( M7 N" p9 f1 e& U
  1193. mysqli.max_persistent = -1% o3 J' ]+ y2 a6 ?
  1194. ! B. @& u7 S1 X$ U7 j! U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 b& L, b& v* }. C
  1196. ; http://php.net/mysqli.allow_local_infile, k/ q! r: a1 y! f$ L
  1197. ;mysqli.allow_local_infile = On5 |- {; ]7 K9 P4 W$ b% o& i

  1198. 7 ?# [; }# b' K: _
  1199. ; Allow or prevent persistent links.
    ) ?6 u6 a2 U5 T9 a9 ], D+ H
  1200. ; http://php.net/mysqli.allow-persistent
    5 x3 K/ d6 S1 s# q" y8 ]1 M
  1201. mysqli.allow_persistent = On
    1 _5 p6 L' [" H! ^$ b1 J. n
  1202. 1 D4 P6 f# E8 }; y5 |1 r. v8 a
  1203. ; Maximum number of links.  -1 means no limit.
    * Q/ M1 H3 D' A
  1204. ; http://php.net/mysqli.max-links7 t& ?1 L' n0 m! z* z) T
  1205. mysqli.max_links = -1
    4 M& \( |! ]. ~  i2 `1 |2 p- u

  1206. : {8 D1 z, I0 G7 v
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 q/ Y& z+ m% t! L9 P9 z8 @. @
  1208. ; http://php.net/mysqli.cache_size
    # |7 L" t" V* {5 T2 }% }, q
  1209. mysqli.cache_size = 2000
    ' G. b; `3 ~) D. C( l9 B" v
  1210. : \7 f  I, }% [9 r9 f+ f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( R9 n4 P4 k/ T' O' j8 c3 V' @( ^
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 L4 a" |+ N% F: j0 ]/ y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ }- G1 g2 J* Z% M6 m
  1214. ; at MYSQL_PORT.
    ; j% |' o. q7 x7 b
  1215. ; http://php.net/mysqli.default-port# a2 q9 x2 L- ?& ~
  1216. mysqli.default_port = 3306
    7 z2 \/ L) j9 ]/ W8 A( w3 }1 k
  1217. + p, v2 A$ f! S; J8 T# u
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 R& R/ M* W" p; q; y
  1219. ; MySQL defaults.) C7 z* j7 u. V7 j8 D6 U( o
  1220. ; http://php.net/mysqli.default-socket# g6 T6 @1 K3 a1 P: V
  1221. mysqli.default_socket =
    ' T, P: p3 B; g2 T- s

  1222. 4 }5 _$ @2 [2 P% X1 [# m
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : n' Z. Z* ^+ \% N+ _* ~0 P
  1224. ; http://php.net/mysqli.default-host
    % m# {# T  G" V5 u0 ]
  1225. mysqli.default_host =3 V8 O8 d+ F+ n3 J& n
  1226. / V8 W/ Q; j/ h8 K7 o# f
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).- o% `9 R* d3 K, O
  1228. ; http://php.net/mysqli.default-user+ o3 m8 M, U8 a+ K- T
  1229. mysqli.default_user =
    ! S6 E* g/ z5 d

  1230.   M) {3 f$ p" \' t
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 M; Y8 E3 x4 n3 }4 _
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.# w5 u+ p) [3 N
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 j2 I$ }! {* |& E( C
  1234. ; and reveal this password!  And of course, any users with read access to this/ s' Q/ s6 g' k: y6 |$ s* t
  1235. ; file will be able to reveal the password as well.. |2 i& u6 @# t3 h! K5 n+ W
  1236. ; http://php.net/mysqli.default-pw8 }' b' Y: |7 Z, N# \. ~
  1237. mysqli.default_pw =
    % Y7 ~: P1 B4 w& ?6 n& y0 ]

  1238. 5 t: R% _, A) O- h' H, Y# z
  1239. ; Allow or prevent reconnect7 x+ d9 a0 ]  w- W
  1240. mysqli.reconnect = Off
    * @( g! t+ S; x# L  B6 ~

  1241. 4 b7 Q2 n# t- ~. @
  1242. [mysqlnd]3 y1 q* g2 O- c1 }: I: L
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be2 G4 j; @4 Z% @! G; `" z% F' \
  1244. ; used to tune and monitor MySQL operations.7 ?4 ~4 a6 W5 R# U8 o
  1245. ; http://php.net/mysqlnd.collect_statistics$ B  g6 ^4 x4 b6 z9 I
  1246. mysqlnd.collect_statistics = On3 c# Z( L% ~1 E' }4 l+ ]3 p

  1247. - l- @% n0 E  y' P/ O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 e, S- e+ m/ N: ~. a, K3 f
  1249. ; used to tune and monitor MySQL operations.
    1 s0 Y" l, h" f
  1250. ; http://php.net/mysqlnd.collect_memory_statistics) D# q! h3 H! F9 _2 z$ x
  1251. mysqlnd.collect_memory_statistics = Off) t- Z) o$ b3 p, t$ r
  1252. * w2 E1 ?- `- G: [  K
  1253. ; Records communication from all extensions using mysqlnd to the specified log3 M0 w/ o  `' S# p  z
  1254. ; file.
    $ J  _1 X+ M4 r" ^2 N: g( |
  1255. ; http://php.net/mysqlnd.debug
    # ^8 P0 ]% G2 M  T
  1256. ;mysqlnd.debug =
    6 k) u- d7 V! k0 b4 N. p
  1257.   g1 x/ d/ l# N; b) T* c
  1258. ; Defines which queries will be logged., J8 b) ~7 J3 Q# ^: d* f3 ]
  1259. ; http://php.net/mysqlnd.log_mask$ N- x& P. S( r, d6 u
  1260. ;mysqlnd.log_mask = 0
    - f2 b. C; e( h% i
  1261. ( W$ |5 r3 c" ]) O1 D" e8 ^, ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    9 l! |! c: T- m3 V* J2 X
  1263. ; http://php.net/mysqlnd.mempool_default_size8 g; Q& l) K7 [! B- {
  1264. ;mysqlnd.mempool_default_size = 16000! A0 Y# G6 q( o
  1265. * c1 q; I9 w) \0 g# @
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    7 E  \! ?. X5 t7 T
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size( C( r# ~" P; N! d3 L1 `
  1268. ;mysqlnd.net_cmd_buffer_size = 2048; w" c2 p, V% x

  1269. / Z* k, A, v* C- ^
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 l7 g( A7 O+ O4 d4 z
  1271. ; bytes.0 b7 w" ^4 D7 \7 t1 J
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    / k# ^' W3 X3 P' {9 ^
  1273. ;mysqlnd.net_read_buffer_size = 32768" L+ A" B5 f( O7 P; H

  1274. 2 Q; Q' Y6 |/ o1 ?( |+ F
  1275. ; Timeout for network requests in seconds.7 V6 Z' M) Y* Z. u% `& c
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' [7 @, X9 t" f, a
  1277. ;mysqlnd.net_read_timeout = 315360005 \4 O4 Q9 j2 Y* |+ \
  1278.   G( g! r3 O: M9 j" {# v' F
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 w  o- ^: t; ^* l9 V; E; }8 ^
  1280. ; key.# }0 }' B( T* F/ x( F  y
  1281. ; http://php.net/mysqlnd.sha256_server_public_key& G. N) T' L2 X5 r  U" x8 R
  1282. ;mysqlnd.sha256_server_public_key =% _$ @4 ~" X, j

  1283. 8 C# [4 v  N/ Y5 V. v
  1284. [OCI8]
      @* z4 F' x$ c5 Q5 W7 a% C
  1285. 3 h6 O1 Z* ^, T5 i% r# P; v
  1286. ; Connection: Enables privileged connections using external
    - }$ U$ c. b6 E( x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    " V! M7 U/ G# h& E6 B% R& `
  1288. ; http://php.net/oci8.privileged-connect
    " H' q4 Z' h5 O+ Q1 [
  1289. ;oci8.privileged_connect = Off
    " Y" H0 o. }0 z5 F
  1290. - a" a5 v5 J8 h; ^( }2 S
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    + y+ I' i2 x9 n: l' o
  1292. ; process. Using -1 means no limit.
    6 S; c; v: }0 g# s7 i: F5 V
  1293. ; http://php.net/oci8.max-persistent
    0 v$ C2 h+ z1 O* I( ~( @* U4 M
  1294. ;oci8.max_persistent = -1+ W3 Q6 Y+ l7 f- S+ ?+ k: G$ O
  1295. / x5 H% X; Y5 Y, m8 i! ?
  1296. ; Connection: The maximum number of seconds a process is allowed to
      @% Z& b5 g! m% T
  1297. ; maintain an idle persistent connection. Using -1 means idle" g6 Z2 v/ M3 B$ G# z
  1298. ; persistent connections will be maintained forever.
    # o$ h1 F! h* _. ^/ ^! V
  1299. ; http://php.net/oci8.persistent-timeout
    ; R4 _) a% L: c: b, @. C
  1300. ;oci8.persistent_timeout = -1& a* f( s8 m/ R% S5 ?

  1301. ( r3 y3 [7 C9 h9 {2 u' }! n, {
  1302. ; Connection: The number of seconds that must pass before issuing a
    6 P7 c5 W& E6 K, ^# L: `+ M( N
  1303. ; ping during oci_pconnect() to check the connection validity. When" Z* ~! ^) W6 }, m& I
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    % r6 `) P4 h  y2 x* [; t
  1305. ; pings completely.2 {/ K) m7 A" P; x# V
  1306. ; http://php.net/oci8.ping-interval0 |0 t; a% O9 K+ Q/ W- w  w" P
  1307. ;oci8.ping_interval = 60% M# S: ~1 E5 ]( ^5 e
  1308. 3 ~& K$ z! s7 l  @: P
  1309. ; Connection: Set this to a user chosen connection class to be used
    ; v$ {# Q# K0 s% U+ }! x, x
  1310. ; for all pooled server requests with Oracle 11g Database Resident5 i! ~) p6 y( k5 w
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 |- ?2 [* x5 f9 k: y
  1312. ; the same string for all web servers running the same application,4 J! j* X' V. Q4 J# M% Q
  1313. ; the database pool must be configured, and the connection string must! l1 n  z& G6 P6 G6 }
  1314. ; specify to use a pooled server.
    . ~0 w7 s: f, b, |
  1315. ;oci8.connection_class =
    + k8 q: Z1 B& {# V# b* w' z- C
  1316. 3 N! h4 b" d$ ~
  1317. ; High Availability: Using On lets PHP receive Fast Application. R: I  B4 G' }- C5 q* C' \
  1318. ; Notification (FAN) events generated when a database node fails. The3 ]/ ?  Z2 T2 ^& i$ G, N
  1319. ; database must also be configured to post FAN events.3 l% Q6 Q: N" m6 h
  1320. ;oci8.events = Off
    3 {8 T9 z, B7 ~# O
  1321. : V1 [' t2 p5 Y2 {# n9 F
  1322. ; Tuning: This option enables statement caching, and specifies how
    6 @% J' v$ ~: i) p9 g
  1323. ; many statements to cache. Using 0 disables statement caching.3 D# t( ]3 f. t. {8 Z1 |/ Y: \2 }
  1324. ; http://php.net/oci8.statement-cache-size8 |0 C8 [/ U7 S! M% k
  1325. ;oci8.statement_cache_size = 200 a' C- @, X, i/ Y4 ]

  1326. ; h9 V% E5 i+ U* T3 K
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    + Z, L% M  U# t& Q' [
  1328. ; rows that will be fetched automatically after statement execution.$ v5 l1 R- M! h, Z
  1329. ; http://php.net/oci8.default-prefetch( f, w/ _! R1 c2 e* ^0 O
  1330. ;oci8.default_prefetch = 100! K- J6 X) {: G4 V" O/ T# D

  1331. 1 T) M, c- S* o; o
  1332. ; Compatibility. Using On means oci_close() will not close2 _: ~" @' r  F6 t
  1333. ; oci_connect() and oci_new_connect() connections.
    : R+ {$ Y/ ^6 a: }) e+ Y
  1334. ; http://php.net/oci8.old-oci-close-semantics" n9 ~4 p! I) l& E1 I
  1335. ;oci8.old_oci_close_semantics = Off
    # v! k( \9 A$ F8 t" |6 d1 ~

  1336. 8 x+ T+ v, F/ e. x* t% l2 @
  1337. [PostgreSQL]
    6 g  Q) T# c7 w$ \" P% J2 c
  1338. ; Allow or prevent persistent links.7 j; K. _8 \# x0 R: L. S  v
  1339. ; http://php.net/pgsql.allow-persistent
    , }1 \! W! g0 q9 R& }3 Y8 x
  1340. pgsql.allow_persistent = On8 K8 J# i* X* v! v

  1341. 2 S: X7 ^4 z$ p$ H
  1342. ; Detect broken persistent links always with pg_pconnect().* A0 O. Q+ ^8 u7 _7 M7 K5 s
  1343. ; Auto reset feature requires a little overheads.1 f* d9 Q1 ~9 A4 e0 p  R2 b2 k
  1344. ; http://php.net/pgsql.auto-reset-persistent
    0 [3 ?7 L: T4 |% t4 ]. s
  1345. pgsql.auto_reset_persistent = Off$ {& ^. [8 I( N. ?& b* D

  1346. ) F/ R7 c# r, ]; J6 U0 f
  1347. ; Maximum number of persistent links.  -1 means no limit.
    " D8 ^( T2 b* _# L
  1348. ; http://php.net/pgsql.max-persistent
    7 O) X7 Y  m% S
  1349. pgsql.max_persistent = -1
    , }1 Q: ^5 n# K' d  c6 N

  1350. " U- ]' S  d7 H" m, V- u' x
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , U8 |" e* [$ l' Q+ z+ X2 N0 k( L
  1352. ; http://php.net/pgsql.max-links
    ; |5 `7 p! }* i/ p, v
  1353. pgsql.max_links = -18 ]5 O$ v, F+ g% d  E% E6 T

  1354. % ^. w" G2 t; s" Z( X
  1355. ; Ignore PostgreSQL backends Notice message or not.0 A5 ]% N# \* N9 R$ }
  1356. ; Notice message logging require a little overheads./ p3 n3 f  l7 u$ \$ X: s
  1357. ; http://php.net/pgsql.ignore-notice
    / K) C. V1 C: y2 u
  1358. pgsql.ignore_notice = 0
    - b1 {% u" l! H

  1359. 4 Y; @* v5 X( I+ p* x
  1360. ; Log PostgreSQL backends Notice message or not.+ P9 B0 y2 Y! R
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.2 S5 k% h9 H1 C! S$ s, @, Z$ O# Y3 D9 h& e
  1362. ; http://php.net/pgsql.log-notice- Y; R; \/ E" F1 F/ ]0 P( c0 ~
  1363. pgsql.log_notice = 0
    & `9 ~7 o( @: p1 f% E! g7 ?

  1364. 4 _4 g, F, c- j  |0 z3 ^4 Y) _
  1365. [Sybase-CT]5 K. c9 t' M6 K
  1366. ; Allow or prevent persistent links.
    ( \7 D, Z  x, j& |& D0 M! T
  1367. ; http://php.net/sybct.allow-persistent
    ' R) [# U0 e4 D8 d* V
  1368. sybct.allow_persistent = On" B+ L8 r+ z: f4 k0 ~
  1369. 8 B1 T6 Z8 [9 w% N- x
  1370. ; Maximum number of persistent links.  -1 means no limit.2 P! P; h, s+ h* o
  1371. ; http://php.net/sybct.max-persistent+ I$ X2 P2 H" _3 _4 y
  1372. sybct.max_persistent = -1
    ) O% @5 `' W. c+ [1 v* @

  1373. " s* s# Q' F( j# [2 O& q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - X, Y5 w, I4 I; Z3 y, C- [" v: v
  1375. ; http://php.net/sybct.max-links
    9 K( R! S" j& G3 A
  1376. sybct.max_links = -1
    ( b8 K1 ?5 X! D! D7 n9 K3 f+ m, w/ ~; _

  1377. + D4 ?  |; c8 Z
  1378. ; Minimum server message severity to display.- M; G# S# d* E- r
  1379. ; http://php.net/sybct.min-server-severity
    + G% _* j2 Y6 J, {0 S; x; ]. f
  1380. sybct.min_server_severity = 10
    - f" e+ m' t) _$ e, Y( X3 Y
  1381. 6 |4 B/ V# H/ P4 M. x( T; ]" e" {
  1382. ; Minimum client message severity to display.
    $ K9 y. I% t4 d5 s' _( c% a
  1383. ; http://php.net/sybct.min-client-severity
    * j% r+ b7 t" M
  1384. sybct.min_client_severity = 10
    * h2 ^) y. G5 p+ o# x. w5 B1 j
  1385. ! W  {+ M$ l5 X  [4 {* q' |
  1386. ; Set per-context timeout
    4 B. d3 E9 k7 d. B8 \, w
  1387. ; http://php.net/sybct.timeout
    ' r3 \$ S; W$ G6 M6 S' J+ Z* J
  1388. ;sybct.timeout=
    ' L5 x, T1 L6 d
  1389.   X6 @* Q+ P9 o; N! J
  1390. ;sybct.packet_size
    " k. m7 J6 x) ^

  1391. 9 o/ K0 V' Y" K( N# d, R& W- C/ }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    3 I/ w6 Q( |" y
  1393. ; Default: one minute
    2 C# n) |, u0 N4 D& t7 ^
  1394. ;sybct.login_timeout=4 t! A3 j9 S; v. o

  1395. 2 [! a9 x- b! L  ~) p% @
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.& }7 S/ H0 E( c$ ?3 V1 X
  1397. ; Default: none
    % w5 D! d' y3 m
  1398. ;sybct.hostname=
    + l8 k5 t3 D: k5 R* K6 G  S3 o$ ~* q

  1399. 1 }; V. m, ^( h" T. N
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".  F) X" D0 h; P: z6 Q
  1401. ; Default: 0( d* z5 E# m2 U9 [9 W8 u! j
  1402. ;sybct.deadlock_retry_count=' G. z+ [: i; D9 R( J
  1403. , v4 c! ]; `. D6 Z" G
  1404. [bcmath]& E) z0 G* z+ Z8 a: H# U
  1405. ; Number of decimal digits for all bcmath functions.# Z  k4 Y8 Z9 Z& e7 K, [
  1406. ; http://php.net/bcmath.scale
    " @# F1 M) K/ c- ?" l: E+ k
  1407. bcmath.scale = 06 h  m1 s4 P4 `' I; V2 b
  1408. 5 {1 N6 s. s) B  k! r2 y
  1409. [browscap]! {8 \2 q  Y7 m
  1410. ; http://php.net/browscap7 z* ?- ~3 z$ x- F/ T
  1411. ;browscap = extra/browscap.ini( [1 I% ]5 w" w9 l- r+ z
  1412. ! d" f. X" M5 x  F2 Q
  1413. [Session]
      Q4 X8 P" a2 t3 q$ I7 x
  1414. ; Handler used to store/retrieve data.8 J4 Q4 B# y8 Y
  1415. ; http://php.net/session.save-handler2 J$ f, W8 j* y$ c$ i  w, G0 {( I
  1416. session.save_handler = files
    * J4 Y1 U7 B& r- S5 k

  1417. + {0 \$ _+ {; T# V1 I% _
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; @/ g0 k; i0 H4 p* Y% P7 j
  1419. ; where data files are stored. Note: Windows users have to change this
    5 @( i$ P3 I: }% s$ N
  1420. ; variable in order to use PHP's session functions.
    # r: @4 `. V- U( A
  1421. ;
    4 Q* w* A! ]% b; Z9 v' k3 w7 y" P0 S& \! y
  1422. ; The path can be defined as:# {2 a6 B: y& ?! T2 j3 [7 p- N
  1423. ;: P' ]' B9 i* F
  1424. ;     session.save_path = "N;/path"
    9 j0 u  a& \  P- _$ J0 _4 v
  1425. ;
    0 W1 A. p2 I! l9 K' r( ?# p
  1426. ; where N is an integer.  Instead of storing all the session files in
    7 ?  c; A5 P2 L, _5 Z8 L5 a
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    # P0 k# I5 Q* ?6 M6 ?' }0 `* F
  1428. ; store the session data in those directories.  This is useful if
    ( g# K5 D' e5 |6 W% [% [! ?
  1429. ; your OS has problems with many files in one directory, and is
    8 N4 `3 w; F8 w, f
  1430. ; a more efficient layout for servers that handle many sessions.
    & J6 w" U! A. D; U- W+ u) K
  1431. ;" R# a( R# R; @# Y0 F8 V
  1432. ; NOTE 1: PHP will not create this directory structure automatically.; D# e, o$ e% K" ~
  1433. ;         You can use the script in the ext/session dir for that purpose.9 W* u1 L* P# B% F0 O
  1434. ; NOTE 2: See the section on garbage collection below if you choose to7 u3 [3 ~  D. d( Q, R9 u+ j
  1435. ;         use subdirectories for session storage4 N$ X+ q2 i6 z0 A$ s; C
  1436. ;
    $ @# m9 ~1 W% O2 H' `/ a4 b
  1437. ; The file storage module creates files using mode 600 by default.
    % r6 d0 s8 p/ O3 f
  1438. ; You can change that by using
    8 o( o5 f& V' B5 R
  1439. ;
    ) u+ J8 J$ P! L7 |
  1440. ;     session.save_path = "N;MODE;/path"3 a( Y' n/ v0 c' X6 n9 F
  1441. ;
    ( m; S' w4 G2 `' A* d1 j. S
  1442. ; where MODE is the octal representation of the mode. Note that this
    , B7 X5 q0 l& y8 O2 a' c! W
  1443. ; does not overwrite the process's umask.
    . j& Q6 }/ {+ I+ \# N
  1444. ; http://php.net/session.save-path
    5 z7 c& a% M; c' A. t; m
  1445. ;session.save_path = "/tmp"
    ! v" ]: o# M2 Q: [4 N# \
  1446. / k4 ^! {! g! B* g! \( }% u
  1447. ; Whether to use strict session mode.- r" T* c2 R7 t8 F& {! M4 n( u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      F$ E6 Q" Z6 g) ?/ r7 Y- q- \
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% Q# P3 _) h, }. C3 p
  1450. ; applications from session fixation via session adoption vulnerability. It is# R# r# X3 u( h" M5 ~$ W( {$ j
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.  ^0 }1 `5 u1 U! \
  1452. ; https://wiki.php.net/rfc/strict_sessions/ P  Q2 B* F) _/ _8 j
  1453. session.use_strict_mode = 06 L( \3 X; |- |% Q* w4 ?
  1454. : A1 C. L0 U8 j1 ]; @4 s9 a
  1455. ; Whether to use cookies.* ~( u7 t0 Y0 m( |2 a, o
  1456. ; http://php.net/session.use-cookies8 V+ g+ b, y% e  ?
  1457. session.use_cookies = 1
      \( q6 z* i/ L. G1 _

  1458. * ?9 g. z/ r; [* U+ m
  1459. ; http://php.net/session.cookie-secure
    % b9 M7 r( }" D0 b# N1 _" O2 [
  1460. ;session.cookie_secure =
    8 P8 U3 i. o$ r$ v* _3 _, @4 H
  1461. ; N2 D1 w( R( R" C0 y" d
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # h: F0 E- }) Z' ~, D% v& s8 v8 d
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    : }4 C7 _5 _* M8 u  }+ q3 R4 \. p3 W
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ' C, }1 p& @+ V  h: E8 n9 P
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & u4 z7 f" p% c9 W( f2 t1 W2 ^( A5 c. c
  1466. ; http://php.net/session.use-only-cookies3 L5 b% ?# i2 D
  1467. session.use_only_cookies = 1' `3 }& I% U1 {/ F7 [1 \' K! A

  1468. 7 `& m' b6 h, N+ T2 S/ G2 l" ^3 M! Y
  1469. ; Name of the session (used as cookie name).. W7 }7 ?: l3 f/ j( l  \& u
  1470. ; http://php.net/session.name5 B6 c3 _; C' O, [$ w) \
  1471. session.name = PHPSESSID: y4 {/ \! ]1 \) X2 O( O

  1472. ( o1 h( q( T5 Y: j5 K& z) E) P
  1473. ; Initialize session on request startup.7 r% N2 j! Z8 j. G- {$ z9 X" `- x
  1474. ; http://php.net/session.auto-start
    0 r; T. d. Y* L5 _3 \
  1475. session.auto_start = 0
    ( @! R" X: k( G3 S6 Z3 }! d
  1476. 0 C& \& r: S9 ]% F. j" P7 ^
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ; o7 y+ A0 a, k  O+ L2 [( s- c* p5 [
  1478. ; http://php.net/session.cookie-lifetime! G( i* k' O: l- q0 t7 G
  1479. session.cookie_lifetime = 0) h1 p) ^) t1 `, _5 Y. U

  1480. 7 i) L1 N3 A7 p! ^9 a/ H$ k& V
  1481. ; The path for which the cookie is valid.0 D9 Q# X- X- L/ ^
  1482. ; http://php.net/session.cookie-path
    ' M9 m4 v. B* }4 }0 p; x( U* {
  1483. session.cookie_path = // L& B! L  d: f) o. J, k4 w) D

  1484. * Y0 J4 e" I, s/ A( x
  1485. ; The domain for which the cookie is valid.
    # H: W2 {' S2 R9 K1 s! \
  1486. ; http://php.net/session.cookie-domain
    ) y/ A! Z8 B7 a; H
  1487. session.cookie_domain =: V( T. q, ?7 }& Q' ?2 t2 w
  1488. 2 b7 t4 _* s% U. H- [% T; v
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.6 L  R; _/ p" O8 `* P/ I6 a6 w
  1490. ; http://php.net/session.cookie-httponly  z, J' i% P$ [
  1491. session.cookie_httponly =
    2 O! U4 [: Y% I  X
  1492. " y- F1 d2 D1 W# M& Y! D
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 Q+ b$ w' }5 M8 J9 U( @; j# z
  1494. ; http://php.net/session.serialize-handler
    $ G8 [  M! H* n& w2 A. B; U
  1495. session.serialize_handler = php
    % U5 H  s: \' l- Y9 I8 }- d

  1496. . j7 \; T( H& w9 v
  1497. ; Defines the probability that the 'garbage collection' process is started4 m. m& V" O. i) p( h0 T" @7 S
  1498. ; on every session initialization. The probability is calculated by using; ~- z7 h* F/ c, ~/ _7 c; h  W' p: m
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator$ F$ k# T$ a% u, }5 g/ C
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      H/ u4 E$ @; R: E/ [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' i' g/ m$ M% h0 ~# {9 x
  1502. ; the gc will run on any give request.* \. b7 T5 X( x5 d7 [; b  d) X! ^
  1503. ; Default Value: 1
    $ A  n2 T) D; n0 d* }1 F9 ^9 I
  1504. ; Development Value: 1) _  b+ y9 ?0 X0 `' a/ A5 {& t* k. s
  1505. ; Production Value: 1
    0 k2 f6 c* O+ z$ M! r
  1506. ; http://php.net/session.gc-probability  f2 ^* z, F" J
  1507. session.gc_probability = 1
    5 s! ]: L' ^+ ?0 g: E
  1508. , L: V" L, q4 @, A
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    : O( M. I% z3 m( J# B2 o
  1510. ; session initialization. The probability is calculated by using the following equation:
      ?, p! q7 B) {6 {
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
      \% v. U5 s! z$ g1 z; [
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: m1 Q5 _; l7 J# b4 f: V
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& l) m5 k- e* ~
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you* O5 P2 p( Q8 \
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    9 @! C1 c) I3 L0 P" G
  1516. ; this is a more efficient approach./ z6 Q, ^' f: ^* i1 P
  1517. ; Default Value: 100  F$ [' T- `0 J. T' [& }$ C! r
  1518. ; Development Value: 10004 _2 T+ @& o& V& J$ \& Q
  1519. ; Production Value: 1000
    : x' g. R$ w$ x5 H  M. j" X: v
  1520. ; http://php.net/session.gc-divisor( W0 |8 d! D; ~9 Q& H5 g; ]
  1521. session.gc_divisor = 10003 ], X/ B5 n" k( T, E  z" ^

  1522. * Y* w( [% X, y9 S& X2 F8 g+ [
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    6 K0 F) E+ N& S+ }0 |
  1524. ; cleaned up by the garbage collection process.
    ) I5 C8 D) S( r  }" i
  1525. ; http://php.net/session.gc-maxlifetime
    + `' ]$ [" R9 x% O1 s# W! Z. N% I
  1526. session.gc_maxlifetime = 1440
    5 y2 x" d6 Q0 d, x* M. X5 E6 p( \
  1527. & {! h) R6 J9 x4 W2 y2 |
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    + ]+ o: }# _, ]/ I' w7 z5 V
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : b7 h' n) X6 U9 N
  1530. ;       happen automatically.  You will need to do your own garbage+ z' D% N' i% o. g! V% K- \
  1531. ;       collection through a shell script, cron entry, or some other method.& V" o/ B; _8 k4 K7 x7 O* _
  1532. ;       For example, the following script would is the equivalent of
    3 J" |# S) d/ w4 a4 ^8 L
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      I& t1 H- h$ q( D. l# K
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: U% }: D4 G- _" x
  1535. ( B: v6 Q) C: s; s2 L
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + K6 N' C0 C3 Q) o
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . T) T; m  k4 d2 K& Q% }; N
  1538. ; considered as valid.
    # n2 R9 I9 D( G# a1 E  n( j
  1539. ; http://php.net/session.referer-check! J6 u3 [( f- Q0 {
  1540. session.referer_check =
      b/ y) i) L9 p+ d; l5 r1 h6 v: \6 o

  1541. 8 \& a! _1 \5 Z3 d& ?2 p
  1542. ; How many bytes to read from the file.
    + H6 t( c* h9 c- c6 @
  1543. ; http://php.net/session.entropy-length2 ^4 M7 J8 |" y$ j8 [# N
  1544. ;session.entropy_length = 32
    ' _& P7 {4 {8 E* d$ |+ _

  1545. % d  [# ~: H* m4 b! U+ g
  1546. ; Specified here to create the session id." g8 u6 C/ I5 \2 v
  1547. ; http://php.net/session.entropy-file
    : ]6 W+ u% y. m
  1548. ; Defaults to /dev/urandom; t! |& e2 r; ?2 H3 _5 L9 t8 G
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ ?& @; j/ \( g$ L# i
  1550. ; If neither are found at compile time, the default is no entropy file.; v$ Q* p  R: h8 `" \* I' \! C: j
  1551. ; On windows, setting the entropy_length setting will activate the
    , l8 T- b+ j8 B* ^0 Y! L2 S
  1552. ; Windows random source (using the CryptoAPI)  F2 @6 E% h$ c* Z6 t
  1553. ;session.entropy_file = /dev/urandom" y9 a" H2 l8 _- @

  1554. % |8 j1 S/ M, t+ c/ Y) F$ y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects2 s0 R! K% }& j9 ~& I5 I1 ~" y9 Z
  1556. ; or leave this empty to avoid sending anti-caching headers.
    * W/ Q0 o6 ?3 h# N% B
  1557. ; http://php.net/session.cache-limiter
    6 N5 t! `; O; O) _& z) \* Y
  1558. session.cache_limiter = nocache
    . |2 Z1 ^. C7 \4 Y0 a: C5 t
  1559. % i! J" J9 Q# E2 a# ]( j
  1560. ; Document expires after n minutes.
    0 y0 R% d% S) Q
  1561. ; http://php.net/session.cache-expire
    ' I, @) J9 R: \' P
  1562. session.cache_expire = 180
    6 ]" e' R8 x2 v; X' j% i
  1563. & j% @+ U1 w; N$ @  D
  1564. ; trans sid support is disabled by default.
    " i& w' L( X  z
  1565. ; Use of trans sid may risk your users' security.
    / o  [) }/ ]# M" H9 z* \
  1566. ; Use this option with caution.
    . q8 i5 m6 l& K
  1567. ; - User may send URL contains active session ID9 g! Z. `) v2 B
  1568. ;   to other person via. email/irc/etc.
      T7 i5 G: j3 f
  1569. ; - URL that contains active session ID may be stored9 i" ?7 v6 s# G, K5 [
  1570. ;   in publicly accessible computer.
    8 E1 N! f# ]0 C% \. L( {$ B
  1571. ; - User may access your site with the same session ID
      X  ~4 Y! Z+ o2 L& T& }5 K* D
  1572. ;   always using URL stored in browser's history or bookmarks.
    , k& J( z# |/ \
  1573. ; http://php.net/session.use-trans-sid
    $ v( ]0 O5 [# Y0 E$ b
  1574. session.use_trans_sid = 0
    % V' o, Y6 t" D( M: |) t! Z

  1575. , g' n# p" K$ W4 i
  1576. ; Select a hash function for use in generating session ids.
    ) J' `" `) a; J" k& O
  1577. ; Possible Values
    ; y- E8 }, t1 U( Q" K) r
  1578. ;   0  (MD5 128 bits)$ e/ a9 x! J! J" H4 W+ O5 m) C; j
  1579. ;   1  (SHA-1 160 bits)
    % B& F6 D9 |1 k' t$ ^
  1580. ; This option may also be set to the name of any hash function supported by
    - z. Y! g$ b- W
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()* a% f" u+ X: I; V5 O
  1582. ; function.% h" i# t! L' c2 Q, U% m
  1583. ; http://php.net/session.hash-function/ ~: g3 c' x7 s5 I6 C! a/ P+ O
  1584. session.hash_function = 0
    8 B* z1 o( q  M
  1585. + Z) }4 R5 g% t, j
  1586. ; Define how many bits are stored in each character when converting  y- J/ _1 M; d) t2 e& @
  1587. ; the binary hash data to something readable.
    2 F  I# d  ?# N& j  y9 v
  1588. ; Possible values:+ w9 L6 g3 J: K/ Z/ C( E3 Y# q
  1589. ;   4  (4 bits: 0-9, a-f)
    ; P8 _  S. @' n# p( p) U! G+ q
  1590. ;   5  (5 bits: 0-9, a-v)
      `# ^0 ~% Y6 x
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")& Q# Q: x9 D8 g6 H, Y/ L* I/ S
  1592. ; Default Value: 4+ [$ p$ L8 f4 I- v- R" Y
  1593. ; Development Value: 58 o" F7 ~0 e8 |2 d; g; V6 j6 s* M- Q6 F9 b
  1594. ; Production Value: 5
    2 C) \: ]8 P$ Y. r
  1595. ; http://php.net/session.hash-bits-per-character
    6 p- A% G  y7 R) m
  1596. session.hash_bits_per_character = 5$ o7 r& M2 F7 C( V/ r

  1597. * S7 v0 E; s* y& M
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.. T' X" C2 y, i2 l8 Z* b+ f+ U- _
  1599. ; form/fieldset are special; if you include them here, the rewriter will- ?' h# X- p- E7 D- A& m
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - l) M; t- g) p
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / v, q3 L% X/ ?, Z2 y2 j$ `: ?
  1602. ; Note that all valid entries require a "=", even if no value follows.
    1 T; k- ?* S3 X3 S, |
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% \7 Y; l' Q; }# u) n, A! C
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * Z# I0 {2 I0 a8 {; d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + M) n' b3 K1 P0 r2 i! }$ S
  1606. ; http://php.net/url-rewriter.tags+ E- C( H8 ^/ X/ M4 X
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) i* U! c" {& }& n5 c8 A1 m

  1608. ! c! n8 N5 S- j; Y# d
  1609. ; Enable upload progress tracking in $_SESSION( S, G4 Q# g' y) _
  1610. ; Default Value: On
    4 I' |. q6 r# Q
  1611. ; Development Value: On7 d4 d. @3 a. [1 b! H
  1612. ; Production Value: On+ |9 ]- H' L/ Z  @
  1613. ; http://php.net/session.upload-progress.enabled
    * X- B1 W1 N4 H: L) k# K( l
  1614. ;session.upload_progress.enabled = On& _4 }' Y: w6 m% a: Z5 `
  1615. ; T* V; a* Y, i; Q
  1616. ; Cleanup the progress information as soon as all POST data has been read, q) H. {9 H  F5 \# X9 {3 M( G
  1617. ; (i.e. upload completed).% U+ B6 h5 l" \6 d0 k
  1618. ; Default Value: On
    7 [4 e* s# E. u, g& W
  1619. ; Development Value: On
    5 B4 Q6 m( Q( F& o+ S0 Z' ?
  1620. ; Production Value: On
    9 Y7 j, h  b" _$ C, s) e' {$ f
  1621. ; http://php.net/session.upload-progress.cleanup# P# p8 D$ ]0 t6 l7 g
  1622. ;session.upload_progress.cleanup = On) R# _4 ]" w! M% c1 m( F, F: C

  1623. 1 [& J1 ]% ]0 Y2 Z- V/ i
  1624. ; A prefix used for the upload progress key in $_SESSION/ a  p- I6 h* I1 _
  1625. ; Default Value: "upload_progress_"
    # \+ p- R/ o4 V3 x2 y
  1626. ; Development Value: "upload_progress_"
    & K; J: |. E/ S* j
  1627. ; Production Value: "upload_progress_"
    % g5 P6 ~  X% F: [
  1628. ; http://php.net/session.upload-progress.prefix
    + Q% P3 b5 H( ~
  1629. ;session.upload_progress.prefix = "upload_progress_"2 X0 c; ~5 m9 d9 ]9 r
  1630. ) K/ o* P4 p5 a, d% m6 p- n7 _2 j
  1631. ; The index name (concatenated with the prefix) in $_SESSION% y6 _7 V! ^1 a
  1632. ; containing the upload progress information. S8 x$ f6 X- ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , i# {  U3 z7 s5 |
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 o* H3 k  a* X4 T$ h3 ^
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"- |! S5 Y6 N1 i# W0 h8 d/ y: G
  1636. ; http://php.net/session.upload-progress.name: e4 j7 J4 Z5 k6 m3 e2 u& P- S
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; w, |- \+ M. T+ }' f6 @& |% Z9 h5 I

  1638. - g/ @* s+ z& ~
  1639. ; How frequently the upload progress should be updated.
    ! a# ?$ p7 ]. c8 g* P( i
  1640. ; Given either in percentages (per-file), or in bytes
    8 T' o! f+ R8 D+ ^& P, }
  1641. ; Default Value: "1%"- r2 ~4 ~* u0 f, S6 R, W
  1642. ; Development Value: "1%"; M/ S2 F4 G6 M) x
  1643. ; Production Value: "1%"
    - D9 o: V  }& c, C
  1644. ; http://php.net/session.upload-progress.freq
    ; A/ P- K! \& z
  1645. ;session.upload_progress.freq =  "1%"1 \" s$ s5 D1 v9 m/ s

  1646. ) ?/ _. y- N0 W! b! M
  1647. ; The minimum delay between updates, in seconds
    ! }+ q& d: B( y7 T- n; U1 c
  1648. ; Default Value: 1
    4 {0 T+ @! N4 W2 S' |& k$ w
  1649. ; Development Value: 1
    8 m2 X- c9 \  f0 N! L
  1650. ; Production Value: 1
    * |, ^2 N" n4 z# N: j
  1651. ; http://php.net/session.upload-progress.min-freq
    ( e# C& ^9 ]5 T6 L9 \) C# X' f. v2 X( y3 z
  1652. ;session.upload_progress.min_freq = "1"# g0 I9 o6 b' ~1 s" u7 Z" m

  1653. & M( P9 G$ ^6 u# G9 K( R
  1654. [MSSQL]* \9 J5 H: P; ^; ?+ K8 u
  1655. ; Allow or prevent persistent links.0 c2 s: B# U4 e" o$ u; M+ M
  1656. mssql.allow_persistent = On/ @; ^, i0 g2 ]) I: F. Y7 e
  1657. ' @( @: _) ]$ Y" D; S1 Y$ h/ I
  1658. ; Maximum number of persistent links.  -1 means no limit.
    # C0 `0 ~! P( ?0 s
  1659. mssql.max_persistent = -1
    / ~) W- H, g8 y

  1660. 8 A+ V0 F9 P2 Z! r/ d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' Y& b8 M" Q" {5 L0 r6 r# C
  1662. mssql.max_links = -1
    . T0 p2 T; ?: W* p* T

  1663. ; `# ?8 }! x: a0 U
  1664. ; Minimum error severity to display.
    1 \7 g+ p% Q$ Z$ c" X- G5 {% b* ]: `
  1665. mssql.min_error_severity = 10
    1 k& F) ?# M1 _- N$ ]* l+ t
  1666. 1 J( f2 f0 M# l  S) M+ r% @
  1667. ; Minimum message severity to display.
    ( Y5 X6 ^7 T! Z+ z
  1668. mssql.min_message_severity = 10
    7 Q  D! |* A0 X# K) A! M
  1669. 0 P* Z; g; D) }% X# x' G
  1670. ; Compatibility mode with old versions of PHP 3.0.8 t% L& m' o. ]& E
  1671. mssql.compatibility_mode = Off
    5 M; |2 Q" Q3 X, M
  1672. 0 W* D+ U) D  Y
  1673. ; Connect timeout7 r. V! y7 m% R( B0 p
  1674. ;mssql.connect_timeout = 5
    8 @. V6 l) q9 A' ?7 w

  1675. / b" \5 e3 Y+ A# N0 \  h
  1676. ; Query timeout
    $ m2 B8 J; z% h# d+ s+ Z
  1677. ;mssql.timeout = 607 V0 {/ u; v( b: C' n" k7 `/ V9 z
  1678. ( w! Y: ]# |" q* q9 S. n0 ~
  1679. ; Valid range 0 - 2147483647.  Default = 4096.6 t% p; q8 F; V" [$ k) I
  1680. ;mssql.textlimit = 40964 X# k, B: [8 w3 V" S, V
  1681. * f" f1 C" [4 g1 `- e
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 y' g6 c* P4 e. H, U8 T$ v
  1683. ;mssql.textsize = 40964 X: g/ S' G% G' a' E- P
  1684. & E1 q2 U( x6 S. K/ Q, r
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    1 I. ?! o! ]7 Y1 x* a% S7 ^0 z
  1686. ;mssql.batchsize = 03 w/ V% e0 j: V- j/ u' V

  1687. # p- W! E% Q7 G! ~: G% V8 {
  1688. ; Specify how datetime and datetim4 columns are returned9 o6 t/ U+ {6 @/ p
  1689. ; On => Returns data converted to SQL server settings+ n8 e; c/ r4 G, A$ G
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss/ K7 j- ?4 D9 P2 K% ~
  1691. ;mssql.datetimeconvert = On
    9 i- Y1 X4 L* k( p: v2 }
  1692. ; a# e! J0 ?7 ^
  1693. ; Use NT authentication when connecting to the server+ S5 {' E( R2 k& z
  1694. mssql.secure_connection = Off* S$ F+ G: h+ G1 t% m( @

  1695. 8 x6 t; d1 f6 n
  1696. ; Specify max number of processes. -1 = library default
    % P" `7 P* P7 E) ?. a: I5 ~3 }
  1697. ; msdlib defaults to 25
    # ^% C! B3 S3 G0 z# u6 s+ o
  1698. ; FreeTDS defaults to 4096, U$ Z) [0 h. ?7 z$ g. |
  1699. ;mssql.max_procs = -1
    / T4 M( }# p1 K( B

  1700. & @; [1 M0 z! w6 q
  1701. ; Specify client character set.
    0 Q/ ?: K! r) H' Q8 b
  1702. ; If empty or not set the client charset from freetds.conf is used' c" V4 |+ l/ t; L$ ?# l
  1703. ; This is only used when compiled with FreeTDS& g* P% Y- w0 T; i5 |% l
  1704. ;mssql.charset = "ISO-8859-1"( I- \# m' w/ y- D+ s
  1705. & @$ R, N! O. J  a1 R" C! z4 |
  1706. [Assertion]
    5 v% I9 s' X0 E0 Y
  1707. ; Assert(expr); active by default.
    , c8 f+ s/ h" Y7 h1 g8 ~8 B
  1708. ; http://php.net/assert.active
      m! A2 q* X7 M: N/ }8 }! ~
  1709. ;assert.active = On
    2 r, j  O4 L. Q( v

  1710. 3 J: ]; z5 y# \( b9 r* ~/ S/ A
  1711. ; Issue a PHP warning for each failed assertion.* [( K7 v+ \, f6 X3 T7 o
  1712. ; http://php.net/assert.warning
    $ S  ^1 k! o$ k8 l  G, u  J
  1713. ;assert.warning = On' ^5 z: g3 v3 c- U* `
  1714. 0 h+ t7 H9 m% ]1 h% w$ g( K  s4 S
  1715. ; Don't bail out by default.
    , w3 I( M! B7 Y; d9 y
  1716. ; http://php.net/assert.bail
    8 i" w4 W8 F& F+ V
  1717. ;assert.bail = Off
    + v. f7 h' B9 U4 y- f6 v* F

  1718. " i6 o: T  S: E7 d' C
  1719. ; User-function to be called if an assertion fails.! {5 h. t' ^+ z8 o% o
  1720. ; http://php.net/assert.callback6 ~; h6 Z+ Z! Q: W( y
  1721. ;assert.callback = 0
    : l. ^  |' b. D6 H. S: {8 c* B
  1722. / T) n" U- O+ y  n3 N
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
      |5 k, k+ K/ I& {3 t: a
  1724. ; error_reporting(0) around the eval().% O( v% l# J4 f- J  L( \
  1725. ; http://php.net/assert.quiet-eval" V5 P# ?+ c" ]# _! Z! b6 m5 F+ J
  1726. ;assert.quiet_eval = 04 ~$ H4 n/ P- o" M; O
  1727. 7 O3 ~) P5 y0 T" s9 W
  1728. [COM]
    & `; J* g0 n! L: m# t+ @. g; p  i
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( x0 b7 H& y" p* q
  1730. ; http://php.net/com.typelib-file1 s1 n3 h; d, W/ F% A: ~0 m, K
  1731. ;com.typelib_file =* B& |4 V' S5 C9 [! m
  1732.   N" y6 v. {. _" |4 R
  1733. ; allow Distributed-COM calls
    " L. b+ k) S# f! S5 g! M
  1734. ; http://php.net/com.allow-dcom* N2 Z" j( ^1 i- l1 E2 P# a  T, N
  1735. ;com.allow_dcom = true
    . N: H* d2 j4 k4 V0 a' z0 c

  1736. 7 ?5 W" M4 k; N  q7 @
  1737. ; autoregister constants of a components typlib on com_load()$ U. J+ C& K7 x$ Y. p
  1738. ; http://php.net/com.autoregister-typelib& B( ?! L* {! y7 u- \
  1739. ;com.autoregister_typelib = true/ R& r% d+ A# D& }
  1740. ) ~) Z" r) S) g# ?1 o
  1741. ; register constants casesensitive
    2 [' a, l; T" f& e, Y2 l' \2 Q
  1742. ; http://php.net/com.autoregister-casesensitive' R2 R( i- d# y+ R3 d# }1 R& Y
  1743. ;com.autoregister_casesensitive = false
    : e# k- p4 i8 n, \4 }
  1744. 1 }$ J1 F4 H& _8 u
  1745. ; show warnings on duplicate constant registrations; x$ f( B% Q' n* R( J8 Z
  1746. ; http://php.net/com.autoregister-verbose
    # J6 @5 {0 q5 b
  1747. ;com.autoregister_verbose = true$ A3 ]& P8 r/ g. D- ]

  1748. ) R# g1 ~( a. |# k' E4 |9 _  v
  1749. ; The default character set code-page to use when passing strings to and from COM objects./ l3 ^0 V3 `( X7 v+ @) M
  1750. ; Default: system ANSI code page( g, G9 i3 D; r: y6 s8 V, A
  1751. ;com.code_page=% J( O+ i, B( P& d
  1752. 8 F' T" w# l  I) b4 R# }
  1753. [mbstring]
    - P+ X6 [2 T+ u. l2 j- e
  1754. ; language for internal character representation.4 M" r  b  O: f7 _
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.3 v0 ^0 y& ?, c; i
  1756. ; http://php.net/mbstring.language5 Y0 f$ R4 `0 z3 O0 a! A
  1757. ;mbstring.language = Japanese$ @9 e# L/ H/ v+ D- s' F
  1758. 0 ]9 e6 m) D4 Q2 C$ Y4 z3 \5 k
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " x7 _, R2 @: i2 o3 R
  1760. ; internal/script encoding.
    7 [5 m1 W1 k: Y# J! z' h* |
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 m3 M7 p8 v" E1 u( h  O* [
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + u( f  U5 s# C4 F/ M  Z" ~
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 o9 E6 Z0 w) a/ }, k5 w, o* E
  1764. ;mbstring.internal_encoding =
    / u: ^' g- n; @
  1765. ! L1 a) |6 r& ~
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' u$ q/ s( s. ]* n8 O3 R- U5 T
  1767. ; http input encoding.
    . R# q# m8 H2 f7 k3 q! p8 R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting., o7 S. U; N- f1 k
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.8 L( i! A2 ]  L# c% E9 Z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input, [7 P# k4 M# v
  1771. ; http://php.net/mbstring.http-input
    . V; _1 p5 P  Q! E
  1772. ;mbstring.http_input =. ]/ }' g3 j7 k8 S' c0 L9 Z% n
  1773. ) j8 o% i( m. s# f8 e; D, u
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( y1 F; X1 s/ i. K! T
  1775. ; http output encoding.9 I7 [, _' P, R( o
  1776. ; mb_output_handler must be registered as output buffer to function./ q" ~2 V( c. K' m2 e3 C
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ B/ w2 q5 q7 E) X+ ~
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + x" {' ~* O" o/ n: i! w  R
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : y1 v0 V  \- i  ~4 k* g0 a) L
  1780. ; otherwise output encoding conversion cannot be performed.
    & W6 w# k/ u4 w3 W
  1781. ; http://php.net/mbstring.http-output6 Z  D: C2 C$ V
  1782. ;mbstring.http_output =
    6 y; M  V  a; l

  1783. # m4 T# p/ E- H" d3 f2 r
  1784. ; enable automatic encoding translation according to  O2 T1 J: f0 Z/ H+ a& g
  1785. ; mbstring.internal_encoding setting. Input chars are+ n+ a* h- g* J6 d6 [2 o" R- @
  1786. ; converted to internal encoding by setting this to On.
    & y& T  L- T' I' {( B
  1787. ; Note: Do _not_ use automatic encoding translation for
    $ A# V' O3 Y, t: ?$ M: R& M
  1788. ;       portable libs/applications.
    4 E: ]" P1 p2 [! o: X
  1789. ; http://php.net/mbstring.encoding-translation: M! A, Z2 @% D+ H% e
  1790. ;mbstring.encoding_translation = Off8 w, K6 x! U% c. t7 t
  1791. 0 V0 S3 s8 P5 K' _& W7 d1 U  V
  1792. ; automatic encoding detection order.
    * T/ t3 }3 h7 l, t
  1793. ; "auto" detect order is changed according to mbstring.language
    " f& P' [- d2 U
  1794. ; http://php.net/mbstring.detect-order/ p0 L# f# u& t/ i+ ~+ a) w( c0 ^2 I
  1795. ;mbstring.detect_order = auto/ B$ \* T3 ]; _1 d' z( W

  1796. 8 ?9 k4 D' e; t
  1797. ; substitute_character used when character cannot be converted( A2 y, e2 ]8 E7 L9 N" ^
  1798. ; one from another! n9 W: x7 k% G, S% f; M; B
  1799. ; http://php.net/mbstring.substitute-character5 n: B8 v, o9 S$ X& |4 X
  1800. ;mbstring.substitute_character = none
    & m& {5 r" ~( O9 M) n

  1801. " g$ I( p% g9 W& F- F# V3 N* S
  1802. ; overload(replace) single byte functions by mbstring functions.
    + C4 ^; g3 V( Z( G# ?
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ( i, e+ R$ v' Q. k  U: R7 P
  1804. ; etc. Possible values are 0,1,2,4 or combination of them./ w* z6 S1 Q; V0 B6 b! ^* d
  1805. ; For example, 7 for overload everything.
    3 G8 ?$ O6 E6 b8 @0 N
  1806. ; 0: No overload0 }5 z. G: l# z: t' v
  1807. ; 1: Overload mail() function
    1 {9 v! _  g5 [% \
  1808. ; 2: Overload str*() functions( g" p3 ^- X- E8 r2 G$ @
  1809. ; 4: Overload ereg*() functions
    ; o( o6 ~/ B$ B
  1810. ; http://php.net/mbstring.func-overload
    ! ^' @) e* m, X1 D. e9 `3 Y
  1811. ;mbstring.func_overload = 00 [% A4 ^  ~+ z) v# }& s
  1812. 0 c/ k! m: o7 U5 f8 L6 u  o6 ]: L
  1813. ; enable strict encoding detection.3 c" Y7 f, k4 G. L8 z% l% k6 N
  1814. ; Default: Off% Y- I0 u* v! K% {6 i
  1815. ;mbstring.strict_detection = On
    & s" N/ i& T7 E, r4 M
  1816. , U/ W: `$ \. F, P: R
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 [! n+ X! ^1 A( D, Q  [6 ~3 N
  1818. ; is activated.; ~9 e: G# d1 `7 Z+ [  w+ N
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ e, |5 ?9 R  a1 k
  1820. ;mbstring.http_output_conv_mimetype=
    , i. Y- J; i! b  |$ P2 I4 \
  1821. 0 L* o& ^( H4 ~( t4 c
  1822. [gd]/ J% ]2 D; p' b  e4 |4 G
  1823. ; Tell the jpeg decode to ignore warnings and try to create: Z* q3 Z; f  s3 C
  1824. ; a gd image. The warning will then be displayed as notices: U1 C6 u, N) K0 j. J- Y5 x
  1825. ; disabled by default
    , [9 w, o8 c  y3 r3 {. @
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ! `6 B* B3 R1 p4 P7 q& T" b7 Y6 r
  1827. ;gd.jpeg_ignore_warning = 0
    ; \' c, H% }/ a& F

  1828. 6 I5 m9 W9 j. j. }
  1829. [exif]
    * c* r0 r* M0 o1 r' P* }1 R
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( D9 m( F- W7 D, v; v9 G
  1831. ; With mbstring support this will automatically be converted into the encoding8 v3 ?0 z( T0 J4 c" ~
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 J( c% t) R8 K, _
  1833. ; is used. For the decode settings you can distinguish between motorola and4 E3 ?$ C2 A+ w$ G2 C
  1834. ; intel byte order. A decode setting cannot be empty.
    3 K& `9 ]& _  _3 I9 A
  1835. ; http://php.net/exif.encode-unicode
    : N  i* j2 z! T. E* X/ ~9 c
  1836. ;exif.encode_unicode = ISO-8859-15& M) ?7 h8 g+ R, B' g2 n9 G

  1837.   |6 f1 ]" J0 B
  1838. ; http://php.net/exif.decode-unicode-motorola
    : K$ T( P" u2 H
  1839. ;exif.decode_unicode_motorola = UCS-2BE; U. x' `1 t1 z
  1840. ! Q2 R" s; ^+ p! e, m; T
  1841. ; http://php.net/exif.decode-unicode-intel8 z$ ]' f' a. R2 y& F
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    # x5 \2 x% i* |' U8 D

  1843. ; a6 A2 p0 q9 R& D
  1844. ; http://php.net/exif.encode-jis
    $ ~* P) ^  i" q% C
  1845. ;exif.encode_jis =' g4 n" k: D/ u: f4 K; I4 q  ^
  1846. + c- K( c$ }, }5 c2 K0 R* T
  1847. ; http://php.net/exif.decode-jis-motorola
    + n5 Y6 Q3 x+ g# N: K0 r* ^1 P
  1848. ;exif.decode_jis_motorola = JIS
    ( u) ^( I" {3 W7 l7 q( u% G. m: G

  1849. ' I* r2 V  a/ U" q' m: T% `
  1850. ; http://php.net/exif.decode-jis-intel
      H! e" `) Y! J2 k, W6 m$ z
  1851. ;exif.decode_jis_intel    = JIS
    ; q- q& n) `) \6 ~/ d, f
  1852. * k  f. n$ J7 E! }/ C, C0 ]! j% S
  1853. [Tidy]
    + \: N/ a* r9 l1 M
  1854. ; The path to a default tidy configuration file to use when using tidy
    / O5 `4 ^, w. j4 \* I3 [0 J1 j. r: q
  1855. ; http://php.net/tidy.default-config5 \7 F; \) g; J2 H% w( K+ g/ v* Y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg' [6 `- t' B8 f9 j

  1857. + ^% Q9 C; N6 {: b0 \' g& g
  1858. ; Should tidy clean and repair output automatically?
    # l9 x( y8 U: [8 H0 b
  1859. ; WARNING: Do not use this option if you are generating non-html content% B2 i+ P) i/ B; V( `* o: g
  1860. ; such as dynamic images
    0 V+ M8 _% T  M7 B: F% H: w# v9 O
  1861. ; http://php.net/tidy.clean-output
    # p2 j# u+ M3 R- I& v8 C
  1862. tidy.clean_output = Off
    ( C2 w& f4 N) V1 \

  1863. 2 u/ W5 `- Y, F8 J2 l
  1864. [soap]
    & }+ `' P3 }. Z8 s
  1865. ; Enables or disables WSDL caching feature.* t4 X' Z% @  g: `
  1866. ; http://php.net/soap.wsdl-cache-enabled
    % ]0 }) P. i( B2 P0 {+ _" f
  1867. soap.wsdl_cache_enabled=1: p7 y7 J* H6 l5 _+ N! s9 I: ]
  1868. : i( ]8 ^) o% a2 s6 w1 R! }) S* |
  1869. ; Sets the directory name where SOAP extension will put cache files.7 E  d! Z4 c9 H1 O5 M6 e' b
  1870. ; http://php.net/soap.wsdl-cache-dir
    1 V& G* S$ ?3 A
  1871. soap.wsdl_cache_dir="/tmp"/ A6 ^! y! k/ o
  1872. 0 C( a. }4 S& N8 b9 j! _
  1873. ; (time to live) Sets the number of second while cached file will be used# B- z8 U; z% m+ b4 E8 y
  1874. ; instead of original one.2 ~$ ?& ]& y4 e( d% ~4 y
  1875. ; http://php.net/soap.wsdl-cache-ttl  a5 N3 t; x2 h
  1876. soap.wsdl_cache_ttl=864003 |. I7 T5 Q/ x# _- B) o

  1877. 4 p: J; k, M$ K" e9 ^. o; X" }2 j
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)( W- c, p0 I' N3 q( r% W8 R
  1879. soap.wsdl_cache_limit = 5
    3 c: A; }( h4 a: P% Y' `" m
  1880. . E% _5 Y3 _- |6 S0 w
  1881. [sysvshm]6 f  r& P- \3 `: l1 z
  1882. ; A default size of the shared memory segment8 \2 W& j+ v' ?
  1883. ;sysvshm.init_mem = 10000" O3 B3 r2 i8 X, n

  1884. 0 |  M9 j, z& ~# R) S& p
  1885. [ldap]. G% R+ S1 i- G+ ?
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    $ [: a' G: v* d! g& |  t! N' Y
  1887. ldap.max_links = -1' m- b! O: e; O6 F: b0 V6 T! D
  1888. : ^  J# U/ E8 ^' R
  1889. [mcrypt]
    # ]" T& u& \% P
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 q: z: x. O" g' P- y

  1891. 5 h( n, s. K& e$ a) {. h0 o
  1892. ; Directory where to load mcrypt algorithms
    / q3 V6 B" m$ [6 ~" W% d4 q! N; x
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) N" K  E4 B7 O& J  B( Y+ b
  1894. ;mcrypt.algorithms_dir=( c% `+ T: X/ \. T+ u
  1895. ) Y1 s, i- k- \
  1896. ; Directory where to load mcrypt modes
    0 }1 ?8 s- R$ R  y- s2 Z. C
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 R$ ^8 a0 B9 o& k
  1898. ;mcrypt.modes_dir=
    ; l' I9 {/ L7 t3 D& W2 ]# t0 {
  1899. # Z2 E+ I' r; J3 x6 k; F
  1900. [dba]
    , H0 t, F' v$ N& I- m+ E$ S
  1901. ;dba.default_handler=
    / i. q' F, C9 P! `$ M* A) Z

  1902. : n2 w6 x/ H% N: }
  1903. [opcache]; u" a* o+ [8 a$ }; h8 z
  1904. ; Determines if Zend OPCache is enabled
    + h! @5 I; x9 C* U! m8 J2 @0 A% c1 i
  1905. ;opcache.enable=0
    9 H, t* \4 R3 Q# o

  1906. ) j. b+ r: Q% k9 b
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
      ]2 ^# r$ q/ @
  1908. ;opcache.enable_cli=02 B0 c+ c5 w" I8 z- d/ q, X

  1909. # l' r) |' D0 v; t8 c4 Q; p
  1910. ; The OPcache shared memory storage size.! a/ K6 t% L* d' y2 k
  1911. ;opcache.memory_consumption=64
    7 r* n" t. J4 F6 ?5 p* L
  1912. 9 ?# C9 d( R; Y
  1913. ; The amount of memory for interned strings in Mbytes.
    * K. {' C! A$ l. z/ c7 o
  1914. ;opcache.interned_strings_buffer=4
    ( W7 u  y: S' j3 q& `. f: ~' i
  1915. 4 |1 ^2 ?; |# v( b# u& F3 T! V& b0 N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.2 A. ?3 j6 @) [! t+ ^- e! v3 v
  1917. ; Only numbers between 200 and 100000 are allowed.9 R& X4 t6 v/ o$ q* p
  1918. ;opcache.max_accelerated_files=2000( w* ~+ J) p6 x

  1919. . N0 a' P7 N( }! p6 A# J
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ' H1 }6 S  Z# K5 U; ]- ]) a, R
  1921. ;opcache.max_wasted_percentage=53 k! a% h; l9 @+ ]

  1922. / d- E$ ]( Q  E! U* D
  1923. ; When this directive is enabled, the OPcache appends the current working
    ! ]4 `+ g! e& o: i6 A8 U8 v" @
  1924. ; directory to the script key, thus eliminating possible collisions between- Q$ g6 q! J  [% @! c* h
  1925. ; files with the same name (basename). Disabling the directive improves
    7 e, i; l0 C+ h0 h% k
  1926. ; performance, but may break existing applications.9 ?. N* i- u% L8 L3 E$ s. P
  1927. ;opcache.use_cwd=12 }3 @( |. b( v( n' y7 K+ N' t4 v
  1928. 3 U1 y6 i: x  Q& W, a
  1929. ; When disabled, you must reset the OPcache manually or restart the
    , U1 Z( x: N7 F9 C& I# {' @
  1930. ; webserver for changes to the filesystem to take effect.# Q5 ]9 n5 ^6 Q
  1931. ;opcache.validate_timestamps=14 c5 j$ K0 J; y& `5 X1 m

  1932. 4 \5 A: i5 ^* t
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & ?* W; t: p# Z: @0 M
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    9 v2 \  L1 c3 d
  1935. ; once per request. "0" means always validate)
    : S& p3 C' q5 l8 }2 i; o/ s
  1936. ;opcache.revalidate_freq=2+ F% c; J- V+ P$ ?" s

  1937. % D$ \, }6 [8 s: \( x* B) ^
  1938. ; Enables or disables file search in include_path optimization
    3 w4 \  z; L' N' s# x/ }9 f
  1939. ;opcache.revalidate_path=0  ~% l8 ?6 b8 ?8 B: e- n+ _' k

  1940. - d, @6 w* R- C/ {9 }3 x& h+ @
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# d+ ^+ Z1 y: Z) D# ~# N* o$ g
  1942. ; size of the optimized code.7 {8 c) J5 N5 a/ m: v
  1943. ;opcache.save_comments=1
    1 O) J: m3 N+ X7 D& g- G$ }

  1944. 8 c- J0 G6 i& H9 I8 H
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"$ X' `7 V( S! O2 y9 X- H
  1946. ; may be always stored (save_comments=1), but not loaded by applications1 k; Z+ P3 U% z. L; ^, s1 E
  1947. ; that don't need them anyway.5 b  f- Z$ z- F
  1948. ;opcache.load_comments=1
    2 i; i$ t. k  C5 O
  1949. : {4 n9 y* v% p! F: d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code+ p, [3 t$ z% ~/ G& c2 \
  1951. ;opcache.fast_shutdown=0
    % b% h; c  y7 h6 ?8 u

  1952. % g+ L3 Y# K2 H8 `6 e
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    2 h7 f0 A% `  L4 e& C: {
  1954. ;opcache.enable_file_override=0
    - T( y9 X  V. y( c2 z
  1955. * v. h4 I2 B# z# U  l
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # U# D: p7 ]  s( @# T, P
  1957. ; passes
    ' S2 h; V) O& ~( e
  1958. ;opcache.optimization_level=0xffffffff
    ! A1 ?1 Y6 ?% z# E
  1959. # a- E, R" z/ [; S
  1960. ;opcache.inherited_hack=1
    5 y, q" O: {/ k; Y5 \1 U
  1961. ;opcache.dups_fix=0( |1 W, x: E: t
  1962. : n' U/ q6 f# S
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ) K4 }3 C, |) e8 T/ o
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ( P; n- K. J% U1 B1 K( n- _9 J: |
  1965. ; that should not be accelerated. The file format is to add each filename4 w0 m5 _- ~1 n/ A/ S
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 M" t4 J9 R. E4 f+ S; F  K
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( j% k' z" y9 R
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' _1 b% U# n, D/ @
  1969. ;opcache.blacklist_filename=
    ; [" n# f, W% d5 ?2 `4 m

  1970. 1 B& ~% `0 |; e" ~# Q9 k9 i4 H
  1971. ; Allows exclusion of large files from being cached. By default all files1 q* H9 O1 D, x; d0 _8 f7 `6 _& h
  1972. ; are cached.. e! X, B3 n. h% s. f8 c
  1973. ;opcache.max_file_size=0
    # p5 k, G5 k4 p9 K( A

  1974. - V  I7 U9 V0 n4 N9 `
  1975. ; Check the cache checksum each N requests.
    : p& y7 n/ w) o$ @/ A, R# O0 f& K
  1976. ; The default value of "0" means that the checks are disabled.
    / b5 p8 d# V- |1 N( V
  1977. ;opcache.consistency_checks=0
    . @2 J& j( I) t1 \

  1978. % U) C: S. O  }) k1 Z* `
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, h7 n+ g5 D3 s- ]
  1980. ; is not being accessed.
    6 n" o! N5 e8 R3 w, ]
  1981. ;opcache.force_restart_timeout=1808 F  U: c2 Q2 N" z: P! I" m

  1982. 6 K$ v( k" V4 @6 ?5 V
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ) p( x9 n! `! @) Y" r7 t
  1984. ;opcache.error_log=! `& g# ^7 ]! ^& Z; X3 W
  1985. 5 x# d% J9 r9 p5 }" c' S% ?
  1986. ; All OPcache errors go to the Web server log.1 P4 c- ]2 U) c" x& a# E
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.0 R" g2 h! R% f# y. z: ], A0 j
  1988. ; You can also enable warnings (level 2), info messages (level 3) or+ s- h: R1 m! E) J9 S5 t
  1989. ; debug messages (level 4).& R7 M  j  f$ k. W
  1990. ;opcache.log_verbosity_level=1) k! ^( w$ p0 q

  1991. ! X$ V% i1 h" \/ v6 t
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.8 Q+ {( I: A7 s2 T; W
  1993. ;opcache.preferred_memory_model=1 N/ N" {& J7 \6 I) u- d

  1994. % K& H. t: d; K' H4 t
  1995. ; Protect the shared memory from unexpected writing during script execution.* D6 L, n( c. p# R0 G6 ^) b# |; y
  1996. ; Useful for internal debugging only.
    - N9 k) q! B" U1 X  T& X  [2 |
  1997. ;opcache.protect_memory=0/ C) _; Y3 \. ?- o4 Q+ f

  1998. 8 m9 B9 p) I' y! E
  1999. ; Validate cached file permissions., B- x9 x1 ^9 t" V3 n/ K
  2000. ; opcache.validate_permission=0% j; Y# u; T0 N* F2 n, V5 Z5 D

  2001.   k5 o% ^3 T( X$ s1 j
  2002. ; Prevent name collisions in chroot'ed environment.
    0 Z# T. c: D. K. Y. r/ q! M
  2003. ; opcache.validate_root=0
    & P& Q: x6 C* S6 ]( q: m8 P: v

  2004. - L2 G' q  Q6 X7 D+ D& b3 Q
  2005. [curl]# S6 N. I8 q7 i/ r/ E4 G! h
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  x# P7 F# d' i
  2007. ; absolute path.
    5 y0 l# f9 a9 @) _9 T) S
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt6 g' u) U. R" t6 G

  2009. 2 @; r/ j! F) q+ b3 \& c
  2010. [openssl]# c; J( F2 Z% j* g+ S
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem& K! m9 B4 W! j* ^$ L0 t
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % B7 P" m( n" M- }) C
  2013. ; not specify a value for this directive as PHP will attempt to use the7 i, A5 O! {' R; `3 j4 a2 x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still$ D% l1 c. s6 U1 X
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 S/ C" E: D  s6 H2 [% T
  2016. ; option.
    $ \0 x/ k! i+ h: _8 _
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ; ]1 F3 R6 q; w# l" ^/ {' `( l" d
  2018. 8 P5 J& N* Q; N$ b1 Y$ X1 n
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
      z, @, n% }- _% o( H' }
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 M+ ~  u: v) R$ M" |
  2021. ; certificate. This value must be a correctly hashed certificate directory.9 z( H* q& D& g  Q
  2022. ; Most users should not specify a value for this directive as PHP will
    & O+ S& l# z5 Q# d) o# u' o
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    4 I' K/ {3 Y; o% G* k6 _! h
  2024. ; this value may still be overridden on a per-stream basis via the "capath"# I; \# X' P& C/ W/ G( Y6 a: }! o
  2025. ; SSL stream context option.
    # K$ }5 r5 c0 ?. R9 m9 z
  2026. ;openssl.capath=
    8 f) b% ]% b8 a* @
  2027. 3 N7 c$ s8 l& k) G& r
  2028. ; Local Variables:
    % J3 O8 ?) U8 Z2 X
  2029. ; tab-width: 4
    8 ?9 S# d# h0 p' h' J
  2030. ; End:
    1 C6 G% D  Y6 s/ J; h+ {1 r) z) S! H
  2031. $ y2 h% W4 B! }
  2032. ;eaccelerator
    * N) X+ q& B% q$ i7 t* u
  2033. 3 B, f3 i3 t% r9 q/ Z0 N, r; T
  2034. ;ionCube
    : w& S5 S: |% G7 X7 v$ f

  2035. ) G/ F  ]5 T' `; Y1 ~0 @( z
  2036. ;opcache5 \  ?* [8 u4 {( W" C, G
  2037. - e8 A- Q5 F1 E2 A2 \7 M' K, t8 k0 U% A
  2038. [Zend ZendGuard Loader]" ?' Z+ J+ w* o  F8 s% r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    5 U+ l8 `$ A- l/ S. x7 \
  2040. zend_loader.enable=12 Q2 {* ]5 b& z- b9 A
  2041. zend_loader.disable_licensing=0
    5 S' S9 }( g. m
  2042. zend_loader.obfuscation_level_support=3
    # M, p% j6 q+ _/ ~  ~
  2043. zend_loader.license_path=
    7 X6 t2 h* d4 p+ n. `$ B; P% n

  2044. ' {, @4 t# \$ \) W, t, F  \/ z. L/ V; F
  2045. ;xcache
    ! m, ?# z/ S- Q/ A7 y

  2046. 3 p6 o  C1 Z! |5 |6 S
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692- f$ D8 w  ~# t' }7 o5 w/ Z. K
5 m1 y1 Y* r- j2 C7 R% Q9 G$ H
# R2 c/ L" l) J% q  [$ R# }
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,1 ^, p  f6 ]! w' I7 n5 L

5 a7 A/ t' j) X, g( z3 M+ f1 h! h3 JDiscuz!程序版本选择:# c2 O9 r' ~, A8 l
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,4 W) j$ d/ U( A2 \/ Y
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
4 `/ R+ R$ x' v" Z4 ^9 kDiscuz!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。
  ]$ `1 K+ Z) R3 e# Q
, T# N3 R$ R/ f1 |$ Y3 w9 M  ODiscuz!插件模板版本选择:: c  C! q) Y6 _/ T8 A
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
4 o% }+ ~- r% R* U/ m针对这个问题做个统一的普及:
! R, g) N& R" \2 BX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
) w, ~: ~4 y! C2 A. J. m0 K$ u% f; {3 y0 r+ C9 _2 Q
所以: ]& l" ?3 n% t! y$ f
适合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的二级域名。- j: p' j+ A' R: j5 _
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
! H2 \6 ~* M  @& \+ o注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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