分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ N/ a8 W0 n8 i, R7 W
; H5 k. V& ?. [% t+ c8 P
  1. [PHP]
    & D. }) j: v4 q! l2 H
  2. ' }& ~1 M9 t& |# m
  3. ;;;;;;;;;;;;;;;;;;;
    ) {$ h0 J  z7 U. i
  4. ; About php.ini   ;
    $ _) k$ e5 D! ~- J6 y
  5. ;;;;;;;;;;;;;;;;;;;+ T$ e& A/ Z1 w& K3 O& \9 M  S
  6. ; PHP's initialization file, generally called php.ini, is responsible for* N8 o: }- g* @2 t7 z
  7. ; configuring many of the aspects of PHP's behavior.
    0 w* [9 i- o3 r2 m: `/ ~9 ?
  8. ; Q& g4 s: u7 ^3 b; g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; S; w/ I. q8 y# J# \" I
  10. ; The following is a summary of its search order:
    5 C0 x& s1 V/ ^& I! i
  11. ; 1. SAPI module specific location.3 k& t  y. _; |$ K$ F' F
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 W, t, ?7 w2 l7 e: S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* f( z7 j* b+ h
  14. ; 4. Current working directory (except CLI)
    ' m5 O8 {8 k" e, l" g6 m1 I
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ) q+ |6 ^* u7 L1 f6 S
  16. ; (otherwise in Windows)3 w; P0 A" ^0 [2 D- r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : ?. E! x" F; d! s2 _
  18. ; Windows directory (C:\windows or C:\winnt)/ u  L0 j) E  Q! M: X1 s
  19. ; See the PHP docs for more specific information., d" @$ C0 h8 u9 @4 }. q
  20. ; http://php.net/configuration.file1 M4 Y6 t: p3 Z! r! V
  21. ' M7 y9 N, h9 r& E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines0 v- u, \3 H0 M
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; @; K+ V9 a" B  k! q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ) w& p) Q) E7 k; ?
  25. ; they might mean something in the future.- ^4 x, e( n+ P( f% R+ J8 w/ a7 U

  26. 7 @& c0 M( o! C2 r) `& d- {, F7 |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    . M+ N  T$ Z! [2 {: g1 Y8 t- y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % b8 M; \+ L* f1 |: K
  29. ; following the section heading [HOST=www.example.com] only apply to
    & G) X7 F6 T( B8 B. n+ k1 u6 R
  30. ; PHP files served from www.example.com.  Directives set in these
    ( Q. X+ E9 u1 D5 J0 X
  31. ; special sections cannot be overridden by user-defined INI files or7 ]: A$ M5 F: Z- t* B- @
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! W  g! K' N+ ]* x/ q' h  R- z  b8 Z6 e
  33. ; CGI/FastCGI.7 _$ ^$ g6 Q: q4 L) h8 H
  34. ; http://php.net/ini.sections7 T* T- q, ?/ S: w+ x

  35. 1 t) J8 {/ x( c  x
  36. ; Directives are specified using the following syntax:6 i* h9 q, f, ~5 S& `% m) T
  37. ; directive = value
    % F4 ~$ ^& V/ k" c9 c" W8 U; `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 \1 w8 B# k$ U, e$ ?+ z; N3 ^
  39. ; Directives are variables used to configure PHP or PHP extensions.  V1 `' ]* {& t+ `, N. m* C3 h
  40. ; There is no name validation.  If PHP can't find an expected- Q  d/ u, c3 ]6 n8 n
  41. ; directive because it is not set or is mistyped, a default value will be used.6 v4 t; B; P2 }8 Q1 r
  42. ) \+ h. [, ]7 W! E. P$ ?; x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
      f& B3 s7 F6 ]. f+ u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression3 m! ?, Y4 e& w: B5 y0 p) A" f7 R
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % \' O2 r- M, k7 W* `! F
  46. ; previously set variable or directive (e.g. ${foo})
    # D, Z* f. c9 k7 Q) n

  47. $ E) u+ H* V0 }* T: |$ F
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 Q- p4 ^( O) {8 J
  49. ; |  bitwise OR/ `" C$ `' a8 W  x/ |
  50. ; ^  bitwise XOR& M* M. }2 m# N2 d$ w" w+ A
  51. ; &  bitwise AND4 p# L$ ?1 Q! ?: Y& d# ^  ]% X' ?
  52. ; ~  bitwise NOT
    & z; j' ^% [9 n2 m
  53. ; !  boolean NOT
    1 f; g0 y' D1 v

  54. 0 r+ n/ |3 x6 g; y1 O
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.: p/ ]5 u8 b8 N( N
  56. ; They can be turned off using the values 0, Off, False or No.
    ) `( U4 T; j" z

  57. ! b7 F2 J0 u- i& p/ |' U
  58. ; An empty string can be denoted by simply not writing anything after the equal
      Z) S& ^' R+ _6 q- p& T
  59. ; sign, or by using the None keyword:
    # i: ^, c0 m& C' h. y
  60. " U  X7 ^+ v' V# o! |
  61. ;  foo =         ; sets foo to an empty string
    4 x! I0 b. K- a: W: N
  62. ;  foo = None    ; sets foo to an empty string
    ; o4 Z0 H& e$ x! ?0 A
  63. ;  foo = "None"  ; sets foo to the string 'None'9 w" p0 K  Q" L3 D. i- Q

  64. 6 e  @0 r; i! ~1 C0 {. C
  65. ; If you use constants in your value, and these constants belong to a4 e$ l1 i$ O& A2 D+ O* ]- t
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    : X+ _1 Z$ I, _3 a7 \" _- j
  67. ; you may only use these constants *after* the line that loads the extension.
    9 W! Z0 D& Y) h3 M! P+ n0 y9 }
  68. / h5 L* n* Y% U9 E) P+ z  c
  69. ;;;;;;;;;;;;;;;;;;;4 ~* ^1 s3 A1 n) L$ Y3 P, k
  70. ; About this file ;7 e& n. J6 q6 u" b( h" X
  71. ;;;;;;;;;;;;;;;;;;;( y3 @2 y4 x& h/ D, H6 D- N: E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 C2 f9 K) ?& _( y; [
  73. ; in production environments and one that is recommended to be used in9 H% }) t  V- P' a+ @' N
  74. ; development environments.* C$ f4 C7 q0 O; M1 l
  75. 8 ^- D5 Y! l/ g1 D. `
  76. ; php.ini-production contains settings which hold security, performance and) z+ b! g) ^$ d: _
  77. ; best practices at its core. But please be aware, these settings may break
    9 _- \4 R9 I3 V! F8 t9 i; t
  78. ; compatibility with older or less security conscience applications. We
    2 `0 G% `5 B! ~+ m& l! G/ D! [$ H
  79. ; recommending using the production ini in production and testing environments.6 O. d# H/ S" x- `, r1 o! j
  80. 7 {% t( }  u  A6 ?0 \, c: `
  81. ; php.ini-development is very similar to its production variant, except it is$ {3 {& G3 y; c& x
  82. ; much more verbose when it comes to errors. We recommend using the
    ; i8 U% G. g1 j- H* n- C- `* Y* \& w
  83. ; development version only in development environments, as errors shown to5 E) A' J% D. Y; x( o7 t
  84. ; application users can inadvertently leak otherwise secure information.0 |; u5 [" K" s+ a  Z6 l* I& ]' ?

  85. ; p$ `9 T* I8 F+ [2 ^3 ]4 o
  86. ; This is php.ini-production INI file.
    ! A- T0 |8 c/ s0 \

  87. " w0 r+ b6 g* R8 I! i: M
  88. ;;;;;;;;;;;;;;;;;;;
    3 r* q1 \+ H& p( X: m- N) C; K+ D; M
  89. ; Quick Reference ;' F/ y- }1 v0 D" q6 O+ X) _$ S+ @
  90. ;;;;;;;;;;;;;;;;;;;
    6 e1 K3 w6 q' _1 j0 L
  91. ; The following are all the settings which are different in either the production
    ! o% d$ O4 s, r3 I' h
  92. ; or development versions of the INIs with respect to PHP's default behavior.% K4 k3 Q% ~9 Y1 @5 U
  93. ; Please see the actual settings later in the document for more details as to why. @& z; X6 R* q
  94. ; we recommend these changes in PHP's behavior.
    0 x# p+ v- y9 K6 v! W" |' N

  95. ( V! u: A9 g3 [. s+ L
  96. ; display_errors. y) x# r* e9 ?9 p% q) I
  97. ;   Default Value: On
    / V8 P1 @5 ]: X: [3 c  }
  98. ;   Development Value: On
    ' o) r6 h, \( R- O. j0 C+ [
  99. ;   Production Value: Off
    % i8 T! O+ ]/ l6 e
  100. " ]) n) H8 A# v8 R9 D5 X2 U
  101. ; display_startup_errors7 K: i, v& d0 Y4 O, T
  102. ;   Default Value: Off" w+ I7 P3 K" ~  a3 a* @- N3 ^, e
  103. ;   Development Value: On/ t) K* V: N8 B1 n/ }& K! ?
  104. ;   Production Value: Off& Z1 D) K& x, m$ C/ [: J
  105. 5 d& \! e& h- @
  106. ; error_reporting
    ) W6 `& v! v1 T6 E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 o) C1 X( n3 T; G7 U
  108. ;   Development Value: E_ALL
    7 F$ ]6 J( \* M# K2 l% \9 \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 F- H  ?( D  l" w. Z
  110. 7 Y6 C2 {0 j) h
  111. ; html_errors
    ( s; c: D$ t" @1 @6 ^8 a5 \& L
  112. ;   Default Value: On
    & c( }' Y/ p4 w" K+ J
  113. ;   Development Value: On
    4 q% c, ~' x% H/ @: T
  114. ;   Production value: On4 }$ o1 k2 S! z! A, P  n" M

  115. 1 Y5 D2 ]; F3 J5 g) _. V. s
  116. ; log_errors
    7 F) U$ o) y( B9 x. r% Z! k
  117. ;   Default Value: Off
    $ \  I. G/ z% }! g( }
  118. ;   Development Value: On2 R" x8 F+ O5 ^' A
  119. ;   Production Value: On
    , ]' T% R) x' [3 D+ e0 r
  120. ' k' Q2 j) x! `
  121. ; max_input_time
    0 y$ |. J) s0 _2 ]$ l+ K
  122. ;   Default Value: -1 (Unlimited)
    7 ?% Z2 Y* x4 U1 n
  123. ;   Development Value: 60 (60 seconds)
    & Z2 [( U; t# w& t3 a
  124. ;   Production Value: 60 (60 seconds)
    ) j' l2 d5 I. b: @- r- c

  125. 7 h5 i6 Y1 _$ q3 c; R9 R5 c
  126. ; output_buffering
    7 T: ~) ]" I& }' }, j) b
  127. ;   Default Value: Off6 o; h+ h, b8 z# b" n. Q4 S
  128. ;   Development Value: 4096
    6 a! W( p0 ]" i7 z8 `/ C
  129. ;   Production Value: 4096
    * V2 _5 v6 l6 x: v. s3 i
  130. , ^2 j' [* u+ w6 R% ?2 e; ^
  131. ; register_argc_argv/ M  g) z0 ]- M! _% i
  132. ;   Default Value: On9 k/ k  L& G, r. b& m, x6 s
  133. ;   Development Value: Off
    7 @5 j7 e) b" V5 e! e/ \2 C
  134. ;   Production Value: Off
    - Y/ j3 i2 y' E- q
  135. * t3 e: H9 Q7 D
  136. ; request_order" D$ B$ \3 ~+ X6 s  }6 I# r" U
  137. ;   Default Value: None
    9 x" I" J: j4 @, T9 c) i
  138. ;   Development Value: "GP"( h* _) n! Z; A5 w# x( [! H7 X
  139. ;   Production Value: "GP"# v( N( J$ ]1 C& p0 D
  140. - P& D6 o) Z) D! `4 Z
  141. ; session.gc_divisor
    / o, G. D: ?- u0 y0 T- x
  142. ;   Default Value: 100
    9 l8 ^9 V$ Q) l: ~/ _1 P
  143. ;   Development Value: 1000
    2 n" ~; v& q% }% U$ c8 Y8 Q0 M
  144. ;   Production Value: 1000  l: c. p5 ?6 p+ m' z8 s# N+ ?- n, {

  145. $ D% z9 S+ G& a3 Y& o4 u. s
  146. ; session.hash_bits_per_character4 O0 Y3 Q- @9 y3 {/ e6 I
  147. ;   Default Value: 4
    $ v  g! D  n  q2 _/ f* T, L
  148. ;   Development Value: 5/ H" o' h; m% H  |
  149. ;   Production Value: 5
    4 i6 O5 H. v7 V7 D! f
  150. ) k5 f2 E. h7 B2 I
  151. ; short_open_tag! @, [2 c& i2 G  R" K+ ?* {) {% A
  152. ;   Default Value: On
    * J2 }- }, I$ F5 N
  153. ;   Development Value: Off
    : A4 X2 [3 a$ J  I1 R
  154. ;   Production Value: Off
    2 s% B3 J# ]- m6 e; M9 E

  155. + _! j7 N" f% ?  V8 L# N
  156. ; track_errors
    ' H  G" ]/ i* `: J7 l# O' R* e8 c
  157. ;   Default Value: Off4 @8 ~& T, l9 O8 d/ `# O9 M
  158. ;   Development Value: On( q& M! q' z$ V& }* h4 X
  159. ;   Production Value: Off
    9 U7 g; A7 X5 t( R% _4 B* n

  160. * O1 V( e4 }& c1 b  f
  161. ; url_rewriter.tags
    ' ?% i1 t0 ~6 h! y& O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; c8 {( ]4 X8 Q! P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 ^5 t. q! ]; \. ~: _, U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% w/ F2 `" u& b* u' T3 m1 p
  165. , |5 `7 V9 |+ `3 O
  166. ; variables_order
    ( T4 F! H( U. O# F
  167. ;   Default Value: "EGPCS"
    ' P5 ?( C6 l( k, S4 P
  168. ;   Development Value: "GPCS": ]! [2 b; M; ~0 K9 _; h. v
  169. ;   Production Value: "GPCS"2 {7 Z8 K7 Y3 G4 \1 b+ F0 v$ g  w

  170. + ~9 I, O- B2 V5 x2 d( r; \
  171. ;;;;;;;;;;;;;;;;;;;;  Y7 G( d5 A# Y" z& \3 K" S
  172. ; php.ini Options  ;, G' u9 a2 E# U' ?
  173. ;;;;;;;;;;;;;;;;;;;;
    ) \) p$ Z7 Q: W1 }( b3 b, ~( T& V
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! X5 Z- Y6 v/ y4 @- o7 P
  175. ;user_ini.filename = ".user.ini"
    $ Y: J+ k4 x7 ^! S

  176. $ R3 `" z$ T  _4 `# Z: {2 Y# U
  177. ; To disable this feature set this option to empty value9 v  e- l" Q5 a$ ^
  178. ;user_ini.filename =
    - ^. I9 N6 m5 ]1 a

  179. & Y& z. p% U% y6 N3 f9 ?8 T( ]8 |
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    % l; Y1 O, v* p
  181. ;user_ini.cache_ttl = 300
    6 Q5 }. C" z9 ^$ u( z( a4 B2 ?- c" Y

  182. . c+ U" z* m( {0 w
  183. ;;;;;;;;;;;;;;;;;;;;% a* I" g9 N3 B7 x7 J& x8 n9 E
  184. ; Language Options ;& o& l4 F! q$ ^- ~
  185. ;;;;;;;;;;;;;;;;;;;;! w5 \$ {0 B1 _: s& z

  186.   [9 ^5 n. R  @  {0 J7 T4 W
  187. ; Enable the PHP scripting language engine under Apache.4 n+ `8 _8 h* ~; x" M  q
  188. ; http://php.net/engine  Y3 F1 n# i7 |+ H
  189. engine = On
    ' R% y' z* L2 n9 ^# j

  190. * u4 i8 o, e4 g) Q
  191. ; This directive determines whether or not PHP will recognize code between
    * A5 ?$ j) R/ [0 V* H9 K0 j  t6 [* o( d+ g) ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 ~4 \$ q# [( m- W
  193. ; generally recommended that <?php and ?> should be used and that this feature! i# v; H7 X) l8 Q0 L
  194. ; should be disabled, as enabling it may result in issues when generating XML" `; p# E: D, ?2 S8 _3 l
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' M) O* }. h: Z: @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + y! G6 T- q. c% ^0 E; u) c
  197. ; used regardless of this directive.# W8 s9 e; `+ M2 O6 y( A  g) G2 G2 k
  198. ; Default Value: On
    ' Q0 l5 ~) H4 l7 A4 q
  199. ; Development Value: Off
    6 s3 s9 a0 M$ h, l* P. [
  200. ; Production Value: Off1 n( n+ `5 L% a0 ^8 m" j
  201. ; http://php.net/short-open-tag
    ! A7 y( I4 B, k9 x* Q9 i
  202. short_open_tag = On
    5 Y- E6 s$ R- C5 a  N
  203. ! q# w, u  T7 {$ Z* T# w* a/ u0 H2 y
  204. ; The number of significant digits displayed in floating point numbers.
    - b1 ?/ n' n+ b* e
  205. ; http://php.net/precision
    0 n) C- l( L8 x- ^* P& P
  206. precision = 14
    6 _  {7 Z0 z/ ]. T7 ~" B, g

  207. 8 o7 }( M  A0 d: L7 h3 z& c
  208. ; Output buffering is a mechanism for controlling how much output data2 V8 }* X' y" f9 r
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 D6 T4 u+ |' x1 [
  210. ; data to the client. If your application's output exceeds this setting, PHP9 I- ]- R) }3 P; N* ?
  211. ; will send that data in chunks of roughly the size you specify.
    1 V2 D  a: ^$ I& L6 |7 \
  212. ; Turning on this setting and managing its maximum buffer size can yield some) |( t' V- [( B5 b7 c; j! s
  213. ; interesting side-effects depending on your application and web server.
    ! X5 h9 u  f/ L( B. S/ \/ U9 U
  214. ; You may be able to send headers and cookies after you've already sent output4 F: K/ q" B& q- M
  215. ; through print or echo. You also may see performance benefits if your server is) B9 F$ j  g' O
  216. ; emitting less packets due to buffered output versus PHP streaming the output6 h+ d5 O% T  D# \0 ]9 i
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: g  K( ~! j2 U4 W. w
  218. ; reasons.
    " R+ y3 X# Q- x1 _& _4 g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control6 W* v) S! z! i! S. K8 P: S% ^+ M' `
  220. ;   functions.
    ! ^' v# J2 E* s) |
  221. ; Possible Values:) Z$ j; n  [: m9 P: G
  222. ;   On = Enabled and buffer is unlimited. (Use with caution), K# @! B5 K0 F8 F% Y/ {" p
  223. ;   Off = Disabled
      A+ v0 U5 s! m' w  u) r
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    7 |% `2 h% x; |& y& e0 u" J
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI0 z9 i; f9 ?  M; Z* P- x
  226. ; Default Value: Off6 \( S( p- A( ^; f( }
  227. ; Development Value: 4096% [- t$ J) Z0 G/ n( q) T
  228. ; Production Value: 4096
    / X' k( X" ?+ {. c: U
  229. ; http://php.net/output-buffering
    / F& D4 A( C. Z9 \; j, Q2 e& H
  230. output_buffering = 4096
    * e) o/ Q" U: w7 P$ L0 M

  231. ( |7 Z0 e. ]+ L4 Q. j" `7 G! b
  232. ; You can redirect all of the output of your scripts to a function.  For
    0 z  ~. Q1 A, g0 H4 Y$ ~3 f
  233. ; example, if you set output_handler to "mb_output_handler", character% h( i. Z! a% x/ a* d3 @
  234. ; encoding will be transparently converted to the specified encoding.' z3 `7 k. k( ^  e* O; V" m
  235. ; Setting any output handler automatically turns on output buffering.
    - V9 H% W$ P+ M  v7 p
  236. ; Note: People who wrote portable scripts should not depend on this ini2 I, P& l- Q8 {: G5 F" i# }/ k$ f% o5 [
  237. ;   directive. Instead, explicitly set the output handler using ob_start()., ]  W* L$ P7 I/ h4 S
  238. ;   Using this ini directive may cause problems unless you know what script  O- R# |0 q( ?
  239. ;   is doing.
    / g6 j& G0 O4 w, x! O/ L
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( E; d5 m9 N  T( {  r$ x
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 v: b! \1 j  T( Y; x! p
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ! s2 L% n% [, E9 h1 n
  243. ;   Instead you must use zlib.output_handler.$ @9 x. v: ?1 M; `
  244. ; http://php.net/output-handler
    3 |0 ], o+ u# G' o: I
  245. ;output_handler =0 C/ V& E3 w8 N7 S! J
  246. 4 ?, C1 O1 `$ v9 W! H* b
  247. ; Transparent output compression using the zlib library
    # t8 ^+ T; O2 O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size# ?- f$ o& `2 A4 S0 R1 n( Z; |2 R
  249. ; to be used for compression (default is 4KB)
    / A; \; C# |* H! F1 z0 Q/ |
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 L4 ?0 P' {: q2 z; T: A
  251. ;   outputs chunks that are few hundreds bytes each as a result of" y7 _! n' l/ n! a
  252. ;   compression. If you prefer a larger chunk size for better
    2 h0 q8 w- v" O. A
  253. ;   performance, enable output_buffering in addition.
    # u, f4 D+ i5 u1 ?. F! [0 b
  254. ; Note: You need to use zlib.output_handler instead of the standard# j8 m0 ?+ P4 |/ d3 J0 O
  255. ;   output_handler, or otherwise the output will be corrupted.. p7 b1 R1 }* S) B
  256. ; http://php.net/zlib.output-compression
    0 z: t' I9 E" |; E2 ~9 W
  257. zlib.output_compression = Off
    % H* W5 `( F9 Y- s' i
  258. : X! d9 r2 o( e; g
  259. ; http://php.net/zlib.output-compression-level
    + _% y9 {" k2 ~0 h$ f! `
  260. ;zlib.output_compression_level = -1
    0 K' o) S* B# ^1 x7 i8 g- Q$ h
  261. 3 [  ]7 A# ]* \: v7 R3 _
  262. ; You cannot specify additional output handlers if zlib.output_compression
    8 g/ E; v/ p5 a, x9 _1 M  x
  263. ; is activated here. This setting does the same as output_handler but in
    $ {3 Q* g  @$ ?6 u
  264. ; a different order.
    : p' S9 L2 [% S
  265. ; http://php.net/zlib.output-handler
    % I( d% _9 z% }9 O  f
  266. ;zlib.output_handler =
    , P  Z' o6 B, b+ a" W6 D, K

  267. 9 G. i* J9 Z  A; v1 O
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 x+ i2 F8 I. X9 d7 `
  269. ; automatically after every output block.  This is equivalent to calling the
    6 l, H( N8 R% V3 y9 {
  270. ; PHP function flush() after each and every call to print() or echo() and each
    . |; a' T! Z% [: |( U1 D/ M
  271. ; and every HTML block.  Turning this option on has serious performance, M/ X" B! }1 s# ^  r* m
  272. ; implications and is generally recommended for debugging purposes only.7 m" z, d4 G. }. J( y9 G& D
  273. ; http://php.net/implicit-flush* D( G# ?& q5 }$ Y! d1 |
  274. ; Note: This directive is hardcoded to On for the CLI SAPI' R2 g5 W3 y) `" }: h9 F5 ^. Y' _
  275. implicit_flush = Off
    6 x5 d! K2 Y, [/ Y3 O" \  m  C" l

  276. 5 ~) a7 }2 N: ^1 s( _
  277. ; The unserialize callback function will be called (with the undefined class'& g& J2 }3 k% n3 N
  278. ; name as parameter), if the unserializer finds an undefined class
    : j/ F" _- D- M( d9 C
  279. ; which should be instantiated. A warning appears if the specified function is
    % I6 c" a" R3 Z; b# Q( c
  280. ; not defined, or if the function doesn't include/implement the missing class.! X5 t2 r" g3 ?6 P
  281. ; So only set this entry, if you really want to implement such a
    6 V& P4 S; A5 a5 O5 _
  282. ; callback-function.
    : j( j- Z$ S* {) Q6 m
  283. unserialize_callback_func =9 `* K+ X# \, ], b8 i

  284. 5 @# j/ k5 v- A+ U# ^
  285. ; When floats & doubles are serialized store serialize_precision significant
    9 J% d' [: U( Y) O) X
  286. ; digits after the floating point. The default value ensures that when floats7 u# O" g2 a4 T9 \
  287. ; are decoded with unserialize, the data will remain the same.5 ~  g& O$ H: w7 o3 O+ l
  288. serialize_precision = 17
    - m" ?" \5 V8 i8 N+ U' b
  289. , h( L( ?/ q. T' L! M$ H
  290. ; open_basedir, if set, limits all file operations to the defined directory( t0 y) h/ N; N$ n
  291. ; and below.  This directive makes most sense if used in a per-directory# `3 o* V7 T; I/ Q0 S
  292. ; or per-virtualhost web server configuration file.5 Z' z5 N" H/ o) n+ O0 Y3 Q/ K: m3 B
  293. ; http://php.net/open-basedir- u( o4 O  w5 _6 v7 ^
  294. ;open_basedir =; j- D$ A. Q" B5 H
  295. 8 p( F1 `2 R. l1 V! C( V
  296. ; This directive allows you to disable certain functions for security reasons.
    $ `0 O7 ]- d& @( P* `! n8 a
  297. ; It receives a comma-delimited list of function names.0 O/ E- _+ Z) ?4 K2 o
  298. ; http://php.net/disable-functions7 H4 _) s7 f2 ~) {+ {8 L- b( P
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' A. z% i; b5 J5 @$ e/ q6 B

  300. , \0 g( h) R+ i8 f
  301. ; This directive allows you to disable certain classes for security reasons.7 X9 Y3 t5 T# U: s& c. Q9 H( n
  302. ; It receives a comma-delimited list of class names.. t2 T; u! X3 @8 T3 C+ O
  303. ; http://php.net/disable-classes
    7 S+ G' j, z. w1 y8 n0 Y
  304. disable_classes =
    $ e' {: f( p% P6 N0 j

  305. ' g' _0 K7 I, {' |8 F% C
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in  o% p: d8 z, W: K" r
  307. ; <span style="color: ???????"> would work.
    + @. o7 o* i; q' v6 U
  308. ; http://php.net/syntax-highlighting) x7 }$ r% D0 R' q! d
  309. ;highlight.string  = #DD0000
    6 S' p0 Z/ Z5 N: e2 N: C
  310. ;highlight.comment = #FF9900! `7 g1 j0 N! b8 m* L
  311. ;highlight.keyword = #007700' h% I; n" h; `) C/ U( O
  312. ;highlight.default = #0000BB
    " y- v1 ^) N7 N5 t, s7 S9 I9 h
  313. ;highlight.html    = #000000
    0 h+ k& V% ~) v0 `* {6 w. z, ?& x
  314. 9 h1 A. _0 ?- X! `0 q0 j
  315. ; If enabled, the request will be allowed to complete even if the user aborts/ x8 ^1 H7 Z3 a; z
  316. ; the request. Consider enabling it if executing long requests, which may end up( @8 i( A* p. j2 p2 N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 Z& H3 I0 \7 f3 `
  318. ; is to disable this feature.
    & {6 _9 E/ f, ?4 ]" x! W% i
  319. ; http://php.net/ignore-user-abort* H+ X: J" M, P0 d2 {/ d
  320. ;ignore_user_abort = On" H9 |1 o* R4 f4 P+ ~

  321. 6 l- I" F1 j8 P2 w
  322. ; Determines the size of the realpath cache to be used by PHP. This value should$ a1 P5 O) _3 y
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    2 h- \. N) Q! e- k5 H
  324. ; the file operations performed.
    1 [/ q/ h9 \- F, R, A/ `( D( t0 T
  325. ; http://php.net/realpath-cache-size
    " v' F: _, ?, U$ \3 V! n7 N/ u+ A
  326. ;realpath_cache_size = 4096k+ a. X# N. [, o. h5 @% }
  327. 3 E1 X# J8 S  e% F- f' J
  328. ; Duration of time, in seconds for which to cache realpath information for a given- [6 C5 R3 |5 @
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    : n2 ]& O4 w1 j$ i. m% [
  330. ; value.
    6 w/ r: m! i. K1 o* d5 n- k- c
  331. ; http://php.net/realpath-cache-ttl4 P% F  A- y+ f( _5 L3 W
  332. ;realpath_cache_ttl = 120" w8 H: S) `6 v' P% w! n
  333. ' x) W# u# W7 t
  334. ; Enables or disables the circular reference collector.. \- F0 T% _) Z, {
  335. ; http://php.net/zend.enable-gc
    & c! o: m& _: `$ [" m4 ~4 i- R
  336. zend.enable_gc = On
    1 o3 D2 \6 f+ ?' r0 O6 t
  337. 3 T" F5 Y5 b* H. d; }
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 A4 ^* C8 K; ?1 X: e9 [; k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ) L/ D- F: v( Y, |5 }: h. ^, N
  340. ; encodings.  To use this feature, mbstring extension must be enabled.  A$ |; Y6 q% C" v* H" t
  341. ; Default: Off0 [  }1 j9 n3 Z# R
  342. ;zend.multibyte = Off
    1 n4 F8 y; u; j4 N
  343. ) w8 O6 U5 w) W' d% Y+ R. s9 K
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    4 W3 b; E/ d# v8 u
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    - h" x, f7 O/ n- p  c, K4 }! c
  346. ; Only affects if zend.multibyte is set.
    ; V9 B! I" g" P7 `  k" m, E, A
  347. ; Default: ""
    # s; c9 `7 H$ h5 L
  348. ;zend.script_encoding =  ]6 _( r! L8 Q
  349. & L( C4 A0 R7 t: \
  350. ;;;;;;;;;;;;;;;;;" d+ R$ ~4 x+ A7 O; h
  351. ; Miscellaneous ;
    ' A* d% k  o! \/ O
  352. ;;;;;;;;;;;;;;;;;
    & Y' e+ A' }  _; I2 a

  353. 5 Q/ F' N& _( ~1 ^. }
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    8 v* y6 S( Z, a) b* c0 i; Y1 T
  355. ; (e.g. by adding its signature to the Web server header).  It is no security0 o/ G. u+ {) t) K) E& l: t
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    . v$ y$ y# M/ J9 k) d( P
  357. ; on your server or not.
    " G7 l3 O- G& T( c9 g
  358. ; http://php.net/expose-php
      H/ G: @* e  D. N) d5 _9 l1 [
  359. expose_php = On
    7 @1 `* P8 }) p

  360. 2 U( Z" B$ U. D: v0 W4 g! m5 S# H
  361. ;;;;;;;;;;;;;;;;;;;5 Q( _6 q5 D- g1 e- G8 e7 z
  362. ; Resource Limits ;
    ! u$ h. H# d6 M1 O
  363. ;;;;;;;;;;;;;;;;;;;9 x; \3 @. m8 j& A, K4 e
  364. % {& `# |6 T8 U0 m; o
  365. ; Maximum execution time of each script, in seconds
    / k4 q. B" ^  b7 q5 ]* V
  366. ; http://php.net/max-execution-time
    ! Q( D  i+ R$ `) E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ P# x8 n* z/ f! U$ D: j3 F
  368. max_execution_time = 300
    7 v* n. K3 d7 C2 }" H

  369. - d& @6 X  A/ W
  370. ; Maximum amount of time each script may spend parsing request data. It's a good2 w! @2 e8 w4 C1 I* J8 o% |. G% Y" G  |
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly5 z0 |) {, m" b/ _* ]  M
  372. ; long running scripts.4 Z3 G. U; k/ E" R7 F5 m( Z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 V. ]5 @4 {. ^: K
  374. ; Default Value: -1 (Unlimited)
    9 Y* u; i2 [; u4 A/ ?4 `- ~7 z
  375. ; Development Value: 60 (60 seconds)# W2 L" n: w& e/ u* M
  376. ; Production Value: 60 (60 seconds)
    4 Q% p! [3 Z) x+ V' ?) o- L
  377. ; http://php.net/max-input-time
    ( ?: h2 P8 f. ~' ^3 }4 d8 m
  378. max_input_time = 60
    2 J+ V" }7 Q! c4 `4 V9 @4 D: y
  379. 5 `- k* h$ G$ F
  380. ; Maximum input variable nesting level
    " r! ]9 C- W/ @% z6 f% p/ o3 i
  381. ; http://php.net/max-input-nesting-level: ~* }  M3 S8 c
  382. ;max_input_nesting_level = 64
    & M/ j6 w, \, Q1 ~1 S3 v
  383.   j- }# T% o8 i9 [
  384. ; How many GET/POST/COOKIE input variables may be accepted
    , X3 E& H. D" c; Y
  385. ; max_input_vars = 1000
      Z9 ~. L: v+ U2 {/ c9 p3 I

  386. % s  g; `8 m. K- q7 D. O; m5 x
  387. ; Maximum amount of memory a script may consume (128MB)1 l3 N( A# S& R( v; [
  388. ; http://php.net/memory-limit
    % {7 p7 I- J2 i9 E  n5 L; x) y
  389. memory_limit = 128M
    ( N2 ~6 O% L$ w1 v

  390. % s- `9 ]  H# g1 u# u3 ]8 `
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" s/ O! D4 R; n, V3 Q6 P
  392. ; Error handling and logging ;$ [. t/ ?. o* d7 r+ g, k0 D. v
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) v9 v5 t1 Z0 N- h
  394. 6 I) G: K7 Q; d3 t3 M
  395. ; This directive informs PHP of which errors, warnings and notices you would like; Y, D* N+ r& f  I1 @, p7 M# \/ y
  396. ; it to take action for. The recommended way of setting values for this; u7 j1 f8 t; R! P. r) P" X. I) e
  397. ; directive is through the use of the error level constants and bitwise
    - y% y$ h4 y$ J
  398. ; operators. The error level constants are below here for convenience as well as+ E$ P4 O6 J6 T' m: C7 Z0 b6 \
  399. ; some common settings and their meanings.
    * F) j. S3 P: d3 a* M
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' M- D' Q- s1 |0 C. M) R
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ ?/ z  z( R0 _0 U
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    # Q/ }, a3 ~( R
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 v8 U! p% ]0 r' d9 [
  404. ; resources complaining about best practices and coding standards. That's what
    0 Q! {' T2 e1 \# N' X7 P7 z
  405. ; development servers and development settings are for.0 L, H4 }! B0 }7 [$ z8 f9 z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) _9 z( @( L5 a6 O
  407. ; means it pretty much reports everything which is exactly what you want during
    % G, M2 q" \, {/ a0 Y
  408. ; development and early testing.; Q% [; \% s* c
  409. ;: \) G0 @4 F  m
  410. ; Error Level Constants:' T. C9 s8 C. C
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    5 `  C* C4 B6 x8 I
  412. ; E_ERROR           - fatal run-time errors, Q- e: k6 w" c$ G
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors. l, ~/ Q! n$ b6 _
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 m  ?3 p4 ?4 i1 g5 E! e
  415. ; E_PARSE           - compile-time parse errors) j4 |9 O: u* A# K1 }' |, Y9 s6 I8 W
  416. ; E_NOTICE          - run-time notices (these are warnings which often result, j8 q  `. S/ b- k8 p0 ?: L3 q* r
  417. ;                     from a bug in your code, but it's possible that it was
    . v0 y# N0 R5 V; ?
  418. ;                     intentional (e.g., using an uninitialized variable and$ t6 N/ l1 K) r
  419. ;                     relying on the fact it is automatically initialized to an" V/ L7 `) Y( u
  420. ;                     empty string)4 K4 v/ p0 v8 [* H4 E7 {
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ( r  p  v# f9 o4 o6 x4 K8 E5 {: n
  422. ;                     to your code which will ensure the best interoperability/ O# u( ?, z" @' w" g$ A7 x; G
  423. ;                     and forward compatibility of your code
    & }8 q6 p: ]+ x$ J
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . {- a, X. R  V2 P, m
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , G) R$ k' ^# F) h2 W& m0 E
  426. ;                     initial startup
    9 q0 z5 U" w8 @/ M" Z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , W8 q& F; ~4 g, M
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ; X( @, k, g# _) r8 l" B
  429. ; E_USER_ERROR      - user-generated error message
    3 k- R: x+ v! ]: K
  430. ; E_USER_WARNING    - user-generated warning message$ f8 [8 \- x, K7 o: _6 ?0 s8 W  Y
  431. ; E_USER_NOTICE     - user-generated notice message
    5 n/ S: a$ A" D7 u, o9 Z
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    % q- }/ D/ c6 c3 x
  433. ;                     of PHP; R: N! U2 X; n, R4 z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings- k! k& m9 ~5 C' o
  435. ;
    0 a3 Y! J0 D& A1 _% H; b
  436. ; Common Values:2 E% N* q8 _* M1 E
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 [9 \, c3 v/ k- N  n$ B
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 D9 }% W4 S) h2 N! s! T% Y  X
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)" A: p+ Z. t4 d9 d
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)  i5 m' E8 v% K+ @* K
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . Z; s9 C! ^; f/ T1 C
  442. ; Development Value: E_ALL5 }# Q! s8 i/ U7 j0 h; {7 ~, h( T5 k' A
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- n, E+ o7 v' h" \$ V' V% w
  444. ; http://php.net/error-reporting
    8 W/ s0 a. c0 l; e0 _3 D
  445. error_reporting = E_ALL & ~E_NOTICE% o9 C8 O& L3 N5 `; \

  446. . v* l. c' Z3 }/ m# J( \
  447. ; This directive controls whether or not and where PHP will output errors,
    + j4 C: v/ _4 n7 b+ H* b+ h
  448. ; notices and warnings too. Error output is very useful during development, but
    ' Y4 I/ A: e$ W& ]6 P+ T9 A$ Q
  449. ; it could be very dangerous in production environments. Depending on the code( B7 ?3 ~) M2 u
  450. ; which is triggering the error, sensitive information could potentially leak* E; x1 \1 R# n* h; p5 X' S+ i8 w
  451. ; out of your application such as database usernames and passwords or worse.
    9 M5 Q- u) H+ @) L2 d0 q3 x- X* ?
  452. ; For production environments, we recommend logging errors rather than
    " {+ {" W: }: k, R5 T) ~) j
  453. ; sending them to STDOUT.
    ; H1 \7 k1 M# H4 R3 c3 a+ M
  454. ; Possible Values:0 H! k3 Z' w1 Q+ \2 z
  455. ;   Off = Do not display any errors# O6 ]( D3 H1 c4 L: h
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)4 n$ h; _5 p& n; b
  457. ;   On or stdout = Display errors to STDOUT( C4 k9 e0 u: d6 X
  458. ; Default Value: On
    & o- U& M& s+ n1 T, E6 k% E
  459. ; Development Value: On$ o  G; ]+ y" r- |/ b  O& O5 U
  460. ; Production Value: Off9 K: A) z5 S* B3 r8 x1 [/ Z  \
  461. ; http://php.net/display-errors0 [# p" S; m4 ]- U  w  r/ E, Y
  462. display_errors = On
    ' f4 N0 }: P7 W/ u

  463. - Z- L$ u1 `4 k
  464. ; The display of errors which occur during PHP's startup sequence are handled4 v5 ?, w- n, g& e1 c
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - D' j, [& I8 H2 H1 c; E" x7 T/ q
  466. ; errors from clients. Turning the display of startup errors on can be useful in+ @' t; r6 Y4 f" \9 t4 A
  467. ; debugging configuration problems. We strongly recommend you
    7 D: {% T* v  J
  468. ; set this to 'off' for production servers.
    ; Q4 e/ D& l+ w" A
  469. ; Default Value: Off: N) Y. v6 F7 h7 O9 i+ G8 X; u& h
  470. ; Development Value: On3 v7 E* Z% O6 R/ J1 k; ~7 u
  471. ; Production Value: Off- j( d6 z) v$ b+ y
  472. ; http://php.net/display-startup-errors( L- t1 B; G6 _( ?7 Y% s
  473. display_startup_errors = Off9 W1 ~" l. t! G7 n; y
  474.   Q: L3 G+ g0 N* _
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) r5 @. A" A5 @4 k) ?+ ~1 r9 U# {; g
  476. ; server-specific log, STDERR, or a location specified by the error_log3 [4 B8 f* [& u, B: T! x
  477. ; directive found below. While errors should not be displayed on productions: C- z: K9 q# f/ s! F+ P0 O
  478. ; servers they should still be monitored and logging is a great way to do that.: K0 v1 Y5 N; R
  479. ; Default Value: Off
      r6 s) V% r* }  z$ l
  480. ; Development Value: On
    # i# A$ j" o. j9 l! ^
  481. ; Production Value: On
    % R3 W8 b) Q7 x# i
  482. ; http://php.net/log-errors
    - e2 X; s: a% C7 a  L
  483. log_errors = On; _$ d4 t) v5 C! z7 D
  484. * }3 Z. f) S7 S; `; u* |( r
  485. ; Set maximum length of log_errors. In error_log information about the source is
    & h& q: _+ n" ?, n
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    4 V3 a6 B0 X1 R0 M" p
  487. ; http://php.net/log-errors-max-len" i. n. ?8 R, {7 K2 ^0 ]+ g3 B
  488. log_errors_max_len = 10242 O8 ?/ N4 f" z! ^& [
  489. 0 H, u, S) R* L7 ]; H2 w
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same! y+ P7 V$ x$ B# K% D+ l
  491. ; line unless ignore_repeated_source is set true.9 _$ b1 {$ G" R! [. Z7 M0 B( D' w
  492. ; http://php.net/ignore-repeated-errors9 l! Z1 T! Y- U8 o* o" c: N& z4 r
  493. ignore_repeated_errors = Off! N: |: D+ K2 z; h9 u" Q+ L
  494. . n. h0 w$ X) E- e1 a8 |
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    7 [* |9 _- T) z+ ~8 F# K1 s
  496. ; is On you will not log errors with repeated messages from different files or6 \" v6 s% n  @$ V
  497. ; source lines.
    , b" S4 r8 u4 B( E  o" m( b
  498. ; http://php.net/ignore-repeated-source: \7 E8 u5 L: L- P
  499. ignore_repeated_source = Off$ Q. N% \6 G. j! c

  500. 5 g- S1 s. x, ?! L
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    * X" T7 s7 a; ^9 `9 M
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    4 w* F3 w$ {3 F: P
  503. ; error reporting includes E_WARNING in the allowed list7 |& L: D( [, q+ N
  504. ; http://php.net/report-memleaks
    ) E) t$ W7 g4 |6 R
  505. report_memleaks = On9 o7 j9 k/ Q2 G& X) L
  506. ( g8 n; K, c. N+ b; w; ?- Z
  507. ; This setting is on by default.4 @8 O  r- I5 [1 O' k6 F; K; k
  508. ;report_zend_debug = 0
    $ p5 U0 ]9 i- r4 \" \* D' L8 q& D

  509. + X: y; B# F/ A$ M
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' o' i) g6 e% Z# D
  511. ; to On can assist in debugging and is appropriate for development servers. It should$ W1 x: Y6 A. i: \2 q
  512. ; however be disabled on production servers.* h3 u- R1 A/ ?) A
  513. ; Default Value: Off
    - y& k% I: G# _: F' U# B
  514. ; Development Value: On
    ) o( l9 G% v7 [+ v( B# P5 [3 \: B1 O
  515. ; Production Value: Off6 J3 L, y/ i7 q/ K$ i- c- h
  516. ; http://php.net/track-errors
    : Y( C. n2 X/ E* X3 v: Z, _
  517. track_errors = Off5 @4 e0 p& k, A$ b) J! p

  518. ' i$ g+ h) r2 ^3 g9 X
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    3 Z$ k5 h( C/ k0 ~; ~
  520. ; http://php.net/xmlrpc-errors( ^" A2 p0 [3 J3 a* z
  521. ;xmlrpc_errors = 0
    $ t5 n0 X' P7 u- V& V

  522. , K; J& G- @& t! }( J8 ]
  523. ; An XML-RPC faultCode
    + T% O7 S( r) m( g: o% O- S
  524. ;xmlrpc_error_number = 0
    - w2 }/ E; q2 t+ i
  525. & `. a9 m  D$ A4 O+ h
  526. ; When PHP displays or logs an error, it has the capability of formatting the& f  A8 K; G0 S9 t/ R2 B
  527. ; error message as HTML for easier reading. This directive controls whether
    . G2 C6 ^* T9 _2 O, v
  528. ; the error message is formatted as HTML or not.# A& Y0 _" e6 j- j$ _' [8 Z
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , N' T$ D& i' C# t  Q2 c+ P& Z
  530. ; Default Value: On3 V; {4 _9 x  q$ y( x
  531. ; Development Value: On
    5 y* H. m) L( U6 R+ z
  532. ; Production value: On0 a+ i, ^) G+ k5 k' Y
  533. ; http://php.net/html-errors- t1 l. V  L# _
  534. html_errors = On5 w8 ]3 ^- j$ B  G8 v7 D2 D

  535. . [  a; p0 Q1 [0 _- f; T0 m
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 Y* }7 p; o+ k# C
  537. ; produces clickable error messages that direct to a page describing the error
    ; v7 K8 i4 G6 |) Y! j
  538. ; or function causing the error in detail.
    ( {; @- b% a) e7 U, i
  539. ; You can download a copy of the PHP manual from http://php.net/docs, V2 `) |' K) _$ G$ Z7 R; {
  540. ; and change docref_root to the base URL of your local copy including the
    ( O, X7 X0 t" ?% E9 s1 L
  541. ; leading '/'. You must also specify the file extension being used including
    1 c5 N( S$ t" g+ I  x6 S
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" R/ ]: W) Q2 S/ M, Z* J" l4 F
  543. ; case no links to documentation are generated.
    # ~; ^" e+ o1 o4 e
  544. ; Note: Never use this feature for production boxes./ W# w$ n( w7 s6 i7 H. R5 l
  545. ; http://php.net/docref-root
    2 w. [" s( x0 q. L* u0 r
  546. ; Examples
      O' \$ ]- Z% y, w5 g
  547. ;docref_root = "/phpmanual/"; d! l% t, ^* F5 I4 q& P% h  i4 B

  548. 3 K8 Z% F9 D0 F% O& E
  549. ; http://php.net/docref-ext  [( l$ j" t& p, V
  550. ;docref_ext = .html
    - X0 E8 t; i9 a( `) Z/ C

  551. 9 P1 `+ r- F4 M8 G2 j# ~
  552. ; String to output before an error message. PHP's default behavior is to leave
    2 M2 m: R3 E0 W: m9 N
  553. ; this setting blank.
    ; G( X5 O4 f1 k. {! D& h7 o
  554. ; http://php.net/error-prepend-string
    + T* Z9 ^; Q, R4 {6 f. a" C
  555. ; Example:
    3 x1 x! R5 S, R1 B- J$ x7 T
  556. ;error_prepend_string = "<span style='color: #ff0000'>") W. [1 z! b3 o) J) `8 t4 [7 u# r4 @
  557. 2 ^, g: {/ j. i3 s# G
  558. ; String to output after an error message. PHP's default behavior is to leave- \0 {" U# _4 G1 z5 S* M
  559. ; this setting blank.. a+ x/ P4 T+ j
  560. ; http://php.net/error-append-string" P* a' P$ X  v" f$ v
  561. ; Example:) w) a, q) f" r/ S, L8 j
  562. ;error_append_string = "</span>"+ }3 G3 W9 t5 D- g+ h& V) i! X2 Q$ o

  563. 4 M+ g* A0 h# r% z3 r! `
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! h( V6 G! _% K! {( g
  565. ; empty.
    7 [8 G6 R6 z" W& f, y
  566. ; http://php.net/error-log
    8 y3 [. n1 |- w& j8 B
  567. ; Example:
    ( L$ |9 K/ Y; ^' I3 s
  568. ;error_log = php_errors.log
    $ k, X4 v; [. K9 ?; d
  569. ; Log errors to syslog (Event Log on Windows).9 V) t& F" s3 O- _8 M
  570. ;error_log = syslog
    5 _) ~' L" X: t" k" y& {8 o- r$ H
  571.   x* z( Z, P5 l5 a# t4 N
  572. ;windows.show_crt_warning. q# r8 T. g/ v& G7 x9 z
  573. ; Default value: 0
    + r. q+ _4 o0 y) A5 c
  574. ; Development value: 0
    ' q0 F* E7 l/ D, ]9 q
  575. ; Production value: 04 A2 K" L- ~" s* |3 B! A: o3 a
  576. 0 O2 }, c, l. K! f4 \2 T
  577. ;;;;;;;;;;;;;;;;;( o9 h) p) v" i" l: \
  578. ; Data Handling ;
      y! Z. m0 x% K7 e) }
  579. ;;;;;;;;;;;;;;;;;  \' }5 g8 h& D# X  Y% [/ s. x. U

  580. 9 {0 \9 n' f9 S) v
  581. ; The separator used in PHP generated URLs to separate arguments.6 z5 s# K$ \" k* _" k
  582. ; PHP's default setting is "&"./ {! v3 ]6 s0 B- @
  583. ; http://php.net/arg-separator.output9 h! l( z; y0 {/ M
  584. ; Example:
    5 h2 W. x8 y9 w6 X$ P" t0 u
  585. ;arg_separator.output = "&"7 ^0 B; y, g. ]/ o6 }) J- _
  586. / w  }9 N$ M5 R5 c0 Q% j- E7 a* @2 x
  587. ; List of separator(s) used by PHP to parse input URLs into variables.7 I8 Z$ S' Q4 U4 h$ d
  588. ; PHP's default setting is "&".
    4 A6 R; a. l4 p/ z0 b0 g
  589. ; NOTE: Every character in this directive is considered as separator!. i- U% A) n% |8 X
  590. ; http://php.net/arg-separator.input" Q! f5 z, M/ t9 ~: J
  591. ; Example:
    ) G7 ^% c( @) w% X6 x; ?
  592. ;arg_separator.input = ";&"% l; M: P7 G! C

  593. 0 a6 g" S. O; C; ]: b# |6 ^, C
  594. ; This directive determines which super global arrays are registered when PHP: |- ^, Y6 A: x3 ]/ m
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 H" f" E( b& z! |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    4 P" ], g: Z4 V5 s, S0 a$ T8 p
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    3 M3 S9 C9 W  T5 g
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; \4 f* `. _7 |. w3 {" {& `
  599. ; can still get access to the environment variables through getenv() should you
    $ M0 @- Y3 C" b( b' i+ ?
  600. ; need to.
      @$ R$ K% m' b/ U3 R
  601. ; Default Value: "EGPCS"
    8 D: n) I, U% I; Z' I
  602. ; Development Value: "GPCS"3 v* s; Q* T% N! T
  603. ; Production Value: "GPCS";
      A2 A/ N! G% Y$ y( @5 e. K1 |
  604. ; http://php.net/variables-order
    / b" c* ~8 O' i! B2 b
  605. variables_order = "GPCS"7 j) Q) v& ~1 {: n; O& X
  606. 2 G& O; G  f( s4 ?
  607. ; This directive determines which super global data (G,P & C) should be, G) B" I2 N/ a4 T( s7 V7 u
  608. ; registered into the super global array REQUEST. If so, it also determines7 Q3 c" a3 o- ~2 o% ^; I
  609. ; the order in which that data is registered. The values for this directive+ u+ v3 u1 r$ X9 D
  610. ; are specified in the same manner as the variables_order directive,! x( T. c5 _: m, U7 E$ W
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 M* A0 B0 k% M4 [3 ~' d
  612. ; in the variables_order directive. It does not mean it will leave the super% W. }% G; O0 V8 O2 Y/ L
  613. ; globals array REQUEST empty.
    # r+ a/ X* ?9 ^4 E2 t
  614. ; Default Value: None
    " T! q" |9 S) d; N& ~
  615. ; Development Value: "GP": L& q$ J: @9 `% r! b3 R# C
  616. ; Production Value: "GP"
    ! k* g& j" [, Q# Q  ?
  617. ; http://php.net/request-order
    5 F& R/ q/ v, u) p' z& v3 O
  618. request_order = "GP"# i5 j4 _$ X6 ?; H
  619. : {% h! j: }; F. u
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    / V( ^* a! Y4 k* ^2 z( l( b
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 C4 ]: \# D* ]4 D
  622. ; is invoked. $argc contains an integer representing the number of arguments
    1 e0 {0 j: X- B; i# t7 [5 p
  623. ; that were passed when the script was invoked. These arrays are extremely
    ( z1 A" e: c2 \, l
  624. ; useful when running scripts from the command line. When this directive is0 ^! V0 \& H' o% ^
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    : a0 T- t( h, P+ ]$ ~, L) ~! v
  626. ; a script is executed. For performance reasons, this feature should be disabled  q% B8 f! A) Z7 r8 u
  627. ; on production servers.$ r0 {2 V0 Z5 s8 w2 c; w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    , O5 f6 b% R) I; `  s, F
  629. ; Default Value: On
      g& x- Z- [- |4 j, T/ x9 j
  630. ; Development Value: Off5 i2 D' X" h6 S8 d, R5 q9 V
  631. ; Production Value: Off
    # t% l- [& s3 @1 ^. C
  632. ; http://php.net/register-argc-argv! H+ x  A" A# m$ ?: z
  633. register_argc_argv = Off; U9 X$ B4 r, x" F
  634. - s: g  T& t/ H2 b
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ! I6 s: h5 {7 N( u
  636. ; first used (Just In Time) instead of when the script starts. If these
    5 o* K" ^  l# z$ x  b. e
  637. ; variables are not used within a script, having this directive on will result5 B, n1 A" W! Z2 A
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled0 e6 k: F: V5 }1 D* W' g& m4 {
  639. ; for this directive to have any affect.
    7 f9 S* y* e# M4 ~$ D
  640. ; http://php.net/auto-globals-jit! z' ^/ T8 A' u& G
  641. auto_globals_jit = On7 K% p5 Z& M1 T2 d% }

  642. 9 u  X6 ]9 R! B
  643. ; Whether PHP will read the POST data.2 Y; n) L  h9 q' u. r4 f2 z
  644. ; This option is enabled by default.
    6 a$ X3 W4 o. W/ W  o& Z! r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    * s3 P5 k5 |4 R- t' T" W
  646. ; and $_FILES to always be empty; the only way you will be able to read the) }8 t4 t+ r) L
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    7 _, ]2 H7 o7 S& l. Q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.4 L. j5 \3 O- E2 ]2 u
  649. ; http://php.net/enable-post-data-reading
    : v+ N9 j& u$ b1 z
  650. ;enable_post_data_reading = Off
    5 U. Q3 @& M; l+ y8 ^
  651. ' C) b! H2 e2 L4 E
  652. ; Maximum size of POST data that PHP will accept.
    2 I5 p/ i* b4 Z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / T% |7 ~6 `1 i5 I, f$ m
  654. ; is disabled through enable_post_data_reading.9 ?& v3 W/ z8 i2 b0 Q) L  T+ y
  655. ; http://php.net/post-max-size' d. |8 ~& T! |; j. I  }& j
  656. post_max_size = 50M
    % P. ], k( `$ @

  657. ! F1 b- k% ~% I- B4 R9 \
  658. ; Automatically add files before PHP document.2 E2 S* C& y+ i% b7 B6 z4 r
  659. ; http://php.net/auto-prepend-file
    4 S. v: ]% r6 p: h( ]/ R, T
  660. auto_prepend_file =
    & p1 {/ x/ P9 }; ?
  661. 1 P$ f# x7 o' w- ^2 }$ w; r! r
  662. ; Automatically add files after PHP document.8 \4 D' \6 _5 }& L! P# I$ M
  663. ; http://php.net/auto-append-file
    6 f* Y0 ~* n+ V: S; j. w+ t, o4 t8 b
  664. auto_append_file =
    . {  u% G' F+ r$ l: m2 A/ P

  665. 4 b' f; x: k7 U' w7 L# }! C
  666. ; By default, PHP will output a media type using the Content-Type header. To
    3 p5 W; R- ]' {/ w" s% u) M1 |
  667. ; disable this, simply set it to be empty.
    / X( b  d/ ?. h# Y- A1 h) M
  668. ;
    7 L0 T" ?9 I! C. h
  669. ; PHP's built-in default media type is set to text/html.
    : \+ r) b8 E* V! [2 D
  670. ; http://php.net/default-mimetype0 v% s% j% N0 L, F- P; V4 _
  671. default_mimetype = "text/html"
    % k  w$ r  u6 _( q
  672. 1 p. `0 s! g; M) ^  D4 B
  673. ; PHP's default character set is set to UTF-8.
    ( k9 I5 |  h- y+ \  X' I1 U
  674. ; http://php.net/default-charset+ R6 A+ O% V2 r& r' x
  675. default_charset = "UTF-8"
    $ T2 U2 t3 k' l& R5 d

  676. ' z- k+ s5 K7 l
  677. ; PHP internal character encoding is set to empty.
    / U" ]8 ^5 D" n9 \
  678. ; If empty, default_charset is used.0 E! ^( z! i) D. M, t! h# m
  679. ; http://php.net/internal-encoding) w* p5 A/ B6 \3 P2 E
  680. ;internal_encoding =/ @, k* J; A$ ?! t
  681. : D! b. f/ n# j
  682. ; PHP input character encoding is set to empty.
    6 J1 C* G% T' u0 X2 ]/ y* J
  683. ; If empty, default_charset is used.
    + l4 _4 D" \* p# b
  684. ; http://php.net/input-encoding
    " A5 F: [# L: N1 H6 H" O: v
  685. ;input_encoding =
    + j! q+ s6 Q3 [' g9 s  D. L; R
  686. 8 p) Z+ u1 E5 Q; K3 y: k* [
  687. ; PHP output character encoding is set to empty.( F, }9 L' e! X7 Q. U3 o1 m
  688. ; If empty, default_charset is used.0 w) u, P( @6 D, _* ]& F
  689. ; See also output_buffer.
    + @: D" q  {& D0 P( [9 J
  690. ; http://php.net/output-encoding0 X; n/ x( g' c5 V8 g8 n
  691. ;output_encoding =
    + n& F1 F6 Z% J: C" x
  692. , |( L: \7 D: B' O2 i
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % o( s( o' K# {+ D, i9 G2 a0 F+ b) t
  694. ; Paths and Directories ;
    ; d$ {) I7 M' C0 V8 ]
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + t0 x4 ]0 q3 u0 W: U# h3 ?

  696. + F# C6 @5 b" s$ l8 c
  697. ; UNIX: "/path1:/path2") R* G9 N; o. j/ g) L
  698. ;include_path = ".:/php/includes"
    8 P3 X6 O% m+ P/ j) n
  699. ;
    4 k/ H% z- c* l
  700. ; Windows: "\path1;\path2"
    3 [6 f; b7 }; k9 ]# G
  701. ;include_path = ".;c:\php\includes"/ R+ I. `/ B3 A
  702. ;
    # l% t; W1 {/ t/ L4 T
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      i: E" t" L1 g1 ?6 T
  704. ; http://php.net/include-path
    1 R- D& C7 D& Y4 G! n5 }

  705. / y8 V6 H, B& y7 p6 z! ^& G
  706. ; The root of the PHP pages, used only if nonempty.. U! C8 m- p' K! y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root9 ]( W+ i$ i* M
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ) U* W5 E1 a5 A/ Y) p$ w
  709. ; see documentation for security issues.  The alternate is to use the
    # V$ i) x( Z7 S. X* i' E
  710. ; cgi.force_redirect configuration below& A  e0 A' I$ M) n
  711. ; http://php.net/doc-root6 O! B; A! i' Y- F8 O
  712. doc_root =9 I# y3 F2 S. @4 \

  713. ' o3 ]  U9 X  J' {. ~. A
  714. ; The directory under which PHP opens the script using /~username used only& V* @' _- v9 ?6 w2 g9 e
  715. ; if nonempty.4 T9 s" |* ?$ G2 C5 @* {
  716. ; http://php.net/user-dir
    2 A3 a- ]( u( A5 b
  717. user_dir =
    . p# _) Z' k8 P" K, s/ W

  718. % S* u4 y  a5 }4 k3 ?$ K: b
  719. ; Directory in which the loadable extensions (modules) reside.
    9 f) S! C! X. m1 R( |8 F
  720. ; http://php.net/extension-dir! o! B. W1 `% b- X* ~  `
  721. ; extension_dir = "./"
    9 F6 o9 m- ^' h. ?5 n+ o
  722. ; On windows:; @" d0 i9 \* H2 Q) h
  723. ; extension_dir = "ext"# }- e! w# G5 u# D3 z2 H
  724. % o/ }; U  p- |
  725. ; Directory where the temporary files should be placed.
    9 p7 x8 U6 h7 B' B$ E
  726. ; Defaults to the system default (see sys_get_temp_dir)
    + A5 P6 u- H( e4 x
  727. ; sys_temp_dir = "/tmp"0 W* L* t; K5 ?9 B1 w  D3 c

  728. . ]& f+ X3 P7 T7 Z+ t) g
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 M/ k3 T, o( |9 |/ T
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically/ r0 p- M4 m( X, j8 A
  731. ; disabled on them.
    0 d$ u, D  c6 _- G5 h" v
  732. ; http://php.net/enable-dl* N# t* w: n3 s
  733. enable_dl = Off
    ; [  A# n' z; q9 \- V& R

  734. ' t( B5 }9 @, w9 E5 `" {
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    4 Y4 \  R$ F' d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    1 r  ]1 r6 g+ Q
  737. ; turn it off here AT YOUR OWN RISK" ]5 O; p9 Y3 a& X% G% v
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ G  j6 {7 n- \  `7 [8 n1 _6 B
  739. ; http://php.net/cgi.force-redirect
    ( I: J6 v: z$ V. g' N0 T6 T
  740. ;cgi.force_redirect = 1( f$ K; f4 K# z: L

  741. ) q% @7 C' ^* {
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * d5 y& S5 x( E. \8 M
  743. ; every request. PHP's default behavior is to disable this feature.
    3 ~5 F+ b5 e9 A, r- X1 B
  744. ;cgi.nph = 1. [+ \9 c9 h1 m3 V+ v

  745. ) ?/ ^& i# q. I4 ?4 K
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 Q; j2 ?4 }; h
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ w( z6 @1 J+ W, s' b+ w: H4 J
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 @4 t1 w0 }7 G
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    , J( _7 a9 [  J2 W0 O- g7 j3 e
  750. ; http://php.net/cgi.redirect-status-env) d9 t) i; g' H0 O
  751. ;cgi.redirect_status_env =/ B" D  e7 t4 s
  752. " D7 J9 Q: g/ {. h( D/ t* L; i
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's% F! G5 u  S5 Q2 B* @/ s
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    5 G% g: u  B- j0 U' ~; h& k% [
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting2 g* k. C9 Z+ f4 P) w* F
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 R8 Z8 x% o# U. w) I; L* I
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts1 d2 u- X  H& k0 z4 x2 p" [
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 C! C4 r4 h) t9 I
  759. ; http://php.net/cgi.fix-pathinfo* ?; m9 ?8 Y/ {
  760. cgi.fix_pathinfo=1& r* d7 y( A" }; V' N/ E0 r

  761. : [. K, R1 ]( o! ?! L
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside( c* _$ _- Y, T# h1 `0 T: U
  763. ; of the web tree and people will not be able to circumvent .htaccess security.5 g2 _3 P! O0 N+ ]
  764. ; http://php.net/cgi.dicard-path
    ; P( X9 s* G- E: T/ ^$ x# g" G! B& X
  765. ;cgi.discard_path=1+ Q0 N) X, H1 ~& C

  766. 6 O: R9 N1 U& F/ X% M' _- u
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      v8 I9 L1 Q& F: q" w3 i" N) `
  768. ; security tokens of the calling client.  This allows IIS to define the! @4 |4 R2 {3 ], E4 C# B$ ]0 `
  769. ; security context that the request runs under.  mod_fastcgi under Apache1 I# a+ b) j" }
  770. ; does not currently support this feature (03/17/2002)
    9 j+ ^9 l6 K, x( O. Q
  771. ; Set to 1 if running under IIS.  Default is zero.3 R4 h+ w; V+ Z0 d5 _2 t; Q# f
  772. ; http://php.net/fastcgi.impersonate
    $ D7 k4 I% S6 _9 S- r2 F" W
  773. ;fastcgi.impersonate = 1
    ! N* H  U2 n- a% }

  774. 1 p+ U( A. {3 K, ^6 `7 v- L  {
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . S: r% y: Y, f4 ^/ a0 O# ?
  776. ; this feature.5 O8 q5 r; k0 P; \; O' e
  777. ;fastcgi.logging = 0
    2 R) L3 L9 w, k# t! c5 C) x# r

  778. % l0 e) K. \) k" O7 t  \: y/ t6 i
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , B' @  P0 p, V3 B
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : Q+ e% D& p% o- F3 Z2 R
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * @) @: C# z9 ?- o. S8 ?
  782. ; RFC2616 compliant header.
    3 O) b" [+ x% _5 H' `
  783. ; Default is zero.8 N. b1 `7 m+ r: ?+ Q) v1 M
  784. ; http://php.net/cgi.rfc2616-headers; r; A4 ~# |: [; [& g' b
  785. ;cgi.rfc2616_headers = 0- D. _" d- a! Z, R- T
  786. ! a$ ]3 A6 X( T# }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
      y- M; Y& z* B+ U1 b! G) ^3 P/ ^
  788. ; (shebang) at the top of the running script. This line might be needed if the; P1 |/ ^. v& M0 ?5 H6 B3 z$ i8 `
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ W5 X5 W' o" N1 o7 Y+ ]
  790. ; mode skips this line and ignores its content if this directive is turned on.
    8 A& @  L, B# L3 }, s; L
  791. ; http://php.net/cgi.check-shebang-line
    % b% R3 w# L) k
  792. ;cgi.check_shebang_line=10 m4 c6 H# P9 p" e
  793. 0 U# ^. T+ d! a4 o6 y2 F: E
  794. ;;;;;;;;;;;;;;;;
    9 D8 z& R1 B9 t/ N% x0 ?; }
  795. ; File Uploads ;
    6 ]/ `4 o$ J! m9 r5 z4 z
  796. ;;;;;;;;;;;;;;;;
    ( D4 j: w% Q1 b+ t- @8 u
  797. , j4 Y& Y* Q9 f5 p& G8 a
  798. ; Whether to allow HTTP file uploads.
    / r0 q( [- H1 b+ h0 D1 T
  799. ; http://php.net/file-uploads/ I% I' t; T3 d8 W& |
  800. file_uploads = On
    ) o6 b0 `5 [- G; H$ k  l3 R$ d
  801. 3 R( G/ g' M  {
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + K2 @4 q( v3 E/ ]
  803. ; specified)., l+ v6 b6 d2 U; d
  804. ; http://php.net/upload-tmp-dir) V6 n, G! [, ?1 `) l7 ^8 Y% W
  805. ;upload_tmp_dir =
    " C6 P1 Q) n+ }1 `/ T& c

  806. 1 d; F0 k+ V7 E3 u3 v- ~5 O6 `+ n
  807. ; Maximum allowed size for uploaded files.
    $ `) T+ Y$ \" K
  808. ; http://php.net/upload-max-filesize
    0 L0 z" a" T1 c0 Q% R. Y% v, M
  809. upload_max_filesize = 50M
    ) I! g+ b! s) f9 k3 |; |# q' e0 V

  810. / ~+ h6 J+ a: o2 u: i
  811. ; Maximum number of files that can be uploaded via a single request4 u! N- B9 N' c3 D# l4 A2 I
  812. max_file_uploads = 20, y( m- i1 @/ e) m: X6 ?
  813. - o& M2 [) J1 j" R# e! q% K
  814. ;;;;;;;;;;;;;;;;;;% w2 u4 i1 ?$ D. \7 w$ K
  815. ; Fopen wrappers ;
    : M" g9 p$ M5 \3 x( u3 A9 `
  816. ;;;;;;;;;;;;;;;;;;
    ; X2 G5 O4 T! Q& D/ K' X, R* b& S4 f  O

  817. 3 O) |) K- |9 q! z1 m  o8 B
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.. f' [4 h! Q6 `; c1 |5 r6 E
  819. ; http://php.net/allow-url-fopen  C* l6 t. w5 A# Q
  820. allow_url_fopen = On
    % a* M! v: y) S1 ]  B8 ]4 ~  V

  821. # v5 a- t& H- b# b$ y- [8 Z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 Q' k. i( l+ [8 M! p7 W' Y
  823. ; http://php.net/allow-url-include
    & p7 g: X( M6 w" J0 w( ^2 f
  824. allow_url_include = Off
    * y" a0 t. U2 x

  825. ! g# ~9 w! q- _
  826. ; Define the anonymous ftp password (your email address). PHP's default setting/ Z" |; {& W5 G8 ^* t- {( K( d
  827. ; for this is empty.3 L: S* Q, E5 ^: J2 a. I4 X" V* L$ U
  828. ; http://php.net/from
    ; \& V8 W5 U6 f2 C9 `& e
  829. ;from="john@doe.com"
    7 h9 Z. m4 @* f& x- u) ?# K
  830. : ?( P. v, j0 d9 u  X+ V
  831. ; Define the User-Agent string. PHP's default setting for this is empty.3 K& V1 }7 Z( f
  832. ; http://php.net/user-agent
    8 W" s5 d/ J/ p
  833. ;user_agent="PHP"
    # v$ U: t, v. e4 p0 |4 W
  834. ; L" v% W+ p5 b. p) f( b
  835. ; Default timeout for socket based streams (seconds): i. k5 B* H% W( f4 Y' u9 g
  836. ; http://php.net/default-socket-timeout4 z) q) Q* F! X7 j% O& W
  837. default_socket_timeout = 60
    ( w' J1 V9 G) S
  838. 6 N: z' V4 P0 ~0 d" X, T, j! O( r4 F
  839. ; If your scripts have to deal with files from Macintosh systems,
    2 U- o2 g, d- v# m+ ?- h
  840. ; or you are running on a Mac and need to deal with files from
    % r) J! x  Z3 I
  841. ; unix or win32 systems, setting this flag will cause PHP to/ Q$ D1 F7 w, A$ m3 K
  842. ; automatically detect the EOL character in those files so that
    : m4 O. |6 Z+ y" z% Q4 y+ ]' h
  843. ; fgets() and file() will work regardless of the source of the file.$ T* D3 S( j! @( w& `- h
  844. ; http://php.net/auto-detect-line-endings
    5 ]8 K9 c% F3 q$ M4 r2 ?3 C
  845. ;auto_detect_line_endings = Off
    - U9 N1 @0 W& y" z% l  V

  846. 9 I& u/ @# J4 _
  847. ;;;;;;;;;;;;;;;;;;;;;;4 p. q6 {9 v* h. S" }& {
  848. ; Dynamic Extensions ;2 r* c3 X- K" s- M9 L
  849. ;;;;;;;;;;;;;;;;;;;;;;
    $ Q0 X0 R+ G$ f$ {4 P  p; i& s
  850. 0 v9 w& _% I/ o0 i3 E
  851. ; If you wish to have an extension loaded automatically, use the following; K8 H$ y+ L5 {/ S4 l
  852. ; syntax:7 h6 c) Z2 g$ x1 M5 @( d
  853. ;
    ! ?& `/ j+ O. r! Y, e# S
  854. ;   extension=modulename.extension0 r# |' r) ~; C* ]
  855. ;. S, o8 @% Z2 [9 a% {7 X
  856. ; For example, on Windows:
    4 ?, u, f7 V/ R
  857. ;
    # c) s1 R7 B& Y* ]1 E4 P
  858. ;   extension=msql.dll
    " H! \7 q9 T  m; W
  859. ;& L. a$ E% |# t
  860. ; ... or under UNIX:
    , @/ w! i2 w+ ]+ y' ^% x( |1 i. c) J
  861. ;( b! J8 J4 t; T$ {3 @, D7 W* z
  862. ;   extension=msql.so! f8 ^* ]; i* [% q6 y( S
  863. ;
    - u, Z' E, T7 @) n$ ^
  864. ; ... or with a path:# d. x1 y* }5 @4 }/ n
  865. ;
    5 L- {! G$ y; Y: {; k
  866. ;   extension=/path/to/extension/msql.so
    7 u# ?' ^) E; F) K
  867. ;
    ( x" U! I8 A+ `: o" B
  868. ; If you only provide the name of the extension, PHP will look for it in its; u) T2 ~/ U1 ^& v6 t! ~' o: Q
  869. ; default extension directory.
    * b8 w! |" Y8 i  d1 ^9 E2 u
  870. ;  s* R/ F& G& J' Y
  871. ; Windows Extensions% w- D1 B1 i. _
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      d, s7 M4 N% t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    5 A' [: @  B7 e, X" a& W: k% Z! @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    7 _7 u  S* s2 C+ u" o. L
  875. ; Be sure to appropriately set the extension_dir directive.
    : m- a: t1 V- b, a% x4 A
  876. ;7 ]$ ]1 c* ]7 [( u, y- E% \3 }
  877. ;extension=php_bz2.dll% U- {. j9 \; s/ @8 ^" u2 ]5 [
  878. ;extension=php_curl.dll
    " d. W5 {. |. X% _3 B$ P/ e& Q
  879. ;extension=php_fileinfo.dll, d" k3 [: _( c) Z
  880. ;extension=php_ftp.dll
    2 V2 K: ]" m% c6 S1 K: U6 m
  881. ;extension=php_gd2.dll* E( Z4 o3 ~6 H2 Z. f7 y( M
  882. ;extension=php_gettext.dll1 |: p! n$ [1 O
  883. ;extension=php_gmp.dll8 G' s' [% H+ N0 P
  884. ;extension=php_intl.dll7 Q& f3 c5 a1 F
  885. ;extension=php_imap.dll5 R8 {/ N$ j9 w2 N7 ~
  886. ;extension=php_interbase.dll$ U! g5 I! o" y+ y0 Y
  887. ;extension=php_ldap.dll
    " L: }" K, R% n  E/ @
  888. ;extension=php_mbstring.dll
    & L7 ^4 g4 A" q6 W7 K. f4 A
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # v! r0 d9 n4 d# y2 e! n
  890. ;extension=php_mysqli.dll
    9 b2 X5 M1 v0 w  L* O4 m( ^8 ?7 ^
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. H# [! k4 f# |  R9 G6 X, H
  892. ;extension=php_openssl.dll
    0 F! X4 q& B) s& @6 ?
  893. ;extension=php_pdo_firebird.dll
    3 r% e  j* H7 a3 w$ M
  894. ;extension=php_pdo_mysql.dll' a' Q% @" g" }8 b3 R9 d
  895. ;extension=php_pdo_oci.dll
    # \. ^0 _- V- B' `$ }  N4 o
  896. ;extension=php_pdo_odbc.dll1 L) y: X/ u% C+ x: y
  897. ;extension=php_pdo_pgsql.dll
    # J1 V! ]$ P! w; z0 N7 L
  898. ;extension=php_pdo_sqlite.dll7 l, f! r- \0 N+ n/ j3 p3 E: w
  899. ;extension=php_pgsql.dll
    8 J9 O: D" z* K8 `
  900. ;extension=php_shmop.dll
      B6 s( _  t8 b0 X9 X" U: ^
  901. " A5 _( z5 ]. j' N" {5 P  \8 [; N- l' ~
  902. ; The MIBS data available in the PHP distribution must be installed.
    " i& K" r' x% n: ]
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    0 }9 B- W! F, g& n+ `3 T
  904. ;extension=php_snmp.dll
    2 z+ _4 @- U- `, L& Q
  905. 3 [2 y( n& p% V' ]
  906. ;extension=php_soap.dll
    1 x0 Y6 p( i5 k; Z2 ]8 ]- }
  907. ;extension=php_sockets.dll
    # q$ t3 I% ?4 H# y0 A
  908. ;extension=php_sqlite3.dll. E& T2 c9 ^9 a( Y) [' G$ D. }/ t$ j3 d
  909. ;extension=php_tidy.dll
    - m: q0 P, [( e% i3 Q0 G" ?8 F
  910. ;extension=php_xmlrpc.dll( m, o3 Z3 }7 Y  C
  911. ;extension=php_xsl.dll2 n. k$ l% x6 Z' C+ S
  912. 8 i# T* u4 T* G, ?& W& V
  913. ;;;;;;;;;;;;;;;;;;;
    2 D- I3 N0 v1 o& r" M0 N
  914. ; Module Settings ;
    5 g' o% @  w; c( P4 P! C3 p
  915. ;;;;;;;;;;;;;;;;;;;
    4 w- }2 {7 Z) P4 @' j

  916.   H! f. l' i+ r- b0 V+ I
  917. [CLI Server]
    ) Y$ K7 h- t8 n6 W  n  r
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.) x1 g+ g% Y* _( B
  919. cli_server.color = On& M% |  O; ]' q
  920. 6 @4 G  o- |$ R# ^! }
  921. [Date]
    0 r  J5 ?4 H, n8 U/ w# Y
  922. ; Defines the default timezone used by the date functions' E9 Z) C4 N, Y1 _: |4 q  w$ m
  923. ; http://php.net/date.timezone
      h0 V% e% N2 k
  924. date.timezone = PRC
    % Z: G/ Q- q- k9 l- e
  925. ' C5 C0 s! k+ |! e. s. O
  926. ; http://php.net/date.default-latitude
    4 w& F" ?6 k. ^4 T' o% m
  927. ;date.default_latitude = 31.7667
    ! c% t9 o- L) K/ F! F3 B% K/ W
  928. 1 _4 L2 C. ~( L7 ?
  929. ; http://php.net/date.default-longitude8 k" k. \& X( A: H% o* z2 g
  930. ;date.default_longitude = 35.2333  f  F2 x5 p9 L6 N

  931. ) [: p6 z: G' x
  932. ; http://php.net/date.sunrise-zenith
    $ a3 a( x+ D0 y  J* l6 S, i! Z( \
  933. ;date.sunrise_zenith = 90.583333
    , U( k3 R- b5 Z) n% H8 a: g) S

  934. 2 Z( \4 j+ j9 [" n& s
  935. ; http://php.net/date.sunset-zenith' ~7 }8 q4 z; ~. A- B
  936. ;date.sunset_zenith = 90.583333
    , C  x: J3 ?7 M
  937. ( D3 s+ V% o# H' M
  938. [filter]
    % }3 v9 @2 o2 m6 w; T. c
  939. ; http://php.net/filter.default
    " t8 |  B/ e8 W6 J# }* X
  940. ;filter.default = unsafe_raw5 Z. x, d4 \2 A  L, n; d7 o; U

  941. , |- y3 e) U! K( w, S
  942. ; http://php.net/filter.default-flags
    6 @" @8 B  k4 F' C. [
  943. ;filter.default_flags =+ H" Q$ B; }) ~. o6 S: C6 s
  944. " v6 ~; y" p+ U" H8 t
  945. [iconv]; |+ M4 u. W) D% ]; ]2 Y# j
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! e2 C% c$ g; F" J. S, w  a
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., W% G6 {5 c+ S# Z7 u* x
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    - D6 l1 ]4 X9 b! j% [- w
  949. ;iconv.input_encoding =
    & U* |- |2 d6 Q! [0 N

  950. : d/ ?/ [, {5 E; X+ g  `3 O
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 _" U0 T% u8 S! x, n
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * C5 [3 j( b; H9 F- r6 [
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* {+ A- A9 V; E8 o% l: ]
  954. ;iconv.internal_encoding =; R2 U) S5 i! Q  V% P0 q- r0 X
  955. + q% {2 Y2 X% H9 h
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) |7 r7 b8 ~9 |+ l; B) @, s
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    " G0 Q$ a9 R! A! P: P  c: ]3 s0 t$ v
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 p2 K7 J' g  C! ]$ U6 P  F! ^
  959. ; To use an output encoding conversion, iconv's output handler must be set
    0 X( g' Y9 ~3 t1 W
  960. ; otherwise output encoding conversion cannot be performed.7 S7 Z( `7 x& ]5 {# o) c  @9 ]
  961. ;iconv.output_encoding =
    , R9 F5 X  h  X: O

  962. - Y: C6 `) m& ?/ d
  963. [intl]4 q0 V* o& h6 s6 w1 F; v3 C8 J9 x
  964. ;intl.default_locale =, {8 I6 \9 T$ s# ]+ t
  965. ; This directive allows you to produce PHP errors when some error
    ! @$ @5 @6 j; }" U! Z
  966. ; happens within intl functions. The value is the level of the error produced.' N$ x9 k0 i" v. h* S
  967. ; Default is 0, which does not produce any errors., V  @( m' Z4 V( x) b
  968. ;intl.error_level = E_WARNING9 L7 E; I, R, u6 {* R4 M
  969. ;intl.use_exceptions = 0) I' ?4 L5 `' U9 R+ s" ?. x
  970. - W  m. W2 c/ Q& Y1 w" U7 H
  971. [sqlite3]
    9 e/ k' J1 r7 m3 O7 g) u
  972. ;sqlite3.extension_dir =
    8 v) D2 R8 ?% f6 A
  973. - w( e: O2 J1 J2 f! ^- _0 x$ r
  974. [Pcre]8 H  o9 C" E& i7 f; C
  975. ;PCRE library backtracking limit.! x* Y/ l" x/ g
  976. ; http://php.net/pcre.backtrack-limit
    - a4 ?- k4 Q% e
  977. ;pcre.backtrack_limit=100000
    7 h% m7 m& z( q- c" @  Z( t
  978. % R: r& w( Q& C2 @5 y$ F
  979. ;PCRE library recursion limit.
    1 O( W2 x9 E/ R' E! x( {6 N3 s
  980. ;Please note that if you set this value to a high number you may consume all
    / n4 m" Q; W/ X6 x
  981. ;the available process stack and eventually crash PHP (due to reaching the
    6 M( T$ U0 A2 ?4 G! Q& h) `7 ^, B
  982. ;stack size limit imposed by the Operating System).& s8 [& f" d4 U6 F; ?
  983. ; http://php.net/pcre.recursion-limit" _2 @( d/ b) A  p
  984. ;pcre.recursion_limit=100000
    $ o: t, q$ c, t! L) V, u7 E. ~
  985. ) L$ o9 ], S/ U; v1 }$ N* Z
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
      n$ p1 a* |9 ?- d
  987. ;library to be compiled with JIT support.
    / p0 E; _. e1 U$ B* `. ?
  988. ;pcre.jit=1
    6 k1 P5 W# E. R2 _' ~

  989. # ]8 X* X  X! J
  990. [Pdo]
    / j, @2 T. n5 T2 k% ]0 d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / X0 X/ @: W& u* ~: M3 l  R
  992. ; http://php.net/pdo-odbc.connection-pooling5 B) u1 v' g  V
  993. ;pdo_odbc.connection_pooling=strict
    5 R  N2 I: K7 ?9 w) \
  994.   j7 {' v5 p0 f' f: c3 }2 d
  995. ;pdo_odbc.db2_instance_name" ]7 U6 P' V; `0 h9 ]/ C4 a. m: p
  996. 5 J/ k( P) o; g- W
  997. [Pdo_mysql]
      [2 h7 k+ e: \! V( d% K; M
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 X) k/ M4 K, P+ u
  999. ; http://php.net/pdo_mysql.cache_size7 ^4 }" D' A/ e. F
  1000. pdo_mysql.cache_size = 2000* t9 R6 C3 w: J) Z, k

  1001. / M# P" H0 ?4 [  j, N( i3 _
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  p( R" D, ]7 P& x
  1003. ; MySQL defaults.
    7 I$ m' t1 I% I* g
  1004. ; http://php.net/pdo_mysql.default-socket0 k0 B+ m1 n& ]0 e! Y' I
  1005. pdo_mysql.default_socket=
    # @3 c" i; W2 Q0 T
  1006. 3 b( V  j' K$ N7 L  e$ y' C$ ~
  1007. [Phar]$ C% K- `0 M: ?! m  i. l
  1008. ; http://php.net/phar.readonly3 c; [' O# j8 D6 a
  1009. ;phar.readonly = On
    1 F, M) v& Z$ B+ o

  1010. ' A0 k- G. q% s& [4 M( I( L7 i/ U
  1011. ; http://php.net/phar.require-hash
    6 ~1 r5 b: T# z9 W& w3 J
  1012. ;phar.require_hash = On0 X- `5 p5 R+ v5 l! \( J8 Q
  1013. 4 f9 ^  y$ {3 i4 Q: T% c) g* ~0 ?: j
  1014. ;phar.cache_list =5 U0 c0 @% a& n; q  K) o  O' P

  1015. 7 J. G3 q7 _/ c1 L& }( L
  1016. [mail function]
    2 ^  u/ s9 {; }' g* ?
  1017. ; For Win32 only.9 f) W; a. T# e/ c( W& f* b
  1018. ; http://php.net/smtp
    / w( {' {- b9 J* X5 {; ~
  1019. SMTP = localhost
    7 j! s' T& P) }+ ~% c
  1020. ; http://php.net/smtp-port
    % J& w" X8 t) z1 J. H: G9 @; P- e% |4 h
  1021. smtp_port = 25
    $ H- C; `8 K( s' G- d, X
  1022. ! a. q0 C# Y: O. ~: |
  1023. ; For Win32 only.) ~7 {/ X3 x: U; [/ b. ^) L# i
  1024. ; http://php.net/sendmail-from2 u/ E& z; C0 @3 \) W8 a; C$ x
  1025. ;sendmail_from = me@example.com! P1 \9 w+ i. c8 M

  1026. + [9 ]  \8 R+ Z# n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; f- a, J1 Z$ }$ Q3 |
  1028. ; http://php.net/sendmail-path
    & }# t9 S$ J( w
  1029. sendmail_path = /usr/sbin/sendmail -t -i" U9 o1 i7 a1 T* Q% ~9 c* R

  1030. ; e, n- o2 h' W3 Y
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 B4 H3 K7 ~  B+ A6 ^
  1032. ; to the sendmail binary. These parameters will always replace the value of
    % }2 V$ A9 C0 m9 p% C
  1033. ; the 5th parameter to mail().
    0 ?* W/ H$ T3 |, R$ r. x4 [) h& O
  1034. ;mail.force_extra_parameters =
    - h" p9 r& A% k" q$ \' t

  1035. 6 H* [+ X3 i8 [
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 W0 ~3 ~- ]/ D
  1037. mail.add_x_header = On
    $ g: V, W  D' A

  1038. 6 e0 l/ z, L1 e
  1039. ; The path to a log file that will log all mail() calls. Log entries include
      c0 T) P1 h# A. h( P( }
  1040. ; the full path of the script, line number, To address and headers.
    : b) m+ w' y' Y
  1041. ;mail.log =0 Y7 k6 @' V9 ?9 V  @* Q
  1042. ; Log mail to syslog (Event Log on Windows).0 F0 r4 Y: ~8 ~0 q1 [: h$ i8 d
  1043. ;mail.log = syslog% n( X8 f0 x" [$ U( D( _* Z3 S

  1044. 4 {! D/ n; l7 `3 K; p
  1045. [SQL]( ^  z9 S+ t! F: ^. i5 T
  1046. ; http://php.net/sql.safe-mode  q! }/ J: L: {8 q& u8 g
  1047. sql.safe_mode = Off- M7 t5 z/ c  L
  1048. ) q# K6 ^2 v" n; ^& p5 ~; l9 Q% o
  1049. [ODBC]) M9 M( a# ?! K& `) M
  1050. ; http://php.net/odbc.default-db8 Z; a% p, e5 j3 L; e
  1051. ;odbc.default_db    =  Not yet implemented
    * S1 h! g5 b% \* ]& p4 c9 z$ i8 }

  1052. 1 P+ Q( p7 m# b+ }, G' X
  1053. ; http://php.net/odbc.default-user  z+ W/ c/ |8 K/ k6 u9 ]/ w! D
  1054. ;odbc.default_user  =  Not yet implemented9 s# Z! ~) _" b* A3 Y" s* B8 _

  1055. 9 g3 E$ K& ^) j1 }1 k) Y4 ~+ C
  1056. ; http://php.net/odbc.default-pw+ N+ e7 F. n4 L  a
  1057. ;odbc.default_pw    =  Not yet implemented9 a/ V. y5 p# e$ t- D$ }7 ^7 m
  1058. - y$ W0 m: m2 f4 `: f3 d+ [( {: ~
  1059. ; Controls the ODBC cursor model.2 V1 [1 ]! d6 _' \3 m: W
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ z. Q& x4 C; w, A
  1061. ;odbc.default_cursortype: ^0 I3 g, y% l# |% Y

  1062. 8 `  A) r- j0 t7 K: Q1 _
  1063. ; Allow or prevent persistent links.
    # t# t7 H* R% \. X6 p" y
  1064. ; http://php.net/odbc.allow-persistent% i- z6 R5 T8 b+ s
  1065. odbc.allow_persistent = On8 d2 r- A( X& N. k5 u3 ]1 w& e! @8 a. ~
  1066. , M1 }, X& M& l4 {& o! \
  1067. ; Check that a connection is still valid before reuse.
    - _' @0 i  L) T) h( M
  1068. ; http://php.net/odbc.check-persistent
    % A2 P# T3 o8 A
  1069. odbc.check_persistent = On
    5 N2 U; M. @) m1 n* M

  1070. & ?  f* H' W. r8 u% c
  1071. ; Maximum number of persistent links.  -1 means no limit.
    . n- G8 Q5 {  {* I
  1072. ; http://php.net/odbc.max-persistent
    1 g% x$ {9 M1 y/ c
  1073. odbc.max_persistent = -1  ]4 e; T. t5 j

  1074. 1 y4 I9 F% G/ l0 P. W
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% X) b. U5 J2 I! U2 K% n# y1 }
  1076. ; http://php.net/odbc.max-links
    * x7 A; [3 P+ z. i6 \
  1077. odbc.max_links = -1
    * K9 ]8 p  z$ z
  1078. / y' ^: x; k, b4 T) ~9 H, c) o; `  ?# K
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    0 Z3 ^/ Y" f% G' h
  1080. ; passthru." [9 b9 o0 ]6 v% Z2 |
  1081. ; http://php.net/odbc.defaultlrl
    4 v5 S9 C1 R) e2 H) ?  d" P# s- F
  1082. odbc.defaultlrl = 4096
    . z& Q  }: j* G1 j
  1083. 7 q, |+ D. T# `4 r/ I
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 m) n- Y  W0 D
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / N  m  S- g- d0 B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' G. m3 |3 r# I- t
  1087. ; http://php.net/odbc.defaultbinmode+ z! x0 K! g3 i/ a1 w: m+ n
  1088. odbc.defaultbinmode = 12 K. T/ S. m" I6 Z/ M; G

  1089. ( b! b) y* d& N" |3 G9 o5 P8 @2 `8 X) V
  1090. ;birdstep.max_links = -1
    - X0 v. X% g+ t5 z$ U* P- G. j" w% a
  1091. / P7 G2 W) P9 E1 j" R
  1092. [Interbase]' z% D1 |7 `9 r- s0 b( R8 R
  1093. ; Allow or prevent persistent links.3 ]: n% t8 b0 b; H
  1094. ibase.allow_persistent = 14 w5 M1 Q' t: Q- B
  1095. 3 G* h/ Y$ b# L. g) Z2 {2 c
  1096. ; Maximum number of persistent links.  -1 means no limit.: q2 X! Q  W" ?
  1097. ibase.max_persistent = -1
    . O# M" a9 X" J( ^: ]7 U

  1098.   S8 f8 B; f/ J) z. W) J
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      x% j4 K# w# k
  1100. ibase.max_links = -1
    : y( n3 |, M- H
  1101. ' j8 X( p; U2 z
  1102. ; Default database name for ibase_connect().
    + N" ?/ `  K0 d
  1103. ;ibase.default_db =
      W0 {* E$ [" d4 l( X
  1104. 8 u+ k; a+ v. \" [5 }
  1105. ; Default username for ibase_connect().; ?& f3 S5 [# e& V% _. ~+ h
  1106. ;ibase.default_user =( x5 \1 P1 q* ?
  1107. ( h+ U8 [/ r$ A* [
  1108. ; Default password for ibase_connect()./ J9 j0 T0 k# a% N5 u, d# B
  1109. ;ibase.default_password =  g8 F' I9 K: V( a6 B- ?

  1110. + ^9 O9 Q( `' L
  1111. ; Default charset for ibase_connect().
    # |1 s5 g! Q' W; Z* K5 ]
  1112. ;ibase.default_charset =5 U9 w; U* W' t0 W7 C0 M
  1113.   j* o$ A; V8 \# J6 d2 Y
  1114. ; Default timestamp format.
    ( P2 F) [  S9 y
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 ^7 m+ K0 L; n! X5 j

  1116. 9 H6 y4 t' \; u. \) ]( A' C  n
  1117. ; Default date format.% Z7 O3 }* B  ?3 O2 a
  1118. ibase.dateformat = "%Y-%m-%d"
      b6 |4 f! H* b9 \, A

  1119. + q* b- b7 I; K
  1120. ; Default time format.
    # c5 @* E% T" W( y( u
  1121. ibase.timeformat = "%H:%M:%S"$ J( L" L; ]  Z- m+ @, }* _' k2 f

  1122. " r2 @2 U' C; g' ^
  1123. [MySQLi]
    ( X0 c) ^  _/ {# x* T6 |& f
  1124. # x8 Y: }- ~6 m$ P
  1125. ; Maximum number of persistent links.  -1 means no limit.: p/ l$ T- M- c8 a
  1126. ; http://php.net/mysqli.max-persistent$ R5 U, T' c' j% E+ k2 t% C$ @# ~
  1127. mysqli.max_persistent = -1
    : v6 k1 g* u' k7 E7 t8 V
  1128.   Z; L8 ?- v2 ]5 i, L. Z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 u; Q. ?7 k7 V: Y, k
  1130. ; http://php.net/mysqli.allow_local_infile
    , ~" S: s' i8 H1 S0 @' {
  1131. ;mysqli.allow_local_infile = On
    6 J+ p9 q. |3 w4 X$ q
  1132. % L7 B: X: r2 ~4 w
  1133. ; Allow or prevent persistent links.
    & \9 e% j2 W  }4 O4 g& @' _6 N
  1134. ; http://php.net/mysqli.allow-persistent
    ; K5 ]$ n  O$ Z; P
  1135. mysqli.allow_persistent = On& P6 o/ N, ^- R9 C

  1136. 7 C% C6 K4 ^1 z+ b6 Y. d
  1137. ; Maximum number of links.  -1 means no limit.
    " C* X( E2 l4 a8 J! P2 ]& `3 g. i
  1138. ; http://php.net/mysqli.max-links# ?( w# q( T" }
  1139. mysqli.max_links = -1, _3 j; u. b; D# L4 `* e; Q* p
  1140. 8 t/ ^0 r* }8 N  n& e! T0 y2 C6 L
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- Z9 F: j  F- X3 y3 @8 T6 _  Z$ T$ v
  1142. ; http://php.net/mysqli.cache_size
    * R, X* T/ T" U% |  N9 Y
  1143. mysqli.cache_size = 2000& y) X2 }& C- \0 E
  1144. ' L. N% c1 j7 j( x7 Q  J
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ; S+ d" A( B+ W' r+ |- W' i
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' @1 ^. [% g# X: p9 S) a, @3 d& ]+ q
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 l6 |  l# M; x! m" E  O7 I9 k
  1148. ; at MYSQL_PORT.
    $ L- T) u2 ?5 Y: y
  1149. ; http://php.net/mysqli.default-port
    & ?+ ?+ w7 B( u1 R1 e. S( u" |
  1150. mysqli.default_port = 3306- |  w3 @2 l/ g# ^' E8 F! `/ W

  1151. 4 R: w1 J" G) i: `: q7 X6 C
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in  @! ]$ g) w( G) S( {! r* F+ m$ i
  1153. ; MySQL defaults.) q1 i* p2 W, q0 U
  1154. ; http://php.net/mysqli.default-socket
    4 C; P4 j( Q# C1 h) A# S
  1155. mysqli.default_socket =4 C5 Y. r: L( G" |

  1156. 9 W) I7 d7 U) E% W
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ V0 o7 `9 p; D% `" u2 ]# w- [/ T
  1158. ; http://php.net/mysqli.default-host
    : C: q" p) `- N; E& C1 ^0 b7 @& o
  1159. mysqli.default_host =
    # ]! D; {+ q) X3 [' w8 c! N) w: B

  1160. 8 H1 p, S  G9 t- b3 x5 T6 v$ v$ ^- H- @; E' i
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).  k6 b5 U+ J4 a" x- U+ L: V$ C
  1162. ; http://php.net/mysqli.default-user1 @5 K# N2 S5 O# l
  1163. mysqli.default_user =
    1 t- z/ u+ j4 `: j% l

  1164. ' u  A! e% p7 ?) e- o. l) n
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 ~7 u! t  v  D6 ^1 e
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    / I( `9 {, `* [/ q
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- e  X! K: x# n' h
  1168. ; and reveal this password!  And of course, any users with read access to this. @$ v# x' k& T2 b3 h
  1169. ; file will be able to reveal the password as well.* y7 H+ Y- r" U$ {+ Q, E  Q
  1170. ; http://php.net/mysqli.default-pw
    0 m5 d/ G1 J0 l  z: [
  1171. mysqli.default_pw =6 L! f1 L. |- C

  1172. : V7 X/ J1 n/ B
  1173. ; Allow or prevent reconnect+ i: @+ ?& x* L. A
  1174. mysqli.reconnect = Off
    & a7 w, G5 y' [, c9 X. q
  1175. ! p+ s$ C- P6 H3 n1 P! p
  1176. [mysqlnd]! a1 T3 w7 k0 E, U. @
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; t! d0 [- w0 U  N% q
  1178. ; used to tune and monitor MySQL operations.9 _. R4 {+ W' z2 C8 V4 _3 ^0 l
  1179. ; http://php.net/mysqlnd.collect_statistics: T4 q' |( O' t5 ^% k
  1180. mysqlnd.collect_statistics = On
    4 Z7 |+ I1 y, e6 L. d& X
  1181. * j  {# i4 Y, D+ d- n: y
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * R/ t9 E1 o; i9 s
  1183. ; used to tune and monitor MySQL operations.
    " M; `) ?! n) M+ [5 F" D
  1184. ; http://php.net/mysqlnd.collect_memory_statistics! a! N; f+ S  L( \7 _! `
  1185. mysqlnd.collect_memory_statistics = Off3 m5 u$ ~2 F6 `9 {: {  L

  1186. 4 [, u5 G5 M1 Y* O0 i, v' F
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 W7 G8 ?- ?: r' a" `7 M4 O
  1188. ; file.: D/ p' p% t* q8 j' k5 ]/ U
  1189. ; http://php.net/mysqlnd.debug+ I7 C- ]  j1 h$ h  [' ?: y
  1190. ;mysqlnd.debug =8 s, W( d: n: g6 X
  1191. / |! p6 p; g* @
  1192. ; Defines which queries will be logged.1 J; N9 w8 A! |* c
  1193. ; http://php.net/mysqlnd.log_mask
    5 ?/ ^+ O! c' Z) U4 T. t7 w  N/ r
  1194. ;mysqlnd.log_mask = 0" `* D1 q/ U2 x$ K) k; x: M8 G
  1195. # g; F3 j' Z; F, g" p! ^3 x
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 d* [9 v* P. J
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) t! ~* L: J% D
  1198. ;mysqlnd.mempool_default_size = 16000' d5 C/ R1 x3 P! X' F

  1199. 6 N# [% T) U# i4 L# H  ]4 F$ ?
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    " w: o' N6 O& b: A
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * i5 k3 s) m# X
  1202. ;mysqlnd.net_cmd_buffer_size = 20487 ~# B, d" p' @" }

  1203. " s! g: |9 g. c. L. z
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 p4 e( N- i8 a; f, Q
  1205. ; bytes." y2 d% Y/ }. ^. J" S
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( Z  i. ~  c: B
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 r4 P& q9 H$ l7 {2 u5 V

  1208. ! U- J; `! q, r! B6 \6 ?
  1209. ; Timeout for network requests in seconds.. ~, ~2 Z" z6 Q) r$ M
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # R) o) h7 z: B
  1211. ;mysqlnd.net_read_timeout = 31536000( E& T( a3 g9 W
  1212. " `0 K1 x; x$ B; C3 I
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " F' n( g+ {9 p2 K* \: D  P' ]1 P6 A
  1214. ; key.
    % Z5 ?  j  n* r& h7 H1 y1 Y' F: B
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    & x; H, x- r/ H9 I! m: t# I; e
  1216. ;mysqlnd.sha256_server_public_key =
    # M( w! w8 ~( ?, ]6 I6 W

  1217. 8 P$ f2 o5 Y: o% I
  1218. [OCI8]
    # ?0 t# Y, e9 \
  1219. / l6 V& s0 I) h2 L! \  ?: a
  1220. ; Connection: Enables privileged connections using external
    + f% [7 t+ D+ N4 C7 V/ r
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : `: I: k0 s/ q- X3 w
  1222. ; http://php.net/oci8.privileged-connect6 s! E: }! M, O) Q3 k- ]9 K, t
  1223. ;oci8.privileged_connect = Off8 T- n" ~1 r% w* k0 M) |
  1224. ( Y2 j: \& }7 J& J
  1225. ; Connection: The maximum number of persistent OCI8 connections per1 _4 P& P3 H) I4 H5 S* k" m
  1226. ; process. Using -1 means no limit.
    $ P7 I" t1 w  G" ^  S
  1227. ; http://php.net/oci8.max-persistent
    1 ]2 B4 T( r) q7 k3 P
  1228. ;oci8.max_persistent = -1
    7 _, b& s0 P2 l3 H4 ]- W, ?: Q

  1229. : a8 j9 @( X) b; I/ R, \7 ]( l& m
  1230. ; Connection: The maximum number of seconds a process is allowed to+ I9 I, K1 ?  |) K- W7 _
  1231. ; maintain an idle persistent connection. Using -1 means idle
    1 x( ~- H! l, L- _3 I) e
  1232. ; persistent connections will be maintained forever.
    # H9 d3 C3 Z; @6 E* j, G
  1233. ; http://php.net/oci8.persistent-timeout5 ^- `" K, o) I# x
  1234. ;oci8.persistent_timeout = -1
    4 O$ U( b) ]4 n/ S

  1235. & p2 k& T0 r/ G
  1236. ; Connection: The number of seconds that must pass before issuing a! N  U6 A2 X2 w, H& s- M
  1237. ; ping during oci_pconnect() to check the connection validity. When/ N. B* Q0 V* Q) p' S6 o2 ~/ P
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 ^) Z  E, N0 \
  1239. ; pings completely.  a% c" X% a* X# J: a# ?: B' p) C
  1240. ; http://php.net/oci8.ping-interval
    ! i1 O; q) U, T" I  G4 _
  1241. ;oci8.ping_interval = 600 W' h. ~+ S7 s* U

  1242. 2 E  i+ W' m5 v3 ^6 m
  1243. ; Connection: Set this to a user chosen connection class to be used0 K6 b" D- Y6 Z2 s0 {
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    & w* e; \7 {# T) w+ ]
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & B' m8 f% R6 w, D1 r! j; h6 U
  1246. ; the same string for all web servers running the same application,
    7 b7 m1 a* N; ~. ?% f
  1247. ; the database pool must be configured, and the connection string must# ^6 b' V' j1 j1 C: k( ^
  1248. ; specify to use a pooled server.2 t* I4 {! Y$ |4 c2 @" M
  1249. ;oci8.connection_class =
    0 K; n' p# a# ?; M
  1250. 9 |% O' F; W0 w1 `
  1251. ; High Availability: Using On lets PHP receive Fast Application
      a. F% H$ ~+ _2 g9 _/ W
  1252. ; Notification (FAN) events generated when a database node fails. The; }2 ?- k* c$ C
  1253. ; database must also be configured to post FAN events.
    & i- D+ }5 z- }8 n% C# ^
  1254. ;oci8.events = Off
    ' p  a$ l5 x2 _' i' B

  1255. - d* s$ C7 G1 P. }7 F, r4 n# ^
  1256. ; Tuning: This option enables statement caching, and specifies how
    5 s' {, q2 k+ V8 p9 [6 h
  1257. ; many statements to cache. Using 0 disables statement caching.
    6 A+ T1 ?. r. y
  1258. ; http://php.net/oci8.statement-cache-size
      Z& q: q/ f' c  h6 U& }0 _
  1259. ;oci8.statement_cache_size = 20
    ) z5 S- i7 q: H/ V# v. l; G; A! U

  1260. * w5 N  C9 V3 V3 G* c4 F' o
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 h/ B- I& r2 T3 f: O' l
  1262. ; rows that will be fetched automatically after statement execution.
    3 Z. ^( `$ ~. c  I
  1263. ; http://php.net/oci8.default-prefetch
    ! y- K5 E% m4 h0 n/ g
  1264. ;oci8.default_prefetch = 100
    + |/ u1 [& O% ~3 \; \0 g$ X5 |
  1265. ! u& l5 O) M- {
  1266. ; Compatibility. Using On means oci_close() will not close. w9 ~  d: Z6 j# R$ `) W
  1267. ; oci_connect() and oci_new_connect() connections.( C5 K7 _2 Z7 q5 t7 O" j2 t; v
  1268. ; http://php.net/oci8.old-oci-close-semantics
      D( ^0 j' e; M1 a/ c1 T2 b
  1269. ;oci8.old_oci_close_semantics = Off
    1 G: }' U6 t! Z! A

  1270. 5 R* s* V3 K9 A' d4 }, s
  1271. [PostgreSQL]2 X$ Y- Y! ^& _# [7 L4 n  v, g8 F
  1272. ; Allow or prevent persistent links.' z, s5 I5 \' ^4 ~3 A! G
  1273. ; http://php.net/pgsql.allow-persistent
    8 \0 w2 p$ _" Y# z# I  r
  1274. pgsql.allow_persistent = On
    & I% h( V3 Y2 n( d) R

  1275. 5 N! z* W0 v8 z* x
  1276. ; Detect broken persistent links always with pg_pconnect().
    7 p8 C0 F+ V" Q: i/ p: M* @  w
  1277. ; Auto reset feature requires a little overheads.
    + G/ j% a2 B* G, X# I4 u$ e
  1278. ; http://php.net/pgsql.auto-reset-persistent
    . E1 }4 d  E1 I& Y, F3 L4 l
  1279. pgsql.auto_reset_persistent = Off4 d- |" }, k4 w  z5 K* f) n0 s
  1280. 1 Q# p; a% E6 z8 G" y/ h
  1281. ; Maximum number of persistent links.  -1 means no limit.* D1 Q1 U& l, Y& l  n
  1282. ; http://php.net/pgsql.max-persistent
    2 H/ v9 }6 G: f) {
  1283. pgsql.max_persistent = -1
    5 K8 j& x0 f) g

  1284. + L% ~% M4 ]) x
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + ?0 B2 ?6 [# A: [+ m
  1286. ; http://php.net/pgsql.max-links
    & b% ~. t2 P& ^) b
  1287. pgsql.max_links = -1' n; L, d( j$ k: y
  1288. 1 v* U% I, ^) F8 ^" Z. [. X
  1289. ; Ignore PostgreSQL backends Notice message or not.
    2 C8 m; ?* h1 M, z1 A9 ]
  1290. ; Notice message logging require a little overheads.
    * z& X9 I" F4 Z* O( t$ _
  1291. ; http://php.net/pgsql.ignore-notice
    ' ]/ i$ f, R. T/ ?2 T
  1292. pgsql.ignore_notice = 0
    3 Z+ X5 B$ w6 s4 E! H% ~
  1293. , j! C- |/ d# |4 v/ p; {5 |& `
  1294. ; Log PostgreSQL backends Notice message or not.$ U( F* o0 i9 N
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ! Z2 f: w8 Q1 _6 ^& v
  1296. ; http://php.net/pgsql.log-notice) L* g5 [) R7 d/ R! ]+ R
  1297. pgsql.log_notice = 0
    + {) W% }7 r2 v' M

  1298. & }9 S1 ^) Z# B* _- E
  1299. [bcmath]
    1 K5 [7 g. ?! y
  1300. ; Number of decimal digits for all bcmath functions.2 [" e  \6 ~0 U# y+ n: |
  1301. ; http://php.net/bcmath.scale# O) _' k0 n5 d2 S3 l
  1302. bcmath.scale = 0, q6 a& Q; Q# F1 k) ?" w! U0 F

  1303. ) f8 I$ a- d' h! N
  1304. [browscap]
    1 d) i1 M& |3 C  U5 W
  1305. ; http://php.net/browscap
    7 x- w! H2 x; i0 w
  1306. ;browscap = extra/browscap.ini6 [: s9 j9 H; J! {# J* i7 ?: M' Q
  1307. 7 N8 T0 q! C7 _, E
  1308. [Session]' ?( p  k- \, g6 r9 C" `  |
  1309. ; Handler used to store/retrieve data.( e3 y! Q5 ^& a) ?8 Y  N0 J; i
  1310. ; http://php.net/session.save-handler1 I! X0 r6 H" q1 \; e8 {6 V
  1311. session.save_handler = files
    + Q, Q7 R+ h; J8 v
  1312. 0 S/ p! `3 f1 S9 i6 S
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    9 K1 }, ]% U1 G1 K8 n% W: k
  1314. ; where data files are stored. Note: Windows users have to change this: p- g. |0 w6 d
  1315. ; variable in order to use PHP's session functions.
      W. G+ O: Z' n' L# ~. K; |8 {3 b+ H
  1316. ;
    ; R6 B; d2 Q, S
  1317. ; The path can be defined as:
    3 k! X$ p; H! T. G3 b1 L
  1318. ;
    5 I( D4 B3 {- B3 Y
  1319. ;     session.save_path = "N;/path"
      w8 B5 ^. U: J; L3 I
  1320. ;( y. O9 O, S, @* n- @
  1321. ; where N is an integer.  Instead of storing all the session files in; R+ i9 D2 |. m; D
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    " w; x2 t4 H" N9 J; g6 L' M
  1323. ; store the session data in those directories.  This is useful if# l; y; r0 j0 {, f) b
  1324. ; your OS has problems with many files in one directory, and is6 F$ [  K  K1 W' u+ R
  1325. ; a more efficient layout for servers that handle many sessions.0 E6 L6 ~) [5 G
  1326. ;0 t4 A* M- A, Q, G% n
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 R, i+ A7 {1 u6 L
  1328. ;         You can use the script in the ext/session dir for that purpose." i, I- E$ X* S' s. ~& N% S$ Y; I
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    # _( }2 j9 g  A1 s# d9 L
  1330. ;         use subdirectories for session storage
    1 p1 C5 ?$ N1 D, c5 F1 \
  1331. ;1 N0 e( t1 M0 n. `
  1332. ; The file storage module creates files using mode 600 by default.
    # C( `% O7 `8 M  [& e, Q3 @( }& V
  1333. ; You can change that by using
    & R9 q5 a  v# j" |# H
  1334. ;0 {/ E% I8 a% d, Y6 ^8 U- [
  1335. ;     session.save_path = "N;MODE;/path"
    0 G$ W# e7 t5 t0 x) h
  1336. ;% }! `, h4 H1 j) y2 e1 V
  1337. ; where MODE is the octal representation of the mode. Note that this
    : N- {$ F8 M. ?4 j: m1 k0 {& V
  1338. ; does not overwrite the process's umask.
    % M8 \& w! E2 \, e
  1339. ; http://php.net/session.save-path  x( Z" [+ z" |' e' `
  1340. ;session.save_path = "/tmp"
    , b5 m$ ]/ h: U5 _6 r# B5 C
  1341. * z) e9 C) }- T$ b! g" q
  1342. ; Whether to use strict session mode.
    6 G( |, z% p+ {% E5 k
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 ]' e: b# U. V& K* t7 P: t1 S: X
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects5 v* e1 |5 a7 n
  1345. ; applications from session fixation via session adoption vulnerability. It is5 E( v' Y7 u' _5 @" q0 G; S
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 `: X9 q# f" ?/ b5 f, f  r/ ?
  1347. ; https://wiki.php.net/rfc/strict_sessions2 U; e8 x" P9 Q
  1348. session.use_strict_mode = 0
    ; t+ _5 Q( A. y4 ?

  1349. ! d* e5 r. z9 b( x1 ]9 M6 d. z
  1350. ; Whether to use cookies.) F# X' y7 x( G. n7 W7 w$ G# Q
  1351. ; http://php.net/session.use-cookies
    / E0 `, k4 x" S% }+ i/ G8 ]0 D( a
  1352. session.use_cookies = 1
    7 L0 V0 l) B8 h- h8 U

  1353. 7 W2 v2 _( Y% Z, g
  1354. ; http://php.net/session.cookie-secure
    % U/ F- K, c4 w" c7 q
  1355. ;session.cookie_secure =
    " E/ U- M: ]% q1 w/ c% ^( f0 q

  1356. 0 L) R$ l4 r4 C. l2 p# \
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( [4 j7 \6 \! a- J. m/ F
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    2 S" n3 r' j. F" C
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ) B) W3 E/ t8 Z& I6 ]
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( P; ^% V2 \, ]6 s& o" c
  1361. ; http://php.net/session.use-only-cookies
    5 w$ ^& _8 M! f& E" u
  1362. session.use_only_cookies = 17 C6 z8 f4 [+ b

  1363. $ H5 V- j5 ~1 Z$ @# u
  1364. ; Name of the session (used as cookie name).
    1 ^; e6 [) a( z; x
  1365. ; http://php.net/session.name
    8 g& @2 _9 }3 I! @
  1366. session.name = PHPSESSID! l- D- ?1 s, T( Y+ Z1 W$ w

  1367. ( x2 Y. w1 B% |* }2 U
  1368. ; Initialize session on request startup.
    3 J) g2 v6 R! D8 h5 t4 G
  1369. ; http://php.net/session.auto-start2 e# X. u4 S& s+ e' I7 C$ _
  1370. session.auto_start = 0) h% u1 O6 e( |2 C- x* I6 q( M

  1371. 0 s4 ?& R! a% R$ ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 `& D# t: b) N
  1373. ; http://php.net/session.cookie-lifetime9 L: i* L0 w7 z& |6 m3 f/ E3 f
  1374. session.cookie_lifetime = 0: N/ ?7 j4 `, @7 g8 g3 ?3 C( x' o2 v
  1375. - M2 I% X+ @% V+ m( V/ {* ?. N# D3 H
  1376. ; The path for which the cookie is valid.
    7 H- \- n! L% z' c5 G, b! g9 d
  1377. ; http://php.net/session.cookie-path' X# W. S, F1 m- V9 O
  1378. session.cookie_path = /" g" Z3 n5 g9 a- Z. n
  1379. 7 N5 N7 u* H/ ~" G4 Z
  1380. ; The domain for which the cookie is valid.8 K4 C+ u1 Q6 t8 H/ q
  1381. ; http://php.net/session.cookie-domain
    4 j! \- K& H4 A' s8 D2 O
  1382. session.cookie_domain =
    ) B; Z8 q6 W" X

  1383. 4 Q  u: `  P8 B3 E2 q+ j) w5 W7 X
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.; A8 E4 h0 q8 W
  1385. ; http://php.net/session.cookie-httponly  l# L5 K3 {& g$ v
  1386. session.cookie_httponly =9 j, I: J, Q4 D6 P

  1387. . {3 o( V% w6 x
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.8 x# r' u2 a$ _( I* c6 J+ D
  1389. ; http://php.net/session.serialize-handler
    * Z! _: D) |7 \1 `3 S
  1390. session.serialize_handler = php
    3 {; z  a  u7 A7 F- Z& y
  1391. " k% l# j3 H9 |4 f3 a, ^, W
  1392. ; Defines the probability that the 'garbage collection' process is started8 Q- C8 w9 e) Y
  1393. ; on every session initialization. The probability is calculated by using
    $ S+ X, f# }, }( l2 W; a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 D, O2 N1 Q( q8 i3 i% S# u
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    2 f9 ]3 r* m5 n; w
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance! c$ `5 D# ^2 G2 F+ ?
  1397. ; the gc will run on any give request.
    : C1 D$ N1 l( e& I5 E# l4 ^
  1398. ; Default Value: 1
    ! i3 v8 N0 z9 v6 Q; J4 Q
  1399. ; Development Value: 1  Q7 V# |4 s# t4 R6 \( y
  1400. ; Production Value: 11 Z5 L) b1 ~5 m% @; f9 n( o# b9 W
  1401. ; http://php.net/session.gc-probability
    " v# |" e  k% C: W$ t
  1402. session.gc_probability = 1/ v7 e: b2 l9 Y+ v4 ]- q8 ^
  1403. " F+ X  h/ f$ ^9 z' Z% q# ?3 g- n2 Q
  1404. ; Defines the probability that the 'garbage collection' process is started on every  `/ H& ]4 `6 N% a/ v  S
  1405. ; session initialization. The probability is calculated by using the following equation:0 e8 Y1 W* ^( M1 G. c  A8 Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% {. N0 i% ~' a. ?5 M
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 G1 {8 p2 c1 D! Q' k
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  R  M- y+ p1 r1 G/ A  n) o
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you% f& V$ O% [- r' f2 r' @
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 p# K5 w1 P" M6 K  I; x, r3 h6 y
  1411. ; this is a more efficient approach.
    0 t5 V- H: G8 b$ ^
  1412. ; Default Value: 1007 V4 e3 r- G# [" H0 e  G9 C4 s
  1413. ; Development Value: 1000) |; }5 g1 z/ n. K: m7 ?; \7 [' [8 i
  1414. ; Production Value: 1000
    : c8 Z, U" d, F, v
  1415. ; http://php.net/session.gc-divisor
    5 T/ s/ L# i7 k6 [3 U0 s) @+ ^
  1416. session.gc_divisor = 1000- C- q8 C. P) u4 m

  1417. : p) }; R' w' [" d2 B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    - w. t& j4 }3 C9 S3 |' e# Y
  1419. ; cleaned up by the garbage collection process.
    3 }& ~, Y+ `  [9 d& k6 f/ E9 {
  1420. ; http://php.net/session.gc-maxlifetime
    0 y5 A0 v7 B5 C( r! Y% ^
  1421. session.gc_maxlifetime = 1440. U: T. \! ]! W- K2 _
  1422. 8 L% r. `& K1 y. e# `' l
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    # T. }, \! f0 e
  1424. ;       (see session.save_path above), then garbage collection does *not*
      o% H( R0 s$ f/ [0 l% Y8 ^
  1425. ;       happen automatically.  You will need to do your own garbage/ s8 M/ t  M9 C# e; \8 V% W  k
  1426. ;       collection through a shell script, cron entry, or some other method.
    . E1 }1 k9 F1 W) K
  1427. ;       For example, the following script would is the equivalent of1 k2 a! Z5 f, E
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 L7 N: S% T! R/ O+ g# h, ^7 D
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# u. B0 H. G, r
  1430. 4 Z# s$ W+ B; A  a2 `2 |8 N. M
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 U  [5 `8 T4 b+ \
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 z  T* f9 a( i# F' Y
  1433. ; considered as valid.
    * q: S" O# J  Z7 B$ Q- c
  1434. ; http://php.net/session.referer-check8 o, B! W- a' b" ]
  1435. session.referer_check =3 U* u+ s9 W8 b9 F( A

  1436. % E1 o9 ?* w% K; ]2 Z( K) S, e
  1437. ; How many bytes to read from the file.
    0 \+ u3 C; J& J0 n" p
  1438. ; http://php.net/session.entropy-length3 m$ L3 @! N' O. p+ C
  1439. ;session.entropy_length = 32
    1 O7 E4 @5 l: U0 h' I

  1440. 6 @" Y( c3 P, S9 ]
  1441. ; Specified here to create the session id.
    6 Z# u2 N% k2 m3 \+ n
  1442. ; http://php.net/session.entropy-file
    ' ^7 y  \: q5 L1 v
  1443. ; Defaults to /dev/urandom
    " ^7 m# p" @) x* w3 T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - E! H7 I. ~9 [( e7 h; S3 E7 j
  1445. ; If neither are found at compile time, the default is no entropy file.  A! e, S% Y* J. G5 C! o: W, z! g9 t- p
  1446. ; On windows, setting the entropy_length setting will activate the
    ! p' b% D' v4 r
  1447. ; Windows random source (using the CryptoAPI)
    ) R% r  u7 X1 W: S% T. P( x) b
  1448. ;session.entropy_file = /dev/urandom  r5 ]- x6 A  E6 b% S4 B

  1449.   V! e! f1 ?8 M# O/ S
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects; Y7 P0 X6 K7 s/ T% D  X& B
  1451. ; or leave this empty to avoid sending anti-caching headers.
    / j! a1 g" L! l  p% j1 X1 r
  1452. ; http://php.net/session.cache-limiter: K& D; Y& m+ _% _
  1453. session.cache_limiter = nocache3 U" V/ t) `: \7 v4 q1 Y
  1454. 5 |! r0 l4 E" M5 p5 [
  1455. ; Document expires after n minutes.
    4 B& Q- b8 |6 b3 y' `  `. J
  1456. ; http://php.net/session.cache-expire+ R2 @+ b7 f% d
  1457. session.cache_expire = 180
    & g: I- R/ q1 E" L: v& O# D
  1458. $ R* U3 [4 G- k9 ?: ?# ~
  1459. ; trans sid support is disabled by default.  |, D/ Q" z( _; k$ o! S6 f
  1460. ; Use of trans sid may risk your users' security.
    & c+ D# \% m% V5 [' B
  1461. ; Use this option with caution.
    ( h. d4 L& Z. o, X# R
  1462. ; - User may send URL contains active session ID- D: r, L( L2 E+ p9 A: ]7 z
  1463. ;   to other person via. email/irc/etc.
    / a+ s& D' O$ Q( M9 p' Z  z! J* Y, ~
  1464. ; - URL that contains active session ID may be stored; s, ?* d2 y3 j
  1465. ;   in publicly accessible computer.' B% G3 q. p+ X  D2 Y9 m* i
  1466. ; - User may access your site with the same session ID
    " l/ `  K2 C$ z6 y4 o& J% y- j  C& N
  1467. ;   always using URL stored in browser's history or bookmarks.* o, ^. {1 T- a, @1 M) I* S$ |
  1468. ; http://php.net/session.use-trans-sid5 x; [& Z  e5 z; }
  1469. session.use_trans_sid = 0  e9 g# l8 I( h+ y6 T8 c+ \
  1470. . T" S5 P8 x# W  ~& C; i8 z
  1471. ; Select a hash function for use in generating session ids.
    5 P* B! R$ l  n1 |7 G9 p
  1472. ; Possible Values
    " a* M8 s/ ?4 u& B: N
  1473. ;   0  (MD5 128 bits)) a. J8 {5 x/ n) d
  1474. ;   1  (SHA-1 160 bits)4 m: l5 J; x9 o
  1475. ; This option may also be set to the name of any hash function supported by
    ' J; Y' B( g! d
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(), X- T- g# I+ D# u+ `+ g
  1477. ; function.) C, a8 ^* F: m, B: @
  1478. ; http://php.net/session.hash-function- v/ n' a+ j/ R
  1479. session.hash_function = 0  R- S# F2 ]2 d( q8 X+ v/ ]

  1480. . J# s; b8 `1 e  b! L) s. [
  1481. ; Define how many bits are stored in each character when converting5 H- [4 J: _9 ^* Y/ g. T
  1482. ; the binary hash data to something readable.
    + q7 o2 L! z( v* D! L8 L0 R
  1483. ; Possible values:& \3 L. J" Z) @3 w- k1 j
  1484. ;   4  (4 bits: 0-9, a-f)9 R# _, K, V9 b
  1485. ;   5  (5 bits: 0-9, a-v)
    . g7 h: b' Z6 N8 j/ t8 ~7 E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" P( D1 d5 z; l0 I  K( [
  1487. ; Default Value: 4
    % {* s2 j* w% ^, E; u
  1488. ; Development Value: 5
    ) N7 D/ E! N) _- j% A
  1489. ; Production Value: 5" S! M# _% B& d! ]7 U  U
  1490. ; http://php.net/session.hash-bits-per-character$ b7 |; k/ D$ A' E: J
  1491. session.hash_bits_per_character = 5
    5 Y( w' x, Z3 K3 T: C

  1492. 1 ~6 t; i  F, f& H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.; Q6 F3 x7 ^5 c6 D7 d# A; i8 E
  1494. ; form/fieldset are special; if you include them here, the rewriter will. h" T( j  m4 r1 `6 H7 K
  1495. ; add a hidden <input> field with the info which is otherwise appended
    9 t/ q$ `$ Z9 ~7 N, \- w4 F, a
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.# O, e3 z: @( G1 h7 t
  1497. ; Note that all valid entries require a "=", even if no value follows.
      T) G+ ]- f/ Z# q+ l& u
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- i& c; u* l0 d3 E- F
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  n: l6 U+ ?8 y# B  M# A4 @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! ~6 b! ?  o; F0 V6 G. G
  1501. ; http://php.net/url-rewriter.tags
    " y: G  l. p5 ^, W
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". y( Q  R- _0 }% A
  1503. 2 M8 j4 o6 Q2 Q2 U) V
  1504. ; Enable upload progress tracking in $_SESSION  e; N. T9 i5 l; f1 Z5 G# u, ]% Q2 R4 z
  1505. ; Default Value: On
    . D/ b+ t# B+ b8 y# |
  1506. ; Development Value: On/ y4 ?) X& Y0 {0 W2 [
  1507. ; Production Value: On7 ]8 t& c" b- [+ B  b6 s% b# l
  1508. ; http://php.net/session.upload-progress.enabled: u0 g1 k7 y. f3 P
  1509. ;session.upload_progress.enabled = On
    8 G1 r2 ^6 s2 f; o: [* o; r4 c
  1510. 5 |, j2 A  T) \6 g5 o
  1511. ; Cleanup the progress information as soon as all POST data has been read
    0 g! K6 G3 E3 w3 {) v/ t; y: j
  1512. ; (i.e. upload completed).
    5 M7 `2 p# z. s' U2 J6 s
  1513. ; Default Value: On
    ' J' j" }2 V) @- k# Y$ i2 F
  1514. ; Development Value: On
    4 S6 N. s! l! P, V2 l( T8 G
  1515. ; Production Value: On
    + @4 a* t9 m* z* w6 W8 v# E: A
  1516. ; http://php.net/session.upload-progress.cleanup
    5 D: O2 L& w  r1 {# J) D
  1517. ;session.upload_progress.cleanup = On
    $ |+ e2 t! l+ T" s8 U
  1518. 0 W0 Z7 D3 H" P. c
  1519. ; A prefix used for the upload progress key in $_SESSION$ y" V; R; q6 l" _" \& i" D
  1520. ; Default Value: "upload_progress_"/ h; n' l: I( M0 U( n( m. X( ]
  1521. ; Development Value: "upload_progress_"
    6 [$ M! }( }- @$ w( I
  1522. ; Production Value: "upload_progress_"5 @- _. a% l& b4 L4 S. ]' {/ I
  1523. ; http://php.net/session.upload-progress.prefix- B* @2 l* D: e8 d$ e' C7 r
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - \' E8 E1 U* a
  1525. 6 ^* t1 c8 C( U, s0 d
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    & H* R6 r' V& Y. u
  1527. ; containing the upload progress information; H: [8 r8 G$ b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 t9 ^0 G% m6 d0 I5 Y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ }! a8 |; e( A4 w/ K
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' B0 F( i7 p! z- k& u+ b) K& A
  1531. ; http://php.net/session.upload-progress.name) [. |1 @( z7 J- @4 S
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"0 m4 j; ?1 Z# T, Q

  1533. : V% Z5 u& L- y0 b$ X2 i
  1534. ; How frequently the upload progress should be updated.1 |" W% J" B8 ~, p9 C
  1535. ; Given either in percentages (per-file), or in bytes
    # g. q7 f" P7 L' H: Q
  1536. ; Default Value: "1%"
    8 Z, `% ~, Q. o, O% ]! }1 D
  1537. ; Development Value: "1%"5 ]* h  ?6 V0 ]0 @) ?9 O
  1538. ; Production Value: "1%"8 P( {. ?1 t5 J; V. F8 A
  1539. ; http://php.net/session.upload-progress.freq
    0 z8 l- K  L. L8 f3 S! p! y
  1540. ;session.upload_progress.freq =  "1%"
    & I: J0 ?7 l6 I0 A! j* V, L
  1541. 3 Z; h8 ^2 l2 {1 p
  1542. ; The minimum delay between updates, in seconds
    . Z* @+ n6 [- b& U
  1543. ; Default Value: 1! ~. c4 x, e! K2 I
  1544. ; Development Value: 1
    . _! b  v6 _4 P3 H$ Y
  1545. ; Production Value: 12 o; [: a9 m* f
  1546. ; http://php.net/session.upload-progress.min-freq
    % p& f& Z0 N0 s
  1547. ;session.upload_progress.min_freq = "1"
    , Q4 l; H! `( s9 ?
  1548. - C- S# b2 {$ S8 `, y0 d/ l
  1549. ; Only write session data when session data is changed. Enabled by default.5 n2 U) y* M6 \+ E
  1550. ; http://php.net/session.lazy-write" j' V) \: ?# V. Z
  1551. ;session.lazy_write = On
    / L$ g' [' @' L- P! P$ n4 e! Q
  1552. # B! j& ]+ C! C* F' Z
  1553. [Assertion]
    9 W. d2 M! y; b+ n( I5 V
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)% y3 K& r; [+ a# l8 I" H1 D/ b
  1555. ; -1: Do not compile at all1 |; I3 }# _2 N9 r
  1556. ;  0: Jump over assertion at run-time
    1 {8 u# `, Q! ^2 G
  1557. ;  1: Execute assertions* s5 N+ h% D( t4 h2 ?
  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)
    % Q+ [6 s# @& S
  1559. ; Default Value: 15 f5 H( p( p% g, h8 x% j
  1560. ; Development Value: 12 f* U7 [( t" ^9 |$ T2 I0 q; A
  1561. ; Production Value: -1
    4 |( u8 X- e$ D/ ]( v" E( i1 s! t6 m
  1562. ; http://php.net/zend.assertions
    + q+ _; ~& i* D" e7 h/ R
  1563. zend.assertions = -1
    3 u( c  }! J, J  n1 R1 s' A

  1564. 9 S# t8 ?7 o6 C8 j/ ~+ k$ ^
  1565. ; Assert(expr); active by default.
    % g/ h+ a, r, k. W
  1566. ; http://php.net/assert.active- s' ~1 z- `2 X, g( |5 @
  1567. ;assert.active = On
    # ?6 R# U. u( d( p; ?
  1568. , @6 v0 s- {# _+ i2 A( S
  1569. ; Throw an AssertationException on failed assertions
    0 |7 D. S1 O+ M2 `* e
  1570. ; http://php.net/assert.exception
    3 R3 R, ?0 o, q. q9 z+ l  ?
  1571. ;assert.exception = On9 N3 l) U6 _6 n/ X. O
  1572. ' T- K& v" p! d5 P$ t% ?( B7 d) w6 Z5 _
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)+ E# M2 W* L+ x2 ?
  1574. ; http://php.net/assert.warning
    5 M0 N& u+ K. }
  1575. ;assert.warning = On
    * i2 U( k, N+ V1 S% k! z  R5 {2 t$ z
  1576. 4 `( x6 L4 O4 \! I+ W; ~* D  n
  1577. ; Don't bail out by default.2 @6 k2 C! t/ S+ N3 \  a+ T+ A
  1578. ; http://php.net/assert.bail% s8 D- G* L4 M
  1579. ;assert.bail = Off
    ( z& f: g1 i! n" D+ H/ A

  1580. 2 \5 i7 U0 U$ g+ _9 D+ X! h$ _$ A
  1581. ; User-function to be called if an assertion fails.9 _9 d+ X0 R7 g$ a
  1582. ; http://php.net/assert.callback# K+ f& V% i' d+ z
  1583. ;assert.callback = 0
    ' K9 w. Y# c$ W: m5 v- ~

  1584. # I4 l( |, l4 }7 \: I/ M5 f( ?
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ) y3 D( o! {2 M2 t- R
  1586. ; error_reporting(0) around the eval().
    & h, d* ^0 Y. y; O2 q- e% a
  1587. ; http://php.net/assert.quiet-eval% p2 a# o/ _. F; E, z0 v2 x
  1588. ;assert.quiet_eval = 0
    7 V2 W/ B6 F9 K& q

  1589. ( @8 B8 k7 [( N) k
  1590. [COM]
    1 o6 s. K, I' v1 F) {
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # Z" R- j" N. s9 m# f4 {  m. J
  1592. ; http://php.net/com.typelib-file' d9 F) j. y7 \
  1593. ;com.typelib_file =- c) m7 T. F; n' j  W0 z

  1594. 3 P! w4 W3 e% K6 {' Y; h% k5 P0 \
  1595. ; allow Distributed-COM calls- a) a8 F: p/ C$ J
  1596. ; http://php.net/com.allow-dcom
      ?1 m$ z# t' }
  1597. ;com.allow_dcom = true) `& O" a9 e- d  f9 K, _1 F8 a. @1 K
  1598. 7 l/ _4 b( H. f
  1599. ; autoregister constants of a components typlib on com_load()
    : f: u; M$ w% {; d0 B6 Q9 G
  1600. ; http://php.net/com.autoregister-typelib8 F7 m# J; l! {5 ]+ A5 N
  1601. ;com.autoregister_typelib = true2 j* @4 f( f8 V; w3 E/ y$ F
  1602.   Z6 J# \0 l$ F2 J0 P6 {$ L% K
  1603. ; register constants casesensitive5 L7 Z2 ?4 C" D' H6 P
  1604. ; http://php.net/com.autoregister-casesensitive' J% y1 S& B0 a+ B9 D) y) X
  1605. ;com.autoregister_casesensitive = false+ @9 Q, o, b; N2 J4 U

  1606. 2 s$ `* s% X# I: \" p6 u
  1607. ; show warnings on duplicate constant registrations# P5 Z* i( Y. ]' H" {" b
  1608. ; http://php.net/com.autoregister-verbose
    & l5 e$ A0 K) a6 y+ m: m
  1609. ;com.autoregister_verbose = true1 f' j7 O, e: }
  1610. 3 y, B! s! P, a. l. L/ p
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    0 _6 }" k! v3 S; n5 x
  1612. ; Default: system ANSI code page1 f4 [" z: ^9 ^* N/ ^
  1613. ;com.code_page=
    $ I  a2 ?; z$ J$ R* X$ N  w
  1614. + i% S, B5 m% H8 ?
  1615. [mbstring]
    9 w; S" ~' h/ U
  1616. ; language for internal character representation.9 p, D2 N+ U! |  g/ I% |) ^
  1617. ; This affects mb_send_mail() and mbstring.detect_order.) S2 d9 n3 T5 \9 j3 d, I
  1618. ; http://php.net/mbstring.language
    8 f$ e8 ?# j7 W% Q' J. {
  1619. ;mbstring.language = Japanese9 ^  O( K; X8 l* L
  1620. - l$ P7 s- Y& [' p  n
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead." q- q; E7 }/ Q% q
  1622. ; internal/script encoding.
    ( r  `' {( m0 D; [/ h$ g) F* w9 ~3 X( p
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    / \* [8 s2 z; ]& ?$ M) |3 b
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) y5 e# {3 y- P7 T4 k, D
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . s' ]5 t4 J' f" S" M$ V
  1626. ;mbstring.internal_encoding =
    5 G- d2 x3 c: `
  1627. ; ^% @& S% f3 L
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' |. ~, R3 E+ Y6 J7 h9 [5 m+ \% q
  1629. ; http input encoding.1 W$ V7 U% E- ]& ]
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.5 B* r) G. f5 I; ^" M% G0 C, i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.) t# q1 {0 Q- \0 v" L+ D- V
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; n+ Q6 V, Z7 I# X: j; E: L5 b
  1633. ; http://php.net/mbstring.http-input8 y3 W; K1 ~9 h: }7 v
  1634. ;mbstring.http_input =, N4 |5 @0 a- u* i

  1635. 2 \" v& y7 K/ V. Q
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.. X! ]' f1 r- ]  z
  1637. ; http output encoding.
    3 Y+ n/ T( X0 |4 `0 R
  1638. ; mb_output_handler must be registered as output buffer to function.
    ; H1 g' a5 g& j" K8 S$ Q; I
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- X  V8 n" Y4 b! }  w3 b+ U
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output% A) j* ]# k. J$ `4 g
  1641. ; To use an output encoding conversion, mbstring's output handler must be set! b' C: s0 {: u) f0 m' Y  a
  1642. ; otherwise output encoding conversion cannot be performed.
    # B  t3 j9 H2 i) X
  1643. ; http://php.net/mbstring.http-output
    6 ^& A8 @" M2 Y. f2 R" t. q
  1644. ;mbstring.http_output =
    - x& S& @4 i; ?9 L0 r# h& i
  1645. 3 C; q$ x- ?1 ~* w2 X  Z6 W
  1646. ; enable automatic encoding translation according to% z+ ~1 u; G% ~% O' s
  1647. ; mbstring.internal_encoding setting. Input chars are( Y% ?6 Y1 Y/ ~; j1 N0 i( t2 n
  1648. ; converted to internal encoding by setting this to On.5 b% n8 j! j; V7 `2 @
  1649. ; Note: Do _not_ use automatic encoding translation for2 F9 }% w$ J, i2 u, S. x; a
  1650. ;       portable libs/applications.
      C3 P& f. Y; z
  1651. ; http://php.net/mbstring.encoding-translation
    & t; w6 F+ a+ N! I% h+ S
  1652. ;mbstring.encoding_translation = Off: V+ c+ V( o- l1 g
  1653. ! a, R- [4 e4 h1 a' n% Q
  1654. ; automatic encoding detection order.
    0 Z% q6 @) D- [+ W+ v' A
  1655. ; "auto" detect order is changed according to mbstring.language8 y6 R" _+ _* ^8 {! k! }
  1656. ; http://php.net/mbstring.detect-order
    9 _$ K- i) w, {7 u
  1657. ;mbstring.detect_order = auto
    : b8 Z4 }7 a5 H4 V0 h( ?& _5 \0 P6 C4 F+ d9 s

  1658. 1 f3 ~1 `0 e6 c! D( d1 h* w/ [
  1659. ; substitute_character used when character cannot be converted
    9 S- M; K# t: G' {5 ^1 K" [
  1660. ; one from another
    ) s8 j4 V3 Z) a! @1 P4 s
  1661. ; http://php.net/mbstring.substitute-character
    4 x8 P6 q& N; {- Z4 k1 O
  1662. ;mbstring.substitute_character = none
    ! x0 x6 |* Z" M4 \7 {4 A$ m
  1663. + z( W, ?# _& ]- g5 ~% r+ D8 `
  1664. ; overload(replace) single byte functions by mbstring functions.
    9 q3 |( I. j0 v4 s
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    * A, @4 _8 `+ v$ }4 j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
      \: m3 s! S6 V" W
  1667. ; For example, 7 for overload everything.. p8 g7 ^' b' D8 ^+ F4 Y
  1668. ; 0: No overload% e& V& z5 C& P7 ]5 j
  1669. ; 1: Overload mail() function  b* h$ d  [6 w' j7 Q9 V4 i% H; l9 o
  1670. ; 2: Overload str*() functions
    / f8 I, Z) z2 j. c- C' _
  1671. ; 4: Overload ereg*() functions1 |2 \" P4 H2 J; R* L
  1672. ; http://php.net/mbstring.func-overload: ~# M; z% |8 m2 i7 f2 s3 q3 E3 R6 D
  1673. ;mbstring.func_overload = 0
    0 @( U6 E+ {& E4 A6 w! [. [

  1674. 6 E5 p/ N: n& O. }7 t( n
  1675. ; enable strict encoding detection.
    , k+ D  q, c; O  e. M' v
  1676. ; Default: Off
    4 n) ?( U0 G. t
  1677. ;mbstring.strict_detection = On
    # ]# p5 I4 g) V* N$ Z* e& S& j% c- {
  1678. ! s* z0 J' Z( X6 e* v  q2 g. j: N2 S
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : ~  g' C6 _3 _+ N  t) Z/ }2 ~
  1680. ; is activated.
    , x* E/ m; K( |. ^7 m
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " T0 P" `% M7 x' M- m
  1682. ;mbstring.http_output_conv_mimetype=" c; c0 k, e" F) S- M3 r

  1683. ; n1 ^  \% D2 N/ p% d
  1684. [gd]3 x* j5 k1 |7 [% }% q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    7 A4 U/ |- \5 t5 V0 B2 ^
  1686. ; a gd image. The warning will then be displayed as notices
    0 @! o3 y7 E! O- \4 L/ H# M
  1687. ; disabled by default( t/ Z3 B* T$ ~/ d- W
  1688. ; http://php.net/gd.jpeg-ignore-warning
    2 L- V9 f$ Y6 K. E7 s
  1689. ;gd.jpeg_ignore_warning = 01 i4 K5 E/ X1 n8 B+ w: @5 I

  1690. " g/ C- S! m* J. y3 f7 e9 A; L3 g
  1691. [exif]
    8 c% f8 f$ _5 J8 q3 ]
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    5 q! o5 I8 F4 H9 d7 R$ \
  1693. ; With mbstring support this will automatically be converted into the encoding- L5 m2 L: J( _' J
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding. m! A: |/ ~/ l9 V3 W2 i/ A- h
  1695. ; is used. For the decode settings you can distinguish between motorola and9 B, {* s" ]6 `. P* o6 k
  1696. ; intel byte order. A decode setting cannot be empty.* C" y# ~0 @% F. O' o
  1697. ; http://php.net/exif.encode-unicode
      X' _" V' G' K2 ^0 J/ K  U- r/ Q
  1698. ;exif.encode_unicode = ISO-8859-151 Y$ I  O5 i0 E; `/ d0 W9 Q

  1699. 6 V4 H4 j6 r) @& X( `3 a8 s
  1700. ; http://php.net/exif.decode-unicode-motorola$ h* M8 N% _% n% \; ?7 L* B1 q: s: i
  1701. ;exif.decode_unicode_motorola = UCS-2BE. C( q' j  y$ W  A+ K, ^
  1702. , V/ @( h/ F2 b2 b8 f0 c
  1703. ; http://php.net/exif.decode-unicode-intel
    + C) q- T% \. ~2 ?
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    : ?& R% p3 A4 Y! F( M

  1705. , H1 h# U, x# s* K. w: y, u* j( N$ o
  1706. ; http://php.net/exif.encode-jis
    + R- A# ?8 S6 T, x
  1707. ;exif.encode_jis =
    ) z& x3 B$ R! C

  1708. & N/ ^1 d- Q+ \3 d
  1709. ; http://php.net/exif.decode-jis-motorola7 d7 w8 ^9 q6 \% D; r$ G
  1710. ;exif.decode_jis_motorola = JIS" y. S! B8 d1 m# _; S) z6 C: ]6 E
  1711. 6 s5 Y4 P: x/ F: {
  1712. ; http://php.net/exif.decode-jis-intel
    " _4 r$ B* \& K
  1713. ;exif.decode_jis_intel    = JIS
    3 m$ M5 G# Y3 E" c
  1714. : u+ `0 k1 @4 F
  1715. [Tidy]- [$ S4 q# o" s7 _' g
  1716. ; The path to a default tidy configuration file to use when using tidy
    / ~. k) J4 ^  ~' p+ l
  1717. ; http://php.net/tidy.default-config8 D% a" x. D7 R0 o
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    4 _) Z- K; C( p' B! k/ E

  1719.   b' w2 s4 m9 y# A0 k6 h( r
  1720. ; Should tidy clean and repair output automatically?
    7 q# T. b! L, h, z! N1 }7 G3 a
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ; \$ G  k# }, Y# c/ [9 e! I
  1722. ; such as dynamic images
    * \' e7 i2 ^* _6 }
  1723. ; http://php.net/tidy.clean-output! Z0 d2 Y# R: a) R' h2 E4 D
  1724. tidy.clean_output = Off8 ^3 F3 P3 a! H) ], w9 e. C; s1 S
  1725. 8 H. I. a, `# |5 Q8 M3 e" x
  1726. [soap]
    0 }/ @2 f- Q4 B
  1727. ; Enables or disables WSDL caching feature.
    + U' ]% E: E. m+ W  u! \% |
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ' H! U+ P) h0 W, Y  Q& l& F
  1729. soap.wsdl_cache_enabled=10 }7 w$ F) P5 q: j- D& s  H

  1730. 1 g. m( i& y6 m- n. E
  1731. ; Sets the directory name where SOAP extension will put cache files.( S& F9 ^0 L8 K% ?; |; [* C( Z7 E
  1732. ; http://php.net/soap.wsdl-cache-dir7 j+ ?7 v& G* V8 c5 d
  1733. soap.wsdl_cache_dir="/tmp"
    - Q* z) Z% g4 e# ^. m

  1734. * l* _, F# M7 f$ K5 F4 F
  1735. ; (time to live) Sets the number of second while cached file will be used
    ( t8 a0 w+ O& i0 M5 F9 u  s1 l: [
  1736. ; instead of original one.
    ' V/ X9 z# ^9 {, r/ D
  1737. ; http://php.net/soap.wsdl-cache-ttl! z1 J+ o0 F( N/ D& M
  1738. soap.wsdl_cache_ttl=86400
    - ^( z* {  a$ f0 g) A; E* d3 z
  1739. * P, M- C% O% n5 q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache), ?' x" m# N* m( F
  1741. soap.wsdl_cache_limit = 5, Q6 G! Z2 _8 p& u
  1742. 4 v- h2 i. b& v9 d& k8 {
  1743. [sysvshm]
    . `8 h$ v( i" g8 L6 ^; P
  1744. ; A default size of the shared memory segment; C* l; m! v- ]
  1745. ;sysvshm.init_mem = 10000
    ( U& p- U) S7 t# n, I6 k' d
  1746. 0 d/ K# }' A# W5 l1 @) f6 k, E
  1747. [ldap]3 v$ \% n% z# [4 i, c4 H; I
  1748. ; Sets the maximum number of open links or -1 for unlimited.& j* V( [  j/ v; W
  1749. ldap.max_links = -1
    3 y2 ?) s! @$ C) e

  1750. " X" C  b- l' c% u4 K
  1751. [mcrypt]$ D# u; p1 v9 E/ `
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    * O# p2 \4 w1 V8 G+ E
  1753. 2 s4 \1 v6 g8 c" C) B( c
  1754. ; Directory where to load mcrypt algorithms% R! ^' `& o8 M! C* d& }) X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 i: U) P0 n% E2 q2 ?. n6 ]
  1756. ;mcrypt.algorithms_dir=
    2 d+ M8 x- G  o; {* ?; w
  1757. + C; h% m! U1 y1 p3 B  a: @* w
  1758. ; Directory where to load mcrypt modes$ S! `7 ?  S: a+ ~6 g4 w
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 j8 ~4 z  c( _
  1760. ;mcrypt.modes_dir=% W- S8 I5 {2 c/ k( N2 W% y6 E

  1761. + u! q. I4 l1 Y7 z% S+ x7 @% P
  1762. [dba]% X1 `1 g' A! s- R& T" l+ i
  1763. ;dba.default_handler=
    : z2 \0 }2 J2 h2 k8 p  ]& `8 D
  1764. $ N! Y: h- Z% ?) }' h& ]% u% ^0 T- i
  1765. [opcache]$ M3 y+ b) U: @: S$ ^  a
  1766. ; Determines if Zend OPCache is enabled" @# y% D3 R) g5 l. t
  1767. ;opcache.enable=0
    4 w" D  J3 u% ~7 U  ]

  1768. 6 G" n$ S- V" ~3 q2 u9 w' G2 M
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP' d8 r: R( v3 E" `" A" d
  1770. ;opcache.enable_cli=0
    $ a0 D% v2 E" p0 V5 a

  1771. 4 U! x( y" g+ G+ `0 a5 P6 ?4 f
  1772. ; The OPcache shared memory storage size.
    ( l: m; T3 R$ G2 M9 e3 F' m
  1773. ;opcache.memory_consumption=64! h4 t5 y$ ?' A
  1774. 1 q* r  A2 v4 [% I
  1775. ; The amount of memory for interned strings in Mbytes.
    / V& V- m% c& y" K. b, ~; M3 t  J9 E
  1776. ;opcache.interned_strings_buffer=4
    8 @& H# l  ~7 u" N9 J/ e! P

  1777. % q) X) |7 ^" f: E9 V
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.* `" K" n. U! B$ n8 |: p5 |
  1779. ; Only numbers between 200 and 1000000 are allowed.
    4 g# E; [# A9 h: c% m1 J2 B
  1780. ;opcache.max_accelerated_files=2000
    " c# [5 S2 i4 W# T5 b

  1781. + j# @' C" H$ n" A8 n
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    * D! o+ ~$ N6 J
  1783. ;opcache.max_wasted_percentage=5
    , f/ [. R# e4 T/ I5 O+ T

  1784. 8 u8 s9 c- Q2 \) }  F1 s
  1785. ; When this directive is enabled, the OPcache appends the current working
    : L1 |% L, m# S' k4 d/ P
  1786. ; directory to the script key, thus eliminating possible collisions between1 A: t: U* z  P$ B0 a4 d/ K
  1787. ; files with the same name (basename). Disabling the directive improves
    ' S4 [  |  M2 r' m
  1788. ; performance, but may break existing applications.
    : z. i, m9 ?) w
  1789. ;opcache.use_cwd=1
    ! N, B3 D& U! V0 M2 \  h( G
  1790. ) e) H* G  _/ D$ s0 c0 @
  1791. ; When disabled, you must reset the OPcache manually or restart the
    / V+ y) p3 E$ f
  1792. ; webserver for changes to the filesystem to take effect.# E. s; s5 j' s* R3 i$ N
  1793. ;opcache.validate_timestamps=15 Q0 L0 \% x3 r- M* h
  1794. ' u6 ^4 n2 U0 ?/ S
  1795. ; How often (in seconds) to check file timestamps for changes to the shared3 B5 n* K' b+ a( v3 F1 s
  1796. ; memory storage allocation. ("1" means validate once per second, but only' Y$ _, D+ k# u& q6 N/ T5 l
  1797. ; once per request. "0" means always validate)6 [. g2 G7 o9 b; ?* M" M+ f' C. M
  1798. ;opcache.revalidate_freq=2
    - t% A; [2 d+ D/ P+ @1 k3 [

  1799. , J0 b( G) e0 ~7 {0 @: Y& a$ L
  1800. ; Enables or disables file search in include_path optimization
    - C! j& E; a  X$ G% a* c
  1801. ;opcache.revalidate_path=0
    8 R* ?6 u& ^: ~7 C

  1802. 2 V2 z0 b0 Z$ P/ z
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' [4 ?/ p3 r5 c) K" V: m% M1 L
  1804. ; size of the optimized code.
    3 k0 K; [" l3 R' M  q; ^, E
  1805. ;opcache.save_comments=17 X* P7 b. e4 U

  1806. 8 l. [: R- Z6 F
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    & T, s; I0 q8 k: s1 Z! O
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    0 H8 a3 d; n/ C3 N
  1809. ;opcache.fast_shutdown=0
    7 k! G$ ?6 R5 u
  1810. 9 u: U7 [- @0 }( {9 }
  1811. ; Allow file existence override (file_exists, etc.) performance feature.2 L9 o6 {9 D% W0 K2 n, t! V7 I6 p
  1812. ;opcache.enable_file_override=0- O& [) U) f7 [2 H

  1813. % t+ X% P5 e+ W6 P4 p2 m
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache5 E) T, _; ?( H9 c" {* K
  1815. ; passes
    ( P5 j9 B# [! s% D6 U
  1816. ;opcache.optimization_level=0xffffffff
    ! p! L/ M) W5 j7 E6 N# m2 x/ ~
  1817. ! \) d/ f" ^( J8 q$ a; x! v
  1818. ;opcache.inherited_hack=1; |6 q) _4 w* d) ]) T  {
  1819. ;opcache.dups_fix=0: V6 @, f: I3 z, o* |) B+ o
  1820. % Q% ]8 b+ i- p) P/ _; B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).6 m% j5 H0 n& u3 o; n0 D$ Q& A3 k; R
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ m7 }3 Q& F7 C  t- U/ R1 h
  1823. ; that should not be accelerated. The file format is to add each filename$ B' x; l4 {0 o' `! l4 A
  1824. ; to a new line. The filename may be a full path or just a file prefix: s1 _3 y+ o, M2 |+ Z0 j
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : }/ G0 d' F0 [: H/ a" r0 c
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ x2 B& L9 L  {, o8 \. v
  1827. ;opcache.blacklist_filename=
    & M  H+ s# a* M% D6 ~5 A6 R4 S

  1828. - H5 n- l! ]3 K$ i- q
  1829. ; Allows exclusion of large files from being cached. By default all files
    & v& n( U. [% ]4 {" W: P2 S
  1830. ; are cached.
    * c0 j$ S# d: C) n
  1831. ;opcache.max_file_size=0: {+ L4 d6 {3 o. }1 p( U" N

  1832. 1 l+ z/ a: ?; l% ]
  1833. ; Check the cache checksum each N requests.
    , a" N- X7 I, j9 X. g: ~- v! D
  1834. ; The default value of "0" means that the checks are disabled.+ X! C- Y2 g! u4 ~, S: t0 g) `
  1835. ;opcache.consistency_checks=09 [5 a3 J7 ~' ~: W  I2 S

  1836. ! B% h- j$ F4 u: t4 Q
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    6 b; s) I0 v  d0 m$ g+ B
  1838. ; is not being accessed.
    / M" r0 ]+ r  Y. G$ `$ `+ |  b! s
  1839. ;opcache.force_restart_timeout=180/ v: w) \( v9 Y. A+ S
  1840. 5 Q" l; E0 R# L0 h7 W- `4 F9 b; ~& X; \
  1841. ; OPcache error_log file name. Empty string assumes "stderr".: H4 Q" \* B0 w( }( O
  1842. ;opcache.error_log=
    7 O' d3 s# V$ C. {/ `

  1843. % b3 ?$ g/ w0 u1 S, v, `" _6 l
  1844. ; All OPcache errors go to the Web server log.4 p# |7 |( H) I/ G4 l, l* \
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- a. U: Y- v) m8 E4 P
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    4 H( O" z/ h. l: r) u
  1847. ; debug messages (level 4).
    $ u8 G; w3 g2 M# V' W2 \: t
  1848. ;opcache.log_verbosity_level=1
    2 p3 @  }6 h) Y" ~
  1849. - e, i+ B5 n& P2 ~6 q' D2 {
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.* H- ]: t6 M8 J1 F; V
  1851. ;opcache.preferred_memory_model=
    # s  Q+ L$ _6 ]! N! b2 s

  1852. ' Z! E# X4 U* l6 `1 r
  1853. ; Protect the shared memory from unexpected writing during script execution.+ b4 o9 a& O5 Z* p, t$ e' p6 w% s
  1854. ; Useful for internal debugging only.+ C/ G8 q, K8 x, p6 o
  1855. ;opcache.protect_memory=0
    9 [4 p/ s4 x. n3 ?% p
  1856. 6 l9 f: u9 r( X- B! M
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is% I8 g9 ?- M; b7 r
  1858. ; started from specified string. The default "" means no restriction
    / f, D2 Y$ }" u# s: q; |3 Q
  1859. ;opcache.restrict_api=
    9 e8 H0 x' l9 [# W

  1860. 5 k% Y, O0 z6 ~- h' Y
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP9 l. t* ~( h0 U8 q# c
  1862. ; processes have to map shared memory into the same address space. This* m7 S7 e8 h. r1 @* D) a
  1863. ; directive allows to manually fix the "Unable to reattach to base address"  G" f5 O7 B1 g# ]& j& J3 X5 ~
  1864. ; errors.
    & w, P! c" l+ D# {6 b# N
  1865. ;opcache.mmap_base=
    ( X4 @) ?* w2 c8 l! J$ H( L

  1866. ( z8 [3 {1 Y6 J/ `7 d6 v
  1867. ; Enables and sets the second level cache directory.6 w$ N  ^/ h( D5 N5 \
  1868. ; It should improve performance when SHM memory is full, at server restart or
      g# M( s% m7 @
  1869. ; SHM reset. The default "" disables file based caching.
    ( G7 v2 P6 _+ P" N
  1870. ;opcache.file_cache=
    ( \0 @8 h, Y  F7 K- ]
  1871. 8 x$ F2 `4 o& A" B
  1872. ; Enables or disables opcode caching in shared memory.
    / g# g& |: Y$ f  m
  1873. ;opcache.file_cache_only=0% K! C5 J. ~: C% C& }
  1874. % _; b, p( D: F* K" i7 T
  1875. ; Enables or disables checksum validation when script loaded from file cache.$ X& Q& [8 y- U7 M; Y
  1876. ;opcache.file_cache_consistency_checks=1
    * t7 C3 {- M/ V- M& Y
  1877. 4 i; F$ J- T' `1 Y$ J# q0 @
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to4 L2 T8 l" J# D
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    1 V% A: {3 A  I+ G
  1880. ; cache is required.- b% z$ W5 f8 S  ^0 r# }
  1881. ;opcache.file_cache_fallback=1+ ]: y$ @' @9 h* a3 R# M& T- j7 H

  1882. , X+ t* P# B( D1 ^
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.  z+ }" X# G+ S* K6 X- o: z4 `
  1884. ; This should improve performance, but requires appropriate OS configuration.% a6 V) D6 v# y
  1885. ;opcache.huge_code_pages=1
    ) b! C2 k7 t, S# a7 U
  1886. 1 h/ G( v( s; C2 i
  1887. ; Validate cached file permissions." }: M# m$ A* c! f  {& S
  1888. ; opcache.validate_permission=0& l8 L- U# {1 \3 ]" A/ [
  1889. 5 G% P$ O2 o1 z& A, ?! j
  1890. ; Prevent name collisions in chroot'ed environment.
    ! u1 v% M/ Z3 B( Z$ x
  1891. ; opcache.validate_root=0
    6 v. ^8 K' e' d7 F. R$ @
  1892. . C* `6 t- E9 H5 ~4 o
  1893. [curl]
    5 q( a- U( @1 D1 }4 X
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 y/ a* k6 v4 T* U: j
  1895. ; absolute path.
    4 L& i; o: s- t. H
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' k+ Z. v' l6 `  n

  1897. 6 g& P' n5 b. @: o& N0 Q
  1898. [openssl]% B4 Z  T& D% Q3 x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) c& O, s3 I/ ]1 Z) b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 N3 V" N4 V4 y! C9 g$ d% L
  1901. ; not specify a value for this directive as PHP will attempt to use the: l4 l# K) ~! c% l, X5 v5 p# j6 M
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    * G/ I$ t6 Z3 e
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context% H! Z. O% Y0 I( Q! Y& W
  1904. ; option.; @5 q3 b. B) f3 y. d; H: X4 a( N
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt4 y/ l9 |7 ~- f0 M9 `  ?1 Y
  1906. 2 k. P% \# W8 R( T) v2 r% P
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
      g* m& L' `7 t7 d8 i
  1908. ; directory pointed to by openssl.capath is searched for a suitable  b5 [- v' e0 C5 ]: [- h* e0 `
  1909. ; certificate. This value must be a correctly hashed certificate directory./ v, T/ E$ Y% S) P, _) m
  1910. ; Most users should not specify a value for this directive as PHP will
    1 t6 q; s9 M9 l: R: j% j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    1 Z& G6 Q' B1 O" Y4 i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    6 }. x. [5 g' L  i
  1913. ; SSL stream context option.
    " b3 Q0 U! h4 ]1 U/ P8 ~7 O
  1914. ;openssl.capath=& s) `5 Z3 P( b. ]5 e
  1915. ; {* _& c) b0 U6 m  b: X; S' t  v) w
  1916. ; Local Variables:
    " Y( U; Q. S' t: f! Z7 X: h
  1917. ; tab-width: 4  W. F) n1 V' M3 d
  1918. ; End:7 n3 e# e; k, [* K

  1919. " F+ U& G& _' V, v6 S% P, r3 N
  1920. ;eaccelerator( F5 E) d0 K! ?! }9 }

  1921. 6 j* Q( K2 r+ C
  1922. ;ionCube
    ; Y$ X+ V" i) }+ y4 z6 Q* F

  1923. + a* }3 m2 b% e0 b2 }9 `6 M0 ]$ k
  1924. ;opcache. K0 J, G3 o1 I' f
  1925. " c4 U2 o# `. S' S1 t0 D7 K
  1926. [Zend ZendGuard Loader]; s! G* C4 T3 K1 ~3 {( a  h- Y
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.2 c8 j% t6 T  g' g" f9 Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so. L$ A& Q  I( M7 p0 d! q, D% ^
  1929. ;zend_loader.enable=1# P# J- o0 J- @! c/ u* a. E
  1930. ;zend_loader.disable_licensing=0
    " v& C  s  l6 W
  1931. ;zend_loader.obfuscation_level_support=3! N- C5 U; z# G; `, n1 D4 ]
  1932. ;zend_loader.license_path=
      f! N- X8 |8 ?$ l1 {3 b9 @( B! A

  1933. 0 w7 T& X: q' c1 q
  1934. ;xcache( z+ R$ F  \' f* p

  1935. 4 |( v" p9 T/ _5 I& T5 V
复制代码
2 f) U) C+ Q% F' F: O
) [# u5 t& M4 o( S0 y8 ?4 s
/ e) V' N/ l- O0 R" D. J6 x* X/ N/ Q

! F1 D$ ]1 T! q  m3 N) e0 ^  [! y- l8 y& c& J
# ?2 G2 Z+ ?4 e0 J* E! I2 D2 f, I
" y% Y6 F  n4 f1 s+ R
PHP5.6版本原始设置
& _" O3 }" }2 G5 g" M
+ X8 l0 |2 M  m6 a% b- \) \3 Y
  1. [PHP]
    ; m, H0 X8 Q( p& W* |

  2. 3 ?0 j+ h" m1 _' i, D% s- x/ }! r
  3. ;;;;;;;;;;;;;;;;;;;
    ) X6 c& H: N+ T
  4. ; About php.ini   ;
    . I) h& j2 V, J
  5. ;;;;;;;;;;;;;;;;;;;) H1 Z4 x  g: Z* J
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    , g- s3 e  K$ X8 ^8 y( h
  7. ; configuring many of the aspects of PHP's behavior.4 ]1 W/ F3 Q) T" N8 E) i

  8. 9 n% \: Y2 \' i2 Q$ r; Y. p  h
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % x6 u5 D0 [: Z6 ~' r5 z- k% C3 y
  10. ; The following is a summary of its search order:+ r0 Q4 l- h  `; Z" O& m$ y' _
  11. ; 1. SAPI module specific location.
    4 @+ M' B( P$ n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 u9 r6 ^: v* J& g7 N6 o) b
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)3 L8 w: t# R2 Z) n) d
  14. ; 4. Current working directory (except CLI): H+ S: X3 J1 ?" x( T- ?! \1 D2 E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 [8 k" Q2 m, P) @0 S. B. a, ?
  16. ; (otherwise in Windows)
    ( j: p5 D# X& S8 ~4 H) |
  17. ; 6. The directory from the --with-config-file-path compile time option, or the; X5 R* ?! \! t  P5 u. e
  18. ; Windows directory (C:\windows or C:\winnt)
    9 V1 a0 Z1 A! B1 `' t
  19. ; See the PHP docs for more specific information.
    ( G% X; {6 E7 e5 E8 J
  20. ; http://php.net/configuration.file% ^, o9 B4 T" W5 T, L* z7 a* z

  21. 2 W$ E% m- _8 v
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 J7 Q' p! d6 G5 R6 ]% U
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    7 T0 P9 A2 L5 W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& l: ?: J1 f6 R* l6 b2 S+ L
  25. ; they might mean something in the future.
    - E, I& w& P% Z; l/ [

  26. * c( v% Q& f3 B+ {/ N& u9 [  b
  27. ; Directives following the section heading [PATH=/www/mysite] only7 T1 S4 Z4 k& O3 S3 c
  28. ; apply to PHP files in the /www/mysite directory.  Directives7 P, C4 J) t( ]& i. a
  29. ; following the section heading [HOST=www.example.com] only apply to
    + ~" z' w& ^8 N: X3 i3 y
  30. ; PHP files served from www.example.com.  Directives set in these9 a5 H. F: }8 W9 ^
  31. ; special sections cannot be overridden by user-defined INI files or
    , L2 c6 i7 ^; p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    7 B  H4 r  s) |4 s9 O, K& g
  33. ; CGI/FastCGI.
    . `/ S1 d. U2 `$ y" J% u
  34. ; http://php.net/ini.sections  \! p3 v( S  ^

  35. 0 j4 w7 ^, n+ }* g7 n' X  k
  36. ; Directives are specified using the following syntax:% n& s' p3 W+ W! Q7 y0 n
  37. ; directive = value+ t( U. Q( j# [2 p
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 ?) m* I4 D5 c. d! b
  39. ; Directives are variables used to configure PHP or PHP extensions.7 o6 b9 H: h2 E* L5 m
  40. ; There is no name validation.  If PHP can't find an expected
    - K' j% n# ?3 T& ]7 c
  41. ; directive because it is not set or is mistyped, a default value will be used.
    8 ~& \1 t1 J& U- v8 e5 A4 Q* t
  42. 7 }) c% F) U; Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 }- }+ W: o2 L% {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 ~0 E; z' j/ k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! r; v) A& [6 _+ t! S
  46. ; previously set variable or directive (e.g. ${foo})
    9 A# z6 l$ ]& T* ?: Y
  47. : @% k1 m  S/ l& d' V9 V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:8 R  {" B$ W# q! n( q+ r" p
  49. ; |  bitwise OR
    , x! v; c; `8 S5 m
  50. ; ^  bitwise XOR
    $ M$ }8 B7 Z+ w+ W- S* n8 u9 Z: H
  51. ; &  bitwise AND; V0 m' O7 B. r1 q' t' \
  52. ; ~  bitwise NOT
    ' k9 ?1 J/ a6 ]  q
  53. ; !  boolean NOT
    5 [: S6 ?$ _* U/ w
  54. * m1 ~6 `" C! o) R
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.; t4 n6 K8 G8 K/ o
  56. ; They can be turned off using the values 0, Off, False or No.
    : _5 o, h& o( Y: B4 A# Q

  57. : e0 M4 x4 j* k( L- U9 W% K
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & \1 J) g6 U8 w* j6 I+ }# w# Q
  59. ; sign, or by using the None keyword:8 U+ v3 F: w& W* ~! q
  60. $ R, ]( k  O0 R) \
  61. ;  foo =         ; sets foo to an empty string
    # G# L& S& p7 v
  62. ;  foo = None    ; sets foo to an empty string: u" V- H2 V$ Y5 p$ _
  63. ;  foo = "None"  ; sets foo to the string 'None'1 C3 U# J+ N8 `+ O  \
  64. ; \1 O8 t; X) z: x
  65. ; If you use constants in your value, and these constants belong to a  F2 p( l8 i+ N# R$ _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      _! u8 x. l7 d/ _4 I
  67. ; you may only use these constants *after* the line that loads the extension.1 [$ t. o7 h0 \5 e8 x& Z; v
  68. : u% }/ P" r: e9 v* f$ A& S" ^$ @7 Q5 z
  69. ;;;;;;;;;;;;;;;;;;;
    : |& `/ U- p# v1 a$ K9 O) w1 Z
  70. ; About this file ;
    % D# ~1 |3 d- S. E! D- Y" @, x# q
  71. ;;;;;;;;;;;;;;;;;;;
    7 g$ k" G# |( j" c* Y/ v& ]
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* S1 m% K" F1 u4 e3 q+ E
  73. ; in production environments and one that is recommended to be used in
    0 T$ A' o/ g9 N' X) ^% j& o: r
  74. ; development environments.+ x, [0 g. l, h7 c* ^9 d! I

  75. : t" g- N# B9 V$ I6 h* h
  76. ; php.ini-production contains settings which hold security, performance and& j( b& R; M1 P* R6 M: k
  77. ; best practices at its core. But please be aware, these settings may break2 q) s$ h3 `# g  h! |
  78. ; compatibility with older or less security conscience applications. We
    8 H4 c  a: k3 H/ k. R- V
  79. ; recommending using the production ini in production and testing environments.# x4 r/ d1 y/ X  o3 _5 i# z8 [
  80. 2 k; L1 r- }+ V8 N' |5 k' p( H
  81. ; php.ini-development is very similar to its production variant, except it is
    ) D8 F0 `, n6 B+ b5 J6 B" `2 G& F
  82. ; much more verbose when it comes to errors. We recommend using the' j# `& J$ r$ ^4 o; ?- r
  83. ; development version only in development environments, as errors shown to$ w+ m4 d7 E& b* B& A( N
  84. ; application users can inadvertently leak otherwise secure information.
    : L% I( y: Q1 P9 s7 R/ B) a6 J$ Z

  85. % J! D9 I1 {7 C! F3 [
  86. ; This is php.ini-production INI file.7 A* x- R! f, E* ^* m. w* l2 y

  87. ( V  y$ b$ F3 c8 U' E6 Y
  88. ;;;;;;;;;;;;;;;;;;;  O" J( W9 H3 p7 _) A" F1 g! |6 K
  89. ; Quick Reference ;8 ?( B9 m/ \8 m) _3 a% c: [
  90. ;;;;;;;;;;;;;;;;;;;, J# Y0 `. d0 b1 r
  91. ; The following are all the settings which are different in either the production* x. T" ?/ W( k! @
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    5 s: ]2 [7 k* x( W: a7 |# R4 ?" M
  93. ; Please see the actual settings later in the document for more details as to why, A, ~' D: {4 k; r+ i& [
  94. ; we recommend these changes in PHP's behavior.
    & T) C; Y9 z  w5 u5 R$ d
  95. , o# w6 N( ^+ `0 H
  96. ; display_errors
    / g6 j+ q1 K! K/ S3 w5 p
  97. ;   Default Value: On
    * B* @3 x. |! ?, ^8 @) {( R, }8 n
  98. ;   Development Value: On
    ' n" J  R- a5 s0 C  d' x2 w" q
  99. ;   Production Value: Off% Q+ o( n/ m: k% y& R1 g# U

  100. . B' w9 O8 R& x* C7 V
  101. ; display_startup_errors* i1 f8 R7 W, L5 y" X
  102. ;   Default Value: Off
    " H, Y% A8 z  U' j
  103. ;   Development Value: On
    7 r/ I' c, M9 X' \% k0 H3 L
  104. ;   Production Value: Off  }+ L* U3 E5 ~1 Z& b

  105. 0 A; T* ]4 U- }& @/ u$ k
  106. ; error_reporting! A' ^. u% V2 v3 h# d3 i$ `
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 d( o" ?3 i# R5 p: l# d
  108. ;   Development Value: E_ALL
    # H) g" a! z$ I
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ X* k5 J' R! ]+ [, _
  110. % ^: _, O' T0 E  L: Y! q  P/ \% v
  111. ; html_errors4 D- q! v2 s1 I7 I' `/ l
  112. ;   Default Value: On
    6 d+ d; K* o; s# @5 S1 D( q3 i( B
  113. ;   Development Value: On, R: r# W( @8 \% T4 {) S' g
  114. ;   Production value: On
    % s9 w6 F* D1 I9 D

  115. 8 |/ |9 i6 @. u1 M
  116. ; log_errors
    & B' S; e! ^/ f; N8 \
  117. ;   Default Value: Off
    # A8 Q: Z7 h. v* s- V
  118. ;   Development Value: On
    " S. Z6 G: f; m$ n- S
  119. ;   Production Value: On- K- a' z" e  }! Z0 t  C+ R. |2 i0 E6 [# P

  120. ' }9 D1 w3 P2 k; J( u
  121. ; max_input_time
    $ [- Z" ]$ t4 J* K. d2 P
  122. ;   Default Value: -1 (Unlimited)
    ) {+ n0 S1 o  {- {
  123. ;   Development Value: 60 (60 seconds)
    4 _4 ~7 h+ m; L; A& Y
  124. ;   Production Value: 60 (60 seconds)" t  C5 H5 {: w! t0 E

  125. - K6 B% f! n( Y
  126. ; output_buffering5 n3 y& m7 M; f/ U4 K
  127. ;   Default Value: Off
    # q. d. ?3 m4 w
  128. ;   Development Value: 4096
    5 ?+ s. {6 b7 }) n% ^$ Q: A! k* G
  129. ;   Production Value: 4096
    ) f5 W& J  z' a- e7 c$ R

  130. : F: T$ [. z& x; k
  131. ; register_argc_argv+ }" U% \- j) f1 Q; U
  132. ;   Default Value: On! C- U2 j% |& s) f) }6 r
  133. ;   Development Value: Off, ?. v4 R  y& W
  134. ;   Production Value: Off
    ; c% q8 X+ h; j' }
  135. $ F$ W9 ^( j2 p' S
  136. ; request_order
    2 C. \& `% F0 {+ a6 {
  137. ;   Default Value: None
    ' c7 A2 I! S" X9 f+ Z; s2 R
  138. ;   Development Value: "GP"
    4 o: p. l+ q$ P; i( g: @
  139. ;   Production Value: "GP"
    8 z% y5 h" M/ H- p: l7 a$ ]/ ^, F

  140. . k' \; n7 Y% C, [/ u! [5 Y
  141. ; session.gc_divisor
    3 W6 l; Q- ~. X# f" `
  142. ;   Default Value: 100
    2 G+ L  @1 R8 e" R% [- }% J
  143. ;   Development Value: 10005 n' \' h" z! c  g
  144. ;   Production Value: 1000
    4 R+ r/ K/ A- G8 _4 s( A7 K  l5 G

  145. ; T! P+ ?; Q# g3 g/ |+ T' O& ^
  146. ; session.hash_bits_per_character
    ) a5 n" P% c! Q# K
  147. ;   Default Value: 4' c  `. N: w( _
  148. ;   Development Value: 5
    : X4 Z7 Z) g+ K: q; f" ~! @
  149. ;   Production Value: 5
    & v. H1 X- V1 H* }0 l+ I

  150. : ^$ s: Y. o2 S+ H/ i5 _
  151. ; short_open_tag
    : f% u1 W/ H6 P9 l4 X9 K
  152. ;   Default Value: On( G& O) C$ M; w3 i9 }% b
  153. ;   Development Value: Off" h% l  `: ?* ?0 u3 K. X. m! ~
  154. ;   Production Value: Off
    6 o1 J8 E" w8 j, A6 E2 q0 t( m

  155. ; Q9 V* @, t. N/ ]( X8 [, E
  156. ; track_errors* |% _; Q0 c1 G9 W& t
  157. ;   Default Value: Off
    " `; F. g8 g6 n: g& G; G' T: `
  158. ;   Development Value: On5 S: ^2 L1 B8 A$ ^+ A2 E/ @
  159. ;   Production Value: Off
    0 v' R. j6 O; O. A, T7 z
  160. : }. ?- f+ \8 i4 |! S5 z
  161. ; url_rewriter.tags
    / u7 S8 N3 h! e) _/ ^$ A
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    7 k% c0 y; C0 N4 m
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" c/ D! C# Y, w
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 o5 d4 U5 X4 V4 f
  165. / a' s9 I  n- H1 r$ T+ G  J6 ~
  166. ; variables_order
    6 j9 I7 ~* O$ A* m( j; I
  167. ;   Default Value: "EGPCS"6 O0 ~2 [' R" s9 h( c( y
  168. ;   Development Value: "GPCS"# F5 X9 ?; U9 U7 L# G3 I& X
  169. ;   Production Value: "GPCS"
    2 G* C# v/ R' _5 ~1 O6 n+ w- j

  170. 1 j: r( }5 f7 K5 ]" U* W
  171. ;;;;;;;;;;;;;;;;;;;;6 c$ k) M0 m$ U, d
  172. ; php.ini Options  ;
    1 d2 F, E' I: }7 g( i* {( o0 o9 ~- o
  173. ;;;;;;;;;;;;;;;;;;;;
    ; V. D2 I5 I& q( ]7 V" E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    7 K- M; y) s: N. p$ @/ s5 ^
  175. ;user_ini.filename = ".user.ini"6 F2 E) }& x" ^5 G1 l4 h

  176. & F/ Z1 O% C8 c1 z
  177. ; To disable this feature set this option to empty value
    ( E, h  B3 K+ ~6 }, Z% n( }3 p
  178. ;user_ini.filename =
    " n# j' C# q0 [2 Q3 D9 l
  179. ; @% |0 @8 V  j7 `
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 j$ Y7 u0 t/ S, x- g) N# T
  181. ;user_ini.cache_ttl = 300
    ! X3 b9 b& Z( T
  182. , r1 `; S- i! E* S
  183. ;;;;;;;;;;;;;;;;;;;;
    . C3 V: P# g0 L$ P% D8 [
  184. ; Language Options ;# S& Y- v0 n4 r) G
  185. ;;;;;;;;;;;;;;;;;;;;" B$ R2 Y- t8 _$ p4 R# L5 T# g: r- s/ f
  186. 1 y; F2 X$ N+ i: @' p
  187. ; Enable the PHP scripting language engine under Apache.
    - M2 `# O) Y1 G4 t
  188. ; http://php.net/engine0 o0 h; a3 E$ }& t5 l" y
  189. engine = On
    0 q, V  d$ e  W6 _. y5 x
  190. $ N! \* `" b: U8 q: F% _4 b- v  W
  191. ; This directive determines whether or not PHP will recognize code between
    9 l; b+ z* k6 N# u% U' m3 q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, j* Z" |2 A6 s, o
  193. ; generally recommended that <?php and ?> should be used and that this feature4 v' x. `9 w! g3 S( R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ' N% _2 j5 \5 s" U; t8 }9 X
  195. ; documents, however this remains supported for backward compatibility reasons.  T% j% t% ]1 A+ i# B7 h9 \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be( a' n7 V2 ?& B
  197. ; used regardless of this directive.
    ' Y9 w6 ?, z3 S, B- a' T
  198. ; Default Value: On$ M- x* q" I0 M0 @# @6 d, ^8 U; ]
  199. ; Development Value: Off
    0 o: l/ W- r! a8 W
  200. ; Production Value: Off
    - m) ]7 L6 S3 K, t& \
  201. ; http://php.net/short-open-tag
    2 Q2 H  v! D7 l
  202. short_open_tag = On; ^9 v8 Q: Y$ v. C) ?
  203. 1 G; `6 P  n* k7 w( T7 H
  204. ; Allow ASP-style <% %> tags./ i3 w: S% C- E% j5 a# l* \
  205. ; http://php.net/asp-tags2 {1 n1 i3 ?: P: \+ O* o
  206. asp_tags = Off
    / `+ i; H+ X5 U+ B  `$ Z+ j

  207. ) D- K' a, e4 w+ m: v1 n6 \4 f
  208. ; The number of significant digits displayed in floating point numbers.
    % N  J4 Z; t7 Y) ?6 w0 N
  209. ; http://php.net/precision" W3 R, [) {  c2 B6 U% G8 |/ G
  210. precision = 14
    - [  y( A) w! h& ^

  211. . l; U# m; _% T, n# h% K
  212. ; Output buffering is a mechanism for controlling how much output data
    + \; u; h% l& h  ?0 T
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , _! E5 {6 ~, z$ b; A6 J1 T
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 G1 J# D) i+ r( `" S5 C* I1 O, r
  215. ; will send that data in chunks of roughly the size you specify.
    : p2 V: I* P' p+ e, y) T! T0 S! P5 w. o
  216. ; Turning on this setting and managing its maximum buffer size can yield some$ P3 t  [% M3 G- q( G( _, H
  217. ; interesting side-effects depending on your application and web server.4 D4 h( s* O, U. U; y$ @
  218. ; You may be able to send headers and cookies after you've already sent output( |& j% ?7 r$ D
  219. ; through print or echo. You also may see performance benefits if your server is
    4 P8 o, g  E7 Q# ]# y3 H
  220. ; emitting less packets due to buffered output versus PHP streaming the output: K2 G  T4 o8 m( A  c+ Z
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance) }$ u5 s; f' l) y# \
  222. ; reasons.
    & q6 T$ |) P' p4 k
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 y* a1 {! _$ M3 {
  224. ;   functions.8 M$ i; M5 _6 n  q
  225. ; Possible Values:
    . j- @& K4 f6 e9 e/ \
  226. ;   On = Enabled and buffer is unlimited. (Use with caution), |1 ?) y8 o/ A7 ~
  227. ;   Off = Disabled
    , N) A! R, w6 b/ T0 J* e- ?
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 h5 Q, K& Y) |3 M
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI8 z6 w0 ~0 W" N
  230. ; Default Value: Off
    " X4 g- }. J' C
  231. ; Development Value: 4096
    3 I  V! t. D& W% x* Y
  232. ; Production Value: 4096
    2 t3 |4 A* j# v! M
  233. ; http://php.net/output-buffering# `- B  |7 ^/ I6 m, y% O. O
  234. output_buffering = 4096/ m5 A% Y0 {3 t* p
  235. 1 _( U4 ^) a% {& a* i
  236. ; You can redirect all of the output of your scripts to a function.  For  @4 W9 ~4 A- V) A; e4 T
  237. ; example, if you set output_handler to "mb_output_handler", character
    , e! p$ d+ o& R; N8 [7 K& X; ~% c
  238. ; encoding will be transparently converted to the specified encoding.
    7 r* \; J+ K  F4 ]  ~/ @0 y( F
  239. ; Setting any output handler automatically turns on output buffering.
    8 t) f7 F; @/ c5 L8 c4 P9 n
  240. ; Note: People who wrote portable scripts should not depend on this ini
      b* T; f, f5 |) T2 [
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    , ]9 _$ X2 ^9 y' Z) R
  242. ;   Using this ini directive may cause problems unless you know what script
    ) l( M) |8 G% I. c' P' R. q" d, K
  243. ;   is doing.
    - y& A7 P! O1 i& e4 H; q, x
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"4 H/ z* ]1 c! a4 W
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"., y- E1 {% ]0 l  U" h5 z8 _
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    : ?/ b: J) k8 x! |
  247. ;   Instead you must use zlib.output_handler.( ?( k/ X/ P' h1 I* ^3 A3 m. i
  248. ; http://php.net/output-handler
    - a* b# d1 _8 Y- q/ B
  249. ;output_handler =
    ( }: ~* T. S/ f. K7 S' x2 S. y

  250. 2 P' q( ~3 p2 k) |1 M  H8 N9 q
  251. ; Transparent output compression using the zlib library
    5 B- V; y3 C3 C* n( ]
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size6 t# m. x1 Z2 o* E) d7 l; P# U! O
  253. ; to be used for compression (default is 4KB)
    % S' B/ ^% G1 Y/ W
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* w& e" ^9 n0 R8 w) D' V9 Q
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 B5 V. L3 w5 X( i7 S) _) f6 f
  256. ;   compression. If you prefer a larger chunk size for better
    * L! \3 ^( g( T
  257. ;   performance, enable output_buffering in addition.- }7 Z' K8 E) q: A
  258. ; Note: You need to use zlib.output_handler instead of the standard; L9 C$ b" [0 N- ?: B
  259. ;   output_handler, or otherwise the output will be corrupted.4 [- C0 `- A) X0 D: d
  260. ; http://php.net/zlib.output-compression$ Z, _- O8 V6 r; o, s0 N7 N) M0 A
  261. zlib.output_compression = Off' p$ y6 c1 Q+ S* G4 I4 |
  262. 0 `" M5 `/ T! j' u" e& Q
  263. ; http://php.net/zlib.output-compression-level
      h/ y/ `, L# b# L
  264. ;zlib.output_compression_level = -1
    - c4 \5 u5 m! \7 N" j& u5 q. B( M; u

  265. & P7 h- Q. P4 z0 [: @: s6 Z
  266. ; You cannot specify additional output handlers if zlib.output_compression& L, m$ H3 F- S% T& [" h5 S
  267. ; is activated here. This setting does the same as output_handler but in0 w$ ^( ]9 r' E" \3 y: s  T
  268. ; a different order.
    ; J. f* b/ }+ W$ H
  269. ; http://php.net/zlib.output-handler$ E3 y) A) Y% `
  270. ;zlib.output_handler =2 W. e; |7 P. D( y) J7 _  W: H$ J
  271. & S8 n& x7 d1 c: v: w- X8 z1 k5 M
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    7 K6 K4 j+ C) f/ ^5 a8 \
  273. ; automatically after every output block.  This is equivalent to calling the
    ) G* q) }+ q9 g/ ]$ i& w$ l
  274. ; PHP function flush() after each and every call to print() or echo() and each% L# |- ~* Z% e
  275. ; and every HTML block.  Turning this option on has serious performance9 Q1 u4 K) Q/ O" m
  276. ; implications and is generally recommended for debugging purposes only.
    ( Y# p6 K1 d, R
  277. ; http://php.net/implicit-flush6 {- p0 c# u: M
  278. ; Note: This directive is hardcoded to On for the CLI SAPI6 L  t2 ?% T5 G  w4 O0 I( @. y
  279. implicit_flush = Off
    8 _/ Y8 w1 {3 G& @; S! Y
  280. 3 s9 p' X6 ]; \$ c( O
  281. ; The unserialize callback function will be called (with the undefined class'2 H2 U/ {5 D  e" {0 x9 U% Z
  282. ; name as parameter), if the unserializer finds an undefined class
    6 y) b6 _2 q% P
  283. ; which should be instantiated. A warning appears if the specified function is
    * c! ^$ }2 |. @: j' N4 w# X
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ( L: N5 A6 H& r0 C! B4 D) m6 E
  285. ; So only set this entry, if you really want to implement such a3 _1 q& U/ M% d! ]7 _( Q' C
  286. ; callback-function.
    2 X& J; _: z; ?$ @' a1 G9 o
  287. unserialize_callback_func =% w4 w% t9 o4 [' D/ G7 H

  288. 0 R/ ]7 N7 w0 l/ F' t& O
  289. ; When floats & doubles are serialized store serialize_precision significant- I/ |( y/ R8 N- T; @- m
  290. ; digits after the floating point. The default value ensures that when floats, N9 j; F1 j7 H  n# o" W
  291. ; are decoded with unserialize, the data will remain the same.
    4 o* x  \2 K! e3 }0 c$ }
  292. serialize_precision = 17
      t! s. @$ q% e

  293. & J( s1 P$ U1 T9 D; A
  294. ; open_basedir, if set, limits all file operations to the defined directory7 i9 U; I, i, r1 w5 `
  295. ; and below.  This directive makes most sense if used in a per-directory! u  ^& K' @* J# w# S6 d+ ]: f, W
  296. ; or per-virtualhost web server configuration file.
    5 J5 v1 b4 L# Q4 g" B
  297. ; http://php.net/open-basedir( Q( {! x: U- ^; d1 S
  298. ;open_basedir =
    % q. g( Y0 F/ v
  299. + ?- F  A* @% {0 U
  300. ; This directive allows you to disable certain functions for security reasons.
    9 Q8 }' y  j$ D7 e
  301. ; It receives a comma-delimited list of function names.
    ' w1 r0 U. X6 d4 W/ q. I
  302. ; http://php.net/disable-functions1 e5 z) ?# s2 V  r6 M* a
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; e( J$ O% q7 s# H* {' m& q* E
  304. : c9 L$ q! d9 }5 q6 x& \
  305. ; This directive allows you to disable certain classes for security reasons.+ `0 I$ [7 O3 Z; o$ C
  306. ; It receives a comma-delimited list of class names.
    5 Q& _. O$ {* c
  307. ; http://php.net/disable-classes
    ' f, ?! ^7 I- d6 Z9 J
  308. disable_classes =
    3 Z6 L& _6 F+ r* j; [5 b4 G
  309. 8 y+ I( s/ e- |) F3 _
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 i+ ~' l: [. V5 c2 G
  311. ; <span style="color: ???????"> would work.
    ( D+ B2 r" s* e3 _1 S
  312. ; http://php.net/syntax-highlighting
    8 B- z5 g3 G2 g
  313. ;highlight.string  = #DD0000
    $ `$ ?+ d: B4 j  z
  314. ;highlight.comment = #FF9900
    / D7 X3 b: M& ^, F0 q4 d* |. T" m
  315. ;highlight.keyword = #007700
    * h: v% s: q2 c; @# O; A8 _5 h
  316. ;highlight.default = #0000BB
    * q8 Y# |8 M$ S! S* A
  317. ;highlight.html    = #000000
    , a- j- E: a" Q) I' W! X
  318. * Q5 V9 `. {9 W$ f
  319. ; If enabled, the request will be allowed to complete even if the user aborts+ K6 l& c" F4 D8 O  u
  320. ; the request. Consider enabling it if executing long requests, which may end up* {! e- e* x/ N2 L$ e; o9 h
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      V; r/ O- U- w6 Y1 z
  322. ; is to disable this feature.  E. ~! F6 T- i6 N/ k% `1 @
  323. ; http://php.net/ignore-user-abort
    + }3 t+ O$ H- X" \+ ^* L, r- o8 ]* I
  324. ;ignore_user_abort = On
    8 l3 n+ [4 @) H& v/ {1 Z

  325. ' V- s0 y9 j: S) B# A% x( w
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 r8 M3 l; N# ~
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    # @* r7 @$ j& F% T
  328. ; the file operations performed.0 ]$ J: }1 G0 A& _; H) h- h
  329. ; http://php.net/realpath-cache-size+ K5 G: ^, ~0 ~0 V" @: l
  330. ;realpath_cache_size = 16k# }4 S( n% M7 q% s
  331. 0 t8 K8 c( t. |3 {
  332. ; Duration of time, in seconds for which to cache realpath information for a given3 |& z0 c- O, q  t+ {3 L! e
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 W7 Z4 O5 I* g) O- j0 S
  334. ; value.& [( `5 ^8 m8 k* ^
  335. ; http://php.net/realpath-cache-ttl
    - g: D) \" y3 u- l' q
  336. ;realpath_cache_ttl = 120
    5 }6 n$ a0 O: P+ w: ?( o% i8 U, E  [
  337.   N) o/ o2 u4 k# ~, p. r
  338. ; Enables or disables the circular reference collector.% n) Y& x) W5 q$ \$ x9 g% I
  339. ; http://php.net/zend.enable-gc
    ) B% d+ @4 c5 G- C2 \, P4 T
  340. zend.enable_gc = On8 @5 u+ M/ X- v4 |

  341. * j: r6 _) a" x4 H0 f( _. ~6 U  @
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    * s7 V6 `0 s7 q$ f- y2 N
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ) Z" F8 F2 g* N8 W# e+ [
  344. ; encodings.  To use this feature, mbstring extension must be enabled.* @( w4 T& z2 y0 ^  o. w
  345. ; Default: Off& X6 e# y, w- `& Q8 v2 k
  346. ;zend.multibyte = Off" C, C2 \! s; o) I1 K" S5 }+ d
  347. " V2 X5 g/ S2 Y. A3 t4 d; \
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    9 Z/ C4 z( V: d/ \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    9 m. H) q0 M& a
  350. ; Only affects if zend.multibyte is set.
    4 Z/ f: |/ z( g, F3 I2 H
  351. ; Default: "") Q& L8 F+ C5 d5 b0 x
  352. ;zend.script_encoding =
    7 ]+ |+ \  y8 {- q4 U9 D
  353. % v% N! D% g: B( J. U0 G( r
  354. ;;;;;;;;;;;;;;;;;
    0 q( ^' o0 v9 s/ F) A' B1 H9 [. X7 g
  355. ; Miscellaneous ;; y$ r6 m6 p1 v3 j6 I, P+ S( r
  356. ;;;;;;;;;;;;;;;;;
    8 s- l) r0 i4 B
  357. * Z* s5 V: K$ P% J, {
  358. ; Decides whether PHP may expose the fact that it is installed on the server+ q$ K( ?* S/ R* s; S
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 [/ t  M, ~1 l+ e) K
  360. ; threat in any way, but it makes it possible to determine whether you use PHP+ d' C6 M0 `8 l4 f0 s3 B; L
  361. ; on your server or not.
    4 g( ^+ b; x' k9 G/ d1 p
  362. ; http://php.net/expose-php; i% K4 g2 d3 j7 J' G
  363. expose_php = On; H, Z1 p* ~9 F) l+ I
  364. 5 p  n" n* H5 o  i# Q' k. K
  365. ;;;;;;;;;;;;;;;;;;;
    % I, q0 N3 H$ R, @
  366. ; Resource Limits ;
    / t3 \3 B) R- h# Z1 R
  367. ;;;;;;;;;;;;;;;;;;;
    ! [7 T& ~" J; [- `

  368. ) b4 J4 [  |, G- R. w- E
  369. ; Maximum execution time of each script, in seconds" y" O0 F& ~4 `: @- ~
  370. ; http://php.net/max-execution-time; Q$ c  ~; P$ Y0 t9 F) [* n9 T
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # ~+ m0 B8 @& B  A
  372. max_execution_time = 300. W, \3 b7 B+ o* Y3 B# W7 c
  373. ! x& I- n$ m4 v" |( i" n
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 P# ]/ d4 N1 p' B
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ c5 }  O9 \% N7 `/ k) M
  376. ; long running scripts.; e) z. ?' c3 O9 _8 {
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    0 K3 v7 U9 q# O2 ~$ {  A5 `$ H- Y
  378. ; Default Value: -1 (Unlimited)  Y  a+ r$ P7 }, j% ]* L: \. I
  379. ; Development Value: 60 (60 seconds)
    * x; {1 h3 ]& ~* h0 Q8 L; ~, }
  380. ; Production Value: 60 (60 seconds)
    1 n& [# c# K3 U( ]6 V6 s
  381. ; http://php.net/max-input-time8 @5 X& X* X9 w, J7 j: v
  382. max_input_time = 60. @9 {1 r& `7 q% e4 X# F, {" P
  383. 6 g1 N  V; V0 u1 ^
  384. ; Maximum input variable nesting level
    7 b0 A0 g) a$ {/ _- a- k! {# [: j
  385. ; http://php.net/max-input-nesting-level" a4 ]# ~! L) s4 S2 |; @
  386. ;max_input_nesting_level = 64
    & m  b# {8 a5 v
  387. 5 P  e4 V2 c- _2 {  E
  388. ; How many GET/POST/COOKIE input variables may be accepted+ ~# i& F, C/ Q" t* g, c
  389. ; max_input_vars = 1000
    + _: q$ x' S3 A/ u' [, r1 e  j! P

  390. & P0 @/ [: ^6 G0 P  g' t# C, G
  391. ; Maximum amount of memory a script may consume (128MB)
    , `; v( ~5 \* k5 V2 `7 S; S& s
  392. ; http://php.net/memory-limit
    8 i- z+ ^; G  ]$ M
  393. memory_limit = 128M
    ) f+ v: W! e8 I6 _" M
  394. 7 k: e* s; j. ~
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    + ~: \0 \6 q" Y& f4 H' m4 D2 R
  396. ; Error handling and logging ;
    : N; n+ B9 K) X* f' r! w
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 w% }8 d+ o9 x! m

  398. 5 B. p  L  ]$ y9 K' i) h! w, S
  399. ; This directive informs PHP of which errors, warnings and notices you would like( w6 h- k( V6 w6 B, Z- l3 w2 M
  400. ; it to take action for. The recommended way of setting values for this9 o- t" a# _& f: T) ]3 [
  401. ; directive is through the use of the error level constants and bitwise
    9 m. P  M' b& Q! j0 J6 A
  402. ; operators. The error level constants are below here for convenience as well as( B* Y4 n6 ~+ F4 U# e
  403. ; some common settings and their meanings.& p0 z) ^2 G6 h/ t  Y
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 J8 }2 l4 W  R7 e( {
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # o; N0 v1 r& R% R7 |2 f# F
  406. ; recommended coding standards in PHP. For performance reasons, this is the5 i9 F  U. l* f0 c* g
  407. ; recommend error reporting setting. Your production server shouldn't be wasting5 ^, ^5 |3 v. U: C) d2 U$ {" c- C
  408. ; resources complaining about best practices and coding standards. That's what4 Q' G  [0 D; U5 q0 V$ {
  409. ; development servers and development settings are for.
    , B" _8 y7 @* d* _. w" u- h
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) \0 F& v; a( a
  411. ; means it pretty much reports everything which is exactly what you want during# X# k. i8 _5 \7 k, [5 M2 b
  412. ; development and early testing.$ J1 ^0 P- ~" O  ?' _) g
  413. ;
    9 @7 B! D+ `' l/ |
  414. ; Error Level Constants:' J* W6 v/ a! v9 y. s) ?3 y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 r3 _% x# @( l- A! G1 M% r
  416. ; E_ERROR           - fatal run-time errors
    1 a3 L! w6 `$ n3 o( J* m$ j
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors# k6 m9 @9 K: r; V9 x
  418. ; E_WARNING         - run-time warnings (non-fatal errors)( f$ x' h5 H2 z7 N  c
  419. ; E_PARSE           - compile-time parse errors
    , ^9 m: p7 F4 E' C" M0 t% C5 U
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% c- Z% h) M( u
  421. ;                     from a bug in your code, but it's possible that it was
      {; ]/ Y& ?  _6 H9 J
  422. ;                     intentional (e.g., using an uninitialized variable and
    ( I4 Z( L8 f6 q& r* B
  423. ;                     relying on the fact it is automatically initialized to an
    8 o2 F: G; f, `0 G( z, k- p
  424. ;                     empty string). g8 Z# V- t* o5 a3 `, T0 T. H. V( F3 {
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes/ y  v! h2 S: y6 p
  426. ;                     to your code which will ensure the best interoperability
    - k4 F& X( K% @; C" c3 {
  427. ;                     and forward compatibility of your code+ V+ I5 A8 c, @; Z% g' g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    % @+ F+ z1 e, z, i. \3 m0 @- M
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 O& j, H2 R2 n
  430. ;                     initial startup# r! X/ K7 c2 b1 q- L
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ d% u9 o% b+ ?; G# Q5 a! J
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)& S% j$ _+ l* p# p: ]* ~9 p
  433. ; E_USER_ERROR      - user-generated error message
    7 o" R. i  o" r
  434. ; E_USER_WARNING    - user-generated warning message9 f8 U1 n' t/ h" N" W
  435. ; E_USER_NOTICE     - user-generated notice message+ y4 |! t' Z) Q
  436. ; E_DEPRECATED      - warn about code that will not work in future versions7 D2 u- _6 v; _' U
  437. ;                     of PHP6 y! r1 B) F0 [' M! }$ @3 F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings5 V( o" q, u% g/ o$ o1 `
  439. ;( d4 X) w" E) f# i0 \
  440. ; Common Values:% O2 y& ?. E% M; r4 I
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    & F6 \2 [  I) V1 O- ?
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , W' Z6 k" D5 ]) W, C$ Y
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 S" M7 H- t% Q7 j6 o' w+ M5 L9 y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors). V! B& Z5 W6 d* c1 [: B( x1 v/ y$ [
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 {# O5 R5 N: X  a5 J2 v/ ?0 U
  446. ; Development Value: E_ALL
    & ~" G, R  Q! Z2 I* @, {
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! n/ v3 Q7 z( J& v
  448. ; http://php.net/error-reporting
    / a, M+ {$ }2 c  p8 \1 j4 v  }
  449. error_reporting = E_ALL & ~E_NOTICE' E# C: Q* g  |
  450. * b  {4 W2 I# G( |: u1 X9 \
  451. ; This directive controls whether or not and where PHP will output errors,
    7 h4 B  @" c0 ?% V. a) p
  452. ; notices and warnings too. Error output is very useful during development, but
    + O( m+ y, z! i, M
  453. ; it could be very dangerous in production environments. Depending on the code2 z0 ]0 _3 n5 {  @+ K+ I  D
  454. ; which is triggering the error, sensitive information could potentially leak( n, x4 b& y3 F% D5 l: H
  455. ; out of your application such as database usernames and passwords or worse.# o2 |2 y+ G* q. }' O8 |0 \  s
  456. ; For production environments, we recommend logging errors rather than! F5 V0 @! H0 z
  457. ; sending them to STDOUT.
    # x! g9 H! x: R% C: J0 t
  458. ; Possible Values:
    ( y" L7 l5 m& R! ?5 y  A9 e
  459. ;   Off = Do not display any errors, W1 H' ~+ W9 L& o# C+ C1 W- Z3 R
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)1 ~, ?  o8 Q3 q+ a
  461. ;   On or stdout = Display errors to STDOUT  e, B, B: P8 R4 w
  462. ; Default Value: On% }5 @! M, G6 B. s
  463. ; Development Value: On
    $ O9 e7 O6 b# l" p% Z  I
  464. ; Production Value: Off
    : S  X( v/ R& K$ v7 w. @5 h
  465. ; http://php.net/display-errors
    3 o+ y, v; P, I0 C8 k% G' A2 R
  466. display_errors = On
    ' A! o# X' M2 v; C1 \

  467. : ^: ]9 G% Z* O: q9 W) C% e
  468. ; The display of errors which occur during PHP's startup sequence are handled$ o# @7 G$ R$ g5 k- D! _
  469. ; separately from display_errors. PHP's default behavior is to suppress those" g! O, `1 s! m3 x
  470. ; errors from clients. Turning the display of startup errors on can be useful in8 R2 N$ E5 o. y9 ?
  471. ; debugging configuration problems. We strongly recommend you
    ) z2 K2 S( P) R7 t
  472. ; set this to 'off' for production servers.
    , S3 t0 S+ g6 d  g7 M! a; \  W
  473. ; Default Value: Off2 q( W6 q) U! c6 E& |1 p* v
  474. ; Development Value: On. R$ ?, v: r% E. @6 ^5 E7 _' m: e6 G
  475. ; Production Value: Off
    , G  Z8 C  b6 [: m* g
  476. ; http://php.net/display-startup-errors5 L' f- S) y  A: S
  477. display_startup_errors = Off
    3 h9 E# h( |1 e0 P1 T& V( C  ~
  478. 3 N+ S& S5 Z6 t" D5 E6 j
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 g4 ]( t" y. V, D5 L2 }. |
  480. ; server-specific log, STDERR, or a location specified by the error_log3 M' G7 q" r( d9 d
  481. ; directive found below. While errors should not be displayed on productions; d& w- E6 p1 k% J$ u
  482. ; servers they should still be monitored and logging is a great way to do that.4 |9 X: M0 H+ U/ j' s" L! D# x. G
  483. ; Default Value: Off% ]0 _+ s7 A9 R& `
  484. ; Development Value: On
    0 t  P2 m6 E  m; [) Y. Q
  485. ; Production Value: On4 w) O+ @( }. v) d% ]
  486. ; http://php.net/log-errors
    5 C/ Q6 E/ M  w" @
  487. log_errors = On
    3 ~6 W' M5 k: |3 g6 S( j

  488. ) t6 v: z3 C$ |4 \: u+ p
  489. ; Set maximum length of log_errors. In error_log information about the source is7 d6 g! k7 a( q  \# Y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.* ^( I( O9 s3 t/ d
  491. ; http://php.net/log-errors-max-len
    + R! Z5 U) G! R' w# Q7 S
  492. log_errors_max_len = 10249 {- I1 ~3 z6 K% x
  493. + t" D  S! R9 J
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same2 G" e( u; _4 t0 Q- F
  495. ; line unless ignore_repeated_source is set true.
    / J5 l/ ~2 F+ i7 C4 O
  496. ; http://php.net/ignore-repeated-errors
    9 h/ A  Z9 `3 t% U+ x. c' i
  497. ignore_repeated_errors = Off
    9 ~& F. Q) U9 {+ c- V2 }
  498. $ ~$ U: ~. y* Z! `4 ~
  499. ; Ignore source of message when ignoring repeated messages. When this setting: q$ c" c4 `: Q& C
  500. ; is On you will not log errors with repeated messages from different files or
    $ Y  ]3 U5 W1 Z1 o  |2 z" a7 g
  501. ; source lines.; r: N" }: E% O9 p
  502. ; http://php.net/ignore-repeated-source* S# w& l) {* i$ t- ~
  503. ignore_repeated_source = Off
    2 ]! T! O; j. i! M

  504. . F! }& u# J) ^" v7 y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on- t& [6 i9 P5 Z' Q0 M2 b' e' C
  506. ; stdout or in the log). This has only effect in a debug compile, and if% @; K" e( f9 X; G
  507. ; error reporting includes E_WARNING in the allowed list  ]: G3 ]/ k/ h" H2 u& [
  508. ; http://php.net/report-memleaks
    8 B3 A' F$ C! b
  509. report_memleaks = On
    ( p2 ~2 i  F6 z/ Z5 s+ l3 c

  510. / k  M( |. H7 Q* I' _* d
  511. ; This setting is on by default.2 ]# J5 x- S# l" f9 B$ u
  512. ;report_zend_debug = 0& y  K( `6 Q9 ^

  513. + `( E+ c5 _& H+ [6 T
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 _6 Y+ f) H' M9 O5 u" E: S9 t" n
  515. ; to On can assist in debugging and is appropriate for development servers. It should; B2 H  ~5 j! j0 `
  516. ; however be disabled on production servers.! j& b$ o* A. }
  517. ; Default Value: Off
    + e2 V% h1 B. ?7 j$ s% W% e
  518. ; Development Value: On+ P& X: n1 v: i/ E0 \1 J
  519. ; Production Value: Off
    " T4 C3 e1 n2 P9 R
  520. ; http://php.net/track-errors
    5 a9 b/ H+ b7 ]) c3 i
  521. track_errors = Off; `& R/ b" h5 y4 @+ D: C7 Q

  522. 0 w  W( Z4 y) N8 {0 s0 x
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 X# O* k2 J8 I- [8 g2 x( e
  524. ; http://php.net/xmlrpc-errors
    / t$ F) q) f3 b# U& E" p3 v
  525. ;xmlrpc_errors = 0
    , j: C" F0 v6 z, z9 Q2 d: F9 N

  526. 4 a$ k  T* |0 J
  527. ; An XML-RPC faultCode
      Y6 s# j  f+ ~" ]* w# t- ~! F- \
  528. ;xmlrpc_error_number = 0
      s. E: O( e1 t

  529. 3 M. t& q' z+ ^# p
  530. ; When PHP displays or logs an error, it has the capability of formatting the% z* }) n! e% }1 F+ S
  531. ; error message as HTML for easier reading. This directive controls whether
    # g: ]5 L: S) P# v9 C' d
  532. ; the error message is formatted as HTML or not.5 v8 ?* e/ j# i4 [7 A& H
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 E2 Q1 Z0 J5 ]! }& a
  534. ; Default Value: On
    / K8 h  L. Q# z4 ^7 r' R
  535. ; Development Value: On3 i% E$ v# }$ ?; x% f: {9 I
  536. ; Production value: On9 f- A) Y, }. Y- o1 g' i& G' f# K
  537. ; http://php.net/html-errors
    ' ]: E! L+ R( k' ~7 p' L5 n; B
  538. html_errors = On, L/ y' Y1 q( j! u2 e& @
  539. 6 @2 e  `4 y  N7 ?
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP: l9 u0 H+ C" n
  541. ; produces clickable error messages that direct to a page describing the error
    ( B8 Y& S5 A2 d2 n4 p
  542. ; or function causing the error in detail.3 q/ C) I( h0 K
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    + I! w$ K( [3 }- L/ ~7 M( V
  544. ; and change docref_root to the base URL of your local copy including the
    * i6 F& S% U2 a' ?" Z. Y5 M
  545. ; leading '/'. You must also specify the file extension being used including
    : O/ i5 B5 R1 B- J, O, d' ^6 J( Y
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; H5 V. f7 J; x  v, b
  547. ; case no links to documentation are generated.
    & v4 Y& _' ^6 f6 H' m; s
  548. ; Note: Never use this feature for production boxes.
    - f; F1 g$ \" A1 [3 W3 b9 Y' N
  549. ; http://php.net/docref-root  d0 @' Z: j) ~  d( @$ e/ k8 X
  550. ; Examples
    8 V+ ~: M9 X' y
  551. ;docref_root = "/phpmanual/"& Q# L( p( _1 U+ q$ @9 z

  552. 3 F6 |6 t2 H  y; j( _/ x9 e
  553. ; http://php.net/docref-ext
    $ Q, P$ V# D7 t5 l/ D5 ?
  554. ;docref_ext = .html
    ( c8 F% T0 h6 O$ ]6 z# l4 u
  555. ' O* D3 Z4 Z: W8 j0 H2 ]
  556. ; String to output before an error message. PHP's default behavior is to leave( }/ U9 c# c  s! f/ }( \; l
  557. ; this setting blank.
    # H+ t2 t0 |2 ?* |! V! x
  558. ; http://php.net/error-prepend-string) g6 D/ X* K% |& v( E$ |& m
  559. ; Example:4 F( J7 X0 O0 T6 o% q+ j. A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    - Y4 P! M  B; F# C( Q4 b
  561. 4 G! y! s- N* X, _
  562. ; String to output after an error message. PHP's default behavior is to leave
    0 m$ v2 X. \$ W/ M2 ~% D
  563. ; this setting blank.! x. W" i- `" C  a8 L
  564. ; http://php.net/error-append-string
    7 j1 X( |% B$ |  d
  565. ; Example:
    0 Y; i5 }# S' T$ V2 ]: `
  566. ;error_append_string = "</span>"
    4 T, o- H5 A0 e6 k
  567. ( Q* O- h  a4 d* r/ M' H
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' v$ Y- V( ?! N: L& D/ N) R/ J
  569. ; empty.8 |! F* k' ?( d* P' Z
  570. ; http://php.net/error-log) w$ T' X* ?5 k+ t0 d- I0 U
  571. ; Example:
    + p/ c# }" e  N" p$ d( T# t
  572. ;error_log = php_errors.log0 t3 o8 C6 S3 W* h+ B
  573. ; Log errors to syslog (Event Log on Windows).: _# p5 g: _$ z, s
  574. ;error_log = syslog
    / d* w1 w1 M" [2 `: X4 E% |
  575. : \7 j, q2 r6 D
  576. ;windows.show_crt_warning
    ( W! H" A3 |0 D& L0 C/ @0 G8 V
  577. ; Default value: 0
    2 i0 a( a1 l: Q
  578. ; Development value: 0- k# k3 A4 ]- @2 y" a! G6 J' N5 Y7 ^8 \
  579. ; Production value: 0
    & X* c! s7 E1 M( c9 M  b( R8 U
  580. 0 q" {  k! t+ Q+ u5 z
  581. ;;;;;;;;;;;;;;;;;0 }' T% E  R5 J" D+ \. [0 i. e
  582. ; Data Handling ;
    + ]. T, ~( [8 C; r3 i* f) _
  583. ;;;;;;;;;;;;;;;;;2 |; P! k3 i( r9 r5 {  v6 B, @1 F4 r
  584. / p" ~) g; @, [( k
  585. ; The separator used in PHP generated URLs to separate arguments., U3 h* ?- u+ p0 k2 T9 [) T! z3 R( `
  586. ; PHP's default setting is "&".
    ' |3 s+ g$ e* ]% b
  587. ; http://php.net/arg-separator.output
    1 l/ k: i: H- t, J
  588. ; Example:
    * s8 {' y# {! Q3 E0 Y
  589. ;arg_separator.output = "&amp;"' j! q* @2 z) b4 a+ F
  590. ) z' E1 m# Z- f/ q
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    , _( B0 F7 S" R/ ^
  592. ; PHP's default setting is "&".6 H* D2 @1 t" [% w
  593. ; NOTE: Every character in this directive is considered as separator!! x- {/ _7 S" K
  594. ; http://php.net/arg-separator.input! C$ U) c, d+ @( q
  595. ; Example:/ j- t; d4 z6 s+ A; W% o. l
  596. ;arg_separator.input = ";&"6 r( o9 q) k; e

  597. * \! Q! `5 l+ ]" p! B
  598. ; This directive determines which super global arrays are registered when PHP
    % Y- W* T5 ]$ E. U5 @" E) ]
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super5 M- \% `* x+ m& Q9 @
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% W. K5 a" f1 n) i6 ?
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    5 Y7 t6 Q, Y7 Z
  602. ; used as the others, ENV is not recommended on productions servers. You- p/ P: ?) c' `# I6 O+ |. _) L7 k
  603. ; can still get access to the environment variables through getenv() should you  M7 t0 ~' O( c4 q" U
  604. ; need to., ^/ X" G+ `$ W, V$ _2 c9 S) p
  605. ; Default Value: "EGPCS"
    ( _% ^( w5 K+ c' c: q7 ?5 S! Y
  606. ; Development Value: "GPCS"
    / [2 v0 g$ ^9 {1 d) S; S
  607. ; Production Value: "GPCS";; \" O1 a  U+ Z  R, g
  608. ; http://php.net/variables-order
    / l7 u: J6 c2 b/ b- X/ }
  609. variables_order = "GPCS"
    - D2 W4 w7 H6 ^% |6 |
  610. ( ^7 h& y7 |" _+ F0 `. D
  611. ; This directive determines which super global data (G,P & C) should be
    4 N4 W, D: s$ j9 o% j* c/ y5 N$ V
  612. ; registered into the super global array REQUEST. If so, it also determines$ D) |8 J; @7 F( ^8 @
  613. ; the order in which that data is registered. The values for this directive* Z  v7 h2 X1 H& `  T3 m! \
  614. ; are specified in the same manner as the variables_order directive,
    * Y/ }- M9 E7 D+ x$ O
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 b: |( P2 b7 o7 n2 Q
  616. ; in the variables_order directive. It does not mean it will leave the super  `1 N% a" e- s
  617. ; globals array REQUEST empty.
    $ H  }2 L9 Z  i5 I, o0 p
  618. ; Default Value: None
    1 h/ Y) [' d/ a3 S
  619. ; Development Value: "GP"9 b4 s+ Z, f3 v* _4 i
  620. ; Production Value: "GP"
    2 z2 ?( B! G+ T$ D8 }) @
  621. ; http://php.net/request-order* Q$ r3 z4 `& v, g2 _! ^9 {
  622. request_order = "GP"
    3 ]: h1 G! @" z$ @& Z6 K

  623. % y2 c1 ?0 d2 ~( {3 h9 O* m& W: S4 }
  624. ; This directive determines whether PHP registers $argv & $argc each time it1 Z+ z% h8 U4 m* s5 f8 `# o
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    - j" B4 e1 L" m3 X+ P" X" C( z  O
  626. ; is invoked. $argc contains an integer representing the number of arguments
    & }" ^, J6 g4 ~* N5 a& r) Q
  627. ; that were passed when the script was invoked. These arrays are extremely' `) c) ?' L- t  t2 @
  628. ; useful when running scripts from the command line. When this directive is4 d' h/ z7 b1 P8 S6 p" c9 o& D
  629. ; enabled, registering these variables consumes CPU cycles and memory each time5 }- c, J6 y& P9 V
  630. ; a script is executed. For performance reasons, this feature should be disabled+ k8 H' ~3 {% Q$ r
  631. ; on production servers.
    % A$ Y+ R1 q1 H" m( w! F4 U' G
  632. ; Note: This directive is hardcoded to On for the CLI SAPI# P. c3 y# w0 y! C2 Y$ M
  633. ; Default Value: On  q3 U9 n! V0 g
  634. ; Development Value: Off
    * I( a" N9 N$ i4 O# H
  635. ; Production Value: Off
    ! g/ n8 @% z$ B/ h# _' @& Y7 K
  636. ; http://php.net/register-argc-argv8 Y. Y( V* D# P, x( W4 Q: X
  637. register_argc_argv = Off
    3 ]" o% Y% S$ r3 Q& D/ M
  638. + w: R# x# M# M8 [1 S! e
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 E. B' \: u3 v) o
  640. ; first used (Just In Time) instead of when the script starts. If these
    7 A! z* a9 C# {2 K( i
  641. ; variables are not used within a script, having this directive on will result
    9 h9 [/ Z/ y2 X
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 L! H- a1 v" g1 G) ]( Z, R+ r
  643. ; for this directive to have any affect.% w9 S7 @8 Y6 N: k* V8 F! o
  644. ; http://php.net/auto-globals-jit6 \6 G3 q+ m4 W9 L
  645. auto_globals_jit = On" |( C! C1 Z' a# E2 I+ ~" h

  646. . n" {2 ^0 e! y+ B) ]1 w
  647. ; Whether PHP will read the POST data., s4 r9 s* u# p. u/ C8 ^
  648. ; This option is enabled by default.& S: C# ]7 j. g# P/ H
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% X9 s1 \$ S5 ]# M4 W( T, b
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 t8 P2 E5 J! A; C8 y
  651. ; POST data will be through the php://input stream wrapper. This can be useful7 {0 O: v3 b: W
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., u$ ~$ \, _' Y8 L  A; n7 T
  653. ; http://php.net/enable-post-data-reading
    / T( C9 |& {1 x. D, F! Y
  654. ;enable_post_data_reading = Off
    0 o- u3 B. H6 @& J# Y

  655. 1 T/ P7 v9 m  }  v5 J: d2 l7 ~
  656. ; Maximum size of POST data that PHP will accept.8 F* r. Q1 \7 A7 [3 }
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 x% ^1 m4 W5 _, E  V3 a- o
  658. ; is disabled through enable_post_data_reading.
    8 O9 L' @5 W3 [' C* I; _
  659. ; http://php.net/post-max-size
    # Z9 p9 i9 E8 V0 n$ u* v) c
  660. post_max_size = 50M5 E) J& h. Y: w  \
  661. ) j" |2 w1 B) Y
  662. ; Automatically add files before PHP document.9 T; h4 |8 i( W/ n! }. b
  663. ; http://php.net/auto-prepend-file
      J. u6 |: R8 L8 E' `, e3 z
  664. auto_prepend_file =: m3 `' \" d7 P; w0 N  X: x) K$ O; e# _: n

  665. 5 x4 F, v' P5 V' {
  666. ; Automatically add files after PHP document.$ a" [8 P; A; L5 U. c3 Z7 p- {
  667. ; http://php.net/auto-append-file& c3 n! s# d& m$ z, U( J. {
  668. auto_append_file =) O# W1 _$ d* a9 H* s

  669. & ^- y$ P7 C! R% Q, d
  670. ; By default, PHP will output a media type using the Content-Type header. To) g3 q7 h) A9 W' B
  671. ; disable this, simply set it to be empty.! n" ]6 p8 {! o
  672. ;
    $ @8 o$ @  w- d# f
  673. ; PHP's built-in default media type is set to text/html.4 x! y3 |& V4 C6 f+ T
  674. ; http://php.net/default-mimetype+ X% K: F/ A, m, `# k; \
  675. default_mimetype = "text/html"
    + @( @- f- R6 P( Y

  676. + K1 }7 j+ p# F( P6 \' `
  677. ; PHP's default character set is set to UTF-8.) _0 W7 Y9 ]- ~5 A
  678. ; http://php.net/default-charset& i" |8 j( Y( z) n# A+ f4 b& B& Y
  679. default_charset = "UTF-8"
      l3 i, V, l2 v: b/ F$ _
  680. + u7 t; m( g9 B5 B3 w/ j
  681. ; PHP internal character encoding is set to empty.
    % T0 s  Z& z; J
  682. ; If empty, default_charset is used.. [6 W, s# N3 {# g3 D' p
  683. ; http://php.net/internal-encoding7 I2 \; v! S7 Z6 l% W2 {8 z, T$ Q
  684. ;internal_encoding =
    ) n& y. e  z0 A' `- W1 x+ J
  685. # j1 m9 H. N, D, J
  686. ; PHP input character encoding is set to empty.
    : B" f; y' c( k5 X! p6 M
  687. ; If empty, default_charset is used.8 d" ^+ [" ~# l) [
  688. ; http://php.net/input-encoding2 a' m* S# }( R
  689. ;input_encoding =
    4 r0 ?1 e% m, @1 \! I( \6 h

  690. " R1 Z" p% K3 G$ R( d+ X
  691. ; PHP output character encoding is set to empty.
    ) `  b! Z' k8 F/ I- g8 m3 x
  692. ; If empty, default_charset is used.9 e8 _; u5 }2 O4 M: ~4 m
  693. ; See also output_buffer.5 j* N, n$ L  p, X7 H
  694. ; http://php.net/output-encoding- V1 l/ Y9 I7 p+ k) E' E
  695. ;output_encoding =  X$ b; K" L3 N; L# c4 X* A0 H
  696. & D8 C4 U: Q9 r; B  d! K3 W
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is7 D1 ~0 L/ f) `& z" U9 D3 v
  698. ; to disable this feature and it will be removed in a future version.5 L( S' F8 O* w* z. Z; t3 O
  699. ; If post reading is disabled through enable_post_data_reading,* `6 e5 |- E- W3 q
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.9 @! N6 a) V: @' Q1 ]3 [  z
  701. ; http://php.net/always-populate-raw-post-data
    ) e3 q3 d6 S6 l4 f. r
  702. ;always_populate_raw_post_data = -1
    " E3 {4 O: F8 Q; W
  703. ( X" O7 W  `: V* N
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;+ K2 j1 P" F9 r# x  b0 C; P7 N0 @
  705. ; Paths and Directories ;
    5 n8 \; T. L4 k2 m1 ~  ~
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - w5 M8 E" t8 x5 d. x
  707. % a. K, F# v0 D; O3 b3 k" a
  708. ; UNIX: "/path1:/path2"; o" Y  U) p  B3 Z0 e
  709. ;include_path = ".:/php/includes"
    / B& U8 Z4 G" d/ j0 j, y9 K
  710. ;
    ( y! ~! S& D; f- u$ f
  711. ; Windows: "\path1;\path2"
    0 j- ~' U5 C. {6 h
  712. ;include_path = ".;c:\php\includes"" s" J" F0 q+ I- g5 o* H
  713. ;
    2 K* K* r2 l0 ^2 N' P; ?# f
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 E7 N  ]8 K  n) N
  715. ; http://php.net/include-path
    2 N: @) u  Z9 v

  716. . o5 |: R0 n, y  o3 J$ h
  717. ; The root of the PHP pages, used only if nonempty.
    $ ~8 M" s$ H8 p: [5 N6 u4 v4 d
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. Q8 {+ I* \! a0 M' ?+ I; O0 [
  719. ; if you are running php as a CGI under any web server (other than IIS)
    / d5 v+ H$ |: q) {
  720. ; see documentation for security issues.  The alternate is to use the- j( K; }9 H1 S9 A0 h$ u
  721. ; cgi.force_redirect configuration below
    - V! K! O' E7 j8 r* ~
  722. ; http://php.net/doc-root
    ; [7 b' h4 i1 M9 [* R& W
  723. doc_root =+ X( b# G2 N6 |: s

  724. ( H; x  l6 C. A
  725. ; The directory under which PHP opens the script using /~username used only
    ( ^& U/ \4 K+ l0 b
  726. ; if nonempty.! z' [! s2 e7 F/ X% G9 p  k5 A4 y
  727. ; http://php.net/user-dir* v$ c2 u; u, U" w9 e1 ^( \# j! s; U
  728. user_dir =6 v+ O3 [  x" ]9 k0 }. t! S# q
  729. " ^4 o* k3 h- K6 i  Q, m
  730. ; Directory in which the loadable extensions (modules) reside.5 d4 R. Y7 k+ P: n7 K
  731. ; http://php.net/extension-dir
    - n' x6 G' `! D0 c5 X
  732. ; extension_dir = "./", b0 C1 s3 y2 ~+ {) x/ S  d
  733. ; On windows:
    ; U5 l" }  f8 b' C! C7 J
  734. ; extension_dir = "ext"
    " o) a* M- \9 V: N- ~, w. w0 x3 c1 S

  735. 1 c7 k$ \5 S; i0 K. \' g) \6 B- ~
  736. ; Directory where the temporary files should be placed.
    ' Y' ]2 e! y8 Y4 J3 }  C! \
  737. ; Defaults to the system default (see sys_get_temp_dir)+ w* G* b" M' s7 r* M4 y
  738. ; sys_temp_dir = "/tmp"
    ' M- Q  Z, ?: g* a$ ?5 y9 d! E: e

  739.   D' c2 H. n2 i" R' O
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work: n. p7 _4 M* B! m) p0 a& {8 K; L9 ~
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
      b- s$ Q: K, ]" Z% `' \0 }
  742. ; disabled on them.
    & f9 [" u2 ?- J1 ~5 ]/ ~) ~
  743. ; http://php.net/enable-dl2 e, ^( @0 ~- y
  744. enable_dl = Off6 E& L" D( W0 [  {. |  ]# ^
  745. 4 E. j$ @$ E8 ]( `7 l7 d; B8 D
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ! Y2 ]5 ]( n+ J; z$ ?
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , _1 ]; D' }: N6 I' {6 |1 p
  748. ; turn it off here AT YOUR OWN RISK. F: ?! m! B- r" X3 m$ j
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 ]- i6 `, ?) s* L
  750. ; http://php.net/cgi.force-redirect
    - Z. y+ m5 V+ B
  751. ;cgi.force_redirect = 1$ U, ?$ U) b" n

  752. * e+ B- n; @8 @" h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 y6 v5 j- b5 F% t- n
  754. ; every request. PHP's default behavior is to disable this feature.! s, E% Y$ g5 y2 J
  755. ;cgi.nph = 1! S, t" ?: l5 B3 p  P' i8 ^

  756. + K8 _3 t" f, ]# o
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ N7 J1 s: k# f/ }. o! s) d
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    / F$ p; Z- {6 g
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY; }' X& q0 N# O# b& b
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.6 t  I! |$ }2 B& z3 G/ C
  761. ; http://php.net/cgi.redirect-status-env4 I+ P6 n5 E1 L0 _) d, p
  762. ;cgi.redirect_status_env =0 S7 p: j+ h2 ^. C. A$ A
  763. 2 H7 p) M; t4 \* r
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 y+ S8 g/ G( O+ d' [! g0 n
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' k! \" `2 u2 F
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    , j) Y9 s3 s/ {& l) l/ }
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' I7 Z1 L! @3 S3 \: S
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 N8 O" i, n2 h! l
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) T3 S4 G  }+ x/ Q- S' ?- u* M2 E
  770. ; http://php.net/cgi.fix-pathinfo$ ]7 S/ K0 A* d3 [& a
  771. cgi.fix_pathinfo=1
    9 D& a; f2 T" o- v0 T8 H6 J; s. D
  772.   G7 h9 J% D2 c6 j# M
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " _9 W0 n8 p5 J4 z9 @5 L- \* v
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    2 _, h& a" I6 b. D9 n& ^
  775. ; http://php.net/cgi.dicard-path
    7 j8 o* ~+ F, m. G
  776. ;cgi.discard_path=15 X# t7 G, O1 j9 a: M, e" d7 @* Z
  777. - B2 i  e- i, f3 t* z" {8 }
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 n+ D$ t, C* v: [  z  D
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 q/ m5 P; k. P- N% h2 l
  780. ; security context that the request runs under.  mod_fastcgi under Apache; \3 |( q$ O, I( I3 e, ]
  781. ; does not currently support this feature (03/17/2002)
    0 @5 q' x7 S1 ?9 L6 ~$ o& G
  782. ; Set to 1 if running under IIS.  Default is zero.
    & m" `0 v  F. Q7 g! {5 h2 ~, y
  783. ; http://php.net/fastcgi.impersonate  E: V& o$ h0 k; \! L& U
  784. ;fastcgi.impersonate = 1
    - i. `, ^1 M8 T' a) r( y: k; I
  785. ( {, `- V2 w* c! s5 Y5 x
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 L: e0 S/ O. G' }0 F
  787. ; this feature.3 h0 Y9 Y+ x! Y) m
  788. ;fastcgi.logging = 0
      D0 g! U# m, u- O9 _7 ]; R

  789. , m3 [4 w. O4 E8 I0 P+ h9 y
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 _9 Q  }3 c: G8 L% Y. s, S+ c0 r, T  m
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that# k, R( K+ O7 R6 n
  792. ; is supported by Apache. When this option is set to 1, PHP will send) ?6 h5 ^. F+ g
  793. ; RFC2616 compliant header.; _2 ?6 c, `7 K0 F
  794. ; Default is zero.
    ( A8 W' V5 k3 U
  795. ; http://php.net/cgi.rfc2616-headers6 B* d' s6 p5 e( x) r
  796. ;cgi.rfc2616_headers = 01 e4 P6 Z: g3 a
  797. . p. r7 J+ E2 A- W
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* \$ R) @1 m) ?& y" q4 W
  799. ; (shebang) at the top of the running script. This line might be needed if the+ b  r' K( v% X5 ]4 m* R2 ~$ I
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ o6 c0 J* R$ k
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ) m1 Q/ b, D! }; N6 r3 K3 N) i
  802. ; http://php.net/cgi.check-shebang-line
    0 p+ z- y4 O- |) s! u
  803. ;cgi.check_shebang_line=1; g7 r2 X9 l- G" g0 c: L

  804. ' z7 V3 \" m+ t! O9 |
  805. ;;;;;;;;;;;;;;;;. v  y' p' t8 G0 V% |6 @  x8 P
  806. ; File Uploads ;
    : Z: G. ~! W, ~
  807. ;;;;;;;;;;;;;;;;
    * r6 a: H/ |& v8 Q' ]/ e
  808. 2 d8 f0 q2 K' ?  c
  809. ; Whether to allow HTTP file uploads.
    - M; N6 S( o' X- ]: _# ?
  810. ; http://php.net/file-uploads
    $ A+ Z. a8 O) M
  811. file_uploads = On
    1 n  c4 O8 @  x9 r+ o

  812. 1 a0 B* Y' j0 V/ k  ~  t
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    - Q4 u% M8 D: _( i# i7 I3 _
  814. ; specified).
    $ s8 n6 ]$ A, ?! R
  815. ; http://php.net/upload-tmp-dir
    6 f2 S! O+ ?# |5 R: U/ P$ U
  816. ;upload_tmp_dir =( J6 n* g; X' j5 g% W8 [( e
  817. & a- k$ c  t6 N
  818. ; Maximum allowed size for uploaded files.; z0 L4 s1 s9 r0 ?/ {
  819. ; http://php.net/upload-max-filesize
    8 V. j; r) o8 r% E% e, X. V6 t
  820. upload_max_filesize = 50M/ Z# h* @! D* r$ [/ D& ^

  821. + H7 }7 W' ~/ {$ ?
  822. ; Maximum number of files that can be uploaded via a single request1 q! N9 m, q! g* y8 q6 H
  823. max_file_uploads = 20, s, J; x. u7 a" f
  824. ! v  P: a) k: I9 A6 C' z: t( w& w( U& y
  825. ;;;;;;;;;;;;;;;;;;6 l# a' F7 j6 |2 M3 v3 P6 k6 G& A
  826. ; Fopen wrappers ;% a3 l, w5 P3 q5 I1 P
  827. ;;;;;;;;;;;;;;;;;;
    ' n  }, ~8 ~5 f  O+ e1 k

  828. ' Y+ ]9 ]5 m, ^: C
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / c" x; k' ^# d  O
  830. ; http://php.net/allow-url-fopen, J' p( R5 y, ^9 z% l  p% b/ F
  831. allow_url_fopen = On1 Y! j% N( k! p

  832. 3 {! [2 F# N( h/ z8 q: `6 Q! h
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.' Y9 s- Q. I2 R+ O; R: ~
  834. ; http://php.net/allow-url-include
    3 a, ^4 H+ }4 J6 \5 i
  835. allow_url_include = Off% k/ @8 T8 \! M; i: I4 i
  836. 4 u, \* p) [" W2 ^- g5 b" M7 U
  837. ; Define the anonymous ftp password (your email address). PHP's default setting: X2 j+ ?- D% a* U4 N/ i- d. y
  838. ; for this is empty.; t1 W2 E9 V1 ?* g9 u" p# F# z8 V
  839. ; http://php.net/from6 W' a& V, @. g& j: Q
  840. ;from="john@doe.com", o, B0 z7 R/ F! ~; J9 g6 g* Y
  841. ! ?9 Y2 v  p  \0 e# X( U
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ C; R% T6 a  N6 r- y
  843. ; http://php.net/user-agent
    0 O4 H: I+ I+ R/ O; e! O8 z
  844. ;user_agent="PHP"
    # p' E8 F2 Y: U4 Y$ ]8 @
  845. / x0 j* Q- X7 h* \) c
  846. ; Default timeout for socket based streams (seconds)1 `3 q/ Y4 b' m, W$ ^. E6 D5 x
  847. ; http://php.net/default-socket-timeout5 Y0 C/ l% s3 e8 \# {6 ~) P! J
  848. default_socket_timeout = 60
    * c. h2 T! g; x. t

  849. , W7 ^* y) s4 w8 z2 R" B, p! P
  850. ; If your scripts have to deal with files from Macintosh systems,
    3 w$ u0 a* H. m2 l8 r
  851. ; or you are running on a Mac and need to deal with files from
    % D* x/ X, ]8 a. r" m- d
  852. ; unix or win32 systems, setting this flag will cause PHP to
    8 J# C/ |! P2 t
  853. ; automatically detect the EOL character in those files so that) |* @( b' O0 i
  854. ; fgets() and file() will work regardless of the source of the file.' O6 m. W2 x9 ]# @! I# j
  855. ; http://php.net/auto-detect-line-endings- Z2 |5 n0 f0 T8 P
  856. ;auto_detect_line_endings = Off+ S8 q& B4 y% c

  857. : y: v0 @" ^; S; c
  858. ;;;;;;;;;;;;;;;;;;;;;;; b) A5 |7 s1 m' I  u# F' b
  859. ; Dynamic Extensions ;, S1 a1 h- n/ W* ?# Y! w9 f9 R
  860. ;;;;;;;;;;;;;;;;;;;;;;( n* Y5 Z1 }3 y8 E7 p! w" ?. F

  861. . h/ \3 c3 ?: w4 z1 j/ w( y
  862. ; If you wish to have an extension loaded automatically, use the following. T' C% m& g( ^( X: N# G* n' e
  863. ; syntax:
    1 y9 j! A0 l( s5 b" o+ d
  864. ;3 D: g! G) d4 P- H5 C( v
  865. ;   extension=modulename.extension6 z* ^% C% U9 D3 U9 ?( B! m% A
  866. ;
    , s4 z( T  k6 v* Z2 K2 ?! c
  867. ; For example, on Windows:
      f4 V+ z7 [+ t* V  f1 h% U
  868. ;
    ! A. g/ `4 z' v! }
  869. ;   extension=msql.dll" H; z/ I8 x  q
  870. ;, H. j; m1 P: Y* \' t
  871. ; ... or under UNIX:) M, g0 v# O- h
  872. ;
    3 v& p  S# V9 ^" {
  873. ;   extension=msql.so
    3 B* d7 t' ?& ]& M
  874. ;2 n5 U& m0 J! F% @7 F- y& `/ w
  875. ; ... or with a path:$ M5 Z) F/ S( c! Y! J2 [0 p
  876. ;
    0 b8 D; j9 ~% t2 x
  877. ;   extension=/path/to/extension/msql.so' O( C" C5 f9 N/ p! v1 @
  878. ;2 f  G: [3 Z% a8 B* F+ ^2 `
  879. ; If you only provide the name of the extension, PHP will look for it in its7 w+ W8 z6 n9 t5 Z- T& V4 z0 d
  880. ; default extension directory.
    ' ?5 v9 M; k8 U7 f
  881. ;
    $ T. a1 x  C& a8 ]: B7 E! y* N+ P
  882. ; Windows Extensions
    ( b, E( H/ u% T  m# u' z
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    4 ]+ {* L0 e; F, F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    - _* N2 E5 \0 N. W# f
  885. ; extension folders as well as the separate PECL DLL download (PHP 5)." x/ Z" b& T5 g  P/ U
  886. ; Be sure to appropriately set the extension_dir directive.  C" h4 w* W% F# }" P
  887. ;- k; r% M& H$ N9 {9 a1 {
  888. ;extension=php_bz2.dll
    * g) u3 X- {  j6 W8 j* {9 S$ L
  889. ;extension=php_curl.dll
    2 _; T+ f9 H) ?3 o' e, z* {7 l& m+ a
  890. ;extension=php_fileinfo.dll0 v: n# P" G5 ^7 Q4 s; ]; K0 }
  891. ;extension=php_gd2.dll
    2 a( _* I% W' B8 [1 s  o
  892. ;extension=php_gettext.dll2 X9 y( x; g3 N6 W8 K$ ~
  893. ;extension=php_gmp.dll
    - c2 Y2 B! ~# O' L
  894. ;extension=php_intl.dll/ ^& y8 F9 M! Q
  895. ;extension=php_imap.dll6 r5 u5 @1 q9 Q+ N' H
  896. ;extension=php_interbase.dll) v  ]6 g, M4 a, z1 c( D+ Y
  897. ;extension=php_ldap.dll0 Y& _5 u$ R2 j/ w1 [
  898. ;extension=php_mbstring.dll0 \8 I6 K8 A9 ]/ J
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) E* t9 d+ |0 V4 D- M% a5 A& T  r% O
  900. ;extension=php_mysql.dll
    * s0 o- l/ o2 p" @% n; e
  901. ;extension=php_mysqli.dll: i, I( W$ f4 K" ]2 L1 M. k5 t$ h
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* d, p% p" R5 w( n8 ^
  903. ;extension=php_openssl.dll
    2 c- t+ B( l6 y4 `' u
  904. ;extension=php_pdo_firebird.dll0 D' ?! ~. Y: ?. a) r
  905. ;extension=php_pdo_mysql.dll
    " O' c* S6 {; O3 V( K
  906. ;extension=php_pdo_oci.dll
    ( |+ Z' N2 A- r5 M. {
  907. ;extension=php_pdo_odbc.dll
    1 V6 s, s% x' Z% M/ B' ^
  908. ;extension=php_pdo_pgsql.dll
    3 v; h- O0 N7 u0 I1 v
  909. ;extension=php_pdo_sqlite.dll) }7 E  Q! c1 I, G: c+ h3 r& Y7 a+ c
  910. ;extension=php_pgsql.dll" d& L! C% ]* t- R. u
  911. ;extension=php_shmop.dll
    3 r* |1 E0 [% D& U9 M
  912. 8 d0 p9 Z& e* a8 u  }7 t7 m% a6 D: O. ^6 H
  913. ; The MIBS data available in the PHP distribution must be installed.
    & J% `( ?3 }1 W- O- o
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    " N* G* u5 N& [+ R+ M* W
  915. ;extension=php_snmp.dll2 v- x; T* Q& `' R7 O+ @' u7 d1 D

  916. ) @% i+ h# O( D8 k9 L/ N: U7 L
  917. ;extension=php_soap.dll
    ; w- Y, O5 N0 z. S
  918. ;extension=php_sockets.dll+ N/ T7 y* f8 }9 a7 P
  919. ;extension=php_sqlite3.dll3 g* H) _+ G6 F/ t+ X
  920. ;extension=php_sybase_ct.dll3 o8 Q# W2 [2 d0 \0 V
  921. ;extension=php_tidy.dll+ y" ]' N/ V8 n; u7 b) ^1 Y. ~/ s! D5 Z
  922. ;extension=php_xmlrpc.dll
    ) v) v+ `2 a- _, s1 r! u
  923. ;extension=php_xsl.dll6 P3 c! B1 H6 \! _; q8 a0 F7 j  V! e$ Z

  924. ) H2 B1 K+ q; S" g3 a
  925. ;;;;;;;;;;;;;;;;;;;: c8 O3 t- _4 w
  926. ; Module Settings ;
    4 P2 ~/ t( y( S9 k
  927. ;;;;;;;;;;;;;;;;;;;4 o. h& p5 \) h  ?; l3 K
  928. # ]* J' v/ X2 G: @  w
  929. [CLI Server]
    3 [3 o5 [6 ]2 `$ q) j' J* }
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.9 a' W5 `3 c  {( D) Y
  931. cli_server.color = On2 n$ `( T( }3 o1 B

  932. ; Y0 r  j$ U  Z! \4 J0 M8 H
  933. [Date]& b' U: k/ w! ?# C8 W; E
  934. ; Defines the default timezone used by the date functions
    ; b* h$ I; c: ~3 m5 @/ n2 E
  935. ; http://php.net/date.timezone, ]5 @3 Z. i4 X& A; o
  936. date.timezone = PRC
    * o8 c8 g# e: E0 ?! G
  937. 1 ?4 z0 u1 f$ ^: N
  938. ; http://php.net/date.default-latitude
    + ]3 f+ C+ R$ [( C4 q0 B  C8 b
  939. ;date.default_latitude = 31.76679 _$ S1 W' x4 \: z
  940. 7 L; v6 D8 F1 f" H
  941. ; http://php.net/date.default-longitude! C) n: k: q9 E( B0 N# [
  942. ;date.default_longitude = 35.2333. |1 m# I. C  o) n

  943. 5 F( D( r1 S( G- l$ t
  944. ; http://php.net/date.sunrise-zenith+ M" C) t" t8 v) G! x
  945. ;date.sunrise_zenith = 90.583333
    + _6 ^# e$ q0 [& y
  946. ) N" h- B  ^( G* }: ^
  947. ; http://php.net/date.sunset-zenith1 D  b! h% r+ D: V
  948. ;date.sunset_zenith = 90.583333
    2 K" r7 p# y+ d7 H* u

  949. # u0 U" A  s2 ~  K( s2 p
  950. [filter]- N" u. J; Q" z5 M- l
  951. ; http://php.net/filter.default) O! A9 H$ y3 ?- h8 K# J; s4 v
  952. ;filter.default = unsafe_raw
    1 l! @. s* J* G) Y( v

  953. ! E% D: \) [. U6 _" N# Z5 l/ b" m
  954. ; http://php.net/filter.default-flags7 Z, y# k* `2 ~6 Y( L
  955. ;filter.default_flags =  L" a& ^& L' F  A
  956. & d+ u8 \) X( K7 R
  957. [iconv]+ w2 p( C; s: o0 p7 {% s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # N; u" D& T2 Y5 c. ^, h+ G
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) a1 W8 [4 r5 R1 e/ B/ T5 G3 @& K
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 _8 p% i* f$ ~/ c% ?8 G* E
  961. ;iconv.input_encoding =, S2 A/ M) ]% k* u! M3 O( R

  962. 2 \# P1 x0 Z' W; V7 n& v
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 i( |2 j2 `( u: W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., n0 [" A0 J7 }+ w' [7 Q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! T! `& Q) J0 J7 B
  966. ;iconv.internal_encoding =
    : a- ]' L! M! k1 R5 j* ^
  967. 9 X8 U) P2 f: [( f4 G/ t) b5 q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ) c* U1 a9 T5 k" R; \0 j0 y* G
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* f. Y6 V4 j; z, M: [
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding  k* X. y. t- @( ^# @' |4 Y3 t0 d
  971. ; To use an output encoding conversion, iconv's output handler must be set; S% p3 I9 k) \" Z" `% {% p0 ]: H5 Q
  972. ; otherwise output encoding conversion cannot be performed.  n9 |0 u4 q7 ^/ V8 i% K
  973. ;iconv.output_encoding =
    # n$ @: B9 ~5 k$ ^2 H% w- k5 w
  974. ' Y0 b' M+ W8 q' v
  975. [intl]" p  N. W: ^4 h- d
  976. ;intl.default_locale =3 v2 `* a3 g& Z4 h* `
  977. ; This directive allows you to produce PHP errors when some error  S3 o+ j7 B/ `* a
  978. ; happens within intl functions. The value is the level of the error produced.
    . n8 ]5 B; P$ k4 Q% n9 U8 i1 X$ H2 R. T  ]
  979. ; Default is 0, which does not produce any errors.
    2 D& W7 S& |7 J* _
  980. ;intl.error_level = E_WARNING: ?& e7 g/ k/ K) h3 l' o" k. d7 c
  981. ;intl.use_exceptions = 0
    9 _' ?7 Y6 ]; g8 I
  982. 4 r7 S5 }9 {, P! U* s- q: b6 X2 n: M
  983. [sqlite3]& z  V$ @' d7 ^) V" ]
  984. ;sqlite3.extension_dir =' t. u1 A" V) J  D. j8 [6 S! F. T

  985. 4 m4 Y' F  B# V
  986. [Pcre]
    & w9 V1 P: Y: a  K2 y. B" T6 I. I
  987. ;PCRE library backtracking limit.. _' K+ [. D0 {# i! |3 K3 k( a2 x
  988. ; http://php.net/pcre.backtrack-limit
    / u0 }* e$ X+ L) {' a
  989. ;pcre.backtrack_limit=100000: \4 y, u% `/ u9 {2 [  B8 [

  990. 4 w: g& a- @# A& D; _0 {9 t# c0 s
  991. ;PCRE library recursion limit.
    : F% c" X* a8 Q8 r3 S2 f
  992. ;Please note that if you set this value to a high number you may consume all
    / v4 w! W0 i8 b, ?$ G' U, H
  993. ;the available process stack and eventually crash PHP (due to reaching the
    0 p  T5 {! S6 m. a# d5 [9 O
  994. ;stack size limit imposed by the Operating System).
    * I7 L' _! g9 x& z
  995. ; http://php.net/pcre.recursion-limit
    0 Q% F6 \1 L  _$ J# ], O$ w
  996. ;pcre.recursion_limit=1000002 k  ~, o3 D( \( E/ T! [7 k
  997. , ]( @2 v, X8 V: J. n8 Y
  998. [Pdo]
    5 B* H" O2 ]5 r0 L' z$ m
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 a  z1 |* U$ C9 {( x
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ' J8 |. w( ]0 f: o% ]- ?
  1001. ;pdo_odbc.connection_pooling=strict; W9 V) [# H; A
  1002. 7 y* l% Z  D5 ^( g1 a7 A
  1003. ;pdo_odbc.db2_instance_name/ y" X) o2 w( R0 T0 }

  1004. % \& W' K5 g! W7 [" p9 K  _9 @
  1005. [Pdo_mysql]/ F* }3 G5 b' q( n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. Q2 z9 M# d+ a) J+ B/ t& _
  1007. ; http://php.net/pdo_mysql.cache_size
    7 W2 N+ y+ @* q8 M$ b
  1008. pdo_mysql.cache_size = 20007 g, v9 ]2 `/ g) {5 u& i% T
  1009. ( d# P% ^6 {+ _4 O$ b6 M
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % f- i2 g; s; K( W& r
  1011. ; MySQL defaults.6 e- N' Z+ B  q# C
  1012. ; http://php.net/pdo_mysql.default-socket
    ( {5 J1 C7 K5 \6 S
  1013. pdo_mysql.default_socket=4 k5 J& A8 u2 c8 F/ ]

  1014. 1 [9 J; G/ p4 H
  1015. [Phar]- p- @- A' s% `3 ^& B  n
  1016. ; http://php.net/phar.readonly, `, V8 v) G5 H( l1 P, v- {
  1017. ;phar.readonly = On
    5 U/ Y7 M: N& ]: j, d

  1018. 0 u) J8 Z+ x# r2 ?0 i" I
  1019. ; http://php.net/phar.require-hash
    5 x9 u! ?, h1 _8 c) `, u( C
  1020. ;phar.require_hash = On
    4 X2 e, V/ t* g) O7 a2 C

  1021. + e  K  r5 N. r
  1022. ;phar.cache_list =9 G. R, b, W* N

  1023. , J# x; s, u! K5 U. B0 D
  1024. [mail function]
    $ n2 |1 ^: O0 i4 W! S, l$ f' g
  1025. ; For Win32 only.
    1 `; G; A" x% x  g6 `! k' p
  1026. ; http://php.net/smtp
    8 ]" x" a% `1 ]6 b
  1027. SMTP = localhost
    ' M4 [, v9 a1 }, u5 a: O
  1028. ; http://php.net/smtp-port, ^2 b4 y' G4 v4 w2 z: k) z4 M
  1029. smtp_port = 25! _, Z+ q& |+ i0 p' ]8 T% V+ C( w

  1030. 4 V) @* |( C/ d$ y0 `% `5 I6 L% \
  1031. ; For Win32 only.9 [" l- b6 i8 n5 Z; n# _& G1 k
  1032. ; http://php.net/sendmail-from% s6 l5 D% V6 V1 \
  1033. ;sendmail_from = me@example.com- S& W$ g6 P. ^* }
  1034. ! w8 J1 o1 S3 }# ?/ _
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    4 {/ }' S! H  D
  1036. ; http://php.net/sendmail-path0 f; v9 |1 g" @- G
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    * C! A. ?( S& S1 _
  1038. , X) w$ {3 B( c4 M% v- F9 U/ J& {  q8 v
  1039. ; Force the addition of the specified parameters to be passed as extra parameters* A; y; i" g& S/ q
  1040. ; to the sendmail binary. These parameters will always replace the value of4 V7 l6 Y) g4 ~4 ]5 ^) Y4 R
  1041. ; the 5th parameter to mail().. r; T5 H- @# m6 U: K7 O$ [( G
  1042. ;mail.force_extra_parameters =
    1 t* m3 ?$ P6 X4 a6 b8 G8 n+ ]; N
  1043. 8 E2 @' a3 f9 c' R2 k8 T$ A9 z
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 f( C$ L9 K# u. M
  1045. mail.add_x_header = On- g# S# l- ?- N
  1046. 5 V2 F$ U! M. D2 q+ ]# t: I3 E
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    $ q1 K8 x- `) V6 ~
  1048. ; the full path of the script, line number, To address and headers.2 ^' j5 O% `- a( F. @+ X
  1049. ;mail.log =! a" Z8 D9 d3 A/ ^" R) i
  1050. ; Log mail to syslog (Event Log on Windows).. ?0 v! {4 _* I( `- w/ _: U
  1051. ;mail.log = syslog
    0 \7 m7 |0 w* t- ^$ H1 W+ U
  1052. ) E1 i+ i( x% e. z3 G) _3 m
  1053. [SQL]
    . I  v- R# Y2 S1 n' O9 ~
  1054. ; http://php.net/sql.safe-mode
    ( c+ |7 P! a. Z
  1055. sql.safe_mode = Off
    9 C2 K: K* v( s* e6 V& ]. q

  1056. " r: z' D& {! I/ |6 g4 G5 k0 V
  1057. [ODBC]
    ' d. U( e9 _* H( U
  1058. ; http://php.net/odbc.default-db8 I/ r1 H/ J, U9 K  {
  1059. ;odbc.default_db    =  Not yet implemented
    # B2 c  P! r* }

  1060. # v9 ?0 t, s, u5 _
  1061. ; http://php.net/odbc.default-user
    6 U, ~( s9 q8 w- s1 a5 N" q7 F
  1062. ;odbc.default_user  =  Not yet implemented
    0 P# B! S8 j6 k) f8 R+ k: ]
  1063. 8 j# v( f8 c) q1 n, e
  1064. ; http://php.net/odbc.default-pw
    7 @9 Q* K1 T4 T9 @! s( Z% J+ M
  1065. ;odbc.default_pw    =  Not yet implemented4 m9 {/ b7 h, e6 {3 }4 W# g

  1066. ' n) u" D$ W5 U+ k( I: e
  1067. ; Controls the ODBC cursor model.9 l4 e! _* n8 l7 s& W
  1068. ; Default: SQL_CURSOR_STATIC (default).
    5 y0 A! X9 R0 |% u* F* V6 K
  1069. ;odbc.default_cursortype
    7 T. _8 T5 c7 `0 Z& c1 q

  1070. ( h2 L% v7 e9 s, @7 G6 _) q
  1071. ; Allow or prevent persistent links.' l6 d! ^5 y0 M) I( x7 o
  1072. ; http://php.net/odbc.allow-persistent0 O* L7 h: V9 M% }$ c9 {
  1073. odbc.allow_persistent = On
    5 M7 b( r* |& }6 `4 n; k2 O' ]
  1074. . A! i: O, |7 {
  1075. ; Check that a connection is still valid before reuse.
    8 A( R: P& V7 L
  1076. ; http://php.net/odbc.check-persistent. Y- |* J- ^% ~/ h
  1077. odbc.check_persistent = On( F' P% u- y$ o1 ~0 k/ R' t& l1 G
  1078. / C" J% M- r. ?+ T$ K
  1079. ; Maximum number of persistent links.  -1 means no limit.. O* o# L% d- d" T' w$ j' x! N
  1080. ; http://php.net/odbc.max-persistent( y* s# I  `$ _  k& X
  1081. odbc.max_persistent = -1( T5 ]+ R* H0 H. g% b( w4 e

  1082. % t. z) M  S9 U4 X* |; w
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# U7 F1 K/ M: I& x
  1084. ; http://php.net/odbc.max-links
    " @. ^, b' v4 H' }
  1085. odbc.max_links = -1  P) d* K, m$ |, T, l; f

  1086. , `( K/ ]/ ^! B2 W9 ?& Z* m" @6 `
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    7 z* {; a. F; T" a: b7 x/ l+ b
  1088. ; passthru.
    8 ?) w- C3 [0 U5 B& f$ q$ K4 v! g
  1089. ; http://php.net/odbc.defaultlrl
    3 p5 X2 ]% B( S  h
  1090. odbc.defaultlrl = 40963 _2 u! N7 d: {% ~7 g
  1091. , m! c2 R1 o* R4 ^4 \5 S! J- J% b
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    : l& G8 R) b+ w* [2 y; d# J: y0 s) b" [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    " f0 `5 o& s3 c: P! @/ c
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 q8 ^; |/ Y& _+ y
  1095. ; http://php.net/odbc.defaultbinmode
    $ i* `( i6 m, v  x+ r
  1096. odbc.defaultbinmode = 1
    / v/ y0 I( ^; E; h3 \7 f
  1097. 9 Z, k0 j; Q" z( B6 n) P4 @) P
  1098. ;birdstep.max_links = -1
    3 g3 E2 }& L) W4 E$ ?
  1099. ; e5 T" a) t+ W) Z, r; E" x" N+ Y
  1100. [Interbase]
    . ^& O4 e; P, ~2 I/ c
  1101. ; Allow or prevent persistent links.$ d4 t. @" c/ M  a* A; G
  1102. ibase.allow_persistent = 1
    . i* ]: \& D6 }. N% S; U' @

  1103. 5 H% s1 z, u7 c3 C% e
  1104. ; Maximum number of persistent links.  -1 means no limit.  T* w, x/ s3 l# ?
  1105. ibase.max_persistent = -1
    8 ~( S" @3 b, K* F4 x" E7 A9 v
  1106. 9 g9 }3 u  u) \  }+ j- A: G3 T
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 ]) ?+ a$ z. S' L$ H
  1108. ibase.max_links = -1
    1 O" e& h5 v+ n7 ^& Y

  1109. ( r! s% S3 g7 F0 L5 c
  1110. ; Default database name for ibase_connect().
    ) R! v8 J. _7 |4 Z$ i$ O
  1111. ;ibase.default_db =9 n$ t- ~9 O: e* Z# A! ^
  1112. * n- q* U7 i* Z+ \
  1113. ; Default username for ibase_connect().  ]( k4 p: b6 u2 H  }& h
  1114. ;ibase.default_user =" X' h5 V- P- K" {" k% Q  O2 Q
  1115. ! _4 ]# i9 v1 I: G7 J$ _6 ^# H
  1116. ; Default password for ibase_connect().4 A- O0 p8 Y& ~) e
  1117. ;ibase.default_password =; b4 d& b2 {0 Z" x

  1118. / }* h: D; T) ?
  1119. ; Default charset for ibase_connect().
    , w! F9 L+ r$ M
  1120. ;ibase.default_charset =$ ^5 @- c5 D$ y# b# n! c
  1121. ! y. n8 P$ M8 j6 C- l& V0 U
  1122. ; Default timestamp format.* o0 Y1 g) {- B+ q" f( D% f
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ j3 Q1 v7 ]$ A! a! q9 j1 Z
  1124. 7 O0 V, u7 @) l3 |
  1125. ; Default date format.- b+ C' p9 G3 N* x4 K& E
  1126. ibase.dateformat = "%Y-%m-%d"/ I: y; i1 t$ _+ A1 `
  1127. ( s7 p! b7 e$ j5 S2 d/ ^; `) T0 Z
  1128. ; Default time format.
    1 M2 A8 o! ~! o" i: @
  1129. ibase.timeformat = "%H:%M:%S"
    8 P  x  s; L5 t3 t+ v$ E; y

  1130. ! f3 s5 W! I$ l: x, S
  1131. [MySQL]+ A* K% O& q0 ]# n# v
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 m5 I% N+ N" G$ O& ]
  1133. ; http://php.net/mysql.allow_local_infile& g1 @: c. x9 n4 Z' h/ B& E
  1134. mysql.allow_local_infile = On
    8 S( p1 D: ^0 j1 u+ \1 R+ [: K

  1135. + c3 N2 P5 D. s* _- A, m
  1136. ; Allow or prevent persistent links.
    5 h  J: ]3 H( b7 F' x9 v  s
  1137. ; http://php.net/mysql.allow-persistent
    # G+ d- B3 C9 j' s8 u6 n) \
  1138. mysql.allow_persistent = On
    8 x4 x8 H9 p5 ?

  1139. ( B1 B) @/ Y6 n  c4 q
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache- v# g) Q" }: V5 B; r9 I
  1141. ; http://php.net/mysql.cache_size
    + t' S# c5 A2 Z) h# a0 z
  1142. mysql.cache_size = 2000
    1 C! W$ K! K2 _7 N& M" T. V

  1143. # G8 H. W! U, L8 c( a6 {- r' Q# z* K
  1144. ; Maximum number of persistent links.  -1 means no limit.# v% m- v. L: p  R/ H7 r! v  b) q. n
  1145. ; http://php.net/mysql.max-persistent
    0 I' n) s9 }) [7 [* |
  1146. mysql.max_persistent = -1
    5 ^9 K+ v; e- M) T1 k
  1147. . P! L- _0 r5 i1 a& ]) N* K
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ~1 c. ?% j8 b( h% w( {
  1149. ; http://php.net/mysql.max-links3 ^  i* k7 Q6 \& n% V
  1150. mysql.max_links = -1
    8 K! D( q% B, Z5 m! O

  1151. ! D1 Z$ M* B9 n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 U1 L: _$ M6 |3 l
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- `1 Z7 K) f5 k) W/ v
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: o& Q# H5 i: ]6 Q/ I# O
  1155. ; at MYSQL_PORT.0 o4 j4 ]& k- R9 h7 g2 O5 E
  1156. ; http://php.net/mysql.default-port7 Q0 I4 T! [# Z7 W( H
  1157. mysql.default_port =, S9 d7 F, b: @2 @! ^

  1158. % Q( M0 L& v; ]* G# J
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 J2 R& e1 Z; U  d
  1160. ; MySQL defaults.1 ^1 ?3 i2 f7 y
  1161. ; http://php.net/mysql.default-socket" _* M' U+ N! \
  1162. mysql.default_socket =
    8 ^) K+ b. p- R

  1163. 0 |. H# ?9 ?( n. e
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).! n& I4 f+ A& |) z7 E
  1165. ; http://php.net/mysql.default-host
    8 i% P- P! k+ e, a* w5 U: u
  1166. mysql.default_host =# [, W; B( ~5 L3 n: H
  1167. 3 f6 u6 h' }! y8 r( h: S
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).3 G6 i/ C/ t* W
  1169. ; http://php.net/mysql.default-user
    # Z1 ]* s7 i- S- A$ g* b# x
  1170. mysql.default_user =
    6 q- P6 ^  S$ I* [& Y5 R; g9 B0 L

  1171. . I$ `2 F; M: C, r/ t. z* ^
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    0 Y0 |4 O$ K9 r
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.$ F0 M  I- ?, T1 ]# E& J3 {$ D: h
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")9 [. F4 W5 l& m( P) B
  1175. ; and reveal this password!  And of course, any users with read access to this( t  J' z* K' R# ?" ]& Y+ ?/ i% ?
  1176. ; file will be able to reveal the password as well., e0 {9 @7 L/ D) V
  1177. ; http://php.net/mysql.default-password/ Q8 v. @+ L1 G9 y/ x' ^% W
  1178. mysql.default_password =
    4 ?7 w3 h/ U0 O3 p

  1179. 1 h+ p$ H' k; n. G* n8 g0 G
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit: j7 W( D+ L; l- R1 `
  1181. ; http://php.net/mysql.connect-timeout0 b" w" L& d' j, C* b" D2 r
  1182. mysql.connect_timeout = 60
      J6 Z, G. b, h' `+ @6 A. ~) u

  1183. 6 [- ~2 z) ?0 q% x! f8 v
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    8 Z# J+ N; e+ ~: A9 `8 E1 V
  1185. ; SQL-Errors will be displayed.
    % m- X% V' z4 I5 Z& P
  1186. ; http://php.net/mysql.trace-mode
    ' L5 ]7 Z% R: {1 @* L$ p3 |, g
  1187. mysql.trace_mode = Off% P: r) i( [8 _" v3 r& J1 v% j

  1188. ) Y2 P& M6 L1 U, F- [
  1189. [MySQLi]
    7 l4 p7 j+ q0 Y9 a
  1190. * f! F/ h' I% t1 |6 A6 `1 p
  1191. ; Maximum number of persistent links.  -1 means no limit.- F9 i5 c0 i1 e/ U( F
  1192. ; http://php.net/mysqli.max-persistent2 B0 F, p' X: R$ m2 x
  1193. mysqli.max_persistent = -16 a) s6 p3 Q. O- }; _- f

  1194. + |) s. m( ^3 {9 Y+ P9 p8 h  ^
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; S$ q% \+ d5 x7 e0 j+ c0 }
  1196. ; http://php.net/mysqli.allow_local_infile
    , ~. \3 j/ f; j  N. w
  1197. ;mysqli.allow_local_infile = On1 x6 |: J/ s9 t, d8 ~  J8 v

  1198. 7 f. o# z; I; `& X$ ^
  1199. ; Allow or prevent persistent links.2 G1 m! D  c+ w6 f) A5 [' C8 [: a
  1200. ; http://php.net/mysqli.allow-persistent
    - M* K0 u: m6 [3 u2 [) J
  1201. mysqli.allow_persistent = On
    & `( w0 u- d" _% E
  1202.   Z4 D1 }. [% J
  1203. ; Maximum number of links.  -1 means no limit.
    + L( `% K' ]2 C/ l  U; |" e
  1204. ; http://php.net/mysqli.max-links
    8 K$ l. L6 F7 R* S" e* K' d
  1205. mysqli.max_links = -1
    ! k9 H' F* S& ]6 V# @

  1206. 2 l% {- R; ~6 k7 }  U+ |6 j
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 ?' b% J! E7 F; t+ o. G1 ^
  1208. ; http://php.net/mysqli.cache_size9 }& ^1 o) c8 o3 [  e. W+ w2 k, S
  1209. mysqli.cache_size = 2000
    # Y9 }; [9 N/ s
  1210. 8 }7 ^3 b4 |1 [, [/ v% a
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 H$ e8 X- R# H1 E8 @6 P, w
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , B6 r& n( H% |7 }  z. h, j( u6 s5 {
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + Q6 w5 Z$ f( t9 M7 w
  1214. ; at MYSQL_PORT.
    . u/ x& j( n0 z" B7 W* g, A5 w
  1215. ; http://php.net/mysqli.default-port" ]' Y! ~2 F# ~( H) i5 y9 o
  1216. mysqli.default_port = 3306& P! p2 k% G$ ]. Q# ~3 v

  1217. 4 d" a( C/ c; Y( ?9 P# M6 _8 c
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 F, O) P* J+ K6 J1 K" _# u
  1219. ; MySQL defaults.
    9 M' N' k& h4 N" e4 h- ?
  1220. ; http://php.net/mysqli.default-socket
    - ~; W, i" s4 d! h" ?8 a& d
  1221. mysqli.default_socket =
    * o: J9 [3 C# u# F4 R5 I

  1222. 0 D# Z7 f# b: s+ y
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).. w; [/ W0 z! W. W7 G
  1224. ; http://php.net/mysqli.default-host
    * a3 N; c6 d3 e& t& }$ }1 M
  1225. mysqli.default_host =+ ?. O' s+ s6 o9 F6 ^6 r

  1226. 6 b+ X3 b$ b. P2 w% j
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' A* `/ D* m. b% s$ l, |
  1228. ; http://php.net/mysqli.default-user
    : _$ W: [. I# [0 z
  1229. mysqli.default_user =! ^4 E$ f! d5 u" }; O

  1230. 1 i- g4 N- @( R8 A7 }& j9 B3 R" Q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " v" \& b" m& Q  q$ P
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    % ]& l% A3 `7 \, |- M! ?
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & k, j4 j/ W, }( n: i- u8 c
  1234. ; and reveal this password!  And of course, any users with read access to this
    / U8 z( X4 D/ S; {+ L: V
  1235. ; file will be able to reveal the password as well.& v, |& X! V0 l: [. n$ u/ X4 Y
  1236. ; http://php.net/mysqli.default-pw
    1 p/ V8 S  m1 S# _- Z5 z) f
  1237. mysqli.default_pw =
    ; _7 _+ ^$ B9 c0 ~$ n) S/ s

  1238. ' v; n# ?% q; h& K: m" N
  1239. ; Allow or prevent reconnect$ S' Y! h. y/ D- e; t3 k
  1240. mysqli.reconnect = Off
    2 a' \" x; @) g- W' m2 q: `# j. I
  1241. ' v" E* J8 w0 W& X+ f4 z$ o
  1242. [mysqlnd]
    0 R* s- G( x$ r; b4 _6 M  s* \
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be1 ^  M9 l: Z3 h/ |. {+ K4 a8 g
  1244. ; used to tune and monitor MySQL operations.  L0 N. r( X6 h& u
  1245. ; http://php.net/mysqlnd.collect_statistics
    ( K  n& t3 B# ^8 F' {
  1246. mysqlnd.collect_statistics = On
    % s% d* U2 ]% X3 K$ |  c: ]
  1247. . V6 r/ D$ f* P6 E
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 t3 i8 O3 T: w( l) x0 A
  1249. ; used to tune and monitor MySQL operations.5 Z: U, X+ s! r9 {1 c
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ' U; v' @% g( e$ ~0 S( P5 @
  1251. mysqlnd.collect_memory_statistics = Off6 {1 T& n/ p6 |8 S6 y) G
  1252. ; c1 ?0 P4 E, Q7 K: C2 |! ~! R
  1253. ; Records communication from all extensions using mysqlnd to the specified log1 H) G- X2 m" n1 @2 h  _# z
  1254. ; file.4 e% O0 @" ?- T( D) S5 k
  1255. ; http://php.net/mysqlnd.debug# N/ Y) G, e+ z0 z, x7 \
  1256. ;mysqlnd.debug =
    ; _+ F, f4 M$ e+ p) a* ?( }3 G
  1257. 1 t7 ~# c8 B6 N5 ^" W
  1258. ; Defines which queries will be logged.+ F  b, E! Q5 q
  1259. ; http://php.net/mysqlnd.log_mask
    3 u* c/ A7 K7 |" ?, O: _) |
  1260. ;mysqlnd.log_mask = 0) T1 }! x, ]' V. E1 i1 G  \
  1261. 1 B' K# p# `* [& W% m6 {# A
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    & X, \4 `' Y7 W/ K
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % J' H/ R9 O3 L
  1264. ;mysqlnd.mempool_default_size = 16000- x, q. C& G; N& i9 o
  1265. " U1 T9 F. y& I9 ~" r
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 h5 _: O& o& c' g9 w8 \( E/ v
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size4 N1 M1 q. s; |- X( f
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    7 H0 |1 p2 e" p% E6 h6 w

  1269. , R0 C/ s* q5 H
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in& s& }  y9 f" t8 P+ o5 \
  1271. ; bytes.
    " e/ {5 c' r- M0 D& E# R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size' ]0 K3 @0 ~: s% T
  1273. ;mysqlnd.net_read_buffer_size = 327686 r+ q) k3 C9 p4 R' g; W# R
  1274. 1 Q0 ?- E' H+ v
  1275. ; Timeout for network requests in seconds.6 T/ }3 v; y4 I) T+ a- F, E
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ! b& ~. m* j1 r9 _/ R2 J3 Z
  1277. ;mysqlnd.net_read_timeout = 315360000 M3 C/ l: `2 s: q

  1278. 4 Y- F0 [; T4 D0 S/ c
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ n: F/ w7 C" g
  1280. ; key.
    ! a# u7 \3 M  S8 |+ B; `. m- ?
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ( K* B! j4 v8 V3 l. Z" H( D: Q
  1282. ;mysqlnd.sha256_server_public_key =
    , |6 p# n" h5 K- N
  1283. 7 d; b5 t& X$ B! {
  1284. [OCI8]  S4 f0 S) z2 F% |8 C/ P
  1285. % _. M5 b" B# H8 P; x, }' N! o6 e
  1286. ; Connection: Enables privileged connections using external% r' B  l( U+ J1 G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : D* N* X1 F+ X3 W
  1288. ; http://php.net/oci8.privileged-connect
    ' \  A3 B2 j) [9 K3 g. M
  1289. ;oci8.privileged_connect = Off
    1 t- f/ ^* @# P6 x+ p
  1290. 4 `* C5 f1 U  E0 U% M- _6 c, t
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    # ?3 s3 }6 Z5 o, `
  1292. ; process. Using -1 means no limit.
    4 O' ], Y0 a, r/ N: v5 j
  1293. ; http://php.net/oci8.max-persistent2 [3 {, ~; @  w4 a; r
  1294. ;oci8.max_persistent = -1# v1 ]( J' g5 V

  1295. 8 f3 N9 j1 w6 G% `. B
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : |# z9 a0 e' V5 E" ~- }7 |6 Z! W% U
  1297. ; maintain an idle persistent connection. Using -1 means idle. _8 q( \* u$ q3 a- X, u
  1298. ; persistent connections will be maintained forever.
      G& `2 q+ `) Y% M" g
  1299. ; http://php.net/oci8.persistent-timeout& H9 J. K' z" S
  1300. ;oci8.persistent_timeout = -1
    # \' A, }* x5 V1 k7 x

  1301. 7 J0 Z, |0 a+ m6 K8 m5 H
  1302. ; Connection: The number of seconds that must pass before issuing a
    ! k) u6 G+ q) T$ t/ T% q
  1303. ; ping during oci_pconnect() to check the connection validity. When
    1 I/ \' A7 N) N- Y+ A
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" j; _+ r# b6 p8 }7 |4 K
  1305. ; pings completely.
    . Q% t) v& S. u2 x; h0 S) l
  1306. ; http://php.net/oci8.ping-interval
    + w, `+ N+ {; ]; i1 h
  1307. ;oci8.ping_interval = 60
    $ |6 m  H) {5 N& L+ f" j5 @; w

  1308. 1 K2 y6 ~6 b2 ^' L  P# F
  1309. ; Connection: Set this to a user chosen connection class to be used
    . c4 S% |% @4 }3 O1 E; H
  1310. ; for all pooled server requests with Oracle 11g Database Resident" J5 b9 t& T1 s8 N$ N
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    : G2 b% r9 z: l% f" m4 H8 G( v
  1312. ; the same string for all web servers running the same application,
    / S+ B* Y8 g: B
  1313. ; the database pool must be configured, and the connection string must
    ( Q! o7 u+ ]( R$ R* F* \
  1314. ; specify to use a pooled server.; C6 y0 l9 ~% H2 f& F* j
  1315. ;oci8.connection_class =7 `; \+ Y5 k, h

  1316. ( R; s' \* U( ~# H; c
  1317. ; High Availability: Using On lets PHP receive Fast Application
    % A+ m, f! m0 g* s$ R+ h9 z1 `( E& k
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 g  ^* N# G4 |3 L$ h
  1319. ; database must also be configured to post FAN events.
    + {% S. S9 T! z9 h
  1320. ;oci8.events = Off2 {9 ^0 V* m! P. d

  1321. , R$ f) ?' ?' h! b/ |5 C( {0 j
  1322. ; Tuning: This option enables statement caching, and specifies how
    / t4 T9 ^# C% f/ U1 m; p
  1323. ; many statements to cache. Using 0 disables statement caching.+ D3 L4 X$ k  g& m  ^
  1324. ; http://php.net/oci8.statement-cache-size  n5 |' c( z! e8 C5 h0 U2 P
  1325. ;oci8.statement_cache_size = 20/ {' ?. `, k3 c. ]1 x* L$ a! b

  1326. ( e+ ~, \; }9 v) Y3 E) O
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 W  O/ H% }4 y; u& N/ P8 K
  1328. ; rows that will be fetched automatically after statement execution.
    # Y; Q' K% m/ k6 K8 a% k# B% k
  1329. ; http://php.net/oci8.default-prefetch' r: l# G+ K: B4 U# _) D  S
  1330. ;oci8.default_prefetch = 1007 p  ~/ w- F3 u+ Z5 k
  1331. 4 T+ J6 O' J9 F& D  T- S$ Q/ E* H
  1332. ; Compatibility. Using On means oci_close() will not close
    0 l0 j2 \: V; b- l; T* z. a
  1333. ; oci_connect() and oci_new_connect() connections.$ y9 e9 T/ k& a: v' ^! ~
  1334. ; http://php.net/oci8.old-oci-close-semantics
    " ?5 H- c/ F: h1 {
  1335. ;oci8.old_oci_close_semantics = Off
    + S/ E0 c* l( B" Z' E* y  Y) K6 ]4 e

  1336. , ]7 V) |* I3 k* W
  1337. [PostgreSQL]3 y" S" }" x5 C7 J) R& G. g: d0 s
  1338. ; Allow or prevent persistent links.
    : F8 Z. \& y0 Q9 x1 h2 F/ j4 p
  1339. ; http://php.net/pgsql.allow-persistent, o- l1 Y- i) @4 t& |% _9 i4 `8 Z
  1340. pgsql.allow_persistent = On
    # Z1 p- F& j0 c4 ?3 b$ q& i) D
  1341. & D; `# J. V# R
  1342. ; Detect broken persistent links always with pg_pconnect().1 O' I; f8 K: t# O: R" J* l" A
  1343. ; Auto reset feature requires a little overheads.
    4 ~; S: b( h, `# [0 t7 ^6 m# ]
  1344. ; http://php.net/pgsql.auto-reset-persistent
    # U# g  \: I3 U0 G' y7 I) G
  1345. pgsql.auto_reset_persistent = Off. [; t5 k- W. V

  1346. " _& {4 X7 x0 Y
  1347. ; Maximum number of persistent links.  -1 means no limit.* L& y3 {+ N- ^6 h1 U6 s/ s) q
  1348. ; http://php.net/pgsql.max-persistent
    ! v8 D1 v4 j* r) e' C
  1349. pgsql.max_persistent = -1( r3 n9 x  ^. }, F; A# |' ~
  1350. % w# W, v! d* r
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) L" E& X* {9 M/ v& c
  1352. ; http://php.net/pgsql.max-links
    0 U, P8 T: Z$ q. s4 y& y
  1353. pgsql.max_links = -1, Z* b5 d+ s2 ?2 U. l" [
  1354. ) m+ U! ]: f3 c# @; i
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ' ]6 J2 f: Z9 g% x9 _
  1356. ; Notice message logging require a little overheads.1 A! N" C% g- i" ^+ O# Y9 A7 v
  1357. ; http://php.net/pgsql.ignore-notice# y5 w! z  f* @1 \
  1358. pgsql.ignore_notice = 0) O0 N; ?4 I6 g# \2 |/ l6 `& u

  1359. 3 a% X1 {% W8 j$ I3 h) p6 o% C! X$ b
  1360. ; Log PostgreSQL backends Notice message or not.7 n! S, M% g7 o# p
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( \4 T2 R4 ]! a( c
  1362. ; http://php.net/pgsql.log-notice% q$ `. F: C# w6 v0 }
  1363. pgsql.log_notice = 0
    : ]' A4 r  X6 T$ O( s
  1364. + d& P8 x6 p) G- w+ Q" o
  1365. [Sybase-CT]$ u" H4 I) K, k
  1366. ; Allow or prevent persistent links.5 |4 I  C4 E! P
  1367. ; http://php.net/sybct.allow-persistent
    6 ]3 E/ f. q" b2 B- n3 e7 l
  1368. sybct.allow_persistent = On$ _: y- ?7 W$ u  _; _* C- o

  1369. 4 t! d( M& F" w
  1370. ; Maximum number of persistent links.  -1 means no limit.+ w4 x5 C5 g! M9 A# T
  1371. ; http://php.net/sybct.max-persistent
    7 A) v8 t) M2 |) n2 d1 ^/ a
  1372. sybct.max_persistent = -1
    ( Z3 M7 [& C/ x6 q
  1373. + t/ j: @! m* ?) D! u; _
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - Y+ u1 T6 \3 S, b/ g
  1375. ; http://php.net/sybct.max-links
    3 ]4 T/ E  B$ q
  1376. sybct.max_links = -1. J, F' t+ x. k" [4 v, \

  1377. ! u) f6 \/ L( t& w
  1378. ; Minimum server message severity to display.
    % n& F9 c. h, U8 g4 q8 d0 \* f
  1379. ; http://php.net/sybct.min-server-severity
    / \' {  f% |7 _2 N# ?8 O6 p
  1380. sybct.min_server_severity = 10
    , L. X! L$ E8 q, i( W& m( Z' z
  1381. - V! P& J  a( y- D2 e  e+ Z
  1382. ; Minimum client message severity to display.7 T% J4 y" _1 e- J
  1383. ; http://php.net/sybct.min-client-severity- s% {9 w7 l/ g' J* k
  1384. sybct.min_client_severity = 10* M. J6 y* u9 N& j$ i7 h/ i

  1385. ) D: N* i" W( k' _. Y
  1386. ; Set per-context timeout
    3 p. }3 X  d/ n3 j: d
  1387. ; http://php.net/sybct.timeout# z) p" D; E4 s- Q: E2 V
  1388. ;sybct.timeout=
    3 w6 f1 R0 h4 s: M  C

  1389. & v. @; u, T& U6 S$ Z! R
  1390. ;sybct.packet_size
    , P: f; ]" U! o
  1391. 1 b. X' [7 }  Z0 }# G* i" {
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.' z- ^# c' {2 s9 M2 @4 v
  1393. ; Default: one minute8 N2 w' z9 N: w/ D7 T
  1394. ;sybct.login_timeout=0 ]0 W8 {. g5 U% ?- E/ B& Z
  1395. " p/ X; R' I. O
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.* P& n* N, |8 l& _
  1397. ; Default: none
    - [$ Q0 K2 n' ]3 N0 W! q
  1398. ;sybct.hostname=0 z+ Q/ h1 q, l* o2 Q3 ^
  1399.   n" F8 s( {3 _
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    2 T; w  ]% l: A# S! j
  1401. ; Default: 0
    6 g/ d- Z+ S2 y# A6 G# v, p3 B1 j
  1402. ;sybct.deadlock_retry_count=! r; C' k0 l) Y
  1403. 9 s. y2 ^9 T/ g/ y  t9 m
  1404. [bcmath]) B$ U! M( F* t3 w8 D, E5 Z
  1405. ; Number of decimal digits for all bcmath functions.
    5 L6 o; X7 b# P8 u4 J% A
  1406. ; http://php.net/bcmath.scale) Y1 E4 e: U/ u) v* h$ s  W( [
  1407. bcmath.scale = 0
    ! A, {& }: M; @! {3 F

  1408. 5 S# h! F& g8 |/ b$ {/ B0 L! |
  1409. [browscap]
    ' j- g. S1 i( b  G. k7 g( s
  1410. ; http://php.net/browscap6 S/ h) N- `1 P4 Z4 {1 ~' W& w
  1411. ;browscap = extra/browscap.ini
    # T, U% d7 l. d3 J/ M) U
  1412. . _+ t+ }4 q* @& |' @6 S+ G5 a
  1413. [Session]
    7 |# i5 c8 S  H; g" `" n; a
  1414. ; Handler used to store/retrieve data.
    3 M/ K+ ^: G. O& u0 T- q
  1415. ; http://php.net/session.save-handler
    + }1 l" T& v. ^7 t9 y! S
  1416. session.save_handler = files
    ' R# P) j' Q1 P) o/ n

  1417. 8 a; m% q! P0 p3 ?
  1418. ; Argument passed to save_handler.  In the case of files, this is the path/ I* t3 D5 g* ]- g" k1 i* [
  1419. ; where data files are stored. Note: Windows users have to change this( B" i: k9 _4 H8 D
  1420. ; variable in order to use PHP's session functions.! x& o, l+ f9 _' t; C: j
  1421. ;! z" t, c6 w& K; z* d. N' j% V
  1422. ; The path can be defined as:6 j! b$ g6 a: B3 p; {8 j# ~) O
  1423. ;
    3 o4 f) p$ P" D( m
  1424. ;     session.save_path = "N;/path"  Y0 x- w) v  W0 `( |# x% a/ v2 Q. {
  1425. ;5 i% W6 {' v+ Q
  1426. ; where N is an integer.  Instead of storing all the session files in2 f) R0 l# `2 t7 J' I: W2 M
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    2 a, J2 M3 _: y, b' J- B# T. e( D& m
  1428. ; store the session data in those directories.  This is useful if! X. R; s3 t! h: Z/ K/ D( _
  1429. ; your OS has problems with many files in one directory, and is' ], Z7 Y5 o/ G% D! B. w
  1430. ; a more efficient layout for servers that handle many sessions.! H/ D* ~1 v9 P, v
  1431. ;
    ; \# @  g% @7 d8 W( C* i8 l
  1432. ; NOTE 1: PHP will not create this directory structure automatically.9 n) G! O; [  K- X3 N) U3 n
  1433. ;         You can use the script in the ext/session dir for that purpose.
    $ F& K- E7 z2 J5 k" b! r% q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to' S) D, h% ]* f* [* y
  1435. ;         use subdirectories for session storage
    $ Q: \! \- m! ]( _! z$ w& n
  1436. ;' Q' d* ^+ M: Z' I
  1437. ; The file storage module creates files using mode 600 by default.% O% r: J0 |9 D! f6 |
  1438. ; You can change that by using
    0 Y( K- H+ Z" T! J3 m6 V( S8 `' r
  1439. ;
      r1 Q; t1 c& R6 M9 H2 r
  1440. ;     session.save_path = "N;MODE;/path"
    5 G3 f* \6 Q* d
  1441. ;3 S0 ^4 e2 @. W& Z: i
  1442. ; where MODE is the octal representation of the mode. Note that this8 _( S7 y3 X: ]) ^. c
  1443. ; does not overwrite the process's umask.
    & Q2 J+ f" ^- Y/ A& z, K9 q' b) n
  1444. ; http://php.net/session.save-path
    % j" S( }& B# F  i$ m: r
  1445. ;session.save_path = "/tmp"8 w) i. Z2 W  |7 v. n, R0 l
  1446. # C. T6 Z! q; W
  1447. ; Whether to use strict session mode.4 H- w" g/ _, n0 {: h4 y9 F) ]/ u* }
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    % R/ `, U* r/ Z6 g& O
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects' D9 V4 l# i% X9 P5 q
  1450. ; applications from session fixation via session adoption vulnerability. It is8 X" p" _& |9 f( f0 B2 ~
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 i# P- X0 q5 ~+ m
  1452. ; https://wiki.php.net/rfc/strict_sessions" p$ r7 W- o5 g/ ^; G$ U6 q
  1453. session.use_strict_mode = 0
    ( @$ }8 K: o8 ~3 W9 }( T. z

  1454. 1 T2 N" i4 a, _/ l1 p5 [. \- q% {7 L
  1455. ; Whether to use cookies., F/ B) I& E$ D9 o
  1456. ; http://php.net/session.use-cookies( X; M! g1 |! o, ?% y. R% W
  1457. session.use_cookies = 1! f/ r: p  @5 B/ }

  1458. 3 g7 W8 {$ s( U* ^) x
  1459. ; http://php.net/session.cookie-secure+ k- p! v9 m! D
  1460. ;session.cookie_secure =0 ]9 \2 @1 ]1 N2 N8 S

  1461. 7 D7 }! M$ {0 L; s  ?% \# [
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 B5 D* a! B  g, i* u
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 A% \( s4 w. a5 U
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( w, m' Z: {0 N3 F) z* Z! f3 u
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 Y$ B' s) A; v# J# b
  1466. ; http://php.net/session.use-only-cookies7 z4 V) l  w7 T* R, N- I7 x* C
  1467. session.use_only_cookies = 1: F! `7 x: M3 }
  1468. + ?2 {" C* C  a. @! t8 v
  1469. ; Name of the session (used as cookie name).7 q# g# k( X* e  q- [
  1470. ; http://php.net/session.name
    # }3 d1 `  o+ L- i5 {
  1471. session.name = PHPSESSID
    ; a9 O/ n" C7 R3 h

  1472. - [# R* v- Q* J& V4 \: D" l
  1473. ; Initialize session on request startup.
    + H, w& _/ i* ?! I4 B* s! U
  1474. ; http://php.net/session.auto-start* @' E! i( G  x3 x' G
  1475. session.auto_start = 04 J1 K2 k& ]% f4 D3 u3 t
  1476. 2 Y2 Y: }- O. D5 K2 J1 L
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    0 p& R. s; Z6 a
  1478. ; http://php.net/session.cookie-lifetime. x% g. o" E, Z! S2 ^& h% ]
  1479. session.cookie_lifetime = 0
      d/ c4 Q, R6 A& D6 `$ o7 I

  1480. ) e) ]5 T/ _, T2 Z% X8 Y/ @
  1481. ; The path for which the cookie is valid.
    1 X2 c+ Z7 h8 e- U# a$ m# J
  1482. ; http://php.net/session.cookie-path
    ) b7 V- ?! J7 h  M# j4 t
  1483. session.cookie_path = /% j+ T5 t3 B3 _' ~/ F/ [
  1484. ; U! {$ K1 w; W
  1485. ; The domain for which the cookie is valid.2 J) N  E7 K2 N9 h0 V4 Z
  1486. ; http://php.net/session.cookie-domain
    3 J" c* u% |; Y# v* A, }% b5 T
  1487. session.cookie_domain =
    ' E: ~7 _* T: Z. A& E6 E5 `
  1488. $ `* @# l1 c* ~) V/ V
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 m5 v  j0 I) c- M! \/ w
  1490. ; http://php.net/session.cookie-httponly4 d4 l: Y" t* S) x- g% r
  1491. session.cookie_httponly =' C! D" N1 W0 R% d2 P
  1492. ; b5 K2 C; A/ p9 T5 y0 ^1 e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 s, T. N5 _3 Q  R8 i
  1494. ; http://php.net/session.serialize-handler! }6 I* U7 B) e  _& z) a. ?/ h3 F
  1495. session.serialize_handler = php+ y% H9 w" P/ k% Z% P
  1496. ! N* N: ]: a( g2 b$ g
  1497. ; Defines the probability that the 'garbage collection' process is started
    & K& E% E) v; m, s# E' `+ q& K4 E# O2 B6 |
  1498. ; on every session initialization. The probability is calculated by using
    # Y, H8 d) w1 }3 {4 A" e- j# M' f
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 e( E* ~0 C- K3 Q% q% k
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
      X! S$ h8 _! Q, y
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # k9 v4 a- U" U+ |' N: W
  1502. ; the gc will run on any give request.
    ; ]3 ?$ b! z' J7 u
  1503. ; Default Value: 1
    0 l" X" X& N1 ?+ M& g5 e! S% V2 ?, m$ b
  1504. ; Development Value: 1: n4 y0 V# [. v- b
  1505. ; Production Value: 19 u4 Z) S+ n: O7 n: M- q; T1 r: F
  1506. ; http://php.net/session.gc-probability
    7 p+ |% B& P! g0 k$ |6 K
  1507. session.gc_probability = 1
    4 I8 S  J5 Z/ i7 E, M& W

  1508. # ]5 {8 G) I  p- Q" F3 }, e  S
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ; [5 v' ?) I& Y, ~
  1510. ; session initialization. The probability is calculated by using the following equation:+ h; ~; ~+ {4 G
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 }+ A6 T7 n% E$ D# T6 f
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " Y& h: r0 x6 K
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 i, g, T5 \1 t% G$ Y
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 z9 j9 o' g  ^# F8 K. {
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 @- ]5 L. V4 I
  1516. ; this is a more efficient approach.7 r7 Z, u  F/ d! c! D. Z% [; D, R
  1517. ; Default Value: 100
    1 U: A9 Q0 e$ k
  1518. ; Development Value: 1000
    9 ?0 p( K/ Z6 C. P: S
  1519. ; Production Value: 1000
    - l9 F. _4 x# M2 z1 l
  1520. ; http://php.net/session.gc-divisor; h2 U" h  V5 @
  1521. session.gc_divisor = 1000
    ' V) @2 b- c( i7 y
  1522. + ?% a8 q, F: O# q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    & ~& U( X. w" t! K5 l) ~" Q- C
  1524. ; cleaned up by the garbage collection process.8 Y' l( c0 D; M# A. V8 e0 X" A
  1525. ; http://php.net/session.gc-maxlifetime) b0 E4 t6 m; f+ D
  1526. session.gc_maxlifetime = 1440
    , J0 j9 i6 b  g" H$ @! p1 k
  1527. $ E0 U# R4 ^7 D  h( S
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    4 V  l, o& |$ @7 `  G
  1529. ;       (see session.save_path above), then garbage collection does *not*9 J6 O) k, a3 G, q& g* [
  1530. ;       happen automatically.  You will need to do your own garbage' k$ c+ J/ \' R$ D/ |2 m
  1531. ;       collection through a shell script, cron entry, or some other method.
    : j: \# T$ V' ~/ b
  1532. ;       For example, the following script would is the equivalent of, b. s! o; A, _; v% J# m! ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * }& ~) T# E% I! c, p9 I
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% _5 l) @$ G, N. h
  1535. ; P$ c$ P% [# p, @' J. j1 G
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # K/ h7 b$ a6 [, r( A. ^
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    : U$ W, h* a% _+ N1 w% C
  1538. ; considered as valid.2 W- q- e- p& J  V6 _! X
  1539. ; http://php.net/session.referer-check0 I- \8 C8 h! P" f9 u, g
  1540. session.referer_check =
    6 a$ F7 o, [8 G. _% r; u
  1541. . q9 @! m, {, Q6 O% v" W: Q
  1542. ; How many bytes to read from the file.1 d# i4 ]/ |  ]) w* u0 n: `
  1543. ; http://php.net/session.entropy-length
    5 ?" y7 m2 N3 q. ]  ~4 E/ H
  1544. ;session.entropy_length = 326 H5 ?' ?8 J& t/ Y; f. }

  1545. / f' P2 Q  v- W3 D
  1546. ; Specified here to create the session id.1 O5 W  ]" L. l
  1547. ; http://php.net/session.entropy-file- v9 P: r$ `$ a& R+ k0 z
  1548. ; Defaults to /dev/urandom
    6 A9 [4 X6 O  v, u! V7 \( e9 ~7 k3 f' C( b
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 S) S" n  }/ I- P( Q
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ A' M2 b0 W0 |5 @0 g, Q# a5 N/ o7 C
  1551. ; On windows, setting the entropy_length setting will activate the
    % r) f2 u# U" ~% ]. v. |
  1552. ; Windows random source (using the CryptoAPI)
    6 n( C0 l+ g/ X/ G' x! o4 }- o2 I
  1553. ;session.entropy_file = /dev/urandom
    3 @! e* m+ t, ^; d# c0 Z
  1554. ! t% v  A! a2 w& Z" L" @
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    4 q5 O) ~/ d5 h9 L/ }% k+ }
  1556. ; or leave this empty to avoid sending anti-caching headers.
    7 x: D1 |6 Z- {' C, i  X! @
  1557. ; http://php.net/session.cache-limiter
    1 m" n( b& e7 U+ L
  1558. session.cache_limiter = nocache5 o5 C, a8 [" U1 p0 j' p% @' D

  1559. ! C! x7 W& S$ O+ m: j
  1560. ; Document expires after n minutes.7 ~! Z5 ^) P4 g; Z' ]! c+ x7 U7 t
  1561. ; http://php.net/session.cache-expire8 C% X& l, o1 x3 c4 @
  1562. session.cache_expire = 180" J6 v9 t# N) i- @) h, Z( T
  1563. 8 J! e" a6 N' y9 @# |
  1564. ; trans sid support is disabled by default.
    2 Z6 U5 {6 N  s! Q( X  u' f+ Y
  1565. ; Use of trans sid may risk your users' security.8 }. ?3 O! X6 m' C! F5 ?
  1566. ; Use this option with caution.
    4 B5 @. m0 I: Q. s7 N  ]
  1567. ; - User may send URL contains active session ID' u% N# i/ N1 ~- X8 x
  1568. ;   to other person via. email/irc/etc.3 C8 p7 T# m& ?0 L# d+ D
  1569. ; - URL that contains active session ID may be stored
    7 t& A8 W. Z( `( _# k
  1570. ;   in publicly accessible computer.; b- J1 C* c8 t* {& |( D% Y
  1571. ; - User may access your site with the same session ID" d  B. \6 \% }' f' R& @
  1572. ;   always using URL stored in browser's history or bookmarks.
    ) \: U2 m9 I8 f' F- r: N
  1573. ; http://php.net/session.use-trans-sid
    & h2 Z9 o( D( @/ F
  1574. session.use_trans_sid = 0$ `3 T7 O8 b  ~; ]

  1575.   x5 q2 d6 c" G" }
  1576. ; Select a hash function for use in generating session ids.
      A3 {4 F2 R# X
  1577. ; Possible Values
    2 o- Z4 x$ C3 u% R$ B# X: w( u) L
  1578. ;   0  (MD5 128 bits). G, K7 _0 o0 U; N% L; d1 A2 y
  1579. ;   1  (SHA-1 160 bits)9 h2 [6 Y4 h# H* o2 M
  1580. ; This option may also be set to the name of any hash function supported by& o, M: [# c+ @# h
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 `8 z1 G0 v$ g
  1582. ; function.# s+ M' G- g- E; E- K
  1583. ; http://php.net/session.hash-function
    + w0 j- \( ]# V9 f9 B
  1584. session.hash_function = 0
    " g- i0 F2 u6 v% T# c

  1585.   Q! [& F  i6 [5 F, N
  1586. ; Define how many bits are stored in each character when converting
    ) H: y( {! k& D8 e# @
  1587. ; the binary hash data to something readable.: {3 x& d1 I+ f" c, z0 z) U7 q" ]
  1588. ; Possible values:
    ( ~* j) L$ }0 I3 ~* Y8 c9 i* L
  1589. ;   4  (4 bits: 0-9, a-f)& X( q' I2 ?! F. a3 _) G
  1590. ;   5  (5 bits: 0-9, a-v)
    : k; ^6 H2 M. Q3 v, T, M% Q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 S! R  T, g) m/ y5 F  C
  1592. ; Default Value: 4
    . N4 ]3 o2 m! Z
  1593. ; Development Value: 5
    ( Q, A# q: g1 ]+ {' I) K4 h% U
  1594. ; Production Value: 5" F' Q4 I1 g5 E) V- U
  1595. ; http://php.net/session.hash-bits-per-character/ S9 x& s8 R! n' B8 O" ~7 Y+ @
  1596. session.hash_bits_per_character = 5
    7 |* z1 M' F! z8 V. {0 ?* M
  1597. - w# c# k: Q- [- V* q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.  a# A$ k; b5 W4 l
  1599. ; form/fieldset are special; if you include them here, the rewriter will2 v3 b8 J/ o7 [5 u
  1600. ; add a hidden <input> field with the info which is otherwise appended9 e8 S$ J5 |! e4 @
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 {8 P6 |" \8 m, e  M- F! |
  1602. ; Note that all valid entries require a "=", even if no value follows.  x4 t" c: u: K9 G/ N8 U& r
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="& V  j. s$ H) h' ]) W- x
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 `( k4 w/ F  z3 Z4 ^. }
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 N: f, r$ U! l- `( r9 K4 [4 j$ z5 t
  1606. ; http://php.net/url-rewriter.tags
    + @# b* |3 d; T6 \
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + d- k. ~" K. k7 B% i$ F

  1608. 6 @+ [9 Q' K9 ]+ x
  1609. ; Enable upload progress tracking in $_SESSION' E8 r- d9 X) J! {
  1610. ; Default Value: On; A/ e- W) j8 C+ x. z0 Y4 X
  1611. ; Development Value: On
    0 e$ Z) A" z' B1 o" F
  1612. ; Production Value: On6 s4 O/ T: S0 y, d! p
  1613. ; http://php.net/session.upload-progress.enabled6 _5 P2 }- A$ @7 A1 H+ a6 K
  1614. ;session.upload_progress.enabled = On
    3 _2 C7 V  `/ D: k! ?
  1615. 1 O/ K$ z: x8 X7 a' B
  1616. ; Cleanup the progress information as soon as all POST data has been read, V' J: |0 C* s3 z; N% C2 K
  1617. ; (i.e. upload completed).( |& t: d' x4 l: N, E% ]
  1618. ; Default Value: On& H; a+ c4 r* n$ j
  1619. ; Development Value: On
    + g; m# _2 O6 q8 C2 A
  1620. ; Production Value: On
    ! W1 j: H5 w4 L! ?; M. ~; l$ w
  1621. ; http://php.net/session.upload-progress.cleanup" R+ O4 f5 h6 [- r3 I' C
  1622. ;session.upload_progress.cleanup = On
    . ?- o# Z/ L7 m: y& x
  1623. + ^; \% ~5 g( m6 V  D
  1624. ; A prefix used for the upload progress key in $_SESSION: W. I( u( E1 {3 T9 F9 G! v
  1625. ; Default Value: "upload_progress_"
    / r$ u( w3 l8 g5 O+ {) [) l1 i6 R
  1626. ; Development Value: "upload_progress_"* j, u2 P5 n3 s  e
  1627. ; Production Value: "upload_progress_"
    * q! u% @+ _  P: B6 O4 e- `6 i
  1628. ; http://php.net/session.upload-progress.prefix5 L7 E- Z5 ~/ c+ O7 K0 T! `
  1629. ;session.upload_progress.prefix = "upload_progress_": l7 J$ b, ?4 O8 b. Z0 Y: y6 V3 f
  1630. 0 }" h$ ?& A) g" v
  1631. ; The index name (concatenated with the prefix) in $_SESSION! k* _2 d; V. i$ U$ `- _- _
  1632. ; containing the upload progress information7 I5 Z+ o) n6 U$ y, D
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 [, r# u. @. `. W% b1 f! o& H
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % t# w0 N! ~8 T' e6 B
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) [- _4 L) y. S! R) v6 g# E
  1636. ; http://php.net/session.upload-progress.name
    ( Z: \0 y1 _! Q6 D
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* K  v& r; k2 V3 n+ e. w4 B8 a5 F
  1638. & P/ t7 n# o0 x5 o4 Z, w$ }! T
  1639. ; How frequently the upload progress should be updated.* F( B7 |! s/ D! j2 C/ H, Y( v$ W; ~
  1640. ; Given either in percentages (per-file), or in bytes5 B- y0 @4 `& t: k8 n$ u
  1641. ; Default Value: "1%"1 l3 }& b! @( |% _+ D. Y
  1642. ; Development Value: "1%"/ h" a/ i2 T: U* M4 x
  1643. ; Production Value: "1%"
    2 Z- a" D% A3 W* {, j. N2 i( f
  1644. ; http://php.net/session.upload-progress.freq" I, J; D: j3 `4 U' X
  1645. ;session.upload_progress.freq =  "1%"8 b$ j" G) b! l2 P4 ]3 I! `

  1646. 8 S+ V. c& Q  W# {7 j1 C; T
  1647. ; The minimum delay between updates, in seconds3 M* ~+ }# m' M  L& ^  n
  1648. ; Default Value: 1
    " y% J* A" i9 Y+ J  U
  1649. ; Development Value: 1
    9 Q0 `/ O% s4 L# z* X  \
  1650. ; Production Value: 1; c& }  b; b1 n8 O) B- z/ Z) J
  1651. ; http://php.net/session.upload-progress.min-freq: O; I6 a" |$ F0 \% _4 T8 f
  1652. ;session.upload_progress.min_freq = "1"; o5 i' C2 A6 w- v* H$ t

  1653. 6 |1 l: C4 g- q1 @2 |
  1654. [MSSQL]
    . P9 h  O0 |+ W" s4 N
  1655. ; Allow or prevent persistent links.
    6 J4 `& G" I, o9 d
  1656. mssql.allow_persistent = On+ q$ P3 n. V3 D; f9 ^" e

  1657. 5 Q& }; H6 O: ]+ Y. Q4 h5 t) m
  1658. ; Maximum number of persistent links.  -1 means no limit.
    7 z3 j! u+ e6 f0 Q
  1659. mssql.max_persistent = -1
    % ^* G6 M# e" C  }, G
  1660. 7 I$ t& w# ]4 V7 l' A, M( A8 Q& G: q
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " R$ l1 g( e8 d
  1662. mssql.max_links = -1; \9 w6 v& ?& h

  1663. ' x7 ?( z) m, C$ C0 F, b
  1664. ; Minimum error severity to display.1 a4 v! j% @9 v8 j3 a
  1665. mssql.min_error_severity = 10
    / A! m5 ]6 b3 N: B) A$ T
  1666. % T3 f4 [1 ?5 {" x  l
  1667. ; Minimum message severity to display.
    6 {. h: |& C5 v; o7 t5 e
  1668. mssql.min_message_severity = 10" V" X& e; s! |0 [

  1669. " p* A) }. D) v
  1670. ; Compatibility mode with old versions of PHP 3.0.
    % z: {0 k) k. H7 b( x+ V9 X
  1671. mssql.compatibility_mode = Off
    , c  E$ |, B2 }

  1672. $ a8 r3 o: r  B- c! k9 Y
  1673. ; Connect timeout, z0 a6 J$ P- c2 ]1 d. t5 ~- P
  1674. ;mssql.connect_timeout = 5
    ( V" @, }) K( f6 y, }; b$ e9 r

  1675. ) P8 L* m6 \) O/ ?1 b
  1676. ; Query timeout+ Z. G6 z/ T/ ]  N3 T
  1677. ;mssql.timeout = 60) M0 r( D0 n8 ^' K  e( Z( J- B8 w

  1678. 9 v. K) Z- m5 X) O' a: m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.* B' z. L) g6 s: D. T) G/ Z
  1680. ;mssql.textlimit = 4096
    4 [( c/ e0 `, ?& \- Q% X' p

  1681. ) W1 v& ~: e/ V4 h1 k  ]1 M
  1682. ; Valid range 0 - 2147483647.  Default = 4096." \. S1 k1 i" S: P4 |6 b& J7 C. u6 b  M
  1683. ;mssql.textsize = 4096
    % V) L$ t" w% ^3 n3 r4 l) R
  1684. / F! D: B( ~7 q2 u
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 s/ z. a6 F) ?2 Z
  1686. ;mssql.batchsize = 0
    9 {) z; |. }7 X6 _' Y% J6 o+ I, H
  1687. 3 h8 L, M0 X# g
  1688. ; Specify how datetime and datetim4 columns are returned
    " e' v2 C% `8 k8 d% O7 V
  1689. ; On => Returns data converted to SQL server settings& _- X8 e& y( E* {  _
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 i/ a0 l) i& _, a# q9 e0 w
  1691. ;mssql.datetimeconvert = On
    % j# n1 ~: E9 N
  1692. # ^1 p; ]7 M/ W7 P% v7 l
  1693. ; Use NT authentication when connecting to the server
    6 x2 O9 M2 ?/ s3 U+ |
  1694. mssql.secure_connection = Off: h$ f! B3 S& k+ g; v* i

  1695. & L5 w2 g5 [, ^) r; V
  1696. ; Specify max number of processes. -1 = library default
    5 A/ j- Q1 G  S; b
  1697. ; msdlib defaults to 25
    5 `' x+ i9 T& D4 b4 e4 i: @
  1698. ; FreeTDS defaults to 4096
    ( K  o0 O6 ?- T; Z% K! q8 s
  1699. ;mssql.max_procs = -1! H  }% V, k. o8 s9 e5 o) t8 D: G# I

  1700. % v: V+ `. h  Z2 p8 V) F
  1701. ; Specify client character set.
    % o9 \3 p  N) ?4 u; a
  1702. ; If empty or not set the client charset from freetds.conf is used* b4 v1 M, m, I5 ^
  1703. ; This is only used when compiled with FreeTDS3 o$ @) q- G7 [$ }0 F4 A
  1704. ;mssql.charset = "ISO-8859-1": s8 a9 C; ?+ ~" p, P
  1705. 9 t/ P) o% a7 e
  1706. [Assertion]
    2 B% k( O. [6 \6 I
  1707. ; Assert(expr); active by default.
    6 R5 L! ?* Y" m. Y
  1708. ; http://php.net/assert.active
    ! Q! M' l+ |$ F4 n* A$ K) v9 b, E
  1709. ;assert.active = On
    ) f, V( y, L" ~; w& c
  1710. ; q8 s3 b* P8 U: W3 X+ ~
  1711. ; Issue a PHP warning for each failed assertion.4 {2 @# t- J: h( R" Z
  1712. ; http://php.net/assert.warning
    % y$ q; p/ D- e3 C: l" B$ I3 r( P
  1713. ;assert.warning = On
    * y- N6 ~  I# l# M

  1714. 8 L% {8 C* K* V  O
  1715. ; Don't bail out by default.
    / u& i- w5 R$ q1 H- p7 Q
  1716. ; http://php.net/assert.bail
    * M: {/ D) d, i* d$ y
  1717. ;assert.bail = Off5 k- s2 \5 M7 W; E% i7 E% X
  1718. 1 k7 ^/ P: e$ h- `% a4 z3 x
  1719. ; User-function to be called if an assertion fails.
    / b+ z" I/ h# m6 z# V: O6 L
  1720. ; http://php.net/assert.callback
    & y: I1 W8 U' {% _6 b
  1721. ;assert.callback = 01 [4 G1 J' U! ^/ R9 V, d* q$ P6 T/ i
  1722. ) q* m% J$ n3 z6 L9 X7 \. D
  1723. ; Eval the expression with current error_reporting().  Set to true if you want4 @, g/ F  Z$ g# f
  1724. ; error_reporting(0) around the eval().+ S, I) F! ^! |+ `- n! p/ `
  1725. ; http://php.net/assert.quiet-eval9 f7 K2 j: a+ a. K: k5 z2 B8 O& r) J) e
  1726. ;assert.quiet_eval = 0
    1 v: f7 E7 v& A* C& t. E6 }0 j% q
  1727. . y3 m$ s7 X. i
  1728. [COM]
    ' v: j7 o* o1 S( \
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs2 f" A. H( X& M( {3 D+ S- H: \' P
  1730. ; http://php.net/com.typelib-file
    4 \. }3 j" G9 ]7 m- r$ N* e( F
  1731. ;com.typelib_file =
    4 Q4 i9 @  E! O+ S8 G4 ?9 Y2 N6 W$ r: K
  1732. % M2 S3 H9 u9 B9 |& e
  1733. ; allow Distributed-COM calls! y/ W( {$ q  [) K
  1734. ; http://php.net/com.allow-dcom
    1 K, c* x% ^7 ]$ q( S: ?& q- J
  1735. ;com.allow_dcom = true
    1 N  V- Z9 C) E, d0 x& A
  1736.   J/ r, ^7 X5 T
  1737. ; autoregister constants of a components typlib on com_load()
    " A: H& L* Y' W4 v5 e
  1738. ; http://php.net/com.autoregister-typelib
    6 g* i9 W, }% y: f9 g
  1739. ;com.autoregister_typelib = true" \& @8 O1 n* w2 k2 s, S

  1740. / l# i, f" ~) |! v5 c2 b4 i
  1741. ; register constants casesensitive5 Z, t- I+ |: p0 K0 q
  1742. ; http://php.net/com.autoregister-casesensitive
    4 M% M$ Q& N. T6 e0 S
  1743. ;com.autoregister_casesensitive = false- u  _, }4 {' l2 Y: ~) R
  1744. " v$ ?0 S5 K" J; h2 V1 k1 Y
  1745. ; show warnings on duplicate constant registrations5 W0 ?" r, Q; k' Z
  1746. ; http://php.net/com.autoregister-verbose7 R/ c7 `: @3 j- z5 f! `3 q
  1747. ;com.autoregister_verbose = true  B. T5 e9 {4 g! x( L
  1748. 1 |1 G) i8 j4 [
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 E( D& ]' R- F+ `2 W- a
  1750. ; Default: system ANSI code page+ m* |1 s8 w% q& _7 ^: c. K4 H
  1751. ;com.code_page=
    ' L9 P$ T5 j2 Z4 }2 c! ~$ o
  1752. 2 n0 ?. y/ o4 a' q$ s" R
  1753. [mbstring]
    ) l8 f, W* L$ O7 \2 v* d1 ^  P/ c
  1754. ; language for internal character representation.2 ^! G- y0 q9 z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.( V; s  v7 X7 L
  1756. ; http://php.net/mbstring.language4 u7 |( e% l: c. ?! w" M% W
  1757. ;mbstring.language = Japanese
    - a& i: F! r9 g( u) N0 V0 V2 M
  1758. : B+ A0 I: W' _" \' {6 J
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 d* j% F, x  W! ?; |3 o; K1 X" n
  1760. ; internal/script encoding.4 X3 j) i  ^, X
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ |& g5 I$ ^6 X2 Q9 J1 W2 X
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - G1 F! I0 g+ _
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / Y! B3 v2 I# T- g. m" C+ b9 O
  1764. ;mbstring.internal_encoding =
    ; X  s  B9 ]0 p, |, H
  1765. 6 {! i8 G& w$ p. F9 r. D
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead., x9 F$ g9 O- Q9 R6 |' T
  1767. ; http input encoding.
    0 i- F& d0 Z1 O" y) b
  1768. ; mbstring.encoding_traslation = On is needed to use this setting., I9 s5 H! A, T- d7 g7 c/ |+ S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used./ ^7 H5 F% V. s
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( B4 Q: U1 |0 Q& A9 `
  1771. ; http://php.net/mbstring.http-input) E% c1 h, u: g, N& n  Q
  1772. ;mbstring.http_input =
    2 l- |& X" G, y; E/ ^7 F) N: M
  1773. $ \# T* F  x0 p$ T
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' h6 N$ H; V5 ^( s9 v( p8 S
  1775. ; http output encoding.
    - D* W( K7 {+ |) n5 M4 c/ `0 h1 g& F* N
  1776. ; mb_output_handler must be registered as output buffer to function.
    ) x; M( ?% ~( z8 Z& K) Z& S$ r) \  |
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! C! ]  p0 f7 Y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; a# y) s5 ?6 J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set5 C+ a4 j- V9 q$ R, v( o1 ?
  1780. ; otherwise output encoding conversion cannot be performed.! X+ k2 [. y" J7 M7 R
  1781. ; http://php.net/mbstring.http-output* ]/ w6 k) s" ^- A
  1782. ;mbstring.http_output =4 C+ J# }7 f* f: i6 x& U8 i& f3 @
  1783. # D# W6 G5 Z) j5 [& w1 s( h
  1784. ; enable automatic encoding translation according to
    + o, \0 U' _) L7 p9 a9 H
  1785. ; mbstring.internal_encoding setting. Input chars are
    8 S( x" A  ?* P- ~% V$ l' B' h
  1786. ; converted to internal encoding by setting this to On.0 {5 R* ]0 p8 e6 n  F4 U! ^2 c
  1787. ; Note: Do _not_ use automatic encoding translation for
    / m; J; W3 X; U  F" S3 f
  1788. ;       portable libs/applications.  T8 R) [, b7 K
  1789. ; http://php.net/mbstring.encoding-translation
    ; `% s7 M5 v) [3 P) n( s  h
  1790. ;mbstring.encoding_translation = Off$ C  x# B! Y9 M7 m, j, g
  1791. 3 F- Y+ ?% g3 y! e  i
  1792. ; automatic encoding detection order.
    * G8 i  _$ q9 |. A: t! L5 ^
  1793. ; "auto" detect order is changed according to mbstring.language" @/ V/ |7 g% U' t  j; r) s) {
  1794. ; http://php.net/mbstring.detect-order
    & i& v- e. z5 V( @, F7 o8 o/ R" y
  1795. ;mbstring.detect_order = auto
    " W6 ?6 [. }+ K( Q
  1796. 1 c7 |5 G; |1 }* P9 H- o, Q) s
  1797. ; substitute_character used when character cannot be converted
    ! J, A1 ?% e/ C/ u4 R- H, R  K; d: J
  1798. ; one from another0 t5 P6 d( l* Y5 h3 z! F
  1799. ; http://php.net/mbstring.substitute-character' w, H) z/ ?+ \4 t
  1800. ;mbstring.substitute_character = none1 P% n; C0 u0 Y! |( z# T
  1801. ( r! Z( H" J3 A( O; V
  1802. ; overload(replace) single byte functions by mbstring functions.* i2 \$ I  F6 J5 H
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg()," A7 J: X  K" E+ n
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    / _1 f; W! n/ }* c
  1805. ; For example, 7 for overload everything.
    ' e7 Q$ U# D+ m; D
  1806. ; 0: No overload
    ) S- ~: |9 |) h+ h1 X
  1807. ; 1: Overload mail() function( m9 Y4 @( f" K" T2 {! a
  1808. ; 2: Overload str*() functions
    3 B7 u: c1 t5 k1 ~' R7 ~- P: P+ K, u' P
  1809. ; 4: Overload ereg*() functions, A5 r6 ?! L% e# n
  1810. ; http://php.net/mbstring.func-overload$ k9 _/ V5 ]; T/ Q4 h
  1811. ;mbstring.func_overload = 0
    + i/ v2 \, G" C' C/ d( a2 k

  1812. / u9 z! M% e( q5 Z% s
  1813. ; enable strict encoding detection.. c' X' D8 a& c/ l2 [6 o: C9 |2 V
  1814. ; Default: Off/ F2 ~: ~; w2 {- b- h
  1815. ;mbstring.strict_detection = On
    ! Z4 S" x, q. W9 I$ M8 X  \
  1816.   S. s6 \! H( X9 S
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(): Z5 P( G8 D- C, m6 C5 _# K* l
  1818. ; is activated.
    ) ~) X# r* O/ h. _0 d
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  N' z* I* ^/ `7 l6 j$ k  N
  1820. ;mbstring.http_output_conv_mimetype=" _. r: z7 G+ b6 u, f* P4 {+ P

  1821. 3 W/ t# d, a( S4 d: a! U
  1822. [gd]
    ; w; P6 }$ W; n
  1823. ; Tell the jpeg decode to ignore warnings and try to create! t$ x0 J3 E3 @2 W* [9 Q& F
  1824. ; a gd image. The warning will then be displayed as notices$ i  G0 H7 o+ Y2 ~/ r8 N# L/ y
  1825. ; disabled by default( h- k5 y! u; h$ O3 _9 }) Q) K
  1826. ; http://php.net/gd.jpeg-ignore-warning% F# H8 g! H7 T! o8 |/ n  u
  1827. ;gd.jpeg_ignore_warning = 0; e& N: a* S9 K% h2 o5 [

  1828. 5 m" v/ E1 H1 g3 o
  1829. [exif]* r0 v9 V9 W9 \1 V4 Z; J
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % x8 p- Z, K) X7 M8 M: t( [
  1831. ; With mbstring support this will automatically be converted into the encoding+ `* ^7 ]5 E9 E- A( n8 d
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 o1 J- X: i- Q
  1833. ; is used. For the decode settings you can distinguish between motorola and: f) V. Y' S! \4 w
  1834. ; intel byte order. A decode setting cannot be empty.8 L( `; w% B8 x0 f
  1835. ; http://php.net/exif.encode-unicode
    # G1 X' L; C: P* G" K
  1836. ;exif.encode_unicode = ISO-8859-15
    : M+ i* W$ m( v! T1 D8 }
  1837. # r4 N2 K; u" b3 {1 y0 G  ]* @
  1838. ; http://php.net/exif.decode-unicode-motorola! ^9 |: w3 e( o! k9 Z4 H
  1839. ;exif.decode_unicode_motorola = UCS-2BE+ I+ _* N5 g) T/ P: C, M% ]$ W

  1840. 5 I! e. Y: i$ `+ _
  1841. ; http://php.net/exif.decode-unicode-intel
    . ]: F5 c& j+ K/ [5 @8 ~
  1842. ;exif.decode_unicode_intel    = UCS-2LE, O% u. s8 b: [

  1843. $ Z+ {. L* @& ]5 t1 c6 A
  1844. ; http://php.net/exif.encode-jis
    9 C4 X3 J+ Q" \# v  I; K
  1845. ;exif.encode_jis =- O  z$ ^* s1 Z
  1846. ( e( K, ~* @- x2 R: @% ^
  1847. ; http://php.net/exif.decode-jis-motorola
    0 ^% }/ h% P; K. G6 n6 v8 \7 \
  1848. ;exif.decode_jis_motorola = JIS
    & u! T$ J$ Z/ A" l

  1849. / }8 c2 V$ y4 O  ^" M6 i
  1850. ; http://php.net/exif.decode-jis-intel: B2 g* k1 D2 m  L" e
  1851. ;exif.decode_jis_intel    = JIS
    ( d( P( M3 Y& w3 ]

  1852. 2 r0 d* s, E8 h* T
  1853. [Tidy]* `: ?7 g- a8 v5 f3 D  B$ h
  1854. ; The path to a default tidy configuration file to use when using tidy% n; a' b9 V: i: k  E5 F
  1855. ; http://php.net/tidy.default-config. s  W0 d7 ^( P1 K- }! Z' a
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg; `/ h9 H( X3 I

  1857. # t( Y  j& M6 c$ V4 E6 C
  1858. ; Should tidy clean and repair output automatically?3 ~- S5 `1 W  t4 O7 Y( \
  1859. ; WARNING: Do not use this option if you are generating non-html content
    $ d: T. C; d- i0 o1 h! v
  1860. ; such as dynamic images
    4 g  d) r' w$ d' s* a2 f, d: F
  1861. ; http://php.net/tidy.clean-output
    9 ~) q8 A* P1 B9 F/ T
  1862. tidy.clean_output = Off
    % \/ Q9 c, J  V; I! g

  1863. . m0 \0 ~' w/ k5 g. c
  1864. [soap]: C+ Y% H$ w: J  M
  1865. ; Enables or disables WSDL caching feature.- G" O6 |- p& g5 g5 N
  1866. ; http://php.net/soap.wsdl-cache-enabled( o: H2 b; }( w+ O
  1867. soap.wsdl_cache_enabled=1, J+ i8 ?3 X0 k/ d0 ]
  1868. " r* z7 z( M' Z0 V# d  c8 }
  1869. ; Sets the directory name where SOAP extension will put cache files.  Z( g7 V/ e$ [4 e  _7 A
  1870. ; http://php.net/soap.wsdl-cache-dir9 q2 y2 w. u) @% _" K# Q
  1871. soap.wsdl_cache_dir="/tmp"
    8 O% p. @3 N4 E- o

  1872. 8 |5 Y" ?- q; B. p& q" {
  1873. ; (time to live) Sets the number of second while cached file will be used0 h' ?8 ?. |, [$ `5 _
  1874. ; instead of original one." V5 y( y3 b! U: F, p+ B8 k
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ( h& k6 J. {' {, Z$ n
  1876. soap.wsdl_cache_ttl=864000 S& w* u' a9 i

  1877. 5 ^- n$ f5 X5 N2 ?- g3 Y" f
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    1 ]2 y: p1 Y. H9 ]( }
  1879. soap.wsdl_cache_limit = 5
    - r+ X: p9 L1 m$ K0 D
  1880. & I5 d! N9 ^  w8 y2 s4 B
  1881. [sysvshm]
    0 H5 L/ A" M% ]1 O) `0 J
  1882. ; A default size of the shared memory segment9 ~+ M5 z5 k: K8 \1 y  U  Q" c
  1883. ;sysvshm.init_mem = 100004 y- o0 U$ v* |/ y& C( A( V. q  t6 S
  1884. 4 U, d, N! b8 u* h- o3 O( p
  1885. [ldap]
    / t: d6 k6 j- Q& l
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    0 T  L4 q% v; @7 Y% ^. n
  1887. ldap.max_links = -1/ Y" ~% w& y& L0 E& K& Y* L; X
  1888. 8 T2 c1 i. I% y: A: {) }
  1889. [mcrypt]
    0 G% v* M% R4 O9 |1 b. ^+ C6 @9 h
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 w1 A. U3 c% O+ [+ p* H1 G$ |2 I
  1891. 3 h4 k1 d- `- @( o4 h! L1 j) d
  1892. ; Directory where to load mcrypt algorithms- ~1 j" {$ J% i0 |
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . X& H+ i. N" Y" n* `/ w
  1894. ;mcrypt.algorithms_dir=) J0 ~! c6 T. D9 r- `6 ^( b
  1895. 3 G) z2 [; T! T: J% \$ P1 @
  1896. ; Directory where to load mcrypt modes  {" v, W6 N! \" r
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 {4 u. L7 k/ y, b* o6 T8 L0 }  x
  1898. ;mcrypt.modes_dir=. {' L5 u9 Q, h- `. ^! w) ^
  1899. ! [' k8 S( w# j
  1900. [dba]* n( Y  j7 G3 |/ r
  1901. ;dba.default_handler=* F- F% W" n7 F* \; `7 i

  1902. . r" g4 V7 m0 n' V; o
  1903. [opcache]
    6 c1 Y" W3 g1 x8 J8 |& v8 P( z
  1904. ; Determines if Zend OPCache is enabled
    3 b8 _' f  G" P+ F
  1905. ;opcache.enable=0
    0 o* R: U1 p8 O& c1 [8 q, |
  1906. 5 H% D, _8 ]* O) ?( {. _
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP' k  x; e& q5 ~8 p4 O7 m4 M) t
  1908. ;opcache.enable_cli=0+ Q2 Q2 ^/ B# x
  1909. + o; h$ k; z/ k: f* N, i" s1 }" I/ X6 d
  1910. ; The OPcache shared memory storage size.
    9 Q3 T2 K% r' |. M
  1911. ;opcache.memory_consumption=64# h, a& b* ~# J3 o4 o: F8 F" O* G! ?
  1912. " _1 U) }* ]# n/ o8 G9 j1 q
  1913. ; The amount of memory for interned strings in Mbytes.: {- ]9 k9 n& d# ^7 b
  1914. ;opcache.interned_strings_buffer=4
    + s, D' W& o: F4 t5 W; J* C" |

  1915. ' M3 U1 {! h  g6 R& I; ]) V! T+ H
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.4 S7 O- c/ Y6 ~" B3 M3 y. v
  1917. ; Only numbers between 200 and 100000 are allowed.
    + {0 M" B3 Q- S3 m' G8 S- }6 Y$ w
  1918. ;opcache.max_accelerated_files=2000
    2 V( V. w; P& w

  1919.   M1 J  ?) m: x& k9 ]; Y$ T# }
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
      p$ T8 {7 J- Q% W. |- A; e& Z5 ?
  1921. ;opcache.max_wasted_percentage=5
    8 }' J8 n" D4 T: m9 O* F

  1922. & C. v4 o! E' i3 Y0 h$ N7 p" ]. |# O
  1923. ; When this directive is enabled, the OPcache appends the current working/ v  D. A0 V: O& x: d
  1924. ; directory to the script key, thus eliminating possible collisions between
    & P8 u5 j4 P% C0 p5 P, F' {9 i
  1925. ; files with the same name (basename). Disabling the directive improves6 o# I+ y8 F! o1 W$ \
  1926. ; performance, but may break existing applications.
    3 m% O3 \! w$ C! w
  1927. ;opcache.use_cwd=1
    1 ]( B) e. c7 v+ x, D! j
  1928. 4 S( r4 y2 Z$ ^6 O* p/ p2 J4 f4 o
  1929. ; When disabled, you must reset the OPcache manually or restart the
    6 h# ^" g, t7 O# z- k
  1930. ; webserver for changes to the filesystem to take effect.
    7 T* l3 @8 N& `2 Z  M2 C
  1931. ;opcache.validate_timestamps=1$ b; I7 g2 E% s
  1932. 8 j, o: c* r( x0 E1 k2 x
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ r; o6 ]7 A, _' D
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 M* f. M# x& D  p1 t
  1935. ; once per request. "0" means always validate)2 \, o# s9 O0 W5 d% ^4 s8 E! V9 N
  1936. ;opcache.revalidate_freq=2, i3 P4 Z0 c0 f& z  a

  1937. % N- o: q* k: y# y* h, B
  1938. ; Enables or disables file search in include_path optimization4 q0 C! |2 u. P- E1 B$ B2 I
  1939. ;opcache.revalidate_path=0) K( A0 ?( h1 n# ?0 U
  1940. 8 O, c; _" G# h3 a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    9 g9 c  k8 n' a" f8 f1 n
  1942. ; size of the optimized code.
    ! z, ?, M$ @. v# x
  1943. ;opcache.save_comments=1
    : X6 W$ s* g3 ~- e5 r
  1944. 7 ~: T  _# k7 @8 p% U& ^" ~, N) d$ l
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    1 G% J' _8 G; T3 l/ K
  1946. ; may be always stored (save_comments=1), but not loaded by applications1 M- `- ^+ ~5 u) }" A' X+ A3 d2 q- N
  1947. ; that don't need them anyway.! G/ R) x- ]1 `: ^. X
  1948. ;opcache.load_comments=1
    * ^/ v% t* G. d1 p4 q5 S

  1949. . u; {5 j7 ]/ {; p: T, K
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 e1 {( t4 U5 I5 e& {/ \* \
  1951. ;opcache.fast_shutdown=0
    1 v+ V2 C( b. z3 m) r

  1952. ; T6 S) S: h7 E5 @! K, V$ U( B
  1953. ; Allow file existence override (file_exists, etc.) performance feature., e0 a( E) N/ R- o2 F5 f
  1954. ;opcache.enable_file_override=0
    & v& _( a1 w& r6 ?

  1955. 9 o, s' `2 F9 V; I0 }: W
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # \4 T* Q/ f, `. Z0 n0 G% O
  1957. ; passes+ w4 P; W+ s6 K
  1958. ;opcache.optimization_level=0xffffffff
    - F& G$ ~) c$ n1 e2 b! i, P

  1959. 6 A* B+ p# P$ G3 j0 _% c
  1960. ;opcache.inherited_hack=1
    # x+ g- y: H3 f4 u; N- z  D' ?0 n
  1961. ;opcache.dups_fix=0
    % d# }$ ]+ V* x& \
  1962. ; h) y- n  O5 ]* w2 ?8 W. \/ ?: X' d
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ) t1 h/ u) w" a: |
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ( U+ V2 y9 [8 L# D3 R
  1965. ; that should not be accelerated. The file format is to add each filename
    ' E$ T0 Z% d' }7 i( [
  1966. ; to a new line. The filename may be a full path or just a file prefix  h" F0 Y. d( q8 G& Q/ p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; h+ d6 E7 R0 D& G7 o8 O) g: J
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).( P( R$ k# K+ j7 V/ i2 f
  1969. ;opcache.blacklist_filename=
    . O- K9 j+ X4 J' W+ T/ P% L

  1970. & q: @2 G8 u, A' G9 ]* v
  1971. ; Allows exclusion of large files from being cached. By default all files6 M" N+ \/ t/ Y5 F" p0 S9 Q
  1972. ; are cached.! U0 t2 l8 x* Q# c( X% F- y. A6 e/ {+ Z
  1973. ;opcache.max_file_size=0, m; O( z9 ~' i) g4 b7 s

  1974. ! \! y/ h% s3 A! I- e
  1975. ; Check the cache checksum each N requests./ y2 C% N1 B$ z4 ]& }
  1976. ; The default value of "0" means that the checks are disabled.
    7 U& g5 k: n% u4 ^
  1977. ;opcache.consistency_checks=0( l/ J+ G% j& I& ^: y4 X
  1978. : D" w, g( _8 Q) N. n
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ B1 ~3 L* x  y% R- r
  1980. ; is not being accessed.
    " o3 J8 u* A8 N  U" \
  1981. ;opcache.force_restart_timeout=1809 V% j) u7 N7 C0 D2 b# Y
  1982. ! }; T6 @% ~3 S
  1983. ; OPcache error_log file name. Empty string assumes "stderr".$ O; i$ ]" K$ f+ g
  1984. ;opcache.error_log=" ?# U5 a# Q: T4 v0 `

  1985. 6 m7 i' r- O) a# ?9 x8 P0 G, q2 C
  1986. ; All OPcache errors go to the Web server log.
    7 l2 ]% G: K' n2 K( g4 [# a. s
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    5 K& |8 H) R* H9 S+ e; h" @: R& H. l
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ' q: e$ o% ~9 f" O
  1989. ; debug messages (level 4).! o. O& {1 v: z& r1 g
  1990. ;opcache.log_verbosity_level=1% T, y7 n+ E+ O# d, `3 t3 @
  1991. 3 A2 e6 x( q9 I
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- U( D; A3 w6 k  R  T
  1993. ;opcache.preferred_memory_model=0 f+ j7 O1 @- f) O

  1994. : _$ A2 N, z' K! c- c- E* f$ c
  1995. ; Protect the shared memory from unexpected writing during script execution.9 H0 Y6 X; `, k. \  C
  1996. ; Useful for internal debugging only.
    5 ?! ?* q1 [  \$ B. y+ K3 f  }
  1997. ;opcache.protect_memory=0
    / r( P2 l7 }$ [" G- M
  1998. 7 H1 f; ^7 o0 v) R" a
  1999. ; Validate cached file permissions.
    9 B! T* L3 w. p6 @$ C
  2000. ; opcache.validate_permission=0
    ' k+ A" a: C9 g2 [

  2001. ) x6 j3 Z1 N3 q4 Z. j9 V
  2002. ; Prevent name collisions in chroot'ed environment.8 I2 @- z0 _* U" T: |: z) B
  2003. ; opcache.validate_root=0
    $ o/ ^" N" c5 T% g  w8 C
  2004. 7 a2 j- f- x7 Z/ m6 g
  2005. [curl]
    8 N, c) R9 s( b1 i) q/ |
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 `5 e$ R4 j. R* ^2 M
  2007. ; absolute path.
    9 d. _2 z0 v* r# @( T" \
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt: ?2 Q) [0 W( a( j" R7 Y" @- z

  2009. $ n: P% Y7 Y' ?
  2010. [openssl]7 A' B+ C0 \5 @  P' z
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# ^+ P5 n$ M9 ^- D5 u- ~+ X
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      V) l/ ^) c2 Q1 `3 o7 [
  2013. ; not specify a value for this directive as PHP will attempt to use the! c# {3 i$ [3 @" Z/ N5 `
  2014. ; OS-managed cert stores in its absence. If specified, this value may still/ }/ w" q. p; E) s7 j
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context8 u# J- A5 Y- {/ ]6 o
  2016. ; option.: e+ {5 p, e/ _
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' c% B: _6 w- }4 E+ s! o
  2018. ( \' H7 j* I+ s4 i
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the- x. A( e  C  i$ o9 \2 I
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ) j) g" o' J$ T! K" g
  2021. ; certificate. This value must be a correctly hashed certificate directory.; A8 I& X. p! O9 J) c
  2022. ; Most users should not specify a value for this directive as PHP will
    & S" M1 H- b  k% ?8 X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,4 T5 F' }8 r4 V& ], O
  2024. ; this value may still be overridden on a per-stream basis via the "capath"9 T0 G3 x8 Q7 t- P  n1 H1 q- R
  2025. ; SSL stream context option.
    . e3 k5 j$ \7 K( Y( a8 H
  2026. ;openssl.capath=
      n& v7 n4 R* ^) n

  2027. ; R1 P4 V. w; z& e4 h- [+ c$ U8 F
  2028. ; Local Variables:- H& X' d9 {0 x2 C
  2029. ; tab-width: 4; u/ S! V" e7 u, e. Q4 n+ z
  2030. ; End:
    2 g9 ?) u1 N1 Q( S
  2031. - k$ y( Q# o2 b) w/ z3 w2 g
  2032. ;eaccelerator, \+ ^4 J( U7 @/ H, s
  2033. 9 ]4 \+ S) h7 T( z. i7 C
  2034. ;ionCube
    ; H' G* T' t3 i. B/ _6 Q. z7 D
  2035. ! a: c7 V+ J. s' G3 h  R- w
  2036. ;opcache
    . X" o# j: m* N- f
  2037. + ^0 ~- K0 Y$ R% @. E# L; ~
  2038. [Zend ZendGuard Loader]- i6 }0 W2 Z# C# ?: Y/ W
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    6 y) M% b) R( R' T8 T2 E, y0 n+ [  B
  2040. zend_loader.enable=1
    9 _7 t1 P4 M1 W: M2 M$ ^6 h
  2041. zend_loader.disable_licensing=0
    # K. p8 U7 d# A2 a2 O0 `8 p
  2042. zend_loader.obfuscation_level_support=3
    ( E% a$ U: E) A# H' I& C* B
  2043. zend_loader.license_path=
    & r# w7 z( a3 S1 S! R) H

  2044. + B9 E4 [5 M; M$ L! r
  2045. ;xcache
    0 T# E5 E, J# A7 C
  2046. % M- ]6 l# R, H- ?8 q& v
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ Q) M' B& ~9 `1 [/ \1 F3 V7 O, |3 `6 s* ?( m
. b+ Z$ L  z. c! N8 d$ w
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,; l( E1 g$ U1 ~: D, S* V: q0 {7 _' g& r" [

- a. U" u7 M$ A3 Q% lDiscuz!程序版本选择:
/ h* b! f# \. n3 j" U站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 f$ j6 p% o# f, y不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
% X4 q; C2 n8 U$ O2 ]7 b$ WDiscuz!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。
4 l2 `0 ^. F$ `" c: S5 v4 |7 q  |1 {0 v7 i
Discuz!插件模板版本选择:" {0 ?7 f& [0 B2 _
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
% S& A, w, ^% N针对这个问题做个统一的普及:+ n7 @8 m  a: c: m( L9 x, G
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。, t; @9 D# P8 Q: _( v

  H: W. f6 P. d* {& t所以: T3 Z9 t) ~5 L& y, V3 k' {
适合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的二级域名。
" ]5 T' j& n8 w% D打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。' }  X. K) i, s% k. J# @/ x
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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