分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
/ W! L5 Y& x6 l, _4 u! N
0 z- k$ c: P6 ?) D
  1. [PHP]' r1 f3 F% [' k  F5 A8 [
  2. $ Z& ^( C& A% R% Z8 \
  3. ;;;;;;;;;;;;;;;;;;;
    3 x% u. v3 M1 [: r5 j5 }# N
  4. ; About php.ini   ;
    ' Z1 l2 v; r: r2 U! a+ C/ X4 m
  5. ;;;;;;;;;;;;;;;;;;;
    4 M& I8 ~: N  g5 a7 L- W' u& L  ?
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ d: I* L& n+ j; r3 t
  7. ; configuring many of the aspects of PHP's behavior.
    2 F+ ^& r7 f5 r. ?$ R9 _" L

  8. . W5 |$ n: E3 D7 v
  9. ; PHP attempts to find and load this configuration from a number of locations., v; a  v$ T  f* W1 `
  10. ; The following is a summary of its search order:8 ?1 `5 M- k* |# b; J
  11. ; 1. SAPI module specific location.! s7 b7 F% I# {7 g6 `
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
      _3 r5 \: K6 k: I8 @
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' o2 f3 g9 Y" g9 L# }
  14. ; 4. Current working directory (except CLI)+ y7 U# Y+ l$ o0 ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP+ y- _$ ^! b3 q! ^5 c( w
  16. ; (otherwise in Windows)
    1 D8 g! O8 {& ?6 N) c) i" W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 b1 u7 I7 G0 p% i
  18. ; Windows directory (C:\windows or C:\winnt)
    8 u) K% W5 L7 p& b7 ^3 X7 ?
  19. ; See the PHP docs for more specific information.
    ) ?* X' t& Q0 N/ q" N' }
  20. ; http://php.net/configuration.file
    3 Y" G! k3 D7 \. ?8 d

  21. 7 t; R4 X7 B3 }* ?: z3 }
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 @6 a( N$ g% f5 r" a$ R: g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).9 O* r9 R$ g8 f3 a0 ?: C5 i7 ?
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though5 {: g: P% D& G! F( Z0 n
  25. ; they might mean something in the future.. N* h9 t0 a) k! w' [
  26. " V9 M% E3 [- e4 X! ^2 Y& T
  27. ; Directives following the section heading [PATH=/www/mysite] only% r) a$ I+ g8 B8 g1 h/ z  n4 [6 Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / K3 w, @" ~1 X* c; {# i
  29. ; following the section heading [HOST=www.example.com] only apply to: @' n( i; |9 A; W) ?
  30. ; PHP files served from www.example.com.  Directives set in these
    1 [/ V( e! s; J. c2 n* [. y
  31. ; special sections cannot be overridden by user-defined INI files or" X5 w: J& j& x- c  t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* J4 x9 X% [6 g/ [' t) n0 h
  33. ; CGI/FastCGI.
    8 @2 p) T4 Y1 o+ _  G% ^  H
  34. ; http://php.net/ini.sections
    " U/ u2 W; ~4 ]2 i+ y9 {- l; z

  35. - }! b+ q0 [9 q% s# k
  36. ; Directives are specified using the following syntax:
    + K" Q# x9 F1 n: P% C
  37. ; directive = value9 Q  P% D$ C+ n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    3 _  ~/ Q/ t+ P7 j; c* l4 u9 r
  39. ; Directives are variables used to configure PHP or PHP extensions." O# @, `% \; K/ j
  40. ; There is no name validation.  If PHP can't find an expected! @  W+ O, h& u( a; m" D' d, B
  41. ; directive because it is not set or is mistyped, a default value will be used.0 [; F- W" O) I( [1 n' j& Q* S

  42. 7 P4 \( |0 C$ N0 q" h
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    " G1 P6 \+ ^0 Q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    / Z( D6 h0 x* j0 ]& z0 j9 B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ @' W) j, p) o5 D- R6 [7 `% S
  46. ; previously set variable or directive (e.g. ${foo})7 w0 x  S% J% J4 k' [" @5 Z

  47. 2 v' e0 j: u. e) W" Y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 y% L& A+ c: B) O. o* ^
  49. ; |  bitwise OR( t; m* X8 A% y+ X: I* z
  50. ; ^  bitwise XOR0 _& F8 ^5 a- [/ M) D# e4 V4 X
  51. ; &  bitwise AND& H2 k9 ?/ b/ L, ?& j5 p. ?
  52. ; ~  bitwise NOT$ j1 G- h: o: W/ l3 v
  53. ; !  boolean NOT
    % \9 x9 R* \; s& C7 R

  54. ; Z5 h& e; G3 ~
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.) t) d" J% z- U7 j
  56. ; They can be turned off using the values 0, Off, False or No.
    : i2 X, \$ E4 {4 n( _3 X6 L
  57. 0 ]1 l6 Y8 X& ^0 x
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 m- W- D# d8 s" C+ o* w
  59. ; sign, or by using the None keyword:! Q% D% O  d% I8 E5 w( C2 W% w
  60. * ?# D; ^1 a7 o% n' c: |2 [
  61. ;  foo =         ; sets foo to an empty string  S7 G* ^6 g' U& r
  62. ;  foo = None    ; sets foo to an empty string9 e, m' l: V7 Q' Y5 ?/ m3 Y& [
  63. ;  foo = "None"  ; sets foo to the string 'None'7 W  w4 ?  }( V! a* B, F

  64. 9 }( e: ]. {+ h- l
  65. ; If you use constants in your value, and these constants belong to a
    8 k/ e% y2 _' _2 J3 V8 g3 i! G. I
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ O8 r# b) K8 g0 D  v: @6 T
  67. ; you may only use these constants *after* the line that loads the extension.
    ' |" G6 E1 [% m9 V+ s, G. _

  68. - O+ t' k, s+ b4 K
  69. ;;;;;;;;;;;;;;;;;;;2 L( i, q& n" F, M) I2 B
  70. ; About this file ;; j* X9 M6 b5 ^
  71. ;;;;;;;;;;;;;;;;;;;
    * m& m6 d# D. U  D9 Q1 j& v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used# b$ `! `" s; Y0 W1 e; L
  73. ; in production environments and one that is recommended to be used in
    ! W; g  n  r6 O# V2 [7 a" g6 h
  74. ; development environments.0 C7 I. ?; t( |! c) N

  75. . E9 R: y% G/ ]* Q6 X8 B
  76. ; php.ini-production contains settings which hold security, performance and' C0 p7 b' ?, W1 d2 j1 ~% s
  77. ; best practices at its core. But please be aware, these settings may break/ w( L/ G, @' G7 e
  78. ; compatibility with older or less security conscience applications. We
    2 Z5 S$ T+ [( L, p) Z
  79. ; recommending using the production ini in production and testing environments.8 R5 _9 c: {  @* I- g

  80.   ?0 v7 u& g9 J' Z) r
  81. ; php.ini-development is very similar to its production variant, except it is, }% w. p& k7 a) ^5 \( T
  82. ; much more verbose when it comes to errors. We recommend using the
    & i! M% T( S( |7 A2 s) f
  83. ; development version only in development environments, as errors shown to( @( t8 {0 f$ i6 V9 _9 v
  84. ; application users can inadvertently leak otherwise secure information.
    / Q7 \7 V# I  c0 h/ o" z

  85. , }5 V4 U' E  D# [- U
  86. ; This is php.ini-production INI file.+ v# j$ K. [* A$ G* e: o! p( P

  87. ! W. B( _  b; n# [: d7 X  V0 v
  88. ;;;;;;;;;;;;;;;;;;;* Y, a$ z  c" I- |
  89. ; Quick Reference ;
    # h( r# Z" @3 @/ s
  90. ;;;;;;;;;;;;;;;;;;;
    ) D- `* r! F0 T
  91. ; The following are all the settings which are different in either the production/ K# o& s- n! W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ' `+ @5 k1 c% t7 f7 k
  93. ; Please see the actual settings later in the document for more details as to why
    $ P1 i3 C0 }% k, |0 k8 R
  94. ; we recommend these changes in PHP's behavior.: `1 J, w; m7 }4 Y' L
  95. , D- f& F  e1 w- t2 }7 _' g
  96. ; display_errors
    9 t: C  K2 Q# C; n7 n
  97. ;   Default Value: On1 K, u$ u: u& J; l
  98. ;   Development Value: On; I" ]' B) y' n: l9 `" y: ]7 @
  99. ;   Production Value: Off
    . l. B* U# }0 ?- Q; \$ w- T
  100. $ Q. A, T: E- `% I  P6 x
  101. ; display_startup_errors
    0 l% O# u1 J( P/ n
  102. ;   Default Value: Off
    # ?: D$ E# U% p) g- l( l
  103. ;   Development Value: On
    2 a4 k4 X/ A9 w0 C9 t0 O+ }% I$ J
  104. ;   Production Value: Off
    2 [' R9 f8 f. {4 X4 x/ |* L; j

  105. ( I9 ]: ~$ t( J% q
  106. ; error_reporting
    3 n2 N% X$ H5 ^& v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% R" J* O& r' i$ E/ Q
  108. ;   Development Value: E_ALL
    / Y% L2 [6 R4 F8 C, [4 ?
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 s! E0 Y" C. U; X( v+ L0 s6 _5 s

  110. ( `& d5 u$ I0 B- T; |" V
  111. ; html_errors' e5 X+ o% {6 U: f
  112. ;   Default Value: On" p3 y- b1 {( |
  113. ;   Development Value: On+ v: n% B- }# e* m/ Y& `
  114. ;   Production value: On
    9 e- z  f" e- K( Y7 ~& ]5 m& D
  115. ! C: j3 f* ^3 {- k9 ]
  116. ; log_errors; {/ F/ f% c  M0 d
  117. ;   Default Value: Off
    0 W( ^  o9 }2 f) f" R
  118. ;   Development Value: On
    * i; A8 P9 ~8 J7 h
  119. ;   Production Value: On; ^! a( C) a4 n, M4 `2 o: I
  120. 8 \% h! g: `. B' ~
  121. ; max_input_time
    ) {8 Q2 Z6 d1 E2 d& w6 @
  122. ;   Default Value: -1 (Unlimited)
    ) Y( q& c$ W' ^5 P; |
  123. ;   Development Value: 60 (60 seconds)" F! E5 P) S) H: H9 L
  124. ;   Production Value: 60 (60 seconds)2 q: K+ K# |/ k" y

  125. 0 L; ?2 r& e, d$ u
  126. ; output_buffering- Y% G3 `8 n7 @. S: N1 R- R
  127. ;   Default Value: Off. }% m2 o/ ^0 z4 S3 W( m
  128. ;   Development Value: 4096
    , C6 W% [; P- D7 b7 f
  129. ;   Production Value: 4096% p1 M5 U% R6 ]. J6 |
  130. 4 S* v1 `4 n7 i( `
  131. ; register_argc_argv  Q' p/ N* X: ~% P; N4 T- @& c! [
  132. ;   Default Value: On
    ( n9 F- @9 i% T; [% i3 Q
  133. ;   Development Value: Off5 B: a8 O' j+ i2 R# i, s$ R) I  K
  134. ;   Production Value: Off
    ; C- T( ~* z) n) o3 H; V
  135. * j' p4 y/ v: j, t
  136. ; request_order
    * C& b& ?2 H1 V. U
  137. ;   Default Value: None& x. q, A! z( E0 a5 K! V: [9 e
  138. ;   Development Value: "GP"7 z( N5 h7 q8 R" P) G( @
  139. ;   Production Value: "GP"
    ( V  O4 t7 W# L
  140. . c  `( [5 q3 h; D' ~0 T! {
  141. ; session.gc_divisor
    1 i- W& h6 {2 @* W; G
  142. ;   Default Value: 1005 F1 T' M) T, g
  143. ;   Development Value: 10008 u* }: V3 c% P$ s6 o8 ~  k
  144. ;   Production Value: 1000$ V$ f) j: A( d
  145. ( L' d' F( b. q
  146. ; session.hash_bits_per_character% p# V, v/ J6 S, r! _( R
  147. ;   Default Value: 4
    ! g: [: R) [: U0 I% `5 S( T
  148. ;   Development Value: 5% ~* ^& [4 U. x) m5 F# Q
  149. ;   Production Value: 5
    6 G4 o& f5 E7 C) \) J

  150. 0 i: O' T9 T5 T. E
  151. ; short_open_tag4 q  A8 N6 p9 A4 n9 I+ s
  152. ;   Default Value: On8 s% R2 X; m& k- X. \7 g& D* q
  153. ;   Development Value: Off6 _0 R$ `$ d1 ]! v9 k1 u* {
  154. ;   Production Value: Off4 U& H0 v+ O  `9 U; x0 R. K6 W: G2 o) U
  155. & m5 u% D) D: _/ Q0 c
  156. ; track_errors3 c! O) r: w% @# u  Z8 P
  157. ;   Default Value: Off
    + e* m; U2 y1 r8 ?" p$ A2 j+ q( }7 v
  158. ;   Development Value: On
    2 c3 _/ m, P3 S6 k4 G
  159. ;   Production Value: Off
    : Q6 F- V' l( }# R+ z" I" Q

  160. : X7 e) R: I2 e) [! l/ |' _9 L
  161. ; url_rewriter.tags8 X  {  x! C2 z9 }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="$ ]- c2 [3 ]( m( t3 l+ |! |* O# }9 b$ i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! {- t+ ~0 U6 g2 m2 y: ]! g
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) H1 i0 [+ m# e8 w
  165. , J; K0 a) s- H. S) F# Z* {
  166. ; variables_order! J5 Y% e5 ]: k
  167. ;   Default Value: "EGPCS"
    9 f9 ~% ]; K$ V2 g  S
  168. ;   Development Value: "GPCS"
    ; q9 `6 H7 K& D; y' ^6 ^% Z
  169. ;   Production Value: "GPCS"
    9 h/ i' E7 A' I) J

  170. 2 r9 D6 I% l4 m/ p3 z) Z7 i
  171. ;;;;;;;;;;;;;;;;;;;;
    - T# c  X8 F: U$ Y  e# L( _
  172. ; php.ini Options  ;8 Y9 B0 Z) Z9 X7 F
  173. ;;;;;;;;;;;;;;;;;;;;
    4 ^, ?* _+ `) ?! t4 Q: X
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    / N2 b6 P' R& Q( o
  175. ;user_ini.filename = ".user.ini"- E6 |) _, ?8 [

  176. + z+ T: |5 d6 [! R
  177. ; To disable this feature set this option to empty value8 s4 J0 h, a1 f. a+ r, w
  178. ;user_ini.filename =0 ^( w8 R# T7 ~: n7 K
  179. # J- q! O0 I' f1 P. W% f& H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)$ R" z7 T7 f7 L2 Q( `
  181. ;user_ini.cache_ttl = 300
    6 B4 l0 D! s0 Q' s
  182. ' |2 }" m  [: [3 ]( j/ P  P' Q2 k3 L2 x4 R
  183. ;;;;;;;;;;;;;;;;;;;;
    9 t1 B9 j8 a3 C+ t; f1 }" A
  184. ; Language Options ;
      v( @3 {) \7 i! q  l6 ?
  185. ;;;;;;;;;;;;;;;;;;;;( Y; u1 M: K$ W* ~: @3 q! m
  186.   U- D& B" o3 i  u; h
  187. ; Enable the PHP scripting language engine under Apache.) e- d1 D7 ~) _* E. B2 ^5 F. O
  188. ; http://php.net/engine
    0 _  L- [# K. N% [' F
  189. engine = On% E3 a! F/ c% j& u7 r6 F
  190. 4 D7 z4 v9 F2 Q2 c% K6 L' l2 E
  191. ; This directive determines whether or not PHP will recognize code between
    ! a# N6 J; S, o4 J; w
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 ?* u6 w2 l9 Y  N
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 J7 G: f5 F7 z. p$ z$ ~1 ?
  194. ; should be disabled, as enabling it may result in issues when generating XML9 D' u4 W3 g0 H; C0 d$ L/ d7 V2 j
  195. ; documents, however this remains supported for backward compatibility reasons.
    # G$ t  T9 f* o3 S: m2 J% Z" m) t
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 W+ A8 \, D: p
  197. ; used regardless of this directive.2 ?! ]$ M! e; ~! z0 u% |& [
  198. ; Default Value: On
    5 I4 r. Z( m! Y
  199. ; Development Value: Off
    ) s8 h# ]5 H$ M
  200. ; Production Value: Off
    ; L$ \1 Z" N( h; K$ Q6 G2 b
  201. ; http://php.net/short-open-tag
    + ]: F9 S' y: Y
  202. short_open_tag = On
    + A4 k* O$ I/ }

  203. + r. {7 ^2 g% {* d
  204. ; The number of significant digits displayed in floating point numbers.
    , y3 d+ K! _& Y! L
  205. ; http://php.net/precision0 t3 Y8 J1 @+ I* @0 _2 ]7 K
  206. precision = 14
    2 ~- ]7 J! k2 N8 |+ i! }

  207. ! R, p3 F, D7 n6 h6 D( {8 m
  208. ; Output buffering is a mechanism for controlling how much output data6 J5 D# o4 y" h9 a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    3 \$ v7 |3 ]1 Z+ y- }
  210. ; data to the client. If your application's output exceeds this setting, PHP
    & ^; N6 v: h5 G" s6 Y! \
  211. ; will send that data in chunks of roughly the size you specify.
    ( a4 E, b6 s- f8 F8 J
  212. ; Turning on this setting and managing its maximum buffer size can yield some- }0 f; Q9 h5 K- x( V$ E
  213. ; interesting side-effects depending on your application and web server.* J) Z9 u4 t' H* C  ^
  214. ; You may be able to send headers and cookies after you've already sent output" N4 d! P! U# T8 s, q! ]
  215. ; through print or echo. You also may see performance benefits if your server is4 J* k) n& W9 J) }/ J4 W
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    3 S; X! D) f3 }) r  ~+ n$ s
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    & u) ~* R7 i7 D# G5 T, C
  218. ; reasons.
    $ X+ H+ ~7 g: y& Q7 }
  219. ; Note: Output buffering can also be controlled via Output Buffering Control0 {! h+ x5 @1 ~
  220. ;   functions.6 g( T  Y$ S6 |5 [, h2 \
  221. ; Possible Values:
    " F0 m4 v6 z# Z- |$ R# [3 z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)1 u) F0 i; n( v5 j4 J$ Z
  223. ;   Off = Disabled2 Z' Z$ g& L+ k
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # e- j- m- V1 R! R
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : ]: a1 M+ G' R, @
  226. ; Default Value: Off; q5 L2 |* Y- L$ i
  227. ; Development Value: 4096
    " d; }: k$ v, p1 J; z
  228. ; Production Value: 4096( {' b$ N* I; A% G6 s# }
  229. ; http://php.net/output-buffering
    6 r& d* e8 n# s1 E8 V6 `9 @$ Z
  230. output_buffering = 4096' W# [+ [1 \* H' M' r

  231. * N( T- q6 f. I' ~# F
  232. ; You can redirect all of the output of your scripts to a function.  For+ C( y  H  ]- b! b) d4 ]2 F
  233. ; example, if you set output_handler to "mb_output_handler", character9 v% |5 J7 V' {( T0 T! H* T, H0 g- @
  234. ; encoding will be transparently converted to the specified encoding.
      s, m; j) E( `. y! Q1 Y* z" Q: q
  235. ; Setting any output handler automatically turns on output buffering.
    7 Q( ]9 ~7 |$ {' p+ T
  236. ; Note: People who wrote portable scripts should not depend on this ini( l- A4 U/ |4 E1 j
  237. ;   directive. Instead, explicitly set the output handler using ob_start()." G. m6 Q$ E# Q7 ], T% N# d# Y
  238. ;   Using this ini directive may cause problems unless you know what script
    : t9 p) v8 t: Z* F/ a2 S
  239. ;   is doing.6 a. L/ q+ v2 k! V% ~% @+ A
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 b5 C8 f; a& C& y, e
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / O, l5 ^$ p# y3 y1 a! x% E! x( {; _
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    % v; E( Z0 |$ G
  243. ;   Instead you must use zlib.output_handler.; y) U8 J2 I3 c1 f7 e, I6 |, u
  244. ; http://php.net/output-handler* s) z0 ^5 F: B" o/ Y$ q! D4 F. v
  245. ;output_handler =
    $ v: K3 u. u6 y% }1 {+ H7 ~2 e
  246. / j/ I- s/ B+ s) C8 ]1 k- I
  247. ; Transparent output compression using the zlib library
    ) B* Y) A+ c+ @# |+ G) m
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size2 v& G# D  r9 e( n: ~6 u. a
  249. ; to be used for compression (default is 4KB); ?/ E( B1 m1 l3 T) b) m- |, X6 R
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 u; c% f$ L( R4 i' t
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    / e/ \8 U4 R3 v0 I, w- A
  252. ;   compression. If you prefer a larger chunk size for better! h$ G8 j; R# a2 n
  253. ;   performance, enable output_buffering in addition.
    # i9 P- i4 `% w8 i: i
  254. ; Note: You need to use zlib.output_handler instead of the standard. b5 \; j! p; \% D, j! _# M# b
  255. ;   output_handler, or otherwise the output will be corrupted.; }# Y, T! p5 G9 _! i" C, P8 l
  256. ; http://php.net/zlib.output-compression2 {5 b- t8 R, F7 W' Z
  257. zlib.output_compression = Off
    : y% k' W0 T! r1 J& }% B
  258. & ^0 q7 }8 U3 H
  259. ; http://php.net/zlib.output-compression-level
    3 h* d, l% E( C" R8 _; H
  260. ;zlib.output_compression_level = -1
    % @7 b. Q% I- j+ }. S
  261. 2 |2 T- o0 i2 }/ I" ]8 l0 d
  262. ; You cannot specify additional output handlers if zlib.output_compression
    # m$ `' ^, @1 @: {9 L0 Z/ S' P
  263. ; is activated here. This setting does the same as output_handler but in! n3 i& r+ O" S6 v: c: ~' D' ^
  264. ; a different order.$ _& K$ j( x( x3 P1 D2 x
  265. ; http://php.net/zlib.output-handler7 a, w2 y3 d8 ~+ z+ F5 G
  266. ;zlib.output_handler =
    $ `) d* E1 }$ T  F$ I: h; \  ^
  267. 8 D6 [4 |" p, T& w1 \* Y5 P+ {
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; S/ R) i1 g: s" f
  269. ; automatically after every output block.  This is equivalent to calling the
    & {9 S- g& V! W" I$ ]& H/ X6 n6 u
  270. ; PHP function flush() after each and every call to print() or echo() and each
    2 I6 `* X; o3 k( b. ?; z* l) N
  271. ; and every HTML block.  Turning this option on has serious performance8 f: \0 G3 m) z' }  Z+ ?2 P
  272. ; implications and is generally recommended for debugging purposes only.7 h7 U% ]0 }7 v" l' ]2 y5 V
  273. ; http://php.net/implicit-flush" r- m2 J0 ^* C; [. R" q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI  r+ ~/ b: n# I% u# @5 Q. Y/ I
  275. implicit_flush = Off
    9 W, P" l' g8 \! ]9 H3 \( d1 b

  276. 8 x. W* P% T, e3 }
  277. ; The unserialize callback function will be called (with the undefined class'
    + ]7 v; I! ^* ^  h4 S" F* O3 w
  278. ; name as parameter), if the unserializer finds an undefined class9 U8 R; N/ a' }$ [+ a
  279. ; which should be instantiated. A warning appears if the specified function is, J( w9 z4 a- X+ F; h' \( r
  280. ; not defined, or if the function doesn't include/implement the missing class.
    - o& a4 X- {' P. b0 U: U  Q
  281. ; So only set this entry, if you really want to implement such a
    * |- {2 d" D$ x' K
  282. ; callback-function.# b: ~) A- ~* y8 ?
  283. unserialize_callback_func =1 ^7 ]" U+ o& B% l' r

  284. 2 E; p4 H3 x5 e% F& N+ }8 h3 q8 r. A
  285. ; When floats & doubles are serialized store serialize_precision significant
    3 v+ @7 D6 M: h
  286. ; digits after the floating point. The default value ensures that when floats
    ! S9 M9 B% Q, q0 W0 M. @2 w8 Q: y
  287. ; are decoded with unserialize, the data will remain the same.7 ^4 l/ P+ t: |0 o# x
  288. serialize_precision = 17
    7 k. C" y2 f- x( r) U3 y
  289. : q7 \. C. l* G7 c$ k
  290. ; open_basedir, if set, limits all file operations to the defined directory% M! }( T7 ^2 a1 K
  291. ; and below.  This directive makes most sense if used in a per-directory
    * A& M" R4 f7 X3 {$ g" {
  292. ; or per-virtualhost web server configuration file.% ]: h% ?; d8 v3 D, F0 @3 l
  293. ; http://php.net/open-basedir/ c" ]4 v/ S( z! K- {8 T# g# T' o
  294. ;open_basedir =& N' _! L- t& h0 q) i0 z- z  f( T" N

  295. % L4 S# T/ W0 a6 c) F2 a
  296. ; This directive allows you to disable certain functions for security reasons.( A% v) l1 ~/ k
  297. ; It receives a comma-delimited list of function names.
    * R. U  n" D: ~( L0 T6 C
  298. ; http://php.net/disable-functions6 g2 O, T, y7 U. u* P' a# E9 }/ G3 M, V
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru/ F7 j! N" Z& ~# a  P

  300. : U" f* e0 K9 l1 C; n" k: S6 |
  301. ; This directive allows you to disable certain classes for security reasons.
      p, L2 H1 \5 _0 y' V: z, q* Q# _
  302. ; It receives a comma-delimited list of class names.
      s7 A  W  J! W$ G3 t" c6 t
  303. ; http://php.net/disable-classes8 [* L( H3 \" n* h, i8 c
  304. disable_classes =
    ! o. {+ x; z) v$ N; w6 d) ^

  305. , Z8 D' R) q. F! x; p3 A7 Y
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 T9 ]- ^+ ^0 T$ ~
  307. ; <span style="color: ???????"> would work.+ V1 l7 o: ]; j3 }
  308. ; http://php.net/syntax-highlighting
    / O9 j  @8 X7 |- C/ @$ p
  309. ;highlight.string  = #DD0000
    $ d/ e$ w2 [. ^* V8 a3 E
  310. ;highlight.comment = #FF9900# K# R$ {0 U2 H/ I
  311. ;highlight.keyword = #007700" z1 Q( t/ D1 O* S6 |* v1 I, Q
  312. ;highlight.default = #0000BB
    6 u0 i8 @! x% F% \9 N0 s" ?
  313. ;highlight.html    = #000000# _6 e0 Z8 r" [7 j8 ^& ~- R

  314. # e9 h/ {  P; x2 f& \) b
  315. ; If enabled, the request will be allowed to complete even if the user aborts' Z& u% W5 e7 w% |0 a& c( k3 O
  316. ; the request. Consider enabling it if executing long requests, which may end up6 n3 T# A7 l& V0 r
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; o  o; c8 z# i7 J
  318. ; is to disable this feature.
      z9 H% D: C# S! T8 y
  319. ; http://php.net/ignore-user-abort- d3 {6 r/ B% k" G7 q% F
  320. ;ignore_user_abort = On: }8 i( x: |5 ]) b6 i

  321. 3 c! q, b6 Y8 T! m) ~8 \9 m
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 I  |7 Y* G+ O# o; U
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! Z1 r1 ]5 I2 C
  324. ; the file operations performed.$ `! N4 l9 D0 m5 w' u
  325. ; http://php.net/realpath-cache-size
    / U3 u6 ?' P% r* }
  326. ;realpath_cache_size = 4096k: x2 N; U) @; y* L

  327. / j2 f6 g# n) f# i2 z
  328. ; Duration of time, in seconds for which to cache realpath information for a given# h6 T* I& k. o8 u& I. K
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    : l% J1 x! n2 s) C  R! e  w% H- d
  330. ; value.
    , U  I6 j- f" m6 T
  331. ; http://php.net/realpath-cache-ttl7 J% j+ z. H+ y/ x! N! d
  332. ;realpath_cache_ttl = 120# }& g$ W/ ]1 C) p; l& N+ m$ \7 H

  333. 2 X( @7 A# e; i7 h7 C1 Y
  334. ; Enables or disables the circular reference collector.  s8 m) \" h; R9 i
  335. ; http://php.net/zend.enable-gc
    0 c7 r6 \* D7 l9 a  T1 {7 u/ r
  336. zend.enable_gc = On; e: n) _4 Q0 s& N# n& o( W" R

  337. 2 d  Q& i# [. {( h: P" s  y( G
  338. ; If enabled, scripts may be written in encodings that are incompatible with- P+ d6 \- T2 O' _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 W0 s4 a% M/ ~/ I7 }
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 g! Y6 z6 C% U: O9 M
  341. ; Default: Off
    / F6 ^" N) B1 c+ C2 W
  342. ;zend.multibyte = Off0 c: s/ |+ y% V7 e- x( C

  343. # F" r9 H4 ~8 f( C
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ! U5 \7 G! _% T4 V* I2 ]
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 t# M0 Z' q5 J& m# i$ H1 O
  346. ; Only affects if zend.multibyte is set.9 S$ M( p; K' f% c5 `! ~
  347. ; Default: "": s3 ?; B- T8 g' _  y. p/ A8 ^
  348. ;zend.script_encoding =
    3 b- l9 w+ g8 u( W

  349. ! e- i6 P$ K. Z5 X. S* H
  350. ;;;;;;;;;;;;;;;;;
      [5 J1 R# W, m: `7 V; w& Y2 |
  351. ; Miscellaneous ;% }0 k8 j% c- C5 e
  352. ;;;;;;;;;;;;;;;;;
    $ C) `' e: h& K  ^8 q2 K
  353. 5 t( Q- F3 A6 t8 Z
  354. ; Decides whether PHP may expose the fact that it is installed on the server* l: X9 O% I) Y: O* |6 @$ H& V
  355. ; (e.g. by adding its signature to the Web server header).  It is no security( t/ d! K9 ^# I5 I
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    % s6 y: r. V- S: A: D- K
  357. ; on your server or not.$ l* ?4 `% n; d' ~4 ~$ |9 _
  358. ; http://php.net/expose-php
    % K. D/ g3 X1 k8 K
  359. expose_php = On
    * x; r; Y1 @; G% T' s
  360. # l2 b0 l: ]5 f5 v& R7 Z
  361. ;;;;;;;;;;;;;;;;;;;
    . F- Q4 u5 {6 u7 r( j  v
  362. ; Resource Limits ;
    ; b% q3 h9 P0 e+ h
  363. ;;;;;;;;;;;;;;;;;;;
    , H  X: R( _; r# x# Q# c( w5 e& r" j

  364. 4 I9 X2 Q/ d! R& d) ~
  365. ; Maximum execution time of each script, in seconds
    4 M% U, Y4 o0 s& R% R0 {
  366. ; http://php.net/max-execution-time
    $ U( A: A9 B5 o1 D/ |; }
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% t( }& T( H& P% O2 C+ [- b- T
  368. max_execution_time = 300
    % t8 y0 {) b9 S) u
  369. # b: o/ h3 e/ T0 k8 A. W2 E
  370. ; Maximum amount of time each script may spend parsing request data. It's a good# h% w9 e( N; [- X0 e: q
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
      ?( ^" n  S" Q" _) [# ^
  372. ; long running scripts.
    % z$ P8 C4 Q. Z% v; _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI% s  c1 f2 B' x3 n1 U* L4 n
  374. ; Default Value: -1 (Unlimited)
    # I3 y' i: S9 `! j" d
  375. ; Development Value: 60 (60 seconds)
    . p5 L2 V1 L# v% a' c4 N
  376. ; Production Value: 60 (60 seconds)% A  d: p, N  ?7 ~4 ^
  377. ; http://php.net/max-input-time
      x7 d2 g1 z7 s
  378. max_input_time = 607 u% F  X6 I* F( c# ]$ H

  379. ) d& j+ h( a& [1 k9 y) r2 K5 s7 G
  380. ; Maximum input variable nesting level$ Z3 a* C! I0 _9 N; v; x9 }
  381. ; http://php.net/max-input-nesting-level
    # J5 [* Y) z3 D5 D  p( F
  382. ;max_input_nesting_level = 643 N( O0 u1 u5 R9 S) G
  383. ' g, {2 X. }5 G5 ~2 [% V
  384. ; How many GET/POST/COOKIE input variables may be accepted
      V# N0 _$ x' k- h
  385. ; max_input_vars = 10000 b. P) X3 o, x( d; l$ \$ b
  386. + ?* M3 n' h$ ]8 y  `& r7 s
  387. ; Maximum amount of memory a script may consume (128MB)
    4 y8 z2 l( X  J5 R8 C$ r
  388. ; http://php.net/memory-limit6 W7 ^* n# [' f9 P0 d5 E; E4 |
  389. memory_limit = 128M& Q! V: Q, l6 [) _

  390. 8 f! |( I, Y5 _, n6 F# e! X& g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 y. H& b# k$ g/ u
  392. ; Error handling and logging ;
    0 x7 c) ]4 k. W1 _2 E: X1 i  \# T
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 k8 A$ u) e3 `4 m% H, v

  394. / |: `; V" ?' ?" y: b) R6 s; `
  395. ; This directive informs PHP of which errors, warnings and notices you would like  |1 ]. N. X4 ?
  396. ; it to take action for. The recommended way of setting values for this
    . q  f2 Z5 @. i( C2 y, O
  397. ; directive is through the use of the error level constants and bitwise/ ~2 V5 H* J  _$ p" K; R
  398. ; operators. The error level constants are below here for convenience as well as
    " r$ g- S  V) U. O* I
  399. ; some common settings and their meanings.! N  W% t$ _' G# `) k8 T3 ]8 b& v2 y$ [
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    . t; d0 _( Q" z* H, P7 U
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # N1 w% B) ?: i& P
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    + j* N4 i1 x* G9 F3 x; e# O
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    * _/ v; Z( R- Y, o: `# W" Z
  404. ; resources complaining about best practices and coding standards. That's what2 q) O  c/ a% o3 e' Y
  405. ; development servers and development settings are for.
    5 E+ F. A1 }  D
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    0 R8 `( ^  c' I, S
  407. ; means it pretty much reports everything which is exactly what you want during
    6 ~' n+ d4 G! r% o1 O
  408. ; development and early testing.
    & _5 n1 H' T/ L8 T: H5 k* d% ?0 }
  409. ;
    * r: B9 ^  }4 X! Z, R' }3 S  C* s$ m
  410. ; Error Level Constants:. K- m% Y) I: ~* D  d
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    % z; F$ B; G1 |7 n5 N
  412. ; E_ERROR           - fatal run-time errors
    ; Q% C7 u; E% R1 E8 G0 {
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % W& W5 ]: ?' s
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' d  D( z4 P" |
  415. ; E_PARSE           - compile-time parse errors* D* o! A4 ^! s& |% k
  416. ; E_NOTICE          - run-time notices (these are warnings which often result0 h3 F. X: V: {2 |3 }6 l
  417. ;                     from a bug in your code, but it's possible that it was
    ' s5 j% X% q1 O" k1 R5 ~4 L
  418. ;                     intentional (e.g., using an uninitialized variable and0 m8 d% f+ r* U5 k  }! j
  419. ;                     relying on the fact it is automatically initialized to an
    & L" Q8 h& ]# f: X: _+ G! Y$ p- s( u! _
  420. ;                     empty string)5 s! A0 n! I- R0 K6 Q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes, q5 y( n6 G2 r5 d3 T4 `
  422. ;                     to your code which will ensure the best interoperability
    ) q6 \) _0 Y1 P
  423. ;                     and forward compatibility of your code  e' S1 h- D) i7 O( `
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. J1 n. w" u, v5 O( R: I: c- g
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    : g5 u( s) L/ M8 |! _" c6 T* V
  426. ;                     initial startup
    : ~0 I' ^" ^" g& c# H0 b1 f
  427. ; E_COMPILE_ERROR   - fatal compile-time errors5 |* k2 l2 ^" i& V# v
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 Y. [# t7 d9 B% n7 G* u4 b7 A, p
  429. ; E_USER_ERROR      - user-generated error message
    6 e3 F* K& t5 C+ m
  430. ; E_USER_WARNING    - user-generated warning message
    5 h# t$ [& x; [! U* F; ]5 ~' d
  431. ; E_USER_NOTICE     - user-generated notice message
    & ?9 f! B$ C# C" Z0 r$ r% x$ o
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , S2 h  l8 t3 Z' ?- `' B, g
  433. ;                     of PHP
    - C, I$ o. j- T/ r
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , p5 P* x/ L+ J
  435. ;, q6 d  {3 [& b% @# e' R
  436. ; Common Values:9 E( M! Z0 B# f$ ~! f
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' f" a5 z4 Y0 j$ ^
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- |2 j) a7 \; J- `
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)* E5 D' e4 z, K1 t, P% m( V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 f+ U$ E3 T* U9 C
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " n  i1 w0 A# X" Q2 x8 |' e% c
  442. ; Development Value: E_ALL; T. k% e# e- i% _6 T6 j2 r
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 M9 B& K+ c6 a" K- h  m
  444. ; http://php.net/error-reporting
    ( }, I0 N6 y2 l2 X' v
  445. error_reporting = E_ALL & ~E_NOTICE! V2 n% c9 O0 p9 E
  446. & A) ?9 F  W/ T$ o& T" z4 G- z
  447. ; This directive controls whether or not and where PHP will output errors,  V# ]5 k' B+ H$ }# V- W/ r' J
  448. ; notices and warnings too. Error output is very useful during development, but
    % D) e# [; }/ \8 J1 {& Q/ b+ ?
  449. ; it could be very dangerous in production environments. Depending on the code1 u& K& |  s) A4 j3 G4 p0 l
  450. ; which is triggering the error, sensitive information could potentially leak
    7 n* B% Y) J: n
  451. ; out of your application such as database usernames and passwords or worse.' x. P* ?  b% L& Y7 O
  452. ; For production environments, we recommend logging errors rather than
    9 E) }* {4 I, A( s# _# q
  453. ; sending them to STDOUT.0 r9 J9 u8 s. b! v, T& _( s
  454. ; Possible Values:
    / H' ]( `" t% l' n) }9 ^7 p) m
  455. ;   Off = Do not display any errors/ Z4 P+ b8 I7 \* z- Q$ x
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    - U# K# p+ P7 }- p! V% N
  457. ;   On or stdout = Display errors to STDOUT
    " }6 G+ [# x# s
  458. ; Default Value: On' t6 ~4 }7 b2 w7 i: U9 @8 @- T
  459. ; Development Value: On
    ) @1 M( h7 x- X& S' n, N  A
  460. ; Production Value: Off
    0 K# ^4 D  @" X2 D
  461. ; http://php.net/display-errors
    / a2 `& B( g) W
  462. display_errors = On
    % V8 G8 M: z6 p# J- X' Q' Q
  463. % c7 L' y" `2 c% {. X, N
  464. ; The display of errors which occur during PHP's startup sequence are handled
    * I- N0 m5 [! ]; x4 }( y
  465. ; separately from display_errors. PHP's default behavior is to suppress those* h3 e: _# u  K* X' I+ E& o" e& g# W! w
  466. ; errors from clients. Turning the display of startup errors on can be useful in. t. X& m( r4 z( X7 P
  467. ; debugging configuration problems. We strongly recommend you% K9 d! C+ N" N6 a
  468. ; set this to 'off' for production servers.
    7 W9 P' t  f# k& u
  469. ; Default Value: Off
    0 Y8 }; b9 U% W- e  {3 O: p* p+ \
  470. ; Development Value: On
    $ ?$ ?7 m% b9 G; b
  471. ; Production Value: Off
    , s! B8 _5 J# q7 G, L3 d. j
  472. ; http://php.net/display-startup-errors8 ]# P- M3 R$ }0 u/ ]; L+ J
  473. display_startup_errors = Off$ i  H, r; F! N5 h( h( {, a
  474. $ _4 f" p+ b' f- r0 }/ I
  475. ; Besides displaying errors, PHP can also log errors to locations such as a6 w; a2 q3 O8 R" d3 h' S" T. M. G
  476. ; server-specific log, STDERR, or a location specified by the error_log# C1 U. E8 v1 V( @6 n8 x
  477. ; directive found below. While errors should not be displayed on productions4 B6 |: U- T) a' Q: N5 O" {. U
  478. ; servers they should still be monitored and logging is a great way to do that.
    / ~; @' x- t; a& d! J
  479. ; Default Value: Off
    : U# d; W# t7 A) f2 D" f
  480. ; Development Value: On
    2 a1 Y0 R4 Q. B1 w: I
  481. ; Production Value: On  e  R( B& K* a: B
  482. ; http://php.net/log-errors2 ^$ `4 j# s1 I/ c( B# I
  483. log_errors = On
    / W4 ?/ n1 x+ f2 f9 X
  484. & J, P/ I) c$ Z& f
  485. ; Set maximum length of log_errors. In error_log information about the source is  A# d2 y' g4 h4 {7 ]: Y$ Q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.5 j$ z# a0 C0 c' T& N4 p
  487. ; http://php.net/log-errors-max-len! U5 g3 c. `" m$ r; a8 B
  488. log_errors_max_len = 10242 V: p; y# o! _/ z9 ]2 a: T

  489. ! o. {, b7 `& M  ?+ B
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same1 [, o2 G. o3 @/ _8 J, Y
  491. ; line unless ignore_repeated_source is set true.
    % R5 T# l, {, D1 h! G
  492. ; http://php.net/ignore-repeated-errors
    " N( k+ r9 {' y+ {2 s/ \, j! A' U( {4 v
  493. ignore_repeated_errors = Off
    & ]2 ~/ |4 A, N- C+ ]+ C, a
  494. 3 f. j# C/ m. B; W) D! r
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 E, L( j& ]4 G! L# Y5 ^; ?5 k
  496. ; is On you will not log errors with repeated messages from different files or$ ^0 S0 J4 B5 W0 \" A
  497. ; source lines.9 {9 P2 I; E2 H; O/ ~
  498. ; http://php.net/ignore-repeated-source. A. R, e$ s6 q7 C$ R0 ^
  499. ignore_repeated_source = Off
    # Q5 k3 T6 |& N5 a) f4 b+ E
  500. , S; o4 A  o* k  S2 W( ]
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on8 \$ _  c5 `1 u( z  R- l# _; c
  502. ; stdout or in the log). This has only effect in a debug compile, and if% j/ g* _( N. s# H# Q
  503. ; error reporting includes E_WARNING in the allowed list
    $ J) ~& T' G. B7 ?
  504. ; http://php.net/report-memleaks8 F4 H8 o0 n6 {
  505. report_memleaks = On2 l8 L! }$ v& q
  506. 2 V5 Q# ~; I" `% X# p! x
  507. ; This setting is on by default.
    0 m$ P+ P7 ~! e9 E7 }6 w9 y3 n  m
  508. ;report_zend_debug = 01 m0 ~) a: f( k2 p! L6 p( s
  509. & v0 b' x& u) l1 A% |
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 Z0 s3 A: R# t
  511. ; to On can assist in debugging and is appropriate for development servers. It should: ?$ `' ~! x7 k9 e/ S( Z: ~
  512. ; however be disabled on production servers.
    * r# i9 V- K0 W- m
  513. ; Default Value: Off
    , y/ c8 @& W- A: d& Z
  514. ; Development Value: On
    4 q' @. N3 O- [
  515. ; Production Value: Off9 A* L$ W$ f2 X, L2 `
  516. ; http://php.net/track-errors
    ; Y# N9 a. t) P1 V2 |1 E# S" ?5 Z2 }
  517. track_errors = Off. j7 \4 I; h, k( E2 K5 a, N3 ?7 H

  518. - b9 G2 I5 Q3 d+ r
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    9 f1 w! N1 X. x
  520. ; http://php.net/xmlrpc-errors# ]' w) z" e6 i5 y# @
  521. ;xmlrpc_errors = 0
    % `7 G: P1 @  X% @  A" j+ T
  522. 3 g& g6 s4 C0 d5 s/ Y: V
  523. ; An XML-RPC faultCode& ^9 D, r1 l/ P0 D. N
  524. ;xmlrpc_error_number = 0/ `6 w7 d5 F% t# H4 I. j* K8 f
  525. " u; x& f6 Q; F# z8 I) h6 W
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    - p4 J- ?/ p3 `7 a9 H% f# U/ T
  527. ; error message as HTML for easier reading. This directive controls whether; t6 `6 F+ J( w# m! s
  528. ; the error message is formatted as HTML or not.
    $ G0 m4 Q1 s4 ^1 \
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI' x/ K( n9 U+ i. @1 K
  530. ; Default Value: On2 f& x+ v7 A- n% a) D  w
  531. ; Development Value: On
    $ A. |9 C' a9 b- V
  532. ; Production value: On
    % K6 |8 r0 R7 l$ s0 Y. ^3 R
  533. ; http://php.net/html-errors' ^$ \7 |, O% m- w( \8 H
  534. html_errors = On
    , X% p9 K  `7 S; V; W
  535. ; Z/ O8 X9 \0 N
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! Z! J+ c5 q3 d
  537. ; produces clickable error messages that direct to a page describing the error# P! O) L* n! R7 b" N# }" v. Y- S
  538. ; or function causing the error in detail.6 s- @6 m- Z, a2 |* \
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * w( X( u$ t& w6 {+ B( ^
  540. ; and change docref_root to the base URL of your local copy including the! u. L: f: b+ u: W
  541. ; leading '/'. You must also specify the file extension being used including
    ) Y4 W# h6 n- w3 B
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which4 }6 j, D: F  G  |9 X
  543. ; case no links to documentation are generated.  A/ S# _8 B  B3 Y2 P) }$ v
  544. ; Note: Never use this feature for production boxes.
      i/ I) @+ }( K! M9 G, V
  545. ; http://php.net/docref-root' j* U' w3 a' m- d% L1 ?
  546. ; Examples
    : x% t& i8 Y$ K8 p
  547. ;docref_root = "/phpmanual/"
    9 ]+ ~' h& ^- ~$ X

  548. & F* T2 |. u. H
  549. ; http://php.net/docref-ext0 I' T' ~" t3 N: H# F% t5 s
  550. ;docref_ext = .html
    ; h4 I. A; ?, I4 N
  551. " ~9 a5 V9 q2 G, A) a7 V: a. E( N5 H- v
  552. ; String to output before an error message. PHP's default behavior is to leave
    " w. b' B  B  L9 B# e' N) Q
  553. ; this setting blank.
    6 E  A9 d$ P" d* Z4 q% g
  554. ; http://php.net/error-prepend-string
    : z: k! V1 y" U) K6 w7 k6 W
  555. ; Example:
    3 X; i) Z2 x, N9 C) c9 u# E
  556. ;error_prepend_string = "<span style='color: #ff0000'>". l' E* q, \( }9 I& U7 V& c  g5 V

  557. 1 B( i* C8 f) \# t+ r
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 _8 {4 I/ A$ O# ]- B# H; Q
  559. ; this setting blank.$ P( ~9 N9 }$ `6 e
  560. ; http://php.net/error-append-string2 T6 m! h; W6 b8 s4 Q( e
  561. ; Example:
    ; ^( _# O1 c6 j+ |
  562. ;error_append_string = "</span>"
    & O4 H7 q7 d, l: `; D1 k! d
  563. * u) K* d/ `3 }4 b! k+ C
  564. ; Log errors to specified file. PHP's default behavior is to leave this value2 a8 `0 E- Q; v4 G; _6 u# G
  565. ; empty.
    . W/ ~) u  r* Y% X/ L4 R; n
  566. ; http://php.net/error-log  p# f% N  o' j" S# Y* x
  567. ; Example:
    / E# _$ o. y3 P1 B) @" r& |2 q% w
  568. ;error_log = php_errors.log' n. S9 F. p6 t6 Q9 Y6 ?
  569. ; Log errors to syslog (Event Log on Windows).
    " m9 ~: o8 T" X. M6 n+ M  j
  570. ;error_log = syslog7 @3 v. `! k2 o: [1 D6 K6 F
  571. ( h. n1 v$ L7 d# l8 E
  572. ;windows.show_crt_warning
    ! K: J: d$ A$ z, Z! D
  573. ; Default value: 0- n0 d% l! I  O% l- @* r! o! h
  574. ; Development value: 0
    2 e% S3 l# r  t1 K
  575. ; Production value: 0
    % a" L  q; T! \4 S. g

  576. 3 A9 \$ Q* L5 I
  577. ;;;;;;;;;;;;;;;;;
    6 M2 [) f+ M* t6 {( c8 B0 V
  578. ; Data Handling ;# l7 g4 D( |9 C# d- T; G5 ]
  579. ;;;;;;;;;;;;;;;;;% q6 t5 {$ l' {" }  C( v( Q

  580. / W9 H- ]( @% C# Z6 ~; [; T3 h7 K
  581. ; The separator used in PHP generated URLs to separate arguments.
    7 {4 F$ f) I. P7 M. C' K
  582. ; PHP's default setting is "&".& P4 h% T( ]: g0 t5 D8 B+ |
  583. ; http://php.net/arg-separator.output
    2 z- ~3 r! b: q; e" H$ i
  584. ; Example:
    ) n2 m. O2 A. S! Z, T0 m* r! h1 Q
  585. ;arg_separator.output = "&"; t; d( D1 z# j$ y' i, t
  586. 9 \5 e  d) y) j+ l1 B  D
  587. ; List of separator(s) used by PHP to parse input URLs into variables.! D3 y- f0 i. m. |( R. v
  588. ; PHP's default setting is "&".0 O- V+ z% W5 |- ^8 M
  589. ; NOTE: Every character in this directive is considered as separator!6 ?( R3 W" O% |
  590. ; http://php.net/arg-separator.input& d5 t+ R" y/ R8 Z9 Z' F
  591. ; Example:
    4 G) {) E) q  n+ t% O3 j, W- Y7 r
  592. ;arg_separator.input = ";&"
    & N* k: X( b$ F, a4 L. D
  593. & L  x3 i  ~& I# E1 W, w, Y2 F
  594. ; This directive determines which super global arrays are registered when PHP3 r/ u, C' d4 C$ w4 @6 N2 ^/ C
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super) z  k' j" {) W
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 l/ K0 [( X, L! @$ K6 L; G
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    8 D4 W$ ~+ Z9 q) x% }* r
  598. ; used as the others, ENV is not recommended on productions servers. You5 M% y2 Y# D+ m, [5 {4 E, K
  599. ; can still get access to the environment variables through getenv() should you
    # F$ \! d5 h) T+ F
  600. ; need to.
    3 b6 j- y% J8 u8 ^7 D
  601. ; Default Value: "EGPCS"$ K! Q/ h2 b3 }4 Z' p1 W
  602. ; Development Value: "GPCS"
    " N, P+ E7 h. s4 J
  603. ; Production Value: "GPCS";
    - ^* c/ `1 R3 O
  604. ; http://php.net/variables-order
    ; w( q8 C9 j! c4 D0 S  Z3 [
  605. variables_order = "GPCS"- [! B* e; a$ u8 H8 ^1 J. a

  606. 8 n! _6 v! [; E0 P4 `5 S0 j# o
  607. ; This directive determines which super global data (G,P & C) should be- y. p0 `) ]: C. @! l( u) V
  608. ; registered into the super global array REQUEST. If so, it also determines
    8 g, o/ m7 Q, b" ^8 c1 p
  609. ; the order in which that data is registered. The values for this directive
    , m- Y7 g* h4 p. u9 R4 e# A3 z
  610. ; are specified in the same manner as the variables_order directive,
    1 G, G& o4 a( Z5 |& M
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set+ B" l/ h- Z9 N0 F
  612. ; in the variables_order directive. It does not mean it will leave the super5 }6 a6 y7 s1 k! b0 R
  613. ; globals array REQUEST empty.4 x8 E  A* @! k' o& N
  614. ; Default Value: None1 c$ v3 }7 z6 ]: D
  615. ; Development Value: "GP"
    ) `+ y  K9 W: k6 B4 s6 y
  616. ; Production Value: "GP"6 Q( g9 G) r! Z+ I+ t0 e" C
  617. ; http://php.net/request-order
    * n$ E# q! ~, Q/ Y, q
  618. request_order = "GP"" W7 ~6 w" @# H
  619. . _  D  {' e$ J+ Z! c- g
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ( e" q6 o- n! W' D, n# T5 L( C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 r* M3 ~, W& D/ B% p+ P
  622. ; is invoked. $argc contains an integer representing the number of arguments
    # ^+ r" O) O, m3 p' a- }
  623. ; that were passed when the script was invoked. These arrays are extremely7 ]. H! ~$ n8 g8 }: `$ x
  624. ; useful when running scripts from the command line. When this directive is
    1 \& W' H# {' E5 X  n! x+ U
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 h' N4 c+ @- A
  626. ; a script is executed. For performance reasons, this feature should be disabled& C( ?  \& _: e- z6 E2 [+ j6 q
  627. ; on production servers.8 M9 t( v! b) z5 l! D+ J6 J
  628. ; Note: This directive is hardcoded to On for the CLI SAPI; K' H8 E$ {; E5 E  ~* i8 p- L
  629. ; Default Value: On4 j% S* u1 U, J: \2 C
  630. ; Development Value: Off
    # ]1 C6 Z% w0 J6 V* k& J- z
  631. ; Production Value: Off5 L8 P! N( Y- w  y; J8 }6 g
  632. ; http://php.net/register-argc-argv
    : D" t4 \" z* Q
  633. register_argc_argv = Off# ^- A, j! C# Z1 v1 s
  634. 9 k7 W/ {0 t, V: H0 ~
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 f. l1 y  W' B5 W
  636. ; first used (Just In Time) instead of when the script starts. If these  T4 W+ j5 M. \( O
  637. ; variables are not used within a script, having this directive on will result, M- K0 u1 x' o# L1 l% L; Q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled, H' V7 U3 t$ d; G
  639. ; for this directive to have any affect.
    * N) ?  D5 O! J/ n4 L; x( ~. r+ H
  640. ; http://php.net/auto-globals-jit: e3 u. x% X% f; B
  641. auto_globals_jit = On
    1 ]6 {' U$ D' I5 |) n

  642. 6 w5 S- o4 Q  g- j
  643. ; Whether PHP will read the POST data.6 V& c, r1 |. D5 ^7 L9 Z$ b
  644. ; This option is enabled by default.
      |! V4 L* T" U6 p- K6 r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 |0 t# E* B2 E: _5 ]
  646. ; and $_FILES to always be empty; the only way you will be able to read the& D2 G+ o% p+ v; C
  647. ; POST data will be through the php://input stream wrapper. This can be useful: e( a- ?* s& u* Y1 @
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    0 s' B- Y2 i4 W
  649. ; http://php.net/enable-post-data-reading# _$ t. I3 |( m+ `
  650. ;enable_post_data_reading = Off( Z$ _+ k' y% m
  651. + k, Q$ k! [, T, k) L; L7 C
  652. ; Maximum size of POST data that PHP will accept.
    % A, ^# R& u, H, ~
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " a: d* v* `: }: M' V+ v/ b; k* S
  654. ; is disabled through enable_post_data_reading.
    1 a: b/ b! @8 V! h" b- \
  655. ; http://php.net/post-max-size$ O; q& m4 t8 e- }6 W. {7 U
  656. post_max_size = 50M
    ; \# V& F$ D# j& v( u9 {4 X, u, N
  657. + [& j0 W/ G- i/ t9 [
  658. ; Automatically add files before PHP document.
    " e' {  {; e, n9 \
  659. ; http://php.net/auto-prepend-file$ \0 {: O4 d- A8 R, W* [
  660. auto_prepend_file =8 ~5 @+ f; u1 Z  N) F7 J

  661. 6 y( z  A# K" _0 ~" k0 I  k
  662. ; Automatically add files after PHP document.
    % E3 H/ H# h" `" R0 J5 K
  663. ; http://php.net/auto-append-file
    9 ]4 f0 m5 d2 z: L: U1 x
  664. auto_append_file =" o1 u: n& D2 r
  665. 7 P6 M" y4 H" v
  666. ; By default, PHP will output a media type using the Content-Type header. To1 g4 i+ B8 Q+ v! P% j! o  {
  667. ; disable this, simply set it to be empty.
    : w& Q: ]: J, p4 b2 {. I
  668. ;
    , U5 S$ {# l8 _8 _) E  v. z0 B& b
  669. ; PHP's built-in default media type is set to text/html.
    . ~# ]- I9 w! y- k- \
  670. ; http://php.net/default-mimetype1 e6 D! `% ^' A5 d/ E4 @7 x- f4 x: |: U
  671. default_mimetype = "text/html". _% @8 Z4 ^% `1 B# V. M& ]' z

  672. 0 G7 _' e% I  \/ ]
  673. ; PHP's default character set is set to UTF-8.
    # |7 X7 _, ]+ M8 K  H3 V
  674. ; http://php.net/default-charset
    ! ]$ E" g- z. L( |& r
  675. default_charset = "UTF-8"
    7 l) W8 j' `' J4 v" F% `* _
  676. 2 v& _0 g! e" }
  677. ; PHP internal character encoding is set to empty.& {  j, `% f% ?2 @
  678. ; If empty, default_charset is used.% G3 O' O1 w* U/ l6 G9 d
  679. ; http://php.net/internal-encoding
    / _. |5 R) l4 e$ c1 M+ x
  680. ;internal_encoding =: b6 A( B( C" j4 I) l

  681. 4 o& n3 k! I: [, M: b: l( u
  682. ; PHP input character encoding is set to empty.
      z. f- Y) H9 Q: ]% X* v. L
  683. ; If empty, default_charset is used.
    7 B" |9 k4 D9 @
  684. ; http://php.net/input-encoding
    8 Z- r& ]# v, |  g( f
  685. ;input_encoding =
    * o& ]/ H- n) n+ R/ i% D
  686. 9 k5 U5 m: ]! O7 ?) f8 s
  687. ; PHP output character encoding is set to empty.5 Z' X( f2 p9 F8 j$ d! G7 g5 H4 F' l2 B
  688. ; If empty, default_charset is used.
    " F; }3 m3 u( S& a: _
  689. ; See also output_buffer.
    + [& Y7 R: J' Q& S$ m& J
  690. ; http://php.net/output-encoding
    4 d% @. }0 |9 R0 \
  691. ;output_encoding =
    * U: M* @7 Q/ x6 w; j
  692. ' K! B* M2 ~( j% v5 N
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & X1 {5 |$ ^9 i* Q. K& I, @7 \0 [2 n
  694. ; Paths and Directories ;
    + C, o: y; h; n$ q# d4 f3 z2 y: s
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' ~- O0 J1 z; H9 h3 a' q

  696. 6 F' k% Y$ I2 N7 T! s( ?* d
  697. ; UNIX: "/path1:/path2"
    ) S: U: c, B- f* x, Z7 O  [$ g+ T
  698. ;include_path = ".:/php/includes", a! v+ B6 v; ?# y' R4 _. ~
  699. ;; X" P" C  }2 d  T
  700. ; Windows: "\path1;\path2"3 e, k9 C" \& B5 K
  701. ;include_path = ".;c:\php\includes"
    3 u% O( o; G' h  T. [! D2 ]) S, J
  702. ;  }. `% n6 ?' r- B7 b
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! K' S- a8 A# p- @2 U6 \
  704. ; http://php.net/include-path1 `4 v3 k4 e2 o; t5 }
  705. 7 z& z0 v1 w3 \/ F0 x3 I6 K
  706. ; The root of the PHP pages, used only if nonempty.4 b9 q1 o" y" H2 d( G8 K$ G8 `
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root7 R- a) d& W/ c& x3 v5 C( |
  708. ; if you are running php as a CGI under any web server (other than IIS); Y, A5 e) D& Y2 e1 j$ @
  709. ; see documentation for security issues.  The alternate is to use the) r- G1 X) l8 J" S' `" s% q. d6 M
  710. ; cgi.force_redirect configuration below
    1 I, p  s# f  P1 b3 J9 S. i
  711. ; http://php.net/doc-root
    3 l, e* O( R/ e, M3 z( [1 c3 A0 A2 T5 w
  712. doc_root =
    - E3 n# f7 S. i! C! y1 i4 |! K) W

  713. ( a" N5 T( ~$ q3 D, a5 S
  714. ; The directory under which PHP opens the script using /~username used only4 N6 Z: p! F! M) E3 X4 J# G1 q" B/ j
  715. ; if nonempty.
    , w$ g% t9 q/ |9 j9 i& _1 Q8 H2 E
  716. ; http://php.net/user-dir7 o2 h. u$ N" I% v2 w8 v
  717. user_dir =1 Q) u: a8 |$ K% F+ x5 x
  718.   ^( R# @. U7 a; f2 }9 @
  719. ; Directory in which the loadable extensions (modules) reside.
    ( L2 l4 Q& U6 _5 I7 l; }2 U2 j- t9 g( W
  720. ; http://php.net/extension-dir+ C+ B0 b# H% l
  721. ; extension_dir = "./"
    8 N  a$ I/ n& |6 m' T7 T
  722. ; On windows:& D. t7 E- `9 J: o) `
  723. ; extension_dir = "ext"9 [: Y* @+ G6 k4 e7 r% E" d5 C. i

  724. ) H% v# d$ H+ [6 k" v
  725. ; Directory where the temporary files should be placed." ]7 ?3 ^8 |4 J1 d6 q8 C* n% E
  726. ; Defaults to the system default (see sys_get_temp_dir)
    6 K, A, _! @. E0 k+ _
  727. ; sys_temp_dir = "/tmp"" m- d& m4 U; ^6 n1 ^
  728. 3 o7 X8 @6 d0 R1 X' ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 [& h. R% I3 k" d. g7 @+ F
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically, d& j# ^( @# f1 Q7 |
  731. ; disabled on them.
    & A  h8 Z% f. ^* @8 ]( f. u
  732. ; http://php.net/enable-dl2 G3 b/ C/ I" A8 b
  733. enable_dl = Off
    $ o6 R0 F. [2 y2 o' C4 g
  734. . o5 ?" `4 `, x. k2 [; v2 I
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ a2 s$ h- ?* }3 m  U& A
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& S/ |8 t$ F  |" q% N
  737. ; turn it off here AT YOUR OWN RISK$ n  ]4 N3 c& ]. T
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ \+ @8 N7 Q) N( k. v! p
  739. ; http://php.net/cgi.force-redirect
    % Q4 }& p/ L1 |- K+ y- {/ A) i
  740. ;cgi.force_redirect = 1
    % ]& X& z# q( f; P. X. [' u
  741. # e2 ?8 K; N) b. j- V! S  x& G# m( }3 s
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    , l( y+ `% R1 |9 ^/ C  U. U# W! [
  743. ; every request. PHP's default behavior is to disable this feature.
    5 N) T7 b2 g/ G
  744. ;cgi.nph = 19 i  h2 {! x( S; W: B
  745. . U, |7 M# N, K
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 l8 J7 w* v( G5 ]9 Q9 s# f
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP& `% u0 d! W* g, K" n
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    " d% G5 Y5 d; h2 A  p3 Q: [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ |3 C; F1 l& v: x
  750. ; http://php.net/cgi.redirect-status-env
    8 m2 G2 M0 v. C/ f8 y
  751. ;cgi.redirect_status_env =/ r; h* ^6 ], A6 J! d- c4 g% m
  752. ; W' v, Q4 C) I+ v+ _
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    1 w: ]8 O+ K. Y0 m& W5 U7 `
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( Y5 g, C, v' m; g1 C
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    $ ~/ u4 X& {1 V# ]& }
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) u  h7 m1 f5 m& x# W
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    & o. F1 T0 c0 _9 i
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      F% a* r5 o, R, w; H
  759. ; http://php.net/cgi.fix-pathinfo) q% T% U* ]. n) G0 o0 `4 o
  760. cgi.fix_pathinfo=1( q1 l' b- M/ I3 Q- ^. s
  761. , i6 V1 f5 k9 q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % V  U7 _. d4 ]4 l- p& m! Q3 ?/ i
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    # H6 Q; W/ Q9 ^7 D- C& Z" g
  764. ; http://php.net/cgi.dicard-path# b: N3 u- ~- {; Q' |
  765. ;cgi.discard_path=1
    2 k3 y4 Y" i. s: j! L( U! i

  766. 2 u1 u: t, b/ Y& B
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate# }: r3 [4 y! I! Z+ d; K$ n
  768. ; security tokens of the calling client.  This allows IIS to define the
    . |, o; ^/ g0 R. c. p8 z
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    / |6 _" m& s6 X& |" w
  770. ; does not currently support this feature (03/17/2002)
    2 X( i9 p5 t' V& P+ T4 C- s
  771. ; Set to 1 if running under IIS.  Default is zero.& r9 C+ @! ?, x7 U) K0 W
  772. ; http://php.net/fastcgi.impersonate$ \: {3 O2 [6 u
  773. ;fastcgi.impersonate = 12 r" q# E0 R+ s

  774. : Z% w) I! z7 ]+ G6 |
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable1 W) J0 |. n2 `
  776. ; this feature.
    4 Q% ^% S3 {; L1 P: g% {7 J- b' ]7 X! p
  777. ;fastcgi.logging = 0* Y& b! p5 |7 x& D

  778. 5 \! o" |* ~. y6 ?8 @( A
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to5 u4 F5 F, P) ^& r8 ~3 @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " u; \( X4 k7 c! c5 _
  781. ; is supported by Apache. When this option is set to 1, PHP will send# l( C& d! d6 \2 O- I2 y
  782. ; RFC2616 compliant header.
    ; f; b, r: h! r$ C
  783. ; Default is zero.+ r" `! d- V, K$ h& J5 V
  784. ; http://php.net/cgi.rfc2616-headers: j( y, ]6 _- o  I9 y
  785. ;cgi.rfc2616_headers = 0
    , T# p/ I, ]" H# s

  786. 5 w! D( w: r5 M- `0 d
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- A9 ^$ O3 e0 m- R8 F4 S" f  E
  788. ; (shebang) at the top of the running script. This line might be needed if the: W0 B7 E) R3 V1 `4 L+ [/ F
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    2 u+ {8 C! t/ N2 w$ b
  790. ; mode skips this line and ignores its content if this directive is turned on./ A3 D2 r% U1 N/ X: B
  791. ; http://php.net/cgi.check-shebang-line' \$ F- n( `) i# N, U6 q
  792. ;cgi.check_shebang_line=1
    - L! J* |* o' M2 S( [* w

  793. 0 C, I9 j$ o( j+ f; u% `
  794. ;;;;;;;;;;;;;;;;
      W/ h: I4 f0 R7 w! z' b3 K5 S
  795. ; File Uploads ;9 ~. g0 G. i0 @2 `" [
  796. ;;;;;;;;;;;;;;;;
    . X7 G, k/ K4 X% T2 b
  797. 9 L1 @* b$ V- p) Y4 J: L2 Z  S
  798. ; Whether to allow HTTP file uploads.
    5 B) l4 U& a# N7 {/ J+ C' {
  799. ; http://php.net/file-uploads
    ' F/ u3 y8 f7 z$ Y# ]$ c- c& l7 L
  800. file_uploads = On# Q! m6 y; d- A# v  K' \

  801. % f7 j  D- j7 `8 D% M
  802. ; Temporary directory for HTTP uploaded files (will use system default if not3 |9 X' W2 x5 i5 t0 x
  803. ; specified).1 k( _+ ?! Z4 _) v- Y/ i
  804. ; http://php.net/upload-tmp-dir
    ' z% z/ K! m; e, W0 r3 z
  805. ;upload_tmp_dir =: h! {& e, P4 z9 J% s9 P+ b( E
  806. ( S; Z( X' t4 c1 @$ }- e+ Z
  807. ; Maximum allowed size for uploaded files.1 g* n2 _9 Y; u* d, i1 ?
  808. ; http://php.net/upload-max-filesize
    ! G1 s3 i# o& y  p# \
  809. upload_max_filesize = 50M/ ]. t  T. t9 v0 n
  810. # E7 _, x  j$ [, s% a  h
  811. ; Maximum number of files that can be uploaded via a single request4 l! W" M! f) {; I6 E; G9 G+ E
  812. max_file_uploads = 203 C+ y0 h" H0 \! F; ?
  813. 4 s& n! m$ e0 y% z' v0 G
  814. ;;;;;;;;;;;;;;;;;;6 {" ~9 q" T: ?
  815. ; Fopen wrappers ;9 H' T, c7 j$ @" h6 E: P
  816. ;;;;;;;;;;;;;;;;;;! r  e" n# R2 r9 ]- D

  817. + ^1 @4 A4 X/ n
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.9 @6 U2 u! {9 z9 G' h+ Z6 S5 I
  819. ; http://php.net/allow-url-fopen. \- D, V$ [* F. Q
  820. allow_url_fopen = On9 ^+ z7 F0 F7 ]3 x6 b
  821. , Y  M& r% ~& z8 H# w; z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.$ T! o, z- _, {! f3 s
  823. ; http://php.net/allow-url-include
    ! O, T. o( k$ p" |
  824. allow_url_include = Off6 X/ C/ H, u+ S4 r" ^2 _1 \

  825. : L6 n8 f! X6 p) K- Z
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 n; s* J* i' r! r& L4 t+ X% m# _
  827. ; for this is empty.2 h2 i' ~5 Y% `6 o2 Q) }. u9 J
  828. ; http://php.net/from
    $ n! R: }( \0 t. u5 r- P$ g
  829. ;from="john@doe.com"
    3 T5 Y7 z3 E. \$ v6 |/ d

  830. - a" a9 t- K; ?: b0 k! b
  831. ; Define the User-Agent string. PHP's default setting for this is empty.% E5 x* T( H) U4 Q
  832. ; http://php.net/user-agent
    7 t. Y- G# U* c  y5 s) ]
  833. ;user_agent="PHP"- f6 M$ @/ V- Z  n
  834. $ G  s5 c+ S4 U2 b" K
  835. ; Default timeout for socket based streams (seconds)* e8 \# A- _( U1 ?, C
  836. ; http://php.net/default-socket-timeout
    * m2 z/ K% F4 R& P+ N  c
  837. default_socket_timeout = 600 S2 T8 |0 o( K% x2 u3 j2 Y5 J
  838. # |7 M: [, O' Y  H. j
  839. ; If your scripts have to deal with files from Macintosh systems,3 \5 c; O$ w8 u0 O2 G
  840. ; or you are running on a Mac and need to deal with files from
    : d; b* w/ T5 B0 \. a  p: @, u$ D
  841. ; unix or win32 systems, setting this flag will cause PHP to: Y4 x# Z, G1 e( l4 U
  842. ; automatically detect the EOL character in those files so that
    0 Y1 M+ d/ p" t5 }
  843. ; fgets() and file() will work regardless of the source of the file.' _, r# Y9 E3 k0 B5 B
  844. ; http://php.net/auto-detect-line-endings) Y6 s& y0 {9 o' @* P7 Z+ F8 Y
  845. ;auto_detect_line_endings = Off
    & X& S6 v4 S! \, C! u2 ~' _

  846. 6 x; `  O0 j# c" c) f
  847. ;;;;;;;;;;;;;;;;;;;;;;
    . y2 a8 \" {4 T" m
  848. ; Dynamic Extensions ;9 g, ~. i6 m# M, t9 O  t; B
  849. ;;;;;;;;;;;;;;;;;;;;;;
    / w9 y& v# Y, y& G6 S. |

  850. : o$ n; B$ V) Z7 V/ b) w
  851. ; If you wish to have an extension loaded automatically, use the following7 a$ i, t/ ^. x% D- y+ w
  852. ; syntax:  Q. [$ w5 A0 \/ w4 u( U
  853. ;4 ]3 S, F. C# J8 |
  854. ;   extension=modulename.extension: f' t' N2 C# K$ H; C3 C3 A
  855. ;  o  x; v+ D, a* L
  856. ; For example, on Windows:
    2 `8 ~& w# X8 a0 R* f0 V& t
  857. ;
    7 g- Y( }* w, H" V
  858. ;   extension=msql.dll
    2 N8 Y) _) U8 @/ O, ]
  859. ;. ]* w: X; r9 s. X* }; G
  860. ; ... or under UNIX:
    3 W/ ~  [+ q) p# Y7 d$ q
  861. ;
    ( d9 m3 L% a# g9 d: L0 a  \
  862. ;   extension=msql.so
    $ U  k+ E  T# C2 h$ R
  863. ;
    ; ?; y" P( W' I9 c* s
  864. ; ... or with a path:
    # f5 j' |, D' ?' D. Y
  865. ;
    " j6 j6 c# [- I! Q
  866. ;   extension=/path/to/extension/msql.so2 Y! L1 t; g4 [/ ^
  867. ;% f! K9 t, Y; f! N  c
  868. ; If you only provide the name of the extension, PHP will look for it in its; {9 O' b. X6 m. q! \6 I
  869. ; default extension directory.
    0 M  {/ }  E$ q$ Y/ i
  870. ;; J* _2 l$ R: W- n4 P
  871. ; Windows Extensions
    0 m' D- c/ k$ L7 z* R( k
  872. ; Note that ODBC support is built in, so no dll is needed for it.# r5 L: B! R1 ~; U0 }& |/ v* }
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ' |% U. i9 w7 d# k& T' V" ]
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    $ A+ T+ j) O% g8 ~' L
  875. ; Be sure to appropriately set the extension_dir directive.
    7 s4 h+ d5 ~2 s
  876. ;. j; I0 B* O. o9 z' z9 ~- u& A
  877. ;extension=php_bz2.dll5 T: \$ G' }( R6 }) g
  878. ;extension=php_curl.dll
    ( r4 o# k8 R* ?# K0 k
  879. ;extension=php_fileinfo.dll1 m+ s2 @  R9 n6 O# C' k, \
  880. ;extension=php_ftp.dll
    * Z- R$ O. ?% z+ G! `7 d
  881. ;extension=php_gd2.dll/ _9 y6 }- H# O  G
  882. ;extension=php_gettext.dll9 ?7 x* e$ Z9 I0 v
  883. ;extension=php_gmp.dll
    & j9 k, a( b2 ^1 `( q% X, v
  884. ;extension=php_intl.dll/ N* i) a* j* N6 ?- y3 I4 G
  885. ;extension=php_imap.dll
    5 N% ^* d& [) N( B5 d6 X, c/ e
  886. ;extension=php_interbase.dll
    ; \: f# x- B8 w2 m; S! Y/ d
  887. ;extension=php_ldap.dll
    / k( d4 m; w9 n/ X/ D( |- |% Z
  888. ;extension=php_mbstring.dll
    , [% o* x$ t9 U& R. v" a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    5 \0 G) W+ r" X
  890. ;extension=php_mysqli.dll) ~- F4 b, v1 {
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ _5 J5 v0 g5 T1 S! Q
  892. ;extension=php_openssl.dll
    & P4 H8 d, {+ `6 o4 w
  893. ;extension=php_pdo_firebird.dll
    4 a. ^" b$ ^) a+ x) F7 D! C
  894. ;extension=php_pdo_mysql.dll5 ^% [' M0 u0 j' q
  895. ;extension=php_pdo_oci.dll
    " G: y8 H0 h1 R
  896. ;extension=php_pdo_odbc.dll' l! ~* l. O9 F  Q& _
  897. ;extension=php_pdo_pgsql.dll% v9 m- m* ]' e! N
  898. ;extension=php_pdo_sqlite.dll6 o: U4 J! I8 C' ]" [
  899. ;extension=php_pgsql.dll
    " h  }  [) P/ V5 }4 r9 z
  900. ;extension=php_shmop.dll
    0 _% N$ L2 r( Q1 T% k

  901. ' d; {9 R& p8 ?4 c/ _& s
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 R5 |) I6 D2 V) A! f7 [7 c
  903. ; See http://www.php.net/manual/en/snmp.installation.php) ?9 b6 e5 j; @' \/ a& U, g! s# B: A
  904. ;extension=php_snmp.dll) W8 u% c7 b7 M

  905. ' Z6 @" @- W% D1 C% X: }) g
  906. ;extension=php_soap.dll- f( ~  z( `, d( q# N/ [
  907. ;extension=php_sockets.dll
    5 J) _8 a  }( X
  908. ;extension=php_sqlite3.dll" U0 f1 o: c9 j1 B& J, G% p! }, z
  909. ;extension=php_tidy.dll6 f( j* Q5 S+ i/ w9 r2 O2 {
  910. ;extension=php_xmlrpc.dll; @# y3 T; ~% e! E
  911. ;extension=php_xsl.dll0 f) Q. {) |  B! O4 T# c' L. y

  912. 8 C0 ?! u; a: ?3 |9 {$ S  f
  913. ;;;;;;;;;;;;;;;;;;;1 D6 E! g- P( [; q# p; B
  914. ; Module Settings ;& B; g. ]! }/ T2 o
  915. ;;;;;;;;;;;;;;;;;;;
    ; G( J0 o3 P! f

  916. ( _( v% X) Z" O$ ~
  917. [CLI Server]+ @* p5 x$ ^% r9 V* D9 p
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.) _& t) s4 w2 U1 r7 p- R& z
  919. cli_server.color = On# G' o' g1 ~0 N

  920. % c. u8 [& G0 ^4 w
  921. [Date]
    6 ]/ e3 A( E8 k
  922. ; Defines the default timezone used by the date functions
    5 _7 D* \' O& E: Y. B. g
  923. ; http://php.net/date.timezone4 V4 S6 E8 E7 L  G1 z
  924. date.timezone = PRC
    ; D0 R, o" ~- T3 y% m& ^# o7 Z* V% g
  925. * O1 V' P7 p+ J7 U  a0 U
  926. ; http://php.net/date.default-latitude/ C! U* ?% K4 h, r+ J/ I
  927. ;date.default_latitude = 31.7667
    / z1 m, S; A9 G' c6 V- r& A

  928. & F+ F  g8 [" \  N0 e  {2 B# W1 @
  929. ; http://php.net/date.default-longitude, ~# w( K5 U8 m
  930. ;date.default_longitude = 35.2333
    $ [; X, j" H: k6 ?: \* X! l' p! w. a9 o

  931. 9 |0 ^, Y" R. O4 g+ }/ Q, m
  932. ; http://php.net/date.sunrise-zenith1 v/ F; [1 }" ~4 S  Y! i0 Z+ k
  933. ;date.sunrise_zenith = 90.5833338 h6 f# b0 r2 K5 h, Q" O5 z. d7 l8 a

  934. 4 O3 c& n" {" @' S1 S+ ^4 S7 A3 `
  935. ; http://php.net/date.sunset-zenith& P7 B. u5 H. y+ Y+ s* [
  936. ;date.sunset_zenith = 90.583333
    ) i) }% Z9 R/ V% V
  937. , w; O0 B. D. Q6 i& b/ {
  938. [filter]% m2 N/ I" ^7 m2 o: h4 ~- n: L8 s9 ?
  939. ; http://php.net/filter.default
    6 T: Y+ r# M4 n, Z$ d
  940. ;filter.default = unsafe_raw+ S2 o2 n' X  M9 L

  941. : ]6 `* F8 L5 ?+ a5 U0 H* i8 d# s9 y
  942. ; http://php.net/filter.default-flags
    9 T; o' ^* J7 N0 s
  943. ;filter.default_flags =
    ) Q) }( e* {2 i3 J) I
  944. : u7 G9 s( S  z( ]- d/ `6 x* K
  945. [iconv]
    ; E) U. k9 ]5 P* q0 l) Q
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.* D/ P6 C/ {8 z$ @
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - j8 V  q2 e0 E8 ?, u" {
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ) ~1 {; O# r8 J$ ]1 P
  949. ;iconv.input_encoding =2 O% T: P% Z8 [! c" ?0 ~
  950. & E5 V" d4 o. J7 k9 C6 c2 R
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( L$ _) O' ?; e' z: B1 K6 Z  w( J
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    7 m4 t1 o' t% c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 Q, Y( x# A/ `6 Q) |3 G0 ^% P
  954. ;iconv.internal_encoding =: X* x/ z0 Y( W' Q4 j
  955. 7 J4 }0 g- v5 ?
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.- r/ X4 b2 h' l" n6 p
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    : K' C3 |" t1 }
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 @& B! T' p' |1 A7 _
  959. ; To use an output encoding conversion, iconv's output handler must be set
    9 J0 I7 R) Z" \
  960. ; otherwise output encoding conversion cannot be performed.0 A( a; B2 R# r0 m: D: x
  961. ;iconv.output_encoding =
    ) g! |! t5 T6 i3 b

  962. 2 r% _! P: M/ Y( V& r
  963. [intl]' q! ^0 N+ E, \( p- ^; S( S
  964. ;intl.default_locale =* }2 z+ u$ V) X1 d8 `
  965. ; This directive allows you to produce PHP errors when some error
    : b7 J* d( n, g+ L
  966. ; happens within intl functions. The value is the level of the error produced.
    9 V$ B* Q( X# ~! P! [0 B
  967. ; Default is 0, which does not produce any errors.
    ' @4 a! J, P3 J3 z1 a% k
  968. ;intl.error_level = E_WARNING$ g5 ?& N4 k3 v0 c, P* [
  969. ;intl.use_exceptions = 00 h' [9 G5 h6 R8 ~# n, E
  970. 2 D- U" o, M- K4 A# E4 @
  971. [sqlite3]2 F- \3 |6 z$ m( x! M9 O
  972. ;sqlite3.extension_dir =
    ( }0 o( }, K; I; |# b
  973. & D5 R  M! U1 b' ]5 w
  974. [Pcre]
    ( Q6 V: D# a" e1 B
  975. ;PCRE library backtracking limit.$ \* T% V- a$ s) i4 ?$ j
  976. ; http://php.net/pcre.backtrack-limit# ~* x$ s* ]4 g4 G4 M3 F* U2 v, o
  977. ;pcre.backtrack_limit=100000
    6 W( q4 b/ e. l, l. H* T

  978. # L& n: @  N& u6 Y) E  }
  979. ;PCRE library recursion limit.
    & g8 A9 @% B- z7 I, E5 H0 e, H
  980. ;Please note that if you set this value to a high number you may consume all, T( b' |) b2 b6 J, N8 B6 J. Q
  981. ;the available process stack and eventually crash PHP (due to reaching the) t, ^) j- h* T
  982. ;stack size limit imposed by the Operating System).4 v! M7 Q: I) y5 T
  983. ; http://php.net/pcre.recursion-limit5 Z# {  S; |( p/ \2 g# [& q
  984. ;pcre.recursion_limit=1000003 w( O0 \5 F7 @3 a# s; z- T2 Q
  985. 6 h6 l; z+ {9 L4 G0 h; [9 [& G6 _
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    7 x& Z% s6 V+ [5 u: E8 n. ?& h
  987. ;library to be compiled with JIT support.
    ( [! E! q2 h+ Q1 ?- @
  988. ;pcre.jit=1
    , T- N* `5 r* c

  989. 4 A. W& ]8 J) a
  990. [Pdo]
    ! E( s) R9 F& v6 m7 [: o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ' Y" e" c2 ?! f1 J2 z# {
  992. ; http://php.net/pdo-odbc.connection-pooling
    * f4 G+ J$ W3 S+ E& |1 H$ [
  993. ;pdo_odbc.connection_pooling=strict
    # N& m4 M' V) |0 O8 c

  994. . Q( n* a2 y: ~! s- x! _3 m: N6 H
  995. ;pdo_odbc.db2_instance_name
    + k- N1 l' I% R

  996. 2 m& _+ P, x* G) Q7 j8 @3 _
  997. [Pdo_mysql]
    $ e( N$ O7 d0 X6 b9 G: X
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # H0 G# R2 Z# S$ }$ o# r
  999. ; http://php.net/pdo_mysql.cache_size
    6 ?3 q3 r$ m& p! [+ Y2 q( M
  1000. pdo_mysql.cache_size = 2000
    4 |$ c! U$ R  h% z9 G; @1 }

  1001. * b/ @  j! a1 e" Z: f- [
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 Q% C/ ^; R* C; c+ t
  1003. ; MySQL defaults.' g( }) S8 a. a0 E' a; x
  1004. ; http://php.net/pdo_mysql.default-socket
    & j9 z! `! A: ]0 B& G* [
  1005. pdo_mysql.default_socket=
    * T! ^7 ^5 i8 D# T. s2 C. K4 k
  1006. % f/ X/ }9 X# \. j, Y; m3 G/ I
  1007. [Phar]
      b  B3 t1 s! L
  1008. ; http://php.net/phar.readonly. ]  s2 Z4 Y! Z2 s
  1009. ;phar.readonly = On
    8 ~5 d. o2 x- Q" n
  1010. ; r& M( r, L9 q7 C
  1011. ; http://php.net/phar.require-hash
    * f9 k7 t" ~3 d+ ?4 d( }
  1012. ;phar.require_hash = On
    3 j& p1 t2 x* Y* Y! Z' s5 N5 _

  1013. ! P5 h9 F$ c! V* }. H' ?4 O4 U
  1014. ;phar.cache_list =
    8 A# Z( C: e, H* a
  1015. / I- V0 w7 R$ h2 R
  1016. [mail function]. R- z$ ]7 u) X; Y4 J3 p8 B& @4 {- p
  1017. ; For Win32 only., v' T8 g& F& A) Z( K
  1018. ; http://php.net/smtp
    - O* K5 _! C5 R# p5 [6 {
  1019. SMTP = localhost
    2 n+ h! s0 \0 Z3 Z$ b. B
  1020. ; http://php.net/smtp-port
    * {/ A4 k, k4 s6 b& O# r$ I, {
  1021. smtp_port = 25; _- s3 A- e6 k9 `6 `0 V: ?+ |4 x
  1022. # L$ Q, W3 m" p+ F3 D
  1023. ; For Win32 only.
    $ u/ K5 v0 x0 b5 \3 h$ r
  1024. ; http://php.net/sendmail-from2 G/ j$ F! Q9 c7 o. ]
  1025. ;sendmail_from = me@example.com$ g$ p, c: a/ F6 m0 v; B

  1026. & F9 ^0 G) ~3 `$ P4 h) d
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    # C* p9 Z$ q7 ?  `6 ^" h8 f- x% L: J
  1028. ; http://php.net/sendmail-path) g- }2 j- D" c. {' A1 c  X0 V1 ~% Q$ ~
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    * l# T) r! V& R: @, |. m0 H
  1030. , O) r/ `; H+ d9 O+ X, G& j
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    / `* k4 ?' w0 M
  1032. ; to the sendmail binary. These parameters will always replace the value of$ |# g: f+ E2 c7 ], a
  1033. ; the 5th parameter to mail().6 C& @( v0 K# h$ o4 P+ }
  1034. ;mail.force_extra_parameters =
    ' T: z/ t( B$ W- d: n9 j

  1035. ; v2 A$ w( ?/ n* F, w1 i7 g0 n
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 P# c1 f9 L7 `3 n) j3 a
  1037. mail.add_x_header = On
    9 w' m" z$ H# t) g
  1038. / E2 B. J2 U8 ]0 |3 ~
  1039. ; The path to a log file that will log all mail() calls. Log entries include2 j4 C4 b, Y) q6 [8 C
  1040. ; the full path of the script, line number, To address and headers.- ?8 C, Z5 I; o' C
  1041. ;mail.log =1 r' n" y: T  H7 h+ R
  1042. ; Log mail to syslog (Event Log on Windows).% _# ?, C* I  \6 A) E. x0 I% I
  1043. ;mail.log = syslog' J" e$ l9 P( e$ w4 ~

  1044. 8 ?$ R" J( |( A& q9 n) {9 R9 \
  1045. [SQL]. G$ I5 w& f: W# W) H' R  i
  1046. ; http://php.net/sql.safe-mode
    $ j1 d  \; s' a) p# \3 ~
  1047. sql.safe_mode = Off
    : s  C: D& f! G

  1048. ( E7 i7 m  H" W7 W/ p
  1049. [ODBC]
    * U/ V2 M9 L" C8 K
  1050. ; http://php.net/odbc.default-db
    . D& k* s# h# H- ^" W- M; ~
  1051. ;odbc.default_db    =  Not yet implemented
    " @( E6 n* N$ w5 c, I
  1052. ' T, r4 T* a4 A# Q8 N5 ?" O
  1053. ; http://php.net/odbc.default-user, {3 v* w0 E6 T( P, f# M6 K! N
  1054. ;odbc.default_user  =  Not yet implemented
    . p- N! @: n; D) j3 n# [3 d
  1055. + i% U( e2 A2 M& N! i$ _6 m
  1056. ; http://php.net/odbc.default-pw
    6 P) i" A, O5 d; T9 ~1 \" Y) {: v1 L
  1057. ;odbc.default_pw    =  Not yet implemented5 q2 v$ y2 x  B3 O
  1058. # P: |& }% W0 f* M. @7 C) o
  1059. ; Controls the ODBC cursor model.
    ! f9 g: _$ P! b/ U2 q" F! _+ Z
  1060. ; Default: SQL_CURSOR_STATIC (default).) J, i8 S% \, A3 B
  1061. ;odbc.default_cursortype
    ( I+ C8 X$ _2 b' k2 m) [  _/ E

  1062. ! }7 a  G  V! w' t
  1063. ; Allow or prevent persistent links.
    6 Y% q# i" U+ b6 u1 x4 w
  1064. ; http://php.net/odbc.allow-persistent
    & W- f/ l' n4 G0 x7 s
  1065. odbc.allow_persistent = On
    ) D1 X; Z+ j% }. G

  1066. . x: R* I  ~2 u) A5 I: H
  1067. ; Check that a connection is still valid before reuse.6 K; C' d* q+ k% R( \8 I
  1068. ; http://php.net/odbc.check-persistent
    , V1 p  t) \' a0 D0 _4 }( S
  1069. odbc.check_persistent = On3 ]& i4 W; O% O% s
  1070. ) G9 ]/ j  x9 E& C! H0 x
  1071. ; Maximum number of persistent links.  -1 means no limit.
      M' F- w8 @9 b, ]
  1072. ; http://php.net/odbc.max-persistent
    + ]; O) t8 Z; t  w) {# P  O' N7 Y# e
  1073. odbc.max_persistent = -1
    4 j" c4 P* a8 L2 j9 b- ^  V
  1074. ( \- h+ o. M( l# P9 a  F6 q8 B# i
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' F$ x- h& H0 v" [+ _
  1076. ; http://php.net/odbc.max-links4 C# H$ l1 n; W% h* ?2 L* R. I
  1077. odbc.max_links = -1, c" }8 {3 q) R5 x3 n8 G, }! l; r
  1078. , W5 J9 m( ^/ V" V, P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means" ]7 i. R) Y& V* t. d9 z
  1080. ; passthru.0 j; c/ M3 e; s( s( Y0 Y, ^. r
  1081. ; http://php.net/odbc.defaultlrl, s3 W4 t0 L' }  Y- s
  1082. odbc.defaultlrl = 4096" C1 N6 m& p4 \% t  O5 e

  1083. 1 r* G8 P+ v( {/ O. Z$ k
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 `" I+ M% b1 `, W) t
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation, B. V% o. v7 ?# r3 x8 N
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    - k1 k; e* Q5 `7 e: m7 g
  1087. ; http://php.net/odbc.defaultbinmode% S& j$ x0 D& X4 o" o; [1 G0 J
  1088. odbc.defaultbinmode = 1
    0 S. Z; b- v) L0 b; t6 @5 X

  1089. ; W$ @3 y! j# M5 y0 v: S
  1090. ;birdstep.max_links = -1
    # s# ]; ~4 V( E) u4 V# H' O: g
  1091. 1 @  c, h+ p8 C7 w+ r% l
  1092. [Interbase]5 R; x9 D2 _7 l- @) Q( f
  1093. ; Allow or prevent persistent links.
    1 z9 K2 o8 {9 Q) i5 B
  1094. ibase.allow_persistent = 1, P+ [# q6 f6 |" r
  1095. / J: e* s* r3 m* x8 ]8 S
  1096. ; Maximum number of persistent links.  -1 means no limit.
    6 L$ Z; P. o, F" D8 x5 q
  1097. ibase.max_persistent = -1. d# ]7 w; z% N: `' s$ g9 {

  1098. 7 h6 w9 n( {/ V# k
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* T/ B5 v1 ]2 p" g% `! K3 \
  1100. ibase.max_links = -1
    / H* R/ k' U2 h! A6 G; N$ S
  1101. 7 F: |7 e' r* L3 ~, y1 A
  1102. ; Default database name for ibase_connect().
    & @$ v" {% A  i
  1103. ;ibase.default_db =" g/ R7 b; j. {0 U& \  Y

  1104. $ R: u. n0 K: |0 n2 G$ B% [
  1105. ; Default username for ibase_connect().
    5 b/ z; Y* n& Q* D" r- }/ z$ _
  1106. ;ibase.default_user =
    , E. C) v; P  H/ S( K# c

  1107. / d: m, y" B+ }! x- ]! e
  1108. ; Default password for ibase_connect().; k5 Q- @/ p) v$ m3 A
  1109. ;ibase.default_password =
    ! w: D% B, j& ^0 u1 [$ e9 i
  1110. 6 R3 {3 E3 d: ~# J
  1111. ; Default charset for ibase_connect().
    $ z  ]! [, _0 q  }
  1112. ;ibase.default_charset =) D0 o0 e2 W* @" i4 w& y1 U
  1113. 1 ]) k. v" D) b# {+ _8 P
  1114. ; Default timestamp format.6 c, K, R$ l5 U* Y9 l+ T
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"9 D% `2 P* d8 X5 K- _

  1116. ( g8 I+ g6 f% u/ o- ^+ P* b% S9 w
  1117. ; Default date format.
    . i% S' J4 t4 d  E0 m6 f( f
  1118. ibase.dateformat = "%Y-%m-%d"
    9 g8 t+ x3 r7 n4 [7 n2 b
  1119. 0 p$ w3 L& z0 m, Z
  1120. ; Default time format.
    9 v5 ]; i4 Z6 Y
  1121. ibase.timeformat = "%H:%M:%S"1 w$ s8 [% z: m& Z$ C+ |' _/ w
  1122. ) b2 W9 p; @/ L6 U
  1123. [MySQLi]& E* p" F1 W9 n7 n3 q6 X. q

  1124. & o  A4 T; o# O* N3 h4 _" w: b
  1125. ; Maximum number of persistent links.  -1 means no limit.
    3 T8 ]4 |, W+ P% D+ S. r9 t  r
  1126. ; http://php.net/mysqli.max-persistent& Z6 S5 E( v0 t4 F
  1127. mysqli.max_persistent = -1
    4 [8 W: I) V6 [* @" l) U

  1128. 7 b- Z6 C1 o& q( t
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) E/ p. I7 \% k3 R1 T6 s. o& g5 x
  1130. ; http://php.net/mysqli.allow_local_infile: o; R% G+ @  j/ X! _& J" Y) }
  1131. ;mysqli.allow_local_infile = On' O% u0 t8 q2 O, ]6 _' m- s
  1132. # H" u; T8 D  G. i' B
  1133. ; Allow or prevent persistent links.- F+ k7 x. b- i3 n
  1134. ; http://php.net/mysqli.allow-persistent# E* h% ^: Q  V/ U. U4 ~# \- ?7 ^
  1135. mysqli.allow_persistent = On/ a$ t" L; L1 d& a

  1136. + A* S4 f8 G* @+ _6 Z( {, k, U
  1137. ; Maximum number of links.  -1 means no limit.
    ; C, W1 y) a% J3 ~0 m% M
  1138. ; http://php.net/mysqli.max-links
      \" ^+ [" t0 h2 P+ T
  1139. mysqli.max_links = -14 D5 S: M" [: S' d

  1140. ! @8 E/ B/ [( M7 n
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + F; e. x0 {4 n4 i- ]4 P, M& Y
  1142. ; http://php.net/mysqli.cache_size3 I! W2 B4 @$ ~. p% C! h& s) }
  1143. mysqli.cache_size = 20005 Y' a8 E( p2 Q2 T% T
  1144. / A/ G/ J& C5 `. W
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use) e" E* ^) H$ y% ^$ D3 x+ i! U+ I
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the& |) u% z  ]9 U
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! p( A" f+ o9 _: o7 L- p3 n7 M  f
  1148. ; at MYSQL_PORT.
    1 V' R$ A2 O  E. J1 q
  1149. ; http://php.net/mysqli.default-port8 y) L% j' Z: T" f
  1150. mysqli.default_port = 3306
    # P0 M' s' G$ V+ J$ b3 ~" b

  1151. & z1 M% g1 n' i& b! a: e; B5 v+ b% Z
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! }& O5 @1 Z& @" E6 O5 G
  1153. ; MySQL defaults.
    : T: T$ V6 U( d% |2 R1 ?  O1 X
  1154. ; http://php.net/mysqli.default-socket$ f' `5 B2 `3 o. Y! V
  1155. mysqli.default_socket =6 m: t! J- N+ t  M8 @
  1156. . W& T' q6 B/ X: o5 R4 u) C5 o5 y( V
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 o: h( y$ _2 H1 N
  1158. ; http://php.net/mysqli.default-host: Z  i. p* S: s9 \
  1159. mysqli.default_host =
    8 M9 _% j; `; H
  1160. ' q( S# n! z) s: F- E4 [
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 {/ i* k7 r5 H7 _7 J. F/ J  T
  1162. ; http://php.net/mysqli.default-user  r7 t- u8 j) }( V; m- _" n
  1163. mysqli.default_user =
    ) U0 |% C! H6 O, t* f6 k8 h

  1164. 2 y9 z# @3 p2 ~" \' W  l5 r! T0 g
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).( A2 h$ {2 y1 \. s3 ^4 H
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 K, o3 F& K# O  Y/ g; R
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* _- b. {  O. U
  1168. ; and reveal this password!  And of course, any users with read access to this+ B9 S  ^6 {$ |$ g4 q8 Q$ @3 D, x( t4 N
  1169. ; file will be able to reveal the password as well.& X/ `% `  a: P
  1170. ; http://php.net/mysqli.default-pw1 b2 W+ k6 |- P# b- L
  1171. mysqli.default_pw =9 a% ]' d7 q$ @! w4 _5 x' Y
  1172. ) H2 `4 g- s- |1 S$ |
  1173. ; Allow or prevent reconnect
    ( i; }+ k+ B/ b6 O
  1174. mysqli.reconnect = Off
    / ^9 ^  ?& a1 O
  1175. 7 w( ?- Q& r- I# E( b
  1176. [mysqlnd]
    ; K. q8 M- A& i' q% }
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be5 o. K( V2 [9 V! R
  1178. ; used to tune and monitor MySQL operations./ H- ^3 g0 k, S  k
  1179. ; http://php.net/mysqlnd.collect_statistics
    1 u7 l4 O# r( S, K& b2 X
  1180. mysqlnd.collect_statistics = On
    0 O$ ~6 O$ q8 N  z
  1181.   G& B6 [! C0 u5 |
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 X' l/ s: s9 @4 b+ E
  1183. ; used to tune and monitor MySQL operations.
    * W' k! y1 t+ P4 v) H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics) N, q4 m4 a% ]/ M* U: Q5 e- Z  w
  1185. mysqlnd.collect_memory_statistics = Off3 h; c4 c4 ?, ^& P7 X9 q% w3 a6 g

  1186. ' B' `; V7 H7 k1 i- G, j2 p
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    - l5 j# n- Z) Z  @
  1188. ; file.
    1 a$ ~+ e0 C2 ^+ G* b4 D+ _
  1189. ; http://php.net/mysqlnd.debug
    & Q, s4 h. V& g" Z! a& Z' C
  1190. ;mysqlnd.debug =
    7 x  I8 R( L" Q" y1 m& k! ^% C/ J
  1191. ! u2 O7 W  Q" b4 q# i1 a9 X* `
  1192. ; Defines which queries will be logged.
    ' _( o; P. k/ O6 R( ?
  1193. ; http://php.net/mysqlnd.log_mask
    , ]5 `+ P( J* K% M
  1194. ;mysqlnd.log_mask = 0
    " L! v5 `! U' L0 v
  1195.   _# O9 r/ N0 \2 S; V+ b
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.  d, ], ~# K; R$ M
  1197. ; http://php.net/mysqlnd.mempool_default_size3 L9 V4 V& o; O
  1198. ;mysqlnd.mempool_default_size = 160000 S6 r  o( B/ ~6 Y4 d& d
  1199. 3 ~" y" k$ o& B, f' O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( J& S  M& b2 \. r
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) L5 @- v$ e, @/ S+ q4 c6 O: F
  1202. ;mysqlnd.net_cmd_buffer_size = 2048/ p4 S' G3 @( O" X4 N
  1203. % [$ w4 h( E, d$ _* K
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in( ?1 n1 K- {* @( p; l
  1205. ; bytes.
    ' N, m& o+ d& C4 K6 {
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    8 L2 ~! p8 P. Y8 C" N# _
  1207. ;mysqlnd.net_read_buffer_size = 32768
    1 o& d9 ^. N) ^# R9 v
  1208. 3 U" |& ?) ]: O- u7 C
  1209. ; Timeout for network requests in seconds.1 Y5 W$ o- I1 S; p8 y  A0 @
  1210. ; http://php.net/mysqlnd.net_read_timeout; q! i, A- N+ N0 l) E; w% r  t+ n
  1211. ;mysqlnd.net_read_timeout = 31536000
    * g7 S5 U) ^' L" s
  1212. 3 c, R! J/ Q! H5 q" Q: T+ B
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 K9 z% o, b4 }; `  n% _
  1214. ; key.* V; q2 ~, D  m* E0 M- W0 j# H
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    1 A- Q- K4 O7 j8 ?$ j% k! |
  1216. ;mysqlnd.sha256_server_public_key =5 d4 q; {1 ]" t2 G4 D
  1217. , j) }8 N* U  L( C  Y
  1218. [OCI8]
    . ~, D- h& P5 b7 K
  1219. 7 P" d2 ~8 N0 }
  1220. ; Connection: Enables privileged connections using external" G/ Q" {- w; u6 C+ u2 ~+ S
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)" c7 ^: f* _2 y3 ~4 u! A; G  e0 x, ]
  1222. ; http://php.net/oci8.privileged-connect
    9 |: {2 j& }3 G/ X
  1223. ;oci8.privileged_connect = Off4 E" g4 {$ i" I  g/ x

  1224. ( G" w. \( p- x" C2 H  o
  1225. ; Connection: The maximum number of persistent OCI8 connections per+ A  q7 Z& z$ |/ B& S: |& ^8 D2 K
  1226. ; process. Using -1 means no limit.
    + M0 a% |( ^- B$ H
  1227. ; http://php.net/oci8.max-persistent1 R: H/ ~) V  V, Q2 N
  1228. ;oci8.max_persistent = -1
    9 L6 B  k% B& n4 j9 `* L
  1229. 8 l+ b+ H8 ?% R
  1230. ; Connection: The maximum number of seconds a process is allowed to
    9 N0 _# o  B  J1 U) L
  1231. ; maintain an idle persistent connection. Using -1 means idle
    3 g) W) ]. H% V& c  J; g; H
  1232. ; persistent connections will be maintained forever., v8 c+ I8 Q$ y& h. V# P/ {
  1233. ; http://php.net/oci8.persistent-timeout6 [, u& Y% x% e4 Q% `
  1234. ;oci8.persistent_timeout = -1
    ! p: U& b  ~; r% p2 K
  1235. $ h3 J- }2 T) A  R7 a
  1236. ; Connection: The number of seconds that must pass before issuing a
    2 e2 U# ^, E4 b' D
  1237. ; ping during oci_pconnect() to check the connection validity. When
    / B8 \2 L+ d) ~6 f, R
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables$ C4 }- e5 s6 x/ K* A% F/ F1 C
  1239. ; pings completely.& H( ^6 _: d0 A
  1240. ; http://php.net/oci8.ping-interval
    * L, [, x5 z3 U" o
  1241. ;oci8.ping_interval = 60$ Y  F: G& ]6 |; f" ~1 X4 ^7 L
  1242. 0 j$ }. |; ~9 L/ B2 q
  1243. ; Connection: Set this to a user chosen connection class to be used: \# \2 B" Q% ^
  1244. ; for all pooled server requests with Oracle 11g Database Resident; V) q3 Y! I7 E& g  t! w( S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " e, E# a/ P, s8 V* }( t
  1246. ; the same string for all web servers running the same application,
    6 S" T$ _6 x( S+ l) v! \' O
  1247. ; the database pool must be configured, and the connection string must
    & M  R: r  y( B) a
  1248. ; specify to use a pooled server.8 B' ]" b$ K  c: ?3 r. D2 A
  1249. ;oci8.connection_class =
    8 \3 @" o$ _: y. F/ l. P/ \

  1250.   q( B9 x* Q" Z/ r# n
  1251. ; High Availability: Using On lets PHP receive Fast Application
    5 d$ p5 i3 u& W4 y: u
  1252. ; Notification (FAN) events generated when a database node fails. The3 l, u- R6 g8 [# _
  1253. ; database must also be configured to post FAN events." s' M6 W) G' b
  1254. ;oci8.events = Off7 t. v' N9 ^+ T

  1255. * S5 }) Q# l' l/ b3 P1 N/ x1 e
  1256. ; Tuning: This option enables statement caching, and specifies how1 o+ j9 A  @" f! V
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 m6 k: t+ v; j7 d3 M) v
  1258. ; http://php.net/oci8.statement-cache-size, U9 v2 Z- K: [0 P( m2 p
  1259. ;oci8.statement_cache_size = 20* z& N# |' @3 d0 F
  1260. 9 r  l& Z! \1 n
  1261. ; Tuning: Enables statement prefetching and sets the default number of. ]4 E+ v* h. e4 l
  1262. ; rows that will be fetched automatically after statement execution.
    ; o6 V+ e7 J& I$ [
  1263. ; http://php.net/oci8.default-prefetch
    $ s+ ?: U: Q$ e9 q/ w
  1264. ;oci8.default_prefetch = 1003 M  p# P- ^( J

  1265.   `: r) C. H2 l9 u6 E
  1266. ; Compatibility. Using On means oci_close() will not close- o+ d  t) @* f/ n% j( W0 S
  1267. ; oci_connect() and oci_new_connect() connections.( ^5 o* l# U7 k$ I7 B# o( C
  1268. ; http://php.net/oci8.old-oci-close-semantics% @* y. {, f& v2 H
  1269. ;oci8.old_oci_close_semantics = Off- p: Y0 Q0 e% }. j# |
  1270. ; G3 h" {" M; b; a2 U
  1271. [PostgreSQL]5 I7 m. B  J* K5 s- `- p7 w
  1272. ; Allow or prevent persistent links.. ?+ ?9 ]- `0 {/ E! I' p1 ~& v
  1273. ; http://php.net/pgsql.allow-persistent
    6 ]; }# K# x& K1 l$ e
  1274. pgsql.allow_persistent = On
    # |2 l$ q; K; B: d9 n
  1275. + M: z9 t5 k1 Q% j0 L# r9 c3 K
  1276. ; Detect broken persistent links always with pg_pconnect().4 s( @3 N6 u  P6 J5 {7 j6 K
  1277. ; Auto reset feature requires a little overheads.
    2 @1 @; N" e% n2 V9 u1 @
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 O/ ?$ U1 L' N$ Q
  1279. pgsql.auto_reset_persistent = Off
    . ]  P) S0 K- x) j: t( K

  1280. 4 s, F- H5 ~. W/ I8 I' a5 V& O
  1281. ; Maximum number of persistent links.  -1 means no limit.
    2 L! A# m3 k: N) A
  1282. ; http://php.net/pgsql.max-persistent
    : M, W6 G" l0 d: t# q
  1283. pgsql.max_persistent = -1) D; C$ @8 X" s2 d$ }( x9 l5 ]  K/ D
  1284. 5 Q; A( h. C) p1 O
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.& [! s3 t, G" k- |& p8 F
  1286. ; http://php.net/pgsql.max-links
    , i* ]2 l7 X1 R+ t% l
  1287. pgsql.max_links = -1
    , u; i  w7 T& Z

  1288. 5 n% H8 v* ]5 e* f( {' x
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ' t. X  M8 j, v5 }/ V6 d
  1290. ; Notice message logging require a little overheads.
    , Q5 H5 ~/ N& _; j0 w: D+ R& h
  1291. ; http://php.net/pgsql.ignore-notice
    / m) s# a# f$ w
  1292. pgsql.ignore_notice = 0
    6 c$ v# s, ^9 e$ n
  1293. + A" b3 \7 v8 X5 R& [1 Y! A+ z
  1294. ; Log PostgreSQL backends Notice message or not.
    9 {0 _- i) [  n! Q) O3 ]
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 {& Q# D. m% l" }1 X
  1296. ; http://php.net/pgsql.log-notice
    # Q7 G% }5 U  u- B) O
  1297. pgsql.log_notice = 0
    7 `! V; C$ V" p2 g
  1298. 9 ~& b5 p  V& Q# j3 ~, M
  1299. [bcmath]
    7 z* _- q7 j8 r3 `
  1300. ; Number of decimal digits for all bcmath functions.- j( R* f" H7 f+ b0 y
  1301. ; http://php.net/bcmath.scale
    - ?# _( H  q! R) o
  1302. bcmath.scale = 0
    & O% g; @  G! z4 y0 \

  1303. 3 c; z) g% B) I/ b+ J4 t- x7 q" n
  1304. [browscap]# H  T5 K- q' P( `- {* ?2 h
  1305. ; http://php.net/browscap4 t. d4 ~8 Q, u. ]) m4 I- r
  1306. ;browscap = extra/browscap.ini% m6 B; ~% [! a: S0 o2 U, Z+ z
  1307. ' X. Z# H) Z' j( L- h
  1308. [Session]* b+ X2 b! x9 N5 z* D  L
  1309. ; Handler used to store/retrieve data.
    9 w& M& }9 G/ t/ M7 z  R; B2 d* b
  1310. ; http://php.net/session.save-handler" ?( e' }/ a2 Q& u! q
  1311. session.save_handler = files* p- b7 s6 o$ z6 n# U( y
  1312. . d' j. \6 x4 B( z9 w
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    $ J/ I. r7 }% f" Q/ j
  1314. ; where data files are stored. Note: Windows users have to change this
    ' D' u5 k6 s& `, I0 \3 `
  1315. ; variable in order to use PHP's session functions.
    : d; [; i2 }- {6 q& F2 ?) h
  1316. ;0 G3 W9 [, `% R8 L
  1317. ; The path can be defined as:  N2 w$ N/ G, r  A# B
  1318. ;
    * u# s% {- I$ t0 R9 L4 M1 q
  1319. ;     session.save_path = "N;/path"
    9 t* x  W0 P$ Q( M4 u& ^: s& S
  1320. ;
    4 y8 d" I) A% F6 G  ^
  1321. ; where N is an integer.  Instead of storing all the session files in
    . n9 t8 C2 O. h9 Q+ [! M) V6 q
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' v# b; {2 H1 ]. S7 c/ E
  1323. ; store the session data in those directories.  This is useful if
    6 [, e& }$ r* s& c- |( z
  1324. ; your OS has problems with many files in one directory, and is' M* b" E" h* O8 ?% o. E
  1325. ; a more efficient layout for servers that handle many sessions.
    $ M% H' i4 A8 y' ?# D
  1326. ;/ P! x! y% P- K  `( M3 B. {8 U
  1327. ; NOTE 1: PHP will not create this directory structure automatically.4 g; ]7 u6 u9 ?/ _9 a
  1328. ;         You can use the script in the ext/session dir for that purpose.6 u7 S1 T# v) M1 ~
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    7 x$ K# P" {( X: G5 l
  1330. ;         use subdirectories for session storage
    * o8 E4 i  L, v: W
  1331. ;
    2 z9 E( o) R2 u9 [
  1332. ; The file storage module creates files using mode 600 by default.
    # @* v9 j; j. j: w6 n  X* F
  1333. ; You can change that by using8 a, z5 i5 m. Y" M
  1334. ;
    ! ]2 ?0 [" F6 k3 P
  1335. ;     session.save_path = "N;MODE;/path"
    & X$ V+ e- h. r7 E5 b! ^
  1336. ;
    4 y  i1 G  d7 I! \
  1337. ; where MODE is the octal representation of the mode. Note that this/ i7 S; k) W( o3 f1 U
  1338. ; does not overwrite the process's umask.
    0 ]) W" E( c; u0 d+ V8 |. l- y
  1339. ; http://php.net/session.save-path
    , }6 k# k- r4 p
  1340. ;session.save_path = "/tmp"; T  g: Q" i8 i9 q7 [0 J8 _: a

  1341. - i* @8 w2 R: A% K8 C
  1342. ; Whether to use strict session mode.* ?' ~- \3 h9 g3 l0 D( M) A+ k* w
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate, L3 k9 P7 X: g6 n, j% W
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  `4 Z- F# Q0 S' J$ D8 f/ x$ K
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ! w  Y% X; o4 q( H
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ M! \' P$ p7 T8 E$ I
  1347. ; https://wiki.php.net/rfc/strict_sessions, `3 A7 F; ]% X5 U6 E) s6 X
  1348. session.use_strict_mode = 0
    ) T( m* v& h* b- a" Y# H, o
  1349. 6 i2 w4 w, V* J- i: Y4 Z5 J
  1350. ; Whether to use cookies.% x  Q+ Q$ c; ], b
  1351. ; http://php.net/session.use-cookies
    6 i7 d8 J6 ?2 X8 b7 _9 Y
  1352. session.use_cookies = 1
    $ `$ m+ f4 r7 E3 w. \
  1353. 8 c  J9 \3 c5 r/ d
  1354. ; http://php.net/session.cookie-secure
    & n' E( B5 F3 w; x3 W
  1355. ;session.cookie_secure =
    . P- {& E& V+ c
  1356. ! j* h* W5 X+ {/ |% \! n, o
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( z$ H( E; i! Y
  1358. ; the session id. We encourage this operation as it's very helpful in combating7 _, E# N# `- ~$ Z
  1359. ; session hijacking when not specifying and managing your own session id. It is' |; b; B: r0 |( z) J; o/ Y
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 i) @" _* t  |% f9 F5 P/ U3 ]
  1361. ; http://php.net/session.use-only-cookies
    * g/ M' n" t' T% C8 r
  1362. session.use_only_cookies = 1( q$ }( Z+ X! q  `9 |3 O) q
  1363. ) c/ n" b3 H# f) F
  1364. ; Name of the session (used as cookie name).& `$ Q5 [/ r+ s* v* ]
  1365. ; http://php.net/session.name
    8 s1 c5 T$ G; [8 g* }7 W+ P0 s
  1366. session.name = PHPSESSID. _0 r- q0 p3 H

  1367. ( P3 J3 G+ ]8 d+ y
  1368. ; Initialize session on request startup.
      s7 c, W  }% `4 h
  1369. ; http://php.net/session.auto-start! H$ Y1 z( B% w; ^
  1370. session.auto_start = 01 n/ v- t9 h) K$ t
  1371. / F8 ?' J& M: f& J- X
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' W' N9 P% p. ^/ {
  1373. ; http://php.net/session.cookie-lifetime
    ; ?1 I: f2 G8 ?
  1374. session.cookie_lifetime = 0; b  t8 d9 J9 B# g$ \- v

  1375. ! {8 v$ N* M2 W& D$ o) }' \8 ^
  1376. ; The path for which the cookie is valid.
    ) a- K" W0 S0 k
  1377. ; http://php.net/session.cookie-path: B0 k8 T: ?3 ~3 s, _% I8 T
  1378. session.cookie_path = /* q6 I% v) V1 G/ P/ e% |  u3 c
  1379. . P7 u( b1 ~  {" m7 d
  1380. ; The domain for which the cookie is valid.7 X) o' w0 i7 x3 ]1 p) c6 \6 Q, k
  1381. ; http://php.net/session.cookie-domain3 l0 J/ l' c# H5 a& p( {% D
  1382. session.cookie_domain =, i& F+ `" Y6 N% j& I

  1383. . U# k' g$ K* e' }
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % v6 C, n* T6 Y5 j  L
  1385. ; http://php.net/session.cookie-httponly
    * l+ r' h, D- T
  1386. session.cookie_httponly =
    3 N: w0 s, g/ F7 R- A
  1387. 5 y) g" W) j, s/ f" a
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.$ `) @  ]! y1 y4 b
  1389. ; http://php.net/session.serialize-handler
    / \' u% T/ _( ?/ ]' [
  1390. session.serialize_handler = php
    , X+ N$ }0 L# t1 S# z# Q3 l% c

  1391. , P, R0 ~7 H  |
  1392. ; Defines the probability that the 'garbage collection' process is started
    ; ?1 ]- ~+ @3 B0 c* I
  1393. ; on every session initialization. The probability is calculated by using
    , K, Q; f0 x1 S! h7 D+ n
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator% i: Q( ~5 V$ I4 J6 c2 K
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) z1 w; Z; x: q9 @+ I+ Q
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 \# e5 V" G$ Q+ R
  1397. ; the gc will run on any give request.
      p3 T' u$ k! E5 V6 {7 w
  1398. ; Default Value: 1- \- M1 g; U  G9 u# z0 u5 p
  1399. ; Development Value: 1
    " O4 T/ P, i3 k* C1 G$ \
  1400. ; Production Value: 1
    , m' e4 i' k1 Q, |
  1401. ; http://php.net/session.gc-probability# A4 N3 d0 _( D1 t, E
  1402. session.gc_probability = 1# v, k" i+ Z: i! g. Y" ]1 [; p
  1403. $ Z( U- J% E) ?6 b
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    4 A% A. r8 Z& _& L. o* a& H; |
  1405. ; session initialization. The probability is calculated by using the following equation:
    9 v* f! D' B8 T; e( r; n
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    , o" b/ \4 }0 C' P, F
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 16 c" _( v( M! c  f" [
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 b5 H: [9 c5 v; u
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you; Y& v( _+ u* E
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,$ |8 f+ s0 a0 r6 f
  1411. ; this is a more efficient approach.
    4 w! _/ t& m0 k3 P7 K7 r- d$ k
  1412. ; Default Value: 100
    & ], R- x2 S5 R1 I% \9 \) T; V
  1413. ; Development Value: 1000' T5 P) n( ~/ K6 R
  1414. ; Production Value: 1000, @3 _# W$ P0 k
  1415. ; http://php.net/session.gc-divisor
    # w1 t- r( u8 T4 m1 g
  1416. session.gc_divisor = 1000
    6 t2 y# t7 i8 e8 o6 x2 j
  1417. # i5 [% `& c# _/ W: N: {( m
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    * D! ^: [+ d/ |% Y
  1419. ; cleaned up by the garbage collection process.
    % ^7 Y& N6 X5 |8 l$ C; Y$ g5 t9 |3 @
  1420. ; http://php.net/session.gc-maxlifetime: T/ q, w9 e9 ?+ [. c4 O( C
  1421. session.gc_maxlifetime = 1440
    3 q: m9 v/ f6 ~7 q- d

  1422. ( {# p: W* Q/ r- b( \* H
  1423. ; NOTE: If you are using the subdirectory option for storing session files! X+ E4 l3 I4 e. Q. X8 a" O  z
  1424. ;       (see session.save_path above), then garbage collection does *not*
      d) |! i% ?" [# a0 a# R9 g% E5 M) `
  1425. ;       happen automatically.  You will need to do your own garbage
    7 U* e" ?! }1 l3 _% o
  1426. ;       collection through a shell script, cron entry, or some other method., ?: B& c9 f& X  Q3 \% ~
  1427. ;       For example, the following script would is the equivalent of
    8 m. f2 r* J5 c% m7 \- J4 I
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, S( X$ D9 X3 g, M( Q6 d! k
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- M6 [" G5 G# x& |3 G) x% E& W
  1430. 2 T) i. w+ g+ n  }( {. `, j. t' F
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.9 u- A- M9 \& U- q
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    2 a0 Z6 T! h# ]$ A" A8 L( v
  1433. ; considered as valid.4 \6 c( o2 d; q5 I! J; `9 x
  1434. ; http://php.net/session.referer-check
    9 l/ \' e+ r  T0 C1 V
  1435. session.referer_check =
    8 |2 ]5 I" u* J) ^) S) |0 b
  1436. $ Q4 y: I0 e; S" ]
  1437. ; How many bytes to read from the file.4 L- c4 G! Y8 c
  1438. ; http://php.net/session.entropy-length
    * v$ J; O" {* u- l( W
  1439. ;session.entropy_length = 32+ Q. N* g) Z* \5 ?
  1440. 2 o" F- Y. a# `$ j. e' b) z4 @8 ^- G
  1441. ; Specified here to create the session id.7 V3 v" {1 f7 L5 l
  1442. ; http://php.net/session.entropy-file
    * D% N7 k2 c, @1 \# I
  1443. ; Defaults to /dev/urandom# `3 G9 J0 A; h  G/ M3 \0 V0 l
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 }$ h, T2 [$ K# V. B+ _" e% R# O5 w
  1445. ; If neither are found at compile time, the default is no entropy file.
    2 P  D1 m2 o9 @8 [; m" b. E) Q
  1446. ; On windows, setting the entropy_length setting will activate the
    : G. z$ I7 v9 f7 G# G" V* K3 K
  1447. ; Windows random source (using the CryptoAPI)
    $ s! \! M! N4 s+ }, b4 r" g( a( ^5 ?* O
  1448. ;session.entropy_file = /dev/urandom' a6 ?0 r4 K2 V0 X
  1449. % N7 i! p4 S' g8 I, D6 y) R, ?
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects2 _. D6 }' Z2 ~0 Y8 S
  1451. ; or leave this empty to avoid sending anti-caching headers.4 `6 ~) f% `7 X7 h" ~
  1452. ; http://php.net/session.cache-limiter* H& z. I( _- q. g5 U
  1453. session.cache_limiter = nocache: C$ i5 t( z. X6 ]! B+ S. m" M

  1454. 1 l; o# I; J2 I9 c# `- E8 v& i
  1455. ; Document expires after n minutes.
    5 N& z1 S- \9 @4 i7 r. Q
  1456. ; http://php.net/session.cache-expire( I/ r- l& R4 a4 R$ A8 g
  1457. session.cache_expire = 180- o$ @1 X. ^; b7 T* V* z2 R

  1458. ( @( s$ x( C" ^; w% u
  1459. ; trans sid support is disabled by default.! Q$ c6 q/ M0 F
  1460. ; Use of trans sid may risk your users' security.5 @1 X; c2 H! t3 p, Y9 j: _
  1461. ; Use this option with caution.
    % }2 C. w; k+ r9 D9 |4 M5 Z. G* J( o0 _
  1462. ; - User may send URL contains active session ID
    7 Z2 a7 u9 v' b9 H$ i7 ?5 d
  1463. ;   to other person via. email/irc/etc.
    ; k! E4 C. y' M
  1464. ; - URL that contains active session ID may be stored; t) `# t1 ?) s
  1465. ;   in publicly accessible computer.
    * @5 u! p6 ~( a/ U' r( g
  1466. ; - User may access your site with the same session ID
    * Q, m# Z& y6 S8 ~; \
  1467. ;   always using URL stored in browser's history or bookmarks.
    : L" m2 Z9 G$ g! ]( O
  1468. ; http://php.net/session.use-trans-sid" z/ X  n6 H6 r9 u  q
  1469. session.use_trans_sid = 0$ c( c4 C- ]  P. D; Y: i& s: |

  1470. 8 E' f+ y2 @! S  q  l3 O
  1471. ; Select a hash function for use in generating session ids.
    / ~$ G% n; I: F2 U& v8 F6 u( ]
  1472. ; Possible Values' p+ e$ z5 h. r4 A3 d6 `
  1473. ;   0  (MD5 128 bits)" `/ W. j2 h0 N5 V
  1474. ;   1  (SHA-1 160 bits)
    3 }) v! a- \6 m2 u& l( y. l
  1475. ; This option may also be set to the name of any hash function supported by
    7 f) k) G3 j& F  |# o1 {# n( e
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()4 t: [! O. @% K
  1477. ; function.
    : K' R! d: X0 Q' H
  1478. ; http://php.net/session.hash-function
    # q9 y) {2 n/ I
  1479. session.hash_function = 0
    8 N+ ~  p9 T+ W

  1480. " A5 k, o2 l7 F; q/ p3 M
  1481. ; Define how many bits are stored in each character when converting- T$ c2 _4 h7 l* U. ~- [
  1482. ; the binary hash data to something readable.% v4 D' R$ y, G: a5 ~2 r% g$ \
  1483. ; Possible values:7 ~9 o. m2 g8 u; D6 X7 v/ H8 w
  1484. ;   4  (4 bits: 0-9, a-f)2 ?. H3 V* I' z* M1 {$ ]+ p
  1485. ;   5  (5 bits: 0-9, a-v)1 u" E; j$ P4 i, j& T  A: U% m
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ Y4 t/ g7 X/ B( c
  1487. ; Default Value: 4
    * A  d1 y# u9 X+ B6 y( q+ ~) k* }$ k
  1488. ; Development Value: 50 J- c( o4 L+ A
  1489. ; Production Value: 5
    $ ~" s, g: |" @: U' O* d  R' V
  1490. ; http://php.net/session.hash-bits-per-character3 b' n1 y+ X8 l, d5 f  W
  1491. session.hash_bits_per_character = 5
    - j2 v6 c+ N. _  P7 E! m  C

  1492. % z+ v- m* ?( C7 e- _0 h; A( s0 w0 r
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    9 v& ^1 q% i: m2 U
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ; F) a- B3 _5 j( V; p: b+ c2 U+ o
  1495. ; add a hidden <input> field with the info which is otherwise appended
    / O0 N* b1 v9 `- K
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.& @; T$ J& K! X& y; r$ [
  1497. ; Note that all valid entries require a "=", even if no value follows.' Q& s$ z1 d" i! w/ k
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; L# _2 V; F; ]1 U
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( M5 J- f5 [+ e) \, O  d3 N9 e. O
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 N4 Y9 s' p/ k1 U3 d6 ~9 i. R
  1501. ; http://php.net/url-rewriter.tags
    * J8 W7 c- u8 s: S3 E& l# v
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 ?1 O$ [( _  c

  1503. ! B& }0 O. r4 _! G" J# H
  1504. ; Enable upload progress tracking in $_SESSION$ }, ^2 p: h" K: s- p1 `# t4 k
  1505. ; Default Value: On
    " w/ y4 b9 A/ D! G3 J
  1506. ; Development Value: On
    4 p; h: W; [: k3 e
  1507. ; Production Value: On
    & M+ |3 m2 P/ r; }2 l# A0 u9 b: c
  1508. ; http://php.net/session.upload-progress.enabled+ E. B0 z3 r0 t' n
  1509. ;session.upload_progress.enabled = On
    / c( ~) ?  I+ z7 g4 ], E
  1510. ( L/ Z; G0 i# _) Y( i" `
  1511. ; Cleanup the progress information as soon as all POST data has been read$ A9 I) |4 v6 @* }' J% `4 f
  1512. ; (i.e. upload completed).0 T. H* ]5 y0 L/ p8 X* s1 g/ }6 K
  1513. ; Default Value: On
    $ f3 V1 H3 n5 p. k$ e- W
  1514. ; Development Value: On. X: I: |% h& Z) o
  1515. ; Production Value: On
    9 G  {) X# Q" r6 T  ^9 t
  1516. ; http://php.net/session.upload-progress.cleanup6 {) d( {9 P6 `( n! P
  1517. ;session.upload_progress.cleanup = On* D3 U* J. Z9 q3 W0 o/ o8 L
  1518. 1 h& @: ?9 {- A: t1 f: {& i5 X
  1519. ; A prefix used for the upload progress key in $_SESSION( l) Q/ v& Q; E: E% t
  1520. ; Default Value: "upload_progress_"
    $ b! t4 Q* \' I# y
  1521. ; Development Value: "upload_progress_". Z2 i! R* l5 a3 X  b. }, T) D
  1522. ; Production Value: "upload_progress_"
    / ^" q% t/ O- B9 [7 Q8 g
  1523. ; http://php.net/session.upload-progress.prefix) j; }7 X$ K0 E. B+ I
  1524. ;session.upload_progress.prefix = "upload_progress_"
    7 k% C2 a) H1 Q- c2 N5 @

  1525. " M& I. A" Y/ @% Y+ k) b; K
  1526. ; The index name (concatenated with the prefix) in $_SESSION' C2 ?$ G9 |- W  G# J) k8 Z
  1527. ; containing the upload progress information
    5 y+ A: g: B- X" _$ q3 R
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"( a' q7 p4 X# a) O  _  p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"& D. }5 T9 {6 n( B4 T  E7 S
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 v" O# w0 ~0 D
  1531. ; http://php.net/session.upload-progress.name
    0 y6 N) x6 `/ @2 R
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ) U. e; j5 c) K. N) a! E% r3 J* o/ w

  1533. ' U) T2 u  a2 q1 U( \4 ~" E
  1534. ; How frequently the upload progress should be updated.
    , d0 k0 y: C/ _/ c8 o# p
  1535. ; Given either in percentages (per-file), or in bytes
    " d- {' ~/ R. }' n4 `; B
  1536. ; Default Value: "1%"
    4 r4 [" c" Q: x7 E% V, k
  1537. ; Development Value: "1%"
    1 J0 w' N0 }- x% }! D+ O+ a
  1538. ; Production Value: "1%"
    / }. s$ R7 W' v" {
  1539. ; http://php.net/session.upload-progress.freq
    " N+ J* {$ K' B! Y6 }. ]
  1540. ;session.upload_progress.freq =  "1%"5 {* i  H: Y0 C# c

  1541. 5 a$ l) |$ m& [& K' B
  1542. ; The minimum delay between updates, in seconds
    ; \! g5 R$ @- |& S" A2 f
  1543. ; Default Value: 1. g/ B7 q3 }) s# d  w6 z. a) z
  1544. ; Development Value: 1+ a5 c8 o9 k4 r2 K4 N8 I4 {
  1545. ; Production Value: 1
    ) `! \1 e+ U; ]0 v5 e7 U2 x
  1546. ; http://php.net/session.upload-progress.min-freq% Q- Y8 Q+ H5 c0 G. W% n
  1547. ;session.upload_progress.min_freq = "1"
    # N0 V+ W8 B' U- d, E( d9 Z
  1548. 0 C! g# m5 E/ I
  1549. ; Only write session data when session data is changed. Enabled by default.
    ; W* {3 l% a9 L. D) L8 D
  1550. ; http://php.net/session.lazy-write& |# N0 ]/ o4 W7 h. l
  1551. ;session.lazy_write = On; O  i0 D0 o1 g: }9 h

  1552. 1 P6 U7 U2 o0 M
  1553. [Assertion]
    6 ?% V" k8 x  @4 h) C. H4 j4 j; g
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    , {4 d' r. t; X- ]2 A. L2 G2 G
  1555. ; -1: Do not compile at all
    5 P& [9 @3 K& r( Y* Y% M: s
  1556. ;  0: Jump over assertion at run-time
    3 q, M0 A- _) n  L  a7 @6 p0 _
  1557. ;  1: Execute assertions
    2 A4 W& p" p3 Y0 h" W
  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)
    0 \& y5 ]" e. J& H1 S- f) L, H5 Z
  1559. ; Default Value: 10 D& W1 M/ j& b; `. p! Y7 e
  1560. ; Development Value: 1; N1 F" f# p7 h& q
  1561. ; Production Value: -1
      }, L2 J0 r% A. f4 P
  1562. ; http://php.net/zend.assertions
    1 `# a, i) H/ m. c( L1 D, K0 {: C: C, _
  1563. zend.assertions = -1
    ! a( a2 I$ h5 A; ?1 f8 U( h4 P

  1564. # ~- |, V: \: o" Q" _! `) Y
  1565. ; Assert(expr); active by default.
    . d- {0 y; K( F( V5 c* V. f3 Q) j
  1566. ; http://php.net/assert.active5 M8 R2 A4 e& U1 @. E/ l
  1567. ;assert.active = On
    % k% ?2 J! |# Q0 M* {% C0 q8 x% a2 t& \1 L

  1568. ' Q" u, E' i1 |) m3 K4 p
  1569. ; Throw an AssertationException on failed assertions
    ( a- y$ A8 @7 M% ^* B
  1570. ; http://php.net/assert.exception# ^7 G- J; f+ n& V# G( U. i) h8 a
  1571. ;assert.exception = On
    2 m) m8 W* I0 p: v

  1572. ! P2 v8 _. w/ _6 g$ r8 p3 G
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ }1 }3 J0 @" K- P
  1574. ; http://php.net/assert.warning
    ( s! x6 X( |% |- t: q% t( d
  1575. ;assert.warning = On  _6 k  @) B3 q+ A) C; K$ n

  1576. / m7 h/ u4 D6 l/ S" x
  1577. ; Don't bail out by default.5 @7 Y; _. i5 |7 y* v
  1578. ; http://php.net/assert.bail/ f, u2 p+ i+ f
  1579. ;assert.bail = Off
    ; v" {: |' w2 @7 W
  1580. ( s$ ~6 t; S/ n, r! U6 n  E
  1581. ; User-function to be called if an assertion fails.1 R! I1 s8 W6 {: q$ y
  1582. ; http://php.net/assert.callback
    ! [2 C2 ~2 }7 [  w/ A
  1583. ;assert.callback = 0* V% H' R9 Y% u( e. a

  1584. & T- {/ v$ R* w
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ! H) b' h: y3 m. j: p2 V0 K  c5 ^- |# h
  1586. ; error_reporting(0) around the eval()., x. m# ^" _; ]" F* Z. m! C2 S
  1587. ; http://php.net/assert.quiet-eval1 X* W9 R9 j7 }. i. G: R
  1588. ;assert.quiet_eval = 0
    ' S0 q7 F0 e3 l/ z8 ]. N
  1589. / a( D2 c2 u/ t; C1 l2 P( X# T+ J
  1590. [COM]
    . @7 S# s& Q' l1 w
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: j- t8 u: V# x% [
  1592. ; http://php.net/com.typelib-file
    / _7 W4 z. K  v& O, H. N, k0 u
  1593. ;com.typelib_file =+ u% L- q) v4 i( r$ e* F

  1594. / [' \$ e* ~5 ~/ u
  1595. ; allow Distributed-COM calls
      q, ?1 A% f* ]0 g; X3 W  W
  1596. ; http://php.net/com.allow-dcom# j2 p% g  U, A9 X' B
  1597. ;com.allow_dcom = true
    1 \0 ?( ?) b; b; |+ K* r% x5 Z

  1598. 8 A* D% ~  \& M
  1599. ; autoregister constants of a components typlib on com_load()
    5 |0 P' W& T% q
  1600. ; http://php.net/com.autoregister-typelib8 F; T& F9 q, i
  1601. ;com.autoregister_typelib = true
    * P& ^7 X! M% y
  1602. - @) q. G7 S/ _0 E
  1603. ; register constants casesensitive
    / F& K! J) L5 C0 I
  1604. ; http://php.net/com.autoregister-casesensitive& W$ j$ w# h5 `; ~6 p6 i
  1605. ;com.autoregister_casesensitive = false) I% j& R  L/ S0 E, j: X9 I* u, I% I1 ?

  1606. 5 A6 }2 e, e+ J1 U
  1607. ; show warnings on duplicate constant registrations
    3 @/ ~/ h) Y: E( p  N: ~5 m
  1608. ; http://php.net/com.autoregister-verbose) t" q  A. M' q
  1609. ;com.autoregister_verbose = true; k# S; ?. z3 b
  1610. ' v8 P& d4 \3 V' ?3 J0 \! X
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    6 Z, i* [' u2 e7 d0 \5 L
  1612. ; Default: system ANSI code page
    : R, a+ `2 v. ~' f
  1613. ;com.code_page=$ Z8 }- x6 X5 ?# t
  1614. 2 D) k, F5 g+ \6 U3 j
  1615. [mbstring]
    ( y( V# n( E( t. T3 l
  1616. ; language for internal character representation.
    $ H/ F1 W" I4 H4 @+ Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    : T. D8 P+ Z% {% K: {1 I
  1618. ; http://php.net/mbstring.language, Y: b# e1 x  E, N. S/ O- Y/ y7 U- k
  1619. ;mbstring.language = Japanese3 C: w5 B" x, }2 [5 `

  1620. " T9 J) _7 _& t- M
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 U* R7 E+ ]( c3 z' g/ T9 C: r2 o
  1622. ; internal/script encoding.
    & t1 a; X* C8 a
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    $ P8 T; f) C, D, y% I" d6 ]
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 I; E! F8 D4 a4 t2 H" P
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: {% ^( x. g+ L  S+ _- ^/ {
  1626. ;mbstring.internal_encoding =* k' O5 h& G5 \# J
  1627. . s7 n1 \' L2 a! N. Z6 q" d
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # H8 E2 B& @1 v0 t7 s
  1629. ; http input encoding.
    ! `' i9 d' s% h, h0 C2 _
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! b' R# i% w# x3 |  m
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    5 g9 l# |$ C5 Y* [; V# {% ~. Q
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input! b3 J% o  Z3 V  P# s
  1633. ; http://php.net/mbstring.http-input
    ( z% z) |) y: z- X+ B) R4 d, {
  1634. ;mbstring.http_input =
    2 b) P) u& Q- ~( S) X+ n
  1635. 7 @* u+ r7 A$ }7 w
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.* d1 l- t* Z3 ^
  1637. ; http output encoding./ ^- R6 q+ K, ^" R* q' J
  1638. ; mb_output_handler must be registered as output buffer to function.
    / x& F' r' ~  ^
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.* X" z2 e: v: R+ y2 K1 P6 O
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output% g0 S4 q: o( c
  1641. ; To use an output encoding conversion, mbstring's output handler must be set. g! N  P* \4 X( p
  1642. ; otherwise output encoding conversion cannot be performed.
    ( R3 }0 Z# f( k- p. g4 E; {
  1643. ; http://php.net/mbstring.http-output- L" Y" M6 ^4 `, N( i$ l% b4 [
  1644. ;mbstring.http_output =1 E  x  t/ S6 L, A3 r' @: @: y9 q

  1645. ' N7 c) I3 \4 H
  1646. ; enable automatic encoding translation according to* w, f- o4 }9 t# a  g9 C
  1647. ; mbstring.internal_encoding setting. Input chars are
    6 c- v& s8 W. ^+ {  b3 `
  1648. ; converted to internal encoding by setting this to On.+ |* h2 U: l  H3 ~+ E! u
  1649. ; Note: Do _not_ use automatic encoding translation for  Z$ K, ?; ], Q- q4 a+ g
  1650. ;       portable libs/applications." q# ]' n% l( V7 Y/ D
  1651. ; http://php.net/mbstring.encoding-translation
    - y4 ?; e: e9 a7 j+ R5 h
  1652. ;mbstring.encoding_translation = Off/ @* l% {, M3 x+ Q: C5 i0 S! x
  1653. + @; {2 T& S$ P4 _; L. _3 f% y1 u
  1654. ; automatic encoding detection order.
    3 P1 ^' J& M, c+ o
  1655. ; "auto" detect order is changed according to mbstring.language% g8 S& H. P4 o$ u
  1656. ; http://php.net/mbstring.detect-order
    3 e% A" O3 A6 C, F. }7 g
  1657. ;mbstring.detect_order = auto
    0 z6 Q; s, c: n1 p! q( A+ h

  1658. % F4 x5 C7 u( [/ q; o9 Q8 K
  1659. ; substitute_character used when character cannot be converted
      S3 l( V* l" ?/ \" E' q, N
  1660. ; one from another& k: D) J8 Z8 Z' a" l: N
  1661. ; http://php.net/mbstring.substitute-character/ y. M9 B# I$ x
  1662. ;mbstring.substitute_character = none0 @+ S8 d" A# A- H" f
  1663. 6 B- t- e2 h' Q+ x& v7 Y5 a* ~
  1664. ; overload(replace) single byte functions by mbstring functions.; u; r( u1 _- _: H* D
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    $ p: P) S  v2 F4 M
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    . j& @0 x: M+ t" v+ D
  1667. ; For example, 7 for overload everything.. B- U% l: @. B' n" O- h8 b
  1668. ; 0: No overload
    + x$ T8 W) w7 B9 {
  1669. ; 1: Overload mail() function. S& K: `; ~- h- i
  1670. ; 2: Overload str*() functions
    ' N3 n0 e* Z1 v5 {" N0 y9 j
  1671. ; 4: Overload ereg*() functions
    ( i3 i7 ~# _" z% x
  1672. ; http://php.net/mbstring.func-overload
    ( E" H. c4 ]: P/ Q3 [/ {, U, k
  1673. ;mbstring.func_overload = 0  v7 B, N+ G1 S  t

  1674. # X% l, y8 n+ ]# }
  1675. ; enable strict encoding detection.0 C6 N$ N7 N7 @3 ~4 s% C
  1676. ; Default: Off
    ' D0 p/ p7 |7 P9 M
  1677. ;mbstring.strict_detection = On, D3 A+ l9 ^" ~) @8 x
  1678. , G  b$ q! Q# r3 l" ~! l- F
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()3 m' C% `3 K! r& l. t5 |0 Y4 y  R
  1680. ; is activated.: D" E" _2 X, c
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! X4 c! `7 i1 m, N1 v
  1682. ;mbstring.http_output_conv_mimetype=
    3 Z5 V4 T' A; q( _* n- C
  1683. 0 U% L: H% `+ C; w/ p
  1684. [gd]  L. r5 b( o% g' q: J9 x8 g" g' q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    : S( p6 O; N- ]6 Z8 o! `( b! U% n
  1686. ; a gd image. The warning will then be displayed as notices2 ^' N9 p+ l9 @$ c! l8 h* E
  1687. ; disabled by default" q& x; M8 @  v3 S: q) Q1 m" l
  1688. ; http://php.net/gd.jpeg-ignore-warning) t, A9 m/ Z4 t1 @3 ?' g1 F* Y
  1689. ;gd.jpeg_ignore_warning = 03 _) x. F/ t2 x% X+ J+ {

  1690. ( V6 G  W& o$ [" F, t7 l
  1691. [exif]
    5 m' t2 C8 h% R6 y+ z- @3 Q
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 \; D( t) a: j: m1 F2 f6 r: W
  1693. ; With mbstring support this will automatically be converted into the encoding
    5 w+ h: x  U5 K
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 [  j. N4 z" h  v
  1695. ; is used. For the decode settings you can distinguish between motorola and5 _# {- j$ k, @: z- a. e5 [( B
  1696. ; intel byte order. A decode setting cannot be empty.
    . c2 b; e1 Y2 r( s
  1697. ; http://php.net/exif.encode-unicode+ p6 K# u# _2 Z4 `6 P4 ~
  1698. ;exif.encode_unicode = ISO-8859-15
    . o/ A( }9 e- d  Y4 V

  1699. & @3 q# H1 ~% t0 q& d; e
  1700. ; http://php.net/exif.decode-unicode-motorola2 f/ k4 X' n0 n$ q8 A
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 `# b& I; A, v2 q) s
  1702. - |* i# S/ z8 T4 }
  1703. ; http://php.net/exif.decode-unicode-intel
    + j( q3 U0 x% L6 J! ?+ y; l
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    , f3 E& W( l& E: Z. {* e8 p' L

  1705. 1 X- Y! x7 P+ f) l$ r
  1706. ; http://php.net/exif.encode-jis* @  S8 ~$ V5 M+ R9 \
  1707. ;exif.encode_jis =
    4 w& @# Z- o6 F/ ]; c
  1708. ( |2 u1 W6 F$ y' j4 E. K
  1709. ; http://php.net/exif.decode-jis-motorola3 a$ R4 |" A) j+ I' o& V
  1710. ;exif.decode_jis_motorola = JIS
    6 s1 C- o% W! Y5 m7 d

  1711. 8 h' G7 w, O* c& j( H9 G' ~
  1712. ; http://php.net/exif.decode-jis-intel
    1 L6 S; o9 ~+ b
  1713. ;exif.decode_jis_intel    = JIS8 ?) P1 ]" g& N2 h. ?3 u' l
  1714. 3 N* w1 }$ O9 l5 Q( p
  1715. [Tidy]; q4 V. K+ z* ~# w" F) P
  1716. ; The path to a default tidy configuration file to use when using tidy9 _& H4 Q- P6 @2 l
  1717. ; http://php.net/tidy.default-config& B6 N9 t- ?, h4 D3 |
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 s7 ~  i: ~& a3 c; C

  1719. 7 c- q6 j; N# k3 v
  1720. ; Should tidy clean and repair output automatically?
    - m7 h/ Y$ v$ ^6 H) m. H
  1721. ; WARNING: Do not use this option if you are generating non-html content; N6 T* d0 m( c7 ^
  1722. ; such as dynamic images
    ( g% l6 e; n. m
  1723. ; http://php.net/tidy.clean-output
    . v- ?( O' _9 ^( a
  1724. tidy.clean_output = Off
    - p5 m! i8 \; z9 |
  1725. ; E( g3 E" w& [2 I+ `/ j
  1726. [soap]
    % l9 I% ?* C2 [4 V/ _4 h, p
  1727. ; Enables or disables WSDL caching feature.+ ]3 d- `, }* c/ A% ~1 `/ g
  1728. ; http://php.net/soap.wsdl-cache-enabled: R' `: F0 ^" g8 _
  1729. soap.wsdl_cache_enabled=15 o2 ~3 ^9 r2 [3 A  r5 ^8 T

  1730. ( a% J2 r2 S4 p
  1731. ; Sets the directory name where SOAP extension will put cache files., l  B/ f) b$ o( N
  1732. ; http://php.net/soap.wsdl-cache-dir
    $ L& W# D6 M$ t6 g8 {+ k
  1733. soap.wsdl_cache_dir="/tmp"; J" ?$ v9 n3 U/ O3 A) n
  1734. 7 O  C9 ?# w1 W' ]
  1735. ; (time to live) Sets the number of second while cached file will be used
    . e3 i# R$ c9 V
  1736. ; instead of original one.
    # L% H- u7 Z; v
  1737. ; http://php.net/soap.wsdl-cache-ttl
    - l' G7 |( b  r2 s0 x4 C  N% o8 S
  1738. soap.wsdl_cache_ttl=864001 x5 l0 X( {% A

  1739. ! v1 `9 \5 s# Q/ _1 ^
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)# K! ]" V. V! T  D1 ^! U- l
  1741. soap.wsdl_cache_limit = 5- N  u  N9 a3 b- @

  1742. # {" ?' e8 L, a% p
  1743. [sysvshm]$ X1 |' D! u( T9 l' t1 E
  1744. ; A default size of the shared memory segment
    " Y8 Z- j% x2 z, p- y7 T
  1745. ;sysvshm.init_mem = 10000) z+ |- A+ z+ q7 N! L* I
  1746. * ~7 S2 x7 d0 j$ m. D( L$ B  d. l
  1747. [ldap]0 H9 A/ @/ \  ?; d, E8 v
  1748. ; Sets the maximum number of open links or -1 for unlimited.8 q9 ]$ p8 S/ t) E% K/ a
  1749. ldap.max_links = -1* y, |. X3 A- }! ]) A" B5 s( B" t

  1750. & A% m$ c: Z! f1 V9 \: Q$ [
  1751. [mcrypt]' q: G- w$ W9 f* o8 n
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open3 V7 o" v& Z) d5 |! O; e3 X# T+ P
  1753. " ~7 p- R+ A" _
  1754. ; Directory where to load mcrypt algorithms
    0 v* j4 a" m8 D% e: i& F. v
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 Y, L3 |  ^" I
  1756. ;mcrypt.algorithms_dir=5 A! f3 J) {* z3 i$ r, A) ^3 w: Q
  1757. 2 N" U( t; u4 [- Z8 g
  1758. ; Directory where to load mcrypt modes6 }. `% H* {' O& {+ E5 C7 R2 J
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + M4 V) D5 S* ?) x7 I
  1760. ;mcrypt.modes_dir=8 _; `9 R$ `: g' w2 L4 h) T
  1761. ! z- {$ z- J8 N3 X
  1762. [dba]3 l) B# z( j9 |4 G7 A7 A5 b
  1763. ;dba.default_handler=$ o- a9 U5 i% y( U) n7 u/ y. j
  1764. " d% `* C  k2 K
  1765. [opcache]! y8 f" p! w. `" Q
  1766. ; Determines if Zend OPCache is enabled/ _1 W7 a* Q' n8 ?* F
  1767. ;opcache.enable=0/ W$ [1 r$ x) a% }% {! \( {# D0 |
  1768.   J  _! q( n' V! U, \! u1 h) k
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP" R' I5 S3 [1 z) U" C9 }
  1770. ;opcache.enable_cli=0+ d4 k$ {5 e+ X, b) Y

  1771. * L" {. W4 \# Y$ n7 H/ b4 d' ~
  1772. ; The OPcache shared memory storage size.1 N/ X+ i1 C; U* i5 M& b6 q
  1773. ;opcache.memory_consumption=64
    ) g5 l/ M' f, W6 p" x& O- A2 n/ D

  1774. 5 Z; h, p8 r+ G7 Z; W7 U: A
  1775. ; The amount of memory for interned strings in Mbytes.4 k' w6 |* g; d) V* ~( o
  1776. ;opcache.interned_strings_buffer=47 G9 _; N6 I- V* k$ t1 ?2 _* F

  1777. / j# K" o! }$ d+ ~
  1778. ; The maximum number of keys (scripts) in the OPcache hash table." }1 @% W( \4 q, Z0 y. H8 X
  1779. ; Only numbers between 200 and 1000000 are allowed./ P% ]% D7 J0 v' R/ h( P6 i
  1780. ;opcache.max_accelerated_files=2000; M: B$ ]* Q/ L& Q
  1781. , {" G$ q& l, P! h+ V& y& v: V
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.) k# U/ d; c1 g. n0 c) O
  1783. ;opcache.max_wasted_percentage=5
    / j  e$ e2 R1 Z: D! {; ?
  1784. 3 Y2 H9 D+ r1 i& g2 k  @
  1785. ; When this directive is enabled, the OPcache appends the current working
    , m: x! n* ^  N2 |1 q4 N
  1786. ; directory to the script key, thus eliminating possible collisions between
    3 c( R" @/ |7 d" v6 f$ o
  1787. ; files with the same name (basename). Disabling the directive improves
    - \: D, D& o  t2 \! E
  1788. ; performance, but may break existing applications.! @6 l2 d' S# C( X& Y. U' F
  1789. ;opcache.use_cwd=1
    0 q$ E  F) j/ J3 \: m8 s. z, L
  1790. $ T  @' P; |5 Y; N, ^- T
  1791. ; When disabled, you must reset the OPcache manually or restart the# o# A- x' ]+ ^$ ~) x
  1792. ; webserver for changes to the filesystem to take effect.
    ' i6 E3 u2 ^! L, S: b
  1793. ;opcache.validate_timestamps=1
    " m& ^! c3 Q( o/ K& W, o" O5 z

  1794. ( g5 v$ P. [9 @2 K( S9 Q: N# ~
  1795. ; How often (in seconds) to check file timestamps for changes to the shared( }, B/ ?4 {2 k8 O4 T& g! S
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    6 M" _# Y/ |' I
  1797. ; once per request. "0" means always validate)$ Z3 ^) \8 z6 t+ g1 J$ \; }( @
  1798. ;opcache.revalidate_freq=2
    ! s) s# h, ~. |8 K

  1799. $ Y" s* q0 @, M  P" F0 M
  1800. ; Enables or disables file search in include_path optimization, I4 s! k: C$ b- U5 x
  1801. ;opcache.revalidate_path=0
    $ A9 a5 c! M. N! H4 o

  1802. 6 ]4 `% d- E$ b+ \2 q5 Z  I
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) r6 i+ ^' ^% Y; U+ W( a* v
  1804. ; size of the optimized code.
    . F$ r% s9 S+ `7 t
  1805. ;opcache.save_comments=1! w5 H7 \5 X$ \
  1806. 0 Y; A3 X' z4 d
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code6 t- ~/ R4 ~% o, J% Q( |( a
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.: M7 r: {+ ~1 l, @) o
  1809. ;opcache.fast_shutdown=0
    ) m1 }6 W' O0 ?- I* j' G; H: B" y1 _

  1810. 1 u  L: ~# Z# R9 ?1 Z' T
  1811. ; Allow file existence override (file_exists, etc.) performance feature." I& k6 `$ m! ?
  1812. ;opcache.enable_file_override=0
    + h) ?6 c" W) C! A: C" o6 H9 \
  1813. 0 w) a! e2 h! J, U) q
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache2 ?# w! ^" {# W) y" s
  1815. ; passes6 U) Q* p# r8 p$ d& ]
  1816. ;opcache.optimization_level=0xffffffff/ P: S% \; }$ L# v7 k( _$ [
  1817. $ r+ Q4 ?/ K4 U! i& ^* O% j
  1818. ;opcache.inherited_hack=1" k, W/ H: K+ Z
  1819. ;opcache.dups_fix=0
    6 K/ |' ?/ `9 t
  1820. * ^; n+ E. ]% {  `
  1821. ; The location of the OPcache blacklist file (wildcards allowed).$ ]6 B' n5 w+ F/ l7 ^
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    & W" x6 X/ r$ T) Z8 d4 O
  1823. ; that should not be accelerated. The file format is to add each filename" v6 [. C) m) h, w$ }, x
  1824. ; to a new line. The filename may be a full path or just a file prefix) f' T& H- X; j# I
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 C/ ~2 b) i' ~- w( {
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    3 E& B- v) u: O, V
  1827. ;opcache.blacklist_filename=4 j9 u* W, f  \" X  \

  1828. & }9 o8 m, Q8 ^
  1829. ; Allows exclusion of large files from being cached. By default all files
    + ?  p8 x' d3 w3 n8 p4 q7 f$ Y
  1830. ; are cached.
    0 d: [3 ]" o" G  V/ D" u
  1831. ;opcache.max_file_size=0
    6 L) E! A' a7 c( H6 K& R
  1832. 3 t1 N2 @, e. q0 T7 W2 J! [2 ^
  1833. ; Check the cache checksum each N requests.
    9 X0 X4 \9 h: [$ N# U
  1834. ; The default value of "0" means that the checks are disabled.5 U6 ]" O1 k- I% h$ H. ^+ }
  1835. ;opcache.consistency_checks=0
    ) @4 L7 ~( S0 q/ @  R  P# t
  1836. ; C9 k. b+ X5 R. L+ Y
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# l/ Q0 }8 t% E3 S2 S
  1838. ; is not being accessed.
    % T/ J& R; x; K1 ]" n
  1839. ;opcache.force_restart_timeout=180% Y# Q( l* e$ f& ?

  1840. % Y$ b0 L$ r- g" F2 u' |: N
  1841. ; OPcache error_log file name. Empty string assumes "stderr".) d5 S) X. ?5 e: i6 x# S, y
  1842. ;opcache.error_log=
    2 J$ }# e8 K, v- @# m* A$ ^$ f

  1843. . m$ d8 Q/ }5 l1 B/ E) \5 p. l
  1844. ; All OPcache errors go to the Web server log.
    6 @* b0 M7 [' M9 g
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.4 X: a8 M8 l- {# m
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: \, H' Y) V: v, A
  1847. ; debug messages (level 4).; u# J2 \# Z  F5 w: B  B
  1848. ;opcache.log_verbosity_level=1
    $ m; W: m6 z4 m  Q" c* b
  1849. 5 W: e( i7 W. X, S
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide., y; ^- l8 U5 C* z! D' E  S1 z
  1851. ;opcache.preferred_memory_model=
    ' h  C" r  N& i  D% Q  K( T

  1852. 1 k: q; s& Z+ G5 m
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , `0 Q% ~2 Z+ {8 W' Y2 H
  1854. ; Useful for internal debugging only.. D/ T. t7 N! C3 d0 N
  1855. ;opcache.protect_memory=0
    % }& A( H7 P& z% p3 ~" `4 q9 i

  1856. ! k) V9 `# T  y0 H" |
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is' G$ G  T/ t# ~  @: q
  1858. ; started from specified string. The default "" means no restriction, a9 C3 O  I7 f! n. m( ^# m
  1859. ;opcache.restrict_api=+ j. ^' _/ ~: m. z  |( s
  1860. 4 B+ ?* w+ a8 L! e. T  P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    * V9 l* h8 ~4 B! L2 Q
  1862. ; processes have to map shared memory into the same address space. This
    5 A6 q/ X; y  z( c/ |
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 {1 y6 S8 w8 e# m) ]; ^* j" y
  1864. ; errors.
    5 }0 a) N: R, [0 |5 O: w' f+ f
  1865. ;opcache.mmap_base=1 d$ B# B/ }! j0 E& F/ S
  1866. / r) ?- d! D: y% Z5 w5 D" C
  1867. ; Enables and sets the second level cache directory.% g  f/ \& `) o+ i% j% j
  1868. ; It should improve performance when SHM memory is full, at server restart or
    / K9 G  w# j$ t+ z1 j
  1869. ; SHM reset. The default "" disables file based caching.
    4 m* L, g1 P8 z6 d
  1870. ;opcache.file_cache=+ x  P  a/ `0 h) l( d. e) c
  1871. 9 [  U& X6 D0 t( P  y
  1872. ; Enables or disables opcode caching in shared memory.( H& N  f/ s- H3 D8 d1 u$ H! ]& Q
  1873. ;opcache.file_cache_only=0) e4 D0 U" m  ?' F( w
  1874. 1 j% `& e* N$ g9 O1 [% w* W
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ) V" A2 N2 e- ^2 n. {% x3 V5 y
  1876. ;opcache.file_cache_consistency_checks=1
    1 v# Y: R9 K0 a- [, U/ y
  1877. 1 x0 [" W' O+ E, _! X& a! n$ q! p& o
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to2 i. E* K/ c# u+ o1 i- j& t# f2 _
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    # f9 J0 A6 ]9 w& D1 v& Z1 V8 _* w
  1880. ; cache is required.: r/ k2 T7 U/ }5 q
  1881. ;opcache.file_cache_fallback=1- F5 w1 X7 z* i- a/ w9 M9 q  Y
  1882. & B, [' K$ `, J( r
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    " B. P& C: K* [9 I- M
  1884. ; This should improve performance, but requires appropriate OS configuration.+ J5 Y- z9 u" m4 x; b
  1885. ;opcache.huge_code_pages=17 o) ]8 t1 ?6 W6 t. m
  1886. $ a- R' v* F; q0 p) ?9 y, \* w! n
  1887. ; Validate cached file permissions./ U* C/ t/ u  z
  1888. ; opcache.validate_permission=0: [8 ?+ _0 }) B. \
  1889.   m7 C8 j' O; v: f5 }. {
  1890. ; Prevent name collisions in chroot'ed environment.
    + y' h. Z7 C. q# O; L
  1891. ; opcache.validate_root=0
    " g6 A' j+ p3 K! p3 _$ E' P

  1892. . q5 h5 }5 T, T$ `
  1893. [curl]
    : W0 C) n  h% ^' `+ T
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 d$ e) e; T9 B) b) J' `
  1895. ; absolute path.
    - z* n1 H3 t8 Q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 z+ N$ E. G) ^( w) N+ a
  1897. - s5 Z: r. [3 m" _& y
  1898. [openssl]1 m: R& f+ ^; X
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem, |. N3 b) w3 o% h( d
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 o; Z$ @' e6 G# S$ x
  1901. ; not specify a value for this directive as PHP will attempt to use the
    7 `' i6 F5 S- \. L+ `% M# @
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % q* G/ K9 R8 z' p* }: v" @/ V% M
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / _  ?$ K: a1 V! A4 a6 g
  1904. ; option.
    % D6 Z# F6 s$ e4 J0 f& D( a3 F/ y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # G4 M6 e# t0 s+ u/ J

  1906. 0 K2 V5 c$ X, M) r
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
      ?+ m( S7 |% R! B' y+ d
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    . I5 I3 \# X/ U$ t
  1909. ; certificate. This value must be a correctly hashed certificate directory.: V, w" y# {6 C0 ~1 Q  R& E, v
  1910. ; Most users should not specify a value for this directive as PHP will% S! B7 p( N% g& o8 f7 P
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,2 Y  d5 K, C: A/ C" ^' ?
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & p/ m6 n0 ~/ y! a
  1913. ; SSL stream context option.
    8 ?; m: B( I8 M; G" Y( h* t
  1914. ;openssl.capath=
    ( |- _' W% D+ ^/ y
  1915. : V$ I8 M- h5 C% y$ R
  1916. ; Local Variables:2 h7 x% g2 u8 ^, }2 `, @
  1917. ; tab-width: 4, {' A: j' f) y, Y
  1918. ; End:
    . ^. i/ r% A- h% v" r+ |
  1919. # v, V9 ~3 ^9 R, n1 q2 a' O8 }
  1920. ;eaccelerator4 S/ p" K6 j" m, ?( P/ A( V# x

  1921. 8 X$ G- M, O- Q5 E
  1922. ;ionCube
    ; e9 ^6 q! E) u+ F% y3 w% \1 t
  1923. ( ]1 v+ ~, o( |9 m+ z4 J
  1924. ;opcache" L" h1 w# x, a

  1925. % J' t! w* K, T: h% w* E% S
  1926. [Zend ZendGuard Loader]  Q% K0 U# e/ X  m" U& f4 [
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.7 v4 L) y3 j  U  _& P2 ~9 ?
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ' ?5 ]# V  v: y
  1929. ;zend_loader.enable=1
    4 k2 ]9 k8 u* _/ R7 @4 A8 r: B5 O
  1930. ;zend_loader.disable_licensing=0
    8 X9 z. a( g* C
  1931. ;zend_loader.obfuscation_level_support=3
    6 m1 D! a% P# J6 Y
  1932. ;zend_loader.license_path=
    1 j' U" g$ X2 p$ r9 ^- k% G; B
  1933. . B: O! A' C" }. K' N" T* {$ U
  1934. ;xcache
    ' [+ g8 m; `2 Y5 i
  1935. % D- |3 q: e2 p# g
复制代码
8 {' J5 b# G* V* ^& c6 S! \
# x) m4 E- v/ ~" N6 Z( l3 d5 d" p

* C; H* v3 G8 e4 [4 B  Z, Z0 Q6 }, _1 j& ~# q$ o" q- o
. ?* E2 I9 y: Z, s7 }5 j5 ~3 ]

: E2 \' C; o0 t" M% V
7 W6 {4 Z, u! c0 z5 Q: DPHP5.6版本原始设置2 D8 J1 y# m* z& H/ y1 h

9 R) g( P* |& S& P7 _$ K3 r: m
  1. [PHP]
    5 w* D# e# I. Z+ W6 o
  2. # H5 S9 I* L: ]9 b
  3. ;;;;;;;;;;;;;;;;;;;
    % y% z. b' }* t6 p. S2 w5 ]
  4. ; About php.ini   ;% u' s) A2 ~5 E" z7 L
  5. ;;;;;;;;;;;;;;;;;;;) K: c1 i" r8 G2 G" f, b
  6. ; PHP's initialization file, generally called php.ini, is responsible for9 o& R2 g$ R8 ~/ x2 g* ?2 g
  7. ; configuring many of the aspects of PHP's behavior.
    ! V' n9 d) ^& K$ P( K/ r. f- J6 t) ]
  8. 4 [" p; i7 R7 P3 ?1 \$ g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ' Y" A& W8 K& @. Y
  10. ; The following is a summary of its search order:$ n0 G+ J' _3 i" _) Q
  11. ; 1. SAPI module specific location.
    4 @! y" ?0 d$ ?
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)8 n7 L8 W: j1 F- `, m( i
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    % D& {# _% m7 ^8 l% H5 p( ?' s7 G: }
  14. ; 4. Current working directory (except CLI)
    ) O( R- ^9 v1 m7 B+ ?- t/ I7 T9 `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- v" w! e0 Q* {  n2 g0 S
  16. ; (otherwise in Windows)
    4 O1 V1 `& y; k6 V( A* ~0 L0 V
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 P8 [1 D; o$ b  p/ y3 A2 p0 I
  18. ; Windows directory (C:\windows or C:\winnt)
    7 K: Z2 w5 z% H8 I( ?6 [( J/ \- Q
  19. ; See the PHP docs for more specific information.
    2 F6 E/ T4 [) N! H6 U
  20. ; http://php.net/configuration.file- M; d  ~  H) d. V
  21. " h2 N- _: C8 J" M7 P, O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 l0 V" n7 N( c; C6 ~" A
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).7 N# a- U! z. y6 G6 n# F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    8 V- ?# n, C' }( r
  25. ; they might mean something in the future.- Y$ H; o: m( n# Z4 b. p
  26. & `: R2 L0 g, M& H& C" t3 _
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! I8 \3 C$ |1 i
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 K7 `2 c' F& z, r( A% N0 B5 b# t! F$ V
  29. ; following the section heading [HOST=www.example.com] only apply to# H7 f3 I, U3 |6 b5 s
  30. ; PHP files served from www.example.com.  Directives set in these
    ) H1 I# H* m1 m( m8 h2 |5 W7 T
  31. ; special sections cannot be overridden by user-defined INI files or- t6 c& r8 {2 V- y8 Z4 ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ g9 |, M7 B/ ~3 F6 c
  33. ; CGI/FastCGI.  T% m; ?+ s5 t1 w
  34. ; http://php.net/ini.sections' g2 e* }1 q9 [2 A1 Y* |, q+ i

  35. 0 L0 h  Z) B, X8 G9 p
  36. ; Directives are specified using the following syntax:
    % M: y1 ]2 `4 G8 ]- `/ E4 M
  37. ; directive = value
    3 i! ?- k9 E" K- M1 s
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    3 a' w; T* `0 J( ?" `1 @+ ]
  39. ; Directives are variables used to configure PHP or PHP extensions.& M3 `# N* g9 k/ Q) i! Z2 ]8 a
  40. ; There is no name validation.  If PHP can't find an expected; F2 H4 a' u0 L( E) O
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ M" p- t0 H3 [( i

  42. $ t% ~" E7 T! [+ }8 I
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * }$ r/ y, Q, k' j6 y/ L
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( a" ]$ E6 Q1 z* F- t; x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; U% n7 V: f+ }4 s+ r
  46. ; previously set variable or directive (e.g. ${foo})
    , D! _* Q' N2 g) ?. @

  47.   Q; O% h0 Q6 M) R% c" o" ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    " |; S2 \4 j8 e3 ]) |% L7 s
  49. ; |  bitwise OR
    % q% p; Y" ~2 s5 u% ~, }) \
  50. ; ^  bitwise XOR- I/ J. T. x* A$ u  P
  51. ; &  bitwise AND
    5 A$ `( T% e2 F) s( g; \
  52. ; ~  bitwise NOT
    0 ?- w6 t) A5 Q5 ~5 V' p) R: s
  53. ; !  boolean NOT$ q  h! U1 W0 I, _( j. l! B5 k
  54. ) Y  ]+ Q" {" \9 e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( q7 |2 G/ k3 t
  56. ; They can be turned off using the values 0, Off, False or No.4 A" r# B3 S. B6 O  t: ~
  57. ! d) Q, D1 |8 F/ {
  58. ; An empty string can be denoted by simply not writing anything after the equal
    . e$ R4 K7 ^$ h7 E( A2 Z% @. [
  59. ; sign, or by using the None keyword:
    " [$ V, K1 i+ m+ P5 ^( E+ {

  60. 0 y" s6 o: Y% ?9 y
  61. ;  foo =         ; sets foo to an empty string
    # i  `: p# h  w) N9 I  |- O
  62. ;  foo = None    ; sets foo to an empty string
    3 H/ ?, F1 i: a' b% L1 s
  63. ;  foo = "None"  ; sets foo to the string 'None'
    " e1 N5 w1 @6 Q: x3 M) x
  64. 9 f7 H& _$ K" z( q
  65. ; If you use constants in your value, and these constants belong to a% h7 Y  n' r' r0 G' q! L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),8 w) F9 |) k$ s" i7 A, W. k, ?1 r+ \
  67. ; you may only use these constants *after* the line that loads the extension.
    ; ]2 B6 z8 m  S" r- G: j& Q
  68. ' N8 i- u. s9 ~& d$ S
  69. ;;;;;;;;;;;;;;;;;;;
    ' V0 Z1 h' o6 o$ v$ l. m- L
  70. ; About this file ;
    9 y0 z9 y- y4 r5 N5 n2 T
  71. ;;;;;;;;;;;;;;;;;;;/ Y6 l: _- I3 _& J2 b
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& e& X/ z+ {3 m. c
  73. ; in production environments and one that is recommended to be used in( c9 V1 l) X: i! H9 }
  74. ; development environments.7 g( R. O* [3 k' t+ O

  75. $ [, k$ Q0 v( u. g+ B. ?/ ^  [, o
  76. ; php.ini-production contains settings which hold security, performance and5 c- p$ h; j; d9 Y. a0 l* }6 w
  77. ; best practices at its core. But please be aware, these settings may break
    , R; l& r8 l2 Y# u
  78. ; compatibility with older or less security conscience applications. We7 u8 L3 i: q, S6 v" B9 @+ U) @
  79. ; recommending using the production ini in production and testing environments.
      [0 @4 q& ^# E2 J
  80. 2 z4 {+ I, M+ Z5 u2 P. j
  81. ; php.ini-development is very similar to its production variant, except it is" o- d+ I' C, a/ b) ]1 M
  82. ; much more verbose when it comes to errors. We recommend using the
    9 l0 J0 ]- i: ]; Q0 y
  83. ; development version only in development environments, as errors shown to
    . E. S2 z$ O& |4 q# ]$ ?
  84. ; application users can inadvertently leak otherwise secure information.
      `$ X9 C4 Z4 X4 ^) [8 Y
  85. ; j' E% \: S1 F7 G: g# X6 X
  86. ; This is php.ini-production INI file.
    # k& n4 U5 l2 h2 A7 p4 @
  87. 4 N  T. H. m7 b$ u, F
  88. ;;;;;;;;;;;;;;;;;;;0 C8 B: `1 {2 S" R/ F
  89. ; Quick Reference ;8 I8 Y4 L! Q; R
  90. ;;;;;;;;;;;;;;;;;;;
    $ n* q: e6 i# ~2 x
  91. ; The following are all the settings which are different in either the production, h8 Q1 G$ Z# `4 @
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      z5 Z, ^+ x( Z- Q1 y
  93. ; Please see the actual settings later in the document for more details as to why. K' B* r) f# ]1 o, V' _$ M
  94. ; we recommend these changes in PHP's behavior.- A6 ~+ e3 s; \# @8 d4 n
  95. 8 C% s! t- q- |$ F4 l2 j
  96. ; display_errors
    ) K$ @, y( t) C0 j
  97. ;   Default Value: On; d, I2 e+ J' P8 G5 O
  98. ;   Development Value: On
    - Z5 I2 p. I3 _  [" I
  99. ;   Production Value: Off
    ! C  x" y& j# ^' k! |; J" T

  100. 1 `* I& l; f% ?. i. G
  101. ; display_startup_errors
    ' p2 m; ?1 M9 I( \# F; T
  102. ;   Default Value: Off& a" |3 q% y7 c( T
  103. ;   Development Value: On
    6 L& S+ ]- K; K" ^6 \
  104. ;   Production Value: Off
    ) s4 ?4 G: U( a9 t, T  m
  105. ! s- M2 }) T' x! x
  106. ; error_reporting
    ; {* {  ^1 ?) u  D
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( i% x. H2 `# E4 ]5 f' P
  108. ;   Development Value: E_ALL) I: f' _) p3 M6 {# @, U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" e7 \! Y. g7 J8 X
  110. 7 e3 u5 t% x: r9 w, W
  111. ; html_errors
    5 B+ |* W  j2 u! ?. v
  112. ;   Default Value: On: Z# Q0 k$ {. Z2 I- d# F
  113. ;   Development Value: On
    + x5 n/ g( ~6 z
  114. ;   Production value: On
    ) W, V+ R: Q8 k1 [  N6 V1 f

  115. ) d2 e4 _) ^8 G' _6 ^4 J& ~
  116. ; log_errors
    8 B% \# C5 W' y, f
  117. ;   Default Value: Off4 r/ o* F9 p- y+ b) F
  118. ;   Development Value: On8 L" L& J. Q3 C! _0 S  E+ J1 D: B
  119. ;   Production Value: On
    ' n# M5 J' H: F; U$ p$ G9 ]7 v* i$ L
  120. / \: y3 u! ^: o  F5 |5 C
  121. ; max_input_time
    " M- A+ ?& g2 p" ~+ ]% C7 G
  122. ;   Default Value: -1 (Unlimited)6 `; v0 Q# d* `
  123. ;   Development Value: 60 (60 seconds)
    * L  B. N3 F* \" \* }
  124. ;   Production Value: 60 (60 seconds)/ v& {5 d" T9 h/ Q, G
  125. # o  O2 h: [' e0 X9 O" v
  126. ; output_buffering8 X- W: e( C8 K7 N" ?- \
  127. ;   Default Value: Off& o: ~% j: L& j4 T/ q8 F+ t
  128. ;   Development Value: 4096' t" `* p+ Y) x
  129. ;   Production Value: 4096$ q5 v4 o7 x% g7 l2 R
  130. ) I$ `$ F  |3 D5 ], g5 E4 q; l
  131. ; register_argc_argv+ D1 x# Z  N" m. L0 L7 X
  132. ;   Default Value: On* V: y4 Z/ H. k6 h5 T8 y. k( }, Q' K% l4 ]
  133. ;   Development Value: Off
    * x* q/ y; m% h0 n
  134. ;   Production Value: Off
    # G" c: y8 b* s" e) s

  135. . R4 d. _/ x, ~6 Z+ Y9 t
  136. ; request_order
    5 S, _- L, L5 i0 ?
  137. ;   Default Value: None& Z' ], D3 V8 b* y8 p7 w6 a
  138. ;   Development Value: "GP"0 J9 o) n! y/ f: G* A
  139. ;   Production Value: "GP"6 R0 h% v& O7 Y0 L4 l/ D! K
  140. $ |' H; Q, j5 s- y
  141. ; session.gc_divisor
    ; z( P, w0 S: m7 f% q* }% c9 P
  142. ;   Default Value: 1005 M" v' b* o/ |4 r
  143. ;   Development Value: 1000
    9 h8 U& z. R3 I4 Y, [2 C
  144. ;   Production Value: 1000  f7 i) }8 z" ]1 g
  145. * p: `% [' t5 K# e- k" g( Y6 U
  146. ; session.hash_bits_per_character4 _  B/ v& s) s& P) {4 O  e6 v
  147. ;   Default Value: 4
    , d- A7 M: [0 ^
  148. ;   Development Value: 58 L  r9 I4 ^/ Z+ E/ O6 T
  149. ;   Production Value: 5% I: y) m7 I2 H3 c3 M4 J; I0 x8 ?1 _

  150.   [4 }3 W8 C/ p7 o' h" S& _
  151. ; short_open_tag& m" V4 j% N* L. m  u8 U
  152. ;   Default Value: On
    : d  k. x4 \! R: @; G. t
  153. ;   Development Value: Off
    ' ^9 I; ?8 R' W5 x0 h% Y2 O
  154. ;   Production Value: Off
    ) g5 e$ c5 X; S2 Z8 O
  155. 1 {; f" a8 Y( l9 z
  156. ; track_errors
    ' H# {* I: H! ^/ B7 F, m
  157. ;   Default Value: Off9 |- Y$ j+ i5 a0 G/ }3 S' F
  158. ;   Development Value: On
    0 h# F( K9 H  e: v) x8 C1 Y2 ]
  159. ;   Production Value: Off
    * Y: C% M) L% u8 ]3 Y2 L

  160. + k% h- Q2 K2 s6 h" Z% s4 S
  161. ; url_rewriter.tags. J8 @* K* }# r' z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") H( M( r, s! U- M
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' X, ?9 G9 I+ D1 j. ^6 f! |+ X! ~5 x
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ S* f! T7 f2 w8 S2 Y9 E
  165.   |( H$ a+ D2 ]# |0 r% n
  166. ; variables_order
    6 f- D% j6 I& t* c1 C- m; K; s
  167. ;   Default Value: "EGPCS"
    ; _8 `. G, `5 [1 x; s( x) }5 K1 K
  168. ;   Development Value: "GPCS"( q/ Y1 M5 I1 ]$ X' p
  169. ;   Production Value: "GPCS"4 K& g% C) X: i% ]; B
  170. ; O1 a1 s- a) d
  171. ;;;;;;;;;;;;;;;;;;;;6 [% j& J" H9 ?5 F" o1 j
  172. ; php.ini Options  ;; V5 O  m" z2 B7 d1 a& {: y7 q
  173. ;;;;;;;;;;;;;;;;;;;;
    0 Q3 @  L+ l& m  p8 y  A9 n2 Y1 z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 w6 y3 N6 R8 k2 @
  175. ;user_ini.filename = ".user.ini"
    ' b5 Z3 `! b; j$ P- O/ f( R1 U9 ]

  176. 7 [: C1 A' D3 y* d% V) ^9 c5 J
  177. ; To disable this feature set this option to empty value1 d0 R5 J4 j1 m
  178. ;user_ini.filename =
    : f" }. k$ ^% u4 w0 [/ n
  179. % q$ H2 H4 m4 V. X- a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . I7 r5 B' m/ ^4 N% c. ?
  181. ;user_ini.cache_ttl = 300
    6 [6 Z! D; D: o) W" u; }
  182. 5 q4 \) f: X5 n; J# h; ~# A
  183. ;;;;;;;;;;;;;;;;;;;;* B- q3 w+ V! s% Q% @% R$ L' A
  184. ; Language Options ;
      F( J5 J9 S4 C+ L2 J' ~
  185. ;;;;;;;;;;;;;;;;;;;;
    , U! E  E, |! H
  186. 3 h3 w6 ~: V6 y& v: s3 F6 z
  187. ; Enable the PHP scripting language engine under Apache.
    ' M& r3 X) b6 F% q! y7 c
  188. ; http://php.net/engine4 G$ F4 {. L# y  U( ~
  189. engine = On! s9 g. j$ k2 m# p1 ?+ b
  190. 2 {" M6 i8 X7 G  O
  191. ; This directive determines whether or not PHP will recognize code between. A% \/ a) k- N: W" V+ e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 U; `2 X1 Q% h6 D9 E2 [, S- C5 K3 m. M/ T
  193. ; generally recommended that <?php and ?> should be used and that this feature" ]" x$ N  P5 G/ |
  194. ; should be disabled, as enabling it may result in issues when generating XML
    + X) z2 n, b' |$ S# A
  195. ; documents, however this remains supported for backward compatibility reasons.$ R, n) ]) q; e' a4 n1 }/ C
  196. ; Note that this directive does not control the <?= shorthand tag, which can be  j9 ?$ q2 u" y) q" q
  197. ; used regardless of this directive.
    9 i1 ^% h( o2 a, }% r  C
  198. ; Default Value: On0 j3 b! @! F; ^
  199. ; Development Value: Off
    ! k$ i+ f3 D( A. x
  200. ; Production Value: Off
    1 U% H; J- k+ n
  201. ; http://php.net/short-open-tag- z+ v' a) m' [: a
  202. short_open_tag = On
      g3 _) X* q# w3 T

  203. / c2 S1 i2 `& R9 }6 s1 H
  204. ; Allow ASP-style <% %> tags.* Y1 x8 ^7 h9 g1 ^% r( K
  205. ; http://php.net/asp-tags
    5 g% {2 G0 J, ~: `
  206. asp_tags = Off3 u# C$ `; Y% u
  207. - u* ?% w# p# g  H0 u/ ~0 a
  208. ; The number of significant digits displayed in floating point numbers.- B1 n3 s! @# C1 }5 M
  209. ; http://php.net/precision
    / _. @2 U. n1 E1 N% L" q
  210. precision = 14
    ! _$ y7 f/ t0 S/ B# y
  211. 5 r- Z% N3 I0 Q- H# |$ |( K  d- P
  212. ; Output buffering is a mechanism for controlling how much output data0 u9 `2 s6 G3 d) V5 q4 f8 s
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 M5 ^2 d' G( a/ W; O
  214. ; data to the client. If your application's output exceeds this setting, PHP- u1 q7 M( Y: w
  215. ; will send that data in chunks of roughly the size you specify.0 k; M( Q( D0 I5 O" d, |
  216. ; Turning on this setting and managing its maximum buffer size can yield some
      S6 E" t& x5 W# s6 A, `, o
  217. ; interesting side-effects depending on your application and web server.
    % {) a4 H) a8 l8 z7 A. E
  218. ; You may be able to send headers and cookies after you've already sent output3 O6 Y8 _( I( w/ S
  219. ; through print or echo. You also may see performance benefits if your server is9 S2 O" ]' @3 y* g, `1 y
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    # z, j7 Y, F6 Q! m; l9 Y
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * i4 M( K/ n! u' c5 J* _( P" F& E
  222. ; reasons.
    ! b: e9 E% r1 u& G  ^& _& N
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
      z2 C. c3 ^, f; v- c
  224. ;   functions.
    ' `4 H& J9 d: U  x6 L( v0 C: M
  225. ; Possible Values:- q! E# q) M& `# z
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)/ \* u9 O2 N/ O. N/ h
  227. ;   Off = Disabled
    * a( k' ]0 `2 F! r6 D0 z
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.+ Y0 E  A/ J7 i" u; F% N1 X/ q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * U) {$ q1 H' V  |2 z8 g  _$ |7 }
  230. ; Default Value: Off
    + ^/ E2 w& Q( L( Z
  231. ; Development Value: 4096. ~& w" R2 u5 l1 S: D. |6 ]% `8 w
  232. ; Production Value: 4096
    9 x( ^* {* z) I/ e+ ^9 d3 N; n  b# S  w
  233. ; http://php.net/output-buffering
    + Z: h# k5 g- `& `( Y+ B
  234. output_buffering = 40960 d- z3 M5 J- U+ G7 w( c

  235. * Q' P6 v; `9 ?* e; n- K
  236. ; You can redirect all of the output of your scripts to a function.  For
    . }; J  T+ }/ f5 T" ^; `
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) |% O$ f2 {4 a4 d
  238. ; encoding will be transparently converted to the specified encoding.# q6 b# }- r" m3 V
  239. ; Setting any output handler automatically turns on output buffering.& g, R! s# x  p7 ^
  240. ; Note: People who wrote portable scripts should not depend on this ini1 }. u) ?4 Z$ {7 E2 o5 z  ]: @! n5 s
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    : \. t; p3 l# l. y! j
  242. ;   Using this ini directive may cause problems unless you know what script% C$ h9 d6 ]. y4 o- z$ A
  243. ;   is doing.
    * e7 V/ U2 N& _8 A- R
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"" C- H7 w5 `2 `: d
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 a3 D/ K* P% F! K- G+ Q
  246. ; Note: output_handler must be empty if this is set 'On' !!!!, @/ A1 ?' |! y, I9 a
  247. ;   Instead you must use zlib.output_handler.
      A* J' l6 Z- x5 w% K" M& p
  248. ; http://php.net/output-handler7 o. f& [' Y# {+ f. M$ C
  249. ;output_handler =+ K, X+ k: R% M- S5 c! O; C7 g; U

  250. ( i7 X$ @6 n. }" e6 p: J
  251. ; Transparent output compression using the zlib library
    # Y. q0 T+ j, @1 z- e9 u
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size! `* T1 R0 q, T9 g( p" ^9 `
  253. ; to be used for compression (default is 4KB)
    3 c% ?) M# ?, ?  n$ C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP- S$ \# D1 B/ k- Z% o
  255. ;   outputs chunks that are few hundreds bytes each as a result of0 }2 V$ {, l8 k( `, D. H
  256. ;   compression. If you prefer a larger chunk size for better
    ' \: _. ]- j7 @& U/ _. U# V/ e& `
  257. ;   performance, enable output_buffering in addition.  ]9 H6 T; i# G* @5 i; n# j
  258. ; Note: You need to use zlib.output_handler instead of the standard  Q' G$ {, q9 g, x4 L7 J! m% |6 [
  259. ;   output_handler, or otherwise the output will be corrupted.- m8 b" `' |& }. A" P9 m
  260. ; http://php.net/zlib.output-compression1 a9 x; l% Q5 \9 z! [
  261. zlib.output_compression = Off7 {! K; }& h# H0 p* w. |

  262. / O) B4 j! g8 G. V
  263. ; http://php.net/zlib.output-compression-level# _* o1 w- c; E9 S, Q/ q) h
  264. ;zlib.output_compression_level = -1
    ' i- V% E' R2 @6 C
  265. ; r7 `0 S5 b, M6 x
  266. ; You cannot specify additional output handlers if zlib.output_compression/ D- Q! d! g1 `5 a6 L
  267. ; is activated here. This setting does the same as output_handler but in
    - f! o$ A, x0 Q& ?3 M. Z7 B8 b
  268. ; a different order.
      }. g+ b: W6 k
  269. ; http://php.net/zlib.output-handler! d; S) c+ m6 v+ W
  270. ;zlib.output_handler =" Z1 {& V& y: I7 h, g2 ]$ x
  271.   c. a3 V# d2 H/ T" e, U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself; S( k, f. ]' c/ g$ P
  273. ; automatically after every output block.  This is equivalent to calling the
    8 L5 M" h( N  X( ^+ e6 [
  274. ; PHP function flush() after each and every call to print() or echo() and each$ o. ~; E0 `: O+ I* C7 K
  275. ; and every HTML block.  Turning this option on has serious performance( W' I* u3 K( R0 T' L6 N# b
  276. ; implications and is generally recommended for debugging purposes only.& {* L+ d0 u6 z( t
  277. ; http://php.net/implicit-flush, {6 B! w6 Z; O; x5 R, a
  278. ; Note: This directive is hardcoded to On for the CLI SAPI, }+ I; N" S4 F1 I
  279. implicit_flush = Off
    , J" `9 t$ t7 U/ c8 h9 z5 J! S" g
  280. 1 M0 Z( z' X0 X3 X" q( n9 w" m+ Z
  281. ; The unserialize callback function will be called (with the undefined class'
    . M$ m4 O! m2 j$ W1 {' H' r4 I
  282. ; name as parameter), if the unserializer finds an undefined class
    2 P0 o! e1 A) g5 s; [2 ~9 n( K3 P
  283. ; which should be instantiated. A warning appears if the specified function is
    1 }6 V( q) C  a$ M" }1 e
  284. ; not defined, or if the function doesn't include/implement the missing class.( [4 [+ A& ^: l& e# n! d& a
  285. ; So only set this entry, if you really want to implement such a" p; v. l+ A! \/ s
  286. ; callback-function.
    * h+ \- R6 R! P$ V, {
  287. unserialize_callback_func =  `9 P1 m: n  h7 j( n
  288. ) O# y! y1 e) f0 F8 i" {' u" F
  289. ; When floats & doubles are serialized store serialize_precision significant5 w8 Y+ h6 U$ n: k5 {- h2 R6 J* S
  290. ; digits after the floating point. The default value ensures that when floats. i- h6 O# {) S) I0 w$ t" U) `0 U# E
  291. ; are decoded with unserialize, the data will remain the same.; ?: Q, i7 K5 F2 V7 v) |# @/ b
  292. serialize_precision = 177 C) C2 v% f/ ~

  293. + [( I8 D/ f2 ^8 c2 v. y
  294. ; open_basedir, if set, limits all file operations to the defined directory6 h3 I! e6 b  }# \7 o
  295. ; and below.  This directive makes most sense if used in a per-directory8 n' x, A. V& _; h9 Y- j5 c3 f
  296. ; or per-virtualhost web server configuration file.
    3 N  ^: q% K6 W7 }0 t! F, F
  297. ; http://php.net/open-basedir' o& g: X+ h( z3 ^- k  c
  298. ;open_basedir =, o3 C' k0 J' `, w; B) O7 J7 e& V
  299. " I" u  T5 l) z) a0 G7 E
  300. ; This directive allows you to disable certain functions for security reasons.
    # W4 C# G% V" ?, l1 m
  301. ; It receives a comma-delimited list of function names.
    + G- r5 c2 Y9 l8 f' Q
  302. ; http://php.net/disable-functions
    1 y5 H( n! e$ t4 F
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    3 c  e# H5 A* s
  304. 9 o3 H* W; E) u7 `0 `$ Z
  305. ; This directive allows you to disable certain classes for security reasons.
    & d' [8 _# z! C" t7 d8 Z# ^+ I
  306. ; It receives a comma-delimited list of class names.( H2 Z$ S- s( t6 H: p$ E/ P
  307. ; http://php.net/disable-classes* \* `* `; y; r# T8 d' E. x
  308. disable_classes =
    ! ^/ p0 Z, [0 ?9 C- j
  309. # v, R! ]/ F+ C: l9 r1 z8 Z. }. q+ v
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in5 l- V( P4 f$ S" \, Y% ?3 V
  311. ; <span style="color: ???????"> would work.0 E' W. K6 h: [% ^( \
  312. ; http://php.net/syntax-highlighting
    1 E2 j8 @8 ?! C; O; q' Q4 u$ Y
  313. ;highlight.string  = #DD0000% T6 V1 H( `, i- a
  314. ;highlight.comment = #FF9900: d0 U( r( q( }& ~6 d
  315. ;highlight.keyword = #007700
    & v8 x' W. O: }0 ]( s! A' B: Q) Y
  316. ;highlight.default = #0000BB( W  F6 |4 |0 P; b  M
  317. ;highlight.html    = #000000' _  w/ V! G( s3 w
  318. / J# J4 a! \1 u3 c/ f
  319. ; If enabled, the request will be allowed to complete even if the user aborts3 h! R5 T! S3 w2 C! E- ^
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 u7 D/ B, e6 Y& `$ }+ ]
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior9 X6 F( b2 l: ]8 y0 o* @& H
  322. ; is to disable this feature.
    1 h9 F: I9 Y8 A! }- o. ~
  323. ; http://php.net/ignore-user-abort- D+ G( O8 b  k: S5 B- B1 P
  324. ;ignore_user_abort = On, e  K1 l* P' p" f

  325. + X1 j) T  @/ ?9 s
  326. ; Determines the size of the realpath cache to be used by PHP. This value should2 X6 K% j/ ]+ @! w/ W
  327. ; be increased on systems where PHP opens many files to reflect the quantity of7 b2 f1 ?+ }$ ?( c$ i& p
  328. ; the file operations performed.
    ! W/ l2 b* {% o) ^3 X% F
  329. ; http://php.net/realpath-cache-size
    1 `" r$ ~- f, w1 B
  330. ;realpath_cache_size = 16k
    ' J$ e& p  P8 X' l

  331. - k1 a# F$ E' ^1 p
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    , Z. \0 _% E) g4 ~3 p
  333. ; file or directory. For systems with rarely changing files, consider increasing this
      t0 c% T( p; C- z' p2 `
  334. ; value.
    2 S0 W5 R% `( E3 g( D
  335. ; http://php.net/realpath-cache-ttl
    * b# ^! e" I9 L
  336. ;realpath_cache_ttl = 120* [1 {, w+ {) C, f$ w& u
  337. 1 a! ]# w' s* m% g! ]/ r
  338. ; Enables or disables the circular reference collector.
    4 O8 D0 Y: B) N. J$ Z
  339. ; http://php.net/zend.enable-gc/ d6 E: \2 r. Y' B1 o2 a- m3 k
  340. zend.enable_gc = On9 `( D2 {+ P" Y3 h& A9 [# `

  341. 7 V; B- d) _* K  l+ b
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ; g) @$ V  m3 {1 }0 P. m0 }# X8 \
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such* j* v( }( `( `) R/ o
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 n7 p: q- A4 c) d+ l; r9 c1 a
  345. ; Default: Off, _! E! ]; |$ S# p
  346. ;zend.multibyte = Off0 J- N: K! g- o. N- d- p
  347. 5 o! Z6 ]! [6 a0 ^4 `
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    2 ~' K9 |9 O# V) e) H
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.: x, x8 n5 h- \( y0 W7 q
  350. ; Only affects if zend.multibyte is set.! x3 s2 E2 ~! f  D7 O5 U7 n
  351. ; Default: ""( |& a! h5 d) a1 A
  352. ;zend.script_encoding =! V) C' m1 Z# ~
  353. 1 N$ ^0 j2 E3 M7 p# R$ e' T
  354. ;;;;;;;;;;;;;;;;;
    # Z# _4 g1 _# ]. Y( k
  355. ; Miscellaneous ;* f' b; J  h& M
  356. ;;;;;;;;;;;;;;;;;
    / U  ]0 f4 f; E# |+ D' {

  357. 0 s% S4 T0 P+ E( y& C8 _$ ~/ u
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    # W# ]! B; [8 e' v) ~8 ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security' o0 ?- g3 m0 h% G) F
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 k! ]& s; _1 g8 n' _
  361. ; on your server or not.
    6 w$ I; k' m7 @
  362. ; http://php.net/expose-php1 n, v/ L! i% u& g) n6 G1 L
  363. expose_php = On
    2 X, h, ?: {% Y% l4 d

  364. % z; e, V) ^& k- R1 |! ~& Q
  365. ;;;;;;;;;;;;;;;;;;;
    ! s$ T6 T8 W( K2 e# i
  366. ; Resource Limits ;: A& n4 y* _+ k# j: V9 H
  367. ;;;;;;;;;;;;;;;;;;;1 }4 {' s2 I; ?9 _$ x# ?% z! X
  368. 2 |7 A6 `: C; o0 X
  369. ; Maximum execution time of each script, in seconds% N" R" A, Z9 P6 Y! M
  370. ; http://php.net/max-execution-time+ ^4 i. N# R' ^
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI( \" W. I: R) s# E0 e1 Z
  372. max_execution_time = 300& H& a  ^- D: n9 R( r$ T# O8 w

  373. $ h: _6 _5 z$ |7 ]- {( K
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - `+ l; \# I2 X- S
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 w, w: @% \$ I" d9 l' L# b
  376. ; long running scripts.( V- i* r0 ?4 k% d
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 z" V) s$ i* l0 v: |2 ^
  378. ; Default Value: -1 (Unlimited)
    & o1 {0 o5 I' B! o
  379. ; Development Value: 60 (60 seconds)7 ^$ B  U( m, ^5 c
  380. ; Production Value: 60 (60 seconds)7 N; @; C9 K# ^$ S1 C  A
  381. ; http://php.net/max-input-time& c$ f5 L5 L7 A2 {8 v
  382. max_input_time = 60! l4 S1 f, s( H8 \( c7 ^, B; z

  383. 0 v" ~7 S* G- }- X
  384. ; Maximum input variable nesting level
    ' d( z' W' |* H6 ~
  385. ; http://php.net/max-input-nesting-level
    ) R: v8 O4 n, \( C8 A6 i  l& w; `
  386. ;max_input_nesting_level = 64; o/ J( x- S5 p; V  U' i4 ]$ F

  387. 3 F& z* D. u  v# k" }5 ^! s
  388. ; How many GET/POST/COOKIE input variables may be accepted
    & J+ a' U0 g" T3 c
  389. ; max_input_vars = 1000, f) C: ^' [2 k! [1 b! n# v% N3 O
  390. % B- S" x- P, d0 ^6 `
  391. ; Maximum amount of memory a script may consume (128MB)
    2 H/ O" O" z; _7 r5 ^
  392. ; http://php.net/memory-limit
    , J8 r# v0 s9 _3 S' u
  393. memory_limit = 128M5 y5 x, a' ]& l/ O

  394. ( q  f/ w' G& }+ F3 U. w8 D
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; H+ M- M# w* X3 j# r; v
  396. ; Error handling and logging ;" r0 s4 b8 M2 R
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , }* z" D% u- e; P, I
  398. 1 u/ j4 \; Z+ c# G2 P
  399. ; This directive informs PHP of which errors, warnings and notices you would like- W9 F+ ^" h6 I3 Y, V
  400. ; it to take action for. The recommended way of setting values for this% V  h" ?; a. C2 g
  401. ; directive is through the use of the error level constants and bitwise8 X* k9 o, F- E1 y3 N
  402. ; operators. The error level constants are below here for convenience as well as7 a( d2 B8 K: ?& P4 p5 V
  403. ; some common settings and their meanings.
    8 N/ R' }$ S0 A7 m* w+ e  O
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 ~% [6 v, ~; C5 c, A" t5 p) M% l# b
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 `/ T$ f. T9 U- ~' K+ H  {
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ' H  I, ]2 H7 _/ q8 r/ i& ~4 F
  407. ; recommend error reporting setting. Your production server shouldn't be wasting2 q/ Z0 _$ w, W" \) P
  408. ; resources complaining about best practices and coding standards. That's what
    + @* G% `$ r% y+ L
  409. ; development servers and development settings are for.
    ) f9 ~/ ?) D% X) {% F, \/ f
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    4 I& r6 F! Y  n4 }5 a
  411. ; means it pretty much reports everything which is exactly what you want during& b4 T9 u( Q6 ^1 P; B7 G4 K
  412. ; development and early testing.
    2 F( G  F. {1 ]
  413. ;
    3 e" G7 O, r% M: i7 @
  414. ; Error Level Constants:
    : o3 b2 y3 B+ m- L" h3 J: L
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)4 P- z; e8 D6 `( l& E! c
  416. ; E_ERROR           - fatal run-time errors
    $ B4 Q0 j7 y! Q0 {' K; r2 V
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    + [+ z, r4 ^, H  t; Q+ c' W
  418. ; E_WARNING         - run-time warnings (non-fatal errors)" a! g. o4 [$ a+ d% ?7 U
  419. ; E_PARSE           - compile-time parse errors
    6 q; b7 E  d% {9 Y" _
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    * k( J, \/ A8 o2 r$ c6 x( c
  421. ;                     from a bug in your code, but it's possible that it was
    - I' V# k! F1 O2 N+ n5 q1 _
  422. ;                     intentional (e.g., using an uninitialized variable and! P& d3 B: p: D( S. s
  423. ;                     relying on the fact it is automatically initialized to an
    ) A( v( V! N" @: {6 x
  424. ;                     empty string)7 K! i) v7 Z2 k# X5 Z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  E# g% A# B2 u9 _6 V" R1 h/ E+ P
  426. ;                     to your code which will ensure the best interoperability
    0 n* P* q: z3 s, S/ j
  427. ;                     and forward compatibility of your code
    " p+ }, o& b" V- G9 A
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 i( z1 A; ?. b4 e, }3 @
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + c5 ]6 Z. d4 D
  430. ;                     initial startup2 T% z; U1 B* q. T; q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors5 t' D/ a6 }8 x: ], F+ c1 {
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). H8 T9 X: N1 t5 t, C
  433. ; E_USER_ERROR      - user-generated error message* u( q7 c9 i0 Q: S) f" R1 q
  434. ; E_USER_WARNING    - user-generated warning message
    ; r# t& e5 s2 M! X0 C% [/ h
  435. ; E_USER_NOTICE     - user-generated notice message) Y/ V9 Q6 b) |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions" }+ g1 J0 X4 e, h/ L
  437. ;                     of PHP
    7 _& E0 b8 ]" o9 c
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , _) i$ B/ D8 b! v
  439. ;
    ! A! c' c) W& B. S$ z$ E; z. A
  440. ; Common Values:
      Y9 R5 F$ ?8 `/ Z$ Q
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.): }" J* y' N! m
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    - I  X  S+ n& t+ i3 N
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' w$ U( G. E7 B
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& M- n( }' u' [8 z4 x
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: Y  }, [3 i: b+ Z  ?: \) _
  446. ; Development Value: E_ALL" q* n) P. E) }# z% S
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - C+ m( @; b2 T
  448. ; http://php.net/error-reporting- m( d6 E" R( @) I! `* W! U' h
  449. error_reporting = E_ALL & ~E_NOTICE
    ( C: ^3 `! A* U) _
  450.   ]8 b2 Q. _9 x% F  f* b- `$ r
  451. ; This directive controls whether or not and where PHP will output errors,1 |' N3 \5 |) L4 ?, j( Q( J6 }
  452. ; notices and warnings too. Error output is very useful during development, but7 F0 ^* H2 k. D% m. _
  453. ; it could be very dangerous in production environments. Depending on the code3 D/ |# {& P5 K9 ~7 I( T# u- ~/ Y
  454. ; which is triggering the error, sensitive information could potentially leak
    2 t( M8 Z3 i1 G) p% ~
  455. ; out of your application such as database usernames and passwords or worse.6 ?$ C# I: e1 z3 X( R8 p( u7 y
  456. ; For production environments, we recommend logging errors rather than
    ! K: `' P& Q7 @
  457. ; sending them to STDOUT.7 _$ [' K4 G8 j! k
  458. ; Possible Values:
    2 ?$ b: @1 C/ C2 g& x
  459. ;   Off = Do not display any errors  M% W" @4 B5 g
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!); v# m0 a2 w( Y4 o6 H0 O0 M
  461. ;   On or stdout = Display errors to STDOUT
    2 n0 m/ @  ~* b7 C" x' R. M
  462. ; Default Value: On) Y1 v* c+ p# A: H7 q
  463. ; Development Value: On
    . c2 F8 R1 ]! [: y6 p0 h, r6 y
  464. ; Production Value: Off
    5 t* l3 Z/ g' B3 z1 v
  465. ; http://php.net/display-errors
    3 r3 d/ j* `8 Y5 m- A
  466. display_errors = On( L" Z" ^& P! f* F6 ?( ~
  467. : ], z( |' N/ H3 f& u) L
  468. ; The display of errors which occur during PHP's startup sequence are handled  `# r: F; L4 L4 e# T
  469. ; separately from display_errors. PHP's default behavior is to suppress those& i; F' J$ @7 B+ I
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    9 P4 f) n' q9 |  C7 K0 w/ a/ m
  471. ; debugging configuration problems. We strongly recommend you. v" _% W9 h7 e& i6 a
  472. ; set this to 'off' for production servers.
    . f+ ?% ^5 V  J1 q
  473. ; Default Value: Off
    ' ?5 d7 _- ]+ i( W' z
  474. ; Development Value: On
    2 E# J( l4 W6 c
  475. ; Production Value: Off
    9 L; c! Q4 L- H1 g
  476. ; http://php.net/display-startup-errors$ Q+ E6 E' S8 L  ]) \: M5 c
  477. display_startup_errors = Off
    6 |  ?# x8 g: s6 X
  478. * w+ q+ b3 ]6 Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ' P$ X0 Q" U8 F6 V) S# t
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ! f3 s" _4 ]5 a" {$ }8 ?
  481. ; directive found below. While errors should not be displayed on productions
    5 M8 k  a8 v4 [! @5 R! k
  482. ; servers they should still be monitored and logging is a great way to do that.
    4 T/ p) I# J% Z& C
  483. ; Default Value: Off
    1 \2 h8 v: L. E- X
  484. ; Development Value: On
    % w" d$ o* k) Y9 }) l
  485. ; Production Value: On6 z7 ~( W' P5 W9 M4 m
  486. ; http://php.net/log-errors
    * F' z, L& e( Q  O( i( G" B
  487. log_errors = On# \% _/ `  u" j/ A5 X7 r' ]
  488. ' |) J! a% @; P' Z
  489. ; Set maximum length of log_errors. In error_log information about the source is
    , ^% s& z7 E$ q! k8 H( ~: k. a
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 U! H3 D3 m% ]6 s7 _: {% g
  491. ; http://php.net/log-errors-max-len+ j! h' r' n/ g. x
  492. log_errors_max_len = 10245 m. G5 w% w. H+ B0 ^

  493. 1 f0 @. d! o- N" t! Q3 S2 d+ y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " p5 D" G, R" C# E. Y0 Q  J" S" K
  495. ; line unless ignore_repeated_source is set true.8 S, ]* l& E4 c
  496. ; http://php.net/ignore-repeated-errors1 a6 V0 O  a. w; |% j
  497. ignore_repeated_errors = Off  P6 y- {& M+ X2 K0 x4 X. F
  498. * a$ w( K/ V2 k% Y+ G9 j
  499. ; Ignore source of message when ignoring repeated messages. When this setting# X, }' {& m2 `: e- x! n
  500. ; is On you will not log errors with repeated messages from different files or4 k$ T" y) g6 g2 u# E5 }6 K
  501. ; source lines.2 c$ C8 l& l5 ?7 ]. k
  502. ; http://php.net/ignore-repeated-source
    ) g- M! W0 _2 E7 q* V
  503. ignore_repeated_source = Off
    # g1 [5 x: a' ?: Q7 X4 q5 {% P
  504. 2 ?' p0 m$ a3 O
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    # C' u# K1 j' B; I3 z" V% e
  506. ; stdout or in the log). This has only effect in a debug compile, and if( n/ q4 r+ k7 n6 {6 \# E
  507. ; error reporting includes E_WARNING in the allowed list7 \+ Q- S' _0 m6 K7 v  e
  508. ; http://php.net/report-memleaks. i% R" {2 K+ C# z% T% H
  509. report_memleaks = On+ R5 b0 g) q# v# T/ @5 D, H
  510. ! ]0 h5 t1 w0 d1 t# |) R
  511. ; This setting is on by default.
    ( u: E( l$ r( H9 Z# ]( c
  512. ;report_zend_debug = 0" V8 M4 O  @9 L  t

  513. & d. w2 i0 _# g5 ]" M- z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' h  q. _4 d& p7 h% a5 ]: `2 ~# M
  515. ; to On can assist in debugging and is appropriate for development servers. It should8 I9 v8 E8 q& e: s
  516. ; however be disabled on production servers." A% E0 V' y0 |, S
  517. ; Default Value: Off
    " P  Q" E5 v' J9 y8 k# f
  518. ; Development Value: On
    % v9 K5 ]+ V. E9 O
  519. ; Production Value: Off
      s$ z( b. a0 S1 a, G
  520. ; http://php.net/track-errors7 w, [, F8 O" u& d; [
  521. track_errors = Off" ]5 ?, h3 ^( D: k% Z5 Q, {  K5 j
  522. % p! g  Y* o, t) \7 f# ?! D
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    " F  ^/ E  v+ v+ n( E
  524. ; http://php.net/xmlrpc-errors
    ' I# K' u$ e. @8 m1 O+ J1 u9 y
  525. ;xmlrpc_errors = 01 B) t, Q% H' @8 R5 H

  526. - F5 k4 j" E, ^) j' j# Q3 d
  527. ; An XML-RPC faultCode5 O) i. M' }' I. B2 r- z% w5 g2 X
  528. ;xmlrpc_error_number = 0( g& \3 i3 w' `/ S$ s$ X

  529. , U: }' |6 [9 {* x6 p4 A* U
  530. ; When PHP displays or logs an error, it has the capability of formatting the. s' H4 a6 n3 z3 {% G
  531. ; error message as HTML for easier reading. This directive controls whether+ O4 @- p6 L. U) e- K
  532. ; the error message is formatted as HTML or not.
    & }; X8 T( B' c; ^6 n
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI) t: E; T0 N, i/ A: K
  534. ; Default Value: On
    ; [, @8 K5 c4 b
  535. ; Development Value: On1 J. j0 O6 L( I. t  p! i. C/ `5 w3 y
  536. ; Production value: On3 o5 \) ]! {  ]# P/ X5 @
  537. ; http://php.net/html-errors- A9 @7 O$ {8 |, d
  538. html_errors = On
    0 V' t! w1 _8 n7 H% P- S3 E

  539. , x/ {" a2 C) q4 |# ~" f, ]
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    7 F5 ?& `5 j) d1 ~/ @! L
  541. ; produces clickable error messages that direct to a page describing the error9 X: U0 m+ R1 d# v. _' [* v8 n% b
  542. ; or function causing the error in detail.2 c% n3 {. ?9 M, T
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 P" T4 n/ [) K; F! B5 _
  544. ; and change docref_root to the base URL of your local copy including the
    , y+ O% B9 J0 P
  545. ; leading '/'. You must also specify the file extension being used including
    ) Q) z3 K$ Q: h) s! @
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which0 A$ e1 J! D  G; d* e
  547. ; case no links to documentation are generated.
    ' P7 S5 B! p, t: x, s5 ?) _
  548. ; Note: Never use this feature for production boxes.& x4 Z+ U0 j% T2 i9 [
  549. ; http://php.net/docref-root9 ^$ c0 E" G1 H3 b* R
  550. ; Examples; C/ K& m6 t2 K2 s
  551. ;docref_root = "/phpmanual/"
    8 M+ E" ?6 Q( a$ u8 z: _5 T6 m

  552. ; {( \% N2 m; n: D+ u  ]1 p
  553. ; http://php.net/docref-ext, _  W; X; u- P- [" M+ d
  554. ;docref_ext = .html
    ; G. o$ r) Z9 v6 i$ H
  555. 5 V6 Q$ z9 v) ~% T6 ]
  556. ; String to output before an error message. PHP's default behavior is to leave+ h; ?* s! \. V! [) K
  557. ; this setting blank.
    / n  Z8 {% v; c0 W/ G# V
  558. ; http://php.net/error-prepend-string/ ?/ E( U0 P# {$ |
  559. ; Example:
    8 G* B" K% z" E2 Z+ A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ Y3 F8 j- A' q2 x- `2 ?* m( g
  561. 5 r& M+ A; Z/ C0 @9 r
  562. ; String to output after an error message. PHP's default behavior is to leave
    ( u* A- P; |; ?& J8 @& m
  563. ; this setting blank.
    ' J( s6 B$ P0 n0 z
  564. ; http://php.net/error-append-string- Q- G; ?. |0 L
  565. ; Example:4 z: Q% T& u$ v2 ^" E5 E/ x9 E
  566. ;error_append_string = "</span>"! l) m# g+ {4 J# F- Z
  567. " p9 B; b" A: o, G
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    , r- ]! A& s# `( G1 Z: b
  569. ; empty.
    % l: o5 e; V7 N; q. t6 t5 b' }  [, L
  570. ; http://php.net/error-log2 T) Q- L+ \+ O) b; {. Y1 w
  571. ; Example:
    , z3 m# q3 \5 z3 h6 Q! B. S+ |
  572. ;error_log = php_errors.log
    2 q6 P* e1 ]# U/ r& r
  573. ; Log errors to syslog (Event Log on Windows).
    - {2 M) D" X& t: h! C- Z
  574. ;error_log = syslog7 I! G0 S# k! @! g7 g

  575.   A$ }1 {6 x! F: n% x% E
  576. ;windows.show_crt_warning7 U! P2 B( ]5 a( d+ t4 H
  577. ; Default value: 0: K# y/ J. c0 j+ I
  578. ; Development value: 0; a. V7 a" c* a: C
  579. ; Production value: 0
    , g. E  d1 A. F7 z; p( Q- d/ j$ \
  580. 1 x: P2 K: U  ]
  581. ;;;;;;;;;;;;;;;;;# ]6 k! U' ~, t7 Z9 z9 R
  582. ; Data Handling ;
    . J3 a3 @4 A& c& b( J$ U  _8 n
  583. ;;;;;;;;;;;;;;;;;$ R/ e) z# V7 c4 `2 t
  584. ! b, U7 [8 |7 Q, @
  585. ; The separator used in PHP generated URLs to separate arguments.% `+ p8 B) t+ c4 |% @
  586. ; PHP's default setting is "&".9 I1 `! E! \$ T" p# X+ w
  587. ; http://php.net/arg-separator.output
    6 S$ X, q" M7 B! C; W8 g7 @
  588. ; Example:
    7 B! D# [& X/ H' s$ ~. T4 ~
  589. ;arg_separator.output = "&amp;"
    0 v; o/ ]" p+ N
  590. # E8 i+ \, j- \  _7 b, H- @
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 y% {4 t6 v. [- z3 `. n
  592. ; PHP's default setting is "&".9 \6 O2 Y) Y& L4 W
  593. ; NOTE: Every character in this directive is considered as separator!$ r8 {: E8 Y+ n; C4 A4 W! M
  594. ; http://php.net/arg-separator.input
    + q. M6 V8 {* h# ^" M% T& C* N% e
  595. ; Example:
    7 |# _4 s" M4 J: A- A
  596. ;arg_separator.input = ";&"
    * F6 Q  n0 X  l# j# Z+ I

  597. / L$ H9 n; w# Z" {) t% A$ }
  598. ; This directive determines which super global arrays are registered when PHP. \7 _( L1 ]( f. Z* y
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + ]7 ]7 \. t" q0 `. J& c$ P. }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 `% N& l5 m! N# [
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    8 N- y. G, n9 }  E9 n; p/ R# G
  602. ; used as the others, ENV is not recommended on productions servers. You' e! a' G) T7 _; }& f7 S* G9 _
  603. ; can still get access to the environment variables through getenv() should you
    . |9 _9 }) Z8 N0 u
  604. ; need to., F& |# p" f* S; a
  605. ; Default Value: "EGPCS"( ~$ i$ t* Z  f& g% x
  606. ; Development Value: "GPCS"
    & o3 O0 Q! X5 a, ?$ a! d; p8 ^- a5 M
  607. ; Production Value: "GPCS";
    2 k" ~3 T1 c& ?
  608. ; http://php.net/variables-order5 V5 m2 d7 {4 p/ m2 p5 G; A
  609. variables_order = "GPCS"
      W6 Q  Z7 J! S
  610. 0 ~+ ^9 d% g# U0 E6 c+ v3 I0 ~( Z
  611. ; This directive determines which super global data (G,P & C) should be* D/ h8 x0 Z. x+ G% I) K! [8 [
  612. ; registered into the super global array REQUEST. If so, it also determines) G+ g! v# [. ]: O! w
  613. ; the order in which that data is registered. The values for this directive
    * V+ ~) G' k! A
  614. ; are specified in the same manner as the variables_order directive,, l) {7 p/ \- I
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    2 ?' P" X( A! z
  616. ; in the variables_order directive. It does not mean it will leave the super; `; q; x7 n" F! r/ _# {$ r% n% K
  617. ; globals array REQUEST empty.# ?% u- p" H/ `% e; p9 P" M
  618. ; Default Value: None
    ' {& n0 a. u4 |: h5 S/ T- B
  619. ; Development Value: "GP"
    / L- G& @5 e/ t3 z1 B5 [
  620. ; Production Value: "GP"6 A3 N) {/ ?1 @. X' H' b, b- c# _
  621. ; http://php.net/request-order
    ! W; u' F. r6 c  P$ m
  622. request_order = "GP"6 Q( ]9 i4 c) e. h+ @7 o
  623. 2 W9 V2 n" y, W2 G
  624. ; This directive determines whether PHP registers $argv & $argc each time it7 ~* }+ a2 h" {8 y& o1 @' m
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 _, E0 K; U6 F( `& m2 C; h# H9 i
  626. ; is invoked. $argc contains an integer representing the number of arguments7 ?; q4 ]( ^& D5 Q, t: @) }
  627. ; that were passed when the script was invoked. These arrays are extremely& I7 B3 W' |, v  y& i* |. w
  628. ; useful when running scripts from the command line. When this directive is
    2 K, \' e6 C# _" u
  629. ; enabled, registering these variables consumes CPU cycles and memory each time6 ^* |: [$ m& E% n
  630. ; a script is executed. For performance reasons, this feature should be disabled% @! r/ I. ?5 @+ o; a' W
  631. ; on production servers.+ o/ u2 D9 w4 Q1 Q& _4 i, i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI( S7 w  c- U7 }' d4 k
  633. ; Default Value: On
    ' k* c7 w. r, A$ V# h" c
  634. ; Development Value: Off* c" l" [% f0 y# b7 k% h- A) }7 r4 N+ j6 |
  635. ; Production Value: Off
    6 D7 G- v1 ^. K: l# o( g
  636. ; http://php.net/register-argc-argv
    % a! l8 v" v# L( ~5 Y
  637. register_argc_argv = Off
    * o% y% ]' D, p& C3 f5 P8 {

  638. - }5 a0 a, \4 o2 w# W
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" Q2 B# I/ P- V4 d- [4 l% x
  640. ; first used (Just In Time) instead of when the script starts. If these
    # V) J& O5 m: d4 a) g' u
  641. ; variables are not used within a script, having this directive on will result: H" f" r' Y0 h$ x
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled( q1 Q. U% o5 i6 h
  643. ; for this directive to have any affect.
    ) V9 C2 e: w* k
  644. ; http://php.net/auto-globals-jit
    . u1 o3 n, n( L  L) G
  645. auto_globals_jit = On
    7 B5 `" p2 q& b+ e; C; h% v
  646. + t1 u2 h- ^% {2 x* u2 j
  647. ; Whether PHP will read the POST data.% j! f4 t3 B% G
  648. ; This option is enabled by default.
    % z! j. f8 l$ u6 Q! ^9 L- b$ u
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST9 B2 F, j2 j0 Y+ U9 f  e) m
  650. ; and $_FILES to always be empty; the only way you will be able to read the& C- L) c+ O; P6 k  }
  651. ; POST data will be through the php://input stream wrapper. This can be useful, i4 |* L8 B# y' e5 `  s
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    3 t/ d  j" }, d( d& @
  653. ; http://php.net/enable-post-data-reading2 H" W/ o* N7 Q" u
  654. ;enable_post_data_reading = Off1 K2 I6 Y' T4 E1 \3 z# E2 |
  655. , X9 [! y7 o# c6 W3 m
  656. ; Maximum size of POST data that PHP will accept.
    7 C$ X+ ]8 {+ f: e1 X
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading! T6 g9 `  D# N5 Q+ f
  658. ; is disabled through enable_post_data_reading." ]2 x. c# X* J
  659. ; http://php.net/post-max-size
    % c  l% N+ b. ^, J! M' B$ O; d6 b
  660. post_max_size = 50M
    ; E: |- F, ?! g+ a4 F* p: L+ c/ I1 ~

  661.   ]" x& K$ Y+ ]: c' N& h
  662. ; Automatically add files before PHP document.# N  b) c8 q1 W1 U6 l
  663. ; http://php.net/auto-prepend-file
    : H9 Y9 w" o4 ]4 r8 Q
  664. auto_prepend_file =
    % A' ~- z# P& y
  665. 5 h3 K2 l( c4 `7 B! n: ^
  666. ; Automatically add files after PHP document." X. ^+ _0 Q, G2 S* m6 U3 r6 m. B
  667. ; http://php.net/auto-append-file) X, z+ R) t+ ^+ H9 o
  668. auto_append_file =8 ~, o/ N% s& {' G+ Q

  669. / N' x% L* H0 L! K( n+ s  s8 c
  670. ; By default, PHP will output a media type using the Content-Type header. To
    8 ^! J' a) e: r
  671. ; disable this, simply set it to be empty.1 T+ b4 W9 f( {/ ?! `: k
  672. ;
    & k' H) {$ e% x& R& I* g/ }# _' M
  673. ; PHP's built-in default media type is set to text/html.' M' J. I9 \- X; W8 T
  674. ; http://php.net/default-mimetype
    8 g- K& \8 h9 L( p  ~! n" d
  675. default_mimetype = "text/html"1 U. \! F# A/ K4 n
  676. 8 W6 N' x" ^2 w0 Y
  677. ; PHP's default character set is set to UTF-8.% N+ ^. R9 l+ F' D$ H' V. m
  678. ; http://php.net/default-charset- z% o: E4 G( X7 \. a) g6 B# L1 s
  679. default_charset = "UTF-8"
    9 R9 L! N* T6 |. o6 w2 `) o
  680. # g. W( _% P4 `4 ]6 T; w$ |' I7 H
  681. ; PHP internal character encoding is set to empty.
    8 t! H% t4 _1 n4 q- F  A% I
  682. ; If empty, default_charset is used.6 J5 [7 \$ g& _& F1 d. R# Z% Q1 ?
  683. ; http://php.net/internal-encoding
    3 X0 W" d! V  Q  @
  684. ;internal_encoding =
    * j; r( `; k2 Q; ?3 q; v

  685. 2 E! H1 k' ^1 s+ ~8 a
  686. ; PHP input character encoding is set to empty.
    5 m) M) Q/ t# i9 b
  687. ; If empty, default_charset is used.
    & u+ ^" r5 t( J, \& j% [+ h$ b( h
  688. ; http://php.net/input-encoding
    $ B% U& w8 P8 E6 U1 Q7 J
  689. ;input_encoding =2 r' j' r9 Z: a8 l; H7 c( s. {
  690. 8 t8 `6 u) {5 A) g4 E" I
  691. ; PHP output character encoding is set to empty.4 A  }. u6 }: q# ?
  692. ; If empty, default_charset is used.. }- p* B6 h$ @7 [4 G0 J
  693. ; See also output_buffer.
    % z* x( p& ~0 y9 g8 V+ _- h' }
  694. ; http://php.net/output-encoding
    + x8 {$ r  v2 A' a3 `& R  }
  695. ;output_encoding =
      w% K2 ^! [" W1 u* r6 X. @

  696. ) D+ r: [; X2 ~- B% X2 i% X
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    . _% _$ p: q5 x( B
  698. ; to disable this feature and it will be removed in a future version.: F; q3 V6 ^* X# _6 [5 l7 o5 @
  699. ; If post reading is disabled through enable_post_data_reading,
    1 `- D7 T. I% C2 {' x" X$ t
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( T: e* A4 U, r4 _
  701. ; http://php.net/always-populate-raw-post-data6 b; a+ ?6 X( O$ e( @/ |2 H
  702. ;always_populate_raw_post_data = -1
    $ s+ z+ C6 N; V  L

  703. : V1 F4 v! i( W  b- V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # ]  E3 r# ?6 b( A/ x
  705. ; Paths and Directories ;5 ?+ \1 d' f1 e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;3 z( H: s7 G- j! p2 q5 d9 v' S
  707. 7 l. f" [5 j- G/ C/ [& y$ @. G
  708. ; UNIX: "/path1:/path2"( J$ D2 H# l" S9 B+ Y& J
  709. ;include_path = ".:/php/includes"; ]% e0 j9 a5 w
  710. ;
    2 R: k  f* N, ^0 R$ t. n/ c0 s
  711. ; Windows: "\path1;\path2"
    ) A/ y8 T! A3 _: d0 F+ W3 v
  712. ;include_path = ".;c:\php\includes"
    , W  A7 o3 a0 m# o2 z( c
  713. ;2 C" L9 W3 D$ Q* c' }" ~+ l8 j: j
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; Z5 x5 T' n4 M
  715. ; http://php.net/include-path
    % t6 p& O- r2 I, \2 s8 G3 Q
  716. , `8 p& O7 G% F9 K1 v+ g$ r, D' h
  717. ; The root of the PHP pages, used only if nonempty.
    1 q7 y6 z6 r  c$ F" I
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 Q5 v( Y4 a) ~
  719. ; if you are running php as a CGI under any web server (other than IIS)0 E# ~( {) D; a
  720. ; see documentation for security issues.  The alternate is to use the
    * f* i! Z* G; S) s5 h, S) b+ P- i
  721. ; cgi.force_redirect configuration below
    " i2 [! ^  @) @
  722. ; http://php.net/doc-root. N3 W2 \7 u4 i' K  O! H% c$ B0 n  ?8 d
  723. doc_root =
    # Z' N! i5 a& O  u# d

  724. / A8 _6 t% t( |  G7 @: u
  725. ; The directory under which PHP opens the script using /~username used only
    & g. k$ g8 e  k
  726. ; if nonempty.
    1 |! j6 e7 D* O
  727. ; http://php.net/user-dir% \/ l" |) d! g. M- Q
  728. user_dir =: s9 H; Z9 U# X; l
  729. ! M3 l4 |6 s0 o4 W; ~
  730. ; Directory in which the loadable extensions (modules) reside.0 k! H: T- l3 f8 P3 F3 c" w8 j
  731. ; http://php.net/extension-dir% V- l! e4 B/ ^- d5 Q
  732. ; extension_dir = "./"
    - P  M& i! j& f; |
  733. ; On windows:7 e1 ^' {$ W* _$ Z( r7 n
  734. ; extension_dir = "ext"$ |! I  x3 n' E, `/ p

  735. 0 n, ?2 p# c* ]% @
  736. ; Directory where the temporary files should be placed.
    8 j1 _/ e) S" b) H. y( `
  737. ; Defaults to the system default (see sys_get_temp_dir)5 s! j/ ?6 @& ]6 Z9 s/ N
  738. ; sys_temp_dir = "/tmp"3 _& K, {% h8 ^: M2 v. z
  739.   v( ~7 z1 c  W2 X+ W
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & J8 K/ H( K# b) ]) t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    " @$ F- y, Z$ h7 `2 A8 I
  742. ; disabled on them.& I# q' v7 e3 a9 Z
  743. ; http://php.net/enable-dl% ]4 V7 u  g+ M
  744. enable_dl = Off
    ( g/ [. o/ C& |. U

  745. 5 D" l/ s- X7 `2 K+ F8 L$ V" q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ; y( S; }: z# x# ~& q8 C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , }* D7 w3 W  f
  748. ; turn it off here AT YOUR OWN RISK; i$ X+ i! L: k0 Z9 e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**7 N! B6 i  |. p
  750. ; http://php.net/cgi.force-redirect& L9 {2 i) C- ]9 @- J
  751. ;cgi.force_redirect = 1/ ]5 {9 i% {4 W- D' l$ w

  752. , g4 ?9 k0 d: f( w
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 p6 J3 L; I; B5 F0 V! d
  754. ; every request. PHP's default behavior is to disable this feature.0 G' }& @7 a( H, I
  755. ;cgi.nph = 1
    ( P  R0 f. h! T) m6 Q3 Q2 X

  756. ( w# H$ I" }- W* V; w( c
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : K/ c4 r% K& H
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 W. W6 v. V$ t: h0 X) z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY& b& S& `1 j  G& x
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.4 O1 b# {. {$ s$ H% F; n
  761. ; http://php.net/cgi.redirect-status-env
    ) ^2 L9 `! y% ]7 w" C6 ?' F. Z
  762. ;cgi.redirect_status_env =; p# z4 H7 Z+ g
  763. ) `$ \6 W/ `7 c6 }/ w
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's% |' k2 C3 V7 G! ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 G3 p3 w0 E- A) C# R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 i3 V5 _8 k8 ]" ^
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      ]# }- s: _" s
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& F. \: k$ U6 g2 @% p* P; \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    1 \1 s/ V6 W3 m3 W3 ~
  770. ; http://php.net/cgi.fix-pathinfo
    # X* G$ J% k; _
  771. cgi.fix_pathinfo=1& l8 J6 X& S. V* i( ?7 d2 `
  772. / e& K, ]% W1 [1 [1 G1 b4 G' \
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 |7 a" r& _  `& F* F5 a5 G
  774. ; of the web tree and people will not be able to circumvent .htaccess security." [& D) n$ ~/ G2 r
  775. ; http://php.net/cgi.dicard-path. _* ~) z: h& _2 y0 h
  776. ;cgi.discard_path=15 N4 O0 f  `% T) v2 r0 t8 I

  777. ) r" S2 H; U6 U/ V) a+ \
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate8 [; P& b8 {4 H8 S; @) H1 }. ~
  779. ; security tokens of the calling client.  This allows IIS to define the8 u: k8 g+ E9 J. k3 h! }8 ]% K3 V
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    - S* v! `7 I- E7 g/ n% n
  781. ; does not currently support this feature (03/17/2002)
    ) Y& ?; g- C8 F
  782. ; Set to 1 if running under IIS.  Default is zero.
    ( z. u) \& `! V* z' H$ v
  783. ; http://php.net/fastcgi.impersonate
    ) r  }/ M/ b0 |# u! F
  784. ;fastcgi.impersonate = 1
    + U4 b( W) v1 L+ b

  785. ! F- k3 L' R) F6 u2 N! r) Y
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 I, o" c1 v) o8 l* Z
  787. ; this feature.
    ( V& F2 |' n# h' u1 t4 `
  788. ;fastcgi.logging = 0* V0 g9 M" b; m5 u- u
  789. 6 p. R6 ?+ t; C  u+ @
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 S9 `; O6 W# [/ |$ \! X# S
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    2 }  ^: k; \4 r5 j
  792. ; is supported by Apache. When this option is set to 1, PHP will send2 X; F0 X' Q  O: X" J3 G1 Z
  793. ; RFC2616 compliant header.9 @8 T; \, J4 P3 ]2 `
  794. ; Default is zero.  d/ P1 F- W3 c" f0 U% a( H; R
  795. ; http://php.net/cgi.rfc2616-headers
    9 _( s2 ?7 p# p5 v6 `! V- I. c/ |# K5 O
  796. ;cgi.rfc2616_headers = 0
    ' c  i) e' K/ |! a+ t0 H: H4 |6 e
  797. 6 e8 A5 C" H, K% _& U
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" F/ a8 P" z( \/ q+ ]7 g. C
  799. ; (shebang) at the top of the running script. This line might be needed if the3 M' Q; ]" u0 U+ P  S" i. K3 }
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    + T, L! O3 P# }+ [. e# d
  801. ; mode skips this line and ignores its content if this directive is turned on.7 _3 ?; }. ~4 P/ C
  802. ; http://php.net/cgi.check-shebang-line
    - g( p$ b( m( C# g: e8 N5 y6 z; x
  803. ;cgi.check_shebang_line=1
    ) l: L, X5 J/ Z1 [. J: O3 y" L; y
  804. 0 d2 i6 A8 ~# L/ b4 B0 k
  805. ;;;;;;;;;;;;;;;;; a9 t% {6 d) e* k. _+ v
  806. ; File Uploads ;
    5 [) H0 T9 }9 U# L) l: X2 r
  807. ;;;;;;;;;;;;;;;;0 c/ ~, F% O- M4 H1 Y3 v

  808.   \: b3 Y4 r' g) Y0 O4 b- w
  809. ; Whether to allow HTTP file uploads.
    ( g* ^2 r  c! w5 @2 U. C8 R. z2 b8 y* i+ h
  810. ; http://php.net/file-uploads; S3 b1 l2 {' J& R6 H7 ~; h
  811. file_uploads = On
    & ~- Z6 A7 K" s
  812. ; M6 K/ S9 t, U' d+ M
  813. ; Temporary directory for HTTP uploaded files (will use system default if not, G6 G! I) n( }8 _. u8 Y8 D
  814. ; specified).
    5 l' _) S  r/ f
  815. ; http://php.net/upload-tmp-dir
    8 _2 J( |6 I- L, J
  816. ;upload_tmp_dir =% u3 B' X" A5 p) e# k/ m

  817. 3 S0 D0 [# n# \0 y
  818. ; Maximum allowed size for uploaded files.
    " p' W  J5 Q) _3 ~! F) S4 Y& n
  819. ; http://php.net/upload-max-filesize
    ! i1 a( q4 J* y! b4 n5 t2 G) e
  820. upload_max_filesize = 50M
    9 @6 g2 ~9 ~( W( V: F" C: n

  821. / @) |0 p$ w0 Q4 i3 ^3 W6 L1 z: t
  822. ; Maximum number of files that can be uploaded via a single request
    9 W% ?8 X! z! U# z5 `$ Y
  823. max_file_uploads = 20$ X1 }  h* H: ?# H

  824. 4 a. b6 N" P! W/ p! `7 W  r
  825. ;;;;;;;;;;;;;;;;;;
    6 P4 H8 x4 L3 M; X" }
  826. ; Fopen wrappers ;8 x  h9 p- G! c( k; J, c; x
  827. ;;;;;;;;;;;;;;;;;;) y6 ~" I6 n  E* l* a
  828. 2 d  h. |: i9 j5 v" |6 f6 x/ b# s3 H
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." U' k8 M  V! f2 S
  830. ; http://php.net/allow-url-fopen
    ; Y% P7 j$ c3 R/ v7 J' B- S
  831. allow_url_fopen = On
    2 T0 i# m& {6 y# q# b/ |! |8 B: t% g
  832. / |- C  r- K5 E9 A, g
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& h4 @* `! b1 W, V
  834. ; http://php.net/allow-url-include8 e$ X0 q+ J: u, E
  835. allow_url_include = Off
    & x6 A' \8 c6 r- e
  836. " {0 Y! C7 U9 u6 c, t
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 S% m) k; ~, U: Z" _1 E; r2 M+ ?9 |
  838. ; for this is empty.
    5 v6 m# b8 @5 n( k" U; {6 S. _2 _
  839. ; http://php.net/from/ a4 x8 F- P" [4 E0 U9 q9 E- I) l* a
  840. ;from="john@doe.com"! U: O- |: e* C% d' C) \& `

  841. - K% g  k, }- s3 W. U) Y! G" \! k& p
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    : c- F0 J6 x4 Z+ a' S* A/ Z
  843. ; http://php.net/user-agent
    # w, e5 X5 f# v) t/ u' v6 M
  844. ;user_agent="PHP"
    3 ?, ?: _7 c4 N) V8 {. v

  845. . o5 w! }& v( K+ k: j& q
  846. ; Default timeout for socket based streams (seconds)
    + A! Z5 f0 ?: N: k/ X2 ?
  847. ; http://php.net/default-socket-timeout
    & F2 K+ ]; H3 B5 q' ?
  848. default_socket_timeout = 60
    7 d( m5 [( Y! e) B- k; H' x
  849. 1 y7 [# @5 T! ], I/ E1 |$ `
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 ]. u3 I' K6 C5 E
  851. ; or you are running on a Mac and need to deal with files from" O, Z  ^5 v8 ^1 k
  852. ; unix or win32 systems, setting this flag will cause PHP to
    3 ~2 o6 H% j6 i: P5 t& C: O1 G
  853. ; automatically detect the EOL character in those files so that
    + I& Z/ o. v4 f0 H6 I" L! C
  854. ; fgets() and file() will work regardless of the source of the file.7 V5 C6 }% y' w- a& e
  855. ; http://php.net/auto-detect-line-endings5 m. X, ~6 y& t& r
  856. ;auto_detect_line_endings = Off
    4 s: b$ T( ~+ f0 a
  857. 6 O: n' x1 W% u. {
  858. ;;;;;;;;;;;;;;;;;;;;;;% H0 }, d/ L2 p+ g# f: w  A: [
  859. ; Dynamic Extensions ;
    4 [; u0 m0 S: |/ t
  860. ;;;;;;;;;;;;;;;;;;;;;;) W- [7 l. Y: [4 }5 n# W
  861. ; t. |. b: s1 _
  862. ; If you wish to have an extension loaded automatically, use the following
    $ \0 g5 Z2 o, e# X4 X  p
  863. ; syntax:
    / O8 b% ]8 [6 @- N- Z
  864. ;" C/ [8 }) t+ I
  865. ;   extension=modulename.extension
    ( s* g  B7 ^# c8 ]# a: }
  866. ;
    . B! ?1 S; u- G4 r+ W
  867. ; For example, on Windows:
    # O, H1 u, L8 s$ U( q2 ?4 D2 b% X
  868. ;) A7 a/ B3 c1 H0 G
  869. ;   extension=msql.dll
    ) F% S' N/ c% r( Q( m0 q, Z
  870. ;3 M9 Q8 p9 q9 h3 D
  871. ; ... or under UNIX:
    7 a% R3 W2 m6 V* H! z* a: v
  872. ;" O& _8 W1 M& e
  873. ;   extension=msql.so
    4 U# k4 D- h  e1 u
  874. ;/ d( k! }( V7 {& a0 W8 N, P! j9 g+ m: r
  875. ; ... or with a path:
    : h- b% k( T$ a$ `/ z
  876. ;$ C5 p6 i" J2 q! X- a# D, |9 z
  877. ;   extension=/path/to/extension/msql.so
    " R. S# t. L9 Z( M" S, s
  878. ;2 J7 s6 C( L2 c5 f3 C" ^
  879. ; If you only provide the name of the extension, PHP will look for it in its6 S) Z; h8 ~3 B6 {$ E
  880. ; default extension directory.2 M& v- g+ i* n: A
  881. ;6 O% G' v3 C" K6 o8 J
  882. ; Windows Extensions
    0 Q; K, v1 e0 C
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) h5 \5 U" s5 {0 D
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)/ L1 B  v5 z+ D4 h
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    & A( U/ {( o6 g7 Z& K$ p
  886. ; Be sure to appropriately set the extension_dir directive.( W' L# i! i1 ?: D8 S
  887. ;0 a  ]+ T$ r7 B1 [% B" X% t
  888. ;extension=php_bz2.dll
    $ m: F/ S9 [: X0 V7 g
  889. ;extension=php_curl.dll9 T; L4 t2 l/ P, s" Y, |% s% l
  890. ;extension=php_fileinfo.dll4 K) ]  E3 Y- B7 l0 o9 `
  891. ;extension=php_gd2.dll
    4 Z. o6 m' _3 \" L
  892. ;extension=php_gettext.dll
    # B7 [7 ^& H: Y' {, K
  893. ;extension=php_gmp.dll
    1 j! s7 {' z& T0 f
  894. ;extension=php_intl.dll  \) X* @; L* K0 [. y5 ]
  895. ;extension=php_imap.dll  O$ g. ?% K- i1 j! D
  896. ;extension=php_interbase.dll
    ' H- W& S! A) A8 a) Z
  897. ;extension=php_ldap.dll' c  t2 H7 h- r. G. K
  898. ;extension=php_mbstring.dll
    4 v( c" `) O- j0 w# O& n$ f% y
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, Q% V0 m9 v& P
  900. ;extension=php_mysql.dll. f: s( i% L% k( A& O8 M1 l
  901. ;extension=php_mysqli.dll
    % b& s. Z. a; s$ E
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 h( P9 ^5 ^5 I8 }5 G$ t
  903. ;extension=php_openssl.dll2 x7 b, b' f! N* z' X" B# Y% Q$ K
  904. ;extension=php_pdo_firebird.dll. g" y# k$ [$ u% K! R
  905. ;extension=php_pdo_mysql.dll) G3 `  V: ^0 x  @  j7 O; o- M
  906. ;extension=php_pdo_oci.dll
      u" {4 G. r7 o) [0 n6 L
  907. ;extension=php_pdo_odbc.dll
    ! x0 s0 J0 h! o% P( [/ S! g
  908. ;extension=php_pdo_pgsql.dll9 W  R. Q& r) w, m1 U
  909. ;extension=php_pdo_sqlite.dll
    ' g6 N. q+ D8 b9 n
  910. ;extension=php_pgsql.dll
    . `& F' v& m0 K5 ?# Q3 D6 n& b' y, I4 ~
  911. ;extension=php_shmop.dll
    & ?3 K) g, b  B: j0 U3 q
  912. 0 A/ T1 J. z' r; Q  n
  913. ; The MIBS data available in the PHP distribution must be installed. ) t  }2 F/ C4 _5 g2 a
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    8 }4 ]# e2 B8 L% B8 Y, b# f
  915. ;extension=php_snmp.dll
    5 b& [! N8 H& x; t" v
  916. ; {! Q  B* E8 V: x, a" C
  917. ;extension=php_soap.dll& M+ y, C7 e& [) q. S
  918. ;extension=php_sockets.dll
    & K& e) ?1 W& w0 U' j, W7 `
  919. ;extension=php_sqlite3.dll: b3 t: V  y  r$ T
  920. ;extension=php_sybase_ct.dll" s4 r8 V* T0 K1 j7 E
  921. ;extension=php_tidy.dll8 N6 Y: f7 x1 X* |& S* i
  922. ;extension=php_xmlrpc.dll/ X5 p# y6 }' g* Z4 a8 i
  923. ;extension=php_xsl.dll
    8 q  x$ g5 L* q$ Q* V' E

  924. 1 I; y% u" c' @4 k
  925. ;;;;;;;;;;;;;;;;;;;1 X- K& ]# E( e, _/ B" X% ?
  926. ; Module Settings ;
    + V4 c) e& U* _" m; Y4 t
  927. ;;;;;;;;;;;;;;;;;;;
    ; X' |- _/ g" y+ a0 {
  928.   b0 t$ h- b* j
  929. [CLI Server]
    : m& b) C  K5 o& F
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." z! n% f) Y; h9 {
  931. cli_server.color = On
    % |, Z5 I4 D/ {* a4 [! ?

  932. # j+ v% y- n1 M( `/ ~
  933. [Date]
      E7 U. `7 W/ y! x6 w
  934. ; Defines the default timezone used by the date functions
      ~- ?$ i/ u) D& Z% T3 s
  935. ; http://php.net/date.timezone+ H. Y; v" H* P- M' s. B+ C
  936. date.timezone = PRC5 S" v! r: O/ i$ V- l

  937. / {6 ]/ R* O* a# n) A3 \
  938. ; http://php.net/date.default-latitude  E; @" V" |  u" ]3 \3 [
  939. ;date.default_latitude = 31.76679 X2 H' x# w2 e- ?$ j( f$ B- g# ~
  940. 4 _  i. x  B3 u" o
  941. ; http://php.net/date.default-longitude
    0 v) f( i* `7 _  E  s( O2 E
  942. ;date.default_longitude = 35.2333$ l5 s( y0 A9 A' X7 s# `) n

  943. 2 ?- a$ L) @# j' V5 E) Q
  944. ; http://php.net/date.sunrise-zenith
    2 j7 n- N' o, D3 A( v& s% L6 W; l6 Y
  945. ;date.sunrise_zenith = 90.583333
    ! g( z$ c% i6 n
  946. 6 b6 p+ z5 r+ G2 t$ g
  947. ; http://php.net/date.sunset-zenith
    " U' m+ n5 @6 `1 e, C* z  l! x5 O
  948. ;date.sunset_zenith = 90.583333& O( C6 _- h0 p. v
  949. 9 h9 @/ h3 Y6 w; S: [
  950. [filter]
    : ]" k- u- V) ?
  951. ; http://php.net/filter.default
    3 K: ?: x' t# U  ]4 t
  952. ;filter.default = unsafe_raw
    9 j/ K1 m- d- D" c0 I5 }
  953. 3 N7 ]; P* A5 R; W, N. k
  954. ; http://php.net/filter.default-flags+ l- V9 \# ~# ?4 D7 b: ?
  955. ;filter.default_flags =4 V, G5 e' W/ Y: t& f

  956. $ l: C. Y4 ^. Y6 y' w; I% g
  957. [iconv]( X' p. c; d5 a, l2 T! u
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 Z, z# [' z+ U5 A) p( z' m2 d
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( j9 ^0 O5 q& H6 H( v: y1 x
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% c" [1 t1 N" F/ t+ {
  961. ;iconv.input_encoding =# }; {: A( j+ w1 X. T
  962. " B- j2 ?( a6 `1 U7 G
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.! g; U! n0 s4 a9 n
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
      i( g* _6 A( O  ~# N
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, A' T0 O* j# s0 L% [
  966. ;iconv.internal_encoding =& n1 s5 k  \% z7 h* Z

  967. * S1 _/ u- j0 ~. x1 N# b* H
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.% Y; T2 N9 D* A6 G! M, I
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / F  a1 I: e3 E* H- A' F  W
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding3 ^& C/ o/ R; t6 k$ ]7 ]5 y4 l
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 V# C5 {/ b7 F2 y$ @( d
  972. ; otherwise output encoding conversion cannot be performed.% l) o; n& S0 x" J* B
  973. ;iconv.output_encoding =  G2 P' F5 o& d2 q; Q7 X3 y0 E: m
  974. 7 Z* i) T- l/ R( b: B
  975. [intl]/ Q6 ?4 c" p. Q7 `/ A! Z3 C" W
  976. ;intl.default_locale =7 ]1 |7 v% M" R, |7 O( `
  977. ; This directive allows you to produce PHP errors when some error$ U& @5 V2 l* Y/ ~! u3 s
  978. ; happens within intl functions. The value is the level of the error produced.
    ) `$ Y" Y, x4 I, v  O$ Q
  979. ; Default is 0, which does not produce any errors.- G" `- L4 K6 J) T$ S5 p$ O
  980. ;intl.error_level = E_WARNING4 [* \  h5 O. r9 F7 P! P! b
  981. ;intl.use_exceptions = 0
    2 Z% [9 d3 k0 `* h. C" I5 P2 z% M

  982. ( k; v: Q8 N( j9 U% q5 ]  _$ Q
  983. [sqlite3]3 [; c" p+ w# j" l7 s; h4 F
  984. ;sqlite3.extension_dir =" c. Z( \  S9 k5 E( @; w
  985.   m6 c8 Z0 w* {- i
  986. [Pcre]
    ! w3 i" d5 T0 d. }. D
  987. ;PCRE library backtracking limit.4 |$ x: c! W; K- d4 A5 A$ X8 m
  988. ; http://php.net/pcre.backtrack-limit
    5 i$ U4 G1 T9 @* G
  989. ;pcre.backtrack_limit=100000
    4 j! v% d4 V; C0 x0 w
  990. 9 y7 y! Y$ f) x) {2 N
  991. ;PCRE library recursion limit.2 X" K% n* a0 p6 W, I0 Z9 a
  992. ;Please note that if you set this value to a high number you may consume all- P6 K2 W2 E! N
  993. ;the available process stack and eventually crash PHP (due to reaching the
    $ ?# u, F# E: ?5 A& f/ k9 b2 J
  994. ;stack size limit imposed by the Operating System).
    + v; {$ ?1 k0 u$ c  r' U
  995. ; http://php.net/pcre.recursion-limit
    ) s+ N+ x( P* T/ @
  996. ;pcre.recursion_limit=1000003 h+ Y, s9 {$ K. `/ G
  997. * u8 x- ^: R& L. W  I9 O+ \3 W
  998. [Pdo]
    : F" N6 e- m. _9 ^
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 m1 L8 @+ t; n6 F. P4 ?8 {4 a4 k
  1000. ; http://php.net/pdo-odbc.connection-pooling. g6 R& Q0 \+ F2 c' `3 D; u  V
  1001. ;pdo_odbc.connection_pooling=strict9 ^7 `2 W: n' [4 q/ B7 k
  1002. & a; _( y  G# t- i* q. i% }! a5 ]6 d
  1003. ;pdo_odbc.db2_instance_name
    # x/ |$ V  c# m' P2 _" ?

  1004. 5 i) q9 u; a: s6 [/ N
  1005. [Pdo_mysql]1 ~. b( j1 N3 E' E
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. |- ^% C9 F* L% a4 d8 s& J
  1007. ; http://php.net/pdo_mysql.cache_size* {' M; c' `" ?
  1008. pdo_mysql.cache_size = 2000
    # M' c: w/ u: s6 Z+ O- B$ F

  1009. + r0 `! N' e8 G) N9 _0 N
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in& P  B2 ]$ X1 F
  1011. ; MySQL defaults.3 w- f+ W% Q) K  K, b
  1012. ; http://php.net/pdo_mysql.default-socket
    & q" ~8 D1 [/ f5 ~1 Q+ r
  1013. pdo_mysql.default_socket=; L: ~& m( i* \: z: Y
  1014. 0 I: [  \5 M5 `1 q
  1015. [Phar]- [0 K* l! F* T' U$ X* l: y' j6 J
  1016. ; http://php.net/phar.readonly
    9 E! Q: S; V1 |& ~* Z. T0 a
  1017. ;phar.readonly = On
    " H; M9 S3 ?" {$ O! K) l; x2 s" Q
  1018. ! F1 C6 H. ^: q. y" @
  1019. ; http://php.net/phar.require-hash7 D5 j( @" W/ C+ `" T2 U7 z4 b7 F
  1020. ;phar.require_hash = On
    ) d1 _2 ?1 q1 ^" y8 M" T2 N# E; e

  1021. & i: C3 k7 c% Z1 M! k
  1022. ;phar.cache_list =% \4 R& Z& W+ t/ y$ X
  1023.   A; \" `. F8 @( }/ Z
  1024. [mail function]
    - {: L  i/ V& {7 \+ j6 Q  [
  1025. ; For Win32 only.# ?: {4 |# A! S3 v
  1026. ; http://php.net/smtp3 }9 D7 C3 Y% `0 `
  1027. SMTP = localhost
    % f) M9 V( i# U
  1028. ; http://php.net/smtp-port
    0 t: b; ]& U3 p+ M+ P: x
  1029. smtp_port = 25
    / j/ g6 x2 L+ O7 ]
  1030. 5 g) _2 ?- a8 J9 B$ u$ e7 w  _  d7 y
  1031. ; For Win32 only.
    5 s& t* v, w- M7 K+ f/ c
  1032. ; http://php.net/sendmail-from; e# ]7 o% k! l; l8 y. [: R
  1033. ;sendmail_from = me@example.com/ I& V6 E. b& S, [

  1034. 4 V6 f3 X4 a% j, H4 u% `
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    0 G: J2 m3 f* R, }0 ?
  1036. ; http://php.net/sendmail-path
    / ^4 T, S. x. Q) C# O$ c
  1037. sendmail_path = /usr/sbin/sendmail -t -i- m) ^2 ~5 y3 S, H
  1038. % W3 j! e& J- w8 T6 I7 u
  1039. ; Force the addition of the specified parameters to be passed as extra parameters) I. A/ O! N  @* e' h( F# ?
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) [3 e# J4 `% V4 t
  1041. ; the 5th parameter to mail().9 w" O1 U- [7 `2 `2 i
  1042. ;mail.force_extra_parameters =
    / m! G- l3 c# z6 z1 z$ V% ?0 d; Z
  1043. * \5 Q8 w' Q3 B# \, u4 A: r
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' V0 t2 h; z  w; K, ?
  1045. mail.add_x_header = On7 i% I' c/ s1 ^' N4 M% p. S# d

  1046. # `: V& I7 @- o6 |2 j0 y: u
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ( i& a' Z8 j# f
  1048. ; the full path of the script, line number, To address and headers.
    & u2 B( o3 _6 _0 k* W$ M; ~
  1049. ;mail.log =
    , \# [! `0 w6 d* {9 B) e
  1050. ; Log mail to syslog (Event Log on Windows).* z) F2 u6 I& u: J3 V
  1051. ;mail.log = syslog4 |$ Z3 f4 M# `& o! l
  1052. % r, P/ p: ~3 Y! s, B
  1053. [SQL]( _# N- p3 w# I5 I3 J) G- ]/ j2 K
  1054. ; http://php.net/sql.safe-mode0 s; a2 ~8 C  y* b3 n2 ~* \' \
  1055. sql.safe_mode = Off1 T1 b; T; O+ }- ^0 C
  1056.   Z, b3 S1 H) F4 H# E" j
  1057. [ODBC]
    ! ~8 U) u: @" G: h6 f% [8 R" a
  1058. ; http://php.net/odbc.default-db' l2 {5 f8 @; G/ X( D& I+ o  _
  1059. ;odbc.default_db    =  Not yet implemented; `2 `; g9 ]7 E9 v  X' h7 o1 u, L5 q

  1060. ( a0 |8 ]$ S# }& _( ]9 r
  1061. ; http://php.net/odbc.default-user
    7 q* K$ I0 l: \; v& |; ], P
  1062. ;odbc.default_user  =  Not yet implemented$ V) A7 _, T' i+ N

  1063. # T, x! o4 w4 P" B" r; {8 D
  1064. ; http://php.net/odbc.default-pw- s! |" m8 l2 F3 e. [; a
  1065. ;odbc.default_pw    =  Not yet implemented# ]# z) ]9 y- F7 O1 w4 }  _2 N
  1066. - _' m! Q5 C4 b9 Y3 W1 {9 e" T5 q
  1067. ; Controls the ODBC cursor model.- y& j- V: O; E6 G+ k6 l2 r
  1068. ; Default: SQL_CURSOR_STATIC (default)." j0 a0 b( v1 L4 X% H8 N
  1069. ;odbc.default_cursortype
    + @) [/ @; o  S* h9 K

  1070. ( L" g3 s; _7 ~" i, A# A- I
  1071. ; Allow or prevent persistent links.2 M" H. H3 \4 Z5 W3 w$ ?
  1072. ; http://php.net/odbc.allow-persistent
    3 s: V8 {. t+ h& ?% R& ]* V8 r6 _
  1073. odbc.allow_persistent = On, |- N, w- T  n/ {! \9 H4 X

  1074.   j. v& {) f& C- l( f
  1075. ; Check that a connection is still valid before reuse.* [7 w8 x0 n0 G2 I& U& ~
  1076. ; http://php.net/odbc.check-persistent
    9 T& E1 C! W  c4 v
  1077. odbc.check_persistent = On4 T, I4 o: ]! z2 R

  1078. % u0 A! Y: O$ u# O# N
  1079. ; Maximum number of persistent links.  -1 means no limit.
    9 x- p2 c, y* \/ e) _4 `
  1080. ; http://php.net/odbc.max-persistent
    / d! F( x- N% R$ E& `" ^/ {, j
  1081. odbc.max_persistent = -16 O) A0 T0 b& A) e  ?% A
  1082. . d7 J  Q, E9 }% {- `5 V( O
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' t- |; x* [, F( ]
  1084. ; http://php.net/odbc.max-links
    7 N1 h! x4 T! L& L3 {: P
  1085. odbc.max_links = -1. R( R' R2 z8 g. }  M/ [: r
  1086. 9 R- D/ ^6 {$ v, w
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / G8 A3 J5 c0 A) H7 i6 p
  1088. ; passthru.9 S% ~* q, }5 W
  1089. ; http://php.net/odbc.defaultlrl/ w/ H" l- f, B
  1090. odbc.defaultlrl = 4096$ A; `/ s- R! Q  Z& y% l

  1091. * ]6 q' T) i! e: J6 U7 q( M
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' g" ^  E, O( }8 U$ u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation$ [& E( p! X# S: |" s9 a
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode! ~" ]8 k' M. v& E) j0 B4 J+ u, }; Y4 C
  1095. ; http://php.net/odbc.defaultbinmode
    0 `4 X& Z5 i, r. j8 l
  1096. odbc.defaultbinmode = 1
    ! W, h8 W. \. X/ d
  1097. 4 c1 b) b& U9 [) m4 K, I1 C
  1098. ;birdstep.max_links = -1
    3 z# e  b6 E, g  }! s2 M3 J$ s

  1099. - c; N, x- u2 q# U" o. Y  {' p
  1100. [Interbase]  ?7 S' O2 Q: o% Q4 z8 M
  1101. ; Allow or prevent persistent links.
    # N( D# M  j6 Z: @8 |' {
  1102. ibase.allow_persistent = 1
    - h1 _/ c' v- }( E' ~

  1103. 7 L1 O, M: Z0 s& E: B6 E
  1104. ; Maximum number of persistent links.  -1 means no limit.; z* g* @) P6 P: h# ?3 H
  1105. ibase.max_persistent = -1
    ) J$ n% H0 r) a6 L
  1106. % J$ I: T, ]6 K$ A) Z
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 L- y6 m) i4 d$ n- x, g3 |6 R6 J6 S
  1108. ibase.max_links = -1; d6 J& R  o' A( L* Z
  1109.   W/ j7 r+ ^& E7 G* X' e9 U
  1110. ; Default database name for ibase_connect().
    ! U, B* ?1 Z- T5 o, h, D+ m7 C6 H
  1111. ;ibase.default_db =, O& w7 E  Y9 j* c

  1112. % ~8 b& R3 P* g) D! g
  1113. ; Default username for ibase_connect().
    . X: ^. ]) y" z  _% v
  1114. ;ibase.default_user =
    8 k# w+ e0 `) B9 Q* R# n5 ^
  1115. 6 w2 D  R: V* M. h8 I+ _. R7 z
  1116. ; Default password for ibase_connect().* d. G/ |/ f9 {- |1 E
  1117. ;ibase.default_password =
    ! ~; p2 i) B' w+ _
  1118. 2 w* `5 E& D5 P+ P. t) m
  1119. ; Default charset for ibase_connect().; v* a" m+ [+ U3 ^$ q
  1120. ;ibase.default_charset =
    + @# o( a; W# C  J

  1121. ( }$ E2 Z/ n- d6 J
  1122. ; Default timestamp format.
    ) I! m! O* M) F4 j
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"7 I- V) E7 }: w, {6 B* Q/ M
  1124. + t/ Y0 G7 f4 b( i
  1125. ; Default date format.
    9 T/ |4 l" E+ q( \
  1126. ibase.dateformat = "%Y-%m-%d". v3 Y: W+ W0 v5 e3 X4 p; W+ ^

  1127. 9 B+ F. B! s+ d9 |9 f
  1128. ; Default time format.: m# b! V3 g% i% a# I
  1129. ibase.timeformat = "%H:%M:%S"
    ' u: K: J/ h4 G+ e6 [& U: ^
  1130. , U+ V3 F3 I  M/ K9 S- M
  1131. [MySQL]( E* z" K2 f4 ^* ^8 t/ j
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 M1 ]% {3 D: K; w
  1133. ; http://php.net/mysql.allow_local_infile$ |1 ^  ?" g8 D, w4 D; V
  1134. mysql.allow_local_infile = On
    0 X. _$ u2 B  H$ I& U2 ]

  1135. + w# l9 w- u$ k9 D! H* V4 j
  1136. ; Allow or prevent persistent links.$ J1 `7 c$ k' m7 E
  1137. ; http://php.net/mysql.allow-persistent- @1 ~& g5 |  d2 J& L3 l) D
  1138. mysql.allow_persistent = On
    8 d; |9 _  H6 v* [4 b
  1139. - a1 u* b  m0 `8 k+ i# ~# o
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; d- ?" k/ U0 S0 d9 q1 X
  1141. ; http://php.net/mysql.cache_size
    3 a4 o0 h$ _5 l( u
  1142. mysql.cache_size = 2000
    ' N* P" p' {9 C4 u1 t

  1143. . }+ d, Y( D4 x5 ?! P
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ) q. F; p. y& ?# X) h
  1145. ; http://php.net/mysql.max-persistent& ?3 t9 k/ F+ R! A1 I
  1146. mysql.max_persistent = -1
    - q1 T) |! ~$ X
  1147. 5 H& E5 Q3 L; H* J6 k: h5 S9 c5 g
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 s, S* M8 A0 u" v8 q" F
  1149. ; http://php.net/mysql.max-links
    + o( V; E0 C1 q- J( c4 @! B( J
  1150. mysql.max_links = -1
    & a& l: }9 u  Q' r+ ^

  1151. 3 t. _4 x: K3 e% m4 K
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use- P$ F- s- R  \' Y. k" f
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) g, d9 w- g  S% S7 `& k% ~/ c$ A
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( Z- D6 ?5 T" E" N' {
  1155. ; at MYSQL_PORT.
    , F( \- X' x3 E- p8 c8 C+ u' d& h
  1156. ; http://php.net/mysql.default-port
    6 e( ^& `1 Z6 J8 A1 ?5 A8 g: T0 a* @
  1157. mysql.default_port =9 N' O6 [4 T3 a; m( P2 \; K8 ?& b! _

  1158. / d8 D% `" m! Q& l. i
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in, o$ L# B( [. I3 [  m
  1160. ; MySQL defaults.
    9 `6 ?' A1 E6 d! z( D) r" L% Y
  1161. ; http://php.net/mysql.default-socket
    & x; m7 u; J4 ]! m
  1162. mysql.default_socket =: w2 F; n0 B' y  y; D7 l
  1163. . t% u" Y7 Q9 [, @" Z; {9 p, W8 {5 R% S
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).6 a$ L1 Y7 ^* r  m' B! I- i+ R& W
  1165. ; http://php.net/mysql.default-host
    4 ^- |* K/ s% j& P
  1166. mysql.default_host =! _% x9 |5 |* t. a1 W
  1167. % n& B/ @6 g0 w  X5 Z
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " R' W1 J* Y1 B
  1169. ; http://php.net/mysql.default-user) r/ t: B; f: C
  1170. mysql.default_user =
    . |$ `6 j# r2 ]  Z9 a

  1171. 0 ~: O3 j+ n' H6 B9 m0 M6 ?9 }- @
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    % i: I  R5 ^# {+ [
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.3 a5 l8 ?! A% x  y+ _+ T
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    & V0 S0 ]6 e; ^$ o
  1175. ; and reveal this password!  And of course, any users with read access to this
    % K" t' E. W# Z1 m4 X* A  X
  1176. ; file will be able to reveal the password as well.6 h, S9 S" v2 C
  1177. ; http://php.net/mysql.default-password( F' @5 h: Z& l& Q, t# W
  1178. mysql.default_password =8 r$ d0 e) e4 L( U+ h! r

  1179. $ I  u6 h( r( \3 y4 E( {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    % c0 V& v& a& Q
  1181. ; http://php.net/mysql.connect-timeout
    9 H/ E) U0 Y# {* H" F
  1182. mysql.connect_timeout = 60& c: ]% X8 D8 ?0 Z, I& A

  1183. , _" D2 A# W8 A, k# c6 H- u8 J# ~
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " j+ l6 W7 e! w5 W# r
  1185. ; SQL-Errors will be displayed.  P0 n' [4 n% Z
  1186. ; http://php.net/mysql.trace-mode
    ( |( G  R9 P! V* \+ Z4 o5 R
  1187. mysql.trace_mode = Off1 A1 y1 S+ d6 ]( B- I
  1188. 4 Y9 ]" ~: v8 S  O0 C6 X( R
  1189. [MySQLi]
    + U; p- e% t4 f8 v4 h$ N- r# W

  1190. + m: ]" P# X  ]3 V& m- f
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 b' p- D1 d% j+ {
  1192. ; http://php.net/mysqli.max-persistent
    ; V& H7 Y2 Y% H. o; r
  1193. mysqli.max_persistent = -1
    : w- K: a! G4 H3 F% _7 ]
  1194. 5 S% {; [( M2 P/ ^
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( n' W, g  i) }0 ~! l
  1196. ; http://php.net/mysqli.allow_local_infile
    8 q7 g( |) ]6 G4 F5 F7 y. I
  1197. ;mysqli.allow_local_infile = On  q4 X9 r3 F: k4 Q

  1198. 5 e$ Q  G0 j7 k7 W/ q; N
  1199. ; Allow or prevent persistent links.; D. Q: w% k$ v( n
  1200. ; http://php.net/mysqli.allow-persistent# H1 L. `9 k  b/ K
  1201. mysqli.allow_persistent = On
    ! _) k4 x) B' X

  1202. & c" K5 ?. S7 _6 v& [9 O. f0 ?) w
  1203. ; Maximum number of links.  -1 means no limit.
    * F- n9 i* n9 N, U/ \
  1204. ; http://php.net/mysqli.max-links2 x+ ]+ ^$ J: u; E" {
  1205. mysqli.max_links = -1
    5 z* Z- P* \; ?4 i  `9 `# P* `
  1206. ' v' `0 a) w" Y6 \9 V& `: f
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ s" g, X. c+ E1 m$ j6 z: O9 k1 ?; k
  1208. ; http://php.net/mysqli.cache_size
    ! R$ A4 x7 q4 B9 c3 b! B
  1209. mysqli.cache_size = 20008 m( z6 x. M( B0 q3 F3 G3 y& C- S
  1210. 7 t8 b1 e  C! ^0 z5 t
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' j6 b/ w. l. L, n
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      ^/ S+ j. q+ k7 E) j
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 ]4 g4 |9 ]) F
  1214. ; at MYSQL_PORT.; ^' _/ N4 g( Z& O
  1215. ; http://php.net/mysqli.default-port; L9 Y* }" X  o- g7 _; Z7 }
  1216. mysqli.default_port = 3306
    ; A) S) M' v) z- ]7 P& Z
  1217. # o" @& G- J$ C
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 d# i  ?8 [% c% O
  1219. ; MySQL defaults.0 B! x% y. u* w) I. Q2 N
  1220. ; http://php.net/mysqli.default-socket
    , p& `" U0 E- R- T9 i
  1221. mysqli.default_socket =- l0 A* H# V6 K! h

  1222. 2 v7 j) q% }) P! W1 x7 e
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).7 d4 c, h4 p6 Y( Z- X( N  g
  1224. ; http://php.net/mysqli.default-host0 _3 n& l3 l; `+ J4 l9 G, E
  1225. mysqli.default_host =9 X! A0 V+ {. i' A) [+ \% q

  1226. ; g+ Z! w: {& X8 K& h
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
      _$ n" y2 [3 M8 y
  1228. ; http://php.net/mysqli.default-user6 O8 v, c1 H. k4 `+ _
  1229. mysqli.default_user =- }7 s$ z/ r) s: f" a/ ?
  1230. 8 d- |' |' k4 J! _. ?
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).4 W' b, P% k; c) W* M1 e
  1232. ; Note that this is generally a *bad* idea to store passwords in this file." v2 }# |6 f& J! D
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( N  L) [/ k2 V6 o. N* a
  1234. ; and reveal this password!  And of course, any users with read access to this
    ( s$ T2 {) g( a- P4 X3 A: `+ }
  1235. ; file will be able to reveal the password as well.
    . F2 {9 j5 `$ E& [
  1236. ; http://php.net/mysqli.default-pw" w0 o) v! f& G- s. w% ]
  1237. mysqli.default_pw =
    ' V: q5 |% I/ c+ {
  1238. 6 U' ^( Z! t, `. }, A- I7 a' t/ K
  1239. ; Allow or prevent reconnect/ N& T. I4 G6 U) c+ A) E) k
  1240. mysqli.reconnect = Off
    8 C/ ~% o8 e$ e: a9 d, Q7 ]

  1241. ' I: J- V3 H2 q9 E% [% M5 N
  1242. [mysqlnd]- {2 m: X7 o' H4 G) o' C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + T$ k: {# v' r7 L
  1244. ; used to tune and monitor MySQL operations.4 b# @0 t' ^6 Z4 |) A
  1245. ; http://php.net/mysqlnd.collect_statistics: u9 \* ?, z$ X7 g  p4 a' Q
  1246. mysqlnd.collect_statistics = On- s6 x5 i. T/ S' S. W
  1247. 5 Q6 _+ V0 \7 b1 a2 R. F
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ V4 C% E) n# r
  1249. ; used to tune and monitor MySQL operations.4 P, g1 W) A6 w# }, V
  1250. ; http://php.net/mysqlnd.collect_memory_statistics- ]9 D2 x7 E) X# |, r" H' ]
  1251. mysqlnd.collect_memory_statistics = Off0 A! b, s% W; o3 |  i
  1252. " ?# ~  m3 h+ C& H% B5 {
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    5 W6 e2 y4 ^" \4 [1 B- {7 X
  1254. ; file.8 ^2 k$ d( U& @3 ?1 D
  1255. ; http://php.net/mysqlnd.debug
    9 N7 c' z& s! e& G$ k9 j! g5 G
  1256. ;mysqlnd.debug =
    0 W2 J6 n! F3 ^! ^0 K

  1257. % _' {1 D4 W( z, |9 O6 D) ]6 _8 t
  1258. ; Defines which queries will be logged.
    7 l# h4 e3 `& V% j# G4 {* k
  1259. ; http://php.net/mysqlnd.log_mask
    ' K2 Y1 x3 v$ |# S. L1 |
  1260. ;mysqlnd.log_mask = 0
    7 w2 d2 e- z' |2 R

  1261. ) @/ w6 u; d" d( f
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 W3 a  U( X: Z, @' B8 t
  1263. ; http://php.net/mysqlnd.mempool_default_size& W' U6 s. p8 e( s9 r: n% l
  1264. ;mysqlnd.mempool_default_size = 16000
    ) D1 h( q2 M( ?/ o/ I
  1265. 8 ~" `# L5 Q( @, k( ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.+ H+ X" G0 w* F. a+ ~$ |) y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size9 P- V6 A# m. X) S6 C
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    : L. c; z- {+ O$ U, I$ S& {
  1269. # K0 p* I4 f- f; e6 _1 l0 i
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" ^4 h$ X2 I% C
  1271. ; bytes.7 Q+ {2 C' H0 k0 \7 [- c; o
  1272. ; http://php.net/mysqlnd.net_read_buffer_size7 \. b1 i) M  L6 N4 _
  1273. ;mysqlnd.net_read_buffer_size = 327681 A8 I! d- Z, a

  1274. ( j/ ?6 B9 J4 L; \+ O) ?2 C2 y
  1275. ; Timeout for network requests in seconds.4 [8 s+ F9 n% \7 i. s9 ~
  1276. ; http://php.net/mysqlnd.net_read_timeout
    # N) i9 x3 e2 R% q( ~
  1277. ;mysqlnd.net_read_timeout = 315360001 Q$ h7 F- i1 `7 U+ R8 v, G$ m
  1278. * Y( I! K6 Q" T+ t) d
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    . P' J9 j6 U+ Q/ O
  1280. ; key.& z+ O) c' q+ L) {. t5 p
  1281. ; http://php.net/mysqlnd.sha256_server_public_key+ }& k5 p" q3 D/ `  U
  1282. ;mysqlnd.sha256_server_public_key =& `. o1 f  j7 z* c: q. @
  1283. ! d; s5 w3 e$ f' p
  1284. [OCI8]
    ) |. a) M* r' u% X
  1285. ) b4 W2 P% ?: J9 H; t
  1286. ; Connection: Enables privileged connections using external
    , r6 {1 m( S  V' @2 u/ L
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - a# t- z. D; n' V& k( \
  1288. ; http://php.net/oci8.privileged-connect) Z! b! J& ~. P: V
  1289. ;oci8.privileged_connect = Off* b; Z# P2 L% _/ {/ a7 {

  1290. ' a- l, X. w& a% _/ L! {; i4 T
  1291. ; Connection: The maximum number of persistent OCI8 connections per! k/ d* S9 a4 Q6 q* F; [
  1292. ; process. Using -1 means no limit.
    7 e4 b' h# J5 \; s+ V
  1293. ; http://php.net/oci8.max-persistent
    ! L9 Y: M5 k1 R( Q  q/ ^6 ^
  1294. ;oci8.max_persistent = -1# F0 M$ k! k! }$ n2 l2 C# E
  1295. - @* `" L- X; ]( I, F( H) i
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ' j& l0 x6 u' G& a  t
  1297. ; maintain an idle persistent connection. Using -1 means idle( r; {) g6 s: q7 E. N
  1298. ; persistent connections will be maintained forever.
    $ {! y( ]: y9 a7 Z8 B' i
  1299. ; http://php.net/oci8.persistent-timeout* V1 Q$ J$ E( h* |! N9 n
  1300. ;oci8.persistent_timeout = -1. `6 g7 u4 h) v
  1301. % t8 k3 j* H: j, M  l5 V
  1302. ; Connection: The number of seconds that must pass before issuing a
    ( ^( ~$ L; U9 I+ G$ z5 `
  1303. ; ping during oci_pconnect() to check the connection validity. When3 W" \0 m2 Y# X& V' [6 q: e$ i
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    7 U# A" G6 l% h# ~$ D  l6 G
  1305. ; pings completely.; n8 O' d$ `& z
  1306. ; http://php.net/oci8.ping-interval8 d/ Z3 M& j+ D( f7 N
  1307. ;oci8.ping_interval = 606 _; ^  t5 c! F
  1308. ; n  `+ y9 J& z" l, t
  1309. ; Connection: Set this to a user chosen connection class to be used* `3 D6 ~4 ]/ f- t5 L
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    * Y' O: t# F) l
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + z; p; b: U5 M5 S
  1312. ; the same string for all web servers running the same application,
    : b/ \! O, w1 p( ^9 @  X& G% ~
  1313. ; the database pool must be configured, and the connection string must. v2 T. O8 J6 ]! R
  1314. ; specify to use a pooled server.& G  b' G3 U4 j' C3 E
  1315. ;oci8.connection_class =
    0 z; c; P+ m8 h' c. T* ]
  1316. ( t7 O' T0 M7 D5 h1 o
  1317. ; High Availability: Using On lets PHP receive Fast Application, {8 @' K! g% |) ?' J
  1318. ; Notification (FAN) events generated when a database node fails. The8 }8 u! c" p7 \
  1319. ; database must also be configured to post FAN events.
    # ]  r* _% k( t2 F
  1320. ;oci8.events = Off
    7 t6 c8 Y8 a1 ]+ r' M/ v5 B

  1321. 5 c1 o2 F: Q3 @, X5 k. I
  1322. ; Tuning: This option enables statement caching, and specifies how
    - i! O$ |1 v8 k- h4 o
  1323. ; many statements to cache. Using 0 disables statement caching.' V3 f. M; [1 }/ M
  1324. ; http://php.net/oci8.statement-cache-size
    * N4 l% l6 t' S5 K; U
  1325. ;oci8.statement_cache_size = 20% E+ F% _& `$ o
  1326. - |8 C% Q) X! J  k
  1327. ; Tuning: Enables statement prefetching and sets the default number of! n; A# t: }* B% F
  1328. ; rows that will be fetched automatically after statement execution.
    6 I0 n4 ]/ m; _5 ]* K
  1329. ; http://php.net/oci8.default-prefetch  V: k+ N4 k3 b
  1330. ;oci8.default_prefetch = 100- f( j: C- q2 e& u" t
  1331. 0 I* Z1 G' t4 u' e' a1 _
  1332. ; Compatibility. Using On means oci_close() will not close: L- G5 C; h6 T3 f  {
  1333. ; oci_connect() and oci_new_connect() connections.0 p) E* g$ m# x5 R2 H
  1334. ; http://php.net/oci8.old-oci-close-semantics0 |. F/ P# o; h, k* [' C
  1335. ;oci8.old_oci_close_semantics = Off
    6 Q! w$ j5 j- j4 \# N

  1336. ( |* ~: j  U- I8 Q- i; i$ a
  1337. [PostgreSQL]
    / u, T6 _4 P/ q6 V: ]
  1338. ; Allow or prevent persistent links.
    , C( l0 k0 ~% N+ [7 ~$ h. J9 ]
  1339. ; http://php.net/pgsql.allow-persistent. B# _. D7 a% Y  a
  1340. pgsql.allow_persistent = On
    8 D+ ~( K1 v+ i6 [0 R' E, I

  1341. + f6 u% `5 a( `3 t% Q% E2 L
  1342. ; Detect broken persistent links always with pg_pconnect().0 V% J7 z2 I5 u+ h! d6 P
  1343. ; Auto reset feature requires a little overheads.
    3 }  N  {% P4 G  z( b) }& U" P7 d& N
  1344. ; http://php.net/pgsql.auto-reset-persistent7 m/ I+ n- D+ v# @9 X- L" A
  1345. pgsql.auto_reset_persistent = Off% b5 L8 f2 K' g6 o* w
  1346. , h) Z2 B3 S/ y. G. }
  1347. ; Maximum number of persistent links.  -1 means no limit.- J' b$ @- d) @: L# X
  1348. ; http://php.net/pgsql.max-persistent) h) v  `. R- G+ @6 y8 C
  1349. pgsql.max_persistent = -1) T& h+ p% j/ L) M
  1350. 8 r) @( \9 r+ m/ p$ f; m2 Y
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.( J9 Z8 p+ l1 Q& |5 y
  1352. ; http://php.net/pgsql.max-links
    6 h3 J' \9 ^! Y; B/ I9 s
  1353. pgsql.max_links = -1  f0 D& R" v" j! k0 ^' J
  1354. 4 D- f: l% m% U$ ^3 e
  1355. ; Ignore PostgreSQL backends Notice message or not.5 \4 `6 I6 ]4 l4 v7 T
  1356. ; Notice message logging require a little overheads.
    ) F2 p6 y% g/ }7 [3 E5 \
  1357. ; http://php.net/pgsql.ignore-notice9 V  e7 W* d( g4 i5 t
  1358. pgsql.ignore_notice = 0$ B7 O' O& e% K/ V7 [. k
  1359. ! F* I+ J8 X5 E; \7 f
  1360. ; Log PostgreSQL backends Notice message or not.# o8 c) o" S6 ]; S
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 x. t7 N% T% s
  1362. ; http://php.net/pgsql.log-notice6 G1 B% O* I# {+ E, [, ~
  1363. pgsql.log_notice = 0- F% T: a6 W: U4 M1 c3 J; z

  1364. # _5 `' |. [6 t
  1365. [Sybase-CT]7 x% B& j. w) D) A* ]$ J/ p% m
  1366. ; Allow or prevent persistent links.
    1 }' P: O8 F3 N
  1367. ; http://php.net/sybct.allow-persistent4 F: ?8 D/ V% e$ v, p) z
  1368. sybct.allow_persistent = On9 Z* C: `# S6 F9 m

  1369. 9 X5 h) }' r1 d6 p- v
  1370. ; Maximum number of persistent links.  -1 means no limit.
    , N$ c& |$ a# |, I! C
  1371. ; http://php.net/sybct.max-persistent
    + C) p, |3 `6 x* R" w9 D* c
  1372. sybct.max_persistent = -1
    4 Q8 Y, C- D6 B+ i
  1373. " X* {  }' l5 j& L( N" d% E9 ?
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.3 H) n$ j' x. ^# R% o
  1375. ; http://php.net/sybct.max-links( U5 }; ~! B+ h/ X& ^9 [
  1376. sybct.max_links = -14 x$ F2 n2 ]2 V( k

  1377. ; |0 z+ s) @0 L9 L, i+ H
  1378. ; Minimum server message severity to display.* a; W' H. w+ L+ b# a
  1379. ; http://php.net/sybct.min-server-severity
    - h0 d# f) F9 S  J+ }
  1380. sybct.min_server_severity = 10
    : O1 j( L9 b; Z+ B
  1381. % p7 _$ E- \$ g! w, |$ Q
  1382. ; Minimum client message severity to display.) z1 s0 @7 u% z* a7 i1 `" E* E0 ~
  1383. ; http://php.net/sybct.min-client-severity' \: |7 \( ?' f4 U
  1384. sybct.min_client_severity = 10: K! ~' Y0 x8 B0 {

  1385. ' k" |- m) O8 ]0 t
  1386. ; Set per-context timeout
    8 D$ o# _' X  d1 h6 a
  1387. ; http://php.net/sybct.timeout
    0 [* W7 O2 Y/ e9 n- i
  1388. ;sybct.timeout=. Y8 R  e% U3 P* q# ^
  1389. 0 O0 O- Y! L  M' q8 m' F. L; n
  1390. ;sybct.packet_size0 V1 v. f. R, [/ N% h' {; G0 o* J. l

  1391. - ^) [; m/ ]; t% V2 P
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.1 W/ k( ]* C" x$ k2 Z1 [
  1393. ; Default: one minute
    0 r) `  W" G6 B" ?
  1394. ;sybct.login_timeout=1 c1 d- L3 s1 D* }$ B5 r
  1395. ; y! ]4 l1 ^/ n: H0 h* g. L( l9 S0 b% d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.* f8 H$ Y1 F( i0 `- ^! O
  1397. ; Default: none
    ! r& g8 U3 R9 F9 a; N
  1398. ;sybct.hostname=1 O/ v" ~1 d$ H. a' ?# E

  1399. * N- q- _4 O4 L3 `% L" W
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".& y5 \& E% h9 l
  1401. ; Default: 01 D# }+ v4 W( }4 m; L
  1402. ;sybct.deadlock_retry_count=
      H! o& o! A/ g6 e2 u2 s2 J

  1403. 1 O7 e& ~( P. u/ n, d
  1404. [bcmath]
    3 ]% P7 z. u8 c# v) d( C
  1405. ; Number of decimal digits for all bcmath functions.
    # b% M  X7 \, P$ P
  1406. ; http://php.net/bcmath.scale1 v. h% ^+ y# E7 Q: N; H
  1407. bcmath.scale = 0
    # ?- h& T: U) M& ?
  1408. / z7 x6 Y0 O4 f) p; m- I
  1409. [browscap]3 Y5 }7 Z" S( \3 G9 V5 J
  1410. ; http://php.net/browscap9 ~5 [/ o3 i; y' G% V
  1411. ;browscap = extra/browscap.ini0 C. @" D, ~5 e4 `/ ^% E1 y% E
  1412. + L! d7 j' W# h+ |
  1413. [Session]1 P1 Z" H+ w( @0 q1 s- V2 v. U
  1414. ; Handler used to store/retrieve data.% F7 q1 S0 I. K) _
  1415. ; http://php.net/session.save-handler; U1 o2 k( _# F
  1416. session.save_handler = files
    3 s: a  ?' T- m% d* Z, ?

  1417. 4 E0 _5 E$ G/ H, u6 H( y
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . C: g$ ?" X8 f' e! b& H) o" t
  1419. ; where data files are stored. Note: Windows users have to change this& w5 `5 G. t. E9 ~6 s% [
  1420. ; variable in order to use PHP's session functions.
    ) Q. O' U# [- ]& Q* M, v: U. m
  1421. ;; ^; h- N& ?9 D
  1422. ; The path can be defined as:9 g  M4 q3 c" N8 C: ^4 c0 T  I5 ^
  1423. ;
    & t9 ]1 l' l3 b  u' q6 G' X+ }9 X
  1424. ;     session.save_path = "N;/path"
    # {3 C) O! ~0 }& S1 H
  1425. ;% y# e" F7 N* d5 T, u  B
  1426. ; where N is an integer.  Instead of storing all the session files in1 C+ ~4 [5 A2 e9 R6 y/ N
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    6 b: X" m6 W$ |4 S9 K
  1428. ; store the session data in those directories.  This is useful if
    . ?% h$ `8 u" Z( F+ H3 `
  1429. ; your OS has problems with many files in one directory, and is
    5 Y7 C  x8 ~: e( j) o9 _3 K
  1430. ; a more efficient layout for servers that handle many sessions." j) N- N6 }8 R9 h$ E1 ?
  1431. ;
    7 S8 L1 @! A8 [4 O6 B8 u
  1432. ; NOTE 1: PHP will not create this directory structure automatically.% c9 V, M, ^' W! I7 Y
  1433. ;         You can use the script in the ext/session dir for that purpose.
    " O& P" l1 v, g* x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to# M7 g9 `7 A1 P  `* m" w" N
  1435. ;         use subdirectories for session storage
    9 ^6 V! o# R0 }. x6 ], l4 K. q- C
  1436. ;
    ) d% f! k% Y9 K2 ]3 c# a% y
  1437. ; The file storage module creates files using mode 600 by default.
    - G6 M4 K) A% S! B" Q
  1438. ; You can change that by using* f: N7 \5 ]0 c; G4 o
  1439. ;; p8 C* O: X# \4 l8 x
  1440. ;     session.save_path = "N;MODE;/path"
    % v; d+ ?. ~  K& ?, p
  1441. ;
      m6 }  F4 y" i- D# F  t* \9 M
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 Q: K( R+ p( Q! a( v) ]3 i
  1443. ; does not overwrite the process's umask.
    % p3 p( H8 }8 _% d: L
  1444. ; http://php.net/session.save-path
    - u0 B7 A* w1 D* `/ e; g4 F( ?+ l
  1445. ;session.save_path = "/tmp"
    % N) n5 p0 u( _3 c

  1446. " I( ]& B- W, p
  1447. ; Whether to use strict session mode.! p  b: x+ \2 |& F0 ^
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    - N1 x' K/ @2 g7 D  g; u! K1 f
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects& O  S0 g6 {& D4 O
  1450. ; applications from session fixation via session adoption vulnerability. It is9 b4 P, {8 X* ]
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.' ]5 E, q2 X6 m+ ^7 s, S; \% c
  1452. ; https://wiki.php.net/rfc/strict_sessions5 M$ c, L* I4 S9 U1 {! a" ^/ B
  1453. session.use_strict_mode = 0
    . z- g. F* \/ r' A  S' L
  1454. / T! E" m" [8 P. _+ L
  1455. ; Whether to use cookies.3 [9 D6 e0 Q6 k7 i9 {& h, `
  1456. ; http://php.net/session.use-cookies" Q2 K: r0 k: o- i8 l3 A
  1457. session.use_cookies = 1; O5 X0 V5 ^# \  D! D
  1458. . O' c2 N0 k2 i- x/ ?
  1459. ; http://php.net/session.cookie-secure
    - \9 O) K2 D7 q" r( B5 f
  1460. ;session.cookie_secure =
    ( g: Z% c2 R9 {) ~# P; k+ o" k/ I8 o
  1461. : J+ s7 o4 k- `$ I3 q! y. W
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    5 g8 M9 s( U' X1 D: K) K
  1463. ; the session id. We encourage this operation as it's very helpful in combating- t  A; }: ?1 c1 f6 Q9 H; `
  1464. ; session hijacking when not specifying and managing your own session id. It is; M5 k: A1 b* |% V) h
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " \3 n% R9 }  H
  1466. ; http://php.net/session.use-only-cookies2 |3 {/ R2 ^) ^/ N
  1467. session.use_only_cookies = 1
    3 b8 N: U2 B, _! S
  1468. 0 c' U8 m, m" y. ^, o0 [* |
  1469. ; Name of the session (used as cookie name).  F; S7 L. s! ^, K7 b5 b) r$ H
  1470. ; http://php.net/session.name, m; Y1 b4 S9 C
  1471. session.name = PHPSESSID
    8 h% O' p. g, j  r0 K: ]/ \1 |$ y
  1472. 8 h+ V$ e  c2 N# E+ q
  1473. ; Initialize session on request startup.  l+ A) J% L8 w
  1474. ; http://php.net/session.auto-start  P4 O1 H. }+ C' o
  1475. session.auto_start = 0. i" X# b8 p: [* ]+ R! x
  1476. ( w5 W" W7 M( }" k0 U
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  P5 _( {# A' z( Q2 B
  1478. ; http://php.net/session.cookie-lifetime: a- W+ E3 q! u" O
  1479. session.cookie_lifetime = 0) L5 M' ]# y- l3 H6 z% D
  1480. , f- ]! i( j+ t+ ?7 i% O. d4 N" I
  1481. ; The path for which the cookie is valid.
    $ i. ?/ [) E3 g) z/ E
  1482. ; http://php.net/session.cookie-path
    ! F4 q8 @2 ^. H) U* g' o
  1483. session.cookie_path = /, I% E8 ?1 ~4 @8 m$ m

  1484. ) j. Z" _% j: G9 @/ {7 [% q
  1485. ; The domain for which the cookie is valid.
      o0 P# S) f9 N
  1486. ; http://php.net/session.cookie-domain; v, M# i5 b' {( u& h/ R4 b  r
  1487. session.cookie_domain =; P, p; X1 q, u2 L. Q! W2 X$ i

  1488. 9 T& J$ O# k+ W( w0 W; _0 T- ?
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.% T+ ?" j! x4 Z5 G
  1490. ; http://php.net/session.cookie-httponly
    ; Z5 G) F- `, u5 N% L7 e
  1491. session.cookie_httponly =
    1 r  i, f4 c- R
  1492. , E4 i# Y) y7 E4 k* o/ W! F  k
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & t; L7 n$ b7 ~! L$ p
  1494. ; http://php.net/session.serialize-handler
    3 K' a# l! d0 Q
  1495. session.serialize_handler = php  Z! ?7 @$ r7 _6 J" p" @4 j

  1496. + q. [3 Y6 S  M1 X8 W
  1497. ; Defines the probability that the 'garbage collection' process is started( ~7 C( Z8 W; q8 J
  1498. ; on every session initialization. The probability is calculated by using3 k1 n+ y9 v- x3 u& T
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 I+ |8 f; _: U0 d+ Y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1. Q1 H7 t, z" h4 P' S( T/ [
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 n. q8 x5 o! G; M4 b
  1502. ; the gc will run on any give request.! H4 f5 `& ^$ W0 |
  1503. ; Default Value: 1
    6 q, w" U+ m3 g
  1504. ; Development Value: 1$ B6 H3 R! b* a% K  w
  1505. ; Production Value: 1/ X4 D! s- y# Z
  1506. ; http://php.net/session.gc-probability
    + M+ X% D6 n4 Z
  1507. session.gc_probability = 14 l& _% K+ Y2 X  n. x; Q7 R  i  z

  1508. " e$ {( R2 u+ @
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    & {) V! \' E# Y4 r, i4 I/ s
  1510. ; session initialization. The probability is calculated by using the following equation:: o% Y4 v5 Z. t) Y) H
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 l& \  e5 e! |7 E* p' v6 y
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # P) a' R; W' e7 x
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . P0 q3 C# A' L$ a, G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 W+ q6 \0 c( T
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,) ?! C$ D. r. Z1 r
  1516. ; this is a more efficient approach.
    ' c& z' f( i! w7 M% s, N
  1517. ; Default Value: 1003 Z/ @8 r$ a0 z
  1518. ; Development Value: 10001 f) o1 Q2 p2 t; I4 [
  1519. ; Production Value: 1000, F1 G- T: I% B8 Z6 a- Q
  1520. ; http://php.net/session.gc-divisor( _& x: Q& x; S0 e4 g
  1521. session.gc_divisor = 1000
    8 O% `: u0 Z+ r5 J( _3 H/ f6 c; ~# J7 v

  1522. 0 `) c+ {8 F! y- a0 ?9 `
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and7 H4 \% p, T+ R, W, M6 O5 J
  1524. ; cleaned up by the garbage collection process.
    ( v8 @8 y' ^3 M2 X5 O7 _; @
  1525. ; http://php.net/session.gc-maxlifetime
    + ~0 O" A& P( A+ d, o
  1526. session.gc_maxlifetime = 14409 @& S2 \! F4 ^+ k
  1527. 8 a. a  R* q% ^( d* Q6 N2 H2 H
  1528. ; NOTE: If you are using the subdirectory option for storing session files7 L$ R. D2 O; L
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * S% Y) p& W6 D
  1530. ;       happen automatically.  You will need to do your own garbage# X0 N7 m' N3 }6 `; m* [
  1531. ;       collection through a shell script, cron entry, or some other method." d! w% g: x* x- x5 k" F3 V
  1532. ;       For example, the following script would is the equivalent of' C3 G$ B0 b& m: ~. i
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 Y# `, y: N1 X) E) q& E! f
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% R9 Z1 a! l' R3 R! L; [
  1535. 7 {* v; w' l2 P" o) A2 }
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & w; B6 M# o+ o6 {# U! C: ?
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ( z# n* t( ?0 k% @
  1538. ; considered as valid.
    , ~$ {. P) C! q
  1539. ; http://php.net/session.referer-check
    6 C  U9 ?: O* H% n( s: r
  1540. session.referer_check =% S6 j# A3 e* H" d  D' e8 ^

  1541. . O7 I" a6 D& O) y" s; F9 R
  1542. ; How many bytes to read from the file.
    # x0 i, \5 z" @: d0 c2 A8 s
  1543. ; http://php.net/session.entropy-length( O4 [/ h  ~+ ?2 X1 ?* R
  1544. ;session.entropy_length = 32
      w: Y8 R& X$ ^+ u8 n
  1545. ) {: ]5 I0 u# |; F' Z$ _
  1546. ; Specified here to create the session id.
    5 Q3 j9 s- G; `7 o( w6 X8 o" L  v. j
  1547. ; http://php.net/session.entropy-file! l, ^0 F  ?% {
  1548. ; Defaults to /dev/urandom( c) A6 ?7 O. M7 U5 u7 z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 r! f& u  ^* U' g
  1550. ; If neither are found at compile time, the default is no entropy file.
    % ~- F! F2 g5 Y% Q
  1551. ; On windows, setting the entropy_length setting will activate the# ?$ K7 S) ^" V
  1552. ; Windows random source (using the CryptoAPI)
    6 b4 ?" G: E2 g5 a' r7 s2 Y
  1553. ;session.entropy_file = /dev/urandom- `. D4 }. [/ C1 I; l1 M

  1554. % k; b7 G4 m) A7 I4 z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 p: G$ H8 }2 S& _, Z% Q
  1556. ; or leave this empty to avoid sending anti-caching headers.1 `2 d  n7 S: B, I9 `. v
  1557. ; http://php.net/session.cache-limiter3 f0 P9 f2 p; N# i2 ], q9 x
  1558. session.cache_limiter = nocache4 O+ S# t3 N: `% P

  1559. ; a( Z3 H! j& t# J
  1560. ; Document expires after n minutes.
    ( \, l1 |$ b  a& ?
  1561. ; http://php.net/session.cache-expire- S/ s9 x& E' y& S! c
  1562. session.cache_expire = 180
    ( k4 q. r8 X0 k8 P* m) {7 X3 p
  1563. ( _9 g5 w3 B+ ~
  1564. ; trans sid support is disabled by default.1 k/ U! ?+ H! |
  1565. ; Use of trans sid may risk your users' security.
    , o8 s9 I5 m& I0 O
  1566. ; Use this option with caution.
    5 a# N! r2 `) s& J/ m
  1567. ; - User may send URL contains active session ID
    ) I/ V4 j! `, W1 p- h; G
  1568. ;   to other person via. email/irc/etc.
    5 J2 o  y" m8 L7 L$ X% n
  1569. ; - URL that contains active session ID may be stored
    1 f1 |! i, H& N, U
  1570. ;   in publicly accessible computer.
    9 r9 x3 e5 T8 l5 E
  1571. ; - User may access your site with the same session ID
    . @# |0 R$ W# H7 g; R8 c
  1572. ;   always using URL stored in browser's history or bookmarks.4 b! n4 F- x0 r* y1 ^
  1573. ; http://php.net/session.use-trans-sid; c% d/ V# M0 f$ |1 m6 a
  1574. session.use_trans_sid = 03 o' m' j& N* H' K: Q6 w" T

  1575. 7 O5 c2 V, w4 C0 ~
  1576. ; Select a hash function for use in generating session ids.
    * w) Y) ]8 i" J; [4 ^( y
  1577. ; Possible Values$ p% [9 i  {+ t* D
  1578. ;   0  (MD5 128 bits)3 K1 L# q+ b! q5 P
  1579. ;   1  (SHA-1 160 bits)
    " V( f' t& ?& X/ U6 v6 ?/ b
  1580. ; This option may also be set to the name of any hash function supported by. ]! B5 H! a4 [0 o' W7 O9 D
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 @3 _" C. A5 y, N
  1582. ; function.
    9 Y, u$ d( c7 x4 b4 v3 a6 @
  1583. ; http://php.net/session.hash-function
    & g3 a) s1 p- l
  1584. session.hash_function = 0, `/ G$ N) |, t) p0 R2 \- {
  1585. # n! d* `$ a) j& l" b2 H; d, R
  1586. ; Define how many bits are stored in each character when converting
    / c7 I) I2 `. s8 t# k7 d5 u
  1587. ; the binary hash data to something readable.
    0 L3 l+ Q. P- D) ]1 z! u
  1588. ; Possible values:4 j" W! j; }. M& W' e: b' j
  1589. ;   4  (4 bits: 0-9, a-f)
    % X0 C  H. [0 w" Y* d3 P* F
  1590. ;   5  (5 bits: 0-9, a-v)
    ) P& U+ T) j* z$ Q; B
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; \% j) E; W% B7 Y
  1592. ; Default Value: 48 H: J2 L: ~: W
  1593. ; Development Value: 5
    / P4 J' |& F( R9 _# A, R
  1594. ; Production Value: 5; G  \+ |$ z& t* B2 V
  1595. ; http://php.net/session.hash-bits-per-character* z) \3 i1 z1 p0 Y4 r; X
  1596. session.hash_bits_per_character = 5
    / v! |1 x+ |6 }2 V; S

  1597. - x! U% v; n4 A4 k* K- ~' h( a' v# X) l
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.& ]& |/ `$ U6 K, [! I( W
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    % Z0 [6 S, E: p: ?' ^
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ; l; B: s" J$ E) ?: `& d
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ! k4 ?( c1 h1 [$ D; f$ s2 W0 r
  1602. ; Note that all valid entries require a "=", even if no value follows.
    2 t: c/ w; r) \
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , j4 M( S: D4 |* ^% j
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 w9 d0 J; s2 g4 i  y4 J
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 i( M0 O% I/ F  D4 {
  1606. ; http://php.net/url-rewriter.tags
    ; [+ w- w5 E9 ]$ v% r+ N' Y; S
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"5 y6 R- F: @0 n% n% k) N- L

  1608. . R( }$ u5 D+ R8 ]7 q& c1 g  @- @
  1609. ; Enable upload progress tracking in $_SESSION
    : ]' W8 u- o$ s  J
  1610. ; Default Value: On: ]6 X" v' ^# @( u8 o6 k$ m, L6 X
  1611. ; Development Value: On
    + T* I- s& x1 B+ c) \1 I
  1612. ; Production Value: On' O7 E  L. A+ C1 w$ g8 \! Q: \
  1613. ; http://php.net/session.upload-progress.enabled
    4 m5 q- a* {2 e+ Y* K* r2 E
  1614. ;session.upload_progress.enabled = On
    / l1 F; l: e: K* U7 ^7 ^; {# h

  1615. & A! ?$ }1 r' n& u/ _) z* F
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ( s9 {+ ^' {0 i9 k
  1617. ; (i.e. upload completed).
    + E# X6 D; [; I0 E+ W" O# b
  1618. ; Default Value: On$ |: }( X5 L6 Y6 ~& ?
  1619. ; Development Value: On# n9 J( {" E3 B/ a/ c+ E
  1620. ; Production Value: On
    8 }' ]) `8 E6 w) C+ |0 r8 d
  1621. ; http://php.net/session.upload-progress.cleanup
    ( ]* M# D8 \! M3 i
  1622. ;session.upload_progress.cleanup = On
    5 {; k" F2 z. w8 h& k  s
  1623. " y# a5 `$ D& ~- \5 S/ {6 V
  1624. ; A prefix used for the upload progress key in $_SESSION
      O/ P& g4 l8 z
  1625. ; Default Value: "upload_progress_"" X: [( I: y) f6 v6 j: r
  1626. ; Development Value: "upload_progress_"
    9 X% J+ n: L7 X. G( @8 ]
  1627. ; Production Value: "upload_progress_"! M- \  S5 W. W( X. s% [
  1628. ; http://php.net/session.upload-progress.prefix
    % B- Y1 Y% ]& _2 E" d: v2 w
  1629. ;session.upload_progress.prefix = "upload_progress_"3 P8 `  o% `$ ?
  1630. 7 H) [% p7 q, u2 U& }" a  o
  1631. ; The index name (concatenated with the prefix) in $_SESSION% t' j. `2 Y- e# k
  1632. ; containing the upload progress information
    " \) m2 b  Y$ w/ {3 [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"1 g# e0 u6 n* C% ]* @
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / U% R# k  X, ^! c
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % y& j! V. M% m: k) d" ^  ^1 |" y
  1636. ; http://php.net/session.upload-progress.name: B" z5 Q9 T6 ~8 a7 K1 a( g
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ b) d- A7 i* ?! L9 D; \- b

  1638. $ G9 n; @" k- Y8 }
  1639. ; How frequently the upload progress should be updated.! U4 y# l  }. O% n0 G& p
  1640. ; Given either in percentages (per-file), or in bytes
    2 c2 O& ]$ w* i; e. s
  1641. ; Default Value: "1%"  e$ P1 G8 d3 r/ F( Z7 t; v, e
  1642. ; Development Value: "1%"4 S, j2 M2 I/ U
  1643. ; Production Value: "1%"
    7 G9 n1 k' }' k+ g' P, f$ z" o
  1644. ; http://php.net/session.upload-progress.freq3 B: y; y: h. F# _2 d. w
  1645. ;session.upload_progress.freq =  "1%"8 Q7 U  ~4 @' m6 M& |: P1 X* n
  1646. ) a! E+ e2 k9 ]& j& ]
  1647. ; The minimum delay between updates, in seconds. ?, D+ Z2 \5 m1 z3 l) \6 K
  1648. ; Default Value: 1* L. i3 N5 S# ~
  1649. ; Development Value: 1
    % T# W7 n# H/ X8 q
  1650. ; Production Value: 1
    2 S( |4 {" G% `6 ^; Q
  1651. ; http://php.net/session.upload-progress.min-freq
    & x# V9 y6 O. m
  1652. ;session.upload_progress.min_freq = "1"
    : l) Y% o/ i! W* Q
  1653. - J: x; J+ b! w5 b9 `; f1 G
  1654. [MSSQL]- U& c$ \' [7 g3 a& `
  1655. ; Allow or prevent persistent links.
    # [* ?4 @/ V. x
  1656. mssql.allow_persistent = On
    - q1 g! D0 W- H5 u
  1657. 3 {6 P# k7 a; U' r4 Z
  1658. ; Maximum number of persistent links.  -1 means no limit.
    " t0 d  K3 G1 S2 W# @8 @
  1659. mssql.max_persistent = -1
    4 H" [" m( M$ K  D2 T& K& e

  1660. & \% u& ~8 `1 B4 y) K* j8 F, F
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! I, A7 M& ^* K$ I. c9 A" Y! o
  1662. mssql.max_links = -10 Q! ]# r5 J, G2 n( Y3 p3 A, ?
  1663. ) M( v9 R- M# k) b8 {1 `  s
  1664. ; Minimum error severity to display.
    & v. f/ x* s  l5 t
  1665. mssql.min_error_severity = 10) y# Q- ^; r2 A, D
  1666. ! H  L$ L! r: k
  1667. ; Minimum message severity to display.% R4 K- y" n/ e9 T, t  a
  1668. mssql.min_message_severity = 109 @5 r! V3 o. K$ W
  1669. 1 \# h( L/ I5 X5 |- m" }$ |% n  O
  1670. ; Compatibility mode with old versions of PHP 3.0.5 s  p/ P! t; R- P8 S- J/ G
  1671. mssql.compatibility_mode = Off
    2 E- A8 s$ A+ Q' }/ |- W* d* P

  1672. , l+ Z2 z8 T; C# ?# g$ K
  1673. ; Connect timeout' J) i! I& W5 B& U. j6 i6 k
  1674. ;mssql.connect_timeout = 5
    , u$ G" Z; S, z! R  K
  1675. - q$ u7 O3 p* i
  1676. ; Query timeout
    ; l) o$ U& Z+ \8 k6 F% a
  1677. ;mssql.timeout = 60
    4 t! z% {- U1 O+ p* o

  1678. ! }+ G: j% _4 j, C+ O
  1679. ; Valid range 0 - 2147483647.  Default = 4096.: `: c# Q1 i0 b9 [% d/ E3 U
  1680. ;mssql.textlimit = 4096- J4 @1 t0 H  y# u  y

  1681. 1 B$ K& u8 d. u# p8 z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    - O& R7 N& s. G- p1 `/ h1 H! [
  1683. ;mssql.textsize = 4096
    % f$ B$ g& q" A. z
  1684. 2 u2 j% ]  n+ i- w0 @4 B
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 w' x/ V* f- t/ w% H
  1686. ;mssql.batchsize = 01 c0 w- f! Y, P% v
  1687. 4 o3 s  ^) ^& e# D9 ~$ q* o2 g
  1688. ; Specify how datetime and datetim4 columns are returned7 M5 t' j3 O# z6 O# p* A% L
  1689. ; On => Returns data converted to SQL server settings% J& q; a+ K: ?+ D  M- }" \
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss0 H9 @1 Q, e+ `- E' v
  1691. ;mssql.datetimeconvert = On. W( M( b7 v+ `2 [6 Q

  1692. 4 t3 E( ~; U( F
  1693. ; Use NT authentication when connecting to the server
    3 x" a3 ]0 n# K; w+ S- Y% H3 h
  1694. mssql.secure_connection = Off
    9 |0 C6 b3 }" f/ W) F$ X: Q- r

  1695. 7 _1 S) f4 ~/ P# y
  1696. ; Specify max number of processes. -1 = library default# L- F- T7 p  v! [) d+ @1 \( u
  1697. ; msdlib defaults to 25" r, r  T' j; l
  1698. ; FreeTDS defaults to 4096
    % `" o' X) b( p, r. Y. V- I0 ?) a
  1699. ;mssql.max_procs = -16 k2 p2 {  y/ E; {; m
  1700. 9 e( O5 @+ _1 F3 s2 |- O# N
  1701. ; Specify client character set.6 a! Z" _! K% s
  1702. ; If empty or not set the client charset from freetds.conf is used+ F: B6 J9 [( `9 d- C, r2 t, W
  1703. ; This is only used when compiled with FreeTDS" ]1 g; Z2 R4 d/ Z7 z
  1704. ;mssql.charset = "ISO-8859-1"
    . C8 A/ l. o4 A' t! L- l9 q

  1705. 3 q  Y7 ~5 b; n2 c, @
  1706. [Assertion]$ n/ i* w/ k) t& t7 K0 I, }: ?* \
  1707. ; Assert(expr); active by default.
    9 z" s7 n* H9 R" B+ Z& K
  1708. ; http://php.net/assert.active
    ) \& p* o9 W) W5 c
  1709. ;assert.active = On' o7 C7 s+ ^" E* S7 J# g

  1710. 3 x2 ^2 |4 ~& m7 h( \  n
  1711. ; Issue a PHP warning for each failed assertion., w, Y, E6 e$ _# G: _; J9 N4 m8 A
  1712. ; http://php.net/assert.warning
    9 @& F4 \: o% J, h
  1713. ;assert.warning = On
    5 F  {6 {2 [7 Y8 v) N1 A7 D& s
  1714. , S! _* l2 r" K& i; B. G
  1715. ; Don't bail out by default.
    ! S, l- T( t/ N1 \4 v* ^& E
  1716. ; http://php.net/assert.bail7 i& o$ {  l2 \  l; i
  1717. ;assert.bail = Off
    + Y5 ^9 ~3 D2 i6 _1 X5 f

  1718. 2 ?' u. n/ n# B5 F: e
  1719. ; User-function to be called if an assertion fails.
    ! H9 z) Z  n" h' ?7 d5 M
  1720. ; http://php.net/assert.callback$ {! F- x- N! W! c+ V
  1721. ;assert.callback = 0% R" z5 ?& W# b/ k9 @% t
  1722. " i8 a4 q( ?  H! p
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    4 w7 k( t: `# [% Y& C0 b: B( b
  1724. ; error_reporting(0) around the eval().) j/ S" E  _3 i, n9 L
  1725. ; http://php.net/assert.quiet-eval
    . t: l/ I& d. d5 Y2 O
  1726. ;assert.quiet_eval = 0
    4 `# k: S0 T. a% t/ F
  1727. % y% }  ]" |* M
  1728. [COM]# `& h+ F5 ^0 _& B3 Q: L& i7 w
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    : ?* r+ n( {0 {: z& h
  1730. ; http://php.net/com.typelib-file6 C- S. d5 o" y* B' X9 H) e8 v
  1731. ;com.typelib_file =: ~% K* g: o2 U7 A4 p
  1732. : C% j$ B" u! f& J' k
  1733. ; allow Distributed-COM calls
    & b! M9 g' Z4 a: e
  1734. ; http://php.net/com.allow-dcom1 O7 O" [. L" y5 x" ^
  1735. ;com.allow_dcom = true
    . b) N9 P0 I( {& a2 f
  1736. 0 b& v2 \+ ?: K6 F
  1737. ; autoregister constants of a components typlib on com_load()
    6 f/ Z' Q& H$ Y' J; d
  1738. ; http://php.net/com.autoregister-typelib8 k* z& Y; q7 S) |; i7 }+ ^
  1739. ;com.autoregister_typelib = true
    9 C( C, Z- z6 |1 `) ^8 g& M/ R
  1740. 0 u1 E9 h  S7 Z6 y$ n
  1741. ; register constants casesensitive! j9 x; Y, E1 x9 t" |
  1742. ; http://php.net/com.autoregister-casesensitive1 x& E9 A! z' I4 y. b
  1743. ;com.autoregister_casesensitive = false
    ( ]$ p$ O$ `9 J

  1744. 3 h3 i: c6 o. p) T4 X3 O- w
  1745. ; show warnings on duplicate constant registrations
    $ D1 M/ d! b) p) g. b$ x# _0 P# n
  1746. ; http://php.net/com.autoregister-verbose' z: Y& r1 x6 o0 U. D, c
  1747. ;com.autoregister_verbose = true4 R' ^9 }' @7 M2 p) G9 H# X
  1748.   J) {# t6 y' A3 M( N$ O. s) f7 |: z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    : r/ [! t8 o' j1 o/ S9 ?+ q; r
  1750. ; Default: system ANSI code page
    3 F, _7 K* {+ G9 ~8 \, I
  1751. ;com.code_page=  z  s" T5 U% F) ?% s! v

  1752. % [, b" S  d4 G$ p
  1753. [mbstring]  ]7 G8 j, a  w& w# P  g! f2 w6 N# _+ Y
  1754. ; language for internal character representation.) m" i4 x  S) b8 t0 p. M9 x
  1755. ; This affects mb_send_mail() and mbstrig.detect_order., y: D- t7 A, m7 @1 f
  1756. ; http://php.net/mbstring.language
    5 |2 N9 {; ]6 |2 |8 V4 T; u
  1757. ;mbstring.language = Japanese; _" r! c8 H& l8 H

  1758. & J3 b' f5 j+ ^4 S( _6 E" P# T! q
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " _2 ?' O+ H+ [) ~9 g; J6 Q
  1760. ; internal/script encoding.
    + U, V* c/ H' g% [1 P7 u8 W  m
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    1 W( b) x5 B, g
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! K7 ^3 Q. f! B5 M* \9 j- q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 ?; ?/ c% \9 \" Q: H& ^. O
  1764. ;mbstring.internal_encoding =
    ' O% o( ~9 R" o% s% M
  1765.   N( e# G/ C7 T5 P( [
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead." E$ w1 t' u" `0 G/ J  u8 M
  1767. ; http input encoding.
    7 c1 d$ j4 u% x& h. _1 R, _& J
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.% X7 w+ I' c4 J0 ]" B/ b
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.. k: s* Z! r) D; t. k- F
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! }' H7 v' _8 r' w% L
  1771. ; http://php.net/mbstring.http-input# Q% ?+ |4 g* ]1 C7 Z7 p( J
  1772. ;mbstring.http_input =
    * a# _# E  Q9 b2 b4 L

  1773. : C, b# l1 b: b8 E4 H1 Y- X$ I5 B+ ]
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ _# j) [2 S( V; H7 s6 c0 N6 q
  1775. ; http output encoding.
    8 S* v. @2 B, z4 a/ e4 o! y* j
  1776. ; mb_output_handler must be registered as output buffer to function.' d3 P( x$ l. h% R
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  K/ {$ G- |. b/ k2 @8 N. B+ ^! O
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    5 M' O( q6 P3 a6 T5 p+ R3 e
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    % t$ Z0 |5 L% \
  1780. ; otherwise output encoding conversion cannot be performed.4 ^2 |: X9 R) n" ~8 [: o
  1781. ; http://php.net/mbstring.http-output& ^/ b- j3 `* l# p1 e
  1782. ;mbstring.http_output =
    9 h- T# V$ Z2 f& B; v# ]
  1783. 8 [) f; k- m5 i0 ^  Y! @
  1784. ; enable automatic encoding translation according to
    + `2 v8 L; H- {5 Q! `  I
  1785. ; mbstring.internal_encoding setting. Input chars are7 d' k7 h4 q3 T
  1786. ; converted to internal encoding by setting this to On.
    9 e2 }3 Z5 J( ^5 n( j8 _
  1787. ; Note: Do _not_ use automatic encoding translation for
    + h+ I: A! F. F8 t. u
  1788. ;       portable libs/applications.
    : \  n9 I: ]7 f' q7 Y1 L
  1789. ; http://php.net/mbstring.encoding-translation1 \. H- I- L1 Z' o! P
  1790. ;mbstring.encoding_translation = Off
    & `1 X* z; O6 w; z6 w9 M3 R6 q
  1791. $ I, q8 g6 j. J- y  W$ k# n$ p8 C3 r
  1792. ; automatic encoding detection order.8 p' c3 @& N# D7 `: ^& {
  1793. ; "auto" detect order is changed according to mbstring.language7 b: u3 ^& H& H* g
  1794. ; http://php.net/mbstring.detect-order
    & P' X# o+ x+ ]6 D0 _( O) B  C
  1795. ;mbstring.detect_order = auto
    % P# g! q; g: O* }

  1796. + ?: n% E; w+ k9 N  _4 a
  1797. ; substitute_character used when character cannot be converted- R6 `' x5 |" P2 R3 ^
  1798. ; one from another
    7 O7 |3 U' S% N' D, b: z+ f! h
  1799. ; http://php.net/mbstring.substitute-character8 _6 U% c4 |1 l" Z# S! [
  1800. ;mbstring.substitute_character = none/ C# T9 L/ g! S. v( x& s1 D

  1801. . b$ _; Z9 Q* ^/ d* J  _$ \
  1802. ; overload(replace) single byte functions by mbstring functions.: w  N- `& @' Z6 T7 c
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 l9 V' b0 q3 }2 n5 C+ b3 S8 {8 w
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    / X  j* l5 L6 b# R
  1805. ; For example, 7 for overload everything.# w; V" Q2 f1 Y
  1806. ; 0: No overload
    3 \1 j& _. ^% W" j1 ]) C
  1807. ; 1: Overload mail() function
    / N8 S1 O' ?/ h( ?
  1808. ; 2: Overload str*() functions& H5 P' V+ D9 e3 ~1 p" C
  1809. ; 4: Overload ereg*() functions
    " U, o' i# `/ P4 ~
  1810. ; http://php.net/mbstring.func-overload: F# ?+ {7 z: p$ H+ Q, T
  1811. ;mbstring.func_overload = 0/ B$ x2 ~7 U+ h: p3 a! H8 l  E

  1812. + D4 O) g' |4 ~5 {5 `0 M# V
  1813. ; enable strict encoding detection.* S; v* }" x' k! F
  1814. ; Default: Off! h/ Y/ @7 J( I& @  Y( M
  1815. ;mbstring.strict_detection = On. Q  b+ S+ j8 @8 W; \/ {+ ?( T

  1816. + k7 `( \% P/ j- C& v  T9 t
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()( B: Y- P) r6 L: n- R1 A" E$ v
  1818. ; is activated./ O4 V9 \, m* H1 F& ^$ i
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    1 _/ n6 }; V9 Y+ B/ m4 S9 h4 H! H
  1820. ;mbstring.http_output_conv_mimetype=
    * I" Q/ y  M; v1 a  J
  1821. 6 C/ \( g7 |2 W  }# H1 K" s
  1822. [gd]( o% L) _5 u6 l7 Z2 `, R* W
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 X4 e+ k/ I8 g# t8 w$ h+ @
  1824. ; a gd image. The warning will then be displayed as notices5 O4 v) [. ]5 ]3 M, v$ r' `* b3 g
  1825. ; disabled by default
    . a9 M. e% |  S1 w# A+ W& Y
  1826. ; http://php.net/gd.jpeg-ignore-warning. z8 c# u1 x) L, ?* p
  1827. ;gd.jpeg_ignore_warning = 0/ i) y4 p; X' h9 h4 ]7 {2 k: x3 ?
  1828. ; d3 p$ a7 G0 B2 w
  1829. [exif]6 a! ?/ ]3 [8 i$ Q) X- r- [
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.  I+ h' e3 ~( J$ Y& W
  1831. ; With mbstring support this will automatically be converted into the encoding
    $ u) z/ E2 ?* h. j4 S6 u# P+ h- d/ l8 d
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * y5 ]- l) L2 v
  1833. ; is used. For the decode settings you can distinguish between motorola and7 G; R; F/ }0 o
  1834. ; intel byte order. A decode setting cannot be empty.
    ( E+ R$ ?( \; m2 C( p6 X
  1835. ; http://php.net/exif.encode-unicode! ?' {6 S& S* a: v
  1836. ;exif.encode_unicode = ISO-8859-15
    3 S) w2 _7 @+ o5 j5 l: X2 S

  1837. ) a& L. }! A) H4 b/ `0 P: ?
  1838. ; http://php.net/exif.decode-unicode-motorola
    ! I6 `, c% X8 c4 B( d: H* Q& U* N. k
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ( [0 N8 {& t& T' p
  1840. . D  r- k* M& @# E  W2 [; u9 [
  1841. ; http://php.net/exif.decode-unicode-intel
    / g& Z* H5 }! x1 P) u/ d
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 }% f" L0 `( t
  1843. 0 [! G4 l8 V% s3 E  T/ @# B3 U- S
  1844. ; http://php.net/exif.encode-jis9 p9 A: x$ g! w9 S
  1845. ;exif.encode_jis =
    + j6 s) E! p5 n! q% D" I: W4 V6 b$ v; [

  1846. 9 X* _! O# c6 W5 q$ j
  1847. ; http://php.net/exif.decode-jis-motorola
    6 c3 \/ f3 A! \2 V2 ^- ], r
  1848. ;exif.decode_jis_motorola = JIS" R- t: [2 X- I; e& R7 A

  1849. : n4 L3 |8 _5 ~4 s+ h1 J  I
  1850. ; http://php.net/exif.decode-jis-intel
    9 x5 h; a5 \- |8 V7 J
  1851. ;exif.decode_jis_intel    = JIS
    # G2 ^& }) x$ o
  1852. . o5 n! G$ ^5 y# [
  1853. [Tidy]
    . e1 u& E5 I; F$ t- ?
  1854. ; The path to a default tidy configuration file to use when using tidy
    6 W4 ~7 |+ j% X, D4 Z* H
  1855. ; http://php.net/tidy.default-config5 q8 }9 Q- @4 ^) m' Y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg; A) ^; a( Z$ _8 ~2 S( K
  1857. % K% h: I0 E4 c' W$ W4 {" W
  1858. ; Should tidy clean and repair output automatically?6 G$ G1 E9 X& Z' o9 M# ?9 @4 ?- \
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ; D8 _+ n' Z) {4 D
  1860. ; such as dynamic images
    ; C' o  [$ U4 E* F
  1861. ; http://php.net/tidy.clean-output
    1 `# Q5 S- X- F2 Z  ^6 T
  1862. tidy.clean_output = Off, T: d( `( s; a0 C7 P: w! O

  1863. ! {; f, J2 F. `) N* I( ^
  1864. [soap]. M; g3 Z( s  N4 S% `
  1865. ; Enables or disables WSDL caching feature.
    * N! o. m" L$ b6 w  s' h8 r
  1866. ; http://php.net/soap.wsdl-cache-enabled7 W! [* J$ V4 k6 `+ w2 o5 r* v( U1 O1 k
  1867. soap.wsdl_cache_enabled=1: X% p0 U3 k  k, M" I* l
  1868. + T) Z( G! z6 z5 j4 Y! p
  1869. ; Sets the directory name where SOAP extension will put cache files.
    0 x/ y' }2 ]4 L( V# P. A
  1870. ; http://php.net/soap.wsdl-cache-dir
    " H3 M1 o9 {6 D8 [' e: X+ p
  1871. soap.wsdl_cache_dir="/tmp"
    $ D+ o0 N9 Q$ ?; o% |5 I: B% q/ v; S

  1872. 9 t! \/ m7 w* o+ X1 b: [' f
  1873. ; (time to live) Sets the number of second while cached file will be used
    8 ^9 L! P- y' s! ]1 L
  1874. ; instead of original one.
    8 T# r( x" j0 g& P- T# P/ J
  1875. ; http://php.net/soap.wsdl-cache-ttl4 M9 t% c, u/ T7 S
  1876. soap.wsdl_cache_ttl=86400
    & l, E  ~* o3 V4 T& f2 ?

  1877. - N3 ]0 s8 {7 V5 z( Q" g5 a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)  f6 u/ T3 C- Y  [7 h
  1879. soap.wsdl_cache_limit = 5/ o. J( Z- ?! |% q. |3 u8 C; f
  1880. . ~9 O! A, r9 ~. A4 ~
  1881. [sysvshm]
    + |1 v; z% B; l: b8 Y- g
  1882. ; A default size of the shared memory segment. t! _/ e6 h* h
  1883. ;sysvshm.init_mem = 100003 a: Q9 f2 j% v# _! j

  1884. 8 W; Z9 _( }) T
  1885. [ldap]* @, Q8 e% H  }1 g. w
  1886. ; Sets the maximum number of open links or -1 for unlimited., C$ S# |& \: L4 U
  1887. ldap.max_links = -1
    : H3 @: ]- j( g2 S0 i7 B3 x

  1888. ' {' S7 j5 {* h8 T/ _, b+ k6 ~7 p" L% i
  1889. [mcrypt]
    % f" b) {2 |+ x+ d# U. b- ^
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 u* w) k/ A# @; Y4 u. Q
  1891. " _9 q4 b* O4 O4 `
  1892. ; Directory where to load mcrypt algorithms
    3 ]4 @1 n" H. q1 F8 b/ }5 k, g# P
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # C) X6 |* X3 R) G2 e
  1894. ;mcrypt.algorithms_dir=8 ]) \6 E9 `8 P0 U* E
  1895. 8 a8 ^/ q5 v1 [1 B' o; G
  1896. ; Directory where to load mcrypt modes
    ! X* A/ }" S+ l0 D! ?
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % u( p) M4 N2 E* C# c8 C, R
  1898. ;mcrypt.modes_dir=2 z# W% v( B( }" A! S
  1899. 5 H1 r( O9 ]) ?3 V  H7 K2 d8 P' d
  1900. [dba]3 W0 G' [5 k- s2 o, l5 k/ b
  1901. ;dba.default_handler=# @/ J+ P% o: _6 d! J& S" Y
  1902. ' k- ?! ]8 g( p6 i; w4 Y" }
  1903. [opcache]
    5 ~8 W% z9 o6 d* Y, @
  1904. ; Determines if Zend OPCache is enabled
    3 u4 r' V6 d6 ~! K& D; z9 L( c
  1905. ;opcache.enable=0. s7 C, `6 ~3 W/ c/ M0 l2 c0 O! t

  1906. $ ?- J' j' z% q' v  Z4 E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP, Z  D) U8 {: }6 N
  1908. ;opcache.enable_cli=0
    $ \6 H2 @6 }7 S/ ^8 ?) C% U% }" k
  1909. 8 m/ N" h# M9 s: F5 a- t7 w/ a
  1910. ; The OPcache shared memory storage size.
    * d5 w% z8 T! V7 b* }5 z
  1911. ;opcache.memory_consumption=64
    * N! O& g' k) G! ?5 {8 C; o" {
  1912. 5 k! o& S# y2 K+ H; i; f% P9 \
  1913. ; The amount of memory for interned strings in Mbytes.
    ; y/ ^% L/ R# l8 D: u( P! S/ h
  1914. ;opcache.interned_strings_buffer=4
    & Z9 o  D& N6 D) E

  1915. 7 k, a) A  j: l8 f
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 v& J; B6 W* }$ H5 g% J: N
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; ^7 p0 L9 ?# n4 Y) x
  1918. ;opcache.max_accelerated_files=20003 t6 ~( d0 c0 x8 A
  1919. ! r% _9 f( T/ q$ I6 O5 B, S/ G$ ~
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.. v# |8 M: }' Q5 p; V* P
  1921. ;opcache.max_wasted_percentage=5
    $ G: l, F0 f( s. k! i& w

  1922. + }/ n% X7 b  @: t; c  m7 q, `
  1923. ; When this directive is enabled, the OPcache appends the current working
    7 w- q. @1 _! o' Z
  1924. ; directory to the script key, thus eliminating possible collisions between
    . @- ?" B8 S3 D: b
  1925. ; files with the same name (basename). Disabling the directive improves" E7 N; l8 }5 a) a3 y
  1926. ; performance, but may break existing applications.! n9 H' d/ l: W7 o
  1927. ;opcache.use_cwd=1- F3 I6 @& g/ C
  1928. / h: h- Q" G2 o8 u; `
  1929. ; When disabled, you must reset the OPcache manually or restart the
    4 n* W* r/ J2 }# S% |
  1930. ; webserver for changes to the filesystem to take effect.
    # S+ ~# b! ^* V$ B. K
  1931. ;opcache.validate_timestamps=1
    . {, F2 C$ U2 F# M! c' [9 I
  1932. ( {* P9 q- v3 h7 l: K5 R" S
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    # T3 j0 y0 u4 X+ e' W- {' u
  1934. ; memory storage allocation. ("1" means validate once per second, but only8 j9 ~& V# g- g# A, u; Y
  1935. ; once per request. "0" means always validate)/ G0 a1 \; Z; f9 d* H' o  L. H
  1936. ;opcache.revalidate_freq=2
    : |! Y0 U- V5 ]) y9 ]

  1937. . _3 e; [! ~& B- j( Y2 N
  1938. ; Enables or disables file search in include_path optimization1 k% G; L8 O; y3 u
  1939. ;opcache.revalidate_path=0' p, Y( F# d! \

  1940. - W$ E6 W# @1 _5 |5 G9 @7 ~/ l0 J
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 @, e% J' x3 r! M
  1942. ; size of the optimized code.
    4 c% u5 W0 Y/ p2 [9 s+ B* y7 y
  1943. ;opcache.save_comments=1
    0 P" |( x, O- P! y

  1944. 0 c( Z& G) q& ~0 F+ R: T' @  j
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    3 \' d* Y: k; n; T/ J  u& |
  1946. ; may be always stored (save_comments=1), but not loaded by applications' \# c8 ?4 o! k( n" r! |4 Q
  1947. ; that don't need them anyway.
    5 b* N+ a  }1 r" K3 e" l! d
  1948. ;opcache.load_comments=1
    9 Z. o* ?- w5 P! F4 w
  1949. 0 U4 ?6 D, F* A2 F( m
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' Z. s/ Z$ @8 W
  1951. ;opcache.fast_shutdown=0
    ; [. |0 z/ _3 ]6 Z, |7 b
  1952. 9 N6 |8 B: d. \- i4 v; K
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
      v  ~: Z5 r# K
  1954. ;opcache.enable_file_override=0
    , y  r& G* u! l1 q' P; F! O+ z
  1955. . w7 z  T& h, f4 t- `# S, P- q1 W
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache& N8 t- _/ w% w' M0 e
  1957. ; passes
    5 w( i- A! }7 f6 e8 v
  1958. ;opcache.optimization_level=0xffffffff1 q+ E: o( y5 l' u" s
  1959. 5 t# b: A' }+ T5 S7 U* R
  1960. ;opcache.inherited_hack=1' G% |* y" r7 J: b
  1961. ;opcache.dups_fix=0
    5 C, q7 Y  ^6 ]# B

  1962. ; |% t, F3 d6 W# x# C' `
  1963. ; The location of the OPcache blacklist file (wildcards allowed).7 O* C$ I% A  }5 }
  1964. ; Each OPcache blacklist file is a text file that holds the names of files' B$ u. i' |, m, a+ r
  1965. ; that should not be accelerated. The file format is to add each filename
    ; Q' M  v3 S- ]( O7 \
  1966. ; to a new line. The filename may be a full path or just a file prefix$ B% f- J1 w( m- ^0 ~6 N
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) E$ f/ `9 e3 t" A+ t) X9 `
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)., \+ p% z7 m" f1 q
  1969. ;opcache.blacklist_filename=
    4 r  b8 F" N3 [/ i  d' D

  1970. - S1 L. Z; |: V2 D. ]
  1971. ; Allows exclusion of large files from being cached. By default all files
      C1 |! A3 S+ M( C3 I* x+ p
  1972. ; are cached.
    + u" V! S# \9 E  n  h
  1973. ;opcache.max_file_size=0
    , G. L, a( F* K( ~4 \1 l

  1974. - W6 e' o0 q6 y" K
  1975. ; Check the cache checksum each N requests.6 |& U/ f9 F3 R4 ]
  1976. ; The default value of "0" means that the checks are disabled.
    2 j. C) V1 E3 O- Z9 }7 B
  1977. ;opcache.consistency_checks=0; Q" d! v( |' G* e5 r/ n

  1978. & w( r4 Z( Y& g# e. F
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 w* F' g: e) ?+ C* @% k, X4 _
  1980. ; is not being accessed.. a! K$ f+ k6 v4 o6 I
  1981. ;opcache.force_restart_timeout=1807 Q. H( p8 v: z+ ^: u2 r

  1982. + ^! C) J8 ?; X( R( Y; ~# C7 E
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    1 t2 M1 Y! w( W1 {
  1984. ;opcache.error_log=+ L, [# e* J4 ~1 i$ X% o
  1985. , m" }8 f  }* |( K
  1986. ; All OPcache errors go to the Web server log.
    ) W% Q/ z) d% ]9 ]: ?4 f
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.% I& r! R* V) n' C! _1 F. N$ ^
  1988. ; You can also enable warnings (level 2), info messages (level 3) or9 V) v8 Y5 a$ B2 Q/ L9 }( @
  1989. ; debug messages (level 4).) k- `% z" K3 v
  1990. ;opcache.log_verbosity_level=1
    " ]) Q3 P; d; J! n8 D) \$ G/ n7 i

  1991. ! H+ E4 i  l; R# u& u! r: [
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- d/ X  i: s/ y8 C. v+ \2 L0 y2 ~
  1993. ;opcache.preferred_memory_model=1 Y) s9 |, y% j* t; [

  1994. 9 Q2 c7 p- e) Q$ N: `7 `; ?; ?
  1995. ; Protect the shared memory from unexpected writing during script execution.7 O& c1 Q9 i# J( l' \9 q& P* I' `
  1996. ; Useful for internal debugging only.
    ; H) Y/ |' @  t( F! i
  1997. ;opcache.protect_memory=0- F9 P+ C* M7 u; A3 x) O

  1998.   z- g7 W( P6 C# E
  1999. ; Validate cached file permissions.
    & Z+ c) j6 k4 J6 g0 J
  2000. ; opcache.validate_permission=0- B* o8 S' y9 i" l4 L

  2001. # \* \2 S# f2 }1 o' l
  2002. ; Prevent name collisions in chroot'ed environment.
    $ W; O; Y9 ^, Y! }# x0 u/ ^9 O
  2003. ; opcache.validate_root=0( b0 T: A+ U. S/ P1 ~$ H7 r

  2004. 2 }# t" ~9 |- N5 Q# k
  2005. [curl]
    " i, l* S7 G/ b/ @6 F8 a% f+ \
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an( J, y6 N0 y+ ^+ Q6 _/ ~" `
  2007. ; absolute path.
    & N7 _. z, w5 }
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    4 _, C: i$ q* T/ C  S& ?

  2009. * M4 [" A( k6 q( f
  2010. [openssl]
    8 Y8 W, s5 j' h9 G3 y2 E
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem! B: Z  P+ x% }  j4 ^
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should! v$ Z/ N' k* n: t6 A7 n
  2013. ; not specify a value for this directive as PHP will attempt to use the! l/ c( r7 S; h& F
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    3 d8 l& j& h" F
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context. b: q( `- w; Y: R! z6 u# J
  2016. ; option.! y* j% q- T- g) S1 O, @* a
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 {0 @9 }/ u& t3 G

  2018. $ M3 ^! q+ P+ X* [) ^  N( m
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ' V# p" t5 ^( W/ I
  2020. ; directory pointed to by openssl.capath is searched for a suitable8 X  T/ g! [, d+ H
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    & P6 T) s1 _4 M1 k
  2022. ; Most users should not specify a value for this directive as PHP will6 Z* r% v% f3 k6 C$ g
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' b+ |) B: p0 \! u( ]
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 d+ I3 o- ]+ L/ B
  2025. ; SSL stream context option.& G9 M( F* ^, Z( Z: ]. Z/ m8 H
  2026. ;openssl.capath=
    4 Q3 m6 U0 K& m" `' \, ?! U2 |8 s
  2027. * }8 _5 s, w! k2 e! b7 O
  2028. ; Local Variables:! h( G8 G# [9 G4 q
  2029. ; tab-width: 4
    4 v' z0 T" U# q- i) F
  2030. ; End:' i; q( A' I+ t  b# O0 r' v: a

  2031. 2 l/ P7 K. T- |9 M  q% E
  2032. ;eaccelerator: V3 v) Y) Q; @
  2033. 2 v' y' b. I1 {. I
  2034. ;ionCube7 F9 P. @/ l/ l8 Q4 k( v  M

  2035. - ]- B, V' l+ M0 j1 r
  2036. ;opcache
    ' u% T! Y* Y: [" F

  2037. 3 D1 }$ b; l. V6 @
  2038. [Zend ZendGuard Loader]
    + J7 O; e2 L. j) t
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    : b( r2 H" ~+ u5 Z' K
  2040. zend_loader.enable=1
    " [- e  i% e* |8 k7 c
  2041. zend_loader.disable_licensing=0
    ; i) T8 \  u4 T( U- I6 }) V! s
  2042. zend_loader.obfuscation_level_support=31 M3 W! |& S' r+ p2 s/ ?7 L
  2043. zend_loader.license_path=0 O% p) Z* e6 n* P, b2 i% ]! G

  2044.   G9 d8 Q+ @7 Q& E8 ]2 D
  2045. ;xcache
    8 N- h) `0 h- Y* y0 R* ^' L: [
  2046. / b4 }7 `, F/ q. I  E
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
) r, M+ F9 T) E0 A" @$ ]! b: p
+ i: h+ F1 o2 \1 A: c9 o% G( l. |, _8 [. K: h1 k
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* ]- F# ~& k: c8 c/ D  B4 R6 z5 x* F! j3 f) `
Discuz!程序版本选择:
, \( R3 b; t  r8 T" ^! @站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
4 r. w+ c& y$ @7 L2 j4 P不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
$ l2 t' J8 `5 k* U5 M/ ZDiscuz!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。
( f2 k  c2 i. E! g* I
. `' {4 m& f; E0 D' PDiscuz!插件模板版本选择:
( h( m1 G3 z) _, d' i  |很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
7 l4 X6 ~* I* N" i- Q! [5 K+ n2 i针对这个问题做个统一的普及:2 r' h7 t7 d) M4 f
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
1 `* j$ x; b' I5 F* X9 {9 J% }( V. j) C3 k% o8 O. m' n$ @4 @
所以
& ?4 b( [3 T6 k7 [2 P0 B9 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的二级域名。
. k6 V; f( N! ~2 t  P打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% h& ~6 \. x8 B1 d" A& Q注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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