分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: w3 U: \2 I% p; h
9 q+ A/ B' E6 v- O, w4 f
  1. [PHP]1 f& A' H4 @" j6 t& X8 Z; E5 T
  2. 1 g9 L# I( g: n% m' ~! h' a' y
  3. ;;;;;;;;;;;;;;;;;;;# o1 x+ K# d# L, T) G8 R. M
  4. ; About php.ini   ;5 H+ f. r: f( E% Z7 f4 ]
  5. ;;;;;;;;;;;;;;;;;;;! O6 Y: p1 S1 _" e% h$ k+ b
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    - d- c1 z5 u( f+ O7 Q6 {
  7. ; configuring many of the aspects of PHP's behavior.
    8 b4 i9 k% }; U; u% Y, s
  8. , m  y! o7 F' u* ~* f0 O
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) b$ r- _& t; A" ]3 R2 J1 M' W
  10. ; The following is a summary of its search order:6 A6 Z$ C- l; |* U" C! q8 _3 {/ W
  11. ; 1. SAPI module specific location.4 _  D! X' h. k0 t
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    4 y  N* h2 [9 j, ~6 z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! Y) m9 Y4 a4 `
  14. ; 4. Current working directory (except CLI)
    . M* |3 h0 X2 ^
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( J  l4 W8 y8 S6 Q  Q; c8 J$ u" M" m
  16. ; (otherwise in Windows)
    & X. e! ~% R$ u- k8 P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / ]# [. |" z& o* h
  18. ; Windows directory (C:\windows or C:\winnt)) {4 ]3 T2 @( q* n+ S- w
  19. ; See the PHP docs for more specific information.% N& P' S3 J4 O
  20. ; http://php.net/configuration.file
      o4 p" a5 D& Q; Z; Z/ ?! Z

  21. + {8 d7 v6 G9 G+ N8 o+ S/ D
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ R7 D4 j$ n: R  R( M
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).( a, g% _6 ]& G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    + e; ?! v, ~( t1 d1 d: D9 \
  25. ; they might mean something in the future.
    % e% n" _$ B/ a

  26. 0 d* r1 m) K# Y5 l7 I$ x' [
  27. ; Directives following the section heading [PATH=/www/mysite] only
      S2 w4 ~! K3 y. Q/ p
  28. ; apply to PHP files in the /www/mysite directory.  Directives  |0 n) Z1 k; {; M4 {4 U$ P
  29. ; following the section heading [HOST=www.example.com] only apply to$ f- C5 F0 v9 ~$ C
  30. ; PHP files served from www.example.com.  Directives set in these
    - s5 }# u# w3 U
  31. ; special sections cannot be overridden by user-defined INI files or: k' }* ]% Q- D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    + d5 E! G8 L  D+ K- L! y. _, Y  {
  33. ; CGI/FastCGI.
    0 `! n5 [) b  j9 K  v2 w, J8 ^8 X! e
  34. ; http://php.net/ini.sections5 S' O% w3 X* |& n( E0 J

  35. 0 I2 Z) R* e$ H. W
  36. ; Directives are specified using the following syntax:: ?& T+ A( U- c. t  L
  37. ; directive = value
    8 J5 u1 Q- f- F& T. \. d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.4 B. o7 G2 Y- ^% n) f) Z9 H
  39. ; Directives are variables used to configure PHP or PHP extensions.' ~% X$ M8 T, L3 W$ S
  40. ; There is no name validation.  If PHP can't find an expected3 V) h6 ~& a$ @8 v4 Y
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " O& |9 Q& Q$ U. b- u3 x0 G( a

  42. 5 |- B: h# g2 L8 e) v' N# _  u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. \7 @# r) j$ Y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression0 L. y/ L6 H7 i& B! k
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    , w( g' ]7 h) I8 w% C* O- `9 D
  46. ; previously set variable or directive (e.g. ${foo})
    - ]* J- c4 c8 i, i2 D0 V

  47. : p3 Z/ v8 i$ l" I1 Y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 q% S- _6 i. \2 S4 g& Q9 X' Y5 P
  49. ; |  bitwise OR5 |* E, b9 {  l- t) _' f
  50. ; ^  bitwise XOR) V4 L; h+ o. V( a
  51. ; &  bitwise AND8 t4 K% x1 o8 `7 [! S0 l
  52. ; ~  bitwise NOT# ^/ L) y( c5 X. v
  53. ; !  boolean NOT
    $ l1 m5 l' u( z
  54. 4 l4 w9 j/ z7 \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    9 T' ]$ w% s6 l. R
  56. ; They can be turned off using the values 0, Off, False or No.
    # ]  r$ F  W+ @; V8 a
  57. & J8 c+ ^, k$ t# G! K% H7 r2 d
  58. ; An empty string can be denoted by simply not writing anything after the equal
    + E! G" t7 Q( o
  59. ; sign, or by using the None keyword:
    2 j5 u" t2 x  F0 V5 E" L3 ?9 A
  60. 9 G  @$ n8 |0 n9 Y
  61. ;  foo =         ; sets foo to an empty string
    4 b; g- M1 f7 [; P7 f3 H% P  G
  62. ;  foo = None    ; sets foo to an empty string, V' {: d5 K# J9 A0 w
  63. ;  foo = "None"  ; sets foo to the string 'None'. l7 U' F0 E1 Z* l; b

  64. 8 m+ K1 w: i9 n* O6 B4 j* Z! ]
  65. ; If you use constants in your value, and these constants belong to a
    % w) Z. u1 H- Q0 `5 k% e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 G- n/ T. W9 ~. X: C
  67. ; you may only use these constants *after* the line that loads the extension.
    8 S* g. h6 B7 m$ v! U
  68. 2 u3 u, F9 Y" N. P' @
  69. ;;;;;;;;;;;;;;;;;;;* A( h6 E6 i0 W1 M% v0 i! w1 Q
  70. ; About this file ;
    . @; @3 b7 V! x/ y* a: r
  71. ;;;;;;;;;;;;;;;;;;;+ k9 a5 q4 P" m" k  ^, i, Y7 f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # X- T- L( a( O
  73. ; in production environments and one that is recommended to be used in
    ' W$ R( n3 _+ M, }; n( K
  74. ; development environments.. P$ b; M. p8 C# k: d) R4 R3 {  e1 p2 Z

  75. : q# p( h5 ~( O# V5 n0 Y
  76. ; php.ini-production contains settings which hold security, performance and1 ~( D* q6 y: }3 K3 c2 B, U
  77. ; best practices at its core. But please be aware, these settings may break
    . C, t0 C3 p6 K. s; V$ @' [
  78. ; compatibility with older or less security conscience applications. We" d" P$ _" Z" `$ P* c
  79. ; recommending using the production ini in production and testing environments.0 \1 \& y( |% T$ K8 t

  80. / `+ a) a7 O% }( k3 G+ i
  81. ; php.ini-development is very similar to its production variant, except it is
    ' z: l  K8 x( j3 l
  82. ; much more verbose when it comes to errors. We recommend using the
    7 S) `8 A  F1 [5 z
  83. ; development version only in development environments, as errors shown to# E+ S9 [5 |% q* f& }8 n  h/ @
  84. ; application users can inadvertently leak otherwise secure information.3 ^% M" y( z) \, c3 k" @. T' F

  85. 4 B0 S$ }; t  c4 a8 `" ?  m
  86. ; This is php.ini-production INI file.
    ! A) B5 t" j2 |- S0 f
  87. ' M/ h! n  I3 B6 j; y# A) N
  88. ;;;;;;;;;;;;;;;;;;;
    : E* q. k0 ^, j  P# }% i0 }
  89. ; Quick Reference ;
    % ?+ Z4 `' V8 v, ~" o+ F. |( s$ V
  90. ;;;;;;;;;;;;;;;;;;;7 J* e( a9 [  B  B: ~5 Z
  91. ; The following are all the settings which are different in either the production
    ! T! Z9 l7 {, u0 k
  92. ; or development versions of the INIs with respect to PHP's default behavior.- B4 o) x+ G% x( S/ N. @9 w( g( `
  93. ; Please see the actual settings later in the document for more details as to why
    - o4 i& W9 i" E# y( k/ `. u7 l
  94. ; we recommend these changes in PHP's behavior.' D: {7 v$ G" q; J& c
  95. # O8 s8 Q* R* z/ x' S3 }1 w" c
  96. ; display_errors
    ( C0 R9 f8 I9 m/ e( S% M
  97. ;   Default Value: On
    ! A; R1 V$ g# A; E1 `, m& D
  98. ;   Development Value: On5 p0 `0 W4 b% J
  99. ;   Production Value: Off" d! B( c& o0 F# F

  100. 4 ]3 w7 I. l1 v0 ]! w3 a
  101. ; display_startup_errors* K, }' D; P/ E" k  [$ `' b  D
  102. ;   Default Value: Off0 N  q& s( I# F$ }/ w7 R
  103. ;   Development Value: On
    " g' n6 V6 Q* a: b7 e- H
  104. ;   Production Value: Off; I: a8 ^* ]4 g# m
  105. ! [' O. X$ `. |( Q1 r! V0 Y& e
  106. ; error_reporting. A6 ?- m# i( ]& k, y( O% l4 a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % H- v1 x/ i6 u
  108. ;   Development Value: E_ALL4 p8 C  X/ n' a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , D: _5 [2 d' T; G, ]

  110.   e4 u2 }# x/ I, Y$ s4 A% @. D
  111. ; html_errors
    # E0 t* b  E% n6 [2 p
  112. ;   Default Value: On& O6 a$ o3 \. h4 z3 @
  113. ;   Development Value: On
    7 |+ ~! }6 {+ l1 b
  114. ;   Production value: On8 }- e% V6 v5 A0 c. ~7 e( U, S

  115. % M" v6 P- g' b& H! m
  116. ; log_errors
    " E" W2 N$ z& w9 }9 f8 K& Y
  117. ;   Default Value: Off
    2 m7 p$ I" e  j: _8 A7 V+ F, E% p
  118. ;   Development Value: On
    ) y, C+ ^) y! B% y% y) Q. f, v3 ~
  119. ;   Production Value: On# I; _. V6 C+ j: ^  D6 A6 {' M
  120. ; E1 j8 [3 ?: O8 r4 [: ]' w# M( K4 q
  121. ; max_input_time
    2 O0 S4 H8 _7 o/ v* |9 N- {
  122. ;   Default Value: -1 (Unlimited)5 |" O* q: ~- Z+ @
  123. ;   Development Value: 60 (60 seconds)9 ^; Y* g& O6 S5 l
  124. ;   Production Value: 60 (60 seconds)
    " h0 ~- t# q$ B! T
  125. & z0 D( N0 C- `6 l& e
  126. ; output_buffering( {2 c* \9 c8 \# R* u" E, `
  127. ;   Default Value: Off' v4 b1 X  |: b9 ?9 \; q7 H! g
  128. ;   Development Value: 4096
    ; h" @3 b  l4 k# \/ C
  129. ;   Production Value: 4096/ T1 j- U0 r+ s9 {- m
  130. ' H7 e& Z/ C+ B/ H* E! A5 }2 k6 t9 k
  131. ; register_argc_argv
    5 Y' P' t: Y) a
  132. ;   Default Value: On
    # T0 t* z  W' \( L
  133. ;   Development Value: Off# H& o& b% C- F  |, x" {' e
  134. ;   Production Value: Off
    ) [0 F( N( z( {) p+ M  ^* |

  135. ' P! h6 i7 m8 Z8 K- A
  136. ; request_order$ e! o( Y4 B" T
  137. ;   Default Value: None
    & C0 R0 F9 T( o% c' g) z* a
  138. ;   Development Value: "GP"6 s. W' }/ n3 y  ]* X7 S. O- g- L
  139. ;   Production Value: "GP"
    ! K( G, ]2 ^4 h, S7 m! @) ]6 z
  140. 0 \" }8 P  U9 ~& ]3 l" B
  141. ; session.gc_divisor
    ; E. @* Z1 b# X: K3 Z$ O$ X
  142. ;   Default Value: 100
    ) X* \7 ?7 @) @9 h3 X
  143. ;   Development Value: 1000
    8 C+ L, ?8 u% ^+ X  C8 x3 l
  144. ;   Production Value: 1000
    ( ~, z$ C! k2 ]0 s& n

  145. 9 C0 x4 P  _) o- }
  146. ; session.hash_bits_per_character' R4 O9 Q( W4 D9 D
  147. ;   Default Value: 4, k! \# Y5 f% F7 i
  148. ;   Development Value: 5
    4 u7 [" {2 D- J, ]; c
  149. ;   Production Value: 5
    . D# `8 A' B# X$ m2 d% @0 N

  150. , r8 m0 I3 a( H. U& c& n$ R
  151. ; short_open_tag
    + J( Z+ g2 Z% |$ V
  152. ;   Default Value: On5 L5 m4 G& [8 o! N- _9 n+ T; A
  153. ;   Development Value: Off
    ( p" A7 c7 B+ v; p1 a
  154. ;   Production Value: Off; w  P' }0 f; a) d2 s" c$ V3 p
  155.   s3 o8 a+ p& Y+ z2 a$ C1 o
  156. ; track_errors9 q" ~% J% W1 \0 n. t
  157. ;   Default Value: Off
    / O7 V  T3 c) Z
  158. ;   Development Value: On
    3 ?  j5 O' I; n4 _* S
  159. ;   Production Value: Off
    + S# m1 `2 e4 @/ k% R; F
  160. ( q6 l' ~/ q5 B* b$ M8 R& J1 D
  161. ; url_rewriter.tags
    % h& C1 f' j" F& g7 B3 M
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + D- u7 I" _# X' n0 `/ v0 i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - }+ A* X2 V" t) d3 n' r' |$ N/ h
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . u3 J2 T- f1 e# d4 n8 z
  165. $ z- K" I0 W8 ]2 _! n
  166. ; variables_order
    / @5 q( r/ G* g% f
  167. ;   Default Value: "EGPCS"( b: ]- Z- e& F+ M& a
  168. ;   Development Value: "GPCS"9 q! A" I2 }+ }: o
  169. ;   Production Value: "GPCS"9 u+ V: q, k; p& A/ o/ h

  170. ' @- \9 q7 r+ T% Q) r
  171. ;;;;;;;;;;;;;;;;;;;;
    3 [0 d+ C3 \0 O0 E2 y" k+ z
  172. ; php.ini Options  ;0 ~& G" A8 t# p! ~& n" G
  173. ;;;;;;;;;;;;;;;;;;;;
      \0 Y- Z! h. k
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ) ^' C! h9 z( e* e' u
  175. ;user_ini.filename = ".user.ini"* Y7 o8 E( @/ e! ?2 |0 w
  176. ) Q0 h* q5 q9 L4 j% e0 L
  177. ; To disable this feature set this option to empty value
    ' c$ E# p! [3 X4 N
  178. ;user_ini.filename =! O6 D( e8 e9 S# @2 [

  179. ! E. q4 {3 P' w8 S
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 F7 H2 H" z5 K8 |% X2 X9 y  c( y
  181. ;user_ini.cache_ttl = 300
    4 C2 ^' P* x  S; C: h3 W

  182. 8 L" L8 Z. s4 t) M, m6 v8 e
  183. ;;;;;;;;;;;;;;;;;;;;
    # k1 k3 V1 O, S/ h- p& U( j
  184. ; Language Options ;
    : m2 j* Z  j; h' ?; O5 u7 ^
  185. ;;;;;;;;;;;;;;;;;;;;
    ( X( f) g9 T$ I( L

  186. # f8 V& R& u+ {7 f8 L& G- d- M5 j8 v
  187. ; Enable the PHP scripting language engine under Apache." U! o# j4 ~5 [; Q3 R
  188. ; http://php.net/engine
    - k" B' N+ Q/ H0 M$ ~, N
  189. engine = On# k1 a* A) y+ ~& `# w
  190. ( h8 A( @# K( n; C* I
  191. ; This directive determines whether or not PHP will recognize code between( q+ L9 l) |& I) [% l8 Y' n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* j( A8 @$ g2 e/ e; X
  193. ; generally recommended that <?php and ?> should be used and that this feature3 C' R1 g# h  @; Q$ M/ E0 x/ d! x4 y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & W* V9 B* q7 \
  195. ; documents, however this remains supported for backward compatibility reasons.5 T  q6 t6 [( l( m' N* a6 x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 z' M; y* Y+ J: Z
  197. ; used regardless of this directive.$ Y" h0 ?" _( a! |5 B' q
  198. ; Default Value: On6 L( S: V  A3 R) T$ ]
  199. ; Development Value: Off
    ( g: P2 Z7 w4 q# C, D! ?. Q! E: J
  200. ; Production Value: Off" g. U* _& b& J- c' b: b7 H- x
  201. ; http://php.net/short-open-tag
    0 ~, }: r  ?1 T! P5 z' p
  202. short_open_tag = On1 X2 t+ e2 {# U, n8 r! ~
  203. 7 i' C( G( N' m. a* k6 ~& x. T  F
  204. ; The number of significant digits displayed in floating point numbers.
    2 s+ }- U. \9 E! l" f7 h" G
  205. ; http://php.net/precision# u4 b; m4 }. m6 X$ L
  206. precision = 14
    4 W8 ^9 v4 Q! ?

  207. ' T! Z  l. t* Q2 a  t7 g( a
  208. ; Output buffering is a mechanism for controlling how much output data0 b8 l3 u- N; l8 w2 Z
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that$ U/ e& O% b% a4 j% P) U
  210. ; data to the client. If your application's output exceeds this setting, PHP
    : r4 _3 q1 V& X% F. d- f
  211. ; will send that data in chunks of roughly the size you specify.: h; [# r  j4 Y" A: I2 L
  212. ; Turning on this setting and managing its maximum buffer size can yield some2 E' S$ l. C9 r; Y
  213. ; interesting side-effects depending on your application and web server.+ B! m- c" e3 B  U' J7 H
  214. ; You may be able to send headers and cookies after you've already sent output( W' P  r& ?; |. [% Z$ j
  215. ; through print or echo. You also may see performance benefits if your server is0 ~' X& f4 P" T. e$ U' K* P* G
  216. ; emitting less packets due to buffered output versus PHP streaming the output) H, x' P  n1 W! p1 U
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: r& T8 L) g6 [
  218. ; reasons.. e2 |, N, m7 {8 c0 G
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 _- H# h+ k- `4 }, }8 D
  220. ;   functions.
    & q; X- j- R, l
  221. ; Possible Values:
    , T! z0 w! G- g5 L
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)8 M. k+ a5 ~) x( e/ Q8 {) S0 H
  223. ;   Off = Disabled
    - E5 T3 t8 \( Z! @
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.% L$ C- L( }* z$ c& ?! Q
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI1 n& u) ?( A5 g/ |  D
  226. ; Default Value: Off
    6 S! B. U* J/ {
  227. ; Development Value: 40968 U. d5 x% c$ a
  228. ; Production Value: 4096. c: }% c4 `( C- Z; V# l
  229. ; http://php.net/output-buffering
    4 t) x$ x3 w4 ~4 _* F% H) ]8 S
  230. output_buffering = 40964 z1 U# b6 a( D# d1 _" e; J3 y
  231. 1 F# W  N) A$ b) d/ t0 Y  a) q  Y
  232. ; You can redirect all of the output of your scripts to a function.  For  S8 I( V7 v/ H, X# f
  233. ; example, if you set output_handler to "mb_output_handler", character
    # N4 |3 I' @: @& ], r; C7 s6 P- L
  234. ; encoding will be transparently converted to the specified encoding.
    - l4 ~& O5 F3 f! T
  235. ; Setting any output handler automatically turns on output buffering.) f. w: v" p2 f6 t9 P8 g+ d
  236. ; Note: People who wrote portable scripts should not depend on this ini
    8 s  N% Y& J" M1 B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    - n. }. a, d3 R3 ~0 I
  238. ;   Using this ini directive may cause problems unless you know what script4 d* ^# N/ `- a
  239. ;   is doing.  @# q0 F$ G. l0 ~4 {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . g- f. E' r3 Q
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 [/ K  q, U" N* N# b) ?& v
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 f( }5 p7 t% w/ Y' q" q" ^& ^
  243. ;   Instead you must use zlib.output_handler.2 u( D& T) Q3 b/ v* ^/ D9 v: j0 A  W
  244. ; http://php.net/output-handler* _. U* G5 M$ Q
  245. ;output_handler =
    9 ]: P7 k- l6 H" a
  246. 9 q6 j# [. |: x. f3 d
  247. ; Transparent output compression using the zlib library
    & M& C( E' b7 d, L
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    4 h, b6 U2 n) C% y
  249. ; to be used for compression (default is 4KB)
    $ e- K/ ]9 A+ n& M
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 ]- h6 C7 |- Q5 p3 C
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * H5 M6 B$ }% t! E6 W+ Z3 q; c
  252. ;   compression. If you prefer a larger chunk size for better
    " K' ^1 |  V) e, ~& O
  253. ;   performance, enable output_buffering in addition.7 I) J3 Q) p3 f  @) u
  254. ; Note: You need to use zlib.output_handler instead of the standard
    3 F* _% d: r: i/ |: q% J, N
  255. ;   output_handler, or otherwise the output will be corrupted.6 s1 ~5 N2 R- N& Z6 d0 ~4 }% U
  256. ; http://php.net/zlib.output-compression
    % D9 T. H# J& s! M# [! M
  257. zlib.output_compression = Off. U8 T3 e$ n0 P0 I7 z
  258. - m( I! c7 W; q4 ]% F
  259. ; http://php.net/zlib.output-compression-level
    + m) |9 s+ z3 y9 w! ?4 i4 v
  260. ;zlib.output_compression_level = -1
    4 o5 U2 {6 n: u" |8 r) n

  261. 0 q2 a2 m0 z- b2 F0 t! Y
  262. ; You cannot specify additional output handlers if zlib.output_compression9 O7 f  V. y/ ?$ ]7 p
  263. ; is activated here. This setting does the same as output_handler but in
    ! `" Q. A; t% N) w
  264. ; a different order.
    ' o! U6 O+ Q& j( ?4 @/ ^
  265. ; http://php.net/zlib.output-handler
    4 x! M4 U' J3 V  ^  y0 S! x; p; F
  266. ;zlib.output_handler =
    1 j' m0 X3 T+ t1 _/ P
  267. ; }3 U3 ~* }9 X1 |( F% S
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    : h3 K7 K; W; T/ z& a0 q
  269. ; automatically after every output block.  This is equivalent to calling the
    ' H7 N9 I! L- ]: l8 o
  270. ; PHP function flush() after each and every call to print() or echo() and each
    9 H; ]% T% j0 P3 {5 h* Y- l
  271. ; and every HTML block.  Turning this option on has serious performance+ W& z1 p2 _, F0 y! I( U0 B! q
  272. ; implications and is generally recommended for debugging purposes only.. J. T. p2 v5 q
  273. ; http://php.net/implicit-flush5 S) D+ h" R" V1 l& i3 S0 T! R
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    + R0 b# z/ u& Q+ O; k' T  _$ S
  275. implicit_flush = Off) a$ f/ A; h* n* D" ]* Y$ z3 F
  276. # H0 W7 H+ ^) Q: N( ?  r
  277. ; The unserialize callback function will be called (with the undefined class'
    ( a. l# S' A, Z1 w: ~8 ^
  278. ; name as parameter), if the unserializer finds an undefined class
    . D3 V' k/ ~. E: M, u5 E1 m; c4 {/ s
  279. ; which should be instantiated. A warning appears if the specified function is
    0 [+ j5 r/ n. ?: m5 Q6 B1 ?0 V7 z$ |) j
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ( ]! I/ q0 U$ P) ~" d* ]  j
  281. ; So only set this entry, if you really want to implement such a. |' i+ a* [6 b; z& K
  282. ; callback-function.
    & n5 R# X/ S' x1 N0 G8 w
  283. unserialize_callback_func =
    & h& k& W- j7 q2 C4 @/ Q% I
  284. 3 |  ~2 Y8 L: M  \
  285. ; When floats & doubles are serialized store serialize_precision significant
    . `: Y5 V) `" r! {
  286. ; digits after the floating point. The default value ensures that when floats6 `  e. p# t; Q
  287. ; are decoded with unserialize, the data will remain the same.
    9 h# ?$ e, ]5 v8 T' S. f, h! o8 d
  288. serialize_precision = 17
    " M6 a2 [, ?8 U- ?5 h. m, C

  289. % r2 `/ G6 v; a% d& s
  290. ; open_basedir, if set, limits all file operations to the defined directory: [% d0 s$ g: f; l
  291. ; and below.  This directive makes most sense if used in a per-directory
    0 K; O; y3 I$ T1 I6 \! u; R/ ~
  292. ; or per-virtualhost web server configuration file.
    2 T& K+ x* d/ k
  293. ; http://php.net/open-basedir1 u: Y7 u' g3 L8 \/ y) h- a
  294. ;open_basedir =4 g2 I0 a! B$ P+ T/ }) Y

  295. + [4 M( S% }$ y& C: e
  296. ; This directive allows you to disable certain functions for security reasons.2 W* B# F% q" ~3 O
  297. ; It receives a comma-delimited list of function names.
    2 ?: K- G5 i0 \- b% s
  298. ; http://php.net/disable-functions7 n! X: q- O) c+ R1 [, p! p
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " v# w1 K0 {8 i3 T; ?2 ?
  300. & Y' X2 Y- \" r" `' x! `  z
  301. ; This directive allows you to disable certain classes for security reasons.
    2 a% {, x& M  Z( q) C1 r/ w
  302. ; It receives a comma-delimited list of class names.
      X* V* a# t  K) ^* \! {7 \8 \
  303. ; http://php.net/disable-classes' X" d, R2 e, W
  304. disable_classes =/ U) [' G4 F# Y! R0 m# l
  305. , h) y# M5 C, U5 _# g6 t0 j8 ^, O) R
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ w) Z0 T" k  l
  307. ; <span style="color: ???????"> would work.) O( `; m2 H/ U4 K7 {! u) U
  308. ; http://php.net/syntax-highlighting
    3 }. a) \8 }% `  Q$ U
  309. ;highlight.string  = #DD0000( M: Y' s% {+ H. |+ `' ]# \
  310. ;highlight.comment = #FF99005 A1 v$ E1 \8 m/ G, f/ B% n
  311. ;highlight.keyword = #007700" T/ o1 P! H& F0 W/ z% d
  312. ;highlight.default = #0000BB
    1 `+ e6 X7 P7 ~2 n% W. r
  313. ;highlight.html    = #000000( U3 ^& v4 ^4 t; @1 c
  314. : z: Q7 i; C3 d
  315. ; If enabled, the request will be allowed to complete even if the user aborts% P. w% s$ Y! \
  316. ; the request. Consider enabling it if executing long requests, which may end up% ]$ W3 D( p) @" q- @% \
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    * r: N$ T6 B; `7 R4 P+ b4 j
  318. ; is to disable this feature.
    5 h- Y/ Z3 D' w
  319. ; http://php.net/ignore-user-abort( ~! a* Q; U* M# H
  320. ;ignore_user_abort = On/ v9 p! c5 P( Z/ Y) H
  321. 2 X2 D% `! ]! }& `6 G; b1 k& [6 M
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ! Z8 r( O2 O- L4 }. z( v1 N
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 M- K' n0 [1 P+ p  ]' Y4 Q  a
  324. ; the file operations performed.
    6 W: b0 s& q# d8 N
  325. ; http://php.net/realpath-cache-size
    , E! n$ d1 _/ O+ u5 P1 V( o
  326. ;realpath_cache_size = 4096k6 |9 H+ }6 c# ?' s5 L
  327. 0 }5 o7 a, b1 u0 \9 e1 f9 n
  328. ; Duration of time, in seconds for which to cache realpath information for a given+ J2 o) u0 K' h. l- M( `
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    , @$ C% Y; q4 N. R( B. L
  330. ; value.
    / R6 D, f. c8 e+ F6 f# r$ x$ x
  331. ; http://php.net/realpath-cache-ttl$ `7 ?, t: B1 ^8 G6 G! Y* Q
  332. ;realpath_cache_ttl = 120& _6 \( r6 Z8 d3 t4 z
  333. 4 |) Q7 ]4 F$ y- C$ _
  334. ; Enables or disables the circular reference collector.
    - d5 K  B3 U# Y% o
  335. ; http://php.net/zend.enable-gc4 k/ g9 E; \- q) j2 D
  336. zend.enable_gc = On. J1 ~& T* `$ i' s  `' _
  337. : q% B/ X) m4 P! o& c
  338. ; If enabled, scripts may be written in encodings that are incompatible with  d1 d% \9 a7 i9 [
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such$ K8 J$ G6 Y- ?9 v% u% n
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' @% h' s* f" |" Z
  341. ; Default: Off# [) _6 s1 y/ K
  342. ;zend.multibyte = Off  R+ w! u! ^4 K4 S! O( A
  343. ' s0 g5 K  o9 m6 G
  344. ; Allows to set the default encoding for the scripts.  This value will be used' O! c! d# r! ?; f* H) c' e
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
      }( Y& I! q( \* y2 l) Q
  346. ; Only affects if zend.multibyte is set.
    - \& |0 `3 x! n8 u5 ?1 b5 l
  347. ; Default: ""
    ; v3 R" z0 r3 e
  348. ;zend.script_encoding =( b& x8 ]: N* b
  349. $ H0 q% J8 m$ s0 k
  350. ;;;;;;;;;;;;;;;;;
    6 P2 u* o. Q" u* `1 b5 C
  351. ; Miscellaneous ;
    2 ~( N. x' {! n' u8 b
  352. ;;;;;;;;;;;;;;;;;' N2 P4 W; ~  O; f
  353. 2 t/ d' F. X, `! L; M
  354. ; Decides whether PHP may expose the fact that it is installed on the server3 b6 |/ R& D3 A
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 J) W% [/ `- V: j/ N' T/ ^, I
  356. ; threat in any way, but it makes it possible to determine whether you use PHP! [: n- j, B4 p8 W4 z
  357. ; on your server or not.
    ' J3 \! ?' n0 B9 b+ @# ?
  358. ; http://php.net/expose-php
    2 [  \( L8 I* A- {8 v+ ]
  359. expose_php = On
    7 V# m) x- o0 N: d  U) s& U
  360. 4 ~; c; c% a5 O: T% F' D
  361. ;;;;;;;;;;;;;;;;;;;3 {/ G0 ~/ T) x4 m$ }. w6 ]- C7 U
  362. ; Resource Limits ;* q2 g9 T; ]* Y2 L" ^. r
  363. ;;;;;;;;;;;;;;;;;;;
    7 @; B& v* B4 l2 B- Q7 X1 J
  364. : {' S: ]6 Q8 x
  365. ; Maximum execution time of each script, in seconds/ z7 M8 C) c. l/ K1 Y
  366. ; http://php.net/max-execution-time
    ; _6 m3 N$ G7 T5 G; g  _- j
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    5 M: X: d1 ~- G0 K" m
  368. max_execution_time = 3009 s2 f8 J# k1 E- K
  369.   [1 K$ Q0 C. g& P$ a. d
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    & K0 T- l( _- k( d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly. Q# f7 g% O* ^- a9 }1 [
  372. ; long running scripts.
    ; X' b5 ]1 U0 c
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI4 F. X; ?( _) o  \- j! A1 i7 x, n
  374. ; Default Value: -1 (Unlimited)6 F0 y# d4 D7 M0 [3 g# U8 e
  375. ; Development Value: 60 (60 seconds)- O9 x$ }4 e5 Y2 G8 y
  376. ; Production Value: 60 (60 seconds): B7 h% _  i2 F3 T8 ]/ u; T+ M
  377. ; http://php.net/max-input-time
    0 \6 C+ b2 R( g7 ?" Z! K
  378. max_input_time = 60
    ) |( j: @4 q% J& b8 [" A
  379. " k% N- h+ a, ^. \
  380. ; Maximum input variable nesting level
    * ^* }( l# V& D" z% O
  381. ; http://php.net/max-input-nesting-level
      |" C$ \  A" L6 a& e2 T6 `
  382. ;max_input_nesting_level = 64: {) w- L$ ?( x- Z) b/ _  F
  383. 3 m& n7 R( ]8 ]% T
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ( Q+ [: s- R. Q
  385. ; max_input_vars = 1000; y5 s% Q1 M! P! ?/ T0 I

  386. + E0 {" N3 Z! O+ O
  387. ; Maximum amount of memory a script may consume (128MB)5 _; }* P. t* T1 b/ Z
  388. ; http://php.net/memory-limit
    1 o6 T% _, @  ^
  389. memory_limit = 128M& Y5 @1 o& ?+ z! K

  390. 1 m- j7 b  R5 U0 o! _# L- }
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; A- w' O- \3 R0 q5 v" W2 A
  392. ; Error handling and logging ;' s! N; z, N# T4 z" D# B
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 p2 l0 [) Y- L1 V
  394. , p: T/ A. D1 @4 [8 m. [( f
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    % `) j# R( T: W0 Y
  396. ; it to take action for. The recommended way of setting values for this
    7 I# W/ u2 f3 Z5 [$ e  s% g: a9 X
  397. ; directive is through the use of the error level constants and bitwise" m/ H2 v3 z2 X# |
  398. ; operators. The error level constants are below here for convenience as well as
    9 Q, t) q% B& g  G
  399. ; some common settings and their meanings.7 w- O- g1 z: j9 I. r5 D9 U
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 V' g  K. |6 R4 X8 N. Z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    6 _- V- S* E# c
  402. ; recommended coding standards in PHP. For performance reasons, this is the& v/ b5 U" L2 `9 c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; w# k; R3 _3 H. I  m; N4 u6 h) t
  404. ; resources complaining about best practices and coding standards. That's what1 V$ a/ z# R0 Z, @9 V- }* ?% s
  405. ; development servers and development settings are for.0 q: i; n4 I1 Z# V+ i
  406. ; Note: The php.ini-development file has this setting as E_ALL. This- f$ R2 W1 x# P5 M% ^& `
  407. ; means it pretty much reports everything which is exactly what you want during
    3 W9 o, _2 K9 I1 i; w9 ^4 k- ]3 m
  408. ; development and early testing.  y+ C- G" t& k* A
  409. ;0 g2 G8 \. x: Z1 x; v7 ^% Z
  410. ; Error Level Constants:+ n, \+ U4 [. m0 ^& v: t
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * v5 T0 j. \4 A
  412. ; E_ERROR           - fatal run-time errors( M/ x, o6 R  k$ r  B+ r. ^
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' {6 p* v0 q) n
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ y  Q5 H4 A! j4 S* s  t! _
  415. ; E_PARSE           - compile-time parse errors
    . K* b) C4 o' [% L' u/ H
  416. ; E_NOTICE          - run-time notices (these are warnings which often result- I7 p; i. ]9 T7 e8 R
  417. ;                     from a bug in your code, but it's possible that it was1 G" m0 Q: L4 c
  418. ;                     intentional (e.g., using an uninitialized variable and6 {9 S6 H0 j8 d2 w! b; a
  419. ;                     relying on the fact it is automatically initialized to an
    5 v* C& I/ ?# ~+ I1 M) K6 ?
  420. ;                     empty string)
    / X( S4 c7 l2 f/ s
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    * x  b- W; [7 i4 A5 w
  422. ;                     to your code which will ensure the best interoperability3 r2 l; R6 A! q+ h' ^- {  h
  423. ;                     and forward compatibility of your code
    # h8 H  w) j+ b& c
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 S& Y! _- {1 g1 p& k2 w2 G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 D7 d1 g7 F4 o: I8 ?. R
  426. ;                     initial startup
    ( _& y: C- U# q" Z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors* a# ~( I  c6 p1 i6 E0 ^/ d
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ n* y& }  q8 P) ^  h* |% H
  429. ; E_USER_ERROR      - user-generated error message
    * y. ^2 |6 l8 b0 K8 Y& I
  430. ; E_USER_WARNING    - user-generated warning message
    2 p  o/ K) X% r+ p, M) c. u6 b
  431. ; E_USER_NOTICE     - user-generated notice message
    4 a5 v/ X. h% o  Z
  432. ; E_DEPRECATED      - warn about code that will not work in future versions+ H* n9 r. M5 v0 G+ A0 R( ^5 t
  433. ;                     of PHP' K. O5 R: g% U! _/ f! C9 j' ]
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - N9 g  ~0 \6 }
  435. ;8 @+ h6 d* [& a4 ^. p6 y5 T
  436. ; Common Values:$ u, i' H! \- v0 f. x* r
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
      D1 x1 ]  J6 p2 m0 t& X0 N/ J
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 s5 I8 D. I2 Y- F( L4 X# N
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    $ X: x' k$ J  \  g3 t+ B0 y' C  M
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 b, X' d+ |  E3 z7 j8 R1 n4 p/ a
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ Z5 I8 A  L2 o4 k+ F/ a4 ?% y
  442. ; Development Value: E_ALL9 K0 H4 e% V8 C; Q$ v3 H
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* s1 p; E+ W5 m  G
  444. ; http://php.net/error-reporting
    $ R' y; V5 W6 X+ A9 |  y
  445. error_reporting = E_ALL & ~E_NOTICE
    5 B0 h6 t9 |* g

  446. , ~* C" ~- F" Y+ g) K
  447. ; This directive controls whether or not and where PHP will output errors,+ G4 u0 _* z6 v7 v  ?  ~
  448. ; notices and warnings too. Error output is very useful during development, but0 {/ u( _) g! s0 ~
  449. ; it could be very dangerous in production environments. Depending on the code5 y% [: a7 r5 ]4 u2 o( h) G/ e
  450. ; which is triggering the error, sensitive information could potentially leak7 ^0 J6 K' L: R* q  p
  451. ; out of your application such as database usernames and passwords or worse.
    * c$ s* D: m/ C  l" d
  452. ; For production environments, we recommend logging errors rather than
    * o$ J0 e+ Z( T! v
  453. ; sending them to STDOUT.& j! y2 Q0 b# ^" E3 j  [' S
  454. ; Possible Values:
      [" h2 R8 a! c( \1 U
  455. ;   Off = Do not display any errors  i$ e( B8 L  h3 |4 D# J
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)6 Q* s: y  c6 [  [
  457. ;   On or stdout = Display errors to STDOUT
    : T. g) N0 S8 U* u, V2 n
  458. ; Default Value: On
    6 q7 ^4 ]5 j( D0 {# m7 Y4 a/ p- U
  459. ; Development Value: On1 [0 c, f. c4 o2 y9 m6 `
  460. ; Production Value: Off2 Q' {! ~3 V& D( b3 }
  461. ; http://php.net/display-errors
    . l7 |( K* _2 f4 L6 K- g& T
  462. display_errors = On4 ]- a: `# R' @) U' p
  463. 8 M3 f; e5 l4 ^/ Y! f
  464. ; The display of errors which occur during PHP's startup sequence are handled" Y# G+ T( m* W
  465. ; separately from display_errors. PHP's default behavior is to suppress those* X# z. A; k& m% b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ; ]* f' s4 r( X
  467. ; debugging configuration problems. We strongly recommend you
    . g3 Z5 k$ ^' V/ D. S
  468. ; set this to 'off' for production servers.
    8 e6 L: z! @" `2 n
  469. ; Default Value: Off) X2 R: R/ A2 l: q8 w" O( Z0 l; [
  470. ; Development Value: On
    3 ~1 V# [% G% K, ~* p6 ^
  471. ; Production Value: Off
    ! p: G8 H! b" [9 W( G, X, r2 w, j
  472. ; http://php.net/display-startup-errors
    4 h2 x5 |+ x8 |
  473. display_startup_errors = Off
    3 N) s% O( g- _: `. k, ?" v

  474. : H0 K* x" O1 a6 P# [9 W# t8 G
  475. ; Besides displaying errors, PHP can also log errors to locations such as a( g/ M5 r3 u1 z1 ^- \
  476. ; server-specific log, STDERR, or a location specified by the error_log9 ~, W* `; }+ p" t: t8 C- d5 Q
  477. ; directive found below. While errors should not be displayed on productions$ r% S3 ?, m! H* T0 x; n# E. O
  478. ; servers they should still be monitored and logging is a great way to do that.0 _; [2 A# S$ f. W  A8 m0 R& z0 F
  479. ; Default Value: Off
    , [' C* d- u) R; g0 G% {6 T
  480. ; Development Value: On
    9 v9 H# }9 t% J6 Y* P, `
  481. ; Production Value: On
    - a$ ~- p9 h; ^6 Q
  482. ; http://php.net/log-errors
    0 B2 ]% s2 s0 `  t9 r! O5 E
  483. log_errors = On
    7 d1 K6 u2 |+ J2 T

  484. " e0 t, i' y! f3 E; E/ B
  485. ; Set maximum length of log_errors. In error_log information about the source is
    2 N+ _4 ^& Q# Y' l3 t6 S
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 h) s+ H' v5 R1 ^" O7 Q
  487. ; http://php.net/log-errors-max-len9 Q+ d% ?: y- @7 ^. g8 R& K* R
  488. log_errors_max_len = 10244 Z# O9 h; s, |& q* x5 K4 `$ R3 b0 S
  489. % z+ Z  L( u: U5 f% f6 D. o
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ( _, w- S3 U* W; Z/ V& n# O! ]
  491. ; line unless ignore_repeated_source is set true.
    ' B  c3 S! `/ K2 V$ j  d
  492. ; http://php.net/ignore-repeated-errors
    3 G# l6 B$ J& W  V5 v
  493. ignore_repeated_errors = Off
    3 G) ?* l& n1 N" U: L
  494. 1 N# O- _! I3 _( B9 m& ^1 S7 }9 @
  495. ; Ignore source of message when ignoring repeated messages. When this setting
      }" t. f9 C$ g* y/ D2 r
  496. ; is On you will not log errors with repeated messages from different files or
    4 k0 S( {) x( S2 V$ K3 {7 I# k
  497. ; source lines.
    ' u- |( k' B: _( G, {
  498. ; http://php.net/ignore-repeated-source% s+ Z: d1 o$ L0 f7 C
  499. ignore_repeated_source = Off
    9 n1 b: k5 ]' b, R: E6 \
  500. - V( {2 Y8 B. ?6 C
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 O6 [* J5 z4 l8 A5 F/ p
  502. ; stdout or in the log). This has only effect in a debug compile, and if. G1 D) G. ~1 g# P2 ^: K
  503. ; error reporting includes E_WARNING in the allowed list+ S/ Z# D& I: Q# y6 a; y) {3 c
  504. ; http://php.net/report-memleaks
    % w0 Y$ S+ Z+ m! t3 k: s/ ^
  505. report_memleaks = On
    , g+ d  B  O/ t. q9 C- m. M

  506. , e/ @) @- N, j& a
  507. ; This setting is on by default.
    9 e9 M( n; [( x6 |0 F; X9 c7 w
  508. ;report_zend_debug = 0, f: ]" X% D) ]# {) G4 [; `

  509. 2 B7 s' _! R: V; c
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 p; L: U1 b3 P" X3 [6 z2 N
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    6 V: b. O; d! V  ?9 v
  512. ; however be disabled on production servers.0 d  b5 R- p3 O* F! ^- N/ m+ t. q, y
  513. ; Default Value: Off
    , c. P( @% G7 ]
  514. ; Development Value: On
    / k/ s8 U& e3 P9 ?
  515. ; Production Value: Off; Y6 O$ J6 ]: J7 Z$ x" N
  516. ; http://php.net/track-errors
    0 h$ D) z- v( n
  517. track_errors = Off
    # q6 N/ f- C4 g" t; j
  518. % v7 ]: \. a* L) R- a4 V. p! M) ?" k
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    5 v0 C- B7 k# g' Z* |( \
  520. ; http://php.net/xmlrpc-errors
    * B$ ^' t. s$ O2 u" J) \' t) U
  521. ;xmlrpc_errors = 0
    : ?; ~! m' ^. ^, Y
  522. 4 N/ P6 O, O0 v2 n* e4 O1 X
  523. ; An XML-RPC faultCode
    1 E; ~5 N( f2 ]- Y( ~3 ^
  524. ;xmlrpc_error_number = 0
    8 X/ @4 u: h0 X3 O
  525. ' {, {1 G! c# V1 u. a! v
  526. ; When PHP displays or logs an error, it has the capability of formatting the/ d7 D* N: Z9 u' {
  527. ; error message as HTML for easier reading. This directive controls whether
    " E& M% k9 g  F$ L7 U: D' y5 ^
  528. ; the error message is formatted as HTML or not.
    * r! ]; n$ @- f" E
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 l) R8 @/ L' s
  530. ; Default Value: On5 t. V1 R% _8 Y+ ?8 C8 {- e! l+ @9 [
  531. ; Development Value: On
    ( T- Q" V* K; X: o% ?9 H2 Z
  532. ; Production value: On
    , B8 T2 o& x0 |
  533. ; http://php.net/html-errors
    ) I* Y6 w0 P' C3 ?- k! _' S# a+ i$ U
  534. html_errors = On2 n# s6 L5 R) L3 @& U6 }
  535. 0 R& j1 J2 }$ p% _
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) i" I3 |9 F  ~8 ]8 ]
  537. ; produces clickable error messages that direct to a page describing the error
    ( k2 {& t& K8 q4 J: B6 X# x
  538. ; or function causing the error in detail.
    . I' Y0 W# I" j3 O" C' u
  539. ; You can download a copy of the PHP manual from http://php.net/docs% e; @% q; f' M
  540. ; and change docref_root to the base URL of your local copy including the
    * K3 \0 `" B4 U: P
  541. ; leading '/'. You must also specify the file extension being used including
    : d# P- R6 ~- d- q' S3 \' _9 o
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) A2 O* k/ v. ~5 b
  543. ; case no links to documentation are generated.
    1 ?8 D4 P. Y, {" X/ W
  544. ; Note: Never use this feature for production boxes.5 Y3 k  C' Y- q! p1 `% }: ~
  545. ; http://php.net/docref-root
    6 f. E: e+ [' V9 \) |5 j: M
  546. ; Examples5 F1 K: Q! h$ I
  547. ;docref_root = "/phpmanual/"
    6 X1 G6 I5 T/ Z# O7 P. ~) g, u' \5 `

  548. 5 c: G# i6 q" L. M
  549. ; http://php.net/docref-ext6 h5 K" L: }( T6 g; m+ `, ^/ I
  550. ;docref_ext = .html; _1 j' s+ X1 B% ^2 a* k! L2 h

  551. ) u  b& i4 P0 w  M% ?" [% `
  552. ; String to output before an error message. PHP's default behavior is to leave! u8 ]1 ^2 A5 s; y, e
  553. ; this setting blank.
    9 k# j6 B" D4 [: {0 z8 y0 o
  554. ; http://php.net/error-prepend-string/ k3 ?2 n" n9 f7 l  R
  555. ; Example:
    + v* f# u5 G9 n. _6 ~0 k8 i
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    8 b' b0 l) T& g) P0 {
  557. . A. {. X( V4 s
  558. ; String to output after an error message. PHP's default behavior is to leave
    ( v1 U  g1 y  e9 `; v
  559. ; this setting blank.' J/ E0 P9 J& m' l" |, q' ]% S
  560. ; http://php.net/error-append-string
    5 G1 ~8 J4 C% ^0 @0 N( J8 m1 X
  561. ; Example:; D' R4 f+ @% ~5 b2 r8 [
  562. ;error_append_string = "</span>"/ l1 T0 O: E! V; v- w- X' _

  563. 2 N; m; S0 b( G' \5 o/ I
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    % b% M( g- K4 f9 e2 a5 E' b
  565. ; empty.; b) v$ C4 u0 S, g' E! ~( O
  566. ; http://php.net/error-log% |- E& [6 g" }  q( C) j4 f
  567. ; Example:
    ; R. z3 {; O6 x/ p& X
  568. ;error_log = php_errors.log  ?/ d# k9 @4 S- b
  569. ; Log errors to syslog (Event Log on Windows)./ ]8 i: r( s+ g9 w
  570. ;error_log = syslog
    9 Y4 e- P5 ?; ?4 V. j

  571. 9 E/ B0 N' w7 o6 h5 e9 k& L& r$ D
  572. ;windows.show_crt_warning
    + I8 @' \4 _) V, ]: x% K4 e
  573. ; Default value: 0
    3 Q. c  E+ j1 B* s$ K* u  ~& V
  574. ; Development value: 0
    # ?% Q+ E/ r  m0 H9 q# P
  575. ; Production value: 0
    * `" R5 P5 p8 w& o( h  i8 W; ~

  576. 2 k* P  R+ y* R% U4 f$ `; B
  577. ;;;;;;;;;;;;;;;;;
    7 c# k. Y; o, f( x
  578. ; Data Handling ;% X; Y. K6 R4 z9 n6 h, \2 f; l
  579. ;;;;;;;;;;;;;;;;;
    3 h1 o7 ]2 c5 u  q
  580. 6 V1 K- \8 I; _1 f+ C
  581. ; The separator used in PHP generated URLs to separate arguments.
    9 b( a/ }( S- T, Q1 s
  582. ; PHP's default setting is "&".
    0 h# `9 k7 t& p/ D; P$ C1 m& |
  583. ; http://php.net/arg-separator.output
    8 B0 }& G$ g! o% m* k
  584. ; Example:# s1 n. D) N9 e. U* r- q
  585. ;arg_separator.output = "&"
    & B" h6 ?% S6 V3 k
  586. ) D3 D" ]- r  @9 T2 R( s& z
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' i3 _9 Y/ p+ T
  588. ; PHP's default setting is "&".. \8 s$ Z7 L# r# b: `/ X" Q
  589. ; NOTE: Every character in this directive is considered as separator!  q$ @' A/ @7 O, ]
  590. ; http://php.net/arg-separator.input
    2 w3 I" C# U% d
  591. ; Example:  T# Z9 w& o% t6 `) X+ P
  592. ;arg_separator.input = ";&"9 ~' c+ q) F. H$ W' q

  593. / W1 w. T( x& I4 b% G+ r
  594. ; This directive determines which super global arrays are registered when PHP
    4 L* C) {2 V, P# u# X* Z' {
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super& t  u7 k" t8 C& X# ?
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) L& h' f3 m4 Y2 U3 q+ Y5 m
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 Z; L& c3 B, V
  598. ; used as the others, ENV is not recommended on productions servers. You
    2 Z6 b  B& T0 G" y- B9 e  L
  599. ; can still get access to the environment variables through getenv() should you
    / |4 U0 C1 e* q8 s4 O
  600. ; need to.
    % [( G, F) U  Y! b1 x" W5 w( F/ ]
  601. ; Default Value: "EGPCS"8 v: b6 ]* u6 y" N
  602. ; Development Value: "GPCS"
    8 K( s& x( V6 V9 H, A
  603. ; Production Value: "GPCS";
    / |/ ~8 y) }" g+ U! Z4 I5 ^8 K
  604. ; http://php.net/variables-order1 u7 z5 D5 e" s& H
  605. variables_order = "GPCS"3 \* q! n) [( j) y# ~) `

  606. ! k7 f: ]! Y. i+ O$ K
  607. ; This directive determines which super global data (G,P & C) should be7 g& R& ~. }$ x# {: z( K9 R; U7 E
  608. ; registered into the super global array REQUEST. If so, it also determines. A  _% H, z+ w* ^9 I( s
  609. ; the order in which that data is registered. The values for this directive
    ( k/ x. A/ B2 D; @) `1 z
  610. ; are specified in the same manner as the variables_order directive,
    7 z# [$ v! {1 f6 z' x: e& K6 Y" A
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , J  W% D% B1 g0 Q0 v
  612. ; in the variables_order directive. It does not mean it will leave the super- W4 O7 M. b9 e  b6 |, a9 S
  613. ; globals array REQUEST empty.
    , |- \( j4 k- c7 N! v, t6 C! [
  614. ; Default Value: None
    ) Q6 x, j. U8 m1 B
  615. ; Development Value: "GP") R6 @: O1 Z0 d5 j
  616. ; Production Value: "GP"
    & k0 d, ]  i, D2 }. o
  617. ; http://php.net/request-order. Q  p* p0 N3 R3 l- ~6 [
  618. request_order = "GP"0 Z! T2 O# K: w- `  Q

  619. 9 k) k2 V4 K3 n3 v+ }0 D- j
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    / t% @, m" _8 _3 p6 n
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script- M6 N1 G% C. D5 j0 Y( F4 \4 `
  622. ; is invoked. $argc contains an integer representing the number of arguments, G. b: H* b) c3 d. m, `/ O( ]
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 b" Z7 ~9 z0 I3 n  I9 \+ q1 Q
  624. ; useful when running scripts from the command line. When this directive is
    ' ?2 b5 S. }) s, g& L" A8 p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ) H) V" w! K$ q
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! R( S* ^  b( m& B! R
  627. ; on production servers.. c0 W4 A  L6 Q% i/ t. g; v
  628. ; Note: This directive is hardcoded to On for the CLI SAPI4 o4 Z. i# I* T) T! r! i. k
  629. ; Default Value: On
    ' j5 K9 @9 h! t0 A& N3 _
  630. ; Development Value: Off
    2 ~; u3 X7 D6 O. {8 d# h: I
  631. ; Production Value: Off
    7 M# _/ ]; I  t
  632. ; http://php.net/register-argc-argv
    # R/ z0 u: U, v- m3 @
  633. register_argc_argv = Off# v4 c/ j9 F5 M  i5 c# B  E
  634. ' U9 [5 g  _8 L) `! Y' y# v$ I  `8 m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: f3 g( i- q. T. s
  636. ; first used (Just In Time) instead of when the script starts. If these6 q) g8 P6 _9 y* i$ h, ]4 E
  637. ; variables are not used within a script, having this directive on will result$ A; z+ B; _" e! [
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ x" @6 Y) B( Z3 n2 d
  639. ; for this directive to have any affect.1 e& w: E' d8 A, u8 y9 o- \
  640. ; http://php.net/auto-globals-jit
    8 {0 [! z" {  ?) H; s8 {
  641. auto_globals_jit = On. V6 P8 E. \6 u1 O0 ]5 @* i# B! ~. a) e

  642. 4 H; v( R8 t- L% W+ j
  643. ; Whether PHP will read the POST data.
    ) G$ I+ k% {6 B5 R
  644. ; This option is enabled by default.
    ; @8 Z1 q7 m  J1 k: ?- R8 N4 g
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST: |: X2 Q# p5 |+ G8 _9 L
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    - d6 I2 W1 ^1 ^' N
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    0 Q* H2 j, I% W; V1 M
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.$ N2 j9 [' g9 ]' Y1 g9 W* B  i
  649. ; http://php.net/enable-post-data-reading  i5 L& c* v* p% {) T) K1 Z; {# F
  650. ;enable_post_data_reading = Off" X9 f) _8 N- S$ T: h
  651. 5 ^2 M! Z- C- h4 _
  652. ; Maximum size of POST data that PHP will accept.
    7 E9 c; n. f* t) ]
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) t( S$ V$ Q# l1 b
  654. ; is disabled through enable_post_data_reading.
    ( y* t9 X6 v; W
  655. ; http://php.net/post-max-size: h" @& a* l4 [: F& ~5 j  a( ]
  656. post_max_size = 50M) o0 W* q* U- m' k! |- n
  657. 7 K. p% I# B: v+ N! I8 t6 K
  658. ; Automatically add files before PHP document.
    1 Y/ o6 [# F; k
  659. ; http://php.net/auto-prepend-file
    - N4 W) L: `1 n' c( E$ m' Q/ P4 `
  660. auto_prepend_file =
    ) d6 i  B$ E- m9 ]  n( j
  661. 4 Z2 J! `4 J+ z$ p1 K
  662. ; Automatically add files after PHP document.
    . s7 Y3 t9 v2 U$ r2 d
  663. ; http://php.net/auto-append-file7 I" N4 i# J+ o8 M/ N
  664. auto_append_file =
    2 z" A+ H, c- S2 Z& m3 y. x
  665. 5 m+ p% }8 V2 K
  666. ; By default, PHP will output a media type using the Content-Type header. To# g5 R7 }" J8 p$ P9 I* k
  667. ; disable this, simply set it to be empty.% `( Q; H# U6 C
  668. ;
    / [2 ~0 z' e( }4 P
  669. ; PHP's built-in default media type is set to text/html.
    8 R) A- _7 l' a5 V5 g
  670. ; http://php.net/default-mimetype
    & q' z: V+ w* ~7 g4 H. i$ m
  671. default_mimetype = "text/html"5 X2 k2 X3 G% ^' `1 z; O
  672. 5 F* S  L! V$ D' [
  673. ; PHP's default character set is set to UTF-8.4 a/ u3 q% N) M+ W+ T
  674. ; http://php.net/default-charset6 A( g- V% J" G0 C4 p2 q, ?
  675. default_charset = "UTF-8"
    , P7 C" Q! O7 A

  676. 4 S3 x% V, l  ~& f+ e  x5 V, z
  677. ; PHP internal character encoding is set to empty.
    ( ]$ W) B( t- D2 {8 n" V( b; c& N/ ~
  678. ; If empty, default_charset is used.
    9 T& ^' S3 H- ~  C4 d! u7 x6 B. |
  679. ; http://php.net/internal-encoding. `+ @$ w6 {5 ~! v4 x' S4 R6 y
  680. ;internal_encoding =
    5 Y' A5 Z% i. i* L4 ?$ {1 e
  681. * Y; D0 x" S1 n- u) a  c
  682. ; PHP input character encoding is set to empty.) Q+ u( Q; o# g' g
  683. ; If empty, default_charset is used.
    9 w1 u( M6 i# v2 I  w
  684. ; http://php.net/input-encoding
    0 o7 z7 s( F/ Z% X. M* @
  685. ;input_encoding =, x; ?  {  ~7 V: C  b( q3 I" y
  686. ( c2 F5 y( X! J* W
  687. ; PHP output character encoding is set to empty.3 U/ ~7 d, t: |9 X" A+ F) Z
  688. ; If empty, default_charset is used.
    ) b: D+ t/ o4 i9 m7 W
  689. ; See also output_buffer.
      B2 n% X7 |$ e$ V/ M+ V
  690. ; http://php.net/output-encoding
    0 G4 e: j0 N4 F1 X1 R. h9 d
  691. ;output_encoding =
    ! F0 ?3 \2 I  k! x# b, B- A

  692. 9 g6 `: K: f8 |5 A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;: ~, E: `1 n2 R: K6 s7 T
  694. ; Paths and Directories ;: @6 p% c+ k3 p, v$ E# W  a/ I8 `
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;) G3 |  `- `0 _- T
  696. ; q; S4 ^: \# n
  697. ; UNIX: "/path1:/path2", ?3 w- f$ G" b1 L
  698. ;include_path = ".:/php/includes"
    7 f9 N/ g/ r  C, n$ {: D( `
  699. ;% t- t1 C. t0 e+ `
  700. ; Windows: "\path1;\path2"2 O5 D" q2 k, _! G  t
  701. ;include_path = ".;c:\php\includes"
    / y: I- S) v2 _) z) q1 n
  702. ;5 S+ q( \$ W! W: |. f
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"' V' p0 }$ N6 [" x8 e8 W, N
  704. ; http://php.net/include-path
    1 {  E8 x3 R8 X) W

  705. ) S( Q7 o7 w$ }; r) f% Y+ Q6 K
  706. ; The root of the PHP pages, used only if nonempty.  Z$ v! w; v$ n: ~' j
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ c/ b' I& s# J+ x
  708. ; if you are running php as a CGI under any web server (other than IIS)7 @' ^: L* ^+ _+ [
  709. ; see documentation for security issues.  The alternate is to use the0 ^+ i8 u9 O6 Z. N: D
  710. ; cgi.force_redirect configuration below
    5 z) t6 f+ X* h
  711. ; http://php.net/doc-root! |# z% R& O3 s6 `9 i3 _  u5 w
  712. doc_root =
    $ f5 N7 L9 l% R5 K0 |7 O' L3 a
  713. # S$ c8 s" W9 `& N+ y; U
  714. ; The directory under which PHP opens the script using /~username used only7 b, j' U# Z5 s" ]% S! S
  715. ; if nonempty.9 M' d( V8 N$ i$ P
  716. ; http://php.net/user-dir+ t0 P. L+ S+ }8 T
  717. user_dir =
    ( E: T; x& {; a: R8 a$ i

  718. 3 f" u& h5 q( ^. i
  719. ; Directory in which the loadable extensions (modules) reside.$ ^/ q9 r0 x4 M" _: `
  720. ; http://php.net/extension-dir
    " K, a  @1 w9 R0 S5 \
  721. ; extension_dir = "./"# ^9 l% _& D  ]
  722. ; On windows:
    ; M$ y4 A. u& \
  723. ; extension_dir = "ext"8 Y  M3 [# y0 o
  724. 1 o' g6 [& Y# c  `
  725. ; Directory where the temporary files should be placed." n8 {, ]4 U0 J6 c
  726. ; Defaults to the system default (see sys_get_temp_dir)  W  `  O9 _. X% c3 I! K
  727. ; sys_temp_dir = "/tmp"
    / {  K! N8 G4 N& N

  728. 0 Z4 C& {7 R3 J% ?) ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " |, L8 w8 d6 h- }( q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 z! G  O& k, w' w
  731. ; disabled on them.$ w4 F* w3 \( X! ?
  732. ; http://php.net/enable-dl  T, u* l3 [  e; o; m: E. w
  733. enable_dl = Off* i( X& ]# A/ H0 h6 {, \
  734. . s  i) i2 k" ]2 f4 A0 A6 @
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 X: p% q6 J- @% m- [( `8 S
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    # q8 }# y+ Q) v% \" h
  737. ; turn it off here AT YOUR OWN RISK
    1 O3 s5 S! J$ A8 q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : M0 r- g2 u+ C6 o+ ?6 k" @1 L4 O
  739. ; http://php.net/cgi.force-redirect
    0 ]3 h- D3 t: s3 [! i6 E* L5 ^
  740. ;cgi.force_redirect = 1
    . S' D4 @: l5 s) @& p& @9 y
  741. 5 _9 ^) F$ H1 b1 e$ l
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    : \% @& ^1 h, T
  743. ; every request. PHP's default behavior is to disable this feature.5 T% S0 I* I; H9 h: u* b! S, K
  744. ;cgi.nph = 1" i/ O0 B; P: \9 n2 N6 G3 S
  745. / l/ h' m* O1 }) ]
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape# t* u# n% c, f: ~1 P% t" T
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP" g+ t% h* K2 S5 n* R  h
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY& `8 w# S8 @3 x6 e; Y8 o2 h5 L" [
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.6 n* e! ^  P1 v: |
  750. ; http://php.net/cgi.redirect-status-env
    5 E8 [, X$ i/ o, L" f7 d
  751. ;cgi.redirect_status_env =: g0 f+ f9 q8 P% Z$ Q  r$ l

  752. ! Q; n- n% ?3 ~9 \$ x6 [8 M  T
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" D$ h, l& j8 e' R. Y
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( m/ \0 `0 w6 G/ S, ^* D  s
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting8 ]# M8 G9 w, M4 V; M7 @! v6 \3 u8 Q/ |% e
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' S% \$ C3 D; U6 l  ?. W' ?
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ X7 u; A7 x; ^6 @! z3 d" ^7 D
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 Q  M/ y2 H1 G( b" J" u' S' A8 O
  759. ; http://php.net/cgi.fix-pathinfo
    1 y+ e3 h/ M/ B
  760. cgi.fix_pathinfo=1
    ! a: h8 x3 @( Z6 \) I

  761. . P# K- k# s! f2 b
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    8 i9 V5 v2 L5 u
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 O, ~1 q) P3 F1 ^' `, [6 U2 A9 r
  764. ; http://php.net/cgi.dicard-path
    - j5 }$ c1 H! B5 A# Y; t8 _
  765. ;cgi.discard_path=10 y# b3 F9 E8 y, E

  766. " y6 h8 R  a) @4 D
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ V3 Q6 B' B0 d6 E. u( b
  768. ; security tokens of the calling client.  This allows IIS to define the2 s" R. r5 c7 t- A
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    8 r2 f. `1 \# U! d& O" d: K9 F  n
  770. ; does not currently support this feature (03/17/2002)4 o1 a6 N1 A4 w
  771. ; Set to 1 if running under IIS.  Default is zero.8 |% f% _$ X' n9 B# n2 z
  772. ; http://php.net/fastcgi.impersonate
    ( M; ]9 F& Z/ }0 c6 X
  773. ;fastcgi.impersonate = 1% e: ]! l% N7 _$ J& r  b

  774. & Y& b6 k4 a, c# @, |) q/ ^1 W
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . g- e  n; h5 b+ |9 c
  776. ; this feature.
    % X" J* T/ v+ a% ^6 ^
  777. ;fastcgi.logging = 0. L' N; Q9 m3 n: R5 R6 @9 R
  778. $ A( q* |2 P; W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    2 o0 v/ m0 m2 Q- i9 p2 U4 q3 N
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    8 [- v' l9 x9 W* c& ?( r$ N
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    3 {  V) `1 e* o5 f
  782. ; RFC2616 compliant header.
    : s' I$ g' M+ N* J0 T
  783. ; Default is zero.
    % m; |( }0 _. M7 ]6 v' ?1 ?
  784. ; http://php.net/cgi.rfc2616-headers% G+ |, _, H7 s6 X9 P* j
  785. ;cgi.rfc2616_headers = 0
    # D1 ?2 J5 h: E2 |
  786. , E1 L0 x5 V, K$ d& N
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!1 `/ d& B1 ]% K7 b- m% f% J
  788. ; (shebang) at the top of the running script. This line might be needed if the% P! ?/ f1 a' x
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI$ V" _" u& n& Z- }7 H3 p9 O
  790. ; mode skips this line and ignores its content if this directive is turned on.
    # q$ y4 H4 A/ n) ]4 d9 z5 A# V" Q
  791. ; http://php.net/cgi.check-shebang-line
    3 Q, a/ W% n3 Q$ Y( a" t! S' ~
  792. ;cgi.check_shebang_line=12 m) Z( f! X0 m
  793. . I% S( s" L! ^- ^; q* z
  794. ;;;;;;;;;;;;;;;;
    - a* P: y2 ?3 S+ j4 E
  795. ; File Uploads ;
    / i- S) _+ I7 ^; i$ F$ ]
  796. ;;;;;;;;;;;;;;;;
    4 a+ Q+ `3 `0 Q8 G

  797. 5 s/ }3 z! ?) D# s% A8 G+ L) M) y
  798. ; Whether to allow HTTP file uploads.) x: i# a( k$ v) w, w/ V7 f3 v
  799. ; http://php.net/file-uploads/ m6 O& @2 h$ T
  800. file_uploads = On6 U' G: ]( ~! Y0 |3 H/ A( \3 }
  801. 3 b: C, o- V+ r) o0 t9 Q; Y1 s
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! Y  q( _( z% E$ P5 Z! U! h" {$ o
  803. ; specified).+ ?/ ^1 x& u; q$ k
  804. ; http://php.net/upload-tmp-dir2 g7 A' X9 l; q$ e0 o8 c+ j4 Y
  805. ;upload_tmp_dir =
    2 ^  d8 s0 V% \/ E# c5 M9 J5 V
  806. 3 K3 {6 J8 [3 Y# a1 N- \
  807. ; Maximum allowed size for uploaded files.
    5 A' ~" D! b3 [3 T1 @8 ?6 H
  808. ; http://php.net/upload-max-filesize- q- K0 i& Z0 y2 q' x
  809. upload_max_filesize = 50M
    , E! V7 `9 M% q
  810. ! @; l5 _0 A; B& C" `# w
  811. ; Maximum number of files that can be uploaded via a single request
    * _$ C* m& {9 Q+ y- `9 N; _/ u
  812. max_file_uploads = 20# I0 H, G! ]- c

  813. 9 N; i. n  ^# r2 v' L
  814. ;;;;;;;;;;;;;;;;;;
    6 w- x+ y" t5 @' w
  815. ; Fopen wrappers ;, x' A7 l8 v% U1 F2 K# `! I# U4 j
  816. ;;;;;;;;;;;;;;;;;;% t3 J% A2 k1 a8 a; |# X: j/ Q; b# H

  817. $ R# t: a* |8 O, E+ j
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 L$ x1 X  R: [0 G
  819. ; http://php.net/allow-url-fopen
    7 v- F1 |0 j+ b  r
  820. allow_url_fopen = On* ?9 e2 {2 \" Z0 v$ r; M% ^: X
  821. ) k' z* f6 H5 N+ O4 {
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.0 y  A. l9 ^( O' V
  823. ; http://php.net/allow-url-include
    ' c' ?+ t; B& j2 L& T0 g* c( ~: X
  824. allow_url_include = Off/ d. i2 q$ v' _( f9 p) [

  825. 1 {8 }( B# D1 h) \
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 o& N& f# C6 _3 H' ^
  827. ; for this is empty.
      p. G$ t) h! X/ h, }- ^
  828. ; http://php.net/from
    + C7 x: T- V0 c1 z5 c; R& s
  829. ;from="john@doe.com"
    6 [! q# \2 g. W( b) z3 o

  830. 0 O- a* c3 w" x. P+ V+ m, G
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    : F  K$ [  h+ A
  832. ; http://php.net/user-agent# z$ h( r+ v; j' A% B9 D, E: h
  833. ;user_agent="PHP"
    9 ]/ G' t6 D* U

  834. 4 {( g* Y% }9 U. r
  835. ; Default timeout for socket based streams (seconds)6 E* @6 ~1 T7 s& m* G* `: X
  836. ; http://php.net/default-socket-timeout
    / K% R1 @: H: |- K
  837. default_socket_timeout = 607 q+ w5 M- ^0 P

  838. ( K3 P- w, ^( K( B% k: K
  839. ; If your scripts have to deal with files from Macintosh systems,
    . a  s- r0 \0 j3 h% V: y
  840. ; or you are running on a Mac and need to deal with files from
    2 q3 @. u; v- p% m5 m% L7 m
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 j/ c. M6 o" ~4 Q
  842. ; automatically detect the EOL character in those files so that
    & t4 i: {4 c- T6 ~; Z: }# h: _
  843. ; fgets() and file() will work regardless of the source of the file.) V/ |  C4 U& Z- C
  844. ; http://php.net/auto-detect-line-endings; h+ z5 g1 `. ^
  845. ;auto_detect_line_endings = Off) g/ H- O& G  o- d( K0 R
  846. 7 m. n) |8 [( h: E4 {9 b% k. J
  847. ;;;;;;;;;;;;;;;;;;;;;;1 C* o) _9 v4 S+ ^: s) P. u
  848. ; Dynamic Extensions ;5 A* R: V" o4 T% E* m5 w4 z
  849. ;;;;;;;;;;;;;;;;;;;;;;
    . y) W5 F1 w% p
  850. 3 @4 `% Z2 ?$ b6 k
  851. ; If you wish to have an extension loaded automatically, use the following& |0 N8 l0 y8 ?; ~% l  S6 w% K
  852. ; syntax:
    8 S& Q: M% p" {6 s& B; A
  853. ;2 @7 n( @3 d  G
  854. ;   extension=modulename.extension& t9 y9 o5 d; \0 U% S& z$ ?
  855. ;9 v. C$ V- x5 f; d
  856. ; For example, on Windows:, }9 ~& B# ]. Y6 I
  857. ;
    8 X$ x/ U* w- t% Q
  858. ;   extension=msql.dll# c- ?% Q3 _0 J+ W
  859. ;
    ) z# G  }4 N( A) N' w& a
  860. ; ... or under UNIX:
    1 T( C/ Y" G$ i
  861. ;9 r4 _  Y9 K0 r# k- |9 z5 ?
  862. ;   extension=msql.so
    + @: Z3 c' X1 s6 Y; {8 _
  863. ;$ m2 k. w0 R5 t
  864. ; ... or with a path:
    3 ~- v) b( I; h2 |, z$ l8 n( Q) k, H
  865. ;7 b) k$ \4 c3 s. `& W, |
  866. ;   extension=/path/to/extension/msql.so
    ; V* R/ d# s. \3 G
  867. ;
    7 H- E& g  w/ D  D' [! S% M
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ( C; J! {* Q: q+ \/ J0 z& E
  869. ; default extension directory.
    . R! g, n9 J- l8 |0 E  F6 J9 B$ \$ \. i
  870. ;8 |) s. n, \. o- Z4 X) L
  871. ; Windows Extensions
    " J, ]/ L* {7 q8 [
  872. ; Note that ODBC support is built in, so no dll is needed for it.3 ~( d) R6 ~1 E, ?- P9 p" e' ~- m
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! s- d$ ]0 @# J4 Q
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).8 P& k0 j( W* N% m
  875. ; Be sure to appropriately set the extension_dir directive.3 P( {) l  @( b5 [& M% r
  876. ;
    8 G* E1 X, w  [7 ]8 Y* r
  877. ;extension=php_bz2.dll
    3 @& h0 a  e: d' A
  878. ;extension=php_curl.dll
    ' m- A9 g5 ]2 Z$ I7 f; ~, h
  879. ;extension=php_fileinfo.dll0 z, S5 x1 Q" Z5 W5 w
  880. ;extension=php_ftp.dll: l0 J& E5 g% d5 [( n: Q. \8 t" \
  881. ;extension=php_gd2.dll
    ) l% n. ~/ x0 q  ]
  882. ;extension=php_gettext.dll
    : b- j- T1 f% ]- V) i% _% G+ T
  883. ;extension=php_gmp.dll/ Y+ G2 c) Y+ m* v; Z- N+ g
  884. ;extension=php_intl.dll
    7 Y7 }9 ~$ P7 V, _
  885. ;extension=php_imap.dll
    4 i! Z  g3 q/ P: I
  886. ;extension=php_interbase.dll2 d: n0 V& p( d2 N9 j6 }
  887. ;extension=php_ldap.dll
    ; y$ h6 X. c% S
  888. ;extension=php_mbstring.dll6 B6 ]2 Y  u! J7 E5 h' e! L% h% ?$ b
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % N7 N: p6 B4 Y# F7 T2 w
  890. ;extension=php_mysqli.dll. G+ V# [0 W0 a3 S' M- a2 A
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( s( O" w) j) F( D
  892. ;extension=php_openssl.dll
    * o9 m8 U+ D! j4 i9 T
  893. ;extension=php_pdo_firebird.dll' i# a: P0 u/ v0 _
  894. ;extension=php_pdo_mysql.dll: g3 K6 a6 c$ D* m" |7 ?
  895. ;extension=php_pdo_oci.dll
    ( X$ f9 N4 U; i
  896. ;extension=php_pdo_odbc.dll
    ( ?2 ~: j: s7 W8 I2 ]& k4 m; u2 p  T
  897. ;extension=php_pdo_pgsql.dll! K$ r) f( L/ ?7 |' M; i
  898. ;extension=php_pdo_sqlite.dll2 ~6 J1 S' Q. }* q) B
  899. ;extension=php_pgsql.dll( d/ e$ l" J9 e5 x7 z
  900. ;extension=php_shmop.dll
    ! l, n; ]: n3 [( F
  901. ! |$ j0 G2 n/ s  w
  902. ; The MIBS data available in the PHP distribution must be installed.6 d, |+ n- y% @
  903. ; See http://www.php.net/manual/en/snmp.installation.php' o2 g* N! f9 `4 b, D8 _6 V
  904. ;extension=php_snmp.dll
    6 l4 X3 S; v6 P2 W8 b8 V1 |, W, V

  905. 4 A* b) |. b/ W& G; |
  906. ;extension=php_soap.dll! F& z+ K1 I& |
  907. ;extension=php_sockets.dll- M2 V4 y: l+ I9 V- l# S
  908. ;extension=php_sqlite3.dll) v3 ]( ]/ q) ]$ Y- o
  909. ;extension=php_tidy.dll8 Y* Q5 `' G' q( D: K- r* B* D% z
  910. ;extension=php_xmlrpc.dll2 x( m# H7 H+ j  K! ^
  911. ;extension=php_xsl.dll" j, y. P5 P/ O+ Z

  912. 6 b, p& H: m& x
  913. ;;;;;;;;;;;;;;;;;;;& }6 F) G' I: H7 \- d
  914. ; Module Settings ;
    & x8 d. t/ P# }
  915. ;;;;;;;;;;;;;;;;;;;( W5 [- _: K# o! U2 J
  916. ( z( h9 N1 p# [4 Z4 P/ ~6 s
  917. [CLI Server]. d7 u4 p& L0 U
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.# k; t; Z9 A& H4 T: f. Z
  919. cli_server.color = On
    * h4 }# j+ l' u& Y! v

  920. , |( r4 s& U, I" X
  921. [Date]
    ) q; o: W2 D2 }5 [; ^
  922. ; Defines the default timezone used by the date functions
    7 Q9 S9 e* K1 T. I+ ?
  923. ; http://php.net/date.timezone' m7 Y+ l; l' p* @
  924. date.timezone = PRC2 _! ?, k+ |/ S

  925. 9 U) l& }- [* w7 w
  926. ; http://php.net/date.default-latitude) h  p* l9 d) G+ O
  927. ;date.default_latitude = 31.7667
    * }- [8 Q3 H2 |1 P6 M( R. q% {7 B  c
  928. ' \2 G4 C  L; l/ V
  929. ; http://php.net/date.default-longitude
    8 y7 w0 \) x  V1 j
  930. ;date.default_longitude = 35.23335 O0 w8 k7 m5 j  q+ m8 X

  931. ! D7 ?6 Z8 O! U( K1 z
  932. ; http://php.net/date.sunrise-zenith
    4 e5 \& l' g6 {" Q2 w
  933. ;date.sunrise_zenith = 90.583333+ e8 i5 \1 i# X: u2 y$ a" I& u% k

  934. 0 e7 J' t% M4 Q' r+ h: _# \/ b! B& w
  935. ; http://php.net/date.sunset-zenith, I3 O) t4 g$ Z0 S% p. v
  936. ;date.sunset_zenith = 90.583333
    7 T: `- {7 I9 x2 b" c

  937. 7 o- F' Y3 Q6 y8 k* N+ @- j
  938. [filter]) ]3 ?# ?, I) E: s% z2 W$ M0 v
  939. ; http://php.net/filter.default
    3 Y7 A; Y# W1 g0 W4 a
  940. ;filter.default = unsafe_raw
    8 ^7 \' Y7 A; J! l- ]. P0 M

  941. 0 y1 F  I* @6 h' t$ u8 ^0 f
  942. ; http://php.net/filter.default-flags5 u- L# `+ Y2 Y9 F* L6 d
  943. ;filter.default_flags =& x  [% o! n* C
  944. ! h( v. [0 E9 p" q& u
  945. [iconv]
    7 V( B7 U( P# x8 x( I' @
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.& u) C! r' S) g9 D( ?! |. M+ O$ x
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.! l0 P- ?" I# Z- i, u$ e. L
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 R# j3 J) b, v! e, R  x
  949. ;iconv.input_encoding =1 `7 X- W2 }( ?# h$ f

  950. 5 D' S& l) t9 r* C9 |! P5 x( Y  J
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' e3 b. m7 G  e( ]* @
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 A& G% _9 v2 ?, G+ O9 D  f
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 d6 ^# g; U) }' ?$ r& C  z
  954. ;iconv.internal_encoding =
    ; Z5 a7 h1 |$ g+ x5 t
  955. 2 n- C7 v! y$ Y+ P8 b
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.7 g) @/ c, B- j# u
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' @+ I+ a6 u. K- r
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ f& ?; Z5 m5 n/ n( ?
  959. ; To use an output encoding conversion, iconv's output handler must be set* b8 A3 r* D. n8 p# ~' x4 [
  960. ; otherwise output encoding conversion cannot be performed.
    8 |6 K# O1 r6 ?& ~( Y' F: b
  961. ;iconv.output_encoding =2 I8 F, |8 F6 I& H2 V" _6 J0 j

  962. 8 W; r' r1 I8 F! O3 ~/ o# N" A/ q7 \
  963. [intl]
    * P- V3 p5 b) p
  964. ;intl.default_locale =
    ( p8 X5 N, P3 u% y
  965. ; This directive allows you to produce PHP errors when some error
    5 w5 i6 N. a& z
  966. ; happens within intl functions. The value is the level of the error produced.
    " K" v; |6 f' H
  967. ; Default is 0, which does not produce any errors.5 E/ d) {- N- `' b3 u6 t" I: H
  968. ;intl.error_level = E_WARNING
    4 g0 F' u4 W8 {. [
  969. ;intl.use_exceptions = 0
    0 \( c3 j, c) T+ d
  970. , r  H+ q9 w" |* L) g. n
  971. [sqlite3]
    & U" t2 Z+ s: o' w
  972. ;sqlite3.extension_dir =
    $ N' g5 @/ {; f6 l/ z2 t

  973. ) e8 \$ c2 }+ r7 `6 T
  974. [Pcre]+ I9 F( g6 b7 o& G5 X: D) k/ O
  975. ;PCRE library backtracking limit.5 U# c6 H( e* X( y
  976. ; http://php.net/pcre.backtrack-limit3 j% C/ y* X4 ]4 j3 q$ \- k6 o9 x
  977. ;pcre.backtrack_limit=100000& I2 Y# _( g- }

  978. ( T* a+ A$ D: O3 a4 k& @$ G' N
  979. ;PCRE library recursion limit.
    - n! W& f- v/ m. w- a
  980. ;Please note that if you set this value to a high number you may consume all
    * C' \6 b; L: [3 ~
  981. ;the available process stack and eventually crash PHP (due to reaching the
    1 B3 r4 x6 S) {& M6 p/ P
  982. ;stack size limit imposed by the Operating System).
    - A0 B5 b4 n2 l2 {! f: A6 c
  983. ; http://php.net/pcre.recursion-limit
    1 Z& m' ^$ n% ~; Q" K
  984. ;pcre.recursion_limit=1000007 w& E0 o' b- @% Q1 H4 y( R! f0 c
  985. 2 z! `& ^+ h6 H6 g+ q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    & X& a3 |3 y9 X! ^: f+ c9 ^
  987. ;library to be compiled with JIT support.
    2 B- Q2 ~" m& Z0 U' U. g- H
  988. ;pcre.jit=1# h1 t2 u4 h6 k3 v. n3 j( V& u4 p# W
  989. - J, c# I  Q- U" v! D
  990. [Pdo]9 l- Y/ b5 l5 Q, X; M5 P1 h8 o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 ]9 z/ Q7 e! S: ~; l- K/ e4 v/ E
  992. ; http://php.net/pdo-odbc.connection-pooling$ Q/ S6 s. p4 q8 t5 `
  993. ;pdo_odbc.connection_pooling=strict
    5 i* o$ w# U1 }  }& \0 A. R
  994. / n7 y8 X+ r4 p
  995. ;pdo_odbc.db2_instance_name/ W& W+ t' W# N  L# f9 R% L' v8 V

  996. 5 `, L  q7 C: [* ^6 z
  997. [Pdo_mysql]2 S% `5 r# h' C, p) B5 d( J% M7 S
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 R! d0 ]: _! K3 N4 \7 S/ p
  999. ; http://php.net/pdo_mysql.cache_size. @# ~0 h( c4 {; ^% B. a5 C
  1000. pdo_mysql.cache_size = 2000
    ( S# G* _  g6 S: m5 p" V- ?

  1001. 0 a- I  D, g. N( C1 _$ b: ~
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! D# z" R8 y- O/ [; g: w8 o% s
  1003. ; MySQL defaults.
    & m1 J/ n+ v  N8 z, A9 p
  1004. ; http://php.net/pdo_mysql.default-socket
    ' }5 |7 \" u) \, `
  1005. pdo_mysql.default_socket=
    ( k' z) ^% m8 M0 I  A3 x! a, Q

  1006. / K7 _: w9 [& E9 l8 {
  1007. [Phar]  {- Z1 a8 n% b0 T/ h6 L2 |
  1008. ; http://php.net/phar.readonly2 K2 ?! E3 L; c+ \$ v1 C5 N1 D9 i4 u' K
  1009. ;phar.readonly = On6 C  n9 U8 _" ~( u3 ?9 }

  1010. / x8 ?, _7 _3 D9 S) M; R7 v; r6 k- W
  1011. ; http://php.net/phar.require-hash
    # o5 [  _- P( T- l
  1012. ;phar.require_hash = On! s% l* z; e" w8 L& }) o% [0 c# h

  1013. 7 h/ G$ w& T. U- S( k6 H5 C
  1014. ;phar.cache_list =4 H+ ?1 Q7 w7 F! n/ z/ G

  1015. " i! I3 C' K, S5 f2 O+ b
  1016. [mail function]  w/ f" ]8 U, ]4 r: K. y: j
  1017. ; For Win32 only./ w8 x/ |! X# f
  1018. ; http://php.net/smtp2 ]/ L) I. g* T* j. }" n: d; q
  1019. SMTP = localhost4 U" E7 N1 J4 {' y$ p5 x
  1020. ; http://php.net/smtp-port
    8 c4 p& K8 K* n4 R# F
  1021. smtp_port = 25
    ' O  V$ p1 f9 H

  1022. , e- L8 B- u. Q, B  n- s% o0 P
  1023. ; For Win32 only.3 ~. ?/ }. b: n6 F1 c6 {
  1024. ; http://php.net/sendmail-from% N! f& j( O! w" j; z4 \
  1025. ;sendmail_from = me@example.com
    / R, n$ y& z4 O# O% _
  1026. / `! V( n1 x, n1 G, A4 f3 ]
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    3 l9 ^' O% }7 ?
  1028. ; http://php.net/sendmail-path
    1 A( h( r/ b5 a0 L0 k, w$ C. Z
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    % X* J/ N! B$ W2 @; r
  1030. " M% E( O1 |# H/ `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    4 a# Y  P, }" g. S
  1032. ; to the sendmail binary. These parameters will always replace the value of; ~5 w) ~$ B- C+ D8 N3 Z
  1033. ; the 5th parameter to mail().
    ! ~# ^7 f+ n$ k4 \1 K
  1034. ;mail.force_extra_parameters =
    0 M+ [  m& \7 @; P- O$ P

  1035. 9 g' \9 k2 A% n5 S  m
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; k- z, j  Z% }# C* s
  1037. mail.add_x_header = On
    ' ?2 V1 e. ~( x  f+ W/ W* s% ~

  1038. " A1 J4 A( o2 R' s
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    5 N% Y# P; \2 r+ n3 r0 N3 p
  1040. ; the full path of the script, line number, To address and headers.5 P$ z# ?7 J. T9 E
  1041. ;mail.log =
    $ G/ G; t1 P; a7 R5 D: ~
  1042. ; Log mail to syslog (Event Log on Windows).
    6 Y8 S4 T# t1 l
  1043. ;mail.log = syslog
      A1 ]% P/ v- @" y' H, Y8 ?# ~

  1044. & C5 L; _! \: v+ y6 \' T$ n; }9 `
  1045. [SQL]6 i4 |( y6 _0 P
  1046. ; http://php.net/sql.safe-mode. J" X5 ~% w+ v# D. u# z
  1047. sql.safe_mode = Off9 A( [7 b, e& {) I/ O

  1048. 1 ~2 t$ f) m1 h; J
  1049. [ODBC]
    ! m; z. c+ m' V
  1050. ; http://php.net/odbc.default-db
    ! i# T$ @% A. G5 G9 q/ F
  1051. ;odbc.default_db    =  Not yet implemented
    + s; F* W; ^. `  p) \/ w

  1052. 3 ?5 L$ ~2 V' \2 I; t6 H
  1053. ; http://php.net/odbc.default-user1 P' w4 T, G! W( x0 s9 T6 R
  1054. ;odbc.default_user  =  Not yet implemented
    & b6 Z: R; I. m! ~- Q; F+ B' U5 N3 _8 V

  1055. / ]5 w$ t/ t6 x# [8 p2 ]# l6 J
  1056. ; http://php.net/odbc.default-pw
    # ?% f' r5 r( B; w& g
  1057. ;odbc.default_pw    =  Not yet implemented6 W1 k3 C  Z" s) u% ~7 l

  1058. ! z1 V7 Z( W6 m  ~( R( j  T
  1059. ; Controls the ODBC cursor model.
    6 r% c0 Y, K3 Q. B* l
  1060. ; Default: SQL_CURSOR_STATIC (default).- ~! J4 j4 m' Q7 i9 y$ m3 L
  1061. ;odbc.default_cursortype
    4 Z2 Y3 e4 R" l2 U5 \0 K2 w2 D

  1062. $ M7 N# `! ^6 p
  1063. ; Allow or prevent persistent links.: N- r( Q/ \. h1 S0 K6 S! Z
  1064. ; http://php.net/odbc.allow-persistent, Q: `5 j& I  F
  1065. odbc.allow_persistent = On
    ' h% L' `/ L' H% h- o) N

  1066. ' S" A% E0 Y% A$ T1 F
  1067. ; Check that a connection is still valid before reuse.7 k0 K4 u5 l2 w( d+ R
  1068. ; http://php.net/odbc.check-persistent
    6 U3 q, c0 X% k1 m% |* g- f  o+ S
  1069. odbc.check_persistent = On- q1 U4 \5 Q- L& W) s' I

  1070. : o' I5 }# J1 T
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ( C9 k( k% M3 c2 D
  1072. ; http://php.net/odbc.max-persistent0 J4 Q- d# @, L: R( l3 p
  1073. odbc.max_persistent = -12 D; a' z2 W+ y
  1074. . E! E7 B9 c4 U, z6 `/ a- ?
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ^$ Q( D* ?1 Y" f, }) \3 K0 X2 q
  1076. ; http://php.net/odbc.max-links2 ~4 [* a4 K! s0 h0 {
  1077. odbc.max_links = -1
    * _* [4 O+ |1 g- @' `  n

  1078. ; H% x) d0 M# i% ^. {0 P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' e% N  l( V3 L9 a% r  v
  1080. ; passthru.
    + `* }) p! I) p% Z: f6 @# C0 b
  1081. ; http://php.net/odbc.defaultlrl) f! i1 d7 D3 A
  1082. odbc.defaultlrl = 4096
    5 h  C7 l& y& L( T$ @
  1083. 1 f2 [2 \1 j+ g" h/ C
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! }" ]$ l) c4 Y* U; H
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 B% J# n  S! Q& D: h2 v, h$ ~" k
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 y) v: W/ H' U
  1087. ; http://php.net/odbc.defaultbinmode9 c9 M) v; \) Q) d% N+ w  M+ h: D
  1088. odbc.defaultbinmode = 1# r  n9 i" _- t1 a

  1089. 1 j! ?' C) u: F* |8 s, i
  1090. ;birdstep.max_links = -1) F$ S) O5 _+ _# k
  1091. # Z: ?% y, B1 c: ~( ]
  1092. [Interbase]
    $ g& Y# O1 Q5 R% m9 `
  1093. ; Allow or prevent persistent links., s8 C, T8 }( B- E- E
  1094. ibase.allow_persistent = 1# R0 Z% X5 t. d$ o& {0 I
  1095. 1 d! l1 `. t- S# |4 Q$ f
  1096. ; Maximum number of persistent links.  -1 means no limit.
    " U- D8 ?* h. A* X5 {: ^: D( ]
  1097. ibase.max_persistent = -1
    7 g& |# T- X- }( R5 E

  1098. + b# c" i9 L- N# X: m' h
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + E4 ]  o# ~* P0 o9 F) C) }# x
  1100. ibase.max_links = -1" t, p; t7 |6 v
  1101. 1 i! c7 Z8 r: U2 ?5 ?% {
  1102. ; Default database name for ibase_connect().2 {9 ?9 p3 U. t5 h% Y- t- \+ M$ f
  1103. ;ibase.default_db =* j% {; m+ \% F! x, m
  1104. ; ?# w5 {3 M; f, }
  1105. ; Default username for ibase_connect().7 f2 _4 X& h/ `% {( ?2 [" V
  1106. ;ibase.default_user =
    1 J1 g! D  z- t2 d- R& a; }  G! k
  1107. . Z  z. c% ~( h( k8 |# e+ J! }
  1108. ; Default password for ibase_connect().
    & J8 R+ b! r) W( W: s- w# F
  1109. ;ibase.default_password =+ ~; P& U5 g  R7 ?+ ~; }

  1110. ! h4 s8 j( R+ a0 \, n
  1111. ; Default charset for ibase_connect().
      W0 Y7 a) |1 L5 B9 q0 d  c5 o9 I& l0 C
  1112. ;ibase.default_charset =
    $ A5 z# w0 l+ l0 R( u

  1113. & N; M2 X$ G. P
  1114. ; Default timestamp format./ l% `. Y3 b2 T& Z% {' W
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : B# N6 E2 G! I" G( q' [
  1116. 0 ~: j/ h7 N* `# q
  1117. ; Default date format.0 v- V. c2 f- Q0 _# L
  1118. ibase.dateformat = "%Y-%m-%d"
    $ D7 n4 L% O: E( C' t

  1119. 3 G+ V) v! X$ z; ?$ L
  1120. ; Default time format.
    . u+ n& \2 d% }) P
  1121. ibase.timeformat = "%H:%M:%S"
    : }# G0 R7 [* M: O

  1122. ( N  O' g1 Q# K  O( q& H* X( J5 z
  1123. [MySQLi]
    / w- Q0 s  }" k" S0 R' H* Q

  1124. 8 x& u6 H% o1 ^- G6 X8 q
  1125. ; Maximum number of persistent links.  -1 means no limit., t' I6 P' R; M2 N: G6 K
  1126. ; http://php.net/mysqli.max-persistent( P  Q3 a: w, U* U' _
  1127. mysqli.max_persistent = -1$ f. H9 \0 [* O7 e+ {* M% u

  1128. * y' e7 S# T; l/ |
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements" c7 X' [& Q: |8 t
  1130. ; http://php.net/mysqli.allow_local_infile, }. j# H! b4 j, d' U5 h& E7 C
  1131. ;mysqli.allow_local_infile = On
    ; j: {3 G& }  g5 Q0 s
  1132.   ^; a+ Z4 K  I  |, D
  1133. ; Allow or prevent persistent links.
    " C9 G# ~; U, l' w* ?/ d
  1134. ; http://php.net/mysqli.allow-persistent
    : T7 d6 Y2 S/ m& l/ S
  1135. mysqli.allow_persistent = On" _# j& x. T1 w# H0 h, J: u, V
  1136. " e. X0 W. ?0 a, U: [& e+ f9 P2 E! B
  1137. ; Maximum number of links.  -1 means no limit.5 s2 ^5 K( n7 M, A$ D! j
  1138. ; http://php.net/mysqli.max-links
    ! t" ]+ `7 I# B- t& l- U& h
  1139. mysqli.max_links = -15 _2 o: z# l  l. G( v& i
  1140. - D7 R6 a$ J& O* v; ]. s2 p
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " j) T5 ~1 w  M$ r$ f$ T
  1142. ; http://php.net/mysqli.cache_size+ |: `3 Z4 m2 W2 M6 x- ^
  1143. mysqli.cache_size = 20003 d1 a$ R# i* L! o2 {
  1144. + O( v* n0 V8 u" f" @7 N& I  `- {
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 g8 T! e6 v+ V* Y" g! b: L# Y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 {+ k/ X3 N! }3 k- E* C
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ L  T% n' y* m$ [
  1148. ; at MYSQL_PORT.+ t3 l' K9 n) j5 p! Q% E7 {" ]
  1149. ; http://php.net/mysqli.default-port
    0 V. g( a! d, S" [5 M4 E# S9 |# g
  1150. mysqli.default_port = 3306/ h8 X$ [0 ^- f5 A2 l( ?0 v
  1151.   H( G# ~( m7 ]- t
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 S% x) V7 C9 ]! E7 P/ {
  1153. ; MySQL defaults.% {  h) G$ h. y% u) u
  1154. ; http://php.net/mysqli.default-socket( b" ?$ E3 n5 H
  1155. mysqli.default_socket =/ g+ x. F9 y; e! w
  1156. + A( d9 ~  ?) K7 G; K4 j1 D: @
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 Z2 O" O* F9 A; c& O
  1158. ; http://php.net/mysqli.default-host* N( n- K8 f, e! E7 m
  1159. mysqli.default_host =" ], V  R+ P1 ^! c. N
  1160. 8 `1 o# ]! K- I+ `: ~/ I' B% v' [2 [
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).& y# V* c* {' B" K
  1162. ; http://php.net/mysqli.default-user: A- N7 ]' @# o% x5 p8 g) v/ L
  1163. mysqli.default_user =+ i7 W# j" N9 a& R4 D

  1164. * S2 s1 l6 y/ u3 X" s
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : W. r' y- n; s  H3 Y" l! t2 I6 ]# Z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.; _2 {. l4 G' X* C2 r: h; _' b) _
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . \* l# G5 V3 h# l/ Q
  1168. ; and reveal this password!  And of course, any users with read access to this( m; A+ {' q% Y# k( v* I1 _
  1169. ; file will be able to reveal the password as well.
    7 I) M: X' o' t- W! V
  1170. ; http://php.net/mysqli.default-pw
    5 l) a( E) T$ [- K) i* y5 `
  1171. mysqli.default_pw =
    / u4 Q8 W1 c7 d) u# k  H. F1 s
  1172. 0 H7 h# j* L+ f/ h2 @
  1173. ; Allow or prevent reconnect% V! r# p  t: i7 M6 j3 C
  1174. mysqli.reconnect = Off
    ! @5 W# p# k' D& k! @
  1175. 5 r8 L1 \, O' C2 S
  1176. [mysqlnd]
    ( A7 b/ a, V5 [, V
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; Z. Q% B. Q8 c0 i8 l: z( D
  1178. ; used to tune and monitor MySQL operations.
    ' R# @- R: g0 o% D/ ^( g4 `
  1179. ; http://php.net/mysqlnd.collect_statistics, j/ f& K( L3 G* C0 v, [) d
  1180. mysqlnd.collect_statistics = On
    . T5 l9 M6 v, [' z, G1 D/ x, s
  1181. # q% d/ L7 y. }1 N# n: l3 x. ]
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 `. O; f( a9 }+ V1 J- B
  1183. ; used to tune and monitor MySQL operations.- |9 f* ~: J7 I4 }4 l0 k2 U' i
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    / s. F8 S( f# w2 R" [
  1185. mysqlnd.collect_memory_statistics = Off
    # z: n, @3 ^1 v1 Y5 _

  1186. # f% x6 x& O% w2 o" O
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    + F9 ?0 d7 z2 y2 _: ^2 J) n
  1188. ; file.0 }9 `- K& B0 x" d" ]! p5 O  F6 m
  1189. ; http://php.net/mysqlnd.debug1 E2 e& p  ^7 L/ @9 x
  1190. ;mysqlnd.debug =0 M5 |9 |" L' g3 x+ k: H: K" d
  1191. + T0 k9 G7 _; O% p7 I
  1192. ; Defines which queries will be logged.
    ) g) S, a& ^7 L: A" u# ?
  1193. ; http://php.net/mysqlnd.log_mask
    * Q. m5 i' |7 G- G5 x
  1194. ;mysqlnd.log_mask = 0
    , H6 T0 L' a' t4 S& Q7 `) x
  1195. 0 O) R; x& J* {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      s( {5 V4 _- ]  c
  1197. ; http://php.net/mysqlnd.mempool_default_size/ K! Y# q3 e6 s. U( w. n
  1198. ;mysqlnd.mempool_default_size = 16000* K; p. Q* v6 r! w" n, P
  1199. # W% i0 F0 H/ G, v2 T/ [% \, D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! P1 r& g/ x: D& [6 a( E- a9 O8 S3 y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size# o1 E  S) G) C6 G: K  m, I5 H
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    0 W2 J" c% ~4 O
  1203. 7 e7 Y. `6 S" o/ O0 T4 M& r: y$ F
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in, O2 L, S6 T$ y" X
  1205. ; bytes.. w- j1 N" T9 E" z1 ~
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( y; D" D+ `+ `, p; L; R, s
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 U6 [% {8 T: x! p

  1208. ; W) x  B% C  C+ i( E; _# _
  1209. ; Timeout for network requests in seconds.
    7 C2 {) G, a$ Z' G! ~% ~' C
  1210. ; http://php.net/mysqlnd.net_read_timeout
    5 l( H2 ~- S" F! ]; l1 O' e
  1211. ;mysqlnd.net_read_timeout = 31536000
    ( d, X( a8 ~2 E/ S
  1212. - _0 i4 r0 J5 k. s  j4 w; b
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ [) K: m. {9 O: p
  1214. ; key.
    " `; F0 O0 ?$ K: U9 S- K
  1215. ; http://php.net/mysqlnd.sha256_server_public_key8 u  D2 ^: \; L. K. x7 i% {1 w
  1216. ;mysqlnd.sha256_server_public_key =
    6 R0 y! E, g, |$ w( @
  1217. ! O9 k$ g* H/ `$ P+ \
  1218. [OCI8]
    + Q+ J* R( |2 a) v& N
  1219. * B. Q8 _6 m4 z2 I
  1220. ; Connection: Enables privileged connections using external
    : z& G4 n: ]# n, S
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA), G" [1 l3 {! q3 d- E8 m' e
  1222. ; http://php.net/oci8.privileged-connect
      \# _+ Q: ?. P# B
  1223. ;oci8.privileged_connect = Off
    ! ~. c, @! s' G; t# ?8 u) _9 ^0 S

  1224. ! |7 G0 `! {# j5 R2 x" `+ F
  1225. ; Connection: The maximum number of persistent OCI8 connections per5 k  K! p# q( {% b* e2 K" b
  1226. ; process. Using -1 means no limit.# u# [8 |5 _' V. a. u3 w* W
  1227. ; http://php.net/oci8.max-persistent
    ) x. N$ p6 \+ [) m1 \
  1228. ;oci8.max_persistent = -13 W& n. B9 J  X# K

  1229. 4 ?" {) Q: f5 R: M+ s
  1230. ; Connection: The maximum number of seconds a process is allowed to: H' k9 V: h, y8 |+ Z
  1231. ; maintain an idle persistent connection. Using -1 means idle9 n& N# l) f: s, R6 ^5 z
  1232. ; persistent connections will be maintained forever.
    6 p2 U0 K5 ^# o8 `( O! |+ J
  1233. ; http://php.net/oci8.persistent-timeout) b7 t8 z: T$ T! r" O% m
  1234. ;oci8.persistent_timeout = -1
      o4 [& A! g- v* _. T9 Y8 i

  1235. ) `' R4 E6 \; M  y" ~
  1236. ; Connection: The number of seconds that must pass before issuing a. t1 _' \8 P/ s6 J# u, E6 D
  1237. ; ping during oci_pconnect() to check the connection validity. When" l( e0 A2 W8 K* c; K& Z$ e7 V9 W  l
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * O; ]7 {" R: V" R  y; N' [  [7 ~& `
  1239. ; pings completely.
    3 E5 F/ {/ J& ?# k( t, I; @9 M
  1240. ; http://php.net/oci8.ping-interval
    , s; [" a9 G+ i$ n# j/ S
  1241. ;oci8.ping_interval = 60
    ! G: R9 Z4 B) U, T6 W

  1242. # d6 g0 C; w' m4 t; `8 L- z' B
  1243. ; Connection: Set this to a user chosen connection class to be used
    ! o) w5 v% p3 }0 a. f+ N4 s. N! U
  1244. ; for all pooled server requests with Oracle 11g Database Resident  y- O8 r. |% Y! K4 [
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ N) m! M; q. u/ |2 ~0 S5 f  \
  1246. ; the same string for all web servers running the same application,, K) {7 ^1 u3 a4 K1 g, S
  1247. ; the database pool must be configured, and the connection string must
    8 Z. C- l. `, e7 H: `
  1248. ; specify to use a pooled server.6 k5 \( k7 f& n% x5 p7 N8 {- q6 |
  1249. ;oci8.connection_class =
    8 ?9 h4 _; I5 T  k: R8 i; V

  1250. 0 a1 {2 a* F( W
  1251. ; High Availability: Using On lets PHP receive Fast Application, J# `1 y+ `3 K- @
  1252. ; Notification (FAN) events generated when a database node fails. The  V7 R# {( W3 x  t
  1253. ; database must also be configured to post FAN events.1 ]( ?& t: q! T
  1254. ;oci8.events = Off2 a6 I/ W. d; _. C. P! f& F. G& d

  1255. ) @$ [; u% q" j6 U* C2 q* R8 I
  1256. ; Tuning: This option enables statement caching, and specifies how+ ?) X! C% J: y7 w3 O
  1257. ; many statements to cache. Using 0 disables statement caching.
    ) z* e; l# f" X
  1258. ; http://php.net/oci8.statement-cache-size
    7 e+ R  `& z/ R/ j+ w
  1259. ;oci8.statement_cache_size = 20/ s) t) K. B) m. o" T9 a

  1260. 5 E. W1 d# t' e  @. X4 @4 B# F
  1261. ; Tuning: Enables statement prefetching and sets the default number of8 _4 J6 ~; E; ~( i& _3 s6 y
  1262. ; rows that will be fetched automatically after statement execution.
    ! p: L# W1 E  i: I- m& A% |
  1263. ; http://php.net/oci8.default-prefetch
      r, i! Q2 S, s4 J& c% u& Y
  1264. ;oci8.default_prefetch = 100$ _  S! t3 c# o1 m9 E, m! a

  1265. 0 R$ L/ @7 f+ d9 i* }
  1266. ; Compatibility. Using On means oci_close() will not close4 q& E) Z) u" X& l7 U
  1267. ; oci_connect() and oci_new_connect() connections.
    6 X- b$ ^# D1 E7 l9 K
  1268. ; http://php.net/oci8.old-oci-close-semantics0 J! T7 e) Y2 g" x. w% X8 q6 y
  1269. ;oci8.old_oci_close_semantics = Off
    % a" n: W" A' B6 B7 {- u, W( M
  1270. ) P: K  o; ~. M# s' q2 I
  1271. [PostgreSQL]
    ) P7 t" S4 m$ ^# I/ h1 p# |$ K
  1272. ; Allow or prevent persistent links.( P& e& I8 _2 [  ~
  1273. ; http://php.net/pgsql.allow-persistent- t. W7 C6 h5 R( G  b3 Q- \+ G5 E
  1274. pgsql.allow_persistent = On
    4 y) b6 P7 A6 a) d, F+ B
  1275. 5 g( g5 L1 n( q% @
  1276. ; Detect broken persistent links always with pg_pconnect().
    6 K3 v* m: x0 L& i" h. c5 F9 F* t
  1277. ; Auto reset feature requires a little overheads.7 W8 L4 Y" j1 _
  1278. ; http://php.net/pgsql.auto-reset-persistent8 `& \+ }5 U* W8 m
  1279. pgsql.auto_reset_persistent = Off* M: S9 k8 b# U

  1280. ' n! O. A  t- ~3 W# F/ Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    & `6 H0 G. B' Y# k! m8 H
  1282. ; http://php.net/pgsql.max-persistent2 j$ x  S$ U  |" p6 u$ B% E
  1283. pgsql.max_persistent = -1
    1 _+ x% w# A" N4 v# r, d6 N  s! e# @
  1284. ( n, I& j. {; T' l1 s' K- a/ R
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. P9 o. e: x5 W2 r* f# N$ W
  1286. ; http://php.net/pgsql.max-links/ y' I, f2 d7 [* k
  1287. pgsql.max_links = -1
    # J, H8 f! [0 ^: g. }4 G
  1288. - }* Q4 L7 V( N" E5 g. [
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ! A( \& ]0 i, `. X9 F4 N9 E
  1290. ; Notice message logging require a little overheads.
    - ^2 O" b5 N+ B! O8 |# E; M8 X
  1291. ; http://php.net/pgsql.ignore-notice  }8 F$ X: }  Z+ d9 z+ o' N7 Q
  1292. pgsql.ignore_notice = 0
    + R/ J: c( [8 Z0 Q
  1293. 4 r- I; [1 Z, E/ x
  1294. ; Log PostgreSQL backends Notice message or not.
    : `" m* d$ \( g; w4 b  q! ?
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 Z; Y2 N* z+ E+ e  E0 O
  1296. ; http://php.net/pgsql.log-notice; `/ }/ ~6 K' ^5 z9 }$ |
  1297. pgsql.log_notice = 0, A2 O$ H* y. w8 L/ V* \  G
  1298. ( x7 ~- k" P) {
  1299. [bcmath]
    7 b; R# `: K$ v" z3 w# c
  1300. ; Number of decimal digits for all bcmath functions.% _! q' i% W: |. [
  1301. ; http://php.net/bcmath.scale( J$ @) Z( ^- @/ J) ^3 n
  1302. bcmath.scale = 0
    3 T! @4 U' X0 a7 s; ]6 t

  1303. % [% s0 y; Z& ^/ J) ~* g8 {
  1304. [browscap]/ t! u/ \4 \. w+ u- w8 v
  1305. ; http://php.net/browscap4 W6 G* x/ A: n0 M$ Z8 `  |- j
  1306. ;browscap = extra/browscap.ini% c* D3 _( `# V. Z
  1307.   k1 \% a! ^+ M) Z
  1308. [Session]$ i( p% R. O/ V: N" o6 @8 E4 M) j
  1309. ; Handler used to store/retrieve data.
      A; m) d1 o; G; F" h" }
  1310. ; http://php.net/session.save-handler
    - b7 {/ l# K/ S3 e* X% U
  1311. session.save_handler = files! r( t' E3 B5 V0 G: k" ]! z
  1312. # k$ W( ]( u6 u; p3 L+ s4 p' w
  1313. ; Argument passed to save_handler.  In the case of files, this is the path. u+ l9 ~1 u- _: D) M
  1314. ; where data files are stored. Note: Windows users have to change this* d, ~: [: O; I; L6 x* f5 t3 i! [& s& \
  1315. ; variable in order to use PHP's session functions.
    8 j& z- I0 Q, `! W, s
  1316. ;) T# s$ {8 ~$ x0 p9 K
  1317. ; The path can be defined as:
    ! x. N" q' C3 p  X) u& C0 A0 y, {' d
  1318. ;% n7 r' ~6 g2 J1 y0 @: `3 U
  1319. ;     session.save_path = "N;/path"
    ) L  b; b  d+ O7 H, k
  1320. ;
    0 N- ?* @: m  f+ l  R7 P- }2 k
  1321. ; where N is an integer.  Instead of storing all the session files in+ S( a) v2 b/ n+ m
  1322. ; /path, what this will do is use subdirectories N-levels deep, and  n( R  T' ~  O% ?" S
  1323. ; store the session data in those directories.  This is useful if8 D% X+ W6 P( g. ?  O& `7 h
  1324. ; your OS has problems with many files in one directory, and is
    & g( H4 k. B5 j# u! @
  1325. ; a more efficient layout for servers that handle many sessions.
    ; W6 k  C2 o0 ~$ C9 F* v1 z- k
  1326. ;" d$ u9 m" U% w" I9 j6 j# y
  1327. ; NOTE 1: PHP will not create this directory structure automatically.3 z1 m3 l7 f' d: O
  1328. ;         You can use the script in the ext/session dir for that purpose.
    5 _' ^; y  Q! p% K- r4 R2 _$ x+ D1 v
  1329. ; NOTE 2: See the section on garbage collection below if you choose to5 J( M2 c. h  [3 P! `- K4 F
  1330. ;         use subdirectories for session storage0 V* Z9 \( I& u- ^+ \: d
  1331. ;
    ! u0 f4 h$ H4 \4 F% q- o) C# N
  1332. ; The file storage module creates files using mode 600 by default.# l( }$ c) `  i/ l, Q
  1333. ; You can change that by using
    ; _5 d2 s1 x* g" s
  1334. ;
    ; g$ T& D" U4 N
  1335. ;     session.save_path = "N;MODE;/path"
    5 ^; [$ F) X+ n1 M1 F/ F
  1336. ;; A7 S9 q: |. }% u( \# J# U* s
  1337. ; where MODE is the octal representation of the mode. Note that this
    4 A  n5 J8 S" w& Y6 o
  1338. ; does not overwrite the process's umask.
    2 v; T& R! A% |- A! l
  1339. ; http://php.net/session.save-path
    # x4 s0 Q1 x4 ^8 Y. r: M( i: G
  1340. ;session.save_path = "/tmp"
    " T( \5 M% `( \( j
  1341. * s( d6 W3 M- q3 K0 K! W
  1342. ; Whether to use strict session mode.. G5 K. j6 o& J) r: g
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    . L% t: Q4 J( `' f; k
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects" i7 A  H- n# ?3 `$ D
  1345. ; applications from session fixation via session adoption vulnerability. It is% H/ d7 [7 h9 Z$ Y! l
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., f$ E- `5 D# _3 S/ i
  1347. ; https://wiki.php.net/rfc/strict_sessions8 j& q6 q) ^$ M( s9 R! D$ t& z
  1348. session.use_strict_mode = 01 u: y& W7 ?/ ]9 U2 Y
  1349. ( Q  X$ D0 e  F: q
  1350. ; Whether to use cookies.
    , \8 m( F! x- ?9 T/ J  F
  1351. ; http://php.net/session.use-cookies
    ( a) k2 E2 [% f5 {$ S/ Q1 P
  1352. session.use_cookies = 13 q; Z  q; Y  {. f0 w* f

  1353. 3 t( n" y& [" n. p* O
  1354. ; http://php.net/session.cookie-secure
    : n: B, M9 u# `$ K' s0 _8 O
  1355. ;session.cookie_secure =
    + G. K) B  a, b% p5 l

  1356. ' |9 C! d0 h8 m; b7 Y7 d4 e3 k# `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    * n% c5 R1 _& w( t; U0 G
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    1 g, L8 e  w1 U
  1359. ; session hijacking when not specifying and managing your own session id. It is( `: ?4 S% [. w9 h0 R$ P
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 U7 K8 m) W8 N  Y
  1361. ; http://php.net/session.use-only-cookies
    ( \  G0 Y. N( P8 A; T
  1362. session.use_only_cookies = 1) m# x8 H, `+ i) I

  1363. # |+ i0 J2 i/ T% Y/ ]" h+ U
  1364. ; Name of the session (used as cookie name).2 |) i0 M, R3 p
  1365. ; http://php.net/session.name( o% A) _% v' }4 v" ^
  1366. session.name = PHPSESSID+ |8 X; F  b1 l/ G2 C

  1367. ' t# c% D- z6 @2 V; F
  1368. ; Initialize session on request startup.
    . d7 z: d8 S% _* T
  1369. ; http://php.net/session.auto-start7 u) O3 r0 B" n9 }- u; W. h
  1370. session.auto_start = 0
    # M! d1 H/ s9 r: R; x( A

  1371.   k" M' g! D3 T3 G7 A/ [7 K
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    , m. R6 |" p, y5 {
  1373. ; http://php.net/session.cookie-lifetime  `+ L& v. O8 e8 Y) ^. r5 R
  1374. session.cookie_lifetime = 0
      L6 w, y! C: |$ X3 j2 S$ r

  1375. 2 y! F2 N& ~" _* I2 ]$ H5 c& q
  1376. ; The path for which the cookie is valid." a: `' A' q4 T; Q  C; q
  1377. ; http://php.net/session.cookie-path
    ; p. {0 f7 [* _, i" y
  1378. session.cookie_path = /( l) X6 @/ h4 d& P, v4 I
  1379. . v% q! H9 t0 A- a; d' q
  1380. ; The domain for which the cookie is valid.6 n3 C4 v/ h6 O  f. |4 [1 T
  1381. ; http://php.net/session.cookie-domain( [/ o: z; r9 O) }+ n
  1382. session.cookie_domain =
    ; T6 ~% _$ I1 p

  1383. $ [- U+ g$ I/ ^2 i: L6 W' i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' P8 i% j* {, ]  i
  1385. ; http://php.net/session.cookie-httponly
    ' Y" S/ {% \: u
  1386. session.cookie_httponly =" N1 \6 S* \2 ]5 r

  1387. 9 d( o6 J. }9 G) ~1 \* a
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & P/ B* }; Z; A0 f6 M" D
  1389. ; http://php.net/session.serialize-handler
    4 E; @4 c) m; T; K5 j
  1390. session.serialize_handler = php# Y! i# S4 e' Y; E8 @3 i7 t' A

  1391. % f: K( ~7 e8 D! b
  1392. ; Defines the probability that the 'garbage collection' process is started4 a0 ]6 \% Z. U5 |
  1393. ; on every session initialization. The probability is calculated by using3 c: e+ ]# P6 o' t% k  I) K/ S5 X
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) ?' C8 m5 J$ a3 {% k
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 18 H) T7 I; }( j$ s# ?; {
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& @: j. |4 ?2 j7 I4 L3 n/ n
  1397. ; the gc will run on any give request.
    5 g0 Z1 ?+ L2 Z5 |; L9 {( J; N
  1398. ; Default Value: 1$ T% i3 W) q& G9 Q$ p  N
  1399. ; Development Value: 1( R/ F  u$ j9 A* ?
  1400. ; Production Value: 1" Y/ G) M6 c# g+ C3 o8 b
  1401. ; http://php.net/session.gc-probability
    ' |3 e. X2 ]# g( @, B" L
  1402. session.gc_probability = 1$ w' r) D! b* u/ y8 Z9 n
  1403. ' n& [% p. K8 A
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ! t- y( c% H# S
  1405. ; session initialization. The probability is calculated by using the following equation:% S. K" U4 D% O8 _+ c
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ) i! @8 D, K( P2 x
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    & Q% E2 o" K) N: I) c& e% @
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' I4 G* J: A1 N/ g  q$ Z! R
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 R3 ?. r, A3 E5 h
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( j' C+ m- [& F% |' g9 ~
  1411. ; this is a more efficient approach.
    : ]6 I" o' c5 F1 C0 R0 @
  1412. ; Default Value: 100
    3 I( v/ x, l5 [0 E7 N7 E, P4 k
  1413. ; Development Value: 1000
    ) W9 D* i5 \# g" `
  1414. ; Production Value: 1000) ]* c+ A3 f7 W  S/ l
  1415. ; http://php.net/session.gc-divisor
    1 J- b3 w- k, s: W3 H
  1416. session.gc_divisor = 1000. |) _  \1 I- y1 A( P/ \4 Y
  1417. ; }( H6 b- t# r- K
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( T  s& [3 Q! F6 r0 y9 ?; V
  1419. ; cleaned up by the garbage collection process.
    % B( ]. d: K. t/ G
  1420. ; http://php.net/session.gc-maxlifetime
    0 g- B1 p  u; [! S
  1421. session.gc_maxlifetime = 1440: G( E3 v" }% ~% ?
  1422. , q- N9 c2 m, J  Q( B$ L- K
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    " m9 A$ I% }' }- G7 e5 G7 x
  1424. ;       (see session.save_path above), then garbage collection does *not*+ L4 A* V+ @, j7 A4 e; G! M
  1425. ;       happen automatically.  You will need to do your own garbage
    ; o4 f& R% c: y6 n: a8 R# X
  1426. ;       collection through a shell script, cron entry, or some other method.0 u" h- \3 w: Q, J) B
  1427. ;       For example, the following script would is the equivalent of
    8 X4 M1 W" x9 b) }
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" W* y8 p+ N. X
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 Y! K  ^8 m2 W0 ^9 Q& K+ r
  1430. 1 K, O8 _7 S, b1 K
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.; m1 J" W( p) i6 H
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 f- l0 f) q! F$ i8 [& c8 `$ L$ V
  1433. ; considered as valid.2 r2 o9 _& }2 m4 J% A1 s! Z& Q
  1434. ; http://php.net/session.referer-check
    , }$ S) Y4 M9 E: [4 w9 N
  1435. session.referer_check =/ f  U- x3 @+ w% F# t* S1 [9 j# {
  1436. - ^8 g- ~$ |' h9 F( _0 i; f- s
  1437. ; How many bytes to read from the file." a0 H$ O* L( \" m9 P# E3 ^
  1438. ; http://php.net/session.entropy-length. o" Z- I  b' \" J; V4 k
  1439. ;session.entropy_length = 32
    # l' c: f! I+ o+ [  I5 _$ I
  1440. 6 w$ s- \8 g3 D9 F! |  O, c
  1441. ; Specified here to create the session id.$ E6 x, T9 ]) {) @0 F$ O
  1442. ; http://php.net/session.entropy-file6 Z# _+ o9 J/ [7 F2 I
  1443. ; Defaults to /dev/urandom" s3 j$ t: |% S  Q, u
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ p2 |2 j; P( m, l/ ]" F- N
  1445. ; If neither are found at compile time, the default is no entropy file.7 J0 }2 u! ?% _4 g( x! ~" ~
  1446. ; On windows, setting the entropy_length setting will activate the
    2 h4 Q# m+ j6 l2 O4 h
  1447. ; Windows random source (using the CryptoAPI)
    6 g* s3 T' J1 N" h
  1448. ;session.entropy_file = /dev/urandom
    1 ~/ k% g) w/ l

  1449. - n* i8 @) O9 b  ?1 S
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    4 N% i/ v# b4 o! L1 C! J. m
  1451. ; or leave this empty to avoid sending anti-caching headers.. M! b4 p* R9 d) I& z/ {  C# |- ]  o
  1452. ; http://php.net/session.cache-limiter
    3 W/ u4 D3 h8 o( w5 I
  1453. session.cache_limiter = nocache# R& ~1 M7 i0 r6 k1 J
  1454. . M7 B- n' `, Y3 N( J
  1455. ; Document expires after n minutes.0 H2 `, G2 q1 A4 b& g0 p' }1 _2 f
  1456. ; http://php.net/session.cache-expire2 o, j) O6 K* o" B: X3 s9 [6 v
  1457. session.cache_expire = 180# S) D5 A9 Y: |' n9 [% M( D
  1458. ; b9 \' c+ B+ {& N9 J
  1459. ; trans sid support is disabled by default.
    - s, u. }3 l6 d' h
  1460. ; Use of trans sid may risk your users' security." h5 Y& z* \/ X; A# F  X8 Y
  1461. ; Use this option with caution.
    " D* v9 q% Z; w$ P: I
  1462. ; - User may send URL contains active session ID
    ! ?+ A( y4 F5 E! B, Y9 z* W
  1463. ;   to other person via. email/irc/etc.8 P( a3 `" ?+ I# b6 _
  1464. ; - URL that contains active session ID may be stored) P! f2 X  @: H2 k* a
  1465. ;   in publicly accessible computer.
    2 `. Q. W, x; I/ \7 ~; L9 }3 F
  1466. ; - User may access your site with the same session ID. o4 u6 f/ j1 e* C- U
  1467. ;   always using URL stored in browser's history or bookmarks.
    1 n3 z6 c6 v4 u. q4 L- k  c
  1468. ; http://php.net/session.use-trans-sid- l  Z$ G/ \7 B, S' m, v
  1469. session.use_trans_sid = 0% |9 i3 V+ Q8 r! M( D
  1470. 0 V  U# E+ X8 n
  1471. ; Select a hash function for use in generating session ids.5 H2 i4 L" }4 C. W6 Z, p
  1472. ; Possible Values
    / z& |9 ~0 y. \+ g9 _" t
  1473. ;   0  (MD5 128 bits)
    # E* \" s" e& s/ |- I& y9 C
  1474. ;   1  (SHA-1 160 bits)
    8 ]2 k9 V. [: r  w) a3 W  I
  1475. ; This option may also be set to the name of any hash function supported by
    8 T3 s% F" h( t& ]8 h( A. o: T
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()% A% R  U4 z! D) t/ d& E
  1477. ; function.
    ( \7 k" h, B$ x5 q  w: C: r- j' @
  1478. ; http://php.net/session.hash-function
    9 f: D, ?7 h2 Q/ V; D$ q, n9 Y
  1479. session.hash_function = 0% A; d! h3 j5 C$ W  o
  1480. % w% p% \( @" w2 }, I
  1481. ; Define how many bits are stored in each character when converting! P) l. O1 n7 o: C$ v, a  v1 l
  1482. ; the binary hash data to something readable.& D3 B% J# a  u1 U8 i% I8 W* p9 a# O
  1483. ; Possible values:
    # Z; z" d' C5 W( c4 z0 \. O
  1484. ;   4  (4 bits: 0-9, a-f); D: A2 `% `% B% ^
  1485. ;   5  (5 bits: 0-9, a-v)
    : E4 c/ |0 l# T$ d2 O$ g  P9 n' A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    " V" C" i" E. T+ h6 {: O/ b
  1487. ; Default Value: 4
    1 a. p4 ?: N9 E
  1488. ; Development Value: 54 Q6 J. v' w. d, h
  1489. ; Production Value: 5
    * S7 j- s& r& x1 `  K+ {! C1 m
  1490. ; http://php.net/session.hash-bits-per-character# V& [" b  ^, P7 C- X. t2 G4 m. \+ y
  1491. session.hash_bits_per_character = 5
    ; ]& E. y( G) T: c$ L) X9 I
  1492. ; }; }: ~4 ~' k) t3 i3 G5 e
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ h" n9 ^  C$ h8 s
  1494. ; form/fieldset are special; if you include them here, the rewriter will- b! |, I$ ~% Z# I
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ; w0 R# P8 n& V1 v, ^
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 d$ R* Q' I* H, v- p3 n% y
  1497. ; Note that all valid entries require a "=", even if no value follows.& G" Z0 i! J& x( e. g' n
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' i. H% C( a. Q8 O+ t+ g1 A6 J
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 A) B6 `5 y; c0 m
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * R5 P+ i) h  B
  1501. ; http://php.net/url-rewriter.tags& }7 @4 E9 R/ ]' F
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 y+ r$ M5 R! E* G3 w" {1 [
  1503. % t7 R* k6 |7 p5 x* X) Z2 G- ?
  1504. ; Enable upload progress tracking in $_SESSION( R( c/ v) V  t6 G4 b3 R, o
  1505. ; Default Value: On' _6 [  q& S/ G3 y: f; T2 B  t
  1506. ; Development Value: On
    6 \4 S8 f" |3 b. m, t8 O) N" k
  1507. ; Production Value: On5 `3 K9 x' i, o, X) g, ?/ C
  1508. ; http://php.net/session.upload-progress.enabled
    6 z; ]0 H! q# C8 F% p
  1509. ;session.upload_progress.enabled = On
    , f: ^5 r6 u' z& u/ _  R0 u5 r+ i
  1510. ( E7 Q, g+ q: h) `9 q" Z
  1511. ; Cleanup the progress information as soon as all POST data has been read
    4 D, g8 O+ G- V8 T
  1512. ; (i.e. upload completed).
    2 t7 j. V6 I/ l! C) ]* p# d+ D
  1513. ; Default Value: On
    + j' m, b3 q# L
  1514. ; Development Value: On( _5 O9 l( C3 V. `$ L
  1515. ; Production Value: On1 `* K( J9 J: L0 Y9 T
  1516. ; http://php.net/session.upload-progress.cleanup$ y; R2 h  o0 d- X, n. ~) ~; v
  1517. ;session.upload_progress.cleanup = On
    , v- V- {5 E" P$ s; K8 W' c0 j# X. Y
  1518. 2 c! N2 U5 M) {* K
  1519. ; A prefix used for the upload progress key in $_SESSION4 _0 w/ Y) A3 Z3 G: g1 _5 D
  1520. ; Default Value: "upload_progress_"
    6 u1 B$ C' E& i- P. G# d5 u
  1521. ; Development Value: "upload_progress_"  }2 d" g# y/ g) ]+ F) d6 z
  1522. ; Production Value: "upload_progress_"
    & o6 C3 c& f: W( ?6 A* j
  1523. ; http://php.net/session.upload-progress.prefix* ?7 {+ W2 ?  `9 m  o; b, m, d
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ! A0 m9 x0 W( w$ D8 ?2 j

  1525. ( S$ d) A1 y; E& h3 o
  1526. ; The index name (concatenated with the prefix) in $_SESSION' z3 U" E" {1 Y3 ?- e5 Z
  1527. ; containing the upload progress information
    : s; L; D: x5 l$ \! r) l
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 x1 n) q- u; u1 x+ X9 V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 J, [: E; h  M1 i& Y8 o' Z
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! O0 N, ?% N1 Y& i5 L
  1531. ; http://php.net/session.upload-progress.name
    ( {3 E- X+ r  K, P, i0 E
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* w( g$ y6 v3 r6 U0 ~% X; i4 ^8 K

  1533. - M! z$ g6 ]; d* {8 J8 X1 e* t7 k5 K
  1534. ; How frequently the upload progress should be updated.9 f; ]$ A% b0 q0 N% a' C
  1535. ; Given either in percentages (per-file), or in bytes8 M) |+ H* O5 q  A- F
  1536. ; Default Value: "1%"
    & w; q, _2 ^# {6 ~# F6 Q: |: t
  1537. ; Development Value: "1%": m9 K0 f0 H9 q, n8 }+ w. x8 w& K: k4 R
  1538. ; Production Value: "1%"
    6 R$ i  n6 f+ a9 B2 g
  1539. ; http://php.net/session.upload-progress.freq
    : _$ h# Z. o. S! a0 U- P: ^
  1540. ;session.upload_progress.freq =  "1%"/ }6 P# h8 m% P, @0 B
  1541. # q% K6 a2 p; a2 F
  1542. ; The minimum delay between updates, in seconds
      Y# w' c& k) M5 J
  1543. ; Default Value: 1
    , p/ J, Z" J: Y( r+ G
  1544. ; Development Value: 1+ K) p* x) {/ i% X5 A3 o
  1545. ; Production Value: 13 D7 [4 @7 E( S; G: d' e
  1546. ; http://php.net/session.upload-progress.min-freq, ^3 Y+ h6 k. q" ^+ ~. f+ n' D2 O
  1547. ;session.upload_progress.min_freq = "1"
    & ^% b+ G9 f6 C3 r3 y6 v
  1548. # G( z; H; R' _" G/ I+ u" C
  1549. ; Only write session data when session data is changed. Enabled by default.
    , t. @0 R  a6 ]( k& b
  1550. ; http://php.net/session.lazy-write8 n: z4 a, b7 [2 }% W; H- R- X; H4 `
  1551. ;session.lazy_write = On
    1 ]4 l  k4 b* A; B

  1552. ( i- U/ u) v6 T8 P. X  t
  1553. [Assertion]
    # O0 X8 R/ y  y  [2 o5 A) G; j9 A
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)% @, Z' O1 U; P  p# P8 t
  1555. ; -1: Do not compile at all
    + J5 j- A0 S0 Y. W' {
  1556. ;  0: Jump over assertion at run-time, k6 K" }3 K8 c8 L$ \6 i: D0 Q
  1557. ;  1: Execute assertions
    , L; F& ~9 }4 x* t' i
  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)
    ! H+ ~+ t! W4 g2 e& W/ e. f; x
  1559. ; Default Value: 12 s7 |. D" d' X9 B
  1560. ; Development Value: 1
    # f6 I# [) F, _& O
  1561. ; Production Value: -1
    7 d1 t1 H% _4 n5 x: o! ~- c! w
  1562. ; http://php.net/zend.assertions3 C$ g& C: u; v$ k
  1563. zend.assertions = -1
    & X* R3 b' m) f: l$ s
  1564. / p7 ^* o" u% T. g5 f8 j
  1565. ; Assert(expr); active by default.
    * Q: c( b1 }+ Q7 _. w" e0 D/ d
  1566. ; http://php.net/assert.active
    ' y) v1 a% v( O! C
  1567. ;assert.active = On' L" k2 V; u7 j/ B
  1568. 3 t, g, q( \  d) [8 `3 |6 N
  1569. ; Throw an AssertationException on failed assertions# x! `" D  l: k- A
  1570. ; http://php.net/assert.exception6 K' T: ~  F$ }8 ]8 G
  1571. ;assert.exception = On7 E# k0 |- l/ A& }

  1572. / Q- n' R1 w) F! o
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)0 f. V8 K' l7 b) K
  1574. ; http://php.net/assert.warning
    9 e" ]2 X7 _2 `4 T' j! ^. x
  1575. ;assert.warning = On
    ( g2 m( P) w- {$ P5 n; {7 r* T, `& R

  1576.   Q. j5 j# u1 M
  1577. ; Don't bail out by default.
    6 q5 ~; x( v- Z3 O
  1578. ; http://php.net/assert.bail
    " f# F. L3 f! B$ W3 N4 Z
  1579. ;assert.bail = Off
    3 B& t, p  h! k' O
  1580. 9 ^- _9 t" D; Z8 q" z$ P
  1581. ; User-function to be called if an assertion fails.- l" Y$ H  w- J$ X
  1582. ; http://php.net/assert.callback7 \! Q# S6 l9 \1 D7 C) f* B1 ~
  1583. ;assert.callback = 01 Q  g* j; C1 K) k! S/ e
  1584. * D4 O9 v8 ]9 n: K2 `
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    9 @5 ~; w! ~( @6 \; g0 O, U7 g" T2 @
  1586. ; error_reporting(0) around the eval().
    1 L7 g: X* {# w$ `: f, F
  1587. ; http://php.net/assert.quiet-eval( M; l" _/ E, `/ W
  1588. ;assert.quiet_eval = 0# f/ n/ s' ^1 v6 X7 M
  1589. : {8 R+ r7 l4 v) @/ I
  1590. [COM]# U& B7 y. M; d& L, b1 a! ~
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs) t4 Z3 W/ K5 h! k* U
  1592. ; http://php.net/com.typelib-file9 N- C6 g  S; f; a+ M5 ?
  1593. ;com.typelib_file =) x$ X' Y9 F1 z0 S

  1594. ! V, t. K' N' L' d) l9 c  N
  1595. ; allow Distributed-COM calls5 _! t: K: Z) z# k# W
  1596. ; http://php.net/com.allow-dcom; W! g: {  x, d+ H0 X4 I
  1597. ;com.allow_dcom = true5 [) Q. A. q5 y3 V+ q) e, R

  1598. : }1 w, D8 }% n, M' P6 w% A6 r
  1599. ; autoregister constants of a components typlib on com_load()/ `, c. b  R+ M4 b+ f# u
  1600. ; http://php.net/com.autoregister-typelib0 B, t& r/ E* m1 c; c
  1601. ;com.autoregister_typelib = true  N0 J" G% t% X( X. e0 s

  1602. ) T8 R9 t8 y+ _/ n/ b- C2 ~5 q
  1603. ; register constants casesensitive
    ' Z' y2 [* m$ m( b1 E7 u9 j3 V: [
  1604. ; http://php.net/com.autoregister-casesensitive' f2 X+ u* a. j) d
  1605. ;com.autoregister_casesensitive = false; a# ^" r, I$ B( m
  1606. ; O: c5 l# U: A' k9 b9 l+ K
  1607. ; show warnings on duplicate constant registrations
    ! z3 t' I8 j1 i6 L: M& a( q1 }
  1608. ; http://php.net/com.autoregister-verbose
      o# ~/ [7 V# N1 s8 }4 z
  1609. ;com.autoregister_verbose = true
    - `3 `$ |- x* R1 p) }6 Q) j3 a; s

  1610. . i# C8 B; V" T/ Q* R
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    8 h/ D& J% M4 l6 o. c2 O" L* t
  1612. ; Default: system ANSI code page
    $ x4 w" w' L0 [* G. _0 W# G$ E# ]9 u
  1613. ;com.code_page=
    1 W4 C4 V2 m4 Z; a. f; Z! i
  1614. ( }/ P4 T( J% _, S
  1615. [mbstring]
    4 h6 @. k& O6 a, o$ ]5 V
  1616. ; language for internal character representation.
    4 I% o( ~" G. a1 p2 B1 k$ K
  1617. ; This affects mb_send_mail() and mbstring.detect_order.3 G/ z: o$ g6 A, ^
  1618. ; http://php.net/mbstring.language
    + _5 ^" ^3 O5 V2 ], R' a3 ~% x
  1619. ;mbstring.language = Japanese2 T+ Y& ?3 Q8 p. H6 Z1 O, ]

  1620. 9 K/ `* G5 F# D& h$ e4 S! M( X1 X
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.& U. s8 |9 C( q5 o
  1622. ; internal/script encoding.* P8 Q4 L3 m* s6 t% ^
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 V( \; j1 a) [, \2 m
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: a: V' ]( V. j* U5 e5 y# o6 w- [# g
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 N  Y" I0 `/ ?/ m2 ?
  1626. ;mbstring.internal_encoding =
    5 F6 ~% `* `6 I, T  X/ }- t5 ^$ {4 |
  1627. " I/ s5 A4 `5 a; r$ h0 O' S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / G. |) z# d5 O- w9 q8 _
  1629. ; http input encoding.6 f& w; f0 j/ S! O; L3 R
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.4 n5 \# B, x& [" N9 H
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 y( Z, n( v! x1 }$ l- ^
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 W3 E* D% ]+ ~# G
  1633. ; http://php.net/mbstring.http-input
    4 F: [/ J1 V( o( w) e7 I1 J2 m
  1634. ;mbstring.http_input =! Y+ |5 d/ n3 I
  1635. 8 h* s1 i6 M; J0 j: T
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; x5 P. y9 J( Y) N% D1 I
  1637. ; http output encoding.
    4 F9 S5 _  @2 g- j# w
  1638. ; mb_output_handler must be registered as output buffer to function.- V8 H3 L& G+ c& J+ Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% ~# ]7 n. Z! q, G$ m( D/ r
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output# `7 M$ O) f9 B  C7 C
  1641. ; To use an output encoding conversion, mbstring's output handler must be set& J+ A7 t! o8 r+ c/ F, X7 z
  1642. ; otherwise output encoding conversion cannot be performed.- J- }$ C5 d' ^- w$ v6 S( h& ~
  1643. ; http://php.net/mbstring.http-output
    2 l- n0 N' S- i- z0 Y( Y
  1644. ;mbstring.http_output =8 g7 h, k& ~) ^! U
  1645. ; I7 \; j- J: d$ \& f
  1646. ; enable automatic encoding translation according to
    & g6 u% d. M/ s2 u' g) o, c- z
  1647. ; mbstring.internal_encoding setting. Input chars are
    , j/ I: w$ ?; ~; P- C. ?* b
  1648. ; converted to internal encoding by setting this to On.! W  ~" i8 R* A2 f- \5 Y
  1649. ; Note: Do _not_ use automatic encoding translation for
    * B2 R% w" D6 e$ q4 C& \
  1650. ;       portable libs/applications.
    ' q/ s$ U0 E+ n2 P
  1651. ; http://php.net/mbstring.encoding-translation2 a% _% C, q) y
  1652. ;mbstring.encoding_translation = Off
    . ]) a( O4 _, c4 Q

  1653.   q* H6 V; i& t) G+ v: c3 {
  1654. ; automatic encoding detection order.
    : T1 \4 j. m# c8 P  W
  1655. ; "auto" detect order is changed according to mbstring.language' q5 C* A4 m$ {' J1 R
  1656. ; http://php.net/mbstring.detect-order9 j4 I' _, L  D. O% G5 q9 n5 a, f
  1657. ;mbstring.detect_order = auto# J, d; p4 ]* ~) z0 t) C$ q
  1658. 4 j! X; ]6 f8 a" t3 w
  1659. ; substitute_character used when character cannot be converted
    2 L( \* A( R+ G
  1660. ; one from another
    / d: J( J1 w2 L, ^
  1661. ; http://php.net/mbstring.substitute-character
    ' l3 ]5 {7 Z  t6 F5 ]
  1662. ;mbstring.substitute_character = none" D+ N& M9 }! f- j/ S# |, w! f1 Z% g

  1663. 6 D' \& G8 \  E
  1664. ; overload(replace) single byte functions by mbstring functions.0 F0 v5 [' Q& p0 I
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' r* z5 @- u$ _+ j4 P! x/ H2 q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.) b8 _/ A* j; Z* g; P3 K
  1667. ; For example, 7 for overload everything.0 M$ P, G) Q& H
  1668. ; 0: No overload
    1 ~- s/ _* R) x# O4 c
  1669. ; 1: Overload mail() function
    ' V% t2 u+ G4 T  c+ G
  1670. ; 2: Overload str*() functions2 F; W/ X* m4 v/ {* z9 B: k
  1671. ; 4: Overload ereg*() functions" r' [. ~5 A  k" L. \; u
  1672. ; http://php.net/mbstring.func-overload( F: _+ b: N: t
  1673. ;mbstring.func_overload = 0
    " j- i* f4 @, O! N5 |( G5 m

  1674. $ Y: J, U  D: c  w. q, K
  1675. ; enable strict encoding detection.. P3 u* N( H; O9 V6 c6 ?, V
  1676. ; Default: Off
    ; b' c* H; h( w- G- U' x, q4 T5 J
  1677. ;mbstring.strict_detection = On7 ^+ h+ O% l3 Z: ~2 z
  1678. 7 d9 V) L7 ?9 K; E  h# K
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 K3 o! N. ~5 O8 p9 m
  1680. ; is activated.5 k  X5 \- A* \5 z- l/ g
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 c' ]0 r3 a1 D" ]$ K6 g* @: U/ @. A1 V
  1682. ;mbstring.http_output_conv_mimetype=
    * ?" w4 C: W8 D2 B2 b; x. E
  1683.   r" }6 h' O: i; _; W+ g
  1684. [gd]$ W* t3 h5 u0 p4 [5 R8 Y
  1685. ; Tell the jpeg decode to ignore warnings and try to create' p/ z- c0 K& R$ e
  1686. ; a gd image. The warning will then be displayed as notices) Z% X! `. ~2 L  y' @. I
  1687. ; disabled by default
    0 `2 B8 \9 J, k5 Z) b  G
  1688. ; http://php.net/gd.jpeg-ignore-warning  u  q5 f$ N1 q7 L
  1689. ;gd.jpeg_ignore_warning = 0
    ! {" }( J- u7 a' H/ n

  1690. 4 r2 |2 P5 O0 }6 R- C7 _; E
  1691. [exif]5 I: S: ^7 |& V+ o$ |
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / d8 @8 b4 I, l
  1693. ; With mbstring support this will automatically be converted into the encoding
    ! Y  v- X. O+ t. m( W7 u2 q+ g
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    8 d( L% M4 ^3 }; a( @- N4 \/ |
  1695. ; is used. For the decode settings you can distinguish between motorola and
    9 V* A0 O, o( F5 f
  1696. ; intel byte order. A decode setting cannot be empty.1 P$ W, G! Q. V" |( l3 K* T; t! i
  1697. ; http://php.net/exif.encode-unicode
    - s4 [" h. q4 S7 ?4 c" w5 e
  1698. ;exif.encode_unicode = ISO-8859-15" c; a9 `  L+ @) y4 W2 L# x/ Y, M
  1699. / L: Y  w$ J, \
  1700. ; http://php.net/exif.decode-unicode-motorola
      G: K/ r  S' T
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    " V, o, O" c6 n4 ^
  1702. : z! i) |2 V; i0 E! x
  1703. ; http://php.net/exif.decode-unicode-intel
    , k- b( C/ ?% d) s, X
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    3 |: @: }) W5 k  Y
  1705. ! t. Z6 e- d* b
  1706. ; http://php.net/exif.encode-jis/ e% i4 Z: J: |
  1707. ;exif.encode_jis =1 q6 w: ?: T/ {
  1708. 2 p5 y! N8 J  P: M8 X, S  b
  1709. ; http://php.net/exif.decode-jis-motorola$ b0 }3 I0 o" C, K
  1710. ;exif.decode_jis_motorola = JIS6 A+ U5 ^2 q" Y

  1711. ' [( [  \8 A8 E4 V# b) V
  1712. ; http://php.net/exif.decode-jis-intel2 l% l! K$ v7 v1 c' e$ F- Q
  1713. ;exif.decode_jis_intel    = JIS9 w& ]4 C4 i6 R! |6 K) ~1 l/ j

  1714. 5 A$ K) D) m2 f# K' @7 {
  1715. [Tidy], {8 G7 p/ U: q8 o0 b' j
  1716. ; The path to a default tidy configuration file to use when using tidy! O1 _. G8 M* c8 U
  1717. ; http://php.net/tidy.default-config
    9 j' p8 h  ]! u5 w; Z  I
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      J+ Q" i0 }. I3 t+ L7 j" F: I

  1719. ! B/ h" R0 U5 x2 y! S2 C! n8 W  v
  1720. ; Should tidy clean and repair output automatically?  A7 r" q9 |& t# q, u  @2 g6 N
  1721. ; WARNING: Do not use this option if you are generating non-html content+ u8 {, r" O3 `  X- M
  1722. ; such as dynamic images( ~7 u* ?7 r) U' o" h
  1723. ; http://php.net/tidy.clean-output7 J; W# C8 S1 J1 F8 v# w
  1724. tidy.clean_output = Off9 j5 M  l  x& u9 `! P1 K2 R' r
  1725. + i* a$ ~* ^& u6 x" k- M
  1726. [soap]
    + Z# O+ e2 ^3 u' i% v: i
  1727. ; Enables or disables WSDL caching feature.; o% w* Z% E# G9 o" n) a
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ( N6 v1 m( N' p  h* E
  1729. soap.wsdl_cache_enabled=1" {5 d1 S$ c* }5 c, o6 _

  1730. 3 ]  l1 e. C5 K$ D8 }
  1731. ; Sets the directory name where SOAP extension will put cache files.
    : ]/ E3 ]; o3 d/ l" x$ ?' o
  1732. ; http://php.net/soap.wsdl-cache-dir: q8 [' _, i) l. l
  1733. soap.wsdl_cache_dir="/tmp"7 E9 t0 p9 f  {0 O) o2 ]0 c
  1734. 6 A8 F* X! l# c7 i& `
  1735. ; (time to live) Sets the number of second while cached file will be used
    ( E4 U$ A2 X1 @6 G4 j- N; O
  1736. ; instead of original one.9 S6 C* o" q: S/ @8 A. @" l6 c
  1737. ; http://php.net/soap.wsdl-cache-ttl
    - {6 x/ {8 P) E. }- h
  1738. soap.wsdl_cache_ttl=86400  q! Q% k$ ]# j7 s6 o7 A5 k
  1739. # Q5 D$ a" y' x6 x7 x# e9 A
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    / `6 B& j- Q2 l
  1741. soap.wsdl_cache_limit = 5
    ' I$ U6 [* n7 U4 M2 n
  1742. 0 }# ?. B3 Y! M2 v2 l4 q6 @3 f5 b- w
  1743. [sysvshm]
    ; n/ G* T' L# F  Y1 I  B
  1744. ; A default size of the shared memory segment
    - l" J8 Y; v8 S$ a
  1745. ;sysvshm.init_mem = 10000
    7 s3 z  s" ~2 Y% K1 p: c
  1746.   Z$ A' [' T# _
  1747. [ldap]) n/ ]/ s/ x1 C+ H
  1748. ; Sets the maximum number of open links or -1 for unlimited." K: W: P# h1 ]6 D+ `9 c$ k( ?1 m
  1749. ldap.max_links = -1. r7 ^: t7 a  l: i

  1750. # t2 b6 |  v4 V/ g  f2 h5 @
  1751. [mcrypt]8 ?" \" G9 |2 x; A2 U
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 ]9 `: v) l" ], k9 w

  1753. 6 Y5 y2 c# b+ d0 j+ G
  1754. ; Directory where to load mcrypt algorithms
    ' |9 i0 k1 h. k& P  W
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 }+ `3 t: _( `+ c4 X
  1756. ;mcrypt.algorithms_dir=0 ]* |& e3 E$ b, E
  1757. . Y5 ?1 a5 Y+ p3 ^! ], h7 ?# z
  1758. ; Directory where to load mcrypt modes
    : ]: C9 H' [1 @8 X
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 K% J( ]1 B6 y6 _* o4 Z
  1760. ;mcrypt.modes_dir=
    % M0 B/ e7 q2 r, l4 h: g

  1761. 3 {4 o2 }5 x6 B" O! F) I
  1762. [dba]" c* d6 }- k7 H  H9 E
  1763. ;dba.default_handler=
    " [+ I4 Z5 h: t3 i
  1764. / M! P  O! m! ^' W$ y. C
  1765. [opcache]
    % O: i3 ~) \: c
  1766. ; Determines if Zend OPCache is enabled
    3 d( [& w* ]3 Q
  1767. ;opcache.enable=0
    & j5 b# L) `- i" k
  1768. 8 f2 x8 d4 r2 W9 B& c. V
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    " t6 C7 ^. W# N; F4 E3 M) ]5 a: {
  1770. ;opcache.enable_cli=0
    7 S. A' C' b2 t+ @) y- \
  1771. 7 I, o0 x# f8 r, ]' p) x' n8 n
  1772. ; The OPcache shared memory storage size.7 J% ?, G* X! d. ^* p" z
  1773. ;opcache.memory_consumption=64
    - ?+ f7 q0 T  V

  1774. 6 @4 {( ?. d" `- a  j- U( `; g- F: w
  1775. ; The amount of memory for interned strings in Mbytes.
    / u( t' P, y" @4 n7 E) l  q; O
  1776. ;opcache.interned_strings_buffer=4
    6 J# y' W/ B1 p" M

  1777. ( t- [1 X' Q, _9 [
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.+ y. e: y, r# R
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ( n3 `8 ~( |  z
  1780. ;opcache.max_accelerated_files=2000! i; o- X3 o7 E* s, Z1 [* ?
  1781. ; C" T+ P0 D3 p
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ P8 ~$ @" c0 |9 Q
  1783. ;opcache.max_wasted_percentage=5
    ' @  J6 F, x0 @! w
  1784. % ^* [8 F+ f& I8 f
  1785. ; When this directive is enabled, the OPcache appends the current working
    , Y6 f9 n+ D; F8 A
  1786. ; directory to the script key, thus eliminating possible collisions between
    5 W; K0 k! d) q9 ~
  1787. ; files with the same name (basename). Disabling the directive improves
    " P0 `" x# R3 X
  1788. ; performance, but may break existing applications.
    & L$ H* r5 X4 Z3 x0 R7 Q
  1789. ;opcache.use_cwd=1( b* t6 Y: S( l! f1 ~0 T- {( F1 d
  1790. 8 B; k0 Y! n* m: p0 Q* t2 O
  1791. ; When disabled, you must reset the OPcache manually or restart the
    3 f7 k0 k, ?, [
  1792. ; webserver for changes to the filesystem to take effect.
      M' N. N. i7 u8 d- V
  1793. ;opcache.validate_timestamps=12 V( Z/ {. z/ h5 H( G% _0 G8 {
  1794. + M+ n; S9 [( a5 G; i' f, o1 k
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    : }) {/ t; B4 r0 J$ f
  1796. ; memory storage allocation. ("1" means validate once per second, but only
      ~% {# A. l: s! A4 z8 ]: x
  1797. ; once per request. "0" means always validate)
      c" M1 ~+ R6 r9 {
  1798. ;opcache.revalidate_freq=2
    4 g* Y$ w: G: y) L$ j( w' k

  1799. ( F) Y: g8 J0 c+ V
  1800. ; Enables or disables file search in include_path optimization( ]. E5 t3 Q6 i4 G  h
  1801. ;opcache.revalidate_path=0
    + D  @' r* z" a
  1802. - @' x/ m8 E* `$ F5 y7 b4 M
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # |! Z8 j, ?5 h/ F% m% I* @
  1804. ; size of the optimized code.. N* N' {. n" |8 u
  1805. ;opcache.save_comments=1
    7 q; p7 a# S, D9 d- G% [3 a

  1806. . t; k( I3 A' v! B3 i% n% r: N
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code5 Z1 A  }4 c" A/ C5 j
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.% X  ]  t; }" r+ k5 L5 q
  1809. ;opcache.fast_shutdown=0; A2 U* c! y$ ?7 i! L

  1810. 5 x: W4 Q% e; P
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & }2 B. Q/ M3 j& S) F9 s& s- q
  1812. ;opcache.enable_file_override=05 h8 c, Q/ N- A

  1813. ! l% O2 W3 L. Q- W
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache( z4 [0 w$ t- [3 r7 G. o9 s- ]9 c
  1815. ; passes. t% [+ @; L2 d' x
  1816. ;opcache.optimization_level=0xffffffff
    & ^& ]' i; A9 Z7 ^  V" R; U

  1817. * ~) d& D; j) P! w; y) c
  1818. ;opcache.inherited_hack=1
    # y' \+ A4 B! `& M  W! Q
  1819. ;opcache.dups_fix=0
    + r" t( F, e8 r  A3 X, I
  1820. . g- c6 X) i( w/ r" b
  1821. ; The location of the OPcache blacklist file (wildcards allowed).+ l: M: b7 V7 Y7 p0 r9 s5 R
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    2 a  S* q/ `4 p; K! v# @7 p
  1823. ; that should not be accelerated. The file format is to add each filename
    3 X: F3 }* N- O4 |: O# ^
  1824. ; to a new line. The filename may be a full path or just a file prefix
    % D* |! Z; m1 x, Q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www0 M' u9 M1 l& ^1 N7 K+ w
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 C& Q' b: ?% G( R4 f
  1827. ;opcache.blacklist_filename=2 T9 h3 u) p" p

  1828. * n8 @5 E6 U4 Z( b% R6 M
  1829. ; Allows exclusion of large files from being cached. By default all files
    ! e. t* ~  `* s* X  d& z
  1830. ; are cached.
    * `# N; s( e* j
  1831. ;opcache.max_file_size=0
    4 s. ^) ~9 H0 x+ o1 c

  1832. - J- v  {* z6 ~9 W5 j( j* F
  1833. ; Check the cache checksum each N requests.
    & c5 T) g; f3 A# c) Y3 b
  1834. ; The default value of "0" means that the checks are disabled.: e6 ~$ ^' k5 ^$ k
  1835. ;opcache.consistency_checks=0
    & N4 n: b% p6 u
  1836. % C0 K* F, ^. q, m- G" z. {
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 |6 v: U  ?  x+ U
  1838. ; is not being accessed.
    ; m. W; Y0 H% n$ i3 S  s( s' N
  1839. ;opcache.force_restart_timeout=180' \: b  q: `8 }4 M' J* i

  1840. 5 ]' S  a, Q0 \/ Y, t
  1841. ; OPcache error_log file name. Empty string assumes "stderr".6 v% j) `9 R: C! z/ u6 H
  1842. ;opcache.error_log=( B" R9 I8 y4 ?4 M! ^
  1843. 8 q7 n% ?& Y8 a. A2 S6 j
  1844. ; All OPcache errors go to the Web server log.
    7 [, R6 I& T- `# U6 I* E
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    % n0 G# s) ]  ]9 H6 N% R6 [4 O
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    9 x, p4 `6 z" p1 i5 d9 J
  1847. ; debug messages (level 4).
    ; X9 Z* T6 y! t* B5 t4 d% {
  1848. ;opcache.log_verbosity_level=1
    4 Q5 n9 [% D; a- Q+ j8 T" `
  1849. 9 ?' l! y  ]4 j7 z# S
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ; x1 y& x( I% H1 S2 b& Y
  1851. ;opcache.preferred_memory_model=
    7 e7 L5 U6 j$ e3 ~/ v

  1852. " S# [; h$ e& _! D
  1853. ; Protect the shared memory from unexpected writing during script execution.
    + g! y/ M2 Q4 D' \' v5 s
  1854. ; Useful for internal debugging only.! e$ I% v2 j; m, q% L9 I3 ~  i" F
  1855. ;opcache.protect_memory=01 g$ ^! |1 L3 x( s! r% L  M

  1856. $ a* Q2 a# n. F" j. S
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is- s4 N( T) h( V+ N* s  A3 Z$ h
  1858. ; started from specified string. The default "" means no restriction' ^# I9 p7 f0 @/ r  A& M
  1859. ;opcache.restrict_api=; O5 @' h& X+ ~2 F

  1860. 7 ?8 _; ~% f9 n6 ~' H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    3 F% V. P4 e; N4 V1 ?, c' T3 q
  1862. ; processes have to map shared memory into the same address space. This. [2 f6 x, y& q' R1 h% V
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ z3 X( B  u& z6 V+ X; j
  1864. ; errors.
    7 G, X9 r/ U% S6 i" g
  1865. ;opcache.mmap_base=& L6 g% u; P8 k& z8 I. D. }
  1866. : J8 a; H. l, c+ w+ w* C
  1867. ; Enables and sets the second level cache directory.8 m9 J( }3 W; d1 x1 p  k0 ~
  1868. ; It should improve performance when SHM memory is full, at server restart or2 R- \4 ?. ]  ^4 b) @; P$ @0 a$ D# H1 v1 z
  1869. ; SHM reset. The default "" disables file based caching.
    8 ]/ W2 R( c4 W6 y4 p; W
  1870. ;opcache.file_cache=
    / w5 }  E* A" S, w" c) _

  1871. * K( F: ~# z) _: K% Q
  1872. ; Enables or disables opcode caching in shared memory.  y* P* u3 g/ y2 w; }2 W$ L6 u" @
  1873. ;opcache.file_cache_only=06 H& F/ i3 u5 I# V% C& Y( e) W
  1874. $ w3 K" o# W* `. X& @" c' W
  1875. ; Enables or disables checksum validation when script loaded from file cache.7 s( z& S& ^! ~: n* r; D2 S5 g+ S
  1876. ;opcache.file_cache_consistency_checks=10 H) [' W+ j5 e: w( \

  1877. / `4 S3 O3 ?" _" O
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      k& R2 K1 X$ O/ A" P3 r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    $ R5 \; |7 g  d3 R
  1880. ; cache is required.
    9 ]3 U' M2 I$ N+ S
  1881. ;opcache.file_cache_fallback=1. d7 n/ x. g+ y0 C( f# U

  1882. 8 P  A" b, C* o6 K- s+ v: C
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ( G2 v' e. n8 A
  1884. ; This should improve performance, but requires appropriate OS configuration.3 o2 O* i4 ^1 ~) u5 z! ~+ d& @
  1885. ;opcache.huge_code_pages=1
    ! O( a2 E6 J8 a1 T* ?3 ?' b: G( e
  1886. # O5 e4 n* E8 f$ E" O& S3 p
  1887. ; Validate cached file permissions.* r9 Y% ?. ~2 `) H, f
  1888. ; opcache.validate_permission=0
    / @+ w- p* E% |5 B, r! ?6 e, G, W

  1889.   i6 D3 [# f0 s3 Y
  1890. ; Prevent name collisions in chroot'ed environment.6 r- T+ M9 x9 a' i! ]1 O. I
  1891. ; opcache.validate_root=0
    - X9 A/ E3 H% e

  1892. 0 q5 D+ k7 h% c# ]% `$ d: B
  1893. [curl]! X- n5 l- V$ @* }, \8 O1 T. k
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 G* T! X" d5 p, e
  1895. ; absolute path.2 t4 R$ w- ?6 M: D# j5 N
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    : A+ A8 f2 |4 d9 ~) V8 U. ^4 u* H) Z
  1897. 8 {9 B4 q  z" n+ ^$ d- i
  1898. [openssl]
    9 X0 r/ p( ^( j+ V8 d2 Z, h8 l
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( S1 t0 W! A6 ?* s* I
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ t2 E/ v* X4 \
  1901. ; not specify a value for this directive as PHP will attempt to use the
    - X" Y; F. l0 U; P2 M
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    / ^8 t  @* U( ^& s6 Z2 ]4 {/ ]
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 |" v( F! c4 C- K) o8 {
  1904. ; option.+ S: x6 i! ]9 T8 A# C- p6 M
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    " V1 Q1 C$ L0 \

  1906. 7 C! L9 Y" a+ G& Q3 Y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the- n5 |% @* L/ B& F( c
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    4 e' u) o7 \: k! \8 b; c8 f
  1909. ; certificate. This value must be a correctly hashed certificate directory.! B2 O6 k; b; Y+ i, x# C
  1910. ; Most users should not specify a value for this directive as PHP will
    $ F0 U( P, N; a; A
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,1 q0 b7 l- T2 }' {- x# b
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    5 D" _8 B1 P: X0 q' {4 q
  1913. ; SSL stream context option." A$ n/ R' t3 T% c/ k+ I# y8 e
  1914. ;openssl.capath=
    5 R# o" A8 J9 w
  1915. % X8 ]8 j5 i. d
  1916. ; Local Variables:0 c7 ^6 O' P0 ~% ]0 h
  1917. ; tab-width: 4
    ' O- }& B, ~8 {. O- ^) c' `
  1918. ; End:
    ; Z! M4 L2 [* `5 w) m

  1919. ! t) h5 w# |* T& X6 ^& U$ a' O
  1920. ;eaccelerator
    7 _. D9 Q# G4 |/ t4 Q6 p

  1921. ; C- Z6 F- b# T, p6 @/ `
  1922. ;ionCube
    ( @0 N+ b' @9 I# ~$ X

  1923. 7 U: K0 b4 P6 Y0 }/ s  M
  1924. ;opcache* k3 o) S) N2 M5 F- _( G
  1925. 1 I8 F% f. r- }8 W5 i
  1926. [Zend ZendGuard Loader]: T1 i4 s# A2 t& B! ^& |2 t
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) ^0 F4 k3 u% o  t) d7 a( O
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 \0 W1 Y6 E5 S  i$ @& N
  1929. ;zend_loader.enable=1
    ; v8 Z+ J7 W6 ?9 k) s8 D
  1930. ;zend_loader.disable_licensing=0# u% {  I& G$ ^8 w  k' t9 t
  1931. ;zend_loader.obfuscation_level_support=32 I+ ?; J, Q. c0 t( t
  1932. ;zend_loader.license_path=
    6 Y/ O4 s& G4 {: r& v( k% s+ u/ T8 A
  1933. # o) C4 W/ n; M0 C
  1934. ;xcache/ f- w8 h& Y4 _( H" X
  1935. " D& P8 b0 n3 Q2 n
复制代码
8 p* f4 `: [1 t3 T; m) @. g& y
" x1 C( w  y: Z* F. y8 o' R
( q' j0 P, e3 x/ B0 ^! U& q

9 O! ]4 p$ m' H" p! K) ^$ v. h  Q) @6 J

% U. J! N- P( H/ N8 f1 G, c% U2 D
PHP5.6版本原始设置) X3 M$ Z/ ?* A) R& `9 F4 K5 S& }
: @2 K3 g7 t0 ]. ]2 p( i
  1. [PHP]
      q% h, P& b$ t/ a" B
  2. " n* _, ]' F" P; H% A+ v
  3. ;;;;;;;;;;;;;;;;;;;) B6 F' g9 E; \
  4. ; About php.ini   ;! W: C$ h) X1 K3 i  Z/ X) p( ~4 b
  5. ;;;;;;;;;;;;;;;;;;;
    9 G1 g0 q! s8 ]9 E$ f
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; ?" f3 H# F( x8 s" ?% T1 W) k
  7. ; configuring many of the aspects of PHP's behavior.) f$ F+ G. y) Z0 w' `$ [7 ^

  8. ' f; ?$ Z9 a# n9 O; @9 b2 f
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + S0 {( z  A, ^! {3 ]
  10. ; The following is a summary of its search order:+ G6 f7 A+ Z+ D5 F; h6 G: k- t
  11. ; 1. SAPI module specific location.# v- E; V; n5 S! W0 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)) F; J8 m% t0 }7 g" E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + I. V$ X2 w& B0 o# T- M7 J* _
  14. ; 4. Current working directory (except CLI)  l. ^% t/ ]8 ?" Q4 }+ h1 K0 q0 `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ c- j& b' s* N3 p9 u
  16. ; (otherwise in Windows)+ r  J2 Z7 ^& x* b2 g7 }/ R5 K' E* \
  17. ; 6. The directory from the --with-config-file-path compile time option, or the: H. _) M# m% x- P' k& h
  18. ; Windows directory (C:\windows or C:\winnt)( K3 |/ H) ]5 p! M
  19. ; See the PHP docs for more specific information.$ m* @: |' J9 n! u$ M
  20. ; http://php.net/configuration.file
      y) X9 o5 k0 F# j. g
  21. & Q, L0 [( y7 t% d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 X' V; M* U( d3 f1 F8 w! y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 {' s' l9 J9 h' z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    " t6 r, y2 i6 i6 v0 J+ C- G* S% x
  25. ; they might mean something in the future., c; l& L* X6 U% z; F# T
  26. & s8 o; G# p* C- e+ U  m; U
  27. ; Directives following the section heading [PATH=/www/mysite] only+ ^( @; A6 d7 L# S2 N8 O
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % K0 p  f( y* Y: f- X+ e$ q
  29. ; following the section heading [HOST=www.example.com] only apply to
    6 Z1 c" `/ m9 G$ {' O8 i$ H6 ^
  30. ; PHP files served from www.example.com.  Directives set in these
      |) ~: J  F! x
  31. ; special sections cannot be overridden by user-defined INI files or2 t0 @  d# l5 T( D7 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under0 G; R% D; ]' Z! `
  33. ; CGI/FastCGI.
    1 w7 c) u+ c! c, P4 l* L* k: _6 g
  34. ; http://php.net/ini.sections; R  v; K  z: ?

  35. / I  C& M* z1 h- Z6 d/ t9 `
  36. ; Directives are specified using the following syntax:0 }5 |8 ~% ~( S/ x1 C; r! a
  37. ; directive = value
    & ^0 p4 q! T3 D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 n. W* t4 |, ?: S+ m- r2 ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
    4 }- ~# `: |$ f) g0 L
  40. ; There is no name validation.  If PHP can't find an expected/ k) l; ~! `+ a
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & G; p  @0 Q8 Q) ~: h) b2 q

  42. * ~( w4 ]8 C  u7 ~; g4 K
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one6 s" x9 q: i) T2 i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % m3 |, {0 q" [& D+ Z& E  a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: b4 v6 N- I: H+ F0 h* P
  46. ; previously set variable or directive (e.g. ${foo})! o5 i) W; d9 F% h1 a
  47. 2 f4 ?5 ~+ v6 G7 r7 x9 A
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    0 d4 O: D7 R; a
  49. ; |  bitwise OR1 V! y1 l  e+ Y
  50. ; ^  bitwise XOR
    3 }7 `" f. o" P+ _; v
  51. ; &  bitwise AND
    7 w! f: _5 B9 u; Y" d* d
  52. ; ~  bitwise NOT
    ( Q/ @3 o5 K4 d% H# `
  53. ; !  boolean NOT2 r+ y1 [- H3 r' g7 V& I/ U
  54. 8 O3 Z2 a6 I+ f8 k8 m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.: T/ B4 a9 x5 S( J* }2 L  A0 A& w
  56. ; They can be turned off using the values 0, Off, False or No.8 P+ c2 N4 ^& u3 X1 q) [

  57. 1 W  x4 @& `0 |* J" l
  58. ; An empty string can be denoted by simply not writing anything after the equal+ r9 t# r& c5 V1 d/ }5 S+ j# n
  59. ; sign, or by using the None keyword:3 {  Y- L) j& B" c
  60. . F- @8 I3 r* _2 W4 Z
  61. ;  foo =         ; sets foo to an empty string
    / |% D+ A% `8 g0 K' a9 G
  62. ;  foo = None    ; sets foo to an empty string
    6 I  Z( [2 R# o0 a! A4 P7 [
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 l& j" C+ z7 c# j* D

  64. 4 @: ?6 b# A' Q' i) z# n
  65. ; If you use constants in your value, and these constants belong to a- {  c* e8 w3 U" i3 x/ y# o
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),! G# Q; f0 G9 X: x7 t. v
  67. ; you may only use these constants *after* the line that loads the extension.4 H* h- m# e& a+ l: \! S
  68. " k9 H2 W' M8 f: w# n; Z
  69. ;;;;;;;;;;;;;;;;;;;6 s- ?; p4 Z% A' T5 {6 S# B
  70. ; About this file ;
    . y1 B' u7 F$ g0 b! `, K0 R
  71. ;;;;;;;;;;;;;;;;;;;, H& Z* Z& x" `# P
  72. ; PHP comes packaged with two INI files. One that is recommended to be used# c1 m+ O, {  W- P9 \& K
  73. ; in production environments and one that is recommended to be used in
    $ w. e# z" b+ C7 _) |
  74. ; development environments.
    9 ^  y: _$ {& f% }8 X

  75. % U) L. k: D1 u
  76. ; php.ini-production contains settings which hold security, performance and0 Z/ ]; L, M2 [  d' w/ z+ H- h
  77. ; best practices at its core. But please be aware, these settings may break
    7 B7 I' `( y/ j7 @: c/ K4 r9 c( s1 T
  78. ; compatibility with older or less security conscience applications. We
    2 a: [2 V7 i: W9 T/ w4 f7 V; W
  79. ; recommending using the production ini in production and testing environments.
    # ]& [& m) A5 z+ y. I: v

  80. & M5 H: Q# S: ~8 e" s
  81. ; php.ini-development is very similar to its production variant, except it is; R0 W3 R, S* G6 |' r; ], m
  82. ; much more verbose when it comes to errors. We recommend using the
    % z, x- R; t/ s: @% Q, U
  83. ; development version only in development environments, as errors shown to
    : t' Z) Q) i2 X7 J6 z) c
  84. ; application users can inadvertently leak otherwise secure information.
    * V* X1 Z9 z9 C" Z" w8 }* F
  85. 1 w# {2 R8 v3 U& {/ {1 |
  86. ; This is php.ini-production INI file.4 d6 B4 J# @. V

  87. 4 G; C- w) L( M" @" N* ~" y5 y
  88. ;;;;;;;;;;;;;;;;;;;
    2 I3 i2 f2 W! p' ]
  89. ; Quick Reference ;- Z1 R- ]5 D0 N7 x% a
  90. ;;;;;;;;;;;;;;;;;;;* Y9 o- F7 {# g6 P  R  t/ ^
  91. ; The following are all the settings which are different in either the production: l' Y/ j$ p( o4 S4 c" }
  92. ; or development versions of the INIs with respect to PHP's default behavior.. @: c; g* ~* K3 X$ I$ n; S1 p
  93. ; Please see the actual settings later in the document for more details as to why
    / K8 H/ U/ J# X( Z5 L) B( z
  94. ; we recommend these changes in PHP's behavior.  \. W6 B! A7 R( a

  95. # {3 ^8 O, O) {- f3 a- d
  96. ; display_errors, Q8 ~& w  F+ n& x" ]# ~
  97. ;   Default Value: On
    / ]  Y" u( P- L; J" i
  98. ;   Development Value: On  K) X! H! @- B6 Y9 O$ y( i0 f( b2 h: V
  99. ;   Production Value: Off
    * }6 o4 E/ k5 s+ \) x0 Y, @( F

  100. : H  E& S+ M* G- p- [- o) z
  101. ; display_startup_errors6 ]; j% A0 D2 z/ y# ^% I. ^
  102. ;   Default Value: Off4 L3 A9 {. o  Z( d3 f& R2 c
  103. ;   Development Value: On
    " K, R  p* ~* m! t# j1 [0 B
  104. ;   Production Value: Off
    9 W; o, B- G+ [5 I/ l
  105. 4 @- U% x6 d( e* V7 F/ x& R
  106. ; error_reporting: H2 q+ H* C* k' E
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- f. v2 A* W) N' R4 Z% u" u8 Q
  108. ;   Development Value: E_ALL2 r% ?; ~0 g% v" x$ M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 C: E$ |5 N& i% l4 k% Q
  110. 0 H& g# U$ A% _
  111. ; html_errors
    7 D, c& W3 O3 p: }& e+ l; g
  112. ;   Default Value: On
    ! U2 ^$ Q4 K  p
  113. ;   Development Value: On
    - ^8 f: l$ S2 A% o7 X" D8 x' d
  114. ;   Production value: On
    7 N0 g% M  w* K0 J" P  I
  115. 2 H+ I( c4 I1 o+ \
  116. ; log_errors
      w8 \. K: l% x# X
  117. ;   Default Value: Off
    2 E$ S( B" g8 I0 M& o; z2 e% L
  118. ;   Development Value: On* m$ y+ f7 w, [7 o3 W% G! s2 D
  119. ;   Production Value: On
    4 b# [- b3 V0 l$ Q, h# x" h

  120. ( x6 N' G* i, Q9 t  W" c
  121. ; max_input_time
    & R- V% L7 b) e0 d0 f  u
  122. ;   Default Value: -1 (Unlimited): P  o+ Q4 @/ F% P" H$ A, n
  123. ;   Development Value: 60 (60 seconds)
    ! Q+ |& k* A) L1 w* p- _
  124. ;   Production Value: 60 (60 seconds); U" ?* e: ], y* y8 H: T/ d

  125. $ f, y% Z. e7 d& I
  126. ; output_buffering
    ! W# k% P5 p+ s0 J3 x8 i
  127. ;   Default Value: Off! f% {$ a! K2 O3 q* l! i
  128. ;   Development Value: 4096( `% I; x/ a( a, p/ Z- q
  129. ;   Production Value: 4096
    / x$ ]7 z; N* m) v' y4 f& O7 m- U3 g
  130. . u) K: ]) y- G$ y% j- Y8 Z6 j
  131. ; register_argc_argv
    5 I+ f- N! L6 b
  132. ;   Default Value: On
    * P! u1 z. Z1 U. \8 u( h
  133. ;   Development Value: Off) u5 [+ F$ Y- g, {) O- N3 u
  134. ;   Production Value: Off
    . l1 L0 b0 |$ B, Q/ s" I* J: C
  135. * T! q. W& i: N5 o9 z. F
  136. ; request_order
      U" \9 T. t' H2 X+ J6 F
  137. ;   Default Value: None
    & T$ `4 P7 Y8 X8 ]
  138. ;   Development Value: "GP"
    6 A9 Q1 o. z/ N8 v
  139. ;   Production Value: "GP"
    * P& ~1 r5 @3 D5 J) q" p0 q, y; J
  140. 6 e) @; H" K9 a# R. o9 l
  141. ; session.gc_divisor. k5 v0 E3 G7 F. A1 D
  142. ;   Default Value: 100  f5 R! m5 s- W: h! s$ ?% X
  143. ;   Development Value: 1000: j' W" ]7 [, Y* T' m
  144. ;   Production Value: 1000
    2 ?1 `" l" O8 T% a

  145. & h# i- E9 W$ E/ S, r: S# `
  146. ; session.hash_bits_per_character) K# p, _8 u+ v; g
  147. ;   Default Value: 4
    0 B# t& f0 T- r( [: d
  148. ;   Development Value: 5
    8 [5 u6 A0 d& N1 q
  149. ;   Production Value: 5
    ) Q5 {- o$ p3 S; P. M9 k7 J
  150. * |5 B9 h6 y2 [" \# d5 ^
  151. ; short_open_tag$ `: P4 W9 L6 p, j' ?" Z
  152. ;   Default Value: On
    6 j! [- V0 x8 _. w3 ?9 F
  153. ;   Development Value: Off
    1 ?! C% d3 O7 a& |! r
  154. ;   Production Value: Off' j# G7 L1 i: y- w; y/ I9 p* p
  155. " }. X5 j% @, o5 `1 {, }: b/ x/ A
  156. ; track_errors
    9 {/ L* o2 Z& ]; I* [3 G
  157. ;   Default Value: Off
    : E1 C; u" }! s* i3 q% k) A! Q/ N
  158. ;   Development Value: On
    3 E* E. q$ r* O
  159. ;   Production Value: Off
    2 h) N6 K- d2 b& |0 F9 }
  160. . ^' T3 ~: e; x& ^3 W! Y  }
  161. ; url_rewriter.tags
    " D( e7 H) v2 X2 Z9 L. e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' t0 o' b& Y* ^( ~* o6 K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % A+ }7 \: S& o( F% }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , h% o! N- L! y' ^+ d/ m

  165. ' |* q1 P/ K3 `) v
  166. ; variables_order+ P0 I$ g: T, _/ C
  167. ;   Default Value: "EGPCS"- j2 a3 p$ ]/ S0 }
  168. ;   Development Value: "GPCS"
    ; {. q* V. E8 x& Q/ j
  169. ;   Production Value: "GPCS"" S5 }! J% s4 C( {# q
  170. - l6 Y+ |8 b0 |, A8 g: p
  171. ;;;;;;;;;;;;;;;;;;;;
    9 b7 P, x5 N# T9 o
  172. ; php.ini Options  ;
    ' J2 @4 x6 _# u7 Q
  173. ;;;;;;;;;;;;;;;;;;;;6 I& d4 [' n1 R+ m2 J" }7 ?3 _7 i/ ^. t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" R6 V+ \  N; u& ]% J6 {; l
  175. ;user_ini.filename = ".user.ini"4 X: w3 K5 b3 A- i% t
  176. 9 i+ q' R& Q2 T  D$ x( }
  177. ; To disable this feature set this option to empty value7 l$ U0 b9 [/ V( I, `/ n
  178. ;user_ini.filename =
      n+ F5 T7 U" A2 K! d. ~

  179. , C0 z& ?7 e+ C, n8 T9 q9 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 d) y# f! X: T( S, |, q$ m
  181. ;user_ini.cache_ttl = 300- T9 y3 `* [7 x3 w+ v; a4 p

  182. $ @1 I2 @( Y& y- ~* n& r' L7 [
  183. ;;;;;;;;;;;;;;;;;;;;6 k! x  u- C1 }- g( ~9 b3 n1 T
  184. ; Language Options ;. L& ?0 R  f" {/ W+ }
  185. ;;;;;;;;;;;;;;;;;;;;
    2 n$ u4 o# k& ^. Y+ {/ p/ Z9 t  a* Y
  186.   g; }& k( O: `6 W' B
  187. ; Enable the PHP scripting language engine under Apache.- S! O. \" f. A" _9 B
  188. ; http://php.net/engine
    $ y5 M. C' \0 C
  189. engine = On
    : W$ f( h5 N* C# ?3 [+ f$ [

  190. 2 C, V  B# }; C' L, |3 S
  191. ; This directive determines whether or not PHP will recognize code between
    5 y7 i8 e, l( d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 p3 v% f8 L1 ]
  193. ; generally recommended that <?php and ?> should be used and that this feature
    " @/ D" F" g4 w2 d+ g) \
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 o7 h" q4 _* x! O5 ]4 R
  195. ; documents, however this remains supported for backward compatibility reasons.& I' u. _8 J2 f% J$ D
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 _7 l" Z0 v% ^$ s3 ]# o  G; ^
  197. ; used regardless of this directive.1 l7 A7 T: H7 K; E
  198. ; Default Value: On
    5 E: L+ q& H6 ?
  199. ; Development Value: Off" R0 j& Q0 R* x6 m1 q
  200. ; Production Value: Off+ D( T1 F2 [2 j
  201. ; http://php.net/short-open-tag
    6 ?8 ?, X- W' O7 |1 c
  202. short_open_tag = On
    $ G* D# v+ D9 c) |' [

  203. # Y) b& ?9 {4 B5 D+ ?
  204. ; Allow ASP-style <% %> tags.
    ' t! f3 e: [' h, g
  205. ; http://php.net/asp-tags
    : o6 \; T: @4 M% D2 r, C% [& T
  206. asp_tags = Off
    ; g8 @5 O, F( [! S* S, S' T
  207.   O0 d0 @2 v2 b7 T2 D: m
  208. ; The number of significant digits displayed in floating point numbers.
    . R, R$ f- H/ a1 b- Y
  209. ; http://php.net/precision* i+ \. U" `% V9 \, x! a4 N
  210. precision = 14$ J, Q7 h( l( ^  w) v0 ~
  211. ' m& [# T. q- G& L* [  g$ T
  212. ; Output buffering is a mechanism for controlling how much output data
    ; f$ I: t: X; \1 ~
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that8 h$ m- J8 l( S
  214. ; data to the client. If your application's output exceeds this setting, PHP$ \% d6 X9 N0 F; X2 ?2 w, c' m( Y5 I( k
  215. ; will send that data in chunks of roughly the size you specify.
    * t) O  Z( ~* [! f
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ; K4 T( O$ h$ Z: D3 V4 t0 v9 j
  217. ; interesting side-effects depending on your application and web server.
    9 [+ u. l: e; [
  218. ; You may be able to send headers and cookies after you've already sent output  _* s3 V5 M/ ]' x% x. w
  219. ; through print or echo. You also may see performance benefits if your server is
    & f1 t- y2 ?( Y& h5 i/ ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    5 h* t7 _# Y( a( {' f. r
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance0 {- |' v+ r# @$ v
  222. ; reasons.
    $ r5 m% Y! I( \
  223. ; Note: Output buffering can also be controlled via Output Buffering Control' T2 Q$ _7 r3 E8 T  o1 p& H# [
  224. ;   functions./ B; S  {2 ]% X" i# @  x) J+ J
  225. ; Possible Values:, {4 C" h: b, g+ e+ H$ b5 X' r
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
      _2 c( `# L9 {4 P2 f
  227. ;   Off = Disabled
    : d3 _6 g; F% y; S# @0 m
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 X! b1 F. O* B
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . R; q$ d5 M: S4 L3 S( c4 m8 K' L
  230. ; Default Value: Off( m, X7 f# b2 x( |* V
  231. ; Development Value: 4096% m" D, Z/ l; @' y
  232. ; Production Value: 4096
    ) _8 Y, v2 N  o
  233. ; http://php.net/output-buffering
    ' t% H! g5 \$ J7 P) M, G
  234. output_buffering = 4096; w, A4 @& X* a! X% ]

  235. 5 x6 ^0 I7 U  l) e% b
  236. ; You can redirect all of the output of your scripts to a function.  For% a; _9 K: |! y. I
  237. ; example, if you set output_handler to "mb_output_handler", character' U7 `' S9 U9 x) Y
  238. ; encoding will be transparently converted to the specified encoding.0 L% o: m6 Y; J$ |0 V+ y
  239. ; Setting any output handler automatically turns on output buffering.0 q3 H% x. G8 F! A* e: r! {
  240. ; Note: People who wrote portable scripts should not depend on this ini
      ]! _% d+ P8 x9 `
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    0 N" R9 v$ D8 P2 W
  242. ;   Using this ini directive may cause problems unless you know what script" w3 T. b3 J4 F2 f9 y& U
  243. ;   is doing.1 {  a8 p. ~% J( O% ~% A- p, f4 b
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    1 m( M/ L3 s+ `
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".& T4 C+ N& z% t( ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!% U. A8 R; R) N( H# [
  247. ;   Instead you must use zlib.output_handler.
    1 o! G( T) T( H" i7 V3 M' e
  248. ; http://php.net/output-handler1 s* ^* O4 s7 b8 W) z4 H* ]9 L* o
  249. ;output_handler =
    - V! Z2 b$ h  P/ Q8 @" H+ k2 L# ~
  250.   m% m- x& R8 Y# V6 o, v
  251. ; Transparent output compression using the zlib library/ C4 b+ x; H. A' _
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size3 l/ s; y) H( w- o' H
  253. ; to be used for compression (default is 4KB)5 l% }" y$ Z% j: S- E
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ! f2 F/ q8 ~9 A; f- c* y
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 N0 V, D& o, A& H) M4 y7 x  ]
  256. ;   compression. If you prefer a larger chunk size for better1 X7 j9 V* W9 r/ U& m4 c& n
  257. ;   performance, enable output_buffering in addition.7 ~+ o$ `7 ?; _7 M
  258. ; Note: You need to use zlib.output_handler instead of the standard/ d9 E: {4 |; ^' B" W
  259. ;   output_handler, or otherwise the output will be corrupted.
    & P6 U9 d' o' ~+ Y
  260. ; http://php.net/zlib.output-compression
    8 i" X) U5 _. z, ~, L) S, V! N$ R
  261. zlib.output_compression = Off
    - l$ Y, v& U3 j; d

  262. 2 M: J! `& K1 ?
  263. ; http://php.net/zlib.output-compression-level
    ) |9 ^* ~6 b& g/ x
  264. ;zlib.output_compression_level = -19 J( u  g* g8 t

  265. ! D7 g1 H1 Y- G/ {7 G" R
  266. ; You cannot specify additional output handlers if zlib.output_compression5 r" h" B; c1 l4 P6 w
  267. ; is activated here. This setting does the same as output_handler but in8 y; `6 o( d! v' g" e
  268. ; a different order.9 R/ P1 j( n6 X$ }7 z
  269. ; http://php.net/zlib.output-handler
    " E/ A  t* w  J- A' u. y% _
  270. ;zlib.output_handler =
    + u. w# z- A: }
  271. , c! o& B* t! O5 Y
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 \' g& R8 `9 A% L3 R1 ~
  273. ; automatically after every output block.  This is equivalent to calling the
    9 i9 y! _& Z! h- f& h& M* [2 \
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : v' W6 D8 ~7 A6 l! H
  275. ; and every HTML block.  Turning this option on has serious performance
    % M$ V) J! q2 v& I) z
  276. ; implications and is generally recommended for debugging purposes only.
    1 z: I+ }9 y( g" r/ M% k9 X
  277. ; http://php.net/implicit-flush
    " V8 H+ y: f7 f  k! ]1 o
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    # ~; M. \8 q: B$ p3 c' [
  279. implicit_flush = Off
    9 N# z6 k' }: o: b4 F

  280. $ ~7 G4 E, h+ D3 F7 W
  281. ; The unserialize callback function will be called (with the undefined class'+ d" `: z* q8 Z/ m, Q
  282. ; name as parameter), if the unserializer finds an undefined class# P5 H  F+ g+ p8 F, j2 Q/ A4 K
  283. ; which should be instantiated. A warning appears if the specified function is2 N' X1 {) y! ^% U/ F) s/ P
  284. ; not defined, or if the function doesn't include/implement the missing class.% h) J' e0 N) l  f* ?6 }. M
  285. ; So only set this entry, if you really want to implement such a0 A% O! x+ A/ {* X9 s9 n) r) W
  286. ; callback-function.8 g, C2 ~3 y# t, |
  287. unserialize_callback_func =
    2 [  @2 k, f3 ]. u* j; T( m
  288. ! {; G' r( A9 y7 l8 ]% p( k3 a) a
  289. ; When floats & doubles are serialized store serialize_precision significant
    ) o5 ~% g+ E1 G
  290. ; digits after the floating point. The default value ensures that when floats- M- s1 N6 s; a9 S; X- Q
  291. ; are decoded with unserialize, the data will remain the same.9 ?( S* W$ H; G; S0 ^" L+ ?
  292. serialize_precision = 17
    2 [$ m5 R8 C5 }$ P5 N
  293. 9 M6 B' \+ N1 @% t
  294. ; open_basedir, if set, limits all file operations to the defined directory
    1 G! g4 L3 E, [/ a0 q. T5 R
  295. ; and below.  This directive makes most sense if used in a per-directory2 `1 L( r+ l; x* x
  296. ; or per-virtualhost web server configuration file.
    % C3 x' E7 c0 s/ I6 S0 _
  297. ; http://php.net/open-basedir# f, t7 s( R: u0 r% D* S6 H
  298. ;open_basedir =& s" I, U) w/ [

  299. 0 ~( x6 i  F2 F( e( r/ W* ?
  300. ; This directive allows you to disable certain functions for security reasons.
    4 Z3 s2 A; P' j2 }" R
  301. ; It receives a comma-delimited list of function names.0 _& _6 m$ E/ {( k9 T) {( a3 b* @
  302. ; http://php.net/disable-functions
    6 Z2 Z+ q  ]: I' E8 L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : r! R0 `; u  n

  304. * m* J8 _9 l, t8 ]
  305. ; This directive allows you to disable certain classes for security reasons.5 \/ x9 `# Z1 M& r* d
  306. ; It receives a comma-delimited list of class names." f# ^1 _3 y7 j1 c' @* E+ F: f/ j8 Q
  307. ; http://php.net/disable-classes5 }5 |3 M8 g- k3 W" N* m
  308. disable_classes =& l) {5 G2 _& d! T! e( s5 G
  309. " @2 _' w' m9 `3 S5 N
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* ?( s: ]' ?8 a1 Q7 b; G+ v
  311. ; <span style="color: ???????"> would work.; Q8 a' i, Y0 f: T1 x
  312. ; http://php.net/syntax-highlighting
    3 u8 J: E8 q# ~2 E/ G: U! V, |
  313. ;highlight.string  = #DD00009 V$ V( P; E: O4 V+ T( {& o5 [0 Z
  314. ;highlight.comment = #FF9900" j1 O  i- G' s0 T9 W
  315. ;highlight.keyword = #007700  w* }  ]  A8 Q, @
  316. ;highlight.default = #0000BB
    % M- z4 X9 b, ?( F9 |, i; o
  317. ;highlight.html    = #000000
    # L3 I# T0 u! }; }
  318. . X, O. {9 v9 `5 I3 |
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    , z$ |9 P& t3 |4 P1 A0 H/ ~- W
  320. ; the request. Consider enabling it if executing long requests, which may end up3 m' s* \- m/ x! b5 B
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ( c- G1 _" {4 T' p% Z
  322. ; is to disable this feature.# n. o8 ~! t: }+ ^6 O
  323. ; http://php.net/ignore-user-abort' g" T2 o2 B  Q1 K
  324. ;ignore_user_abort = On
    2 E! L( i$ s8 D) I# v/ ~

  325. : U% x& I% o3 O- B3 U0 K; Z" g- i
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* {/ `! Z: h/ I) M' R) `# @
  327. ; be increased on systems where PHP opens many files to reflect the quantity of, }7 _. z# I8 {9 S/ i
  328. ; the file operations performed.
    - |0 E% A" P2 U0 e: \7 i% V
  329. ; http://php.net/realpath-cache-size) S' S* k! h4 y) A( {2 _
  330. ;realpath_cache_size = 16k5 c8 A9 F& i# }# _# W9 u

  331. % e% G. i6 A, ^8 d4 D) j
  332. ; Duration of time, in seconds for which to cache realpath information for a given/ x6 a  {0 f) @0 O7 Q- d
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 S% J6 u8 h( R" j
  334. ; value.* i% i5 e7 }6 E' @  {
  335. ; http://php.net/realpath-cache-ttl
    / |6 {% k( N  h) k! J3 ^& _. E
  336. ;realpath_cache_ttl = 1208 M+ Z& O- n5 y. K+ `0 _
  337. 8 J. H; p% c. D9 A
  338. ; Enables or disables the circular reference collector.$ D1 n5 s8 s  K
  339. ; http://php.net/zend.enable-gc
    + ?) h1 ^+ ?4 _
  340. zend.enable_gc = On, s' s" L% ^9 Z8 g- z# O1 k% n
  341. # r6 m& n$ Q/ r% h$ n
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ! Y3 }, P! t" p0 T# ^6 [- \$ X
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' w) J: I- |0 y: w# |# |9 |
  344. ; encodings.  To use this feature, mbstring extension must be enabled.( q/ V- O5 F$ e* S
  345. ; Default: Off6 ~2 D8 X$ v7 B, u$ [1 D
  346. ;zend.multibyte = Off1 o# q' n* {( b" U) Y7 N: i
  347. # C5 O: Q! s  ^% M$ u
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    6 ^8 c  E* G( h+ K) b. Y  {& w
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.- e1 b4 y4 D# m& N8 z# P. r
  350. ; Only affects if zend.multibyte is set.4 J3 p7 d. P- t. b9 i# |
  351. ; Default: ""
    * I9 s# f4 f4 d; @* c
  352. ;zend.script_encoding =. z* M- ~/ F6 W4 S: D
  353. 1 N4 x# o3 F  o& X
  354. ;;;;;;;;;;;;;;;;;) v) R+ S& W$ u" D/ L
  355. ; Miscellaneous ;4 h* B: M& S/ d* |  j
  356. ;;;;;;;;;;;;;;;;;
    ; ~% c) T. D& @& v3 X" Y6 W- \

  357. 7 [( H0 C+ P7 G$ S, A# s2 U
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    8 C- t' x1 F# S- v- N% e
  359. ; (e.g. by adding its signature to the Web server header).  It is no security1 C1 R& \' ]! M  x
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" |& r0 k' Q/ e" A
  361. ; on your server or not.
    7 n0 F. b8 M5 M4 R. V" N
  362. ; http://php.net/expose-php4 i. m+ D0 p  \0 J
  363. expose_php = On3 ?' A1 a+ Z8 G3 f, V

  364. 6 E  j$ Q5 Y0 m; u8 ~2 b8 Q
  365. ;;;;;;;;;;;;;;;;;;;& ]/ o6 Z" M4 n; V# t2 q
  366. ; Resource Limits ;3 f) A) s, Q( a4 m7 u2 F
  367. ;;;;;;;;;;;;;;;;;;;
    ) I) ]4 h% F* c) ~) F2 {; [$ g

  368. + f. W' ~  ~) o7 p' P3 v6 R
  369. ; Maximum execution time of each script, in seconds
    ; H7 F0 v. _, V4 s. T7 i
  370. ; http://php.net/max-execution-time
    . f. m4 H: n$ x4 s/ h
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI% D6 a2 v& F( O+ z  ~! I
  372. max_execution_time = 300
    , b3 Y8 ~9 l8 a: a

  373. 3 ?8 ^, q3 Y4 w# T+ y
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ F1 n3 j, k. E6 o- c' T: D; r% D$ D
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly% `0 Q) Z; b" |' ^4 F( I7 h: B7 W
  376. ; long running scripts.0 x, \# H* i& {$ V: u$ W# g+ g) _$ O
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI  A6 \4 L" \! w0 z. @
  378. ; Default Value: -1 (Unlimited)2 P) w( t* N6 B8 F5 m5 z
  379. ; Development Value: 60 (60 seconds): M* W* P, M( |
  380. ; Production Value: 60 (60 seconds)) h- E7 D; p" m3 v6 n
  381. ; http://php.net/max-input-time5 \6 H, L2 Y# I- E% _
  382. max_input_time = 60+ F- C3 D  r) X! x6 S
  383. - m+ S$ b6 h4 _+ e0 G6 m: d
  384. ; Maximum input variable nesting level
    6 T/ l" I3 j% _8 |  R; P$ U
  385. ; http://php.net/max-input-nesting-level: F; p! b8 s; v0 B) ~5 p+ a
  386. ;max_input_nesting_level = 64- @4 W/ ^, @- j, E% s

  387. 1 |; \* M6 c- V. k7 U
  388. ; How many GET/POST/COOKIE input variables may be accepted
      R! Z6 Q2 y% L3 G8 K" Z7 A6 _
  389. ; max_input_vars = 1000
    / y0 B5 @8 V" l# j$ U4 m
  390. ! s& u3 g" E% g9 l4 a- v
  391. ; Maximum amount of memory a script may consume (128MB)4 r+ h) S9 p) x! h: F
  392. ; http://php.net/memory-limit
    . K$ K( K( v* w: ?# u6 I
  393. memory_limit = 128M: [1 B: u1 k" |9 ^( Q4 n
  394. 7 L  ?8 X& d- N; ~7 d
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 i# G" T4 I) E: I% ^
  396. ; Error handling and logging ;4 Q+ p- h; [1 O2 c
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( e+ V9 {$ X8 Y

  398. # a( \4 q8 J. p% n; t' Z7 {) }# ]
  399. ; This directive informs PHP of which errors, warnings and notices you would like$ w5 N" J: f% ]
  400. ; it to take action for. The recommended way of setting values for this7 [0 ]& l" L2 m2 O! ]
  401. ; directive is through the use of the error level constants and bitwise8 k+ {6 P. h0 Q
  402. ; operators. The error level constants are below here for convenience as well as* y2 F5 L  D+ f
  403. ; some common settings and their meanings.1 J- n$ {# E- j4 N! i5 S
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    8 W, Z3 D+ N7 D. u" d) d  y$ D; P* E
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and9 [3 E" f6 ^2 r* I# \. M- m" O
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ) b8 k$ E. d& ^6 h7 k
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    9 o! q: P% x; @" Q
  408. ; resources complaining about best practices and coding standards. That's what
      U+ k# ]8 R5 `9 W( p% d
  409. ; development servers and development settings are for." r0 F% K3 b  H7 x
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 U( K7 |/ W- O0 O7 u  z" n
  411. ; means it pretty much reports everything which is exactly what you want during
    - s0 C: w& E* |/ m
  412. ; development and early testing.# ^! T3 Z" r2 h
  413. ;
    6 ^5 _* q& {  N! }) e6 T. p9 g
  414. ; Error Level Constants:
    + `. R6 D& ]1 c
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / L* O* C7 a( d9 p& p- t7 u
  416. ; E_ERROR           - fatal run-time errors
    . u3 j- _! e# Z7 S, |/ c
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % ]( n& ?; ]2 e) t$ z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)& r6 `8 s& e7 x( {2 [1 ^. z3 S0 m
  419. ; E_PARSE           - compile-time parse errors
    ( k3 `: Y" E2 ]
  420. ; E_NOTICE          - run-time notices (these are warnings which often result$ e" b" N" }- O" v5 X/ b
  421. ;                     from a bug in your code, but it's possible that it was
    % ?/ t' L/ \' H% i9 }$ X
  422. ;                     intentional (e.g., using an uninitialized variable and
    2 n* g0 q; t& p' g3 _' Q8 H
  423. ;                     relying on the fact it is automatically initialized to an) Y# Z$ |# S; S0 s3 v, Q3 d# J
  424. ;                     empty string), [# z# }/ @  O
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ; G1 O5 S0 z' h$ D
  426. ;                     to your code which will ensure the best interoperability/ D: m! v5 _6 A
  427. ;                     and forward compatibility of your code
    ( U; E' w# f+ B: d+ Q, A0 w
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) S8 S  K$ W$ G. \7 A' R! n
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's7 x1 `# k. Z1 Q# D
  430. ;                     initial startup
    ; D  j& |6 d3 X" N4 r
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    3 ?9 ~( a8 |( d2 [4 y! h& J( ~( D
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 Y1 k& D  X9 L# e% v; w+ ~6 @/ v
  433. ; E_USER_ERROR      - user-generated error message7 K2 e& N* S% z* N
  434. ; E_USER_WARNING    - user-generated warning message
    ! f" P) Q, U- y
  435. ; E_USER_NOTICE     - user-generated notice message
    ) P5 c1 S9 h& y0 d/ P; P/ |! F
  436. ; E_DEPRECATED      - warn about code that will not work in future versions) E( n) C5 B3 P2 Y# c3 `3 }% c
  437. ;                     of PHP
    7 Q/ ?* G+ f8 Y! v
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings0 o7 }7 w  p: @" e: e
  439. ;
    . d  M3 X$ [# w4 C: B2 {" E! X  @
  440. ; Common Values:
      v; Q  j1 k+ _- [+ [3 }
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 _+ T( A- f1 A8 K$ y+ l
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! r1 X, Z5 O2 e6 [' @
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    * W5 d& f! M% @
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ; n# @$ h3 s3 k7 F
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : Z1 c2 W* @' t
  446. ; Development Value: E_ALL
    8 A  ~+ }# b1 b9 i
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 U2 r, Y. c/ v' ?7 Z7 m
  448. ; http://php.net/error-reporting
    2 j" }$ H5 Z; F3 C" t
  449. error_reporting = E_ALL & ~E_NOTICE! W, ?5 L, m# @! ~
  450. . m- j4 G% r* p9 s" A, [8 E
  451. ; This directive controls whether or not and where PHP will output errors,) L$ X9 T/ Z4 g( E9 J
  452. ; notices and warnings too. Error output is very useful during development, but, j1 U8 W) ]. W5 r% [
  453. ; it could be very dangerous in production environments. Depending on the code
    4 k9 E$ Z2 j* |% C
  454. ; which is triggering the error, sensitive information could potentially leak# T/ i- w. H5 P- z/ H" H
  455. ; out of your application such as database usernames and passwords or worse.1 t* R6 `% t/ j
  456. ; For production environments, we recommend logging errors rather than* [0 t% y/ N1 r( W) d' S
  457. ; sending them to STDOUT.% M6 E# i% m, e& o- L9 p5 ]
  458. ; Possible Values:( P: `+ F. f9 Y; G9 [
  459. ;   Off = Do not display any errors
    / Q" F( u9 [: ^; D* |! z
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)' q4 R1 z0 |, m- P/ ]4 v' B3 T
  461. ;   On or stdout = Display errors to STDOUT7 Y; X$ A" B. \3 [! h, k5 |
  462. ; Default Value: On& R! T6 k# Z) j! X! ^3 j, z
  463. ; Development Value: On
    ; _# a2 D$ u+ z/ Q$ @# p) X$ f
  464. ; Production Value: Off
    ( n+ w1 l! P& S" k; y
  465. ; http://php.net/display-errors
    $ w: s8 s. `# Q' A; O! r
  466. display_errors = On
    * i& V# ^; f. s6 j' M4 n& Y5 g, W
  467. : S0 m/ R, ]& R" l2 k8 P
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ; R& d" J# B9 ~% V6 ~0 E
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    $ r( E3 V1 F+ ?) u+ K( z) i: B
  470. ; errors from clients. Turning the display of startup errors on can be useful in' W: n: y9 f; p1 a  ~0 K$ `
  471. ; debugging configuration problems. We strongly recommend you/ K6 {1 T% w% Q) ^) i
  472. ; set this to 'off' for production servers.5 l8 f# _7 g+ Z* M% v$ G+ ~6 l
  473. ; Default Value: Off& j  v1 i0 W5 T% K- p/ B( j
  474. ; Development Value: On
    . H; v. z/ _+ U+ W3 R
  475. ; Production Value: Off
    7 Z' Z8 k2 z. z% i# S* N
  476. ; http://php.net/display-startup-errors0 u- v4 @+ W/ P
  477. display_startup_errors = Off
    ) e* k2 x5 `5 \! s7 J

  478. 6 I5 T7 l8 @( K
  479. ; Besides displaying errors, PHP can also log errors to locations such as a9 ]5 N( ]% n! J* }1 p- c' c, ~
  480. ; server-specific log, STDERR, or a location specified by the error_log/ i; E  n* h* c$ g' r: }
  481. ; directive found below. While errors should not be displayed on productions
    $ O: f) r1 ]4 u7 X2 t6 G3 b
  482. ; servers they should still be monitored and logging is a great way to do that.
      w: ], e' V2 B$ {* ^9 u
  483. ; Default Value: Off
    0 R5 |. {$ j1 ^6 Y( X$ u8 X3 L
  484. ; Development Value: On) @5 n2 B' E3 R: b; X' F, n$ X
  485. ; Production Value: On" K) [/ W, v* k% ^  u0 G  d
  486. ; http://php.net/log-errors' r& B2 X) d+ I! U' P
  487. log_errors = On
    ( b3 m# s& L, m; j3 @/ ?( }6 j
  488. ! S% I1 ]% H0 X' L; d+ l
  489. ; Set maximum length of log_errors. In error_log information about the source is
    . ?; _2 C0 D! ^. }0 s" C! z" N4 s
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  {0 D5 b* N: V( ^7 U+ Q
  491. ; http://php.net/log-errors-max-len
    $ _  ]; _4 F. H5 I
  492. log_errors_max_len = 1024+ M5 O5 u3 h2 w2 R/ E3 j
  493. 2 p- u$ l" D9 j2 ]4 a5 T7 C
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    8 d  ?7 P$ ?$ [2 B
  495. ; line unless ignore_repeated_source is set true.1 g6 \) {! y' U8 V, ?, ~( h- p) R
  496. ; http://php.net/ignore-repeated-errors
      S4 R; }" _# S/ a8 j
  497. ignore_repeated_errors = Off
    1 F  {7 W/ _  V6 X
  498. 7 a' l5 u; Y4 o3 _' B, ~9 U
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    4 D1 D. |0 I, Q) K% f- K/ v) t4 q
  500. ; is On you will not log errors with repeated messages from different files or- u/ u( @( R  g7 W; t) A
  501. ; source lines.
    1 y; F4 z& z6 Z
  502. ; http://php.net/ignore-repeated-source
    2 ^; M) L0 v0 X" O* k9 p/ q
  503. ignore_repeated_source = Off8 B0 m. I2 r# O" U" a
  504. 4 i+ Y6 X6 X# V  q) m  d( T  c
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on3 H8 s' C7 W  ~9 u$ t" V
  506. ; stdout or in the log). This has only effect in a debug compile, and if1 V8 z/ E  ?6 V$ c8 \+ w5 T
  507. ; error reporting includes E_WARNING in the allowed list
    . L3 T7 q' {" e
  508. ; http://php.net/report-memleaks
    % l  h2 }6 u# y4 Y
  509. report_memleaks = On
    9 @$ D* w( T% P2 u

  510. # @3 u5 z7 y. r  f# J; b
  511. ; This setting is on by default.
    ( ~% ^! B0 I0 `1 C
  512. ;report_zend_debug = 0
    , D/ [0 L" e  H2 z

  513. + W# @( G) b1 M6 P
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    3 j% P$ R# }) n+ f' M: M) k7 `
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    4 r# [0 F/ D% t5 R2 m" O8 M
  516. ; however be disabled on production servers.
    3 X1 Q) ^! `. q5 W. L
  517. ; Default Value: Off
    * s4 l2 W. ~7 W0 f8 j
  518. ; Development Value: On5 N0 P" w, W* Y8 `1 G/ B
  519. ; Production Value: Off) h0 C( Y. s, _- F, o3 u. F* n& q
  520. ; http://php.net/track-errors
    , g. l4 v6 V/ m, U9 [0 j6 e) a
  521. track_errors = Off
    / h# S5 `) @6 `! I; h
  522. ! T* Z% E4 i8 W; r, e8 q1 v
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ) N: Y/ O( E* Z3 w
  524. ; http://php.net/xmlrpc-errors, m5 ^3 R% @& o' ~
  525. ;xmlrpc_errors = 0
    % w- R; o9 O5 O. a9 ?: B

  526. , I7 ?/ z4 X3 C, B$ A8 ?
  527. ; An XML-RPC faultCode
    ! D. w3 W9 B6 i8 c# _* }
  528. ;xmlrpc_error_number = 0) V7 Y3 w8 }4 K" U- l6 W2 J# Q

  529. / q/ ]' {6 e# I0 K& R& w* l
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    / M7 k- p3 p! r# G6 g$ r, Y
  531. ; error message as HTML for easier reading. This directive controls whether* t* L% C) `$ Q1 |9 ^
  532. ; the error message is formatted as HTML or not.* c* g; ]/ P5 n9 k  ]7 r
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI+ }. t5 T6 |$ w) R  s
  534. ; Default Value: On
    * c' n% K# p/ k9 ^3 |! M) d' R
  535. ; Development Value: On
    * o* J! z- c# H% ]) s: ]& ~5 L
  536. ; Production value: On
    2 K/ C' d- Z: S+ i" L- O
  537. ; http://php.net/html-errors
    9 M6 _6 b. W+ X) |) ]) Q
  538. html_errors = On1 I/ D% J" m" r6 ~6 W- `8 K
  539. 7 a0 b4 |4 d" k8 p# v) P! p) F
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    : L' D: F4 J7 Z5 E
  541. ; produces clickable error messages that direct to a page describing the error9 V7 W6 \5 Z' K$ _! U
  542. ; or function causing the error in detail.2 f! @* ]0 d9 [; _2 f
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 V3 K+ t: w4 Z" [& I* _
  544. ; and change docref_root to the base URL of your local copy including the
    2 @4 y( E2 g# [- ~, F  ]6 o0 q7 ~# z
  545. ; leading '/'. You must also specify the file extension being used including) h4 @. [  M. T4 Y4 Q8 O
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    4 J+ Z$ {1 S. o) g% D9 D" F
  547. ; case no links to documentation are generated.
    : z" H3 f- ]* z: @* V4 ~* I; P2 A
  548. ; Note: Never use this feature for production boxes.
      P' a4 g6 T1 z. W
  549. ; http://php.net/docref-root
    8 u& M( Q1 d, P; a- Q
  550. ; Examples
    4 o* u8 M2 e- ]. i' T% A
  551. ;docref_root = "/phpmanual/"# s  f6 b2 U/ a5 u! \
  552. " |7 m% }8 [' z; o
  553. ; http://php.net/docref-ext
    2 d, ?/ C2 l0 h
  554. ;docref_ext = .html
    ' Z; A# ^& P* z8 i2 L

  555. - Y8 d& E: _! t5 B7 K
  556. ; String to output before an error message. PHP's default behavior is to leave: r" a' ^! [, [; N% t
  557. ; this setting blank.1 g, |9 i- _0 m/ E: M
  558. ; http://php.net/error-prepend-string
    2 w# m! Q# [+ A1 w( A1 t
  559. ; Example:
    + C0 S2 w& ?# k2 o
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : d6 `  |2 u! C' V8 a
  561. : q9 ?, Y! ?: a3 _( n
  562. ; String to output after an error message. PHP's default behavior is to leave
    * P+ C" X, t0 i1 Q* F/ f
  563. ; this setting blank.( S+ ]% i3 U/ D8 [: O
  564. ; http://php.net/error-append-string
    ( I1 e1 \8 e9 |% s
  565. ; Example:
    ! x5 U" @9 q* f6 V8 B
  566. ;error_append_string = "</span>"
    + Q( n; g+ U8 _0 \' \; z" c% F
  567. 6 N; p, a$ C! y. _, h( w& p
  568. ; Log errors to specified file. PHP's default behavior is to leave this value- O! n# U" c8 \$ X2 r5 l1 Q( m) |
  569. ; empty.- x7 k8 V. V0 U
  570. ; http://php.net/error-log9 f" T, v' C$ r$ |5 Z. r+ N+ t
  571. ; Example:: l" c% J3 }: V" O
  572. ;error_log = php_errors.log
    ; m. Y3 N0 X# t7 L; K% Y; s( t$ G/ u" ~
  573. ; Log errors to syslog (Event Log on Windows).
    5 ]% `4 L, S# `, z. m& V; Q
  574. ;error_log = syslog! J, s1 j# X: o. Z6 E
  575. $ @. v2 d& @2 z$ y3 N
  576. ;windows.show_crt_warning
    9 w4 `; I; A( D& U9 L: }
  577. ; Default value: 0
    . Z7 y9 S  I; J5 F& u& S
  578. ; Development value: 0; S" L9 s" d  i, p
  579. ; Production value: 0
    & D4 b  W' }7 @5 o* \/ \

  580. - R; L( w/ L) h& J8 Y
  581. ;;;;;;;;;;;;;;;;;4 H7 v, L# J4 c: ]2 J
  582. ; Data Handling ;
    / j6 @1 _# @! y' j. k
  583. ;;;;;;;;;;;;;;;;;$ \/ K( _7 n9 y0 {8 L

  584. 1 s( u2 `; ^2 }0 z  @& S* U
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 Y% P% s# f! F
  586. ; PHP's default setting is "&".
      A7 R! z" p# i  |$ `4 Z
  587. ; http://php.net/arg-separator.output# q5 Q! W" _/ g, W# n# [
  588. ; Example:5 C, O2 q+ z  v0 R
  589. ;arg_separator.output = "&amp;"
    3 w2 [( T) N. N& _

  590. 8 w1 v# u. W3 h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 I% k. f$ H( O" e; l* s
  592. ; PHP's default setting is "&".% s* o6 w3 Q' g4 z8 l5 e5 L/ d( F
  593. ; NOTE: Every character in this directive is considered as separator!
    " U! \7 H* K% P$ a  u5 p3 X
  594. ; http://php.net/arg-separator.input
    2 {" \8 _) S/ o0 V6 C) l  I0 C' w3 c3 T
  595. ; Example:# Z! w5 Z( s2 }
  596. ;arg_separator.input = ";&"2 u$ x+ C: y' ^% @6 r( N
  597. & x- C3 M0 w" ^, d- D! A
  598. ; This directive determines which super global arrays are registered when PHP. q8 V7 |8 @8 v) b
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    6 o4 Q) o' I- U1 t3 K$ m" f
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" p* S+ A  s" W% u0 k0 o
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    7 T! F5 M: r+ a$ s. N  M
  602. ; used as the others, ENV is not recommended on productions servers. You1 U  ^% E/ v( }5 V
  603. ; can still get access to the environment variables through getenv() should you
    + i, @2 ~, A  Y. p9 M
  604. ; need to." a4 ?) a/ r* ]* r* f
  605. ; Default Value: "EGPCS"2 I- H' Y3 H- t
  606. ; Development Value: "GPCS"
    2 a% K' T  n  t% k% K' }
  607. ; Production Value: "GPCS";& z5 X! J! _, I" {$ z
  608. ; http://php.net/variables-order6 H4 W8 w& c" J& p% A
  609. variables_order = "GPCS"
    2 T+ h4 W$ J7 c% B

  610. * T" s  A4 k. W
  611. ; This directive determines which super global data (G,P & C) should be. I6 b* ~; i& L% h
  612. ; registered into the super global array REQUEST. If so, it also determines
    4 C$ n4 b1 x6 |
  613. ; the order in which that data is registered. The values for this directive
    - \. v$ z" V9 ]+ k  r% j
  614. ; are specified in the same manner as the variables_order directive,
    " C2 [4 d: K' ~5 Y$ Q2 ?
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set! c' d8 ~7 v" M# h6 M
  616. ; in the variables_order directive. It does not mean it will leave the super/ q  A! E. c  c; V
  617. ; globals array REQUEST empty.
    % V7 Q, b$ x$ `  t, s0 T0 U
  618. ; Default Value: None
    " q9 e/ `4 Z! a6 q; Z* ]
  619. ; Development Value: "GP"/ k' C4 @) h# ~" V6 w/ _- q
  620. ; Production Value: "GP"
    1 E$ D2 p. q7 i- G
  621. ; http://php.net/request-order* i" e! k( h& z3 ^0 L
  622. request_order = "GP"
    ! @/ {  r- Z4 u& H
  623. . V2 k2 \! N" o
  624. ; This directive determines whether PHP registers $argv & $argc each time it5 X, p" H6 h/ b" w* ~; b( K& t
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 u! z+ G0 M+ S: S$ [
  626. ; is invoked. $argc contains an integer representing the number of arguments( d+ b% U0 ~- c( ~7 i
  627. ; that were passed when the script was invoked. These arrays are extremely# v, R% w! R7 Z+ M6 R4 m* G4 p
  628. ; useful when running scripts from the command line. When this directive is
    ( p7 M1 s# V' d9 f+ o. Q6 ?, s
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( V$ \9 }# h; [4 @3 k: e  b1 @- b
  630. ; a script is executed. For performance reasons, this feature should be disabled
    & P) I0 d$ D0 g  S/ O6 t5 ]% A
  631. ; on production servers.8 g# d$ F9 G' C8 m* m0 V4 u* P
  632. ; Note: This directive is hardcoded to On for the CLI SAPI* N* X# i: U; \
  633. ; Default Value: On
    4 f' y8 n9 F1 H# ^" a0 `
  634. ; Development Value: Off6 _: d. q2 g0 f9 L. A0 C
  635. ; Production Value: Off
    ! V) U9 H$ t1 q& o/ [$ p
  636. ; http://php.net/register-argc-argv1 E8 x2 `) L8 P& W0 k
  637. register_argc_argv = Off" }, O/ E/ V. S3 S$ @$ Y' Q

  638. + ?; v; s: b  t0 R1 O/ _; ^6 ?7 M
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; F8 [' J/ z) e6 O6 S' i
  640. ; first used (Just In Time) instead of when the script starts. If these! J6 O/ d& ]; ?
  641. ; variables are not used within a script, having this directive on will result
    " Y+ a7 J% \- k9 k4 @  m: f, ?* ?: e
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled- ?6 w0 c$ w8 z# ?
  643. ; for this directive to have any affect.
    - b& K" ^/ P  |: _( L4 a+ k% ?
  644. ; http://php.net/auto-globals-jit! u$ K4 T8 o3 H
  645. auto_globals_jit = On
    . K$ o% N" c" @3 ^+ T2 y

  646. ! r0 {! [3 K4 x# h! Y$ Z  o' g* K
  647. ; Whether PHP will read the POST data.
    2 p7 x' k& C; z
  648. ; This option is enabled by default.
    0 `: |9 H* k8 m0 g
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST7 R( m: R3 ]( o" B
  650. ; and $_FILES to always be empty; the only way you will be able to read the) T6 Z  T8 Y$ t; c* \  R
  651. ; POST data will be through the php://input stream wrapper. This can be useful# i$ |8 Z4 k9 v1 J9 ^' H$ d8 l3 H
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.2 ^2 ^5 \: m* X3 {
  653. ; http://php.net/enable-post-data-reading; L( M" ^$ x1 v# T
  654. ;enable_post_data_reading = Off% G: I9 A* L' T$ y9 s( N* @( d# m

  655. 8 O+ n2 `' Z' j
  656. ; Maximum size of POST data that PHP will accept.5 g/ Q5 o# `; O, y' k% a
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    8 M5 g( J" ]# i" O8 E
  658. ; is disabled through enable_post_data_reading.
    ; n5 p6 O2 o2 U# `# b3 T1 f3 u' m
  659. ; http://php.net/post-max-size
    9 \- H3 ^/ O+ G7 c- x; ~
  660. post_max_size = 50M
      D6 H6 P) f" q, k8 _  f8 Q) Z

  661. ! j- \0 t3 n6 l# T8 A% `
  662. ; Automatically add files before PHP document.; ]& |; O* ?1 @
  663. ; http://php.net/auto-prepend-file1 {$ Y; X( w) K3 Z5 p
  664. auto_prepend_file =
    9 M8 ]( Q3 N# J* e) D8 o
  665. 8 {( t, R4 n" l4 t; ^7 w
  666. ; Automatically add files after PHP document.5 V! C9 v4 {+ f! q$ D$ U; ^! U0 I
  667. ; http://php.net/auto-append-file+ g! a* n6 A; d* b/ f, k2 s! }: N5 L
  668. auto_append_file =+ W/ U1 L/ W$ v/ \
  669. 1 G. x3 r; @! ~4 V9 Y& X6 f5 q' ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    2 U2 w3 S) y/ P! |+ A
  671. ; disable this, simply set it to be empty.0 r; g1 X% d7 a* r& W0 d
  672. ;
    , Z3 _% t9 k0 H9 d( o
  673. ; PHP's built-in default media type is set to text/html.
    4 p  x# ?* T0 |  c% W* a
  674. ; http://php.net/default-mimetype0 q! R2 U5 ]: h! m- }5 D2 k9 o
  675. default_mimetype = "text/html"$ \& K  ], j* L  x, ?

  676. - t0 p) k' c: z, ?# B. G  h
  677. ; PHP's default character set is set to UTF-8.
    ( z2 G* I0 i- V) G4 Y9 e- q5 W
  678. ; http://php.net/default-charset
    * Z$ ]( Z9 j7 e) U) G( u
  679. default_charset = "UTF-8"! y& D, X: I8 y

  680. : z1 \! T5 C. r
  681. ; PHP internal character encoding is set to empty.$ V8 d& e, o3 Z1 `
  682. ; If empty, default_charset is used./ @; Y# @5 s  E  u1 @
  683. ; http://php.net/internal-encoding
    $ O7 z: P$ G/ D/ q' p
  684. ;internal_encoding =
    ' I# I: u8 }: C8 J- V, _

  685. 0 E0 t! P2 h4 d1 e; q+ C2 Z$ a
  686. ; PHP input character encoding is set to empty.4 @6 X* j: G- G' I
  687. ; If empty, default_charset is used.% A2 Q" c; R0 q% Z* Z; e
  688. ; http://php.net/input-encoding$ x; r) s' W1 Y) B) M
  689. ;input_encoding =
    + N: B; e8 ?2 ^* E. [- M

  690. % t; p& I; Y+ @& y+ g% o  C2 i
  691. ; PHP output character encoding is set to empty." Y! _$ \6 F' I% w
  692. ; If empty, default_charset is used.; E' \! g8 ]: x$ Y1 p' a
  693. ; See also output_buffer.
    # B9 _" u& w0 o1 U# D
  694. ; http://php.net/output-encoding
    0 E1 ]' W+ ~' N6 f3 q
  695. ;output_encoding =; ~$ q$ U& g! t1 L0 r
  696. ( N: ]2 ?# J" a5 H% f; Q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) U  _0 k9 W9 u
  698. ; to disable this feature and it will be removed in a future version.
    0 s  W1 h+ D( l# j3 {
  699. ; If post reading is disabled through enable_post_data_reading,
    % b2 d% r2 d5 c6 y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  J2 Q! H" _4 f
  701. ; http://php.net/always-populate-raw-post-data' n% v+ ^2 t( I
  702. ;always_populate_raw_post_data = -1
    $ g; D: ~1 i9 ^, b- K6 C
  703. * ~* N  [0 P, [5 p: y  ~9 x* ]
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;" h3 W: V$ e' T1 C$ p* b) p' ?2 u
  705. ; Paths and Directories ;0 D' T  c2 u! ]4 N( y2 g% N
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ G% }6 m/ {' i  N. m

  707. : ~7 }4 P; E7 i8 G! j# w! ?- v
  708. ; UNIX: "/path1:/path2"! q! i4 `5 l. i& a# y* t& M/ o
  709. ;include_path = ".:/php/includes"
    & _. C( S1 U7 v) ^: i/ }- `
  710. ;# }4 b$ E5 K6 t: Y, _) j
  711. ; Windows: "\path1;\path2") x7 x( j" M9 q6 p
  712. ;include_path = ".;c:\php\includes"
    * u0 V6 S+ j) F2 v" ^: g9 W! j. i
  713. ;' z( K& |- \% F# t. u7 u
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( |+ T! i" t, o2 D, Y
  715. ; http://php.net/include-path' M7 T  N" {: W+ \( s
  716. 9 D8 D& r  r2 ^7 D
  717. ; The root of the PHP pages, used only if nonempty.
    , i3 |1 A3 _' d8 v$ u
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    : i' s4 _, r9 ?; A
  719. ; if you are running php as a CGI under any web server (other than IIS). V+ R! `# `' F, m
  720. ; see documentation for security issues.  The alternate is to use the
    % {1 f* ?. C, ]/ z, C" v3 \
  721. ; cgi.force_redirect configuration below: Q/ N2 k% v) J/ ]
  722. ; http://php.net/doc-root) O  J5 u6 k4 G
  723. doc_root =4 J/ r& D4 l* m4 k" ~$ |
  724.   b! F2 J' E& f% @. W
  725. ; The directory under which PHP opens the script using /~username used only
    . `7 }/ ~# _! ?/ Q3 a$ {
  726. ; if nonempty.2 d8 j* M7 [& a4 m0 R
  727. ; http://php.net/user-dir; L: J; Z6 t7 h" m0 g
  728. user_dir =
    # G3 K6 V1 D0 \% E4 b& c( N8 f4 m

  729. " a6 A3 ]( Z" T+ d5 C' f
  730. ; Directory in which the loadable extensions (modules) reside.8 `) x( P. D0 y1 ~7 ?9 G7 a
  731. ; http://php.net/extension-dir$ u+ _; N0 v  P6 b9 {* j5 I
  732. ; extension_dir = "./") k. ?& O1 _) `3 e9 Z/ C
  733. ; On windows:3 J6 E: _$ K  E2 x
  734. ; extension_dir = "ext"
    6 ^) ~) [+ v6 K8 g- M, ?
  735. 8 }; `: z# L6 Z' F# `) j  }+ j
  736. ; Directory where the temporary files should be placed.5 ]: Q! R- ~# }# h& E+ Q
  737. ; Defaults to the system default (see sys_get_temp_dir)+ E1 S  h8 l* f
  738. ; sys_temp_dir = "/tmp"
    2 J% G' j( A/ E
  739. * a9 S( R5 Y  ~6 |. I2 k
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work# _- g8 E% _' ^2 D( ]6 e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 e9 ~/ p) O' i9 k
  742. ; disabled on them.& G9 L; q3 @8 ~, L% X
  743. ; http://php.net/enable-dl5 N( S7 X; H& l" i  B+ P, I
  744. enable_dl = Off# v6 ^- J, ^5 }. z+ P0 Q% K9 g* ^

  745. , P) m& y! H% U( }5 E4 u' F
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& R1 s& z; q0 M1 V" e7 d
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 N- U3 b) m) j' u2 L7 N
  748. ; turn it off here AT YOUR OWN RISK+ p; J+ v- R* e
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 s- P6 T# a; q  T5 e6 y  F( ^
  750. ; http://php.net/cgi.force-redirect$ I) `: A# q* v2 n8 U2 F& x
  751. ;cgi.force_redirect = 12 ~9 v, I! M/ @- _, G

  752. 7 o" U5 \8 K' ]7 e7 ]
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    7 a' h2 |' U! z# X( V
  754. ; every request. PHP's default behavior is to disable this feature.
    $ _. Q7 A# \, ^3 K- E
  755. ;cgi.nph = 1
    / Q+ B# N3 D5 e! [0 t( \1 I

  756. , I/ a5 h8 ^0 Y3 s8 a
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 \! C. j- a% X# r+ F; {
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) p1 @5 x& e/ j8 ?
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 }% U5 W+ _) G# b1 B2 G
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    4 L! E) M$ {5 i. d' I7 n9 N; y- _
  761. ; http://php.net/cgi.redirect-status-env7 M' m0 ^0 ]7 b
  762. ;cgi.redirect_status_env =
    5 w) ^0 k' P/ ~/ ~; I; ~4 p
  763. ; _  q6 ]( W2 D; B
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 \$ \$ F" x2 G" I" u0 P. s
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok  C" y# }$ n, T% i# k+ j
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting2 y) a: ^: L/ b; A# f! c4 c
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 e; n/ A5 {( r2 ~, V, B# b
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    * r& Z4 I# z' ?
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' L+ T: h$ u, A. W# ~
  770. ; http://php.net/cgi.fix-pathinfo2 k  s- J9 f5 R
  771. cgi.fix_pathinfo=1
      q* k8 v- y' _2 Y
  772. ( M( Y# T( w# J5 f6 Q: z% }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 D# J+ ]1 a' {5 Z
  774. ; of the web tree and people will not be able to circumvent .htaccess security.$ `1 K$ n8 E6 _9 A3 t1 ~
  775. ; http://php.net/cgi.dicard-path( \1 y$ }) c1 }2 a% r; }+ A
  776. ;cgi.discard_path=12 W1 W2 I7 t4 j) x; o6 r6 D9 [9 ~3 d: X

  777. 3 ?9 @- v) F6 |1 m& L) t2 S
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * F% y0 `% M: N; q6 `) R9 T6 m4 h
  779. ; security tokens of the calling client.  This allows IIS to define the# w- T6 c8 Y- G
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    , Z. H* T! ~0 T; K0 }# Z
  781. ; does not currently support this feature (03/17/2002)1 v9 q, e9 P8 l0 w1 `. y
  782. ; Set to 1 if running under IIS.  Default is zero.
    * H" r3 \+ W  T3 V) \2 y$ x
  783. ; http://php.net/fastcgi.impersonate
      p6 S3 c1 B' n1 e
  784. ;fastcgi.impersonate = 1
    , O2 D: k7 N/ R! M
  785. : `4 t+ Y' ]6 ^: O' U* V2 j1 r' Q
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable; O+ w7 p3 G: n% t" h7 D
  787. ; this feature.# ]7 B: X+ A+ z- x6 w8 f; S' V! K4 \
  788. ;fastcgi.logging = 00 r; z2 j+ @8 A2 X0 Y3 c
  789. & a, X9 Y! P" ^
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, X, F/ G& T7 N) Q
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    / b4 D+ _! W7 L$ |$ R
  792. ; is supported by Apache. When this option is set to 1, PHP will send! k5 z& s. {& _/ D
  793. ; RFC2616 compliant header.$ D0 t" \5 i$ E2 R$ U. _
  794. ; Default is zero.
    3 H' y# d1 N7 H0 m9 [/ n) J
  795. ; http://php.net/cgi.rfc2616-headers
    & b2 r' ^& {+ k9 {7 ]# u3 l
  796. ;cgi.rfc2616_headers = 0
    , O8 v( T) N3 N- t" B2 ]8 [
  797. 4 U* w0 ^9 O2 n* r
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    7 x" y- ?2 \- A, K9 p# ?) q! X9 @
  799. ; (shebang) at the top of the running script. This line might be needed if the  ]4 A( O5 E1 f6 y& m
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 S- Q+ X  P/ U. U. z3 h! o) a
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ! f* s, a' ~! s& s* }
  802. ; http://php.net/cgi.check-shebang-line7 T0 j2 f# p7 L4 b: |% g- k
  803. ;cgi.check_shebang_line=1
    $ g3 u" }% f8 O+ g/ C9 M

  804. ' x' D* B$ T: F
  805. ;;;;;;;;;;;;;;;;+ q7 q! c' p/ X9 E
  806. ; File Uploads ;2 \# h/ y& `* a& Q3 n
  807. ;;;;;;;;;;;;;;;;
    8 \: b2 \* E/ I  Y' S! h& I
  808. 8 r- J4 S2 }0 Q0 Y- H; a
  809. ; Whether to allow HTTP file uploads.
    ; q9 w0 V/ `& }' d
  810. ; http://php.net/file-uploads  {/ E1 @: M) M4 P0 ]
  811. file_uploads = On
    0 U7 v2 O, a0 S7 H4 R$ W' N2 S8 h

  812.   ?# d4 {- T& B7 D, Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + z& i6 d4 ^, T* ^) u4 t
  814. ; specified).* H9 v5 ]9 X) @. Y0 R9 L# v" C+ R
  815. ; http://php.net/upload-tmp-dir
    3 X" J. s  ~0 d; {! }3 J
  816. ;upload_tmp_dir =
    . S3 t! y* b# s0 I+ m" ]. V

  817. ; z0 S, y# G) P7 ~, ^4 I$ k8 W
  818. ; Maximum allowed size for uploaded files.
    / L/ l& P1 H% ]- Z) S! i$ K
  819. ; http://php.net/upload-max-filesize
    , J) [0 }! \$ X- x7 N
  820. upload_max_filesize = 50M
    * d+ G  m5 ~# u- r: s: ^4 R

  821. * r! G' b/ A- y; l9 F
  822. ; Maximum number of files that can be uploaded via a single request
    ' S& _/ [, @0 y% m2 V  x
  823. max_file_uploads = 20+ S& r) X& P" k* d/ E% y( s5 s+ d
  824. + T2 a, z6 K  ^' H" w/ C; b2 D9 F$ M
  825. ;;;;;;;;;;;;;;;;;;
    ) O# R) f8 D$ ]9 o( C
  826. ; Fopen wrappers ;% E9 s. m" d" N
  827. ;;;;;;;;;;;;;;;;;;4 m- o8 _8 i) Q: \
  828. 3 v  i& \7 R! f# X
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files./ r; L: C0 ?: H: V2 S/ j3 y
  830. ; http://php.net/allow-url-fopen0 u7 S. a2 Q. V( t, r" v% h
  831. allow_url_fopen = On
    . i& G6 y- Y* p6 a- G5 b
  832. ) B8 O5 f1 [2 D' B
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.( C/ L2 o: I, T; B
  834. ; http://php.net/allow-url-include( ~% V7 j* x5 l8 R' q
  835. allow_url_include = Off
    3 e. N, ^8 V5 x; j: G4 q2 ?

  836. 8 [, e) ?2 h8 [* N7 N4 N
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    + |! q, p1 N. j! L, V
  838. ; for this is empty.
    ' Y+ }3 c5 S' f, h# E+ h  }
  839. ; http://php.net/from) x4 U) [. e9 }6 c
  840. ;from="john@doe.com"
    0 t1 W9 j  e5 F$ w

  841. 3 k, h* K6 {9 m5 O* B) X. e' S. n
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    + z; a6 t0 K* E% I
  843. ; http://php.net/user-agent+ F3 s3 s1 g( r
  844. ;user_agent="PHP"
    6 j3 F% I7 i. L  e. W
  845. 9 y; [1 E( }# _* P8 U8 Q  q7 F
  846. ; Default timeout for socket based streams (seconds)& n  M/ y. v/ _4 i$ H
  847. ; http://php.net/default-socket-timeout
    # s. K& `% W$ M8 h& W& t
  848. default_socket_timeout = 60
    ) I" h. ]! ~( G
  849. * ^$ R. a* ?& v. C( V; G
  850. ; If your scripts have to deal with files from Macintosh systems,
    ) X' M7 R' b2 r- V$ n* o
  851. ; or you are running on a Mac and need to deal with files from3 A4 |! R* c. X2 Z% c; Q
  852. ; unix or win32 systems, setting this flag will cause PHP to/ W* o  R7 y0 q* S6 j1 F) I" k/ s& n- R
  853. ; automatically detect the EOL character in those files so that
    ) R/ `6 Y- b9 T' c* y
  854. ; fgets() and file() will work regardless of the source of the file.
    $ C! ?' [- i) y
  855. ; http://php.net/auto-detect-line-endings& r8 x; T- F- a4 P# |% Q
  856. ;auto_detect_line_endings = Off
    . M. _% j1 _; k# |8 B, Q
  857.   r: x: m# [* \, N! h
  858. ;;;;;;;;;;;;;;;;;;;;;;
    # ^( y1 E( {' Q5 v7 _' N2 r6 Y" a
  859. ; Dynamic Extensions ;* o- ]' Y$ K) u$ O
  860. ;;;;;;;;;;;;;;;;;;;;;;/ V( S. D. y7 \* a3 `
  861. % u# _) ~) B- o, y6 p
  862. ; If you wish to have an extension loaded automatically, use the following2 A: z% [! D) L0 \7 y
  863. ; syntax:
    0 b- F0 L: O4 F$ T. I+ k
  864. ;
    * @% B* \) p" S
  865. ;   extension=modulename.extension" a, \1 u7 M7 ^# y& Z' p
  866. ;
    % M' j/ {/ h2 N+ \. _
  867. ; For example, on Windows:9 v, ~0 G9 d! w( C/ t
  868. ;
    ; m0 g/ Y8 E6 x1 Y+ a5 h" A
  869. ;   extension=msql.dll
    4 _, v9 S4 I  `
  870. ;
    4 F$ O  C5 V' m
  871. ; ... or under UNIX:
    4 y& r, R5 h0 s# s6 ^0 M% E
  872. ;
    # Y- d( h; i  I& M' ^( }: m
  873. ;   extension=msql.so& @) E, O0 z7 K
  874. ;( F* r# P9 o3 Q+ Z0 ~4 B) l, [
  875. ; ... or with a path:! }$ I; M4 e9 i9 }7 _
  876. ;
    ; H$ J2 ?5 {0 v& t" n% w
  877. ;   extension=/path/to/extension/msql.so
    : n/ c; p5 }+ x% ]: P) d5 C/ a
  878. ;- A8 `% B9 l- W3 A  u
  879. ; If you only provide the name of the extension, PHP will look for it in its6 e- G5 I7 k" S2 L; b7 z6 }
  880. ; default extension directory.3 g6 W$ |/ A. W( N! r) m! W, ?
  881. ;2 [4 Y3 T) v6 `* b7 r. a
  882. ; Windows Extensions0 j' W& f5 S, q0 U6 k
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    : ?) T) H7 t1 a* F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    3 m( [/ B/ {; d5 s
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ) O' g0 S3 ], n, f7 E) N3 p+ X" R( K
  886. ; Be sure to appropriately set the extension_dir directive.
    # Y, \' w4 X7 U3 o: ]( X; Z
  887. ;
    % b+ L& b- x! Z; M
  888. ;extension=php_bz2.dll0 H2 e# l- t8 Z, g9 o& B# o  d
  889. ;extension=php_curl.dll7 b  U4 ?) I  M8 Z+ w: b
  890. ;extension=php_fileinfo.dll  v1 J# }/ k; v
  891. ;extension=php_gd2.dll
      Y( w9 I- l& D7 P7 z
  892. ;extension=php_gettext.dll
    4 b7 W/ `/ M, ?% U8 ?. d/ X( H
  893. ;extension=php_gmp.dll. k! u8 {  U8 R: j
  894. ;extension=php_intl.dll% h, h2 H5 f& ~% j, ]- I! x& H
  895. ;extension=php_imap.dll
    5 M& Q  w% k( p( ?2 W7 }8 }
  896. ;extension=php_interbase.dll
    $ s2 K/ A: j* p+ r( {* O0 ^" A4 v
  897. ;extension=php_ldap.dll
    * b. s2 W9 A8 r" F, L& K
  898. ;extension=php_mbstring.dll6 ]5 C6 r5 W: L6 I, a% T& t
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / S9 ~5 x# M5 R
  900. ;extension=php_mysql.dll
    8 w! u5 c2 g( V3 {8 i) q, M
  901. ;extension=php_mysqli.dll
    2 _3 [7 Y' _- s5 L! C4 |: }
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 b1 \) a* k: W4 h
  903. ;extension=php_openssl.dll" q; S! l  I! I+ r2 o8 e; n
  904. ;extension=php_pdo_firebird.dll
    % Z& Z& Q( V* N! Q
  905. ;extension=php_pdo_mysql.dll% [8 ~* W# R: ^2 \
  906. ;extension=php_pdo_oci.dll: l9 B+ R- ]4 P
  907. ;extension=php_pdo_odbc.dll
    . {+ e, a- N, U3 m7 S, Y/ o8 x2 Z, p
  908. ;extension=php_pdo_pgsql.dll7 k  [- J1 r( a* u. T2 e
  909. ;extension=php_pdo_sqlite.dll- @1 Q% Q/ x; Q" h: H
  910. ;extension=php_pgsql.dll
    ! m, m: _3 y  J  {% n# O! b# b9 P; J
  911. ;extension=php_shmop.dll
    3 r/ w, B! s" ~& L& s# Z; P
  912. 3 ?. d0 a( R' L, r& b8 ^/ G/ u" o
  913. ; The MIBS data available in the PHP distribution must be installed.
    2 v& p- J& |3 e- M0 [
  914. ; See http://www.php.net/manual/en/snmp.installation.php   V% w5 Q! z% E& O+ t1 z9 h. i/ o
  915. ;extension=php_snmp.dll
    7 Q7 x5 n9 R# g

  916. / n3 F5 D$ L7 X( w1 _$ [6 M
  917. ;extension=php_soap.dll
    1 H( q0 r- }" m, K, [. O
  918. ;extension=php_sockets.dll
    2 f3 O* j2 R5 F' F! W- l# x7 [
  919. ;extension=php_sqlite3.dll& F& b" C8 q* M$ _- F
  920. ;extension=php_sybase_ct.dll
    ! D! s% G/ r/ l
  921. ;extension=php_tidy.dll  c5 V7 I+ Y2 V  I
  922. ;extension=php_xmlrpc.dll
    5 g+ g6 t: B; i, ]  C+ m# Z$ T1 j$ e
  923. ;extension=php_xsl.dll+ _# f. ?1 |+ `1 w6 C/ p! J
  924. 2 N' V9 u4 \- R: a7 Y( h& X
  925. ;;;;;;;;;;;;;;;;;;;
    ! p7 a$ @% p# c5 E
  926. ; Module Settings ;
    2 \' I* z! h4 r, c4 ^: Q
  927. ;;;;;;;;;;;;;;;;;;;
    2 A, o5 E" R8 F
  928. ) z7 t: m* f! F8 r; m8 r6 e6 ]: {
  929. [CLI Server]  c% F- W4 \: R
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 o6 m0 c) @- @( x
  931. cli_server.color = On
    ! G5 B" {/ Q5 m: h
  932. 9 r! w! b( x0 }
  933. [Date]( c/ D/ G9 j% {$ L0 `: p; V# z% n
  934. ; Defines the default timezone used by the date functions
    6 I, D" W" b0 r. ^9 p4 H
  935. ; http://php.net/date.timezone" ?% J0 ]& p4 N1 [2 r
  936. date.timezone = PRC
    ) V' G9 D- e; d% Z3 l) H7 P
  937. 2 t$ F/ T7 t! {4 [3 t5 U4 {. N
  938. ; http://php.net/date.default-latitude
    9 h# g' L) p2 I- ~7 m
  939. ;date.default_latitude = 31.7667
    ) M2 U4 I7 P% O" O

  940. / {3 ]$ [7 O  F* V( N7 s* \+ ?
  941. ; http://php.net/date.default-longitude8 {6 S9 H3 C. o# I! \2 a
  942. ;date.default_longitude = 35.23333 t3 u3 r& h. _  [1 b" i& s; e9 u
  943. 2 B, \3 a( q# Z$ t/ V  y! e) s
  944. ; http://php.net/date.sunrise-zenith
    . Z7 s9 d- i: O* |5 p$ D
  945. ;date.sunrise_zenith = 90.583333
    5 Q; P! v% {& `

  946. * n: H% k* [, Z+ G' b' M
  947. ; http://php.net/date.sunset-zenith
    * u( e. t- g* H2 c, J4 A
  948. ;date.sunset_zenith = 90.583333
    1 p: Z& v6 ~7 E8 ?

  949. & y: t. F6 X' h$ N' C5 h; G
  950. [filter]  T% F6 O) `7 y+ r; [
  951. ; http://php.net/filter.default/ U: t( [' E- I9 g* q
  952. ;filter.default = unsafe_raw( k* ^' i6 h4 ~( i. E

  953. $ c5 W4 I8 ^( G' q3 ~
  954. ; http://php.net/filter.default-flags; C& J2 q- f2 F, t# A
  955. ;filter.default_flags =
    : x" e$ X7 O# _- G5 ~5 D# L
  956. * o2 l. i& `! [
  957. [iconv]) [2 b  {  q4 @- N& O0 G2 @/ ~
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.! D; Z3 ?5 ?- e' N' v" D
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . [& g& {( R1 N3 A/ `
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  L5 ?3 ]; `) R9 f
  961. ;iconv.input_encoding =5 }* V3 ?0 n( r7 E

  962. 8 ?7 b; R( b  S( H
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - R# ?! J9 w! L( T% J1 v7 s
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# G: V! U* y; [- a7 p7 D8 }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 O/ d3 q- u3 G9 o/ F
  966. ;iconv.internal_encoding =
      h9 T! y( o" k* B8 [

  967. + v& G' D/ a8 l4 a' _
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' D, j1 w+ s% _3 ?7 v) r
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    3 ^+ N  g7 K3 R9 Q- k
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding/ Q+ e5 L* _! e9 W7 Z5 q
  971. ; To use an output encoding conversion, iconv's output handler must be set
    $ z+ a/ s* B( n% h) q5 h- m
  972. ; otherwise output encoding conversion cannot be performed.: e' |8 |. p8 N* W6 f
  973. ;iconv.output_encoding =1 f1 P# V$ C- R' D# y3 J: k

  974. : g5 h" g& A* r( R" v3 L' C( O$ y5 X
  975. [intl]" M) q- c( b. _- M. x" D) `1 a
  976. ;intl.default_locale =, X. `" W! t9 ~. I! O( J
  977. ; This directive allows you to produce PHP errors when some error
    5 L: v; T4 \; T3 L" y4 M9 s# r
  978. ; happens within intl functions. The value is the level of the error produced.
    7 C: `; g1 D, V2 V6 c( l  j. n
  979. ; Default is 0, which does not produce any errors.
    3 E6 m6 H% [( h  ?) x5 w
  980. ;intl.error_level = E_WARNING( E( `0 Z/ g  c& Q" k! j* J% w
  981. ;intl.use_exceptions = 06 C9 }' D. C9 C0 \+ y* M* Z; J. @2 w

  982. / g: \; b2 m) b8 ~7 C
  983. [sqlite3]2 L- l4 Z- }  ~6 K' o* w7 N" U
  984. ;sqlite3.extension_dir =9 ?7 y% B! D4 |4 `6 U+ Q3 w

  985. - U8 C4 G3 t/ x! ?# A1 S
  986. [Pcre]
    3 i4 I9 c9 v7 O5 D
  987. ;PCRE library backtracking limit.
    2 g4 H) [+ R: n6 \3 ~  n/ C
  988. ; http://php.net/pcre.backtrack-limit
    5 U5 m% R$ ?8 M: [( M' L0 A6 k
  989. ;pcre.backtrack_limit=100000
    1 Q- k* u( Y8 m- A

  990. 5 ^+ \9 n. y+ S' s  b0 b
  991. ;PCRE library recursion limit./ M$ o( U! _: i/ ]8 s$ B6 E8 r
  992. ;Please note that if you set this value to a high number you may consume all$ O& s! k' b/ e/ O8 R3 g
  993. ;the available process stack and eventually crash PHP (due to reaching the- R, Z3 Z5 D# a0 P
  994. ;stack size limit imposed by the Operating System).
    " F' Q, o6 p+ O
  995. ; http://php.net/pcre.recursion-limit0 u+ _3 r  Z7 E
  996. ;pcre.recursion_limit=1000009 I3 Y7 m0 S: C" d* N

  997. * W) K4 n% D; _2 _' s
  998. [Pdo]9 C1 k2 ~7 \3 v2 Q% N0 w  `# V
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# E. @% C# B& ?7 }  J
  1000. ; http://php.net/pdo-odbc.connection-pooling
    1 R7 M5 \/ C7 \* y$ b2 P
  1001. ;pdo_odbc.connection_pooling=strict
    ( @( A4 w- y; ^1 n* D* h' z" {
  1002. 2 L7 X# ?$ f0 Q
  1003. ;pdo_odbc.db2_instance_name
    5 g" t. E9 G) Y; F6 ]: p# }2 [  x$ p
  1004. % R% P+ a1 ]9 e& y# U7 @  R
  1005. [Pdo_mysql]/ p- c; X& T& [. Y3 }
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; \) t; ], a$ j# k
  1007. ; http://php.net/pdo_mysql.cache_size
    % x3 X# k6 z$ V4 m
  1008. pdo_mysql.cache_size = 2000
    6 \# u5 o9 k) t0 m

  1009. 2 q  y: h3 x- K
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - Y3 O- Z) C- z( Q
  1011. ; MySQL defaults.6 B5 W) g$ T" y  o0 l
  1012. ; http://php.net/pdo_mysql.default-socket
    : R3 J7 d, d( a8 C5 O% T
  1013. pdo_mysql.default_socket=
    ! x# q% y4 s  a' n( F+ E$ y
  1014. ) P$ [( q8 g% J* o8 |
  1015. [Phar]2 {6 v8 v3 p) v5 o/ A1 n# T( L
  1016. ; http://php.net/phar.readonly
    & k( c1 p: t: b4 X: j
  1017. ;phar.readonly = On6 S* H6 Z" ?- i' W. C) x4 r+ `

  1018. ; D2 Q9 P% O1 A3 c4 K
  1019. ; http://php.net/phar.require-hash+ E: c; X8 O3 `1 P
  1020. ;phar.require_hash = On8 a1 x/ B7 x: J4 G5 @: K( J

  1021. & i% r6 A! O; ~5 Q' z8 ~
  1022. ;phar.cache_list =6 D& |2 H; u: _

  1023. ; H$ |4 R& o/ J3 m
  1024. [mail function], ~* O; ^7 L# P( `; t
  1025. ; For Win32 only.
    ; @7 l( j4 a# a/ |" y
  1026. ; http://php.net/smtp4 S7 a2 T; I$ [# h/ {
  1027. SMTP = localhost
    " p: n/ |: q# ^* U% q) m
  1028. ; http://php.net/smtp-port
    , g- W* |5 T2 n5 n
  1029. smtp_port = 25
    * @5 z% z7 D5 y
  1030. ; r0 L# F) ^2 t# `: ^, e6 ~
  1031. ; For Win32 only.% D: u- r3 Z0 Y3 ]+ f
  1032. ; http://php.net/sendmail-from1 u# g6 x. C9 q1 a1 a# \
  1033. ;sendmail_from = me@example.com+ V' u( F$ V) n" i; K  G$ w8 G' Q) h
  1034. 3 Q8 t1 j6 P, Z' X4 q
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ; I& C4 A# O" v6 n4 e) m
  1036. ; http://php.net/sendmail-path3 k# L9 O# Q0 y1 G+ i5 x2 \
  1037. sendmail_path = /usr/sbin/sendmail -t -i7 w. p) a/ r8 {: {  f

  1038. 6 s1 B- R: p. ?$ w
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    0 T, h( N1 F, s# U( t& Q+ T
  1040. ; to the sendmail binary. These parameters will always replace the value of
    + O% Q- p! Z! d$ R7 D
  1041. ; the 5th parameter to mail().# ^# Z  v! A7 d* K
  1042. ;mail.force_extra_parameters =7 e' Y( \3 U% v$ |3 E5 Y  B

  1043. . @9 d9 R7 F) ~+ L2 A% X& H
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 {8 A) A- `; X3 J5 F1 V9 ?
  1045. mail.add_x_header = On
    0 f: F: @* b8 M$ N' O5 w
  1046. 7 H2 q7 ~) n. s* `) w. x
  1047. ; The path to a log file that will log all mail() calls. Log entries include, S# k& i9 f; w, b% A
  1048. ; the full path of the script, line number, To address and headers.
    $ Q* X9 u/ O/ _4 K  ^
  1049. ;mail.log =7 C- K3 F, \" T8 _. }
  1050. ; Log mail to syslog (Event Log on Windows).
    3 g. V. O, e: M
  1051. ;mail.log = syslog
    ! X- d- e# x& Z% t$ F

  1052. 4 ~* T/ B0 l" C% G/ l  U+ J
  1053. [SQL]
    , c4 n% a- A/ B
  1054. ; http://php.net/sql.safe-mode8 g5 A& i+ M8 Z4 c
  1055. sql.safe_mode = Off
    7 j/ p, E1 J; u8 ^/ j8 u

  1056. ; n' ~4 F4 Q, p$ ~
  1057. [ODBC]7 D- E* E# d' j& W/ _! Y- M6 e8 p
  1058. ; http://php.net/odbc.default-db# r. e+ K; o, G
  1059. ;odbc.default_db    =  Not yet implemented
    + F/ P4 r+ q5 B( ^8 R
  1060. 4 s) j5 p+ l7 n9 {+ T
  1061. ; http://php.net/odbc.default-user
    6 u! S, N1 u2 J9 m8 Y
  1062. ;odbc.default_user  =  Not yet implemented
    / s  y; Z, M/ N: [) |

  1063. * g3 I! k) \5 `* }* Z  |
  1064. ; http://php.net/odbc.default-pw
    % |6 Y' T- }9 {
  1065. ;odbc.default_pw    =  Not yet implemented6 b7 w* E3 l: A

  1066.   S- U; Q  ~0 z3 q* i: y' `
  1067. ; Controls the ODBC cursor model.* L, A" A6 n! S1 f( X# ?
  1068. ; Default: SQL_CURSOR_STATIC (default).2 W$ i2 k8 o0 ?5 M
  1069. ;odbc.default_cursortype
    # H, U6 L- V1 C& c; i9 ^  p$ N7 R

  1070. " _4 K9 i. P) |" a! |" V
  1071. ; Allow or prevent persistent links.
    ( }4 W0 s( [( d* y6 B! V
  1072. ; http://php.net/odbc.allow-persistent( O' |! v# t' l# G* e$ [
  1073. odbc.allow_persistent = On+ }! R+ n, g: A1 r5 G2 F0 F; h

  1074. 6 h6 S. N8 _4 M2 D" C: s  U! E
  1075. ; Check that a connection is still valid before reuse., I; u8 G& f( v" R& n. }& H
  1076. ; http://php.net/odbc.check-persistent2 I# [# ~7 R4 c) V
  1077. odbc.check_persistent = On
    , z% I5 V: w  Z& }
  1078. 9 Z9 P4 }6 G; P5 a: l+ {: G& m9 b
  1079. ; Maximum number of persistent links.  -1 means no limit.
    5 v% g7 V* Z4 A) W, ~/ \
  1080. ; http://php.net/odbc.max-persistent' B: b/ O) t- G9 `* g
  1081. odbc.max_persistent = -1
    7 V0 q6 `: w8 a8 G  r% {. |& D( x( G9 M

  1082. 3 _3 ^) @; K$ y2 b, y8 R5 o, \* V
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: J2 r& ?- Z& S+ D
  1084. ; http://php.net/odbc.max-links& H% U/ G0 F8 L+ X
  1085. odbc.max_links = -10 s4 v  L9 d2 {# V# `& o  {1 e2 K

  1086. 1 a- C: W" Z, Q2 K6 d  G2 T& q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means$ Q: `9 L+ @7 d
  1088. ; passthru.
    1 T1 H, O5 s' F. z& Y' q
  1089. ; http://php.net/odbc.defaultlrl
    # A" u- M- U: e/ q& Z- }' n
  1090. odbc.defaultlrl = 4096
    + f$ N9 }4 s- ]- w& M  i8 L

  1091. + V! @  g! {( F  i, n
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. D" y2 d5 W. ], X4 r3 u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) B: }/ j+ G4 j1 t: z+ E' k& q
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 d! }2 d) c" P0 d) Y2 l; Z  T* t
  1095. ; http://php.net/odbc.defaultbinmode; J0 b& y1 f8 j! J( n
  1096. odbc.defaultbinmode = 1
    0 t, l6 ~& C5 U' A4 r6 G$ G

  1097. , }; I6 T# [4 F
  1098. ;birdstep.max_links = -17 ]5 f5 V" g& v7 _7 E; S

  1099. - m. p, l: L- t( T" ]
  1100. [Interbase]
    : Q+ }' ]7 E& q
  1101. ; Allow or prevent persistent links." O3 V1 W9 }# D% W
  1102. ibase.allow_persistent = 1
    : T/ ^" a' ^% Q/ |* ^

  1103. 8 ]9 J4 s8 ?+ C
  1104. ; Maximum number of persistent links.  -1 means no limit.2 x# `& u$ u! z5 |/ U  q' U
  1105. ibase.max_persistent = -1% n& ~+ F) a. s2 h
  1106. 6 @# `3 s; M% f4 R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 F  s" k5 [* e1 Q% A; H3 l, P
  1108. ibase.max_links = -1
    & T9 i  P+ N4 a6 L
  1109. + G4 \5 @+ ?3 N2 g1 |( B4 H& |3 q% V7 B
  1110. ; Default database name for ibase_connect().4 m+ p% C2 B8 ]  i# G; p
  1111. ;ibase.default_db =
    " Y: n7 {* q' q' A  P
  1112. . X: v8 i1 C+ b9 V6 ?: _! `+ V
  1113. ; Default username for ibase_connect()." V$ [# @% }) U; C" f, T
  1114. ;ibase.default_user =
    9 `% d2 s0 {' P0 T8 ]' c
  1115. : _4 ^/ X/ O' [  d' Y9 D4 g5 W& ~- q
  1116. ; Default password for ibase_connect().9 ^3 `! b4 z! Q) \8 t
  1117. ;ibase.default_password =, m( L' L+ X. H2 \+ m& P

  1118. # q+ G2 T6 N! I2 o8 g
  1119. ; Default charset for ibase_connect().+ I, v3 M! V/ }& }
  1120. ;ibase.default_charset =, D3 C; ~: ^- M1 k

  1121. 2 m; t7 ]% J& o; o9 i
  1122. ; Default timestamp format." g+ I3 O1 F4 o6 o
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
      D) `; r7 m3 i" f
  1124. * G4 J' A6 G3 c! b
  1125. ; Default date format.
    / L* ~$ R) s2 z) i- ^! w& u, k
  1126. ibase.dateformat = "%Y-%m-%d"
    ( ^6 W' s+ l$ w
  1127. 4 D2 Q% }( }  M# a
  1128. ; Default time format.& V4 m1 X$ r$ t( j! S( e
  1129. ibase.timeformat = "%H:%M:%S"
    - U$ h1 S$ G. [9 g7 r  U

  1130. : X- T- w  m7 d+ R! @8 V
  1131. [MySQL]
    7 b8 D- ]/ h5 V: |8 t) o
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( T( q# V* B! c, V: ?. ^! G% n: s
  1133. ; http://php.net/mysql.allow_local_infile
    $ q, W# {. L, T5 F( j, c3 _0 R
  1134. mysql.allow_local_infile = On* Z3 u" Z8 N* T* p# ~; B

  1135. $ |$ A' Y. I+ |2 i
  1136. ; Allow or prevent persistent links.- F5 P. F8 z9 i0 y# k  N% V
  1137. ; http://php.net/mysql.allow-persistent
    / i9 `0 ?5 w0 I9 D- ?+ Y! N
  1138. mysql.allow_persistent = On/ u$ K) i* _5 y2 }

  1139.   v4 c% j+ y$ _7 {  Y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: @( b  p0 `  G6 S* V( H4 x6 |
  1141. ; http://php.net/mysql.cache_size
    8 c+ p: n6 R* k) d
  1142. mysql.cache_size = 2000
    ! b9 `. u  g4 r, o3 R
  1143. 9 d. U1 I3 S# {; G) X+ Y& D0 i( B
  1144. ; Maximum number of persistent links.  -1 means no limit.+ A% i+ Y4 P" U
  1145. ; http://php.net/mysql.max-persistent" E: i& j2 |. x& i1 u9 v3 {( q
  1146. mysql.max_persistent = -1% o+ |* u) c8 p4 v6 r

  1147. 8 k! J8 E& e" n0 r- ]5 O& e4 b7 z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 I1 m+ J! f+ x, E/ \" b
  1149. ; http://php.net/mysql.max-links
    / ]& w1 l2 c, H- S# q: x
  1150. mysql.max_links = -1( O3 t! J: X; q+ z
  1151. 0 q  I+ H) f) c" p- ~
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use3 s4 i3 R6 ^) \# M
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 s; ?* ?8 G) s: `
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look" ^' M. x! f# E' D1 @$ Y& Y8 @
  1155. ; at MYSQL_PORT.
    6 D, N& p, p% ]% k
  1156. ; http://php.net/mysql.default-port5 B6 h/ {# h2 @! b: b8 h- m! L. s
  1157. mysql.default_port =
    / Q& y9 L. S( ?$ J+ N% \. d7 I& Z

  1158. & J8 ~: h' _% C+ E! X# _$ T0 u" b
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: b9 Z% x& S/ {3 |7 a# G
  1160. ; MySQL defaults.
    ; ]& A# X' @* `; M2 O1 k5 J0 Z" ]9 n
  1161. ; http://php.net/mysql.default-socket& Y4 \; C0 n: _. z
  1162. mysql.default_socket =
    ) s4 W6 s" G( B/ y
  1163. 2 M5 w+ x' J3 e9 ^
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).! q- ~/ _" c% J( o2 H
  1165. ; http://php.net/mysql.default-host$ r& _2 [' F, z" Q( v9 D
  1166. mysql.default_host =
    : o' H- M1 S4 ~$ v- @% P; z
  1167. * h/ t  O+ Q3 S3 k% |
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 |0 i; [6 z. A0 T
  1169. ; http://php.net/mysql.default-user
    8 W. W: {% g7 b9 v
  1170. mysql.default_user =
    1 W  V; Q% k9 P0 g
  1171. / l4 p+ o7 v2 s% I$ @
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    : @9 ~6 o) ^' Z/ l+ v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; q7 R# W( B- {, R4 A
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ' w1 L3 a2 j2 u6 {. X1 `
  1175. ; and reveal this password!  And of course, any users with read access to this, ^7 }4 p$ `/ K4 O+ Y% J( N
  1176. ; file will be able to reveal the password as well., H' h  e+ e. `. H, S3 i) J
  1177. ; http://php.net/mysql.default-password) j2 ~7 E0 E- k& C
  1178. mysql.default_password =5 T) Y$ t1 t0 _* D* m4 D, Y4 O

  1179. " T9 K( l3 Q7 C6 N* n+ e/ A
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    5 ]+ L  d% O5 @5 m6 K/ d3 M: D
  1181. ; http://php.net/mysql.connect-timeout
    8 C- W; G  O' [5 W
  1182. mysql.connect_timeout = 60
    0 t7 \, ?2 f3 O! g: ]& N

  1183. & s/ v* D$ ^& g% k8 m
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    4 }* q" C, Z/ H5 Z$ z2 N( }
  1185. ; SQL-Errors will be displayed.5 _7 S9 W+ R9 i
  1186. ; http://php.net/mysql.trace-mode8 h  ~0 S, ]! }3 E2 S/ A/ {9 y
  1187. mysql.trace_mode = Off
    " s5 g3 o( q7 J. ]4 _' u8 \

  1188. - r( \% ^6 k% N* ~
  1189. [MySQLi]
    5 o* U$ e; g# N$ E# R0 i) K
  1190. 5 r% s0 c% L2 p$ D! f
  1191. ; Maximum number of persistent links.  -1 means no limit.
    8 {8 P" D' P) s6 S, ?
  1192. ; http://php.net/mysqli.max-persistent
      _4 c0 X8 _$ g% @4 ^1 E, T7 X
  1193. mysqli.max_persistent = -14 h! `* G3 t3 W% P. l/ @6 J' m% D
  1194. 1 k) i* R  m+ z! U0 O9 v# v6 m8 f
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 X" t: }" H5 \+ L2 [( s# T% i; ]
  1196. ; http://php.net/mysqli.allow_local_infile
    6 p+ j. B/ T& z: F3 {' ^+ q
  1197. ;mysqli.allow_local_infile = On7 B  T% H" x' m
  1198. * J0 o' }5 a: f
  1199. ; Allow or prevent persistent links./ O! _2 h" V1 k
  1200. ; http://php.net/mysqli.allow-persistent
    9 A- d! d. r9 P3 T
  1201. mysqli.allow_persistent = On0 ^( m( j$ k8 j$ \4 a
  1202. 6 W( I' m0 ^- B3 t
  1203. ; Maximum number of links.  -1 means no limit.# `3 S6 y( j* U& B  ?* r- F- q
  1204. ; http://php.net/mysqli.max-links
    * h2 m+ x$ d- h$ b
  1205. mysqli.max_links = -1
    # z& |, ^0 I' x. v
  1206. " R5 }4 f; K3 N) d( a0 b7 }4 U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache, Q' i9 ]. c1 g% R( {7 _( y
  1208. ; http://php.net/mysqli.cache_size& {2 g9 m5 o# w
  1209. mysqli.cache_size = 2000
    ! K' _. N! t; x9 x$ d# ?
  1210. : u* b+ c5 C; E: n$ U
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use( @- m" b1 x! e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# I9 z3 T8 T2 l( j
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 b5 u' P- f" w& @$ ]
  1214. ; at MYSQL_PORT.
    - U0 S% J: y' |
  1215. ; http://php.net/mysqli.default-port% N5 Y; \. J- l  y& \5 h- P* d' s
  1216. mysqli.default_port = 3306
    % K( z# u: v- p; s1 C+ o
  1217. 1 D$ m- b2 P- t- l! @
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + \" [7 D) Q" V, l; }$ @. l
  1219. ; MySQL defaults.
    % E. @0 v- u) C  s& R2 F
  1220. ; http://php.net/mysqli.default-socket
    " a- Q1 {/ [2 n
  1221. mysqli.default_socket =0 x, ]6 I& ^9 F; [
  1222. 3 `" ^2 B# t$ C& w% ^
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).) ]8 e2 h. l* e5 K" b4 I7 v
  1224. ; http://php.net/mysqli.default-host' B  _& y$ ^2 F. F4 k. o2 s
  1225. mysqli.default_host =6 v7 |) c2 F0 ]- f" r/ c& p/ Y

  1226. % ^: N" i4 V/ B: x2 o
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).& G' v7 P* x' ^/ ?3 d  P8 @3 S
  1228. ; http://php.net/mysqli.default-user& M& s. M* O( S: [9 Y
  1229. mysqli.default_user =
    & M; q3 G7 J9 I) {1 C) G

  1230. 4 a' C8 z/ H2 O$ b3 C( }" @
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) O+ b" _. f6 N. V* C* G7 j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.) m: o8 d3 S0 Q; Y
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ d; F2 k1 S$ U, x
  1234. ; and reveal this password!  And of course, any users with read access to this) P' i/ k/ {- [- A; ]5 C4 W
  1235. ; file will be able to reveal the password as well.4 c! g* P7 X( m# b" z$ m
  1236. ; http://php.net/mysqli.default-pw6 z9 k4 F* z1 c) v
  1237. mysqli.default_pw =
    , V* p7 j" H1 p/ j
  1238. 5 ~9 z: `' N* ^  W7 l. M* ~! G
  1239. ; Allow or prevent reconnect
    - a/ I4 M5 W& C! |; l2 x
  1240. mysqli.reconnect = Off% Y- t( j6 N3 |

  1241. + m  y4 H+ f) A2 h: f, Q0 D
  1242. [mysqlnd]& V0 h; D8 L  Z( W+ M
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ' ~1 j( E1 j& `# `) W: f
  1244. ; used to tune and monitor MySQL operations.% b( x  S0 H' s' F
  1245. ; http://php.net/mysqlnd.collect_statistics, }- x9 p$ \! \2 B# v8 I
  1246. mysqlnd.collect_statistics = On9 j1 m, g3 A% W& {4 E

  1247. 8 P+ i7 V/ i* e8 L) w, p5 A
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 Y6 H+ Q9 U; \8 U* D
  1249. ; used to tune and monitor MySQL operations.
    & S( v' Y0 z. I& z4 \3 k3 p
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    2 Q, d* k4 v6 [( f
  1251. mysqlnd.collect_memory_statistics = Off
    ; m2 H, U) m+ x
  1252. * p4 G+ M- \. g1 D( n" E" l( d
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    . g$ c. g6 p) u) v( A$ p
  1254. ; file.  J( T, ^4 ]% P: j
  1255. ; http://php.net/mysqlnd.debug  D7 P5 P8 f5 [: a+ ]# T8 z( E
  1256. ;mysqlnd.debug =# f) w) ^) P1 ~. Z6 T* g% A
  1257. ' R5 M2 R6 q! ^5 U/ g7 ^3 e& o
  1258. ; Defines which queries will be logged.
    ' W, A) i0 A: r, x
  1259. ; http://php.net/mysqlnd.log_mask" a1 C5 j& R7 |, {- S
  1260. ;mysqlnd.log_mask = 0% Z! ?& U8 R% l5 w+ s

  1261. 7 @7 Z4 L* h( \6 C; d
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.% r' d) p0 f" n# r; f
  1263. ; http://php.net/mysqlnd.mempool_default_size/ C4 M1 i! W  n4 z: L
  1264. ;mysqlnd.mempool_default_size = 16000$ [$ V; A7 X. p. C. ?

  1265. 2 [% K) P: }* R0 _" F
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 U& V% i' _9 n8 z0 `
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size; z! S( c. e* [/ d, h. y, Y# D
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 G$ P; g4 F: u8 P9 Q0 K+ k/ j- C
  1269. 8 ]/ c  z* J' S9 ?3 p* T3 }0 Z
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in) m1 w3 z; S# ]2 S
  1271. ; bytes.
    " W* B8 i7 B8 k
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* T% g2 n5 V: {! ~
  1273. ;mysqlnd.net_read_buffer_size = 32768- |7 E2 n; n( v

  1274. . w! `' ?: d. b& p% F# _. Z* i
  1275. ; Timeout for network requests in seconds.
    ! m, D8 t7 ~1 {& v8 Q
  1276. ; http://php.net/mysqlnd.net_read_timeout# V% E" ?% N1 ]  _" s
  1277. ;mysqlnd.net_read_timeout = 315360005 [) ?& ^8 n5 j6 M& T

  1278. $ I# I+ ?: o7 B+ B( K  A/ v
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; c8 z6 A9 [: {+ Q' Y" `
  1280. ; key.
    7 t* y2 ?! Y+ }& z9 Y* s
  1281. ; http://php.net/mysqlnd.sha256_server_public_key# m1 e( O  X. q3 }7 [% a
  1282. ;mysqlnd.sha256_server_public_key =
    & Y+ \( b+ @6 I
  1283. ' c5 x7 B8 t' v8 B
  1284. [OCI8]
    , c7 |9 X" @3 @. Q

  1285. * O9 w2 n- z0 C! N
  1286. ; Connection: Enables privileged connections using external3 b2 d! S. C  {1 X
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)$ k2 n+ V& R5 C
  1288. ; http://php.net/oci8.privileged-connect
    0 z' o1 X4 U( j9 ?) K
  1289. ;oci8.privileged_connect = Off0 _% N! t' ~* j7 C

  1290. 0 C& s9 j' z% U: \
  1291. ; Connection: The maximum number of persistent OCI8 connections per9 o* U4 A! Z1 K
  1292. ; process. Using -1 means no limit.' a1 I; ]2 o$ Z# C
  1293. ; http://php.net/oci8.max-persistent0 ^) M5 Q2 s  z. \! [9 K7 N
  1294. ;oci8.max_persistent = -1- X' E: J) e2 g; }9 V4 O0 b. k

  1295. , Z3 N5 T" A0 R) H; d% y2 a! I" q
  1296. ; Connection: The maximum number of seconds a process is allowed to6 ]& e; ]+ L4 J) E* u9 {, J+ x$ {8 }
  1297. ; maintain an idle persistent connection. Using -1 means idle
    $ k. r% {$ A+ @' [0 S
  1298. ; persistent connections will be maintained forever.
    ' p3 S) O: p3 a) Z5 Q2 n* B
  1299. ; http://php.net/oci8.persistent-timeout
    " W/ @  R' H0 y6 }: G
  1300. ;oci8.persistent_timeout = -1/ w9 Z4 ~9 ]7 F! `/ k6 L6 q, [- D

  1301. ( i( V9 W5 G, ]* s0 F
  1302. ; Connection: The number of seconds that must pass before issuing a
    # |: X3 N: ], Z8 }  @0 N
  1303. ; ping during oci_pconnect() to check the connection validity. When
    2 N+ g! l! F2 u
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables1 f" M# |  b) H( J
  1305. ; pings completely.
    7 U) r, ?7 g0 I4 T% H
  1306. ; http://php.net/oci8.ping-interval
    0 s* c) J7 Q/ I# w" ]3 H4 }
  1307. ;oci8.ping_interval = 60
    3 W7 v: M, K: Q' K
  1308. ( ^& F! ^  B  \+ m
  1309. ; Connection: Set this to a user chosen connection class to be used; u4 o: d* ?6 ^% i
  1310. ; for all pooled server requests with Oracle 11g Database Resident" E7 D: o) l7 ~; t5 }1 b. j- c
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    " p  W+ x4 X- V1 R) m# ^5 g
  1312. ; the same string for all web servers running the same application,
    / n  ]) ~! j$ R- H$ c: w! P& l
  1313. ; the database pool must be configured, and the connection string must
    . R$ Z# Y* S5 b5 f
  1314. ; specify to use a pooled server.' R  \" `1 d2 k9 g1 O
  1315. ;oci8.connection_class =
      x0 d6 y% j& a% O/ u
  1316. + t/ e1 d( {8 }3 {
  1317. ; High Availability: Using On lets PHP receive Fast Application
    - t/ I7 r5 T: y5 b8 a3 c3 U. E- r! U
  1318. ; Notification (FAN) events generated when a database node fails. The
    6 M$ R. {7 }! ?2 c  g5 u$ L7 S$ y
  1319. ; database must also be configured to post FAN events.
    7 p" ~1 l* m. x% n4 ^# z
  1320. ;oci8.events = Off" `' r2 }/ G2 g3 l. H7 i% G8 Z
  1321. " g( o& \. _! x& E
  1322. ; Tuning: This option enables statement caching, and specifies how8 C* G& z& X4 T( ?
  1323. ; many statements to cache. Using 0 disables statement caching.
    4 }2 i2 K" ^- X( M0 u7 P
  1324. ; http://php.net/oci8.statement-cache-size0 ?& h& ^& @! I4 g+ @* c
  1325. ;oci8.statement_cache_size = 209 q$ }9 a" K! I) {$ E* L( T+ Q. b

  1326. / @: N7 {1 p& k* B0 s
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    # p- \% }2 Y$ J; R
  1328. ; rows that will be fetched automatically after statement execution.
    & u9 K/ D7 W6 Q) Z- p5 f/ @
  1329. ; http://php.net/oci8.default-prefetch
      V* b2 V: A4 D
  1330. ;oci8.default_prefetch = 1003 C- F* H, Y3 S

  1331.   w# T& L: q2 P: A
  1332. ; Compatibility. Using On means oci_close() will not close
    / t$ ]9 e) O( F* D1 ?
  1333. ; oci_connect() and oci_new_connect() connections.
    - M0 k# |7 h% X5 u
  1334. ; http://php.net/oci8.old-oci-close-semantics& `2 v9 F) w2 V$ ~  S4 W) Q
  1335. ;oci8.old_oci_close_semantics = Off
    5 u& K" s2 \4 m6 Z" V- \6 z. x
  1336. ; z4 G; \% ~% G
  1337. [PostgreSQL]
    8 b6 Y& a" S/ X6 }, v8 v; b  ~" |
  1338. ; Allow or prevent persistent links.% P2 ~! c! U, N& o: [& T" r/ ~
  1339. ; http://php.net/pgsql.allow-persistent
    ' P3 N, o8 }8 ^" J" R8 [2 i$ v
  1340. pgsql.allow_persistent = On
    ! g" q- I; F; B
  1341. . O! y/ U) `& M; @. v  s- H
  1342. ; Detect broken persistent links always with pg_pconnect().
    * v% G* b, T5 J
  1343. ; Auto reset feature requires a little overheads.' T  C7 b1 {* K5 ]
  1344. ; http://php.net/pgsql.auto-reset-persistent
    % h1 R. t# ^% J' b3 x  S" l
  1345. pgsql.auto_reset_persistent = Off
    3 P7 N$ X  s- m: A( X: {- f
  1346. # i' d9 ?( U6 k8 V/ _% p! N
  1347. ; Maximum number of persistent links.  -1 means no limit.) U; y, y" ~: e$ U
  1348. ; http://php.net/pgsql.max-persistent
    & q9 d0 I9 }/ H! k. S
  1349. pgsql.max_persistent = -1
    8 R: R" @9 Z6 f1 V2 f) h0 N
  1350. 9 K9 K$ K$ Z$ b( ?: V4 v% `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 i3 l/ k7 l5 j4 f) _! t. F0 h  `
  1352. ; http://php.net/pgsql.max-links
    % W! F& u0 }" j+ l
  1353. pgsql.max_links = -1
    ' g+ d2 H9 @" Z  }' Z$ f1 k
  1354. 2 r8 F# L% W& H6 O% S; j1 U7 k
  1355. ; Ignore PostgreSQL backends Notice message or not.- l$ K8 }5 V5 h- Y) ]- ^5 l
  1356. ; Notice message logging require a little overheads.( `' V. E- h' ]2 S) M2 D3 \/ e
  1357. ; http://php.net/pgsql.ignore-notice$ L4 e, |) t6 z1 `5 ^6 N9 \. ^0 J
  1358. pgsql.ignore_notice = 01 `: ]& V) ?3 j7 V6 {5 n0 R6 {
  1359. ' T) X( n/ v) g7 ~4 F* y8 n
  1360. ; Log PostgreSQL backends Notice message or not.
    % f2 ?. O5 p5 ^9 z
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    # G7 U) e$ p" t2 |5 f
  1362. ; http://php.net/pgsql.log-notice0 Q  e% \6 t5 ]. j3 [$ y( R/ \
  1363. pgsql.log_notice = 09 C$ H+ F! A1 S8 t
  1364. . }8 H# [, ?+ P* ^# S
  1365. [Sybase-CT]: n% ?. I) c% q
  1366. ; Allow or prevent persistent links.
    $ U: B) {! M. ~: T1 @
  1367. ; http://php.net/sybct.allow-persistent. U+ w$ y/ o: s0 E# P+ W2 M
  1368. sybct.allow_persistent = On1 |% ?4 W2 q2 Z

  1369. % k' V' W5 j4 s, P2 e% _
  1370. ; Maximum number of persistent links.  -1 means no limit.3 p! o! K; ]& A; ]2 ]2 W( M6 S
  1371. ; http://php.net/sybct.max-persistent
    : D! z8 ?' ]0 w, m  D
  1372. sybct.max_persistent = -1
    5 G) h9 ]! C% D, T- Q8 p  @
  1373. 0 p" @1 W9 G9 T7 Y$ j
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      C* P& l5 \! l- P
  1375. ; http://php.net/sybct.max-links
    9 N  G% p2 q' m
  1376. sybct.max_links = -1
    2 x! G% x- q; l/ ^8 b
  1377. ( j0 C  f4 y+ [/ ^
  1378. ; Minimum server message severity to display.
    # e, a% g6 ?0 `# ]
  1379. ; http://php.net/sybct.min-server-severity
    ' `: \+ L) D7 C. x2 `" e
  1380. sybct.min_server_severity = 10
    . G6 G$ ~2 j2 S! D

  1381. : t5 O6 E2 _2 S% A
  1382. ; Minimum client message severity to display.
    - T" x( F2 n7 l2 B5 I
  1383. ; http://php.net/sybct.min-client-severity3 f2 ~7 V& ~7 f: e. \
  1384. sybct.min_client_severity = 10! S% s7 h1 I2 E  A7 n& ~
  1385. / t% w) v) n+ I: j
  1386. ; Set per-context timeout
      G! S2 V- j3 c. G; t9 K9 r
  1387. ; http://php.net/sybct.timeout
    : f6 B4 b8 t  ]
  1388. ;sybct.timeout=
    : g  \6 E$ O# t& b& j, E; @
  1389. ; j: \6 f/ W1 x
  1390. ;sybct.packet_size
    $ v, R2 d# `1 S$ `
  1391. ) F; n. F! R! r' O7 I. o5 @7 L
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.- U6 O& u: U3 O& M, Y; Q3 I
  1393. ; Default: one minute) T& `, W' i# N
  1394. ;sybct.login_timeout=
    % j( c- B: g7 p9 H# S, U) |3 m

  1395. & p( g" _5 @3 h2 c4 M4 L
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    0 z5 w8 v  m( B; |- _2 u
  1397. ; Default: none3 n: z6 {) ?6 E8 l& w
  1398. ;sybct.hostname=
    , r9 _; V8 Y5 @7 K8 I, I
  1399. % P' `1 _: ^9 t- G6 c, v
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".+ ^( N6 p" C1 T  U" _& e
  1401. ; Default: 0
    1 S4 G# E9 r3 p6 v; _
  1402. ;sybct.deadlock_retry_count=: |0 J% Y6 g% h6 z8 X4 n! @# H

  1403.   X' i: H7 \5 I1 L
  1404. [bcmath], j+ i/ o# X, Y+ D+ M4 x
  1405. ; Number of decimal digits for all bcmath functions.
    1 h. V. h4 {9 `
  1406. ; http://php.net/bcmath.scale4 R5 ]2 Q2 t( T9 N
  1407. bcmath.scale = 0
    1 s+ t% L6 Z2 Z

  1408. ) S+ ^% l3 X1 g7 F1 ~  v: E
  1409. [browscap]6 O- g: d! o5 Z% y# K5 \
  1410. ; http://php.net/browscap
    . A/ P$ U2 v5 V* a8 ]! R# H! h9 k
  1411. ;browscap = extra/browscap.ini
    " r4 U. }! i# i

  1412. . ]# {# J- Q( i) }1 @$ [
  1413. [Session]6 o& S" Y. H/ ?" L
  1414. ; Handler used to store/retrieve data.
      @) r8 O  h( }1 E
  1415. ; http://php.net/session.save-handler
      B5 q% J" K2 |- a- T
  1416. session.save_handler = files
    * ]) u; a) N4 |! R; T1 A. u& ~

  1417. , T3 N  r8 a4 a8 r, Y8 y! g
  1418. ; Argument passed to save_handler.  In the case of files, this is the path' _: U: Z6 R2 o: T7 U
  1419. ; where data files are stored. Note: Windows users have to change this- D% t9 L1 G1 l4 n8 C: q7 ]
  1420. ; variable in order to use PHP's session functions.
    . W% d. M7 v7 D' M; U7 A) V
  1421. ;
    $ ?/ B& e/ m7 ^$ X
  1422. ; The path can be defined as:
    9 p0 h+ D6 a2 d2 W2 G) G! `( }6 }) |
  1423. ;
    7 U( P1 T6 v7 z. {$ @" L
  1424. ;     session.save_path = "N;/path"5 u/ e4 ~5 v: W* Q- r# f
  1425. ;
    " u" N7 \7 p3 p4 G3 u4 V
  1426. ; where N is an integer.  Instead of storing all the session files in: o% t- e+ E, Y  o- @/ e! A
  1427. ; /path, what this will do is use subdirectories N-levels deep, and& [7 {" @5 O' x- B, T7 _
  1428. ; store the session data in those directories.  This is useful if
      b! k+ s8 K6 Z. U
  1429. ; your OS has problems with many files in one directory, and is
    & m$ e1 q* ?3 l' b. h
  1430. ; a more efficient layout for servers that handle many sessions." J7 p- q0 N2 g8 f5 V% n
  1431. ;
    , Q' G1 m7 l, u! U
  1432. ; NOTE 1: PHP will not create this directory structure automatically.) k% p2 ]' G6 N0 M, o% B0 x
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ( u. v+ i6 k  X4 V) J) f; d
  1434. ; NOTE 2: See the section on garbage collection below if you choose to6 ?# s1 x* @, i
  1435. ;         use subdirectories for session storage
    # V( q5 Z& m! }9 J8 f3 ?) W2 s4 X
  1436. ;
    ) N" u1 n& L+ ]; z+ Z' q
  1437. ; The file storage module creates files using mode 600 by default.
    " o3 H% r7 C' S
  1438. ; You can change that by using
      ?- }$ X& l% `4 b- n  I8 C2 d  j
  1439. ;
    4 J- @9 u8 U) t7 Y. R
  1440. ;     session.save_path = "N;MODE;/path"3 }# @, n" p3 y
  1441. ;1 n6 O- I5 H. x7 z& b( r
  1442. ; where MODE is the octal representation of the mode. Note that this# _$ L2 m6 f' P; I* F7 @
  1443. ; does not overwrite the process's umask.8 Z4 n# F. f$ h0 @; S* O1 K
  1444. ; http://php.net/session.save-path! F+ K  N% x' w' B5 l
  1445. ;session.save_path = "/tmp"' P$ x: s: }$ o! R! P: u

  1446. ' g7 N. l- R6 t! S! G
  1447. ; Whether to use strict session mode.
    % I* A/ n$ R' J6 U+ J
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate  c' r+ e! D, b: a
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ; ]4 b. W# [$ Y" o# R, @
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ' z0 ^! i/ x! e
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' r' f) a7 k& h% o2 V$ \
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ @4 x: B4 ^2 A) d/ {
  1453. session.use_strict_mode = 00 z' ?; X- V: o0 E
  1454. / h( H0 s4 b  s( M) M& ?: e
  1455. ; Whether to use cookies.* f3 t& }" A; ?0 d; F' g# i  I$ `
  1456. ; http://php.net/session.use-cookies
    - K0 \) C4 m/ L6 I
  1457. session.use_cookies = 1
    & `0 d3 ^6 V6 i4 v' A( N+ x

  1458. # b* r& n3 b7 c
  1459. ; http://php.net/session.cookie-secure
    8 {7 p! [0 C+ ~* U: _: {6 J
  1460. ;session.cookie_secure =* h: E6 ?0 u* ~+ c0 U* r7 f6 J
  1461. ' B- a2 l# X- q# B! c$ }& L+ L
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    + ?2 `7 P5 @, b  o
  1463. ; the session id. We encourage this operation as it's very helpful in combating1 Z6 I) U+ v+ h
  1464. ; session hijacking when not specifying and managing your own session id. It is1 G2 Q6 Q* H# E# E
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.! @+ k/ i2 X  c" S6 r, L
  1466. ; http://php.net/session.use-only-cookies
    8 f: T8 {  L0 z! |, o" x
  1467. session.use_only_cookies = 1
    & g6 r5 s3 M% t5 E  \) ]0 \

  1468. 7 h" t+ `; _* Y: B  C+ J
  1469. ; Name of the session (used as cookie name)./ f! {7 o5 T( c+ q
  1470. ; http://php.net/session.name
    ! n; U7 T4 g7 E9 C8 a
  1471. session.name = PHPSESSID) ^+ |, ~  H, o6 C
  1472. 8 G7 z4 v: h3 a1 N2 W4 G, h* h
  1473. ; Initialize session on request startup.
    & O) }) v: M2 u+ b
  1474. ; http://php.net/session.auto-start: K( d7 n% N9 }. Y
  1475. session.auto_start = 0
    2 W6 R' i! j  h& W
  1476. 9 J, o7 S/ l, @0 P+ v
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  Y. F" c1 h  }9 T
  1478. ; http://php.net/session.cookie-lifetime; o! S6 n  c- ^% s- O# Z
  1479. session.cookie_lifetime = 0
    7 M3 G5 E( W$ x" d1 E) F0 X
  1480. / S+ ?2 a4 K0 M1 j. g1 ~1 d% T& v
  1481. ; The path for which the cookie is valid.
    / Z7 G" ]* B' _0 D: d3 B
  1482. ; http://php.net/session.cookie-path
    8 n9 ]) s3 |1 J" q: t' \
  1483. session.cookie_path = /
    1 S3 o6 w& C% M; u
  1484. & Y3 l1 S' a4 {& |4 j8 c
  1485. ; The domain for which the cookie is valid.9 Z) h" C$ y, a5 M* Y6 Q
  1486. ; http://php.net/session.cookie-domain6 K- L) {3 I) K8 ]7 U7 U
  1487. session.cookie_domain =: m; X' m0 n% j8 J
  1488. 5 {) S8 d6 c8 J- B/ C  @
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / Q- V- I. z% O  j4 _. l
  1490. ; http://php.net/session.cookie-httponly
    & ?% j6 r" u+ V8 K- B( @
  1491. session.cookie_httponly =& v; I0 d$ E4 _  ]: \

  1492. 3 U+ c! l2 j. n3 s. g
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + S* y# |# Z, }5 i8 B% X) L
  1494. ; http://php.net/session.serialize-handler
    ! A3 j, a7 Z) g+ W# @5 c
  1495. session.serialize_handler = php# m: W- A5 Q8 ?) e
  1496. 4 y5 Q* q4 g+ v: y3 Z: W
  1497. ; Defines the probability that the 'garbage collection' process is started5 O$ z; W$ a7 ^
  1498. ; on every session initialization. The probability is calculated by using8 P; J& _; a, d' u& U1 u
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( J: _8 e6 R- c! P7 b- `
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1. P* _/ b! e3 ~7 S- d- J$ g9 @
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" s  @" R* y8 h  l( o9 b5 A( T. w
  1502. ; the gc will run on any give request.+ P" h2 s& m% d0 R. D  D1 ^
  1503. ; Default Value: 1$ i, }% T6 D) r  |
  1504. ; Development Value: 1
    1 e* K6 [2 {  b9 b
  1505. ; Production Value: 16 X& d5 [& l% N# E, k. v$ w7 K
  1506. ; http://php.net/session.gc-probability
    % X* ]. b% D2 B/ q  i, ~
  1507. session.gc_probability = 1- M# P& |5 L6 V7 h0 I

  1508. ; i0 g0 q0 M' s
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    0 U. z+ H# ?* ~2 U) G- X; v
  1510. ; session initialization. The probability is calculated by using the following equation:
    ) {2 F) g$ k% M; X
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and! I( D' r/ D. ]. D. S' w
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    6 F/ M5 h/ L) v( C! P- x
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: f0 H. W" C( U* |0 `! o
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    + o' n: H. ?: m4 V6 i
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 H* e/ h( R/ @9 y$ \1 D3 ^* ]
  1516. ; this is a more efficient approach.5 B. i' W& h2 J, Y6 i: k' F( Q
  1517. ; Default Value: 1003 O9 r& l9 x; i2 F4 O
  1518. ; Development Value: 1000
    % }- K2 c) L" R; z; |1 p
  1519. ; Production Value: 10002 a- |/ j- o, [5 E! B/ t+ y8 b
  1520. ; http://php.net/session.gc-divisor
    * U: U2 U- N9 n* y3 m( h
  1521. session.gc_divisor = 1000
    4 M; r8 C" @8 `( [( f
  1522. , ^+ J, ~$ j' `0 j2 x
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    & ]* X5 X& T. v) D+ e: a
  1524. ; cleaned up by the garbage collection process.9 ?9 n1 S  Q1 T/ e4 t
  1525. ; http://php.net/session.gc-maxlifetime6 Z- y+ }1 b6 N* j$ W$ O- v
  1526. session.gc_maxlifetime = 1440/ j; D7 _6 J* g: r& Y
  1527. " r, H+ E9 o6 ], E' a4 C6 E& j
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    " L$ L. @  R. @" I: ]  {0 l& I
  1529. ;       (see session.save_path above), then garbage collection does *not*& A. V5 E. v  C3 I9 ^
  1530. ;       happen automatically.  You will need to do your own garbage) ~; b  N8 q7 c+ k# x
  1531. ;       collection through a shell script, cron entry, or some other method., O$ u* p# ~; e. W. c! f0 R
  1532. ;       For example, the following script would is the equivalent of( ?: A+ M& H6 X4 h- Y1 B
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 u0 m3 T/ e8 s! `7 ]; D
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% H1 _; T2 W' H; B% o% E  B6 k

  1535. 0 l# b- M0 K3 B7 N# R4 [+ g
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 P/ H( B& W( G: ~
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    9 z# N2 i0 ?1 ^8 D* ~
  1538. ; considered as valid./ e+ l8 U+ }6 ~+ H
  1539. ; http://php.net/session.referer-check
      u; S9 ?' _, T- y% v5 t4 v' _' O
  1540. session.referer_check =. |3 @7 u6 d2 v  ?$ P8 U

  1541. . Y3 m% H! d; ~. _
  1542. ; How many bytes to read from the file.
    5 g# H. q  l+ f9 u% j  W& |& W
  1543. ; http://php.net/session.entropy-length
    " ?3 Y+ y, f. o$ @$ B2 F& i5 R) N- W
  1544. ;session.entropy_length = 326 x  B$ F; Z. N9 b" h$ v& N

  1545. 0 j& H% f  m/ m/ e
  1546. ; Specified here to create the session id.
    6 B9 _  R% x3 ]7 ~( ~
  1547. ; http://php.net/session.entropy-file
    ( ~% q$ T, i# X0 n
  1548. ; Defaults to /dev/urandom
      A. ~) w# B# R
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . R3 N8 X' h2 u7 ]1 H* N
  1550. ; If neither are found at compile time, the default is no entropy file.! K% L* P6 X4 n% i+ ~
  1551. ; On windows, setting the entropy_length setting will activate the
    5 L9 B) c6 S2 G
  1552. ; Windows random source (using the CryptoAPI)8 K! x. S8 j, d1 E( N$ D* a
  1553. ;session.entropy_file = /dev/urandom
    7 `2 e6 F5 |) f
  1554. - m& Z! h# b+ \/ y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    8 H! g, M; u" g/ A/ t
  1556. ; or leave this empty to avoid sending anti-caching headers.2 l7 X- g; d. u9 x
  1557. ; http://php.net/session.cache-limiter
    # F! O" Q. E4 n
  1558. session.cache_limiter = nocache
    1 {4 m  C3 L7 Q% l- B
  1559. $ n! ]1 I, ?1 |' X- h. S
  1560. ; Document expires after n minutes.
    9 G( s  [( j9 j5 r7 P# x: M# q
  1561. ; http://php.net/session.cache-expire
    7 j! k) S2 F- H  k
  1562. session.cache_expire = 180
    " W4 Z3 k& z. ]+ D4 M4 ~1 L0 ~2 P

  1563. 1 \# _; {5 h2 b
  1564. ; trans sid support is disabled by default.: p- B3 O  \; j1 ^2 y; V2 ^* p& T
  1565. ; Use of trans sid may risk your users' security.
    " y9 J9 D. }" }8 l8 }
  1566. ; Use this option with caution.
    5 {0 P) G  m% {! ^  Q
  1567. ; - User may send URL contains active session ID; h. x, D* p8 e4 i) j6 j5 F
  1568. ;   to other person via. email/irc/etc.
    : s/ l) z. I4 ^7 q; o
  1569. ; - URL that contains active session ID may be stored  X3 f/ e8 g4 c. u  z- A- K+ T0 p
  1570. ;   in publicly accessible computer.
    " b- }/ r2 v+ v( G- [! W8 i; x
  1571. ; - User may access your site with the same session ID  u  o, L' O% f$ L
  1572. ;   always using URL stored in browser's history or bookmarks.
    8 K! ?1 P% X9 {1 g7 t% i
  1573. ; http://php.net/session.use-trans-sid
    5 C" N/ |1 b4 `5 T7 G
  1574. session.use_trans_sid = 0
    7 A6 j& ~' E( j/ P
  1575. ( N1 _1 G: n9 G* p( ]1 I* \& b
  1576. ; Select a hash function for use in generating session ids.* N0 M5 w, j( i$ @3 [) e5 x
  1577. ; Possible Values$ @* [2 B: d$ ^
  1578. ;   0  (MD5 128 bits)
    ! F/ w# b7 W6 _& ~. M2 K: s& k
  1579. ;   1  (SHA-1 160 bits)1 X* T9 ?6 g! |
  1580. ; This option may also be set to the name of any hash function supported by8 h$ Y" g+ n! E
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / K% O8 s$ W, ]$ ^
  1582. ; function.% E- b8 X/ H) {9 e% D  E3 U* c$ h4 X
  1583. ; http://php.net/session.hash-function: g$ F6 z, f/ U# \
  1584. session.hash_function = 0
    / o6 ]9 f. q4 I

  1585. . \9 R% A3 \( K  W
  1586. ; Define how many bits are stored in each character when converting7 Z) |! O" m& F4 V- g+ z+ ^" g
  1587. ; the binary hash data to something readable.
    6 j9 u! ~: }) I& c0 U
  1588. ; Possible values:8 ]; J* \: z5 e7 {  C4 D
  1589. ;   4  (4 bits: 0-9, a-f)/ Y  b% o- n2 |
  1590. ;   5  (5 bits: 0-9, a-v)
    : g7 b' G0 ?: c. O2 K* |% S3 ]
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ L2 g9 \0 @/ C' Q( j( I. p
  1592. ; Default Value: 4- Y3 [( Q% b0 ^: T9 n# |
  1593. ; Development Value: 5! ]' j( n& {% m
  1594. ; Production Value: 5$ Z5 v* c8 V+ _2 j0 Z! ^, m
  1595. ; http://php.net/session.hash-bits-per-character$ L; e% k  f1 J2 }0 A
  1596. session.hash_bits_per_character = 5
    ( g1 e# u7 f+ j. e% T( B

  1597. - N) P6 i* v9 ~$ ?& O
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 g; v% H  H6 ?6 c
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    $ L. p0 [# a7 |$ _0 t( e4 M% x
  1600. ; add a hidden <input> field with the info which is otherwise appended3 t1 d: ~1 I% X0 e  A
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.5 B( w- @# w7 T/ b5 o- W
  1602. ; Note that all valid entries require a "=", even if no value follows.
    . [6 q# n% ]) A
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="0 ]# y, u) D; ^2 {% E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 ^- a: Q0 f) }, f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 J1 r6 q& f2 \/ L
  1606. ; http://php.net/url-rewriter.tags3 X2 T2 \8 w1 Z0 B) j
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- S4 Z. ^' g0 b! ^8 u$ \4 e. C
  1608. ) p+ s# p# {* B, r
  1609. ; Enable upload progress tracking in $_SESSION
    * \8 z& V7 O0 a# ?
  1610. ; Default Value: On
    3 _2 W+ W/ M; T& U6 z
  1611. ; Development Value: On
    - t: ]  T) n" F, W. [2 p
  1612. ; Production Value: On  I" d  I9 ~2 v2 R) {
  1613. ; http://php.net/session.upload-progress.enabled
    & b3 P7 q1 E1 i/ a
  1614. ;session.upload_progress.enabled = On
    * B% Z$ |" h# c# u8 K

  1615. ! U9 Z& V8 Q, z2 x! x$ O6 b
  1616. ; Cleanup the progress information as soon as all POST data has been read
    0 o' f% I8 M& R
  1617. ; (i.e. upload completed).
    " Q& [8 G. o, o# F7 c0 M; s
  1618. ; Default Value: On8 m0 F5 U6 A: h4 j: `
  1619. ; Development Value: On; {% }: C! N6 {1 [# ]9 R: T
  1620. ; Production Value: On9 b- [$ _6 U+ O4 d0 Z6 \
  1621. ; http://php.net/session.upload-progress.cleanup
    : n+ n' I5 S0 t+ a8 U6 F
  1622. ;session.upload_progress.cleanup = On+ i  c% N" }# Y

  1623. 6 a& W7 Q7 Q. Z; z8 P
  1624. ; A prefix used for the upload progress key in $_SESSION. X& x$ u8 g; {& P. @
  1625. ; Default Value: "upload_progress_"
    / t1 y* r3 Q. e8 V: m9 A
  1626. ; Development Value: "upload_progress_"
      D4 D* s; P- v. j8 f& ?
  1627. ; Production Value: "upload_progress_". F8 h  [1 n) k$ M' C; c5 j! e0 {
  1628. ; http://php.net/session.upload-progress.prefix; N  @' _9 `2 ]" A5 y3 @
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' X/ r# Z# _5 [7 i6 k7 E$ c5 L
  1630. . c) B2 \7 e( l1 V, D
  1631. ; The index name (concatenated with the prefix) in $_SESSION% O$ x; E( i9 b
  1632. ; containing the upload progress information/ M( J, ]6 J3 D, o  }
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", n) \) x. o, x- J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / s' m$ Z1 E$ b" V! E
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      V/ h: }& }9 _* X* u7 j
  1636. ; http://php.net/session.upload-progress.name7 Q+ c+ Y' `* o7 @
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 t8 |! d' w; B: g5 i
  1638. " O# k6 I, P; d3 o0 E
  1639. ; How frequently the upload progress should be updated.4 W/ c, Q# ?9 c. q: o* M% H
  1640. ; Given either in percentages (per-file), or in bytes
    ; e5 O1 r1 d  k5 _
  1641. ; Default Value: "1%"
    9 q1 A  Z; p. n0 C
  1642. ; Development Value: "1%"
    8 K6 Y- o2 E9 l
  1643. ; Production Value: "1%"! _5 Q5 {* s% H
  1644. ; http://php.net/session.upload-progress.freq
    5 E" w6 P! {. f$ |3 k9 _$ U/ j# K
  1645. ;session.upload_progress.freq =  "1%"
    : A- m7 z# L1 x$ n+ X

  1646. 2 G/ G9 d- K# |4 c% k  d
  1647. ; The minimum delay between updates, in seconds- s1 y5 U$ D) d1 X- ]
  1648. ; Default Value: 1
    ) t" Y% \$ H) N& z
  1649. ; Development Value: 1
    / E! w9 h3 G2 \" K3 p
  1650. ; Production Value: 13 }9 l9 ^6 m3 U$ a' T
  1651. ; http://php.net/session.upload-progress.min-freq2 i2 k) e5 }+ T  T' r
  1652. ;session.upload_progress.min_freq = "1"5 U- }* Z. S2 L  W2 E2 @8 r; Y

  1653. ! ~. h$ f2 R) H9 U
  1654. [MSSQL]- |/ }3 {* [* w
  1655. ; Allow or prevent persistent links.. I, {: B/ e; f* Z! m: P+ i7 ?
  1656. mssql.allow_persistent = On
    2 ^# A4 c3 n1 v$ O/ `& W
  1657. - r8 P- y  X  G' K; z' J
  1658. ; Maximum number of persistent links.  -1 means no limit.3 h9 w2 j6 k1 s  x! ~/ c, d
  1659. mssql.max_persistent = -1* `- P# w4 m1 {

  1660. . K8 Q+ I8 K% B  g4 S0 r2 k
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # w( w; n- I( i! x  c) o/ b
  1662. mssql.max_links = -1% V8 i# b4 V( V% z; b# a: r
  1663. + T3 H( b3 ]9 Z/ T" o8 H7 m3 T
  1664. ; Minimum error severity to display.$ a1 v+ Z8 Z% A+ h
  1665. mssql.min_error_severity = 10
    # R- Y+ m+ o9 L4 D- k
  1666. " `+ m0 b  w6 d4 a: I" n( @/ l
  1667. ; Minimum message severity to display.
    9 p$ e0 h% z2 d6 h; E
  1668. mssql.min_message_severity = 10" d5 Z6 W# a5 F4 C1 P. b
  1669. / I4 R: `) ]& p% |# H
  1670. ; Compatibility mode with old versions of PHP 3.0.1 j; m) w. h6 ^1 a" b6 o
  1671. mssql.compatibility_mode = Off, K* a: y  Q) f' T
  1672.   P0 b  d3 s2 q; u' H" M  D6 }
  1673. ; Connect timeout
    # |1 R* Y% L: K
  1674. ;mssql.connect_timeout = 5
    8 v( y/ a+ X' P9 m

  1675. ) }+ N* V7 F$ r5 M
  1676. ; Query timeout
    / F7 L3 r" A5 {' b
  1677. ;mssql.timeout = 60
    . Y( h+ b4 V# }% K4 M0 X

  1678. 8 c$ N6 M: c. L. s4 b) y/ Q4 w
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    2 `2 Y, S+ K4 p! `# ]! b1 N7 d
  1680. ;mssql.textlimit = 40968 ]( |! N! K9 P' z
  1681. ( k$ ]" F1 ^% D* Z# T% S' S
  1682. ; Valid range 0 - 2147483647.  Default = 4096.2 r% B* V( Q1 x! L* j. g# ?
  1683. ;mssql.textsize = 4096( {8 i, V& \0 u7 h* m# H) |" N2 E

  1684. 4 X3 Y5 [$ i/ b1 F
  1685. ; Limits the number of records in each batch.  0 = all records in one batch., e2 w8 y' U3 z0 J7 ]
  1686. ;mssql.batchsize = 0
    * d# p/ F" M$ r/ M' U( P

  1687. # e7 b0 }/ z7 P, ]
  1688. ; Specify how datetime and datetim4 columns are returned
    $ p5 |- J8 E, b/ L0 V
  1689. ; On => Returns data converted to SQL server settings
    + j9 [& e8 X+ ]& w: x1 r. j
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    , P  x" q# R" z% W1 r, B
  1691. ;mssql.datetimeconvert = On
    ! |; X+ r! _! [! m2 z# I, h

  1692. 0 A9 q' L6 A' P- P
  1693. ; Use NT authentication when connecting to the server
    $ a3 t) d3 t  Y- n8 B0 _4 r
  1694. mssql.secure_connection = Off
    3 X6 [5 x3 x- ~* y! m" S+ h. C

  1695. ) h+ j  e6 O. s$ }9 }& }
  1696. ; Specify max number of processes. -1 = library default
    7 x8 a) W4 g  `( R- X/ ]" S
  1697. ; msdlib defaults to 25
    2 S' O; p4 _4 j4 {% b. d/ ~
  1698. ; FreeTDS defaults to 4096; ]+ Q, Z; c% ]
  1699. ;mssql.max_procs = -17 r0 S/ H" e( B1 U' E

  1700. - t( M1 J6 q6 J; H+ u4 }! R
  1701. ; Specify client character set.% O0 K) U* \) X. t) E
  1702. ; If empty or not set the client charset from freetds.conf is used0 O9 i. B' h( u# `: ^
  1703. ; This is only used when compiled with FreeTDS
    8 D! c; [% Y# _. j/ X/ `, E
  1704. ;mssql.charset = "ISO-8859-1"% [& `5 q5 ]3 C6 X7 F

  1705. 6 d( ]7 _: u6 |& {! C# K8 O
  1706. [Assertion]
    ' P, m2 I1 t: I- }2 U* k
  1707. ; Assert(expr); active by default.
    ' u5 D' d! F+ H/ I: F  M6 ^' {
  1708. ; http://php.net/assert.active
    & @$ T9 g9 C# \) v% S* J  k
  1709. ;assert.active = On
    " o5 o; V3 b5 {3 F/ e3 d
  1710. * w) W8 H( p, B; d; p( v: J  T
  1711. ; Issue a PHP warning for each failed assertion.) h2 o! O1 A0 g/ V- G7 F) q7 d" ]
  1712. ; http://php.net/assert.warning
    & Y* D+ {% P) D* u7 _
  1713. ;assert.warning = On. e/ ^& V5 f2 i" |: f  C* f

  1714. ) s0 \3 E# }% v9 e  j5 L
  1715. ; Don't bail out by default., i# q: `2 g, e" h
  1716. ; http://php.net/assert.bail6 [1 B* `( Q7 p# i0 X  S
  1717. ;assert.bail = Off' s' o  j1 h! A4 q  G

  1718. 4 E1 h2 g9 A. q0 s6 y% B4 p
  1719. ; User-function to be called if an assertion fails.4 q, C& R$ e& |! N. R1 v6 N% c( O* [
  1720. ; http://php.net/assert.callback
    ! h- ?/ E: d, ]/ L0 g. m+ \8 N
  1721. ;assert.callback = 0. M' n: j- e  Y9 l

  1722. . f% R1 |( Y0 s5 [* g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    " w' k& Z  p, N  L
  1724. ; error_reporting(0) around the eval().  E$ Y/ z: j/ b
  1725. ; http://php.net/assert.quiet-eval
    $ W2 Z3 o/ L! ]
  1726. ;assert.quiet_eval = 0- [# a5 `1 S. x. w9 [. b
  1727. 9 A# s6 [+ A: R0 E7 e9 \
  1728. [COM]( M: l: i! Y3 p  \: b5 X% K2 O/ o
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% Q% O' G7 O( V! Q( L8 b  E
  1730. ; http://php.net/com.typelib-file9 E2 d& l2 E# b2 k
  1731. ;com.typelib_file =
    5 F) U0 B7 _9 L. H( ]& Q

  1732. " s" g! }( w- e2 V6 Z
  1733. ; allow Distributed-COM calls
    " V0 A7 c( n- i- e. o3 u" U; `
  1734. ; http://php.net/com.allow-dcom0 D( c6 z5 {' r! X& ^% \6 ~* T
  1735. ;com.allow_dcom = true
    % o6 o9 X& H- I5 K% v
  1736. 5 u0 n$ p& W: W3 K
  1737. ; autoregister constants of a components typlib on com_load()
    ' a( t7 y- I9 f" u
  1738. ; http://php.net/com.autoregister-typelib$ q( O. P+ z4 u: b+ W+ x
  1739. ;com.autoregister_typelib = true5 t4 e9 w6 E6 F/ ~3 r! d* x

  1740. ) Y: x2 x2 X9 w8 v. ~# D- V
  1741. ; register constants casesensitive
    6 F& R+ |; X3 Y4 B/ Y0 \: {
  1742. ; http://php.net/com.autoregister-casesensitive
    , e) Z6 P; d4 C7 [; o
  1743. ;com.autoregister_casesensitive = false$ ?: x* K3 q! E" {
  1744. - |" o! H% v7 {1 L
  1745. ; show warnings on duplicate constant registrations1 H7 c, G7 ]% a' ^
  1746. ; http://php.net/com.autoregister-verbose
    2 p" h! a9 i* S  @
  1747. ;com.autoregister_verbose = true; _) S0 N, {) F7 O) A, D; j& ]
  1748. + o9 P+ C& `% ]
  1749. ; The default character set code-page to use when passing strings to and from COM objects.) I8 J! {, |1 j. B
  1750. ; Default: system ANSI code page
    . a/ p4 o' r" ]  D' g. D
  1751. ;com.code_page=
    ( P$ u. l0 c5 f, z# c/ `+ b, i9 D
  1752. 0 t4 e7 H4 r  d" o- u; N3 `
  1753. [mbstring]6 j4 x/ L' L5 r1 n7 r) A
  1754. ; language for internal character representation.
    ( R$ I9 `% h: A6 {5 c6 p
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    : E9 L$ Z3 `( I5 B  s; A
  1756. ; http://php.net/mbstring.language7 S% U/ W" y: k" }# J7 H1 u' u
  1757. ;mbstring.language = Japanese
    * F& Z4 ?: _$ G7 @% f: _' ^, `+ d

  1758. 0 O" g! N; x9 A- v" w  @6 v4 h9 D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 x( n" n* b' r3 i# N
  1760. ; internal/script encoding.% x. [' U0 c1 Q- J# l: W
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & \5 Y: ]' E2 X' ?& {2 f% R& z0 A
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., f% ^: X! K8 z, b# D+ j, h" i
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" U. c2 v- N3 l' e
  1764. ;mbstring.internal_encoding =9 F* W2 O. N6 }$ J
  1765. 4 o% N, s3 U! d# ?/ }
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; d5 }/ o' X8 J; T# z
  1767. ; http input encoding.2 D$ `& H/ L5 y7 P) l4 u' B) C9 H
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.# L  ~. n* d$ `) m) ^6 q
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.+ o3 v! T( S+ G! y* P1 U* }
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    " Q' o$ r# N. `% T5 w* i
  1771. ; http://php.net/mbstring.http-input
    " X* f+ r# q2 a
  1772. ;mbstring.http_input =/ k2 L- |- X7 S0 p

  1773. 8 i2 Q* z& I9 M% S, p& q( F
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 ^  r; }" q0 v
  1775. ; http output encoding.& L: \! C2 U! l7 Q
  1776. ; mb_output_handler must be registered as output buffer to function.: Y1 s9 g9 I* L1 ]( j
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " Y% u" B0 ~0 d1 I
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    8 Z3 g2 u* K$ e; S. q
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ! F9 B6 e# [  ]1 v7 V$ Z
  1780. ; otherwise output encoding conversion cannot be performed.. e5 v1 P+ `2 V- t8 v2 ^( Q- \
  1781. ; http://php.net/mbstring.http-output
    / K( F" s1 H) z  C6 L7 z
  1782. ;mbstring.http_output =
    % e, l5 k# C/ j, _5 S

  1783. ' K2 e6 U" k- @' n+ {; n
  1784. ; enable automatic encoding translation according to
    $ r+ a6 v8 n9 D* e& R4 E2 a
  1785. ; mbstring.internal_encoding setting. Input chars are
    - d1 _  R" k' W8 t3 T: P) D% T% H
  1786. ; converted to internal encoding by setting this to On.
    8 d0 t# L  S2 b
  1787. ; Note: Do _not_ use automatic encoding translation for6 C, G, E; V0 B" w; S9 S
  1788. ;       portable libs/applications.
    ( U1 v  ~' B* O6 U8 {8 w5 L8 R
  1789. ; http://php.net/mbstring.encoding-translation* p( Z* D+ w& ?  a
  1790. ;mbstring.encoding_translation = Off
    3 U& C3 v' i( T& B& n! h, g
  1791. ; W  w* N( n; B$ Y; N# ~: g4 |- N
  1792. ; automatic encoding detection order.# ~% Y8 l( A- |' S2 o
  1793. ; "auto" detect order is changed according to mbstring.language
    , @2 c5 t+ u# [- {% R
  1794. ; http://php.net/mbstring.detect-order) y' M% R& i; b; J& S/ K; ]' |
  1795. ;mbstring.detect_order = auto
    $ n; f' ~- J! e% `0 q

  1796. / Q5 S  w; _( o6 l. ?# Z0 U; ]$ Y
  1797. ; substitute_character used when character cannot be converted* S0 Z$ b2 p* Y+ r, N$ o# K1 M
  1798. ; one from another
    / ?! Q+ q# |) S9 H5 x
  1799. ; http://php.net/mbstring.substitute-character
    2 ?: Y. @3 D& D, z) {' [7 R! H; j
  1800. ;mbstring.substitute_character = none" O7 }5 [# b" N  P1 F# i" O
  1801. 3 `% ?* j" C1 Y( S
  1802. ; overload(replace) single byte functions by mbstring functions.
    3 U  I  D  _+ r5 ]  w2 u
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . e3 {5 g/ O! }) w$ y2 T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
      y! v( |1 r% J7 j1 h8 V
  1805. ; For example, 7 for overload everything." t2 ^+ c0 y+ n% f6 m
  1806. ; 0: No overload
    ) `5 m1 ^6 A+ s6 ^
  1807. ; 1: Overload mail() function
    * r1 {- }1 V% ]0 g" q
  1808. ; 2: Overload str*() functions  ?. N, D% m( C
  1809. ; 4: Overload ereg*() functions. b1 n( _* G" M! c! f. ^
  1810. ; http://php.net/mbstring.func-overload
    , ^+ g- P! J! }) T5 f
  1811. ;mbstring.func_overload = 01 b5 ^( z& I: D7 o
  1812. ! u+ x, M* A0 A" @
  1813. ; enable strict encoding detection.* r  e5 l  g; u- \% R
  1814. ; Default: Off
    ) E. F5 C, K  R$ o% W) I  }
  1815. ;mbstring.strict_detection = On: B2 }$ s) J5 @: c
  1816. 7 }, }& \* k. `$ k6 u  T, T$ y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(), ?# s# V; {0 c( X
  1818. ; is activated.
    % ^) r4 J1 P% h+ x
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! F: M& A8 x% F% V  V5 `4 A
  1820. ;mbstring.http_output_conv_mimetype=3 ?8 o- H. n: t% a$ B- b7 X

  1821. + w9 ^9 O) n7 ]1 Q6 \0 ~
  1822. [gd]0 }! g" n! `5 J  G" `4 F
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    3 Y% {, q) j; Y8 A3 O% G: k
  1824. ; a gd image. The warning will then be displayed as notices- U* M- G' \7 B8 }7 Y
  1825. ; disabled by default% D7 k8 ~* y  p% {2 V% V) Z
  1826. ; http://php.net/gd.jpeg-ignore-warning
      |7 J9 S, b! Y0 c* }8 _. g& a2 J
  1827. ;gd.jpeg_ignore_warning = 0& I! d# T8 M+ @. ~* w% e; ^2 b

  1828.   ]0 P! [8 X% v3 B% o3 _3 T
  1829. [exif]; W5 }  ]( I9 M6 a& ]
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ l: T/ j) {" u4 p
  1831. ; With mbstring support this will automatically be converted into the encoding  J! A- r( A# R: m6 [0 G& u: @; I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding- o# g6 q8 R/ G( a2 M. X9 S
  1833. ; is used. For the decode settings you can distinguish between motorola and& j6 _- W# U% ]1 s' `
  1834. ; intel byte order. A decode setting cannot be empty.6 V6 ?* w& B& r7 T! w6 i
  1835. ; http://php.net/exif.encode-unicode! ]  W9 k' m: r4 Z0 d
  1836. ;exif.encode_unicode = ISO-8859-15: v8 f; S4 E* U
  1837. ) P/ o/ d( a8 L7 B1 _9 t( l
  1838. ; http://php.net/exif.decode-unicode-motorola: s0 y+ e. P) [4 W6 A; H  o
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & G4 U' V/ z+ t# c. j  X. @+ B! I/ }
  1840. $ i) c: u4 t8 i! e
  1841. ; http://php.net/exif.decode-unicode-intel5 l0 K$ f- c( {/ L# G
  1842. ;exif.decode_unicode_intel    = UCS-2LE( D# K$ Q. B5 v* C, G0 I# ^( |

  1843. ) E2 ]1 ~% ^) ]1 B+ c- e
  1844. ; http://php.net/exif.encode-jis, k3 `) b& [0 o$ t+ n6 v" m3 K# ]
  1845. ;exif.encode_jis =5 f9 p5 S4 N4 `) T; w# w, O

  1846. 3 w: H3 @' g* @* m# K
  1847. ; http://php.net/exif.decode-jis-motorola2 o' I- b; ]+ p0 w& a
  1848. ;exif.decode_jis_motorola = JIS
    8 [: ^, X' s- Q0 b8 v) M( u8 \
  1849. 3 g% F  B: |$ v0 }( m8 e4 ?+ J
  1850. ; http://php.net/exif.decode-jis-intel3 P9 _/ p+ d, m/ t1 U
  1851. ;exif.decode_jis_intel    = JIS" y% e: z1 o- \7 v9 q0 s

  1852. 6 D& ?5 l) Y, U9 q% M. T* `. s2 R
  1853. [Tidy]
    7 q) l! a3 [& U- _
  1854. ; The path to a default tidy configuration file to use when using tidy  G4 \8 S8 T. o' A3 K$ _
  1855. ; http://php.net/tidy.default-config- e8 d% w' P1 _: e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    $ e' I) N! q  m' X) k2 N
  1857. ) Q8 Q$ g' I: ^* H9 n$ K- o
  1858. ; Should tidy clean and repair output automatically?* S- L6 P: }2 y/ W( E" ]; @
  1859. ; WARNING: Do not use this option if you are generating non-html content/ I% y2 u4 ]. L8 |" b' O
  1860. ; such as dynamic images7 d& M9 A. d& j% H
  1861. ; http://php.net/tidy.clean-output9 ^% Z/ r0 W4 |
  1862. tidy.clean_output = Off
    5 U9 y( X+ i! ^& n' Z8 E

  1863. ' X# L# C( h5 T; D1 I7 d
  1864. [soap]/ b3 C9 d$ p& E* ~8 E3 k) W7 m
  1865. ; Enables or disables WSDL caching feature.1 n) H2 T& B1 S1 I  f0 G, E
  1866. ; http://php.net/soap.wsdl-cache-enabled
    2 |; f: [9 P% B
  1867. soap.wsdl_cache_enabled=1
    $ |' x: ?  ^; q! T

  1868. 2 p( \1 L5 {, p1 C! w
  1869. ; Sets the directory name where SOAP extension will put cache files.
    * M0 z1 R) h7 c9 ~+ R5 ~! @5 Q9 s8 o
  1870. ; http://php.net/soap.wsdl-cache-dir
    . s' i( J6 c% s2 U. c7 F0 U, [
  1871. soap.wsdl_cache_dir="/tmp"
    * P0 z  d/ P3 L

  1872. , _4 E. B0 ?, P% m
  1873. ; (time to live) Sets the number of second while cached file will be used& \) d& ~3 ], p9 t# Y
  1874. ; instead of original one.7 l% [" c) \  E7 B& ?3 \
  1875. ; http://php.net/soap.wsdl-cache-ttl3 W0 d) g0 a$ B! q9 d
  1876. soap.wsdl_cache_ttl=864001 [: X& v+ c4 Z* }# ]

  1877. # T9 G* m0 {& t: g$ a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , [$ Z) a3 X4 J* d7 j3 [2 ~# }9 [# O
  1879. soap.wsdl_cache_limit = 5- d: C( m; X% K' o- }) u
  1880. 0 m! V) o5 X- H: g7 ?
  1881. [sysvshm]) |! }. T+ Q$ b: S( M  F3 B0 }
  1882. ; A default size of the shared memory segment
    * ?7 o( t, M/ K. }9 \! N2 z
  1883. ;sysvshm.init_mem = 10000' \' @) o' K1 N( H
  1884. ) s/ w7 \+ H5 @! p5 |
  1885. [ldap]
    - n, s$ n' t2 R
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    5 r9 O; j2 [) d# |" E6 V1 B
  1887. ldap.max_links = -16 |  T7 u9 U  Y( E4 Y, ^  A

  1888. 2 \& o; [. J% E% X: K; Z  I
  1889. [mcrypt]
    " x1 U- a- S5 p  T: h7 W
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open6 C0 I4 q' I  N2 U! m( B2 q, \
  1891. 0 e' G. h4 U' [
  1892. ; Directory where to load mcrypt algorithms7 Q5 A3 L4 s% u, I5 M) a
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( T; Z; ]8 C0 r0 q
  1894. ;mcrypt.algorithms_dir=
    # `+ R' t; d$ h0 O* _' ^) |

  1895. 2 q# E$ ~% H3 ]7 e* H
  1896. ; Directory where to load mcrypt modes7 a% g6 G& Q' c3 r, h& j: ~! e3 L8 G: i
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 B' B* h0 r' k1 {9 p4 L8 V7 N
  1898. ;mcrypt.modes_dir=- q* @% X3 N* J. H) R2 o. Y

  1899. 8 W# S3 ]( a* A+ R' [
  1900. [dba]
    " m+ ?% @  J- k) U( J1 @! C
  1901. ;dba.default_handler=
    $ p# K& Y7 D* ]& n' A
  1902. " m6 n% V$ G  G
  1903. [opcache]
    " C/ u" P4 d2 h. c% A8 S
  1904. ; Determines if Zend OPCache is enabled
    . B! ?& [! l$ G0 H2 y3 i
  1905. ;opcache.enable=0$ Q- y" ]: g0 |& E$ v4 \

  1906. + L" |3 X4 a/ M& U; P
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP: g) n* A+ z" L* G2 k
  1908. ;opcache.enable_cli=0
    : m1 c* @7 B- c. a( ~0 E
  1909. 8 f: T' n  u, l* g$ M' j/ v
  1910. ; The OPcache shared memory storage size.
    ( b8 |  t! p5 P" S4 ?+ C3 M# x
  1911. ;opcache.memory_consumption=64
    ( [6 p  q+ D* g3 l
  1912. 4 C; b, G0 u0 ]1 j; W' m* U$ z2 m
  1913. ; The amount of memory for interned strings in Mbytes.
    4 l, i- [. g$ {% i' H! m/ o% a) {" a
  1914. ;opcache.interned_strings_buffer=4
    8 K6 y* g. e0 T+ Z6 S2 p

  1915. / ]7 }% z( N4 K9 i- C* v
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    & h. Z. p- r0 y* H
  1917. ; Only numbers between 200 and 100000 are allowed.
    " c3 l( G2 ?& m+ [# |
  1918. ;opcache.max_accelerated_files=2000
    ; M2 k; S) ]+ w3 o0 s: U
  1919. 2 h1 ?' P2 j" z
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
      m. P* Y$ ?/ U. s4 g- g5 p; @
  1921. ;opcache.max_wasted_percentage=5; K) F6 A4 W) b1 l7 j
  1922. 9 G1 v6 w. H4 \  J$ I
  1923. ; When this directive is enabled, the OPcache appends the current working5 Q& F9 H  C' x: ]2 Z" G
  1924. ; directory to the script key, thus eliminating possible collisions between
    & }. O- T1 G8 a% N7 |7 e
  1925. ; files with the same name (basename). Disabling the directive improves. x; F: W# `. L! X) r
  1926. ; performance, but may break existing applications.
    ! Y+ p; l+ u& T& V
  1927. ;opcache.use_cwd=1
    6 a- V- \) J! a2 j2 y( [) h

  1928. " w# Q. n9 y- }0 Y6 k( B
  1929. ; When disabled, you must reset the OPcache manually or restart the7 P6 L" x; C( T, S: ^: u+ o
  1930. ; webserver for changes to the filesystem to take effect.
    6 W# B0 n  G9 l1 p/ L
  1931. ;opcache.validate_timestamps=1
    5 D  ]% o) p' M, @
  1932. / M% {, k& v/ x* }
  1933. ; How often (in seconds) to check file timestamps for changes to the shared0 o# m) f, n0 b3 `8 ^
  1934. ; memory storage allocation. ("1" means validate once per second, but only1 s4 p& _& `  T2 b" N" b
  1935. ; once per request. "0" means always validate)
    5 C6 R: t$ s7 e. d1 v
  1936. ;opcache.revalidate_freq=2
    2 h; m: {' L! l' w% D
  1937. $ b4 r2 Y9 W2 b; P6 `
  1938. ; Enables or disables file search in include_path optimization3 I- N! U' N% F7 S/ D3 _% f
  1939. ;opcache.revalidate_path=0
    " s. H/ m; E5 G8 y& T
  1940. ; l, i  o; B, o5 M7 z" f+ l, u
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    : [! l" K; M: s, Z+ S
  1942. ; size of the optimized code.0 b& Z' t$ O! a( I, }3 b! O7 l
  1943. ;opcache.save_comments=1' O! _5 Y5 _4 G& y. U

  1944. 8 F- g) u; L: L1 ?5 ]+ d) i
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    % g2 X4 r2 P/ W& K# U% A& u3 g
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    2 j" E! Z* l& B
  1947. ; that don't need them anyway.
    , M! k  D" M, K" _3 S) T9 l( Y
  1948. ;opcache.load_comments=1# M9 b  S( v6 f) F3 q( R, W
  1949. 2 J& T9 P- Y+ y% o& N- ~
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code* A, f. s4 r7 \  c. j* ^/ g" @: v
  1951. ;opcache.fast_shutdown=0
    : ~6 r  h1 L. H% B+ i7 k

  1952. ' i7 K/ T' O5 ?7 i, [& w4 ?5 Q" d# I& K
  1953. ; Allow file existence override (file_exists, etc.) performance feature.3 c  ?" s3 w5 w: w
  1954. ;opcache.enable_file_override=0
    1 {+ A5 T* u, \! X" H; q
  1955. ( i1 U4 }2 A6 r8 h: @' z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ z2 T# y9 X4 N0 Q$ [8 b& G) G" X
  1957. ; passes
    8 Y9 R8 d! J' f6 S8 Z5 h3 t* b8 R! s
  1958. ;opcache.optimization_level=0xffffffff
    $ ?, s6 V2 ~$ i1 A
  1959. 5 ^: _! x# w+ C, X( t, |
  1960. ;opcache.inherited_hack=1) a; J; J" u2 j! G4 n
  1961. ;opcache.dups_fix=07 z: |0 x/ J; ~

  1962. # p5 N) ^) {0 D) ~# O: ^/ I, Y
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    1 b8 l% c  s" t9 D( W
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ' B$ M6 P, l/ h0 i4 A, w" i+ R; ?
  1965. ; that should not be accelerated. The file format is to add each filename7 x# ^) Z# [1 R' W$ f
  1966. ; to a new line. The filename may be a full path or just a file prefix' U% E% \/ D6 Z" y9 U
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 i1 u5 G; M5 V2 d9 v& _* p4 e
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)." H9 b* S8 k# R5 z) A
  1969. ;opcache.blacklist_filename=+ I2 w; q3 M( m3 Y9 n) F1 w
  1970. % |( Y+ \2 _5 [. q
  1971. ; Allows exclusion of large files from being cached. By default all files. c0 Q0 e4 w% K+ O; O- M
  1972. ; are cached.5 z* M' ]  _  i! L+ q: F/ `4 l
  1973. ;opcache.max_file_size=0
    ) T$ x) t/ O  @5 q! J

  1974. ' Z0 a1 q! S  n3 E* s, A- I7 B
  1975. ; Check the cache checksum each N requests.; A2 y$ T$ `) W* W0 T3 H# U- i
  1976. ; The default value of "0" means that the checks are disabled.  y+ S8 {) D$ s
  1977. ;opcache.consistency_checks=0
    # q7 _6 }6 |& f7 b  G. a

  1978. 7 o1 ]9 K- ~! V3 G: H! V- o
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 P9 \* ?3 ?1 b+ r7 w& v8 E% h
  1980. ; is not being accessed.1 V0 a# w. y+ m8 y
  1981. ;opcache.force_restart_timeout=180" }3 Y9 ]$ k, X; l" I( B

  1982. & D. p/ l# m9 u1 m- `2 h% V. N
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    * J4 p8 q: Y1 F2 G4 ~: W
  1984. ;opcache.error_log=
    ' H& {) |1 T% j8 I- O) m5 r
  1985. 7 {% {. `+ F; O. C7 |
  1986. ; All OPcache errors go to the Web server log.. \. w" O& G. f  }0 R4 u& D
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ ]/ s4 d5 @. a8 T5 d2 X/ P
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    8 u$ K, u" V* }3 [7 ]6 [
  1989. ; debug messages (level 4).* {# R6 r/ T# M$ h1 o
  1990. ;opcache.log_verbosity_level=13 o/ Q! K) ?, j- e4 u$ [! Q

  1991. , U& }" A- n2 Q0 f
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - i! h: W. Y  x$ ]4 G
  1993. ;opcache.preferred_memory_model=' A2 A* W, t- R+ }

  1994. ; X. g. N, v* g4 w- @/ U" [" h
  1995. ; Protect the shared memory from unexpected writing during script execution.( v- h; v  }4 b; N8 b
  1996. ; Useful for internal debugging only.. W) s9 b7 D2 S! c' K4 P: U
  1997. ;opcache.protect_memory=0" l! }- w* z9 O
  1998. ( y4 s* k2 b! k1 z* s
  1999. ; Validate cached file permissions.
    3 e5 B1 I! W7 u- d
  2000. ; opcache.validate_permission=0
    ( [( O" [$ H7 a
  2001. + Q( U4 C' |6 j( o* D* Y; u
  2002. ; Prevent name collisions in chroot'ed environment.
    0 y2 [# B4 e1 [0 _" `
  2003. ; opcache.validate_root=0" ~5 j. u4 R9 X

  2004. 8 R5 j8 s& V0 x
  2005. [curl]: i0 d5 v8 H% ?1 [3 {! P
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an  _; F" k8 ~+ ^8 N! u8 P
  2007. ; absolute path.9 Z% a; n: ^" U7 p. C% a
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , y5 G, s5 I, d

  2009. $ j" n* y8 F8 E
  2010. [openssl]
    ; v& b& f' l# {, \" |4 x, W" @
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ) X4 H& @0 O, e7 `: {3 I4 B: b
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # @) k! C5 B0 ]: Q  h1 X
  2013. ; not specify a value for this directive as PHP will attempt to use the
    $ y0 d$ _& t3 F/ j
  2014. ; OS-managed cert stores in its absence. If specified, this value may still' t# _' v# Q5 k2 n+ t0 m6 |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 U3 Z0 \* h# B6 x9 M; L
  2016. ; option.
    7 V) _) _6 k' W, r# Z2 @/ u( L
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 F: t4 _* M: \$ N4 Z: l) F

  2018. / W4 o# j9 N' i$ t' [1 z5 M
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the' u. f! i, w# ^" c" w
  2020. ; directory pointed to by openssl.capath is searched for a suitable+ O) ]3 [6 a' S2 s# y2 O
  2021. ; certificate. This value must be a correctly hashed certificate directory.. o! ~/ l9 w/ x& I. ]7 a% n
  2022. ; Most users should not specify a value for this directive as PHP will; w  l( ?8 H/ D$ _" o- m9 E" [/ r
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 @0 w# J# _- ~* P
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    1 h) c" o; H5 t$ e# f' \5 L
  2025. ; SSL stream context option.
    4 [: K  B) ?7 m, P/ x
  2026. ;openssl.capath=
    5 a: o2 m. x9 g2 ~
  2027. ; _* F+ f6 ~+ w1 P
  2028. ; Local Variables:1 r( {5 n6 l; L  N- p
  2029. ; tab-width: 4$ `/ q0 B, M* Q0 i5 S
  2030. ; End:
    7 l7 {4 ]/ `# g* j7 k$ L  Q

  2031. 7 P5 B2 E/ }+ X3 W( C
  2032. ;eaccelerator; T5 V+ _& D7 S0 f$ v3 B* E( C
  2033. # G/ {6 e5 Y5 R) {) U) n7 A; {
  2034. ;ionCube
    * N0 U8 `3 N  G5 j; C- r
  2035. - ^) Y" C9 A0 _
  2036. ;opcache' I4 M/ _/ g( M
  2037. . k/ |5 J# J. o7 m2 V8 P. S
  2038. [Zend ZendGuard Loader]4 H5 T: Q! L# a7 r
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    $ _% \: r0 }7 l& M  Y
  2040. zend_loader.enable=1
    0 H8 T6 \; u5 A% g, v/ I5 t
  2041. zend_loader.disable_licensing=0: @5 ~4 Q" B4 u
  2042. zend_loader.obfuscation_level_support=3
    / ~) i" Q  [. a( ]( L
  2043. zend_loader.license_path=: Z( l1 D1 e! D
  2044. ; O: A7 ]/ R4 M- Q8 d  a+ l
  2045. ;xcache
    ( x, w. C5 M2 u$ H6 n- I

  2046. 8 m5 k* a6 s% a3 N
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
# e' Z5 M7 L# b5 N# h6 ^) t0 q, O- j+ O0 i! h3 @2 l2 A

6 s" G0 D$ E' h  g2 W, R9 ~% iDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,& P. U. L0 M) E0 C

3 {/ m# c+ i6 B1 x% ~/ r) }Discuz!程序版本选择:
! \; G# X" L$ p3 k' z$ ^7 p" l: f站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,% \( o* w8 c# J7 U7 P& O! }% y4 u: f
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% {/ [+ f5 r( [$ o
Discuz!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。
9 Z( z' L% n# h. [0 o0 K
! m4 J! M' U5 Y+ [, nDiscuz!插件模板版本选择:
  w- p2 Y- P$ G" n* ^$ v$ d很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
- H+ D1 d/ r8 j* I: u针对这个问题做个统一的普及:
8 U) U7 h$ j/ ^& UX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。. C: I. F2 b1 L* Q' T! A6 g7 k

2 h) m  g+ _2 s! P所以! Z9 U. r: [3 m+ H: t
适合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的二级域名。
' r" m; K7 j2 {  B打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
: ~% J: q7 j  ]( E1 A3 B4 Z  p注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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