分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0; n- g1 p# I8 l2 c( T
+ l0 E* H# B. m
  1. [PHP]% C2 F/ ]9 F) t8 ~/ G) e6 I

  2. ; U- Z1 O" l3 Q# N$ G: q
  3. ;;;;;;;;;;;;;;;;;;;$ l9 |+ Z" ^+ F$ c' w" y9 M, Y
  4. ; About php.ini   ;
    ) Q2 b. U- N8 R  g1 c- r
  5. ;;;;;;;;;;;;;;;;;;;; ^, V$ d" z" b
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    7 L0 p$ d8 [- K
  7. ; configuring many of the aspects of PHP's behavior.
    ! M$ W% s. ]/ i# G1 g6 f
  8. & ?& d* G8 i% p1 p
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( }: C! m% n. @# n3 D* `5 g
  10. ; The following is a summary of its search order:
    - o8 e# e9 H, z0 w! Q
  11. ; 1. SAPI module specific location.
    , r* @0 _( t2 e  f7 O
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ( Q! E, d, g# U  b. f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 |" }; T; t: d3 @, @2 W" `
  14. ; 4. Current working directory (except CLI)
    / u( |5 ]+ @/ o4 S# w
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 U  P6 }' J9 _+ n
  16. ; (otherwise in Windows)* \; x0 ^% u8 X/ G( s
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    , [, b+ Y) P( b/ t
  18. ; Windows directory (C:\windows or C:\winnt)
    " a$ c: |/ Y/ y; {: L
  19. ; See the PHP docs for more specific information.
    & B$ Y5 J5 m3 j
  20. ; http://php.net/configuration.file
    , A1 v* I4 W" m) L0 U
  21. + s$ N+ r# X* {* U3 d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* |/ o/ j3 {! P2 T! Y5 D* K
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; n9 o& Z' U+ ~9 c4 M5 W, I8 E& {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    2 n/ S& j* c! Q0 A, G1 J4 J
  25. ; they might mean something in the future.9 |  n8 @. f& G% i) v/ D% c$ l

  26. 8 S6 J2 K* E1 J( ^$ |3 k4 I" T
  27. ; Directives following the section heading [PATH=/www/mysite] only- f. f+ ~' z9 e! s- I" ?  S, B! `; f
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    4 ~7 I% M$ Y, l' t& D
  29. ; following the section heading [HOST=www.example.com] only apply to, K" y- a  F2 q
  30. ; PHP files served from www.example.com.  Directives set in these+ L+ ~+ a5 D* b, ?0 m
  31. ; special sections cannot be overridden by user-defined INI files or4 v4 S* q* G& B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / V" \- _$ ^" H" H
  33. ; CGI/FastCGI.
    " L# m* @9 A5 Q% A) \1 Q
  34. ; http://php.net/ini.sections
    6 A2 t7 m9 O1 j2 F

  35. ! C& ?; M5 F6 ~2 R* U1 g0 K+ Z
  36. ; Directives are specified using the following syntax:
    & t* a# e) j0 h7 _
  37. ; directive = value. ^# ?5 B( a0 a% l& q9 N
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ' C/ s0 _6 ~9 L1 }  s5 ^2 g; {3 Y
  39. ; Directives are variables used to configure PHP or PHP extensions.- K& ~% _2 g" f4 y# K
  40. ; There is no name validation.  If PHP can't find an expected4 [3 n  q9 e1 f  J+ X- K
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : K7 N, z5 b" H* q# V, Q) y( D$ u5 Q
  42. - F) M3 @( C" A+ W& q& W
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / v8 s5 M$ w! L7 H1 A
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 c$ N$ |: P" T, r, [  a( E
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % V, E: C1 |( T
  46. ; previously set variable or directive (e.g. ${foo})
    ! U% Q3 s  {0 z
  47. 9 |: @5 u! s5 [
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 T& E7 c1 ^/ {: ^
  49. ; |  bitwise OR
    / l3 K. O0 x) h8 O
  50. ; ^  bitwise XOR& F$ `! b. D0 g; [
  51. ; &  bitwise AND
    1 T. @! ^, G2 L9 ~& H
  52. ; ~  bitwise NOT
    & _* G3 L1 |" S# g2 f
  53. ; !  boolean NOT
    9 @0 g% k8 x% g! a' l( k7 g! @8 v

  54. / F$ Z( Z. ]; r# E
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- x3 s% ^. W) l. H9 V1 K- I
  56. ; They can be turned off using the values 0, Off, False or No.
    % W9 q0 g0 c- o* \6 `" L; P
  57. 4 e6 G: e  U% ?% c6 b* E
  58. ; An empty string can be denoted by simply not writing anything after the equal
    7 O9 s2 j; y; `) f& J: [, J
  59. ; sign, or by using the None keyword:
    / @( G4 y; j) z# O7 f

  60. $ L. l5 ?$ C6 m* @! j. p+ e
  61. ;  foo =         ; sets foo to an empty string: K0 I" C7 I( j
  62. ;  foo = None    ; sets foo to an empty string* X2 w# X3 p- A0 k( t# R( r
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ( R) f" J& f) m, K5 G1 i

  64. 0 G5 W# D, A& B, `
  65. ; If you use constants in your value, and these constants belong to a2 U- g& E( b8 @
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 e& s) N! P4 O. f$ g9 @+ F
  67. ; you may only use these constants *after* the line that loads the extension.
    8 ]& z& P/ \4 k8 C& S5 T* S) g

  68. ; _- B5 y; b; R# B% l
  69. ;;;;;;;;;;;;;;;;;;;
    7 F0 j+ f8 C# p# G  o1 O/ j0 w. w9 u
  70. ; About this file ;
    0 f3 V+ @; N4 d$ b
  71. ;;;;;;;;;;;;;;;;;;;
    & Q7 `$ C+ u' s: _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ ~' Q7 R" t0 Q
  73. ; in production environments and one that is recommended to be used in( d' m) w  B6 D
  74. ; development environments./ h. T0 ^9 \4 U6 Z9 E- N
  75. $ O1 K+ ~* c1 m, Z. N
  76. ; php.ini-production contains settings which hold security, performance and8 p% k! ]5 j8 z/ K* k
  77. ; best practices at its core. But please be aware, these settings may break
    - }: y, V" x% [$ A
  78. ; compatibility with older or less security conscience applications. We
    6 Z( K% [" B3 b* O
  79. ; recommending using the production ini in production and testing environments.
    9 z( r% o9 A9 \& p% A( x
  80. , y. t! V3 w% j1 b- N
  81. ; php.ini-development is very similar to its production variant, except it is
    ! N0 ^2 P* l. G% a, ~4 h+ b3 L/ C
  82. ; much more verbose when it comes to errors. We recommend using the
    ' @; u  y5 }2 K6 H- Q
  83. ; development version only in development environments, as errors shown to
    ) N- G/ n* ^3 b+ V
  84. ; application users can inadvertently leak otherwise secure information.
    : a. {3 M" f4 U
  85. : n) E! q9 A; d% P5 P  a
  86. ; This is php.ini-production INI file.
    2 {3 `5 I* s  U7 D# i) v+ r0 w0 a& L: Y
  87. 5 d& H# h$ x. `& m
  88. ;;;;;;;;;;;;;;;;;;;
    ( k' B7 Y0 v$ U# g! L) e0 w9 J
  89. ; Quick Reference ;8 Y2 F: o6 g0 D0 @# M) ]1 y
  90. ;;;;;;;;;;;;;;;;;;;! I* F6 _) g8 R4 R" X
  91. ; The following are all the settings which are different in either the production
    : `" Y- L# d- p# o4 C2 E
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : N# {7 W" v, z
  93. ; Please see the actual settings later in the document for more details as to why9 i5 k/ @; M( P+ K" {
  94. ; we recommend these changes in PHP's behavior.
    " t% p$ F- m( R# L( L6 L7 X

  95. 2 ~- A$ F% Q! m3 n! R, k
  96. ; display_errors  P  ~& I9 F/ k9 I
  97. ;   Default Value: On
    ; X/ n0 ]* E- P0 l6 q1 d
  98. ;   Development Value: On/ J  I) O2 J$ Z
  99. ;   Production Value: Off
    ! p1 N- ?* K2 K( `( j6 l- }! q

  100. 2 z$ s8 {/ A2 k: J0 M
  101. ; display_startup_errors3 g5 h" G" o8 |6 u5 Z
  102. ;   Default Value: Off  z& U- S& k& h; @, ^2 [# r
  103. ;   Development Value: On
    ! x. Y. w4 l& @) \1 @6 g1 h$ ~
  104. ;   Production Value: Off7 h* l' v, ~: U1 W

  105. + a: @  N1 A( ]
  106. ; error_reporting
    ; G9 j' o3 S: r: k/ i
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & M$ T& i/ P: T  c+ l7 `, {' c
  108. ;   Development Value: E_ALL
    0 _" N9 @6 \/ ]9 G5 Q( t' o) G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , i( d; X+ ]9 e* e0 V2 G

  110. 4 q4 W" r# f, o9 P$ l$ U
  111. ; html_errors: l" ?1 Q/ L& }, h, @, A6 G
  112. ;   Default Value: On
    ( T. E) o9 N. v. W4 A& [. E% H
  113. ;   Development Value: On
    * K! p$ H$ d* l  m; V
  114. ;   Production value: On
    " x2 H" X* U0 F) z5 {6 J3 S# c

  115. - ?1 y; ?! H/ N
  116. ; log_errors
    0 `! O* D( o3 ]6 t0 J' u+ `; S
  117. ;   Default Value: Off
    ; J* B) z3 c3 r
  118. ;   Development Value: On* Q/ I4 C1 R5 b) i! J
  119. ;   Production Value: On" j5 o% o2 h* w9 z. o: E, F/ G
  120. : p7 V# g6 l: G  L+ N9 z
  121. ; max_input_time) {& V7 d+ m; u
  122. ;   Default Value: -1 (Unlimited)
    5 _+ p6 Z4 _" X3 I0 [; L
  123. ;   Development Value: 60 (60 seconds)7 [5 e/ }5 A9 P. J' G; {# N
  124. ;   Production Value: 60 (60 seconds)
    & S1 f- F5 j- O" |2 g3 F4 B
  125. / S0 o# @, I) j+ P. h  h
  126. ; output_buffering- a. T# c/ G6 c( w3 |
  127. ;   Default Value: Off
    . R- S( f8 T$ [$ T& |
  128. ;   Development Value: 4096
    & ?$ i4 i# H9 q: D* l( n
  129. ;   Production Value: 4096/ q! u3 Q) i2 M, x  h% K

  130. # [2 c+ d7 p6 O2 H$ h% l9 ^
  131. ; register_argc_argv
    % a0 w  S, {3 V+ }& I1 H) @
  132. ;   Default Value: On2 X- p2 a" R1 p
  133. ;   Development Value: Off
    : ~* t2 ~! q6 n& x- @: w
  134. ;   Production Value: Off6 R/ D$ G) m/ q, f& K0 i; E% i
  135. 0 [( ?/ m& |/ ]) `% I
  136. ; request_order' R- }" @* t' b0 A) E
  137. ;   Default Value: None- Y+ I; U' b1 }: V# x
  138. ;   Development Value: "GP"
    - r8 Q/ e6 i2 q* e$ k6 w  b1 o
  139. ;   Production Value: "GP"
    3 t* S9 i' C2 R/ l& b

  140. 0 Z$ \1 L0 s- p+ t/ @( G+ y4 r
  141. ; session.gc_divisor
    + [. s6 v8 ~1 T; z) m: k
  142. ;   Default Value: 100
    6 o4 x9 ]+ F. O+ w3 l
  143. ;   Development Value: 1000
    1 `  t2 v8 r! e+ I& h$ ]' e+ _+ Q! v
  144. ;   Production Value: 1000* R/ p- G$ ]  z/ w8 _# U5 E- B( j* a
  145. 6 M+ V, B" M1 j4 L/ ~: i
  146. ; session.hash_bits_per_character
    2 \$ w0 Q" U# Q+ r) K! p. w
  147. ;   Default Value: 40 }  h" O6 p+ \1 Q* Q2 j& ^
  148. ;   Development Value: 5
    0 s8 y0 p, G2 Y* F8 A
  149. ;   Production Value: 5
    * G4 r, |7 @7 k. R  z1 W  _3 Z4 c

  150. - \7 L/ L6 [: ~0 T
  151. ; short_open_tag
    $ e, Z: \& b; [; U/ o- L
  152. ;   Default Value: On. A; n$ H0 V6 y5 J% L0 r1 Q( {( \. T
  153. ;   Development Value: Off
    - d1 `' d9 A, @. r
  154. ;   Production Value: Off
    * a* c1 ~, \! p: V8 p5 k& W

  155. - H: X+ {: f4 a
  156. ; track_errors1 K4 u2 }* N/ K$ a- F- u% @" ~" o
  157. ;   Default Value: Off
    / L4 j# ?/ B' G8 S/ p
  158. ;   Development Value: On
    , A6 ~4 S6 @' ]
  159. ;   Production Value: Off7 s' ]- Q% a2 M( p

  160. 1 e6 t, V1 d7 C/ @. k% J* E
  161. ; url_rewriter.tags3 {8 i0 E+ i! \! O$ _) E
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="9 w4 F! T, a" L# k! F2 \
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & o' T3 w5 W7 C( n6 d9 s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " j. ^# J3 X8 b4 @. V+ o$ s1 P
  165. " X, v' W0 I& y+ h
  166. ; variables_order- J' @4 k3 ?) @  G- G3 }* y
  167. ;   Default Value: "EGPCS"
    6 N: n: r. U5 v- X6 c8 M  W
  168. ;   Development Value: "GPCS"# Q" L$ _$ M1 c) `  Y& W$ R  B
  169. ;   Production Value: "GPCS"0 R' l0 j/ @" `. d- a
  170. . g0 ^! K. N, D; X: n8 v8 r' i
  171. ;;;;;;;;;;;;;;;;;;;;) g' I7 l2 a$ m
  172. ; php.ini Options  ;
    , s  K3 ]/ V, ]# R4 p
  173. ;;;;;;;;;;;;;;;;;;;;
    ( |( m/ @# Q) n8 H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"* A( T' ]0 }# A! E2 A! c
  175. ;user_ini.filename = ".user.ini"
    , }7 D+ P* n8 y
  176. 8 V; @* ~! O9 U6 d$ D7 H( b
  177. ; To disable this feature set this option to empty value, a; M+ R& s2 U5 I
  178. ;user_ini.filename =5 S) D% Z3 D* ~* n4 v4 u  E

  179. 3 ?3 l$ A8 F: m+ Y5 }/ `! [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & E& z; r8 n! ]  O9 Y1 }
  181. ;user_ini.cache_ttl = 300) D4 L# R0 r% m& R5 i6 g& r
  182. ; b' e1 o0 @0 Y& H* _& g; L% c
  183. ;;;;;;;;;;;;;;;;;;;;
    ; y" P3 Z. M1 p! A  S5 |- h
  184. ; Language Options ;9 B& I. ?) T5 Y- X0 Q' F
  185. ;;;;;;;;;;;;;;;;;;;;5 o% V% u) C3 J" v! E% Z
  186. 9 N. B+ v: {: J4 L
  187. ; Enable the PHP scripting language engine under Apache.
    1 g* Z- S0 x( r* u3 L3 K: u
  188. ; http://php.net/engine
    # W& l' S( v9 `7 E! m6 o! n& M
  189. engine = On0 T. }" f  K/ q" T: e2 ~

  190. ( I0 ^& V1 Z1 v- x. C+ I; o+ H
  191. ; This directive determines whether or not PHP will recognize code between9 {4 L+ f. @* c. g/ s
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# _* Z- T! M$ U! u
  193. ; generally recommended that <?php and ?> should be used and that this feature6 d! ?, W. }8 R1 F8 r: r- c3 a
  194. ; should be disabled, as enabling it may result in issues when generating XML+ e3 c" P7 @  x) d$ O- x+ i
  195. ; documents, however this remains supported for backward compatibility reasons.- B7 M1 |* x$ c3 n  ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 _: z* o! ~6 z# Y% O6 r
  197. ; used regardless of this directive.
    9 F6 F" E" |) d
  198. ; Default Value: On* ?: k6 Y  G* w9 Z/ |" n
  199. ; Development Value: Off8 P  n+ Y/ I8 v
  200. ; Production Value: Off
    # `/ Y& A! t+ u# g  p1 d- \
  201. ; http://php.net/short-open-tag
    1 a. V3 [! n' j
  202. short_open_tag = On
    - ^/ u0 t. p0 J* M8 D" I3 `

  203. 8 F( n# d& a7 l
  204. ; The number of significant digits displayed in floating point numbers.
    , R1 w. G  q) ^2 b! [$ k6 E$ H
  205. ; http://php.net/precision
    , L5 J) t+ e, i
  206. precision = 14( L+ J" Q8 U0 H& N) b/ a
  207. 0 M" Z1 O" t6 i4 P! a" `! Z' X* p
  208. ; Output buffering is a mechanism for controlling how much output data
    ! ^* Q% s+ j) Q% x
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that* G" ]% {( T2 _# m% x( C' Y' o3 L
  210. ; data to the client. If your application's output exceeds this setting, PHP' x* p: ?( X" o
  211. ; will send that data in chunks of roughly the size you specify.
    ' f9 @& x, l+ z6 M! Q
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . o( k, b  l7 o3 c& S. [8 h) h+ }
  213. ; interesting side-effects depending on your application and web server.
    " E8 m# S6 N/ ^- d3 i3 T
  214. ; You may be able to send headers and cookies after you've already sent output
    8 W6 a2 y' i4 a5 x5 G; l: d
  215. ; through print or echo. You also may see performance benefits if your server is3 d0 R. e, S2 s9 R& u1 m' K
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / D! \5 I' T8 x  S1 k: A# G
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 Q* _8 p: g$ K5 g& w) p
  218. ; reasons.
    ' h& ~& F7 ~% m' B! ?' p! O
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    : i/ e8 W2 ^. i0 J3 u/ v
  220. ;   functions.
    ' x' k+ y. x3 J& D' H7 M
  221. ; Possible Values:
    * g$ E2 q% W" C9 M' C' N' ~
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 e4 m; Q+ f( ~" a
  223. ;   Off = Disabled
    : ?$ F5 ]* ?6 T% w; a: k
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.+ b5 ~* q, S( g% E6 j' S/ y+ U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI" t6 l5 L/ S# r. A: k1 A
  226. ; Default Value: Off8 b: {% x3 K0 v& l
  227. ; Development Value: 4096! Z8 A1 V  C4 E) Q/ h4 `9 z
  228. ; Production Value: 4096
    : N* _/ i: o, y" Z% K; b
  229. ; http://php.net/output-buffering+ |; v+ \: Z- M( j' q  x5 C
  230. output_buffering = 4096
    4 R8 C: W# y4 {$ n8 B

  231. % x2 d% a! A/ ~/ u$ Y5 m3 X
  232. ; You can redirect all of the output of your scripts to a function.  For5 q6 `7 P2 [9 K
  233. ; example, if you set output_handler to "mb_output_handler", character
    9 |$ K1 J1 W8 H0 K" e4 E
  234. ; encoding will be transparently converted to the specified encoding.9 z( q( y' L, l- @+ _( {2 L
  235. ; Setting any output handler automatically turns on output buffering., N0 W5 j% `' \6 K' c7 p
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ' y0 O4 V* {- ~+ D& \4 F
  237. ;   directive. Instead, explicitly set the output handler using ob_start().; J9 M& C9 R( O9 K
  238. ;   Using this ini directive may cause problems unless you know what script5 Y3 m5 j/ U6 G/ V
  239. ;   is doing.) U$ j6 q( n5 d3 R# C. d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"' W- {7 A# y, B
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ) P. c( k) q9 X5 \
  242. ; Note: output_handler must be empty if this is set 'On' !!!!  w0 H' @$ Q0 Y$ V/ ]8 @
  243. ;   Instead you must use zlib.output_handler.) c% \" h/ K8 u/ F, \
  244. ; http://php.net/output-handler
    5 M- a2 A- I, e9 \, i' F/ C
  245. ;output_handler =% o0 ]) x  N% @5 {* y

  246. 1 v0 V; f1 b5 ^) a  v& P% X
  247. ; Transparent output compression using the zlib library8 ]5 C' _- g  E2 `- I9 [
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # }' l0 [" |+ R/ k
  249. ; to be used for compression (default is 4KB)& k+ p2 l" F7 J% e6 C: W1 T/ s# }
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) D' n7 j" x% j  B
  251. ;   outputs chunks that are few hundreds bytes each as a result of, `4 u" o; ]+ q4 C# O; c9 y, D
  252. ;   compression. If you prefer a larger chunk size for better
    . y; b* ?! c9 H: Q1 {, @3 f( q
  253. ;   performance, enable output_buffering in addition.
    , B* p1 i1 m- x. k
  254. ; Note: You need to use zlib.output_handler instead of the standard1 a; P: f: ^( h5 d# w
  255. ;   output_handler, or otherwise the output will be corrupted.5 ~, _- m3 r% }0 I6 {
  256. ; http://php.net/zlib.output-compression/ o: {( ^8 C# y) D6 e
  257. zlib.output_compression = Off0 j& R% M1 {) C- m; J' Y9 o1 }
  258. + d$ ?7 E9 E, f
  259. ; http://php.net/zlib.output-compression-level
    , p0 Y* j6 H' a5 {- Y/ P/ Q: d
  260. ;zlib.output_compression_level = -1
    $ H* T; h6 z. n: g/ e) P

  261. 2 g, p3 d, @# {/ ]
  262. ; You cannot specify additional output handlers if zlib.output_compression  }8 b4 q* x6 m( C
  263. ; is activated here. This setting does the same as output_handler but in
    8 [7 R& B- i% j0 ?* B) t6 l- O
  264. ; a different order.
    " i2 O1 ~; j' @( I
  265. ; http://php.net/zlib.output-handler
    ! g& K! o0 N5 ?8 Z; j
  266. ;zlib.output_handler =# r2 ?$ i5 S  ^4 W! m# K: k  I# b
  267. . a$ C( z  U7 B% D
  268. ; Implicit flush tells PHP to tell the output layer to flush itself! m: g( Q2 R+ p( g2 b
  269. ; automatically after every output block.  This is equivalent to calling the
    . g7 p) R) m+ m4 d8 ~4 k5 B1 }
  270. ; PHP function flush() after each and every call to print() or echo() and each6 K: Y9 x' B$ _7 u
  271. ; and every HTML block.  Turning this option on has serious performance
    7 Y* i( f. {% n  y
  272. ; implications and is generally recommended for debugging purposes only.
    , v  c5 n4 R$ l* o- T, g
  273. ; http://php.net/implicit-flush$ T" Z9 b0 v! S5 X& G, q: z; ]. F
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) V7 ]; J- B2 K6 Z4 J* ~/ T
  275. implicit_flush = Off
    2 M/ ]5 L1 A) o3 b. k

  276. ) a/ p* J8 b6 O
  277. ; The unserialize callback function will be called (with the undefined class'  m9 {1 `; {& n) L
  278. ; name as parameter), if the unserializer finds an undefined class
    / U4 K5 @  z0 m* W. U6 M& I
  279. ; which should be instantiated. A warning appears if the specified function is' |/ I: C0 [( u
  280. ; not defined, or if the function doesn't include/implement the missing class.
    + D2 T' _) {0 Z) e4 t& x
  281. ; So only set this entry, if you really want to implement such a
    4 r  c8 K% l  P+ Z
  282. ; callback-function.( b& ]# u; \/ A1 J
  283. unserialize_callback_func =
    4 c1 n) r2 ~: g: I, ~
  284. + b2 I" f0 i. s8 I4 ~2 A
  285. ; When floats & doubles are serialized store serialize_precision significant
    ' `0 M3 C+ O2 ^2 v) x2 W% e
  286. ; digits after the floating point. The default value ensures that when floats
    6 E9 D3 y9 m2 m7 X5 f8 u- a
  287. ; are decoded with unserialize, the data will remain the same.
    : f1 O3 r8 W; T' _' O; }. c
  288. serialize_precision = 17, R( _: s( n; Z5 t2 t

  289. ) W  e8 e& ?8 G0 q. R8 k) d
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 I9 O4 t2 R1 D' }9 l) K# T& ?
  291. ; and below.  This directive makes most sense if used in a per-directory
    + [% n  y! F+ V1 V: x' j
  292. ; or per-virtualhost web server configuration file.
    4 g/ R) a' R$ F# o7 H7 u+ L% ?
  293. ; http://php.net/open-basedir. h! |) Y2 k% h& z: a- H0 L
  294. ;open_basedir =+ x/ i+ X" |- K, l  l: `) d: ^

  295. + |: T8 e* y& }+ V1 N' F
  296. ; This directive allows you to disable certain functions for security reasons.
    ) Y/ X& X0 U. `- v3 G* I9 d
  297. ; It receives a comma-delimited list of function names.
    ' _7 L& K8 u: N7 H$ b5 D
  298. ; http://php.net/disable-functions3 H9 ]* g$ K* H( f) P" h6 v
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 d5 S  q6 w6 T( u4 @% C* i
  300. 9 ], P& q& }, i, i4 B& u+ R
  301. ; This directive allows you to disable certain classes for security reasons.
    # B7 z( o4 i: D* s& U( a
  302. ; It receives a comma-delimited list of class names./ Z: n! W3 h, U! g7 _: g
  303. ; http://php.net/disable-classes/ C0 R# Y+ f8 `6 X7 ]
  304. disable_classes =
    8 _( t8 u) \( g
  305. $ Z# T# Q) W5 P
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 t% `* @0 Y; `7 N) B
  307. ; <span style="color: ???????"> would work.
    9 z) |. k# |4 Q( c6 ^! b
  308. ; http://php.net/syntax-highlighting
    . o+ ^1 U8 c- u8 @! P+ x0 E. ?/ L/ M
  309. ;highlight.string  = #DD0000
    , Z; L& s8 I/ I* d) y8 {
  310. ;highlight.comment = #FF9900
    $ V: O+ c+ y! Z, |! e: W
  311. ;highlight.keyword = #007700% p  N; [0 i2 `
  312. ;highlight.default = #0000BB
    " a. ~$ K0 l  k1 L2 M! F% O
  313. ;highlight.html    = #000000, R$ U" ~+ p6 k+ U, n; F
  314. ) X8 Q' Z) d# X4 m& K
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ! d9 `! ^& Y7 S. C$ s' l) k
  316. ; the request. Consider enabling it if executing long requests, which may end up3 l$ N- m$ N% ^3 `
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 p/ _- ?6 E: }2 I' t
  318. ; is to disable this feature.
    5 e4 a7 N$ M# t
  319. ; http://php.net/ignore-user-abort
    ; ?6 b; v& @# z0 v
  320. ;ignore_user_abort = On% M& p  C7 Y" u8 e
  321. 7 ]1 Y' |  j$ Y7 Q+ b$ E$ y* Q" N
  322. ; Determines the size of the realpath cache to be used by PHP. This value should2 ~7 C9 s7 ]* V1 K# g2 q6 C
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; S4 [5 [4 u8 d% ^
  324. ; the file operations performed.3 _/ A. S" k" v* d! ~
  325. ; http://php.net/realpath-cache-size
    # B6 G% f+ y! R6 [1 b6 f9 f1 E5 G4 o
  326. ;realpath_cache_size = 4096k9 U: h% r. D- o0 Z8 w
  327.   A; p! J2 r3 G3 T
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    7 a1 {; B, J9 c' y  [. J6 C  M
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 s4 u5 ]! A) `: b2 i
  330. ; value.
    ! j3 h. O* H' a
  331. ; http://php.net/realpath-cache-ttl
    9 R5 y; j+ Y) H8 u9 ]3 \
  332. ;realpath_cache_ttl = 120
    & j: i1 M9 _2 G+ \8 d4 L" [

  333. 5 E% c' F9 n8 s) C9 T+ G! B4 [# g" M
  334. ; Enables or disables the circular reference collector.
    / u  @5 g# t1 Q
  335. ; http://php.net/zend.enable-gc
    5 i! q4 R3 W3 Q5 x& Z
  336. zend.enable_gc = On
    3 T# @* C" a6 y. Q# k

  337. ) M, c& h6 K& u" c8 c+ N0 x5 p
  338. ; If enabled, scripts may be written in encodings that are incompatible with4 D  f4 M  e/ n% N; k0 w. `
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 [1 ]2 V7 i: ^% t4 j
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 S9 @  p2 }6 C
  341. ; Default: Off9 F& v: J4 Z4 C1 g% ~
  342. ;zend.multibyte = Off
    1 Y* y2 X* L. Y

  343. , E  z9 s6 s& [; e! g
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    $ C: M! w! @" C
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.; n3 s2 |  p2 ?$ N+ K% o
  346. ; Only affects if zend.multibyte is set.% ?: Y7 Z) G. E( J* L' C4 Z; E
  347. ; Default: ""  b+ \+ r* f( X5 n2 s5 |6 g
  348. ;zend.script_encoding =
      h% A8 K% V1 a. e( s* M- E/ O7 @

  349. 4 n0 ^5 u0 k& h1 Q$ f# ~* w. ^
  350. ;;;;;;;;;;;;;;;;;
    & e4 M3 N% z9 T" a6 x( g
  351. ; Miscellaneous ;9 ]/ `* O% }# Y% n. R
  352. ;;;;;;;;;;;;;;;;;! N) o* I: b: L4 T7 P& N
  353. ! N! ?8 d+ J3 o
  354. ; Decides whether PHP may expose the fact that it is installed on the server$ f5 d# [. v/ e9 J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security; c4 v4 u. w) A1 n+ }  V  P* a
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) R2 ~. q8 k" F+ ^8 b% }
  357. ; on your server or not.% T0 @1 S& M) f# n6 X
  358. ; http://php.net/expose-php9 j8 i; m# F  }( _4 ~
  359. expose_php = On+ P. y! V/ p/ J% _% ^% s
  360. + R+ Z, G  D3 w, v& T
  361. ;;;;;;;;;;;;;;;;;;;
    - i$ F& V( n( E; T
  362. ; Resource Limits ;/ H  p2 |" U6 C8 Q' w/ Z9 f. F; r
  363. ;;;;;;;;;;;;;;;;;;;
    ( d+ x- i; i# R0 v0 j/ z
  364. & n* E) T5 E9 T# R8 i
  365. ; Maximum execution time of each script, in seconds
    6 P; r( T7 {: x- N( |, r( X( q2 l
  366. ; http://php.net/max-execution-time( H: P& b( p1 ]9 \8 S  s
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI- W& ^% u* G" _, D# N
  368. max_execution_time = 300" _$ ]6 o3 y$ F% Q2 Q+ Z$ x7 g
  369. % J' v! W0 q4 Z( t
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' B& @  j( e" w+ S* p
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly4 ?$ \9 K9 K# x$ d5 U/ w
  372. ; long running scripts.0 S3 ~% L6 n. i  Q% e: R7 r
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    4 W) X3 }) D# n% B& t5 {
  374. ; Default Value: -1 (Unlimited)7 k- L- v8 s; N. _& [
  375. ; Development Value: 60 (60 seconds)
    # A5 M0 M  E. }. K& [2 p
  376. ; Production Value: 60 (60 seconds)
    7 q+ l0 T. M- u: Q
  377. ; http://php.net/max-input-time
    2 X! [# q/ e3 r! [5 R
  378. max_input_time = 60
    2 w' u8 @! D! J6 P' T# }1 m

  379. 9 X" @0 ~$ z2 n7 ^6 j. n7 Q
  380. ; Maximum input variable nesting level& r* A& n% \# U0 g, N
  381. ; http://php.net/max-input-nesting-level
    . p* }% Z0 d0 r0 B1 K
  382. ;max_input_nesting_level = 64+ }3 m. v$ y: H0 H& m

  383. ; k4 q7 W" \  X) s, j9 Y
  384. ; How many GET/POST/COOKIE input variables may be accepted
    & d5 S& e5 N, _
  385. ; max_input_vars = 1000
    : K, {  r3 L2 f

  386. 0 V0 {& w) k' p
  387. ; Maximum amount of memory a script may consume (128MB)
    " W- s9 \+ h2 `* O8 ~
  388. ; http://php.net/memory-limit
    8 _4 ^" T' e1 M5 I$ G: ~7 a
  389. memory_limit = 128M
      S8 n4 ?7 D. g6 X' {/ h

  390. . k1 n0 P/ V( W- s& \: _; `( k
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: i: ]* b' n7 {/ }5 Q8 K
  392. ; Error handling and logging ;/ p( ~6 |( t" @4 T
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 Q; N: y+ t5 _, k# z) ]& H

  394. 9 y5 _, K! }* A" y
  395. ; This directive informs PHP of which errors, warnings and notices you would like2 B) f( ~; ~) a* d4 Y, B
  396. ; it to take action for. The recommended way of setting values for this8 i6 E$ n0 B1 v$ h0 A
  397. ; directive is through the use of the error level constants and bitwise
    ; c) _* w5 f0 `
  398. ; operators. The error level constants are below here for convenience as well as4 `. n; u3 o3 m& i
  399. ; some common settings and their meanings.8 u) l8 E1 n% Y
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % o$ g* c  I& y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, v! S* x: ?0 q/ a
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    * N- C- a: ~$ j# _- D
  403. ; recommend error reporting setting. Your production server shouldn't be wasting' m9 f5 p& u! T
  404. ; resources complaining about best practices and coding standards. That's what' m0 J' x- O8 V
  405. ; development servers and development settings are for.* L$ z$ K; Q/ G+ Z* m( o
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 R: t% `$ ], X! i
  407. ; means it pretty much reports everything which is exactly what you want during
    2 o3 s: Z$ X8 D% J. G! G
  408. ; development and early testing.
    0 A( M- [6 I2 o/ B6 q8 R
  409. ;
    ; a) e' H" W, x! o
  410. ; Error Level Constants:
    0 X; _4 Q( T8 w9 Q  K
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + ~4 C9 I( N2 J0 f7 R- I
  412. ; E_ERROR           - fatal run-time errors
    ) D; c7 l8 j( b% @4 J  s; v
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 T- g. X* {1 w+ ^5 D
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    : r% x  i5 a2 a# `: ?2 Q: i  ~
  415. ; E_PARSE           - compile-time parse errors* r# R) ^  A' m% }- Q( W5 E
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ' M. B# R/ J* ~
  417. ;                     from a bug in your code, but it's possible that it was* }( t# ]7 S1 [7 m( k: F% G% q
  418. ;                     intentional (e.g., using an uninitialized variable and9 X0 x. \5 q( g9 t( Q" F4 r2 b
  419. ;                     relying on the fact it is automatically initialized to an% u# E9 d, W% p6 m
  420. ;                     empty string)
      P9 O( i/ n2 C9 M) C1 ]! E
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes/ X* M7 p& }. m$ n2 _. r4 Z& H4 i% v# g
  422. ;                     to your code which will ensure the best interoperability2 B! R  v; k4 {$ V6 }+ y3 L
  423. ;                     and forward compatibility of your code+ o+ K% \9 n, j" ~9 v2 d
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( D4 Q; C0 m7 X3 U
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's) z; k; ~2 ~: R0 W+ V1 A
  426. ;                     initial startup
    ' W  R5 W/ l9 G5 A6 |" }0 p
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    2 A4 X& I4 k/ I2 E' m
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    . E; O1 a: y* \3 r* r" z& T
  429. ; E_USER_ERROR      - user-generated error message
    / f* f& C7 }" Y( w$ @' S) E: B
  430. ; E_USER_WARNING    - user-generated warning message: [) j/ z, ]! n: I( y
  431. ; E_USER_NOTICE     - user-generated notice message
    " J; z1 c+ s( K8 [
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , w$ N+ X1 H% a8 [% L: R. _( L
  433. ;                     of PHP
    9 z( P/ w8 n) B9 s/ n: q# G
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! @, K( D5 ]- Z! u! x( `
  435. ;! }/ A" M3 j, Y7 {; G* Q; D
  436. ; Common Values:
    8 Y! Z, ?3 t1 u  y# |
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 z6 S& f* V& w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)/ F2 B' u' u& k( I7 q  Z! R$ B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 A1 Y1 s5 F$ Y# F
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 x. T+ h1 ?. D3 U& H
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / s7 g! h% k. K: M5 X8 O& g9 Z
  442. ; Development Value: E_ALL# R( U. k0 Z# G$ y* d# k
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ' r6 D6 x8 k1 p2 n2 |6 i
  444. ; http://php.net/error-reporting
    3 e4 _& A, K" Q' i
  445. error_reporting = E_ALL & ~E_NOTICE
    , Q" r2 h- a9 e. N7 [. b3 \
  446. 9 u, A! i/ a8 u- D0 d
  447. ; This directive controls whether or not and where PHP will output errors,9 K# m' v. Y8 U1 k& N; m
  448. ; notices and warnings too. Error output is very useful during development, but
    2 p9 l+ ^% j! K% T8 R- T( }
  449. ; it could be very dangerous in production environments. Depending on the code
    8 c0 f, M2 |0 J5 `0 s1 `4 `
  450. ; which is triggering the error, sensitive information could potentially leak2 p  Y* a0 {" U
  451. ; out of your application such as database usernames and passwords or worse.. L) o% I, y8 `+ D1 A2 _2 f
  452. ; For production environments, we recommend logging errors rather than5 e+ g; s) ]$ M3 U$ E2 E; t
  453. ; sending them to STDOUT.
    8 i. F$ b/ h- v+ p' ]3 y! d' i1 a
  454. ; Possible Values:9 `; [8 y' w6 v
  455. ;   Off = Do not display any errors5 B/ r, J, p! d2 b: R8 ?% @
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!). ?" p$ A# o% O4 q7 S# j
  457. ;   On or stdout = Display errors to STDOUT  C% O8 l) o; |# \4 L' Y
  458. ; Default Value: On. P* s$ ]) |. N9 f
  459. ; Development Value: On; L* }2 |1 t- t( P' M: u0 m& u/ A6 i
  460. ; Production Value: Off( ^7 a( {5 o/ v- j4 r' ?
  461. ; http://php.net/display-errors8 j" n& b4 u  ^& h5 B5 O" e
  462. display_errors = On
    * P  \' ?& R9 p
  463. & b8 t  X, ]0 S
  464. ; The display of errors which occur during PHP's startup sequence are handled; x( J+ O/ N& ]0 H# i. Q4 s5 \% T
  465. ; separately from display_errors. PHP's default behavior is to suppress those# v& R3 _$ @* g
  466. ; errors from clients. Turning the display of startup errors on can be useful in5 v( K9 L" ?) U' j9 F4 F
  467. ; debugging configuration problems. We strongly recommend you5 t+ [9 B% @/ \: H5 [
  468. ; set this to 'off' for production servers.
    5 D3 Q5 I  `% h6 |  U
  469. ; Default Value: Off
    $ q$ l) o5 [2 T3 L! D' v8 U
  470. ; Development Value: On7 p7 M8 p, N+ A/ t( D( T
  471. ; Production Value: Off" y( Y5 u1 f8 S  ~4 I7 r0 E0 @
  472. ; http://php.net/display-startup-errors7 J) p& `: r5 q8 y* p3 e
  473. display_startup_errors = Off
    # ?, }, R. Y8 n* a: G0 N$ \

  474. 8 S) }# i2 v; j  {
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; R/ c, {- D. S. g
  476. ; server-specific log, STDERR, or a location specified by the error_log
    * H0 d0 R; ?0 e) k
  477. ; directive found below. While errors should not be displayed on productions
    " g1 @( V' o4 `+ c9 O
  478. ; servers they should still be monitored and logging is a great way to do that.
    " ?. `8 m) Y# F# T* C  _: n
  479. ; Default Value: Off) |2 t- x3 N5 J. H9 d" b, W+ f
  480. ; Development Value: On, C7 Q3 g# N& |/ n  l# K
  481. ; Production Value: On: L7 Y0 B4 T0 x4 y( x* f& K
  482. ; http://php.net/log-errors5 U0 f1 w% F3 n# i" p! F
  483. log_errors = On5 p, _( |- J2 _- n" \
  484. 8 W' t& Z* n" C+ V- g- u  D
  485. ; Set maximum length of log_errors. In error_log information about the source is
    3 ^1 B5 G, c8 E2 `. g- {
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    2 \1 D0 a" ~: r2 [. _1 j
  487. ; http://php.net/log-errors-max-len% m6 F$ G' x% F4 L  I5 g7 `6 N6 R2 i
  488. log_errors_max_len = 1024! O/ ?' [& S' [; M& j

  489. & c  b' w* K1 E) {; L4 _
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    9 A' p. x& U5 Q2 ^% i5 R
  491. ; line unless ignore_repeated_source is set true.
    / ~/ m9 m& G. ?8 D+ w/ ~  E+ e/ I8 ?
  492. ; http://php.net/ignore-repeated-errors+ h2 _, l! J. u* Z" P/ t/ P0 K
  493. ignore_repeated_errors = Off
    0 O( f" V" B/ A0 S8 y
  494. $ \" y: H/ i3 J; F: H# F( a! {
  495. ; Ignore source of message when ignoring repeated messages. When this setting( }2 C* d5 o! {* X
  496. ; is On you will not log errors with repeated messages from different files or9 m& s0 i" X% x9 q, F
  497. ; source lines.0 k/ O' w1 n  o: ?8 E( b) {
  498. ; http://php.net/ignore-repeated-source0 s9 w# A/ \: g
  499. ignore_repeated_source = Off) q8 X9 }+ y) N4 m4 T

  500. & H" a) P& e# T5 I( \5 o2 u
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on% P+ C2 N2 l2 U- ^5 M0 p7 s" M
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! N, d- i' S: Z; k/ f4 E9 P' n
  503. ; error reporting includes E_WARNING in the allowed list
    2 \; _9 d! L, ]2 Q
  504. ; http://php.net/report-memleaks7 o  ^9 x4 m$ ?& \1 x' r: o" p, X
  505. report_memleaks = On% }+ Y2 G% r- x+ m4 d8 U

  506.   r! ?3 l- g# ?9 k, q
  507. ; This setting is on by default.; d  W% N8 Z# X- b
  508. ;report_zend_debug = 04 ?( e) q* {$ p% h. s

  509. 4 B; h4 [0 J, H& D4 A
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value# i; h! N* I7 Z  x/ l4 u5 M
  511. ; to On can assist in debugging and is appropriate for development servers. It should. j' j2 K. Y' O5 ~
  512. ; however be disabled on production servers.! h" i( l5 y  \' V
  513. ; Default Value: Off
    3 ^0 b) G5 s; c5 A; x2 M
  514. ; Development Value: On7 s' w& r- O4 W+ l
  515. ; Production Value: Off+ W$ a# s+ P. p2 t
  516. ; http://php.net/track-errors: A6 |8 E& d6 Y* {9 U3 @+ A
  517. track_errors = Off
      V" W' W# a3 c# g# G. ?- L6 O
  518. % t1 H) y! F# [9 Y
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    8 T! J" P; Q, Y" [7 O6 }
  520. ; http://php.net/xmlrpc-errors
    . Y0 I2 [' s: p
  521. ;xmlrpc_errors = 0" ^" B: I+ L& D! ^/ r

  522. . D% p3 c5 z5 s: G$ t* l
  523. ; An XML-RPC faultCode
    ) I# u* s% w/ K7 @
  524. ;xmlrpc_error_number = 0
    4 |3 p, I# `9 }& @/ r6 z) {5 _  x
  525. 6 ?3 ?  O7 G: S# m9 P% H
  526. ; When PHP displays or logs an error, it has the capability of formatting the( _# m& h. Q6 H, Z' T6 z
  527. ; error message as HTML for easier reading. This directive controls whether
    " |9 g$ s, U: U9 H
  528. ; the error message is formatted as HTML or not.
      K5 `' \. ]9 l
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI2 U/ N1 I6 l% e1 H1 B& }
  530. ; Default Value: On! t. U1 g  \* J( q
  531. ; Development Value: On# P  k+ q. J) ]
  532. ; Production value: On" s0 O& u6 m3 {8 d* L# Q
  533. ; http://php.net/html-errors
    0 T6 b! w# p9 s! A# j$ a  d, k0 k+ d
  534. html_errors = On
    * S/ V6 M& W7 B$ E8 C. `0 y
  535. - j$ o/ a, z. G/ O; h& e. S2 ^
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    # \' |0 m' m4 G& T
  537. ; produces clickable error messages that direct to a page describing the error. B$ @$ U5 ^; c  b1 Y% @
  538. ; or function causing the error in detail.9 z; T5 J( [/ I6 F
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 j# ~4 \% D3 L) o1 I. T; h
  540. ; and change docref_root to the base URL of your local copy including the
    4 [. Y* }5 C! U& G7 B
  541. ; leading '/'. You must also specify the file extension being used including0 N* q$ H: Z+ E7 a# H. l1 m6 T  }
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 k5 y; l' ]1 l: c9 \9 r/ K  D/ J
  543. ; case no links to documentation are generated.
    ; x  _% _# u% m2 }( O
  544. ; Note: Never use this feature for production boxes.
    4 d$ V: W6 j) M& P
  545. ; http://php.net/docref-root* Z0 w6 A6 N& L4 J* ?! t
  546. ; Examples
    - i" Y3 f" @5 j& X2 Y  A9 J# L
  547. ;docref_root = "/phpmanual/"7 Z& y7 a/ [) ]2 t& _# A: w' o
  548. 6 y7 V3 l) @- v1 a4 Y! {
  549. ; http://php.net/docref-ext
    4 P( d' o5 {/ M) W' ]
  550. ;docref_ext = .html
    : m  J3 T/ E5 E6 \& K- |% Q  Z/ J

  551. , w/ h$ j/ \' W, z$ S
  552. ; String to output before an error message. PHP's default behavior is to leave
    3 j% K( E! k! d* Q' k2 i6 p8 }+ ]
  553. ; this setting blank.
    + e" S) V+ M8 i, G* J  R
  554. ; http://php.net/error-prepend-string
      h- ]5 C6 X6 n, P
  555. ; Example:
    # r5 p7 d0 R! t5 Q$ j) T- W
  556. ;error_prepend_string = "<span style='color: #ff0000'>"$ @2 U, B2 ~4 J4 S3 p+ @

  557. , s# c) g. D1 j4 |: J5 d
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 x/ t- y$ I) t; Y
  559. ; this setting blank.7 s6 V( K- G7 I1 H4 o$ b4 z) r& d/ v
  560. ; http://php.net/error-append-string
    5 B7 D" Y  R2 L$ h
  561. ; Example:
    0 G1 |7 Z9 D% q( o7 n
  562. ;error_append_string = "</span>"
    4 R3 a4 o9 U  D; ^" O8 h

  563. * z9 W" F( N6 Z% I. }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value8 n# n( t4 E) j/ F
  565. ; empty.
    4 y7 ?6 Z  X8 E
  566. ; http://php.net/error-log: T7 \% O0 x! {: i! p( M- c# x
  567. ; Example:
    4 C, a' h! _. ~8 i. Q
  568. ;error_log = php_errors.log) ?3 T, a; |6 ^: m# O* A0 F
  569. ; Log errors to syslog (Event Log on Windows).! {  w. r! B4 H4 J9 E
  570. ;error_log = syslog$ p. v% ^2 _9 O  a5 M5 A7 O

  571. / q# c" f5 Z, p& S. N& B- |  e
  572. ;windows.show_crt_warning9 A- b$ t9 h7 L
  573. ; Default value: 0
    ) o) @% m$ m7 n, }6 Q
  574. ; Development value: 02 T7 f9 f8 _- c3 R  q3 p
  575. ; Production value: 0
    3 b8 i4 j) o5 |) C
  576. / _% j1 w9 H5 i! G8 {4 C
  577. ;;;;;;;;;;;;;;;;;8 Q# q1 U6 m& }5 U9 g, n4 r) z
  578. ; Data Handling ;7 H" Z/ P0 `- J
  579. ;;;;;;;;;;;;;;;;;
    . c$ r/ _" O$ C! I" {. O
  580. # G6 b4 t! }/ ^4 Q4 k
  581. ; The separator used in PHP generated URLs to separate arguments.
    3 U0 j4 `" d) u8 k, U& b
  582. ; PHP's default setting is "&".
    7 Y: m' {8 M5 M. V/ a' |
  583. ; http://php.net/arg-separator.output; A$ i: j5 G/ b5 ?
  584. ; Example:/ F( J7 m' j! k  G& \
  585. ;arg_separator.output = "&"9 g+ U; f; m1 c/ q1 i) r
  586. 7 P; S/ x3 ], [! E5 L2 E
  587. ; List of separator(s) used by PHP to parse input URLs into variables.3 q  C% M8 O+ m7 [
  588. ; PHP's default setting is "&".% w( L) X) Z( }% N
  589. ; NOTE: Every character in this directive is considered as separator!
    7 g& v5 D8 N, ^+ F/ x: A
  590. ; http://php.net/arg-separator.input
    2 K' H, U- ^6 c; V6 m0 H
  591. ; Example:. c: i8 P1 |: w$ i% ^: g# l+ c
  592. ;arg_separator.input = ";&"0 N2 `$ B% e( G( g
  593. ) `  [4 D' R* |% g
  594. ; This directive determines which super global arrays are registered when PHP
    . G/ X4 `/ E2 V& ]* |2 D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super/ n7 t+ F" o! a7 l& Q7 b' O
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 \+ Z; i# c* J
  597. ; paid for the registration of these arrays and because ENV is not as commonly1 ~- N: E& D- p. z5 h. ]
  598. ; used as the others, ENV is not recommended on productions servers. You. a; R  f* i8 i$ `- U
  599. ; can still get access to the environment variables through getenv() should you" [$ r3 ], U1 ?+ X+ ]  Q
  600. ; need to.. v+ y- `' a8 c3 N9 q! K
  601. ; Default Value: "EGPCS": g- B/ ?( o0 ~0 Z6 h+ x
  602. ; Development Value: "GPCS"; x/ V/ i6 {8 y1 [. X
  603. ; Production Value: "GPCS";
    , V4 b* F/ _! \) b) K* o) v# z
  604. ; http://php.net/variables-order1 f5 {5 d% M% _) y* c
  605. variables_order = "GPCS"
    6 s( p- f1 m0 V7 w
  606.   |4 {' v/ k7 w9 X# C- T
  607. ; This directive determines which super global data (G,P & C) should be; \" Y0 D) C6 _) z& h3 d
  608. ; registered into the super global array REQUEST. If so, it also determines1 n+ y5 A$ D, Z  @! ^4 u
  609. ; the order in which that data is registered. The values for this directive/ c) v& _9 q) w" r0 q! y
  610. ; are specified in the same manner as the variables_order directive,/ {5 `- o. K" C
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set; S+ `6 o* v1 d1 z& e) v
  612. ; in the variables_order directive. It does not mean it will leave the super1 t6 d+ o: q8 w: a! p* w
  613. ; globals array REQUEST empty.
    # H+ D, p3 O: i) _* b
  614. ; Default Value: None5 Y' ^' @8 w8 w- g4 e6 u# `
  615. ; Development Value: "GP"
    & s/ m1 ?4 G4 h3 ?$ \+ Z
  616. ; Production Value: "GP"
    3 [2 C& }& p$ c5 q+ j+ N: [
  617. ; http://php.net/request-order. p, Q+ ^. u7 P: c# [
  618. request_order = "GP"
    : B0 J7 S, I5 t. A" F: y( K
  619. * z+ W2 [( S5 c+ \/ f7 O6 w7 s
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    5 A+ w5 e0 x* _* H' R% q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script- O5 j) q1 j! b8 T* u: ^: W, f
  622. ; is invoked. $argc contains an integer representing the number of arguments7 B6 G1 L) }. W# `; f% Q6 w
  623. ; that were passed when the script was invoked. These arrays are extremely& M2 C; r) c) _
  624. ; useful when running scripts from the command line. When this directive is4 L! L7 M/ w* u
  625. ; enabled, registering these variables consumes CPU cycles and memory each time* C8 p; Q  ?, ]) o. I, B' l/ @0 r1 ~
  626. ; a script is executed. For performance reasons, this feature should be disabled
    $ z6 S9 Y6 X# z" }" q
  627. ; on production servers./ m2 A8 b2 S& w. M9 _! {
  628. ; Note: This directive is hardcoded to On for the CLI SAPI4 z. M0 Z; z6 C
  629. ; Default Value: On
    & L* |% _+ A" B  W
  630. ; Development Value: Off
    8 \: K2 p6 t# U+ I! L4 I
  631. ; Production Value: Off9 O* Z! X2 g( v( F
  632. ; http://php.net/register-argc-argv
    * a& e1 j0 ~2 z8 u
  633. register_argc_argv = Off
    . U! ]* ~! m% _# R- p
  634. 2 Q: b+ q) a7 |  x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 e+ e7 P6 D9 X+ N8 K7 L
  636. ; first used (Just In Time) instead of when the script starts. If these3 c/ S( y) v  _: Z# B  T) ]
  637. ; variables are not used within a script, having this directive on will result
    ! f2 K' k, k5 ^' C
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    6 I  W6 R, ?& U- |
  639. ; for this directive to have any affect.
    : E2 h# l, v/ G% r
  640. ; http://php.net/auto-globals-jit
    9 P1 }- K1 [+ h' }. \. L: x
  641. auto_globals_jit = On
    ( [; R& F' v" L! x+ O
  642. $ W8 _  r6 U6 A! p2 F) q
  643. ; Whether PHP will read the POST data.$ V8 W  `9 U3 u8 M
  644. ; This option is enabled by default.
    # k4 b# q: g6 G2 x
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST! G+ P) W% q3 k, ~1 H& K8 z
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    * V& P# f( P5 g) M' I1 Y
  647. ; POST data will be through the php://input stream wrapper. This can be useful  O& I% l. H7 Q" N! Z, H/ m
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.* w8 {* G* P  v) N2 C" I- D+ |
  649. ; http://php.net/enable-post-data-reading
    6 w  D/ k9 g+ Y2 h" q% N
  650. ;enable_post_data_reading = Off& w9 H- Y- c7 A3 f& H  G

  651. 0 ~7 B9 f$ Y2 w# y2 C$ l( U
  652. ; Maximum size of POST data that PHP will accept.
    ! a" {4 D- \* l0 _6 f& Q% B
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - L1 ]! w2 o" j1 E6 |( F
  654. ; is disabled through enable_post_data_reading.
      l3 _- v7 m% ^" t) s9 s1 \1 P
  655. ; http://php.net/post-max-size- K, ?1 B; B1 v/ C6 G' f
  656. post_max_size = 50M
    / T7 H2 n! ^# ~4 s. ]

  657. & q& p+ m; s! `  T0 r
  658. ; Automatically add files before PHP document.& }6 ^+ \% Q9 g  w; a# I# S
  659. ; http://php.net/auto-prepend-file
    3 h# G, X: v" e. t1 h9 B; T4 F5 s
  660. auto_prepend_file =
    ; P2 s' r$ H& o+ P' e5 ~
  661. ! m* k5 Y" h# b& a" R7 T4 q' s
  662. ; Automatically add files after PHP document.0 ]: Q2 d( t9 v
  663. ; http://php.net/auto-append-file) U+ v% G; j, ~2 ?; s' J9 J# r
  664. auto_append_file =
    ( }: w. R) k0 m! _, _+ f5 x9 S
  665. $ J3 _4 s2 c6 _+ _/ R% B
  666. ; By default, PHP will output a media type using the Content-Type header. To
    : e! Z; p/ T4 V" }4 h: f  @9 P& F
  667. ; disable this, simply set it to be empty.
    ' _2 m* U0 [+ o9 q  G3 b  }# W) q
  668. ;6 d* G# Y3 R! I  ^# x- X
  669. ; PHP's built-in default media type is set to text/html.2 r. R4 H/ |% Y3 I, A
  670. ; http://php.net/default-mimetype
    ( L  I" O6 f( v6 L' _% |
  671. default_mimetype = "text/html"
    * R% }% s, e* y( u& u

  672. + S1 S! i1 U, f, ~( e. ~
  673. ; PHP's default character set is set to UTF-8.
    ! Y% x1 S1 G. n* H3 k" X' M, f9 V
  674. ; http://php.net/default-charset
    4 T3 d. I. \0 Y' i
  675. default_charset = "UTF-8"
    # R$ r) i0 D! k0 T
  676. 0 C3 `, g; Y* J! C. I) g
  677. ; PHP internal character encoding is set to empty.% n* r: p7 k/ E5 M6 H" i$ `
  678. ; If empty, default_charset is used.
    $ v; t5 x) X- ~+ a0 V1 v' l
  679. ; http://php.net/internal-encoding' e) o6 Z0 ~# f5 d- }
  680. ;internal_encoding =$ Q; }* o" d* z( b

  681. # h  m+ ~' m* L/ p6 m8 I* C
  682. ; PHP input character encoding is set to empty.
    ; `! }3 S9 c3 v
  683. ; If empty, default_charset is used.
    ; E3 S9 L& W" o+ p9 v. D
  684. ; http://php.net/input-encoding
    * E! k9 [% c  E! D) ?
  685. ;input_encoding =
    , m7 i0 g9 |" F0 y$ f! [3 s

  686. " ~* a" ^: g  x' b+ C. f9 G% t! e
  687. ; PHP output character encoding is set to empty.! `  O" }9 T7 e( \& F5 M8 D
  688. ; If empty, default_charset is used.! t( a6 ~$ m, D4 B' ~
  689. ; See also output_buffer.5 C  i: V. @5 F' v
  690. ; http://php.net/output-encoding7 X2 T" s: L/ j( }
  691. ;output_encoding =
    . q$ i! t. n2 c+ W5 K; m6 S
  692. " L) G$ m3 d4 L! |( e6 n* ^
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # l1 ]; N9 f1 R' u: x. s
  694. ; Paths and Directories ;# e+ K3 l0 t! Y+ H0 a" ~1 U' f
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / q  p- `' Z! H9 X
  696. ' V- a" K& b8 F) _. s4 o7 W
  697. ; UNIX: "/path1:/path2"
    ' I) o; A' ~! @% I" V
  698. ;include_path = ".:/php/includes"
    , ]+ [, P$ o; _( g2 o/ d7 c1 E
  699. ;- {5 b! q* r: z. E: c" S
  700. ; Windows: "\path1;\path2"  R3 \2 t* O2 e, }. X2 T
  701. ;include_path = ".;c:\php\includes"
    % U; z$ F, ~7 s# r0 |; G9 G3 Z$ E
  702. ;
    " y* R+ s2 C+ |0 I+ l% |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 Q5 X% ~8 w4 O+ h: [, D8 c7 U7 r
  704. ; http://php.net/include-path
    7 m0 \$ f8 _% w+ f

  705. ' h& Q$ c6 Z8 {
  706. ; The root of the PHP pages, used only if nonempty.
    ; ~5 t* T; v5 C3 J
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      S( U. M) n5 J% _) l4 `! I
  708. ; if you are running php as a CGI under any web server (other than IIS)0 `& i( H' n- \9 `6 k) ^$ E
  709. ; see documentation for security issues.  The alternate is to use the
    8 C+ c, m2 Y2 J3 ^
  710. ; cgi.force_redirect configuration below7 T; R! P1 [+ [
  711. ; http://php.net/doc-root3 A' N9 \3 O" }" }
  712. doc_root =1 O/ p) P3 e* V% r8 H& z& b

  713. + @* G* }* |& \% p: e, }
  714. ; The directory under which PHP opens the script using /~username used only1 v" p- ~% D, M$ Z2 o
  715. ; if nonempty.
    6 @5 J! \8 a9 ?/ C
  716. ; http://php.net/user-dir
    2 S& E8 C7 A! }+ D+ }
  717. user_dir =
    & E9 y/ Y  ~! M+ ]1 Y  h$ S0 W' \

  718. : m+ p7 Q$ R+ n' u/ m  v: H7 c
  719. ; Directory in which the loadable extensions (modules) reside.
    * l  ^3 C* ?7 ?" u6 w0 f
  720. ; http://php.net/extension-dir
    - A5 @6 W* G; Q; ]" g
  721. ; extension_dir = "./"
    + i( H2 B! @: f. b( q$ Q& ~
  722. ; On windows:
    " G1 {# \4 d+ p+ N8 o
  723. ; extension_dir = "ext"
    , _. |; Q( ~" f; S! S" O. E$ V2 ^8 ~

  724. 5 }& ?* N$ @$ O: {
  725. ; Directory where the temporary files should be placed.- f& ~* k- |7 ?' V  Z& Q4 r
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ! d' l; \# u- ~
  727. ; sys_temp_dir = "/tmp"
    ( l( Q8 M( H4 C. T3 ?2 G5 @0 K( c% g' u; m

  728. 4 H' j0 M* I0 @# L, X& y3 T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    3 q% m- z: _  k, Z% L0 |
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & _6 V- ?5 o) `, P3 k
  731. ; disabled on them.
    , y5 A1 R3 i, i7 ~+ V4 {  M7 k
  732. ; http://php.net/enable-dl
    * y) U% P4 X3 I$ l& s- Q$ u, [
  733. enable_dl = Off
    ; X6 X! B% N, ]4 {& ^

  734. 1 H- n' w2 S- t7 q
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & N  B0 d3 E$ M7 n  m
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can: @1 q0 o- }# A9 w
  737. ; turn it off here AT YOUR OWN RISK
    5 [0 l  x. c) e/ S( _
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**7 I" O4 \; K, M
  739. ; http://php.net/cgi.force-redirect/ a2 E5 o7 \  F
  740. ;cgi.force_redirect = 19 y+ A  h2 [0 X# H* c8 u# O

  741. . P- O/ f, A7 F, u8 E4 w: z
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    : Y) F9 Z& x4 q+ o: U, H# z
  743. ; every request. PHP's default behavior is to disable this feature.
    " m' }) R/ K/ F
  744. ;cgi.nph = 1
    * N' O: c4 R' N) I
  745. 7 s7 r* P  H  s  j
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    & M6 q; g; \# ]7 _, E0 L
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    0 p, \  h& T3 I. s& r" _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 ]- ?- P- k4 i- Q# ^( r
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! H2 p4 K4 g+ W9 g" b) u
  750. ; http://php.net/cgi.redirect-status-env6 @! b* X/ ]1 K' S! H
  751. ;cgi.redirect_status_env =
    # ], {2 r( z+ N4 @

  752. 1 C+ o) a7 {/ u; \8 g- o
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ U2 w8 [. R. i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    & u0 X. X, r; ?
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ y7 P) x, I! m" @) m
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    4 F; q+ B6 r1 F  _
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: C1 v1 k/ s( G& V4 l% Y  z! Y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) U9 t9 R) N9 r  Q" K8 I% C5 d3 A
  759. ; http://php.net/cgi.fix-pathinfo
    ( o7 e: \4 `8 U0 q/ h& m
  760. cgi.fix_pathinfo=1
    + ^9 T% {1 x% R" o) P. D3 a* \8 U$ A

  761. 0 _& z* S4 o* u$ L2 u
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ) ?/ Q1 I' X3 f3 f; r
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    " G4 ^; w; f6 W/ x
  764. ; http://php.net/cgi.dicard-path$ r& z/ b$ f( f. _
  765. ;cgi.discard_path=1
    7 F9 U! [- r# D, _
  766. 6 u0 d5 i: D) T" h
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate1 D. Q: m7 l: x; v1 o
  768. ; security tokens of the calling client.  This allows IIS to define the* c! f4 \" q+ y0 }, J$ {6 D
  769. ; security context that the request runs under.  mod_fastcgi under Apache0 Z% V! L- Q. J, L6 l( U) m
  770. ; does not currently support this feature (03/17/2002)
    / v1 Y7 W8 }9 z, i- ]0 ?
  771. ; Set to 1 if running under IIS.  Default is zero.
    + c5 K$ ?4 J; [, ^3 ]) H
  772. ; http://php.net/fastcgi.impersonate
    1 X; a0 B" V- N
  773. ;fastcgi.impersonate = 1" x% B9 Z  S  [7 V8 b4 n- W

  774. . z2 F5 a' o1 P) Z" U% f
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable$ j! E1 i. ~" Z5 k' h0 ?. b
  776. ; this feature.' ], c' k6 ^$ ^% D+ D2 X) d. e  L0 ~
  777. ;fastcgi.logging = 02 ~6 y& e3 {2 {. \
  778. ) D4 k8 F2 X* b3 S! p5 O
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to3 Q% j4 h5 \6 B5 S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 L& T; d2 j" E- ]
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    0 I/ A4 s! u- U: {# Y
  782. ; RFC2616 compliant header.
    ( f$ ^+ h8 l+ v4 O/ l6 L. O0 S
  783. ; Default is zero.& O. o2 a+ @* b+ W% ^& M7 a& L
  784. ; http://php.net/cgi.rfc2616-headers; s# M: x* M7 `+ F2 L2 V1 x
  785. ;cgi.rfc2616_headers = 01 l4 b/ V. x3 k8 ~5 y5 F

  786.   ^2 @& u5 Q7 R  _3 o+ G
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    , ]$ }& s2 k! y! h
  788. ; (shebang) at the top of the running script. This line might be needed if the  \$ |& C( J& H- I! T2 K5 M
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; }, i, b# Q5 n0 K5 y" w
  790. ; mode skips this line and ignores its content if this directive is turned on.: [3 Z8 L1 b; _7 K6 ^1 N/ @
  791. ; http://php.net/cgi.check-shebang-line6 t. y8 L7 L, m
  792. ;cgi.check_shebang_line=15 g/ Z5 e& T0 ]# R0 ]

  793. # _8 D, e# L4 K, A) a
  794. ;;;;;;;;;;;;;;;;- \8 K3 A, |; S
  795. ; File Uploads ;6 u# o$ _0 F% i
  796. ;;;;;;;;;;;;;;;;# h1 a3 c, w/ d) J
  797. 3 u- `: z# s5 L- H3 n$ {
  798. ; Whether to allow HTTP file uploads.
    ( U9 h# _3 K" Z: y
  799. ; http://php.net/file-uploads
    - Q' }3 g) E+ }, J" @
  800. file_uploads = On
    ! J0 s4 f( w2 a# Q, I. A' {
  801. 8 j6 ]' ]! v6 V  k5 o5 ~! E
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. D* w( o7 o7 e& C. Y' }$ v  @$ j- g
  803. ; specified).
    2 D  Z3 I0 M# y0 }
  804. ; http://php.net/upload-tmp-dir
    5 o: c  d; j+ |7 E% L( M! X' |
  805. ;upload_tmp_dir =
    ' t. N: O6 e$ R$ I0 _* K" L
  806. 8 S0 H. G* d+ x
  807. ; Maximum allowed size for uploaded files.5 i# E; u/ l% o' x" i* I. J
  808. ; http://php.net/upload-max-filesize
      @; Z* C  G8 q$ _; l  p; e0 ]
  809. upload_max_filesize = 50M
    2 m7 K% p0 _1 N* {' u. R

  810. & ^0 j1 g. Y- ?  X
  811. ; Maximum number of files that can be uploaded via a single request
    / |6 E) V- e4 d4 m
  812. max_file_uploads = 20
    # t4 ?. \  w' E: H* {! m5 ^0 h

  813. ; O3 b4 Y2 `  q" f- P) [
  814. ;;;;;;;;;;;;;;;;;;
    % G0 o* x; ]# {
  815. ; Fopen wrappers ;. b8 t' K" ]$ ~! v- }7 ?4 l' [2 _
  816. ;;;;;;;;;;;;;;;;;;& r& Y3 I' k1 R* P# o

  817. ; O$ Q9 R1 P( P% r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 h$ ~0 ~- B8 L7 E, O
  819. ; http://php.net/allow-url-fopen* m/ ~$ g1 ?; p( A, ]& N
  820. allow_url_fopen = On
      @0 N+ ]7 y+ d% N" S% d

  821. ) F8 e5 n2 D: Q' b/ h, A
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; g- M' G) J( Y9 T
  823. ; http://php.net/allow-url-include" L7 _8 f2 p' j2 X* k
  824. allow_url_include = Off* P" B5 T/ h" {  U9 {6 ]

  825. / A# @6 A8 b. j+ W
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ J, p1 r7 E7 G+ }! C) Y
  827. ; for this is empty.8 S; Z2 S9 S+ x# S& P% `. k; `4 ]+ }
  828. ; http://php.net/from
    % @7 J% l: U3 D8 @- R" @8 o8 z2 V
  829. ;from="john@doe.com": w( o- N: c: e, t" p; `

  830. ' o- x% I5 L1 O/ y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.! U8 n( U) P7 v: s0 e8 y9 u
  832. ; http://php.net/user-agent
    % @1 q& h2 b0 w: n8 e* m7 G, p1 h
  833. ;user_agent="PHP"3 X/ ?- `; J/ J; k! D* U3 |# j3 b
  834. * ]+ n$ e' }/ f* z
  835. ; Default timeout for socket based streams (seconds)9 s' ]! `9 t% Z
  836. ; http://php.net/default-socket-timeout
      b0 F0 |- O3 n$ r* h* ]" Z" T  o
  837. default_socket_timeout = 60
    ! B* _9 X/ [: D

  838. 7 N! h1 m) d8 N7 P) m* _& j
  839. ; If your scripts have to deal with files from Macintosh systems,
    ' j; V8 q$ W& i) X
  840. ; or you are running on a Mac and need to deal with files from
    ; b! n( X6 q) S! k" ]# ?0 T
  841. ; unix or win32 systems, setting this flag will cause PHP to
    7 H7 D. x+ V0 p( |+ m6 {5 D
  842. ; automatically detect the EOL character in those files so that
    % ~+ m8 u6 W3 _' ?# c' Z( P& {) C/ L
  843. ; fgets() and file() will work regardless of the source of the file.
    1 `. P2 G' S5 C1 ?- u
  844. ; http://php.net/auto-detect-line-endings
    3 v7 N; Z: m$ Z/ a. K/ A
  845. ;auto_detect_line_endings = Off
    0 S: m) _" |7 X  r4 ~' q: c

  846. 3 w1 U* w) ^# ?! \
  847. ;;;;;;;;;;;;;;;;;;;;;;( K' Q% D! O' c5 @
  848. ; Dynamic Extensions ;' D1 G4 A* \- k7 e$ ?# U' P
  849. ;;;;;;;;;;;;;;;;;;;;;;, Y% A6 X, }; B! c+ J; x# r% J% Q+ V$ J

  850. : K, a8 }$ _3 L) m5 n
  851. ; If you wish to have an extension loaded automatically, use the following! ?/ \& K; n4 b% S& m& H
  852. ; syntax:1 c+ y; {$ @2 S7 |. I
  853. ;. ~: x- _% u: G
  854. ;   extension=modulename.extension
    1 n: z; v2 p# E# y
  855. ;& [' _* w. S: `$ n& U& C6 t7 Q
  856. ; For example, on Windows:
    , Q3 A; z/ v- L0 }- ]
  857. ;
    4 U7 a1 Y2 W9 @0 M
  858. ;   extension=msql.dll
    : D- _5 x6 D% w9 p: w5 x
  859. ;& {* K, t0 [! H
  860. ; ... or under UNIX:
    7 S. k3 q5 Y! h6 o9 s* k8 {
  861. ;" j8 F9 [) T4 N  W- y
  862. ;   extension=msql.so
    , l/ X/ e7 ?, W: f& ^& P0 N2 L- g
  863. ;
    + j! L. K  J6 l- R. L  Z9 @
  864. ; ... or with a path:# M. \2 s- Y1 K& }8 V5 Z. u% w! n
  865. ;
    ! v$ z, X& L& r8 C- @! m5 V) @
  866. ;   extension=/path/to/extension/msql.so
    1 b. n8 h# t# ~1 s4 ~' v# \
  867. ;
    2 q& d' n6 s8 e. x/ Q
  868. ; If you only provide the name of the extension, PHP will look for it in its  S& ?1 _2 J' m2 A: ]9 i
  869. ; default extension directory.6 }* j  o- c, R! G$ m
  870. ;! e- M3 K; c! M6 q9 B
  871. ; Windows Extensions
    ' d: ^6 A' `2 e5 N
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    4 d1 i# n3 u% f  j
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    - @/ |! L  \0 ~
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    4 N5 d& O" o* |1 p3 @; i
  875. ; Be sure to appropriately set the extension_dir directive.: o7 e" W. j# |% J& K
  876. ;
    + b$ A7 |, m' {  ]4 A) {
  877. ;extension=php_bz2.dll8 u- n5 O/ ^( T0 |  l
  878. ;extension=php_curl.dll! s1 z: V" y  Y) A
  879. ;extension=php_fileinfo.dll5 H9 F$ p5 s0 j
  880. ;extension=php_ftp.dll7 u& G! N5 s" j0 o
  881. ;extension=php_gd2.dll1 z. @6 `' A: |+ I
  882. ;extension=php_gettext.dll
    ; |7 |# \7 Z2 W, v; O( k" G
  883. ;extension=php_gmp.dll- J* u7 V1 t8 s. W8 h) C
  884. ;extension=php_intl.dll
    # Q( `$ i9 ~4 b, G5 I" j% J% Q$ F+ W
  885. ;extension=php_imap.dll% n' d+ m* w* c- ?0 t$ |
  886. ;extension=php_interbase.dll1 v9 k! }6 Z5 H/ v
  887. ;extension=php_ldap.dll) t/ U, A9 t+ P
  888. ;extension=php_mbstring.dll; s( R/ V6 I3 _
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  K: N) ?9 h" I, Q8 U* i
  890. ;extension=php_mysqli.dll! C3 w% B( A/ _- `9 v# Q
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . [8 A6 P. U0 l9 Y# _0 n, ^! @! C
  892. ;extension=php_openssl.dll
    ; _; r2 S7 G& P7 Y$ x3 P
  893. ;extension=php_pdo_firebird.dll
    . R; G1 [* k# s4 b# i
  894. ;extension=php_pdo_mysql.dll
    ' x4 d8 k0 d, O7 V
  895. ;extension=php_pdo_oci.dll  L. b0 r. F. f* a" C6 L' V
  896. ;extension=php_pdo_odbc.dll
    , T: G- h  a+ n
  897. ;extension=php_pdo_pgsql.dll
    : \5 B! v& |7 X; G" J7 B% J
  898. ;extension=php_pdo_sqlite.dll
      D' ^( K! W7 ^2 j& Y6 X
  899. ;extension=php_pgsql.dll3 c4 k4 y$ f. m( k! G6 c* `* G$ j" }
  900. ;extension=php_shmop.dll
    ( m$ H+ m" i. t/ k/ l* f

  901.   N; C- W3 {) V1 q; ]' z9 E0 _
  902. ; The MIBS data available in the PHP distribution must be installed.5 M  O) P9 K* l" @, o# k
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    5 N: _. `7 b, ?0 h% [: d- l2 G, H
  904. ;extension=php_snmp.dll
    7 Y5 Z" D& N# {7 F! K- ]

  905. 3 H: d  e: \  g
  906. ;extension=php_soap.dll
    ; D6 U9 w6 X( p8 o
  907. ;extension=php_sockets.dll' v* b: }! p8 P- \0 }0 ^
  908. ;extension=php_sqlite3.dll
    & }) _: i" p* j# ?
  909. ;extension=php_tidy.dll
    : v# s9 d3 f) M/ d& }7 |
  910. ;extension=php_xmlrpc.dll
    4 h: S1 S. l4 S% m" S8 S0 |5 g
  911. ;extension=php_xsl.dll
    ' `5 _8 O0 g) a" |* b

  912. : Z: S! D0 ^, h- f, o  ?- Y
  913. ;;;;;;;;;;;;;;;;;;;7 X6 H& s9 o# ~& {3 x+ }
  914. ; Module Settings ;8 U* z  f' I  I
  915. ;;;;;;;;;;;;;;;;;;;4 s3 I9 t; l, x. R- x0 R8 V

  916. 5 R& u, R6 b) U2 J* [. q& A- Q
  917. [CLI Server]) M. |1 O$ {  D: l7 b& E1 q
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # v% S2 @" Q. ]
  919. cli_server.color = On2 G" [( k+ B! ~  w& ~

  920. 1 u8 K& n) G/ r5 N$ b( M
  921. [Date]
    0 L5 ^/ n3 ^" J/ b. @
  922. ; Defines the default timezone used by the date functions/ r7 B3 ~3 ~( S# U) p$ l; r. N3 R
  923. ; http://php.net/date.timezone
    - F: x/ }% E2 }* o  F
  924. date.timezone = PRC
      T! R- j9 @2 M( v5 ^

  925. 9 `, |( W/ r4 r
  926. ; http://php.net/date.default-latitude1 x9 m2 A( |2 g) k
  927. ;date.default_latitude = 31.76676 w1 a7 Q- v, L) s! }7 p0 F
  928. ( h; ^. o3 z' X  c# |
  929. ; http://php.net/date.default-longitude
    2 k% {' c9 \; H8 ^6 Y& v
  930. ;date.default_longitude = 35.2333
    & P9 y3 l6 I% e2 l; M8 R$ Q

  931. 7 W/ u' }3 N; `# N( ?( C4 q0 ]
  932. ; http://php.net/date.sunrise-zenith
    / Y& L) K0 K7 B0 R
  933. ;date.sunrise_zenith = 90.583333
    7 @7 r0 ~, l4 q2 ]* I7 F; Y
  934. ) V( {4 D! Y) H" U9 L4 W4 f. _; r
  935. ; http://php.net/date.sunset-zenith
    : f: a' y+ _$ ?, _( ?
  936. ;date.sunset_zenith = 90.583333
    % \( \4 @" I! X8 q2 P- l/ ^8 {

  937. 7 v1 b$ w3 r# }' ?& z' r
  938. [filter]
    ( y: U; T# i2 K7 I( r4 k+ w# a
  939. ; http://php.net/filter.default: e# n7 K% M/ q( i6 o6 N
  940. ;filter.default = unsafe_raw
    ( U; W% W; x8 c" n3 e' s3 f( |

  941. , x/ B, W+ f$ s0 h0 Z5 \
  942. ; http://php.net/filter.default-flags+ V7 o1 G* w' @1 f
  943. ;filter.default_flags =+ j$ V# ^) G8 p' N* J
  944. - a6 H. ^2 p! B! G5 t8 l, n2 N2 ^* F
  945. [iconv]
    ! C, j$ {" w: p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.  `# }  x& s7 @- Z$ X
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.$ s( T4 d6 @' M( F/ f, W- F7 s! s3 ?
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding. e, A: u( A" Q5 C2 z8 }& G. V( j# ^
  949. ;iconv.input_encoding =
    1 C) C- r6 U9 c  S( @. O& x# P
  950. - n. C* J3 S/ k
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; g% x2 G/ N6 P& M4 ~* H0 _
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; U  c- \8 G5 Q( i# K
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) F: f, W* W3 @$ j3 q/ E
  954. ;iconv.internal_encoding =
    ! w1 C) s  O9 v7 }0 w! {  c5 o/ W

  955. 0 c" f- z* A# k+ H# W4 r
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 j- M' U0 {% p' j! P% I
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + k6 g& H  \5 s+ M" F4 r! e4 ^
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( n' \. o9 _$ u& s) b/ ]
  959. ; To use an output encoding conversion, iconv's output handler must be set
    & ^0 c% [4 q& ?8 Z! m+ T2 J
  960. ; otherwise output encoding conversion cannot be performed.
      N4 Y$ o! L; M9 F! j
  961. ;iconv.output_encoding =
    , a. k) d0 y/ e& U+ \4 w

  962. ( X% M( U7 x6 v- v' U
  963. [intl]6 K3 i5 m& ^' ~5 Z1 _0 E
  964. ;intl.default_locale =  h% L9 m& Y, u) j8 o. N
  965. ; This directive allows you to produce PHP errors when some error
    $ j8 ~) U  c3 b/ U  D
  966. ; happens within intl functions. The value is the level of the error produced.
    ! Z1 F. h0 ]7 ?( }/ J
  967. ; Default is 0, which does not produce any errors.. w1 w$ ~/ k0 z4 T. o9 B- N: g+ e
  968. ;intl.error_level = E_WARNING  |; A! b4 G8 m/ ]& m
  969. ;intl.use_exceptions = 0
    : G  v+ d8 u2 M: L0 @
  970. 8 G0 ?  W4 A4 y
  971. [sqlite3]# x' {# w; Y  i4 L' f# I$ y
  972. ;sqlite3.extension_dir =
    & r1 ^1 R& L, O  j% }7 i7 A
  973. 9 q# P, u, ?" D/ b4 V
  974. [Pcre]: ^% C9 Q) b1 B( u1 Z
  975. ;PCRE library backtracking limit.8 P* s, Y# u- x# M% ~
  976. ; http://php.net/pcre.backtrack-limit
    1 J/ ~0 a- I3 }* V7 e
  977. ;pcre.backtrack_limit=100000
    - v( Q6 K9 m+ V4 ^+ P+ X

  978.   ~8 F" }. n) V- \0 t8 B
  979. ;PCRE library recursion limit.3 @8 E' ~2 D! {; J
  980. ;Please note that if you set this value to a high number you may consume all
    ! T  \. N0 p& C3 s
  981. ;the available process stack and eventually crash PHP (due to reaching the4 C6 R1 T- c1 B. x, U
  982. ;stack size limit imposed by the Operating System).
    5 x6 i& J8 R1 X' m- V, m2 l! S
  983. ; http://php.net/pcre.recursion-limit
    % ^2 S0 Z( s5 z6 m5 M; R
  984. ;pcre.recursion_limit=100000
    " J8 q) p1 e, W& W: m6 c, x/ e
  985. 4 C4 u3 @+ x6 N! o8 u
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE8 |& l9 \& o5 z" c2 G2 e0 B
  987. ;library to be compiled with JIT support.+ i1 ?' ~( }7 d1 R
  988. ;pcre.jit=1* w- q0 R. Z9 |4 {( X. y( {) |

  989. * x! P: Y" {4 H6 `* r
  990. [Pdo]! K" Q- k! Q0 `. [
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 I/ x7 t: X) J4 b% O! V
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 _! J; u; o- \- r2 K  Z
  993. ;pdo_odbc.connection_pooling=strict
    & }, z* i3 T" m4 e" s( U4 |+ \4 R

  994. . R6 S1 {. ~+ p) x' I4 {
  995. ;pdo_odbc.db2_instance_name
    : p- y" ^6 L' D

  996. 8 r" D. C: S# I( l8 ?7 e
  997. [Pdo_mysql]
    / K% G$ N. H+ t; \: j0 f
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 ^) L! o8 W3 V
  999. ; http://php.net/pdo_mysql.cache_size
    6 Q+ c$ W& l/ O
  1000. pdo_mysql.cache_size = 20001 T& Y) \% t& z3 |

  1001. , x' q6 u* T9 u9 O. S9 a) l
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / m2 i' i6 U' B$ m: w
  1003. ; MySQL defaults.. J6 R# C- `, f. Y! r4 r7 }% J
  1004. ; http://php.net/pdo_mysql.default-socket* H% u! ?9 v  W% ?3 a' Q% s
  1005. pdo_mysql.default_socket=: F4 ?% `2 y. v% ?8 f: {: z% J8 [

  1006. - u9 n; x* }/ |1 I* d% a
  1007. [Phar]8 K8 {& c, L9 y% R9 C
  1008. ; http://php.net/phar.readonly
    7 f  C: D. {/ B: w3 r9 v1 r
  1009. ;phar.readonly = On
    & ~+ R- {7 R( k+ t$ \. G' L

  1010. ; Y2 r; \5 T# K( N
  1011. ; http://php.net/phar.require-hash
    ( |, W! t% L5 D  A) I
  1012. ;phar.require_hash = On
    - F$ m; \, @) {  c/ S2 k, Q* {

  1013. 7 s: V7 C& d9 J+ a
  1014. ;phar.cache_list =
    # ^. P! g2 o7 ^3 |! T5 w
  1015. 7 Y7 I# l3 v/ I7 |
  1016. [mail function]
    ( r  o/ \/ j- k& D
  1017. ; For Win32 only.
    . I  _) N4 ?: c7 @5 N7 q$ z
  1018. ; http://php.net/smtp
    ' i% d) ^& S) J* F8 H3 w
  1019. SMTP = localhost+ o- ]2 x! w7 y$ @5 B, A5 i  _$ V
  1020. ; http://php.net/smtp-port
    ' d: k4 C0 ~8 J
  1021. smtp_port = 25" ^) ]1 B4 K5 {3 q" O

  1022. 4 \$ T3 K/ V' _' ?- Z
  1023. ; For Win32 only.
    % c/ Z  x$ U0 o; \
  1024. ; http://php.net/sendmail-from& R- T, v4 }: m- V
  1025. ;sendmail_from = me@example.com
    ) W& |0 G/ F, F3 P# ^

  1026. 5 @* s) R; @' X* Q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").% E6 ]0 K" D6 ]& U  m
  1028. ; http://php.net/sendmail-path7 L+ n" O& K- d( X7 ?
  1029. sendmail_path = /usr/sbin/sendmail -t -i' D4 J: ]6 R  Y1 Z6 L7 p
  1030. + X! h% J9 d0 i* Q" K' F; J4 d
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ' h: Q& u6 I& c  z
  1032. ; to the sendmail binary. These parameters will always replace the value of9 A: |6 F5 F: ^0 @9 ?
  1033. ; the 5th parameter to mail().
    4 j6 u5 H# P3 o% \; h# T
  1034. ;mail.force_extra_parameters =
    , W& X" \! ^! L( K' p* H, r

  1035. 5 F6 i7 b( F. j) f- U
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; V# h+ M, d- O" Q& b8 r2 c6 w) W
  1037. mail.add_x_header = On
    4 p1 T4 r  R& S6 _2 j
  1038. ( ?8 ~9 r, ^* U: J+ w$ `
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    % w+ i6 C1 k6 v5 W- D& h
  1040. ; the full path of the script, line number, To address and headers.. j' u/ t2 Y6 Z4 d4 F
  1041. ;mail.log =
    8 V* h3 K2 y! H" {! Z0 J( H+ X8 F
  1042. ; Log mail to syslog (Event Log on Windows).
    ( X; w# v/ b% i4 ]
  1043. ;mail.log = syslog  W8 y) d4 G& a' M6 M

  1044. " m3 K  g& ~* w; v
  1045. [SQL]
    ; K1 x. [0 ~, S! E' i) c
  1046. ; http://php.net/sql.safe-mode2 D2 G  Z! m: }  \
  1047. sql.safe_mode = Off
    : A# |3 X% y# f* ^
  1048. : ?' B! ]) y) l- s4 Y
  1049. [ODBC]
    + q0 a, f7 V. s
  1050. ; http://php.net/odbc.default-db
      v0 B2 o4 c) t0 i3 e0 a
  1051. ;odbc.default_db    =  Not yet implemented
    ; Q5 R. r1 ^0 y$ H9 `

  1052. 0 M0 a* Y1 j# A# G$ o( ~8 O" Z
  1053. ; http://php.net/odbc.default-user$ L0 B) _3 B: l& o' ]
  1054. ;odbc.default_user  =  Not yet implemented
    # e; m, _$ ]6 ?+ \4 p
  1055. + ~8 U0 C0 Q5 I& o3 `; C
  1056. ; http://php.net/odbc.default-pw5 d- A2 T! n3 o* p0 H- |
  1057. ;odbc.default_pw    =  Not yet implemented' k2 b' f6 H8 B1 s- k6 o

  1058. 2 g+ S( c5 A/ c% b7 ?
  1059. ; Controls the ODBC cursor model.! {, t8 I& {% i+ d; K9 [3 X, f' h
  1060. ; Default: SQL_CURSOR_STATIC (default).3 x  ]5 b4 N' N
  1061. ;odbc.default_cursortype
    ; x# v: U1 [' z9 |+ |/ G

  1062. $ T7 z: L' j9 A2 a2 `  U9 c
  1063. ; Allow or prevent persistent links.# L, ^3 ?# ?, F  h& V
  1064. ; http://php.net/odbc.allow-persistent
    5 l, j. s" J; j( N( ^6 k
  1065. odbc.allow_persistent = On& ?4 `6 T/ W7 n6 a8 v

  1066. " V' t: X, S) f  r
  1067. ; Check that a connection is still valid before reuse.! H- u! x; |% l% N, `2 K4 x+ L4 q
  1068. ; http://php.net/odbc.check-persistent/ C7 u8 m% q, o0 C$ }( c' ~
  1069. odbc.check_persistent = On6 p( X% `6 w& T8 K4 v1 B

  1070. 2 y+ U+ v* J. n. q
  1071. ; Maximum number of persistent links.  -1 means no limit.
    4 H% V) |& X/ x* ~7 g
  1072. ; http://php.net/odbc.max-persistent" ?4 T) R" c) z. j% Y
  1073. odbc.max_persistent = -1
    ) U. w2 e2 s5 |5 D& O& ]
  1074. 4 y6 t7 F9 @0 e( ^3 p' Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 p- K/ _; N8 ^8 h" a6 a
  1076. ; http://php.net/odbc.max-links+ o7 X, r6 ~" W+ K: ^- ]0 Z
  1077. odbc.max_links = -1
    2 P! P. H8 ~7 s! E7 i5 \
  1078. 7 ?5 e) W& ]% ~7 S/ X5 S. _9 t
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means9 T1 t! m; ~9 j( L; Z* `
  1080. ; passthru.% `/ b2 r& F2 B$ b8 |, z
  1081. ; http://php.net/odbc.defaultlrl, m' P6 \) a5 w5 c* ~
  1082. odbc.defaultlrl = 4096- ^6 c. S  h+ H/ n/ _/ ?
  1083. ; J- U4 c7 p+ e7 Q! L9 y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 Q& Y# b: O( H; ^5 _1 w# Q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  x4 Y' u  m* h
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode2 w* ^/ O9 ]$ h5 n7 R
  1087. ; http://php.net/odbc.defaultbinmode6 B/ i/ @, v6 B: m+ d, {
  1088. odbc.defaultbinmode = 1
    # l. M1 C! Y; _' n( N2 v$ h

  1089. # M! z) J8 k; v9 m! ?3 R
  1090. ;birdstep.max_links = -1# D8 e9 A6 i  I$ {, a

  1091. 5 ?& y1 a; Q; ~
  1092. [Interbase]
    % s1 u( F8 R" O+ W. a2 S# M
  1093. ; Allow or prevent persistent links.
    * N$ d9 s- l1 i7 ?( f5 I
  1094. ibase.allow_persistent = 1
    - q# {3 Z3 t1 F7 D7 \/ P; U! y/ F9 o9 V
  1095. 8 p( v) ?' p+ k% A9 i* v
  1096. ; Maximum number of persistent links.  -1 means no limit.
    % D5 s) S9 h! N, S" }0 g
  1097. ibase.max_persistent = -1
    ) V4 ^8 v/ n8 R& E: D4 H
  1098. 5 w' z& }3 O2 e' g- G2 a3 t- U
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; Y7 m& X4 v9 E5 I) h
  1100. ibase.max_links = -1% n% }; o# V& v, ~% i" m/ ^
  1101. $ z9 u& q* P3 @9 c
  1102. ; Default database name for ibase_connect().
    . X- {( X* {& e- `3 H! x  f7 M
  1103. ;ibase.default_db =. E& s% F( B3 m$ k, K! G) F' t

  1104. 9 Z* z7 b7 j; {. H  x% J
  1105. ; Default username for ibase_connect().: b4 x7 s8 l- k" G7 M- r6 y$ W
  1106. ;ibase.default_user =
    # h/ ^" v4 I: T1 g8 I
  1107. , _5 J' l+ g7 V9 G) i3 c' X
  1108. ; Default password for ibase_connect().
    / s; ^5 R4 H$ J! M
  1109. ;ibase.default_password =
    5 l) D  L2 C# p  ?6 l) R

  1110. 5 i% Y  O+ F# Z) H9 M) T- X
  1111. ; Default charset for ibase_connect()., O  e6 z2 D2 O$ U! k# }5 e* o
  1112. ;ibase.default_charset =
    $ y( L, s6 D# V9 z% w
  1113. ) X$ Q4 f$ H* P8 e. H
  1114. ; Default timestamp format.$ u% X9 Y6 w& x% K1 x' m( ~
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 b# W7 Q3 h/ r: H

  1116. * n+ a* d+ G8 ~! E* x0 L
  1117. ; Default date format.) _$ {; R; R' l# A$ F' a) Z
  1118. ibase.dateformat = "%Y-%m-%d"8 B' o5 m" n3 |3 R" \

  1119. . m' e- q- v( }9 m. \8 `6 e
  1120. ; Default time format.
    6 h! r. H2 r5 ]8 b/ n# p* v
  1121. ibase.timeformat = "%H:%M:%S"; q: B+ O3 C$ @# s# @

  1122. 5 S: G& a$ K% v: {5 E9 t% s
  1123. [MySQLi]2 \/ ^9 V/ U* ~4 m& E4 m( j# C0 c

  1124. # W3 j" a% d% i3 n; o+ V( j
  1125. ; Maximum number of persistent links.  -1 means no limit.  _- S* s& U6 ^- W
  1126. ; http://php.net/mysqli.max-persistent7 Z9 y  ^7 L9 a
  1127. mysqli.max_persistent = -1/ n6 y% I$ k/ R" Z
  1128. ) S6 r) y/ @) G$ H: R% m& W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements( X! s, H, i0 M3 B) w( ?
  1130. ; http://php.net/mysqli.allow_local_infile+ P, \( J2 D- V4 C0 B$ I6 y' U
  1131. ;mysqli.allow_local_infile = On( p+ G% `9 k9 }7 A9 G
  1132. 1 }; W7 {1 i4 ^
  1133. ; Allow or prevent persistent links.4 @6 L. N% m1 t/ M/ N0 P
  1134. ; http://php.net/mysqli.allow-persistent! }1 s' D. C' I
  1135. mysqli.allow_persistent = On
    ! f7 S) d, E/ d" n  e/ ]) E

  1136. 2 Y- \5 M. }2 U4 {: B8 O
  1137. ; Maximum number of links.  -1 means no limit.
    ( z5 d  Y" d6 ]/ Y1 ]& A8 \5 Z/ [% K
  1138. ; http://php.net/mysqli.max-links
    * e0 H+ o: W/ ]$ i
  1139. mysqli.max_links = -1
    7 ?, M: l1 r  b; ~7 U

  1140. 7 y5 W+ Y5 o6 {' s
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : t! u/ d2 g6 T/ o! C. p& [( E, l: E; }
  1142. ; http://php.net/mysqli.cache_size' P0 N1 w# O  J$ a" o3 s1 a& {
  1143. mysqli.cache_size = 2000
    7 b* A# q2 ?8 \7 c6 i* B- {% u( ~

  1144. , ]* v! N' C% G. X( r8 l
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % r5 y6 L7 V+ r' t: W- ?$ K
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the% f' C. O+ |4 n
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , n' V2 {+ X1 @+ p" K% G+ {2 K" P
  1148. ; at MYSQL_PORT.
    - L$ Q: K% L5 E* m- t
  1149. ; http://php.net/mysqli.default-port5 f9 n  F# q8 z: G" l8 A& j. d
  1150. mysqli.default_port = 3306( {0 V0 y! D. ?, N7 t  F
  1151. & t  e6 F" P8 a  a% o1 l$ @+ q: N
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 G* d2 x# L. g% b
  1153. ; MySQL defaults.
    / T' ^/ H* E6 N: r, m; m
  1154. ; http://php.net/mysqli.default-socket
    % R& }0 \* _+ W6 i' K4 C
  1155. mysqli.default_socket =8 w- |# ^2 ^- G$ S/ r0 ^0 W

  1156. ' t/ j# B* ?# Z5 f+ g
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + i1 M: {1 D0 j4 |8 i
  1158. ; http://php.net/mysqli.default-host' t4 f, }/ ]+ F: F! U- y
  1159. mysqli.default_host =
    ! f+ H1 i4 L! C9 p  b) }
  1160. 6 M6 S0 C5 e/ j5 T4 u  ]
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).' ]: U0 T- I/ P# Z
  1162. ; http://php.net/mysqli.default-user6 o7 P$ P) T- D; [
  1163. mysqli.default_user =: K1 e& [6 N. h' w
  1164. : n0 G4 S. N% I% ?' J+ P; ]
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ( y9 z7 H# y. [
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.% Y& Z( N5 |& n
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ M+ z5 ~- q, n
  1168. ; and reveal this password!  And of course, any users with read access to this
    7 ?8 f; b2 H+ V$ D* C* l
  1169. ; file will be able to reveal the password as well.
    * j" F! ?, X* K- A
  1170. ; http://php.net/mysqli.default-pw. y- [' ~: U# V- T6 r
  1171. mysqli.default_pw =: X: ?% [" s6 u. {& M! x
  1172. 0 b9 k- X4 o) }) b7 r8 D* E# W3 V
  1173. ; Allow or prevent reconnect
    8 u* G+ k, |* W! ~( A. v
  1174. mysqli.reconnect = Off
    ' m# D. [: T' H4 w* p$ D3 ^1 p! Y
  1175. 7 s. A2 i3 t0 y  c( O4 G
  1176. [mysqlnd]5 `8 W% v/ U; f/ V1 L2 T$ ^) O
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be5 e6 h- [4 x& v! |
  1178. ; used to tune and monitor MySQL operations.+ `2 O/ A) M+ \9 ], B$ o" [# N3 r
  1179. ; http://php.net/mysqlnd.collect_statistics/ \# f0 a/ `! }- v# I7 h: I" C* F
  1180. mysqlnd.collect_statistics = On
    # F$ z' E' F' F- ]9 t
  1181.   a1 V' A+ ^2 J* p+ }0 j6 S& X  ~, w
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' d2 @9 A, A% n9 \$ }
  1183. ; used to tune and monitor MySQL operations./ J+ G0 S' |4 S, X5 z& B
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    & P+ O  ]+ `2 [! B( }0 g, t# ~
  1185. mysqlnd.collect_memory_statistics = Off
    # L' ^% S0 y; {0 i, x

  1186. 8 X# }6 X# X, |0 E
  1187. ; Records communication from all extensions using mysqlnd to the specified log+ }' a" T2 f  E* W$ y3 s4 I& L
  1188. ; file.
    4 Z2 y9 p9 ~% x% u# C* m. _
  1189. ; http://php.net/mysqlnd.debug3 E. W8 ?6 O- D& m5 f0 [
  1190. ;mysqlnd.debug =/ p7 p6 F  w. z1 H" C

  1191. , b+ O6 L6 E7 I4 V" W
  1192. ; Defines which queries will be logged.) ?5 E$ s9 v" r4 u' d/ Q
  1193. ; http://php.net/mysqlnd.log_mask
    - p& b( a+ s3 f6 w3 e$ b% x
  1194. ;mysqlnd.log_mask = 0
    6 j: y8 J4 v( E, R- V* \
  1195. $ S0 T' N* ?* B
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " z; g4 J/ p# n5 w6 {
  1197. ; http://php.net/mysqlnd.mempool_default_size
    - x3 {! G* k8 z7 x
  1198. ;mysqlnd.mempool_default_size = 16000
    3 l) Q% i+ z& B7 H( ]8 y

  1199. ; n( n# D4 d; M' w( j, f) z
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' o6 }4 q6 {! K2 I) |) [: I
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * a3 {) b+ w4 s: t1 }
  1202. ;mysqlnd.net_cmd_buffer_size = 2048$ k$ k9 w; X6 I  J' ?
  1203. 9 e0 C; X. I- }" M' k1 S
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in* [2 W4 z5 Z0 H* Z7 d3 ~
  1205. ; bytes.
    * w3 P4 E' e, d/ ], u
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    8 Z8 A- r) _' O& b. x- E
  1207. ;mysqlnd.net_read_buffer_size = 32768
    # U& r) L7 P% Q% F

  1208. 7 y: U$ Q- ]  _
  1209. ; Timeout for network requests in seconds.
    ! K" R' R1 L* G6 j  i# y6 a$ r
  1210. ; http://php.net/mysqlnd.net_read_timeout- ]# n$ ]& Y$ _: ?1 m: s
  1211. ;mysqlnd.net_read_timeout = 31536000% a- c, z! Q( R# z" F# T
  1212. * k8 q% c' u% |6 b
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. w, i2 c" U9 F3 \% }# q- R
  1214. ; key.
    3 }0 I( C" Q! U9 @6 h3 i
  1215. ; http://php.net/mysqlnd.sha256_server_public_key& M. q8 }- d9 Y$ o7 M$ Y! P
  1216. ;mysqlnd.sha256_server_public_key =+ `6 q# y) p. m6 u% {  b
  1217. 1 c5 j# e+ J5 O- ]) ?7 i) m: F3 O
  1218. [OCI8]
    + `! x) y4 W4 e* v8 x& J
  1219. 3 F3 E5 c# d$ A% m. j
  1220. ; Connection: Enables privileged connections using external
    & d! T7 A  f' `* N+ h
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    + N/ }. G0 k' X
  1222. ; http://php.net/oci8.privileged-connect
    9 ~$ x4 A! a1 B3 K
  1223. ;oci8.privileged_connect = Off4 }2 ^1 t- L$ S' T- s  V- G3 U

  1224. ! K/ ]+ d" I- h+ B
  1225. ; Connection: The maximum number of persistent OCI8 connections per6 a  r: ?; d8 Q5 _
  1226. ; process. Using -1 means no limit.
    ( C6 v, c1 ^& k& y2 p  T" g
  1227. ; http://php.net/oci8.max-persistent
    4 R& A+ {8 g6 Z) l/ j: ^9 G
  1228. ;oci8.max_persistent = -1: T5 D% _5 p; X6 O! L: h3 `

  1229. 7 F6 G4 e  z' x
  1230. ; Connection: The maximum number of seconds a process is allowed to
    # ]% r) n0 m9 z6 m
  1231. ; maintain an idle persistent connection. Using -1 means idle' b8 R) H% m' B5 |5 O
  1232. ; persistent connections will be maintained forever.# C8 Y+ C6 i$ e. Q7 p$ G
  1233. ; http://php.net/oci8.persistent-timeout
    3 b! C  ^& g* h2 ~( F1 p% t* R4 o: ^
  1234. ;oci8.persistent_timeout = -1
    . P$ d- I' e- E& B2 I

  1235. & K/ H7 t( W$ r5 D2 [% d
  1236. ; Connection: The number of seconds that must pass before issuing a
    1 _3 R6 }; ^1 e* f% s
  1237. ; ping during oci_pconnect() to check the connection validity. When8 X. L, _9 |: U6 _0 z6 T, s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    2 Q1 S! H0 n3 t( d- D7 h- V3 R7 b
  1239. ; pings completely.
    ( f- R! r8 y1 X$ G
  1240. ; http://php.net/oci8.ping-interval$ i, {% {; e( i  J2 D4 X) y( q0 ]
  1241. ;oci8.ping_interval = 602 v) A* m# n9 x

  1242. . @; q% p9 t' ?; }) R/ P, E' L& x% ~; w
  1243. ; Connection: Set this to a user chosen connection class to be used( X! H- m6 U$ E  A7 I' c
  1244. ; for all pooled server requests with Oracle 11g Database Resident2 [; Z  ?7 ~  i- T) T
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 c9 d; r6 C/ r! C
  1246. ; the same string for all web servers running the same application,, n3 W5 ~/ o5 _0 {5 ]2 o7 P
  1247. ; the database pool must be configured, and the connection string must, R) R' m0 m1 K+ r* g0 j$ Y
  1248. ; specify to use a pooled server.# c  a  G8 W9 I7 F' ?, p
  1249. ;oci8.connection_class =
    1 j# }* X7 Q/ X3 o, J% H
  1250. ( b3 X* O# d7 U2 V6 e
  1251. ; High Availability: Using On lets PHP receive Fast Application
    8 I! O6 @( M" G3 a
  1252. ; Notification (FAN) events generated when a database node fails. The' R: D6 X  Z8 n/ C
  1253. ; database must also be configured to post FAN events.6 E8 c" y+ R+ U5 G, K
  1254. ;oci8.events = Off6 i; F/ r: X/ c

  1255. % v) Y  G$ `! J7 X
  1256. ; Tuning: This option enables statement caching, and specifies how* o: [5 s/ D+ O  {8 o4 q3 ?4 U2 ?
  1257. ; many statements to cache. Using 0 disables statement caching./ e8 I/ S) W( T6 Y
  1258. ; http://php.net/oci8.statement-cache-size# k3 J$ ?+ \# k  Q) T2 b, v% M
  1259. ;oci8.statement_cache_size = 20+ l. P  m; g: j5 E+ s' C

  1260. 1 |" [" Z* ?: f  |9 ]- r
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    5 [/ l9 W; T% s% ]2 B% O, z7 W
  1262. ; rows that will be fetched automatically after statement execution.: i8 p# M: U$ G8 L0 U0 Y" j9 H/ {
  1263. ; http://php.net/oci8.default-prefetch- Z- X! k, X: d$ w, D
  1264. ;oci8.default_prefetch = 100  c' _# @% g# `: O. [
  1265. 2 U5 y% H! S: U" O( @, ?. N
  1266. ; Compatibility. Using On means oci_close() will not close0 _( p, x/ i. A% [" b" F
  1267. ; oci_connect() and oci_new_connect() connections.8 m( {" e* `+ ^: x7 i
  1268. ; http://php.net/oci8.old-oci-close-semantics
    / N+ F4 z" V8 ?& E4 K
  1269. ;oci8.old_oci_close_semantics = Off
    ) `- {$ p) [& V9 P; v
  1270. + l6 W3 V; m. P! d& Z
  1271. [PostgreSQL]
    % Y' U6 c( T: d1 J6 l) q" Y3 z5 L
  1272. ; Allow or prevent persistent links.& d, s3 {. T7 `' y5 W5 P3 \
  1273. ; http://php.net/pgsql.allow-persistent: m: x( P% |# }* x3 X
  1274. pgsql.allow_persistent = On) Z: F  _- i$ b$ M

  1275. $ N- W9 T9 \' M+ R! O* \
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( n# T: `1 U  |0 h
  1277. ; Auto reset feature requires a little overheads.) |% R5 d5 F/ ^  K, Q
  1278. ; http://php.net/pgsql.auto-reset-persistent
    % h! Y4 H9 w* J: x" `, ^
  1279. pgsql.auto_reset_persistent = Off
    $ h1 h2 f4 e' L+ u" D2 X

  1280.   w9 O6 t+ A4 R3 W' ?  N2 |- Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    4 U3 E7 S8 f, W1 ]0 Q
  1282. ; http://php.net/pgsql.max-persistent
    $ v9 B9 Y- U; C$ V  w
  1283. pgsql.max_persistent = -1
    - j7 `5 H( @4 H7 V0 k) H0 d
  1284. & U" N3 L2 A) p2 E% w% A
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ Z2 I9 v8 v5 ^0 c  z6 {9 F
  1286. ; http://php.net/pgsql.max-links5 {8 ^6 b6 c* W! ]
  1287. pgsql.max_links = -1
    3 e* ?7 \6 j6 c4 |* B" {9 S1 m% i
  1288. & n0 l  G- t& N# d
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( }# }" M' E' y* v- e" _: h
  1290. ; Notice message logging require a little overheads.) h0 G9 {9 u0 n, Y  O/ \
  1291. ; http://php.net/pgsql.ignore-notice
    ( N1 |. ~5 D' `
  1292. pgsql.ignore_notice = 0. f& K( r) J* K& G, `( h7 M0 @
  1293. ; S! a' q# `4 H: m
  1294. ; Log PostgreSQL backends Notice message or not.; ]( N- S+ K. L0 ]/ b: j3 t
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  U" S5 O) P3 r; Y. K4 T
  1296. ; http://php.net/pgsql.log-notice# C. I  O$ l  `3 \0 f
  1297. pgsql.log_notice = 0# x1 }2 Q9 |6 S3 c$ A) C9 e% V

  1298. : \+ Q, g  H6 N. Q4 w
  1299. [bcmath]
    1 k& e. z- ?0 y
  1300. ; Number of decimal digits for all bcmath functions.; M; j( G9 a7 j0 j
  1301. ; http://php.net/bcmath.scale' P) J" e5 C6 F8 \
  1302. bcmath.scale = 0
    4 u- q! k& j$ z" S; I" c* D' Z4 N3 }

  1303. 6 j/ L9 L; F; ~' }' T
  1304. [browscap]) i% `$ W4 N9 e- d- W
  1305. ; http://php.net/browscap. C% O3 V& z3 Z/ P. `
  1306. ;browscap = extra/browscap.ini
    # O/ A5 b( l! J/ `

  1307. 5 N! D4 m; D% q% a* ?
  1308. [Session]. {2 C& [8 J+ i  @8 ?0 q* }
  1309. ; Handler used to store/retrieve data.! z+ t; E  V' ]+ G- N& p
  1310. ; http://php.net/session.save-handler8 U2 m1 a5 \% r* t7 O
  1311. session.save_handler = files
    / M8 Q' _" M( m0 V7 @9 I/ ?

  1312. & I# s) b6 \8 s* a1 Y  }0 |; V* I
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    * x, ]: J. t5 ^  h" }
  1314. ; where data files are stored. Note: Windows users have to change this
    + R1 R' f1 F7 P* r- |+ ~
  1315. ; variable in order to use PHP's session functions.+ o7 g, G, a2 P1 i6 j, r' j
  1316. ;9 T" y( ]$ l0 K$ i/ L  a1 r
  1317. ; The path can be defined as:# T# q4 ]5 e0 K+ P2 w( Q" m
  1318. ;
    $ U' R' j: n% m# ?" Q
  1319. ;     session.save_path = "N;/path"+ ~6 `. p" z1 q6 Q
  1320. ;9 X0 f4 w. P( ]
  1321. ; where N is an integer.  Instead of storing all the session files in
    2 e8 o4 _: K3 ~' q$ ^6 a
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" M  T- `( l3 V6 q/ R  i' [" u  ~
  1323. ; store the session data in those directories.  This is useful if
    " x4 ^: F5 C* S0 h, f
  1324. ; your OS has problems with many files in one directory, and is2 A; S* p6 ~" s. r
  1325. ; a more efficient layout for servers that handle many sessions.3 b" m# j) N% g4 P3 w, P
  1326. ;6 _7 q; a. L- X3 u3 t
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    7 t7 k" a# z$ M! D: F; i
  1328. ;         You can use the script in the ext/session dir for that purpose.
    4 F2 x0 j5 x4 g3 n
  1329. ; NOTE 2: See the section on garbage collection below if you choose to8 q0 q/ q" `" ~/ r, `
  1330. ;         use subdirectories for session storage' }2 K4 D, W- R2 Z  S7 |; e
  1331. ;
    . p8 B  `1 y2 H. f5 M4 @3 U
  1332. ; The file storage module creates files using mode 600 by default.
    # S6 ?# f$ h$ c# D# o( H9 V
  1333. ; You can change that by using
    " d, Y6 V8 j# l5 g( O# m- u
  1334. ;7 b2 i+ S- N# @& s6 [' [/ q( B
  1335. ;     session.save_path = "N;MODE;/path"2 R6 n/ i8 j7 s, |) }
  1336. ;7 Q3 `/ z1 F! \: G, q. ^" d
  1337. ; where MODE is the octal representation of the mode. Note that this
    ) F  W+ B2 Z# ?8 }1 m5 g
  1338. ; does not overwrite the process's umask.
    1 y9 R8 e7 B5 Y! X1 {+ c
  1339. ; http://php.net/session.save-path
    , N% M4 ~) @0 e/ f: f( e
  1340. ;session.save_path = "/tmp"
    + n6 j. R1 p4 z
  1341. ; O* o1 s, c: O, Z
  1342. ; Whether to use strict session mode.4 r5 p3 N& u$ j
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate  I$ i# c. |' w9 p  q# N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects& |  ~6 M5 I) Y0 e+ L: w6 v' `
  1345. ; applications from session fixation via session adoption vulnerability. It is8 C( `6 B1 P; N" e
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.7 \" s/ _! b8 \% {8 _; p0 o% P) }% G
  1347. ; https://wiki.php.net/rfc/strict_sessions3 k3 I5 Y. w5 S0 h- t5 v- v8 x3 R
  1348. session.use_strict_mode = 0# g5 |8 P( s/ k

  1349. 1 k: B/ F  I! H: d6 q$ c6 W# C! }
  1350. ; Whether to use cookies.! r( O+ k/ p. J, a# H  d" B$ B- m
  1351. ; http://php.net/session.use-cookies
    * |2 v$ m! b1 H7 b& |5 T
  1352. session.use_cookies = 1" ?5 w: Q6 I2 E( Z- b

  1353. % u# }3 D# `9 N4 N5 h. l% E
  1354. ; http://php.net/session.cookie-secure
    2 i: A: X; p8 S6 T2 u! Q2 B! j/ F( @
  1355. ;session.cookie_secure =
    9 y# X* D9 v3 D+ M5 ^

  1356. ) D0 u: y# z- {- L: @0 O& s
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : Z8 v- _1 H9 l) y5 N2 T4 g" a$ B
  1358. ; the session id. We encourage this operation as it's very helpful in combating  D3 O  w( v/ [' H3 g% t2 |
  1359. ; session hijacking when not specifying and managing your own session id. It is
      G/ i0 p* E: o, K
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 \% r' E' W  [
  1361. ; http://php.net/session.use-only-cookies
    7 @: K; H) \$ Y$ E' o
  1362. session.use_only_cookies = 14 L2 N1 H& D7 Q& F" D9 i

  1363. - N7 X6 ~; [  A
  1364. ; Name of the session (used as cookie name).6 W1 O! `8 W. ~: ?- i  s
  1365. ; http://php.net/session.name$ D/ H) Y5 M$ g+ m* J% F% J
  1366. session.name = PHPSESSID6 o9 I- f4 l3 `' J) _, D6 E

  1367. : N- F9 V# N7 b0 k6 ?9 F; A
  1368. ; Initialize session on request startup.
    ; ?+ G/ _: P! u' [
  1369. ; http://php.net/session.auto-start$ |0 `5 ^* i8 L) W
  1370. session.auto_start = 09 b) I9 n- q: T, v
  1371. 6 [( x/ c0 H$ c, P
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  J# {$ l7 f  l$ O& h% H$ a1 X
  1373. ; http://php.net/session.cookie-lifetime
    - c4 c9 B4 ]9 ]; B& C' b8 l
  1374. session.cookie_lifetime = 0* S& U4 w$ c; r0 s! U$ Z1 a& ^
  1375. # s" Z* h7 j( X. B( V2 J
  1376. ; The path for which the cookie is valid.
    9 I- i8 t3 T% Z4 \: A+ g1 v
  1377. ; http://php.net/session.cookie-path
    1 N; _, S4 |7 j1 L* n* X
  1378. session.cookie_path = /$ T( B0 Y& L- Y; \" l

  1379. 2 t- J, G2 x8 A% H/ U
  1380. ; The domain for which the cookie is valid.
    2 m8 L% u; S1 m: U" V9 P* r( ]
  1381. ; http://php.net/session.cookie-domain
    8 u* d3 G/ l8 A3 h. _/ Y
  1382. session.cookie_domain =- `7 r% z0 S! i* Z* A& `, F2 k
  1383. 3 Q3 M# N. V9 d* j0 ]# n
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    0 r* c& r- q! f/ i" y" F: d8 S
  1385. ; http://php.net/session.cookie-httponly
    ( _+ j! R: E3 u3 j
  1386. session.cookie_httponly =
    . x9 _9 K- C/ e: e9 I3 e. C
  1387. : y1 j) {' m% E
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 {8 q8 L; l$ N8 h6 k8 P" r
  1389. ; http://php.net/session.serialize-handler& }; n4 h: z. v; s
  1390. session.serialize_handler = php+ J: W! t# q5 C8 h
  1391. ( ^! P+ l- ^8 W8 ]/ a% a
  1392. ; Defines the probability that the 'garbage collection' process is started6 i1 a0 N- i+ f- A" D; l
  1393. ; on every session initialization. The probability is calculated by using
    ( g' a7 A# S8 ~3 K# ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 p; n* m/ C3 {; N( @9 C
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1' v3 ]" Z2 W7 k; T- n9 s
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 _. ~  u+ p- D: {
  1397. ; the gc will run on any give request.
    # D, G, _) v% s9 O: h
  1398. ; Default Value: 1
    . f; T3 G2 k# @6 ?" H  B
  1399. ; Development Value: 1
    . @) K3 A7 p7 _* s
  1400. ; Production Value: 1" m8 V( d6 b: ~  N
  1401. ; http://php.net/session.gc-probability
    - G% w- @8 d. H! x
  1402. session.gc_probability = 1& b  B$ t& m& X) a' D/ t' `% ]

  1403. ) ~5 O  b8 h3 j4 w3 P6 X
  1404. ; Defines the probability that the 'garbage collection' process is started on every! }" f8 O" w- }
  1405. ; session initialization. The probability is calculated by using the following equation:
    , }9 K: I' ~9 X  W
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and$ |4 t- V; ]* T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    : ~, _; g, t% r7 ]* @3 I
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & R2 v! H8 G: [) R' y2 a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you( q. p& _; l* D: v2 V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ f1 c1 i. N& L6 }5 f
  1411. ; this is a more efficient approach.
    6 U! x6 R4 u9 t1 ^3 u$ E
  1412. ; Default Value: 100
    0 j. H* M' \' `0 d# ^- K4 q8 ]( m+ |
  1413. ; Development Value: 10007 V2 f' x1 g  T7 r) r1 a3 W$ F; D
  1414. ; Production Value: 1000: r/ F* K- e! S1 e9 a# ^3 v
  1415. ; http://php.net/session.gc-divisor
    ( m7 a/ o6 B( t; `8 w. m2 ]' O
  1416. session.gc_divisor = 1000# C+ D7 x0 B+ ^9 i/ ]
  1417. ' g  B, X5 G: r
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and3 }% T, Y7 D& b5 L0 R/ z
  1419. ; cleaned up by the garbage collection process.
    - l! d0 o$ ~# h) U
  1420. ; http://php.net/session.gc-maxlifetime- n1 T0 P1 g; v( |
  1421. session.gc_maxlifetime = 1440
    ) H3 ~/ V  e" m" s+ Q
  1422. 1 j& D; e* C- b7 S6 Y
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    # ^$ B7 [0 A) F( _) _& {
  1424. ;       (see session.save_path above), then garbage collection does *not*
    8 h; h" a1 U' h
  1425. ;       happen automatically.  You will need to do your own garbage
    - {8 G: w# i5 u
  1426. ;       collection through a shell script, cron entry, or some other method.
    5 J- E! r" v! j
  1427. ;       For example, the following script would is the equivalent of
    ' B# R7 N& D) b$ R0 A
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ) J! y% a# P1 }5 U
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& P7 P$ ^: j  O
  1430. - d* x& k/ X/ s$ u$ p1 K4 O$ x
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.9 E6 I; y% B5 e
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " A: w% a* h- H0 {4 e+ S
  1433. ; considered as valid.# f0 Z9 v* Y9 @, K% M
  1434. ; http://php.net/session.referer-check# T+ q" ~2 A9 I0 F6 \8 `9 U/ U
  1435. session.referer_check =6 d0 O9 i) x/ Z0 C# P

  1436. # H% V+ g1 @( k7 c: b& w' q
  1437. ; How many bytes to read from the file.
    3 ]. r/ M4 p5 |+ z( X% T$ [1 i
  1438. ; http://php.net/session.entropy-length
    3 A3 s0 t) }8 L9 r8 _
  1439. ;session.entropy_length = 32
    ! l* i+ @$ N7 n6 V3 T: R

  1440. . w' L. e& a- t2 g
  1441. ; Specified here to create the session id.
    ; A2 J# `+ r6 n/ Z9 X& N* D( M
  1442. ; http://php.net/session.entropy-file. l0 J3 M  U5 q5 X
  1443. ; Defaults to /dev/urandom' z* S( M+ `  {2 E, R( P/ @
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 [' A# a) g2 i% @& }
  1445. ; If neither are found at compile time, the default is no entropy file.
    3 I5 [7 v# m  g$ C9 `7 ^7 {/ ?2 p
  1446. ; On windows, setting the entropy_length setting will activate the
    % C9 S% e3 p* G, J% \, d$ B* Y1 [8 E# ]
  1447. ; Windows random source (using the CryptoAPI)
    + V% }" C+ r' u; g- \% J, q  F, ^
  1448. ;session.entropy_file = /dev/urandom1 Z5 r2 O. A3 ^, A- z

  1449. 3 _1 ~8 J" L% {  Y+ H: F$ A) A
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : b2 m0 @# P3 u4 S
  1451. ; or leave this empty to avoid sending anti-caching headers.( [' x/ E( r& d6 K4 S
  1452. ; http://php.net/session.cache-limiter7 P9 P! e  p/ h: B7 _2 l5 `
  1453. session.cache_limiter = nocache
    " J5 ~2 b# ]  |! J8 l+ b% P1 k2 b& C
  1454. , t& j1 J* `3 q( u, j
  1455. ; Document expires after n minutes.8 m# _! w' k- c: _! f* `- u( \
  1456. ; http://php.net/session.cache-expire" C2 B4 e1 E( f( v# B6 l
  1457. session.cache_expire = 180( X0 A: @  h3 I! k
  1458. , q8 W5 W- L6 E( v' V+ l1 O
  1459. ; trans sid support is disabled by default.2 O5 {2 i( R/ R- e0 C6 p; U) E
  1460. ; Use of trans sid may risk your users' security.7 \5 T  k3 }, B6 N# ~
  1461. ; Use this option with caution.
    ( L9 ~7 V) G! u, S4 s
  1462. ; - User may send URL contains active session ID
    3 P* N" l0 l- n2 G
  1463. ;   to other person via. email/irc/etc.! U7 ]; B3 U4 ~% m8 s% ^- t
  1464. ; - URL that contains active session ID may be stored
    1 a2 t" s9 o$ e, Z; W
  1465. ;   in publicly accessible computer.4 d' V6 C; u5 ^
  1466. ; - User may access your site with the same session ID
    / {' |7 w& l# J, ]' r
  1467. ;   always using URL stored in browser's history or bookmarks.
    ( a, a2 u; y" P8 n) G' ?
  1468. ; http://php.net/session.use-trans-sid
    ; J; t, l( T: q/ v  g
  1469. session.use_trans_sid = 0
    ( R+ M" X5 T! y! T  M

  1470. - A6 p3 b! O+ q1 `
  1471. ; Select a hash function for use in generating session ids.
    9 R% T$ X* f4 ~2 K
  1472. ; Possible Values
      Z4 ~, k) T5 d. M, b
  1473. ;   0  (MD5 128 bits)
    ( v3 [1 T/ {' z0 ]& d: U
  1474. ;   1  (SHA-1 160 bits)! P; R% M/ C/ B& A; f# E. e* v) f
  1475. ; This option may also be set to the name of any hash function supported by. [& Y  a) E! p2 [( Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos(); R( c, O% t" ]* _- w; ~( C
  1477. ; function.
    $ i5 d* e& w* i
  1478. ; http://php.net/session.hash-function# V9 W( `8 w, D
  1479. session.hash_function = 0
    " I0 W8 n* W0 M5 h: H7 n
  1480. , A/ ^8 [7 K) o) a9 u% y( d( d9 g
  1481. ; Define how many bits are stored in each character when converting% c; b0 f+ b* V' \
  1482. ; the binary hash data to something readable.
    ; M9 J' J& ~! G0 Z
  1483. ; Possible values:' w6 s1 N5 x7 [
  1484. ;   4  (4 bits: 0-9, a-f)
    : H, Y5 H0 i: m
  1485. ;   5  (5 bits: 0-9, a-v)9 F, A  d  P1 P9 m7 U
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")) t1 f; h1 ^& o+ }3 I
  1487. ; Default Value: 4. n3 z# t) w( k7 ]/ I
  1488. ; Development Value: 55 |, i; g2 O9 J! U
  1489. ; Production Value: 5
    " r5 e8 ~3 V6 c
  1490. ; http://php.net/session.hash-bits-per-character6 |& s. i& O8 H/ Z& i6 A
  1491. session.hash_bits_per_character = 5
    3 h5 o. Q6 K. ?8 `  ~, J( M
  1492. 4 i. s: q* F1 c8 g$ j1 A2 m
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.* e0 s+ d' G& }! n! q% M1 Y# a; V
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    4 m% \& m& l3 j" b7 S
  1495. ; add a hidden <input> field with the info which is otherwise appended' S" f( q( M& l
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    * j# k$ ~( O; }4 S
  1497. ; Note that all valid entries require a "=", even if no value follows.: {9 W4 p3 S3 W9 D
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ u# D- Y& f' w- z' H: J' n8 Y
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * g8 O4 `8 m) @) P  e
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * K3 Q( @# R* z/ _4 L* V6 P
  1501. ; http://php.net/url-rewriter.tags. T% L  C% n* p
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry", Y& _$ Y3 G' ^4 w

  1503. % k; g# a+ l& R/ v  S1 s4 i
  1504. ; Enable upload progress tracking in $_SESSION5 g1 [% J1 P$ I6 C+ P* T4 x
  1505. ; Default Value: On
      q: z% R7 `# n6 ~9 T
  1506. ; Development Value: On& c+ v" u& X4 a3 R$ [3 D) \
  1507. ; Production Value: On
      }' u0 S/ X" ?' r# Q
  1508. ; http://php.net/session.upload-progress.enabled5 b' c! s" q: e& r
  1509. ;session.upload_progress.enabled = On
    9 h/ O5 D& M# T6 Z4 Y/ K  {
  1510. ) b# }( n! J, S& j
  1511. ; Cleanup the progress information as soon as all POST data has been read6 R) _. o2 p" ?7 B; n3 y
  1512. ; (i.e. upload completed).! u. ~& M3 c( a$ u5 C* X2 n# y  i
  1513. ; Default Value: On- p2 e% x$ g0 d: A
  1514. ; Development Value: On
    6 G3 V2 @- `8 c+ s+ o1 i; j$ ]/ B
  1515. ; Production Value: On
    " s) v4 G& L2 H; I
  1516. ; http://php.net/session.upload-progress.cleanup
    ! y% k# b3 |& h2 G5 u& g' [" W
  1517. ;session.upload_progress.cleanup = On
    3 B6 C0 B* |) d; k: N# m

  1518. 4 _* `4 u8 q; L$ F" C5 ?7 L' S
  1519. ; A prefix used for the upload progress key in $_SESSION9 V* v. t( r( E! V3 O; J
  1520. ; Default Value: "upload_progress_"
    / ]6 Q) ~4 N! x4 P! I) Z/ V5 m
  1521. ; Development Value: "upload_progress_"7 R! M4 @! O, H& p" z9 {) s/ [9 g
  1522. ; Production Value: "upload_progress_"
    1 ]# Q' q9 `3 \* ]
  1523. ; http://php.net/session.upload-progress.prefix
    ! l& R/ F* n3 J# ^2 C
  1524. ;session.upload_progress.prefix = "upload_progress_"
    % L; }0 g3 u$ G; o8 b

  1525. 4 A& E0 _* l/ i3 i- j
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    3 Q' t/ j% G  ]" X  E
  1527. ; containing the upload progress information9 F5 b3 y( R) J/ h0 k
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + E( m) n  V. K  r! I7 j: w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - j' S  j4 S, x0 x
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 Q/ `8 \7 ?; g
  1531. ; http://php.net/session.upload-progress.name2 d/ w$ r5 h) f; r& F8 }1 p
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 w. t9 e- N( B

  1533. 3 E: G9 e! G9 `- H; C$ [
  1534. ; How frequently the upload progress should be updated.' x- n; Z0 ?* x3 l
  1535. ; Given either in percentages (per-file), or in bytes7 m+ r( i' K, g, K
  1536. ; Default Value: "1%"
    ! J: Y) h; j9 }" E; @9 r& p# j: J
  1537. ; Development Value: "1%", ]) Z' x! ?  n6 t& B8 |
  1538. ; Production Value: "1%"
    ! l- c+ I, h) q) V5 L, @. V  u4 [
  1539. ; http://php.net/session.upload-progress.freq
    $ Z# {: g# r; i9 m( ]0 l8 N
  1540. ;session.upload_progress.freq =  "1%"- Z4 F6 K2 s( _4 v7 i

  1541. % s, u  Q5 _& W: E* x$ F
  1542. ; The minimum delay between updates, in seconds. s7 G. |3 T1 b% q& ^
  1543. ; Default Value: 1
    + j3 D/ I* |0 c3 k" }' r' U
  1544. ; Development Value: 1, P  T3 L; o5 j8 j
  1545. ; Production Value: 1
    - ^. t( _7 r- j
  1546. ; http://php.net/session.upload-progress.min-freq
    ! e; B1 b  w+ y3 F  r
  1547. ;session.upload_progress.min_freq = "1". A( \/ {5 B$ x6 J2 ?& a) m. n
  1548. ; ?$ X1 [% K. t, O1 F5 `  E+ F5 |
  1549. ; Only write session data when session data is changed. Enabled by default.1 u/ w6 J# U& |& F5 [& `* [
  1550. ; http://php.net/session.lazy-write
    5 @9 x5 T+ {# H) i; j/ g
  1551. ;session.lazy_write = On
    ! j! W6 F: |8 o) G
  1552. 7 T8 `$ z) S0 A) g: Y; v1 Y
  1553. [Assertion]# J( ]3 E4 O* @! m9 S  y
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)3 B) P/ C4 ^( L0 U" P, }
  1555. ; -1: Do not compile at all
    6 w+ B) a0 v4 e. `1 [4 ^4 ^" A
  1556. ;  0: Jump over assertion at run-time
    ' ^/ O. h% Y* [6 p& R; G& A; p
  1557. ;  1: Execute assertions
    2 V# Q$ E6 Q. M' W+ y; x' M
  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)
    ' x  n' w$ \6 D0 t& r
  1559. ; Default Value: 1
      d4 }5 \7 j% f/ V# `' R! s2 q
  1560. ; Development Value: 1
    . z. n+ c& y8 H3 R- `
  1561. ; Production Value: -1" l9 M! ?! I8 O" P/ v* G7 Y* a
  1562. ; http://php.net/zend.assertions
    0 V0 K6 m  v9 ]7 ?. D' g
  1563. zend.assertions = -10 I' X5 R/ q3 t% ]. t% k# u' T
  1564. 4 y4 Z8 Y5 I" k
  1565. ; Assert(expr); active by default.
    9 r9 k+ m& A* n
  1566. ; http://php.net/assert.active
    * W$ ]" i* l. f8 f  D9 D
  1567. ;assert.active = On
    ! ~0 U+ E" @9 t- H
  1568. 7 G! t% ?3 ^7 ?: C$ @
  1569. ; Throw an AssertationException on failed assertions
    + T+ z8 _+ [2 y: P( u6 t* C9 x
  1570. ; http://php.net/assert.exception3 n% H3 G! y- D$ P" r9 [9 a
  1571. ;assert.exception = On
    . h( {7 |7 A7 h; L" z9 Q

  1572. 1 A. q, I0 _3 U( K
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    " H8 U' L+ u6 a( {% Q  Q
  1574. ; http://php.net/assert.warning
    " C( B; L  O: X  q/ {: o. i
  1575. ;assert.warning = On! ~- Z3 }  t; U' d. y! _3 `3 ~
  1576. 7 U1 A+ P$ a: b5 e1 S/ q# k
  1577. ; Don't bail out by default.
    3 z7 W: u1 p( |6 F# ?2 i4 q* U
  1578. ; http://php.net/assert.bail* X) r! R8 o" _0 q" M5 c
  1579. ;assert.bail = Off; L* R/ P* e# P, o, K$ p- w
  1580. + h. S6 x! B$ f6 r0 l, ]
  1581. ; User-function to be called if an assertion fails.( l2 b6 U4 O% g- U8 z, k
  1582. ; http://php.net/assert.callback
    % r# n$ M- M4 J. M* G
  1583. ;assert.callback = 0
    0 R9 r, N6 Q( R. h) ]3 f

  1584. 9 E$ u7 E9 [1 m& g" b
  1585. ; Eval the expression with current error_reporting().  Set to true if you want- V, O0 K5 k! ~
  1586. ; error_reporting(0) around the eval().0 H% e& G7 d+ o0 r3 D
  1587. ; http://php.net/assert.quiet-eval; @5 N3 {6 ^4 U1 F+ I2 Q8 `
  1588. ;assert.quiet_eval = 0
    3 A) \, P: i8 q! o
  1589. 4 D/ L. ^. o5 L. O5 A* {: b5 C
  1590. [COM]# t% _& P5 p0 W$ n8 {
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! b/ Z; Q$ n( T" D6 }& d$ M' c
  1592. ; http://php.net/com.typelib-file
    7 \6 J5 U  w! B1 B
  1593. ;com.typelib_file =
    ) ]( v, a1 ~7 V
  1594. ' S& [* T/ \3 k( t8 l" u0 m) q* B/ f
  1595. ; allow Distributed-COM calls# C  j  X: C7 }
  1596. ; http://php.net/com.allow-dcom0 Q" _' s2 X4 J0 r
  1597. ;com.allow_dcom = true
    6 ]" v  W( h! j$ c
  1598. / O5 D: ?7 |/ c# X1 r1 F
  1599. ; autoregister constants of a components typlib on com_load()
    ! W! G/ {' @0 ^/ u
  1600. ; http://php.net/com.autoregister-typelib4 h' i$ m" ^0 \: s5 S5 N
  1601. ;com.autoregister_typelib = true7 ?* r1 V( S' I( [! K) i

  1602. 4 b1 i. v$ n3 Z/ i2 [, @9 X/ K5 F5 S, n
  1603. ; register constants casesensitive
    4 X! x: c# d/ W; u% N# q
  1604. ; http://php.net/com.autoregister-casesensitive5 q5 ?! P2 V! D; w0 I- i
  1605. ;com.autoregister_casesensitive = false
    + u% e1 i0 \* I. K0 N/ w) k4 b

  1606. - F2 V0 @- C0 O) ]- b; \
  1607. ; show warnings on duplicate constant registrations
    " E" v1 B9 |* N
  1608. ; http://php.net/com.autoregister-verbose$ U+ Z% t, g+ x. z# D
  1609. ;com.autoregister_verbose = true" K; O  V. m' w9 R8 c, W6 b' o8 C9 U) j
  1610. , j2 Q, L8 F5 d6 ]/ J3 \9 N6 v/ Y  I
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    , _" K+ r4 o- i6 U$ L# y
  1612. ; Default: system ANSI code page7 ~: ^0 P! u) [6 M
  1613. ;com.code_page=
    & F+ E: p# W1 q5 L& i
  1614. 8 I3 Z+ a5 q$ U6 x
  1615. [mbstring]- h+ s2 c' ~' i' W& b
  1616. ; language for internal character representation.
    / S0 W( o" N* n. S- i# J) \+ L
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    4 z1 i- X4 ~9 J' T1 T- M
  1618. ; http://php.net/mbstring.language
    : Z7 M0 n* V* R/ o: ^; I
  1619. ;mbstring.language = Japanese
    " q4 X( I" z+ u  D! i

  1620.   G$ T, X, `1 s0 i
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      `7 K, X1 }5 o
  1622. ; internal/script encoding.
    4 x$ x  d7 J, L2 V3 c5 X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): w4 G$ M& g3 n5 n
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 _7 i6 n1 I; t- Z. @
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ L! Z# s2 K; U. s- \( W
  1626. ;mbstring.internal_encoding =! c& E) W- I) U* s3 Q
  1627. 3 R) D6 n4 L5 J6 s4 B1 ]  e
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 f; p+ _# Y( ?$ i/ P% r! x
  1629. ; http input encoding.
    % D5 u0 b6 b$ v9 @
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.& q7 K" G- P$ w) L; F
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( v7 ~0 T9 Q; `9 J
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: R( l0 z2 Z2 b" [
  1633. ; http://php.net/mbstring.http-input& X& V9 M5 p# P7 O$ Z
  1634. ;mbstring.http_input =8 ^0 F. a  t8 `! X

  1635. 1 m8 B; m5 `' B- j" C3 u8 ]
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# N% }0 e" ?1 J: f% f. [
  1637. ; http output encoding./ c& n% {! B3 l
  1638. ; mb_output_handler must be registered as output buffer to function.
    ) }+ q5 Y6 q7 Y+ T8 u5 a* j* N
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.( E* i" m3 Z3 i  a1 F
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 A+ z+ ^- Y. n2 ?+ i# I  y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; u7 w  [$ d* r  J# H8 v/ Q+ ~
  1642. ; otherwise output encoding conversion cannot be performed.
    6 v) ^! V$ K) J3 Z, E" p  y( B
  1643. ; http://php.net/mbstring.http-output2 P, m: d1 c% f$ X0 K1 A
  1644. ;mbstring.http_output =6 y; y+ Z# a4 L9 z
  1645. , _3 S3 q0 N5 m" U! ?
  1646. ; enable automatic encoding translation according to
    2 W4 [6 P. [, q. y" N/ w
  1647. ; mbstring.internal_encoding setting. Input chars are
    9 ^4 e7 q3 O! }  X  H" ?- X
  1648. ; converted to internal encoding by setting this to On.
    . ?* m, I! j2 p+ M
  1649. ; Note: Do _not_ use automatic encoding translation for
    8 L! g, ^/ `% a" ^# A" @
  1650. ;       portable libs/applications.
    3 q; n8 i) m4 B$ C! j$ t
  1651. ; http://php.net/mbstring.encoding-translation- _5 \: ^& u3 v) }# N. n) U5 R
  1652. ;mbstring.encoding_translation = Off3 h! L9 [, C1 E: _8 J
  1653. & ]4 d. z. g% B- F, i. Z1 P
  1654. ; automatic encoding detection order.
    / S- z+ l/ l3 L' t1 m9 s* y% z! \6 Z
  1655. ; "auto" detect order is changed according to mbstring.language: v, F& ]% Q/ R' W; L4 k2 y/ a
  1656. ; http://php.net/mbstring.detect-order
    , j7 g2 J) O+ \4 ~% m7 t
  1657. ;mbstring.detect_order = auto
    - r5 s5 ~4 f' p5 l: m7 L+ u0 K
  1658.   p4 B9 o; Q4 f1 ^
  1659. ; substitute_character used when character cannot be converted* B1 r, j4 i8 _
  1660. ; one from another
    3 ]! U* F- y! j1 c
  1661. ; http://php.net/mbstring.substitute-character3 s+ @8 A1 F: m  v0 y" B9 y( }
  1662. ;mbstring.substitute_character = none
    ) R" V! w' J1 `$ ]8 a
  1663. ! V; }! _: U! Q! a8 H& [' s  ]& G
  1664. ; overload(replace) single byte functions by mbstring functions.
    + {6 O+ e, K6 m% o# s3 Y9 s7 s4 f
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),' E* i4 K0 X- \2 T0 v; O( t  u
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.7 d9 @: f( G0 k) W: B$ V* V
  1667. ; For example, 7 for overload everything.
    & P0 n0 B4 o" N/ i
  1668. ; 0: No overload4 r# A' \' A8 N1 D: u, B
  1669. ; 1: Overload mail() function0 m+ E2 X/ q8 E9 V9 D+ M/ ~1 Q$ F6 p
  1670. ; 2: Overload str*() functions% V2 r& c7 a5 o- i, N2 P) @4 s# V
  1671. ; 4: Overload ereg*() functions
    2 z5 o& Q* w/ u- m
  1672. ; http://php.net/mbstring.func-overload0 T" i* e0 D' _8 x
  1673. ;mbstring.func_overload = 0. S' \/ f* m1 L2 h  g! I0 f
  1674. 4 c- \) o8 f& I2 `2 W1 ]
  1675. ; enable strict encoding detection./ f( y& A; ?% a- h. O% c! i/ I6 t
  1676. ; Default: Off
    , F0 p2 u# h  o+ \
  1677. ;mbstring.strict_detection = On
    $ x  A; x) S$ p9 t8 F% T, f7 l

  1678. / r' w  A! b; d* G: c$ ^
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()3 `  K8 ~. X2 }! W0 H
  1680. ; is activated.
    6 \) w7 r/ E3 \
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    - l# f4 N2 }$ Q% g. e6 m4 C$ z
  1682. ;mbstring.http_output_conv_mimetype=
    $ g& L# Y+ R" D1 J9 D

  1683. 6 a) {4 W. [* }% y, n7 ?- s* G" r6 P
  1684. [gd]
    : ~1 ], C3 s! }
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 B/ i0 M# d! x* I/ U6 i
  1686. ; a gd image. The warning will then be displayed as notices* l0 {0 r0 |' ~+ `6 j  c
  1687. ; disabled by default
    & b9 d' V+ |+ l( k) X
  1688. ; http://php.net/gd.jpeg-ignore-warning
    4 X7 e$ \0 D8 M4 R) Q' b- v3 {
  1689. ;gd.jpeg_ignore_warning = 0
    . M- g5 t$ Q' D1 S% Y! g9 x
  1690. % I' I3 p2 V' z6 ^
  1691. [exif]9 @) F+ }8 z% i2 s+ d
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / W# f% H  {' i/ @* H% h* j0 y
  1693. ; With mbstring support this will automatically be converted into the encoding
    / s3 ]9 J( y8 ~4 m, E8 |
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 G1 z5 P! C4 [5 O9 L! g: o$ y; x
  1695. ; is used. For the decode settings you can distinguish between motorola and
    1 w# e" d2 V" v6 D0 r1 d
  1696. ; intel byte order. A decode setting cannot be empty.
    4 D1 r$ C" D* M2 |" k
  1697. ; http://php.net/exif.encode-unicode& e: f7 n; r) }6 \
  1698. ;exif.encode_unicode = ISO-8859-15
    3 X* L$ z% X; |
  1699. # L# L  K4 i) m- \# o) ^
  1700. ; http://php.net/exif.decode-unicode-motorola
    7 A; j- C$ S8 F5 n0 p9 }
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    6 |! m9 h  o5 W8 ]8 F3 m9 N
  1702. # c# [. @. g0 T6 L& I# \
  1703. ; http://php.net/exif.decode-unicode-intel
    ) `0 j, H0 G- }- y/ S- `* C
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    / o( ~# h6 y+ U
  1705. " A: x% |1 X. V- I6 C* h' z. @
  1706. ; http://php.net/exif.encode-jis
    / }  f9 S$ O; ^) M" ^- f' Y
  1707. ;exif.encode_jis =/ j9 Y+ ~8 z4 X7 E: C( q

  1708. % R! [6 h/ G6 r. F% C. k- V1 e
  1709. ; http://php.net/exif.decode-jis-motorola( ^* G) ^1 C  I
  1710. ;exif.decode_jis_motorola = JIS' G* B2 |( k+ `
  1711. / P) |& [( x' p; G( U0 _( G
  1712. ; http://php.net/exif.decode-jis-intel. Q( P6 G8 Q) k- Z- e& ~- P
  1713. ;exif.decode_jis_intel    = JIS
    2 a& M: d) z3 M, ~! p" j, ]  ]5 ^
  1714. * I/ [6 ?) K/ \% I. [6 B
  1715. [Tidy]* D0 s8 G. Q- a/ n5 n6 F; x' U
  1716. ; The path to a default tidy configuration file to use when using tidy
    " B+ S# p9 v7 J5 m; z
  1717. ; http://php.net/tidy.default-config5 N5 g9 g, _/ d8 x1 j
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg' g, y8 E% o4 C7 F# m' D

  1719. / l& L8 S  A& J1 M1 w. J
  1720. ; Should tidy clean and repair output automatically?
    7 q( [) D- Q. n0 \
  1721. ; WARNING: Do not use this option if you are generating non-html content
    + |5 W( f4 H- h" Y1 I2 L! a
  1722. ; such as dynamic images6 V8 k6 T: z. F, g: F! t6 A
  1723. ; http://php.net/tidy.clean-output
    ( g- ]# M4 w# m/ A
  1724. tidy.clean_output = Off1 M0 D+ Q: L4 x* C) w( r/ o+ F

  1725. 8 R- p. W/ l  R" [9 w1 T
  1726. [soap]; `* V  {/ V3 G7 y+ |
  1727. ; Enables or disables WSDL caching feature.
    " t& J% x7 s: }. A  s6 S2 f: T, X
  1728. ; http://php.net/soap.wsdl-cache-enabled  n8 \4 b& N0 \/ _7 n
  1729. soap.wsdl_cache_enabled=1
    $ u$ g+ }  k1 n. m
  1730. " ]* Y' W; s4 j  y8 ?; O
  1731. ; Sets the directory name where SOAP extension will put cache files.
    9 Q1 T/ D6 q4 G! _: L8 R% G& A
  1732. ; http://php.net/soap.wsdl-cache-dir6 Y. d- z2 f2 E
  1733. soap.wsdl_cache_dir="/tmp"
    ) H! @% o3 J+ }$ e
  1734. 2 c5 m! w2 p9 ]; X& Z& V
  1735. ; (time to live) Sets the number of second while cached file will be used
    ) t5 A# C3 o* q
  1736. ; instead of original one.- a9 K* A+ Q4 W5 F# \
  1737. ; http://php.net/soap.wsdl-cache-ttl
    0 T" c; D+ X6 h7 R) L7 o3 C+ f- ?
  1738. soap.wsdl_cache_ttl=86400
    + R( V+ v6 O" ^9 V0 @: d% Z
  1739. , m$ K5 n. `; M, |) c
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    * c) ?( a( ~$ I
  1741. soap.wsdl_cache_limit = 5$ K; K$ C" z  x; ]: ?/ ?6 W" }/ t) S

  1742. ) w2 O3 k1 H6 [
  1743. [sysvshm]
    4 F3 b' K1 Z) k# h
  1744. ; A default size of the shared memory segment, R# Z) }8 c9 H& W4 }
  1745. ;sysvshm.init_mem = 10000
    4 v/ N+ z/ u0 M5 ]6 ?) h9 K2 u
  1746. 8 `6 _, ]) T' v, l" l
  1747. [ldap]
    $ a: d% \# z: ~& e, U2 ^% R
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    , `0 ?  p0 K+ ]! G
  1749. ldap.max_links = -18 K4 D3 ~! A  b. F0 }) o/ y

  1750. ; C$ o' h- }$ N' I2 j* E3 b
  1751. [mcrypt]; n$ K3 \1 U5 l% j( K7 B$ T: W( `
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 V7 N+ w" A- ^. q5 T+ V& F% y
  1753. ' h: p! y/ R6 Z3 x/ @) _, b
  1754. ; Directory where to load mcrypt algorithms
    ! ?. @! d5 e; I- ^
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ X0 J" l$ J( C7 T+ J
  1756. ;mcrypt.algorithms_dir=
    1 z8 Y) n) v; M4 H  y2 ~4 V( ~

  1757. & u, w% R2 x2 ~/ N" F. S* n0 ?
  1758. ; Directory where to load mcrypt modes: U1 o  `# Y9 K: H$ ]5 n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) K. N3 K# z  i% i3 `
  1760. ;mcrypt.modes_dir=
    $ p% q0 V( w4 S/ ^# p

  1761. 3 W3 W$ p  {4 \1 [: i
  1762. [dba]! m- K, c' s6 @9 D8 A% r# k
  1763. ;dba.default_handler=3 r% k. S- Y" \9 `# {% N  N

  1764. 2 _1 a" I5 B% |0 A/ Y
  1765. [opcache]0 |$ y; @; G. q! q
  1766. ; Determines if Zend OPCache is enabled# [5 p6 |. [- C" V- c" h3 F2 ?
  1767. ;opcache.enable=0
    . `  ?( s& @  m3 V0 E2 j

  1768. 6 \7 [' ^8 D! K1 l
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP/ E7 N/ ~; k& y' I2 p( k2 U
  1770. ;opcache.enable_cli=0
      B$ z$ n2 @/ d
  1771. 8 o+ f7 y( O9 b
  1772. ; The OPcache shared memory storage size., b" \* S9 M9 a+ J6 e' L
  1773. ;opcache.memory_consumption=64
    6 h' S5 C3 b4 m' ^: ~
  1774.   G& F* S4 ?3 T4 e$ p# _
  1775. ; The amount of memory for interned strings in Mbytes.
    / V0 t0 Y$ x1 S& \: P1 J
  1776. ;opcache.interned_strings_buffer=4
    + F, `; ^, s  j. f& D; f, G- Y
  1777. ; |2 m* E) Y, |4 }+ o& j- \
  1778. ; The maximum number of keys (scripts) in the OPcache hash table." B& \5 U. @. G& I
  1779. ; Only numbers between 200 and 1000000 are allowed.
    0 @4 u8 a& `5 B# ?) m% ~6 N
  1780. ;opcache.max_accelerated_files=2000. ^+ w$ h! c/ A' k3 T# S% k9 T

  1781. 0 o7 Q( o1 D+ ]
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 u! w& i0 g* n1 Z, y8 _( ?
  1783. ;opcache.max_wasted_percentage=5
    ( t1 Y) I* y9 X2 }+ \

  1784. 7 b, f4 b9 ~+ ~1 b  Y
  1785. ; When this directive is enabled, the OPcache appends the current working
    ) |: `; g) N% @
  1786. ; directory to the script key, thus eliminating possible collisions between
    : h2 q2 l/ v8 H; ^
  1787. ; files with the same name (basename). Disabling the directive improves
    . T0 [- a9 c6 R
  1788. ; performance, but may break existing applications.- I* K' \' v; r
  1789. ;opcache.use_cwd=1
    ! X% U. P" |$ r" o

  1790. ) e' X+ x9 c+ g( H9 t. @: b* I
  1791. ; When disabled, you must reset the OPcache manually or restart the! U2 O+ P0 S5 h: s" a) Q+ T0 J) D
  1792. ; webserver for changes to the filesystem to take effect.
    $ A# |/ V% f% Q' q; e+ _% p# a1 G* `! v- ~
  1793. ;opcache.validate_timestamps=18 E8 {+ J; q0 P% L; g  }  W! \+ ^
  1794. 4 o4 N8 M2 ~; p; f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared# N; _* P9 W. ?* l% S/ z/ f
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . A6 s, s. t* ?1 [3 G( ~9 Q% S
  1797. ; once per request. "0" means always validate)' ]' _9 W& k5 f0 e0 H
  1798. ;opcache.revalidate_freq=2
    8 ^2 x/ K5 k: @2 Q, i3 V$ d, a8 O

  1799. / k5 C8 V6 q  T+ o' G5 Y0 W
  1800. ; Enables or disables file search in include_path optimization
    ! u( C5 R, w; X: o
  1801. ;opcache.revalidate_path=0& g  M0 Q+ b& s$ Y4 h; [
  1802.   p- |" A  k. Q' X
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 N; ]4 |% K: d- K
  1804. ; size of the optimized code.0 |4 N$ p% A* w0 \& p' C
  1805. ;opcache.save_comments=1
    # a* e0 O) n" A

  1806. ; y7 h- y) ]8 R- |1 T3 d, E
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . I5 H: U' g: ^# J$ ]3 x4 Y3 o$ j# e
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    : p- ]; M$ p; ]! O3 B, g
  1809. ;opcache.fast_shutdown=0
    7 O' T+ s: B+ P) ]& c3 A5 z& P

  1810. ( Q* m) Y: W/ J0 f& Z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    6 R6 v9 O6 M$ j: K
  1812. ;opcache.enable_file_override=02 z7 l5 H5 j- @1 V: l5 s
  1813. * U% M  j, P% D9 X: A
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache6 j- p' a& u7 j4 v5 E  e
  1815. ; passes
    6 g# O  J* L/ s5 [+ V2 S0 P
  1816. ;opcache.optimization_level=0xffffffff* Q' q4 Z; ]2 ^
  1817. 5 b# n0 a4 J6 y6 }9 }$ B: X
  1818. ;opcache.inherited_hack=1
    ( Z6 Q0 F& G  L4 P2 V7 ~
  1819. ;opcache.dups_fix=0
    7 A+ u7 c4 O, y

  1820. ! q, S9 J9 Q$ D7 y
  1821. ; The location of the OPcache blacklist file (wildcards allowed).7 x1 r7 x8 w! c. K3 t; p& L8 Q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files( ]+ U4 b& G% n
  1823. ; that should not be accelerated. The file format is to add each filename  m# R3 V$ q/ Q3 l5 D, s6 @
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " A: z7 q$ j6 L
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % H# D  F! i- Y  ^2 N* C3 G. g1 G  w: K
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    8 W$ g1 N& D* @& R2 J: f8 m! R
  1827. ;opcache.blacklist_filename=
    / R: }! J% d! y5 C5 ]( f' I" {) K/ {

  1828. ( C6 o4 r  }, a7 R
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' r8 y( a, i- Q
  1830. ; are cached.
    " y7 Q2 d0 }2 W4 I5 ^
  1831. ;opcache.max_file_size=03 p$ H5 R/ u* k4 E$ i# R- ]

  1832. 7 E: G3 u# ]9 C2 O) I2 B: L
  1833. ; Check the cache checksum each N requests.
    : S9 ?' N% {$ K
  1834. ; The default value of "0" means that the checks are disabled.4 {$ T+ {6 z" ?( |" p5 v
  1835. ;opcache.consistency_checks=01 ^0 _% D3 }# N5 K2 i) l0 f0 i9 \

  1836. 1 R. {* X3 h+ [( L# G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    8 `7 a$ J4 X+ U" I( K0 i
  1838. ; is not being accessed.
    * r: K' S  P0 q' j
  1839. ;opcache.force_restart_timeout=180
    / Q5 Z0 g. M* v! N; E

  1840. 6 e5 h( _+ J- Z# R
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    % x5 Q; u4 m( d: ?
  1842. ;opcache.error_log=
    0 W; S' E# a' m# n2 \* l! y, l
  1843. $ K( L6 Z( F8 _. x/ }
  1844. ; All OPcache errors go to the Web server log.9 w  Z2 k) c8 |: ~* l+ ?$ E/ J
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' U/ r3 G1 m$ V8 P! W% ?* Z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or9 y( R7 V( W- W$ Z
  1847. ; debug messages (level 4).4 L9 W% M, b: g+ \5 _" ~5 G( X
  1848. ;opcache.log_verbosity_level=1
    ) B, V+ M  D2 D( a& E% o! |) @
  1849. 7 r% \2 K/ v7 i' m  h2 Z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.7 E- y' n; \1 \) _  H0 w
  1851. ;opcache.preferred_memory_model=
    7 w( f, f7 K* h

  1852. 1 x2 d$ _4 i: G/ K
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # V: W. s4 g% Y$ K! |& [5 D
  1854. ; Useful for internal debugging only.
    1 M; D2 \) u/ M7 i( l8 L
  1855. ;opcache.protect_memory=0
    9 Z: o9 o; d% d8 [1 h7 l
  1856. 6 L' N- V9 j- B# a. z/ _' K
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is$ S( O) B/ R# x6 W' O9 B( c
  1858. ; started from specified string. The default "" means no restriction, a1 \+ Z: Q' V8 U
  1859. ;opcache.restrict_api=
    0 U1 r+ c4 g* j4 J# `  ^* d

  1860.   a- F2 f! L% t& |7 S. X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    / B/ {1 N, ^4 {% H& }
  1862. ; processes have to map shared memory into the same address space. This$ |& t+ q1 [: y! K5 O  Q8 n. d
  1863. ; directive allows to manually fix the "Unable to reattach to base address"% Y0 [+ n$ Z( ?3 U$ e
  1864. ; errors./ H0 [; L8 D" ?
  1865. ;opcache.mmap_base=4 ?* o+ E. ]2 V0 L1 }) m
  1866. $ L/ p2 {' U) n# G/ A) V
  1867. ; Enables and sets the second level cache directory.
    6 Z4 m8 X% _+ c
  1868. ; It should improve performance when SHM memory is full, at server restart or
    5 h4 w: n1 R0 G& N# K3 U
  1869. ; SHM reset. The default "" disables file based caching.
    ) G% ^& k& }" \  _8 H! s9 ~2 v; r1 G
  1870. ;opcache.file_cache=
    . K1 i/ i3 M( `

  1871. 2 D  _  C4 n8 U2 C! w( J4 j
  1872. ; Enables or disables opcode caching in shared memory.- j0 i7 o; Z' ~" J* X7 _
  1873. ;opcache.file_cache_only=0
    6 Y% w1 ?% Q" `, v1 S, D0 R) d

  1874. 3 e0 M$ v2 C# M$ q( x& |' R
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - ^/ G) F( X: e( W
  1876. ;opcache.file_cache_consistency_checks=1
    4 O, J, m7 D, n0 @
  1877. 7 T) N. {5 r7 T2 M( _/ i
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to' z1 b0 L' Z) T* D
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    - v8 K: \3 m8 t( U
  1880. ; cache is required.. ?5 t% x- O  P, r( |  ?
  1881. ;opcache.file_cache_fallback=1# P7 J7 s1 K$ o- D

  1882. 2 L7 l+ J- Z1 Z( A5 I, N
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% Z" F2 V" T" @0 U+ `2 a
  1884. ; This should improve performance, but requires appropriate OS configuration.: _/ @) v4 I/ a: ~/ \3 i: i4 }
  1885. ;opcache.huge_code_pages=1/ _1 t3 Z. W1 g4 @- C5 w
  1886. 0 H+ ]0 G8 v' R6 k# i
  1887. ; Validate cached file permissions.
    9 t2 }+ ?$ C1 o
  1888. ; opcache.validate_permission=0
    & R! q6 a+ V  S& z* A
  1889. : L- T$ A1 B( p# w
  1890. ; Prevent name collisions in chroot'ed environment.
    3 t- q+ r: [( L& T1 t6 O
  1891. ; opcache.validate_root=05 M4 Q6 F/ k% O: o

  1892. % ]; C2 K, ]$ M7 T$ y
  1893. [curl]
    0 I& F, ^: H% `  |0 g. v2 I4 H
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 K0 |; [9 p1 j( T# T+ x  z2 m
  1895. ; absolute path.
    $ g7 K2 |$ |  q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* t& g! Y6 V0 c9 q
  1897. - T- c: T2 |+ j% S! Z& d
  1898. [openssl]- l* l: z3 b+ i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    5 Z# E4 q6 I) q
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- q, o. E1 Y3 ~0 k2 I
  1901. ; not specify a value for this directive as PHP will attempt to use the
    8 m/ M; c# m0 ]4 N" x9 E
  1902. ; OS-managed cert stores in its absence. If specified, this value may still: V2 m5 `3 }0 k# T
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , C2 d1 M( O0 J1 e
  1904. ; option.
    6 H9 Q) u0 X, v( X+ F9 D9 L
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    * f+ Y8 }8 ?5 {! ?; z* q

  1906. 6 [' g& f- M, x( x2 p( M) n* q' W; ]
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the  i" A! ?+ P% ?; E8 X: T
  1908. ; directory pointed to by openssl.capath is searched for a suitable2 H+ c4 K: g: |9 z( `% B! C
  1909. ; certificate. This value must be a correctly hashed certificate directory.$ _0 [6 `- x* q& B7 F7 ]( n% L+ C* Y
  1910. ; Most users should not specify a value for this directive as PHP will
    6 r8 ~/ s  r3 `# Q
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    1 r' f' V8 W0 v: @: k9 G0 K
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ; P; x7 z# m, Y( X* f' @
  1913. ; SSL stream context option.7 m( V2 ~2 F. M( S
  1914. ;openssl.capath=
    ) Y5 ]: G4 V% @: J8 y
  1915. ) V* C+ [2 X- V. |
  1916. ; Local Variables:
    3 n$ }/ i; Z: [
  1917. ; tab-width: 4
    # H2 ~+ Q4 ]- f6 o
  1918. ; End:
    + j/ p, a( t9 {9 ?) j, ~
  1919. + N8 R+ p, x' A' t. ]
  1920. ;eaccelerator6 T9 v1 [# O3 D& J8 \
  1921. : H- h& ]* d: Y3 p
  1922. ;ionCube3 E. s1 F" f& v" I: K' x0 E4 [
  1923. 0 |% _8 j4 a! t
  1924. ;opcache
    ( R! p, ~4 n0 V7 x

  1925. " z2 r3 o7 z9 {- W% j1 j0 P
  1926. [Zend ZendGuard Loader]' b  p# H, @7 z2 V- b/ P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.+ G. D: e6 w* l7 U6 D! K. \
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    + R' t6 x( W% K$ D# e
  1929. ;zend_loader.enable=1
    ( z* R8 a; g% {9 u
  1930. ;zend_loader.disable_licensing=0
    / w/ i; s! s$ d# m  l/ M! x
  1931. ;zend_loader.obfuscation_level_support=3' D' r9 S6 o  c) Q: x* h. V
  1932. ;zend_loader.license_path=
    . T8 l  p0 z5 u- {

  1933. , U. A- I1 \9 j5 ^! X  S
  1934. ;xcache
    ; \7 k0 h, M+ Z

  1935. + {1 O$ z  A# V
复制代码
+ j. J( E) S. J
+ |5 C4 k+ ~2 b
+ Z7 n. S( C5 Q  s

. V- w1 m2 r  V. W7 {- |  y
: G0 z! x9 \4 y. M* {% J0 [$ t
0 U. W6 y. H  @- x
6 M, S+ R1 N& ~' tPHP5.6版本原始设置
; c5 g9 n5 N0 D; _4 [
! U6 r/ B. P% b# C  Q6 k& E
  1. [PHP]
      U  _5 ^9 Z0 l! ?5 q1 B

  2. ) q7 f* I$ s3 x9 M. v
  3. ;;;;;;;;;;;;;;;;;;;
    6 D$ B7 N/ x3 I8 n& F  s
  4. ; About php.ini   ;
    4 K7 s6 d/ V- q/ a! K4 E. ]7 O5 `
  5. ;;;;;;;;;;;;;;;;;;;* l) h1 q: E0 P4 B* a% d; ~3 K
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' e; s& x: Y, o; \4 Y1 U& }) O
  7. ; configuring many of the aspects of PHP's behavior.8 _) q6 x! H6 \0 }) G* a$ o

  8. , @* H2 `+ q+ O" `: W$ C
  9. ; PHP attempts to find and load this configuration from a number of locations.( F' |& I- h7 u! p( i$ D
  10. ; The following is a summary of its search order:% w& [/ n' R$ X8 U1 H
  11. ; 1. SAPI module specific location.
    4 D$ u4 A; C8 f- q& m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0); G. m% @& R$ I" p/ I' H7 y# E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 M* F" d' T, Q( k3 c" g# T
  14. ; 4. Current working directory (except CLI)
    4 v" v9 C, t; Z' g8 [; Y6 a5 `& L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) m) i& n$ y6 Q1 y$ E( y8 Q5 V% N
  16. ; (otherwise in Windows): B: |5 z: X7 F+ n/ v
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- |# c, \- U/ m7 E
  18. ; Windows directory (C:\windows or C:\winnt): n2 b6 F' O' B0 s% U; b
  19. ; See the PHP docs for more specific information.
    9 V- y9 ^) E" {; y
  20. ; http://php.net/configuration.file% T- \! ^& e5 Q5 L" u

  21. & Q4 W  v- a* v6 H& ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines! @! e/ g6 M. c4 i
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 h! f3 X" c! G; c& E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ f2 I$ F% Q6 V# f: ~2 Q( A
  25. ; they might mean something in the future., W3 F' {" H; V
  26. 6 v- i' x* d. y5 g1 r( a! f
  27. ; Directives following the section heading [PATH=/www/mysite] only+ g4 y& z: ]+ g4 n
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 F$ D* K, {2 C& k7 h! _% D! @& N
  29. ; following the section heading [HOST=www.example.com] only apply to6 E2 b3 I$ g+ z  `7 d
  30. ; PHP files served from www.example.com.  Directives set in these, X. |" j; ^% y& T
  31. ; special sections cannot be overridden by user-defined INI files or. [& l: T/ s! ]' C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' O- P4 s4 }7 \2 O; {
  33. ; CGI/FastCGI.
    $ D* w" ]6 t8 t/ [
  34. ; http://php.net/ini.sections
    # ^- J0 M! b8 E6 J1 x) C

  35. # B1 v6 V  E4 D+ N' U/ e
  36. ; Directives are specified using the following syntax:
    " q; g( l: r# B- x
  37. ; directive = value
    # V* B1 A* U7 {7 N8 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 \; ]) M  z7 Z, ~( `
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / |- ]4 C6 `3 s$ E6 s/ R
  40. ; There is no name validation.  If PHP can't find an expected
    . ]; O: ^, v- N7 V
  41. ; directive because it is not set or is mistyped, a default value will be used.. l" N9 D" x* C6 ^: v+ C" O& G" T# M
  42. : u/ m7 M/ s/ B& l7 z. t1 R+ u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( {0 h1 l' D3 q4 ~& r
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* `) b- J; K0 g1 j; G0 e8 D
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % h1 `# N3 I. o5 A" K0 H' W. B
  46. ; previously set variable or directive (e.g. ${foo})/ r; i, j8 B9 k8 `

  47. " z8 L3 I& `' ?7 {7 h3 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:* \4 a1 ^# i$ y5 w
  49. ; |  bitwise OR
    8 g0 V8 F+ Q. e. _3 v
  50. ; ^  bitwise XOR' a9 Z% M. \5 }  [% d
  51. ; &  bitwise AND  T3 ?' a: B+ F" N: p! Y& i
  52. ; ~  bitwise NOT
    / Z# s5 A3 ^" G7 K" y/ g# f7 P
  53. ; !  boolean NOT
    ; L: z% D0 \8 r  n) Z, V

  54. 5 m( `1 t& u7 X$ ?# l4 P- u6 W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' d' s' x4 f; C: D
  56. ; They can be turned off using the values 0, Off, False or No.
    $ k  O# [' r2 \

  57. : Q6 q0 B, d: L* H
  58. ; An empty string can be denoted by simply not writing anything after the equal' T$ Z, D; a4 M) b/ j7 |
  59. ; sign, or by using the None keyword:) W3 L* c+ i+ T1 ^
  60. 6 {1 Q. m. c* p9 i  u' H2 L1 p
  61. ;  foo =         ; sets foo to an empty string# }% h2 L& }; |% x4 C0 a! |5 P
  62. ;  foo = None    ; sets foo to an empty string+ G- z. v9 V' T& p4 ?* _$ F
  63. ;  foo = "None"  ; sets foo to the string 'None'/ B" V/ A$ e* `( ?; L7 I
  64. , Z. v4 J7 g$ f- v
  65. ; If you use constants in your value, and these constants belong to a' Z# Q# c) d/ H) B- Z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),+ m4 _' J2 ^+ i; u1 q& E8 E6 A/ d
  67. ; you may only use these constants *after* the line that loads the extension.
    * Q  c$ N, H' \$ G# G8 N% K) a
  68. ( a8 s. M* N) ~5 U3 V% }
  69. ;;;;;;;;;;;;;;;;;;;, T; S* t4 P3 `# Z6 K  h- @, c) S
  70. ; About this file ;( \+ I+ Q- q) V" X9 W
  71. ;;;;;;;;;;;;;;;;;;;0 z2 o, y( Z5 T' g# [; U, k; a
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) @0 S3 r& y3 [- F: P0 o
  73. ; in production environments and one that is recommended to be used in( J3 O( S' ~' l$ ~# I( G! J
  74. ; development environments.
    ( w2 e2 e7 W, f
  75. ( x2 z, E) i( {, Q, w' R: M( \
  76. ; php.ini-production contains settings which hold security, performance and
      d7 a0 {/ H0 H5 m5 s
  77. ; best practices at its core. But please be aware, these settings may break
    ' h9 b" d+ Q1 \$ c+ I
  78. ; compatibility with older or less security conscience applications. We$ h$ f' T; Z/ B. P: Y$ X
  79. ; recommending using the production ini in production and testing environments.- M& z" D) j' N4 @+ c2 \8 Y
  80. - a% g) |8 G; t/ F
  81. ; php.ini-development is very similar to its production variant, except it is5 [6 w+ [7 Y! t
  82. ; much more verbose when it comes to errors. We recommend using the
    ! T2 m; i( f" r8 Q' H, ~0 Z
  83. ; development version only in development environments, as errors shown to
    % u& c5 v- G3 O% W
  84. ; application users can inadvertently leak otherwise secure information.
    & c5 m1 A" C3 ]: ?$ f
  85. % G  N2 B; B! P3 b1 ^( N
  86. ; This is php.ini-production INI file.
    " f  @  n1 ^# Y5 r
  87. 8 r* I* X, z% V" k1 E5 F
  88. ;;;;;;;;;;;;;;;;;;;
    2 g5 {. `+ U5 x0 I1 Y' [
  89. ; Quick Reference ;
    1 m, A; T: T* m! O& K7 y
  90. ;;;;;;;;;;;;;;;;;;;
    & N: P$ b' u4 n  ^# `' n; p
  91. ; The following are all the settings which are different in either the production  }7 W. G# p. J; K
  92. ; or development versions of the INIs with respect to PHP's default behavior.# i1 C+ j# a5 y- H6 A
  93. ; Please see the actual settings later in the document for more details as to why6 C) w9 K. i, ~8 f
  94. ; we recommend these changes in PHP's behavior.' A" n) T  k2 s0 n

  95. 0 k6 \+ U9 _4 v6 ^# o9 l. g; w
  96. ; display_errors- _6 x6 m; \$ e) m
  97. ;   Default Value: On
    ( V0 F* ?* N3 T! S* p% W% F* q
  98. ;   Development Value: On' Y; U" s4 q" |4 C7 n( I  \& P
  99. ;   Production Value: Off* ?0 o! n- N- `, e9 P3 I+ n
  100. 4 C& A2 i. g. |2 K4 I0 }0 b
  101. ; display_startup_errors
    ' Y+ v: x" T+ _
  102. ;   Default Value: Off7 R/ ]6 T5 q- i& ^% m2 Z( f
  103. ;   Development Value: On
    # {4 W. L3 B8 Y* ~
  104. ;   Production Value: Off. _, \- A# n$ ^( \6 _8 s- s
  105. 4 y# w' U# Q# f/ V- P# X
  106. ; error_reporting( n6 \# U( ~- S& ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  J1 a& |5 D# e/ R) L. A
  108. ;   Development Value: E_ALL
    $ Z  @3 F8 l8 F+ y' C
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 O9 N4 i* H" X+ e
  110. " w; ]1 }* J& ?  x8 \) C
  111. ; html_errors, _# H/ d1 Q1 y5 q+ H# P3 V4 ^
  112. ;   Default Value: On
    - @6 a. _7 x, _( i$ s0 D
  113. ;   Development Value: On$ y6 F3 J3 Z9 Q* g, |1 D! X
  114. ;   Production value: On
    & Z% K/ m+ f0 F5 E. S

  115. & W; ~# y& j( A8 ?
  116. ; log_errors7 _3 O- L. P# V; w  t# Z4 u& s
  117. ;   Default Value: Off
    ( _, M2 g. @: H# V, E; F$ P3 @
  118. ;   Development Value: On
    ' e' X9 G7 {9 H! X
  119. ;   Production Value: On9 Z. M: U1 A6 K& E$ U+ B* Y# Q

  120. $ T' S& {; u+ ~5 r! K- c  A
  121. ; max_input_time; Z( Z4 v5 R4 ?' z* B3 H
  122. ;   Default Value: -1 (Unlimited)
    & x7 ]& ]# z9 H% d+ P  |
  123. ;   Development Value: 60 (60 seconds)
    6 d1 {! G9 q0 I. ^) f/ x) c6 e" z/ e
  124. ;   Production Value: 60 (60 seconds)
    ! g: O1 Y& ]& a. Y

  125. / }' v0 r" r" p
  126. ; output_buffering
    2 X2 d" o% ^5 ?- c$ x
  127. ;   Default Value: Off. ]& N  D1 N$ n1 {, ^: V
  128. ;   Development Value: 40963 y5 ^- z$ s( Z1 A& N. z' H' T% `
  129. ;   Production Value: 4096
    4 u" n4 {0 d5 S; \) D+ H
  130. . n4 m6 r# O: c- @( a
  131. ; register_argc_argv
    ' o" d7 A# F/ w6 a1 Z4 k7 F
  132. ;   Default Value: On6 b% e& C. d  U. W1 j
  133. ;   Development Value: Off* D5 _1 t$ p, H+ d- H" h7 s, m
  134. ;   Production Value: Off1 ^8 P- ^7 H( I: ]9 z$ C

  135. , W6 M5 p9 O3 h6 {; k- j9 H4 o! U
  136. ; request_order
    # g2 q4 `( G4 V0 F- ^
  137. ;   Default Value: None& G5 s+ s; ~" |9 L  h  }+ x% `
  138. ;   Development Value: "GP"
    & ~: u- C8 M# p3 f3 W3 V
  139. ;   Production Value: "GP"
    ! e4 J$ ]+ P2 ^$ |: `; J9 W
  140. ; J" n' v& k% F, ~. g( K  u; v  O$ ?
  141. ; session.gc_divisor
    2 }: ?6 f" o* g" k: P0 }5 u
  142. ;   Default Value: 100
    9 }& G& M7 n8 E% n7 O
  143. ;   Development Value: 10004 B: N& v" c3 ?
  144. ;   Production Value: 10009 h: O/ h! \8 A/ Z, n* o
  145. ; V% v% Y- `0 j) g. x
  146. ; session.hash_bits_per_character" C* |! l# k9 b% s- J
  147. ;   Default Value: 4
    4 B" x$ m* _3 ?5 w: o& E2 J+ B
  148. ;   Development Value: 58 k7 B, M9 H- o
  149. ;   Production Value: 5
    8 h0 |0 N1 z: j9 t1 [8 ~

  150. - `& l4 A8 p( K& c/ ^
  151. ; short_open_tag
    , D. c( v  w) w- L' _- C! Y3 b$ h
  152. ;   Default Value: On
    ) s3 }  j+ Z4 o6 l& q
  153. ;   Development Value: Off
    ! o# A% i8 v1 f: v& y1 o( `
  154. ;   Production Value: Off
    4 j9 {, N6 G: x. F1 r( F; \
  155. ; L3 c2 q; Q* m+ M+ f
  156. ; track_errors
      [) Z/ q! G! \* I( g
  157. ;   Default Value: Off. k9 o' c( k0 h+ Z1 G
  158. ;   Development Value: On7 x& ]( f. H6 n+ V" p
  159. ;   Production Value: Off
    / ?. Y! X8 u5 \* Z
  160. 1 i8 }7 g, q* `3 W( q# J8 ]
  161. ; url_rewriter.tags
    * Z5 a; H/ ]" k' {% e3 @0 i' i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( _: S9 N5 z3 O+ T) n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". ^- R9 F. b/ {
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", A' d8 z2 P7 F% u

  165. " k3 e) ?  _% n' q
  166. ; variables_order, m' r$ t! }- H" r0 v" d  M
  167. ;   Default Value: "EGPCS"
    ! J! i4 Y0 |* }5 c. o) C
  168. ;   Development Value: "GPCS"1 h& \* l- r2 ]3 U
  169. ;   Production Value: "GPCS"  Q4 I* ]: X( q! v" t

  170. " `8 k7 X' ]4 g9 V, C
  171. ;;;;;;;;;;;;;;;;;;;;' t: h$ l, U* X3 Q  I! m
  172. ; php.ini Options  ;! @( i! r7 F3 S9 o2 j+ {5 l. H
  173. ;;;;;;;;;;;;;;;;;;;;
    ; R2 G8 Y  t: l$ R: S+ r* v7 G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    8 `8 P) L6 W2 U) i/ D& t# S
  175. ;user_ini.filename = ".user.ini"0 B) N& f5 K. @$ t. ^" H+ Z
  176. / K5 s' x  A' K
  177. ; To disable this feature set this option to empty value/ e. j( ^  D) o. I, @' m+ h, V
  178. ;user_ini.filename =0 l# W+ Y& ~6 S( U

  179. $ V; Y7 l" L. L/ T, H' ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)+ p. m! B2 ?- u, ~
  181. ;user_ini.cache_ttl = 300
    - P6 M) {" D& U$ L; i8 i% z/ @
  182. ! M5 e: @0 I  m/ q
  183. ;;;;;;;;;;;;;;;;;;;;
    # Q. `1 t- L. b3 A
  184. ; Language Options ;; ]/ F0 _! f3 O" q+ S
  185. ;;;;;;;;;;;;;;;;;;;;; S: [' d) `% x* b, t6 @, j

  186. 4 I1 @: s6 _! r$ @' N8 T8 @
  187. ; Enable the PHP scripting language engine under Apache.
    + E  R$ J4 `& a1 M1 D
  188. ; http://php.net/engine
    6 r+ i) N$ X; }8 ?/ p+ U
  189. engine = On5 G  n6 z5 ]0 i" _
  190. 4 V& N, E9 `2 A0 _) T$ E8 ^3 Y+ g
  191. ; This directive determines whether or not PHP will recognize code between3 N  \0 W$ E  @, X- o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is: m* }0 b+ k2 A$ C! L6 ?
  193. ; generally recommended that <?php and ?> should be used and that this feature6 |; T3 C2 D7 s2 i, G
  194. ; should be disabled, as enabling it may result in issues when generating XML0 {$ M4 `2 }- y! t
  195. ; documents, however this remains supported for backward compatibility reasons.
    7 R$ P4 j) r( D* h/ e/ i
  196. ; Note that this directive does not control the <?= shorthand tag, which can be5 e6 [, ^+ _: D; E# l% n! Q" m) g
  197. ; used regardless of this directive.
    ' @, F$ i9 ?5 E% V1 R8 w
  198. ; Default Value: On
    3 v5 f1 Y: s8 U6 p. y3 g: R( s
  199. ; Development Value: Off
    & l0 b2 Y3 W- {
  200. ; Production Value: Off
    1 N/ }4 ~, ^  c. ]& K
  201. ; http://php.net/short-open-tag: o1 N. @8 J. Y( T* L! L
  202. short_open_tag = On% X& B& @2 \$ [) j
  203. ; }8 X. b2 f" _% J0 w2 m: U0 B
  204. ; Allow ASP-style <% %> tags.
    ! M8 f6 _/ _8 T) p) T% L  g5 w
  205. ; http://php.net/asp-tags+ Y" Z) Z1 w; u2 E2 p
  206. asp_tags = Off
    9 L/ k! R! e# g& g. g

  207. 6 k6 F$ g, N$ z  l( I
  208. ; The number of significant digits displayed in floating point numbers.
    2 m- u" @) N( {0 \; K6 V
  209. ; http://php.net/precision4 z& x% Y/ E  R1 `* W1 v2 g& i
  210. precision = 14
    ( R0 ?' F1 C# z! C$ t# s# Q& [

  211. , v5 g/ N! T5 ^; C
  212. ; Output buffering is a mechanism for controlling how much output data
    * a& |* L. E5 J1 ~
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that7 x' a$ `- Y* U" J& s
  214. ; data to the client. If your application's output exceeds this setting, PHP
      Q- Y: `, ?* p9 C9 v/ z
  215. ; will send that data in chunks of roughly the size you specify.
      H. q. v% {2 c& T9 n
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    & T! n. B* a% Z* W- v( Z* X( z  s  @
  217. ; interesting side-effects depending on your application and web server.& L/ y/ ^) S6 w5 w
  218. ; You may be able to send headers and cookies after you've already sent output
    # b" a; b  k# ?+ A2 ~; N
  219. ; through print or echo. You also may see performance benefits if your server is
    # p- v2 a6 ~: ^7 S) m$ z
  220. ; emitting less packets due to buffered output versus PHP streaming the output: O% R3 w" X# |1 N' v
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ' o9 f8 _. a( w7 ~* O$ A: ~+ G
  222. ; reasons.
    # d; e0 E) b( F' E3 x8 _
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    & v5 Q. X" A# z9 }. h/ g1 x
  224. ;   functions.7 ^( ]% ~- Q  R2 m3 `
  225. ; Possible Values:: p3 B! L( ?9 {5 H
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . C. |2 ^* }& H# @9 ^' g
  227. ;   Off = Disabled
    & s' @' x2 `/ V% J3 h
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    % t. S. X+ e- s- B# ^* ?2 d
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - G' }. w0 [) R# F
  230. ; Default Value: Off
    ) D4 {  q! F% Z4 ?/ u. Q
  231. ; Development Value: 40965 S  Z) r+ l* x
  232. ; Production Value: 4096
    6 S/ M8 b8 @- Q8 {
  233. ; http://php.net/output-buffering
    9 ~! U. `: I5 q8 Y* r4 o
  234. output_buffering = 40960 q* f' ^6 ?; G& f* m$ W) O2 P

  235. , W+ X& j. F# j5 r1 r6 C3 |
  236. ; You can redirect all of the output of your scripts to a function.  For3 I) N# ^, R% w+ w5 K) r/ O- j
  237. ; example, if you set output_handler to "mb_output_handler", character, W  |9 r) F5 G5 B
  238. ; encoding will be transparently converted to the specified encoding.1 O& R1 @: z  [
  239. ; Setting any output handler automatically turns on output buffering.
    ) B4 O3 ~& ?6 u  D* h2 b( R) N3 B  P
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) s+ O$ j; z/ F7 ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().2 S( W1 n4 A- S8 f
  242. ;   Using this ini directive may cause problems unless you know what script1 X6 |/ n) f/ J+ b+ t
  243. ;   is doing.
    3 S+ M  E/ X6 m
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 K" P. W0 }4 {" K! K
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    " n! ^- u5 Q0 g7 ~& k0 }: t" k
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    , [5 U  ?0 {( [7 Y% ?' [2 d$ v
  247. ;   Instead you must use zlib.output_handler.
    9 c: L4 u; y9 T7 R
  248. ; http://php.net/output-handler
    ! C% I+ h% K: Q
  249. ;output_handler =/ N" f+ d/ u. i. O+ E0 H
  250. & s, @: E! E! S+ ?. s: r) J
  251. ; Transparent output compression using the zlib library/ c# u8 H! S) P+ g. g
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    . c( `& v. c+ k
  253. ; to be used for compression (default is 4KB)0 P) o, s# t: `0 X/ ^/ Q
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    / ]' [0 X) ]6 R  v! ^
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    2 S/ O: h1 {* |" W% k) d. k7 @
  256. ;   compression. If you prefer a larger chunk size for better
    4 Z* ]+ {- T* D/ ^! `
  257. ;   performance, enable output_buffering in addition.# ^" s$ r. Y% a2 p
  258. ; Note: You need to use zlib.output_handler instead of the standard6 b) r2 @8 w, f3 W# f3 f) j0 T. G) C, j
  259. ;   output_handler, or otherwise the output will be corrupted.
    * a* H( L8 j) a6 J+ z' [
  260. ; http://php.net/zlib.output-compression& Q  Y+ m& Y+ u( d
  261. zlib.output_compression = Off
    3 ?& E/ z+ m- M5 n

  262. % S! n, b  }7 n8 X! w
  263. ; http://php.net/zlib.output-compression-level: K5 s6 `4 g* ]. g+ _+ z3 V$ V
  264. ;zlib.output_compression_level = -1
    ! x. U  t/ @4 V! R! F: n

  265. 8 |7 d) e+ E2 K0 _$ F: v2 l
  266. ; You cannot specify additional output handlers if zlib.output_compression
    . V& S" W7 U0 f. G% L# o
  267. ; is activated here. This setting does the same as output_handler but in! L5 x' r' u4 s1 l7 `
  268. ; a different order.1 B6 u+ Y; R, o9 M1 K6 e" M2 K
  269. ; http://php.net/zlib.output-handler
    2 c7 X. j0 e0 }, f' I' Y& b6 U: W- ?
  270. ;zlib.output_handler =1 q( R* K, D+ }+ X9 x5 w6 q, ^. w1 M

  271. , H8 `" m; u- T- W
  272. ; Implicit flush tells PHP to tell the output layer to flush itself. G! X, v2 ?' c- f$ {7 |
  273. ; automatically after every output block.  This is equivalent to calling the) O: @3 O2 @( Q5 V/ e9 Q
  274. ; PHP function flush() after each and every call to print() or echo() and each/ G! X$ k% X" E# k
  275. ; and every HTML block.  Turning this option on has serious performance  u+ R; d  I. d3 Z5 G; y
  276. ; implications and is generally recommended for debugging purposes only.3 ~. M+ A6 k. x+ [% F/ r0 I
  277. ; http://php.net/implicit-flush
    / {8 C. e- y% Y7 [; [- O8 L4 a7 F
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    : [4 K* g0 k5 m, q# ~
  279. implicit_flush = Off
    # z  I: ~2 L6 r
  280. ) w% x6 `/ Q- V- C9 t+ d6 {. u9 o
  281. ; The unserialize callback function will be called (with the undefined class'0 {, z% A! g" W/ D
  282. ; name as parameter), if the unserializer finds an undefined class+ u2 i3 v3 X+ j6 x* C. o# C8 _
  283. ; which should be instantiated. A warning appears if the specified function is
    6 j( w# q7 ~- m
  284. ; not defined, or if the function doesn't include/implement the missing class.$ K% ~1 R9 T5 s- Y+ l
  285. ; So only set this entry, if you really want to implement such a3 U. I" ]: X4 A( U  B$ `
  286. ; callback-function.# Y3 S1 }# J% n
  287. unserialize_callback_func =7 x" a- X4 V0 B5 q5 b9 W2 b3 O
  288. 2 t6 e; r4 y$ O: \1 w
  289. ; When floats & doubles are serialized store serialize_precision significant! N( u# Y- `2 A2 l9 J: R
  290. ; digits after the floating point. The default value ensures that when floats; z: k- y# R0 a
  291. ; are decoded with unserialize, the data will remain the same.
    0 ]2 o& L7 ]2 E* g
  292. serialize_precision = 17
    # a( a3 F9 `7 W7 h; a4 k2 p

  293. % e. H6 _% ]' A9 G6 Y3 U1 F! x# N
  294. ; open_basedir, if set, limits all file operations to the defined directory
    & v) e; x! J& G; S/ D, ]$ I! F
  295. ; and below.  This directive makes most sense if used in a per-directory" v5 q. S" ^( \0 W( f9 p' C
  296. ; or per-virtualhost web server configuration file.
    4 @$ f2 ^2 d" t- t" l* Y* y
  297. ; http://php.net/open-basedir
    5 G5 I& h, |; E% A6 ?
  298. ;open_basedir =
      {; z1 N1 W" I/ ?

  299. ! Q0 X/ p' U0 M5 [. W
  300. ; This directive allows you to disable certain functions for security reasons.
    7 R) w2 ]7 G1 h: c* S
  301. ; It receives a comma-delimited list of function names.
    ! t, A0 G# }9 z2 _( y, G
  302. ; http://php.net/disable-functions$ I/ A" o: k$ L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% x( \5 \* u6 E! ]( s# t

  304. , l  s7 F* A3 T
  305. ; This directive allows you to disable certain classes for security reasons.
    2 P% |/ S$ a" v( j) t
  306. ; It receives a comma-delimited list of class names.: E5 }: i4 B: }6 o) Y
  307. ; http://php.net/disable-classes
    * K3 @% ?6 I, S5 A
  308. disable_classes =
    1 y1 q0 {: s) U( v
  309. 7 r" @1 j3 V) O+ ^- Z' n5 [
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 R% S; t& y: e4 B" G% y2 F
  311. ; <span style="color: ???????"> would work.. x! k( A+ n7 a3 h! ^
  312. ; http://php.net/syntax-highlighting
    ' t5 e+ o! y% z6 ]/ B: [
  313. ;highlight.string  = #DD0000
    ' c; X: H9 y/ e5 g
  314. ;highlight.comment = #FF9900
    ' {, v; A" u3 j' K
  315. ;highlight.keyword = #0077002 m; j$ S7 f, C
  316. ;highlight.default = #0000BB
    8 H( \& y4 w: C) K. r8 b
  317. ;highlight.html    = #000000
    ( i, R5 y. G/ B3 m  z- T4 k9 c
  318. 5 N' `, ?& n+ s/ u
  319. ; If enabled, the request will be allowed to complete even if the user aborts1 h2 T9 }7 M2 A% X
  320. ; the request. Consider enabling it if executing long requests, which may end up8 J3 }* b% P7 f
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 Z+ v) n9 f7 m( B8 I
  322. ; is to disable this feature.
    3 Z* ]) e5 _8 a0 M& y% Y+ ?
  323. ; http://php.net/ignore-user-abort4 j2 a8 M/ `! e5 j+ f6 v, b. I& V- b
  324. ;ignore_user_abort = On
    " ]# I. q/ ^  J% j: x3 r$ v
  325. & y  D7 i% k7 Q: r0 n$ g
  326. ; Determines the size of the realpath cache to be used by PHP. This value should9 y8 l/ N1 D6 p
  327. ; be increased on systems where PHP opens many files to reflect the quantity of+ M  `1 Q- M% A6 E  J. ?1 o; g9 y7 I  a
  328. ; the file operations performed.$ b* r: o1 K* F- z& U
  329. ; http://php.net/realpath-cache-size8 N) Z2 R3 v7 T2 t6 P; g- z6 t
  330. ;realpath_cache_size = 16k
    7 a0 B3 Q3 C1 t% O+ h6 V  V
  331. % c. w1 p) I# W# R/ Y6 Z" A
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ' m1 q0 S; H, s) q3 @
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    7 G+ @1 D! ~* \. n# ~) g# X* Z1 k
  334. ; value.
    7 F$ }2 W& K' `4 r# y
  335. ; http://php.net/realpath-cache-ttl
    % a) Y' t+ i1 L- D  M
  336. ;realpath_cache_ttl = 120; A: w/ y; c4 h5 o

  337. % b6 }4 A4 ?; I3 h8 ]" s
  338. ; Enables or disables the circular reference collector.+ l1 {$ U" Q! r, U4 R1 U. i8 }
  339. ; http://php.net/zend.enable-gc
    0 M- b" v8 ^  s: _6 v. P, W
  340. zend.enable_gc = On
    % e1 c. n; A+ \( F
  341. 5 V( |$ I- ]+ x8 P3 D3 X
  342. ; If enabled, scripts may be written in encodings that are incompatible with# z. D/ O# S) k! p
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / ~, _: D% Y' f7 _
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    / S4 u! B* |  m3 _2 K
  345. ; Default: Off
    # Q' N# ?- O: l9 \
  346. ;zend.multibyte = Off
    $ A% \7 a! A6 Y6 n# \# d9 {
  347. $ R) r7 Y$ E. u; R! D4 b
  348. ; Allows to set the default encoding for the scripts.  This value will be used! Z7 M7 Y$ T/ ?* ]. _- O
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.$ }0 D' P( N* t8 P4 z9 Q0 d
  350. ; Only affects if zend.multibyte is set.
    ( Y9 k' o% g! c# B
  351. ; Default: ""/ j5 H1 z2 H" d1 H
  352. ;zend.script_encoding =
    , B6 ~; t3 l1 Z  x# g. @( n3 R/ X
  353. ' t2 o1 V7 }& B: h( J
  354. ;;;;;;;;;;;;;;;;;) i( n3 w1 @) Z+ k$ ~
  355. ; Miscellaneous ;
    9 T9 Z5 ~7 e! i7 ]
  356. ;;;;;;;;;;;;;;;;;
    ( Q$ l" o$ E; M4 c

  357. 0 |9 X4 c1 g- Y$ s8 B) q
  358. ; Decides whether PHP may expose the fact that it is installed on the server, u' W* y0 P7 ]' T7 S
  359. ; (e.g. by adding its signature to the Web server header).  It is no security4 K8 g2 }1 y, }  Y9 p
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    0 Y0 s% @9 @2 Y! Y
  361. ; on your server or not.
    ( ]* i4 \+ ^/ X  J* {) D" |
  362. ; http://php.net/expose-php& f0 H' k# ?1 r1 o
  363. expose_php = On
    1 c6 Q% U  H  V) F9 g1 P* G5 D* u
  364. $ t0 q0 r, Q/ b0 x5 n
  365. ;;;;;;;;;;;;;;;;;;;
    . N4 f8 _1 x, c7 m/ b
  366. ; Resource Limits ;
    % b8 Z( K& @/ a
  367. ;;;;;;;;;;;;;;;;;;;2 U2 I  p+ s9 V% E. S& c# {

  368. 1 [' y! h) p$ P- A: K. j
  369. ; Maximum execution time of each script, in seconds1 b$ D% b% F5 u$ }3 @0 z& a
  370. ; http://php.net/max-execution-time2 z5 {: G! e; C* Q
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ t1 x' B  x0 i* m
  372. max_execution_time = 300/ g6 x) V7 m/ G( p
  373. 7 j5 Y9 G- d( F$ Z4 h  }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    8 {  y" r! E' _8 t) L
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 G6 s$ s0 k% H& A4 s5 A1 ?; F
  376. ; long running scripts.
    3 M2 w$ Q9 q1 X9 s
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) ~0 c, Y  r/ R& d1 }4 o
  378. ; Default Value: -1 (Unlimited)
    , ~5 V& T6 D+ k* P% V% H7 z$ B1 M
  379. ; Development Value: 60 (60 seconds)
    ( L5 G; g: n  D3 R% s: L' r6 j
  380. ; Production Value: 60 (60 seconds)
    $ J6 _, T0 V/ P; f! c
  381. ; http://php.net/max-input-time; k6 I) p' b8 t; L0 f
  382. max_input_time = 60# s7 \9 i& _/ R$ ?1 ^* j

  383. - y# J6 S+ ]( i! x
  384. ; Maximum input variable nesting level& p% }# P  l" N7 D4 Q; K
  385. ; http://php.net/max-input-nesting-level
    9 r% {( ^; o  h* ]5 R+ ]
  386. ;max_input_nesting_level = 64
    2 j+ @# F4 ~$ k  y" s2 ^
  387. ' z6 J, ~, W5 g5 u
  388. ; How many GET/POST/COOKIE input variables may be accepted8 s7 \% \- l+ Q. M8 r: @0 J' J4 }
  389. ; max_input_vars = 1000
    2 s3 `( l6 Z# g
  390. 3 p1 X( m- H1 [6 }8 g+ q
  391. ; Maximum amount of memory a script may consume (128MB)
    2 j* t! Z. f4 a$ W- K  y6 s
  392. ; http://php.net/memory-limit( n, d: c- J+ f6 T
  393. memory_limit = 128M6 y' _1 r6 y! v: \% u

  394. . U# g& S* [3 e
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 m, W6 x, T3 h0 K5 u0 [% f" W: ~
  396. ; Error handling and logging ;
    6 ]4 d# t4 m  U9 ^) f' e
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* [* W; h% ^, d' r

  398. * Y4 {3 H' Q* s& Z& _- b, ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like) i, }/ ~+ H8 L  v
  400. ; it to take action for. The recommended way of setting values for this
    + v& u/ e" X0 i  M. [9 T$ i
  401. ; directive is through the use of the error level constants and bitwise3 [5 h+ K/ F  x' K
  402. ; operators. The error level constants are below here for convenience as well as
    ( M3 ~- E: n, h; j
  403. ; some common settings and their meanings.1 ^$ j$ \% ?. K. w: u* r5 \% g4 ~
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT0 k/ s3 E& O% _! a  b
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 K2 }' _4 B5 j7 S) H
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    , N1 ?% L8 ~$ t( ?5 D
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    + x$ d. p- A  M) k
  408. ; resources complaining about best practices and coding standards. That's what
    9 ]( V/ {# \' X* \; R6 r) p7 I5 e
  409. ; development servers and development settings are for.1 h( ]$ P6 r. Q2 N/ |( D
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    , R! o, X4 P. P* q# T4 U
  411. ; means it pretty much reports everything which is exactly what you want during3 y6 M. I6 k$ q8 `' p3 v- L+ r
  412. ; development and early testing.% w5 s- [  ]" ?( n- [$ ]
  413. ;
    3 O! Z. P1 U- s* V( d! b
  414. ; Error Level Constants:' A/ p  m7 @; j6 y" K
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    8 T1 O4 _0 f( S; e5 C# c( c/ b
  416. ; E_ERROR           - fatal run-time errors: W/ w4 H7 e1 E$ B
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors- h% @+ F4 |' M6 L7 t
  418. ; E_WARNING         - run-time warnings (non-fatal errors)& U4 I% }2 v/ e3 \3 Z) o7 G) f
  419. ; E_PARSE           - compile-time parse errors2 @% Q$ S* [  ~5 ~4 e0 E& Q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result# E- V' X& Y) N4 I# h1 |4 C% w
  421. ;                     from a bug in your code, but it's possible that it was
    " d: ^9 B0 m. c. P; E" `- t5 R5 B
  422. ;                     intentional (e.g., using an uninitialized variable and
    # B4 O5 R2 a% s- u3 S- y) j& i
  423. ;                     relying on the fact it is automatically initialized to an  ~0 S1 o: E" c( l7 I  p
  424. ;                     empty string)
    9 O% \3 l6 d- e
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( Z8 j6 `3 A' e  k( ~
  426. ;                     to your code which will ensure the best interoperability$ a$ M- m' @2 o
  427. ;                     and forward compatibility of your code
    # N0 O& x$ ~; u
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # ^7 O  y- t+ e9 v6 ~
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* r! `% [9 v/ U# x6 E7 V# Y0 I, X
  430. ;                     initial startup9 |+ K5 `  ]4 {( M: A1 L' |
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, ^0 l& g, j/ |* m( b: B: g
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & v* Y! n% m: X3 j* m
  433. ; E_USER_ERROR      - user-generated error message7 p! m1 B# e+ `8 h( ^
  434. ; E_USER_WARNING    - user-generated warning message
    # }% N/ n6 x: a. E& X
  435. ; E_USER_NOTICE     - user-generated notice message
    9 L2 ?7 I& J/ x% T
  436. ; E_DEPRECATED      - warn about code that will not work in future versions- R6 u, K( U% F- a9 |
  437. ;                     of PHP
    - O* Q2 _, A- e$ F) A
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 W2 `, O( C; Q# s- y5 ?* y
  439. ;
    7 j0 m( l# L' J
  440. ; Common Values:/ ^9 a3 ^( w9 D
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 M9 T+ L1 ~  ]' P4 M; N0 U
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices), x9 A7 d1 a% {8 `4 S
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)/ ?2 \" J% a8 a; ?& T# J# w
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 R* r& ?4 B5 L! s1 d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) k7 f; f9 ^  y) f
  446. ; Development Value: E_ALL
    # ~/ s; R9 i* J- y. _0 F8 D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# G% `9 W% Z0 i2 N: y/ m
  448. ; http://php.net/error-reporting; c1 B8 `) _  K( H+ N6 l
  449. error_reporting = E_ALL & ~E_NOTICE
    / C( }+ F+ I: R: r( }
  450. 7 I$ k; Z% @- h* K0 Z
  451. ; This directive controls whether or not and where PHP will output errors,2 h2 P8 V( p# d" l0 O
  452. ; notices and warnings too. Error output is very useful during development, but
    , n& W1 g  `9 {8 |$ ?$ ^
  453. ; it could be very dangerous in production environments. Depending on the code
    * P7 k9 @: B- H  L* n
  454. ; which is triggering the error, sensitive information could potentially leak
    % U, u% m8 a( C& T3 W" z# o
  455. ; out of your application such as database usernames and passwords or worse.7 W+ X) d1 b4 L/ t: B# q3 u
  456. ; For production environments, we recommend logging errors rather than( G$ `" i  N9 \, `- l
  457. ; sending them to STDOUT.
    1 }# ~* Q1 \; V5 s! j9 \0 C4 ~. [
  458. ; Possible Values:
    0 f0 N2 p8 L5 x" h4 b
  459. ;   Off = Do not display any errors9 x, I$ V  i6 L2 j% _6 j+ `% L
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 B" m* S$ V1 F  n9 }
  461. ;   On or stdout = Display errors to STDOUT
    ' x) e8 \4 e# I  k' a' X
  462. ; Default Value: On
    % O' g  `1 l/ j. V/ M% Q6 A
  463. ; Development Value: On; P0 L5 G6 c0 B! w% u/ v. u
  464. ; Production Value: Off! d7 E  w6 s* m! g( t" j
  465. ; http://php.net/display-errors2 i( t# ^7 I1 Y
  466. display_errors = On
    9 z1 S+ z+ H" q+ m
  467. 2 m2 o" M* o7 a: O3 j7 X# a9 m% k
  468. ; The display of errors which occur during PHP's startup sequence are handled0 q5 g) ?* }4 G/ H4 O4 o
  469. ; separately from display_errors. PHP's default behavior is to suppress those' M: f3 j0 G; \+ C% I
  470. ; errors from clients. Turning the display of startup errors on can be useful in0 s9 `8 F# }; X3 K, X, `
  471. ; debugging configuration problems. We strongly recommend you
    ) o( ~" I* U, G
  472. ; set this to 'off' for production servers.
    1 X. f5 i4 O& R' H
  473. ; Default Value: Off4 c0 v% a% O/ H0 Z8 q9 E2 m3 f
  474. ; Development Value: On3 R; K5 H3 H. T1 B' @
  475. ; Production Value: Off
    - m, [" t' l/ U$ {1 W3 s% O6 D0 z7 T0 }
  476. ; http://php.net/display-startup-errors
    ( A- C9 W6 V0 m4 F
  477. display_startup_errors = Off; |7 Q  s! ?9 b- R* k$ k. Q
  478. 5 U9 j4 H, E* n
  479. ; Besides displaying errors, PHP can also log errors to locations such as a0 X0 Z+ f; L' h. i* b9 ^
  480. ; server-specific log, STDERR, or a location specified by the error_log
    9 K4 K4 y9 T7 q. k
  481. ; directive found below. While errors should not be displayed on productions' Q& Y  V9 j7 b" ^# J3 d% V7 R$ Z# ~
  482. ; servers they should still be monitored and logging is a great way to do that.
    9 s1 p# ?. @( L8 g( e9 c# d3 y' V
  483. ; Default Value: Off( y7 D/ s# k6 T( R0 [6 s$ M" l
  484. ; Development Value: On! b* G0 S( ~2 H& Q! B
  485. ; Production Value: On
    5 d0 E, {1 b  f7 H8 y# B6 n/ f$ m. @
  486. ; http://php.net/log-errors8 Z( n* H1 X6 V% D6 Z) t! o" l
  487. log_errors = On
    7 e; w5 |  {' i8 Q/ N, B
  488. + i0 p8 B& g, Q1 g, A" a* B' o
  489. ; Set maximum length of log_errors. In error_log information about the source is$ l+ p. R7 f  Q' q! ~* l
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  m0 D+ a# K* `3 |% e
  491. ; http://php.net/log-errors-max-len
    0 E  C: w" d  _  z6 P  U
  492. log_errors_max_len = 1024, Z  ?; s% D6 k  V8 e, a9 W

  493. ; J- h! O' ], z6 o/ b
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same6 v( _, t- t4 t/ E
  495. ; line unless ignore_repeated_source is set true.+ @( p5 z' N. ?: j& k8 z
  496. ; http://php.net/ignore-repeated-errors
    5 d% d, |( m. M5 J* ?
  497. ignore_repeated_errors = Off
    + _( V3 P$ S" L, D+ y
  498. 3 Z$ d; D( I6 D, H& @. Q4 O
  499. ; Ignore source of message when ignoring repeated messages. When this setting. _- H6 P( c8 l7 @; ~/ K2 k' f
  500. ; is On you will not log errors with repeated messages from different files or
    . {- L6 ?* K+ [3 M" O! P! ~5 M
  501. ; source lines.: h1 N7 _) P2 j& f" h  ^- d
  502. ; http://php.net/ignore-repeated-source
    & i  y# i2 @+ [" u( t
  503. ignore_repeated_source = Off4 Z  Q+ M" x9 c

  504. . G( M2 r) _) Q/ m
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 h  ^  l( l4 h- @; ~( R
  506. ; stdout or in the log). This has only effect in a debug compile, and if4 ?# D5 K  o; j" t
  507. ; error reporting includes E_WARNING in the allowed list1 r) y5 n( d& b4 N- h' [
  508. ; http://php.net/report-memleaks) r) f$ {4 t5 {6 I* d
  509. report_memleaks = On
    6 d! l) u# I: w% t( K& D

  510. , n0 V  S7 f5 ^9 ~2 @% O' s8 d* v
  511. ; This setting is on by default.
    ( s8 v# b3 N- F. s' N2 [5 d) x
  512. ;report_zend_debug = 0
    ; k& T- c7 ~7 g% H8 ]+ b5 j
  513. 8 T1 E0 a0 O3 y7 i8 }" W
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 v, l# ]3 X# J! D# t- G! L0 u: o4 U+ H
  515. ; to On can assist in debugging and is appropriate for development servers. It should2 L) U4 S5 ^* d$ i3 a7 b9 Z! X
  516. ; however be disabled on production servers./ a& i+ i% {& {9 R# X! J
  517. ; Default Value: Off
    ! |' k/ o' b+ c8 q$ ^& m- r
  518. ; Development Value: On. @3 N2 ]1 c! d# t! A% j9 b
  519. ; Production Value: Off
    $ `! `  ^6 [+ V( J; M
  520. ; http://php.net/track-errors
    ; b; R, ~. W% w0 T
  521. track_errors = Off
    * b8 [; h# w- }$ A3 k" e

  522. " m( }, r1 n0 `# E; D
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ( q* d# e* z# y3 O
  524. ; http://php.net/xmlrpc-errors4 y; H7 N% Q$ k  P; x% y
  525. ;xmlrpc_errors = 0) M& `/ y# j3 T! d& `/ N% ]! V

  526. 1 s/ c# U1 y2 \. M  o  i' f  m% [
  527. ; An XML-RPC faultCode) Z3 |# J  t8 W8 v9 E: Z. q  G# _
  528. ;xmlrpc_error_number = 0
    ) [8 T0 V' j2 w
  529. 1 a$ T8 M- g) {2 n
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    . d: ?; u* M6 ^4 |% M* c
  531. ; error message as HTML for easier reading. This directive controls whether
    ; q! s0 |( i; S. O: t- i7 \
  532. ; the error message is formatted as HTML or not.
    " k1 z1 F* ?6 e5 Z+ P
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI2 X2 c) `( a$ E* U! m# Z2 V
  534. ; Default Value: On, D: k+ ^" C( W
  535. ; Development Value: On( O5 {& i3 g- l2 ?. H5 k  N
  536. ; Production value: On
    ; {# T- S3 @8 ^+ x& i; D' {- q
  537. ; http://php.net/html-errors* ?0 I7 W# c2 p+ c' B& F
  538. html_errors = On; S/ ~$ o2 E& U8 J" x" ^& ^

  539. 1 v7 x5 Y, s1 V9 a0 X" i+ g; l7 U# o
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  [' B* e$ @; ^6 ?8 e6 M
  541. ; produces clickable error messages that direct to a page describing the error: ^4 J' S0 Z3 u
  542. ; or function causing the error in detail.% x6 z7 L5 W( ^/ ^
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    * M4 `9 p5 v9 `6 [' Q# {
  544. ; and change docref_root to the base URL of your local copy including the1 v3 a# y" }1 _6 c2 t4 y8 \
  545. ; leading '/'. You must also specify the file extension being used including
    1 c# g# I$ i9 e( w' D( W! M
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which( ]2 r9 Z* q( I* \
  547. ; case no links to documentation are generated.0 g# f# l/ f: C6 l  f/ j; A
  548. ; Note: Never use this feature for production boxes.
    4 K* ^9 w8 R) j) c% W- F! k0 p5 [
  549. ; http://php.net/docref-root
    " W, J: E% g/ f5 G8 B: ?
  550. ; Examples$ w; x  R% S6 k) o
  551. ;docref_root = "/phpmanual/"
    * e- A) }$ J* m, v

  552. 2 L2 h( e: R" x4 W" p- ~
  553. ; http://php.net/docref-ext  _2 `7 n2 N# g8 |* O% }$ [' q
  554. ;docref_ext = .html
    " q/ R, k3 e! V0 |& \

  555. & L) x3 x% U7 [+ k% }7 E
  556. ; String to output before an error message. PHP's default behavior is to leave9 R+ M) [" k3 s
  557. ; this setting blank.
    & ]. f' Y$ q! o% r, O' n' v
  558. ; http://php.net/error-prepend-string
    " a' m# B0 L9 H* M: q
  559. ; Example:* q. }* H) t( O6 `4 H8 r
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ S4 h3 ~' ?$ r& P

  561. , a, g7 Q2 m" F
  562. ; String to output after an error message. PHP's default behavior is to leave
    / t* l0 n/ K0 a3 d- K
  563. ; this setting blank.
    , ?. V3 W. U8 a+ c3 H
  564. ; http://php.net/error-append-string+ v( J5 M0 H+ h0 J8 G; E
  565. ; Example:3 e9 `3 Q+ C7 ^4 B+ I: l7 R
  566. ;error_append_string = "</span>"' H# x) H2 p$ _3 _9 p! S- ?
  567. $ K/ k6 c; _+ n; x& d% K% s& {  i& e
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    / u1 p- U/ {, P1 K% i# J. h
  569. ; empty.
    + P. f% n" a2 A; b* o! t, ]
  570. ; http://php.net/error-log2 |7 s! \# G0 [+ p  r
  571. ; Example:+ B, i- \, I9 s
  572. ;error_log = php_errors.log
    7 B/ E3 |& J/ ~7 |1 V$ v) K
  573. ; Log errors to syslog (Event Log on Windows).
    ! `" d0 B7 d, w" I
  574. ;error_log = syslog" N4 c' K' v+ u& ?% d" ?6 `
  575. 2 c* {7 q' r% s: v4 Y4 P% l/ J6 o& v9 ^
  576. ;windows.show_crt_warning4 @: z# \* b1 ]; H% w3 \0 X2 }
  577. ; Default value: 0
    ! O0 r* S- Z: k5 Q5 C/ y3 l+ y$ _: j
  578. ; Development value: 0
    6 G2 ~. q+ t6 l5 O" ^: U! _
  579. ; Production value: 0
    . ^3 z% h0 q. {- C! V0 y
  580. : h' d9 S) L& s
  581. ;;;;;;;;;;;;;;;;;- H$ p' i& b, ?9 I$ B7 z' f* `; H$ u
  582. ; Data Handling ;
    % l- K) _9 T; G1 b6 ~, O0 _2 L7 J
  583. ;;;;;;;;;;;;;;;;;' j: Y& N. @- d& O% d. [0 R

  584. % i' l! ~$ n$ \4 R, s
  585. ; The separator used in PHP generated URLs to separate arguments.9 a% S4 S3 y9 c  L- Q+ v
  586. ; PHP's default setting is "&".2 R; e; f& T# [* S
  587. ; http://php.net/arg-separator.output' P& Y% S8 p$ W: m/ m
  588. ; Example:
    9 d: d! y: q2 i5 ^, z  b
  589. ;arg_separator.output = "&amp;"
    : V- W* h1 m/ q8 V/ [0 [& ~, j

  590. - g8 N/ {1 A: k6 s. K: `" O) ^+ m5 W. ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables.7 k( S. i$ c5 K: R, V
  592. ; PHP's default setting is "&".
    2 I  B7 ?/ X3 ?9 u2 O1 ?( `3 ?" P
  593. ; NOTE: Every character in this directive is considered as separator!, a: O' p6 Q5 J! w# N" [
  594. ; http://php.net/arg-separator.input
    1 u& ]5 f  F$ g' ~- w' I1 h
  595. ; Example:0 J$ d- [) k( [, i  f6 [
  596. ;arg_separator.input = ";&"5 u' w$ C9 _# r

  597. & |+ ?$ d7 }! h& N/ V" c' ~' G
  598. ; This directive determines which super global arrays are registered when PHP8 G6 O8 H9 [- U% Y, o1 c
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 @! i. J5 H: K$ ?
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      k1 |' ?9 w1 [
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    : d/ \8 q6 P) {+ c7 ^
  602. ; used as the others, ENV is not recommended on productions servers. You7 O# [* F+ v2 }) T$ I) [$ c
  603. ; can still get access to the environment variables through getenv() should you3 M* j+ Z7 a1 T+ X
  604. ; need to.: A# P. J" _; i# @' E
  605. ; Default Value: "EGPCS"0 }, N: t; _: j/ [6 a* ~
  606. ; Development Value: "GPCS"
    " K- Z( O7 _/ G! A
  607. ; Production Value: "GPCS";
    ! |. R' d/ @5 s4 k2 r; u
  608. ; http://php.net/variables-order0 N! P# M  [4 E& {, d
  609. variables_order = "GPCS"2 L% X4 j4 G: E  E6 C
  610. 5 j# v- m" j1 p, ~3 f0 s. e, B
  611. ; This directive determines which super global data (G,P & C) should be
    4 b7 F1 k( y0 `. e0 F
  612. ; registered into the super global array REQUEST. If so, it also determines
    7 Z3 i; B" i5 ~
  613. ; the order in which that data is registered. The values for this directive
    4 C- g# O9 z/ u& s! p1 ?. m
  614. ; are specified in the same manner as the variables_order directive,
    " R# t6 I3 f& T) A3 G
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set8 H/ P7 s& e- p* r
  616. ; in the variables_order directive. It does not mean it will leave the super& u7 o' F/ [& V0 ~0 }8 ?
  617. ; globals array REQUEST empty.
    " o1 N' {2 W8 G! a: ]: h. T
  618. ; Default Value: None5 n" B4 {, p/ X1 A6 U6 O
  619. ; Development Value: "GP"
    # |& z7 ]9 d3 M6 R
  620. ; Production Value: "GP"
    4 g' I- w( N6 l, M: F
  621. ; http://php.net/request-order5 }% \1 F) A2 P. f
  622. request_order = "GP"
    & _' M; C' H# U. F9 H9 x2 n
  623. 9 `( \+ U6 p: [9 M; w0 o7 j
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    4 E, S) d' E; F5 q* c  Z! t" K
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * ]8 W5 W# Q% R; i& d
  626. ; is invoked. $argc contains an integer representing the number of arguments
    $ ^+ C0 u$ {' P$ E3 }2 v
  627. ; that were passed when the script was invoked. These arrays are extremely
      n: ]. n& i1 F/ @1 T7 q
  628. ; useful when running scripts from the command line. When this directive is
    - Z# [5 W# s: h' v/ p3 W. k* H
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    * B, Q) z; P9 U/ W' n; d, n& x8 |
  630. ; a script is executed. For performance reasons, this feature should be disabled
    3 l/ X, W8 Z) g3 x# C' `
  631. ; on production servers." g0 P6 s& l9 i
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 S. K+ C" ?4 k4 Q* P% l
  633. ; Default Value: On
    / {, A& F8 e  a9 x# ?
  634. ; Development Value: Off
    # L+ v0 i: K7 s
  635. ; Production Value: Off3 W( l: N2 }8 h
  636. ; http://php.net/register-argc-argv
    ( ^7 e( A- V8 ?  u
  637. register_argc_argv = Off
    : s6 `, }2 n+ f/ b# A

  638. 5 N9 G0 L# H# H+ B; B$ Y+ u
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% D, }, @$ d$ f
  640. ; first used (Just In Time) instead of when the script starts. If these
    . t3 |1 c0 K4 j  x8 F
  641. ; variables are not used within a script, having this directive on will result% A0 _7 h2 ~  T3 G, h+ @
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    : Z( n1 s+ k  Z3 H5 C
  643. ; for this directive to have any affect." e0 g) r: M3 f& {3 V; k: }2 M5 X
  644. ; http://php.net/auto-globals-jit9 S4 M$ h2 h6 ?+ z3 w! u0 W& d
  645. auto_globals_jit = On1 ~2 i0 m& H2 g

  646. * q# {! }$ f5 {
  647. ; Whether PHP will read the POST data.
    & w0 ?) i- D' a, h( Y6 ?
  648. ; This option is enabled by default.
    ' j3 M" x% y' E; p$ ]0 r. w5 _9 o
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST; L- U  a. u& U9 c
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 a' W) n( l) I: G& O( O4 w4 H0 Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful( m4 d  @" J9 d
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.2 K8 Q1 S# J* v* U8 }+ x# T
  653. ; http://php.net/enable-post-data-reading, m- Y- y' ]4 h% t2 l
  654. ;enable_post_data_reading = Off
    / H5 f5 X" v- q- h- j! g! _

  655. 9 J! ?: K  }5 L8 C
  656. ; Maximum size of POST data that PHP will accept.
    2 I, _! ~! x% b; J% T; C% |  h
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 q$ V# }, s# V6 @
  658. ; is disabled through enable_post_data_reading.0 Q& ^' o) c/ a% b; J; |8 h! W+ L
  659. ; http://php.net/post-max-size
    ; d" g7 Y$ P% S% i# E, p0 ~  F& t
  660. post_max_size = 50M
    ! T6 Q- |7 {( J

  661. 5 U( E% K, f- Y6 c( C! {
  662. ; Automatically add files before PHP document.
    , J8 j, P$ U# h/ G* G/ w% F
  663. ; http://php.net/auto-prepend-file
      u  U: i3 @4 j5 k
  664. auto_prepend_file =
    * L/ y0 T: a4 @

  665. + X5 o2 K: B# _! t) \$ l; N; v
  666. ; Automatically add files after PHP document.- T9 V6 [+ Z9 P  E9 c! G! U
  667. ; http://php.net/auto-append-file
    5 Z9 k. s$ M) G5 @
  668. auto_append_file =; a, D% r3 W. z# v
  669. 9 {0 R3 C( m, V# ]4 s
  670. ; By default, PHP will output a media type using the Content-Type header. To# f: R8 Z8 ?% c  ?' g7 p
  671. ; disable this, simply set it to be empty.
    ) v$ C8 M, N4 i# e9 ]( ], T
  672. ;3 m+ J3 A: O3 B
  673. ; PHP's built-in default media type is set to text/html.
    5 ?( m. }3 G9 [4 o2 \& i' P9 \& L
  674. ; http://php.net/default-mimetype* _( w+ @3 @+ x' `" ?/ r
  675. default_mimetype = "text/html"
    0 O4 x  V0 X4 b. `: S

  676. ) L+ F4 H" Z, Z
  677. ; PHP's default character set is set to UTF-8.
    0 }, T8 n, B3 U3 a; I8 P
  678. ; http://php.net/default-charset7 S- j9 H, R$ |& H/ o! j
  679. default_charset = "UTF-8"
    . V1 [- k$ Z3 R! t2 f4 p* @4 d4 @

  680. 9 c4 b& \" _6 {+ ~( U& l3 V5 u
  681. ; PHP internal character encoding is set to empty.
    , O- L$ H$ d- v% S
  682. ; If empty, default_charset is used.- t) f5 o9 }4 R) s
  683. ; http://php.net/internal-encoding
    % z; L3 p5 j$ B6 Z. C, i
  684. ;internal_encoding =
    2 \3 a# H0 Z; Q/ f( U

  685. * W: ?$ l4 Y% |8 B9 S6 Q& X' z1 q
  686. ; PHP input character encoding is set to empty.& C. e8 o0 U, ~. o9 C+ V' I
  687. ; If empty, default_charset is used.& u$ `$ W6 L5 }: f  _6 M
  688. ; http://php.net/input-encoding  ?( l3 ~1 f* U! g6 [  D* a6 S
  689. ;input_encoding =2 B0 @/ y2 C( H$ A9 M: G: n
  690. ; I) I4 V- m7 v1 m" y
  691. ; PHP output character encoding is set to empty.' D9 _; \) P0 C
  692. ; If empty, default_charset is used.$ y  S- _  B: J
  693. ; See also output_buffer.
    ; v) J7 g8 r7 }8 |% K
  694. ; http://php.net/output-encoding) L$ [& i. _' N% \
  695. ;output_encoding =+ I( J2 H  Z* ?* I' {$ d& z) {

  696. ( L5 @8 A" m8 V* [! V5 S( ~
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is* E( |7 j/ R& B( F4 n
  698. ; to disable this feature and it will be removed in a future version.8 {+ q* Q/ f9 ]7 l) {; A
  699. ; If post reading is disabled through enable_post_data_reading,
    7 s( ~7 x( Y% D+ d/ M8 Z
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.! b! Q+ ~, q' ^5 V: j+ q
  701. ; http://php.net/always-populate-raw-post-data
    9 K! b% p( O6 C
  702. ;always_populate_raw_post_data = -1' j3 T2 T9 K3 S4 c" w: ]0 B1 f0 v

  703. # ~1 \7 }% x0 j4 P, ~- E' Q
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 O7 U$ W) t& n. L9 Q
  705. ; Paths and Directories ;, R. T  q4 \9 w; E+ U9 T. n4 E
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
      a. v+ }) I1 ^) y' A; |
  707. / [0 [/ z% s7 h( n( f
  708. ; UNIX: "/path1:/path2"
    $ w- }7 K- e% E- J! P$ k- g# \
  709. ;include_path = ".:/php/includes"
    8 B! T/ u( V' M' E, @( u! P
  710. ;* Q1 i/ c% m& X# Y
  711. ; Windows: "\path1;\path2", C8 y) @. _- \. Y* y: P
  712. ;include_path = ".;c:\php\includes"$ G6 B! W$ z% m( G
  713. ;( Z5 G5 L7 c% w* a
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"8 r  K& e* e3 V7 y6 E2 E
  715. ; http://php.net/include-path
    6 w  U9 D) S. s: N

  716. " ^/ T/ X. ]6 Y
  717. ; The root of the PHP pages, used only if nonempty.: o) t6 \, u( P/ P8 E8 g
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, ^- ?/ `$ E; a* T
  719. ; if you are running php as a CGI under any web server (other than IIS)! f4 Q  j/ v2 ?5 f0 m& A
  720. ; see documentation for security issues.  The alternate is to use the
    ' ~5 X8 G/ n0 z  K. s8 @8 A- F
  721. ; cgi.force_redirect configuration below3 G( O. [- w% `! H4 e4 f+ C- p
  722. ; http://php.net/doc-root1 k  ^& h8 r; b3 G: [
  723. doc_root =9 o8 ^" w% `7 E; r

  724. 0 P% Z5 K# o! o! S/ u( \
  725. ; The directory under which PHP opens the script using /~username used only' k5 J1 _+ `$ ~  r; B, S
  726. ; if nonempty.0 ~. E" o0 X1 m( C) q3 y
  727. ; http://php.net/user-dir3 ^; [( ^; Y/ u
  728. user_dir =( q; M$ V, p0 W# Q2 b- p
  729. 6 D/ b8 {2 `1 C& M1 z9 p
  730. ; Directory in which the loadable extensions (modules) reside.
    ) q1 [' l; t& k2 [% j2 j$ O6 S
  731. ; http://php.net/extension-dir7 T7 A4 b. I& D' @" V. h
  732. ; extension_dir = "./"
    ( i5 k# x+ v0 G6 H
  733. ; On windows:
    7 G8 P4 p. a( ~! a' C! S
  734. ; extension_dir = "ext"* W2 O, K1 @( ?+ s" G8 g4 ]

  735. . S# f( {9 u5 z7 X2 z0 I
  736. ; Directory where the temporary files should be placed.0 S, {+ v! V) ^" [, a
  737. ; Defaults to the system default (see sys_get_temp_dir)9 J7 e7 ]- Y1 a, |! E) z( a  s
  738. ; sys_temp_dir = "/tmp"
    ) Z. F& E- i8 D* z9 T9 P

  739. " S8 K2 ]8 h+ H" ?
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    2 y$ f. M$ M* i% B
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ) D' s- e" P* r! R6 q1 i
  742. ; disabled on them.& d8 t4 l, `( K, X
  743. ; http://php.net/enable-dl
      o! M* w6 N& ^3 p$ T
  744. enable_dl = Off
    6 b+ Z" A; S) l

  745. 7 ^9 a: h1 }' b/ y
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 C1 F0 C$ @0 Q6 O3 F
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    / b# X. f+ `# T
  748. ; turn it off here AT YOUR OWN RISK& ~7 D; p% }9 h8 |  M
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( t9 p8 W7 Q. x- i) a! C+ `
  750. ; http://php.net/cgi.force-redirect' M% s5 r3 E+ [  R: f5 s
  751. ;cgi.force_redirect = 1; }$ g0 q% L" C$ L4 a9 p

  752. & Y7 \, C& M* ~/ M
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 C( H2 k% l: V  P  ^( J
  754. ; every request. PHP's default behavior is to disable this feature.  c0 c( S" N8 C2 s. x/ [
  755. ;cgi.nph = 1
    0 ?. F8 B% I7 F

  756. # |& a: n1 f1 i, f/ d# G
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape/ }) {( S4 k. u. s" D. i( I" ~$ j& i
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; Z: z+ t6 q0 \* K8 L- r
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 a8 G6 T$ _- d9 o8 T) Z) D8 z5 Z! R/ m
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ! f" F& z% g( Q) t: |, ?- m
  761. ; http://php.net/cgi.redirect-status-env
    . x; `9 w+ ?8 L% d* y
  762. ;cgi.redirect_status_env =& Z1 h( v2 y* c* E& r1 V$ M
  763. + Z- `' G+ F) a* y' c
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's- f4 Z9 `( F2 T
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; \2 f7 m# _6 ^; a
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 O/ u; w. r  J& n4 m! L
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, l" t* a2 G0 k+ _. R, U  Q
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts3 @- _8 F. q& K& ^% P5 ]
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.+ k) g9 P4 x' D; S2 R
  770. ; http://php.net/cgi.fix-pathinfo  _* z9 r0 `& a
  771. cgi.fix_pathinfo=14 X/ W5 L) S+ |

  772. 6 M; Y  r$ V; V  }$ A  L
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 t+ F8 m* p8 [
  774. ; of the web tree and people will not be able to circumvent .htaccess security.; g& U) Z3 G& A" c
  775. ; http://php.net/cgi.dicard-path
    / d# \0 n- L, J, _0 D
  776. ;cgi.discard_path=1- E" l( m( P4 A+ d. [" a* u; E
  777. 8 m  [) U4 {: O
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate) s8 p3 n. ^, W5 P1 ~) [
  779. ; security tokens of the calling client.  This allows IIS to define the* j, c& P6 P9 G0 C/ e. ^& Y( h
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    9 F# V; x7 F& h& C/ B! n
  781. ; does not currently support this feature (03/17/2002)6 z0 ~8 F% m6 V2 I7 k7 O4 s- f' u
  782. ; Set to 1 if running under IIS.  Default is zero.
    ) V1 M! d& X4 H% f1 y! Y$ u
  783. ; http://php.net/fastcgi.impersonate
    , h% \# F+ c2 v& [
  784. ;fastcgi.impersonate = 10 T2 o! c0 ^$ I( ]

  785. 8 D0 M! T9 L' |
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ u: ^- G3 o& @4 c# Z0 E
  787. ; this feature.
    & R4 p" f7 w" V2 b+ B3 x+ V
  788. ;fastcgi.logging = 0
    - Q5 F9 U- i" [
  789. 9 S. o9 ^* I8 ?
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; c7 f/ }, @/ a. R
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : A2 F  C; ^1 \5 K$ ~
  792. ; is supported by Apache. When this option is set to 1, PHP will send  |: w3 P' i4 ~7 @3 U
  793. ; RFC2616 compliant header.& I( F. Z1 f* ~  b9 P8 z: j! }! K6 b
  794. ; Default is zero.$ ^0 H; Y1 z( e* Q
  795. ; http://php.net/cgi.rfc2616-headers
    . p# h$ e2 |1 i0 B" c3 M
  796. ;cgi.rfc2616_headers = 0
    , u+ i) }$ D5 D0 t

  797. 0 H8 N: G; u9 c/ b
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 S$ e& |( @" U( C: R/ K3 K& e
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ' t3 s! A" _4 G# q" M
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 t! I; F. p; g9 H" D  b
  801. ; mode skips this line and ignores its content if this directive is turned on.5 g% W* f+ |) y) z, [$ ]
  802. ; http://php.net/cgi.check-shebang-line
    2 y, ^$ b& U( I
  803. ;cgi.check_shebang_line=1
    ' q2 X- D  b3 X$ N7 O$ G
  804. 0 T! s  S( T/ Q! F4 M" A, Y
  805. ;;;;;;;;;;;;;;;;# W  y1 C5 i- |& Y8 j( R" H
  806. ; File Uploads ;
    ' r- f9 ~" f+ _* |2 `7 J
  807. ;;;;;;;;;;;;;;;;& U( c2 f* \( Y1 r" ~$ d

  808. ' S5 y) f5 ]' B6 n8 X4 O
  809. ; Whether to allow HTTP file uploads.
    3 x1 V# o  T+ z6 L* V
  810. ; http://php.net/file-uploads  N! N" ~+ T  W/ I8 O' ?! ?
  811. file_uploads = On/ r! ]3 R* E4 s+ Y" p$ }
  812. # s" q- w$ @7 |4 l3 |% e
  813. ; Temporary directory for HTTP uploaded files (will use system default if not) u; c/ A& E. Q, n
  814. ; specified).
    3 E) Q/ }; w0 J8 }( \/ p
  815. ; http://php.net/upload-tmp-dir. F7 u& D$ q3 ?. l, U
  816. ;upload_tmp_dir =# T7 c2 O# y- V2 V8 @

  817. 0 q- o: e8 G0 }) R3 z/ v
  818. ; Maximum allowed size for uploaded files.! ]8 o" X$ o) L
  819. ; http://php.net/upload-max-filesize
    : r2 Z; K/ m/ L! m! X& W( E
  820. upload_max_filesize = 50M
    0 I- k( @- R3 n4 m; Q/ k5 K8 l, n3 G
  821. : @5 @, l7 F& P
  822. ; Maximum number of files that can be uploaded via a single request
    2 q/ x2 D: J/ @& f1 Q" m
  823. max_file_uploads = 20' U1 W& l$ X8 J7 D  V

  824. ( f6 A2 ~2 Z' c! g, A
  825. ;;;;;;;;;;;;;;;;;;- ?/ D; g2 K1 f
  826. ; Fopen wrappers ;
    * c$ i0 t1 j7 ~; U% C
  827. ;;;;;;;;;;;;;;;;;;
      {8 Z5 \0 D, w' U- _1 i' f1 s
  828. 3 t* B" ?3 v" W" E. ~
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    - g$ a2 e! e4 q9 v. Q0 Y6 h. I1 r
  830. ; http://php.net/allow-url-fopen
    " S5 N/ C1 w7 ]# J8 C. `- Z
  831. allow_url_fopen = On
    9 Q1 W) L4 t- |! |/ z2 I' Q) }

  832. * i: X2 @/ l  |2 Z5 Y) ~2 d$ ~
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. A# @0 d: V; K/ f4 P! c
  834. ; http://php.net/allow-url-include- X$ S( }  ^3 F1 n
  835. allow_url_include = Off
    3 R6 P3 \4 Y- e# B8 R

  836. . c& _( A: M0 F3 R* J
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    : ^5 J. P" m' S
  838. ; for this is empty.; @6 G% U4 `3 Q( `/ m
  839. ; http://php.net/from% y3 {  D& n' |% l
  840. ;from="john@doe.com"! j! w- |5 b, W! q
  841. 4 o4 B4 g0 t0 o1 j
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    % v2 {7 S8 r/ ~3 ?0 i
  843. ; http://php.net/user-agent) T! ?' c) H' f+ R
  844. ;user_agent="PHP"4 F* x, y* e2 o8 F4 d1 j- q
  845. & ]% K2 S' T6 W
  846. ; Default timeout for socket based streams (seconds)
    & p3 Q, n* ?/ V6 M/ D7 |/ h: P$ y. }
  847. ; http://php.net/default-socket-timeout
    8 E/ H  P& a- Q. n) }
  848. default_socket_timeout = 60/ ?& T  y  h9 u& D- s

  849. 2 d- x% y9 U& F+ b$ Y
  850. ; If your scripts have to deal with files from Macintosh systems,  o$ w6 p! o  @* m. D
  851. ; or you are running on a Mac and need to deal with files from
    ( Z  r, e: B5 `) L' T
  852. ; unix or win32 systems, setting this flag will cause PHP to+ U% Y" a  p" s& T8 H
  853. ; automatically detect the EOL character in those files so that/ f9 \2 M0 B5 E6 o
  854. ; fgets() and file() will work regardless of the source of the file.1 y- t# e& ~9 {' T  t0 H
  855. ; http://php.net/auto-detect-line-endings
    # K# p* U1 x6 }
  856. ;auto_detect_line_endings = Off, @4 G. l/ p0 I, z* c  \2 c

  857. 9 w. p# F( z, m8 e3 q! D! u
  858. ;;;;;;;;;;;;;;;;;;;;;;; s0 n" P2 u% Z2 w& r# F5 I% ]5 ]
  859. ; Dynamic Extensions ;" X! m  I! P9 b( {
  860. ;;;;;;;;;;;;;;;;;;;;;;
    $ i" I! O; M" |% Z2 d/ f; h

  861. 0 S! N. w2 A* L! m# ^  ]1 @
  862. ; If you wish to have an extension loaded automatically, use the following
    + X) B' C4 X* T! p- t
  863. ; syntax:: W# `) d) X5 f4 O4 j5 u
  864. ;, g3 S' x) r6 o# m$ F: u" d2 d
  865. ;   extension=modulename.extension
    & s7 f$ h# H1 Y7 x  [
  866. ;% O6 u3 J3 A: K
  867. ; For example, on Windows:
    + v# W* ]' F2 f
  868. ;+ c8 e" T& a$ M5 Y' ?
  869. ;   extension=msql.dll: [3 N2 Q% {, K" u; s+ t4 G/ J  F, n% A
  870. ;
    : O+ D# c$ y7 `2 f
  871. ; ... or under UNIX:
    3 e4 h* d5 p( {9 }( J8 l: I( ]
  872. ;% @* n1 e: S. ~  j8 l
  873. ;   extension=msql.so
    2 f$ A6 b' {3 L  r
  874. ;
    ! _+ Q6 U+ N. A, Q; a6 F0 q( y" O" R' P
  875. ; ... or with a path:
    $ w* q5 i7 l4 J( T) c/ U0 T
  876. ;
    6 Y: o( C' a" _
  877. ;   extension=/path/to/extension/msql.so
    ) G- H& }/ i2 D( F1 C  U$ k
  878. ;
    - M( i; o% S0 D! U. q5 |
  879. ; If you only provide the name of the extension, PHP will look for it in its" ^# b  V" K; H5 }# n6 A; r! U
  880. ; default extension directory., H3 X3 g8 x8 ^, W' `" B; }
  881. ;
    , T9 y. H. @2 A' N5 P
  882. ; Windows Extensions- w& K0 _) V  I% C% V, P
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) L- ~8 f% y) z/ H' h5 Z. l
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)$ G/ R& C; G9 P: u9 e& {% g
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    8 {7 z- C+ X* z) W
  886. ; Be sure to appropriately set the extension_dir directive.
    ; d5 `; T+ P" C4 \- Z/ G. w3 |& A
  887. ;+ V5 {' B0 P6 }# E- k
  888. ;extension=php_bz2.dll
    - y* g/ A! o: j( A( l3 _0 m# i: F# `
  889. ;extension=php_curl.dll( z2 \% T4 R+ ]
  890. ;extension=php_fileinfo.dll
    ; _  t! U; p; c
  891. ;extension=php_gd2.dll
    - h2 D5 z" e" }1 [$ T
  892. ;extension=php_gettext.dll9 ~" n& K4 o4 Q: c9 O. ~
  893. ;extension=php_gmp.dll
    - W7 R+ Z0 `( x( m& ?7 {
  894. ;extension=php_intl.dll/ b& ]4 O* @+ Z4 O
  895. ;extension=php_imap.dll
    ' I& [3 Z0 m+ G" L
  896. ;extension=php_interbase.dll" {- U! N  \& y
  897. ;extension=php_ldap.dll4 s2 F$ t/ j+ A$ A. P/ i$ x
  898. ;extension=php_mbstring.dll
    ( f: E- J5 T3 g. D" P4 F- r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it0 S8 D5 ], C& Z6 q* E
  900. ;extension=php_mysql.dll
    ' S( s; d/ e3 P2 ~* P
  901. ;extension=php_mysqli.dll
    1 \! k6 N: h7 l/ M" _) O" a3 V/ K6 q6 C
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: N& T8 O2 p2 {4 v- W" E# j
  903. ;extension=php_openssl.dll
    $ T2 f" j9 s; d2 x" T
  904. ;extension=php_pdo_firebird.dll
    ! E& y6 u$ ?, e) B1 P* v
  905. ;extension=php_pdo_mysql.dll  A6 y- P) V# V1 G4 y( h
  906. ;extension=php_pdo_oci.dll1 l' i" V7 ?" D- {% J) ~
  907. ;extension=php_pdo_odbc.dll
    - k3 R- d- Y8 B' n3 e9 z0 c
  908. ;extension=php_pdo_pgsql.dll
    # ~- ^+ t" w7 r& |3 |4 E- u
  909. ;extension=php_pdo_sqlite.dll
    8 f7 B8 x% O* _" \4 g
  910. ;extension=php_pgsql.dll
    8 W0 j: B  X! k$ x  Y
  911. ;extension=php_shmop.dll' }9 L  Z( P+ Q) D' H7 j( ~/ E
  912. + ?! Z3 V) c) }  C
  913. ; The MIBS data available in the PHP distribution must be installed.
    ! i1 F5 B% N. t* q( d6 N& K
  914. ; See http://www.php.net/manual/en/snmp.installation.php . f5 f, A. m8 R$ F4 A7 e
  915. ;extension=php_snmp.dll
    1 a* h2 q8 [1 H4 b

  916. $ |, ~3 \$ R" j$ b% s1 }% m
  917. ;extension=php_soap.dll& K" E( c" ~1 C- o0 q# n
  918. ;extension=php_sockets.dll
    & J& G/ J4 n. ^+ y* k* \  H
  919. ;extension=php_sqlite3.dll
    & A- e: {! y3 s- L/ J1 w. c/ s
  920. ;extension=php_sybase_ct.dll
    : X3 g! Y" q  _+ H+ a: ]- I9 |8 _! a
  921. ;extension=php_tidy.dll
    % _  r1 T7 v8 \/ @, n+ _6 T
  922. ;extension=php_xmlrpc.dll
    , T0 w  v( B! J/ k8 ~
  923. ;extension=php_xsl.dll
    / |! b2 {: n3 T8 @; y' R

  924. 4 f2 c  B$ h% A. f4 c
  925. ;;;;;;;;;;;;;;;;;;;
    6 D2 b* K( |3 N/ `& `; Q5 L
  926. ; Module Settings ;
    + X* G1 G) u5 c/ r# g- ?' ?
  927. ;;;;;;;;;;;;;;;;;;;
      x( i/ H% t" Y! U9 J1 r2 _

  928. 6 O) I) k6 c( X- z! I9 C
  929. [CLI Server]
    % g, y8 b/ F0 Z/ D1 h
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    + c* M" f1 \2 v' K4 |7 p' z7 p: F
  931. cli_server.color = On) A  w; F. b) j% n1 K

  932. , k3 L1 {3 w; h: Q$ D
  933. [Date]
    * \( @9 t1 ?2 P  I# b- q. J. P
  934. ; Defines the default timezone used by the date functions
    # f8 s. T: D" o. E' l
  935. ; http://php.net/date.timezone
    3 C: N# v) n( u
  936. date.timezone = PRC
    1 T. c5 ^9 U2 |
  937. # w9 M. O% e, s
  938. ; http://php.net/date.default-latitude; ]" B- u3 s" d: B8 I! L
  939. ;date.default_latitude = 31.7667# c& Q7 V* }# e' y9 ~

  940. ' t2 M! I. z6 Z' q' F, E
  941. ; http://php.net/date.default-longitude
    " z: j% N* V6 ^0 l
  942. ;date.default_longitude = 35.2333
    4 p: k5 d7 I% E! E

  943. ( c5 @! z. C. l: J4 \
  944. ; http://php.net/date.sunrise-zenith: e1 B1 O  f# v  R; O) P, X+ z( |8 a9 P
  945. ;date.sunrise_zenith = 90.583333# g9 T$ R0 j7 v

  946. , H$ v' M# K1 U# r. s
  947. ; http://php.net/date.sunset-zenith: O& Z9 n' T* L5 F
  948. ;date.sunset_zenith = 90.583333
    0 u8 @" h2 e7 f/ u% m
  949.   Y# w/ U5 S) g3 o8 I. `+ B. ~8 T
  950. [filter]
    ) s2 C: }# x( ^+ Y5 D
  951. ; http://php.net/filter.default
    * {0 S! d3 Z* j5 p; f
  952. ;filter.default = unsafe_raw
    " h8 v! E) w% F$ i. u4 Z

  953. 3 u1 g+ P* Q* e% y
  954. ; http://php.net/filter.default-flags
    0 h% Z! f2 O3 a0 _$ z9 T2 p9 {$ {
  955. ;filter.default_flags =
    * k9 Z1 b! G4 [2 N0 Z
  956. 1 V+ K3 D. @' I- K
  957. [iconv]5 K3 a/ I8 m; s5 O0 S
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.* t( k2 T3 F( n9 E: F' w
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % r+ o; i: n2 T# ^, t
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# L+ L) `# \% t2 j: p
  961. ;iconv.input_encoding =6 U1 U6 s* M0 ]0 K$ u% w7 l8 U

  962. # d. c. P1 `: e  E- Z& g: A0 _' A
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + w* T  o7 ]0 d. P* W5 W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 K/ D# j% j7 l& V: J
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . n6 A' k2 H. W! t2 A) u% c; o- }
  966. ;iconv.internal_encoding =
    . u* \, J8 m0 Z% b5 m% D, {
  967. 8 }9 Z# {, n  p6 Y: ~
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / ^% Q$ x4 U& `& ]% z$ ~
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    8 Y4 @4 W+ a7 d
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding# P& }" C; b- f
  971. ; To use an output encoding conversion, iconv's output handler must be set! _: ], }$ N7 J/ O
  972. ; otherwise output encoding conversion cannot be performed.3 Y  p7 i  c7 P7 M9 M* @; s" k
  973. ;iconv.output_encoding =& d7 k2 ]% T; V3 [. H. t" Y; J+ w9 K
  974. . W+ N9 `* K7 p4 k: q6 c; j
  975. [intl]* F  \# T4 Q( \; U
  976. ;intl.default_locale =
    , Q! d0 n+ N  ^9 V) H2 Z8 b
  977. ; This directive allows you to produce PHP errors when some error8 v6 d+ ~9 ?2 B, J
  978. ; happens within intl functions. The value is the level of the error produced.# d( {& A9 ]/ |* M
  979. ; Default is 0, which does not produce any errors.
    $ h, I4 X/ @' {1 }" n1 F( }$ K7 B6 i
  980. ;intl.error_level = E_WARNING* d7 Q$ T& o1 J" P) J1 G0 W
  981. ;intl.use_exceptions = 0! v; E  T5 E4 B7 \: E9 ^0 _
  982. 2 }  i- y) A6 m; a1 F
  983. [sqlite3]
    $ d; i. l. t% R( b* F- j3 v& G: m7 g& H
  984. ;sqlite3.extension_dir =; P& Y; k9 t! s9 G3 q  C

  985. / T, R' Q; ~" k* i# \
  986. [Pcre]
    : p" j8 M, J( L# c- t$ P) _+ G
  987. ;PCRE library backtracking limit.
    ! {/ ?5 d, Y) {0 r  H  ]& y6 \& x9 x
  988. ; http://php.net/pcre.backtrack-limit& ~/ g3 r0 o  m4 E, Z
  989. ;pcre.backtrack_limit=1000007 E$ V6 H; l+ v8 I, N+ m  o# h1 A

  990. 2 G2 F2 @# z8 y7 K5 S5 d
  991. ;PCRE library recursion limit.' J9 k" u9 @" n7 ^. u
  992. ;Please note that if you set this value to a high number you may consume all
    7 E& n+ q9 c) a+ q$ Q
  993. ;the available process stack and eventually crash PHP (due to reaching the; I6 Q' S0 Z' O4 _$ W4 m( A5 u7 F& l
  994. ;stack size limit imposed by the Operating System).$ Z0 C, O9 t  Y; X) o4 H( n# Y
  995. ; http://php.net/pcre.recursion-limit
    3 p' F" S% ?8 n2 b* W) _/ c
  996. ;pcre.recursion_limit=100000; n9 I/ |6 m( v4 k) j

  997. ! N) a! [' J. f. N/ V
  998. [Pdo]5 g) z( u- l& w7 ]* w: t6 y
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"4 ~/ Y) R$ O8 Q$ C
  1000. ; http://php.net/pdo-odbc.connection-pooling& Z  V) w1 j; r- }2 c0 O
  1001. ;pdo_odbc.connection_pooling=strict
    / c; m0 c) s5 g+ Q) h, [/ ~
  1002. ; Z4 {: A  Y5 C/ X2 g7 X3 \
  1003. ;pdo_odbc.db2_instance_name$ K/ s5 P6 N4 f% v$ g/ e$ j0 G0 w& y

  1004. " z+ Q$ b% O& ^
  1005. [Pdo_mysql]
    * s5 i7 P% q- q( |* G1 B" d
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache. l2 H$ a, v& d. y( b, I; F
  1007. ; http://php.net/pdo_mysql.cache_size7 W! @: V" e+ M( U. F. U
  1008. pdo_mysql.cache_size = 2000! T+ T/ a. A* B; G* R7 P
  1009. . R$ r2 ]5 L/ d+ i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / B+ V) I( q, j7 G! o
  1011. ; MySQL defaults.- H. D$ S2 G0 T( q, b2 z
  1012. ; http://php.net/pdo_mysql.default-socket
    ! i# h8 ^; T5 p3 I0 ^6 {' g2 x
  1013. pdo_mysql.default_socket=
      o7 i: u! Y2 m; u7 g
  1014. - e( Y1 G6 @% J( w5 b  w
  1015. [Phar]
    9 i! ~0 ^2 I, ~# k% C
  1016. ; http://php.net/phar.readonly
    * a- I5 I- J" l3 \2 c5 O
  1017. ;phar.readonly = On
    " k+ }! Z" G" m6 z( Q9 d* ]! V
  1018.   s- O6 Z7 T% d, u: ]
  1019. ; http://php.net/phar.require-hash+ O: t3 l# q: N% g, [
  1020. ;phar.require_hash = On# M$ W( t* g% a9 y9 A0 [
  1021. $ c+ J1 V2 j, \" H) b/ J
  1022. ;phar.cache_list =
      Y6 E! v, ~$ ]1 q3 V
  1023. ' k. H/ A, ^" K2 _$ a+ P
  1024. [mail function]
    & L& |" }/ S( E& z; o# |% F7 s
  1025. ; For Win32 only.2 p! E/ o2 Q# }; }+ S4 d
  1026. ; http://php.net/smtp( e, f0 m2 H) K! f+ u' {
  1027. SMTP = localhost; l) T0 [3 m6 D7 F
  1028. ; http://php.net/smtp-port; m$ D9 n7 m% T& `
  1029. smtp_port = 252 b  O; a/ R. ^+ F& n9 U. d

  1030. + ~4 E' U' K5 `7 u; r% }& l
  1031. ; For Win32 only.! \3 h( V  c- i* j( [
  1032. ; http://php.net/sendmail-from! |2 S( O/ U& v& e" [. E& E1 ^: o4 Y
  1033. ;sendmail_from = me@example.com$ A8 C7 W9 j8 _7 y# i% z1 W
  1034. : v  ?* c7 u# [
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - |$ m& |8 m5 l2 C+ W
  1036. ; http://php.net/sendmail-path
    ; P4 S: {5 R9 L. u
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 I# g. {: y6 `( d
  1038. 8 y9 H: d. b( K* [/ P
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    9 ^) a% s. ?& t; _/ ~- o
  1040. ; to the sendmail binary. These parameters will always replace the value of
    + h8 D- h& X6 N* G: ]% S
  1041. ; the 5th parameter to mail().
    9 J; x* U1 ]4 M# g& ^9 A) m% i
  1042. ;mail.force_extra_parameters =: Y, q. T4 q/ \! t

  1043. - L9 T3 I% m# W
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: ~$ e0 @* d- `! W: C+ ]) `
  1045. mail.add_x_header = On
    , y0 X* t! f7 S6 Z

  1046. . J; }. T% D- [
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    4 N& p1 [$ X6 W, b8 I3 Q' w
  1048. ; the full path of the script, line number, To address and headers.: Y# D" w+ P: v, n. N% A3 v
  1049. ;mail.log =! S: a6 v' b# P
  1050. ; Log mail to syslog (Event Log on Windows)./ N% U6 f/ b+ Y0 |0 ]
  1051. ;mail.log = syslog
    5 p; [# ]+ ^# F" a$ U4 v: D5 @

  1052. ) w1 ]' }, N+ N( a
  1053. [SQL]4 t6 r* Z" y/ ^1 i4 h" B% m
  1054. ; http://php.net/sql.safe-mode
    - ?+ J) A( E$ Y' W$ q2 i! E+ \
  1055. sql.safe_mode = Off
    / f! G0 N- ?0 ~6 A0 u

  1056. 8 `; m5 a5 w9 |# o% t0 ^9 \  |) i' B
  1057. [ODBC]
    1 \# D& H6 s5 i) v
  1058. ; http://php.net/odbc.default-db& j; ^  M& g3 n4 X( x
  1059. ;odbc.default_db    =  Not yet implemented
    / }: z% d' r) h2 u& I  _$ b  G
  1060. ' {8 v# h. Z& ?& x3 v
  1061. ; http://php.net/odbc.default-user
    4 z& u; k( Q3 }! x8 X/ k) c
  1062. ;odbc.default_user  =  Not yet implemented% N8 r3 G1 a" ^
  1063. # s8 g( c" Y) p! w
  1064. ; http://php.net/odbc.default-pw$ d1 K* m/ k5 @: j& ^7 ~
  1065. ;odbc.default_pw    =  Not yet implemented
    ! R' o" x) P3 [# X/ W& Y; J6 z" H
  1066. : a  X9 \: x; a5 b& D' u# v& ~! Q" i" w
  1067. ; Controls the ODBC cursor model.2 F; {3 i4 [; `
  1068. ; Default: SQL_CURSOR_STATIC (default).: T& k8 t4 x! y% N- m! `! J$ ^
  1069. ;odbc.default_cursortype7 ]  ^8 k2 t1 ]4 T

  1070. ! l+ f* h7 s9 n, Z2 W
  1071. ; Allow or prevent persistent links.; l) [. X, b- {. A9 m3 \
  1072. ; http://php.net/odbc.allow-persistent
    7 D& H5 N1 U+ X* t8 Y
  1073. odbc.allow_persistent = On
    4 a2 i# ?+ W$ S

  1074. ; g5 E% f$ a$ C6 ?4 [2 d8 K  \- t; r
  1075. ; Check that a connection is still valid before reuse.' I- Z  B/ X9 t$ [# _4 C* j
  1076. ; http://php.net/odbc.check-persistent
    7 j8 m1 a$ e  W2 o* k8 A( K
  1077. odbc.check_persistent = On
      p- E$ K5 `, ~) }1 e
  1078. ; c3 c- \" a% U0 |  g7 v, J; x
  1079. ; Maximum number of persistent links.  -1 means no limit.) T0 S9 C) E/ h( U7 C0 ]8 f0 M" }
  1080. ; http://php.net/odbc.max-persistent
    " m7 |* m  B  D4 K( O5 v: H
  1081. odbc.max_persistent = -1& j) Z# Z& @6 S, d* c
  1082. " w8 y+ V/ ]0 }  W. y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ m6 J, ~0 O/ M' ^  Y
  1084. ; http://php.net/odbc.max-links
    0 J: Y3 E, [7 S* f& o/ w. q
  1085. odbc.max_links = -1
    : S1 @5 W  U3 _' a, l* D  ~* U

  1086. ; Z6 N9 R, m* ?$ u3 ?
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    5 K$ x! S0 t1 ^! n! p: ]  O* u
  1088. ; passthru.5 a% j" Y' J3 E; ?, }- m) E0 c
  1089. ; http://php.net/odbc.defaultlrl+ n: c- x7 S! y7 A
  1090. odbc.defaultlrl = 4096! _2 y; z; Z; D2 o# c* c1 o6 T

  1091. ' B7 [, F. j3 H8 w. p6 f5 E
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 U  s( D! P) j2 t) M1 V
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    * G: k+ [; O- T, _4 D: H
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode7 Q1 F& O- q8 @. y& C
  1095. ; http://php.net/odbc.defaultbinmode' o: k* \, G0 t$ d" j8 f+ t
  1096. odbc.defaultbinmode = 19 e5 U' ?: \2 P3 h
  1097. ' _5 ~( O5 J4 k) L9 X% p
  1098. ;birdstep.max_links = -1
    . }3 p' L' i; W8 @0 S
  1099. ! K+ h" O* T& v, y2 o( H' ?% f
  1100. [Interbase]
    , C. m+ |+ r! }
  1101. ; Allow or prevent persistent links.4 T* b& k- S. ^% q/ v5 L
  1102. ibase.allow_persistent = 1
    . L# D  |, `) f5 I* ~2 X- B
  1103. + a. A+ [% p3 O3 F) ^' _6 S
  1104. ; Maximum number of persistent links.  -1 means no limit.  ~* m% M/ k5 W1 Z
  1105. ibase.max_persistent = -18 p, I, F4 g. Z# R3 b% x4 s

  1106. ' j! g, S. c  y9 ^. w$ F
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 P# J. N! D& H- z* i! F: W
  1108. ibase.max_links = -1* Q7 e1 M" D8 I- A$ w) z

  1109. 9 {5 D% P! t; }' s( G! `
  1110. ; Default database name for ibase_connect().7 J3 e7 ?3 }" y- H' Y) i0 q
  1111. ;ibase.default_db =
    6 \( r+ E8 N) p  v8 u; p

  1112. / P4 g% z' ?- z; `& U8 `6 @, k
  1113. ; Default username for ibase_connect().. z5 H. C' v' N
  1114. ;ibase.default_user =
    0 b/ s2 H5 \  O6 g, C

  1115. 7 a  d; n5 m; _6 I  T
  1116. ; Default password for ibase_connect().
    . H/ P: I0 `. y( m* z7 j$ K8 g
  1117. ;ibase.default_password =0 i0 L6 v6 j1 w! E5 e) I
  1118. 1 |- ~& B9 g' |
  1119. ; Default charset for ibase_connect().
    - s" u( P' ]8 D) F& k
  1120. ;ibase.default_charset =2 Z; E; F; S) C
  1121. & l4 b+ B2 r: ~1 e7 s6 _
  1122. ; Default timestamp format.
    % ~# {9 L2 L. U& C
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"8 V. a; b. r& K* e

  1124. / J0 ~: K" W" x
  1125. ; Default date format.7 ]" }9 k/ h9 u( ^* `8 o
  1126. ibase.dateformat = "%Y-%m-%d"; u! ~, y  w5 W

  1127. / Q, f8 _0 j5 m+ S/ g
  1128. ; Default time format.+ e5 g* J  a! x% I& U4 q
  1129. ibase.timeformat = "%H:%M:%S"
    1 s% n+ Y2 t# I; e+ H

  1130. 4 t8 h; t  j6 t% A3 _. s
  1131. [MySQL]. S6 f# V0 L( ^& d
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      B) \# M( Q7 B& E  L* I
  1133. ; http://php.net/mysql.allow_local_infile
    & s1 V# w7 A6 q" {: G7 _
  1134. mysql.allow_local_infile = On
    2 k% {# _9 y6 b2 i3 t. }  T
  1135. ' E7 [; D0 o# s. k
  1136. ; Allow or prevent persistent links.; H: j! |" P2 [- ?* W
  1137. ; http://php.net/mysql.allow-persistent5 H* l+ `/ A' O1 V
  1138. mysql.allow_persistent = On- i) c1 h4 a& s  N/ k' d' {

  1139. ! _: ~) N% W) z4 {+ P( M! }' A8 o
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 ~6 q  i/ I# y
  1141. ; http://php.net/mysql.cache_size
    & r: \# T/ {( l
  1142. mysql.cache_size = 2000# M& B. R& a2 y* E6 R

  1143. - m: k8 b1 l; Y( r3 }
  1144. ; Maximum number of persistent links.  -1 means no limit.4 y" c! }( u7 U4 P
  1145. ; http://php.net/mysql.max-persistent
    $ v# G5 \$ D. J6 ?
  1146. mysql.max_persistent = -1
    % t  x- k. ^! Y2 P9 X4 h" V
  1147. ( t  r! e* c! o  G- E' V) e2 {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      }' `# z( y& t6 I/ B! {, b' b+ U
  1149. ; http://php.net/mysql.max-links
    + e# C+ E8 }! {5 Q
  1150. mysql.max_links = -1
    2 b) d. }. O) b

  1151. 1 q: I* z5 V9 r, O/ i* E* e  y6 M
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use$ \- Z; i* k" X6 w) U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # \. Q4 ^. _0 U# ?  O
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 }& L) }2 U1 z7 {$ I+ T
  1155. ; at MYSQL_PORT./ V& W& G3 W- n& _3 e
  1156. ; http://php.net/mysql.default-port
    / v1 Q6 o& |8 A! F+ ^: ~& N
  1157. mysql.default_port =, Q/ q5 W, x& T3 K& `
  1158. ; J  x. a. l/ N9 g! i
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 ]5 g: \5 h5 p- ]- o
  1160. ; MySQL defaults.
    2 W8 @- h0 e5 n; Q: x
  1161. ; http://php.net/mysql.default-socket+ ~4 a, Q. S- O( r
  1162. mysql.default_socket =$ s7 Q! g' @9 ]( f1 K, W
  1163. # `# z2 [, _+ p) H! {- R- X
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).% G2 Z- l6 ^* u$ m$ Z. Y
  1165. ; http://php.net/mysql.default-host+ P+ F% S+ Q' C
  1166. mysql.default_host =1 V  j- e+ p/ {

  1167. ' R" w, ]1 B: Q) }4 R' `/ [, Y
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).$ R, r) s" m" b) u5 H
  1169. ; http://php.net/mysql.default-user
    6 u3 y: [8 n+ M5 x/ n/ m
  1170. mysql.default_user =/ r+ k! b3 f- `9 m* _; ?

  1171. 4 f. x( c; C* s# C2 D7 t
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 C5 _% {: L( S" `8 ?9 g& a/ B4 |
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 M  ^7 J! S8 u( J+ J
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"), K7 m1 K$ o# o* b' N
  1175. ; and reveal this password!  And of course, any users with read access to this
    : v0 j! ?- l5 z0 I8 f
  1176. ; file will be able to reveal the password as well.+ K2 k- |* n! E) h" T
  1177. ; http://php.net/mysql.default-password/ J4 H8 |. {' f( Y
  1178. mysql.default_password =7 C0 o9 ^. R' _3 }
  1179. " p, _! l" a' U6 ]* d% ?8 a4 E
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit3 }' P  p' x! u$ \9 g, ?
  1181. ; http://php.net/mysql.connect-timeout1 X) v6 C1 n* l' n3 s
  1182. mysql.connect_timeout = 60
    " f$ h; @# Q# e

  1183. ) |9 Q0 b% k0 x
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and2 ~- G7 l4 Z; `  m
  1185. ; SQL-Errors will be displayed.
    2 |4 C( K: v! V8 O6 v# x+ g
  1186. ; http://php.net/mysql.trace-mode
    " _9 T+ B: d" m0 V, d4 E: y# R
  1187. mysql.trace_mode = Off
    . U3 j2 s5 Y7 q! R6 v6 H
  1188.   _+ f$ S& K. f4 Z1 q0 f* G3 _
  1189. [MySQLi]/ C1 o3 v1 s8 D# [# f
  1190. 9 @" y% F' v. _% |$ v0 ~# v4 m
  1191. ; Maximum number of persistent links.  -1 means no limit.
    1 c& Q% F% M! t! b* p, z5 C
  1192. ; http://php.net/mysqli.max-persistent8 d- X3 E  w# h  T) b: b0 r' d
  1193. mysqli.max_persistent = -1  C1 n7 z5 M. u* n, ^3 l  r2 C% N2 P
  1194. $ a% ~  G: }1 F# B: s( {5 N
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 h) e* K' z- F* A4 r
  1196. ; http://php.net/mysqli.allow_local_infile9 v( M8 P2 R- X2 f, s
  1197. ;mysqli.allow_local_infile = On4 y$ i, j% z2 ^# x" D/ _4 B

  1198. 0 c4 W8 d+ H9 w" b6 [
  1199. ; Allow or prevent persistent links.) t% F6 c- f+ j. L3 p2 ?$ d6 f$ G
  1200. ; http://php.net/mysqli.allow-persistent
    0 a5 m0 k. A( k6 j4 A
  1201. mysqli.allow_persistent = On
    " G7 a" x* B# s  P  ^, |3 p

  1202. 6 U  o! g( |4 H; Q" N( a5 @
  1203. ; Maximum number of links.  -1 means no limit.# X& C4 R& U$ S# D
  1204. ; http://php.net/mysqli.max-links5 O4 x: l, A( F6 E
  1205. mysqli.max_links = -14 M# {2 l2 n( ?2 m) ^

  1206. ! Q/ _9 n6 E; e  Z& r8 n
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . a: ]7 S2 W6 P2 ^( @( N( `7 D
  1208. ; http://php.net/mysqli.cache_size
    8 \1 J) }8 c. V) J/ V
  1209. mysqli.cache_size = 2000' L1 N2 m7 V& P/ t3 o( U; P
  1210. # n3 R8 Y; U: J0 N6 H
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 N& Q& M! D$ b" d
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + h% ?2 X( @+ i2 m, d: p& i
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- l8 m& m3 |5 k* K1 W. s) k0 x
  1214. ; at MYSQL_PORT.
    3 a7 w/ o7 B' ^% l
  1215. ; http://php.net/mysqli.default-port
    ( ~. f/ A# X6 R6 E2 j/ W5 D
  1216. mysqli.default_port = 3306
    2 V7 K  O& Y  F! c8 b! K0 q3 R) k" _
  1217. ) I* S1 I1 [) G8 {' S
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 W) A, j" [1 \
  1219. ; MySQL defaults.7 j  [% [* f5 j. Y
  1220. ; http://php.net/mysqli.default-socket2 b& P3 @& G# }
  1221. mysqli.default_socket =
    : F/ c9 ~) I6 ~

  1222. 5 ^4 i7 }9 \& t# H
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).. K% u1 g! s5 s. ?! d2 u1 L
  1224. ; http://php.net/mysqli.default-host
    1 W' r6 L" c! E: r- |) \
  1225. mysqli.default_host =
    " H( e2 A, V* o3 O& z4 x
  1226. 2 w3 k, w" @! T
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).: P' q. _2 ^; _" h+ U
  1228. ; http://php.net/mysqli.default-user4 I- z' D- r% q7 N* X
  1229. mysqli.default_user =9 Z+ t/ ?2 }7 V& R, r9 O+ P
  1230. 8 G: C* G/ |6 J: E% O2 \! _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ }/ X$ G8 \: h9 @7 s
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( q, t, m' ~5 v$ x
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 ]3 e$ l, @- ^  E& B8 z
  1234. ; and reveal this password!  And of course, any users with read access to this0 D# e, c; M0 D* N* \
  1235. ; file will be able to reveal the password as well.
    & ?" L. ?; f7 D% \
  1236. ; http://php.net/mysqli.default-pw
    $ b; u5 z7 }9 f* ?
  1237. mysqli.default_pw =4 }: N/ j  @" q1 t
  1238. 2 \& n! y4 t, h
  1239. ; Allow or prevent reconnect
    8 n; ?9 E% k0 r
  1240. mysqli.reconnect = Off/ d! ~# }3 w! |( q- p* N6 j

  1241. 3 v( J  l+ U5 ?3 \9 ]: u, h
  1242. [mysqlnd]  ^* |2 y, |! ?) g0 h' c) x. h8 |
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be, b3 j( |- F! c) m0 H
  1244. ; used to tune and monitor MySQL operations.
    1 e! |& P  A9 w- F
  1245. ; http://php.net/mysqlnd.collect_statistics
    9 g* f* ?$ x  \. |  R
  1246. mysqlnd.collect_statistics = On
    ' q# z; c( {3 J% z" k+ J

  1247.   ]) F1 r- W3 ~+ ]; l- s
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 A6 z6 S6 m6 T/ t6 w3 r
  1249. ; used to tune and monitor MySQL operations./ L  d& [! S7 `0 W: r. q
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    , U2 Y3 P: j) N# t* ^* l* {
  1251. mysqlnd.collect_memory_statistics = Off6 W9 F0 b. S3 [
  1252. : L# v' B0 `" b2 t. M) Q* k
  1253. ; Records communication from all extensions using mysqlnd to the specified log* Z. `( {+ @* G7 X) s, `! V- l# ^
  1254. ; file./ u' t4 o% L% T2 }1 P+ V
  1255. ; http://php.net/mysqlnd.debug! I' m" d1 Y5 v' W
  1256. ;mysqlnd.debug =% |/ q( ?3 S5 ^, g  o( ^
  1257. 5 ]/ [. G# v6 \# l; T. J! L- s
  1258. ; Defines which queries will be logged.
    % \! g9 H) ]% T% _' `+ f4 x1 K' P
  1259. ; http://php.net/mysqlnd.log_mask
    0 L+ ~" D3 I) B2 ^7 N  P3 T8 _) l
  1260. ;mysqlnd.log_mask = 0
    ! P1 g+ S. ~2 {4 t% D$ C1 K1 M  I9 `

  1261. 6 @4 X, y" {0 Q6 o# K9 [( f
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.+ U* o0 O2 j- o+ H+ K4 u) r
  1263. ; http://php.net/mysqlnd.mempool_default_size8 r/ h5 r* }# `
  1264. ;mysqlnd.mempool_default_size = 160007 Q8 D) s; A2 S  O* W7 a

  1265. * y9 u: h! v/ v  H4 O0 B( ~) G# |
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes." l) D+ t, u' q' H* P# \
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size3 A  U) q+ E0 H. B4 h1 t
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    % }& O/ Z, W- g

  1269. # Y5 I8 R+ A$ [' i
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    # v, z9 [. ^$ f, ~7 C6 ^
  1271. ; bytes.
    , T3 H. b9 Z) {) a- w3 f3 l
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    $ O  g8 f  M6 c6 Z# ~' F1 `8 ]
  1273. ;mysqlnd.net_read_buffer_size = 327688 d# q4 D# W2 x& R
  1274. 6 M& Q8 O! M, t0 \
  1275. ; Timeout for network requests in seconds.% X9 }& D: M8 w' j1 I
  1276. ; http://php.net/mysqlnd.net_read_timeout
    3 D1 H/ |* q+ f' _, E% Y" ~( H. M  Q  P
  1277. ;mysqlnd.net_read_timeout = 31536000: {  o' E* y  j

  1278. 8 `* b" P: O# t! C7 s! C/ B: O
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ ^, N! a. R0 r2 `4 \  U
  1280. ; key.
    : s& X) c  o, g% B8 z
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" b" J) H3 `. q" a& V
  1282. ;mysqlnd.sha256_server_public_key =
    3 a# \( H% k! X' P$ Z/ P% `
  1283. % Y8 _2 F+ k5 W
  1284. [OCI8]) `- Y9 E6 O. Z; _
  1285. 6 M; G  Q, d1 b
  1286. ; Connection: Enables privileged connections using external' s1 g. S( l5 |1 V: G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & O% N8 a: x# t# J/ {
  1288. ; http://php.net/oci8.privileged-connect
    9 \, x4 m: k/ w2 Z# I: [3 N0 \1 S; a
  1289. ;oci8.privileged_connect = Off
    7 v6 B/ J- `9 B: l1 t$ W6 v7 X- A* O
  1290. ' J/ z. Y* g/ o& z- Q' ]- b) k
  1291. ; Connection: The maximum number of persistent OCI8 connections per
      C' }9 m; a& J6 `. L+ N
  1292. ; process. Using -1 means no limit.
    ) w5 a6 q3 `7 u7 E
  1293. ; http://php.net/oci8.max-persistent  j2 p4 P" `' G5 {& `" d+ j; e  s
  1294. ;oci8.max_persistent = -1: M; g4 o$ v0 Y$ M

  1295. 8 R" y2 Y7 T8 Z" Q
  1296. ; Connection: The maximum number of seconds a process is allowed to" L5 u0 Q$ F3 E: B+ p5 j
  1297. ; maintain an idle persistent connection. Using -1 means idle
    % u9 R. T- d6 [6 r
  1298. ; persistent connections will be maintained forever.
    ! Y' p! z+ ~% V6 A% k+ K+ M
  1299. ; http://php.net/oci8.persistent-timeout; C! f6 w& Q/ U1 T: P% O
  1300. ;oci8.persistent_timeout = -16 n3 _' f, L9 y$ `3 P$ @
  1301. " d6 }' n6 M4 o3 x7 k. I3 y
  1302. ; Connection: The number of seconds that must pass before issuing a% k& }, g6 x& S! ~
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 c2 t/ p! j. C# }1 @* k
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    % m! |8 a' l8 {% x
  1305. ; pings completely.: d- X% G! |* d6 v: K1 C1 b, v6 B3 l
  1306. ; http://php.net/oci8.ping-interval
    1 E" A% H+ `# @; f' M) D! ?
  1307. ;oci8.ping_interval = 60
    0 O+ H1 [, ~2 \* A8 ^# @

  1308. ) H7 _" j% B& U' h" M. N6 x
  1309. ; Connection: Set this to a user chosen connection class to be used  Z8 v+ C2 q4 f* L& b* K% H
  1310. ; for all pooled server requests with Oracle 11g Database Resident/ \; d8 |# Q! R
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 C* ]. x9 V( |9 d& ?6 {# N
  1312. ; the same string for all web servers running the same application,
      Q3 \8 h* n2 z* }
  1313. ; the database pool must be configured, and the connection string must- {) E, E  I! n
  1314. ; specify to use a pooled server.3 P  G# H9 _, j3 q4 |
  1315. ;oci8.connection_class =3 q# B6 U1 U& U, q# j4 k/ h

  1316. : m+ v( K, K* H) ~
  1317. ; High Availability: Using On lets PHP receive Fast Application# \4 A( O# X/ l! X( Y5 ^
  1318. ; Notification (FAN) events generated when a database node fails. The
    ( G" h& K6 ?: ~' T3 e% }1 R
  1319. ; database must also be configured to post FAN events.
    + r# Q1 k6 n  F8 t
  1320. ;oci8.events = Off
    2 B4 k$ p& @. X! [, {, H

  1321. 3 b; C: B0 y2 X/ f% l
  1322. ; Tuning: This option enables statement caching, and specifies how
    4 S" H9 T% M% k# u
  1323. ; many statements to cache. Using 0 disables statement caching." `% D0 B  @- q% ^
  1324. ; http://php.net/oci8.statement-cache-size
    . F( w  C- c0 g6 \' q
  1325. ;oci8.statement_cache_size = 20
    + X0 t  H4 X2 X  _, S8 ~
  1326. 1 X9 B# D. ^, D# o# V
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    . }  W' k+ U! C9 K3 R
  1328. ; rows that will be fetched automatically after statement execution.- h  R* q  _( u. `& R& k
  1329. ; http://php.net/oci8.default-prefetch
    ' x" w. q6 {2 [4 G6 E
  1330. ;oci8.default_prefetch = 100
    . v. @$ I: q/ z8 C5 \: \
  1331. , K/ y3 L* \- s! L
  1332. ; Compatibility. Using On means oci_close() will not close3 v% j& R+ g+ {
  1333. ; oci_connect() and oci_new_connect() connections.- Y* o* R. s5 L
  1334. ; http://php.net/oci8.old-oci-close-semantics
    5 `; m0 ]; J' h+ k
  1335. ;oci8.old_oci_close_semantics = Off& i0 q4 z2 a" `" O' I

  1336. 2 G9 j9 z) Z  S6 s3 Q
  1337. [PostgreSQL]
    # N( I! X, {1 ~0 G
  1338. ; Allow or prevent persistent links.; ~& i, C& u2 S
  1339. ; http://php.net/pgsql.allow-persistent( o% _0 X# C; s. D. _- b! v" ?/ \
  1340. pgsql.allow_persistent = On$ H2 E& V9 y0 V5 |+ ?2 s# J
  1341. ; S* C3 l8 f5 A0 }+ M
  1342. ; Detect broken persistent links always with pg_pconnect().
    6 x2 e* n4 ]' f
  1343. ; Auto reset feature requires a little overheads.) g& i$ P( l- S' P- N1 X
  1344. ; http://php.net/pgsql.auto-reset-persistent8 |! O! {# x7 f# F9 }# H& p: B) T1 y
  1345. pgsql.auto_reset_persistent = Off
    : V% a7 G  s; W) }

  1346. # l" B0 {( C- k4 `  V
  1347. ; Maximum number of persistent links.  -1 means no limit.  L$ C& y. J1 H. ^  j1 L+ H$ P
  1348. ; http://php.net/pgsql.max-persistent; D9 H* U4 w" [- o
  1349. pgsql.max_persistent = -1
    1 T. W8 Y( {% b6 M* z5 R: G* o

  1350. + T/ N! h" _/ O! C4 [5 [
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 @5 X0 I. s" R3 O; G+ m, a- H7 @3 b
  1352. ; http://php.net/pgsql.max-links
    4 H* l6 O- u* J
  1353. pgsql.max_links = -1
    9 d& B9 _# u3 W" Y' d& W
  1354. 3 u* q/ J7 U  L4 Q. K  ]; d2 N
  1355. ; Ignore PostgreSQL backends Notice message or not./ K1 B: Y+ c& t9 e2 ]
  1356. ; Notice message logging require a little overheads.' j0 ^4 g5 H% z
  1357. ; http://php.net/pgsql.ignore-notice
    7 w( w. S/ E; G8 w% X! f+ H0 I) Y
  1358. pgsql.ignore_notice = 00 L$ v2 Z7 f* K3 d  M2 g
  1359.   Z* G8 u7 q6 ?- L- _( a
  1360. ; Log PostgreSQL backends Notice message or not.
    1 }8 x! x$ u; ?; C
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.8 z$ e# s2 e# x# `( k. v
  1362. ; http://php.net/pgsql.log-notice$ l! q8 ?6 G( }/ z
  1363. pgsql.log_notice = 0- ]6 X* O1 K0 g7 |3 `+ k6 |: w
  1364. ! R  ?, q: j% P  k) e
  1365. [Sybase-CT]
    3 C9 g$ A  R- U# y4 l7 a+ W5 [
  1366. ; Allow or prevent persistent links.' N8 u" L" j  S( v' x6 P  \
  1367. ; http://php.net/sybct.allow-persistent
    & e6 p) B; ~+ e  E. D) a& a9 {9 t
  1368. sybct.allow_persistent = On/ w8 n" W) l0 W

  1369. ) z0 E4 e  s; k2 N
  1370. ; Maximum number of persistent links.  -1 means no limit.  K2 W6 ]/ S) r' `
  1371. ; http://php.net/sybct.max-persistent8 W9 F# l4 \$ s2 a% s
  1372. sybct.max_persistent = -1
    ) d$ L1 N: W( c  c$ h/ g

  1373. " V* V, a4 r8 r8 j
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( _* M6 R: f" V5 [: `6 V7 y
  1375. ; http://php.net/sybct.max-links! C% P5 q) Z9 d
  1376. sybct.max_links = -1
    8 ~* O" r; j& ?5 u8 q" ?4 g

  1377. / K/ M3 `! d5 B! c: O. N1 |7 r
  1378. ; Minimum server message severity to display.
    / ~* L  ~- m1 C% @. k6 H1 i& o
  1379. ; http://php.net/sybct.min-server-severity
    : V, l  X1 G, P
  1380. sybct.min_server_severity = 10* h1 y- ~0 P; K

  1381. 5 p& c' u6 w% \# w" k
  1382. ; Minimum client message severity to display.. j5 @6 w) N3 \$ ?/ D" \- o
  1383. ; http://php.net/sybct.min-client-severity9 c2 r6 H1 F2 S& t) l! {3 e% A  l
  1384. sybct.min_client_severity = 10! _$ D8 }- S* I2 E; J3 F+ _/ e0 u* B

  1385. : j8 h; \4 J! c7 _1 [2 W
  1386. ; Set per-context timeout- z1 i- o7 {9 h! g+ N5 d
  1387. ; http://php.net/sybct.timeout+ i3 M6 O: d. q/ }  v+ e, ^: u/ ]
  1388. ;sybct.timeout=% \6 q( B, y& `, J/ w/ t
  1389. : j- s4 {8 |" s) j
  1390. ;sybct.packet_size
    " {+ C) n( U1 D* A

  1391. % o2 E6 k% J. i+ D2 G0 g
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    5 \% d% b" G% g8 Z" z
  1393. ; Default: one minute( I# M8 J% U9 ?- Z$ e) v/ k' v4 r
  1394. ;sybct.login_timeout=
    , L" i& j8 C+ f( l

  1395. + Z8 t. c# u/ H1 i' J  I
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.4 V) G3 R4 p0 C) _/ D& J& C# S
  1397. ; Default: none  R! z5 L5 x) U( f; p: M
  1398. ;sybct.hostname=% G( A. y: {8 e& ]& [7 [) v
  1399. 8 T! k/ {1 s2 @1 x% L8 {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
      f+ H' `' a$ Z3 m$ H7 Y4 `
  1401. ; Default: 0$ M. J& M5 h5 _. l* Z
  1402. ;sybct.deadlock_retry_count=
    ' ]1 q; S( `# D8 {/ p0 T5 y
  1403. ) @( t" Y0 u- G/ w; n2 S1 X) R
  1404. [bcmath]% [! z- H5 m$ B9 F! H5 {( c. S: g* Z
  1405. ; Number of decimal digits for all bcmath functions./ f% G, D7 C3 @2 p3 O9 a5 Z
  1406. ; http://php.net/bcmath.scale
    $ E' L9 |6 Q" C4 t' X! D1 _
  1407. bcmath.scale = 0( I* ?3 d0 Z; _. j7 g

  1408. % v( I4 O9 F# h
  1409. [browscap]
    4 m* c, F8 [+ r" G1 i6 r
  1410. ; http://php.net/browscap! a, X- ~8 U7 i6 l5 F# `
  1411. ;browscap = extra/browscap.ini5 g- v( T+ M. ^- ?7 R/ s

  1412. : O' ?* p( M0 T* Q1 n1 S, }
  1413. [Session]
    9 n* E5 g+ c$ V! M
  1414. ; Handler used to store/retrieve data.
    # o2 P# j6 B) O6 j2 l: G6 V* J% u
  1415. ; http://php.net/session.save-handler. @* p3 w! h' K4 l" A; N) b
  1416. session.save_handler = files- J. i7 H; H6 Y$ R6 {0 ^* Y) i* \
  1417. 5 ^+ m9 s1 R6 ]
  1418. ; Argument passed to save_handler.  In the case of files, this is the path1 D0 q/ h6 |) E5 {1 b
  1419. ; where data files are stored. Note: Windows users have to change this
    0 ^* v7 b. f+ r# y+ g8 d; v
  1420. ; variable in order to use PHP's session functions.2 s! ^2 e: _, D# n
  1421. ;
    . M& ~: g  r  }" e- d7 t6 K
  1422. ; The path can be defined as:
      B5 p) G$ z5 C
  1423. ;
    , V$ ]0 }: W1 c5 B8 F
  1424. ;     session.save_path = "N;/path"
    * M! n. X) V7 `0 v' j
  1425. ;
      K2 i/ _: o# m9 J9 ?
  1426. ; where N is an integer.  Instead of storing all the session files in; s2 V6 T: x* U" a7 Z# c. K# f$ u
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    : S: b$ X7 z/ Q6 N4 r) t& W
  1428. ; store the session data in those directories.  This is useful if' [* d" L4 K. a5 [; c
  1429. ; your OS has problems with many files in one directory, and is
    8 v. u2 B6 ?( y1 k# @
  1430. ; a more efficient layout for servers that handle many sessions., n7 H; s! q& H8 E% e
  1431. ;0 t0 V6 f7 c( F3 Q3 I8 r2 W
  1432. ; NOTE 1: PHP will not create this directory structure automatically.$ ~! [+ c* y5 ^5 f  b! {! `
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ! k6 `8 W/ J0 b4 e4 {
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    " }: b6 I) T2 i( T" Z
  1435. ;         use subdirectories for session storage+ A$ d6 Z, a6 U% M. I7 K
  1436. ;6 q" V) }$ \# b! q+ t
  1437. ; The file storage module creates files using mode 600 by default., f0 s& W0 z/ l' H
  1438. ; You can change that by using
    ! [3 F# Q7 t  z. X& V4 e0 j) k. C% ^
  1439. ;2 o& E: e7 R* w! U% M: O% }
  1440. ;     session.save_path = "N;MODE;/path"
    : z: N: K0 _: `8 d' m, L
  1441. ;
      ]$ o# ?- ~, x; K' a9 N! J
  1442. ; where MODE is the octal representation of the mode. Note that this  v" _  Q/ @$ z$ x8 ?& ?0 n
  1443. ; does not overwrite the process's umask.
    ( S4 J; Y4 n" E# t
  1444. ; http://php.net/session.save-path3 y4 m7 h, Y( w& f. d
  1445. ;session.save_path = "/tmp"
    # Z6 b$ B, F3 b, p

  1446. & r2 c# I4 m' W
  1447. ; Whether to use strict session mode.1 A( q, Y, I8 H' i% n: m0 P
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    , p& {) Z7 y5 L& k* t! c. @
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. U$ h* H, X" ?" @/ @2 w
  1450. ; applications from session fixation via session adoption vulnerability. It is
    0 n! q2 D) Y2 t- t* t$ f- a7 S" _
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.5 |6 k* C2 H9 `# A7 U! r3 ?
  1452. ; https://wiki.php.net/rfc/strict_sessions
    7 E2 W0 S9 D. b( V1 u5 m9 C: ]2 r9 X0 Q
  1453. session.use_strict_mode = 01 u3 X+ ?( b6 z6 \/ ]0 e
  1454. , i5 h. Q  J$ D
  1455. ; Whether to use cookies.
    / P* a) z( V5 b' |4 G$ L
  1456. ; http://php.net/session.use-cookies, r& t1 @$ S" C1 w/ c; _
  1457. session.use_cookies = 1% o. G3 Y4 P1 n7 y* m
  1458. " ]' u  W# |: k
  1459. ; http://php.net/session.cookie-secure) P9 }! }4 t: {2 A( p. c2 i+ D" B+ I
  1460. ;session.cookie_secure =
    & s) u6 Z. N3 B* c' F
  1461. / _& u/ e6 o/ F0 \: `. D! E1 s
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 G# n  ^) z8 O# A- M5 G, I" m
  1463. ; the session id. We encourage this operation as it's very helpful in combating0 C$ w; P) Q3 z: _" P
  1464. ; session hijacking when not specifying and managing your own session id. It is3 A) l# `" _( U& ~1 E# L3 u
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.# s& j) `3 {2 v7 l! Y: Q. r7 G7 k
  1466. ; http://php.net/session.use-only-cookies
    9 n9 }& a" X/ b% u& J7 H
  1467. session.use_only_cookies = 1$ ^; ^' y. r/ }* P3 g" q

  1468. " @: z+ g4 D9 }4 K7 ~
  1469. ; Name of the session (used as cookie name).7 O0 K4 z! V- Q: {: T' H( S
  1470. ; http://php.net/session.name
    - r" s. `* ?4 f3 J5 G, m+ R
  1471. session.name = PHPSESSID
    " m  Z7 [- s, E+ h) e, V
  1472. " Y7 ^+ k( a% L6 F1 z8 h# O
  1473. ; Initialize session on request startup.
    : W9 E0 ^* X; B, Z/ e
  1474. ; http://php.net/session.auto-start; D% J  w9 _4 e( N* o, y  F& R7 T
  1475. session.auto_start = 0
    ' u3 K$ H. k( B" |" H% o1 Q& U
  1476. ' z4 F7 Z) C& k3 O
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.1 d- [# g8 o- `. a" B8 ]
  1478. ; http://php.net/session.cookie-lifetime7 \9 c8 J! Q) I# c
  1479. session.cookie_lifetime = 0- }1 K' r! [* y; N2 E: P& {
  1480. 0 D( y& x$ l, n8 Z/ P8 S3 E
  1481. ; The path for which the cookie is valid.( P' z! A% ?2 @, N
  1482. ; http://php.net/session.cookie-path
    + ?# z9 ]' C( D- V5 r
  1483. session.cookie_path = /% S" T, `7 x) u9 X5 H3 c
  1484. ' Z) O' D8 J: k; `3 |3 H
  1485. ; The domain for which the cookie is valid.
    : O/ H0 Q2 ~& J. J; n! }' |
  1486. ; http://php.net/session.cookie-domain* ?% v) E4 u6 y  I0 ~1 A% y
  1487. session.cookie_domain =$ g* P" ^' q: u2 \" H/ G* }' |

  1488. ! [  s  ~$ |% G) T' `  w
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 ?1 ]; b3 f; w7 _
  1490. ; http://php.net/session.cookie-httponly9 H" p0 E" o, ^) w2 N, ~$ Q2 m
  1491. session.cookie_httponly =
    ' b4 L: f. w+ D4 a% c2 \' V. X
  1492. 6 C9 A, |# B* D$ C! A
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! ]6 T  I' G! j- L6 c2 F8 e. ^
  1494. ; http://php.net/session.serialize-handler4 b5 G  A6 r$ _
  1495. session.serialize_handler = php: {# e1 K5 z+ C
  1496. $ n+ t- e% N1 f" `5 m! W4 x
  1497. ; Defines the probability that the 'garbage collection' process is started% w9 ?, A4 o0 n: h9 M$ u4 k  \
  1498. ; on every session initialization. The probability is calculated by using- E% s% N/ O  n" I
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    3 p- d5 F. `- |; ?& i
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # S6 J( C: Q9 S! F3 [7 O$ ?. h
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      c  H; {& h/ g: B) E6 e
  1502. ; the gc will run on any give request.# D" g- \  R. s, E
  1503. ; Default Value: 1( t! m& }9 p% D# C( V
  1504. ; Development Value: 1- }4 M; q# C& [1 W( k' X6 A
  1505. ; Production Value: 1
    0 C; S+ Z# h0 Y6 K1 B( v2 h
  1506. ; http://php.net/session.gc-probability
    - N% @, w- Q4 U$ M/ u2 `
  1507. session.gc_probability = 1/ u. J5 Z& u9 f$ W3 F

  1508. + x! j" K5 u1 P
  1509. ; Defines the probability that the 'garbage collection' process is started on every% \# A( ^# a- v$ ?- S: A
  1510. ; session initialization. The probability is calculated by using the following equation:7 M; t9 D  k# J  k- y" Y- ~
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; L. I. ?# M- y5 s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& c$ `9 m. s- d! p, i. i
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( l* ?5 E4 G: C5 {" S3 Q" @* g
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 i7 J/ ^7 z0 t) J# x4 P8 [9 _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 a6 U1 }: C& V' N1 j  V
  1516. ; this is a more efficient approach.( x# ]) _; I$ L4 w+ C
  1517. ; Default Value: 100" P# g) D, p+ ]9 t% J
  1518. ; Development Value: 1000
    * }" M3 V# L! D& Y% W5 n1 M
  1519. ; Production Value: 1000
    - I8 {& U) |' U6 H' k
  1520. ; http://php.net/session.gc-divisor% X) O- e8 F' n! n% e& Q! N
  1521. session.gc_divisor = 1000  ~/ O  h. T( E
  1522. ) l$ Q% B2 M8 b0 o  f
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and5 F1 x9 l# R0 n# F- S) z
  1524. ; cleaned up by the garbage collection process.
    * D  ?4 d- m! c8 N
  1525. ; http://php.net/session.gc-maxlifetime
    5 x5 \( V0 g5 t7 h0 `1 G2 h
  1526. session.gc_maxlifetime = 1440
    0 ^6 f5 K& K2 q- {3 ?& X& c8 ]0 e

  1527. ) T& ]' n5 @* ?  f, v- E. m
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    9 z+ {4 o8 d/ [+ I  ^
  1529. ;       (see session.save_path above), then garbage collection does *not*
      o2 f: G/ a1 {. O0 H( i
  1530. ;       happen automatically.  You will need to do your own garbage8 J& _7 I  _: M) ^" u8 c
  1531. ;       collection through a shell script, cron entry, or some other method.
    + V" s+ J& [/ `3 s/ r4 O, @
  1532. ;       For example, the following script would is the equivalent of
    1 \: @' Y$ i" X5 D1 [
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / G7 K3 l3 y6 O! x$ K8 D
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: J9 j( p! v( C- \

  1535. 7 M) h. P' T7 L. J
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 i0 ]. I  g/ P( z7 o: {8 C
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    / `+ w6 p6 o3 S
  1538. ; considered as valid.6 Y7 N, p! ^- e2 H2 W2 |7 g
  1539. ; http://php.net/session.referer-check, t7 t$ y8 h: k) z, i% _1 ?
  1540. session.referer_check =
    $ p& G# }5 ^! [4 Z# Q
  1541. : [* V, _0 w" ?) q, O6 q
  1542. ; How many bytes to read from the file.
    : N9 ]4 k) t- f! ?
  1543. ; http://php.net/session.entropy-length
    " N+ n9 f5 `5 X  ^' F
  1544. ;session.entropy_length = 328 F7 y( V3 Q- W0 a: Q! M$ c7 Q

  1545. . D* ]5 i/ Y: V# h, B& y; Y
  1546. ; Specified here to create the session id.
    % s6 q  b4 }, z) l) i
  1547. ; http://php.net/session.entropy-file
    2 Q4 z, H* b3 p, g6 f
  1548. ; Defaults to /dev/urandom
    6 ]+ {& Y9 I! O) Q; P' [
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom7 D" M  r' S$ }* F, r$ R/ N. d3 {2 G
  1550. ; If neither are found at compile time, the default is no entropy file.$ v* P# H* F' s
  1551. ; On windows, setting the entropy_length setting will activate the
    8 r/ D+ d% z/ @7 @7 I# ]
  1552. ; Windows random source (using the CryptoAPI)
    % q# r$ w+ w& k$ s! Y- s
  1553. ;session.entropy_file = /dev/urandom1 ^  t. Q. n0 {$ q

  1554. 1 Y; ^+ V$ v' A5 q6 z& Q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 a  H1 @4 Y/ j, f4 @
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ F! U0 ~* u- a/ F
  1557. ; http://php.net/session.cache-limiter
    $ v. e! d. R; `/ Z5 k1 J
  1558. session.cache_limiter = nocache$ R8 f9 y8 k  l2 O+ B

  1559. 6 D( u6 Q1 D7 O, q% j' W
  1560. ; Document expires after n minutes.: ~6 \! [3 T1 u* F1 X* w
  1561. ; http://php.net/session.cache-expire
    , O9 H! [  R) F( ^
  1562. session.cache_expire = 180! P/ K( ?- j, M5 @. p
  1563. : g* y# n" j* Q7 o
  1564. ; trans sid support is disabled by default.+ g) N" [- i% _' n: }+ ^8 W: k
  1565. ; Use of trans sid may risk your users' security.
    $ G; B. [: k4 l# a
  1566. ; Use this option with caution.4 R! r% ]% q3 _0 o2 J
  1567. ; - User may send URL contains active session ID- k/ A. x/ c) E
  1568. ;   to other person via. email/irc/etc.$ Q# ]$ U6 z' f+ S8 K
  1569. ; - URL that contains active session ID may be stored
    1 P, A4 Z- }8 _# {3 s, O
  1570. ;   in publicly accessible computer.
    " w6 b; r* w1 Y, W
  1571. ; - User may access your site with the same session ID" h! D1 j9 r" Y7 j) P7 C2 h
  1572. ;   always using URL stored in browser's history or bookmarks.; r* X; ?8 M* F$ R% h' n8 X
  1573. ; http://php.net/session.use-trans-sid
    " W0 q. O8 {, S( y
  1574. session.use_trans_sid = 0" `2 n) z# d% ?6 ]

  1575. & x- t. A+ n) `  c% j
  1576. ; Select a hash function for use in generating session ids.0 }" v( f+ ?' H! I5 j# B4 ^8 B9 M
  1577. ; Possible Values
    / ]' Q/ H* f% h
  1578. ;   0  (MD5 128 bits)
    # |5 D2 h  X( Y
  1579. ;   1  (SHA-1 160 bits)
    ) o1 H- T! [, m" ]
  1580. ; This option may also be set to the name of any hash function supported by
    1 H1 e* j  q1 \1 F; h+ z3 |
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 z) Z# A0 H: g: j% H( |" c  k
  1582. ; function.( Y3 ]) S9 [' |- M0 k
  1583. ; http://php.net/session.hash-function0 I6 P7 E4 b" n+ I
  1584. session.hash_function = 0& D1 d8 d* [( s1 t& G0 u3 ~
  1585. 9 |0 x' {: {' ^4 s. E
  1586. ; Define how many bits are stored in each character when converting& h" L, c, J9 W  ]7 s7 B
  1587. ; the binary hash data to something readable.
    9 V  }- {- \* V' z$ ^3 l' |+ U
  1588. ; Possible values:
    , s3 W0 C5 C/ X$ @$ E8 Y1 C( P7 N
  1589. ;   4  (4 bits: 0-9, a-f)
    0 m" j; C* U, q0 Z5 L% q2 E
  1590. ;   5  (5 bits: 0-9, a-v)
    9 f6 Q3 v' ]3 v- L9 @
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% T. q+ b; e) u& [
  1592. ; Default Value: 4: |- M" U: N* E- c
  1593. ; Development Value: 5
    ( @( e* S% V1 i
  1594. ; Production Value: 5/ D/ Y' [, J8 j( N3 x% S8 o
  1595. ; http://php.net/session.hash-bits-per-character  E$ \5 q% ~* i- Y
  1596. session.hash_bits_per_character = 5
      V: Y. W: q7 |# K0 Z

  1597. ( J* K6 a* |- L$ Z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ! J  s, `& q8 b! d. b
  1599. ; form/fieldset are special; if you include them here, the rewriter will) |! N( g( R; d6 ?+ d. d
  1600. ; add a hidden <input> field with the info which is otherwise appended
    % B9 p& ?! h- q5 c
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ( Y) G$ y  I. Z& z
  1602. ; Note that all valid entries require a "=", even if no value follows.( g: G3 [8 T$ C4 ~0 {  Q) z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% v/ w; L' g6 d( v4 h
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " s: `. \  i0 v8 }: V
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * f8 k: p8 r3 g
  1606. ; http://php.net/url-rewriter.tags
    , q+ b9 ~/ S% D3 y. o) k
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      h8 J. E5 e; B7 A. ]* T
  1608. 6 n; f/ r9 e8 ]' A0 f& J- R
  1609. ; Enable upload progress tracking in $_SESSION" e) D2 p# q2 ?% ~8 e, ]- y1 F
  1610. ; Default Value: On
    / @. |4 F- L+ m/ z3 x
  1611. ; Development Value: On  m6 M3 W2 x& I- o* S+ Z/ a8 b
  1612. ; Production Value: On' R  q5 a- l& g3 v# u8 {  f7 [
  1613. ; http://php.net/session.upload-progress.enabled
    1 X: _4 y9 h4 H" S% F, Q+ a
  1614. ;session.upload_progress.enabled = On
    , z, }2 Z8 i: `0 ]

  1615. 9 J6 V$ p& `6 M  H3 T' B
  1616. ; Cleanup the progress information as soon as all POST data has been read, B8 Z+ a$ q4 M+ a, X
  1617. ; (i.e. upload completed).6 B+ u/ ]) H4 [# e
  1618. ; Default Value: On
    & D+ e' y( d+ j8 K/ F
  1619. ; Development Value: On
    + z8 w. H3 l9 f2 E% x! P- R
  1620. ; Production Value: On" J2 ~6 e2 [4 u1 ~3 h* A
  1621. ; http://php.net/session.upload-progress.cleanup
    ) s  q- i3 S! q# V) @/ i/ `2 C
  1622. ;session.upload_progress.cleanup = On6 M8 ^1 }! ~1 Z7 L! ?, ^5 G
  1623. 5 V9 ], l6 ^; J& m
  1624. ; A prefix used for the upload progress key in $_SESSION
    2 B9 P! H& L4 R; Q+ ~$ z
  1625. ; Default Value: "upload_progress_"% z' |) N! Q6 E$ i5 u) a' F$ O$ v
  1626. ; Development Value: "upload_progress_", u2 g# V2 E, M. [7 F
  1627. ; Production Value: "upload_progress_"# p' m% `1 \1 X! L% E
  1628. ; http://php.net/session.upload-progress.prefix
    8 l2 v2 y2 @" a& d
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ! A" C; D2 u- {0 C' j
  1630. 5 n0 U0 i# P1 Y6 `1 ^
  1631. ; The index name (concatenated with the prefix) in $_SESSION" `  J5 G+ S+ h! c! h
  1632. ; containing the upload progress information- L* i8 s# W3 c: H8 ~
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"5 @* z! b& w1 y, ^3 @( f
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' Q  Q& K0 ^& ]) ?4 i
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"2 S5 i, e' U; |  I2 J* W
  1636. ; http://php.net/session.upload-progress.name
    $ i2 F1 I$ j. f3 e
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 N, A6 ]: q' {1 Q
  1638. ; L: w/ |( r$ q$ W* E* \" p( i! J
  1639. ; How frequently the upload progress should be updated.% c$ G" D9 N3 r% m$ k, v
  1640. ; Given either in percentages (per-file), or in bytes
    ; v0 k# h2 e# Z3 t4 y; C, }" p
  1641. ; Default Value: "1%"/ f$ l3 @* G. u! n* A' g
  1642. ; Development Value: "1%"
    " _* T/ T. b0 y6 S* C; N& n: m2 ~0 X
  1643. ; Production Value: "1%"* p$ m# G& A# u+ J" X2 B0 h& m+ T2 G
  1644. ; http://php.net/session.upload-progress.freq) U$ i; }# N# O
  1645. ;session.upload_progress.freq =  "1%"
    5 l' L) m$ S4 S2 C3 v  G& F
  1646. 4 {, w, G% c2 ?" }: `, k8 Z
  1647. ; The minimum delay between updates, in seconds
    , h( j7 V( R. `' N
  1648. ; Default Value: 1
    # Z- a2 W! f/ J( ~5 P+ G
  1649. ; Development Value: 1
      O, n0 c& M) [4 b3 ~. n" q) x* ~: M" K" M
  1650. ; Production Value: 1
    # n5 d( {% J# i0 L+ [6 p5 \
  1651. ; http://php.net/session.upload-progress.min-freq7 t8 k) G+ f! _/ s6 B: E
  1652. ;session.upload_progress.min_freq = "1"
    $ ~; @( a  }; h  t

  1653. 3 _# Q$ \, T2 G( U3 N& [, u5 e: Q
  1654. [MSSQL]
    : l/ F) H: U3 ^( @; `7 {$ j
  1655. ; Allow or prevent persistent links., k2 S. d0 S6 b0 m9 ~( V/ A
  1656. mssql.allow_persistent = On, s1 V5 I% r# t* z9 o: z4 x7 m
  1657. 0 R$ c$ q% K2 @+ U& s& D
  1658. ; Maximum number of persistent links.  -1 means no limit.
    5 l! |! t' _1 }8 U
  1659. mssql.max_persistent = -1
    2 n$ u- p! y  ?+ F
  1660. / u; C6 ]9 D' x" t2 U
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 C& B3 V. R# W0 f
  1662. mssql.max_links = -1. |5 `2 J, M- }5 i7 V
  1663. 9 G& A% e& x! W/ H
  1664. ; Minimum error severity to display.
    " A' L0 F+ p# @( Z* ^. Q9 N6 u! d
  1665. mssql.min_error_severity = 10
    9 F+ T4 M! N& h* I% J7 n4 ?
  1666. 0 m0 y0 j2 |  l( v! j
  1667. ; Minimum message severity to display.
    # h- F! q/ g) u1 G+ {: R
  1668. mssql.min_message_severity = 10
    % |/ X+ W# e: l2 r$ w: W4 m4 j

  1669. , j- H, _: e& i# }' G( U9 ]
  1670. ; Compatibility mode with old versions of PHP 3.0.# i# @, Q+ m$ L3 E3 N+ h
  1671. mssql.compatibility_mode = Off- |: X# R. y' J

  1672. 5 B1 o) Y% A( r4 F) Z& Y
  1673. ; Connect timeout; q. z: L+ E9 K5 e
  1674. ;mssql.connect_timeout = 5
    9 X/ ~( g6 v; }" w; B

  1675. 9 H& G/ H+ V8 R& S) s
  1676. ; Query timeout8 [/ [" C) A0 {: T# O$ S
  1677. ;mssql.timeout = 60  v: G/ M' X2 ~( w

  1678. ' Y/ k7 c4 C+ k
  1679. ; Valid range 0 - 2147483647.  Default = 4096.8 M$ v! V% `* J8 r
  1680. ;mssql.textlimit = 4096
    6 O. [0 N3 h  g7 B

  1681. 3 x/ a6 {6 c0 Q8 c4 V/ M# H
  1682. ; Valid range 0 - 2147483647.  Default = 4096.+ L/ r0 l" W4 S! G
  1683. ;mssql.textsize = 4096
    ( ?, g, ~- }8 ]- k1 z8 Z6 B

  1684. : n0 \0 i6 N" W7 S7 B7 C# M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    / j8 I( Z2 e, }# s
  1686. ;mssql.batchsize = 0! X! w; I) O9 C+ I. T! O
  1687.   i7 c% F4 `! O* J
  1688. ; Specify how datetime and datetim4 columns are returned6 X5 L. W2 i) X( z1 S
  1689. ; On => Returns data converted to SQL server settings  T; u8 F4 Y, H, ^
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    2 g/ K1 [! \/ E7 @# ?  j
  1691. ;mssql.datetimeconvert = On
    # [5 y) J; M& V* ?  s- y2 D
  1692. 8 R9 e! d# ]1 F! U
  1693. ; Use NT authentication when connecting to the server- d- p3 p% k- [% J
  1694. mssql.secure_connection = Off1 k3 I. {. X& [& [+ j5 p
  1695. & A. B7 o  U8 W7 M$ j  V5 k
  1696. ; Specify max number of processes. -1 = library default5 K+ K- w; s# a. t" {4 O
  1697. ; msdlib defaults to 25
      W  a( _2 z/ N) D, ]6 }0 D0 A
  1698. ; FreeTDS defaults to 4096# e- |# K+ {4 ^& V
  1699. ;mssql.max_procs = -1- A5 y( g# X9 u/ R9 Z1 B  c
  1700. 1 ]( z5 Y# X: u+ T
  1701. ; Specify client character set.
    . I+ \5 h1 S1 e& |
  1702. ; If empty or not set the client charset from freetds.conf is used
    & I1 ^# ^' e+ |" [+ `
  1703. ; This is only used when compiled with FreeTDS4 ^! B: i' \; w1 q! Y
  1704. ;mssql.charset = "ISO-8859-1"
    ' Y* Z- N! M& G
  1705. 4 I6 o/ \& b8 F! b6 x; Q& F0 Z8 d; K0 M
  1706. [Assertion]
    1 ]( Y) Y7 }# |5 i* F
  1707. ; Assert(expr); active by default.
    ! ^3 f' }# t* u% j
  1708. ; http://php.net/assert.active
    , w5 d; \* o0 J
  1709. ;assert.active = On) f3 p' i5 c1 e6 p9 J. M$ t  R) m" X" ?% e

  1710. 0 }" G2 e" o9 A
  1711. ; Issue a PHP warning for each failed assertion.
    ) T) l# _- P& |0 e& f
  1712. ; http://php.net/assert.warning, o# E) s$ F- v# ?/ Z# {
  1713. ;assert.warning = On
    . s: E  V# {) @5 I% C& f7 V9 V2 a
  1714. 2 _. o; {, {- R  T
  1715. ; Don't bail out by default.% T% e1 o( E  `' X" u7 \/ U+ y
  1716. ; http://php.net/assert.bail
    ) z& e% g" f$ o% Y
  1717. ;assert.bail = Off
    - U3 q: w+ J. v% P+ ~
  1718. " P! P7 N; X& N& Q& ^+ k
  1719. ; User-function to be called if an assertion fails.* @, ]9 W9 g* S' B: F! G
  1720. ; http://php.net/assert.callback
    . Q# \. w9 z5 `
  1721. ;assert.callback = 0/ c7 o5 u) e4 j& Y( D; K

  1722. 2 M+ r; Q8 t1 [5 U8 ^8 i
  1723. ; Eval the expression with current error_reporting().  Set to true if you want* t" _2 J, y, y/ i
  1724. ; error_reporting(0) around the eval().
    * M; g4 |2 Y' T! _( Y: y5 l5 \8 l
  1725. ; http://php.net/assert.quiet-eval
    7 O0 L  B' z5 h' y* a  \* e) ~5 X
  1726. ;assert.quiet_eval = 0
    / I. y4 V6 l+ U2 z- z

  1727. 5 M+ u: P3 C- Z& T- s0 l* l
  1728. [COM]
    6 n6 c# t9 e8 P2 ?0 i
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( s2 ~- k* p/ J( S
  1730. ; http://php.net/com.typelib-file9 g& M2 Q0 W( S" R4 c( y$ `
  1731. ;com.typelib_file =
    / `  i" l; W8 Z) j
  1732. , d% f" R  p# A0 U- F
  1733. ; allow Distributed-COM calls. J: V* v7 U# v+ A- j
  1734. ; http://php.net/com.allow-dcom) O/ w! B2 z3 L+ X
  1735. ;com.allow_dcom = true, @- K9 Q& a' c6 w, z# X" w

  1736. 1 I& n# Z8 e7 q5 Y0 @# l3 R" p7 j
  1737. ; autoregister constants of a components typlib on com_load()5 r) d2 y) G! f# b+ G  K
  1738. ; http://php.net/com.autoregister-typelib: V7 }2 |" L7 x. O# s3 Q1 ?! }
  1739. ;com.autoregister_typelib = true
    7 \5 D  t4 f- S% b
  1740. - q& r- o4 E9 H5 V
  1741. ; register constants casesensitive
    ! s* o" ?8 b$ M, L; [
  1742. ; http://php.net/com.autoregister-casesensitive
      q8 Z- E9 _7 r5 u' l  [/ e
  1743. ;com.autoregister_casesensitive = false  M+ @/ p  r1 z' y1 v7 {" Q

  1744. 0 ^- }# H# _9 q0 `7 }0 z8 `
  1745. ; show warnings on duplicate constant registrations
    ) y+ ]+ e$ e) n6 S( w$ V, x
  1746. ; http://php.net/com.autoregister-verbose
    6 S8 \' Z! h1 t/ P0 Y( V) m9 x
  1747. ;com.autoregister_verbose = true
    $ `; B! F- l# U* S; H. v

  1748. 6 k) n1 [) N+ N; j; A
  1749. ; The default character set code-page to use when passing strings to and from COM objects.6 G) }2 H. J$ _2 a* G- Q
  1750. ; Default: system ANSI code page
    % l3 s% }7 M- z; G; n% e8 p# [
  1751. ;com.code_page=
    1 V1 J5 D7 q& q
  1752. ) |6 V- t% A& x
  1753. [mbstring]$ h% @3 G- d' u9 w
  1754. ; language for internal character representation.- b/ O! `+ o2 W, G, _6 @
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.4 c5 v$ V: L3 o: R6 [  o1 {
  1756. ; http://php.net/mbstring.language2 o8 D$ p: `( |0 h; @1 ?" f
  1757. ;mbstring.language = Japanese+ b  J$ U6 N& G8 g2 v# U

  1758. $ z* V1 j  _2 `
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 a3 w! y' u- t7 _- T& Z, S
  1760. ; internal/script encoding.
    * X9 d; i. e& k& \- U/ b
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ ^  W# u7 C1 r" a6 }* _
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 y8 g' h) z$ r' Q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 C4 A- v, k# Y, B* P
  1764. ;mbstring.internal_encoding =
    ! R$ d. l+ S. ?

  1765. 3 S7 |% L: X4 j; M& ^& }* V" d
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.* l: h6 e! y' F& D
  1767. ; http input encoding.
    ) a* \+ p3 e( V2 ?4 P# \' D
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ) [) p# \' Z5 M
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 W2 n- l& \- z6 t5 P+ I! w& e2 v
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input1 `, @! t; \) v) P' ~
  1771. ; http://php.net/mbstring.http-input* b; F! Z3 ?1 p; ~7 ~/ l9 R! L4 u
  1772. ;mbstring.http_input =5 M7 U/ }, T- h" |- K6 s; u

  1773. ( J) R  G" h+ o
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 G- z! b# }7 I+ ]5 j
  1775. ; http output encoding.
    6 h7 B& M9 T9 @! r
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 K/ i1 M$ r* r. C, j' S( N: I
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    3 H% b- _% ?( r) p& d6 z* s# |
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output8 u$ n8 [8 s1 X) |$ c$ p1 n
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    # Q9 n, C; g. ^1 y+ p* }
  1780. ; otherwise output encoding conversion cannot be performed.
    2 W7 U: W8 ^' h" R, }4 D: t
  1781. ; http://php.net/mbstring.http-output' G# {" Z4 k# N  v5 o+ M7 D: o2 b
  1782. ;mbstring.http_output =% @+ o  G6 i( W3 y- A! k
  1783. 3 s+ O! v1 b3 c4 S, H: q3 z7 S! V
  1784. ; enable automatic encoding translation according to
    - z! S" z1 E/ F) X. G2 W6 k
  1785. ; mbstring.internal_encoding setting. Input chars are$ z! Y% W  S$ E
  1786. ; converted to internal encoding by setting this to On.
    + H7 C& t/ R  u1 ]" C/ R' @7 D9 e
  1787. ; Note: Do _not_ use automatic encoding translation for: w: j& l$ D7 l4 z( v0 g
  1788. ;       portable libs/applications.
    4 F9 `+ i% @1 w" Y( K8 M9 j
  1789. ; http://php.net/mbstring.encoding-translation: Z8 D% e% D8 f) a! F! C5 m' W
  1790. ;mbstring.encoding_translation = Off
    ) W0 |5 a7 |4 |% x* S
  1791. 0 F* e$ y; X. \; j
  1792. ; automatic encoding detection order.
    ' A$ L0 A: F1 s' B" ~7 [5 _* R  N  i
  1793. ; "auto" detect order is changed according to mbstring.language
    ) }1 X' J5 Q- u% {0 N) G7 X
  1794. ; http://php.net/mbstring.detect-order- M  O  Q; j0 `6 E9 [1 k
  1795. ;mbstring.detect_order = auto
    4 ~% E3 v6 L* O+ |" }

  1796. 5 C$ V: e. G( j2 ]
  1797. ; substitute_character used when character cannot be converted) ]1 C# J1 B) r3 r4 K3 G7 @( g! s
  1798. ; one from another
    * Y( d- m8 [% R
  1799. ; http://php.net/mbstring.substitute-character( [$ f" P6 M  f" H0 r
  1800. ;mbstring.substitute_character = none$ e- o! |) N2 p0 G$ j3 Z3 x
  1801. ! g5 u* A$ ~8 p/ c' U
  1802. ; overload(replace) single byte functions by mbstring functions.7 o6 |4 u' ]* g( e9 b
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ o. M7 G3 K! Z+ n5 M+ H  p  k! t
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ' ~$ n4 t/ `- B' D
  1805. ; For example, 7 for overload everything.
    / A7 O3 F" O, J
  1806. ; 0: No overload# N+ j! d4 ]  t6 J& Y
  1807. ; 1: Overload mail() function
    0 h8 Z. l8 [: Q0 y
  1808. ; 2: Overload str*() functions  T2 L% p' M0 \* w
  1809. ; 4: Overload ereg*() functions
    1 e+ F$ G9 R! Z- t7 k
  1810. ; http://php.net/mbstring.func-overload
    # m6 O3 u" k$ l2 ~- t$ H
  1811. ;mbstring.func_overload = 0
    / V1 ?5 y9 u. M  p8 T9 n
  1812. 0 }$ d* x+ F6 [5 V/ n
  1813. ; enable strict encoding detection.1 w$ B! L# ~* j$ A6 X
  1814. ; Default: Off
    0 |! h: n5 s- t
  1815. ;mbstring.strict_detection = On
    1 L# J( v; t8 a/ k' m- \' p" O2 {

  1816. ' _* P5 S2 F, l6 k4 V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' c1 n7 g" o1 r
  1818. ; is activated.7 L8 O2 ]- H5 j- O  d$ g# U* G  d
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)( C* X. @8 D. ]) K$ h! ?* R' U
  1820. ;mbstring.http_output_conv_mimetype=  _3 }3 \9 e* S& ]) t9 m

  1821. / E/ {  d( K3 t  s0 k6 F
  1822. [gd]
    6 q2 S& g4 O3 D4 \: ~
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    & e- H4 S: R6 [1 d, S9 j! d& y
  1824. ; a gd image. The warning will then be displayed as notices
    ) l. X& u7 A5 v9 O0 z
  1825. ; disabled by default
    ! O+ l7 X* ^+ n% i
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ) _3 `- f$ O& y5 W0 C/ [9 y( L* k
  1827. ;gd.jpeg_ignore_warning = 0
    5 L+ M; V4 _/ }" g; C! P
  1828. " w0 Z( i& s% r, _, H
  1829. [exif]8 H# h$ Y/ o" p/ t
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS./ d) k6 S1 G( p
  1831. ; With mbstring support this will automatically be converted into the encoding6 f- P- h( e* K2 L" s
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding/ d  k: H# B* p6 M
  1833. ; is used. For the decode settings you can distinguish between motorola and
    * G) h. k. ~% q
  1834. ; intel byte order. A decode setting cannot be empty.) _8 l( ~9 X4 f! f* L' i
  1835. ; http://php.net/exif.encode-unicode0 p# D4 M; h* T
  1836. ;exif.encode_unicode = ISO-8859-15
    + u8 \- s: r; V4 f+ T% r
  1837. 2 ?4 l9 D; c8 `6 z) L3 g
  1838. ; http://php.net/exif.decode-unicode-motorola6 u) x$ y, x; L3 L. c' v/ U
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    4 q1 {/ ]2 F* d1 Y- ~$ f
  1840. 7 p5 G6 ~# f  Y8 d) W
  1841. ; http://php.net/exif.decode-unicode-intel  ?' D4 y# A& w9 Y$ n+ T
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 w: J$ k8 N& o3 I5 Q: _
  1843. : n+ b# ]- z/ V1 F2 g( X4 {
  1844. ; http://php.net/exif.encode-jis
    ; C8 G1 D( K5 `% U9 L# B* M1 p0 @
  1845. ;exif.encode_jis =
    % M) h" N- J! y% v
  1846. + ?( @, F$ J# Q5 i( U
  1847. ; http://php.net/exif.decode-jis-motorola
    ( K6 o" y, b+ l* l$ t5 F$ j
  1848. ;exif.decode_jis_motorola = JIS
    * d, z  e1 Y$ R! M6 e
  1849. 4 Z. @% S  y/ _
  1850. ; http://php.net/exif.decode-jis-intel
    1 v! U2 B8 w: L2 K( g: ^$ j. X
  1851. ;exif.decode_jis_intel    = JIS7 J7 B3 q! G* x2 g

  1852. , \; ]8 `" j9 a+ H5 O4 s- i
  1853. [Tidy]5 b. h; \* ?- k0 E* \: F2 L
  1854. ; The path to a default tidy configuration file to use when using tidy/ k7 J9 G& ]1 m9 y, }) Q# V
  1855. ; http://php.net/tidy.default-config
    & O& X) _" O! @' t: v# `' {" G
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : X4 k3 J5 ]9 U. Y0 s
  1857. " |1 l( f+ l8 i2 q* l( U
  1858. ; Should tidy clean and repair output automatically?: g7 y8 Y* `9 ^% j) ^
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % s4 C) ~& H4 X- z, X6 k/ w
  1860. ; such as dynamic images: {; I3 r! `5 ~+ \  U( h
  1861. ; http://php.net/tidy.clean-output# M+ h% G1 Z; a& }8 @0 Z* {
  1862. tidy.clean_output = Off
    5 d- H" |$ r* @
  1863. ; O# j- r' b+ \4 x
  1864. [soap]
    + ^& I- z! R' S, V# _% S  s
  1865. ; Enables or disables WSDL caching feature.) V5 d+ Y* P0 n2 R$ |! K
  1866. ; http://php.net/soap.wsdl-cache-enabled
    9 y; ?9 Z1 g" I! {8 D
  1867. soap.wsdl_cache_enabled=1: L7 |% ]3 P; e) e
  1868. " X& _5 i  e, v- P2 @3 A
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' D# l# G! O5 ~  k
  1870. ; http://php.net/soap.wsdl-cache-dir' ^# r/ o( j- E9 |- T7 y
  1871. soap.wsdl_cache_dir="/tmp"% g/ L6 b2 n; g! N: U, Y) W

  1872. 9 a* d' ?( W( [, |! f) w: J
  1873. ; (time to live) Sets the number of second while cached file will be used
    ( A) n, O- w- |2 A4 S7 B: |  `
  1874. ; instead of original one.
    8 B# Z# h% f1 a
  1875. ; http://php.net/soap.wsdl-cache-ttl
    2 O' `( O. y, y8 F
  1876. soap.wsdl_cache_ttl=86400+ p8 ^- K) s$ @9 @% T

  1877. & @- R8 |+ [1 m3 U$ \
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)4 t# @/ W$ |, d4 T  K1 J
  1879. soap.wsdl_cache_limit = 5: n& U% I, X$ w2 A% S
  1880. , A6 V/ l- {$ ^. p, D6 w
  1881. [sysvshm]: M1 q  i7 F; U2 |
  1882. ; A default size of the shared memory segment+ C% F' O8 D) x1 I4 A+ G1 g
  1883. ;sysvshm.init_mem = 10000
    * Y0 S' M- B6 U3 Q# \9 |

  1884. 0 y, U9 K* a% m0 E, Z, ~
  1885. [ldap]* {$ M: y$ E% Q. o1 _
  1886. ; Sets the maximum number of open links or -1 for unlimited.* o# `% k6 _! i
  1887. ldap.max_links = -1% X( Y* v" |# {! C
  1888. 9 t. D0 v. ?8 M
  1889. [mcrypt]! q- M1 X' c: ]) b) w5 y) n
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 s$ p/ j0 W7 E- ^" c

  1891. ( s5 S6 U0 v+ v$ v9 n: p3 h  z
  1892. ; Directory where to load mcrypt algorithms
    0 I1 f& N' ?3 z) ?1 u4 U2 Q
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( ?8 R$ P( k- H& U
  1894. ;mcrypt.algorithms_dir=4 K% i0 I& u5 Z) H, j4 B
  1895. ) y/ q, e3 C8 A3 j7 S
  1896. ; Directory where to load mcrypt modes
    % N1 W0 {4 j0 b" W7 h7 w7 }* G" Y
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); n: Z$ ^! v& c7 u+ l, k, ?
  1898. ;mcrypt.modes_dir=7 X' }# e! L1 \; e  [
  1899. ' _" F4 o1 ~! j/ ~: f1 |1 I
  1900. [dba]
    2 o4 P0 x0 g6 X' E' K# a% @9 Z
  1901. ;dba.default_handler=
    1 m) f- X0 X) e8 v2 `% Q/ |

  1902. 1 @, h* @9 `; L) Q7 K
  1903. [opcache]: j: K! J  n  m) K2 F0 L+ T
  1904. ; Determines if Zend OPCache is enabled
    & p) d9 @. Y# W9 u1 G0 E
  1905. ;opcache.enable=08 f: C8 `3 R: f, [* y0 D" `4 U
  1906. - Y0 U1 M  e2 `% v3 w
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , ^% h# L% A1 {
  1908. ;opcache.enable_cli=0
    - _! H4 E; I1 c( `6 P
  1909. : ^: \, x! T% I/ ^
  1910. ; The OPcache shared memory storage size.
    2 C3 y' P! T# L; s
  1911. ;opcache.memory_consumption=64/ J- \6 x) c. S, [& b0 u/ Z
  1912. ; j7 j3 r9 I  k$ M' \9 M  P/ B! s% K
  1913. ; The amount of memory for interned strings in Mbytes.
    7 A* G; H0 E2 ^, |
  1914. ;opcache.interned_strings_buffer=40 U% `8 k* \' s* _1 Y
  1915. ) {% |/ R& M& i6 b4 i
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.% r8 S' ?5 P/ ]) g3 I  s1 i3 {
  1917. ; Only numbers between 200 and 100000 are allowed.
    $ n' M5 t# H. c5 @
  1918. ;opcache.max_accelerated_files=2000% U' H, K2 t) x# o

  1919. ' O+ u. [+ l! y  `/ w
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    0 _8 j; C2 a( i; c! j  T
  1921. ;opcache.max_wasted_percentage=5
    , r( e; m) i# o4 ~6 K: g  P
  1922. / A2 A$ ^& x0 ~0 ?2 j8 j% f8 T
  1923. ; When this directive is enabled, the OPcache appends the current working
      r6 g) s' {, }% T5 ?
  1924. ; directory to the script key, thus eliminating possible collisions between
    2 _  e. u7 q, k1 ~+ \& C4 k
  1925. ; files with the same name (basename). Disabling the directive improves+ h6 ]0 L7 w% }5 o: a. H* T
  1926. ; performance, but may break existing applications.% c. b1 x: O" M$ v0 J' ?
  1927. ;opcache.use_cwd=1
    6 T# D6 m7 Q6 j
  1928. / i6 L6 S* U' a& O7 |) X
  1929. ; When disabled, you must reset the OPcache manually or restart the
    6 i' y/ a0 d5 W1 E% S4 x
  1930. ; webserver for changes to the filesystem to take effect.! J$ z: I; V  u9 R8 p( h+ a0 {5 J
  1931. ;opcache.validate_timestamps=1
    $ `; ?: D$ Y9 b" W

  1932. 9 Q- D$ s9 ?7 S! X: [
  1933. ; How often (in seconds) to check file timestamps for changes to the shared: ]! w6 @  k, g# x" ?. r
  1934. ; memory storage allocation. ("1" means validate once per second, but only& P" u+ R: c0 M0 @( R
  1935. ; once per request. "0" means always validate)5 Y8 z6 C+ x1 z$ Y+ y8 J9 B
  1936. ;opcache.revalidate_freq=2
    5 i: m; C# {' N2 W% a9 Q' ]0 c
  1937.   l$ U5 X" U, X& v* ?  D  Q
  1938. ; Enables or disables file search in include_path optimization
    : \/ x9 R; k2 i$ L$ V
  1939. ;opcache.revalidate_path=0
      |* [0 I& e" X: o! P) S" O5 M

  1940. 5 H1 h) p6 a. q
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! z; S' t  |( U5 H" ~9 J5 R3 a
  1942. ; size of the optimized code.4 w$ {( r- D2 ^! ]& D( F
  1943. ;opcache.save_comments=1" O) G* H) d) G2 F5 O* ^' {
  1944. 9 f1 b. i" J1 F( [9 t
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    + ~% m7 n% M8 n
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ; i' R1 l4 H" V, l- E$ Y1 x
  1947. ; that don't need them anyway.
    : `4 |" \. |) B6 C0 `& U2 J
  1948. ;opcache.load_comments=1+ Q3 @5 O. n+ g

  1949. 8 j6 F0 B% i, X8 |4 l
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 r5 F4 U6 A" _
  1951. ;opcache.fast_shutdown=0# ]0 j9 d( G! i# s% o% f$ _
  1952. + @. v  G" {3 e1 Q2 Y- n* ]
  1953. ; Allow file existence override (file_exists, etc.) performance feature.8 A5 g% @& N+ l1 ]
  1954. ;opcache.enable_file_override=0
      N0 U/ U' l- q' j  e( A
  1955. 3 l  e! z0 f; D1 G) `
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache6 g4 F9 D  \4 |6 y$ P9 B
  1957. ; passes
    * @% `8 Z+ p; t- G$ }
  1958. ;opcache.optimization_level=0xffffffff7 w, O  R& C: g

  1959. . f! C8 D! z3 P0 Z& G+ ~( l2 o) @
  1960. ;opcache.inherited_hack=1% p( i' ?! H- ~5 c& U. t; C! T% P
  1961. ;opcache.dups_fix=0  n2 m- Y: c- H/ _' s9 l
  1962. $ F1 Z+ ]( \% T& i8 Z! E! M/ R: h
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    " i, q: {2 h0 T. C8 }9 Y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files* r0 ?% g; f  D3 }
  1965. ; that should not be accelerated. The file format is to add each filename* S- v- G, {$ P6 Q5 g* Z% O
  1966. ; to a new line. The filename may be a full path or just a file prefix
    $ @( t, f' [3 E9 n' `
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 Q+ [, y- e* {, E. ]+ [8 V
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    5 X4 m" B: c: p
  1969. ;opcache.blacklist_filename=
    3 Z8 j6 m1 q, W+ O( b) o
  1970. ; L: k* @* I7 l3 @- k5 v, `
  1971. ; Allows exclusion of large files from being cached. By default all files
    8 Q0 p5 w9 I, s& @& X: M! q
  1972. ; are cached.( a0 E! L, ~5 J: K2 x
  1973. ;opcache.max_file_size=0
    2 g$ X9 S1 k3 G( O9 O

  1974. 4 ]2 v8 ~5 v$ V# n  m$ t- q
  1975. ; Check the cache checksum each N requests." @9 [1 z9 g3 Y1 t) Q4 p) d; ^
  1976. ; The default value of "0" means that the checks are disabled.7 I6 N, w  r' X7 z8 U- D; R1 e: ~( O
  1977. ;opcache.consistency_checks=0
    * B# C3 v0 C- d; R1 h7 J+ z

  1978. + {' `7 \8 O0 A. R" v
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 l. r* i' z$ y
  1980. ; is not being accessed.4 X+ T5 D( o: M8 j* f0 p
  1981. ;opcache.force_restart_timeout=180, |8 u: z- _! Q+ w# g3 D
  1982. 6 N+ O- V' |* `& s; J5 m2 o! [
  1983. ; OPcache error_log file name. Empty string assumes "stderr"., p. ?9 p/ t" r% y" z
  1984. ;opcache.error_log=+ N& Q( q/ b; n2 Z
  1985. " i5 g1 Y% M0 T  Y& _2 G
  1986. ; All OPcache errors go to the Web server log.
    9 ?. y! ^7 z% e7 M" x' M
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    * R7 t' _' l9 h; p+ z& S& ~
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    & D: n, ?% [. b7 `( e) A
  1989. ; debug messages (level 4).( Q/ {! Z$ q" \3 ?/ k
  1990. ;opcache.log_verbosity_level=1$ d0 R, p& J4 X6 i
  1991. 5 \' z; Z1 q& |
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    5 \. I0 r. f" f4 Q+ k: o
  1993. ;opcache.preferred_memory_model=
    * w; q1 ~) Z" V6 L5 l1 T

  1994. 2 B: ^9 J" x( a) A) @; ~
  1995. ; Protect the shared memory from unexpected writing during script execution.1 T+ k! h) c' i1 ~9 j6 a1 d7 X5 @
  1996. ; Useful for internal debugging only.
    0 h( @/ @, L0 p& g! @, o1 k
  1997. ;opcache.protect_memory=0# X+ w$ r+ v2 e' f

  1998. 8 J0 j% H8 A$ H
  1999. ; Validate cached file permissions.
    , t4 A7 B2 C" z) [
  2000. ; opcache.validate_permission=0& c9 {' s+ t- f2 I$ B. D1 I" u

  2001. 8 y6 q) G3 r8 t9 _) F
  2002. ; Prevent name collisions in chroot'ed environment.
    2 Y3 t0 K" r7 w& ^
  2003. ; opcache.validate_root=0! Z" v6 V. ~9 w& u9 y2 i

  2004. 2 T$ P; \3 `* A& i9 S$ S7 @
  2005. [curl]
    9 ~$ ^# n- W6 }: ^8 z3 c/ d
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an& G) P8 q& x7 Z  s+ L. c
  2007. ; absolute path.# @( a' u# [! n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt5 }# j$ o- ^( r0 t( r9 R4 I1 l

  2009. # o7 F0 }8 o) _/ ^
  2010. [openssl]8 T$ t6 L0 s0 B. g' r+ X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    : P' S/ f5 a6 d) f3 V
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + r% O# d3 K4 L' {8 S1 l+ t
  2013. ; not specify a value for this directive as PHP will attempt to use the6 `0 o0 a+ u3 Y
  2014. ; OS-managed cert stores in its absence. If specified, this value may still+ G8 w1 {  T2 p) b3 s
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context4 @8 }+ u$ Q8 x
  2016. ; option.' |3 p: ?! J1 i; U5 B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    + {; u+ ~( z. D4 f: ]
  2018. * [' s$ m, N6 d% n, @) q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
      s* ~( ?! A* l! ]& l. l; f6 i2 A4 ^+ A
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ! I' a# j  ]8 d5 [+ W
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    : \/ E* l. G2 u+ c5 M; d! Q
  2022. ; Most users should not specify a value for this directive as PHP will
    : h% s) G& _5 g, q: y8 w7 Y
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( k. B6 B: Q' _2 B
  2024. ; this value may still be overridden on a per-stream basis via the "capath") Z1 i) M3 b& m* Z, h
  2025. ; SSL stream context option.
    + K) c; c# W, U" U7 {4 L$ W7 O
  2026. ;openssl.capath=
    ! B0 S2 u1 B1 e3 E7 i1 A6 P

  2027. $ F; J, u9 t+ ^- D
  2028. ; Local Variables:7 C% |: |" R; O- V( R+ Q4 c: U( W  K+ {3 L
  2029. ; tab-width: 4
    ! s$ y4 R, x: L3 h: V+ y
  2030. ; End:
    $ s& j, Q$ Q, c. a% w4 g" L
  2031. ) f/ f0 W  ~6 `5 U0 Y: ~
  2032. ;eaccelerator
    ! y; ]2 t$ C5 N% k

  2033. # B/ c8 P2 F* t4 U6 b
  2034. ;ionCube
    ) Z. m+ A) E! N& d. H/ ^2 _  h! d
  2035. 7 b. W! V4 f$ ^8 T
  2036. ;opcache! S, a& Y$ e! X9 I

  2037. # q3 H( g7 P- `9 ]5 f, y. R1 t
  2038. [Zend ZendGuard Loader]" A' ^/ u) o6 c, g' q. O1 d9 J
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so: t  I2 i3 q7 P+ D9 ^) `0 g
  2040. zend_loader.enable=1$ r( U, ]3 P+ h( X
  2041. zend_loader.disable_licensing=05 i! _. L" j. C
  2042. zend_loader.obfuscation_level_support=3
    4 t2 U8 G& v4 A: ?2 W
  2043. zend_loader.license_path=
      T/ Q% b" I. w+ U. P1 @7 g
  2044. 2 n. R- h) _' \5 B( j& h4 M3 `1 y
  2045. ;xcache
    ( h: I$ c- m6 `; }
  2046. ) r8 a# O5 z) p& N' S3 {8 o, o5 h( E
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146926 S3 O1 d1 K! T- y* C0 T5 N. l
7 A0 j/ j: [# {& O- \  k% Z4 T

& V' C( p9 D: y6 K' ^Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,2 }# n# a, w& u1 e% a& N
2 I( k8 f$ _1 W' C  n. H
Discuz!程序版本选择:3 Q1 {" ^; c' z3 v$ ~( _" h
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,6 h% A2 x3 m$ u, U2 d6 I0 d
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
  t( }: G- S/ Z; y4 ^9 hDiscuz!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。! I# \/ g+ X. ?" h+ K8 s

! h7 e: X) d8 r7 a, QDiscuz!插件模板版本选择:
$ G( z5 h6 f2 U3 Q3 Z8 F很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,/ R# Z! P' s. Q
针对这个问题做个统一的普及:
+ ?" l+ i# Q8 h6 h* v- i! 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 D# J. C) ^8 N
4 {5 d! H3 E- [7 R6 Q
所以
: V7 h0 C$ F* @. L4 K/ ~- q适合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的二级域名。' E' i4 P! G( r" g* m0 {
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
1 P& T; ]0 y6 L注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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