分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 e9 D0 _' X+ D- ]$ ~- A3 A7 e0 d) G9 w
  1. [PHP]3 D/ d- ?# Q1 C" X' d/ g

  2. 5 H6 Q" |* x5 Q
  3. ;;;;;;;;;;;;;;;;;;;, V* L3 X" _3 Y! k/ C$ a5 a
  4. ; About php.ini   ;. a; y. X3 ?* j5 f' e) w
  5. ;;;;;;;;;;;;;;;;;;;
    3 T+ a# J9 A, a
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ J% k* y7 b) p" V, n' o
  7. ; configuring many of the aspects of PHP's behavior.
    . A& }4 J: z' \& K' Q0 k

  8. ' R! E: N4 R8 u. }/ |
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ n) l! Y+ M1 j4 h8 f" b
  10. ; The following is a summary of its search order:
    1 @2 J4 i  A7 ^' z! ~( e5 ?* u
  11. ; 1. SAPI module specific location.
    4 x) b( ]" p: j: b( m0 d; [
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 R5 `  z3 P& P; D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    " x' q1 z* G2 u' a1 j/ m
  14. ; 4. Current working directory (except CLI)
    % ?! q9 t. ^7 I) {& y1 K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 Q# k6 Q: {$ E  L
  16. ; (otherwise in Windows)
    % M& M% |1 d6 m! z$ e+ }
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 @: A  v" Y4 O' Q
  18. ; Windows directory (C:\windows or C:\winnt)8 B& o9 |6 i" o/ M
  19. ; See the PHP docs for more specific information.
    ! h0 @" E4 p. C  E
  20. ; http://php.net/configuration.file( y* q( X6 l! o
  21. " P" k  ^% a9 S8 F; h: J* J  Y" b: `! l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines- c3 p/ J. g1 P4 |: ?. k$ v: ~5 `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).' l% n! w! n4 s" @. m8 B0 D, l
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ C0 ?9 x" {) ?# X+ e
  25. ; they might mean something in the future.
    3 Y: i3 W% T/ m% R/ E  ]) R0 S

  26. . V3 J" u( o; Q/ Z+ L; N$ r! E' l2 D
  27. ; Directives following the section heading [PATH=/www/mysite] only. ]6 Y/ Z6 A# h9 v* l
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 u  v8 H: X  d/ R
  29. ; following the section heading [HOST=www.example.com] only apply to. h' h1 w' d5 {& _0 B
  30. ; PHP files served from www.example.com.  Directives set in these
    & F* Q1 W8 p# @3 s$ @* a% [
  31. ; special sections cannot be overridden by user-defined INI files or
    ' I9 u6 T( Y+ }# s* L. p: h# r
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under) |; z4 l6 s4 t8 F$ t
  33. ; CGI/FastCGI.5 J! ]2 ?1 {# J" G* f! @1 z
  34. ; http://php.net/ini.sections
    ) a+ J. F" L3 j& [7 l# W/ `

  35. 8 R0 G0 _: q. W2 N  W4 H
  36. ; Directives are specified using the following syntax:
    2 U. G% X) @  \) K
  37. ; directive = value* \" V  [* p; H% K( t( p* P: [
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.+ H1 {2 Q9 `$ j! C- ^1 ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
    4 _+ ?+ F% |8 e( H- |6 F2 F
  40. ; There is no name validation.  If PHP can't find an expected
    0 Y! M+ N2 ~0 ]8 t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; Z9 K6 Z8 K! _% H. S

  42. 5 I; b& X4 G8 d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one, `2 A5 r* M. B0 G2 s
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression5 S) L$ C) A! G4 |, P
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' b( R' R+ Q& N7 i# K- ]
  46. ; previously set variable or directive (e.g. ${foo})# l: a$ O: Q5 Z- r4 N

  47. $ W3 z3 _6 u& }7 Z, I
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! P7 G9 K& [+ E( l- Z. [
  49. ; |  bitwise OR
    7 T5 {5 e8 a3 H, V& y/ C
  50. ; ^  bitwise XOR
    1 T, \3 s8 B, c1 _: T  h! l+ _* @
  51. ; &  bitwise AND
    # B% n4 D. f/ O* n1 V% ]
  52. ; ~  bitwise NOT3 K; o" T: T$ n$ g5 ~- r% v" l
  53. ; !  boolean NOT
    - k$ @/ c3 B/ N0 N

  54. : k1 ?7 `) l' h- ]/ L
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' H7 O# q4 i- o' e8 m; d( ?" A6 U
  56. ; They can be turned off using the values 0, Off, False or No.; X% @7 w5 {+ c; E# h0 {
  57. + R/ ]2 b% d7 `! l- W) b
  58. ; An empty string can be denoted by simply not writing anything after the equal- t3 D. s# I6 X+ Z; L: I( J/ m- D
  59. ; sign, or by using the None keyword:
    ) d. a- c) c" Q
  60. ( q/ w2 @9 y) J/ B& ^2 H: F% v
  61. ;  foo =         ; sets foo to an empty string
    . Q8 h  F3 q9 W8 i
  62. ;  foo = None    ; sets foo to an empty string) j& p) v/ T. f$ j, b5 G
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . c. X) i  n8 ~# [- x- L
  64. / [. ^$ s2 F5 G3 N, M! Z
  65. ; If you use constants in your value, and these constants belong to a$ H1 H6 n+ k+ z! ?- p
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 U4 e  R% |3 K& D8 R
  67. ; you may only use these constants *after* the line that loads the extension.% x1 w2 v% X" \* n7 l& r8 B
  68. 0 `4 M2 \* f8 o! {2 _
  69. ;;;;;;;;;;;;;;;;;;;
    - l! K8 T  u) t% L0 k, }
  70. ; About this file ;/ ?) f: f3 N' [/ i/ u- D
  71. ;;;;;;;;;;;;;;;;;;;
    # l% J0 p. }9 M( c
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 k3 Y1 _9 [; g
  73. ; in production environments and one that is recommended to be used in
    ; J  ?" q8 v  P, W/ p2 D
  74. ; development environments.* F/ }8 w# @& [! m( `
  75. $ w* n4 L) Z3 `, d- s' B& h6 N1 B" |
  76. ; php.ini-production contains settings which hold security, performance and
    . R6 r1 s# v; I4 |" Y; ?/ e
  77. ; best practices at its core. But please be aware, these settings may break8 o, N- I) d& z! @
  78. ; compatibility with older or less security conscience applications. We" u$ Q( q! O$ r/ Y3 k
  79. ; recommending using the production ini in production and testing environments.
    . @8 d% m+ I: T) T$ m) x5 i

  80. , w8 y- z. l  I
  81. ; php.ini-development is very similar to its production variant, except it is
    8 _% G0 L/ Q/ ]+ a. I0 a
  82. ; much more verbose when it comes to errors. We recommend using the
    - w: W* N$ A- ~9 a( M, r
  83. ; development version only in development environments, as errors shown to
    $ f% F% h2 p* Q! D
  84. ; application users can inadvertently leak otherwise secure information.! G* D( k  _( @' z5 G% o5 W
  85. 1 R4 X) W* q3 F) U- m% P5 b, W
  86. ; This is php.ini-production INI file.
    - s! u8 e- ]0 q" F( _  t! T8 n$ U- J
  87. 4 p/ D- ^; l3 B1 U$ \* f6 s: \0 g
  88. ;;;;;;;;;;;;;;;;;;;
    . ^; F* V; D* R6 [: N' O. J
  89. ; Quick Reference ;, U/ S5 M, r7 |
  90. ;;;;;;;;;;;;;;;;;;;
    " v. Y+ q$ R6 f6 E
  91. ; The following are all the settings which are different in either the production
    % m- Y" r' B- H; q3 G
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 j) s4 x& m- o, R  k# ]
  93. ; Please see the actual settings later in the document for more details as to why
    & Z  n" E) S  m- D
  94. ; we recommend these changes in PHP's behavior.3 v% b& h+ T; H& R3 ?; U

  95. , b& O* e0 h. o' X
  96. ; display_errors
    0 I/ w6 I) A. B
  97. ;   Default Value: On6 H% {0 q3 E+ w9 T% s2 p9 K# y4 B
  98. ;   Development Value: On
    " ]! C! q- g7 j# y
  99. ;   Production Value: Off7 i! @  N, |* H% f6 E9 v4 t
  100. + [+ e' U' j; v8 ~  `, ]5 i2 a
  101. ; display_startup_errors
    $ s  o9 z4 Y0 s, j  S# d1 ]
  102. ;   Default Value: Off
    * d2 o" H, ?: O4 I0 g
  103. ;   Development Value: On
    9 m( }( Q: |" f/ [; D
  104. ;   Production Value: Off! m+ Z; ?2 u1 ~% Z, `
  105. 7 i4 _- d# f& X$ S0 q8 k7 P
  106. ; error_reporting
    & i: u, v+ X4 F* n) }
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 }' s1 n; x) c; T* O
  108. ;   Development Value: E_ALL
    1 a" P, w9 K2 ?6 P) b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ ]  C& A: W$ y
  110. , F2 L9 m9 ~3 A6 Z' _
  111. ; html_errors
    + X3 S' [. t5 T; j
  112. ;   Default Value: On% U. V$ J. Y, M
  113. ;   Development Value: On# @' d/ |* t& s* ]' X0 \; m
  114. ;   Production value: On& a" c6 P9 V! @2 [% P  ~6 j* \
  115. ( Q$ y6 X7 M) t) X* j; w7 c8 d
  116. ; log_errors& W$ W: [+ Q6 u7 ]
  117. ;   Default Value: Off
    : z1 `# Q* i6 C: U' w9 t. Y
  118. ;   Development Value: On. j4 n" [0 @  K0 `4 i* e
  119. ;   Production Value: On) C- I6 M$ d0 L0 n0 G/ t; i

  120. , q$ C0 J" d. K3 Y% `' ?1 ^# K1 X
  121. ; max_input_time
    + j6 j5 c8 [2 e2 v& A) z
  122. ;   Default Value: -1 (Unlimited)
    2 l$ c9 B& W) f8 q1 j! X/ b
  123. ;   Development Value: 60 (60 seconds)
    % ?- L) |: e) S5 r% u
  124. ;   Production Value: 60 (60 seconds)
    6 c0 U+ f" q8 L0 Y' J6 V
  125. # J5 }, g# A7 P* O, N
  126. ; output_buffering4 K7 ?& O! T# J$ B; s! J6 W8 J
  127. ;   Default Value: Off% w4 I6 x+ j5 ?2 Q4 @
  128. ;   Development Value: 4096
    " n: h8 \9 e1 ^" A; v" D4 P
  129. ;   Production Value: 40968 {2 r% r/ G5 C7 `( z" e6 t( ~
  130. * S/ `' Q0 U& ^" }& x" U, i
  131. ; register_argc_argv
    7 r2 J5 M4 S8 c2 C9 i
  132. ;   Default Value: On" O+ j2 W$ \2 _
  133. ;   Development Value: Off+ i8 |, i+ M, L2 I1 A$ I; w  m8 t
  134. ;   Production Value: Off
    ; `( o. u( d; ]: ~

  135. , P, X( [# n- W  x2 p1 K1 i
  136. ; request_order  s5 T" J, b: Q
  137. ;   Default Value: None* P0 ~0 y+ M) b3 v' I' ~/ ]
  138. ;   Development Value: "GP") |' n8 G& \3 M- A% F2 S2 K5 ]
  139. ;   Production Value: "GP"
    , l( @5 }" E9 n" Y- h

  140. % [6 ~. m. |6 i3 g) M
  141. ; session.gc_divisor
    ; b9 z8 J, Q6 a% c& n1 i" D/ v
  142. ;   Default Value: 100
    4 ?/ c; V5 e0 x, m6 p) x! x
  143. ;   Development Value: 1000
    : M9 r! A, [' c5 P+ Y! m4 y
  144. ;   Production Value: 1000
    2 L. Z/ P6 W. r$ x% o) `6 p/ q

  145. ) E5 x, f2 C; B' \) X
  146. ; session.hash_bits_per_character* A: {1 X, X6 b
  147. ;   Default Value: 4
      Z3 U  U4 v6 Q, p: O+ K
  148. ;   Development Value: 5
    $ h/ u5 R2 U# f$ M4 A$ ?% ]4 ^
  149. ;   Production Value: 5, g- K; t* E0 S8 ^, S

  150. 4 _  i9 V' q+ _' l! S
  151. ; short_open_tag
    - B% u  E+ }0 _! J' b5 Z
  152. ;   Default Value: On3 b, C! m0 j4 d) e
  153. ;   Development Value: Off1 e: q3 m$ \- T% s
  154. ;   Production Value: Off
    $ T* q2 a1 t5 U' \; I
  155. - X6 ]! S) d$ W' U; a6 u
  156. ; track_errors
    7 ?) Z( B# S; _- z
  157. ;   Default Value: Off4 U' U5 t$ K& X' S
  158. ;   Development Value: On2 n9 {2 g- F/ h: O( m# V, ?
  159. ;   Production Value: Off
    7 [& S; S1 S5 D$ a! Z* H
  160. 4 B+ K2 _  k5 J0 B
  161. ; url_rewriter.tags9 a$ j8 ?( b4 Z- }2 `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + R! O! a# k+ K! {; Y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! L6 `# A8 g1 r5 ^. Z& d6 d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! A0 y' s) F( r5 \' f# G2 C
  165. 6 O1 O2 `; b5 W9 l
  166. ; variables_order
    + W( `( T8 m( q8 a( r3 a
  167. ;   Default Value: "EGPCS"; Y8 v) j2 k6 E! X) @. L
  168. ;   Development Value: "GPCS"
    4 |* c; m! q  Q0 E$ ?! S9 h
  169. ;   Production Value: "GPCS"
    ' P9 v9 ]7 r' L

  170. ! v1 m0 \' o+ k2 G
  171. ;;;;;;;;;;;;;;;;;;;;
    $ A( W6 u7 K1 x! J: b( @
  172. ; php.ini Options  ;
    ; B" }8 Y; a6 |  P+ F* T
  173. ;;;;;;;;;;;;;;;;;;;;
    4 }0 V9 u) r, X) d
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"* p: U3 r- }4 J# `/ P# ?9 S0 w: k
  175. ;user_ini.filename = ".user.ini"
    ; u: y: j, J, \* O/ @8 s
  176. 7 j+ Y# C5 j3 f- R1 [
  177. ; To disable this feature set this option to empty value
    9 v0 w. x/ F- `& ^
  178. ;user_ini.filename =
    3 e* N! |+ C  @+ T5 O
  179. 6 T( l8 b: L8 t; M  w, b
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    % {: b! c1 T/ ^
  181. ;user_ini.cache_ttl = 300, Q  T* T; }7 i  w

  182. 0 K( [9 L0 D) r, J  m8 U( ^3 H) }
  183. ;;;;;;;;;;;;;;;;;;;;
    , k& |2 K5 k8 \4 i! l4 F
  184. ; Language Options ;
    : I1 |* t* T/ i& x8 J; ^# c& f
  185. ;;;;;;;;;;;;;;;;;;;;
    7 X8 G" R6 a) x, Y) F% N6 W

  186. / E& u5 [( ^, S  M1 D, a  N) _
  187. ; Enable the PHP scripting language engine under Apache.! [7 O4 T8 Y& K7 J: i
  188. ; http://php.net/engine
    & t- K2 Q& c. j& Z- n
  189. engine = On
    0 M- M, q% K' B$ ^

  190. 8 N% [  P/ X2 k, R$ u! D
  191. ; This directive determines whether or not PHP will recognize code between1 \- l* @9 u6 \  v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 R7 A4 D% S* {" F8 s: D& d
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ( @$ C. p! x# z6 Q( v, K: r
  194. ; should be disabled, as enabling it may result in issues when generating XML! r( {# `( \: v% B* l+ p
  195. ; documents, however this remains supported for backward compatibility reasons.) v6 {* P, i; p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be9 C, C- _" d/ a$ w! L9 l( Z
  197. ; used regardless of this directive.
      P* E. }9 y4 w0 h0 C* t( u
  198. ; Default Value: On
    - w: _0 ^: u5 k4 M9 F
  199. ; Development Value: Off
    ' f! A  r% v1 t  ^, _
  200. ; Production Value: Off8 V7 P( j" Q  K; M- h
  201. ; http://php.net/short-open-tag1 ^# F# B0 Y6 o' K2 v' g% O- Q
  202. short_open_tag = On) R0 ^! ^$ {& R8 C: p& g. q$ z$ N

  203. # o; F" h) I* G1 v. j+ S
  204. ; The number of significant digits displayed in floating point numbers.5 s4 B; _1 `, k; Y2 B  R2 O
  205. ; http://php.net/precision
    3 i" |+ r& Q( {/ Z; U3 S- `% |
  206. precision = 14) D& e9 N3 C* y3 z4 q! ~8 ^
  207.   l$ j4 N( P, T1 S7 s$ P
  208. ; Output buffering is a mechanism for controlling how much output data9 q) ]% t6 R2 e; i% j8 L; _
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    " I+ `$ {. t8 c$ ^
  210. ; data to the client. If your application's output exceeds this setting, PHP% Z2 B4 T! S% `0 t& N1 y0 g" \" T6 N4 }, y
  211. ; will send that data in chunks of roughly the size you specify.
    # M- d" k) {7 {1 A* \
  212. ; Turning on this setting and managing its maximum buffer size can yield some0 Q$ k9 {" u: `6 J' {
  213. ; interesting side-effects depending on your application and web server.! R% |0 ^+ d0 v6 Q5 h
  214. ; You may be able to send headers and cookies after you've already sent output. b! Z: D; l- Z2 O
  215. ; through print or echo. You also may see performance benefits if your server is
    * X# D/ B  n/ D: M& H2 i3 S7 `$ M6 S
  216. ; emitting less packets due to buffered output versus PHP streaming the output6 h% ^, |& R2 Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance6 x0 A1 l; D+ b9 E- V' m: \( J
  218. ; reasons.
    * E+ i, U$ R; g' h/ B4 D* i
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    " i) v  R5 b7 Y  l) c  C2 Z8 k
  220. ;   functions.
    ' Q) Z4 b! ~8 ]0 F2 L
  221. ; Possible Values:: {& M+ t( f9 Y# O5 S) m
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! [# M4 z; l2 w. v- F
  223. ;   Off = Disabled4 R: L0 q7 O1 M  y9 S! u9 p
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.* s" N, Z: P( x) a. w
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI6 M% D2 V6 f( I9 Y
  226. ; Default Value: Off
    ! D* X) J5 Q" T* \8 ~# |' M1 t
  227. ; Development Value: 4096
    8 {( ~) J; ^& P
  228. ; Production Value: 4096
    ' P1 p* U+ [/ A& ]% }5 p
  229. ; http://php.net/output-buffering
    1 O8 C7 s% E+ \9 K- M0 ?3 ~9 N
  230. output_buffering = 4096! t2 K- z. M4 B; {/ Q

  231. * l; [- I* A$ z
  232. ; You can redirect all of the output of your scripts to a function.  For+ j2 t8 a% e/ K" ?& a$ a
  233. ; example, if you set output_handler to "mb_output_handler", character
    4 @6 i; ]+ F! g8 ~: f4 u. U
  234. ; encoding will be transparently converted to the specified encoding.# T6 f& A" t* @$ S) y
  235. ; Setting any output handler automatically turns on output buffering.; k0 V! [+ R3 C" M, [. [& H- I
  236. ; Note: People who wrote portable scripts should not depend on this ini# {; y2 k9 O5 `8 ^# x0 |/ Q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    , t1 G, k6 q  y0 Q: F$ j% f9 A
  238. ;   Using this ini directive may cause problems unless you know what script
    - C+ S' j( u5 Y5 z
  239. ;   is doing.1 V, n6 i# ^5 d% W
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler": N# D* e- ^$ T2 C
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    / |7 c" t( _5 g1 _. m
  242. ; Note: output_handler must be empty if this is set 'On' !!!!4 D" x; z* L0 t! J
  243. ;   Instead you must use zlib.output_handler.8 ]3 H0 r4 ?0 i8 U
  244. ; http://php.net/output-handler4 ]* B2 w; U1 s  x' r$ z# B
  245. ;output_handler =/ n6 `" ~! e" i1 `4 }; S2 g
  246. & Y! m& `9 b7 L/ F1 ^* p! Z- q
  247. ; Transparent output compression using the zlib library
    ; e6 _' U: i9 R6 ]: C' g0 K0 B
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size6 K# k. t7 h7 f$ v* u/ A
  249. ; to be used for compression (default is 4KB)% z3 j5 ~& \1 U# ?0 q
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 I; ^7 O, Y7 i
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 I( O9 d' K/ ?* g8 I% `. E
  252. ;   compression. If you prefer a larger chunk size for better
    2 b4 u: B. V$ r3 [( R: H
  253. ;   performance, enable output_buffering in addition.' R9 R9 Y& o: G$ R" g+ [
  254. ; Note: You need to use zlib.output_handler instead of the standard
      y8 t9 m1 B$ [1 Z' d4 z
  255. ;   output_handler, or otherwise the output will be corrupted.
    " z) L1 K9 d7 h! ?8 v# [
  256. ; http://php.net/zlib.output-compression
    % }- t- Z$ _4 [& F/ y
  257. zlib.output_compression = Off$ m. U1 ~8 ~3 P8 Q7 b. |4 i
  258. * U' b0 Y5 x- [0 ~  z2 u, s
  259. ; http://php.net/zlib.output-compression-level' t0 @/ i( c/ M' h9 S
  260. ;zlib.output_compression_level = -11 p: Y) [) {+ j1 R& D& g
  261. ' i. h' [2 }5 K  ?$ u5 ~. w5 @
  262. ; You cannot specify additional output handlers if zlib.output_compression
    3 G8 f5 {, p  w; ?9 H& z  Q5 H6 v
  263. ; is activated here. This setting does the same as output_handler but in  ^' L2 R( s% t& D+ s
  264. ; a different order.1 a( `; ?3 ?" M$ D" @
  265. ; http://php.net/zlib.output-handler
    * i# z9 I/ C! U7 |! S* z0 G
  266. ;zlib.output_handler =
    . g) z4 ^; b8 K3 l) w8 T/ X

  267. " g$ [; z; C8 ]8 N, `3 ^% E
  268. ; Implicit flush tells PHP to tell the output layer to flush itself9 z( M! Y' J! Z3 T3 @' H1 k
  269. ; automatically after every output block.  This is equivalent to calling the9 w; ~# {; D! @
  270. ; PHP function flush() after each and every call to print() or echo() and each1 C) b! u! [: Z4 V. Q
  271. ; and every HTML block.  Turning this option on has serious performance
    + E. }9 z" K$ J3 p) @( w. M
  272. ; implications and is generally recommended for debugging purposes only.
    $ |5 `" m6 P+ {$ Y  |: V1 S- X" C
  273. ; http://php.net/implicit-flush
    ) @) e* T, c! Z; {: A, t1 x
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    + N; k' L6 s  D2 f& l2 w
  275. implicit_flush = Off
    # F* u9 f  W% s3 x

  276. - O3 t2 {+ `3 F! Q2 K/ b& c) A$ v
  277. ; The unserialize callback function will be called (with the undefined class'
    ' o3 O$ l7 e! Y9 X& u
  278. ; name as parameter), if the unserializer finds an undefined class
    6 W9 s% g5 D+ q* n  y3 X' [2 A% U
  279. ; which should be instantiated. A warning appears if the specified function is0 E0 x4 }; O  |2 ?
  280. ; not defined, or if the function doesn't include/implement the missing class., F5 Q  {- V+ f
  281. ; So only set this entry, if you really want to implement such a
    / @* B8 x3 Z: E9 z; Z* F7 S& r
  282. ; callback-function.' _6 Q# d  s6 H4 ?3 ~& O
  283. unserialize_callback_func =
    # I2 H  {, s9 |1 r

  284. 3 `& e1 h* a2 [# F% p0 I
  285. ; When floats & doubles are serialized store serialize_precision significant
    / q" J: R, K# O
  286. ; digits after the floating point. The default value ensures that when floats
    # `1 y% F; Q4 U0 A5 {
  287. ; are decoded with unserialize, the data will remain the same.
    " P5 o; K. Q: x8 V/ w( F
  288. serialize_precision = 17
    5 F) {! o- p; ]7 F
  289. " T/ I3 U! w1 U7 S0 l3 d
  290. ; open_basedir, if set, limits all file operations to the defined directory' f; r8 t& c9 o7 u% G% M
  291. ; and below.  This directive makes most sense if used in a per-directory( A# ?5 M; h* i6 w) \
  292. ; or per-virtualhost web server configuration file.* n0 N/ ]+ n) y6 o
  293. ; http://php.net/open-basedir
    & M' ]. g: B7 O# A: R
  294. ;open_basedir =" I! ]' @) \" K- Q
  295. 5 q# e/ ]8 v! A# Q$ W" C8 d& r
  296. ; This directive allows you to disable certain functions for security reasons.* L' \4 v; b- ]8 i5 H2 }6 n# v8 R
  297. ; It receives a comma-delimited list of function names.
    3 W* d8 \( s' b/ I  y
  298. ; http://php.net/disable-functions
    1 s& ^% p# y# W. |& M% N; j
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
      z# _$ X3 N! G' e* [3 K) _2 W

  300. 2 w* y4 y( P! R- q4 Q7 W. N: i
  301. ; This directive allows you to disable certain classes for security reasons.
    % ~# a6 t. s% `5 `- `( {
  302. ; It receives a comma-delimited list of class names.
    4 `9 ]4 X4 g5 \4 V
  303. ; http://php.net/disable-classes& M; [3 u5 c) l+ ?3 \
  304. disable_classes =
    ( k- w! I8 |5 T
  305. , |1 p# p: t6 p: g2 G$ z8 Q# u
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    - v  O, W  Z9 p9 d; u3 N9 W
  307. ; <span style="color: ???????"> would work.
    4 L- u6 ~' N4 `! D/ L5 P) D; {
  308. ; http://php.net/syntax-highlighting
    2 ?0 Y0 x7 e& q* G# N
  309. ;highlight.string  = #DD0000
    - k- H2 M5 U1 M
  310. ;highlight.comment = #FF9900
    * o; H# F7 k; a' n
  311. ;highlight.keyword = #007700% q7 t6 p# Z, e: l
  312. ;highlight.default = #0000BB) c# q! O$ \( G4 h' K* A8 r
  313. ;highlight.html    = #000000
    % V! R6 R1 a/ h: W$ L# ], e

  314. 7 B0 E- [5 t; T/ ?( H9 }. V- q
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ) c; e  p8 [" I6 P3 K1 q6 r3 o
  316. ; the request. Consider enabling it if executing long requests, which may end up$ ^. `# O* x& M% W3 x0 v
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 W2 e9 V6 o9 m! C
  318. ; is to disable this feature.
    - f% q. b. W  n: m
  319. ; http://php.net/ignore-user-abort3 D4 Q- C) i, _- }/ e2 r
  320. ;ignore_user_abort = On
    $ I/ p% o( m/ A2 R. U

  321. * r2 J3 d; w& D2 a3 l& l8 N: n% G
  322. ; Determines the size of the realpath cache to be used by PHP. This value should, O6 z8 B% }8 M4 ^! {. N
  323. ; be increased on systems where PHP opens many files to reflect the quantity of% h4 _( p, r) M5 T. W7 @
  324. ; the file operations performed.! l2 X$ O9 ^" o  S
  325. ; http://php.net/realpath-cache-size9 a8 L0 D0 v* K8 u% j! _: y. G
  326. ;realpath_cache_size = 4096k
    2 y0 ^/ f8 O2 E( d

  327. 7 l6 L4 G* Q, T/ k' W2 ~7 ^
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    8 }0 J. E- m# m4 a: P; ?
  329. ; file or directory. For systems with rarely changing files, consider increasing this' D! v1 w+ i( y4 v8 N, {' p5 s
  330. ; value.
    7 ]+ ^* _! i( H3 l
  331. ; http://php.net/realpath-cache-ttl9 C1 }! F5 H7 H
  332. ;realpath_cache_ttl = 1203 O2 ~0 r+ g3 [

  333. $ V! }" w) z9 ?: i, v) e
  334. ; Enables or disables the circular reference collector.# ^: f7 o8 F; M  o, u( K$ N' H$ F. [! W- L
  335. ; http://php.net/zend.enable-gc3 ^8 t& L: g- G8 j) j
  336. zend.enable_gc = On
    ( \5 T* d& ]  o# b: E: J
  337. ! D3 i( V$ Z. y# O% E, E6 V
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    : ?" v$ R" l/ e# O. }" l
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such4 Z& w2 W/ b& V, {
  340. ; encodings.  To use this feature, mbstring extension must be enabled.! l  h" i- y- {+ e
  341. ; Default: Off) X* W6 H" X  i+ X0 S
  342. ;zend.multibyte = Off
    : @- R" o& @9 `! c

  343. ; S" C) R$ e" B+ t" ]
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    , d9 I1 A& E/ _6 r+ X6 D4 W
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.$ S( n6 S, ~$ b3 c. l( s$ w
  346. ; Only affects if zend.multibyte is set.
    1 j% K2 c; u, F4 M6 m0 S$ v
  347. ; Default: ""
    ) J8 V2 U4 T1 L; m6 ?( V0 |
  348. ;zend.script_encoding =
    " m+ S6 \7 Q  w
  349. 1 b) x2 z9 j% K- l5 k: O: r* [
  350. ;;;;;;;;;;;;;;;;;, ^7 s! G2 N4 y. s( F
  351. ; Miscellaneous ;
    ; O: B) M' |. i3 k$ ?2 q5 P
  352. ;;;;;;;;;;;;;;;;;, u3 {$ X; i5 u% p0 a

  353. ) e- R# o/ Y2 c2 Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server7 a5 c$ f" w7 i; R: a2 U
  355. ; (e.g. by adding its signature to the Web server header).  It is no security2 ~  M+ q9 l  }7 P
  356. ; threat in any way, but it makes it possible to determine whether you use PHP$ `1 k& j. ~$ ]2 q9 @
  357. ; on your server or not.
    * l5 F) K: x/ M0 ?- f
  358. ; http://php.net/expose-php
    2 r5 \% h2 I( Y- @' G. X0 y
  359. expose_php = On# c0 G0 w- }0 `
  360. # K! ~$ u2 _# o8 N+ v
  361. ;;;;;;;;;;;;;;;;;;;
    & t2 j) y; t- Z
  362. ; Resource Limits ;6 W, N- |, D  {
  363. ;;;;;;;;;;;;;;;;;;;
    # [) J+ Q. E( v% @) y! B! q7 r, T
  364. ' k' h8 c' P' y2 y, @
  365. ; Maximum execution time of each script, in seconds
    ; N! B+ O/ R* a. }3 \+ w
  366. ; http://php.net/max-execution-time+ b6 r' k, D$ c) Q
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 f* G, }% s. k/ x, ~
  368. max_execution_time = 300
    ! V* P* C9 w5 Q5 J* @& p3 r: U, C

  369. / h- Q3 l! p% w, F+ u- O
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 v* x' |  U& s- ~! Z% |( T" P4 X6 W( V
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly9 u4 Z% ]! s9 m8 R2 ^8 G
  372. ; long running scripts.
    7 M0 |# ^2 J1 D; S1 A
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # Y. [- c1 o" S; Y+ J1 r& l
  374. ; Default Value: -1 (Unlimited)) y; t" W2 l; p: {' R! O  D
  375. ; Development Value: 60 (60 seconds)* C7 ]1 w# R% h
  376. ; Production Value: 60 (60 seconds)
    & f7 Q) O9 l- `: {5 j$ t! W
  377. ; http://php.net/max-input-time" w/ h2 p' S5 }( P
  378. max_input_time = 60
    - t4 i( v1 G" |& [8 U
  379. ' ?& T+ M/ c1 {2 Q) }: k' A9 E
  380. ; Maximum input variable nesting level
    & a4 Q( F) S) {/ V
  381. ; http://php.net/max-input-nesting-level
    ( Y; s3 o+ S0 B
  382. ;max_input_nesting_level = 64. a8 y  s5 r6 z+ t6 i7 ^

  383. % N8 M7 N8 U; ^6 N8 k' q1 i+ K
  384. ; How many GET/POST/COOKIE input variables may be accepted2 V/ ]" I. k6 Z' a& C$ r7 R
  385. ; max_input_vars = 1000  D, u9 _$ ]: ]/ n: d. g

  386. : b8 P  w7 w2 U1 K- d4 O$ A% k
  387. ; Maximum amount of memory a script may consume (128MB)+ q8 W" ^: ~( h
  388. ; http://php.net/memory-limit
    8 S' [3 ?4 [% \+ W* T& ]
  389. memory_limit = 128M
    ; m) H) K; A  t8 H

  390. " ^/ X1 f( g' [7 W, p8 M
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 c9 L/ x; |5 z( ]. X$ j/ H
  392. ; Error handling and logging ;" w9 L  ~" v: c- N0 G0 ?/ W3 q
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 f9 U! d# [% O5 M

  394. ! x) _* R( x$ v' u' s9 V2 m
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    4 u% x2 e$ b/ {
  396. ; it to take action for. The recommended way of setting values for this0 y1 v% x  W8 k. N# B
  397. ; directive is through the use of the error level constants and bitwise
    3 ~" W9 f+ g! [$ {. J* z
  398. ; operators. The error level constants are below here for convenience as well as
    / Q+ ~! M( q$ L& Z  k
  399. ; some common settings and their meanings.
    1 T" e% b! H, S1 A7 p
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 F8 @6 S: _" N# ~7 Y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and: i: P4 a+ D. g- E2 q# ?! K) T* W
  402. ; recommended coding standards in PHP. For performance reasons, this is the6 l& x" v* x. P; c& [4 F
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
      g* c& m* \, _: C3 w* @& i
  404. ; resources complaining about best practices and coding standards. That's what% c' k) d& U0 c/ A  b) B* w
  405. ; development servers and development settings are for.
    / \1 q  Z' c: J, m+ C& h7 U+ _1 a
  406. ; Note: The php.ini-development file has this setting as E_ALL. This6 [8 P, X& ~$ S; c
  407. ; means it pretty much reports everything which is exactly what you want during
    6 Z7 e" w; A1 `! e' B/ P
  408. ; development and early testing.. A; v' j( {, j+ N% ^1 C
  409. ;
    3 G0 d* D0 V' {6 H' d
  410. ; Error Level Constants:% O) _7 _/ `* K* v  ^
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 }6 f1 ^! n- `8 d& @3 }
  412. ; E_ERROR           - fatal run-time errors9 R" M* s6 O4 T+ B6 e! G  g
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    $ ]/ b! Q* M2 W1 t1 w" @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ) y% G8 `/ W6 M* s8 N! O8 @: N
  415. ; E_PARSE           - compile-time parse errors
    * h' A! p/ M5 }5 _5 V% E
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' S* j9 u5 q& I6 w8 C
  417. ;                     from a bug in your code, but it's possible that it was) k" _* |1 A2 `, a, h- A
  418. ;                     intentional (e.g., using an uninitialized variable and
    ) h- E: D* ]8 W; n
  419. ;                     relying on the fact it is automatically initialized to an
    1 }! b0 C/ ]* \0 E
  420. ;                     empty string)) c5 ?: {5 G' z' T4 B+ R
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 d+ _% }3 u4 `7 H" R  ^' q) b1 B
  422. ;                     to your code which will ensure the best interoperability
    $ z+ t' o: @1 |; H" R
  423. ;                     and forward compatibility of your code! F$ Z8 Y/ G' G! ?" m
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup# b: K# [3 p& _/ P/ {4 d
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 A' _; c4 z& D2 m- d) C  x) v" }
  426. ;                     initial startup
    ! g0 T/ y& K  V
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : _: z* u) F2 R8 a
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)8 k( r+ M8 N1 e6 _9 Q
  429. ; E_USER_ERROR      - user-generated error message
    8 Q- I+ R6 E8 f7 |8 x" E
  430. ; E_USER_WARNING    - user-generated warning message
    & X! u  R6 U- v9 G/ f1 m
  431. ; E_USER_NOTICE     - user-generated notice message$ D' I7 o8 s5 _# I) s/ q! R
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ M6 |4 p$ a4 h& V& f5 O
  433. ;                     of PHP1 N: j7 a- t4 U; ]+ w0 Y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , g  S7 I; X: e
  435. ;
    / _3 ~/ ?, d  j, i, p
  436. ; Common Values:+ K' V. }! |$ w! m
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 d* `" @$ V! A! F
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    9 K; l( V$ X# s
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 ~8 ~; O% V& g+ ?7 `6 A6 W
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( @' `' \9 z9 X5 l2 k9 Q+ D
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 G7 d$ @% M. G
  442. ; Development Value: E_ALL
    ) P8 V' t8 E$ \0 l6 Z2 l5 W
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 y% k, h0 J; J- x0 n8 Z: d
  444. ; http://php.net/error-reporting) |7 R" C3 b# i& F7 ?
  445. error_reporting = E_ALL & ~E_NOTICE: w  n; m$ v* _: _' Y1 @

  446. $ h6 u% C  c3 A4 {  @/ A) r
  447. ; This directive controls whether or not and where PHP will output errors,6 c/ ^) o" I( F! |4 X, s3 K# H
  448. ; notices and warnings too. Error output is very useful during development, but
    $ X. a. ]/ ~* Y- v
  449. ; it could be very dangerous in production environments. Depending on the code* l; f' a. L9 _
  450. ; which is triggering the error, sensitive information could potentially leak
    ' m. F8 A" g2 G8 |5 [3 K- U. u0 B* g
  451. ; out of your application such as database usernames and passwords or worse.2 z8 p% O. \& _5 ?9 {1 H
  452. ; For production environments, we recommend logging errors rather than3 d' Y# K; m; T" x/ W
  453. ; sending them to STDOUT., h# [2 b  \+ r* ^# U/ S
  454. ; Possible Values:
    4 X0 r' j4 P( T, V# ?1 N
  455. ;   Off = Do not display any errors
    $ G2 s+ k+ \9 s9 r8 @: Q
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    9 _2 T  H  g$ }9 D4 m
  457. ;   On or stdout = Display errors to STDOUT8 i) W# U+ R$ T: S5 s  e7 _
  458. ; Default Value: On! ^% q9 p$ E+ b& s
  459. ; Development Value: On! l0 I; q; P4 V
  460. ; Production Value: Off
    : o( G8 m. j) M
  461. ; http://php.net/display-errors) T; a  `  l$ ]/ @' Q
  462. display_errors = On0 u+ [' m8 y; g3 q1 ~) k

  463. - N; C/ @: y& f7 A/ x/ J
  464. ; The display of errors which occur during PHP's startup sequence are handled
    + z/ z, S( K0 g8 |0 [5 A
  465. ; separately from display_errors. PHP's default behavior is to suppress those3 {; h# j7 j: |9 Y9 L  v5 Y
  466. ; errors from clients. Turning the display of startup errors on can be useful in" [5 @+ d8 p+ w# `
  467. ; debugging configuration problems. We strongly recommend you' H2 D% k) f" [5 v& Q5 e  ~4 K- v
  468. ; set this to 'off' for production servers.) e8 O- I1 a6 B6 U: R6 w- @1 J! r
  469. ; Default Value: Off- g' z+ S4 ]1 r$ H: b& d; i+ ~: n
  470. ; Development Value: On; ]) q* y- ]" {0 ]% D
  471. ; Production Value: Off
    3 T0 T' s/ Y7 ^- J& J5 i  _
  472. ; http://php.net/display-startup-errors$ w4 F' |% H( p% F
  473. display_startup_errors = Off
    2 }) `+ g) `! H( `6 V4 S1 C4 c

  474. 6 D9 w- a% a: K* k9 I/ i3 R- H
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ( V8 y3 Z" s4 u0 ], i. t3 H
  476. ; server-specific log, STDERR, or a location specified by the error_log
      {3 m8 T7 j( w2 N% N
  477. ; directive found below. While errors should not be displayed on productions
    ! Y, V& i/ u5 {4 ]3 @+ h& Q
  478. ; servers they should still be monitored and logging is a great way to do that.! e  ?& M$ o6 E# I
  479. ; Default Value: Off5 C0 X  ?/ w# _+ p' d- n' k! N
  480. ; Development Value: On
    + m, `7 I6 i3 [, M
  481. ; Production Value: On
    # u0 {  x" I9 Q+ e* P& B
  482. ; http://php.net/log-errors
    ' M' I% r; E  a8 l
  483. log_errors = On
    1 _9 `4 Y2 N8 V9 {! J
  484. ' ^; ~- S, a& Y6 ~1 V7 ^
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' q2 u% s1 ?! U
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    4 e' h( g, y- v1 {3 |. c* b1 T
  487. ; http://php.net/log-errors-max-len
    + ^# V2 ?! a% a5 Z5 T! {
  488. log_errors_max_len = 1024
    / h$ w* m! d; a* k( H
  489. 4 s" J, w* I, P
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ c( u4 n" a; N! k
  491. ; line unless ignore_repeated_source is set true.8 E/ r* Y9 [7 [* |1 f( M
  492. ; http://php.net/ignore-repeated-errors
    - }% _. _: J+ s+ w% y; D$ Q
  493. ignore_repeated_errors = Off
    # o8 x" j1 y: J8 D
  494. 9 ^, L* Q; K& m  W
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . P5 _. H: B# L$ U* }. T
  496. ; is On you will not log errors with repeated messages from different files or* y  ^8 t1 j0 Z! L
  497. ; source lines.# X) u( L1 p8 [9 b, P
  498. ; http://php.net/ignore-repeated-source
    / M8 E9 ~; ?$ j, {
  499. ignore_repeated_source = Off, I! C" b# Z% @. V; m
  500. ; b. F/ k" J$ G' D# h+ W( y3 W
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on' B/ O6 E- F; J( G4 e
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    1 t4 i5 \. m  C5 k* c5 j
  503. ; error reporting includes E_WARNING in the allowed list  I: ?0 o* R5 r7 r" W" e
  504. ; http://php.net/report-memleaks
    3 x4 r8 ?" z: R& R) l, K
  505. report_memleaks = On! r1 f; u5 f! N, u, {
  506. 3 V, p5 r3 n8 W
  507. ; This setting is on by default.
    % R6 D  G+ ~+ y; F* {7 @: t, Q
  508. ;report_zend_debug = 0
    + `1 g9 W$ R1 i1 }0 l6 _+ a1 ]

  509. - X' E# A1 w! A- G" [# Q" ^
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    , A6 V& c$ O) G  o" J: c$ _+ W
  511. ; to On can assist in debugging and is appropriate for development servers. It should. t+ X2 X; t- w3 e
  512. ; however be disabled on production servers.
    , H5 L& j2 k! p
  513. ; Default Value: Off
    : [7 k! u1 g) s7 y0 h
  514. ; Development Value: On
    % v  R" F: X& e" j, H# F
  515. ; Production Value: Off! t& g" a  y% Y2 K" ]
  516. ; http://php.net/track-errors# Z  z3 ]/ a( e* F  n2 G
  517. track_errors = Off( R& |, h' }9 y

  518. ! [+ S: n7 v) a2 k
  519. ; Turn off normal error reporting and emit XML-RPC error XML7 h6 \( [: o! Q
  520. ; http://php.net/xmlrpc-errors2 J+ ?8 x& L* [4 \3 Q0 R
  521. ;xmlrpc_errors = 0. i/ S% z& I5 w) E+ q- g) p

  522.   Z2 k' X% l( s- g) _) s9 p
  523. ; An XML-RPC faultCode; t) o/ s! [% i  P+ [0 i
  524. ;xmlrpc_error_number = 0! F" t- |2 w/ x/ K! v  @, P
  525. 2 c1 a0 _' X+ J" i
  526. ; When PHP displays or logs an error, it has the capability of formatting the( d" J' z/ \$ Q6 r- b
  527. ; error message as HTML for easier reading. This directive controls whether
    0 a" c. L4 j8 c
  528. ; the error message is formatted as HTML or not.
    9 R1 ^& X3 e! E, Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI- x1 z4 s: u/ V) X6 W, q$ ~; Z
  530. ; Default Value: On
    , J( e" y" ~1 B' K5 y
  531. ; Development Value: On
    + m; {, H) e6 z* Q- M/ M
  532. ; Production value: On
    - i8 e& a! \4 ~% r
  533. ; http://php.net/html-errors5 y1 }+ _4 c) {6 T
  534. html_errors = On
    8 h7 f& @* k* Q2 @3 n
  535. - H5 ~) E# ?$ b7 W% b4 n+ t5 D( d
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    " g; c! v# V- j' h& n& z
  537. ; produces clickable error messages that direct to a page describing the error
    / t' r- m, z+ S  W9 C
  538. ; or function causing the error in detail.
    8 U! f5 l+ R; d- O
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / [- b6 }5 d& k( \; J2 y# E
  540. ; and change docref_root to the base URL of your local copy including the9 X6 Q" E7 ^+ d. Y
  541. ; leading '/'. You must also specify the file extension being used including
    5 L5 U. P9 }+ ?% n: f! V0 I1 O2 }
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    2 w8 @1 M3 j3 Q; U6 }  f
  543. ; case no links to documentation are generated.
    2 }. H$ T' z1 m; x! ^0 H( {2 w2 @
  544. ; Note: Never use this feature for production boxes.
    1 Z$ B0 O3 z1 w3 F
  545. ; http://php.net/docref-root5 D' n# w9 a/ V# E+ T4 ^' ~& s; o* r
  546. ; Examples
    9 Q8 j0 ^0 F: |, e7 V; w
  547. ;docref_root = "/phpmanual/") |' r+ {1 H; C4 h
  548. $ s# q& ?0 X4 }
  549. ; http://php.net/docref-ext: \) b4 N! V; Q; M
  550. ;docref_ext = .html
    & P0 I9 a& K0 }0 P8 ]: l
  551. ' ~" @5 n5 `" Z% A5 h
  552. ; String to output before an error message. PHP's default behavior is to leave% L9 h- G8 c7 w- r/ A
  553. ; this setting blank.1 V. D. Z' s) O$ }$ Z/ a1 x
  554. ; http://php.net/error-prepend-string
    ( ~- z/ Q( I( {9 q
  555. ; Example:
    9 U! k  _8 l; K
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % P8 ?, V$ s6 i+ C) j

  557. " e" `/ g, D+ a6 J; z. a9 K3 a
  558. ; String to output after an error message. PHP's default behavior is to leave
    6 w9 Y& A  u9 ?4 z: _; t: y
  559. ; this setting blank.
    : B* Z. N# B0 M/ O# B
  560. ; http://php.net/error-append-string7 ?" u% x; x: q4 N
  561. ; Example:
    9 |, L( g5 F" {5 ?5 B1 j
  562. ;error_append_string = "</span>": n5 m3 }8 o. C5 i
  563. 7 O. P8 z  E/ v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 v9 F- V- S- Y& l) p* H+ p
  565. ; empty.# d# p0 k# n# m* L
  566. ; http://php.net/error-log4 h: Q: b' e2 w. N
  567. ; Example:
    $ m# F) m9 y) t; w( q' b
  568. ;error_log = php_errors.log2 D- a/ }( T, E: a: n% H7 o
  569. ; Log errors to syslog (Event Log on Windows).
      H4 @7 I1 R" j) k. n2 \% A
  570. ;error_log = syslog
    . ^3 N& I! O( |4 D6 _3 _0 |

  571. * o0 x- N. I& g( a* n+ u
  572. ;windows.show_crt_warning
    5 E& S, Q- K" H' H
  573. ; Default value: 08 c, A- W9 o0 @: t$ c
  574. ; Development value: 0& v' Y* ]. y. U! A4 j. K% e/ w' o
  575. ; Production value: 0
    2 s- l0 N$ M1 ]! c
  576. $ T" C$ u( I/ n* @8 T+ F2 O7 E
  577. ;;;;;;;;;;;;;;;;;4 G* Z! x5 G8 F) r1 [7 W) h- c
  578. ; Data Handling ;  h5 l1 |/ `& c" I/ u
  579. ;;;;;;;;;;;;;;;;;
    ! [$ ?8 D7 |) z$ m  ]* G

  580. 7 c9 p! P$ ~) M$ d
  581. ; The separator used in PHP generated URLs to separate arguments.
    # |/ u7 m/ ^( t* m5 ?8 i
  582. ; PHP's default setting is "&".; L9 v, z  n, N% c) ]
  583. ; http://php.net/arg-separator.output* I: {0 l9 @& g4 U4 W! Y/ t1 d
  584. ; Example:
    1 d7 O6 ~/ o; r3 ^8 A" ]
  585. ;arg_separator.output = "&"
    6 Y) `- L* y$ y& n3 ?- S
  586. , ?& y1 T5 e! ]2 ^% d. q9 J
  587. ; List of separator(s) used by PHP to parse input URLs into variables.: N8 ?4 n5 h. J+ h1 ?, y
  588. ; PHP's default setting is "&".
    " I; l# @; C: H. b
  589. ; NOTE: Every character in this directive is considered as separator!
    ) S, z2 m+ E! o+ u
  590. ; http://php.net/arg-separator.input
    2 S& [( A; P) i3 s9 u
  591. ; Example:6 n( d; q8 f. J, i' m" n; T) D
  592. ;arg_separator.input = ";&"0 a; k9 y, g; \) `$ j

  593. * x2 _3 J) Q5 D
  594. ; This directive determines which super global arrays are registered when PHP
    3 W! K+ H' L9 Z$ b
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 O7 q4 W: K2 V  B
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ' e) H) k  |( g+ i0 g
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 _# d! t% @# {3 f$ W
  598. ; used as the others, ENV is not recommended on productions servers. You
    ( Y% W- c0 I0 ]. d, L
  599. ; can still get access to the environment variables through getenv() should you
    , o# r' H4 N7 N  Z* ?% ^$ V0 ^# T
  600. ; need to.+ [6 Q8 I7 e- b0 I5 ]+ C  g( D! C
  601. ; Default Value: "EGPCS"
    8 f) d8 \7 p0 x. b  q: z
  602. ; Development Value: "GPCS"! j  z5 x/ J9 A6 x4 E! b& d
  603. ; Production Value: "GPCS";
    6 h: j& v0 k* F: `
  604. ; http://php.net/variables-order
    + C! n& C& G0 m2 ~6 M* |* ]0 @* m
  605. variables_order = "GPCS"  [! p7 F0 D2 N1 B( K

  606. / D& h" h9 E  W4 j7 N0 f
  607. ; This directive determines which super global data (G,P & C) should be
    & i' c; F+ ]$ w% Z) S! [  k
  608. ; registered into the super global array REQUEST. If so, it also determines
    - W3 {8 _# }/ \6 T+ G
  609. ; the order in which that data is registered. The values for this directive
    / p; D, U. w9 G! o
  610. ; are specified in the same manner as the variables_order directive,, D0 u6 H# Z4 G5 r4 h# [) r8 q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( ^5 m% m6 A& M* e
  612. ; in the variables_order directive. It does not mean it will leave the super5 Q5 q9 B, S' x1 p
  613. ; globals array REQUEST empty.
    . o; i" s  \+ D! W/ |8 V
  614. ; Default Value: None* h7 ^3 b$ t* s! b( L
  615. ; Development Value: "GP"
    - H, I& z5 m+ V
  616. ; Production Value: "GP"' i; p2 X8 P1 i- C8 c
  617. ; http://php.net/request-order* a. `8 ~" w' z( i: t# M
  618. request_order = "GP"' ]$ k5 T0 W# H2 x& H+ `" H
  619. 1 w( a; T, I/ X4 J2 @
  620. ; This directive determines whether PHP registers $argv & $argc each time it) b0 b" ]% d2 ]5 M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 T6 P  c4 B! S$ ^  U: z
  622. ; is invoked. $argc contains an integer representing the number of arguments+ n( f' T. q* a# S
  623. ; that were passed when the script was invoked. These arrays are extremely3 b( x% N. u3 G8 L1 h6 d6 d) |  |
  624. ; useful when running scripts from the command line. When this directive is
    7 Y' A# {6 i4 L! C) r, P
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 k8 T$ c" C* |$ \5 [8 E( q  d
  626. ; a script is executed. For performance reasons, this feature should be disabled/ g6 K' d  j; N8 p/ v
  627. ; on production servers.
      @# [: V; l) h8 T. s& T# Q
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ! q3 T6 ]) q' J5 k# i$ A6 m0 g
  629. ; Default Value: On
    8 R' s& P" n' s
  630. ; Development Value: Off
    2 N% u! g8 Q, E: @% c% O. r
  631. ; Production Value: Off7 `5 P" l& o6 l6 l  }7 k) {) ^& y
  632. ; http://php.net/register-argc-argv
    + ?" L' O  M" @
  633. register_argc_argv = Off$ k0 k0 E, R; f$ R4 d/ G* n: V

  634. : Y1 F5 F. P" a% ^# `& A" q$ b! ]
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're4 s, z; |' P6 W& n2 [
  636. ; first used (Just In Time) instead of when the script starts. If these9 r' m% [9 H8 Z4 L1 n
  637. ; variables are not used within a script, having this directive on will result3 D% `# c3 x* W
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # ~; J/ W3 x0 d' T3 L' y
  639. ; for this directive to have any affect.
    3 w" D3 x. z# l" G! A
  640. ; http://php.net/auto-globals-jit
    # M8 i* B2 K" R' k6 G, }
  641. auto_globals_jit = On
      ]1 z& ?" f! [0 j$ o9 V6 X& {

  642. 7 `5 b- x# A8 |, ~
  643. ; Whether PHP will read the POST data.
    + |4 L! M/ q9 R, F+ N
  644. ; This option is enabled by default./ T- p4 ^# r( r' C: H& D# c& Z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    3 @+ E3 i) A" U7 n" a
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    + }. `- Y& [- X5 N; `, e
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    # i" x% Z0 K. Y; q7 b2 e9 G
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * n6 N) G! {6 Q- X  g
  649. ; http://php.net/enable-post-data-reading
    " j; }3 |8 C* G0 u& y0 [- V5 e
  650. ;enable_post_data_reading = Off" o* J3 y3 g, o/ R0 E

  651. * ?/ U' [3 W$ d+ S/ F6 y
  652. ; Maximum size of POST data that PHP will accept.* g& `' }& t6 ^) c
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading0 j. f* c* R/ k; `4 n) @
  654. ; is disabled through enable_post_data_reading.
    - B3 H2 j6 y8 F/ [* ^
  655. ; http://php.net/post-max-size3 `' _( C: I# L+ o2 B% d
  656. post_max_size = 50M
    , Q- }( e* C! T0 F& i+ b1 t+ b
  657. : u, R7 i& J+ `0 ~. W
  658. ; Automatically add files before PHP document.
    ; S" X3 v' |7 d
  659. ; http://php.net/auto-prepend-file' ]( a5 T, k) D" A3 w* ^
  660. auto_prepend_file =
    * \$ m$ Y3 s% f# G# ]" {6 {8 \
  661. . z1 `" O9 ]3 J4 p7 o$ o
  662. ; Automatically add files after PHP document.
    " v) z' U- B6 u) Y% k
  663. ; http://php.net/auto-append-file
    / B5 ^; W5 m: |& F4 I: s% V
  664. auto_append_file =
    ! L; Z7 a) n% [; c  l4 U
  665. 2 Z( m; Q" I0 \3 O; h
  666. ; By default, PHP will output a media type using the Content-Type header. To
    3 K/ \: I/ ]. u+ m6 M
  667. ; disable this, simply set it to be empty.2 d6 }- \) @9 ]* `2 U
  668. ;( z2 G0 T+ @- U0 I$ ^
  669. ; PHP's built-in default media type is set to text/html.% t9 `: Z5 J# h' s% b: q  P
  670. ; http://php.net/default-mimetype) n0 n9 j: Q+ S
  671. default_mimetype = "text/html"7 i( r6 ^' S; `* D9 F+ I% i) y
  672. 1 f% K2 @, w" a# \! v
  673. ; PHP's default character set is set to UTF-8.
    3 K& l4 x, B8 S0 v4 @' `1 l1 @7 O# P
  674. ; http://php.net/default-charset
    - b; L- a8 W' i. S  R( _+ ^9 v
  675. default_charset = "UTF-8"6 }: w' m* R+ J8 i

  676. 7 D' M* u: ^4 C
  677. ; PHP internal character encoding is set to empty.2 r9 h. c) p& d9 P8 |! A
  678. ; If empty, default_charset is used.+ c* c. F* ]7 E7 A# q. l) d
  679. ; http://php.net/internal-encoding
    8 |5 A* ]* n6 Q
  680. ;internal_encoding =! K; N2 I( M0 n+ g7 o; V

  681. $ T$ F7 w/ L. e
  682. ; PHP input character encoding is set to empty.9 I& B6 X# S7 J
  683. ; If empty, default_charset is used., u# [# w8 R* l
  684. ; http://php.net/input-encoding
    8 B8 k, K! I7 ?1 V! n& N  J3 q) l
  685. ;input_encoding =/ x* N' L6 H. t
  686. : j( _( q& Q& E+ G/ r- d: K5 v
  687. ; PHP output character encoding is set to empty.. w. F+ K4 |4 r) G& z
  688. ; If empty, default_charset is used.
    2 G( M( D3 w: w
  689. ; See also output_buffer.9 l, R- H" f4 F/ d
  690. ; http://php.net/output-encoding. ~# D+ n+ b4 I9 i1 ^/ d
  691. ;output_encoding =# z5 i. `  B2 n! F

  692. & v" m" Z1 y* W. @$ V
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;. K' j# }/ s% |6 n8 t
  694. ; Paths and Directories ;1 r$ n% L" k$ N. R: w  T6 j9 h  H
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;9 u* |7 d" W; |* H: y
  696. * Z5 f6 f; V' ~
  697. ; UNIX: "/path1:/path2"
    ; r- C, z& c/ q2 `) @4 Q/ |+ k$ H
  698. ;include_path = ".:/php/includes"/ @- y) U! f  I, A) b; X7 |
  699. ;" K& G3 }0 o* f) r* B5 W  V7 z
  700. ; Windows: "\path1;\path2"! r% G0 Z9 s0 M9 V1 Q( M
  701. ;include_path = ".;c:\php\includes"* A8 A2 S+ p  Q1 ?7 m- w0 ?
  702. ;
    1 F1 ]' [+ o. ?
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    . r5 d% q) x) C( ~8 k( ]
  704. ; http://php.net/include-path6 _: _6 j, ]( X* ~  Z: Z' {

  705. * B5 }9 w9 @. l* e0 T* A
  706. ; The root of the PHP pages, used only if nonempty.
    0 R+ K5 o2 V4 J4 y- W( O( V
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 V: y; }4 R* g' p; {" K: G$ }
  708. ; if you are running php as a CGI under any web server (other than IIS)& ]( P: Q0 o% |" t0 i2 v: @
  709. ; see documentation for security issues.  The alternate is to use the
    & F9 k5 J+ Z) o4 Z) g+ t
  710. ; cgi.force_redirect configuration below
    3 U1 [5 r3 A; k7 |4 _) ^" E# A! l
  711. ; http://php.net/doc-root
      z3 S9 \# q# ]1 z% v4 u+ x/ F
  712. doc_root =; z" `5 P1 [, x" }0 r9 k
  713. 4 f$ C& z! ?' Q6 h  o
  714. ; The directory under which PHP opens the script using /~username used only" M: o3 [( y9 t  ?5 E$ ~
  715. ; if nonempty.
    & c' r3 ~, a' B8 ]
  716. ; http://php.net/user-dir8 }; ^0 h& b4 t( `0 O0 ]3 J
  717. user_dir =% A7 K1 l5 F' \; G& k, q
  718. 0 w8 c7 p, W' [" d! z2 y+ N
  719. ; Directory in which the loadable extensions (modules) reside.
    : k+ I& f9 J2 J$ {% B0 \0 J7 @
  720. ; http://php.net/extension-dir3 ^, Z& F' G- ^( i' u
  721. ; extension_dir = "./"  w: o8 w# Z. T
  722. ; On windows:( [" `  P! c7 a2 D
  723. ; extension_dir = "ext"7 B/ y+ S" y6 _3 Z: ^9 }2 j
  724. 8 _. H1 r% ]& d' P4 @0 X# V
  725. ; Directory where the temporary files should be placed./ m* `$ S& x$ u
  726. ; Defaults to the system default (see sys_get_temp_dir)9 q4 `8 T3 X1 j# s% A7 @) a/ c
  727. ; sys_temp_dir = "/tmp"
    / q8 w! ^' f% j4 {& q: v
  728. 8 T. f8 v4 }' Y( J* L4 L9 J- |8 [
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work) i, d- \, _8 n0 S$ Q" m0 |$ S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ! h" L* t$ i1 T; `: n) I1 C
  731. ; disabled on them.
    . m4 a/ s& ?" h! A8 O; D
  732. ; http://php.net/enable-dl  {9 T& y# Q) F% H
  733. enable_dl = Off
    7 e  u7 T, s0 x1 m$ l& E& f+ ^8 v
  734. 3 H! p0 F" l4 v6 J6 c
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    " r* A- Y0 S* [  U7 U  o4 N- e2 e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& ]+ t# k; w& l, }0 _
  737. ; turn it off here AT YOUR OWN RISK, {0 W# g) _5 I
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ H+ \2 n$ l( ?- _8 h
  739. ; http://php.net/cgi.force-redirect
      u9 j9 z0 H# f2 o: ^
  740. ;cgi.force_redirect = 1, o2 Z" [5 v  |) b! N
  741. 4 n# m6 F5 ^! V$ K% |
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' P8 E" ?- H. p! a/ m8 r% v
  743. ; every request. PHP's default behavior is to disable this feature.# }0 A+ @7 N) z$ @
  744. ;cgi.nph = 1
    8 o  w) l, h6 \+ g7 p" B- |
  745. % t2 _- U( a( b
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 ]7 K$ K/ H4 O: t! B. x
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP* @9 W% ~- @; [$ a8 A
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: E$ d5 T8 ^9 q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# A, o* [$ i: j
  750. ; http://php.net/cgi.redirect-status-env
    , C$ R% M: L) M6 Y$ E, ?/ f
  751. ;cgi.redirect_status_env =
    0 \. g, x2 ^1 E
  752. $ D# L9 A, h2 [" i% x& t/ y2 [
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ! R0 p1 z* _& X2 m  c2 w
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + {8 Z. B9 Q0 g: V: I- D; ~4 x
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ \, E" w# C  g; ?( D, m
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* |3 j2 ]* Z. v* |( L/ q0 d
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts7 i' {3 E; M) [0 ~( Q, P3 s
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      b0 s& X. H- _6 z
  759. ; http://php.net/cgi.fix-pathinfo
    0 y: J- A$ Z0 R0 r/ X
  760. cgi.fix_pathinfo=17 J! R- P+ T( u. I/ y0 F7 q

  761. ' D) ]+ I- e) P! `( d6 w' g) j- Q4 F
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 ], f9 |% t, l5 P4 Z
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    0 l! N  J# t7 Z& z* C, W  D6 _. L
  764. ; http://php.net/cgi.dicard-path& n8 r# D# u4 T3 W9 O! d- r
  765. ;cgi.discard_path=1+ e3 Y8 o4 J3 P$ p

  766. , P2 @1 U. N: E
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate  r) F& l" \" L/ f) _
  768. ; security tokens of the calling client.  This allows IIS to define the- m% ]0 Y  X7 S. h
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    4 I9 X# }! o7 {9 `( k# ?
  770. ; does not currently support this feature (03/17/2002)+ L2 X- }5 W" e) Q( p8 E4 T3 Q$ d! D
  771. ; Set to 1 if running under IIS.  Default is zero.1 }2 {! @8 W: W3 i' H
  772. ; http://php.net/fastcgi.impersonate1 E+ Z$ ?( g% `1 v  V# X
  773. ;fastcgi.impersonate = 1: ]- x' z* X$ ?3 o
  774. * Y6 H# B0 u% M' y; h- y; z
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " a$ o: ^3 w- n- G+ s. w
  776. ; this feature.
    + ~  C8 r- x; ]+ u. K
  777. ;fastcgi.logging = 0. ~! Z( |0 ~3 [. W" V
  778. & N' U+ R- S% B" K+ c- o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 y% l9 d' ]: [8 K  |: Z4 Q0 Y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + S7 i% h2 V! i& _% \  u
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    % n# H2 S& h8 \/ m' u4 G6 N
  782. ; RFC2616 compliant header.
    ) Q: Y9 M- Y4 s) J
  783. ; Default is zero.
    + J4 w$ d+ y5 l
  784. ; http://php.net/cgi.rfc2616-headers
      V& T  @- J; j, C6 f1 l. Z  e
  785. ;cgi.rfc2616_headers = 0
    ; S: t& H3 g* K) j  F* ^1 \
  786. , K0 }3 k/ P1 M, _
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; i6 J# c0 r" N9 M
  788. ; (shebang) at the top of the running script. This line might be needed if the
    # a/ u( u: D" M" C' Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI+ m, [' Z% e1 f, W8 R. F
  790. ; mode skips this line and ignores its content if this directive is turned on.
    : t# e& u  q4 [1 ]: M) m7 I
  791. ; http://php.net/cgi.check-shebang-line$ A8 ]* Q% m+ X& d# i) ]: {
  792. ;cgi.check_shebang_line=1: ~/ N2 D  a/ u7 u7 U

  793. % n4 O' v3 f9 B# }" N6 ^6 D, U6 E% h
  794. ;;;;;;;;;;;;;;;;
    ! ^& `7 e1 ~; x  X4 p
  795. ; File Uploads ;5 u8 Y" i; n! e
  796. ;;;;;;;;;;;;;;;;2 |$ g. i* J+ g4 a1 i( B2 \
  797. : g0 M3 o+ ?8 J, y+ ~% r7 h
  798. ; Whether to allow HTTP file uploads.$ ?) q9 I$ X, y# A# ?1 k
  799. ; http://php.net/file-uploads( g8 v. k8 D+ K4 `2 C! S' A( S$ Y( G# Q
  800. file_uploads = On
    $ \5 b% e1 {0 s. _+ O

  801. 2 c. T  L5 l6 a7 t' J6 {* J
  802. ; Temporary directory for HTTP uploaded files (will use system default if not" D4 b7 r2 r; l- C/ P3 N
  803. ; specified).
    + u. [- I$ V" W. }+ t
  804. ; http://php.net/upload-tmp-dir
    / i& d6 W5 i8 `0 l
  805. ;upload_tmp_dir =
    ; q1 w! V, j  A; e

  806. ' G% T6 q% U% ^! k
  807. ; Maximum allowed size for uploaded files.
    3 H) q) t: S6 j+ A- X0 ~
  808. ; http://php.net/upload-max-filesize5 j- N9 @1 q# p+ ^) ~3 K% A* X
  809. upload_max_filesize = 50M
    % Y$ i- t3 m) V6 x# k- r2 P: \- R5 d
  810. " D/ K, r7 N/ C; C7 y' M. C
  811. ; Maximum number of files that can be uploaded via a single request" s; U& {, o. g
  812. max_file_uploads = 20
    , h( v0 b+ M: y, O* [% a" X: `- S

  813. - [) f3 L3 G% L% V2 u
  814. ;;;;;;;;;;;;;;;;;;
    % D$ K! ^- U& T7 m6 W$ `
  815. ; Fopen wrappers ;
      J% a! \( V+ ~; G# L& g
  816. ;;;;;;;;;;;;;;;;;;' f! R  P0 d: R( }5 h

  817. $ P  n( f, O0 k
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% t/ ~6 [( {1 D
  819. ; http://php.net/allow-url-fopen
    ! X. q6 @* J& w9 F, u- t4 R
  820. allow_url_fopen = On
    / i8 R  V# f7 y) S) F4 B# D

  821. ( z8 b  {1 B0 M* B% M$ N  U6 ]# I
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / I: y2 V0 ?! _
  823. ; http://php.net/allow-url-include# O$ U& r' M& w& b
  824. allow_url_include = Off
    * M/ J  J4 H' ~+ \9 @" A

  825. 5 w( i6 ^3 j4 D+ {* X
  826. ; Define the anonymous ftp password (your email address). PHP's default setting2 q( L/ J1 C* ]; X% e# G, l* C$ J. E% v
  827. ; for this is empty.3 k% m- e3 S$ D$ {! w. Q
  828. ; http://php.net/from
    # A: Y4 g( J) N! r4 }+ y) @
  829. ;from="john@doe.com"+ O" ^; w: S+ N  C5 a7 F
  830. 3 @; R/ u6 V; p- o1 C
  831. ; Define the User-Agent string. PHP's default setting for this is empty.' g( v& ?) O( j0 U2 O2 K9 W: v
  832. ; http://php.net/user-agent# n) u$ R+ S3 r5 {- X
  833. ;user_agent="PHP"9 e4 @6 D1 q6 y

  834. 5 Z3 n: _' P" o) o* T
  835. ; Default timeout for socket based streams (seconds)
    4 r* R+ c; U# H
  836. ; http://php.net/default-socket-timeout( s; S% @" @. b
  837. default_socket_timeout = 60
    3 a7 p- M  t3 {: N+ `
  838. ' F5 C6 W7 A* j2 N$ S
  839. ; If your scripts have to deal with files from Macintosh systems,  I2 C3 F9 x" Z  z
  840. ; or you are running on a Mac and need to deal with files from4 u7 Z! t# m, K  H  k1 N6 G
  841. ; unix or win32 systems, setting this flag will cause PHP to! }! C& f+ R$ m: f
  842. ; automatically detect the EOL character in those files so that6 F$ S6 R, l) h5 k  p! g: E9 D
  843. ; fgets() and file() will work regardless of the source of the file." _5 S8 c, T' @
  844. ; http://php.net/auto-detect-line-endings
    2 \7 m) C( h8 h; M
  845. ;auto_detect_line_endings = Off
    " `% x( h8 }5 {4 Q  U3 `0 q3 T

  846. ) g8 e1 R$ `5 F2 W9 \! D
  847. ;;;;;;;;;;;;;;;;;;;;;;$ s' U7 E; K1 y
  848. ; Dynamic Extensions ;
    / x' B. p5 H$ @( G$ a: l3 X  X
  849. ;;;;;;;;;;;;;;;;;;;;;;
    . ?6 g' ]2 P7 F  q) ^6 m
  850. . J5 A$ k; v5 c# L& t6 A1 G
  851. ; If you wish to have an extension loaded automatically, use the following/ ?6 f) C, H& S9 ~6 a6 j& u7 _  C$ k
  852. ; syntax:
    / C6 U& u# y6 M7 c$ W7 _
  853. ;
    + {+ O, `. @* k8 A5 F
  854. ;   extension=modulename.extension) C/ `" E5 o4 m+ M1 c. L: f4 _+ b
  855. ;+ W4 D) d9 Y, D
  856. ; For example, on Windows:1 t8 N( T. d2 L8 k+ {+ T  `
  857. ;# k/ G/ h9 f# S  ~% [
  858. ;   extension=msql.dll" d; ?6 m9 ~$ l! a& i' O# x* J$ u
  859. ;  Q& g0 x* ~0 H7 t: S  `% A
  860. ; ... or under UNIX:7 `3 O! }! _3 b8 T& l. B! b
  861. ;
    , q+ R2 Q) K% v$ E! d/ G
  862. ;   extension=msql.so0 }1 T2 i3 Q( \+ x/ K7 Y
  863. ;
    7 x- U/ ]! M1 E8 F/ f  ?
  864. ; ... or with a path:
    ; t, S1 i" u) y( s0 @# b
  865. ;
    6 C" c' K& \  q4 r  d: }7 }! Y
  866. ;   extension=/path/to/extension/msql.so
    $ x' s) L, F, Q, D/ f3 [
  867. ;7 q0 _. {. {6 G- G7 k+ p
  868. ; If you only provide the name of the extension, PHP will look for it in its
    * b7 W6 t: z% e$ d2 D* F
  869. ; default extension directory.8 y3 Z/ P6 [- Z+ M7 X! Q
  870. ;' H2 h# H$ f. Q' W
  871. ; Windows Extensions
    0 J7 {  j2 j0 g6 Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.3 J0 O- ]3 s  Q0 `9 ^$ p4 C5 f
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)6 Z% a$ e3 K5 @0 I. h2 ~0 x
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    , a0 \9 S4 m# n' P2 L8 Q
  875. ; Be sure to appropriately set the extension_dir directive.% \7 I; [( Q1 C% q5 H7 E. v
  876. ;
    % c  x$ n4 h; S' a: V- c! s& F4 _
  877. ;extension=php_bz2.dll" f' n2 n) l/ ~! O
  878. ;extension=php_curl.dll
    7 u! q4 w  w6 O& d! O
  879. ;extension=php_fileinfo.dll
    - v$ u/ J' }; R) x6 N. u4 I7 C& x
  880. ;extension=php_ftp.dll
    : @2 P! J: y5 |5 R1 |" U  @$ |- D
  881. ;extension=php_gd2.dll& e0 X6 T( V  ], Y
  882. ;extension=php_gettext.dll
    2 r% h0 ^0 E$ Z& Q1 I$ h0 \& ~
  883. ;extension=php_gmp.dll
    : e2 B7 L3 F% h3 `9 z/ U2 b
  884. ;extension=php_intl.dll5 |3 \6 [  o1 s5 V
  885. ;extension=php_imap.dll' Y! l. Q+ S' C6 U5 G  i
  886. ;extension=php_interbase.dll
    . p8 f9 F+ `2 K/ G; p
  887. ;extension=php_ldap.dll4 C8 i5 s; c* X1 Y. T/ @3 _# H' F; f
  888. ;extension=php_mbstring.dll
    4 V8 Z: F& T3 d
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' G/ a( v( G7 A
  890. ;extension=php_mysqli.dll* e; K$ V. p% H, ^7 c1 W5 M
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # U+ r. K+ h5 h5 X$ A' p
  892. ;extension=php_openssl.dll
    1 y3 M! K* @0 }# C: K; |2 i
  893. ;extension=php_pdo_firebird.dll
    ! z' J# R, b/ v2 [1 M" d& r/ B
  894. ;extension=php_pdo_mysql.dll  A3 b. O- U) `  x& B
  895. ;extension=php_pdo_oci.dll" j- f9 x2 ?5 Y+ ^! t% l1 n% l
  896. ;extension=php_pdo_odbc.dll; K9 R; L* z, }
  897. ;extension=php_pdo_pgsql.dll
    0 f5 u) _9 Y8 k* S9 i9 j
  898. ;extension=php_pdo_sqlite.dll: A2 Z9 q7 L' u# K( K4 ?/ O* R
  899. ;extension=php_pgsql.dll8 o/ j% H- d6 b: P" Q$ A1 [. f
  900. ;extension=php_shmop.dll
    ' B. j- `. a- G% j* t

  901. ; z. {0 m0 Y1 L. S
  902. ; The MIBS data available in the PHP distribution must be installed.
    6 H& }9 G# E9 B( A+ j
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    7 ?) a' L' s4 |2 m
  904. ;extension=php_snmp.dll( }/ p4 t' {5 W1 f7 g$ f/ a% D

  905.   l3 a( Q; a. p
  906. ;extension=php_soap.dll
    9 F; B' V' L- r3 r, }0 D9 J
  907. ;extension=php_sockets.dll" `" T) X( G: d4 a7 X" c! d4 Z
  908. ;extension=php_sqlite3.dll
    4 x& W8 n2 l6 w
  909. ;extension=php_tidy.dll
    + Z/ A4 Z8 x- q& ]6 U9 f
  910. ;extension=php_xmlrpc.dll
    7 X# o# c+ M, _8 }8 S: Y6 o
  911. ;extension=php_xsl.dll; z6 ^% k2 c$ S" A
  912. . I% w1 y9 b$ c/ p4 H
  913. ;;;;;;;;;;;;;;;;;;;8 \: H/ B7 g2 X/ P+ H" Q  y
  914. ; Module Settings ;$ \' U: [- ^) l/ J" S! t
  915. ;;;;;;;;;;;;;;;;;;;: r  E0 L% s# Z) b1 I

  916. , r* f. x( \7 ]  H5 w
  917. [CLI Server]( I% f2 v: Z6 H$ U, I: e( T
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.5 o1 r# p6 a2 {
  919. cli_server.color = On
    " ?4 B# o! O% d1 a
  920. , G( L$ Z  v4 G! M# q/ y
  921. [Date]
    * o6 U5 `; V7 w4 f2 |& g
  922. ; Defines the default timezone used by the date functions
    ( D0 T* m- ~) h" O8 a' M
  923. ; http://php.net/date.timezone$ H8 @* H  S7 `4 u( P7 r
  924. date.timezone = PRC
    / F$ ?4 p* z& T$ y  y3 c. ]+ V

  925. : _+ s7 Z9 N7 T; |! b
  926. ; http://php.net/date.default-latitude, v, x! t# \) q5 I/ P8 E4 F* j
  927. ;date.default_latitude = 31.7667
    ) L8 W* _3 s1 p- {. e+ O* \
  928. * o5 }+ u5 E. V* @/ C3 E1 q6 ~
  929. ; http://php.net/date.default-longitude, \; D5 g; L  R0 u# B
  930. ;date.default_longitude = 35.23337 d) \. ]/ s7 S+ E9 Q/ Q

  931. 8 N- r3 `- F: D1 l5 o) O% [
  932. ; http://php.net/date.sunrise-zenith( a! ]$ L' Y, N
  933. ;date.sunrise_zenith = 90.583333
    # u' W( d, o$ }

  934. + g% ?- q! R, _# e, y2 t  e5 ?
  935. ; http://php.net/date.sunset-zenith
    0 {- O; W" z, R
  936. ;date.sunset_zenith = 90.583333
    5 S2 g$ @$ Z" u

  937. " l7 b9 A* B$ L; Q8 _, A
  938. [filter]$ ?5 _5 H# p( b4 Z/ A9 i
  939. ; http://php.net/filter.default
    % H& o- S, [9 ?( N/ h
  940. ;filter.default = unsafe_raw
    2 W2 ~0 O  ?6 F$ G+ r+ G, N, E

  941.   o1 ], |/ M4 r2 m. y# ?( B  \
  942. ; http://php.net/filter.default-flags
    2 \# u% r% R! D5 s' L0 z
  943. ;filter.default_flags =
    ! l0 Y: }/ B/ ?# r/ R% Z7 v/ F6 e

  944. ( u5 g# i4 x$ P$ E! C# V
  945. [iconv]/ ~! ~/ m) P' J. Z. m
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 R: X: o3 @, D5 R0 V: [
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 ~! t# s. F1 p( p
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! R" c! n4 N) A6 j
  949. ;iconv.input_encoding =
    % F: _$ S$ G4 `8 X4 Y* Z! j' g

  950. # S- R; u: F( |
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    / u  {& u# z! B2 ~1 d7 g3 }
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 ?  h  v9 x# M4 T) f
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ n, N! m4 T8 P, n. l
  954. ;iconv.internal_encoding =
    8 M! g& V& n3 J* Q: N5 M

  955. : O) k# ^. I; g( h
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # q1 y5 @  K2 \; T5 X! L1 B
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.5 o3 t. C: }; V
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    & X" K  |6 R5 V; N, j. c
  959. ; To use an output encoding conversion, iconv's output handler must be set4 l: G+ e. L' B. Y8 R- d8 m" `% q
  960. ; otherwise output encoding conversion cannot be performed.
    ( _( t9 l" k+ F2 u0 T: ^2 p- i
  961. ;iconv.output_encoding =
    - }" w' b0 k' _. F1 b

  962. , X4 ?" w4 ~6 u- f( w8 e
  963. [intl]# D& W0 I2 a1 `. E0 W0 e! n, t
  964. ;intl.default_locale =; s8 H; C- P! z0 o$ \: H$ @8 k: ?6 g
  965. ; This directive allows you to produce PHP errors when some error
    % K0 X/ o* S, R8 W( T2 }
  966. ; happens within intl functions. The value is the level of the error produced.
    , o# o: M/ F( w, r1 W# i0 k
  967. ; Default is 0, which does not produce any errors.
    : M* d/ ^; L( s: w4 H' F
  968. ;intl.error_level = E_WARNING" ~! v& l3 S  ?; f: Y6 t1 Q  j9 k
  969. ;intl.use_exceptions = 0* H2 {% G% R  ]- a
  970. 1 k9 Q! T: O. y/ x, v$ x
  971. [sqlite3]
    8 ^6 d/ |+ i* C: s  n6 S( _
  972. ;sqlite3.extension_dir =3 ?+ s3 `5 H! L. m. `- T

  973. / O9 j, i* f' t& C& t; N
  974. [Pcre]/ i- x( R2 S; q1 W9 o4 O4 X
  975. ;PCRE library backtracking limit.4 ~/ f) l% {: T: f. z9 @" ^
  976. ; http://php.net/pcre.backtrack-limit& b6 R" d7 T: n& J, A
  977. ;pcre.backtrack_limit=100000' Z# U6 X0 \1 A

  978. 8 u; M! [+ j1 S. d5 F4 F9 U: Z
  979. ;PCRE library recursion limit.
    9 I9 v2 r  K' g
  980. ;Please note that if you set this value to a high number you may consume all
    4 n: ~& K' V0 O
  981. ;the available process stack and eventually crash PHP (due to reaching the$ Z/ o# d* L. q! }  `  c" i
  982. ;stack size limit imposed by the Operating System).* a. A8 m5 [7 q$ g
  983. ; http://php.net/pcre.recursion-limit
      s# R8 \  q  g
  984. ;pcre.recursion_limit=1000008 t3 ?5 Y: J8 f$ w0 x( }1 [" s

  985. - d8 [' {6 X9 s/ ]7 W
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " c7 P! m. r+ B: S
  987. ;library to be compiled with JIT support.3 s9 _9 t  |! G
  988. ;pcre.jit=1
    + _' K( ?+ t5 |

  989. 4 _4 \5 v( B: }$ X, ?5 o% `
  990. [Pdo]
    6 s' q% F9 q/ c" ~/ O
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + ]( d3 I: D. ]1 M) B4 q
  992. ; http://php.net/pdo-odbc.connection-pooling' \) J: o; y1 r4 A  u
  993. ;pdo_odbc.connection_pooling=strict& d0 s+ N( T6 F+ @0 U

  994. % a5 w% y% L# n" O6 B6 k9 |2 R
  995. ;pdo_odbc.db2_instance_name
    9 S2 J% y* \* r8 k) O

  996. 5 j- v1 g' T" |  @' q) p
  997. [Pdo_mysql]
    : K* }" g8 b8 k' i( `4 R- f
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 B9 v3 x+ `! L0 v% V/ N
  999. ; http://php.net/pdo_mysql.cache_size, q, d0 P* t+ M
  1000. pdo_mysql.cache_size = 2000  g& ?/ }2 b1 v1 Y! R( v

  1001. , U$ w* A. ?! ^) M
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " n4 f' K' B  r! \# s3 B# K
  1003. ; MySQL defaults.
    * ^( g- C7 \% [2 N- M# G6 p
  1004. ; http://php.net/pdo_mysql.default-socket- G) `8 x- O* v1 D
  1005. pdo_mysql.default_socket=1 g4 ?$ p  }% D0 p2 V. k' v

  1006. 8 V- |  V% u& I7 i0 I
  1007. [Phar]' t9 q7 k0 m9 X' K6 ?5 X
  1008. ; http://php.net/phar.readonly
    4 o3 V- Z  i$ x& n  I1 q( g
  1009. ;phar.readonly = On- f2 h: {, [8 f! s9 n
  1010. 8 O/ {8 Z/ D5 ^* t
  1011. ; http://php.net/phar.require-hash
    ! S3 [& O! w' ]9 R, n; D* }
  1012. ;phar.require_hash = On2 l# Y' C! q* m2 n4 S; z6 b

  1013. 1 ?+ z& ~4 u* o+ x" l
  1014. ;phar.cache_list =
    + y5 l! m3 B/ d0 Q$ ?0 R
  1015. 2 S; o) [+ k; G" F4 S+ Q
  1016. [mail function]
      |' [2 z7 z; j- _) e2 X( x
  1017. ; For Win32 only.( i; s1 h7 j- f2 z5 D
  1018. ; http://php.net/smtp
    # v' A0 a* b) V0 B2 _  \2 L( }% G
  1019. SMTP = localhost
    " D/ L4 r- s  x0 q) P* G- D( f* [" ]
  1020. ; http://php.net/smtp-port
    , l; }& ]2 }" j8 e+ N1 M: j# Z
  1021. smtp_port = 25
    / i5 x& F9 H5 k% u, @5 @
  1022. 4 z! y! `7 `, r+ @2 A" F
  1023. ; For Win32 only./ I' T" w8 b, s& \
  1024. ; http://php.net/sendmail-from7 j7 |# {' x2 K7 V3 J& E
  1025. ;sendmail_from = me@example.com8 k" T7 ]& M. _6 X: A9 w

  1026. / G0 D( X8 w9 C$ R
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    7 a+ F, M5 l' L
  1028. ; http://php.net/sendmail-path6 [5 i9 W' v0 Q4 f6 {/ j
  1029. sendmail_path = /usr/sbin/sendmail -t -i9 N$ t0 R" q5 _* V& R1 l
  1030. . @5 X( R6 o( t, u+ |
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    + o# ]; N7 ^9 E- F4 ^( b, i
  1032. ; to the sendmail binary. These parameters will always replace the value of( f. Q: T1 \: t: n; H; r  x
  1033. ; the 5th parameter to mail().! C3 ~1 \  O. P2 X$ t) p4 J& e
  1034. ;mail.force_extra_parameters =, g( k: }# O" X( w. W
  1035. / O$ W" G2 e) h+ D+ d7 U
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 {/ [! ]# c6 a% V% D% ?+ t
  1037. mail.add_x_header = On
    ) G) J, f$ D3 Z6 w9 _- s; Y3 {
  1038. " v# p; c4 F# I* \  V
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    9 X1 e, X" |; Z4 s+ v* z
  1040. ; the full path of the script, line number, To address and headers.- V6 L: {  N5 J! b
  1041. ;mail.log =0 {8 b! e: h. t0 E: z
  1042. ; Log mail to syslog (Event Log on Windows).# H7 P; B& \2 `4 V
  1043. ;mail.log = syslog
    # t! V9 B* |: O

  1044. 2 E# R2 C$ c8 S
  1045. [SQL]
    / C% J2 @. D6 @( ^) j3 Y+ C
  1046. ; http://php.net/sql.safe-mode
    * r4 C, v$ x* p7 c6 G6 m
  1047. sql.safe_mode = Off" {$ f. G( C: h& O4 u2 p

  1048. 4 a9 V' u3 ]' Q( h0 V+ H& M
  1049. [ODBC]! b7 f7 ?' V$ G; P* _9 k
  1050. ; http://php.net/odbc.default-db+ j0 `  h( B( B( ~0 S7 L/ r
  1051. ;odbc.default_db    =  Not yet implemented7 G' |/ ]* ^0 }
  1052. 4 S) o, P7 s8 K- `4 ~* c+ w
  1053. ; http://php.net/odbc.default-user
    . h  \4 j9 e2 d# B5 c) Y* y
  1054. ;odbc.default_user  =  Not yet implemented1 b. ?* G) x' Z0 H2 B! S; Q
  1055. : m, `: C3 R+ A: m; I1 H- }
  1056. ; http://php.net/odbc.default-pw
    # Y5 @4 q  w4 Z& ?" {( ^
  1057. ;odbc.default_pw    =  Not yet implemented
    7 ^2 b! q6 p3 O) B

  1058. ( h% A& g. p% x$ A; T% h% W- P. a: d
  1059. ; Controls the ODBC cursor model.
    4 ]/ ]) X4 A/ z# V1 {  _& M
  1060. ; Default: SQL_CURSOR_STATIC (default).0 c( ]4 _9 t, ]: r2 A+ X! r
  1061. ;odbc.default_cursortype
    9 r; r7 |7 M1 l7 M

  1062. 5 p, ], u. O  c# O: R" D
  1063. ; Allow or prevent persistent links.
    ( ?% ?. |: f* i: Z) }$ I9 ]
  1064. ; http://php.net/odbc.allow-persistent2 ^. G* I0 E# ?
  1065. odbc.allow_persistent = On
    2 X3 ~$ ^: M, B6 T1 o" b
  1066. 2 I: @! I  `# F5 K2 G' L
  1067. ; Check that a connection is still valid before reuse.
    ' t# r1 f8 u1 |8 k
  1068. ; http://php.net/odbc.check-persistent
    ' t( K( A, C" w. x+ f  N0 f
  1069. odbc.check_persistent = On) M6 H4 m0 Q" r- I- \' r

  1070. 9 N6 j$ v! L2 {
  1071. ; Maximum number of persistent links.  -1 means no limit.1 f  x+ V) r* d7 I
  1072. ; http://php.net/odbc.max-persistent$ E6 Y' h9 j, e/ I
  1073. odbc.max_persistent = -1
    ( t" x. ^: O$ b! E9 h# ]" G: N
  1074. ) A5 Q  l; d/ c+ O% t3 {/ ]
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) S  M* K- l$ L2 k' j
  1076. ; http://php.net/odbc.max-links
      r, d9 w& M9 M- o$ N
  1077. odbc.max_links = -1
    # W: K6 p" E3 W8 D) \9 L
  1078. & u- c+ {" K8 h8 {& N
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # B. k4 D9 U9 e; ^( [* ]6 |
  1080. ; passthru.
    # O# _, A0 B- y8 d0 J/ [/ V
  1081. ; http://php.net/odbc.defaultlrl
    7 f) k8 X% J; u, H* ~0 a
  1082. odbc.defaultlrl = 40961 t7 a6 m* ~% i5 h3 @6 Z% \
  1083. & k( E1 d; X5 j" ]8 t" o
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ) X% S; ~2 c, I1 L* C" N" J) o2 d
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation6 A- Q, o; |  J( O1 ^( l7 i! g
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode9 O" c" W$ x- R2 F& w
  1087. ; http://php.net/odbc.defaultbinmode6 r7 ~2 D7 `* x, k3 g' D* C) V" P
  1088. odbc.defaultbinmode = 1$ B7 F% x1 O2 f* ^
  1089. ) B7 Z7 P7 M4 S2 ?/ L+ j
  1090. ;birdstep.max_links = -1  A) |, V" O7 @/ q
  1091. 5 W3 v. f0 L& Z7 _- T: l
  1092. [Interbase]
    / j. X" m' t) Q$ U$ \
  1093. ; Allow or prevent persistent links.9 L! I/ U5 f% P9 k
  1094. ibase.allow_persistent = 1" @# x0 g, T! T& o1 ?$ O
  1095. 4 |& c3 F/ l% [8 T. L
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ( N# v1 }4 I( ~% R; }9 W
  1097. ibase.max_persistent = -1
    , Q7 k& @' k; t$ ^, Y" x' ]

  1098. * d0 l/ W. S1 D! P5 D9 s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! c+ M4 J0 X+ f
  1100. ibase.max_links = -1
    $ R4 ]) U3 l4 v, W

  1101. 6 t0 o" Y' u7 P6 [9 a
  1102. ; Default database name for ibase_connect().
    8 a# U! s1 R( A7 c8 l
  1103. ;ibase.default_db =% o% k. L% Z$ M: m4 G- l9 D6 \

  1104. 6 E, J* z# p: s
  1105. ; Default username for ibase_connect().7 f0 \% B. E+ @+ U! k
  1106. ;ibase.default_user =( H% I. z" F9 g! X+ T. o

  1107. - R1 S' b. r! z: \* m: A9 m
  1108. ; Default password for ibase_connect().
    2 {, \( p- @; j) G& M+ O* m
  1109. ;ibase.default_password =- g3 L. H; j% {/ Y5 T

  1110. ' c( ?  t- Z) b; U; {
  1111. ; Default charset for ibase_connect().
    & W; V: S9 H* L6 ~
  1112. ;ibase.default_charset =8 P: m/ ^* [3 {* r8 G$ D

  1113. 0 V% X; f$ w3 \+ Z7 s. ]
  1114. ; Default timestamp format.# O7 `! d: y0 i# a& z. {  L% ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ ^! r! L# A+ N8 }3 U

  1116. - P5 y& I: i: h  g
  1117. ; Default date format.
    / M% V/ E0 e) p+ H2 Z. X) S; o
  1118. ibase.dateformat = "%Y-%m-%d"
    3 L# E6 T0 i; Q6 ~- h7 L0 w

  1119. * C6 U2 {) T( b- @3 O1 `: U
  1120. ; Default time format.' ]- x7 x1 K! |
  1121. ibase.timeformat = "%H:%M:%S"5 a8 ^4 I* n: ], d+ m  R

  1122. ) v, |$ b2 h7 s
  1123. [MySQLi]
    * o3 R% ^6 `1 q- r; w7 H

  1124. " M; e9 K7 `  _' ?: Y; K
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : T- q: H* B6 C2 f& q
  1126. ; http://php.net/mysqli.max-persistent% ~' T& \+ X" l+ y
  1127. mysqli.max_persistent = -1
    ( e0 c8 G0 R% m. E
  1128.   A' M: [0 ]# W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' x& {- j3 i9 ~* u5 j$ f( K" w
  1130. ; http://php.net/mysqli.allow_local_infile) O" @" n! j# z8 P
  1131. ;mysqli.allow_local_infile = On& s* C4 v$ v3 o6 ^  z
  1132. & }% m4 u+ m" O/ X( |- L, N9 d0 ^
  1133. ; Allow or prevent persistent links.
    ! x, D9 N4 H2 X4 p0 S' b) u
  1134. ; http://php.net/mysqli.allow-persistent) B( b- i0 z. g" y/ [& d
  1135. mysqli.allow_persistent = On. j& F1 Z( V* _1 L
  1136. 7 s$ ?: h+ H: v7 R* ^! K& v& b$ Y2 d$ V
  1137. ; Maximum number of links.  -1 means no limit.& p; h( [/ G5 S1 q/ d, {
  1138. ; http://php.net/mysqli.max-links+ n* Z7 q, `$ ]# ^0 R# M
  1139. mysqli.max_links = -1
    9 P# J, d0 y$ N( |# D6 c8 ^# S

  1140. + h. Y& L8 L( w0 q5 I/ ~
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache% N$ {2 j6 B/ E' a2 F/ E) H( U1 V9 O
  1142. ; http://php.net/mysqli.cache_size9 _. h/ L7 m/ n5 @4 A
  1143. mysqli.cache_size = 2000/ B7 }, O6 A: w2 Z7 Z) [, p

  1144. 0 f5 g# O! G5 V% g: C
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use) G1 \1 U8 M- w- Y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) B: T4 z, @3 x' {2 n" _" A
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) _) m' c6 n8 o/ M/ H
  1148. ; at MYSQL_PORT.
    * |# C2 N1 `$ V% S6 \
  1149. ; http://php.net/mysqli.default-port
    2 @. h/ F; h  t3 y' v+ G: _
  1150. mysqli.default_port = 3306
    : n# ]2 L5 z7 R" Z
  1151.   s4 ^' ?5 e% J- H' f# G; E* \# U
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in. `# A! S! k3 H9 C: r" I( w) j
  1153. ; MySQL defaults.
    2 z  G) P/ U& Y" T1 c
  1154. ; http://php.net/mysqli.default-socket/ O: W; q+ C$ F
  1155. mysqli.default_socket =9 g( ?0 a/ ^) w+ U, m

  1156. * K) T  u* d- X* x) |' ?
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% M3 _, G. l6 R
  1158. ; http://php.net/mysqli.default-host- R. S8 l. F* Q. t
  1159. mysqli.default_host =
    7 \& ^6 _, d8 Q" T. a2 t0 _8 c9 I/ ^
  1160. 3 W1 b) n% V" B+ I
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).- C! u- g$ I# {; t
  1162. ; http://php.net/mysqli.default-user4 C4 I4 w% q0 ^. O
  1163. mysqli.default_user =
    % K1 c6 \% }, w/ f- k# B, {

  1164. 6 y" Q" F5 V7 W/ [8 f
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).; ]0 z8 j8 F$ _0 P2 c
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.  _  ]$ h- f' J8 _0 N- J  a: z1 Q
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 `8 U' \9 Z6 e" F
  1168. ; and reveal this password!  And of course, any users with read access to this! ~) W4 @2 @# \2 l
  1169. ; file will be able to reveal the password as well.( c0 ^& P% Y5 b3 D3 v
  1170. ; http://php.net/mysqli.default-pw$ d! L6 D  L& m$ R1 P) S
  1171. mysqli.default_pw =
    9 `2 V0 u( Y( S: t: z$ }7 |& D9 h

  1172. 9 G+ @5 M! W4 \) n; e
  1173. ; Allow or prevent reconnect2 L; l( k/ p& R) W. z' F& J# `
  1174. mysqli.reconnect = Off6 w9 J" t) o' L

  1175. 3 a" }5 b3 P( S4 i. q5 ~) C/ B% u
  1176. [mysqlnd]
    ( ], E2 S& Y3 V; y
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 |) _) R5 x: |3 C8 a# {0 p) q4 D
  1178. ; used to tune and monitor MySQL operations.& K5 A+ ?. k. m' N/ @, E: L! b8 h( H5 l
  1179. ; http://php.net/mysqlnd.collect_statistics
    4 d8 S6 B0 p1 g, n* O/ }( D6 n
  1180. mysqlnd.collect_statistics = On
    & r  a# I& B) Z7 m5 p  ~" i& H
  1181. 1 t/ r$ R( R& {# I9 _6 _
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      T6 B' l7 `( Z8 W
  1183. ; used to tune and monitor MySQL operations.
    . g% O/ S( p4 e" C. e" s
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 @# L3 D2 g$ g: d! n% B
  1185. mysqlnd.collect_memory_statistics = Off' r$ v  x9 L: `7 k+ K
  1186. . A4 A5 [. t; N& G3 [
  1187. ; Records communication from all extensions using mysqlnd to the specified log- b0 M; z  X( N7 \3 c
  1188. ; file." G; R' H, o# x4 ~; n
  1189. ; http://php.net/mysqlnd.debug
    0 ?; q+ V+ K' I; V: y
  1190. ;mysqlnd.debug =* p0 ~& X) K( N' i

  1191. 6 T0 y4 K( U" r- O9 o
  1192. ; Defines which queries will be logged.
    0 ~- ~2 k/ ^; Y! z
  1193. ; http://php.net/mysqlnd.log_mask+ s6 q. t! b9 o
  1194. ;mysqlnd.log_mask = 03 ]; m2 T; X, q+ G9 l1 b# i1 m& g

  1195. 0 W9 R& y, X3 R6 I" F: C4 n( R
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.- T5 L4 b  O0 v! L4 _% X; Z0 E
  1197. ; http://php.net/mysqlnd.mempool_default_size, z( M5 K  M  G! d3 d. I
  1198. ;mysqlnd.mempool_default_size = 16000* ]0 n7 j; ?7 d; a; G- a, t8 G
  1199. 9 p3 P! |$ _. g) ^2 {# o1 b
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    + |. }9 b! Y1 q9 c
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size  m6 P$ v, c; X: [; W
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    / V# _1 O  \& I! Q1 P7 c7 t4 ]
  1203. ) S' i4 i8 R1 o3 N8 l2 }! z
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; T. D: y" F9 ]3 |6 r  J  b2 F
  1205. ; bytes.. N* R7 a/ g4 S% ]9 b! n* P
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ; @* v/ O; |& \: @! }" N
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! U, {. t! p  h
  1208. 2 K2 \6 ^0 m* i5 z! R' H; D3 J
  1209. ; Timeout for network requests in seconds.
    2 A9 A: t' k" _
  1210. ; http://php.net/mysqlnd.net_read_timeout8 q3 K) s4 D' i
  1211. ;mysqlnd.net_read_timeout = 31536000$ q" p8 ]( g# P) B5 A
  1212. : T, o8 r4 K, r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 _* v2 h3 h9 h: p
  1214. ; key." ^4 K; O! i: A$ p0 M( v( `
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    , p, q& [2 H* b7 a1 Q& t& r( p
  1216. ;mysqlnd.sha256_server_public_key =
    % Q  {) t2 m2 W0 n9 ]$ C  x6 {+ c
  1217. ; F" y5 t4 Z7 ~! v
  1218. [OCI8]
    3 K7 j* w) q9 O6 a9 s

  1219. 2 L& J. u6 Y3 {8 f
  1220. ; Connection: Enables privileged connections using external8 o( p1 D# n5 i, N% C/ {
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 i3 {! f8 r  J; _6 b3 T4 i
  1222. ; http://php.net/oci8.privileged-connect
    & d4 Y0 F  u6 Z
  1223. ;oci8.privileged_connect = Off2 i7 s# ^; {  Y8 {! `

  1224. - s/ h4 \: b% ]' E/ D
  1225. ; Connection: The maximum number of persistent OCI8 connections per/ r0 f3 d) g$ K: p) A
  1226. ; process. Using -1 means no limit.3 S; T1 ^% L0 K  q
  1227. ; http://php.net/oci8.max-persistent
    ) Z3 R8 b, z2 g
  1228. ;oci8.max_persistent = -19 Q8 @/ R/ c; |6 Z: }# ]

  1229. / t/ Y5 s9 v1 z$ e
  1230. ; Connection: The maximum number of seconds a process is allowed to' q9 L4 \! M( h& m. p
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ( U" `1 D5 U3 T- Q7 ~$ t9 @" s
  1232. ; persistent connections will be maintained forever.
    / g3 F  `- n! b
  1233. ; http://php.net/oci8.persistent-timeout- ^6 ?! E/ h% R' D: }1 j6 x
  1234. ;oci8.persistent_timeout = -1
    $ ?2 V" Y% ~0 H5 S
  1235. ( @9 K9 ?4 X) |% R, j
  1236. ; Connection: The number of seconds that must pass before issuing a
    . `2 H. H) Y& e+ V% A7 `
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) Y! ]$ y2 m( Y- t$ l
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    % C4 N  Y2 H5 n' y
  1239. ; pings completely.; F: L/ M$ j0 N) K0 Z, b
  1240. ; http://php.net/oci8.ping-interval
    & k; _! p* C7 h
  1241. ;oci8.ping_interval = 60
    " O( C: c4 G# i' ~$ L6 M
  1242. # ]5 X' M. B  d. L
  1243. ; Connection: Set this to a user chosen connection class to be used
    ) A' Q* K7 `6 {8 A
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    , H( X; b4 g, ?" r* M7 c
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to' e0 n) Y8 d6 u; V+ B
  1246. ; the same string for all web servers running the same application,, }* \& u7 Y9 Z6 X* n1 K4 J9 T
  1247. ; the database pool must be configured, and the connection string must
    6 g  v; L7 t6 ?6 U
  1248. ; specify to use a pooled server.8 H2 `& |4 V+ T% d. C: Y
  1249. ;oci8.connection_class =- {+ U: _3 _, h! [2 ~7 W8 d
  1250. % A$ u; u3 @" g! r- M' [
  1251. ; High Availability: Using On lets PHP receive Fast Application
    : T0 [$ ~7 h- e5 n. v7 k6 s
  1252. ; Notification (FAN) events generated when a database node fails. The
    * f- ]9 ^  G, ]$ g& C5 E
  1253. ; database must also be configured to post FAN events.; G' h! }- I. O: Z% V
  1254. ;oci8.events = Off- H6 L: w' \- ~+ H# @2 i! z/ o+ V
  1255. ( Y$ Q  N  l: j5 h+ T
  1256. ; Tuning: This option enables statement caching, and specifies how3 T+ h! C! e7 e+ ?
  1257. ; many statements to cache. Using 0 disables statement caching.3 Q! w$ }5 D1 m" {
  1258. ; http://php.net/oci8.statement-cache-size
    / A0 L5 v% K. W% R5 M$ `$ v* R; }
  1259. ;oci8.statement_cache_size = 20
    0 N. @6 P* c! s. _, a* B

  1260. - x" h4 v0 q+ g* p# X- @+ v9 {" N
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    : `* L2 d( ?7 \, v
  1262. ; rows that will be fetched automatically after statement execution.
    6 J- y2 e' G% C$ u4 S
  1263. ; http://php.net/oci8.default-prefetch
    " _# w3 _" L, Z! K; n9 V
  1264. ;oci8.default_prefetch = 1000 A- f. {3 C8 `- X' f

  1265. , P7 n: v' v: _; ^
  1266. ; Compatibility. Using On means oci_close() will not close' T; q9 s8 x+ o4 n
  1267. ; oci_connect() and oci_new_connect() connections.' B& `2 M% E! ^" l8 S8 p- D
  1268. ; http://php.net/oci8.old-oci-close-semantics
    2 h3 q) b& ~) g4 u; ^
  1269. ;oci8.old_oci_close_semantics = Off( F7 O! k; A5 y! Y  C3 ?( w0 e$ B: c
  1270. 4 @$ D7 ~9 I4 m$ D6 T
  1271. [PostgreSQL]% v" M. d$ B9 ^: O- W! x
  1272. ; Allow or prevent persistent links.* e. l9 x9 ^- h6 F- L1 a
  1273. ; http://php.net/pgsql.allow-persistent
    ) u7 u2 \5 p3 ~& _; |
  1274. pgsql.allow_persistent = On0 ?1 N1 i9 S' s, y. J8 u# R# P, [
  1275. ; G- y, ?+ E% a
  1276. ; Detect broken persistent links always with pg_pconnect().- H$ h8 J4 a; Z% G) k' |0 }
  1277. ; Auto reset feature requires a little overheads.2 ]/ l- d8 Y! N6 Y
  1278. ; http://php.net/pgsql.auto-reset-persistent- v! {- G" I. {5 h. x+ H$ x0 b
  1279. pgsql.auto_reset_persistent = Off
    $ U, w7 M8 R# M1 n9 r

  1280. ; s+ v! u& }; K$ ], c( V5 @/ W% L
  1281. ; Maximum number of persistent links.  -1 means no limit.- N5 j  p( h: v. [3 U9 Q  c
  1282. ; http://php.net/pgsql.max-persistent
    7 I" R* o5 z9 L1 Z3 g6 v/ l# h
  1283. pgsql.max_persistent = -1/ L4 Y0 M* H' H# ]% k
  1284. 9 E0 d+ e# L( r) r
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. e1 h0 h/ Z6 A. P- {% M, r
  1286. ; http://php.net/pgsql.max-links
    % [( @: L* A( r: f3 y9 U
  1287. pgsql.max_links = -1
    : s. [- y- b& _6 V8 y% [
  1288. 1 W- R, D2 I8 R+ O5 H
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ; D9 _5 h; G' [: ~
  1290. ; Notice message logging require a little overheads.
    0 b9 r' ^, ]9 i$ a
  1291. ; http://php.net/pgsql.ignore-notice
    ) L) d2 e$ D9 p6 y) x+ P. o
  1292. pgsql.ignore_notice = 0
    7 s/ k: R/ l( u6 R& w
  1293. 9 a9 Q4 y9 o7 t* t& J
  1294. ; Log PostgreSQL backends Notice message or not.8 J9 _' g' K$ `, V; y' K
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    " R5 Q$ M! b- t! ]" A1 L4 E
  1296. ; http://php.net/pgsql.log-notice1 @2 e# g9 }; A6 K1 ]1 D
  1297. pgsql.log_notice = 04 C" L9 @: z7 v' w' a
  1298. . O* G7 a+ Z0 q- o' V5 G: }
  1299. [bcmath]
    2 y: G0 e' O) ^4 H6 @9 ?
  1300. ; Number of decimal digits for all bcmath functions.3 j. L0 E0 _0 x) i
  1301. ; http://php.net/bcmath.scale
    % i! L. N7 I  U7 @* E2 A
  1302. bcmath.scale = 0
    - d5 ?0 w5 m. ~. L, k! Y

  1303. 2 F* k8 p: g: J3 P# \
  1304. [browscap]* z! h2 I$ H8 X0 R8 G
  1305. ; http://php.net/browscap
    6 y$ ?% M1 B7 T1 M
  1306. ;browscap = extra/browscap.ini. r, u0 }) l9 Z% {5 j

  1307. ; A  K. t$ P6 h0 y  A6 X
  1308. [Session]
    8 s- {1 n/ U5 N8 T% [5 W
  1309. ; Handler used to store/retrieve data.
    8 p/ Y2 \' ?- t. p5 x
  1310. ; http://php.net/session.save-handler
    5 n2 ?8 l" S" C7 k
  1311. session.save_handler = files
    1 I- D6 U& M! Q' K1 p

  1312. " u4 m# ]  {, w0 S! j9 P* i: b+ T( X
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & C0 s' H. p9 S
  1314. ; where data files are stored. Note: Windows users have to change this9 r/ _/ @4 t- e
  1315. ; variable in order to use PHP's session functions.
    ) m- l. D3 `# X0 D/ t! @  F8 ~
  1316. ;' l, r5 {1 d: p$ P! e7 `! `# G% R
  1317. ; The path can be defined as:/ d2 @7 O( W1 O# O0 U/ ~* R
  1318. ;& s# |. L" c) D6 C3 W2 M4 X
  1319. ;     session.save_path = "N;/path"6 y: b% V0 H) N
  1320. ;; Z. e# B/ H3 U+ n5 K  @
  1321. ; where N is an integer.  Instead of storing all the session files in  ~) M" q1 B" @( h5 \" m; i
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    " Q9 R- N3 l! N  ^$ f) d
  1323. ; store the session data in those directories.  This is useful if
    ; r8 W: R/ s$ f9 Y3 l8 _5 x
  1324. ; your OS has problems with many files in one directory, and is2 b" Q3 [3 X1 a& B8 s6 a4 J
  1325. ; a more efficient layout for servers that handle many sessions.
    2 }0 x; D' L7 }; L+ D  W/ e9 L
  1326. ;
    , i8 Q* u! \* K2 ]
  1327. ; NOTE 1: PHP will not create this directory structure automatically.- i+ n0 ~) i, x! T  o* r7 K) \' G
  1328. ;         You can use the script in the ext/session dir for that purpose.
    6 I5 a! Y9 |/ Z8 [% [( x
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' O& E, W: I3 T" |
  1330. ;         use subdirectories for session storage
    4 n9 v3 f" J" f6 i# l6 p
  1331. ;
    0 T5 s1 V- a4 d  j2 m/ ?. O# `8 ]
  1332. ; The file storage module creates files using mode 600 by default.
    & D) U5 X% e4 j' J' y+ `0 h4 ?
  1333. ; You can change that by using+ t# j, C) L1 g4 i4 H
  1334. ;6 e9 q' u8 U4 ~0 @! k& i& A2 @
  1335. ;     session.save_path = "N;MODE;/path"# f! f: V6 g1 u! |
  1336. ;2 a% Z+ f' H3 K, i2 p8 N+ l9 G. d  u
  1337. ; where MODE is the octal representation of the mode. Note that this
    5 }& y$ v& h$ ~5 Z2 p7 [1 g+ G3 H
  1338. ; does not overwrite the process's umask.
    6 Z, L. ^$ E- ?. L0 L+ g, X$ b
  1339. ; http://php.net/session.save-path3 E- T2 D1 A% s6 i
  1340. ;session.save_path = "/tmp"4 _- R4 ~3 P3 @3 j7 ]/ n) z3 s; A
  1341. % q/ \# u  k! \) S: Q
  1342. ; Whether to use strict session mode.
    9 ?) x1 ?( T& p% G9 M! S5 I9 |
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate0 M8 [' V8 M' c( i# N. t3 k
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    & }9 x& i& ]4 S1 K# u' F
  1345. ; applications from session fixation via session adoption vulnerability. It is
    6 ~+ `% L: h" L, u/ c% q2 [' F
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.* ^5 F3 m6 u  Y* M. q
  1347. ; https://wiki.php.net/rfc/strict_sessions
    + q8 E, c3 C$ E0 [
  1348. session.use_strict_mode = 06 U0 |2 L$ N2 t; Z  v. L
  1349. 4 a( c4 ~- `8 b+ C' Y8 g2 o
  1350. ; Whether to use cookies." P3 {  |* V/ W& J7 l& T+ U3 S9 s; \  c
  1351. ; http://php.net/session.use-cookies
    + r& r, b. A3 W+ }+ G- {
  1352. session.use_cookies = 1
    ; W2 v0 O( n- s( ]0 S* x2 G9 w
  1353. + J3 m- o, N8 [
  1354. ; http://php.net/session.cookie-secure3 M: T' s. o* x: K
  1355. ;session.cookie_secure =
    ' I. x2 y& S9 ]/ ]

  1356. ' |0 i9 t' ^% o7 y, P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % L4 Z3 B: Y0 [- g
  1358. ; the session id. We encourage this operation as it's very helpful in combating) M4 i- r4 o$ g5 D, T! w$ B
  1359. ; session hijacking when not specifying and managing your own session id. It is
    0 m4 f8 v" X! f+ Z4 g6 z0 Q
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start./ t% |: U( v% b  `0 ~: R
  1361. ; http://php.net/session.use-only-cookies: [: }& [  r$ L  }6 L
  1362. session.use_only_cookies = 10 F0 ^) M$ K+ j7 T  L# u5 p

  1363. / ?( U3 |9 m! {/ X/ \- M  c
  1364. ; Name of the session (used as cookie name).7 T5 n+ D) \* q" i$ Y
  1365. ; http://php.net/session.name+ P; g* P! }% r. g
  1366. session.name = PHPSESSID6 M+ S, r9 f! ?

  1367. # h7 D, p7 J! B+ g6 t$ h
  1368. ; Initialize session on request startup.8 ]: ?9 w$ n$ Y+ u
  1369. ; http://php.net/session.auto-start  ~0 w# I& ]. P4 L, U
  1370. session.auto_start = 0
    . }* k# w: M9 X. `

  1371. , m# F& }( Y1 d9 }1 B9 f5 \" |  g
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 u8 ~" x' y2 M
  1373. ; http://php.net/session.cookie-lifetime
    3 _# B4 v) r& j0 b  }
  1374. session.cookie_lifetime = 0
    ' ?+ u# C, q0 ?% Z' q4 i6 {
  1375. # ~0 C- W* q; L9 h
  1376. ; The path for which the cookie is valid.
    " p  N5 ?8 M* b" V& L2 M
  1377. ; http://php.net/session.cookie-path
    4 `) U" ?7 K7 }3 [6 B4 q0 q; q
  1378. session.cookie_path = /5 @' n0 {# P& Q$ g9 K" H% Y) b  \& n& _
  1379. 5 U  v$ t( p4 u. G7 P
  1380. ; The domain for which the cookie is valid.
    , M$ i% C" F/ w$ A( H% u
  1381. ; http://php.net/session.cookie-domain! ]) V- ]: V( p9 W
  1382. session.cookie_domain =, Z4 m) G0 y5 u$ U3 m& `8 Q
  1383. 0 J# H$ K9 L/ N1 @
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % w8 M8 }3 m8 v( d
  1385. ; http://php.net/session.cookie-httponly
    & P! h& v2 F& w+ ]& g' B# }5 M
  1386. session.cookie_httponly =
    * T& T/ R6 W9 L, i3 L
  1387. 8 ~8 _8 @0 S- m3 V; F
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP., J3 W( L& p7 p0 U' `
  1389. ; http://php.net/session.serialize-handler1 ]8 r9 |$ \. T/ R0 L; U9 G( w
  1390. session.serialize_handler = php/ z- _3 o5 O7 u+ j4 i( r
  1391. : G* T3 Z0 L. J
  1392. ; Defines the probability that the 'garbage collection' process is started
    ; I/ ]& u4 }0 [
  1393. ; on every session initialization. The probability is calculated by using, d/ v7 s0 y- J6 |- q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 I. Z- K( ~! J% s2 w
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 19 Y, u7 H7 ?) P& f. V
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& I" I+ u% Z% _0 x
  1397. ; the gc will run on any give request.- V1 j  N9 i4 ?! J
  1398. ; Default Value: 1, k( T% i, V/ H% V( s8 u
  1399. ; Development Value: 1
    - [( V/ x  C6 [6 F2 [9 g
  1400. ; Production Value: 1
    $ c& p0 _( }2 i, y- w
  1401. ; http://php.net/session.gc-probability
    7 C! W: E% ~8 D% p
  1402. session.gc_probability = 1
    % ~/ }9 T% z: i. n$ m  L+ v& q5 M

  1403. 5 F" K+ V- H: ?
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    - d: U5 x8 t: I5 I% _( _
  1405. ; session initialization. The probability is calculated by using the following equation:
    6 G9 r% S- m2 a- V) S6 b  z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' V6 ~, e- s4 C2 M
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1# r0 F# I1 S0 @) ^( w9 }( g
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & a  R) S% C; L. z+ ]
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 l7 P- w0 x' C. f1 V6 l! [& @
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 R& o9 C( ~- }3 |4 s
  1411. ; this is a more efficient approach.) d. l& o: w. K
  1412. ; Default Value: 1003 o; @7 d3 {# y
  1413. ; Development Value: 1000* A% j2 F+ R# O: z" V/ u
  1414. ; Production Value: 1000
    . F5 {7 h, `8 B+ M) G) Q! P
  1415. ; http://php.net/session.gc-divisor; b* O' B6 q$ G5 F8 M7 |5 L5 n
  1416. session.gc_divisor = 10000 [4 W6 k/ ~4 E! T; f4 S/ h# ?
  1417. ( ]) t( O2 E! C1 x9 Z8 O0 q" h8 @3 ?, ?
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 a+ F6 g# o6 K. W1 ?
  1419. ; cleaned up by the garbage collection process.* F* d8 c/ J4 c3 W
  1420. ; http://php.net/session.gc-maxlifetime
    # F" E6 j8 C% X# ~1 I9 _# o
  1421. session.gc_maxlifetime = 1440
    * E5 }7 ]# V5 t7 q! ^

  1422. 8 J9 `+ y: v3 ^" Y2 ?& p* b1 e
  1423. ; NOTE: If you are using the subdirectory option for storing session files8 w" {/ d* h. b3 \. C
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ' }$ a) q3 V. o  P" p$ R
  1425. ;       happen automatically.  You will need to do your own garbage7 V; Q% i# i/ }5 k) O0 h
  1426. ;       collection through a shell script, cron entry, or some other method.
    2 t! G* u% m4 X9 x+ v) }; `
  1427. ;       For example, the following script would is the equivalent of
    9 j& J7 ]) e/ B6 L0 b* V' A; ^
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 z- W0 ~- R& d' z6 G0 p
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : ?* j$ U3 a4 a' P

  1430. # x6 Z" Q, |% @
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / U# W0 M4 C, j* R
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    9 ?# X% p5 o! k1 {8 |' M
  1433. ; considered as valid.5 e2 q6 P# k  L5 w0 y
  1434. ; http://php.net/session.referer-check2 P3 Y- x4 O: \; q- v9 p$ j
  1435. session.referer_check =
    * a6 n+ a5 G  X- ~, h2 \
  1436. + X9 Y: Q, W/ q6 K- W/ l: N; ~+ {. u
  1437. ; How many bytes to read from the file.
    ) g1 ~, ^7 ^$ F/ L
  1438. ; http://php.net/session.entropy-length
    # C' s# b: a2 G$ `: ?  i" @
  1439. ;session.entropy_length = 32) ~7 G8 O1 ^# j" c/ k

  1440. - S* d; {  V9 }, [$ ~5 @
  1441. ; Specified here to create the session id.
    : k" J! i! W6 o2 a
  1442. ; http://php.net/session.entropy-file8 d: M7 j' ^* L/ i5 L
  1443. ; Defaults to /dev/urandom
    & Y& m; u) [) J5 j
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! ~: q' J. {5 ^+ w
  1445. ; If neither are found at compile time, the default is no entropy file.
    / s1 }* n6 K8 ~2 p
  1446. ; On windows, setting the entropy_length setting will activate the
    & U9 Y4 {; {& ~& i, E- R1 Q0 a3 A
  1447. ; Windows random source (using the CryptoAPI)( E5 Y( I7 }: I* m- U7 Y/ G
  1448. ;session.entropy_file = /dev/urandom( N$ h% ~. t' c5 c0 X( f
  1449. 3 D7 D8 z7 `9 B' |! W
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ! P( P$ m. b. @( G
  1451. ; or leave this empty to avoid sending anti-caching headers.! ^. v/ s7 E$ E/ ~2 V) Y; b% {4 x
  1452. ; http://php.net/session.cache-limiter4 l7 _% q# n0 n2 E7 s
  1453. session.cache_limiter = nocache
    0 v0 I* f+ p' Q! o5 d+ j
  1454. 8 f- ?+ p1 I( @3 H( k! }
  1455. ; Document expires after n minutes.2 R% T5 |  O: a9 `8 m
  1456. ; http://php.net/session.cache-expire
    * ?  U- t5 M0 ~* l) I
  1457. session.cache_expire = 180
    ( E! p( V; N8 V* r1 s

  1458. ! U- k& W+ R+ I  y
  1459. ; trans sid support is disabled by default.
    ) N* B) v7 [5 l1 q0 }
  1460. ; Use of trans sid may risk your users' security.3 I2 l- U8 I) D: v4 T5 J* m
  1461. ; Use this option with caution.
    1 Y9 b0 k2 \* v8 @  U9 }, f' x
  1462. ; - User may send URL contains active session ID
    8 n, f  L; ]  @1 X
  1463. ;   to other person via. email/irc/etc.
    6 c* f" a! U/ u! B  J
  1464. ; - URL that contains active session ID may be stored
    + X' h! q3 i* W# }4 ?' I
  1465. ;   in publicly accessible computer.3 {( Q5 ^8 [/ e, d7 T9 N; D, r
  1466. ; - User may access your site with the same session ID
    0 b" R9 k. W# D5 Y! k- n4 A
  1467. ;   always using URL stored in browser's history or bookmarks." g4 e: ^) t; V# b1 ?% P: z
  1468. ; http://php.net/session.use-trans-sid
    , t3 W: y! D& I! Q
  1469. session.use_trans_sid = 0
    9 d4 T* E  K1 z. a; m# z

  1470. / ?; Q" [8 _% u
  1471. ; Select a hash function for use in generating session ids.
    % E- d" G( I8 G( X9 V
  1472. ; Possible Values
    * f4 \; H  v* n7 u6 Z6 X% i
  1473. ;   0  (MD5 128 bits). k$ D4 i6 U! ^- o/ t4 E# R
  1474. ;   1  (SHA-1 160 bits)+ z9 A% v. i- p2 ?5 ?+ n) F
  1475. ; This option may also be set to the name of any hash function supported by
    ( X* r) |+ G) r! F* e4 c
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()2 {$ X3 O' f4 U, ]# I# m7 v& L8 G
  1477. ; function.7 I4 ?5 E" a) B; c
  1478. ; http://php.net/session.hash-function
    9 R7 l  R) v% }
  1479. session.hash_function = 0$ K1 g% Z  X7 i! `6 B: K! n+ ]
  1480. ( s. p( S6 U' e: E' Z/ n4 N
  1481. ; Define how many bits are stored in each character when converting
    ( P" o8 a2 }: J' q1 `: i
  1482. ; the binary hash data to something readable.
    1 V, X2 t7 ]9 T+ n6 J
  1483. ; Possible values:
    6 C- e6 [+ k- P; r; b2 X
  1484. ;   4  (4 bits: 0-9, a-f)- o# l9 P9 v  {8 {
  1485. ;   5  (5 bits: 0-9, a-v)
    & ?( w' l6 S& v  U  }; _
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' T( t4 g4 i& Z: A; I% s
  1487. ; Default Value: 4
    7 I# h! d" R! j: b/ L# p
  1488. ; Development Value: 5+ f+ [/ ^/ h. \' r2 Z) |
  1489. ; Production Value: 5- K( ?' K5 B; [
  1490. ; http://php.net/session.hash-bits-per-character- X; W0 u% u! }/ j8 G
  1491. session.hash_bits_per_character = 5: m( H: X" a& E1 Q

  1492. ! \0 W$ ~* C, M6 w# v
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * T4 j! z9 h0 w& \% L
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    5 K2 d( l  m9 o$ o
  1495. ; add a hidden <input> field with the info which is otherwise appended6 K2 ?! F# t3 Y( ?  G! O
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 F1 S6 L! T9 g
  1497. ; Note that all valid entries require a "=", even if no value follows.9 k4 S( L6 \: }+ _2 E$ X
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- S! e  w% s0 }  k- h/ {( V
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ Q$ S) u. A; }# F" f
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 f) x. y( @+ K6 n7 h; i5 V
  1501. ; http://php.net/url-rewriter.tags
    / T" Z1 E/ F, @* v/ s) D
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- i" V3 u* Z2 V7 N

  1503. # l5 \" Q  q4 z( Y
  1504. ; Enable upload progress tracking in $_SESSION
    0 r" n+ _2 @/ q1 r* q' V) t
  1505. ; Default Value: On8 I% `, V4 K0 z
  1506. ; Development Value: On* e& x, ?4 f$ U9 F2 D. q% a7 [9 m. @
  1507. ; Production Value: On
    ( N/ Q. L2 C9 ~, ?" \! n
  1508. ; http://php.net/session.upload-progress.enabled
    ; p  P5 Z9 S( R$ I4 Z
  1509. ;session.upload_progress.enabled = On  w/ H9 N: D) ]2 q

  1510. % t. @+ @8 [3 _1 J1 |+ ]
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ' B, b8 C1 m1 Y$ a$ L+ u1 y
  1512. ; (i.e. upload completed).+ K' p" @) I: d" a, e8 _: c+ d  L
  1513. ; Default Value: On. @7 F& {5 H4 [2 ^; w: p. V9 e) ?3 c
  1514. ; Development Value: On
    7 I' c# e$ t* Q
  1515. ; Production Value: On
    ' i( m: U! M+ n: K/ @. p
  1516. ; http://php.net/session.upload-progress.cleanup1 k' l- M+ J) w, o: n
  1517. ;session.upload_progress.cleanup = On
    6 t0 A1 p; Y4 i; A8 ?5 \( C/ {
  1518. ! ?+ t7 A( h) m8 X% _
  1519. ; A prefix used for the upload progress key in $_SESSION& I  ^8 t6 c, h$ f
  1520. ; Default Value: "upload_progress_"
    , a/ v& b5 [" m6 H2 v
  1521. ; Development Value: "upload_progress_"
    7 |4 u7 ~/ t) c, u5 n
  1522. ; Production Value: "upload_progress_"
    1 @, b+ @( y# t
  1523. ; http://php.net/session.upload-progress.prefix
    . N0 G% z9 @; I, S, z' g1 Q
  1524. ;session.upload_progress.prefix = "upload_progress_"' e8 q- V" C. N3 J9 b6 D

  1525. 4 Z( B7 C5 c9 R: c; k* V# ^
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    - m, N! ~& J5 C
  1527. ; containing the upload progress information/ @* D& k* m/ b# R# i
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", Z7 h0 S  x, @* ^* Z* _. m  K4 ?
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% p" |& e8 {" ?2 ^2 L
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 {# g" i; X' M- |' r. F6 {! a! W
  1531. ; http://php.net/session.upload-progress.name5 A. c( V% o) |$ {
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"" e  k7 e3 _6 s! \+ X% k' p

  1533. % l( C4 m# U% A9 U
  1534. ; How frequently the upload progress should be updated.
    % [1 C9 n* _+ K1 g
  1535. ; Given either in percentages (per-file), or in bytes  k  `5 O% ~1 K2 U) M' I
  1536. ; Default Value: "1%"% j* [! K/ T3 N: X& b9 X; S2 e+ a
  1537. ; Development Value: "1%"8 `& O2 A, D/ h4 I
  1538. ; Production Value: "1%". }6 a5 ]0 Z8 f+ A: U
  1539. ; http://php.net/session.upload-progress.freq2 q: i" y8 n, E  ]3 W2 w
  1540. ;session.upload_progress.freq =  "1%": i9 b3 D' Z4 Z2 }5 i( X
  1541. - o. U' _1 a9 L) c$ {
  1542. ; The minimum delay between updates, in seconds
    ( w; ~6 J" M' w3 a" }
  1543. ; Default Value: 1
    & @- N! \# G7 i1 P; ^' a) I2 {
  1544. ; Development Value: 1$ C; S$ `4 m  N9 q
  1545. ; Production Value: 1
      p1 i' y+ n5 m5 m( H/ I, ]5 K
  1546. ; http://php.net/session.upload-progress.min-freq
    7 r3 S" [' v' c7 y/ P; s. G1 f: D
  1547. ;session.upload_progress.min_freq = "1"
    2 y) t. _6 A1 h: B

  1548. ' F7 P% K" a5 q0 H$ s
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 `1 x& Q6 F% h/ \
  1550. ; http://php.net/session.lazy-write4 ]& l9 j8 a! y) z" g
  1551. ;session.lazy_write = On
    ( g, A+ P$ x' l
  1552. & J$ n" i" V" w0 V! k) D0 z6 x
  1553. [Assertion]! v' k; q$ `% D  i' q
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)' w5 O) U  U! \0 ]4 ?% u& ?% ?
  1555. ; -1: Do not compile at all
    ) T7 b. c5 Z7 E5 m
  1556. ;  0: Jump over assertion at run-time  I! G- k4 D1 m1 N5 Q  F; P4 [# K
  1557. ;  1: Execute assertions5 o1 \4 A2 _* H( |9 H
  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)6 L: f0 Y7 d8 |
  1559. ; Default Value: 1, y) d" Y5 G+ z3 r5 }9 @
  1560. ; Development Value: 1* L; o5 {, {! m# n" I
  1561. ; Production Value: -1/ j) i' E$ v: t1 z; c( n2 k
  1562. ; http://php.net/zend.assertions! I$ w% K# @+ z6 \. R1 Y' z3 @+ x* x
  1563. zend.assertions = -1: ~$ U' x1 @; j! g1 @
  1564. ! p+ T2 X9 d! F$ Y
  1565. ; Assert(expr); active by default.
    " s5 f) m- K& i) o2 Y8 `
  1566. ; http://php.net/assert.active0 C& Z* K0 o% G
  1567. ;assert.active = On
    ' D! t4 t# ^+ N" H. w- P8 Z

  1568. , n' v( c& T1 Y; }
  1569. ; Throw an AssertationException on failed assertions
    ( i& K% ~! {5 O# A3 @( P$ v# _
  1570. ; http://php.net/assert.exception
    ' W, K/ i9 a4 j' a$ |+ @6 t
  1571. ;assert.exception = On: T. ^# W% G7 J* ^) @
  1572. % l0 v; \, Q3 E/ A
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    . w* A. ?+ M; ~. o' e1 c
  1574. ; http://php.net/assert.warning
    . O8 y! ^  x9 i4 O% V$ d* g& I
  1575. ;assert.warning = On
    2 t  p9 T* v/ a- ?
  1576. 0 ?1 {' S8 P% \+ U- p
  1577. ; Don't bail out by default.
    / ~5 A$ @/ |4 B" }' x3 x* b
  1578. ; http://php.net/assert.bail
    7 V9 F+ P; A* g
  1579. ;assert.bail = Off7 F- O( i( F: ~/ l) Y9 I
  1580. - a+ y7 U- [3 u. u2 _. U
  1581. ; User-function to be called if an assertion fails.
    ; [! N, A$ ^* B6 H5 S) M: N5 E. R" P
  1582. ; http://php.net/assert.callback- A7 H( L; ~4 U* _6 ]
  1583. ;assert.callback = 0$ S2 x6 i1 r: g( R) E5 o3 W

  1584. 3 v8 ~) Z6 x; a2 Q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want" R4 ]5 x, x+ T. \& d
  1586. ; error_reporting(0) around the eval().+ i$ F+ F! h& z% h* r4 K% k6 B
  1587. ; http://php.net/assert.quiet-eval
    ) i  G  T2 a* g1 d5 o% t; N" m
  1588. ;assert.quiet_eval = 02 R' [+ }' p5 p. ]' D  j2 s

  1589. ) Y6 ^' a% v9 G" w, d/ O
  1590. [COM]
    ! a: J4 u0 q' U5 b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % Z3 o) Z3 e4 o- O/ D1 H, W5 {: s$ c
  1592. ; http://php.net/com.typelib-file
      q+ S0 W7 m0 i/ O+ q$ d+ L: V
  1593. ;com.typelib_file =8 D+ ]6 f: U7 B

  1594. 8 A8 \* I! }$ b& r6 z
  1595. ; allow Distributed-COM calls: n% v7 J+ O% g5 Z' G! T, @* M% @
  1596. ; http://php.net/com.allow-dcom' a+ V9 \0 A! ^3 n
  1597. ;com.allow_dcom = true3 E7 P* @- h7 |3 c6 C, {
  1598. 0 m. G" r2 y5 N, z
  1599. ; autoregister constants of a components typlib on com_load()
    5 M! i9 k- V/ y8 Q
  1600. ; http://php.net/com.autoregister-typelib: z* q7 u* W! H; Q
  1601. ;com.autoregister_typelib = true8 ]: ]5 N$ C: X4 v

  1602. % ]8 Z3 P+ d% q
  1603. ; register constants casesensitive
    ! g' }6 J% h" M" ?5 v* x: J
  1604. ; http://php.net/com.autoregister-casesensitive$ _/ R: W% A8 K: }
  1605. ;com.autoregister_casesensitive = false
    8 j1 U; q* [0 P- y' t" A2 G" i

  1606. 7 {2 S; m  H0 P% l
  1607. ; show warnings on duplicate constant registrations9 }# g+ q- o( [& f0 Z) p' f; e" z
  1608. ; http://php.net/com.autoregister-verbose7 N7 D/ v/ H6 a# L5 E- p. }" \
  1609. ;com.autoregister_verbose = true! i" T# U$ L# \: u. b% k8 \0 j9 j

  1610.   S. ]+ r1 A3 _$ r* o: i& ?
  1611. ; The default character set code-page to use when passing strings to and from COM objects.4 o+ R2 o, l( F' e
  1612. ; Default: system ANSI code page
    3 }0 P" i; l/ S
  1613. ;com.code_page=3 d7 `& q$ U5 R
  1614. 2 m: t+ Y0 U$ Q" Z6 ~" Q  ]. D9 J6 x4 t2 e
  1615. [mbstring]
    9 L3 w; S, S3 [* U& f9 ^/ \" v- u
  1616. ; language for internal character representation.
    5 r# Q8 u2 K/ o" |5 n6 o! H4 {6 A
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ( O! s* H" v2 W5 ?" V
  1618. ; http://php.net/mbstring.language
    1 {- g. `* V! H, b
  1619. ;mbstring.language = Japanese4 S) v0 t/ `1 y) r% I
  1620. 9 E; z7 P6 w  p# [$ D
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.! ^# G/ E/ q( o4 M+ C
  1622. ; internal/script encoding.8 v9 ?! o9 o: t, X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & ~1 V" g; B. V2 F; o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 Z7 \" N3 {3 W( J
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 s4 K, Q2 M$ [+ @
  1626. ;mbstring.internal_encoding =
    2 r. E% K: N$ r! N

  1627. 1 I1 T# F# d6 @+ N2 s
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 o1 G" z$ t% a8 ^- x9 G) p- T7 X# x
  1629. ; http input encoding.5 r# f  k( O5 _# k
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 w* }0 C) f( C; R) k5 L3 A2 _! v( k
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + `9 }4 h- \4 {) R
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! }1 A0 B4 H7 ?! m) A) c. P. p- _
  1633. ; http://php.net/mbstring.http-input; S  C6 l2 f, C/ d
  1634. ;mbstring.http_input =
    - ]8 O+ D" V; Z9 r+ p" k* M

  1635. 8 J5 p- M1 q* f( E: M* y! y8 ?
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # r% q3 X) z' l7 D2 p. o. S
  1637. ; http output encoding.$ W& I1 O! c2 F" F; e5 P
  1638. ; mb_output_handler must be registered as output buffer to function.  G1 H. q2 W0 k# `- D; S
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# D; u/ J$ I9 j. L' \$ g; t
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 c# f7 m) _9 [8 _
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    , j5 ?/ I& J, s4 C$ }7 Q
  1642. ; otherwise output encoding conversion cannot be performed.
    ! Z& g% }2 F! N8 A. v
  1643. ; http://php.net/mbstring.http-output; ~% u; D1 f, e
  1644. ;mbstring.http_output =
    % Z' p: G& S- T+ ?
  1645. - k8 w: R& Q/ \
  1646. ; enable automatic encoding translation according to
    6 z$ Y* U& F2 ~  h$ J# a
  1647. ; mbstring.internal_encoding setting. Input chars are
    5 i; i. \% z5 ~3 I& I
  1648. ; converted to internal encoding by setting this to On.
    8 `( ]4 L6 Z" C
  1649. ; Note: Do _not_ use automatic encoding translation for* e0 `$ ~" k+ C/ I# `! |2 q
  1650. ;       portable libs/applications.( o  a" q; Q7 O5 S
  1651. ; http://php.net/mbstring.encoding-translation
    : i$ x, y5 X! N* `
  1652. ;mbstring.encoding_translation = Off
    5 v- d. X: \# ^& G& A# z( M

  1653. % j1 ?& D: I6 p9 c1 l6 N
  1654. ; automatic encoding detection order.; S& T6 M& k4 K" O+ ]; T
  1655. ; "auto" detect order is changed according to mbstring.language8 Q# D0 i( I$ Y5 G
  1656. ; http://php.net/mbstring.detect-order2 L3 j! i- N: C0 ?0 o
  1657. ;mbstring.detect_order = auto4 r- K. W8 V  O
  1658. ; s# S) F$ R0 ]/ ?) i, d  G
  1659. ; substitute_character used when character cannot be converted
      k) ?; u  B& _" G. v/ |
  1660. ; one from another
    7 e. ~  e% R5 b; l1 _& Z
  1661. ; http://php.net/mbstring.substitute-character
    ) l3 r5 @  y; H; M! M& n
  1662. ;mbstring.substitute_character = none: x3 j) \% d4 Z7 L7 k
  1663. 9 h0 U4 x$ J  f% g9 \& ~2 _7 l6 ~  ?
  1664. ; overload(replace) single byte functions by mbstring functions.
    % m( ~1 @* M" W3 t& ]: y
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , T* `& Z+ R, B/ j6 q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ ~4 j& W% t4 y6 W
  1667. ; For example, 7 for overload everything.
    3 Q  C9 n' v& C6 n5 E% `' f0 N
  1668. ; 0: No overload; f" n% @5 q/ q2 U3 t
  1669. ; 1: Overload mail() function' H9 G' J1 e: I$ Z
  1670. ; 2: Overload str*() functions$ U* }! V2 L2 h$ E  \" R6 f& L
  1671. ; 4: Overload ereg*() functions
    , s. D' u  l% ~
  1672. ; http://php.net/mbstring.func-overload
    + k! _, g% \' I
  1673. ;mbstring.func_overload = 0/ H& Z' O6 ?- [4 W, C# s( M
  1674. 2 r! N; _& {+ k6 n; l
  1675. ; enable strict encoding detection.* o( W, g, c$ y- D" p7 j- S4 G
  1676. ; Default: Off
    0 t/ @  Z' m5 Q8 T2 T1 s- a
  1677. ;mbstring.strict_detection = On
    ! i  X. J# {9 ~' a' b7 l& J
  1678. 9 k3 d; t, d( f$ Q$ b# q! w8 L3 ]+ Q
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(). ~/ m) Z7 c% k1 @; ^8 E) t8 h* M" l
  1680. ; is activated.
    ) @+ A7 Z" X+ g7 R' q) e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! {4 i: H" ~6 J( b. G  Q
  1682. ;mbstring.http_output_conv_mimetype=# Z7 e4 D) b" K
  1683. * V7 J3 w5 T6 `
  1684. [gd]3 T$ t# w; s3 Y+ ]- ~
  1685. ; Tell the jpeg decode to ignore warnings and try to create  d2 q  N0 P9 p( L
  1686. ; a gd image. The warning will then be displayed as notices9 I* P% T0 C3 p" Y) s+ ]- p
  1687. ; disabled by default
    0 P( \" M8 {* K8 o* a: V
  1688. ; http://php.net/gd.jpeg-ignore-warning- h4 p) J/ [9 i
  1689. ;gd.jpeg_ignore_warning = 0
    * z8 g, q; B- o# g
  1690. 8 n4 I/ K+ |* i* r; w; ~
  1691. [exif]1 {* v6 M" b4 u" y
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.6 |5 D7 T4 p8 i, m
  1693. ; With mbstring support this will automatically be converted into the encoding  f+ {$ p1 d7 i  T3 G! Y% Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    4 C: v" t8 m( S7 D
  1695. ; is used. For the decode settings you can distinguish between motorola and' w- t2 K/ p2 K7 I# P; @4 O1 q) T
  1696. ; intel byte order. A decode setting cannot be empty., @2 E$ T  m9 R
  1697. ; http://php.net/exif.encode-unicode
    1 l2 d! i, z* g1 U  S- Z
  1698. ;exif.encode_unicode = ISO-8859-15
    4 v) q/ D9 R3 j" b% z, r; E! j
  1699. ( ]! o" r8 R! u) {
  1700. ; http://php.net/exif.decode-unicode-motorola
    + [* d  {" M( w) v8 G
  1701. ;exif.decode_unicode_motorola = UCS-2BE  d& A" _: ~5 M

  1702. * p* Z' Q9 d" d; o4 j% R
  1703. ; http://php.net/exif.decode-unicode-intel5 L4 p4 D2 A  g0 @; ~% C5 T0 _
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    0 C7 T0 [$ g4 M, a; N0 F

  1705. ; c( w: R' Y! d4 Y" T8 m+ Q
  1706. ; http://php.net/exif.encode-jis
    $ t, S. j& x- j$ `# L
  1707. ;exif.encode_jis =; h% Y. x' Z# w7 H2 R

  1708.   v! K% H! i. }1 G2 c2 s2 P6 X
  1709. ; http://php.net/exif.decode-jis-motorola
    7 S, D/ Z; D8 E) k3 ?
  1710. ;exif.decode_jis_motorola = JIS
    ! K9 U+ L3 p3 j5 x
  1711. . z) S& E# ^" F# R- Y
  1712. ; http://php.net/exif.decode-jis-intel4 w- A* ^3 `* i3 i9 {+ t4 i7 [
  1713. ;exif.decode_jis_intel    = JIS' D" m! v# T: d" d

  1714. 5 \9 f" e$ p" y/ I& Q+ K
  1715. [Tidy]& x( ^: b" n9 Z- [$ F1 K' J; _
  1716. ; The path to a default tidy configuration file to use when using tidy% l3 V9 f+ ^0 X
  1717. ; http://php.net/tidy.default-config
    0 r2 m( o2 @1 i) E. ~1 I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    * E) q  F. Y5 J- v  J
  1719. 3 i' r9 W7 \. f% w/ f
  1720. ; Should tidy clean and repair output automatically?" v) k; r$ p# }4 H% Q/ I* K  E/ w# t
  1721. ; WARNING: Do not use this option if you are generating non-html content
      C. z  X. A3 ^- b2 m
  1722. ; such as dynamic images
    7 ^* i9 x; n4 ]2 Z& i5 t) Q( P" E
  1723. ; http://php.net/tidy.clean-output6 c% r, j# B9 E! N/ |
  1724. tidy.clean_output = Off
    : }" P' p. a- y3 A& Q
  1725. & D! l' U0 S7 Q" G* X+ n
  1726. [soap]
      F2 K7 y. N0 f2 Z. m7 L$ C
  1727. ; Enables or disables WSDL caching feature.
    + w. V: _4 ]: O. B- D: O! U
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ) P3 G7 O" w) r- q, m. z
  1729. soap.wsdl_cache_enabled=1& C1 G+ [8 L4 |) a6 F, @0 _
  1730. # I3 b$ R  }: x6 Q/ l  i3 J& e- f  @$ q% K
  1731. ; Sets the directory name where SOAP extension will put cache files.
    " j5 O' {7 Q( j" X, z" I; J- F6 Y1 G. j
  1732. ; http://php.net/soap.wsdl-cache-dir- G8 u% p9 Y- a: N2 \4 T
  1733. soap.wsdl_cache_dir="/tmp"
    / q+ P, K, p7 ^- v& ?( m

  1734. 4 j, ^/ L7 o# V" W# ^+ y! P
  1735. ; (time to live) Sets the number of second while cached file will be used
    . G& p. c7 |9 S% I" |2 v& I4 c
  1736. ; instead of original one.3 N  Y; c+ R. Q# @! {' T5 x3 P
  1737. ; http://php.net/soap.wsdl-cache-ttl
    & a7 ]0 v( G' X( u$ k1 z
  1738. soap.wsdl_cache_ttl=86400% J/ E# X( S7 k& G( ]2 l0 ]
  1739. ' O9 B+ D/ |' D! R6 ~
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)1 z4 W5 b( c& N, W1 H: f% u$ `: a
  1741. soap.wsdl_cache_limit = 5
    & E0 f1 x% z/ }7 H' R$ Y; ~; W. A

  1742. 2 J; S( D; ^* i  u, D
  1743. [sysvshm]
    ( G  d4 k3 Z; O" N  e( v$ ?
  1744. ; A default size of the shared memory segment: e0 P& H9 }0 e! j
  1745. ;sysvshm.init_mem = 10000- U  b0 I2 @8 ?
  1746. 5 ?" \0 E" t9 q2 ~2 \8 M
  1747. [ldap]& r9 ~$ {0 }( s' v0 w, P% t1 F
  1748. ; Sets the maximum number of open links or -1 for unlimited.' c: r  a7 {7 P# N! [8 G
  1749. ldap.max_links = -1& w: d" B5 b. r, X: i  v  _

  1750. 5 F1 Z* j9 c" G7 e1 r
  1751. [mcrypt]
    0 i' Q' y8 b3 i
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    " }. G6 b& K; @2 a% _8 j
  1753. : B: a* t+ R6 b
  1754. ; Directory where to load mcrypt algorithms; J0 o+ r+ `7 e' b% R
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 S7 H1 e% j# q( b7 f6 K7 H, D
  1756. ;mcrypt.algorithms_dir=( f; K$ b  Y( s( `* e6 t0 D
  1757. / {  c) q9 y+ N
  1758. ; Directory where to load mcrypt modes! g& C4 f: H) h! G# a: B
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), s$ k% O$ f" _6 q) b
  1760. ;mcrypt.modes_dir=
    8 p/ U5 k! m& u; U

  1761. + ?; i- |  ~. u
  1762. [dba]: g% E0 z# p9 l" N  t
  1763. ;dba.default_handler=+ D: I% R8 l/ g# r  b
  1764. 0 q! N- m4 D/ u1 l9 F% M
  1765. [opcache]
    5 c8 f2 X1 M( q# ^, w& Z: f" C
  1766. ; Determines if Zend OPCache is enabled
    ) P6 E9 R1 v7 q3 T3 X; _
  1767. ;opcache.enable=0( W  C7 \5 a7 ~4 d
  1768. 8 y8 e" J+ y- L. t8 e) \
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ) x7 {) y* i# [. V8 p( F& Y# N
  1770. ;opcache.enable_cli=0, Z' _, A7 Z5 Q8 [# V- o7 ?' s

  1771. ) l4 `' T3 U' h. f$ u
  1772. ; The OPcache shared memory storage size.
    6 }  i. G: t6 ~: T. {
  1773. ;opcache.memory_consumption=64. x5 R" W1 ^" N9 [+ p3 _
  1774. . j9 |1 ]) z' W
  1775. ; The amount of memory for interned strings in Mbytes.
    5 |$ P% H' o3 x( p$ k
  1776. ;opcache.interned_strings_buffer=4
      ?( H$ n& @+ {# P$ v

  1777. 1 ?. T7 X; Z4 E5 T- x1 [$ w
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.4 y5 L( h% x+ h! m3 u' E
  1779. ; Only numbers between 200 and 1000000 are allowed.
    4 q) a$ g1 W0 C+ y& |  s' S
  1780. ;opcache.max_accelerated_files=2000
    - t) O  L& [5 r

  1781. 3 z1 m/ d# _1 s' ?+ p: }
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    4 U9 o! r9 m% Q
  1783. ;opcache.max_wasted_percentage=5
    / _; [# L: i7 E0 Q: m+ d

  1784. 1 d' _  a& t* l( O
  1785. ; When this directive is enabled, the OPcache appends the current working; G$ T( I% ^# }
  1786. ; directory to the script key, thus eliminating possible collisions between
    * {5 k, C; L" D+ C1 k0 H
  1787. ; files with the same name (basename). Disabling the directive improves
    : l, }" v4 z; E: Q
  1788. ; performance, but may break existing applications.# V* d" _: j0 Y+ W  ]9 [) g
  1789. ;opcache.use_cwd=1
    ) p1 M" M5 f' G

  1790. 2 Y- k* H7 f9 E& h8 M- t2 H# r6 p
  1791. ; When disabled, you must reset the OPcache manually or restart the
    2 W! Q7 _4 G) Y# U% n. u4 K
  1792. ; webserver for changes to the filesystem to take effect.1 E9 }* X/ \0 J3 P. f* h
  1793. ;opcache.validate_timestamps=1& I& c& z% `" @+ S
  1794. + n( }! V% S4 G" T% L
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) |+ o+ P2 A- r3 s9 h' l
  1796. ; memory storage allocation. ("1" means validate once per second, but only; W3 n" p" Z1 x% j( D" I, G
  1797. ; once per request. "0" means always validate)% s! r$ d: Y( S3 m
  1798. ;opcache.revalidate_freq=2
      ?' W! p$ l- f  U

  1799. + F, J- O$ ~, X/ M
  1800. ; Enables or disables file search in include_path optimization  @/ v" I0 x9 [9 W" z3 o# ?* I
  1801. ;opcache.revalidate_path=0
    * O- H/ K+ g7 m! K
  1802. ; R- I6 x/ k! T' A0 v. H2 M
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ' x0 S- h% k6 A$ N" j' c4 L
  1804. ; size of the optimized code.
    # U: f% p& x' N
  1805. ;opcache.save_comments=1
    ; a$ p; t0 m  Z, H
  1806. 3 G4 H! S! c" B. U
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    1 O7 t& n3 B0 F5 t: R
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.  o" f; A: t& U; J' o* P
  1809. ;opcache.fast_shutdown=0; h/ i; S; E- G5 }; g' a
  1810. * b" @+ _8 c% q% d
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    . M+ y* t; R( w
  1812. ;opcache.enable_file_override=0# n& W& b3 p+ G5 w' y9 d

  1813. 4 ~5 t. C" [+ c3 Y1 ~* A5 k: h
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! P" e3 p" i( _/ k+ e2 {
  1815. ; passes% T- }0 p6 a! k# U( S  W* W
  1816. ;opcache.optimization_level=0xffffffff  ^0 G* r  Q. T. t
  1817. 7 j1 ^; b' F! R" k# f$ l
  1818. ;opcache.inherited_hack=1
    9 Y8 Q" N9 a# ?
  1819. ;opcache.dups_fix=0
    " j6 e* h& m- W5 m9 C

  1820. - p9 y5 \" G8 ^6 x3 I3 t) x7 x  r, o
  1821. ; The location of the OPcache blacklist file (wildcards allowed).2 E" N; H1 u8 r, I/ e% v
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 V# \2 @2 Q8 l3 \8 e6 Z8 K4 B
  1823. ; that should not be accelerated. The file format is to add each filename
    ' I7 R2 A6 t/ M/ w6 c9 `
  1824. ; to a new line. The filename may be a full path or just a file prefix- K& L7 a- y  i4 s1 ~/ }, A
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! h, v1 B! W3 k3 E( \9 J8 s
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    & ^9 K# b$ n$ K$ @5 i. _* K
  1827. ;opcache.blacklist_filename=) M4 S3 k& E! W- s( J

  1828.   k! I( [, v4 p! Y
  1829. ; Allows exclusion of large files from being cached. By default all files  p' p" x- P( k/ a
  1830. ; are cached.) M) F  ~! r# ?: D1 G
  1831. ;opcache.max_file_size=0. V3 M, B/ X2 j/ j9 p

  1832. + {8 O1 e" ~5 g  q6 {
  1833. ; Check the cache checksum each N requests.
    ; Z- M8 Z1 {* a4 g+ Q
  1834. ; The default value of "0" means that the checks are disabled.4 M! V6 q8 S- _: i
  1835. ;opcache.consistency_checks=0
    7 e9 m# g- X* y% m2 ?/ m0 p

  1836. 0 }* r5 M$ J  C8 b1 z9 P
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    " {! |# q8 D: K6 |
  1838. ; is not being accessed.# T  j9 }8 n9 \7 \: ^
  1839. ;opcache.force_restart_timeout=180
    1 x4 f, S0 O, E( B7 H3 U
  1840. 4 O$ Z: }& a: W0 m$ M* W0 }
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    3 M* r* [) \0 w1 e; z1 B# C
  1842. ;opcache.error_log=3 y* T3 K- L% `$ h  q* k1 I
  1843. - ?3 x. Q* Y# \) [7 @; h
  1844. ; All OPcache errors go to the Web server log.
    & N% O  F& _; U& L
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 @7 E. [, ?% T. S4 V, H8 e5 I
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 x$ ?+ u' S, Q! E6 P
  1847. ; debug messages (level 4).
    3 U! \4 g# Y" }5 k
  1848. ;opcache.log_verbosity_level=1
    2 p3 \, N9 _4 g) h

  1849. ) [! g; X  D8 X' z# R" `
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: K7 \9 }' F% ^) @! O8 s- S
  1851. ;opcache.preferred_memory_model=
    $ p0 e: Y# x8 h8 T* L
  1852. ( h+ ]6 h0 Z4 c. }1 Z5 _
  1853. ; Protect the shared memory from unexpected writing during script execution.- w3 v: G: J7 h$ r3 {# U
  1854. ; Useful for internal debugging only.
    + B# z9 P- Y7 J
  1855. ;opcache.protect_memory=0* o! c$ I( M9 H! R1 i! F

  1856. - n% f9 E" F" g0 r5 y6 d  V
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    % u' L% [9 u  P% s) ]4 W
  1858. ; started from specified string. The default "" means no restriction/ ~7 f9 f5 [% k) N- i- C$ m; C, j
  1859. ;opcache.restrict_api=
    & q8 z% ^" A7 j

  1860. ) e3 q" Y+ i6 W) d3 q' P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    $ j# N' i" t8 q: q% c8 R2 L
  1862. ; processes have to map shared memory into the same address space. This
    , U+ @6 i8 z9 O! j2 M
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ R. j) E" U& o+ x" z: m
  1864. ; errors.  H7 o2 e$ d9 j! z. K
  1865. ;opcache.mmap_base=
    ( j) I' B4 ^; F5 a$ e: ^

  1866. ' S2 L6 H% h/ T* y3 x0 O% F& C
  1867. ; Enables and sets the second level cache directory.
    5 |3 D' }7 ]/ @
  1868. ; It should improve performance when SHM memory is full, at server restart or) Y0 z1 N1 x: G; L" o: G  ]* A
  1869. ; SHM reset. The default "" disables file based caching.' W* ~& F, O  g/ ]& ^# m( i& I8 {
  1870. ;opcache.file_cache=
    + L& A0 H9 T' E' P

  1871. . D5 n8 ?6 Y) P4 \4 j" }
  1872. ; Enables or disables opcode caching in shared memory.- e9 f2 i  x$ f0 D- t
  1873. ;opcache.file_cache_only=06 Y8 a; M7 k+ x5 E# H( T) X: [) D$ x
  1874. 8 _% v* I5 V) d* Q0 ^) r
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    , ^9 p8 Y" V, I" j+ K3 ~, F5 d3 V
  1876. ;opcache.file_cache_consistency_checks=1
    ( \  y/ _8 A* w+ j$ D+ B( \

  1877.   p6 f) N" K3 s: a9 L: y
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to! o+ N8 d4 a8 J& ~; H( m5 q% A/ ^
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file* Q% a  F3 x* e3 d( R1 Q
  1880. ; cache is required.
    7 x, Q( i- C. @8 q; \
  1881. ;opcache.file_cache_fallback=1+ ?7 e6 r$ K; n3 \% @, V

  1882. 2 V, d# Q( ~  X5 T  M
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.1 r1 R% G, v6 k7 l
  1884. ; This should improve performance, but requires appropriate OS configuration.
    - |  U1 N. n6 ~: l  U' t
  1885. ;opcache.huge_code_pages=1
    ' @; Z1 ]; h4 z
  1886. . j  K& B1 m: @2 H
  1887. ; Validate cached file permissions.1 C- _* b# |9 u+ m3 P
  1888. ; opcache.validate_permission=0
    6 P5 H  O9 |% s

  1889. ; ~' s$ o6 P& K4 k$ P8 ^
  1890. ; Prevent name collisions in chroot'ed environment.& L; |, k' Y$ g8 F  C- c( H% f" T
  1891. ; opcache.validate_root=0
    , Y" [1 ?0 q0 ^+ U7 f

  1892. ' Q: m6 w/ i/ F4 x! k) [
  1893. [curl]- K, f2 c$ x) f- f4 H
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 s5 i4 q. X1 T8 Z5 e. D* X) \
  1895. ; absolute path.
    2 U, m" S: R: p! f7 w# v
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    8 w1 G; v. t+ P: C
  1897. ; A" }/ Z% [. h
  1898. [openssl]
      h# Q# ~; N- {: f; X3 Y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ) t/ g, R% U- E1 \0 X, D& A
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 S% `6 `" e$ ~% B* a
  1901. ; not specify a value for this directive as PHP will attempt to use the
    - Y1 V) p4 P3 u) h/ A  {9 e
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    / ~# R* t" L' _0 }# G6 o
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 G5 p; P2 Z9 K. d: D1 q4 o
  1904. ; option.1 N: K8 G+ l  I# L
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    & S( I+ k1 @! X  q* ~

  1906. . F; {, f7 ]: P' C' `# q7 M
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    : C, N4 G( R" ~7 X4 q7 m
  1908. ; directory pointed to by openssl.capath is searched for a suitable& T' ~5 n3 q- R- j
  1909. ; certificate. This value must be a correctly hashed certificate directory./ ^& ^! ^6 m) |) k; n
  1910. ; Most users should not specify a value for this directive as PHP will
    0 f0 x) x4 t& Y  W# G
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 Y" `; X" I) E, b" y$ i, i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    8 K7 S# k. f- {. O$ y
  1913. ; SSL stream context option.
    , C% _+ A3 J0 `* w+ P3 L% Y9 C
  1914. ;openssl.capath=6 f- h: I: O/ I( S

  1915. , G' _" n4 i# y- o2 |; R
  1916. ; Local Variables:
    + F% n  L' U# ]8 ?3 _
  1917. ; tab-width: 4
    . A: p" m: W- @( m6 L+ H1 ^0 e
  1918. ; End:
    * o6 i( H: ]7 j0 n4 E
  1919. 5 I+ u, I. M& j" H3 N6 a- v
  1920. ;eaccelerator
    6 J5 j: g+ Q3 ^% Y' _- C, F' S& |

  1921. 9 T6 W( {* n: e( l
  1922. ;ionCube0 A# y$ V4 \1 r* T
  1923. - e+ I: D$ O: |% g' n. a2 W& q8 N
  1924. ;opcache8 _; T8 i8 \* X8 f0 ]

  1925. 0 f) g0 E. K1 ^- U5 A( g5 v% ?
  1926. [Zend ZendGuard Loader]
    7 u) V& e, O1 L5 X3 d
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.6 o5 Z5 z" u6 }* y9 o7 y& z" T2 @( H, r
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so& B# _& Y# h7 X% e8 ^& K# K
  1929. ;zend_loader.enable=1/ m) ?0 s  }4 ^% F# A
  1930. ;zend_loader.disable_licensing=0
    ( l" b, W. s& ]
  1931. ;zend_loader.obfuscation_level_support=3
    : F; H9 M: Q7 f2 M- l6 z8 {
  1932. ;zend_loader.license_path=
    + N; U  s* L+ F0 v3 f6 T3 b9 v

  1933. 7 `2 V+ l$ k0 x& [) E6 Y7 H
  1934. ;xcache2 f' I; G" U. V

  1935. ( E' A2 b! `3 ^, p1 o9 K, l0 u
复制代码
* K- e$ n, m( V/ g/ G' q6 x8 q
2 O2 h4 R! k% A3 G0 H: F& P
2 r% w. m% Z- e) x% a

- ^; |) ?9 L* N( I" h; b- Q4 e; I5 m' i
, J  `7 E' _. F
; L6 s  {: ]& E
PHP5.6版本原始设置( \/ ]% u: e9 T. k/ u

) b5 o0 K( O& M* w
  1. [PHP]7 f3 r) I! e7 B: F4 I& g( Z, V6 L( H
  2. ; x) x. [8 m! Q1 V( t
  3. ;;;;;;;;;;;;;;;;;;;4 v8 t1 k" c+ r
  4. ; About php.ini   ;
    1 z- H& F4 b0 e; W
  5. ;;;;;;;;;;;;;;;;;;;
    , ^! k9 K0 [3 ^* {0 q. k
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ ]9 ~3 c7 G$ ?, `3 h
  7. ; configuring many of the aspects of PHP's behavior.& ?6 }/ M; q8 h, a" N+ z

  8. 0 @6 Y0 i- N* d4 f- z4 Z& v
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # m4 u$ T1 j* r  K' J
  10. ; The following is a summary of its search order:
    4 V3 i9 E2 H/ j# f: z
  11. ; 1. SAPI module specific location.
      B5 A$ x  d5 e+ l& C) |/ I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 c3 g! U4 w- ]
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 b8 n$ S" h* y' c  M
  14. ; 4. Current working directory (except CLI)
    7 |2 F5 X9 }9 z% W7 [
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ' F% d' f  x8 J( V: ]' x
  16. ; (otherwise in Windows)1 e3 B  |' L# x+ v0 m3 r: W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    * \! m4 z- a+ }
  18. ; Windows directory (C:\windows or C:\winnt)2 w) O5 m3 V8 ]! y5 u: D
  19. ; See the PHP docs for more specific information.; K+ U+ ~2 }/ R4 k
  20. ; http://php.net/configuration.file
    $ B) M$ ?* N8 i5 |/ S$ z3 a

  21. $ U1 ^8 P. |4 ]) ?" Z& m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 @6 [9 q' P0 u
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., Q0 b# a2 J: k0 ~' X/ O% R+ `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though- q' \  y3 I( Q+ G. w6 ?0 \
  25. ; they might mean something in the future.
    9 U: m% }* c, }# t6 s" `' D
  26. $ Y; X4 r8 s) J/ H1 l, m6 {
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ' |$ X: l% ~# {" k
  28. ; apply to PHP files in the /www/mysite directory.  Directives( c! Q) u2 R# Y1 ~) D" Y
  29. ; following the section heading [HOST=www.example.com] only apply to6 F+ u6 _# w( \; A' n* U
  30. ; PHP files served from www.example.com.  Directives set in these1 e8 v3 U" H9 x) P4 b& T
  31. ; special sections cannot be overridden by user-defined INI files or: e, A6 C$ J: p( I/ X6 V+ H+ Y$ g1 S, N
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 ^6 b) A( g6 H$ V
  33. ; CGI/FastCGI.$ e3 Y2 C) v- V$ E6 G7 E
  34. ; http://php.net/ini.sections5 k6 ~8 U* o7 i& U2 ^8 e

  35. 6 e2 A+ ?, n# H9 X4 R+ X
  36. ; Directives are specified using the following syntax:
    - _) A1 u. ?: `) k+ I& e. X' h
  37. ; directive = value
    ) k4 G' l1 ?' ?+ i6 a( Y% C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    * o% i( q; W, F2 L
  39. ; Directives are variables used to configure PHP or PHP extensions.& f3 Y9 W# r/ r3 L+ ^* h# r, H9 M) w
  40. ; There is no name validation.  If PHP can't find an expected
    0 D4 x$ D; R, d8 y
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # {" W6 F$ V& l( w! V" k8 ~) v

  42. & X% x6 ~, P, K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) |1 R1 q( |% Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# m% u2 @8 u9 X! b, K6 }
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 _5 J" y, N( R/ \1 }9 p
  46. ; previously set variable or directive (e.g. ${foo})
    ) E- ^7 `' k% \- v
  47. 8 T: N6 d8 p. `; Y: \4 W6 T* F: [4 i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, z8 x5 Z5 X/ ^4 k% J/ S
  49. ; |  bitwise OR! L; u/ W" W, w9 @% N5 e
  50. ; ^  bitwise XOR
    - i8 y* G6 f' H0 [- ?2 Q8 \
  51. ; &  bitwise AND' ~9 K! U1 d; ?, B# c7 q1 T& k
  52. ; ~  bitwise NOT
    7 Z8 W8 D6 F" h& j* R
  53. ; !  boolean NOT
    : w3 T9 i5 z# L2 ]2 ]' j6 T
  54. $ a5 \5 _0 B& H. c( y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    % X, C$ j% E$ L7 M0 `0 q
  56. ; They can be turned off using the values 0, Off, False or No.  x+ t" j3 h8 b( J2 R

  57. 9 V/ Q- D& M& b. r1 X
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 i9 n  C; B0 x% k1 ~3 ~+ T% E0 p
  59. ; sign, or by using the None keyword:6 x. y1 H4 v& H! k( v

  60. * I7 J6 R% v8 c6 c  c% o- C
  61. ;  foo =         ; sets foo to an empty string: Z0 G8 R3 X0 C5 G
  62. ;  foo = None    ; sets foo to an empty string, l1 e, ~/ a0 K5 k* ?: ]* ?
  63. ;  foo = "None"  ; sets foo to the string 'None'/ G' a0 n# X. i0 B1 M$ ^0 T9 E# ^4 k
  64. + n0 N5 B" P; g, T! {6 U
  65. ; If you use constants in your value, and these constants belong to a
    : D. V% ?& R) ?' O$ p6 U2 n+ v6 l; H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / h2 k6 Q4 N3 j, |- I5 @; x
  67. ; you may only use these constants *after* the line that loads the extension.
    8 p% ~# m1 ?3 |1 z: F& c
  68. / C! A) o8 c# a0 O6 _
  69. ;;;;;;;;;;;;;;;;;;;7 G5 |# z/ W+ o
  70. ; About this file ;: @4 \/ R4 _8 k& {! w6 v
  71. ;;;;;;;;;;;;;;;;;;;
    ' b! H1 W( V( Q/ K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / \: w. o- _1 r" W
  73. ; in production environments and one that is recommended to be used in
    * a7 M  [; M( K+ X" K# _
  74. ; development environments.3 H, b$ Z0 B7 l; r& n5 S$ Y3 [

  75. ) ~" S7 ]8 X7 \: |7 r# d# t
  76. ; php.ini-production contains settings which hold security, performance and9 N+ @6 s8 A  G" k
  77. ; best practices at its core. But please be aware, these settings may break
    : d# }" Y* W9 r
  78. ; compatibility with older or less security conscience applications. We8 v1 n. Y+ _  H7 X
  79. ; recommending using the production ini in production and testing environments.1 {7 |2 K+ @" n, E3 b
  80. 4 t- }1 e; Y( c6 K
  81. ; php.ini-development is very similar to its production variant, except it is
    & f8 E9 V0 U* B. Y8 J- O! c: R4 ^0 y
  82. ; much more verbose when it comes to errors. We recommend using the' n5 z& S, V+ p& w$ m
  83. ; development version only in development environments, as errors shown to+ G' k3 c% d# r
  84. ; application users can inadvertently leak otherwise secure information.2 G/ V- z4 l4 Z( u* G
  85. * Z4 x7 P8 m( W3 Y* b
  86. ; This is php.ini-production INI file.9 x# `- }8 ?- p! s5 l
  87. ' S8 K9 {$ B5 \/ q- a, S
  88. ;;;;;;;;;;;;;;;;;;;" E1 u% ~; `' x' F6 m. ^2 c4 m
  89. ; Quick Reference ;
    5 j8 E3 A2 c. B" B
  90. ;;;;;;;;;;;;;;;;;;;8 ]' r2 n. ^* g& x- U
  91. ; The following are all the settings which are different in either the production/ Q- y0 }# j, g& l4 Q
  92. ; or development versions of the INIs with respect to PHP's default behavior.! Z+ ^) \/ [' j8 `) P
  93. ; Please see the actual settings later in the document for more details as to why2 n' ~4 u2 g7 e8 v
  94. ; we recommend these changes in PHP's behavior.  Y) |! |: X- V. A: S- h

  95. ' R: j/ B/ c4 L" X0 M
  96. ; display_errors7 ]- F2 I9 N' R6 T' \4 A
  97. ;   Default Value: On9 H) h( d* M. Q) |
  98. ;   Development Value: On' W6 S( d* }0 [, e% G0 R: G
  99. ;   Production Value: Off$ D7 Q* p4 O' B9 k0 i

  100. 0 d2 R  x  {  u! `$ B
  101. ; display_startup_errors
    - Q, _$ g- S0 _6 W5 p) |
  102. ;   Default Value: Off. P& v  N) M7 l+ g, X) @
  103. ;   Development Value: On- t. ?: w5 S0 W# B4 p$ N
  104. ;   Production Value: Off3 ^4 r' n/ q8 W  z) I  p* Q

  105. . D6 w; w7 H/ N+ h0 X$ O9 O7 w
  106. ; error_reporting1 `% r8 F' Y8 u$ J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ Y" o; a' k+ B. S/ a3 ?6 w' v0 u
  108. ;   Development Value: E_ALL
    * h# z5 i" C9 n+ @6 \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 K1 r: |; H* O% J6 Z) E9 N$ a) L

  110. : e8 Y3 u# _5 Y) L) m- i
  111. ; html_errors9 `) ~7 _5 L! l) C
  112. ;   Default Value: On0 g0 y5 r; q" f  R5 R! C
  113. ;   Development Value: On, [1 a2 S- b$ e* k9 x/ l
  114. ;   Production value: On
    4 ]0 s1 k* }9 s+ i" |. f$ [7 K

  115. 2 i! p/ u. h& Z! r3 f' J& M
  116. ; log_errors3 ?7 Q6 L% B$ w) u
  117. ;   Default Value: Off
    ' ^8 T3 I( j% @: I- a' a% m3 b
  118. ;   Development Value: On1 j$ Z* S2 I9 b' e/ V& T9 `
  119. ;   Production Value: On
    " {7 B$ f% r* ^

  120. / [& c+ J. q  c7 C+ b
  121. ; max_input_time3 k9 M* u9 j0 a: R* F4 d
  122. ;   Default Value: -1 (Unlimited)  S$ k: W4 w; Q6 ]  v% L3 ]
  123. ;   Development Value: 60 (60 seconds)( \1 |4 A, L" X; B/ D7 P
  124. ;   Production Value: 60 (60 seconds)0 _  s- T8 B* c" ]) y0 l  ^' J

  125. , m$ z& Z# `% c- R; |" n0 P
  126. ; output_buffering6 D1 |$ k4 I( T( H! u; n
  127. ;   Default Value: Off! c$ l- v0 X. t9 K- R
  128. ;   Development Value: 4096
    ! B' L: k, G- \3 f& t
  129. ;   Production Value: 4096
    5 G6 O# f( r6 ~

  130. 6 \1 Z7 t9 }' ?0 d; P- t
  131. ; register_argc_argv
      F% D' ?# ]+ Z4 V5 _1 L2 k4 l7 f
  132. ;   Default Value: On
    1 Y8 z- |5 [' J
  133. ;   Development Value: Off* n* z. \: F. T, n6 l
  134. ;   Production Value: Off
    8 R8 D; n; v6 R/ w, M$ B. m( `

  135. 0 J7 p$ `# E+ V  S6 K
  136. ; request_order
    - ^% l( l: V, C" _6 l8 b
  137. ;   Default Value: None
    6 ^% `$ F( w! u7 ?4 W
  138. ;   Development Value: "GP"
    6 W+ ~9 z" W  Q( L+ _: x
  139. ;   Production Value: "GP"# m( c" B* }7 c! @0 ^5 m

  140. : T; U( r+ |" b- }2 k3 r# E1 y
  141. ; session.gc_divisor
    * W1 X% c' J8 p' Y* V6 o
  142. ;   Default Value: 100
    9 l) h* T! c# }8 b9 n; M
  143. ;   Development Value: 1000
      z' F. S3 n" `
  144. ;   Production Value: 1000
    % Q, f# O8 T9 X, r! i6 a9 _# ?
  145. ; t' n/ B" m0 P6 O/ T! e
  146. ; session.hash_bits_per_character, \) Y* r7 H5 }3 l+ _
  147. ;   Default Value: 4
    8 i; y% N; ]2 Y! z+ s" B% \
  148. ;   Development Value: 5) O. N$ ]. |% o8 \) l3 P
  149. ;   Production Value: 5& c* D4 J) r/ `8 n- I

  150. , _" G# Z3 U6 S# v8 L5 Y
  151. ; short_open_tag
    + n; X; w7 S4 ^# d* {
  152. ;   Default Value: On
    : q2 {/ o0 n' t2 E" T1 P3 S
  153. ;   Development Value: Off
    ) _# R- _- ^& \; `5 h
  154. ;   Production Value: Off2 r3 p8 ~. u6 K4 s

  155. - E# W- D' A! J- B* o; Q1 G
  156. ; track_errors
    + C+ o1 a0 @# |6 X5 |
  157. ;   Default Value: Off4 A$ d, J! c/ T' h7 Y" q4 G& F
  158. ;   Development Value: On  W: z; V  M$ p5 Z
  159. ;   Production Value: Off( `% l7 g. I- y4 J9 w
  160. ) U/ s. H: V& }' M6 k1 O
  161. ; url_rewriter.tags
    * ^1 `- S0 m' l+ P2 D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " a8 Y, i) A, N  i0 J1 J* O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", A( i4 o/ S- _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * Z- |" ~& m2 e: ^) Y7 Q
  165. # G4 M1 G, ]& f7 U5 \6 k
  166. ; variables_order
    $ P8 a% k7 M+ ~( e  u
  167. ;   Default Value: "EGPCS"
    ; J" Y, y8 M  A5 D, B
  168. ;   Development Value: "GPCS"; ~4 w4 V* g, m
  169. ;   Production Value: "GPCS"8 M) ?: n' n: h" B* Q, X0 r' d2 T6 P

  170. - l6 v' K* W! h$ G6 E2 V5 `
  171. ;;;;;;;;;;;;;;;;;;;;
    & r% B$ ]7 |  T
  172. ; php.ini Options  ;/ M' j5 w* f! B' [2 J( [* _8 H- ~$ N
  173. ;;;;;;;;;;;;;;;;;;;;; t  L: F6 J8 C9 F; @$ a% v5 y1 D2 _
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"  E; T* W+ w3 K
  175. ;user_ini.filename = ".user.ini"$ D2 b# w4 M  ]( @- _; ~

  176. ) s4 P2 T' x" V0 s/ K8 a$ A5 n
  177. ; To disable this feature set this option to empty value: C9 [" ~' Y* r
  178. ;user_ini.filename =! h4 Z1 n9 V1 F- C

  179. . P' a4 X* A% f  t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      Q1 H" N1 ~# C" [/ d
  181. ;user_ini.cache_ttl = 300
    & n$ U2 z! s6 X/ Q" R9 b
  182. + q" K! ]/ x' ?7 Y. X7 ~
  183. ;;;;;;;;;;;;;;;;;;;;
    3 e. Q0 R6 o0 m. k( Z' Z6 j$ d1 O
  184. ; Language Options ;
    . R/ j3 B1 L1 {! d% S. o
  185. ;;;;;;;;;;;;;;;;;;;;7 S) m4 j1 B8 |" h/ m
  186. ( O+ _* s3 \5 p3 o0 j: l
  187. ; Enable the PHP scripting language engine under Apache.
    3 W9 }- i) P8 J8 a8 k
  188. ; http://php.net/engine+ X% U+ q- J, {6 l# C
  189. engine = On
    + J, x* i& [1 N/ r. _5 _

  190. 5 d9 ?* V! F; r1 j. y. N5 Y
  191. ; This directive determines whether or not PHP will recognize code between: T7 O0 j  W  N8 ]6 l1 {
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' n% J6 A8 ^# V' o+ ^8 Q$ k
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % c$ D1 z6 X0 N4 C3 q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * D5 q' o: P9 w4 M% B* i
  195. ; documents, however this remains supported for backward compatibility reasons.7 U2 |* Y( w" ?' b2 b
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 e- K7 u8 L2 V9 X; R$ F8 D+ I' S
  197. ; used regardless of this directive.3 W$ a$ u8 O, ?* Z9 V) }4 ?& Y
  198. ; Default Value: On
    $ w; u/ Y& x  d: S+ Z( O+ q
  199. ; Development Value: Off5 r. q% u/ c/ w! o
  200. ; Production Value: Off1 ~2 e6 y$ R3 e7 E: Y0 X
  201. ; http://php.net/short-open-tag
    4 }- {  ^3 q' W9 Y: j. z6 f
  202. short_open_tag = On# J$ a$ |8 l  y. b6 X' A
  203. ( m+ {6 ^% c4 G5 U3 I7 d' a4 x8 c
  204. ; Allow ASP-style <% %> tags.
    % Q: p  Z8 z% E/ E  R4 @- ^; U' Z5 {4 D+ w
  205. ; http://php.net/asp-tags6 J" |' |6 g) T" |
  206. asp_tags = Off/ Y" T+ y8 {$ u
  207. : ^/ s/ H6 R: H
  208. ; The number of significant digits displayed in floating point numbers.
    4 P1 `$ W% k0 I) W5 @; A' {
  209. ; http://php.net/precision
    - A% r9 \) \( H; A+ W$ O" `
  210. precision = 14. a9 Z/ }8 W; B: B

  211. ) W* Y4 W* q7 H& H
  212. ; Output buffering is a mechanism for controlling how much output data
    3 o* f" U+ F# R/ I; J$ r; N2 k+ k
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    * K  O$ p9 X: B+ u% Z
  214. ; data to the client. If your application's output exceeds this setting, PHP! L/ d" t1 G' L* @0 [" ^8 @# [
  215. ; will send that data in chunks of roughly the size you specify.( Q" H3 N- p- I. f3 ?
  216. ; Turning on this setting and managing its maximum buffer size can yield some- `, F8 Z  J1 g' U
  217. ; interesting side-effects depending on your application and web server.
    # M3 k5 m( k+ Q; J; i
  218. ; You may be able to send headers and cookies after you've already sent output# {# L' r4 U" O; ?# ?8 N; o  d
  219. ; through print or echo. You also may see performance benefits if your server is3 |. @5 v) p! ~
  220. ; emitting less packets due to buffered output versus PHP streaming the output$ w, V2 a/ ~8 Z" H2 k5 [
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    0 \' m! J5 j+ @
  222. ; reasons.
    . W( I2 N9 Z, [! a# P- l
  223. ; Note: Output buffering can also be controlled via Output Buffering Control* t# }3 I5 P* \1 ?! d% J; j5 s
  224. ;   functions., Y( ^8 q: o* }  r, |5 F  z( Y) i
  225. ; Possible Values:
    % x5 _& S/ }* y( D5 }1 _7 t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)4 b% s" w% E4 n$ z0 r
  227. ;   Off = Disabled- P; Q1 w0 u5 V* j
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 W- F* }+ H" P  E6 D
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " \: w, L& o6 q( E& f; ]; G0 W
  230. ; Default Value: Off8 C1 ]1 U5 ~( l3 [8 J
  231. ; Development Value: 40963 F8 w" v3 h1 R* j
  232. ; Production Value: 4096
    ) x+ Q- Q8 C7 z* }! L4 S
  233. ; http://php.net/output-buffering4 t6 ]3 y; X" F$ o: n
  234. output_buffering = 40964 G8 y; u8 F1 {- c; n7 O9 t, A$ {7 P
  235. 5 t, z3 U% Z- g! ^! |
  236. ; You can redirect all of the output of your scripts to a function.  For
    8 C+ n, ?3 W- y2 j% ^
  237. ; example, if you set output_handler to "mb_output_handler", character2 `3 }+ Z/ q9 g5 ]2 E0 T# v/ L. h
  238. ; encoding will be transparently converted to the specified encoding.
    8 {8 N% K- M- F+ y. Q. w- g  d1 A
  239. ; Setting any output handler automatically turns on output buffering.7 v& V" ^2 b# R6 ]: h
  240. ; Note: People who wrote portable scripts should not depend on this ini
    4 L' A* o3 u7 ?0 r
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
      v% ~+ x* z/ U: D7 `8 v
  242. ;   Using this ini directive may cause problems unless you know what script
    ) Z3 k; s3 Z) e4 X
  243. ;   is doing." }6 ], a& |( Y6 H+ u6 y" L! j
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"9 W0 B+ x# x  A; g, p
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 l  l6 c( m! l& C' k
  246. ; Note: output_handler must be empty if this is set 'On' !!!!4 f7 ?7 u4 F4 U6 F5 @6 s' ^: @
  247. ;   Instead you must use zlib.output_handler.
    ; r/ Q# A# v4 g5 @2 B8 f/ b* X% r
  248. ; http://php.net/output-handler
    & J. ?: Q0 X: V# D, I
  249. ;output_handler =
    ; R1 F4 x# G: S0 _7 I% y4 V
  250. % N0 T. N# F6 ~0 Y' b
  251. ; Transparent output compression using the zlib library+ p+ E" ?7 V5 p1 x5 {- Y
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) o' o1 v$ v4 r( r
  253. ; to be used for compression (default is 4KB)  E* M( i% R/ g9 _+ @3 e  e9 T
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP! i( ?2 M; G6 ?7 J6 D2 K
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    3 T8 T# m7 U# U
  256. ;   compression. If you prefer a larger chunk size for better
    ! O$ ]4 ^- j3 j+ v
  257. ;   performance, enable output_buffering in addition.) U3 l6 B; |( g* G  N
  258. ; Note: You need to use zlib.output_handler instead of the standard( l. [8 s, @, m
  259. ;   output_handler, or otherwise the output will be corrupted.* w/ j, Q4 u  O- U1 e9 R
  260. ; http://php.net/zlib.output-compression6 O* W. m! t* U( e
  261. zlib.output_compression = Off% j! h2 t2 g9 C" O' F9 s
  262. ( u! ?2 r+ ]( T8 v. y- i' R
  263. ; http://php.net/zlib.output-compression-level' g+ h+ N! J% k8 d
  264. ;zlib.output_compression_level = -1
    4 }7 n3 b4 I. ?. Y( g8 w

  265. 1 y! H/ }, o3 {. s. o/ c" T
  266. ; You cannot specify additional output handlers if zlib.output_compression0 s& K; w- e5 r3 y, ]# H
  267. ; is activated here. This setting does the same as output_handler but in8 N9 z) Y2 Y9 i" d( z
  268. ; a different order.
    " C+ V' J5 y8 C  N+ b
  269. ; http://php.net/zlib.output-handler
    / J- F* `0 }4 w5 m4 x. _5 U' w
  270. ;zlib.output_handler =
    1 ~- A0 W) N9 r1 b) T* F
  271. 7 I2 b5 g4 Y2 A1 s! V
  272. ; Implicit flush tells PHP to tell the output layer to flush itself/ i. Z! c7 d' D& n( Q* `
  273. ; automatically after every output block.  This is equivalent to calling the
      q+ u3 S. m+ n4 H' b( X" s; x
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) D3 [( u) y  W
  275. ; and every HTML block.  Turning this option on has serious performance
    4 x0 f4 D' U$ f7 ~- D
  276. ; implications and is generally recommended for debugging purposes only.9 ^# c9 O8 {, w  Y' F. Q
  277. ; http://php.net/implicit-flush* J  [! l3 @2 |3 p. Z7 r0 b
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    - W$ D" Q7 B  J# l% b  [: k7 m9 Y% e
  279. implicit_flush = Off8 i2 V8 N' v# S  N+ @. U9 c
  280. 4 R/ _0 p9 r& c  |* v/ C
  281. ; The unserialize callback function will be called (with the undefined class'$ }0 b6 R, ^6 ^( c
  282. ; name as parameter), if the unserializer finds an undefined class+ Z7 z! N! U2 R2 f. P
  283. ; which should be instantiated. A warning appears if the specified function is+ f4 T' o8 l3 q4 P' `  y9 ?6 b
  284. ; not defined, or if the function doesn't include/implement the missing class.% T3 b( y1 e  Z; |
  285. ; So only set this entry, if you really want to implement such a
    7 P0 Y; w8 c0 f! ^; H9 K. e
  286. ; callback-function.
    ' v1 p7 T1 t( z, j1 w& C9 m
  287. unserialize_callback_func =
    ) P% T! x$ T- g  C, E1 `  |* e4 w

  288. - ~1 \* O; _2 X1 x  k
  289. ; When floats & doubles are serialized store serialize_precision significant: @7 j6 Z3 x+ W0 @/ f% e
  290. ; digits after the floating point. The default value ensures that when floats5 |0 `5 P7 l6 z+ N" u( C
  291. ; are decoded with unserialize, the data will remain the same.
    % h! W6 B; {" C; q3 C
  292. serialize_precision = 17
    8 L5 `3 J" f9 J: h% r# }$ I
  293. 0 J& N+ s1 Z0 G
  294. ; open_basedir, if set, limits all file operations to the defined directory
    8 r- D7 D+ |5 [7 w+ M+ m8 N
  295. ; and below.  This directive makes most sense if used in a per-directory
    * O' A, j/ w8 j
  296. ; or per-virtualhost web server configuration file.$ A) n  n$ d3 f7 p  @  k* q
  297. ; http://php.net/open-basedir3 q9 z' x/ j" a7 E2 k
  298. ;open_basedir =
    5 M4 h: S0 P4 _! f5 _2 P0 t' |
  299. - n) p' d1 S3 g6 R1 E$ X; `
  300. ; This directive allows you to disable certain functions for security reasons.
    & I4 g$ c" @/ l( ~+ G2 B2 n
  301. ; It receives a comma-delimited list of function names.
    6 ~, ]8 T1 q; Q7 i2 W8 O$ u# E2 t+ d
  302. ; http://php.net/disable-functions3 w) k* X6 S7 K9 Y$ u  s; V" q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    6 k: ?% ^! L9 J" g" \& K! p

  304. 9 v- \( l, I' u9 `
  305. ; This directive allows you to disable certain classes for security reasons.9 s+ l- X6 q9 E6 ?
  306. ; It receives a comma-delimited list of class names.
      T: y/ g3 k3 W( \( d
  307. ; http://php.net/disable-classes
    + U% e$ l" l7 a1 X) t& ^
  308. disable_classes =
    3 e3 W! e" l3 l/ g# T* ]( W6 T
  309. 9 N) ]! U$ ^! Y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 ^+ i8 o6 U( J0 q$ k8 v# ^. |
  311. ; <span style="color: ???????"> would work.
    3 [2 a; g, J0 `, u
  312. ; http://php.net/syntax-highlighting4 o4 p( V' n. G# V: x( b
  313. ;highlight.string  = #DD0000. O) Q% [. o$ O' b
  314. ;highlight.comment = #FF9900+ `1 s2 E  ^) u, y  x
  315. ;highlight.keyword = #007700
    9 Z7 `" x8 R9 M: _2 J
  316. ;highlight.default = #0000BB# T' U* J- U$ v. [8 `, o
  317. ;highlight.html    = #000000
    . S" P% L. z7 S& I* ?

  318. * N7 e: q7 ^: E: t% _( O5 d
  319. ; If enabled, the request will be allowed to complete even if the user aborts2 E# |) s; {) `& z$ X0 y* j
  320. ; the request. Consider enabling it if executing long requests, which may end up6 b" A" B/ u7 d4 w, L& E, _5 L+ o
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior4 I) f! _: Z1 t( U: s
  322. ; is to disable this feature.1 r8 Q/ Y1 y% V+ P
  323. ; http://php.net/ignore-user-abort
    & u6 Z- j. y% v) Z) D
  324. ;ignore_user_abort = On2 \* h4 `  f3 `' h0 B
  325. ; b/ L& @' N! T/ v! }% ?+ n' X4 ]1 D
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    9 q$ K( f# \1 }+ O9 Y+ l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    * w5 n, o: G; `
  328. ; the file operations performed.  @3 p8 K$ Y7 g1 u6 j* M& ~8 X9 \
  329. ; http://php.net/realpath-cache-size1 ~! ^; [; o# I1 Q) f' k
  330. ;realpath_cache_size = 16k6 F$ @3 u+ p& z$ f' m4 c# l" l
  331. 0 f$ Z' B) w+ j% F* ?2 c; G$ p* a
  332. ; Duration of time, in seconds for which to cache realpath information for a given3 f) N8 D( i9 M1 ]' z1 _/ U* S
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 }( ?" ?8 ^8 [. Z  ]+ j2 n5 s
  334. ; value.
    ' m# A0 q( j  t
  335. ; http://php.net/realpath-cache-ttl' X$ J5 c1 v+ o. q
  336. ;realpath_cache_ttl = 120
    # i, z1 m/ z" U  Q% E
  337. - d6 m" Y$ n! i2 V
  338. ; Enables or disables the circular reference collector.
    7 Z- Y+ |, _( y; F$ C
  339. ; http://php.net/zend.enable-gc. z5 A) V' p5 r( J. u5 A
  340. zend.enable_gc = On
    / v8 N% V& d! W5 K  O

  341. ( Q6 l$ H: _" ^% b; x1 [& b
  342. ; If enabled, scripts may be written in encodings that are incompatible with: [7 H# u9 v  u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + ]- q8 x$ e$ G: A$ w) l& h
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 [( @1 A: b, Y# z. Q
  345. ; Default: Off
    1 s- q& T$ f9 m# w/ [1 l( O/ M
  346. ;zend.multibyte = Off
    ' y% E" D8 E2 U

  347. " U5 X* Z. M* p. [7 s. z0 |" }: B+ r
  348. ; Allows to set the default encoding for the scripts.  This value will be used# e" z# q. ~+ Y
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , ?% w2 Y0 l* i6 ^) V( z8 u( K/ x
  350. ; Only affects if zend.multibyte is set.
    / E: \: X  a! ?) Q' t3 |7 x; X3 V
  351. ; Default: ""
    % ^- g9 v* E4 ^/ P9 ?. [
  352. ;zend.script_encoding =
    8 p" e6 q; w' O; ~
  353. " y" [# B. C( m6 H* p* }
  354. ;;;;;;;;;;;;;;;;;6 `" k' R& ~' ]$ z9 A& p
  355. ; Miscellaneous ;2 ?7 E" B! Q' E1 u1 C! |  i
  356. ;;;;;;;;;;;;;;;;;' b2 c, F4 t. B4 f
  357. : y+ U  _7 d5 ^, [" @$ S
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    # L! T- m. G- B0 ^
  359. ; (e.g. by adding its signature to the Web server header).  It is no security3 A. W2 D! w& {
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    . A8 {; F* Z3 C4 x( l: I9 Q
  361. ; on your server or not.
    : A* [: ?  m5 n. c/ N
  362. ; http://php.net/expose-php
    ! a! ?2 i! I8 L6 M* O6 y
  363. expose_php = On% ]5 q. y! Y( ~5 r5 S; `0 G
  364. : J( v, D5 W) F/ N1 B) a; K
  365. ;;;;;;;;;;;;;;;;;;;
    0 c7 Q- v0 R6 _. B
  366. ; Resource Limits ;
      R6 O, ~: K0 D( X. W2 s+ c, E5 Y
  367. ;;;;;;;;;;;;;;;;;;;
      S) b. j6 C7 I5 g% e9 m

  368. + o* \1 R+ B5 P" Z$ S4 B# X: a$ J  L
  369. ; Maximum execution time of each script, in seconds2 k% J# I7 r7 P9 S
  370. ; http://php.net/max-execution-time' K& c% v" j% \; f
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 j; f2 V7 n6 B! Z1 |  D" w- I' h! L
  372. max_execution_time = 300% {! H6 o! L) P
  373. / O$ B- V2 T' r- Z; r0 A8 i
  374. ; Maximum amount of time each script may spend parsing request data. It's a good; r/ w+ C+ W/ L( v0 f
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ U: q& X; X2 m! G! R% K6 R
  376. ; long running scripts., {7 t' ^. ?& }, t
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI% U8 N$ N7 [  S% T: V
  378. ; Default Value: -1 (Unlimited)$ d( H* ?( |5 j
  379. ; Development Value: 60 (60 seconds)
    ; r2 L" t" a5 |6 @6 n' Z, A( t
  380. ; Production Value: 60 (60 seconds)5 h/ N1 R( |2 e4 j7 _
  381. ; http://php.net/max-input-time; ]8 X& L* ~4 e
  382. max_input_time = 60
    ) t( G9 V! ?4 V7 t% w: G
  383. . E1 i- \; a" \; j& {% c
  384. ; Maximum input variable nesting level* t* W" |! Y' O1 I. x
  385. ; http://php.net/max-input-nesting-level
    " S$ Z3 D/ {/ X& l. ~" ?
  386. ;max_input_nesting_level = 64
    3 n8 P9 ^9 Z2 g+ D; ~
  387. ! N2 }2 O8 f* B# b
  388. ; How many GET/POST/COOKIE input variables may be accepted9 g, J/ [  h' r
  389. ; max_input_vars = 1000; p' E+ _1 l& q6 o- P2 o% c
  390. / T8 i* z5 g" q* s3 y3 g1 c+ T
  391. ; Maximum amount of memory a script may consume (128MB)
    % v  L% H1 B6 F' E
  392. ; http://php.net/memory-limit
    : N! l$ C/ q! g. |% Y! O
  393. memory_limit = 128M2 G. H6 y- x/ G* U
  394. + \' Y2 j) l& _% S! o- v
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) U( k7 U) Y: W4 y& u7 x
  396. ; Error handling and logging ;
    ' ^* `5 Z8 y& B. g% r4 ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' ^8 m% c. S2 M0 s' B

  398. 9 d8 T0 [  u% s
  399. ; This directive informs PHP of which errors, warnings and notices you would like0 W# \) z0 [3 c- Q  g
  400. ; it to take action for. The recommended way of setting values for this8 I) Q) K$ Y& z- ~
  401. ; directive is through the use of the error level constants and bitwise: g7 A' }. Z+ N4 t6 Z! P5 p* R
  402. ; operators. The error level constants are below here for convenience as well as0 v5 B5 L5 h- r, |% Y; [9 l+ N
  403. ; some common settings and their meanings.0 {- n) v, m/ f
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    # a% `5 ]9 d( `
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' M( q5 w8 G9 R
  406. ; recommended coding standards in PHP. For performance reasons, this is the% ~+ }0 R' w* L& c
  407. ; recommend error reporting setting. Your production server shouldn't be wasting# `4 j' `2 o: k% u
  408. ; resources complaining about best practices and coding standards. That's what
    3 ?" U  x" M; _4 l+ f
  409. ; development servers and development settings are for.
    & d. u$ ?, s$ r; D  P& U. a
  410. ; Note: The php.ini-development file has this setting as E_ALL. This! U- v: M4 t9 d) J2 j0 o0 p$ H+ o
  411. ; means it pretty much reports everything which is exactly what you want during8 i. [6 j8 ]3 J7 W$ p" K6 F$ D6 }
  412. ; development and early testing.- s+ t8 U& s( H
  413. ;
    6 T9 Z* ]% i- a6 {8 L
  414. ; Error Level Constants:1 Y; h" J5 O, O- \! x: N8 m8 i' X
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! k: o# T; b3 v& V, Q* `
  416. ; E_ERROR           - fatal run-time errors. l. O7 M, w3 g& ]  ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors; t  i2 E+ K6 q) ]3 L. a, ?/ i
  418. ; E_WARNING         - run-time warnings (non-fatal errors): Q9 |& Q2 [- M5 z( h( \, z
  419. ; E_PARSE           - compile-time parse errors
    - w3 r& r( h4 _% ~! J
  420. ; E_NOTICE          - run-time notices (these are warnings which often result  P. X6 n8 s% i, w( b
  421. ;                     from a bug in your code, but it's possible that it was0 F5 d7 U6 E- k; I$ G
  422. ;                     intentional (e.g., using an uninitialized variable and
    " ~9 S2 f; }  `& \" H/ a
  423. ;                     relying on the fact it is automatically initialized to an
      A, \4 k4 Z; N; l6 F4 `
  424. ;                     empty string)) s7 h! D* E+ W; S& X
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 v" U+ X4 }  R* N4 }& B; m+ D
  426. ;                     to your code which will ensure the best interoperability
    % E+ u6 T, s8 _% V( d/ d
  427. ;                     and forward compatibility of your code
    , F, O! X1 u5 A/ B8 w' j4 y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- Z: R/ {$ Z( z: O
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 m4 c/ o6 M- l2 @4 T) j- ^
  430. ;                     initial startup
    ( N# h! k1 M2 E1 M0 F) C
  431. ; E_COMPILE_ERROR   - fatal compile-time errors& n( o7 S  g" a$ ~
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ V$ `+ |* y% ?7 W9 |. D; v
  433. ; E_USER_ERROR      - user-generated error message! K/ L9 g0 ^0 B( w- a3 u  e# d  g
  434. ; E_USER_WARNING    - user-generated warning message7 B6 Y( G2 e( ?0 I2 [' P1 ^' g; Y
  435. ; E_USER_NOTICE     - user-generated notice message. T- @; r' m. f9 v; V+ ?' \  {
  436. ; E_DEPRECATED      - warn about code that will not work in future versions2 d6 Q  _$ ]4 K5 R0 j
  437. ;                     of PHP
    3 q( Q: C( _3 U" h
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings' ]. h! T2 h: j4 p7 {% t
  439. ;: d# g7 ^# u9 l0 q9 B
  440. ; Common Values:
    / V0 [3 N( n4 F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)6 ]' x) k9 G) ~1 n# f8 q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    6 ^1 T% Q. p0 J8 E- d$ w: K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    9 X1 E1 @9 c+ p( G
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 }0 {  i# T- X; f+ N; J
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 @, W: v8 v; t9 O% f
  446. ; Development Value: E_ALL9 ~8 F/ u$ A( n1 c. R( H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  E5 {/ v0 M8 J0 x
  448. ; http://php.net/error-reporting5 a8 B0 q3 P; ~- |7 Y" D
  449. error_reporting = E_ALL & ~E_NOTICE
    - f% B/ X* E6 W& {5 z2 ]( j
  450. 5 x4 O) d  Z# l
  451. ; This directive controls whether or not and where PHP will output errors,, m$ U, a. k* p; }
  452. ; notices and warnings too. Error output is very useful during development, but
    - x+ m% K$ c: }/ X: Y+ F! M. U' T
  453. ; it could be very dangerous in production environments. Depending on the code
    " G6 o! i" U) o
  454. ; which is triggering the error, sensitive information could potentially leak& s  Y4 |+ V* A
  455. ; out of your application such as database usernames and passwords or worse.
    + v8 u( L3 M1 \" m: K, `
  456. ; For production environments, we recommend logging errors rather than
    , t% N# Y( C& S6 n* r; X( F
  457. ; sending them to STDOUT.
    " N; _& U9 |$ L# `% r+ O  y
  458. ; Possible Values:5 G; Y7 R% Z; Q8 V8 h4 r9 a
  459. ;   Off = Do not display any errors/ p  \6 F, ]) j* A0 q. K" G
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    " R( N& s8 ?. y. [* Q! L; K
  461. ;   On or stdout = Display errors to STDOUT
    ( Y3 r0 B' Q! L+ Z  ?0 A" i
  462. ; Default Value: On
    * j% X  J# R, O- e( K+ ]
  463. ; Development Value: On
    ) p! B* m8 t% v  q, R! k3 A* X
  464. ; Production Value: Off- `+ ?  ?3 T+ P2 t/ x+ _+ e
  465. ; http://php.net/display-errors
    - X, x. U' ]# z  P! M$ d
  466. display_errors = On- U0 g* s& E) F$ \9 A8 ?

  467. 3 |7 Y( n% C3 y% w
  468. ; The display of errors which occur during PHP's startup sequence are handled+ w; T* x0 T3 X- ^5 {: V
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    * }3 h) K" \8 Q1 |: n
  470. ; errors from clients. Turning the display of startup errors on can be useful in! ^+ F% P. ?8 e% }
  471. ; debugging configuration problems. We strongly recommend you" M. t; t8 `; X) v- [- I3 p
  472. ; set this to 'off' for production servers.
    1 D7 c3 ^* p" r
  473. ; Default Value: Off
    3 O  d; h! w0 |! C. i& M9 D
  474. ; Development Value: On
    & U1 w, V: B% S+ |& R
  475. ; Production Value: Off
    . M+ s5 F4 U/ O( F' ]! y5 V
  476. ; http://php.net/display-startup-errors
    4 u0 O; N$ h1 H2 C- q# F
  477. display_startup_errors = Off
    ) ~# D5 y) e) b) A* j/ |4 R
  478. , {- I& }- Z8 n+ n3 l: v0 ~2 y
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    $ n% F# _! Y/ h
  480. ; server-specific log, STDERR, or a location specified by the error_log
    # H, s; G- M; z4 w+ l5 \
  481. ; directive found below. While errors should not be displayed on productions
    / I2 D1 f. W  r( ]; p8 v# l
  482. ; servers they should still be monitored and logging is a great way to do that.
    2 u/ P6 F+ Y% X1 `( d
  483. ; Default Value: Off4 s' _: d- L- T4 E
  484. ; Development Value: On- Q' P/ O2 |/ `
  485. ; Production Value: On
    5 t- w/ u7 R8 d
  486. ; http://php.net/log-errors
    * B% e4 d- f' D+ ^
  487. log_errors = On1 A9 {# ]4 H, y

  488. . T2 @7 G8 F5 O' `! o/ P
  489. ; Set maximum length of log_errors. In error_log information about the source is2 k$ I6 A8 k5 t
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! V4 G  }" q# e! R( L
  491. ; http://php.net/log-errors-max-len
    / }- T, q$ ~2 H8 t" h4 e/ E
  492. log_errors_max_len = 1024
    * ~1 F, Y/ l& r  K6 |$ e* |" e+ {
  493. % H+ i; r* C& K* [7 z! i* V
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : _+ U0 y! {8 R  L
  495. ; line unless ignore_repeated_source is set true./ f, a+ Q2 i: o* x3 C6 L& b
  496. ; http://php.net/ignore-repeated-errors
    0 U9 p. ?$ X2 ^7 ~) C0 g
  497. ignore_repeated_errors = Off" G4 A; t! ^% E. B! x
  498. , f' @! K3 T4 z* R0 G' h
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ) ~" [" q! l" R3 i8 w- G0 B6 N9 Y" f0 M
  500. ; is On you will not log errors with repeated messages from different files or
    * R; T% z. U2 w7 r# w
  501. ; source lines.1 g+ L9 s$ p2 l' Z8 X! H9 \$ e/ u
  502. ; http://php.net/ignore-repeated-source0 n* c4 h6 {$ l+ F1 C) D. @
  503. ignore_repeated_source = Off) V( d9 M, k  N+ ?+ J1 X

  504. 3 _8 M4 N. c+ P% S0 |
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on& l) o1 z8 o8 [$ j, I( f) N" O
  506. ; stdout or in the log). This has only effect in a debug compile, and if. U6 u+ k3 k! f1 H) O
  507. ; error reporting includes E_WARNING in the allowed list- q8 _5 U6 u& I+ H, @8 G/ [- F
  508. ; http://php.net/report-memleaks
    : Q# M$ [8 {" a' {% F; L
  509. report_memleaks = On0 b/ {0 [# N& n; I: g/ E& Q& F

  510. # _8 L! _  u1 l% a5 M) Z
  511. ; This setting is on by default.
    , [. Y" K) X( a! }
  512. ;report_zend_debug = 0+ j! [$ c  R( G! Y1 w  T/ {) Q
  513. 3 |# P6 n. d6 p7 B) a+ }8 X8 M: k
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' v+ ~9 _1 t6 ]
  515. ; to On can assist in debugging and is appropriate for development servers. It should: }6 P% p. F' b7 b
  516. ; however be disabled on production servers.  q- _" q2 U  k0 w2 a3 m
  517. ; Default Value: Off
    $ X: u. Z& _+ Y7 W0 {4 N) X
  518. ; Development Value: On
    4 c0 Y0 H( _0 r; I/ T
  519. ; Production Value: Off
    - c% p# T- n( y; g1 v$ a+ T* j8 V
  520. ; http://php.net/track-errors4 g/ l: C5 y  T5 p9 C" h+ M
  521. track_errors = Off
    " p: U1 z( l9 y3 O; \
  522. . m9 E, Q3 c; [, Q& ~5 j% T- v
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 v) J" _6 @% _6 a  f" u  t
  524. ; http://php.net/xmlrpc-errors+ F8 q$ [) b5 v" l& g
  525. ;xmlrpc_errors = 0: E4 T1 x4 V) v- _9 b
  526. $ g4 d8 v5 D6 P" g
  527. ; An XML-RPC faultCode& K' J/ t! O" ]- r4 H
  528. ;xmlrpc_error_number = 0
    3 u- Q1 Q% L1 ?8 A" k& B7 T

  529. * c" Y+ }- \+ U
  530. ; When PHP displays or logs an error, it has the capability of formatting the- q" q8 A/ O, p  s6 T# q
  531. ; error message as HTML for easier reading. This directive controls whether
    : l/ [& \3 g, `3 Y& q" z+ K8 Q
  532. ; the error message is formatted as HTML or not.+ E6 }% ]5 X( p- t3 I  c/ ^' B
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 T, h: ~' a: U' ?7 R
  534. ; Default Value: On
    0 N- j! d( {: T
  535. ; Development Value: On6 E5 l1 ?( O1 A, X+ t1 C/ z# e/ N5 b
  536. ; Production value: On
    ! F" l/ F1 ]+ X: A* y
  537. ; http://php.net/html-errors
    4 v4 K* X8 @% ]5 ]7 V8 g( I
  538. html_errors = On
    / l+ @$ K; M/ D/ k* W% i

  539. # h' S$ ?5 z% E5 k" a
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    * }+ C7 l5 ^$ E) U& u' S+ ?' F
  541. ; produces clickable error messages that direct to a page describing the error; c! q) Q4 d. L$ |1 Y9 i" A) j- x
  542. ; or function causing the error in detail.
    0 E3 _, I/ T0 V* N! [: X  z4 J
  543. ; You can download a copy of the PHP manual from http://php.net/docs8 K# {, M7 _) e' u) z! X4 B
  544. ; and change docref_root to the base URL of your local copy including the
    7 K; J* W/ @& m( R. A" ^
  545. ; leading '/'. You must also specify the file extension being used including; z& ~& i$ C% p/ X% \
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ! m  j3 n8 L1 f$ Q" Z+ t
  547. ; case no links to documentation are generated.
    & y; S7 C' P0 C# v0 K/ t
  548. ; Note: Never use this feature for production boxes.
    1 Z& V* ~- T: r, \
  549. ; http://php.net/docref-root/ h2 d. e, P' o2 X) f7 n4 [
  550. ; Examples0 S1 a$ w) c% b9 G$ I
  551. ;docref_root = "/phpmanual/"
    : P& i* z* Y3 p6 I) v9 A( K
  552.   g1 m% d$ L5 N: j# O
  553. ; http://php.net/docref-ext
    ! c7 q" _/ Y5 ^: g( A
  554. ;docref_ext = .html
    ( z- o# U! W1 Y" j, B. k9 o  B

  555. 7 Y. C/ \# h9 W
  556. ; String to output before an error message. PHP's default behavior is to leave! E# N: t' Z0 T
  557. ; this setting blank.+ V- K- J8 W* \; i+ [1 W
  558. ; http://php.net/error-prepend-string6 R/ h0 N* o3 s6 F" r
  559. ; Example:' W4 k" W3 A0 T0 t% A
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    / q$ Z" f  ~' ]* b( }& J
  561. / B7 T2 U8 I! X/ H5 d
  562. ; String to output after an error message. PHP's default behavior is to leave5 F7 ?. P- |) N/ F( L- U# C
  563. ; this setting blank.1 T9 J; y4 d$ E1 p
  564. ; http://php.net/error-append-string3 @$ x2 E2 m! D8 n# S1 Z, a
  565. ; Example:
    6 w  X4 i' i) |& W
  566. ;error_append_string = "</span>"2 o- d9 Q' {( h) f- N! y
  567. 2 l. \5 e  y* `# f2 O$ [
  568. ; Log errors to specified file. PHP's default behavior is to leave this value& r  ?- Y0 b+ r# R5 i& [
  569. ; empty.4 X) I, S4 [$ [9 e
  570. ; http://php.net/error-log" @6 T' {" t$ Y9 J" ]
  571. ; Example:8 [, f% n( W+ T) E. ], ]- F+ n$ E
  572. ;error_log = php_errors.log
    . H, @* l: B4 E, ~& g9 g
  573. ; Log errors to syslog (Event Log on Windows).& c! b" K& [  L+ H; H
  574. ;error_log = syslog
    + p3 }) }+ [& [6 O6 ~

  575. " @* X! }1 {4 y2 Y1 @1 r
  576. ;windows.show_crt_warning$ {. ]9 Y# {( d+ i) r, J) D
  577. ; Default value: 0
    ( A& `: @) j2 ~( z: x, K
  578. ; Development value: 08 L5 P4 F( V; y5 j4 c, h
  579. ; Production value: 0
    # p1 `4 K% h* g' Q" e/ Z8 g% w7 m

  580. ! ?: t: {. F& I! ]  Z
  581. ;;;;;;;;;;;;;;;;;& [, u) M( d: b
  582. ; Data Handling ;- ?# |* g# f6 R" K  |4 v
  583. ;;;;;;;;;;;;;;;;;2 o, o  ~1 L( u

  584. 0 c5 [; o8 ?" s& c$ ^1 t
  585. ; The separator used in PHP generated URLs to separate arguments.
    6 e" a( t( P" X  q* v2 |5 Y, q2 Q1 e! e
  586. ; PHP's default setting is "&".
    # o& n" |3 T7 L. L# W# _9 l& T( n
  587. ; http://php.net/arg-separator.output
    0 W6 I, S7 M( N
  588. ; Example:
    % p- ?; r* }3 z1 ^2 p
  589. ;arg_separator.output = "&amp;"
    + C+ Z8 i  G5 R4 l. M2 J6 p& x! x

  590. " C* O  _2 t) Y$ E9 u0 L1 l+ w+ b
  591. ; List of separator(s) used by PHP to parse input URLs into variables.+ K' ^% ]+ u5 ~5 N( c0 r
  592. ; PHP's default setting is "&"., X4 U) Z- F. [1 q  \  i" w( L
  593. ; NOTE: Every character in this directive is considered as separator!5 L% L2 F: ^+ c3 S0 H4 D6 y# ^
  594. ; http://php.net/arg-separator.input
    : w) A* i0 O: [7 r6 V  S) Y- H
  595. ; Example:4 q5 Q( g7 K4 N( x+ p8 s
  596. ;arg_separator.input = ";&", D( H* e1 A' Y8 ^( e; h8 }! L7 z

  597. 9 c* Q2 N. _0 E9 Y! y+ x
  598. ; This directive determines which super global arrays are registered when PHP
    , r/ ~  S7 d1 ]4 q
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    . o& `: r: G6 t- ?4 k/ {( P2 B
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! i* ~  C5 l* H* Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    * K6 s. k6 g3 c( U2 n
  602. ; used as the others, ENV is not recommended on productions servers. You
    7 W7 s; j! P4 q1 j
  603. ; can still get access to the environment variables through getenv() should you' H1 Q5 r; Y* Z. b, Z
  604. ; need to.
    2 g, R* y4 \7 R) n$ W
  605. ; Default Value: "EGPCS"4 c3 v9 p( m0 R
  606. ; Development Value: "GPCS"
    & w, Y+ ^5 i4 O! _3 \
  607. ; Production Value: "GPCS";
    7 ]5 n; e( {$ B7 @; i5 `4 |
  608. ; http://php.net/variables-order
    " K2 ]% \. V% Y( O  j1 O
  609. variables_order = "GPCS"& t5 K8 b3 T( W" y& a; f7 e
  610. . E, s! ~' T# W- d' j# X/ d2 _
  611. ; This directive determines which super global data (G,P & C) should be& T- B- Q2 @. t& {  X1 P0 D
  612. ; registered into the super global array REQUEST. If so, it also determines$ _$ R9 a! a4 D! `: b
  613. ; the order in which that data is registered. The values for this directive% [  _5 ~  U/ k8 K7 Q3 s
  614. ; are specified in the same manner as the variables_order directive,
    9 g) j+ U8 z! h5 ?9 F5 ?
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 z% Z7 z3 k4 w" @1 V
  616. ; in the variables_order directive. It does not mean it will leave the super
    2 J0 f9 p. x; o( N% r. q: F
  617. ; globals array REQUEST empty.
    + f2 F9 e" V5 v5 W/ m
  618. ; Default Value: None
    1 V7 Q2 k" f( L( W
  619. ; Development Value: "GP"6 a& X6 b- @+ {( S9 W: k+ _
  620. ; Production Value: "GP"' X! z! e3 e+ t/ z7 G7 w! s. l% r
  621. ; http://php.net/request-order: ]6 N9 c) |  i5 T6 X8 @8 K0 t
  622. request_order = "GP"' {9 j% ~8 r# y7 x
  623.   v* ?% ]- R4 o  ]7 h$ a; n. |
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    - K* L& x" z3 w4 `4 B3 V
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : ]; b1 b  W( v3 N; G
  626. ; is invoked. $argc contains an integer representing the number of arguments
    , c! _1 T' f$ H, P$ C! E
  627. ; that were passed when the script was invoked. These arrays are extremely
    4 g7 S# ~! X# `  o
  628. ; useful when running scripts from the command line. When this directive is
    $ x" l) l& d1 K  y5 q7 @) K* b
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 x4 s9 k: p: N
  630. ; a script is executed. For performance reasons, this feature should be disabled* J1 P& Y2 n& U; C* `' d) z. B5 P+ N
  631. ; on production servers.
    9 a, O7 r  j, _% X$ M$ e
  632. ; Note: This directive is hardcoded to On for the CLI SAPI' O9 P9 F7 h" I& v% C
  633. ; Default Value: On+ Q: {- v) Y' Q, G8 N% ~( H
  634. ; Development Value: Off
    8 {% k# C7 n; I. {/ f( ?
  635. ; Production Value: Off
    2 E7 ?; F4 ]1 k2 o) n+ `# D
  636. ; http://php.net/register-argc-argv
    + K, U8 X/ {( k8 O- l  N  L* _
  637. register_argc_argv = Off
    - d' Z" f( K0 H% D
  638. 5 z2 d9 F' @% f" v7 D
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" Z2 t( S/ U8 }3 ?0 b* i
  640. ; first used (Just In Time) instead of when the script starts. If these
    ( i" I8 A0 r7 I' r) e6 m
  641. ; variables are not used within a script, having this directive on will result
    7 p0 k6 ]0 k/ x3 M% ?
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ Q; s3 }/ z- a8 {+ L( S* s
  643. ; for this directive to have any affect.
    1 b* l5 g" N* R0 v! M6 y
  644. ; http://php.net/auto-globals-jit7 \* u8 ^- g% @, e: U1 x
  645. auto_globals_jit = On
    1 A8 t; w5 b; s4 K, i

  646. # C: d9 R' j! ]0 _# T* V
  647. ; Whether PHP will read the POST data.# c6 C+ L4 l  \8 Q6 S  C  I" E
  648. ; This option is enabled by default.: |0 K1 Z/ f6 p# V
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST$ m& N+ y) V( W$ N. f
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    " Y7 l- `9 y' S& ^7 @* c5 [" T
  651. ; POST data will be through the php://input stream wrapper. This can be useful! R1 I5 a) e: u. O4 l: {
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , [5 N- ^7 g! |
  653. ; http://php.net/enable-post-data-reading, O1 U+ J+ n2 m  b9 A& ~3 e' J
  654. ;enable_post_data_reading = Off; C. D6 Y- D" j8 v& V

  655. 0 U: \8 |7 h# q. k9 h2 @- d
  656. ; Maximum size of POST data that PHP will accept., B7 q% ]- ^; \7 U: N4 s
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    % b/ \  u% A2 l3 y1 k) ]) M
  658. ; is disabled through enable_post_data_reading.% L5 n3 R/ H6 I' L' A8 @
  659. ; http://php.net/post-max-size& B, N# N5 h* s& t: C' D- _
  660. post_max_size = 50M
    & Y  p9 T. k+ m1 X& r8 Y

  661. 9 ~+ i( Z' i0 o4 X8 a% }
  662. ; Automatically add files before PHP document.7 j  y3 i- q8 y8 U2 |
  663. ; http://php.net/auto-prepend-file& u6 p9 J+ v% K1 P# s% ?
  664. auto_prepend_file =
    & g8 I3 Y$ y# J: ]$ e

  665. 9 Z: E! R1 _9 b2 D' }
  666. ; Automatically add files after PHP document.
    * Q# L& z2 Q" I) k( y
  667. ; http://php.net/auto-append-file
    + x* R! y' w, W8 Y5 B
  668. auto_append_file =1 t% y8 ~* M1 I
  669. ( q5 A9 m: q- K" ]. A% L/ s6 \6 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ( C7 a5 T  u7 P- ~3 E$ D2 \
  671. ; disable this, simply set it to be empty.2 U, O# T, Y; E1 g( A1 _) @
  672. ;3 e' J8 }6 Y6 N/ @, P% Q8 c
  673. ; PHP's built-in default media type is set to text/html.
    $ u  B: o; L" ~
  674. ; http://php.net/default-mimetype% K, S% `% u# d+ |( w
  675. default_mimetype = "text/html"
    3 a9 f* h) g  L" {9 a8 P( D% ]
  676. % t+ e+ s% a  G1 z
  677. ; PHP's default character set is set to UTF-8.; h. P4 m7 ]+ R9 J& x
  678. ; http://php.net/default-charset
    ( G! z: g7 I) {: u6 D
  679. default_charset = "UTF-8"
    " |7 [* _0 E: ^; z
  680. / w- b. f0 N; q+ B. T5 F
  681. ; PHP internal character encoding is set to empty.
    " I2 L5 q9 F+ Y+ h6 U- }- n: U
  682. ; If empty, default_charset is used., _( _$ A+ v) V! {# ?
  683. ; http://php.net/internal-encoding4 e# H* e$ ^: B3 ~0 M9 h
  684. ;internal_encoding =; \( K# c) P6 g

  685. 5 {1 ^% B+ x' g9 K8 Y. g& O# g
  686. ; PHP input character encoding is set to empty.+ j+ }$ X+ M  n7 z
  687. ; If empty, default_charset is used.
    ) u" w1 M% ^" {0 q
  688. ; http://php.net/input-encoding
    3 a1 M% c5 P2 O: a  l/ G) ?
  689. ;input_encoding =
    % t; e0 _' c1 g# ]
  690. " \, Q" u5 _4 y$ z
  691. ; PHP output character encoding is set to empty.4 K) p3 v( f5 _3 i; i
  692. ; If empty, default_charset is used.
    5 @3 q2 ^% w" n' ]# a
  693. ; See also output_buffer.
    ' O8 y- v8 N  K+ V; A2 B4 a( J# r, L
  694. ; http://php.net/output-encoding
    6 h# @" d! }4 K. v1 z, v, C9 `
  695. ;output_encoding =# W& q' n- ^' ~% d  x( h, j# E8 y

  696. + c& ^8 @. I1 d& [; y  g4 N/ q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    * c2 J# r$ N( ]/ R
  698. ; to disable this feature and it will be removed in a future version.
      h8 e$ S0 [+ F5 [
  699. ; If post reading is disabled through enable_post_data_reading,
    % s+ g  {5 Z9 \7 l# X: O
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    % N9 w7 I6 m; {. f( T0 i
  701. ; http://php.net/always-populate-raw-post-data
    5 m! r& ?" T, f3 Q9 g9 y
  702. ;always_populate_raw_post_data = -1
    ; d% f6 v  c7 F
  703. & L8 s2 X6 ^  M% M9 V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;7 l7 J6 S0 K4 [6 k* _* T; Z; i8 a
  705. ; Paths and Directories ;
    6 X. @1 u: }0 T' s6 g5 L* R
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;" \$ Y6 r$ O' V* K
  707. + @# l! R) h: c% l; K; o1 s. x
  708. ; UNIX: "/path1:/path2"# X- F; m! V" A) `) T3 r4 W  P
  709. ;include_path = ".:/php/includes"
    + O2 C* \. m" [- I0 M; V/ j+ s. {
  710. ;/ a6 X- l& ?1 ?! b; u% X7 A
  711. ; Windows: "\path1;\path2"6 v( }* q. R+ _4 A1 @9 w1 a1 w
  712. ;include_path = ".;c:\php\includes"& F* k5 x& @/ [  K
  713. ;
    / Y- r* g2 y8 D" n6 i: W: N
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"( \# a! h  T4 Y8 }) M9 O
  715. ; http://php.net/include-path
    ( y+ i  F7 s+ n2 l3 \5 v
  716. 5 r# F) ]7 v, W" d) f
  717. ; The root of the PHP pages, used only if nonempty.
    / W* y( q) {& ^+ ^
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ! z$ @2 {0 B, K0 b
  719. ; if you are running php as a CGI under any web server (other than IIS), `: ]* ^: d! w& n- s$ O1 m
  720. ; see documentation for security issues.  The alternate is to use the
    2 B  C6 _) @* p  E3 I+ {4 E/ [
  721. ; cgi.force_redirect configuration below/ I! R, W& z0 Z
  722. ; http://php.net/doc-root
    : {# i8 j. P" @0 p
  723. doc_root =
    % ~& R/ p/ \6 ~- T9 l6 O) B

  724. , Y) P( w2 i+ F! {
  725. ; The directory under which PHP opens the script using /~username used only
    / b' y; N. S) X% h' J* U
  726. ; if nonempty.
    / {# o$ n9 g" H, d% \9 `6 j- o
  727. ; http://php.net/user-dir( Z: Y1 ^# c8 a, O6 {/ M: z, y
  728. user_dir =
    3 l5 Z% ^( [% `, p* ]

  729. 8 w# |/ m# R: l  }. ?
  730. ; Directory in which the loadable extensions (modules) reside.
    # w( Z! s8 P5 Z' e
  731. ; http://php.net/extension-dir
    ( W9 z% r' g8 f1 A% l
  732. ; extension_dir = "./"
    * ~+ J  Y8 c$ E0 c
  733. ; On windows:
    % ^% |2 L) Y/ t
  734. ; extension_dir = "ext"5 l9 m, Q1 H& G6 F( E

  735. ! N. ^- Y3 y* z2 I
  736. ; Directory where the temporary files should be placed.
    " S0 }4 \0 ?3 f" C' m$ S0 [
  737. ; Defaults to the system default (see sys_get_temp_dir)
    5 a# z1 a, Q- h( c
  738. ; sys_temp_dir = "/tmp"+ M6 a' u0 T& s1 S

  739. * m' I# B* H- K' l2 l1 y3 J7 A
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    7 ]( P! K: Q6 F
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    6 @$ H# B8 x/ X4 A
  742. ; disabled on them.- b1 E  r0 _  M+ P
  743. ; http://php.net/enable-dl/ n, y2 m) M8 f* f- S
  744. enable_dl = Off% T- v$ N) \. ~, O2 Z) A) e
  745. ! q1 f7 u6 b, \8 i  A& Z$ |
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under! K* i/ Q) x, Z+ K6 s
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can! d$ J5 u7 \8 L
  748. ; turn it off here AT YOUR OWN RISK
    & \  G. g; `' F* ^
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**  c8 j; t# @6 a, D; \, o% D! z4 I" L
  750. ; http://php.net/cgi.force-redirect0 s) s4 l; x- G' K/ W
  751. ;cgi.force_redirect = 1  [* f$ k0 B) Z' o2 Y
  752. 0 ^# l; a2 H* q9 _: w, K
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- F% z6 D7 y1 a! a/ F+ L
  754. ; every request. PHP's default behavior is to disable this feature.
    9 G1 o2 E) T$ }* D
  755. ;cgi.nph = 1
    . h8 C+ w. b. e* a: N
  756.   a4 K; L: @( G+ k- R
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape2 q4 G, ^% e4 j1 f; B
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ C# Y5 Q) g6 S. a
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    5 _0 i# ~3 h. n5 g, c( E& G( G
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& A: r% r4 G2 e! R) s+ f
  761. ; http://php.net/cgi.redirect-status-env, ~9 ^; e8 @; r9 z, {
  762. ;cgi.redirect_status_env =8 M! M6 H3 b. L3 B* G9 m" G) p

  763. 1 ~: |; I8 |2 s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) y( g$ _3 E- g) M( C' ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    # ^  |( e. t1 n$ w7 r
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " _+ @/ |# m3 i; V2 B* S' g
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + \* Z- X( \6 a; w
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' ~- U8 H2 W9 Z- e* W
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  T: m, ^6 K) C
  770. ; http://php.net/cgi.fix-pathinfo
    0 b: }/ A" \3 Y$ c; v
  771. cgi.fix_pathinfo=1
    ! T9 V! D- D2 N9 x& z
  772. . M' s" c9 H8 ]& T0 Z5 Z# S0 o4 l4 Z
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 \2 S, z, H* @* H
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & U( Z7 H( j( R) i
  775. ; http://php.net/cgi.dicard-path" b( k4 Q$ S" j3 \$ W5 }
  776. ;cgi.discard_path=13 i& D% M3 O% E. k% M

  777. ! A3 D3 Q- T# F3 b, x* y5 l" ^
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 S" h6 f( q* h  Q
  779. ; security tokens of the calling client.  This allows IIS to define the
    1 ?( i$ _. T- h3 a" c3 q9 |2 J
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    & l! n2 F" v: a, M
  781. ; does not currently support this feature (03/17/2002)
    3 w- J! N, E* N% q# {% _+ e9 j
  782. ; Set to 1 if running under IIS.  Default is zero.8 ?/ o% S4 W9 Q1 |3 r! z/ n
  783. ; http://php.net/fastcgi.impersonate
      y/ J9 D% y! m# D/ t
  784. ;fastcgi.impersonate = 1
    ! j4 o9 @$ p9 h2 x* Z$ l

  785. 5 d( \. S9 e5 L1 \
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* \$ L8 `0 p0 t& e8 }) R" a! l
  787. ; this feature.
    1 C4 d3 _0 ~2 R3 K. N* P* [
  788. ;fastcgi.logging = 08 W. ^) `6 a8 t* A

  789. * E5 Y$ g7 t) U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. V, A( X' W: ^  A! a6 \
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 Q) s3 x* f. t9 _: Z* a
  792. ; is supported by Apache. When this option is set to 1, PHP will send( r% Y6 @+ B( _/ y: b; Q7 K
  793. ; RFC2616 compliant header.( ~& T: \# p. P: K  }1 K- \
  794. ; Default is zero.& V- c  T+ T6 r# m
  795. ; http://php.net/cgi.rfc2616-headers/ B/ H7 m7 d4 n3 Y
  796. ;cgi.rfc2616_headers = 0
    " E. ?! d2 T$ D5 w# C% x& X
  797. ; ?# A+ W; a3 Q/ l( T6 C7 G) O
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    $ v+ i8 x3 x7 G7 ^/ d
  799. ; (shebang) at the top of the running script. This line might be needed if the7 l  o0 u4 l+ W" N/ G1 t5 z
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 {1 @& M- ]( x/ G( n
  801. ; mode skips this line and ignores its content if this directive is turned on.
    # ?- E. h( P4 ~& w% H
  802. ; http://php.net/cgi.check-shebang-line
    8 t/ T8 c0 |; z; N) v
  803. ;cgi.check_shebang_line=1
    : K* h' x; X" `1 y. v6 a

  804. ; Q( Z+ B+ ?. h# }( p
  805. ;;;;;;;;;;;;;;;;
    $ R4 k  R3 P; x  H$ g: g" P5 E
  806. ; File Uploads ;7 `4 R& A8 l' ?7 e0 r4 \9 t+ w/ N$ Q8 `
  807. ;;;;;;;;;;;;;;;;
    # ?8 E: ~; j9 D
  808. 0 T( j5 C9 Z2 |, A) t4 o' k
  809. ; Whether to allow HTTP file uploads.% u6 m* L% m2 y4 @
  810. ; http://php.net/file-uploads
    0 y/ Q: c7 u5 @1 O8 _
  811. file_uploads = On8 n+ Y) a" F# \: O) j; a1 i' H% U
  812. 4 o! H& u$ W# W: S% s- H& ~* `7 [
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    , q  i7 u# l1 w0 P
  814. ; specified).& n, f4 w7 m" l0 [
  815. ; http://php.net/upload-tmp-dir
    ' W! f/ l3 |# f1 l$ W
  816. ;upload_tmp_dir =5 v  O3 G  y' q; A7 w9 z( G& C- [. @
  817. " f9 Q; t" i5 B. L% k  o
  818. ; Maximum allowed size for uploaded files.
      k& J; p0 L+ f* a, \
  819. ; http://php.net/upload-max-filesize; F. H+ @3 A: h( s
  820. upload_max_filesize = 50M
    + G/ A* w+ U5 M

  821. 5 D3 c" b3 B! x% X  V" |
  822. ; Maximum number of files that can be uploaded via a single request, h1 `$ u, W2 ]
  823. max_file_uploads = 20# {2 c8 |# H, y+ m) o$ {0 @
  824. 6 m1 x+ a! A- a/ Y! Q) t9 F- u
  825. ;;;;;;;;;;;;;;;;;;6 c( [' o/ C$ D  w. Q# h, z2 F+ G
  826. ; Fopen wrappers ;
    ! S7 [  b( f1 u6 Q$ A4 g8 y
  827. ;;;;;;;;;;;;;;;;;;
    . N( ^1 \% c% R  @! N3 I$ l
  828. * r$ }2 J, d1 w" T6 b6 k
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& b: M& @, g0 f* W( i/ l
  830. ; http://php.net/allow-url-fopen
    - R) m: p+ C& V- F& l  `
  831. allow_url_fopen = On9 I) q# d5 l# S
  832. " A5 r& g  p  `9 o5 E; r8 b+ r
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + g3 e& J- D7 s' m
  834. ; http://php.net/allow-url-include
    7 Q' d% c4 p0 t3 D: Y
  835. allow_url_include = Off& X. w% L8 U% I* f) e4 z
  836. : N, M7 k' `7 J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
      @* \7 w  w. q5 |
  838. ; for this is empty.2 g. _% b( H# S# R' }) n/ o9 a6 z& u
  839. ; http://php.net/from3 w  ~# G5 h& f* ^2 E; I( R
  840. ;from="john@doe.com"# c( B) h) I. w& J, }% c+ h5 V- D
  841. : Y8 u6 e9 M& h3 _- V2 [  O. B/ m
  842. ; Define the User-Agent string. PHP's default setting for this is empty.1 v& O' D- b/ B0 i* Y
  843. ; http://php.net/user-agent
    9 `8 D  j/ d' r- T" M& O" |" O
  844. ;user_agent="PHP"( Z- F/ b" A9 V! ^; H
  845. 7 e. I- G% d" p
  846. ; Default timeout for socket based streams (seconds)
    7 x( L6 d8 i" y
  847. ; http://php.net/default-socket-timeout
    & N9 t. i2 t  c1 K0 _4 [* r0 @
  848. default_socket_timeout = 60
    $ a5 l9 h' A/ O4 @$ B
  849. 1 ]& [9 A0 x/ A1 _9 n# l
  850. ; If your scripts have to deal with files from Macintosh systems,; T+ O+ f( ^& g5 k
  851. ; or you are running on a Mac and need to deal with files from: }- s3 i. n/ h3 n- o% W
  852. ; unix or win32 systems, setting this flag will cause PHP to, W, I  `2 L( j0 ~& M$ L: o: n2 g
  853. ; automatically detect the EOL character in those files so that
    . `+ h( B! B5 f! j' g6 T
  854. ; fgets() and file() will work regardless of the source of the file.
    / k5 u7 f! j$ h  |. F
  855. ; http://php.net/auto-detect-line-endings
    ) ?* ~6 n5 u0 D' \$ v
  856. ;auto_detect_line_endings = Off" w) E7 p/ M9 @! \

  857. * O% ]( h# b& G4 S  F$ Q5 T
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 @" b5 \. h9 ?; f$ F4 a& B: P
  859. ; Dynamic Extensions ;/ |+ T# y- m$ |/ {+ J# M3 ?+ c
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ) Z( F- |# |0 n4 y: Z; Y) |  a) j
  861. 8 K( D7 Y  f$ `8 i3 o2 e
  862. ; If you wish to have an extension loaded automatically, use the following; r* ]* B* M/ m4 ?' Y' y  X
  863. ; syntax:
    # n/ H* A: C; L% V. ]/ V, u: U
  864. ;
    . c( q5 H9 ]; ~+ }# f. E& q
  865. ;   extension=modulename.extension+ T* \, Q. O( N) B1 O- X6 O* _
  866. ;
    ' |/ i5 {8 _$ ~+ `6 i) o
  867. ; For example, on Windows:; _" d+ m% ?9 H6 V
  868. ;
    : ]$ ~( |- k+ X- V0 ^' L
  869. ;   extension=msql.dll
    " y! m6 _  a* o5 k5 b; j
  870. ;- v1 d: E' _7 k+ J: p
  871. ; ... or under UNIX:
    * @! ]- \  G) e7 n3 Y3 p
  872. ;$ D) s7 s4 I  n$ X0 R* |: h% H
  873. ;   extension=msql.so
    0 J; \: k* l: o) i( R& `' X
  874. ;
    * f& N6 R' R' F: y. r. z
  875. ; ... or with a path:
    9 B: _% x4 k: r5 e
  876. ;
    0 I" @( J/ W0 M" L, W& j
  877. ;   extension=/path/to/extension/msql.so
      ?$ U0 q) I5 O6 F4 U
  878. ;4 y; i) t6 b/ b" n+ ?, U
  879. ; If you only provide the name of the extension, PHP will look for it in its
    : }$ m" a" P' z3 c
  880. ; default extension directory.- S" }$ g4 c' m9 b3 K! ~* F
  881. ;
    $ m! V- O; B  X8 Y2 w6 Z
  882. ; Windows Extensions( G/ ~/ Y& t( q8 }+ V0 s- d: x. |% z8 L
  883. ; Note that ODBC support is built in, so no dll is needed for it.% ]0 {; F7 f5 E. D- M7 H
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): k% f2 s  `( k- L, C4 P+ p
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).) A* Z" `0 Q+ V( P/ Q4 Z) M0 Z, m! p
  886. ; Be sure to appropriately set the extension_dir directive.
    ) x9 @( }. _# N# X
  887. ;
    ( r& E/ v+ ^' R/ S6 |
  888. ;extension=php_bz2.dll/ G4 s. q9 c& C  a
  889. ;extension=php_curl.dll  o4 f/ a% G( A
  890. ;extension=php_fileinfo.dll
    # d% H# c- \, U# {
  891. ;extension=php_gd2.dll
    + H6 c" {8 ?* {, R3 p( M' [
  892. ;extension=php_gettext.dll& a9 X# ]; b7 T5 B1 @
  893. ;extension=php_gmp.dll' z. f0 \- q! K
  894. ;extension=php_intl.dll
    / C# W4 H  y$ l+ [; Z
  895. ;extension=php_imap.dll% d0 A0 N* s1 j) d5 i
  896. ;extension=php_interbase.dll
    8 x3 f" {$ j' p+ R( S* Y- L
  897. ;extension=php_ldap.dll
    : F6 L7 ?2 v6 q7 D/ j& _- c  K* u* i
  898. ;extension=php_mbstring.dll9 B; D( K; o7 \% P+ I' n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 ~5 H3 H- x" I; e# }3 W- }8 r
  900. ;extension=php_mysql.dll
    , E! {* X9 x' G. p, |$ T7 E
  901. ;extension=php_mysqli.dll( l% |: ~: R! _. k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 E4 [# o$ [6 O/ c0 o! v; x8 I
  903. ;extension=php_openssl.dll* ^& k4 O- I7 d  D1 V. c
  904. ;extension=php_pdo_firebird.dll
    ; X. z, K# ~" k7 ^3 k) P
  905. ;extension=php_pdo_mysql.dll
    3 B( G" _7 c" u. N' g% y
  906. ;extension=php_pdo_oci.dll
    5 A! a6 `" _( P1 Z
  907. ;extension=php_pdo_odbc.dll
    6 p% `+ F( }. g8 r0 R. ^" s3 [6 n
  908. ;extension=php_pdo_pgsql.dll& r4 ]0 _+ i+ v0 U# [& R8 N
  909. ;extension=php_pdo_sqlite.dll
    $ Q( e0 \. \0 G: g8 z+ U4 e
  910. ;extension=php_pgsql.dll
    # ~! d, d3 H1 p& t8 b9 h
  911. ;extension=php_shmop.dll) p1 n* R( p9 V; \
  912. " }# `8 F+ [$ N  H6 S2 P# M
  913. ; The MIBS data available in the PHP distribution must be installed. . t. Y  {; r1 X$ |1 A
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    " j) Y6 s/ j6 @3 [1 c5 ?& H
  915. ;extension=php_snmp.dll3 h1 s3 o7 [/ l+ P" {  u. r
  916. 7 w" u/ ^" }: r( B7 t- q: F
  917. ;extension=php_soap.dll
    4 R, j5 ?7 ]8 L
  918. ;extension=php_sockets.dll# t6 r1 W5 u  B, \: K  M+ y
  919. ;extension=php_sqlite3.dll" B+ `$ b6 S) Y
  920. ;extension=php_sybase_ct.dll
    5 _, |8 _3 t# l( ^) x7 |
  921. ;extension=php_tidy.dll
    # k7 J7 N* A4 B) h; m) n- n4 a
  922. ;extension=php_xmlrpc.dll+ ?7 b0 K4 T4 {" b7 D
  923. ;extension=php_xsl.dll
    / G9 \8 u2 G% _! P7 N& h

  924. , N, X) v# s5 E0 M
  925. ;;;;;;;;;;;;;;;;;;;# Z2 m& R: F+ Z; X+ Z/ T8 L+ ?
  926. ; Module Settings ;
    2 Y' A. V& e, c, G2 B) c
  927. ;;;;;;;;;;;;;;;;;;;0 A6 H6 P" B. N. G
  928. $ M7 j* H9 b1 n7 e: ?  d" r* `9 Q
  929. [CLI Server]* T( Q7 j7 f8 m7 C3 N/ \1 \
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.; Q+ j! f8 h2 }5 g8 R  G
  931. cli_server.color = On, w" r8 Q+ I2 ?& Y. R

  932. # O" r  w; z+ i7 s8 b
  933. [Date]. J" r+ H* E1 f# }" y
  934. ; Defines the default timezone used by the date functions
    % v: f# J3 `- z: P0 ^7 b  T7 x
  935. ; http://php.net/date.timezone8 g, U, {1 J" {% U
  936. date.timezone = PRC
    1 e  |9 I3 V+ p( ?8 h1 a7 b/ Z
  937. 6 S% Q- a$ d, ^, l- [# _& z0 v
  938. ; http://php.net/date.default-latitude! S  K$ {7 |$ |  h, C8 c
  939. ;date.default_latitude = 31.7667$ b% {: a! L, q+ @# y% {1 z: f
  940. 9 B/ n  c( F/ @
  941. ; http://php.net/date.default-longitude0 i8 [% t* j( X0 ~/ s3 y
  942. ;date.default_longitude = 35.2333
    # ~7 D" Y2 y1 I' ^* V/ F9 D1 B$ N* a

  943. & l9 P4 R" J  `% T0 S6 J
  944. ; http://php.net/date.sunrise-zenith
    6 x0 ?* A& @3 I6 u, I# S
  945. ;date.sunrise_zenith = 90.583333/ ?/ o6 O# `5 F) O9 {

  946. 9 D9 G8 c; _, d* e
  947. ; http://php.net/date.sunset-zenith
    ' d# q6 t* Y9 t1 e
  948. ;date.sunset_zenith = 90.5833331 a% w- K9 z% T; j; L, E0 W

  949. % B2 \1 S0 U* j$ z% k; @  b/ [% [2 Q' G
  950. [filter]
    ) P. G+ K% {& r
  951. ; http://php.net/filter.default4 |9 C9 @# _: Y+ O! E" z
  952. ;filter.default = unsafe_raw
      ]$ ]; q' V  m2 u' Y
  953. , |6 N( |+ B; [3 x& B. Y! `
  954. ; http://php.net/filter.default-flags
    2 m/ |. h3 Z: j2 \. t9 U8 j+ t; E
  955. ;filter.default_flags =
    % R9 [$ r+ ~' Y' ~: M6 ?+ ~6 J! V

  956. 9 w, s$ C; s% H4 P1 k
  957. [iconv]- b- e' I. r$ ]  q) \. w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( V, Y$ N  B# Y8 M  X
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) y! [; W2 W' e8 N
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding6 B% c) G8 d  a
  961. ;iconv.input_encoding =
    2 e4 u7 q7 e. d3 V4 ]6 P# _3 q! V
  962. - n6 ^0 @9 |) O$ Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 O! Y" v2 }4 i& r) V5 c% K
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." ]% d% k2 E* v3 c* ]6 @, \
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 W3 H0 V  f$ @
  966. ;iconv.internal_encoding =
    ) O4 X+ M& w9 w# V
  967. & x3 _& m1 m- H8 O
  968. ; Use of this INI entry is deprecated, use global output_encoding instead., R8 o  q- x# v2 X+ r# c
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * a& H) L+ E% F- J  i. U& d7 [
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 j- n% _- s3 s
  971. ; To use an output encoding conversion, iconv's output handler must be set5 @% n. K# @) P9 Q; H* X; `3 y
  972. ; otherwise output encoding conversion cannot be performed., L) w5 n% w9 Y+ K& ~
  973. ;iconv.output_encoding =
    - W* S3 v2 ^# `: F6 J* z" j& s

  974. / k$ P' E! D) t9 S" |* |
  975. [intl]9 o0 v7 l3 C/ e4 A. r. S
  976. ;intl.default_locale =+ x) V) `; t5 x, x# V7 _
  977. ; This directive allows you to produce PHP errors when some error& t  J. j: e3 \& W! D
  978. ; happens within intl functions. The value is the level of the error produced.
    6 k  q& |! A# i
  979. ; Default is 0, which does not produce any errors.
    : S: V: u7 m& d& T
  980. ;intl.error_level = E_WARNING/ w, v' ^' y$ E. b
  981. ;intl.use_exceptions = 0
    ) b- [9 B& l, ?. Z! X
  982. . V" p2 H' Y" f+ O( e
  983. [sqlite3]' G! b, t) X% Z) P) U1 s
  984. ;sqlite3.extension_dir =" x' J6 m3 X, I" b/ S! P
  985. ! b/ M  T: _, C6 C. `6 P5 ]* v
  986. [Pcre]) ~0 R* {0 q& L" g3 |
  987. ;PCRE library backtracking limit.' l7 u2 e2 G, G" X- @! D
  988. ; http://php.net/pcre.backtrack-limit6 ]/ n' I! W1 m
  989. ;pcre.backtrack_limit=100000
    3 ]: l( `  ~5 N$ R
  990. 9 h: K, ?( M) p% b" I
  991. ;PCRE library recursion limit., h" v3 q9 i# X& ]. {
  992. ;Please note that if you set this value to a high number you may consume all3 v# }3 {! p& `1 c
  993. ;the available process stack and eventually crash PHP (due to reaching the& g9 E; ]; h7 n8 m: c, j8 f
  994. ;stack size limit imposed by the Operating System).+ X5 z/ g% B. X9 f* E8 {, S/ p
  995. ; http://php.net/pcre.recursion-limit; n/ ]( `7 k/ [4 d, M: N' v1 [
  996. ;pcre.recursion_limit=100000$ ~* V" r) z& n5 k

  997. 4 s, {( d! ]/ j
  998. [Pdo]# e, c6 a9 v0 A6 @3 D  L: Z
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 u+ C5 o' e* W+ }
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ! A) o  e% Q* \5 k/ c" b( X
  1001. ;pdo_odbc.connection_pooling=strict5 w3 J9 J8 P- c% ?: e

  1002.   G" S- O2 R6 i# m
  1003. ;pdo_odbc.db2_instance_name% E# P5 ?5 [4 a. B, \

  1004. ! n& j9 i  l( V* s% Q
  1005. [Pdo_mysql]* A- l+ }2 M- C- @, C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 o6 T$ }, {! E( s# b9 v
  1007. ; http://php.net/pdo_mysql.cache_size
    ) F8 C: |, w& |' o
  1008. pdo_mysql.cache_size = 2000
    3 f- b: s* W: Q, R# m! y; m5 D

  1009. : m6 w* j/ [- c2 c5 }( b
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; h' t# m/ s+ r3 _& N
  1011. ; MySQL defaults.
    4 a3 \$ \( n+ k1 X' g" U  S
  1012. ; http://php.net/pdo_mysql.default-socket
    $ t, Z1 n0 O, `  ?2 s% k9 ]# Y
  1013. pdo_mysql.default_socket=
    , U/ l- F. i9 ^
  1014. . b2 E0 l  ^" _. i: }
  1015. [Phar]0 s1 `  N5 s. {; a( |
  1016. ; http://php.net/phar.readonly
    7 n! G7 ?% F; n( T" \
  1017. ;phar.readonly = On
    % o. V5 ^( W2 y0 Z1 A* i

  1018. ) Z  E- @6 V$ Q( L1 w
  1019. ; http://php.net/phar.require-hash
    2 R% b- M) M$ H
  1020. ;phar.require_hash = On! r3 X9 N1 V" D7 m* r

  1021. * A  f2 w$ u) g+ Y
  1022. ;phar.cache_list =( u8 q, k9 m2 M& ~; K
  1023. 7 H. B) I2 ^$ N/ f" Y' p, }
  1024. [mail function]1 s' B: F* e7 C, P! l8 l$ _
  1025. ; For Win32 only.) y/ Z( \. H! Z- q  F5 N0 m- g
  1026. ; http://php.net/smtp2 x, a1 w9 ~: X" r, ]  R# b9 [( a& u
  1027. SMTP = localhost" u& l- s! ~* W
  1028. ; http://php.net/smtp-port- E% c  t7 r: F
  1029. smtp_port = 25
    - P& g4 e- X. u$ A
  1030. ( c$ K  J# R' _% i* U
  1031. ; For Win32 only.* l3 C6 Q# H$ d
  1032. ; http://php.net/sendmail-from
    , L$ ?& d1 q, d$ ]6 ~6 \7 |% e
  1033. ;sendmail_from = me@example.com
    # A+ _0 C7 t% h" N! A$ D
  1034. $ d5 y4 h' B' c1 U4 w6 [& ?; Z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & V7 g4 [/ v+ @8 h1 O. ]
  1036. ; http://php.net/sendmail-path5 i( c: {: l. p& ~
  1037. sendmail_path = /usr/sbin/sendmail -t -i- {% @, D: m4 p
  1038. + s" e, F3 e6 C# L1 y5 n9 `
  1039. ; Force the addition of the specified parameters to be passed as extra parameters! v* i/ e' D7 N5 u0 e3 c# g
  1040. ; to the sendmail binary. These parameters will always replace the value of
    : K2 t$ a3 q, g- O1 G+ v3 _  J
  1041. ; the 5th parameter to mail().& G$ w5 V4 w) [1 w
  1042. ;mail.force_extra_parameters =
    * ~  D$ B( E) H3 B( p6 R* e

  1043. ; I5 h! B* Y1 i
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * R; M/ b, s! T- ]: a  C
  1045. mail.add_x_header = On9 ?- n( R/ w; ^. J  [+ x

  1046. 1 q% b/ u2 x8 \9 u
  1047. ; The path to a log file that will log all mail() calls. Log entries include* B" r: T& D. A# F! a+ e
  1048. ; the full path of the script, line number, To address and headers.) c1 u4 o/ Y* b3 [
  1049. ;mail.log =
    2 j) k" @5 l8 E1 b2 j) ~( J+ x5 k
  1050. ; Log mail to syslog (Event Log on Windows).2 ~( Q* [: w1 `1 R9 N
  1051. ;mail.log = syslog# {0 |  |8 [, r6 W
  1052. 5 x. e/ x2 c* L& ^5 @2 k# ?9 {) M
  1053. [SQL]
    ( g9 m) }" h3 @/ o* g6 b+ J/ l
  1054. ; http://php.net/sql.safe-mode$ Y6 X3 I3 M% b+ Q: ]
  1055. sql.safe_mode = Off: {9 v! z! g: W( u; i; X! I' h
  1056. 6 N! n  I% P' q3 k
  1057. [ODBC]( S/ U" \3 q5 o/ k4 x
  1058. ; http://php.net/odbc.default-db" \3 _6 v6 k' j/ U
  1059. ;odbc.default_db    =  Not yet implemented% Y8 o7 L" @$ V' V+ v

  1060. ( Z/ o* i3 }! X8 s( o5 h1 h
  1061. ; http://php.net/odbc.default-user
    8 {4 P2 r0 f! g
  1062. ;odbc.default_user  =  Not yet implemented
    % a2 Y$ W# ^4 v; A8 g3 [6 b

  1063. # d, W6 W! K% U" U: t. K$ U
  1064. ; http://php.net/odbc.default-pw
    . T5 K9 d# n8 U. `+ h1 @; Y
  1065. ;odbc.default_pw    =  Not yet implemented( v9 J: k9 j7 ~" R. P: v
  1066. 1 Y3 m" D5 L1 _6 U/ ~! z
  1067. ; Controls the ODBC cursor model.1 Q$ [+ U' E, C! \8 T! l
  1068. ; Default: SQL_CURSOR_STATIC (default).; j7 |( d2 o2 y% ^) r: X
  1069. ;odbc.default_cursortype
    ; y) `# f4 G$ t- i9 k) Z
  1070. # I& q0 _9 q; w2 L! c' q
  1071. ; Allow or prevent persistent links.. y$ I+ D) m; {5 A
  1072. ; http://php.net/odbc.allow-persistent1 ?  I7 u' h, k
  1073. odbc.allow_persistent = On# Z& R1 {/ t, c1 }

  1074. - l- f: D% u9 {  r1 d
  1075. ; Check that a connection is still valid before reuse.4 t3 i$ r# |0 h9 ^) ^
  1076. ; http://php.net/odbc.check-persistent
    ! D% A# t5 @( p3 S+ u$ q
  1077. odbc.check_persistent = On- p5 Q6 u/ N" i: F3 A- s

  1078. $ X  y& q6 l% G& a' B
  1079. ; Maximum number of persistent links.  -1 means no limit.
    9 V8 e# i7 a- j9 P1 s
  1080. ; http://php.net/odbc.max-persistent' Q1 V/ `; @0 I* N
  1081. odbc.max_persistent = -1' y2 ?8 E8 h+ ]1 r# G- e

  1082. , \* Y' p- f; M  ~5 Z: C
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% k2 [. ^7 _3 \, k- T
  1084. ; http://php.net/odbc.max-links
    2 d$ k; ~$ q: c
  1085. odbc.max_links = -10 F! U/ k5 }- E* X4 O; O. l
  1086. % _; ], a6 r9 o5 |
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  b2 S' C5 y7 w/ `/ q& }
  1088. ; passthru.% V5 o! v* ]( j. T7 D" J# u
  1089. ; http://php.net/odbc.defaultlrl$ g" S7 x% Y6 D! e
  1090. odbc.defaultlrl = 4096
    ! D; L, F2 @* i- ~  k- K& S2 }

  1091. - ^1 z% }$ @. o& n
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' M# D2 N) u' ]# ]; w2 q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation5 ]5 \4 W& f% L3 O
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode5 G/ Z6 {! K& [) Z! U& \2 G
  1095. ; http://php.net/odbc.defaultbinmode
    7 R+ h4 g* s6 y( B% f: F! r; ]9 w
  1096. odbc.defaultbinmode = 1
    % \3 l/ m; F$ V  o" `& Q

  1097. 7 }' d: G9 X& I
  1098. ;birdstep.max_links = -1
    3 F, N5 ]1 |& F& N
  1099. ( j' h. W+ V) u8 \2 U7 B  b  Y
  1100. [Interbase]
    - f6 H! t) _0 @9 G, ~; w4 v
  1101. ; Allow or prevent persistent links.) y  a" P% Y/ {# q
  1102. ibase.allow_persistent = 1# l, O" N  y* s3 [$ E1 D
  1103. 1 y" _  q9 `- w  j* j6 S1 l
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ' l4 c. U+ C' t: s7 A( G) k
  1105. ibase.max_persistent = -1& w3 u9 q! ^+ p( D: a. ]  q

  1106. , z/ T7 {. Q) R+ q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 ]% c; i: |& D' q# R: H
  1108. ibase.max_links = -1
    . |- u  K3 D; }! V4 T
  1109. 8 S/ J$ D8 j+ g: x4 r6 {
  1110. ; Default database name for ibase_connect().
    & W" ?3 P! }" z5 D
  1111. ;ibase.default_db =4 M- K1 |7 h* d2 e  R; I7 q0 O
  1112. & y! D$ F( E+ x- J' \
  1113. ; Default username for ibase_connect().
    * D2 N9 _! ?' D' H- M
  1114. ;ibase.default_user =
    4 Y( X: n- r; A6 Q/ I, Y5 ~
  1115. 9 O( v+ w8 ?, p8 K
  1116. ; Default password for ibase_connect().# H+ M  b7 y# L* H
  1117. ;ibase.default_password =
    3 `5 P- ^8 D" a- X& F
  1118. # u5 {" C2 s7 S+ t, q" R+ c( a' V
  1119. ; Default charset for ibase_connect().
    0 g0 f1 L0 ~" y0 t0 x
  1120. ;ibase.default_charset =  I# S; L) f& l- c* j

  1121. & O2 |" ]) D/ n9 ~: a2 O
  1122. ; Default timestamp format.
    " d& H, e/ _7 P4 Z" B+ j# b6 q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* G9 H+ z$ q% p- R: ?. G; ^$ H

  1124. / H% J  M2 ^9 d  P
  1125. ; Default date format.
    * O; X5 C. w6 L( b( c. L7 i
  1126. ibase.dateformat = "%Y-%m-%d"
    $ J9 \0 c/ e/ X* z1 O/ S# |( n

  1127. " N+ X3 H5 L5 V- ^7 X7 U+ T
  1128. ; Default time format.# c7 X% q; ?/ g2 e2 Z
  1129. ibase.timeformat = "%H:%M:%S"
    : w3 G, P4 W4 B* @4 r

  1130. 1 c" {, T0 R' p1 U& ], I1 y! z
  1131. [MySQL]3 W( v+ n) j: q
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 Z% Z1 c8 q' S
  1133. ; http://php.net/mysql.allow_local_infile  v/ b$ z# g" u* w# z
  1134. mysql.allow_local_infile = On
    ) o* `5 y% f- Z' a
  1135. & H5 e6 f6 G) \7 ^* `! [7 d
  1136. ; Allow or prevent persistent links.
    3 ?" [5 U, |, r- F4 }7 T5 E- G
  1137. ; http://php.net/mysql.allow-persistent
    * q& s  ?, |) T$ D: a2 u
  1138. mysql.allow_persistent = On
    4 {# \9 }: z/ e8 [$ \
  1139. ! P1 R  \; g7 }, J: M4 ^9 ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' t( i# P  K2 f. R8 D2 V$ D, f
  1141. ; http://php.net/mysql.cache_size
    & r0 V% L3 H4 {
  1142. mysql.cache_size = 20009 K  x+ E9 L' d$ R

  1143. * W* b% M- k1 S$ @' M
  1144. ; Maximum number of persistent links.  -1 means no limit.  E0 G5 K6 n; l+ Z
  1145. ; http://php.net/mysql.max-persistent
    1 K# y- O. m' \) y% l, I
  1146. mysql.max_persistent = -1; e9 ^$ X! X+ v4 W& a+ ^

  1147. 1 l  C" b/ y, y; _  r% S1 K- T/ L
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 L/ \/ ^  f" Q' P
  1149. ; http://php.net/mysql.max-links7 \# q) f+ `  A" m' v) f1 y* {/ G2 O
  1150. mysql.max_links = -1" F9 l" s$ Q% I( L; P
  1151. 9 v4 k6 V# S, R7 N' Z
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use; t+ y3 b* {) O: y0 \! _7 j$ w
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. ^3 n9 g, p7 I2 g
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look& E0 V$ E& }# q2 _6 K2 z4 Z8 X6 J
  1155. ; at MYSQL_PORT.
    % ]) L  V! f* C6 H  s8 C# r3 M: E
  1156. ; http://php.net/mysql.default-port
    8 m4 `3 c* e% E- k" t% F* w* J
  1157. mysql.default_port =
    % u$ k' ~( c" ]

  1158. . J" r; |! D) v6 v( a
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in# i5 L: T/ d  t) A
  1160. ; MySQL defaults.: e' i7 a- K$ x4 M$ S3 B- W$ r
  1161. ; http://php.net/mysql.default-socket
    1 @3 A$ S- N% z! c* c
  1162. mysql.default_socket =8 @1 `. q6 K5 t2 b$ r1 B; C6 C

  1163. ) w7 \# N  z! @: U! q, t/ {
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 C, R8 I$ p: D' P, U, w# L% i
  1165. ; http://php.net/mysql.default-host8 S; W6 R: B& H. J' a1 ?! @# y
  1166. mysql.default_host =$ F. P3 ]9 M$ r7 z, s) H

  1167.   [" w0 Z% v! d1 G) J1 e' |3 k3 n6 |. C
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).6 O# G1 A9 u/ f7 p: L
  1169. ; http://php.net/mysql.default-user; |7 v; |. ~2 D  G2 \! V& r, d
  1170. mysql.default_user =7 l- A( V; E* e, ~
  1171. . g0 ], L8 n1 s$ v5 Q/ e% w! g* w
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).9 @( e+ W$ G% K7 @, r/ {6 o% g
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.3 N: J& ^9 c. {+ C
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")3 |# c; X% o8 p2 S7 ]! u
  1175. ; and reveal this password!  And of course, any users with read access to this5 y* ^5 l" l% h7 ^% Y! u7 i7 ^
  1176. ; file will be able to reveal the password as well.  N' ~" R. U( L4 c
  1177. ; http://php.net/mysql.default-password9 M5 x" H, W6 y$ N9 B
  1178. mysql.default_password =5 H, s6 j& @% ]: ^1 E6 b

  1179. 1 G' X" M6 W" `. P' q, d  I
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit2 i' |5 w) @& Q) s0 P# }+ {, K% E
  1181. ; http://php.net/mysql.connect-timeout
    " ~! ~) p) A  m0 A- F: G% [
  1182. mysql.connect_timeout = 60
    7 H3 g% O4 ]( e/ t; o! k

  1183. . t3 W! k* |/ m) M7 j
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and% I; `+ l$ a1 ]! C4 z" y+ P! l
  1185. ; SQL-Errors will be displayed.
    # D: P2 x* s; @  Q  ?& R) s* _
  1186. ; http://php.net/mysql.trace-mode
    ' H5 Z* A* F4 v7 U
  1187. mysql.trace_mode = Off
    + ^* Z+ t+ U! B! J; j' [/ f1 q

  1188. / W/ y" ~; J2 `9 e2 r$ F8 \
  1189. [MySQLi]" V4 R" L: N; ^; e: I& r

  1190. , c/ N. h4 @( ^
  1191. ; Maximum number of persistent links.  -1 means no limit.5 g( R: K  B' }& C5 o$ j' x
  1192. ; http://php.net/mysqli.max-persistent8 Z: \- N1 L8 ~! a
  1193. mysqli.max_persistent = -19 ]0 ^+ X: g2 ?, x+ l

  1194. 7 ^* V8 T* ?" Z$ Q' o8 \
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 d+ z: u* H0 |6 e
  1196. ; http://php.net/mysqli.allow_local_infile; c5 `. C+ r$ _8 y* W
  1197. ;mysqli.allow_local_infile = On
    5 V; u) I/ Z' E( ]

  1198. 0 v5 j6 T+ `- M% Q& f: g
  1199. ; Allow or prevent persistent links.6 U1 f" l$ P& i! L: L0 W  l
  1200. ; http://php.net/mysqli.allow-persistent4 x' V4 P  t1 v8 R0 x# Q! a
  1201. mysqli.allow_persistent = On
    # _, y, I3 Z2 b: a; |& m! e
  1202. ' a  L; M- f# R1 }( ~6 e/ t
  1203. ; Maximum number of links.  -1 means no limit.
    $ q8 m3 o/ e0 @6 Y$ [6 l
  1204. ; http://php.net/mysqli.max-links
    " o' K( D1 J* s. Z& b5 @, M
  1205. mysqli.max_links = -1
    & t3 z  }& W) k' b* j* w

  1206. % f. o4 u, ]  d" a6 a, |5 w, z( M
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache* e5 k7 v4 n& Y0 O( @" X- L1 x
  1208. ; http://php.net/mysqli.cache_size
    ) {9 ]6 M3 H% e2 N9 b7 {
  1209. mysqli.cache_size = 20004 L; v& i" Z( a7 M/ {7 L* [! U9 K0 q

  1210.   ^' k: d$ E) `( P& b9 x; f. f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# B/ n: U' ]0 m" o- ]; l
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- y1 _9 v5 @- L/ M
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & n2 d" R0 [! O4 F
  1214. ; at MYSQL_PORT.1 t3 r% b$ T1 O- A; ~0 y
  1215. ; http://php.net/mysqli.default-port
    ; |4 ~4 J0 p: r6 @
  1216. mysqli.default_port = 3306# R# A& h# U3 ~+ E. h  v
  1217. 1 k9 g8 |9 ?+ n0 e' j3 S5 L
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 h6 G6 y% g4 G# J2 R$ {2 `
  1219. ; MySQL defaults.
    $ b0 h" {6 P/ b: M, s' b
  1220. ; http://php.net/mysqli.default-socket) d/ B: W* W' R& a, e& y
  1221. mysqli.default_socket =/ @% h9 N/ Y6 U
  1222. 5 C# h8 @( D0 B) Y1 a' T" U* f' \
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' t$ Q2 t3 ^2 Y+ i; E& R6 n
  1224. ; http://php.net/mysqli.default-host7 M0 p. q5 k! N4 a9 g
  1225. mysqli.default_host =) t5 [$ G4 J8 V: L$ U

  1226. ! ?! F- g5 z0 U! E$ Y1 e/ e
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " Z  H) K8 y% {: O- Z( O7 T
  1228. ; http://php.net/mysqli.default-user! ?# @; _8 h: M* O) l2 @. r
  1229. mysqli.default_user =
    1 x' {* x. v$ v! V
  1230. ; u% K) w7 w- _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ! L+ D0 }( D+ ]* i  K/ G; u
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ! T9 E0 |* w* Y& M( ?2 c
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): W, }/ }: J: H6 t# x/ |7 Z% M
  1234. ; and reveal this password!  And of course, any users with read access to this
      y6 u& y$ y8 r7 I# I1 M
  1235. ; file will be able to reveal the password as well.% E4 e% q0 {2 M7 N3 [
  1236. ; http://php.net/mysqli.default-pw
    . F3 }# L, e  |% [, y6 U, }, Z
  1237. mysqli.default_pw =+ s; f7 z, n: @2 N  i- _
  1238. 9 F' f6 y1 [0 H; ]! P9 `3 o
  1239. ; Allow or prevent reconnect
    1 [% e( o5 Q+ K  B' ?% c' H
  1240. mysqli.reconnect = Off9 _2 p9 t& S! j8 y+ z
  1241. 8 `7 M9 }( H. @
  1242. [mysqlnd]% @3 v/ [$ g1 E6 m& _
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be0 d  U, D/ ^! \4 X
  1244. ; used to tune and monitor MySQL operations.
    - Q9 z* a4 ?- Z2 t7 _
  1245. ; http://php.net/mysqlnd.collect_statistics: I* w$ a7 Y3 k* c* w+ ~
  1246. mysqlnd.collect_statistics = On1 g+ D9 s- N) e
  1247. & W7 d/ h3 d1 z+ L) s' U) p1 e
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ k; q+ A6 ]% V) x
  1249. ; used to tune and monitor MySQL operations.
    1 B7 H; _; i( f8 k
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ! J8 d3 E) D, @, z
  1251. mysqlnd.collect_memory_statistics = Off( S/ ]# q2 @+ f+ A8 B# f  M

  1252. ) E2 b3 |7 z( v' `- R
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : R9 M4 j3 `; q$ ~0 H$ q. S1 g& Z
  1254. ; file." W0 L4 a3 A+ O
  1255. ; http://php.net/mysqlnd.debug
    1 [- }- |) M  k! `0 t! F1 Q
  1256. ;mysqlnd.debug =, U1 v* K1 `; U8 d3 P* b
  1257. . }% G# }, R5 j4 V  \4 P' r
  1258. ; Defines which queries will be logged.
    9 m" J5 X9 P0 Z6 _( t+ t
  1259. ; http://php.net/mysqlnd.log_mask4 ]9 u& U& j/ R" t
  1260. ;mysqlnd.log_mask = 0- Y  \2 v  [+ ^/ T; u, N' B
  1261. 6 ^' Z; w8 m0 L  S; p
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) p2 O& |! s. v( u  n
  1263. ; http://php.net/mysqlnd.mempool_default_size) Q7 S' M: P2 U
  1264. ;mysqlnd.mempool_default_size = 16000+ U! N& Z2 U( Y- h) p

  1265. # e& a! w9 g/ M$ D# O* V+ o$ d
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . m( V9 P& [7 c6 j: \& Q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 g: R' y! H7 Z) {6 A
  1268. ;mysqlnd.net_cmd_buffer_size = 2048. B4 S1 y, c5 p0 I  K$ Y+ u- N
  1269. 2 M, m4 w9 T6 T! F
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & m  @, B7 s3 K: v  [& {# q& L
  1271. ; bytes.& b9 `% b- z! K; v) b0 B
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    , y' b! {  }: ^1 Z
  1273. ;mysqlnd.net_read_buffer_size = 327688 B( `& m: z) h0 Z
  1274. 2 E+ V: J% E; G) |
  1275. ; Timeout for network requests in seconds.
    2 B9 Q5 Y: ^- Z3 h
  1276. ; http://php.net/mysqlnd.net_read_timeout
    1 T  e; @6 j  N7 w" w9 w
  1277. ;mysqlnd.net_read_timeout = 31536000
    ; @1 D% c: ]1 N$ C5 N

  1278. / h) |) ~0 z6 F* ]4 G) F
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA5 ]7 M+ `2 s7 ]/ F! q/ K# f
  1280. ; key.. t( d. b0 j7 x# d
  1281. ; http://php.net/mysqlnd.sha256_server_public_key  L! L: O/ B4 @' n( g5 z0 |* a
  1282. ;mysqlnd.sha256_server_public_key =0 N0 ^5 K4 [3 r

  1283. 1 x5 F2 c9 ~2 c7 ]
  1284. [OCI8]
    # Z! g& b3 s: C4 `0 W8 S
  1285. 2 I7 [8 m6 ]0 ?% L: O9 z$ j$ U
  1286. ; Connection: Enables privileged connections using external. ]3 x+ ^+ W9 k9 V6 m% `' k
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* u% w8 H8 T2 I( L9 w
  1288. ; http://php.net/oci8.privileged-connect
    % M0 w( G$ H) W. h& t' E
  1289. ;oci8.privileged_connect = Off
    8 r( _/ x6 _0 W9 n: a# z

  1290. ! V% P% Q9 u9 p) Y# h
  1291. ; Connection: The maximum number of persistent OCI8 connections per0 P& U( ^. r2 G
  1292. ; process. Using -1 means no limit.' X. ^& Z; n2 s  w8 v" J
  1293. ; http://php.net/oci8.max-persistent
    ! @; ?4 B+ H4 w( R( |% j
  1294. ;oci8.max_persistent = -1
    ( z  ?& a: j3 q- w; ~5 T+ A  f

  1295. # R! s0 \7 G6 b7 I) P4 G
  1296. ; Connection: The maximum number of seconds a process is allowed to
    - w9 P: h$ K% b4 w7 l
  1297. ; maintain an idle persistent connection. Using -1 means idle$ U" p- B* b3 t/ W
  1298. ; persistent connections will be maintained forever.' w% ~" }- d( a( g0 y3 _
  1299. ; http://php.net/oci8.persistent-timeout: I* g& D. }# ^3 x1 f* |0 {
  1300. ;oci8.persistent_timeout = -1
    % U! y4 c, C9 u) z
  1301. 1 o. y+ }& H0 e7 t# o; ], S" b
  1302. ; Connection: The number of seconds that must pass before issuing a3 \; L4 l7 H  v! ^/ r- y
  1303. ; ping during oci_pconnect() to check the connection validity. When
    / U- j( s" _: Q8 \1 q1 |( Y& `! F
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : A. ?- _6 A: k# a% j  G6 ~
  1305. ; pings completely.
    . l; l9 b9 n' P: S& g: M' D. t9 \
  1306. ; http://php.net/oci8.ping-interval
    6 L7 m9 ^+ G- B4 F4 X* X$ f
  1307. ;oci8.ping_interval = 60* d8 z, O$ N1 q6 P  \8 p
  1308. 0 c) r& a& x( D# N
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 C; u! A& Z" w% F' U
  1310. ; for all pooled server requests with Oracle 11g Database Resident% {6 b! R( L. {0 A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) Q2 Z! e  @8 j( V. T
  1312. ; the same string for all web servers running the same application,1 G# e& x& n5 c: |! t+ u, g
  1313. ; the database pool must be configured, and the connection string must
    0 {4 s& B0 [" Y# L; a; R% p1 ]* v
  1314. ; specify to use a pooled server.' y* b" M! G" I9 F5 h
  1315. ;oci8.connection_class =* v& l3 p, Z$ h
  1316. ' }6 s" @9 H+ F  a, M
  1317. ; High Availability: Using On lets PHP receive Fast Application" ~; a. F6 p) V, N9 c: s
  1318. ; Notification (FAN) events generated when a database node fails. The, }0 J5 q  q, [# o( n
  1319. ; database must also be configured to post FAN events.; f4 P* \5 p3 Y! \
  1320. ;oci8.events = Off8 v$ C; ]9 |# N# P* E
  1321. 6 e" H# L& x" |
  1322. ; Tuning: This option enables statement caching, and specifies how
    4 b" O4 U& h0 r
  1323. ; many statements to cache. Using 0 disables statement caching.
    + D! t. S' u6 O( N
  1324. ; http://php.net/oci8.statement-cache-size
    - p" r9 j( S6 d) n/ Q6 A
  1325. ;oci8.statement_cache_size = 20
      s2 Q4 m- |+ T( k1 \% G/ P) x
  1326. 0 _; ?. r  P# Q) |
  1327. ; Tuning: Enables statement prefetching and sets the default number of$ A) Z9 w, V4 Q9 _  m
  1328. ; rows that will be fetched automatically after statement execution.
    / J9 s. v6 R3 P$ y
  1329. ; http://php.net/oci8.default-prefetch
    4 c( {6 e) y& R6 w* |0 u
  1330. ;oci8.default_prefetch = 100
    , I, N6 h% k( @, _# ?! O

  1331. 2 s* a/ T$ d4 C6 i/ a* H
  1332. ; Compatibility. Using On means oci_close() will not close
    ( i5 o( h+ |$ w$ U( S- Y: L
  1333. ; oci_connect() and oci_new_connect() connections.. G, `3 }. r$ H! p! `) A
  1334. ; http://php.net/oci8.old-oci-close-semantics
    4 G* B* a  N0 ^7 z) W
  1335. ;oci8.old_oci_close_semantics = Off
    , z. W: ?  r4 N) q4 q5 P2 b
  1336. : |+ q  I2 Z( {7 S
  1337. [PostgreSQL]# ]% P) K  C) Z, G1 w3 g. e: A
  1338. ; Allow or prevent persistent links.! E" z; |1 a; K" A. u
  1339. ; http://php.net/pgsql.allow-persistent
    + E; Y1 l+ W! s
  1340. pgsql.allow_persistent = On
    5 v+ K! {. L) e( c

  1341. ( a5 ^+ U, `% C: s9 D. \8 u" m% [
  1342. ; Detect broken persistent links always with pg_pconnect().$ T: W% j7 a) K; w' T* w
  1343. ; Auto reset feature requires a little overheads.
    0 }$ B5 t: F* J7 S4 o
  1344. ; http://php.net/pgsql.auto-reset-persistent9 w% V2 X) L' S- E
  1345. pgsql.auto_reset_persistent = Off
    ) h$ @- k# t" B
  1346. 6 B* E& ?+ P) Z* ^
  1347. ; Maximum number of persistent links.  -1 means no limit.
    " e1 G4 I& B4 ^7 U
  1348. ; http://php.net/pgsql.max-persistent
    " C9 _$ |# W, |; O- h: R: \% j: b
  1349. pgsql.max_persistent = -1- R- B2 W. \1 ~! G: T" S) E8 T2 ^
  1350.   W: i6 ^: P$ R1 g8 P: y# [5 e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; W. _: l7 [1 N8 `
  1352. ; http://php.net/pgsql.max-links7 A# s& _: x2 }
  1353. pgsql.max_links = -1# z4 G! R4 u  P" A

  1354. 9 K8 `" Q  p7 x; O: }& D
  1355. ; Ignore PostgreSQL backends Notice message or not.& T' k4 y( j  w" _# b. h8 d
  1356. ; Notice message logging require a little overheads.7 r! u5 l( M7 S2 K  N$ ^/ d
  1357. ; http://php.net/pgsql.ignore-notice# L$ K: g  x4 p% _9 p9 z$ e$ Q8 }
  1358. pgsql.ignore_notice = 0
    * k  j; X. ?/ E& D% L
  1359. 8 {" N9 O5 d) P1 u6 o1 }' y
  1360. ; Log PostgreSQL backends Notice message or not.2 V2 a" W3 h7 Y
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    7 W7 a8 v* g& l. a: z! \9 _" q
  1362. ; http://php.net/pgsql.log-notice) |8 G  u' J# B2 m/ j5 @1 f4 n. O# ?" {
  1363. pgsql.log_notice = 0
    5 S! d8 L7 ]# v2 h- M
  1364. # L1 @- k- e& Y( S8 E% k+ f
  1365. [Sybase-CT]- s1 y* Z, I3 d
  1366. ; Allow or prevent persistent links.
    ' r1 O" J2 ^# ]
  1367. ; http://php.net/sybct.allow-persistent2 x( T. a( b) a  P- y2 }
  1368. sybct.allow_persistent = On% j6 E+ R& a. [* n
  1369. 3 W: |0 y# t- A; K
  1370. ; Maximum number of persistent links.  -1 means no limit.5 w* D1 t" Q2 w
  1371. ; http://php.net/sybct.max-persistent
    ' e6 I( n: q! i$ u- d
  1372. sybct.max_persistent = -1
    8 _- V' e+ K7 }1 f! ?4 V$ q( t% }
  1373. * g$ @9 L9 a# U/ z( w2 Y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ l" K# R0 K) l8 @7 A
  1375. ; http://php.net/sybct.max-links
    7 H- p4 M' \" I5 _6 W
  1376. sybct.max_links = -1" K0 d! ~# |1 \* w" ?
  1377. $ z! P. X9 d7 ~
  1378. ; Minimum server message severity to display.
      M* H) d% x$ q& z) L  p
  1379. ; http://php.net/sybct.min-server-severity* R; N6 W" s6 _+ N5 U, Q, P
  1380. sybct.min_server_severity = 10
    ! j% Q+ a% ^6 `. {
  1381. ( u6 J' U& t1 e6 H
  1382. ; Minimum client message severity to display.' @2 y) I6 a% k. G  S9 I& Z- M
  1383. ; http://php.net/sybct.min-client-severity7 a2 ?7 ^7 z0 P1 b
  1384. sybct.min_client_severity = 10! z1 w9 t: D3 [6 B, l# K

  1385. # ^. V$ r7 V1 G
  1386. ; Set per-context timeout
    * m! }5 U! ~& I6 ]0 Y0 u6 B
  1387. ; http://php.net/sybct.timeout
    + h, j, G  N' H5 k, P
  1388. ;sybct.timeout=
    6 C0 i& Z- W/ f5 G- l8 o

  1389. + i- m% x$ t1 u/ G4 j7 Q
  1390. ;sybct.packet_size
    - `9 t! [/ J* w6 h: M( N+ Q5 O

  1391.   G/ ~: H" w- P  Y' @
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    6 D  d- M; R! W/ J# E& D
  1393. ; Default: one minute* k/ U% s4 L  M' `8 t5 ~" l1 F, U) _8 _
  1394. ;sybct.login_timeout=' V+ p& f: T$ n
  1395. " t8 z' f* w. t4 X
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.: s6 h! D$ S% H5 ~
  1397. ; Default: none
    & h; g/ B" F, A2 @+ o
  1398. ;sybct.hostname=3 _( ]$ D  h9 Q; i6 ]. d) i: c2 Z4 n$ N
  1399. # Q- N& B9 [) [7 J' K
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; S6 t+ B1 j; M2 Y- u
  1401. ; Default: 0# f& e: Z) Z# f% C( \
  1402. ;sybct.deadlock_retry_count=) b3 N% T# L6 b1 ?: ]

  1403. $ ]' R, f) I: N* M
  1404. [bcmath]5 y! }( V; J$ ]9 U% o( b$ z
  1405. ; Number of decimal digits for all bcmath functions.
    1 j# b( g- g4 K# @: o' h& }
  1406. ; http://php.net/bcmath.scale  `: @8 Y$ X$ D
  1407. bcmath.scale = 0
    7 b0 B# A' }+ G2 U1 w$ t6 G, b

  1408. : O' Y4 S3 v7 ^7 z0 Q) h
  1409. [browscap]* u, f) m& \3 f! O) |/ W5 a1 Q1 \
  1410. ; http://php.net/browscap% P, p; S' G& W0 h# V/ e3 U- x" L, g
  1411. ;browscap = extra/browscap.ini2 {: \. @( y6 Y* U. }
  1412. # g4 O. m) @  X5 V  A
  1413. [Session]
    ' p, c" Q( g' `
  1414. ; Handler used to store/retrieve data.
    / E6 ?# o2 _# j
  1415. ; http://php.net/session.save-handler
    . b/ ~9 J1 D+ b
  1416. session.save_handler = files( a* ?7 k1 V9 J

  1417. + N" f1 F# ^- ~+ M
  1418. ; Argument passed to save_handler.  In the case of files, this is the path3 s9 |8 n0 C% B; m( E
  1419. ; where data files are stored. Note: Windows users have to change this
    ) H& f5 ~( v9 f, h; ?
  1420. ; variable in order to use PHP's session functions.
    9 z- Q' \! \5 `6 S# j" H5 T5 L
  1421. ;' u0 J5 n9 \% M% F
  1422. ; The path can be defined as:% P4 E! }- S) `+ J3 q
  1423. ;2 l# ?3 a4 O* w1 w5 K! z* U  F
  1424. ;     session.save_path = "N;/path"
    ! h7 D9 S' C+ J7 U2 c
  1425. ;
    9 C( i$ e( v/ i: Y9 l3 W4 S0 k
  1426. ; where N is an integer.  Instead of storing all the session files in! ^* L( b* V6 M. ]' x0 m" N5 K$ `
  1427. ; /path, what this will do is use subdirectories N-levels deep, and, b3 A# W$ e, w
  1428. ; store the session data in those directories.  This is useful if* J5 B9 l4 S5 o. n
  1429. ; your OS has problems with many files in one directory, and is, u0 c6 T5 q, |( D1 C
  1430. ; a more efficient layout for servers that handle many sessions.
    5 d2 {3 Z. ]8 l; D
  1431. ;5 M+ F. v. w7 `
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    5 |* y' O& }4 Z; M/ g9 \2 k
  1433. ;         You can use the script in the ext/session dir for that purpose.
    - }( p) Y3 `6 n9 s. w6 s6 v
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 x9 @7 _8 l* _
  1435. ;         use subdirectories for session storage
    & D5 Y- z2 [0 F/ ~7 F0 a( o8 S
  1436. ;/ P8 L0 o5 w* D' w. U9 _, _+ Z! ~$ f
  1437. ; The file storage module creates files using mode 600 by default.! V9 l" E8 z% `* E4 v
  1438. ; You can change that by using' W5 n- r" `+ k, Y0 o! \& ?, q4 X
  1439. ;
    # k6 e' J7 k1 ^" S! e
  1440. ;     session.save_path = "N;MODE;/path"2 D; g9 {- T& {" _! Q
  1441. ;
    & C: T4 r4 x6 [
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 d* ]. g- E! y+ B, s# V  [, V) I
  1443. ; does not overwrite the process's umask.& Z/ ~" m; A- u; H% d/ ~7 I* H
  1444. ; http://php.net/session.save-path; |* }2 M9 M  b
  1445. ;session.save_path = "/tmp"
    % F, k$ |* `. ^- y& j5 U$ B

  1446. 7 v4 Y' T; K7 e$ X; D
  1447. ; Whether to use strict session mode.- ]2 h4 g7 S8 x; s
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    - ^& v  e- i6 l" x6 |6 N$ e
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects- D3 \% r' z3 [! K
  1450. ; applications from session fixation via session adoption vulnerability. It is: S# Q" x& c7 Y+ Y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.( i& P& _6 N8 \3 x  T" c
  1452. ; https://wiki.php.net/rfc/strict_sessions
    " K; Q$ ~% E% n
  1453. session.use_strict_mode = 0( Z" c# t8 ]  |) R$ [1 G8 c

  1454. - `6 x" M. J3 d
  1455. ; Whether to use cookies.
    + @, u: n' l) P! J
  1456. ; http://php.net/session.use-cookies* ~8 l- Y1 |: [5 @- @
  1457. session.use_cookies = 1
    * {% r2 e; N  k% @! _+ x( J
  1458. ( w5 ?) @' x( z
  1459. ; http://php.net/session.cookie-secure& f* o! A4 M. Z5 g, A' W( `
  1460. ;session.cookie_secure =: q+ I. T" T5 r8 v7 Y4 B& `7 y

  1461. * a1 o9 M9 C' O  Z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 }, z7 f* ~5 i3 Q
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    " F* S' p7 ^2 C" \
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 D% @8 h4 K9 y3 e( C/ d, K
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.3 ]' v0 }( R5 G1 `
  1466. ; http://php.net/session.use-only-cookies0 z; V) H+ Y& T% b/ ^/ f
  1467. session.use_only_cookies = 1
    + e) [: f% i) L6 A% t$ C

  1468. ) L8 B4 y2 \5 v% Y3 n
  1469. ; Name of the session (used as cookie name).! t6 n% l, S6 H/ R2 |
  1470. ; http://php.net/session.name
    # v0 J& B9 Z! m
  1471. session.name = PHPSESSID1 O9 K7 r# D) C# A

  1472. * y# u0 y/ D" N) ^0 M" g' K
  1473. ; Initialize session on request startup.5 D+ M% V5 m0 l, t* @
  1474. ; http://php.net/session.auto-start
    / q1 A  m% M( c) E
  1475. session.auto_start = 0, n7 j3 i1 G3 y* K" |+ l" ~

  1476.   N0 o6 f  }, r: H2 s! K' d
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 I3 U4 x5 S9 A
  1478. ; http://php.net/session.cookie-lifetime
    4 O2 u. i& ?" T- S- W4 p% ~# b
  1479. session.cookie_lifetime = 0
      ]' s6 n: h9 o3 M! Z9 R" a" @
  1480. ! r: B! M4 m7 }; i2 j- \
  1481. ; The path for which the cookie is valid.( R( q# K7 k3 s6 T# P1 U: e# E
  1482. ; http://php.net/session.cookie-path/ S; w  a! d/ s6 `% |
  1483. session.cookie_path = /) s. k5 x' S9 E7 u0 d  l( N4 h
  1484. $ ?: a9 n  ]  j0 m
  1485. ; The domain for which the cookie is valid.
    / q8 K7 N# c+ {4 v
  1486. ; http://php.net/session.cookie-domain
    5 V. x" W, @4 y
  1487. session.cookie_domain =
    ! }) y/ R: j) q( |
  1488. , R9 t0 x* ^" E4 d* m5 s
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& t: ?- _2 a+ E6 K$ I
  1490. ; http://php.net/session.cookie-httponly
    # a7 l: l( j7 _
  1491. session.cookie_httponly =
    4 I; x! B6 U; [7 I  t( U3 x
  1492. . q( q) T+ [% J2 v& Y" M
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / a+ Y$ }0 `3 ~! I' C$ l- O# w
  1494. ; http://php.net/session.serialize-handler: L( x, g- N% W1 c! x- v% o
  1495. session.serialize_handler = php0 C- L8 i* \3 |) ~
  1496. $ i8 T; q2 B& |" |$ a1 ?# e
  1497. ; Defines the probability that the 'garbage collection' process is started
    9 b) |0 ~  F% v9 }) U- I0 i
  1498. ; on every session initialization. The probability is calculated by using+ n! d" H/ u5 z7 s
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 h7 v% w( d) L% C" J' ~/ M
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, M2 G0 ]7 C5 f7 a
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : U( \& n, o% c* u" c. b
  1502. ; the gc will run on any give request.) Z) s$ ?( Q' \, A
  1503. ; Default Value: 15 e9 e5 S% Y6 y! K7 I- O
  1504. ; Development Value: 1
      a* _% X8 U5 O" L
  1505. ; Production Value: 1
    ( [9 `3 ?  O) R0 d2 }1 K0 s& \/ c
  1506. ; http://php.net/session.gc-probability
    0 P. U7 p" L& k
  1507. session.gc_probability = 1
    1 d" T+ C7 L# ~( `

  1508. 8 b( i9 @' a! |
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 u: l1 X/ b. U& Y
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 o, F  X1 e( ~
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and1 n+ f4 {4 h4 ~1 ~2 q$ F+ s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1) r: r: f; U  i4 E1 C5 C0 t
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 l- E) z9 r' p' v5 S9 j3 S
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
      l+ I8 k* v7 q
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    2 `3 b3 M8 q+ c6 u
  1516. ; this is a more efficient approach.
      J0 A1 H% @+ _' Z5 Q4 ]/ @
  1517. ; Default Value: 1009 e" n7 z% a6 V! a$ w+ g1 `9 w
  1518. ; Development Value: 1000
    ; a$ [9 w% Z! [4 O
  1519. ; Production Value: 1000
    % V& g: s" M! d& M! B  x5 a7 a
  1520. ; http://php.net/session.gc-divisor
    . I- d. _) T2 V* E7 V6 N
  1521. session.gc_divisor = 1000
    . E" ^0 |8 L: ~# ]4 Z3 T
  1522. / o5 `6 {: W" e. M- p; `4 q8 a
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and8 M0 ~9 f" C. K) a" c4 z! o4 f6 n' X
  1524. ; cleaned up by the garbage collection process.- n! B" Q7 U: P$ ^0 A( i3 Q/ C
  1525. ; http://php.net/session.gc-maxlifetime
    ; Q+ J( k5 ], U% ]6 F1 |/ ?/ d
  1526. session.gc_maxlifetime = 1440( h  K' ~# U* I% C7 R/ N
  1527. / O- Z4 S3 ]3 ~8 g' ~
  1528. ; NOTE: If you are using the subdirectory option for storing session files0 T6 x" @. c) L2 X
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ) O6 I* ~6 S. b( H' t" N4 J
  1530. ;       happen automatically.  You will need to do your own garbage
    ) Q' k* w: C# n( j; e( h  [3 K
  1531. ;       collection through a shell script, cron entry, or some other method.( q0 n, l, x; R4 D, G
  1532. ;       For example, the following script would is the equivalent of+ y  _6 w4 V$ H: d: @
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, y9 |: @& n/ }- n7 y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  ^# ~3 \) C6 M/ c* Q& D) P/ g- k

  1535. , s0 j- k3 _. J& B
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: B/ V7 a. h! d1 U% N
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    # E; f) n$ |- Q5 \' U8 i
  1538. ; considered as valid.9 a4 J% Y: ^8 S" ~
  1539. ; http://php.net/session.referer-check
    , |; c' C2 Q1 e9 T
  1540. session.referer_check =& L6 @! D/ \3 N! r3 ~! U: j

  1541. # _' c! `* I5 C- I/ s1 g
  1542. ; How many bytes to read from the file.
    $ x( p9 J* w# n" g% _  g2 U/ H9 ^
  1543. ; http://php.net/session.entropy-length! s. @7 Y; _# z6 G8 W
  1544. ;session.entropy_length = 32
    ( I8 S# a' U6 j! P$ K+ K
  1545.   ?% i+ g% d0 ^
  1546. ; Specified here to create the session id.' g3 ~/ L/ {8 U2 ^) y  }; O
  1547. ; http://php.net/session.entropy-file
    5 L) E) S5 h4 d' R8 a9 c% ]/ `
  1548. ; Defaults to /dev/urandom
    4 e. D4 D" F' x: J+ L
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 M# x; o3 H. j: t
  1550. ; If neither are found at compile time, the default is no entropy file.  ~5 E* x) g$ d, s  x" Z. s
  1551. ; On windows, setting the entropy_length setting will activate the+ V  @, \2 q) l& T# w' ]
  1552. ; Windows random source (using the CryptoAPI)
    , F4 X0 B8 b, [* X; O+ K1 Q" Y
  1553. ;session.entropy_file = /dev/urandom( J/ R1 ]) Z8 g2 L

  1554. 6 j, B: M/ r% }& e
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , S2 t4 B1 d9 z
  1556. ; or leave this empty to avoid sending anti-caching headers.* S2 x8 y9 A, ?9 Z: N7 s4 Q& V+ {
  1557. ; http://php.net/session.cache-limiter9 b" ~: ]3 F- X4 [
  1558. session.cache_limiter = nocache
    5 E9 l- ]' v" L0 H9 L; y- o
  1559. ( [+ w* a0 t# V6 Z* \9 T8 p7 ?
  1560. ; Document expires after n minutes.3 q7 }7 A  d9 S# W8 R9 ~8 h3 \
  1561. ; http://php.net/session.cache-expire
    ! o' L4 l0 `- t4 D; I: q2 F
  1562. session.cache_expire = 180
    6 R- x' n' a9 z5 h
  1563. + s& n* V7 q) u  j3 z
  1564. ; trans sid support is disabled by default.
    . B$ h+ Q0 W# ~" O1 k' ]8 s) U! i
  1565. ; Use of trans sid may risk your users' security.
    7 u4 J! N' k* l! K/ U! |
  1566. ; Use this option with caution.' W+ n5 T- V$ m4 F, E
  1567. ; - User may send URL contains active session ID: {* Q* A! H( G- V* t: ^2 z
  1568. ;   to other person via. email/irc/etc.; p3 [& X  N) N% H  C% [/ H
  1569. ; - URL that contains active session ID may be stored
    , V4 }& L2 Q- U7 p% B6 E4 p0 G- k
  1570. ;   in publicly accessible computer.1 d- K' N' z7 F' Q' |0 q7 c& }
  1571. ; - User may access your site with the same session ID
    6 a; ~5 l4 {. C& l% t  e. r8 `5 o' w
  1572. ;   always using URL stored in browser's history or bookmarks.( E2 [7 i  O. L' n
  1573. ; http://php.net/session.use-trans-sid
    ( ^8 b8 E% O. I
  1574. session.use_trans_sid = 0
    0 {* f, s3 P- U2 ]/ H# c- K% X. X8 a
  1575. & z6 L: A# a( L% G# ~( |. q! P
  1576. ; Select a hash function for use in generating session ids.
    7 V) `7 N9 L+ k6 F
  1577. ; Possible Values
    , ~) \0 k) Z! ^4 _+ z
  1578. ;   0  (MD5 128 bits)* u4 d8 w% T0 \; j% ?
  1579. ;   1  (SHA-1 160 bits)3 T! k% B  v6 t* \+ y
  1580. ; This option may also be set to the name of any hash function supported by
    ( L* X$ w$ H6 _$ _: \
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()+ r, l( i( u% A* J
  1582. ; function.
    ; s( q8 {% c' P
  1583. ; http://php.net/session.hash-function
    6 w$ |; O1 G+ J, x
  1584. session.hash_function = 0
    # ]( [  y) \6 W- T( p
  1585. " [- a) j4 e2 ~4 Y# f. M
  1586. ; Define how many bits are stored in each character when converting
    4 h) I# w7 e: i- l! \; L1 y" U
  1587. ; the binary hash data to something readable.
    ' T  I- s  x& q* E
  1588. ; Possible values:# x" f, y, Q1 h
  1589. ;   4  (4 bits: 0-9, a-f)* t1 v8 I7 l. L( e/ b9 ?% @$ }: Z
  1590. ;   5  (5 bits: 0-9, a-v)/ \9 I& `, ^. Q2 Q" ?: K2 l
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")8 L) ?4 f- U( z  |  O3 K8 U. }
  1592. ; Default Value: 4
    : \: i4 J3 x- [+ d
  1593. ; Development Value: 5: E! @8 X( Z5 O5 j$ b! g8 c
  1594. ; Production Value: 56 g: E- Y: X2 k+ V2 Q) B2 \
  1595. ; http://php.net/session.hash-bits-per-character% T" k2 u) Y- |# E( K. U
  1596. session.hash_bits_per_character = 5
    " l" N- k0 L; M9 y3 N
  1597. 4 S+ R9 V. E; v- M0 k
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.& o3 `0 w) p. o2 v. E& h+ U! ]# i  A! }
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # U. Z4 `) s; \/ q6 r+ x9 w3 [+ L
  1600. ; add a hidden <input> field with the info which is otherwise appended: S8 R0 p7 k" e2 N! v. ]+ A6 k
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    : u3 z# }6 \) Q$ r! B' w5 Z
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ' l5 @; |0 W( O1 _" t( D; G
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " A! r) Y4 ^2 F/ f
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 x8 X6 T( m8 `7 [6 A% P* p
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; x: \% u' i+ A- M" ?
  1606. ; http://php.net/url-rewriter.tags$ h* e8 n  Y( x/ V
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"& v5 q: {0 j7 K/ h$ T
  1608. * z% W9 A) r5 F# r1 Q# I
  1609. ; Enable upload progress tracking in $_SESSION. G2 x0 Q. B' Z5 q' D6 Q- b/ G; v
  1610. ; Default Value: On
    - \( _+ {3 a: j" j8 n
  1611. ; Development Value: On
    ) ^$ {. P9 f; T& }; q5 i$ ~
  1612. ; Production Value: On9 o5 J6 \  f2 y, }$ i/ D
  1613. ; http://php.net/session.upload-progress.enabled: C& n" J* s' f' r; z; {# R: u( A& d
  1614. ;session.upload_progress.enabled = On$ z5 B* d* L6 `  O8 I( y' B+ ~6 @! r

  1615. + p) d, q: m& G
  1616. ; Cleanup the progress information as soon as all POST data has been read
    7 V7 |3 h% f4 x$ O* d3 ~) z
  1617. ; (i.e. upload completed).
    ) {5 `& e" X  j$ ^4 b7 }
  1618. ; Default Value: On
    ' m% C1 b: j2 W  O# l
  1619. ; Development Value: On1 T9 v) C: X& c+ d% {9 S" b
  1620. ; Production Value: On
      e' s# C8 ~$ m8 E+ G
  1621. ; http://php.net/session.upload-progress.cleanup
    ) h; o  u& N, o5 ^3 @
  1622. ;session.upload_progress.cleanup = On0 x+ p2 L" s& S, ?+ P
  1623. ( f* C  y% d- d3 o; {# r/ L/ `
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 Q3 r/ e: F4 r# w" z
  1625. ; Default Value: "upload_progress_"
    6 z- f8 s2 H# ^8 v
  1626. ; Development Value: "upload_progress_"
    2 o7 O( d; F- {- g/ k$ p" u
  1627. ; Production Value: "upload_progress_"0 U- e6 v7 F' S5 t! G0 P7 f
  1628. ; http://php.net/session.upload-progress.prefix) z% u5 n3 i; D3 ~2 m; l6 s
  1629. ;session.upload_progress.prefix = "upload_progress_"/ d% C1 Z" [' T" P* I
  1630. 6 r" P- o) L3 k* F1 y6 }
  1631. ; The index name (concatenated with the prefix) in $_SESSION7 w/ c1 e+ }* _& L# r* Q, X
  1632. ; containing the upload progress information9 c1 W" O$ U1 ~* V- V5 x
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : R% [8 ^3 P; e& d' z$ a
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; Q, f! D7 v7 f! b
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 V  }/ T( y$ }% b: ^- ?2 T
  1636. ; http://php.net/session.upload-progress.name
    ( ]8 y; b* S1 M5 |- r: h
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    " U$ T5 a+ h1 y) _; W* Q

  1638. 3 J( x$ K6 X/ a1 ~0 l" _1 L2 k0 H4 t* S+ X
  1639. ; How frequently the upload progress should be updated., m# y# z- ?" _2 }/ V
  1640. ; Given either in percentages (per-file), or in bytes, O# j8 b4 h* W( S% _# q' U7 R5 j! r
  1641. ; Default Value: "1%"
    2 M' d8 M. s6 k2 t2 e
  1642. ; Development Value: "1%"9 p& o# @1 l' S8 V; X, _0 w
  1643. ; Production Value: "1%"# K# j/ i2 \1 q* q3 x. @
  1644. ; http://php.net/session.upload-progress.freq
    3 C; U; i' E6 D; Z" [7 z
  1645. ;session.upload_progress.freq =  "1%"
    / v/ e) i3 W8 C& s
  1646. 3 [4 N1 O: s; y5 L( d- g2 F
  1647. ; The minimum delay between updates, in seconds
    ) T2 V( n) s3 v0 f, w2 l# V% I4 i% @* E
  1648. ; Default Value: 16 G! i8 ?# a, R$ ~0 b) A
  1649. ; Development Value: 1
    + u0 ^+ S( u0 a0 l5 q
  1650. ; Production Value: 10 W- X0 J' l' Z( y5 r
  1651. ; http://php.net/session.upload-progress.min-freq4 T7 \% z# D) b# C
  1652. ;session.upload_progress.min_freq = "1"
    % H" W2 @. J) |2 s
  1653. 5 [5 Q4 u- j5 z; }# N  u0 c4 ]
  1654. [MSSQL]
    6 \* C( h" _: Z  K
  1655. ; Allow or prevent persistent links.5 Z# k* y, ?, s# }2 U! F* I( @. V
  1656. mssql.allow_persistent = On
    % F7 }; m: z/ W4 n7 Q; o
  1657. . \) B2 f# A- K- q3 n$ E
  1658. ; Maximum number of persistent links.  -1 means no limit.& v1 A: K4 ^+ u1 F( r
  1659. mssql.max_persistent = -1
    . g" T- X/ x3 G3 j# t( B3 s

  1660. 7 i, o" |* O" A4 e- \, F5 ~. T
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 [% u: ~2 ?* X0 o. A
  1662. mssql.max_links = -1% ~! g3 h6 t4 g

  1663. 3 I& T) j8 X: R, E3 ~
  1664. ; Minimum error severity to display.' o. e+ u& p# p3 ?7 z+ Z
  1665. mssql.min_error_severity = 10
    ( ?6 s+ g) H! [* u, H' h
  1666. + x7 s2 I4 T) u& d! }% H
  1667. ; Minimum message severity to display.+ W: {0 e/ {# a; f! X
  1668. mssql.min_message_severity = 10
    " h9 J' E- m9 h/ j

  1669. / J9 Q; E' R0 |- Y7 ^2 j; S
  1670. ; Compatibility mode with old versions of PHP 3.0.5 e/ _7 P2 Y7 ~" d
  1671. mssql.compatibility_mode = Off5 I) K* V& v8 n7 C
  1672. 6 k% j; h% `/ ]" e: Z( O  F- u) m5 X
  1673. ; Connect timeout8 P5 R# w8 T" i" O7 H
  1674. ;mssql.connect_timeout = 5
    & R: w% M6 d) J. t8 k: r6 ]. q3 L* d. q

  1675. . T* w0 M/ W! z; @7 |
  1676. ; Query timeout
    ! Y2 D2 V7 {/ C  Q' [: Y
  1677. ;mssql.timeout = 60, N5 s  v% B. E& C% M

  1678. 2 ~% ~& x0 l. D# q' N1 n. t/ J* d; L4 z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & f- q! t! n# z, [1 t& W) c
  1680. ;mssql.textlimit = 4096. C2 o3 F( T/ k0 y3 h

  1681. 6 F5 O' w6 ]3 C$ N
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 ^7 c/ ?+ ?5 f+ }+ o5 K- p) w
  1683. ;mssql.textsize = 4096
      Y1 p$ E" P5 \

  1684. 6 M' Q* i: ]% J/ ]# X
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
      Y. L# X4 w8 g# _
  1686. ;mssql.batchsize = 0; F/ P' U; x8 f8 c: _/ A

  1687. 0 O$ B  }" F3 r# h
  1688. ; Specify how datetime and datetim4 columns are returned1 O) h/ V) k& r% \
  1689. ; On => Returns data converted to SQL server settings
    * |! N7 B/ N7 l( }# O/ Q" {0 u2 n: J
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss5 L6 r& K$ b/ I2 \
  1691. ;mssql.datetimeconvert = On
    9 u+ Q5 {+ U3 {7 Z, }4 X3 z

  1692. " z7 l1 B, g; A2 p0 M
  1693. ; Use NT authentication when connecting to the server. l$ |7 p6 [/ L1 a7 a
  1694. mssql.secure_connection = Off
    ! Q5 Y! r) A: S: r: R
  1695.   M* i- e  p5 _+ Q( B/ q0 u
  1696. ; Specify max number of processes. -1 = library default  h, Y  G' ~  O: ?( p* H
  1697. ; msdlib defaults to 25* @# {3 p6 ^, {3 a! u! R
  1698. ; FreeTDS defaults to 4096
    ! s) U" o1 g- H$ L/ r+ @7 E6 L
  1699. ;mssql.max_procs = -15 H. y! M! h+ e% @! a: k
  1700. ) R' `6 ]1 k- C4 U
  1701. ; Specify client character set.. t3 s" o6 {$ r1 S. {. N' [1 Y
  1702. ; If empty or not set the client charset from freetds.conf is used
      e1 T# B1 \! [
  1703. ; This is only used when compiled with FreeTDS8 v; m+ y; Z/ i$ G, r
  1704. ;mssql.charset = "ISO-8859-1"
    9 u4 L9 F! g/ S) \( ]
  1705. , p! I: Q( W, w/ n( z
  1706. [Assertion]' B( P. `  J3 E6 y. Y! \( |2 [: h
  1707. ; Assert(expr); active by default.
    ' y$ r4 v# ?: s
  1708. ; http://php.net/assert.active
    3 z8 W+ q5 R$ k1 V) U  v' }
  1709. ;assert.active = On
    9 q& ~, g! T; `' k& y
  1710. 5 I. |3 D! X; G$ O' e; z: `3 [
  1711. ; Issue a PHP warning for each failed assertion.- r& l4 ?) e9 c6 Q3 g
  1712. ; http://php.net/assert.warning6 W: B+ ?( B7 n7 l
  1713. ;assert.warning = On
    + P2 o# V' |9 O/ Q; L  Z3 U
  1714. ) N, [# |9 p: }! N% U" n
  1715. ; Don't bail out by default.
    6 J+ u# K! o) o8 ]4 X
  1716. ; http://php.net/assert.bail  w8 b# Y# l& k, J( l. ]
  1717. ;assert.bail = Off. P* \, c0 }) p4 e

  1718. ( F* k1 z* s( a3 F6 r+ i
  1719. ; User-function to be called if an assertion fails.
    " P. w0 d. h( ~# e2 u0 ?( r3 Y4 X
  1720. ; http://php.net/assert.callback
    # H. j6 P! |. G0 d; \
  1721. ;assert.callback = 0
    1 S8 z4 `9 D' r2 C
  1722. & F( p9 O) x+ {# P4 v
  1723. ; Eval the expression with current error_reporting().  Set to true if you want$ R+ O5 A) m( U0 u6 U$ u4 L6 h
  1724. ; error_reporting(0) around the eval().! L; p! S9 O( X) p5 P. n0 @
  1725. ; http://php.net/assert.quiet-eval3 Y( J7 z( ~4 Y7 |: `2 @* V" x
  1726. ;assert.quiet_eval = 0. E% v9 K- n6 \( c

  1727. 6 {0 E( y& n) e0 r$ K
  1728. [COM]
    " S8 X8 C# X( O2 Z$ Q( E
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs  g1 P' a1 c- U1 x
  1730. ; http://php.net/com.typelib-file
    1 ]/ l" ~) L3 d
  1731. ;com.typelib_file =
    0 N( H, ^& a3 e; A( I' y" ~

  1732. 3 @, ]1 @/ B7 k: @
  1733. ; allow Distributed-COM calls
    ) R# ~' m; R3 O
  1734. ; http://php.net/com.allow-dcom
    / N$ J9 \8 u" w( @- l. \
  1735. ;com.allow_dcom = true* `/ b2 n( O4 _; \' @
  1736. " O- H8 T7 K0 {( V- K
  1737. ; autoregister constants of a components typlib on com_load()" @5 U; M) M8 C! }
  1738. ; http://php.net/com.autoregister-typelib
    4 X+ O3 |8 o- S$ b* E0 q5 O
  1739. ;com.autoregister_typelib = true( o" M. P8 L+ d" e' X

  1740. , z9 A& t* O9 C
  1741. ; register constants casesensitive
    / c' F3 p0 j9 f
  1742. ; http://php.net/com.autoregister-casesensitive
    9 y) g- _# i: E5 v
  1743. ;com.autoregister_casesensitive = false
    : n0 k7 ^. D4 M2 V" [

  1744. ( \9 j) p8 Z( X; H
  1745. ; show warnings on duplicate constant registrations
    ; D3 K, }' g  L9 Y/ |# t4 l$ l2 v6 i
  1746. ; http://php.net/com.autoregister-verbose+ l- C9 K6 T& y# U5 ~% E
  1747. ;com.autoregister_verbose = true# x+ N0 l3 e1 u* V' h

  1748. , d2 l2 P  ^- c* @/ J& ~
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 e  c& }* \! L
  1750. ; Default: system ANSI code page
    ( W, _( Z) o/ |, {8 h. Z
  1751. ;com.code_page=
    ' I3 `4 |1 n0 G, k/ s7 h% A0 O
  1752. 6 M( C9 ~6 ~7 m  c  H$ y: S
  1753. [mbstring]
    & u; a% l$ s9 s5 T, ]1 m2 D; v3 r
  1754. ; language for internal character representation.
    - }4 M; G$ _- Y* ]/ }
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.+ X1 y+ Y: g) m& |) B" j& i
  1756. ; http://php.net/mbstring.language
    . S9 b5 l( t! Q: C( `0 G/ ^6 ~
  1757. ;mbstring.language = Japanese
    : [4 l3 X, A' P9 A0 _
  1758. 0 \/ g8 W( S  C2 q2 V  R3 E: m
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ S. z0 J: d- H' T0 x8 l
  1760. ; internal/script encoding.4 ], A: v$ N- [' M5 v8 X) g5 _0 N
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    / H  K! T- G& [) j3 m: i/ X( s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - X% G* k7 q( W  e) O
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% e( j8 ], {3 b1 O" j8 e  w5 W, f  ^
  1764. ;mbstring.internal_encoding =8 c- k& P5 ^/ E) \6 a

  1765. 5 H' W' C5 u( B. M2 ]# Q# H
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.8 C5 r. u9 X. D# E
  1767. ; http input encoding., Q( W  S0 p4 D5 J& j! n
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & x% {0 G0 \8 i- j
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.' M7 j7 t0 e: O4 _
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input8 Y! U* k' z: x. Q
  1771. ; http://php.net/mbstring.http-input$ q. o1 ]' Y( H" G1 z7 j4 z
  1772. ;mbstring.http_input =4 Y: H2 y$ e  ]

  1773. ) G- u. z" `+ L/ n/ R
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! M2 i; F' M. R; j
  1775. ; http output encoding.
    - ]- t. D" c% A' ]7 L
  1776. ; mb_output_handler must be registered as output buffer to function.
    ! e6 F# K/ s; S. Q6 ]$ G9 y5 F+ Z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( d5 D! w5 _2 r9 ~
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output# I8 B; I0 X( M. ?+ W
  1779. ; To use an output encoding conversion, mbstring's output handler must be set2 w  b9 p+ m# ]  \* u) e
  1780. ; otherwise output encoding conversion cannot be performed.0 w' Z. {  V6 `1 E& X% R% K
  1781. ; http://php.net/mbstring.http-output4 S) F' K! ]8 ~& m6 W0 {. O
  1782. ;mbstring.http_output =
    - Z. ^* L. a8 f& K

  1783. * y: n+ J3 z5 K; N1 E  r
  1784. ; enable automatic encoding translation according to
    " w9 Z5 o4 v3 s0 s" q9 [( R) i' I
  1785. ; mbstring.internal_encoding setting. Input chars are9 p# M& i& W7 O: I' j
  1786. ; converted to internal encoding by setting this to On.
    / q6 m0 T0 z0 B. x8 ?! ^; ]
  1787. ; Note: Do _not_ use automatic encoding translation for
    , Q( a$ _1 n3 x1 \
  1788. ;       portable libs/applications.; M" z& [- s, O( d  X' H
  1789. ; http://php.net/mbstring.encoding-translation- D1 L5 g  r6 C4 G0 H
  1790. ;mbstring.encoding_translation = Off
    ! e. i2 c: g! e4 p+ @; O/ ~; I4 g

  1791. - l! }+ A5 R0 u2 H' u* E6 h: b
  1792. ; automatic encoding detection order.
    1 p* E9 i9 d& ~6 b
  1793. ; "auto" detect order is changed according to mbstring.language0 |6 m. _1 ~% H
  1794. ; http://php.net/mbstring.detect-order
    . l# v( N9 `% j
  1795. ;mbstring.detect_order = auto% R% S! I5 ]5 r1 l& H& i% z

  1796. # \! n7 W& y. b! H
  1797. ; substitute_character used when character cannot be converted
    4 M8 U) t( J; ^
  1798. ; one from another
    & H$ Y% V0 n- g; w2 M% t9 ^
  1799. ; http://php.net/mbstring.substitute-character* e6 H, B4 w: ?1 Z& c; j; ^1 H
  1800. ;mbstring.substitute_character = none# P& t6 q( F: h  N  ~0 `+ q

  1801.   l8 f- D# X, a) f: Y3 L& V/ S
  1802. ; overload(replace) single byte functions by mbstring functions.
    4 Q5 [; A8 s0 @3 O8 `0 o; p
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , V, v" \! x2 }
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    . ^. N8 J  ^: f& w5 _$ w
  1805. ; For example, 7 for overload everything.- n- c% I$ D4 r. X& s
  1806. ; 0: No overload$ ^+ y# R6 ^. y" J" \! i
  1807. ; 1: Overload mail() function2 V$ Z$ c" C" U9 q1 }
  1808. ; 2: Overload str*() functions
    8 n  K! H- F* {3 `( K; A+ j5 V
  1809. ; 4: Overload ereg*() functions
    % N7 O6 r( V9 c8 \0 t. W( y
  1810. ; http://php.net/mbstring.func-overload
    ; w2 j- k7 X! ^+ a, a  _
  1811. ;mbstring.func_overload = 0
    , ^0 _, p- e# O- s
  1812. % W6 D( z& K0 B; Z( t* S. \
  1813. ; enable strict encoding detection., n0 `" S9 t8 g; T
  1814. ; Default: Off3 o9 D. @9 ^! d1 v" |, t- d
  1815. ;mbstring.strict_detection = On
    # `$ C) T+ i1 o6 [

  1816. - M8 l7 @' ?, Q' V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()7 k, e+ s# ~, \
  1818. ; is activated.
    3 ^: h& A3 y# M2 @# }
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)/ R5 e" N  _" `6 F
  1820. ;mbstring.http_output_conv_mimetype=' q* r6 M6 M9 l. f' e  t

  1821. 9 o$ f# i: i2 ~0 l
  1822. [gd]
    6 r2 n* f0 p# C8 ^1 \6 V$ C! |
  1823. ; Tell the jpeg decode to ignore warnings and try to create; q, J* ~$ k6 b3 R
  1824. ; a gd image. The warning will then be displayed as notices
    $ O0 z6 v* X# _/ m; n' g6 y
  1825. ; disabled by default8 K- L' j3 }5 M( J# h/ P7 Z
  1826. ; http://php.net/gd.jpeg-ignore-warning
    + R6 r& x4 A) z3 `% H. @+ c# u5 n5 \
  1827. ;gd.jpeg_ignore_warning = 0. S  R; u3 \8 Q8 y, B
  1828. % a* }3 e5 }: g/ P
  1829. [exif]
    , z. a) f: z0 |4 e" ?3 }2 }
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( r: f: p0 ~4 e; \
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 F- A8 R* a/ e  p8 D
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) c) O4 a: u. ]6 E! x# i9 P$ T
  1833. ; is used. For the decode settings you can distinguish between motorola and, U4 m( W7 h1 K0 e" P- E; w. g& R
  1834. ; intel byte order. A decode setting cannot be empty.
    1 \/ k1 I* x* ~/ z# L& S9 J
  1835. ; http://php.net/exif.encode-unicode
    7 J% O, y. g$ B6 `. f/ ~) U" P/ G$ y
  1836. ;exif.encode_unicode = ISO-8859-15
    6 S4 V* c' k- ?4 J. Q3 e. q! S1 \
  1837. ! \1 f0 ^4 Y6 R5 U) B& r) n% O. `3 \
  1838. ; http://php.net/exif.decode-unicode-motorola
    & P2 f/ L5 ?2 X+ z; O* ?! D& B, q
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    9 x. ]& C1 C/ B* A' i

  1840. ; D* \- m4 C7 d# @7 f8 s1 H
  1841. ; http://php.net/exif.decode-unicode-intel* r6 Q3 r( ^/ L5 R1 Z
  1842. ;exif.decode_unicode_intel    = UCS-2LE& ?) \. p  w" R

  1843.   G' M  r! L: ?- @2 X  _) P
  1844. ; http://php.net/exif.encode-jis0 D$ B0 q5 Y: V' y1 F
  1845. ;exif.encode_jis =
    4 ^, G8 s2 X: O- A
  1846. ' p; w% E' g) N& l) M% V: [* K2 H
  1847. ; http://php.net/exif.decode-jis-motorola% B; l* K$ o  r; p7 ^7 f3 _
  1848. ;exif.decode_jis_motorola = JIS
    + g4 y& F/ `. _: {/ h! o3 L; z
  1849. " h" K. v3 g" {$ {: G
  1850. ; http://php.net/exif.decode-jis-intel
    ; ?1 b" R: C/ v5 u* P0 {1 X; H
  1851. ;exif.decode_jis_intel    = JIS2 t8 J; M" k0 J( C" D
  1852. . Q1 {8 B/ M/ ^7 g0 a4 ^9 @
  1853. [Tidy]
    . i3 a* D8 e1 @2 `( ^/ b# {
  1854. ; The path to a default tidy configuration file to use when using tidy0 j, g# E. @7 o! e3 T) N& M
  1855. ; http://php.net/tidy.default-config/ B( ]7 R  q/ K( o- p$ ]; P% i6 W
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % x, s/ T) I1 v- L6 P

  1857. 8 n% a' n8 O( K7 @
  1858. ; Should tidy clean and repair output automatically?
    . F. k2 R0 z" ^$ k$ a$ z
  1859. ; WARNING: Do not use this option if you are generating non-html content
    5 R* L/ @1 t; u/ n
  1860. ; such as dynamic images
    & G: z+ \3 c% b8 W; u4 n5 o
  1861. ; http://php.net/tidy.clean-output* z4 e' `2 [8 u; B+ Z' X; i) @) }
  1862. tidy.clean_output = Off
    % N' u7 q6 v2 t+ Z( f

  1863. ' \- p+ I3 s5 j" `! v
  1864. [soap]
    $ J! h- }' m9 C: C1 T
  1865. ; Enables or disables WSDL caching feature.
    ) T* H# b- h4 w* a% R1 N
  1866. ; http://php.net/soap.wsdl-cache-enabled1 |# G( `/ z, e) y
  1867. soap.wsdl_cache_enabled=1
    0 g5 _2 M- Y7 k1 d; ]: B
  1868. ! W) B; Z6 h* q  t1 n
  1869. ; Sets the directory name where SOAP extension will put cache files.+ ?( ^& ?$ o& [' \* D, e3 b
  1870. ; http://php.net/soap.wsdl-cache-dir8 P0 q) y% v3 X: ~/ I( \! B! ~
  1871. soap.wsdl_cache_dir="/tmp"
    * `. o! R# R- p7 Y$ c% ]1 w

  1872. - }4 v& N; x  V7 E- T
  1873. ; (time to live) Sets the number of second while cached file will be used
    & j" F7 F0 R  Z# H  s4 J
  1874. ; instead of original one., y5 ^6 C8 Y; a9 l( v; s
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ! q5 Y3 a( C- l$ D
  1876. soap.wsdl_cache_ttl=86400& G4 {9 j! S3 Y( g1 S# |1 M

  1877. # ?# g6 y1 L" l5 u- G
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! J6 W& E. L" w2 d
  1879. soap.wsdl_cache_limit = 57 @' [  [; q+ O! e" H

  1880. ' b# v" L3 e' c1 l
  1881. [sysvshm]2 U6 b3 ^: c! C2 c( A1 n& Z) g9 a6 ~1 {
  1882. ; A default size of the shared memory segment! ?: g* I: w! B# t. [7 M4 q! Q
  1883. ;sysvshm.init_mem = 10000
    6 d/ i8 u, k; d! U

  1884. ' W- ]/ R8 Z% ?) C
  1885. [ldap]
    , N7 _" Q& K' F. T
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    , u: e! ?4 m  C
  1887. ldap.max_links = -1
    : c* @  j) s) ]

  1888. ' K( e/ n# n' t
  1889. [mcrypt]( y" ~2 \: p+ ^0 H4 N0 t. J. U) Z- x
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    1 t( w/ R  i0 B4 k1 I% f9 ?

  1891. 8 K  I8 _- g" b, R8 x8 v3 @" X
  1892. ; Directory where to load mcrypt algorithms
    . s  {: h# s$ Y5 e( s; j
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      x( F" T  l. w. ~* r6 S
  1894. ;mcrypt.algorithms_dir=4 l3 U/ ^, H% i  H8 H

  1895.   x5 \0 |" y) D7 Y, S% G
  1896. ; Directory where to load mcrypt modes4 Z0 j- r% Z% }# o' t' L
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! e- [5 ^+ |1 _, T9 \
  1898. ;mcrypt.modes_dir=' ^. P( Q, }- E5 v0 G  y: c9 V
  1899. $ I9 U9 _3 [( v) a
  1900. [dba]
    1 {& }( w6 v) b3 H# v8 A3 z7 b7 }# e1 h
  1901. ;dba.default_handler=* I9 j5 z7 I; A0 x" T7 G/ H7 `! _
  1902. 4 v7 |7 k' @% ~
  1903. [opcache]
    4 |- O1 V3 w8 A" e; ~
  1904. ; Determines if Zend OPCache is enabled
    - D, d- e. ^. I2 v% R, k, t  l
  1905. ;opcache.enable=0
    , T+ W1 Y$ {& r, h6 O9 N* p
  1906. - b$ k2 T, A$ Z- z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP! [# L7 ]1 S8 @! a8 S
  1908. ;opcache.enable_cli=0
    , @5 S2 }6 d1 Y* _$ H

  1909. 1 ?4 i& k! J) Y" d6 J9 H
  1910. ; The OPcache shared memory storage size.* @, Z! h% o7 f8 W  v
  1911. ;opcache.memory_consumption=64
    " G, o( Q. R8 ~, X0 A9 _* _, O
  1912. # k( p& _/ l9 ?/ v" ?4 \- t2 X
  1913. ; The amount of memory for interned strings in Mbytes.
    2 l) J$ a4 S1 m& w& ~& u  y
  1914. ;opcache.interned_strings_buffer=4
    4 ^3 V( e* h3 u  m0 O( D* ?

  1915. & ?) ^, w' ]% w" y+ t0 q+ z: P/ l6 K
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.1 O$ X" s8 y- g3 P/ s1 L9 J) W7 v. z7 e
  1917. ; Only numbers between 200 and 100000 are allowed.8 f7 r( @5 D( e) R  H3 }  j
  1918. ;opcache.max_accelerated_files=2000
    8 T: ~: f; ^& a/ l- E
  1919. 7 |* }" l6 Z8 ?0 p7 O) h; q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 R" j, h8 k6 d4 x6 J7 ?
  1921. ;opcache.max_wasted_percentage=5/ G7 @; {/ I3 Z! W. ^5 w: {$ a
  1922. . R% E8 S% d# R3 f% X+ M4 t. k0 y+ i
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 W% o  G6 ?8 Z
  1924. ; directory to the script key, thus eliminating possible collisions between
    2 {' p' w. y4 @! c1 Q
  1925. ; files with the same name (basename). Disabling the directive improves1 r) t% C7 ^6 {6 Z- W5 M
  1926. ; performance, but may break existing applications.
    . r% i8 V8 y. |2 p/ K! X
  1927. ;opcache.use_cwd=1, W% Z( Z$ [$ o* F" b

  1928. " r/ K' f- @9 B5 F
  1929. ; When disabled, you must reset the OPcache manually or restart the# Q: v. v) t* v$ f: M
  1930. ; webserver for changes to the filesystem to take effect.
    : G) U5 }' o3 ?% l; N1 r( Q) C- P4 F0 N2 ?
  1931. ;opcache.validate_timestamps=1
    * D! f7 T/ m1 o7 y
  1932. ' B# N5 @4 Q: |3 a! |6 T) v7 y
  1933. ; How often (in seconds) to check file timestamps for changes to the shared( q: B! V: _6 e/ e
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    1 U$ n" z+ Y. f" M% q( ^* p
  1935. ; once per request. "0" means always validate)
    1 \2 L9 G! n( z3 V- I1 k2 C, L. ^
  1936. ;opcache.revalidate_freq=2
    . V0 J$ x$ N9 O2 f/ [! n

  1937. 9 ]& |2 [4 {( ]  k- ?/ J5 e7 e
  1938. ; Enables or disables file search in include_path optimization/ P/ R; ?" F  l' S6 r# ^1 i7 g: e
  1939. ;opcache.revalidate_path=0. A- o" J6 @; t; M2 T* {9 p
  1940. 9 p# S( ?' j% \6 C8 f1 U
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 y6 \0 B1 u$ q& e) a
  1942. ; size of the optimized code.
    9 u* Z6 L9 m5 |1 j( X
  1943. ;opcache.save_comments=1
    ! s* h, H, V( C. N2 g

  1944.   R% B+ \" m, v3 Y# g; B
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ( l4 d  D5 Z/ J. ^* t7 o& e6 K# S2 u
  1946. ; may be always stored (save_comments=1), but not loaded by applications5 \& D% f  i1 R3 Q  R
  1947. ; that don't need them anyway.: K& w: [1 D( k$ f$ X& P; T
  1948. ;opcache.load_comments=1- V7 P' c9 Q9 Q) l, z
  1949. 4 c5 x# Q2 o5 Y  d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    0 G0 S% k& U* Q: G! O
  1951. ;opcache.fast_shutdown=0) n4 @6 l: ?2 r: z
  1952. % h! x# ]1 ?8 `# Q
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    7 G% H8 C1 f9 {3 U
  1954. ;opcache.enable_file_override=0( a& q1 V# F6 O1 q$ S- ~$ ~2 h
  1955. $ S1 K4 v5 F( w3 @- ]1 t1 u
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " E: j+ ]. g& D2 |4 i' G
  1957. ; passes
    ! e' q9 n' s2 u& F4 U/ A
  1958. ;opcache.optimization_level=0xffffffff
    9 d* S! N$ d& Z& n1 R/ ^& ^

  1959. % x0 o8 |% X8 @
  1960. ;opcache.inherited_hack=1
    9 d2 ]  ]8 n5 t
  1961. ;opcache.dups_fix=01 N8 H0 Y: d) u; \& J1 s0 _# W) T
  1962. . p$ D' b& ~4 L. y3 C/ }
  1963. ; The location of the OPcache blacklist file (wildcards allowed).  L7 s" h) O* i8 I4 B
  1964. ; Each OPcache blacklist file is a text file that holds the names of files" e' }/ @4 ^- q6 e
  1965. ; that should not be accelerated. The file format is to add each filename$ b- h, _* {2 B! X: T
  1966. ; to a new line. The filename may be a full path or just a file prefix
    4 f1 p: V* }0 @$ i. n) V+ |/ Z( G
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ Y' Q/ }9 q! H' v; u+ ^% T; g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    9 G# q' a( z6 G9 m" x' H8 v
  1969. ;opcache.blacklist_filename=
    ! x$ A, n" n- U

  1970. - {3 ~% k7 F/ g
  1971. ; Allows exclusion of large files from being cached. By default all files
    " P1 h( X5 A( B9 v8 I& s: E
  1972. ; are cached.
    1 p6 M3 w& I; q$ b& W, L
  1973. ;opcache.max_file_size=09 z7 G* p+ e$ v* U' m

  1974. $ f4 O, l5 q. A: e0 R+ z
  1975. ; Check the cache checksum each N requests.4 {. e1 F  q9 p% @2 q6 b
  1976. ; The default value of "0" means that the checks are disabled.
    6 R2 n6 P' S; _9 `
  1977. ;opcache.consistency_checks=08 `1 a2 d2 k0 s3 q; e4 x' I
  1978. , M0 Y  f2 a9 _8 h' \0 U7 L4 p2 D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : u' x/ W% B( c
  1980. ; is not being accessed.4 s7 i& w- L: l- c7 y6 b
  1981. ;opcache.force_restart_timeout=180
    1 m6 ~) @. o; F+ [  f& g- _

  1982. # T' p' z9 N2 I/ F5 ]  s9 n
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    / s, M5 S0 g- b) O% u0 v3 G8 P; J
  1984. ;opcache.error_log=4 q+ A) ?: V3 M+ m' f
  1985. 0 E6 L% g& M" R4 j: t0 y
  1986. ; All OPcache errors go to the Web server log.
    5 O( ]& x/ t; }7 R+ V3 V) ?( q
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' H/ }( c+ k' b) [
  1988. ; You can also enable warnings (level 2), info messages (level 3) or. v4 _- O4 J/ v6 |, ^/ }
  1989. ; debug messages (level 4).8 I3 s% G1 f# V! L- P' b; T
  1990. ;opcache.log_verbosity_level=1' c" X0 x2 n* g. U5 G+ t) u: q- ]

  1991. ' P" S! [0 I, c' h
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' Z; B8 S: F/ y
  1993. ;opcache.preferred_memory_model=2 f# B7 n* @, V* g
  1994. ' \& R$ b0 Z- b2 }& \1 d
  1995. ; Protect the shared memory from unexpected writing during script execution.: y) k$ x$ w! L
  1996. ; Useful for internal debugging only.6 L5 c* T4 N" s: ?# N2 x! ?# i
  1997. ;opcache.protect_memory=0# L, c' i3 w4 Y% [* O1 [
  1998. ) Y. e0 `8 P3 Y4 q! c' O) T1 f
  1999. ; Validate cached file permissions.
    3 Y' r$ m! h* Z. h
  2000. ; opcache.validate_permission=05 \; ?" X0 m1 ~: _

  2001. : W7 R, k( B- \  x6 y
  2002. ; Prevent name collisions in chroot'ed environment.$ E6 x! }: F  C# m& r* l; H; f
  2003. ; opcache.validate_root=0
    * w1 {) b6 m. O- R% t8 w# `# Z
  2004. 1 y) i+ ?" F1 l/ C; ~0 R; y
  2005. [curl]6 H& ^& Q# l: l2 o6 N/ W
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an7 E+ n" U1 j. j4 z4 M) e2 V' i
  2007. ; absolute path.
    4 C+ T2 J4 _$ q
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    5 i: u9 E7 i( e( r: j

  2009. ( v# X4 r8 P" x5 ]5 d5 m
  2010. [openssl]5 F$ E. e6 a/ k0 I- w. L
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 P3 ?  U& i3 r+ Z1 ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 D$ H8 N2 p/ W: e; d
  2013. ; not specify a value for this directive as PHP will attempt to use the
    9 e; x9 ~, E- `# i$ k/ p8 s
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    4 F7 z1 D: j7 ~, l4 v" f% }
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & V* u# i4 c' e, L" |0 h' n) \
  2016. ; option.3 ~* O& E" o" b4 K8 Y
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt, q& [& J" J' Q, W5 c# U% O5 w0 P

  2018. 8 D0 V/ _. j# e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the% v8 F! S) |% }
  2020. ; directory pointed to by openssl.capath is searched for a suitable' N2 m+ p/ y% Q3 K0 F8 f. J" S; L
  2021. ; certificate. This value must be a correctly hashed certificate directory.; n8 T6 A+ ]* u" R( L
  2022. ; Most users should not specify a value for this directive as PHP will
    * D" S! w+ o5 L6 U4 A$ {9 K
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    9 R0 b/ v+ P- {6 K$ ?
  2024. ; this value may still be overridden on a per-stream basis via the "capath"5 e; b$ g; k0 i8 A* i
  2025. ; SSL stream context option.
    6 H) X* e7 j# C" ^; |( O/ ~
  2026. ;openssl.capath=
    9 [! _2 a% {: C; k7 m6 F% \0 s$ H
  2027. 3 ~% V. b$ B" y+ E2 S6 Y
  2028. ; Local Variables:; v! j, D% I9 j/ H7 Y8 @' t$ X7 q$ R# i2 M
  2029. ; tab-width: 4$ D' ]4 O# P. q3 \8 r" ?
  2030. ; End:7 i; d* z6 p0 E4 f1 i; R
  2031. 9 z, S( K: [7 W, T0 _! `1 t$ s5 d
  2032. ;eaccelerator+ Q& G* o) _' A: d) v7 |1 u- E

  2033. . z% N( ~+ h% e& S- O5 q
  2034. ;ionCube
    ) z! q  E7 a! U. F+ f, _

  2035. ! l' q9 Y$ h" T6 ^0 L- _% O
  2036. ;opcache
    3 A. J9 j9 ]: r! _6 T! l1 U

  2037. ) C6 [% o7 N& ]) x, t8 t& H/ f( F
  2038. [Zend ZendGuard Loader]
    6 `2 D$ i* \) b2 z) u- e
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ! Q/ k* E1 p7 l# c& ^
  2040. zend_loader.enable=1/ \5 w- F3 s2 P
  2041. zend_loader.disable_licensing=0
    & V, B4 a, W" b  V' c
  2042. zend_loader.obfuscation_level_support=3
    + s! M6 ~7 M; F0 M' c* j
  2043. zend_loader.license_path=
    2 {+ D+ k" O1 N, _- Z
  2044. * O' X4 j: x3 M# G
  2045. ;xcache- D) N$ K0 e' k: D6 i+ S
  2046. 2 W$ U+ q& j: w/ e$ Q
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692# w# l+ l0 p. y( x$ @; }8 Y/ c' a8 O
/ R: S4 W' N3 g# ]9 ~( K

" _7 b( `; h6 A; ^. b7 u/ xDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,4 G- f, C6 J  a. i5 l$ A
% W5 q" I4 c  T6 r( E+ b
Discuz!程序版本选择:
1 b0 Q% S" Y" Y! b7 R站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( |; }/ M5 v1 X9 {不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
: _# I0 j: W+ N6 e0 w+ xDiscuz!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。" a1 D: o3 @% D; l  e2 i

3 h  A8 q- c+ c! oDiscuz!插件模板版本选择:
+ M8 x9 O- A3 h) I7 b! D. [' D很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
9 t2 Z3 ^5 o4 T; c针对这个问题做个统一的普及:
: V; Q# e- t5 r5 i; w) _; jX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 K" U, N6 q4 E; w
5 v: c( ~. T& ~) M9 j1 ~+ u  ?
所以
* d  S4 [" J2 O" K2 Z! Q0 b适合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的二级域名。4 v8 _% ~8 N) W* A
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。; T0 Q  r7 T% \3 W8 T8 |$ @! [
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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