分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
* l: K& a0 e# z7 U& ^2 f4 l) o' a& ?' G/ E4 H+ `
  1. [PHP]
    % V% V4 c8 ?' k- |" u  d5 }
  2. " m7 N2 ^4 f* ?
  3. ;;;;;;;;;;;;;;;;;;;
    ; u7 m2 k! T' Q
  4. ; About php.ini   ;+ V2 `( z& b8 Z8 N8 O5 \  H, E( [
  5. ;;;;;;;;;;;;;;;;;;;0 h3 k+ p/ `' U$ c' r0 _/ z9 q
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 E" v, C4 d. ^; s1 B( {- E
  7. ; configuring many of the aspects of PHP's behavior.1 P: o' E% F7 |6 n

  8. 0 g, \& t* g, V! d6 w
  9. ; PHP attempts to find and load this configuration from a number of locations.: c% n4 W. P, n+ S4 N( b# e" i
  10. ; The following is a summary of its search order:9 Z: K8 b( j6 `2 D( y0 J1 {# d8 E
  11. ; 1. SAPI module specific location.
    * X! P3 z2 p' K( }9 J" f5 o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# Y& h+ q5 b. J0 Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / \; b0 s7 y) O9 {  C
  14. ; 4. Current working directory (except CLI)' M7 I& F, ]9 K2 X2 ^3 Q& M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 x0 v, J, f) _: y. w8 c4 n- J
  16. ; (otherwise in Windows)! j) m0 H6 v8 ?. M& t/ V3 F  r
  17. ; 6. The directory from the --with-config-file-path compile time option, or the3 ?% P  Q" r' g
  18. ; Windows directory (C:\windows or C:\winnt)
    $ r' I$ H7 ^0 L* D! L
  19. ; See the PHP docs for more specific information.- {4 f9 W( \) h9 E/ X
  20. ; http://php.net/configuration.file
    % H9 d( B1 P! r, E' s

  21. % ?$ v: U' D8 H( I+ f* m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    5 @( s. W3 S# w2 U: K% v
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 w% I* d7 U& E3 X) u2 ?, U8 Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though. O" a/ y7 ]/ w
  25. ; they might mean something in the future.- S5 f* J/ g2 z8 n+ V3 e7 L
  26. 9 A% j/ x8 E1 r1 B5 }
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " a( I2 j& y4 @" m
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    . A2 z/ g4 J% s7 u) r6 s
  29. ; following the section heading [HOST=www.example.com] only apply to" u8 o' X# L4 g
  30. ; PHP files served from www.example.com.  Directives set in these, O% n% h3 R  t" r9 m$ E' k
  31. ; special sections cannot be overridden by user-defined INI files or
    ' s$ u+ t; t" B1 v9 w# T6 V0 A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! K7 M5 U, y1 E2 E
  33. ; CGI/FastCGI.6 f- i9 E7 g' i) W7 r. s
  34. ; http://php.net/ini.sections% ^/ t) \. \* Z( s* x/ T

  35. " E2 E( G" k. |2 m( g$ r5 s
  36. ; Directives are specified using the following syntax:
    1 w& \: f8 }% q& h
  37. ; directive = value8 d1 g* P' a: ?4 ~, |3 h, c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( o# S' @+ n% z
  39. ; Directives are variables used to configure PHP or PHP extensions.9 t$ y6 b4 T( j6 ~* v" i; t9 u
  40. ; There is no name validation.  If PHP can't find an expected' L. y6 h( Z1 @
  41. ; directive because it is not set or is mistyped, a default value will be used.
    5 _1 `, u( T+ [- u9 R# g1 G% j! w# `; r

  42. 7 k* M2 f: Y7 {" p( v* c- y& L
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / \; e4 Y7 v6 T  A
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    6 R1 w4 ^7 m! T# c: f9 j8 S4 u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: X  E  [- l+ j4 O" G! \
  46. ; previously set variable or directive (e.g. ${foo})
    5 j) \" h8 H, {4 O
  47. * z% E( |5 z0 G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 H! H; m! A5 ^# R% }
  49. ; |  bitwise OR
    % `: @9 S( h2 p1 w( p# f
  50. ; ^  bitwise XOR
    * a& ~1 Y# k9 Z2 U9 {* i/ F2 n) {
  51. ; &  bitwise AND) ]1 E) V2 c/ H- a7 X. P% h6 T  m
  52. ; ~  bitwise NOT3 p6 b, d) q9 w1 \; _2 D: D
  53. ; !  boolean NOT
    ; _6 a- A1 Y& I4 V7 @

  54. & B- ]( j9 _9 n- }
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 [! g) @% g! p+ N
  56. ; They can be turned off using the values 0, Off, False or No.
    ) s: j9 d' `2 |+ ^) ?
  57. 1 Y$ Z- G7 m1 I! {3 [# C9 i) A
  58. ; An empty string can be denoted by simply not writing anything after the equal3 w, N& {' J/ t8 m0 V2 r7 B
  59. ; sign, or by using the None keyword:0 n+ h, N* i) u8 @
  60. 1 Q3 m, x' y# l- ?8 x5 ?+ [
  61. ;  foo =         ; sets foo to an empty string
    2 t8 I4 [. F! A) V- j
  62. ;  foo = None    ; sets foo to an empty string
    5 U7 C* ]- C8 E) {& k; t
  63. ;  foo = "None"  ; sets foo to the string 'None'7 b) o& v9 ]9 m, A& r
  64. 9 z* I7 y% Q: ]% V, C
  65. ; If you use constants in your value, and these constants belong to a
    & w* |7 i, B/ N+ D! _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),$ I3 }$ p9 Q( w! \' ^8 h6 t. ?
  67. ; you may only use these constants *after* the line that loads the extension.* {+ ~+ W/ o) i2 i  T1 s+ G% ^
  68. - O: {8 K6 D/ n, q6 K9 d- z/ B
  69. ;;;;;;;;;;;;;;;;;;;
    7 I9 e" J2 t  s4 _' F
  70. ; About this file ;
    . e! h1 K0 G# t4 v" ]+ S! r7 @
  71. ;;;;;;;;;;;;;;;;;;;3 j+ j5 e4 J" M* }6 K# G5 r/ f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used# N: U2 Y9 w; ?! L
  73. ; in production environments and one that is recommended to be used in
    7 p! y$ n5 F! E/ L7 k" L6 v
  74. ; development environments.
    * K/ {9 `% \# ^; E! `, ^

  75. , w. P6 m, ~* o+ X; H
  76. ; php.ini-production contains settings which hold security, performance and0 U% p/ ~: z' r$ J7 V
  77. ; best practices at its core. But please be aware, these settings may break4 }8 X2 W2 R) c2 a, Q4 R2 [( K
  78. ; compatibility with older or less security conscience applications. We
    6 Y+ p5 V1 p+ A* W
  79. ; recommending using the production ini in production and testing environments.. d2 M* c& t4 W' u* U! ]
  80. ( B7 F& L3 T7 U9 i
  81. ; php.ini-development is very similar to its production variant, except it is
      C7 z- |/ {9 i  v0 E. E
  82. ; much more verbose when it comes to errors. We recommend using the9 k7 i* |- l4 Y* p$ G* J* v. H" v
  83. ; development version only in development environments, as errors shown to3 q4 L5 {- r% ^. ^
  84. ; application users can inadvertently leak otherwise secure information.
    + `2 B9 ^# ?! r  R. \) o# u, ?

  85. 7 C! @. H4 ~: a% G9 h. d! f
  86. ; This is php.ini-production INI file.
    9 u8 K; c3 C- C
  87. + N3 \+ U) P  J2 O
  88. ;;;;;;;;;;;;;;;;;;;
    - @- J, f4 p& O5 G
  89. ; Quick Reference ;0 V  x3 i' ?& v" f
  90. ;;;;;;;;;;;;;;;;;;;
    # y! ^# x' D# p  u) u
  91. ; The following are all the settings which are different in either the production1 E% y: m! F; M+ `5 N
  92. ; or development versions of the INIs with respect to PHP's default behavior.. u0 ?& T& P$ O' ?/ y6 C
  93. ; Please see the actual settings later in the document for more details as to why
    1 V. D, Y, K" p8 {# ~
  94. ; we recommend these changes in PHP's behavior.
    5 P9 k# p0 {% s& Y# Z1 L2 h. V
  95. 1 B- Z, q. h& c, h5 H  m
  96. ; display_errors+ n9 @8 H, o0 l0 [1 j& ^3 p
  97. ;   Default Value: On
    ) X8 K. K; N1 A- U/ W. g
  98. ;   Development Value: On
    ' Q8 R- R7 o/ T7 X" T6 ]
  99. ;   Production Value: Off
    : d0 P9 `- L4 ]) `# ~1 K: @

  100. # C, G  e  D+ B0 t7 {  j2 O1 V+ a) H5 r4 q
  101. ; display_startup_errors
    ' {  \  d4 }8 x2 S$ T: g8 X7 j
  102. ;   Default Value: Off0 \1 L6 G8 C* r/ M
  103. ;   Development Value: On
      P% o. `5 U3 v. G
  104. ;   Production Value: Off2 B4 t: ^# Q" [& S% E' N7 f

  105. , O# P5 ?* P4 L% p
  106. ; error_reporting
    ! q; r# z7 Z! X7 n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& ]- C2 Y6 I2 J- t# l
  108. ;   Development Value: E_ALL
    + k. ?7 }( a" \* |1 m
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: H' p3 Q: x9 S* B" e# M
  110. 6 |2 D, t4 r1 B1 z! m
  111. ; html_errors- a, b6 }4 I1 T$ e2 {
  112. ;   Default Value: On) \4 I6 l" r! m/ h4 t+ X1 P
  113. ;   Development Value: On
    8 k  Q0 B' w2 V9 |
  114. ;   Production value: On$ l, O  [' m/ d

  115. 4 B$ R# \% q/ b
  116. ; log_errors0 S( D% a1 O4 X- H
  117. ;   Default Value: Off0 }' H8 [+ }5 f$ {; D) j) F5 k2 ~
  118. ;   Development Value: On) B) }1 a  h) q
  119. ;   Production Value: On- W6 H" B- d7 `# Z3 }. _

  120. " c4 w5 p5 b$ M
  121. ; max_input_time
    & u0 I( G; W& o0 j" [1 T' D7 d
  122. ;   Default Value: -1 (Unlimited)2 K0 Q! z& K* }6 c8 j3 N
  123. ;   Development Value: 60 (60 seconds)
    * t( ?$ M  T+ A  M+ Q7 f1 g5 s" @
  124. ;   Production Value: 60 (60 seconds)
    5 }% n4 S5 C  [! k

  125. 4 [5 v. ~& @4 s3 T0 |1 z
  126. ; output_buffering
    ; c) y2 B; a$ h9 Z8 h% G
  127. ;   Default Value: Off
    # J9 ^' r# K9 o. ]
  128. ;   Development Value: 4096
    ( U$ B* q2 m+ e( F$ h+ X0 {
  129. ;   Production Value: 4096: r6 G: I) ?; S# s& f( ]

  130. $ w# i& {# |0 z. ?- ?' a
  131. ; register_argc_argv
    4 p, `8 d+ D  u( ^& m
  132. ;   Default Value: On
    7 I& q+ K. U/ W
  133. ;   Development Value: Off
    : l. X7 y, x- @* a4 q" w! k
  134. ;   Production Value: Off- T/ d  y( y" k* n8 j1 {! V

  135. / J2 `+ I/ J5 R' _* _* {
  136. ; request_order
    0 Z( Q# b6 a4 @- c
  137. ;   Default Value: None
    ! u) d; A9 X! n5 D$ G4 R3 G
  138. ;   Development Value: "GP"; i7 L0 e( \% i; T) d# g9 d, H
  139. ;   Production Value: "GP"
    2 K# G( J' t6 g4 x

  140. 8 z/ e! a* G' f  V5 s
  141. ; session.gc_divisor( M7 v) J6 f* \  w& R
  142. ;   Default Value: 100
    8 r( u8 t' {: w4 q+ R  X7 h. y
  143. ;   Development Value: 1000
    & P7 w- z! }( A+ S) w, k$ x
  144. ;   Production Value: 1000
    7 ^1 z+ z# o7 p; p
  145. - e/ E4 e, j. [) |( c& f; s* u
  146. ; session.hash_bits_per_character
    " k2 g* M% M7 I! B& w* y2 y5 d% x
  147. ;   Default Value: 4
    3 [! R6 ^0 D( {
  148. ;   Development Value: 5
    ; a3 F! n" r+ }) z; q5 d- M
  149. ;   Production Value: 5" z& [' n6 Q( W: L0 n0 ?
  150. * f. Z, Y( H4 G, R& d9 u. e, U
  151. ; short_open_tag
    , N. M# [$ h8 v) P: u
  152. ;   Default Value: On
    : Y$ l! }" X% |( h/ ^2 o" `
  153. ;   Development Value: Off6 v/ {  V( O1 Z5 P3 U9 ?% d+ R/ q5 R
  154. ;   Production Value: Off
    " d9 X$ y+ O+ B7 r
  155. + p* r* N! O8 N- R2 S2 w5 k1 [
  156. ; track_errors
    ( K0 u8 u: B- U! i
  157. ;   Default Value: Off$ z$ F7 k/ F! _* Y+ e' W
  158. ;   Development Value: On
    4 W- k6 l9 n! j7 r3 d2 [$ g
  159. ;   Production Value: Off' ^- S* _6 d" R) ?$ _6 r
  160. ; I8 C# k  B; D/ Y
  161. ; url_rewriter.tags* s8 p- E4 V7 |" w3 }, J+ I
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="9 V0 K& z" u7 T6 M7 ]
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ b6 v8 j7 k' b! d( T+ v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 l$ X1 y9 ~" O) O) w! A$ \, e
  165. ' ^0 k4 M" \8 h; X+ s! I$ A! O
  166. ; variables_order# q# [( L3 T7 ~3 w! D
  167. ;   Default Value: "EGPCS"
    : `" u, ]" w& ~3 E
  168. ;   Development Value: "GPCS"4 H/ K0 V4 j3 b% y5 t
  169. ;   Production Value: "GPCS"
    % _1 n6 w' n( p. [

  170. " }, g% P3 I. @6 p
  171. ;;;;;;;;;;;;;;;;;;;;
    4 z6 K: y# Q: @
  172. ; php.ini Options  ;
    : Y( d. k1 ~# g8 {3 O4 j
  173. ;;;;;;;;;;;;;;;;;;;;: b$ z! R# k) W& V' H1 C/ V/ z( c
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; z4 x5 A0 o. i) N0 L9 x
  175. ;user_ini.filename = ".user.ini"1 y: F6 `$ W  w- i8 t

  176. ) ~& u; ^( U% C6 i
  177. ; To disable this feature set this option to empty value
    & s% C/ B* |6 [& s: c
  178. ;user_ini.filename =+ e) n5 Z- Y( X; ^8 a8 `& @

  179. & N1 Q' A) @! m1 @) S6 y) {
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" _( x" V" h" ^0 d& d- X
  181. ;user_ini.cache_ttl = 300
    ! s% [" d  W* I

  182. * M3 s# Q& D7 V) P
  183. ;;;;;;;;;;;;;;;;;;;;" v6 {- U% T6 u* J' u5 _* R' T
  184. ; Language Options ;
    $ P7 o' b# `7 R4 x$ J0 U" h& U0 _( V/ w
  185. ;;;;;;;;;;;;;;;;;;;;" f4 u3 A; u8 f2 A# t1 f

  186. / Z! a1 t- _& \( H1 K
  187. ; Enable the PHP scripting language engine under Apache.
    7 W& @9 X# ]4 o- {! R
  188. ; http://php.net/engine; F) w# B! l4 a. D. y" D
  189. engine = On2 }" G7 J6 u- V+ H% u6 d
  190. , W: H4 [, B" c
  191. ; This directive determines whether or not PHP will recognize code between
    9 Y9 E. w1 k. l( B& y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 Q5 W$ g( Y) U- I, C1 j
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # `# _% O, y- L% T
  194. ; should be disabled, as enabling it may result in issues when generating XML7 J1 @8 B1 \- i; J
  195. ; documents, however this remains supported for backward compatibility reasons.) W4 A0 G9 z  `/ o
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 Q) i( o' k! c7 t
  197. ; used regardless of this directive.9 d5 G, X4 l0 P
  198. ; Default Value: On2 q" i5 a; X4 x" Y3 v
  199. ; Development Value: Off/ J- X, B  D& |) S' K
  200. ; Production Value: Off
    1 B& o3 Q8 F' K
  201. ; http://php.net/short-open-tag
    * Y7 U* J& I" f+ ?' Z
  202. short_open_tag = On8 g, _* g& i# g9 e: s
  203. , a" m) {+ ?% H: A+ P
  204. ; The number of significant digits displayed in floating point numbers.2 g$ d6 w2 ?' j# h6 y# {9 M' \9 O
  205. ; http://php.net/precision( M: I, R$ {7 |) f" F& ^7 _/ b! N
  206. precision = 14
    $ M) c! V3 `- \- |
  207. 4 d4 W' }' g. G$ I
  208. ; Output buffering is a mechanism for controlling how much output data# Q5 J" f' i! x5 [  g
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . g. A8 X' i. S' \% V2 r  D$ s3 _
  210. ; data to the client. If your application's output exceeds this setting, PHP
    - }- W% K# o- i3 N
  211. ; will send that data in chunks of roughly the size you specify.
    3 z4 ]' R4 w- m0 p7 N, v& h
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ! [8 S' R# K1 c, A! q8 ^
  213. ; interesting side-effects depending on your application and web server.- l+ B7 Z9 t) C& p3 j& k
  214. ; You may be able to send headers and cookies after you've already sent output3 ^/ b7 a( h* t3 {" X2 Q
  215. ; through print or echo. You also may see performance benefits if your server is6 A/ g. W$ x' {
  216. ; emitting less packets due to buffered output versus PHP streaming the output, H6 L& t: ?# D+ A* C, S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / |! n, t; F9 D' H: @" z
  218. ; reasons.- ]  d, V  i# O' M
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    / a. X/ m0 B# O2 M
  220. ;   functions.
    , P" |- ?) i: K# s/ R6 l
  221. ; Possible Values:- g! D! [5 T8 f5 V5 D
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ `/ j0 L& V% N
  223. ;   Off = Disabled* c5 r2 J+ X! q0 x3 f- c4 T
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.$ e$ B( R& l, u4 c0 [6 X5 u6 a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI4 t0 `. F1 L5 S: s1 y) D5 Y/ H
  226. ; Default Value: Off
    $ ~1 a1 j( Q) o7 S6 s  [
  227. ; Development Value: 40968 V1 w/ M. u- ?# ~
  228. ; Production Value: 40964 q9 ?# y: Y. r
  229. ; http://php.net/output-buffering4 P/ J) [  D" m9 I+ P* E- y! R
  230. output_buffering = 4096$ m) f- L2 H9 [" B8 M
  231. ) Q, I. o1 O: K" m6 `3 e$ A
  232. ; You can redirect all of the output of your scripts to a function.  For
    ; k2 b6 V* k' O' z
  233. ; example, if you set output_handler to "mb_output_handler", character( J+ H2 n; ~" [4 Y8 Q
  234. ; encoding will be transparently converted to the specified encoding.
    / e% P2 b7 M% S3 O7 {$ ?# r4 H
  235. ; Setting any output handler automatically turns on output buffering.
    8 G1 }! o; a6 Q! J. g+ T2 e! g
  236. ; Note: People who wrote portable scripts should not depend on this ini* N6 ^4 E  P8 e' v6 y
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    7 c) {! s  B- ]) W
  238. ;   Using this ini directive may cause problems unless you know what script6 @! m& Z% ?# a( `6 k/ Y- C0 h
  239. ;   is doing.
    2 Y  f- N, [4 {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* T+ n3 @/ |8 ?
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 s+ \  D( T) N" Z4 c  s
  242. ; Note: output_handler must be empty if this is set 'On' !!!!! n8 t4 ]% }4 `6 ^, w$ n
  243. ;   Instead you must use zlib.output_handler.
    ; H& V) s6 U, c/ ]' ?' `( t3 X
  244. ; http://php.net/output-handler* Q8 n/ s$ m) \% W7 N- ^3 j
  245. ;output_handler =
      o) k6 j; m+ m( e: H

  246. ' b( W* A' a# f6 C" B
  247. ; Transparent output compression using the zlib library2 ~: x: k2 j5 d3 Q2 B
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; \% S1 t. m  H/ k! e! H( n0 ?
  249. ; to be used for compression (default is 4KB), Y" n+ x  T* z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # _( n9 h: k" @2 A3 _! x
  251. ;   outputs chunks that are few hundreds bytes each as a result of, S. L% d" u& ~# W/ P1 [( D
  252. ;   compression. If you prefer a larger chunk size for better* q0 w7 g# i* D
  253. ;   performance, enable output_buffering in addition.
    0 y5 S" t7 |9 M% }; a5 S  F7 p
  254. ; Note: You need to use zlib.output_handler instead of the standard
    - B& j) D7 I  X) s8 V+ P
  255. ;   output_handler, or otherwise the output will be corrupted.
    & V3 w" P" e0 G
  256. ; http://php.net/zlib.output-compression9 a2 }+ T6 O+ K( F4 Z. ~' L' w9 W7 o
  257. zlib.output_compression = Off# k; z  |& _$ [- ]

  258. # |6 I) q( I1 |: z/ _& E) h
  259. ; http://php.net/zlib.output-compression-level
    2 n4 e5 u; R. n) o
  260. ;zlib.output_compression_level = -1/ v  o% U8 U( E4 o3 H/ ]

  261. 2 G, U( C; |) E7 P& Y3 Q
  262. ; You cannot specify additional output handlers if zlib.output_compression' K: T' g6 }6 c
  263. ; is activated here. This setting does the same as output_handler but in& q& h* |* K0 x* e# H% F
  264. ; a different order.5 n. A& _5 a% {9 Q# S3 I% C9 C
  265. ; http://php.net/zlib.output-handler  W" C2 O$ L: H
  266. ;zlib.output_handler =1 U* G7 G  n3 e) _# U5 _' b

  267. 8 C5 t5 M- d5 \  g- s# P
  268. ; Implicit flush tells PHP to tell the output layer to flush itself! k* W" [) H& T+ r( o8 V( e; v
  269. ; automatically after every output block.  This is equivalent to calling the
    9 o' p# E! l2 O" z. b) Z/ X
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ( m3 `8 E6 }1 t, t% R  q
  271. ; and every HTML block.  Turning this option on has serious performance
    ) G" @- t2 Z  e# T* {$ Z" l
  272. ; implications and is generally recommended for debugging purposes only., I8 v) m/ r! J! R8 m  o* r
  273. ; http://php.net/implicit-flush
    5 O( ]$ {7 E3 t3 M
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    : \1 g/ V6 A9 p' V' F. F* r
  275. implicit_flush = Off
    % R+ n, G! T# @; j& z* S4 Z- T
  276. 4 Z$ l' Q4 j8 G5 [
  277. ; The unserialize callback function will be called (with the undefined class'3 C0 K: M+ s5 ^- b9 u5 s: H5 Z
  278. ; name as parameter), if the unserializer finds an undefined class
    # M" U$ A. Y6 m+ G
  279. ; which should be instantiated. A warning appears if the specified function is
    9 d( M7 J. k* M7 C$ Q
  280. ; not defined, or if the function doesn't include/implement the missing class.
    " G# n  \/ {$ {6 c
  281. ; So only set this entry, if you really want to implement such a/ t3 a  ?; ], n7 C1 p# c0 u6 m
  282. ; callback-function.
    ! I) P! _# i+ a9 {
  283. unserialize_callback_func =
    ! a: j7 J3 _7 e# b% \. G0 s
  284. # P  H6 D; E/ g: Z0 p/ ]+ U" U
  285. ; When floats & doubles are serialized store serialize_precision significant
    / [  H1 ^5 v' y+ I! b9 @2 W5 j0 x5 X
  286. ; digits after the floating point. The default value ensures that when floats
    : U' S( R; S- B5 h8 |  E8 h4 A
  287. ; are decoded with unserialize, the data will remain the same.
    1 o- Z. i1 K) w% ^0 Z, G0 p
  288. serialize_precision = 17
    1 B) ~. @) r+ S4 W7 S) R
  289. / X8 J  h5 J. ~3 M$ a% J
  290. ; open_basedir, if set, limits all file operations to the defined directory8 Y% {1 R4 W) w* K
  291. ; and below.  This directive makes most sense if used in a per-directory
    ' t9 _% D+ x% j. e4 J" C: G
  292. ; or per-virtualhost web server configuration file.
    ; V1 _8 t& k& W4 T- S1 |) {5 w3 X
  293. ; http://php.net/open-basedir
    7 c* l; S  b4 ~1 G! `6 l+ ^: b
  294. ;open_basedir =6 a* W; j/ K# s" T
  295. : f- g6 j& w& s7 n
  296. ; This directive allows you to disable certain functions for security reasons." S4 V* l$ n2 x6 G) c  N
  297. ; It receives a comma-delimited list of function names.. f# f9 K0 Y& M) `+ n: I8 |$ e
  298. ; http://php.net/disable-functions9 E0 I+ u8 z" K8 R
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    9 L" f, \* W2 d

  300. + L- Q- ^" f- o! V
  301. ; This directive allows you to disable certain classes for security reasons.
    9 ^3 g0 V. |8 d, g
  302. ; It receives a comma-delimited list of class names.
    & ^4 a# r) R8 m4 p. x' }
  303. ; http://php.net/disable-classes
    4 j  C3 y& k0 N2 E7 K- T7 w
  304. disable_classes =; c# ?9 P+ e- j5 L

  305. . E1 }, t4 @1 ]( l) S: i6 h
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 l( [) O$ l7 b( N
  307. ; <span style="color: ???????"> would work.
    ( Z' B2 J) K6 v0 ]) h/ M
  308. ; http://php.net/syntax-highlighting, I" C: z2 y. S8 G  y6 l
  309. ;highlight.string  = #DD0000
    8 P9 i$ H1 T/ |. ]/ d3 G
  310. ;highlight.comment = #FF9900
    8 E& _- j: c% T; M3 v* c7 q
  311. ;highlight.keyword = #007700
    8 p% G' n; l: O/ ~0 I
  312. ;highlight.default = #0000BB- y4 a- }3 j3 `* |( y, D4 J
  313. ;highlight.html    = #000000
    5 T: P% f$ S7 W% s! V" }; Y

  314. " @: p9 c3 ~" i6 O
  315. ; If enabled, the request will be allowed to complete even if the user aborts% \4 A( ]8 h: F% _, s( b- t5 L3 |- V
  316. ; the request. Consider enabling it if executing long requests, which may end up$ W1 |9 Y" ^$ _. V. ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ( ?9 B, _, o. s4 u/ }
  318. ; is to disable this feature.
    9 o* [; d+ d) }$ n, I
  319. ; http://php.net/ignore-user-abort
    3 }2 O) p) J  B5 v
  320. ;ignore_user_abort = On+ C! W# H! U" A# F0 b% ?2 i- r

  321. ( x/ a6 d5 @- D) m
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " {2 m+ J& K5 x' K  c7 r+ }" F
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    3 H* A3 n2 X3 b: W0 l2 w: E
  324. ; the file operations performed.  J1 F- i  C3 G7 s! v' b: Q
  325. ; http://php.net/realpath-cache-size" J2 m) ?- ^8 b+ E9 }# N8 H- p/ J
  326. ;realpath_cache_size = 4096k
    # g8 D& D& a, R  X

  327. 1 N: A! Y- I' ~* `* A% }7 H8 |2 ]
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    " k' m( d8 }5 V
  329. ; file or directory. For systems with rarely changing files, consider increasing this  l- w9 v# m6 U) D/ n) m
  330. ; value.$ G' s! k* l5 D6 s
  331. ; http://php.net/realpath-cache-ttl+ E; t! }  h# g7 B0 B  P8 Y+ [1 \4 T
  332. ;realpath_cache_ttl = 120( J& r# O$ \6 x2 p

  333. 3 ~2 H& `1 Y- U# i1 U
  334. ; Enables or disables the circular reference collector.$ [4 H- s9 l1 y  {& N
  335. ; http://php.net/zend.enable-gc! H$ K+ g; m" o" e+ l/ S3 ]
  336. zend.enable_gc = On; e" D9 X- ^8 W6 M$ U
  337. ! c1 ~" Q, W# k
  338. ; If enabled, scripts may be written in encodings that are incompatible with2 ^' i% `7 a8 z, A% Y5 @; P+ d
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- E1 ?1 H' P3 q" M! s
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 W: k( N% M' ~/ G6 u$ N7 o' _
  341. ; Default: Off
    & u- }! t! K6 L% p# q, V
  342. ;zend.multibyte = Off# X3 k7 g8 D2 Y4 g; i4 Q+ k1 u+ j9 i
  343. ; q0 F8 {" y7 k
  344. ; Allows to set the default encoding for the scripts.  This value will be used5 v. A  W! U: B8 w2 |
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / w, i9 o1 {+ s7 W2 d
  346. ; Only affects if zend.multibyte is set.' P3 F4 J% e: T) z3 Q! @4 a
  347. ; Default: ""- f& f7 k+ y$ v" F2 j  m: n
  348. ;zend.script_encoding =9 N1 A% m+ I* p$ Q4 @

  349.   I9 a, m4 V1 y
  350. ;;;;;;;;;;;;;;;;;
    $ i3 ]: Z' b$ ?3 q, N
  351. ; Miscellaneous ;
    ( Y# {5 D! d8 o
  352. ;;;;;;;;;;;;;;;;;  m5 l7 h6 G, V
  353. ! }1 A' `8 ^! l1 a( ~
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    $ `/ M8 q! d% ^' Q0 r' J5 C* J
  355. ; (e.g. by adding its signature to the Web server header).  It is no security' K" t, I) g  G) x! n7 [3 l
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 b5 O/ s$ f3 t1 e0 H) n
  357. ; on your server or not.. y, o0 M6 i# f+ x2 K& m
  358. ; http://php.net/expose-php' c( q, @$ M0 s: S# V
  359. expose_php = On
    * b/ Q2 M, m# f3 i

  360. ) U( w6 o7 k; J9 ^- Q' f
  361. ;;;;;;;;;;;;;;;;;;;
    : I# |5 H: S0 Z% K6 z2 n
  362. ; Resource Limits ;
    9 h8 M. x' Y1 i1 L6 g1 D
  363. ;;;;;;;;;;;;;;;;;;;
    , X1 P5 _6 e5 @

  364. , @8 y. l, F0 y2 U' w$ [8 {
  365. ; Maximum execution time of each script, in seconds/ s: D5 A: H# @( q+ G6 R9 z. g( W
  366. ; http://php.net/max-execution-time
    ' c/ ~' b1 Z/ u4 O( d: t
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ \! P+ h9 B# e  J- l* u8 A
  368. max_execution_time = 300
    + f5 @' X: F3 S5 t' I- j3 p" o
  369. ' _, K7 B# e8 P1 y
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    # A3 k% {7 a- F
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 |9 r3 f2 W: V2 s$ S
  372. ; long running scripts.# w3 E! [# r  Y$ W3 W
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI  |$ _9 H$ Q, b3 @* x
  374. ; Default Value: -1 (Unlimited)2 Q. Z' @6 C+ o+ Y. O; V3 f
  375. ; Development Value: 60 (60 seconds)
    + j+ {% W4 J. |/ b
  376. ; Production Value: 60 (60 seconds)
    4 t9 U- g( G0 M8 M
  377. ; http://php.net/max-input-time  w4 P$ h8 Y9 s
  378. max_input_time = 60- G0 a% K: [! M+ j2 r
  379. 6 U+ H" [2 a: g/ d- I! R1 K
  380. ; Maximum input variable nesting level
    , R3 \/ f& l# D; W& C
  381. ; http://php.net/max-input-nesting-level  ~7 T5 ^( T7 ~" b
  382. ;max_input_nesting_level = 648 ]. Y  O% e8 u2 ~
  383. 6 q8 D2 Z+ ]  V  n; @8 g, K( h
  384. ; How many GET/POST/COOKIE input variables may be accepted1 e5 v( J% i5 D  A
  385. ; max_input_vars = 1000( [% n  h; e" R  `" D
  386. ' q& B' m, ?* A5 k! F. R9 [
  387. ; Maximum amount of memory a script may consume (128MB)
    7 ^4 t1 `% K4 b
  388. ; http://php.net/memory-limit
    # ~" f' v/ d& s* p2 l
  389. memory_limit = 128M& b) R- R6 I9 }( t9 G
  390.   [$ i" B4 n. Q5 k% @) O, m
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 U$ C$ w/ A0 X$ E* a
  392. ; Error handling and logging ;
    5 c) ^( o  g' d1 o
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 ?& w3 b' W! N7 V. n/ R

  394. 2 H  l3 u0 b9 W
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    9 d+ ]& a! \0 \
  396. ; it to take action for. The recommended way of setting values for this, w# s  K: u2 O% V% P
  397. ; directive is through the use of the error level constants and bitwise) M- a8 b! V# g  ?: X7 E. o
  398. ; operators. The error level constants are below here for convenience as well as1 X. `5 \2 W# f, M7 ~  [0 P
  399. ; some common settings and their meanings.& Y, ?7 N7 [; z) j: \
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT& ^# S7 a& M% [+ r: R0 K  u# l
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and. j) ^* u/ o3 ?" h7 T
  402. ; recommended coding standards in PHP. For performance reasons, this is the+ d% X" B- @2 b% ?1 G  L
  403. ; recommend error reporting setting. Your production server shouldn't be wasting$ |5 W$ `& O- ^+ j1 Y; Q
  404. ; resources complaining about best practices and coding standards. That's what
    5 D& r/ t+ E! \* a2 R! Q+ d' e
  405. ; development servers and development settings are for.
    ) {' x" I+ S  T1 K* e
  406. ; Note: The php.ini-development file has this setting as E_ALL. This" \) T/ [6 Z6 d: K3 |
  407. ; means it pretty much reports everything which is exactly what you want during% R3 S% W, j! _0 C1 {: a4 l* L
  408. ; development and early testing.
    ) {7 N# ~! B2 u
  409. ;% C+ z1 `0 L5 t2 t4 A
  410. ; Error Level Constants:) Z: I1 G- C7 ^( M. C
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ( K; d4 s1 R1 T; {& e
  412. ; E_ERROR           - fatal run-time errors5 }+ G( w  N4 y6 v9 `0 X# e
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 W! x4 f- W5 K8 |
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    5 ~. L' N( [* X  L. m
  415. ; E_PARSE           - compile-time parse errors
    ! C3 `: e6 M+ T2 {& S. g/ H9 g
  416. ; E_NOTICE          - run-time notices (these are warnings which often result( U+ c0 F: V6 \
  417. ;                     from a bug in your code, but it's possible that it was
    ' i( ~9 j% }" ]: B  L
  418. ;                     intentional (e.g., using an uninitialized variable and
    # [  f/ _1 f. n& Q% X
  419. ;                     relying on the fact it is automatically initialized to an- J; A7 s; ^$ c8 k# A7 P: d& g
  420. ;                     empty string)
    & W" o( Y6 @7 p6 `' y; r
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 ^. N6 X! [$ X
  422. ;                     to your code which will ensure the best interoperability
    2 G. t4 I" F7 n) ?
  423. ;                     and forward compatibility of your code3 O- A# H  O( I
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& T6 u# T% b& x. \6 X3 z# l
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      W9 A5 M3 k( n9 n6 U
  426. ;                     initial startup
      I5 }9 ^- C+ D$ \$ x- D
  427. ; E_COMPILE_ERROR   - fatal compile-time errors7 C1 s6 @- x$ A6 g6 F
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 A/ T5 f" R2 M3 e  y
  429. ; E_USER_ERROR      - user-generated error message
    9 T+ T: P' d$ l( q" `9 U
  430. ; E_USER_WARNING    - user-generated warning message
    5 U0 E- G, X9 D: s0 Y
  431. ; E_USER_NOTICE     - user-generated notice message+ a# Y4 W/ i4 f8 t2 I: O# e% v
  432. ; E_DEPRECATED      - warn about code that will not work in future versions# y  Z2 ?5 {4 x
  433. ;                     of PHP1 `5 A- i+ V# o: w, }% ?1 q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings# v2 w0 O; ~0 \3 |7 V: A$ J3 t& F- u
  435. ;% U8 Z1 s2 z! L+ ^0 p/ `8 G
  436. ; Common Values:1 M, J' u. A7 f7 l- H
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 H/ S# @- A/ T* w% U& V
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    2 p) X' V  p# R; v: _
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) n3 [) ~/ ^6 }
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 Z: P" F+ t6 H
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " t& ~$ j+ t& B. {- z: @' B
  442. ; Development Value: E_ALL
    & S; A1 {) q+ e, @; t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % b6 D! w9 a  \( c8 Z+ j: b) x
  444. ; http://php.net/error-reporting9 y5 _. ~2 X) f% S* x9 ]% K
  445. error_reporting = E_ALL & ~E_NOTICE/ f: o3 O; o% i8 F8 S' e
  446. * d5 L4 _) ^/ T3 ]. i1 q# i; J
  447. ; This directive controls whether or not and where PHP will output errors,
    3 r( B+ R1 z. Z5 p$ N
  448. ; notices and warnings too. Error output is very useful during development, but
    ' v2 o: c9 f$ r4 T0 E; C; }
  449. ; it could be very dangerous in production environments. Depending on the code* T" r% \" w) Y  g% i: u
  450. ; which is triggering the error, sensitive information could potentially leak+ K- D0 Y5 S, q1 u
  451. ; out of your application such as database usernames and passwords or worse.
    , O, B& E% m  Y  ~' u+ @
  452. ; For production environments, we recommend logging errors rather than
    ; w: P2 I; x2 Y0 |+ |' F
  453. ; sending them to STDOUT.. C6 Z/ ^: ~' e3 f) m
  454. ; Possible Values:
    ) g: i( t) @8 H& r' @6 v0 e
  455. ;   Off = Do not display any errors% b; x9 s5 c6 P, _7 \1 h# T) o
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 T( p- h; t2 ~4 I1 Y
  457. ;   On or stdout = Display errors to STDOUT' J2 h$ L) z: q3 r. A* c
  458. ; Default Value: On
    ) H( z' n0 j0 H" e) c) h/ C; l" h
  459. ; Development Value: On
    8 [& ?/ V. x# O7 x
  460. ; Production Value: Off, X, |+ S- \8 Y0 A/ m
  461. ; http://php.net/display-errors6 p7 U' ~' S! V( S) x
  462. display_errors = On0 a& r, I6 o5 P" h! Q$ o7 E
  463. 3 [* n' F) g* F+ j6 H
  464. ; The display of errors which occur during PHP's startup sequence are handled( Y1 `& a1 V, H$ B6 l; R$ w
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , n* ?0 j# q! E* ?# i" p, P
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    " |8 ^6 D( Q3 j: b5 S  [6 r! W6 ?
  467. ; debugging configuration problems. We strongly recommend you! k# b9 @+ q$ J. N; q
  468. ; set this to 'off' for production servers.$ G; j4 _2 a( A5 K
  469. ; Default Value: Off& M# u5 N# W: b$ D2 m
  470. ; Development Value: On3 t5 J* n& K: |" L$ G
  471. ; Production Value: Off2 S' Q# h; R$ t* \' A2 Q
  472. ; http://php.net/display-startup-errors
    4 Z0 z" w6 C( r( l( S- L
  473. display_startup_errors = Off# c' W& s9 H2 t0 |0 z. ]. J# G
  474. 3 ?1 `* d4 v5 l6 [
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ( [, e7 e7 m; K6 T( z) b3 ?5 a' L
  476. ; server-specific log, STDERR, or a location specified by the error_log
    3 }( j( s. V% X0 |/ V2 u7 W4 ?
  477. ; directive found below. While errors should not be displayed on productions
    / z6 t' W- G7 ]+ V2 \( a3 }
  478. ; servers they should still be monitored and logging is a great way to do that.: m* D# |. h- Z' p/ D, ]' c, a
  479. ; Default Value: Off# v6 M% v; f  M! y
  480. ; Development Value: On/ l( P: {0 I- \+ O
  481. ; Production Value: On7 y. |: A6 B# R4 d7 H" @9 J
  482. ; http://php.net/log-errors
    7 H2 b' c1 c% S. x! N9 X
  483. log_errors = On2 u1 X4 I8 c$ Y6 b7 W+ u
  484. : [' O  `; z8 W, ^; A
  485. ; Set maximum length of log_errors. In error_log information about the source is8 W8 I# k+ d% W- l/ r4 z$ |5 Z. g" ?
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.& W5 b7 o# `; g
  487. ; http://php.net/log-errors-max-len+ Z/ A  f  p  X* a
  488. log_errors_max_len = 1024  y! r! f: B5 ^, n- T
  489. ' \& g0 B& q% a3 P2 G
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same5 M' g: A# _0 P1 L  Z
  491. ; line unless ignore_repeated_source is set true.8 ]/ ~1 d5 i& s
  492. ; http://php.net/ignore-repeated-errors: A4 Y" I" ]1 l3 E/ o7 j1 A9 c1 n
  493. ignore_repeated_errors = Off# d6 a- w  A6 A7 ~0 M' ?" B

  494. " g! j5 a7 \8 P. _0 }
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 s! t) B" M* ~4 l% S3 E3 U* Y5 i
  496. ; is On you will not log errors with repeated messages from different files or4 P- k! r7 Q8 K4 N5 Z( V
  497. ; source lines.+ @- ~& |0 x& t' a( E! j
  498. ; http://php.net/ignore-repeated-source
    - N$ `! W; N4 e
  499. ignore_repeated_source = Off3 C0 T3 `. V1 ~" @3 g  `

  500. * R6 e$ `7 V3 w' N) W% l
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 Q' `2 F: L( u$ v2 [
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    9 s$ j  w7 Y, F/ X* E- O3 z
  503. ; error reporting includes E_WARNING in the allowed list4 {3 Y  h; s( s" n5 T
  504. ; http://php.net/report-memleaks( i8 n3 v/ ]6 ^% a. K
  505. report_memleaks = On) _/ J1 i$ s9 n( @1 M" v3 Q
  506. 7 n' ^# E  M, }* i2 Z$ i6 B
  507. ; This setting is on by default.$ I+ x, h. W( r. k8 e  x
  508. ;report_zend_debug = 0- p# _, V) i$ b8 A

  509. ) ~6 z7 N: m$ M# Y# g  L
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. c% H" P& m1 s. l3 `- R4 {0 J' O$ @; r
  511. ; to On can assist in debugging and is appropriate for development servers. It should2 u4 S. z3 r0 O* {7 g2 e6 I
  512. ; however be disabled on production servers.
    * K4 x# s+ Z; \" V, I- _
  513. ; Default Value: Off4 i1 \/ Y9 h4 }
  514. ; Development Value: On$ M* }+ u, G: s. }
  515. ; Production Value: Off
    ( n+ U" a# n8 C
  516. ; http://php.net/track-errors7 P" E! `) b- u3 U5 i7 ^6 y
  517. track_errors = Off
    4 m+ G- |) l1 Z( o, l, z
  518. ) K3 l! U  e+ y
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    6 x8 K2 M" j: x/ x$ F9 a
  520. ; http://php.net/xmlrpc-errors6 s% g" }2 G* Z, E. z6 K
  521. ;xmlrpc_errors = 0  p: `/ e  e9 T$ q' `6 ]0 w" X( [2 F

  522. 0 t, k3 x  R; w1 _% n
  523. ; An XML-RPC faultCode( I& R3 t# y. ^6 q6 Q
  524. ;xmlrpc_error_number = 0, M* u# y# d2 ?

  525. - \4 [6 L( x; i  d
  526. ; When PHP displays or logs an error, it has the capability of formatting the- d. A# c$ i; C, G+ X' W
  527. ; error message as HTML for easier reading. This directive controls whether# a( e7 {" @2 y4 P" r! B- |
  528. ; the error message is formatted as HTML or not.
    , K: y/ m2 I( f7 f
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI: i6 Z8 q8 A1 b& L3 Y
  530. ; Default Value: On
    1 P. ]6 }: E0 l* o( H
  531. ; Development Value: On4 B5 S  y6 _( W- Q/ |
  532. ; Production value: On# D3 H* ~/ a) t
  533. ; http://php.net/html-errors
    - d0 i6 ?: z6 t
  534. html_errors = On
    % g: M& `$ ]) g0 k
  535. / [# Y$ p' q8 p4 |& n  }
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP1 K. O; i% E5 \& J8 `+ m
  537. ; produces clickable error messages that direct to a page describing the error
    5 @- A5 ]# g1 l/ g8 m/ g4 r% n
  538. ; or function causing the error in detail.9 x3 O) L+ N) O2 q' }
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    " J; W  \; M4 W, v
  540. ; and change docref_root to the base URL of your local copy including the
    + x2 ^. a4 O: x" D$ Z* m
  541. ; leading '/'. You must also specify the file extension being used including
    * U7 N1 q: D* B1 K  p5 B. |* K: T/ ]
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / j7 U! ]( r! {! O4 u2 i/ A
  543. ; case no links to documentation are generated.5 H& k$ B* t. ?& i
  544. ; Note: Never use this feature for production boxes.1 e! J' f9 P; D2 j# ~
  545. ; http://php.net/docref-root3 _* Y9 @: G! m6 U# W
  546. ; Examples
    8 T5 r8 a9 V( Z, F( f- B5 u4 H3 K
  547. ;docref_root = "/phpmanual/"
    , e. C, D( m& ~* X# V5 A

  548. % I' _3 z0 F8 H4 y% \
  549. ; http://php.net/docref-ext
    3 Q( v; Z" g( [8 T& K
  550. ;docref_ext = .html% s! Z" s" V) L  C4 g: o

  551. * ?/ E/ u/ w9 S* |3 F
  552. ; String to output before an error message. PHP's default behavior is to leave
    ! q7 j8 F8 E$ |2 C4 v& h1 v8 p
  553. ; this setting blank.: X9 G8 p: p& V& K
  554. ; http://php.net/error-prepend-string
    ! l4 y( O0 }0 h7 _' g5 w
  555. ; Example:; D+ [  G7 E0 ~# q
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    - C3 S; C& ~9 _- W+ n) p

  557. & r4 e* l# S# w: A
  558. ; String to output after an error message. PHP's default behavior is to leave) K( Q: `7 B4 c0 M7 J: r8 q
  559. ; this setting blank.
    + [: R! e" P+ g6 _+ y$ b
  560. ; http://php.net/error-append-string. N! j5 M( t6 A2 J* P" g' x
  561. ; Example:
    + z$ v8 }+ i1 P) T0 Z
  562. ;error_append_string = "</span>"
    7 z; ~8 N7 I6 D2 b+ w7 H" i
  563. 4 a5 A: i$ X3 q2 Z% ^
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    " |/ C0 c+ H' G
  565. ; empty.( ]  h$ A" ?& d
  566. ; http://php.net/error-log; Z  A: B2 A# U0 ?' {" C
  567. ; Example:
    8 g+ D; u- X0 H) A8 ?9 v
  568. ;error_log = php_errors.log
      Y4 g1 j# o+ K9 E& B8 N- z. `1 f
  569. ; Log errors to syslog (Event Log on Windows).
    & Q8 t9 L, m7 u$ V; g; d% [, {
  570. ;error_log = syslog
    1 b# z) `6 E. C# ?+ E4 M) l8 t
  571. - |: |: T* D% E$ _' k
  572. ;windows.show_crt_warning
    4 O1 K; \. f( \
  573. ; Default value: 03 m" g7 n$ D1 g- C8 ]
  574. ; Development value: 07 e" x8 V3 Q" T! m9 Y
  575. ; Production value: 0
    " D0 M! x; R4 R! f4 ~; t
  576. # ?- `  l2 g& z- h0 q0 K/ V* F
  577. ;;;;;;;;;;;;;;;;;
    + a" E8 N) C6 v) z1 ?" A* x
  578. ; Data Handling ;' ~* x* J6 l- Y
  579. ;;;;;;;;;;;;;;;;;
    $ v' `' e4 B' y. ~% o+ C! a3 H

  580. & R) x/ T% [# l. Z3 a5 k7 A% D
  581. ; The separator used in PHP generated URLs to separate arguments.: X; f# c8 |; z% u, Z
  582. ; PHP's default setting is "&".9 [. d* l. g' @- {! h7 t; B
  583. ; http://php.net/arg-separator.output9 g' @4 G* M! }5 Q
  584. ; Example:9 |+ s- e5 ^2 c' x2 B  _  X
  585. ;arg_separator.output = "&"
    5 O( a% r1 S5 f

  586. # K: ^2 m; Z- _8 n0 K% H4 e
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    : a8 a" M$ ~/ U4 i4 G2 ~3 ]
  588. ; PHP's default setting is "&".
    ( H5 m/ c2 _2 f+ G+ ~
  589. ; NOTE: Every character in this directive is considered as separator!0 Z8 a  s* K! ]2 W/ U8 ]
  590. ; http://php.net/arg-separator.input
    . {; F% {7 o% d% G+ S7 X  |9 Q$ J
  591. ; Example:( r, |* g4 q  Y
  592. ;arg_separator.input = ";&"
    ; y) }; o4 [8 L, @  `3 {

  593. : ]3 G5 ?5 C. M4 }
  594. ; This directive determines which super global arrays are registered when PHP7 C: v( Q( u+ b9 A! r
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      p5 ?) `  k: g0 F5 Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . p( U" d7 ^4 O
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    & ]$ |+ _1 U; W+ E4 U
  598. ; used as the others, ENV is not recommended on productions servers. You5 |& F/ _& p0 c! N4 j+ Z$ ~2 E  u
  599. ; can still get access to the environment variables through getenv() should you) M8 b* M6 `7 Y, T3 q7 u
  600. ; need to., m& U& D6 L' w# @1 U: D) @( [' m7 @
  601. ; Default Value: "EGPCS"( a; N3 _' J4 i
  602. ; Development Value: "GPCS"
    ! l6 b3 e! [4 O2 w1 u
  603. ; Production Value: "GPCS";1 I; g0 U) P# L+ z% i" F% a
  604. ; http://php.net/variables-order
    8 h, S) M5 U8 ^; h6 s2 v
  605. variables_order = "GPCS": o- q& m( G, {2 ^( T$ k! @* Z( c
  606. 4 m2 V5 E! z4 i2 d" Y, m& r; O
  607. ; This directive determines which super global data (G,P & C) should be& I6 q- U$ J: i8 E
  608. ; registered into the super global array REQUEST. If so, it also determines( Y* _5 v4 P! k8 o. n* v
  609. ; the order in which that data is registered. The values for this directive
    9 S& P8 J5 t4 J! E
  610. ; are specified in the same manner as the variables_order directive,3 M1 M% u7 G; K& U+ B0 p# Y1 v
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    6 U5 X  t% x: c8 ?' ?
  612. ; in the variables_order directive. It does not mean it will leave the super$ H8 w3 x0 [0 e
  613. ; globals array REQUEST empty.
    # A0 h: h5 y6 n! n' U+ @
  614. ; Default Value: None
    % V) L6 W/ G8 s1 k  D
  615. ; Development Value: "GP"
    8 e. d, Z1 c% x% k, ~6 r) B5 |
  616. ; Production Value: "GP"6 E7 K1 @0 ?3 m9 _  N7 ?
  617. ; http://php.net/request-order
    - ^, x& r8 n- [# p6 U6 D% }# Y; J
  618. request_order = "GP"
    0 s6 i* N& L, L& |

  619. + p1 K" _% |' x0 G! b
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    2 ~! B; V* v& _3 s2 M! h! q- K
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + X( [3 [7 a8 D  N' ^0 @
  622. ; is invoked. $argc contains an integer representing the number of arguments# g' Q" j& _# e2 M3 Z% H
  623. ; that were passed when the script was invoked. These arrays are extremely6 D+ l& c2 y( M. z+ b/ h# |- ]
  624. ; useful when running scripts from the command line. When this directive is
    ) s1 D, P4 C* ]
  625. ; enabled, registering these variables consumes CPU cycles and memory each time( J6 H7 u+ {; \* I1 _0 ~; c
  626. ; a script is executed. For performance reasons, this feature should be disabled
    0 T$ |9 N* D( b2 g- F/ f6 r- ]9 w
  627. ; on production servers.
    ' K0 e- k6 v, f+ E8 P) t0 e
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; R9 O0 U" C0 v
  629. ; Default Value: On
    3 \! a8 f' ~$ E; c4 h
  630. ; Development Value: Off
    : r7 l! _1 S/ l. O6 U3 h7 V
  631. ; Production Value: Off  x% @6 I8 Y4 Y0 V0 P
  632. ; http://php.net/register-argc-argv8 i' U2 l* c- [# D- l
  633. register_argc_argv = Off
    5 |% n* G( N( Y( Q: A: K

  634. 3 n) s4 u- `+ l' h- q+ _! Y  s; u
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , I, Q' X8 `+ ^) N& E
  636. ; first used (Just In Time) instead of when the script starts. If these
    5 w' K* `0 S9 A4 I( y& _
  637. ; variables are not used within a script, having this directive on will result7 \3 c6 g: @: c
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 G" r  S3 I' v" l+ L  B1 g
  639. ; for this directive to have any affect.
    0 T5 U. r2 ~( J2 |  I
  640. ; http://php.net/auto-globals-jit
    $ M9 o4 w8 F$ f- v  C" c1 D: i
  641. auto_globals_jit = On
    : |0 N9 r. P% ], O& l
  642. ; s. s% Z2 }  V* X& f
  643. ; Whether PHP will read the POST data.
    9 |$ m! K$ t6 |0 @8 Z$ p/ i! Z
  644. ; This option is enabled by default.9 }8 f! Z9 h# K/ X
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ; o3 @: T( R1 N
  646. ; and $_FILES to always be empty; the only way you will be able to read the3 e" E, o, L. n
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & Z) @- m" M7 u, ?: P
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.& V% B2 F! _/ x$ u
  649. ; http://php.net/enable-post-data-reading1 D8 m2 o5 b; Q! Q8 X
  650. ;enable_post_data_reading = Off( X8 J6 L' h; a+ F6 V, s3 w

  651. ( S2 A; v8 ]: R6 y5 b
  652. ; Maximum size of POST data that PHP will accept.
    8 _0 Q" w3 X6 D" Q$ h6 j3 P1 F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading1 d. e( s5 w% H+ l% `2 P
  654. ; is disabled through enable_post_data_reading.
    6 E! M7 F) A' B! f
  655. ; http://php.net/post-max-size5 p, J* Z$ ~; l: x- P' j3 S
  656. post_max_size = 50M6 L1 m) G# L0 r" g, [6 s
  657. ( O1 G& f. P  M8 e* O9 Y7 [9 x
  658. ; Automatically add files before PHP document.
    & s3 B8 b  g5 c& U; y) ?
  659. ; http://php.net/auto-prepend-file$ T3 t# e. ]6 I; l
  660. auto_prepend_file =
    . f0 t: U' E, b8 z, s; Z

  661.   K5 [( O* @- W4 b. C5 n
  662. ; Automatically add files after PHP document.
    # X  _" y/ d, J% o2 l
  663. ; http://php.net/auto-append-file
    $ ]% I+ D' I' a% L
  664. auto_append_file =; a; v# r, g( Q4 Z8 o1 y) m

  665. * [! r8 ^* ^" N) f) [
  666. ; By default, PHP will output a media type using the Content-Type header. To+ {  E1 v% y: X& r* r" ~: p# s
  667. ; disable this, simply set it to be empty.  _) ]5 W1 L0 v' r
  668. ;
    1 ^8 S0 n7 R0 I% G( }& _, k- ?9 n) L
  669. ; PHP's built-in default media type is set to text/html.
    ) J+ d0 ?* g, Q# x6 X$ z1 F" }) K
  670. ; http://php.net/default-mimetype
    : [- t6 E/ ?9 `, e
  671. default_mimetype = "text/html"9 T/ l# m$ Q  ^: V" x4 L/ d
  672. * T8 W3 x9 z& L, d5 `
  673. ; PHP's default character set is set to UTF-8.
    0 z. w' j' K' K
  674. ; http://php.net/default-charset
    ! H7 I- I8 a  o0 {
  675. default_charset = "UTF-8"
    ; L% H' z, _6 D6 i% s
  676. ) j: z: ]& r1 Z3 _' W
  677. ; PHP internal character encoding is set to empty.
    7 L% }7 G# A; t* @; E
  678. ; If empty, default_charset is used.& |% ^8 q$ b: d5 f! H$ C6 _  S
  679. ; http://php.net/internal-encoding
    " k* X) }' R' D& z
  680. ;internal_encoding =1 U! y! b2 _: \4 w/ E3 c7 p

  681. . u* p) i  b) y4 m
  682. ; PHP input character encoding is set to empty.
    ) K# b/ Z1 x+ N" z" D7 C" ~
  683. ; If empty, default_charset is used.: `% D% c! c. ~5 U% a
  684. ; http://php.net/input-encoding
    0 e5 ]; l7 c$ W7 |7 e- L% R
  685. ;input_encoding =8 E. O# Z- C: y- b. R
  686. 1 D9 ?% r$ G5 V2 S* y, ?" L
  687. ; PHP output character encoding is set to empty.  h; c; L: Z. E) ?% ]
  688. ; If empty, default_charset is used.' Z* S; Y% o  z' P% J, U
  689. ; See also output_buffer.8 u! p4 W6 K& O2 \  w1 B0 m
  690. ; http://php.net/output-encoding& S2 p+ ]  }2 H5 ^+ F0 }
  691. ;output_encoding =
    5 W; Y2 Q7 F6 r0 R, @8 b: i
  692. ! d3 V' l8 A; o' t4 d
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 s% n" c2 c1 W% ]) D0 k# C
  694. ; Paths and Directories ;
    5 [. A2 {: y, R( n9 u1 S+ K
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;+ z  R( W/ {+ e  w3 o. W
  696. & A; G; o- C6 c
  697. ; UNIX: "/path1:/path2"
    $ f4 G0 f& _9 r$ d2 r5 \/ x7 h5 j* k
  698. ;include_path = ".:/php/includes"
    - y# \8 G. H$ p' D3 X2 E7 {
  699. ;
    ! v1 m+ V: R2 O$ y4 }
  700. ; Windows: "\path1;\path2"- E% H! R- ?! N$ e4 t8 `
  701. ;include_path = ".;c:\php\includes"
    6 X" P4 [: k7 g0 h3 I0 u7 y
  702. ;
    3 |. @1 I( h9 k  a2 `, ?2 x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 ^5 `3 n3 ?' c% i( W1 q
  704. ; http://php.net/include-path
    5 k6 g, |4 y$ V2 q% E9 q
  705. $ U6 h7 K& {+ o) a% G% B
  706. ; The root of the PHP pages, used only if nonempty.8 O! s0 n% @2 @" a0 u9 j
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) B: I2 l; h: |
  708. ; if you are running php as a CGI under any web server (other than IIS)
    2 p$ {  d; o+ X, k, N/ k
  709. ; see documentation for security issues.  The alternate is to use the' c/ D- D1 ~9 q5 p+ r6 `% D' t' l) g
  710. ; cgi.force_redirect configuration below- D( T  D! ~7 c4 ^9 _" u) S
  711. ; http://php.net/doc-root: n& t! E" }+ M8 m
  712. doc_root =: F# v3 n6 N, p2 U4 l; @; P

  713. 4 u: o# F4 x. j9 x' n' S& R/ C
  714. ; The directory under which PHP opens the script using /~username used only
    7 }9 d( [" m" E3 y
  715. ; if nonempty.
    4 A4 f! r" C' n" B, W
  716. ; http://php.net/user-dir
    & P: [7 e' d1 Q7 L2 g
  717. user_dir =6 h8 J0 b" F4 k7 g% @
  718. + y/ W# x: i: e& _
  719. ; Directory in which the loadable extensions (modules) reside.) `7 _, E+ @. O6 h
  720. ; http://php.net/extension-dir9 s8 r8 y3 M, }. \8 }- T( K
  721. ; extension_dir = "./"5 B! b- n1 I' K# A+ c
  722. ; On windows:
    & p( _. ^: @: @) y! q+ g$ j$ L
  723. ; extension_dir = "ext"
    ' J" T1 Z- d8 i% l
  724. ! {2 t0 s! b. C+ Q% e' l! E
  725. ; Directory where the temporary files should be placed.* t% w# `) d; [* [( F8 p
  726. ; Defaults to the system default (see sys_get_temp_dir)
      l# ]0 [4 b. o7 p& A/ Y: z' [/ k
  727. ; sys_temp_dir = "/tmp"* t' g  S( x; \1 H5 C# A: `2 P7 i: v
  728. 7 l+ A" P% J# v4 @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    $ j6 d- e, \$ S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" Y+ @( u4 z' {6 A
  731. ; disabled on them.$ W' W' `/ R& I) g# W' O9 R3 M* x2 B
  732. ; http://php.net/enable-dl
    . K. C+ f8 r; Y4 D# i2 L. z$ |% h
  733. enable_dl = Off
    ) ~$ }' `1 {/ @3 c# V

  734. * @/ P5 g& m2 U5 b
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    / ~1 Y* Z5 |3 @1 ^. {$ b2 C
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ; |7 d$ b' z0 N. \. _. }: E, d8 a7 u
  737. ; turn it off here AT YOUR OWN RISK; F( F$ w0 v) j) `: X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& S( d" T; i& F$ p1 |
  739. ; http://php.net/cgi.force-redirect
    6 |* ^- b5 q* f- W- T
  740. ;cgi.force_redirect = 1
    0 ]6 h( x* u% S$ n

  741. ! t4 v# n; j3 K! e7 n
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    $ `1 F; z9 q3 e2 ]0 b- i1 X
  743. ; every request. PHP's default behavior is to disable this feature.
    2 t5 S# r2 }* v- y/ c1 ]$ @
  744. ;cgi.nph = 1
    % {4 y8 @& M8 N. g1 Y

  745. 9 `) J% M9 F& m" n- [+ D0 A9 A
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape5 h) V" _* G7 W3 r8 C
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ R2 b" v3 Y  X/ [+ ?" n
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    3 Q6 W8 ^# @7 ~; y. B( ?4 T  j- F- V
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- [; ]$ D" r0 b; |, Y! h
  750. ; http://php.net/cgi.redirect-status-env& y( t& s4 C  ~. b8 p
  751. ;cgi.redirect_status_env =: f1 Y6 m( h7 S) ?5 D
  752. ) Z4 ?) i5 ]) |) W
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's$ Q: J# w: v) H" G. N% M) `
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / k$ j: H6 V' U) \5 \, n
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 S/ r0 a5 P7 B- n* _
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting$ Q7 E0 R4 q+ v( b2 t- [5 @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % O% p& C) S0 w8 M% ~( W, x
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    6 [# X/ z& {* c! W
  759. ; http://php.net/cgi.fix-pathinfo. l' ?$ w( T8 [3 W
  760. cgi.fix_pathinfo=1
    5 x; |4 E) H5 r; R

  761. - L0 r* N9 t5 N) c# X
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . V3 e" |2 f; G, t
  763. ; of the web tree and people will not be able to circumvent .htaccess security., R2 [- N9 B3 i
  764. ; http://php.net/cgi.dicard-path/ E  A6 a! n7 A( B' l$ I: Z7 M0 f# Q6 H
  765. ;cgi.discard_path=1' c/ y) ]# B! `% ~* k" v
  766. 0 a" Q0 ?: Z' v* v- E
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 Z9 H+ T; j. [6 L" U# e
  768. ; security tokens of the calling client.  This allows IIS to define the
    3 E$ {  U! Q2 r7 F0 O- y
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    & M- a  n$ G7 g6 b2 r4 M
  770. ; does not currently support this feature (03/17/2002)( O6 J5 R5 Z7 j( m0 y4 e
  771. ; Set to 1 if running under IIS.  Default is zero.' I' K/ ?5 Z3 \) |- U( z# ~3 t5 A
  772. ; http://php.net/fastcgi.impersonate. s1 x& \# w5 D4 n8 [+ \; \
  773. ;fastcgi.impersonate = 1
    ' _) Z6 s8 J9 o
  774. - h2 y- ?% Y1 g: B7 i6 W
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 d* @# @, `' }" m. \
  776. ; this feature.. ^8 U% M3 c, C- m- `) B
  777. ;fastcgi.logging = 0$ H" e) K. K$ y: j5 P8 r4 v7 c, U
  778. 2 F4 j" g9 u& U) U
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 Z0 _. u' l: d! F1 A* e; h
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # [  {) v$ U" D1 q3 L1 a' C
  781. ; is supported by Apache. When this option is set to 1, PHP will send) M4 i5 U) F, b# Y& B9 z
  782. ; RFC2616 compliant header.1 x: l/ U4 E: {8 v, R, H
  783. ; Default is zero.
    9 s0 }- ^+ s8 g9 h9 t3 u
  784. ; http://php.net/cgi.rfc2616-headers
    * j" l' l% Q6 Z) K
  785. ;cgi.rfc2616_headers = 0
    1 T- u+ k' T2 _- v/ \- h

  786. 8 R8 P& @0 e* P# j  C2 ^/ T7 C
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    $ M  R  j( a+ v4 w/ H5 S
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ d9 H& f( z! F. I' ^: k$ x
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; a+ u' w! D1 U6 ~; t( n
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / \- U- H& f4 ^( z$ `
  791. ; http://php.net/cgi.check-shebang-line
    - ~* R! n8 B9 h4 }6 k( U
  792. ;cgi.check_shebang_line=1% f  V+ U7 H: p  w
  793. 7 H( A$ p6 Y' r3 G: H" e. c7 D
  794. ;;;;;;;;;;;;;;;;  @( d( m2 M5 t- k4 v& ?. Z
  795. ; File Uploads ;
    4 ^1 H# b+ X5 I4 }) |& b8 {6 R
  796. ;;;;;;;;;;;;;;;;# |, J  i0 u, X  K# S# P

  797. 3 F: {& d1 u+ h- Q* H; Z& @7 A- M
  798. ; Whether to allow HTTP file uploads.
    4 ~  z  o- B" e
  799. ; http://php.net/file-uploads' }1 X. `1 ^2 s
  800. file_uploads = On3 O1 y& l, t$ S0 a  _  G  o
  801. 2 K8 y& X7 z$ \( c+ i1 _9 h- |- \
  802. ; Temporary directory for HTTP uploaded files (will use system default if not8 q  V! v0 r3 S3 d, k
  803. ; specified).+ ?& W0 X$ D3 q/ Q/ U5 V$ I5 [& H
  804. ; http://php.net/upload-tmp-dir
    1 P9 U- d0 Y- v& L4 n
  805. ;upload_tmp_dir =* w; d1 A% ~: V. |0 B( j$ G$ C
  806. . i0 n# I. \) P" b$ O
  807. ; Maximum allowed size for uploaded files./ l5 L, g3 F- a1 l. e; i$ v9 m
  808. ; http://php.net/upload-max-filesize7 `3 \4 S  e1 g# W) ~
  809. upload_max_filesize = 50M
    2 V# n9 \1 K, V4 c2 V8 Q

  810. 2 h) g  t& a$ U1 S* j4 q
  811. ; Maximum number of files that can be uploaded via a single request$ b8 R/ S- I/ t8 s! R/ Y
  812. max_file_uploads = 20
    4 V, h0 L3 l) u5 d9 E+ s& N1 E! G
  813. 5 P* f  R1 S8 `9 z
  814. ;;;;;;;;;;;;;;;;;;$ u8 r  `3 [- s" I4 U3 {. K
  815. ; Fopen wrappers ;* x2 N+ I# A+ I: }% V
  816. ;;;;;;;;;;;;;;;;;;
    ! E, Y' J" s$ A+ ^
  817. , o# k. W! S2 b+ ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( o6 A/ d; L7 _% _
  819. ; http://php.net/allow-url-fopen
    0 p5 x) t. p& G4 g2 B6 x- X
  820. allow_url_fopen = On- a4 F8 G# H2 z, V- }! C: m

  821. 0 X$ H: k7 u3 e- w8 x1 Y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; S6 c! z2 F9 L4 u2 X
  823. ; http://php.net/allow-url-include$ s6 B) o) n7 `& y; A7 g7 z
  824. allow_url_include = Off
    " g0 i' l+ \. f
  825. : c3 a8 h* c3 h9 o8 F/ @& d( c
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 f+ f& w: Z1 _$ u/ a
  827. ; for this is empty.
    8 Z7 U, Q6 n( `/ |3 ]" J& O5 u
  828. ; http://php.net/from
    6 T6 j. w2 w+ l# B* R7 p% |5 U9 ?
  829. ;from="john@doe.com"
    ; Z  U+ b5 [+ m1 `# X9 h- S
  830. ) b" i% |) f& _' N. J
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    + B. Z7 M" [7 K/ ^0 l, y: c
  832. ; http://php.net/user-agent
    4 H+ n. b9 F/ t9 ~- ?( F, r! L$ ^
  833. ;user_agent="PHP", i1 ^; v# f& ?. k9 _
  834. / m/ B4 z& q/ Z
  835. ; Default timeout for socket based streams (seconds)
    / p) O3 ^4 G1 C% L8 S- @8 ]
  836. ; http://php.net/default-socket-timeout
    - ~$ y; B: c5 I# n0 R
  837. default_socket_timeout = 60) _) W- ]& L: R) H" c
  838. & K" c- M0 N8 E4 G
  839. ; If your scripts have to deal with files from Macintosh systems,1 q( K3 c  V5 t* Q0 \
  840. ; or you are running on a Mac and need to deal with files from
    ! j6 ^+ I; V2 F+ B" q
  841. ; unix or win32 systems, setting this flag will cause PHP to
    " l% H: ]) m6 N; r  Q0 ~
  842. ; automatically detect the EOL character in those files so that# w# V/ y( c# n& q/ ?1 u
  843. ; fgets() and file() will work regardless of the source of the file.: P" I4 d$ l0 v
  844. ; http://php.net/auto-detect-line-endings
    4 M" @4 ]' J5 i7 {* C
  845. ;auto_detect_line_endings = Off- r9 {4 o0 _  g* J' s# Q( f
  846. * ^/ o0 |% X0 d& m! E
  847. ;;;;;;;;;;;;;;;;;;;;;;
    / z# p, l; e  N5 p1 L. b4 N) x/ [
  848. ; Dynamic Extensions ;
    0 X. C' f! G. u" j/ L3 x
  849. ;;;;;;;;;;;;;;;;;;;;;;& r. e6 ?7 G5 y" @2 F( q
  850. - a( X. A& v/ _( U
  851. ; If you wish to have an extension loaded automatically, use the following8 B$ ^' l# \6 m0 H6 @
  852. ; syntax:. _: X0 t* J- |' u& ]( F5 v
  853. ;
    $ e7 d2 r/ Y* Z/ y
  854. ;   extension=modulename.extension9 D* {+ H0 E' F) p, y# x; D  ]
  855. ;
    5 i$ ^- K# D  z" Z
  856. ; For example, on Windows:
    - q2 S/ b- o6 q+ W" u
  857. ;+ C5 f: T5 b* J5 y7 H5 F! \+ j
  858. ;   extension=msql.dll' P+ @! s. q4 y7 m- _
  859. ;( y, C' F* n. ?2 |( I
  860. ; ... or under UNIX:
    . H6 k3 q- ^# C$ F& h7 i
  861. ;" a3 M* ~7 i' o. b  Y
  862. ;   extension=msql.so
    ) q" b  d% F  A) }- T
  863. ;2 h5 T& U2 O2 o, {" X' Q
  864. ; ... or with a path:
    5 W$ M5 Z* L0 g# l  _- `& m% L
  865. ;
    ! ~' H2 @$ `  A3 `. ~1 S
  866. ;   extension=/path/to/extension/msql.so1 u- Z/ I7 s  k
  867. ;8 ^8 D+ q! s8 M4 v* M, R8 m
  868. ; If you only provide the name of the extension, PHP will look for it in its
    & h! U) _% B" G4 Y  H
  869. ; default extension directory.
    # e0 A8 ]: Q, K& Q
  870. ;* e, Z8 A5 a& ?
  871. ; Windows Extensions' w5 `- W4 Z8 l- @7 K
  872. ; Note that ODBC support is built in, so no dll is needed for it.! B) `7 ?4 G5 R6 H+ i* h9 D3 z/ D
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    $ Q9 E# P/ a$ I9 R) w7 l0 r
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 @1 b9 z8 `+ s( O
  875. ; Be sure to appropriately set the extension_dir directive.3 ~; _2 v- r! I" u
  876. ;0 {9 z1 ^+ ^5 a
  877. ;extension=php_bz2.dll
    $ g2 I, A* T& ~% l, J# i, c
  878. ;extension=php_curl.dll
    6 C9 ^* f. P' G* d' y
  879. ;extension=php_fileinfo.dll( f2 S* R5 ?6 z* T; i
  880. ;extension=php_ftp.dll
      u3 K3 \4 m& r& \1 Y5 q. W
  881. ;extension=php_gd2.dll
    . j9 M8 Q. M. L1 r/ p3 e
  882. ;extension=php_gettext.dll9 M* ?# e) E5 S$ _& Y
  883. ;extension=php_gmp.dll. s" \! T" v1 ]3 P& U, g. K
  884. ;extension=php_intl.dll
    0 m- f- S* e, ?; r' q
  885. ;extension=php_imap.dll& }' ?/ h( k/ M5 F, f1 b* ?
  886. ;extension=php_interbase.dll
    + A. ^6 m8 [1 O% q. S5 T
  887. ;extension=php_ldap.dll9 e! n* {5 r5 `! r) x8 v; G- l% ~
  888. ;extension=php_mbstring.dll! Q5 D( O& S) _2 {: w+ \7 t
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it9 Z6 j: O3 w& U! `/ Q# ?
  890. ;extension=php_mysqli.dll
    : I  u/ O, c' R- K
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  i( E  x6 _2 H/ [
  892. ;extension=php_openssl.dll+ j% N4 g& W: R) `
  893. ;extension=php_pdo_firebird.dll
      t) x$ L1 @# I, D! j6 d
  894. ;extension=php_pdo_mysql.dll
    ; U- S' i/ S" A7 _- O9 l
  895. ;extension=php_pdo_oci.dll6 I: k6 D9 c, J5 U
  896. ;extension=php_pdo_odbc.dll
    5 Z% e3 n5 ~$ ^0 O1 W
  897. ;extension=php_pdo_pgsql.dll
    ) t) j( B8 i+ Y8 o1 k
  898. ;extension=php_pdo_sqlite.dll8 e  V% f. [' a# W/ f( \
  899. ;extension=php_pgsql.dll2 u7 B6 y& h0 M$ p! j
  900. ;extension=php_shmop.dll$ V" `' R7 _/ I& C1 V

  901. , E$ ?0 }5 [8 Z# ^- ?. i' I9 f
  902. ; The MIBS data available in the PHP distribution must be installed.$ C$ M+ `9 h6 C) ^
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # t" D& U( E4 P8 W
  904. ;extension=php_snmp.dll, l; h0 _8 a* @8 r

  905. ' L+ Y9 i" _% y8 z4 I' p7 S
  906. ;extension=php_soap.dll
    , G- U; `0 @% T4 H7 B2 y
  907. ;extension=php_sockets.dll
    - m4 S' q; j% Z* ]2 _; x0 G3 j: F( W
  908. ;extension=php_sqlite3.dll
    $ O6 ^& N# j/ t9 x0 ?8 w
  909. ;extension=php_tidy.dll
    " S, b4 V% j8 {" T7 ^: t9 L& u
  910. ;extension=php_xmlrpc.dll
    9 z2 A- ^5 _6 H8 t$ n" `9 V" z
  911. ;extension=php_xsl.dll% w" k/ l  F; P9 Z' S
  912. - i3 I- i9 p0 T% b
  913. ;;;;;;;;;;;;;;;;;;;
    ) s6 z$ B, s8 k) Q
  914. ; Module Settings ;  Y. ]: w8 |1 R* P
  915. ;;;;;;;;;;;;;;;;;;;& @7 `4 W& o4 _% n
  916. 6 H! O- e# m4 Y
  917. [CLI Server]
    * Y( Y6 `' X0 v& I  U1 l
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.; t! |& J& B, F1 q' b$ f& x
  919. cli_server.color = On+ N0 L* x( ]) s+ ]; ?9 T0 @
  920. & l  p+ b% I/ [" N1 r3 k, E
  921. [Date]
    4 ?7 W; i4 S( Q6 [6 w. H
  922. ; Defines the default timezone used by the date functions1 O2 N% K7 J5 T) [* M  M7 V5 k5 o! H' |
  923. ; http://php.net/date.timezone) p9 W* T* i+ ?0 y, i
  924. date.timezone = PRC
    " C8 Y) \  L' a9 V* v! r# m8 b

  925. 9 u7 S7 g. K) C6 j4 q" a
  926. ; http://php.net/date.default-latitude
    9 q, U! p' r$ W
  927. ;date.default_latitude = 31.7667  c4 `) S4 D+ O, y1 v% Y2 X

  928. & o, T* u6 ^& o# v9 a
  929. ; http://php.net/date.default-longitude
    / t* f1 X8 J5 H# F. I1 M
  930. ;date.default_longitude = 35.2333
    7 ]" q" Z+ G* b
  931. . |* D3 T# B0 S3 ]- w2 ]
  932. ; http://php.net/date.sunrise-zenith5 F8 c% o! v# w: q( n/ M
  933. ;date.sunrise_zenith = 90.5833335 R6 a, S' o. R8 u( c' f  c

  934. / W3 \. f4 a3 l7 a$ T2 L
  935. ; http://php.net/date.sunset-zenith
    , C- Y& u* p" @, J; |
  936. ;date.sunset_zenith = 90.583333, l( x  c0 s) E. V6 J
  937. . A! m  e: f9 @
  938. [filter]
    0 X( w* `1 e* _" ?' [; u8 v
  939. ; http://php.net/filter.default! I8 J" F' d2 f$ z9 r
  940. ;filter.default = unsafe_raw
    / @1 R, B! s- R2 E! [2 Y0 M
  941. 5 N; u9 \/ h$ \* l$ G0 c' x
  942. ; http://php.net/filter.default-flags8 |! M7 i/ K, U6 N
  943. ;filter.default_flags =5 v( f  d7 ]1 Y  j' `. g: d
  944. 3 m+ A6 y# H0 C
  945. [iconv], \5 n' w* b, b. P" v
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ o% F2 D1 E$ n# D
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( S( C# r7 D; A; i
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding: M5 [" M+ R0 P. R0 k( M+ q
  949. ;iconv.input_encoding =& E1 w7 V1 E" g; v0 I5 N3 `

  950. 6 J, _8 B$ R; v3 x
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " V: D% D. \. J; j! N
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ j; c, e; ^: l1 F
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, I' |! v. b3 ]1 E7 W; Z
  954. ;iconv.internal_encoding =) ^5 i9 g* I5 D+ D
  955. # Z% ]8 ~* h+ w9 F
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.' e, Y9 i  G- y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ E9 c) h0 X! O  E/ H* B
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    $ b$ |- a% \4 x
  959. ; To use an output encoding conversion, iconv's output handler must be set- I  e- c, e2 B
  960. ; otherwise output encoding conversion cannot be performed./ ~  E! ?8 ?% v. p+ c8 T
  961. ;iconv.output_encoding =, {. \/ @" B& U9 j8 c& V
  962. : Y- N' `* G: t( n9 c
  963. [intl]& u, _" N+ D$ M+ E. c- Z! [) q; R
  964. ;intl.default_locale =
    : t% T1 `" o& w, C! a4 i  \
  965. ; This directive allows you to produce PHP errors when some error* ^5 x, Q  d) P3 D, V% `  C
  966. ; happens within intl functions. The value is the level of the error produced.
    3 g/ a8 H/ D% M4 X& q8 ^
  967. ; Default is 0, which does not produce any errors.! i2 P3 ]4 c5 e/ J, k
  968. ;intl.error_level = E_WARNING
    ) X" d0 ^: C0 s
  969. ;intl.use_exceptions = 0
    4 R$ P+ m# d+ f( U# e  `
  970. $ }8 A8 j0 j0 E, D* r' g
  971. [sqlite3]
    : e: f& ~2 s0 Y; x' P
  972. ;sqlite3.extension_dir =& @# {2 _% g/ X! c& T
  973. $ I/ h- l0 q) S- A  \" N* W
  974. [Pcre]6 f6 V. q2 @5 S* K- t
  975. ;PCRE library backtracking limit.1 I  V' i4 U' H6 Q1 a1 r
  976. ; http://php.net/pcre.backtrack-limit
    + o' |, ~( l/ x/ \* y; I. X
  977. ;pcre.backtrack_limit=100000
    - d$ g) w) w  O0 [1 A2 g

  978. 0 L) [9 @+ H. j$ v3 a# ^
  979. ;PCRE library recursion limit.
    8 T9 X1 W' l) G. H  W/ T( c; O1 ?
  980. ;Please note that if you set this value to a high number you may consume all
    8 Q& M- N" U0 ^4 Q( p2 d
  981. ;the available process stack and eventually crash PHP (due to reaching the
    % _( @9 P$ J9 F* L
  982. ;stack size limit imposed by the Operating System).
    1 G( I/ [7 \$ h- T/ z, o7 G
  983. ; http://php.net/pcre.recursion-limit
    - V. o0 C" r$ o, n$ _
  984. ;pcre.recursion_limit=1000003 G6 F/ f. A* }/ `1 f

  985. $ m; J2 f: T# h/ Q/ F
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    - I) m2 ~2 I3 P. c) Z
  987. ;library to be compiled with JIT support.' {& |5 M$ u2 _1 o; U
  988. ;pcre.jit=1  h+ n- P- r8 v: Z8 E1 A' R9 J

  989. / \. Y) a* F9 q$ H
  990. [Pdo]( x6 N+ s5 P' l
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! }7 K9 H- Y! @0 ?% U
  992. ; http://php.net/pdo-odbc.connection-pooling5 v- Y- ^2 d( g0 `- }
  993. ;pdo_odbc.connection_pooling=strict
    1 o9 Z5 t' J" y
  994. , |$ G! _: m& C0 b% C; r
  995. ;pdo_odbc.db2_instance_name: B# M* o; O7 K% K

  996. * U4 O2 S# D% t6 U# \$ J3 P
  997. [Pdo_mysql]6 U: ?9 z3 i! f0 d% i/ F3 r9 Y2 d
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 A9 g! K- i. ~# |
  999. ; http://php.net/pdo_mysql.cache_size
    ! d7 f, T: W- s5 ?; C. q
  1000. pdo_mysql.cache_size = 2000
    ( f. q, c- L1 r5 R* r5 A; a% _4 O
  1001. ; q( a6 J0 t  k) Y2 _+ a
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in# z% _5 P7 Z# r/ d# E( G( k) p
  1003. ; MySQL defaults.7 s* Q. W. n% H$ S! z2 Y$ W
  1004. ; http://php.net/pdo_mysql.default-socket
    - |& u) [2 @% Z+ ~' I* x
  1005. pdo_mysql.default_socket=
    : B3 G, j! S/ ?) G1 |4 Q& @
  1006. 6 @6 {; `& K0 c# r! R1 T
  1007. [Phar]6 S) I4 g) s+ h% r0 ~
  1008. ; http://php.net/phar.readonly
    ' _" U4 j, D6 W# @  u" i1 f6 e
  1009. ;phar.readonly = On
    9 Q' M6 C* V# o$ M# B" o

  1010. 3 x8 L# n# L% Y  K
  1011. ; http://php.net/phar.require-hash: d: ^8 t- w' E8 g8 ]( E$ J& q
  1012. ;phar.require_hash = On' W4 q( L- {5 ?4 V/ Q# N* @& C

  1013. ) }6 ?% W, K! W' c7 p2 ~" i2 y$ ]
  1014. ;phar.cache_list =3 V9 q# t6 \& w0 o' E% l# Q7 B
  1015. ' j. |5 S' Z! B1 |2 q, V! \/ Q+ T
  1016. [mail function]* ?; x/ k& q1 D3 B2 N
  1017. ; For Win32 only.
      i! \9 ]% c3 i4 H3 w3 {) M
  1018. ; http://php.net/smtp, p6 b% L" U( d2 W6 o+ {  g1 [
  1019. SMTP = localhost
    - l3 T0 R! ^3 G! o
  1020. ; http://php.net/smtp-port- T9 w3 l" X. E- {
  1021. smtp_port = 25
    ! }. u5 E5 l. [8 A& h  D
  1022. 9 ], \2 |) o* v1 P3 ?
  1023. ; For Win32 only.
    ' B' _. N+ C* ]7 b
  1024. ; http://php.net/sendmail-from- R5 v2 p# \; N$ k/ J
  1025. ;sendmail_from = me@example.com
    2 D2 o% t6 ?2 q. k* d

  1026. $ D5 m8 x( {$ Y) y2 v) ^7 Y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    * b! W0 ?; J3 z
  1028. ; http://php.net/sendmail-path
    ) U7 y- t' }9 I
  1029. sendmail_path = /usr/sbin/sendmail -t -i. c) [( o( @' g$ q7 k/ N

  1030. 8 u5 F0 u1 g: H3 Z3 ]2 P
  1031. ; Force the addition of the specified parameters to be passed as extra parameters  {; o" k! V. W& I! H
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ; |. V3 c% a7 z) U! E1 U3 ~
  1033. ; the 5th parameter to mail().
    # S$ N8 M' m/ w* M/ y
  1034. ;mail.force_extra_parameters =
    4 B% s6 |1 Y& N/ Z$ Q4 l  z
  1035. ( h; N6 m; N* n- S6 Q
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - r! S0 H, n* t. J
  1037. mail.add_x_header = On
    ) W( I: O. i% f2 H$ N! B

  1038. + m5 U& R" B3 n: q2 X3 a
  1039. ; The path to a log file that will log all mail() calls. Log entries include; l7 m' S; C, d# ^7 }, r
  1040. ; the full path of the script, line number, To address and headers., k7 c5 ~' \) E$ z( ^
  1041. ;mail.log =
    5 F7 }7 h# |% l' k. z; o
  1042. ; Log mail to syslog (Event Log on Windows).
    ) H9 p2 N, P$ r
  1043. ;mail.log = syslog
    # D) F0 u1 h2 I3 o
  1044. * m/ ?7 ^% ^; r8 K4 U+ [
  1045. [SQL]3 a* s7 d3 d0 D- R
  1046. ; http://php.net/sql.safe-mode4 ~8 Y7 _/ w: `
  1047. sql.safe_mode = Off
    # R5 f# c; N* T; f" i' W( A2 J3 W
  1048. * x; O; d& O3 V& p" y" X/ D- t4 m
  1049. [ODBC]
    ! {) r5 a/ x; T
  1050. ; http://php.net/odbc.default-db
    / ]4 s# Y/ a( u* k
  1051. ;odbc.default_db    =  Not yet implemented
    " }; X4 w" M- ]$ t1 [
  1052. 3 `  \2 w' u; l+ T: `: ~
  1053. ; http://php.net/odbc.default-user% q0 Z0 i5 s) M/ j5 a5 \/ d
  1054. ;odbc.default_user  =  Not yet implemented$ P2 H7 G$ R7 `" a! u" Z$ O

  1055. 6 |) i7 z4 m, V, G' l3 k/ h8 W
  1056. ; http://php.net/odbc.default-pw% }  f! |4 @5 B0 I0 u
  1057. ;odbc.default_pw    =  Not yet implemented
    % j+ R+ P! q5 e9 N' L' K, b3 t

  1058. 1 ?8 F6 _+ y$ e6 y+ s& y
  1059. ; Controls the ODBC cursor model.
    . l" a2 C7 s- h; y
  1060. ; Default: SQL_CURSOR_STATIC (default).
    4 ]# B3 `3 V* U8 l
  1061. ;odbc.default_cursortype6 U4 y  u9 y2 c% Q) b  n

  1062. * A& S2 ^/ i% O- `
  1063. ; Allow or prevent persistent links.& C' m. W; I( S) a- Q
  1064. ; http://php.net/odbc.allow-persistent
    9 R7 }$ d1 p( r: K
  1065. odbc.allow_persistent = On) m: c! M) _0 L. K+ |+ C
  1066. 8 x" n+ @) y) a& w6 z  \' h
  1067. ; Check that a connection is still valid before reuse.
    1 d1 ]: M$ ^1 q3 o- t
  1068. ; http://php.net/odbc.check-persistent) U/ }, z* V2 Y8 S
  1069. odbc.check_persistent = On
    . H/ c* E& n1 r; p, E4 ]+ T
  1070. ' W9 N" a" k6 Y' ?. K( s4 X
  1071. ; Maximum number of persistent links.  -1 means no limit." O9 S0 {# ?! a1 K2 _* A4 l
  1072. ; http://php.net/odbc.max-persistent
    & X9 \+ `9 ~5 F5 A3 }5 e: o
  1073. odbc.max_persistent = -1
    " G+ p* ^. f4 M

  1074. 9 _/ w! s! \' N0 @" @9 h
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / ?6 z( P; g+ Q6 v
  1076. ; http://php.net/odbc.max-links
    ! R+ L* o  j! H. g7 H, @
  1077. odbc.max_links = -1/ a7 O' M3 C& H3 c% O7 O

  1078. ' B) u/ z! C$ `" X( K# r+ v" A3 w
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ; `9 s- p! Q/ {  ?, \
  1080. ; passthru.
    0 Q2 \2 n8 X' A3 r. J# p3 Q% a) o
  1081. ; http://php.net/odbc.defaultlrl- ^. P" D9 V& T, M# E4 h
  1082. odbc.defaultlrl = 4096
    - m8 e! }/ A4 m
  1083. , u0 s& Z1 k+ g% K+ p1 j, L
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 g; G. u2 R# N* E5 E3 p9 n1 g5 R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 [$ B( m! p5 S3 e5 f
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 Q9 o$ S1 S$ [1 p9 B* [& ]
  1087. ; http://php.net/odbc.defaultbinmode, F0 y+ k% B4 G
  1088. odbc.defaultbinmode = 1
    & O$ |& u* C2 q3 ^9 K; j
  1089. , [# B/ s- M2 ?* Q
  1090. ;birdstep.max_links = -1
    + Q4 U4 Z/ [$ z& ^, p# R

  1091. : S, z) \7 k; [. y1 ^' m: f
  1092. [Interbase]
    * e- q( o* _+ c! F' l! C
  1093. ; Allow or prevent persistent links.& e8 e, C: p7 b8 I7 s1 f
  1094. ibase.allow_persistent = 1
    * s% M9 F  P* r6 f: [* `+ O
  1095. ' {( y) O1 L; f
  1096. ; Maximum number of persistent links.  -1 means no limit.
    0 C2 P+ I5 f3 t
  1097. ibase.max_persistent = -1  J. `! K0 e: }' J
  1098. 1 _, R* q- c3 d
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( K9 D, {# l9 {! K3 W* y
  1100. ibase.max_links = -1) q* H! ?" F( V; D; u- p0 t; S

  1101. * K: ~- X5 `% l' H* s; Q) f9 U
  1102. ; Default database name for ibase_connect().
    9 W& ^$ ?5 ^* J" D% L; q
  1103. ;ibase.default_db =
    ' {. X  T( ]+ l' `- h) x

  1104. / s. s, v, g$ _, F: d8 |
  1105. ; Default username for ibase_connect().
    ) q3 v+ o' ~1 r5 ~, `
  1106. ;ibase.default_user =
    , t5 ^. `) V, F2 j3 F
  1107. ( h! m1 ^8 l- P5 k
  1108. ; Default password for ibase_connect().
    ; s. P( P; N  T$ g) J
  1109. ;ibase.default_password =
    7 S+ P- U& q( |  m0 m% P- j/ y; f

  1110. ) N) ]2 w8 W/ N5 O. U
  1111. ; Default charset for ibase_connect().% g0 M, B8 E" Q. G; N7 S. A
  1112. ;ibase.default_charset =% e6 c6 E4 Y" L
  1113. 4 I5 v6 s0 H# O# [0 S
  1114. ; Default timestamp format.( a" J; \* L& i- G" e2 l
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , u' x$ R, o* F5 ?* w: U. Q& y
  1116. ' G, i$ ]( h% h
  1117. ; Default date format.
    - ^0 [! A% I7 s6 d4 r
  1118. ibase.dateformat = "%Y-%m-%d"
    0 L: t) s2 g* D- r+ T& @
  1119. ; _4 d( ^4 @% z& N/ C( `
  1120. ; Default time format.: U* o, o2 m1 q, ^  N8 E2 C0 S8 ^
  1121. ibase.timeformat = "%H:%M:%S"
    1 _$ s. l- k0 M! D( e+ k9 Y

  1122. , G2 h  B1 \& `
  1123. [MySQLi]( T# D2 C' f' F. _9 n" \
  1124. ) G0 j. [. A6 ?  D3 t
  1125. ; Maximum number of persistent links.  -1 means no limit.( |' f0 r. p' V# R
  1126. ; http://php.net/mysqli.max-persistent
    ( b1 ~, ~5 L( G+ H/ w
  1127. mysqli.max_persistent = -1/ p) E9 C! X6 t( [# q
  1128. , \1 b2 Z- y( k
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 G7 b) H3 g, Y) R" I
  1130. ; http://php.net/mysqli.allow_local_infile
    ' V/ V7 O. c" y
  1131. ;mysqli.allow_local_infile = On7 R! c* f3 P5 p5 C
  1132. : f4 S# V! C8 l+ _: A4 V6 G  M
  1133. ; Allow or prevent persistent links.: r% T( R5 B3 ^0 `) Y+ p
  1134. ; http://php.net/mysqli.allow-persistent
    * L# f3 ~' C8 L
  1135. mysqli.allow_persistent = On' g- q4 C1 X7 U1 {2 y# U- N. s# [0 ?
  1136. % `0 e5 {& I3 J8 \6 l
  1137. ; Maximum number of links.  -1 means no limit.7 N' v5 J& o4 J( `) t8 H/ Y$ E. H
  1138. ; http://php.net/mysqli.max-links
      `  [! W3 u# C) u4 k$ p
  1139. mysqli.max_links = -1& e) E/ a  w. P1 @. x

  1140. ' V  g( Q8 O  n" S1 F+ {5 u5 |
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ Z, Z+ Q/ J3 r2 e
  1142. ; http://php.net/mysqli.cache_size
    & f! W' M+ W0 ?  c# f
  1143. mysqli.cache_size = 2000
    9 C' @1 U6 [* x( R' s2 E

  1144. $ P, ]( v  X  s5 U  F
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use- H9 h" z6 R7 z+ g
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 K' \' L- H& M! l2 I0 t
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 |) G- n6 W& n8 ^# A. N2 p
  1148. ; at MYSQL_PORT.3 g* u" i8 ^# ^+ m2 b6 h
  1149. ; http://php.net/mysqli.default-port
    4 V$ C9 R! t5 V2 J& z
  1150. mysqli.default_port = 3306
    - ~* l7 `/ p: N8 Y
  1151. 8 Q6 ?: X$ S! M
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 Q' p! p9 k6 X3 a4 ~
  1153. ; MySQL defaults.
    : x, P( Q% A% f, K
  1154. ; http://php.net/mysqli.default-socket
    ; n/ v# j7 Z; I; O& C3 l
  1155. mysqli.default_socket =
    5 H: l$ z7 N& k; J2 H1 R

  1156. 7 |& f5 j) P  w* B" o
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 O: |& C+ M# U# A( e- V
  1158. ; http://php.net/mysqli.default-host
    0 Y, G& x0 M- F8 D
  1159. mysqli.default_host =0 h9 z) q1 t# L* K; f  w! e$ `6 {- ^
  1160. " P( w) t# T% V$ E& o
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) l0 g. r- |2 ]) Q# J( d0 o
  1162. ; http://php.net/mysqli.default-user
    5 v, D1 g# Z2 C0 j
  1163. mysqli.default_user =
    0 }' s6 v+ s2 N

  1164. 9 E6 w0 q0 x' F6 x
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 Z- R/ J- \: u6 H" D
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( [$ ~; K3 Y+ g4 |% N' [) \  G
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")8 W# i8 O( m6 j; Q# {; s
  1168. ; and reveal this password!  And of course, any users with read access to this
    / S) ~8 r2 h  A, }) Z$ F3 a( _) Y
  1169. ; file will be able to reveal the password as well.
    + X: |6 r% y+ f* a
  1170. ; http://php.net/mysqli.default-pw, L0 \0 Q& O/ x2 D+ I5 D
  1171. mysqli.default_pw =
    1 ~2 v( F' p  ]" t, k
  1172. 9 m9 O) ^+ F: }' S
  1173. ; Allow or prevent reconnect
    ' v- H* g5 m% |6 J- s8 ?! M$ X! M
  1174. mysqli.reconnect = Off% c9 y3 d; [; [/ U

  1175. & _" X% v$ n# G1 X- \4 ?5 D8 Z/ o
  1176. [mysqlnd]. z8 o/ b' F. j1 s0 h
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be# v: l5 F  l  i: ^. g" m
  1178. ; used to tune and monitor MySQL operations.# Y2 Y1 B+ z0 w" R, m$ L
  1179. ; http://php.net/mysqlnd.collect_statistics0 B( v" s3 {+ c$ g
  1180. mysqlnd.collect_statistics = On
      u9 [6 {% U4 F) k
  1181. 1 u7 ?7 ^1 b3 P" D8 Q
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 S+ H. j/ p& C9 K' W: E
  1183. ; used to tune and monitor MySQL operations.+ y; e: L6 `* F/ V
  1184. ; http://php.net/mysqlnd.collect_memory_statistics4 {* Y* l" [- J2 P
  1185. mysqlnd.collect_memory_statistics = Off; ^5 I( Y  v7 O+ I; D

  1186. 3 n# q# ^5 e" b: w9 g# X
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    8 d1 [8 W% T7 B4 a- S, K
  1188. ; file.
    ) z, T' a$ N2 ?/ F4 i
  1189. ; http://php.net/mysqlnd.debug
    8 G* A- t: L% P* H6 X; o
  1190. ;mysqlnd.debug =. o: c5 ?  \; K( V7 Q
  1191. 5 U0 a* \3 u: @
  1192. ; Defines which queries will be logged.0 E) h' }% [" n+ j6 B+ r' }
  1193. ; http://php.net/mysqlnd.log_mask7 R, W0 f% l6 p1 g$ f/ `, _. f
  1194. ;mysqlnd.log_mask = 0
    : E1 _$ u6 x. h

  1195. + I0 \" Y2 F. z/ p0 b# v& E4 t
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: x$ F  V7 W7 z: {3 R
  1197. ; http://php.net/mysqlnd.mempool_default_size
    + t3 O, G2 C  z, ?! J! a
  1198. ;mysqlnd.mempool_default_size = 16000
    3 G7 z( J" W0 U

  1199. 6 A- _% s. L& o
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    - ?! y# R" A, b$ b
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size: k% H5 `- o* f, R& I# `" i
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    . K- K" Y0 `& S: [

  1203. # l0 \' D. T  {4 U8 |9 [; M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    0 }7 S5 M4 U9 m, y
  1205. ; bytes.
    ! N4 g. F$ L6 r1 m
  1206. ; http://php.net/mysqlnd.net_read_buffer_size5 A7 \5 \  C3 Q/ K. o  D7 w, Q
  1207. ;mysqlnd.net_read_buffer_size = 32768
      X0 y( Y- l& R% X9 T
  1208. 8 x* z, D# y: H0 E: ^
  1209. ; Timeout for network requests in seconds.
    ' p  _% Q& U, {  [) f5 e
  1210. ; http://php.net/mysqlnd.net_read_timeout$ S! u6 g; n. w" B
  1211. ;mysqlnd.net_read_timeout = 31536000
    ( `' M5 X+ N: l0 i

  1212. ' G, s+ P3 Q4 o( U* T# r2 T
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA: ^0 Z& W, U# t$ i( `+ m) _: _
  1214. ; key.
    9 `9 ~& Y# N1 \1 }
  1215. ; http://php.net/mysqlnd.sha256_server_public_key7 d7 k/ R: y& ~4 T7 F) [
  1216. ;mysqlnd.sha256_server_public_key =
    , Q" \& c4 k0 Y* Y

  1217.   Q% Q+ R: ^, P5 s
  1218. [OCI8]
    ! t6 ]# c$ S0 o$ [+ @1 b' O& l- q
  1219. 6 u/ ?9 ?3 _+ b& Y- u* l' l
  1220. ; Connection: Enables privileged connections using external6 p' D( g6 g! Y; B, f7 E$ s4 s# V
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    3 X4 e' H6 T" O  b3 ?  B: Q
  1222. ; http://php.net/oci8.privileged-connect, [5 w3 Q: c- g1 a: Z: k, w
  1223. ;oci8.privileged_connect = Off
      U" b7 {- I8 }" M" N2 q. m  i6 m
  1224. 3 J) ?" I+ P9 w: v2 c
  1225. ; Connection: The maximum number of persistent OCI8 connections per9 P/ D! y2 r# U
  1226. ; process. Using -1 means no limit.
    6 f+ {% a8 i3 q( K' l) S8 C
  1227. ; http://php.net/oci8.max-persistent7 w, O% M* L- E) Q9 i6 W/ C2 e
  1228. ;oci8.max_persistent = -1. v' Z+ G, G7 v0 f! S1 u
  1229. " j( E/ ^, ~6 I4 {
  1230. ; Connection: The maximum number of seconds a process is allowed to) i8 y0 Q5 _/ R% E  r7 d" K( W
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ; T8 m- A! y& F% u$ F$ o; Z
  1232. ; persistent connections will be maintained forever.- T% r/ s& x( P
  1233. ; http://php.net/oci8.persistent-timeout+ @& `6 u6 K- [
  1234. ;oci8.persistent_timeout = -1
    6 \# L' k$ h- d
  1235. ( S: h! s" V3 `( ]* X( h0 |8 Q
  1236. ; Connection: The number of seconds that must pass before issuing a, x  ~- p# t2 `2 e
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) ?& p% y* d% R6 @. x
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 [. D2 ^8 v! l* ]$ Q% `- n8 X
  1239. ; pings completely.
    ; u# |* ?$ P- i! A- K* ?
  1240. ; http://php.net/oci8.ping-interval4 e) d1 @4 ]5 I# W3 W/ E
  1241. ;oci8.ping_interval = 60
    : u' y+ p7 Z0 r  R" p

  1242. & Y6 z5 @# c; J: c9 Q- ^! ?0 R
  1243. ; Connection: Set this to a user chosen connection class to be used
    " C" u' F* ^5 L5 B' j
  1244. ; for all pooled server requests with Oracle 11g Database Resident$ t9 l. ?/ @0 p" \
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" |: u! p6 F# d
  1246. ; the same string for all web servers running the same application,3 n1 K: N+ h7 I, ?0 B# T$ h
  1247. ; the database pool must be configured, and the connection string must- I5 k& I7 z2 a; b9 j
  1248. ; specify to use a pooled server.
    ; ?6 U1 ?4 r2 {( p
  1249. ;oci8.connection_class =+ A: {- R* q& \& J1 ~4 W
  1250. . F& U! j7 M4 O: z
  1251. ; High Availability: Using On lets PHP receive Fast Application; M/ h/ Q* T5 \% z- r) }6 q
  1252. ; Notification (FAN) events generated when a database node fails. The' V8 K4 F& k+ ]5 U
  1253. ; database must also be configured to post FAN events.* J1 L. I+ U! U% f
  1254. ;oci8.events = Off- ^8 i* A; g0 }# c

  1255. 0 S& ]( `" G2 i- N$ R* F: w
  1256. ; Tuning: This option enables statement caching, and specifies how
    0 O' M4 x1 H8 O8 {! h
  1257. ; many statements to cache. Using 0 disables statement caching.0 |2 N/ a( u# U, x& `3 p6 Y
  1258. ; http://php.net/oci8.statement-cache-size4 [) q- _' }2 x
  1259. ;oci8.statement_cache_size = 200 T7 J' j& o/ K" \/ ?( j% f

  1260. # E0 v# _# j1 V9 W  W1 |; f% C' O
  1261. ; Tuning: Enables statement prefetching and sets the default number of; X5 Z" \/ U9 n3 p( ~
  1262. ; rows that will be fetched automatically after statement execution.
    ; L$ u) d' Q: j$ r" n1 _2 w
  1263. ; http://php.net/oci8.default-prefetch5 B! q7 Y9 G8 m1 Z4 |
  1264. ;oci8.default_prefetch = 1004 W3 `8 r! z+ g; c7 U6 h2 D
  1265. 5 p' a# i( g2 @8 x  m
  1266. ; Compatibility. Using On means oci_close() will not close
    ; S3 g. O+ g7 A# y- V9 Y, A8 k, @
  1267. ; oci_connect() and oci_new_connect() connections.7 N8 Z& A0 U6 f- Q, k. ?- M
  1268. ; http://php.net/oci8.old-oci-close-semantics
    5 ]$ L8 t4 e3 \/ Z& H* J( w
  1269. ;oci8.old_oci_close_semantics = Off" h) Q% H/ \2 a" b8 k- U
  1270. + v9 R  w& ~! X* c& q9 |( U
  1271. [PostgreSQL]5 u) Y+ W' b) f1 r( q
  1272. ; Allow or prevent persistent links.# e5 v0 ]& R' b4 b
  1273. ; http://php.net/pgsql.allow-persistent+ V/ n4 {; G4 B' U2 V  ?* E
  1274. pgsql.allow_persistent = On' d( f6 m. b# W3 U6 l

  1275. % o1 f8 O$ E0 b) A% t0 e. b
  1276. ; Detect broken persistent links always with pg_pconnect().
    , A+ H; C( w( H  }8 Y2 K
  1277. ; Auto reset feature requires a little overheads.
    # p/ P/ p  }# a! n$ \
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , N' W& ?6 p' w8 B7 G. J
  1279. pgsql.auto_reset_persistent = Off; c1 b% L& ]/ X. U# Z3 m# J+ Q; w& j
  1280.   v( F0 X7 D! a" _
  1281. ; Maximum number of persistent links.  -1 means no limit.
    * T3 H9 ~* P! y, |
  1282. ; http://php.net/pgsql.max-persistent
    ! o( Z' H+ V0 P* d- a* W
  1283. pgsql.max_persistent = -1- k6 [6 g) S4 P2 T* C9 ?" W
  1284. . Z1 x7 w( ~# o+ O7 a
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ r# N2 {7 J8 R! a, ^0 ?, ^. R. p
  1286. ; http://php.net/pgsql.max-links7 t  `4 g1 b9 M# `
  1287. pgsql.max_links = -1- }* [& G, P8 j# ^
  1288. ' Y) ~, Y  K) b
  1289. ; Ignore PostgreSQL backends Notice message or not.
    6 x5 i( F' l5 B* T. z4 v2 r8 U2 j+ i0 D
  1290. ; Notice message logging require a little overheads.
      m% y+ r" H  f5 y
  1291. ; http://php.net/pgsql.ignore-notice
    % s% L. b# y( w( G
  1292. pgsql.ignore_notice = 0/ I9 K1 |1 b4 H# J/ h; H. h( d

  1293. # P, \5 ^: p' |* U
  1294. ; Log PostgreSQL backends Notice message or not." L% G( X/ F) v2 D+ a, i, j
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) |  T. _- L; f7 x
  1296. ; http://php.net/pgsql.log-notice
    3 \& `3 {, E* D/ I% W
  1297. pgsql.log_notice = 0! S" y+ f, z2 l# X* X+ L, S5 @
  1298. $ m6 }3 l7 G: S2 i) `! R+ f
  1299. [bcmath]
    $ f! `6 M0 N8 ^! h' V- i
  1300. ; Number of decimal digits for all bcmath functions.
    1 e: |8 F; [/ H1 f( m' X1 K+ Y$ s
  1301. ; http://php.net/bcmath.scale- m* L0 Y" F& z5 B  X
  1302. bcmath.scale = 0
    0 |6 R- C4 a" F, p4 J

  1303. # `& g! V0 R( O/ |4 a6 z
  1304. [browscap]
    % O# I$ e9 [/ J: J+ m, P+ z7 g
  1305. ; http://php.net/browscap3 S2 J! V. ]0 ?, K1 D
  1306. ;browscap = extra/browscap.ini& T. m% F3 N  d
  1307. / Q2 {) v2 C' N
  1308. [Session]  k' n9 r5 B* S) v8 _3 ?% L) W
  1309. ; Handler used to store/retrieve data.
    . c9 K3 a, P3 n  R
  1310. ; http://php.net/session.save-handler
    ! {! F5 i9 O5 N3 K: x- l
  1311. session.save_handler = files
    ( r5 D2 K2 O) o% ^

  1312. 8 M) n+ c. K6 m+ {- s( k& l. ?
  1313. ; Argument passed to save_handler.  In the case of files, this is the path3 _+ l! p9 _$ L% H6 \' K
  1314. ; where data files are stored. Note: Windows users have to change this. c6 {, w8 Z" ?. e4 v
  1315. ; variable in order to use PHP's session functions.7 V) r3 d9 Z' e* K
  1316. ;
    : P' W/ U1 W) z" ]  I3 H. P
  1317. ; The path can be defined as:) l: N% l2 s0 q6 W
  1318. ;
    ; \/ |3 X1 G! E. d6 W4 |; k, o
  1319. ;     session.save_path = "N;/path"% j% z# J) f$ u, V4 g# P
  1320. ;( e/ h% E* K4 N9 @% R( t
  1321. ; where N is an integer.  Instead of storing all the session files in: q, U  J1 Y, `. U  P6 I% Q5 l
  1322. ; /path, what this will do is use subdirectories N-levels deep, and: b& _, s! z# _. @' Z0 k
  1323. ; store the session data in those directories.  This is useful if
    ' \6 k. _# l$ q1 C/ u  b$ [$ k
  1324. ; your OS has problems with many files in one directory, and is
    $ H3 l# O$ Y. r$ x6 Q' `0 A
  1325. ; a more efficient layout for servers that handle many sessions.
    " B5 v0 d! o- O2 C& }0 E2 u. W
  1326. ;
    5 B6 z7 i7 i: Z" d  j
  1327. ; NOTE 1: PHP will not create this directory structure automatically.3 p0 @9 U5 {7 F* ?" E
  1328. ;         You can use the script in the ext/session dir for that purpose.6 w" g6 @) O' y. d
  1329. ; NOTE 2: See the section on garbage collection below if you choose to0 ]( h- g% k+ |
  1330. ;         use subdirectories for session storage/ ^' `' _0 P# a" C4 w& a9 e
  1331. ;& j2 O( S) ~' g
  1332. ; The file storage module creates files using mode 600 by default.0 G( ]: ^2 s$ ~; n- z
  1333. ; You can change that by using: D& Y9 n2 L3 }9 t. S# ~
  1334. ;" ~2 i$ n/ ?; t) x" X
  1335. ;     session.save_path = "N;MODE;/path"+ x" A8 W* X  _( h* w$ P! m, y
  1336. ;
    1 k, h: z1 R! w* Q  T/ J
  1337. ; where MODE is the octal representation of the mode. Note that this5 Q: _- [4 ~+ q9 Y
  1338. ; does not overwrite the process's umask.8 [! P4 ?& u- I; K/ e
  1339. ; http://php.net/session.save-path
    - G$ _2 y, |- `6 `! Y
  1340. ;session.save_path = "/tmp"
    5 i* t) F8 u4 J! T
  1341. ) N% |  k5 A2 V# Y' w( V
  1342. ; Whether to use strict session mode.: l2 ~/ E; a2 R5 ?
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    * ?9 j& |6 {6 s
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ u# k9 F7 D& O
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ) Q& `: g. f- w! q/ [
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged., K3 Z/ f+ v, q! \- T1 s' q
  1347. ; https://wiki.php.net/rfc/strict_sessions0 w( B! d  r( N* x7 ?0 t
  1348. session.use_strict_mode = 09 ]  l/ u" D- z: g
  1349. * W. Z/ }; b+ @9 t- Q* G9 R
  1350. ; Whether to use cookies.4 g5 S2 A8 b- P2 E* O
  1351. ; http://php.net/session.use-cookies
    ; ^2 \8 a, ]# ^& V
  1352. session.use_cookies = 1- ^# C: K2 @# L8 R$ v8 \, F( C2 G

  1353. * U& k6 q5 b* |% s# j
  1354. ; http://php.net/session.cookie-secure
    9 r3 L3 |/ s" L4 V
  1355. ;session.cookie_secure =
    / c5 }; d. A& Z. [. o1 A$ M
  1356. ; q2 I0 e" u) z. q  _( {/ g
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . k5 y5 U/ I! ~$ [+ p
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ' j6 i7 U, P% r+ q, N
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . a' J% I- K6 t1 T9 h& q2 i* f% N
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start./ }; k0 o9 g) }. Z) Z7 }( ]
  1361. ; http://php.net/session.use-only-cookies  |' a5 @0 M/ X1 |( O
  1362. session.use_only_cookies = 1
    ( R" @% k, ~% Z) o4 w. t3 P* z

  1363. # w  n& e# i  V' b4 T
  1364. ; Name of the session (used as cookie name).7 ~( j1 S( R# l+ o% Q& C
  1365. ; http://php.net/session.name
    & m  a. j. h( W. {& o# \
  1366. session.name = PHPSESSID
    ( P' o+ C8 f) I6 `$ ]
  1367. 1 r( E* b9 v, L9 r
  1368. ; Initialize session on request startup.* e* F) J! B! ~/ `9 h9 Z: A
  1369. ; http://php.net/session.auto-start
    , i3 `5 [9 s9 N8 g* P
  1370. session.auto_start = 0
    ' ^$ G6 g3 g2 [  X% k) |! k
  1371. 9 J1 v8 b" D1 \& E$ J- F" t/ S5 o
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & N9 ~$ i5 y, N1 A4 L
  1373. ; http://php.net/session.cookie-lifetime$ S# P0 `9 [* S& L6 d
  1374. session.cookie_lifetime = 07 V9 ?7 |2 X6 f+ d
  1375. / D4 Q! g# B, I
  1376. ; The path for which the cookie is valid.
    4 \( d1 y, C; T, ~
  1377. ; http://php.net/session.cookie-path4 K# k. r" C* q( M! t% D. r
  1378. session.cookie_path = /
    0 U! H( N- r/ {8 f

  1379. 3 l" ]3 [' h8 |+ n. w1 u' L( b
  1380. ; The domain for which the cookie is valid.8 O" G3 ~, ^7 ]8 y" }9 b
  1381. ; http://php.net/session.cookie-domain9 Z' F4 k+ }% m
  1382. session.cookie_domain =
    8 e  \5 V; _% G5 }' q. t4 ^

  1383. 6 J3 B0 P% n1 e2 U/ f$ H2 t
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ) z9 p2 X: O/ A9 v
  1385. ; http://php.net/session.cookie-httponly. E) J5 M8 B9 \
  1386. session.cookie_httponly =) g7 o; L& Z8 T( l

  1387.   g1 r9 u' R5 ^) v+ B
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.; Z6 d" G& ]: G$ R# k( V
  1389. ; http://php.net/session.serialize-handler, m) X6 I6 l0 L! @! b0 w8 e' T
  1390. session.serialize_handler = php
    ( E& u* v2 S* a/ Z* d
  1391. 7 J0 o, |; R2 V! u
  1392. ; Defines the probability that the 'garbage collection' process is started8 j) P- ]. D' `7 X
  1393. ; on every session initialization. The probability is calculated by using
    . l4 S( e) ~7 [  Z$ k
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 T5 q2 O( T; C; G' @7 A' I0 [
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    2 t3 C' p9 o  L7 L
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    / B8 R: y, {# Z, Y! E2 p+ M! E
  1397. ; the gc will run on any give request.
    . D( M9 S/ w- g" K
  1398. ; Default Value: 1
    2 O/ m9 x# `+ m8 t
  1399. ; Development Value: 1
    ' J) v% _; f5 q4 c, K& B7 R5 J
  1400. ; Production Value: 1* }. t4 G1 {( E2 }
  1401. ; http://php.net/session.gc-probability
    ! [1 U. \# m* Q% N
  1402. session.gc_probability = 17 I: y$ ?; @) w* Z9 F" s- @; g. }

  1403. ) N% b8 S6 ]% M4 Y2 y; }
  1404. ; Defines the probability that the 'garbage collection' process is started on every6 c1 A+ R- j1 C& w* ^6 |
  1405. ; session initialization. The probability is calculated by using the following equation:) \) v, N5 \$ x3 a6 C% _) a
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- J) f4 F$ ]5 T& ]5 @' M) U
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ x$ X3 r9 q5 E
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) P( n' S: z. P5 D. O9 R% u
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    8 s3 g" B# s' Z5 @' P) C
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; I$ s6 V) m8 k+ l$ W
  1411. ; this is a more efficient approach.3 l7 S- O9 X/ W) k) h8 I7 b: U
  1412. ; Default Value: 100
    $ P4 k* C* z+ a! r; z( V4 P
  1413. ; Development Value: 1000
    / }  I0 r& X6 @
  1414. ; Production Value: 1000
    8 @7 \  }) H6 s: r0 I
  1415. ; http://php.net/session.gc-divisor2 G5 Q* |& a) M; n1 _6 I, D5 X
  1416. session.gc_divisor = 1000
    2 Q  {, Q, N" C  e7 w

  1417. 0 i/ l; u; M6 N( i
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 I* \; a) Q4 c" h# {1 c
  1419. ; cleaned up by the garbage collection process.
    7 f$ C% {9 h6 j& y* |3 V% I
  1420. ; http://php.net/session.gc-maxlifetime: O# X# W+ k; Z* p/ S7 J
  1421. session.gc_maxlifetime = 1440
    0 `& S. H2 p, ^
  1422. ! J. Z" Y7 H* x% w: M2 q
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    . w- g* Q' r+ @' W8 ~
  1424. ;       (see session.save_path above), then garbage collection does *not*
    & p+ K+ Z8 t1 Q' R
  1425. ;       happen automatically.  You will need to do your own garbage
    " A: `1 K4 [3 A4 M0 v
  1426. ;       collection through a shell script, cron entry, or some other method.$ I: K% o/ O: M% j
  1427. ;       For example, the following script would is the equivalent of" ~2 p3 C0 |) _9 K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- S$ P( P% Y% F$ K& M$ i6 ]6 Q1 [; r
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( e2 a# b4 u; Q
  1430.   k3 o7 p: y, t. |9 P
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.# g9 Z  ^7 e% Z
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    2 ~9 T9 B. O2 x+ u; [5 @! u
  1433. ; considered as valid.. ~" Z! @2 f& d; B. Z6 T* M
  1434. ; http://php.net/session.referer-check
    2 D- ], A+ U1 o! X  u
  1435. session.referer_check =
    4 S1 l% R; r& W/ `5 @* O
  1436. ! @, }' m* C# M: f
  1437. ; How many bytes to read from the file.7 k5 d/ Y5 V. A' p' B! o' J
  1438. ; http://php.net/session.entropy-length" [- ^7 L$ v1 G9 k
  1439. ;session.entropy_length = 326 a0 T- Z9 C+ \
  1440. $ \: v6 ~# |+ \7 N8 T2 j
  1441. ; Specified here to create the session id.
    + Z  n: D. N6 R, A: Y1 k) C0 f+ U2 l, [
  1442. ; http://php.net/session.entropy-file
    + w' M5 o" G7 G8 H/ T
  1443. ; Defaults to /dev/urandom- H' |7 G1 C( v- n
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom2 N* F$ C8 {# G  `
  1445. ; If neither are found at compile time, the default is no entropy file.! G! _9 U3 {! r# P
  1446. ; On windows, setting the entropy_length setting will activate the
    ' S( m! X+ ^% v4 U3 S" m. w: z
  1447. ; Windows random source (using the CryptoAPI)1 e$ q1 Z' F: R) y
  1448. ;session.entropy_file = /dev/urandom
    3 o; L8 o6 b& {) i6 c( |

  1449. ( T0 q# ~- ]+ r% ?2 a7 g, I
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 r, G9 f! V% U0 e3 A! _# {4 _
  1451. ; or leave this empty to avoid sending anti-caching headers." J  d( \- u3 A
  1452. ; http://php.net/session.cache-limiter
    0 o- D# ?+ ^+ x1 `
  1453. session.cache_limiter = nocache3 e, j2 v8 |- R5 h7 s$ M

  1454. 9 L- [/ e! Z' h" r" J5 P4 H7 b: B
  1455. ; Document expires after n minutes.  X) y3 J% P. h
  1456. ; http://php.net/session.cache-expire
    0 X3 q$ h$ C: y- F* G( A
  1457. session.cache_expire = 180
    " b& b" ?) e' s

  1458. * f/ ~. s! i5 ^8 @+ r
  1459. ; trans sid support is disabled by default.* A5 H4 [1 e% X% b4 W
  1460. ; Use of trans sid may risk your users' security.
    ( T' ?% j2 M$ p2 ^) X
  1461. ; Use this option with caution.
    : X* _2 n) G7 p: U
  1462. ; - User may send URL contains active session ID. t8 J% P- R, }6 L% ^9 U
  1463. ;   to other person via. email/irc/etc.
    ! J# c) }# e% |% Y# W& C1 F# [
  1464. ; - URL that contains active session ID may be stored
    8 X2 d' O$ e0 E! A8 K( P
  1465. ;   in publicly accessible computer.+ w1 r+ P- k2 z. \
  1466. ; - User may access your site with the same session ID& E# Y, P1 Y6 g% z9 \
  1467. ;   always using URL stored in browser's history or bookmarks.3 }3 ?7 ^7 ]' K6 u; b
  1468. ; http://php.net/session.use-trans-sid
    % J- {' E' F3 R$ G3 M3 t  P7 G
  1469. session.use_trans_sid = 03 j" c. n  N! t% q0 Z" Y

  1470. / s% s* T. ~# p% L5 h
  1471. ; Select a hash function for use in generating session ids.
    . U( b0 H' @7 h" B$ t
  1472. ; Possible Values
    1 F% F4 ^# d: p0 E' I
  1473. ;   0  (MD5 128 bits)2 F# h2 W" h9 P* v
  1474. ;   1  (SHA-1 160 bits)
    * u$ o. T3 l% u, x& V+ p9 A8 B4 x
  1475. ; This option may also be set to the name of any hash function supported by7 f8 ?) k0 D1 @& I
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 y5 R- v  u! j6 j
  1477. ; function.8 y/ T- |0 a9 d/ @, P8 I4 D
  1478. ; http://php.net/session.hash-function; N( _, K! i/ S+ Y& |% f
  1479. session.hash_function = 0
    : ]7 [' l3 ]* e" L

  1480. 3 _5 k. m6 l4 |' I! i/ |
  1481. ; Define how many bits are stored in each character when converting. u0 w) h8 w. W: f/ Z! E" c
  1482. ; the binary hash data to something readable.
    0 d$ I1 B+ @1 o* D! @
  1483. ; Possible values:& F7 O/ E0 q  _. [3 D& R
  1484. ;   4  (4 bits: 0-9, a-f)
    9 y: Y  Q- w+ x( O: ^1 D/ K6 Y
  1485. ;   5  (5 bits: 0-9, a-v)
    ; @! x4 v+ K) L. j' T/ }( ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); O3 J, J1 Z& `8 V" j3 Y% I
  1487. ; Default Value: 4" _! ?5 l' v) O4 x
  1488. ; Development Value: 5
    6 A9 L4 @: _) n( b; O% M" q
  1489. ; Production Value: 5. L1 x4 ~$ c& q- e9 k0 T
  1490. ; http://php.net/session.hash-bits-per-character6 O) C, O  `' }/ }& k0 l$ u
  1491. session.hash_bits_per_character = 5* C7 X: v' b: l: ]( H
  1492. : @! v5 j" ?. N. h5 T# c9 w
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ r( c, {* N0 j
  1494. ; form/fieldset are special; if you include them here, the rewriter will% u1 s" W0 ]. I6 X, E3 G, [
  1495. ; add a hidden <input> field with the info which is otherwise appended
    2 n/ H0 e4 S; r4 V9 c1 M
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.4 W2 ^5 Y& ^% F7 l
  1497. ; Note that all valid entries require a "=", even if no value follows.
    + V! d8 z. v4 l2 I. p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' A# ]' \4 @0 m) l$ h9 x3 U6 ]- k
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& L. S8 T3 n* Y( t
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 g8 a6 N5 [$ \8 v1 L
  1501. ; http://php.net/url-rewriter.tags
    5 Y+ D1 r2 p% L2 r+ I- T
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"6 K: f5 _4 W/ D  C8 o
  1503. 8 e$ i7 R, Y: i) g4 [/ h
  1504. ; Enable upload progress tracking in $_SESSION
    - Y# Z& A. O; W/ e% y9 F8 M
  1505. ; Default Value: On
    * z) l% I3 S( a* }
  1506. ; Development Value: On
    5 E: J4 r, ^, `$ Y9 J7 X! F% F
  1507. ; Production Value: On
    2 b" B& G4 l% q: E+ G: o6 U! n
  1508. ; http://php.net/session.upload-progress.enabled
    ' E8 x" C8 n4 V5 q4 R2 D( h; F* \
  1509. ;session.upload_progress.enabled = On$ Z3 X& ]* q! ^2 ]# [3 |1 Q& G

  1510. ' m# Y* p  \! j/ l. c
  1511. ; Cleanup the progress information as soon as all POST data has been read
    * c: T0 X* x7 z! V6 j4 c7 @/ }
  1512. ; (i.e. upload completed).
    " h  O6 f3 B' T- f7 u% u( u) G
  1513. ; Default Value: On
    6 R1 E% S. R5 I  O
  1514. ; Development Value: On/ j: w% z: H. Y! @! k2 P& Z
  1515. ; Production Value: On5 Y( H+ s) z+ L) y
  1516. ; http://php.net/session.upload-progress.cleanup: [  r) a6 m) l  t$ }
  1517. ;session.upload_progress.cleanup = On
    ( @6 N9 F0 [' k. Z  i  r
  1518. 1 o& h3 G$ l0 a4 x/ @+ u3 s# K+ N
  1519. ; A prefix used for the upload progress key in $_SESSION0 y' A2 p' G* Y
  1520. ; Default Value: "upload_progress_"
    6 e4 w' y, K/ K( K$ A& e4 I
  1521. ; Development Value: "upload_progress_"& {% b+ A2 h3 V" [- ?% T! X) X
  1522. ; Production Value: "upload_progress_"& o% i4 E+ F+ W- g  ^' ~" l9 O5 B7 C
  1523. ; http://php.net/session.upload-progress.prefix2 u7 H& V) i: F) ?9 X2 h
  1524. ;session.upload_progress.prefix = "upload_progress_"$ e/ e  w4 v1 z/ k' |

  1525. $ b( Z, ?" g! L; {- z
  1526. ; The index name (concatenated with the prefix) in $_SESSION- \! `( I; K8 o1 v2 B
  1527. ; containing the upload progress information6 @% d: a3 a& c
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& ^* L5 G0 a6 f) v, _
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 \- n/ t! B$ a- h+ D
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 e! u# W) e8 a; O9 r
  1531. ; http://php.net/session.upload-progress.name
    / M- [' i* B5 t) u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"" v. @/ V# ^; {4 r) [

  1533. ! A' i& o. f$ A8 h( b
  1534. ; How frequently the upload progress should be updated.1 J+ y( J' ]* r% [: ]* C  [7 r
  1535. ; Given either in percentages (per-file), or in bytes" Q: a8 B0 M! f2 {0 U# W5 K! Q
  1536. ; Default Value: "1%"$ G4 g! J, k& M0 \; O; N
  1537. ; Development Value: "1%"2 [, [0 i" [6 p; E+ `8 o: e
  1538. ; Production Value: "1%"* Y/ _. h0 U( {; _5 D1 W# l% H, I$ C* C
  1539. ; http://php.net/session.upload-progress.freq! `& y) l  @) X) s- P5 ~
  1540. ;session.upload_progress.freq =  "1%"8 D; \5 ], }0 l0 [

  1541. " G- Y' C" v6 V; q! y! E$ a
  1542. ; The minimum delay between updates, in seconds( Y0 A4 @3 f, m& b; {
  1543. ; Default Value: 1
    % o% C+ D" l$ ?2 h% x) f/ T
  1544. ; Development Value: 1
    - t7 A6 H* J) ?9 X
  1545. ; Production Value: 12 Q  ]6 j  `* a7 r5 e# V9 V
  1546. ; http://php.net/session.upload-progress.min-freq
    , t+ X/ T+ `9 T6 [% O) K
  1547. ;session.upload_progress.min_freq = "1"
    , e% r3 k/ o% j: V( ?  G5 A

  1548. 4 ]. o  X- `; v
  1549. ; Only write session data when session data is changed. Enabled by default.
      \* ]' G' u. Z1 i
  1550. ; http://php.net/session.lazy-write
    9 b/ Q$ w. @* ?" G* o+ k6 s. M+ I+ }
  1551. ;session.lazy_write = On+ N3 E" C0 t' L8 b9 b0 G* n
  1552. + N  ^0 u1 v  U
  1553. [Assertion]
    : p' j% B3 }4 C5 q, t
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    8 C% |2 e- \  Z, u
  1555. ; -1: Do not compile at all6 P! O, F2 R2 _: z; _, D! [
  1556. ;  0: Jump over assertion at run-time
    . P7 C6 O% h: U6 D4 o- v% z. z
  1557. ;  1: Execute assertions
    ( I7 J8 x5 f: S! e& v5 v. @
  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)4 H7 C6 C5 K9 m/ Y) z3 x
  1559. ; Default Value: 1& [+ L! z! }; K/ q# M" t: N
  1560. ; Development Value: 1
    . k/ E% i/ u8 c/ D6 G6 p
  1561. ; Production Value: -1
    7 u% d/ S) m9 d1 F2 b% N3 [# [4 a
  1562. ; http://php.net/zend.assertions
    % q" ?& [/ c" O0 @
  1563. zend.assertions = -18 c3 I! Q" W7 C) M/ _+ s. P% A
  1564. ( N! I. [8 P, W$ K
  1565. ; Assert(expr); active by default.+ H8 A; y, V# v% A
  1566. ; http://php.net/assert.active- Q; o7 o/ W5 ^+ O) C, h
  1567. ;assert.active = On
    / \: {, @" n4 I

  1568. 3 R9 S3 B( o) k" o; A1 q: y
  1569. ; Throw an AssertationException on failed assertions
    ) m/ H+ w$ q7 x9 }4 A! Z9 Q  h- V2 A
  1570. ; http://php.net/assert.exception
    5 `" n; {$ ^# M! D( Q
  1571. ;assert.exception = On4 J+ a3 [, s% u3 y
  1572. 4 l0 ]; q, y8 p3 U8 d- O
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    9 X& D2 E; m7 G& q" \
  1574. ; http://php.net/assert.warning
    7 P! T( K9 Q, m0 `' T. _" K
  1575. ;assert.warning = On
    - b( w: c5 [8 i' W9 r2 K; x

  1576. $ K% G- {0 `5 D( g
  1577. ; Don't bail out by default.
    # F1 M. P4 m) c0 F$ g* i# f5 c
  1578. ; http://php.net/assert.bail
      O" K; Z" W: f2 V" q; P
  1579. ;assert.bail = Off
    3 [4 a7 t! L2 o( m) b8 x

  1580. . g% Z7 J% ~+ Y5 _
  1581. ; User-function to be called if an assertion fails.  p# M( [1 E- O' C3 ~
  1582. ; http://php.net/assert.callback
    9 g: {3 I5 L7 S" n+ N% J
  1583. ;assert.callback = 01 w! L* T7 [' d) y" j0 d. T
  1584. 9 k0 n- m. Q, n8 j* M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    : ?7 ^) t8 c* s$ C* ]- W
  1586. ; error_reporting(0) around the eval().! \# ]2 w+ u7 S! k! j1 O
  1587. ; http://php.net/assert.quiet-eval
    5 }5 ^! \3 G3 d* }% D
  1588. ;assert.quiet_eval = 0. ?4 ~8 q5 w: l! d
  1589. + b8 _7 I+ b6 u" z0 r0 v3 o
  1590. [COM]
    ; ?6 J# y, m8 F, Q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs& O4 z9 [6 [4 Q
  1592. ; http://php.net/com.typelib-file
    9 ^" q/ T/ B& _/ F
  1593. ;com.typelib_file =
    4 D+ B' H1 w: \5 M9 j: B

  1594. 0 M: ?6 F8 y$ l1 P4 \
  1595. ; allow Distributed-COM calls
    : K- m" @  m8 l- F2 r9 y) G! E: S* ~. M
  1596. ; http://php.net/com.allow-dcom
    4 E* D0 C5 `. B
  1597. ;com.allow_dcom = true
    $ J. ~# H+ w! U2 i& S

  1598. # [# ^6 r% c/ Y/ ?
  1599. ; autoregister constants of a components typlib on com_load()
    2 s, E; u; e$ n- [( {2 o
  1600. ; http://php.net/com.autoregister-typelib
    0 N: J) b: @9 c; x9 `
  1601. ;com.autoregister_typelib = true* s& x# G7 a. g) A0 X! h) @0 o
  1602. 2 F, J, J  a$ A* ?% C
  1603. ; register constants casesensitive
    ) w0 n6 k& i$ W
  1604. ; http://php.net/com.autoregister-casesensitive6 [7 q+ Q8 a, \6 S% u) x: u5 Z
  1605. ;com.autoregister_casesensitive = false
    / h9 ]! \0 z/ _& Q, R, M

  1606. * O, `" s: c* F% J$ a" T
  1607. ; show warnings on duplicate constant registrations
    0 g- g- I; o6 E& o
  1608. ; http://php.net/com.autoregister-verbose
    4 N, ]- z9 `( e7 v' U
  1609. ;com.autoregister_verbose = true7 X" ]+ E( a. C  E# ~
  1610. : S& S' D( S7 X8 A$ u/ i: N! O# z+ \- y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.4 ?! V/ A6 Y$ T; G+ o; \$ X! c; P4 @
  1612. ; Default: system ANSI code page
    ; R+ q+ {* ]1 O( F
  1613. ;com.code_page=
    7 {" I: g& w' B- w9 M  H

  1614. 3 z- D7 q6 \! o( D8 i, X0 Q; e
  1615. [mbstring]
      x0 X$ ]; `% B
  1616. ; language for internal character representation.
    / b7 G- y: x4 h
  1617. ; This affects mb_send_mail() and mbstring.detect_order." ?- U3 L' A; ?  d8 \
  1618. ; http://php.net/mbstring.language7 E1 }7 R; G  l- }1 ^0 r8 C, G2 }7 o
  1619. ;mbstring.language = Japanese
    7 \- j! Q0 v& D* E* V+ ]9 e

  1620. # T/ M% D0 u8 z' i9 U. `
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 u, H5 x) R: b3 y/ N
  1622. ; internal/script encoding.2 b5 r3 Y3 p$ @/ ~4 Q- p2 ]
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 G$ [3 i! L- o, d! b; J' ^
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / u$ N% `8 v" H
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 y' F+ V: y: l
  1626. ;mbstring.internal_encoding =
    # m, ^  j6 p/ @8 l% t) w# W
  1627. . u: L% h; ]$ d, n
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.2 x, D/ H* \! l) W
  1629. ; http input encoding.$ }0 N& u9 x7 s$ q3 \# z# r6 ?4 D7 Z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.; Z& N$ Z9 W5 x8 r, S. @$ d; _
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.' W4 j* Y3 C: D( k, I+ H) |
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) R% u% \( b1 e7 r
  1633. ; http://php.net/mbstring.http-input5 R3 X3 g( J3 i4 q- J$ @
  1634. ;mbstring.http_input =
    + o- Y( a1 _9 B2 f9 L

  1635. . \1 Z  \8 w" g6 L7 `
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.4 U: k' _0 ?! O
  1637. ; http output encoding.
    + j& V5 x2 b5 x4 ]
  1638. ; mb_output_handler must be registered as output buffer to function., B. C* q; L( p' ?5 o6 @, H, Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 J2 M: y8 S. P1 C/ i
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' W# f3 U4 \) M1 W: W
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    8 b0 @* y. ^1 W8 B4 {# W. L
  1642. ; otherwise output encoding conversion cannot be performed.8 y$ N5 \% y$ E( G$ G! n" I; Z
  1643. ; http://php.net/mbstring.http-output- F/ P+ I+ s3 l, }, W% q5 w- ^
  1644. ;mbstring.http_output =
    + v, b6 ?0 n5 X" P

  1645.   d  d) g. H) r" u$ }0 f" Z
  1646. ; enable automatic encoding translation according to
    2 `. W" N' `/ Z8 I; A
  1647. ; mbstring.internal_encoding setting. Input chars are; I7 a1 k  D. X7 w* F  a
  1648. ; converted to internal encoding by setting this to On.
    0 T9 b6 n1 I) \- J  d. Y
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 c: ]& l, A+ Q9 d6 z
  1650. ;       portable libs/applications.1 D- q7 B2 V$ S& L* b5 F: k8 t$ e
  1651. ; http://php.net/mbstring.encoding-translation
    . H7 _" g7 a0 }$ K0 ~& j9 B3 T2 W( V
  1652. ;mbstring.encoding_translation = Off/ ~& w- a8 |( j# E2 @$ x  f0 Y% Z

  1653. ( }1 P' E4 t, E) O
  1654. ; automatic encoding detection order.
    " ^% L# ^" B' Q' B% Y
  1655. ; "auto" detect order is changed according to mbstring.language' d  d4 |3 e0 R. C. f$ Q) M7 C; z
  1656. ; http://php.net/mbstring.detect-order
    ) u( k" X; j, }& Y
  1657. ;mbstring.detect_order = auto
    $ p' i# u/ L/ V* L

  1658. 5 C' o, H0 A7 m9 y% D5 f- T$ |
  1659. ; substitute_character used when character cannot be converted
    ' {/ i- B9 l- X9 N! ~2 R
  1660. ; one from another( k9 U" B& w; W  J* D
  1661. ; http://php.net/mbstring.substitute-character
    # m! N* J& X1 Y' _3 K' P
  1662. ;mbstring.substitute_character = none
    ! z8 t. N6 B' n( B5 U: l' M9 k

  1663.   V4 q. z: q$ o/ p* v7 R* o
  1664. ; overload(replace) single byte functions by mbstring functions.
    6 I6 N$ i6 V, p+ v& l' g+ W
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    5 O. i0 Q* j9 K7 `3 G; v
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.* W7 A1 e8 B. o: S& F& ^
  1667. ; For example, 7 for overload everything.
    + j& ~) P# y) W' N0 X
  1668. ; 0: No overload' B' R; E' @+ s) Z
  1669. ; 1: Overload mail() function0 ?: C* C" K* V' o
  1670. ; 2: Overload str*() functions
    & @9 [( b. Q" a% z7 J
  1671. ; 4: Overload ereg*() functions
    % B, t3 p0 `4 P, t# d# K
  1672. ; http://php.net/mbstring.func-overload0 |0 d; f$ Q$ S& \# L+ N4 W+ ^
  1673. ;mbstring.func_overload = 04 b4 I. [. N6 s4 X: n
  1674. . c  Y- \( o3 p! X$ q4 Z
  1675. ; enable strict encoding detection.
    : {, M% p$ t1 `" |, X9 a( F% y
  1676. ; Default: Off) d) D9 u; T; ]9 Y
  1677. ;mbstring.strict_detection = On- l  }/ V- O+ W( [! C
  1678. 3 z3 e8 i5 x; y1 A% p7 Z
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; _2 B) J1 _  o( d4 [2 T9 R
  1680. ; is activated.5 J/ A: O9 c9 D0 _; U% Y  A3 b9 B
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ; `' }' J& M" D
  1682. ;mbstring.http_output_conv_mimetype=
    / m2 A, N$ p5 }; T% Y

  1683. * [$ d5 z) a6 c
  1684. [gd]( n! z1 n4 o7 C' J7 T1 L, m1 W7 B
  1685. ; Tell the jpeg decode to ignore warnings and try to create; o& ]7 |9 u) x; R$ I5 {
  1686. ; a gd image. The warning will then be displayed as notices# q8 \8 X, M* _: H; n! v& P; s
  1687. ; disabled by default9 J0 s0 Z# y* e7 f
  1688. ; http://php.net/gd.jpeg-ignore-warning- J* `, E/ d  @# Z
  1689. ;gd.jpeg_ignore_warning = 0  M& c, ]8 K/ j! {. Z9 O
  1690. 2 m/ M1 o4 X  y3 g- b8 r
  1691. [exif]
    8 H$ b# a+ @( ~" l* c4 c9 W$ n
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' u! @0 g9 t1 w2 Q
  1693. ; With mbstring support this will automatically be converted into the encoding8 i$ @& g/ S7 A; w8 `0 d' O
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& {3 B: w! n6 y# k+ @* J
  1695. ; is used. For the decode settings you can distinguish between motorola and6 d& B- D+ m8 x# b
  1696. ; intel byte order. A decode setting cannot be empty.
    5 [; ~3 j( ^, O" [! i2 Z
  1697. ; http://php.net/exif.encode-unicode8 H7 O) P* o) e, ?6 B% r% Y% t
  1698. ;exif.encode_unicode = ISO-8859-15
    ; A- m  M$ i9 j1 D  c1 l# N

  1699. ) }) A+ I+ x$ H
  1700. ; http://php.net/exif.decode-unicode-motorola
    : D! a$ Z# A3 K8 i+ r$ f
  1701. ;exif.decode_unicode_motorola = UCS-2BE1 z; K3 y" D5 a0 l8 H
  1702. 1 C2 C7 s0 m, P  O8 Q8 E. y! o
  1703. ; http://php.net/exif.decode-unicode-intel* Q1 w" u! N) w7 d( v; q. }
  1704. ;exif.decode_unicode_intel    = UCS-2LE6 J2 P. S; m, w9 ~( T; S
  1705. 6 \4 }8 Q2 w+ p1 f& T! I
  1706. ; http://php.net/exif.encode-jis
    5 H7 y+ D& J" j
  1707. ;exif.encode_jis =
    # R2 |8 R6 [; x5 V, i/ P) C% ]
  1708. 2 D, Y2 L  j8 n( V# Z1 q
  1709. ; http://php.net/exif.decode-jis-motorola  v) a7 b+ h: B- W( K; l0 e; U2 l
  1710. ;exif.decode_jis_motorola = JIS
    # s, e; i8 ^* ]3 M  r
  1711. 4 f% J! y0 o* @6 X$ u& u. f8 B
  1712. ; http://php.net/exif.decode-jis-intel4 E7 _7 a* g) v* p( d
  1713. ;exif.decode_jis_intel    = JIS
    + }' e$ K0 ~' U% t- G. y
  1714. " p6 {2 y/ I( R7 Q2 n
  1715. [Tidy]
    3 ~5 R2 a4 o- g+ \. m8 }7 A
  1716. ; The path to a default tidy configuration file to use when using tidy
      s& q# Z- {3 y5 w# f$ ~
  1717. ; http://php.net/tidy.default-config
    " n; K3 R6 T0 K2 E7 |) o# q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / F2 e4 h% U/ p6 Y2 Z

  1719. 1 o% K( I; e) U1 y% g& V5 P" L
  1720. ; Should tidy clean and repair output automatically?
    7 s+ g& P' m& x! J- G
  1721. ; WARNING: Do not use this option if you are generating non-html content
    5 ~" ~- I  m6 W( S  u# A6 p. z
  1722. ; such as dynamic images3 s2 x0 R. ^2 ~0 l  R
  1723. ; http://php.net/tidy.clean-output
    # i$ r- L& T1 g! {& y1 B$ n. b
  1724. tidy.clean_output = Off% `' V, D$ s& X6 N  G
  1725. / M" o+ W) J# h" O  s4 v
  1726. [soap]
    % p1 ~9 J; c9 R9 b% w9 t3 U
  1727. ; Enables or disables WSDL caching feature.
    1 H% z  I- m) {: A& J' K
  1728. ; http://php.net/soap.wsdl-cache-enabled/ w1 ?7 N9 D( D9 e* j2 U0 }( |
  1729. soap.wsdl_cache_enabled=1
    ( g) z3 M: D+ y: w! S
  1730. 7 u* u- k' e# e) Z) [; h! Z5 ^
  1731. ; Sets the directory name where SOAP extension will put cache files.
    * W3 |' D5 {2 T3 J& ?
  1732. ; http://php.net/soap.wsdl-cache-dir
    6 |4 \8 ?: i: M& G
  1733. soap.wsdl_cache_dir="/tmp"
    / D; G  U' P. j4 V. b
  1734. + |# m, ~; m7 \( b5 j- [; m! q
  1735. ; (time to live) Sets the number of second while cached file will be used# O- k) p' ~9 u9 e
  1736. ; instead of original one.
    7 J. d" g( _0 w# r% j  d! n
  1737. ; http://php.net/soap.wsdl-cache-ttl: o# G3 u2 c* |- v# o
  1738. soap.wsdl_cache_ttl=86400
    # n8 T$ P9 w* ~- U5 A

  1739. % U  w3 b1 L; u- O/ i9 {6 s; _
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    0 K9 F# |$ ?8 G% s1 d
  1741. soap.wsdl_cache_limit = 55 h0 |, b, W* z
  1742. ; C3 c, f9 d7 T1 ]7 H
  1743. [sysvshm]
    ' s) @2 h6 Q. ?: b# A; N
  1744. ; A default size of the shared memory segment2 I! R3 {' Q8 {6 v) |8 U
  1745. ;sysvshm.init_mem = 10000
    . H$ B4 S' w6 K6 l( q

  1746. * t/ r0 r) s4 y5 s8 n* F# S# h
  1747. [ldap]
    & d8 Z, x' r8 ?+ c* ]3 U
  1748. ; Sets the maximum number of open links or -1 for unlimited.2 a2 ]8 `+ I( ~/ Q
  1749. ldap.max_links = -1, N  _# i8 D. `& M

  1750. 2 k; c+ L7 g$ p! T& J7 a! B
  1751. [mcrypt]
    1 x" T2 N* z8 {2 v! j4 Y
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! u8 ~9 }$ Y" ~6 E1 H

  1753. 7 H$ J( R: |# q' x
  1754. ; Directory where to load mcrypt algorithms
    $ P; Z* Z3 P# F7 a  }$ Z/ b; R
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( {3 J" U/ s( P) ?" X/ H
  1756. ;mcrypt.algorithms_dir=
    7 n5 T. A2 e/ k- x7 B& ]8 \; E! C
  1757. / i* y3 U) B$ w4 [& m0 k
  1758. ; Directory where to load mcrypt modes
    ( K; v, y; N- X; `# K' @6 [; \
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 l7 ^+ R& [* ?, I
  1760. ;mcrypt.modes_dir=
    ) S! S* o7 g, O! V' m

  1761. % e# Z( h: a5 C$ w# O+ X- t
  1762. [dba]
    8 ~/ M: ~$ [* ?
  1763. ;dba.default_handler=
    , D' n. C2 ~. H  q) E' e7 E
  1764. 7 u0 v4 z1 m4 e$ C, g) P
  1765. [opcache]5 z8 f' E9 h5 @0 R2 }
  1766. ; Determines if Zend OPCache is enabled% i$ c/ h" q! c
  1767. ;opcache.enable=0
    2 x% H- ~, W, U9 C: r

  1768. 0 ]8 Q( G- Y9 g$ ~. _3 q. o1 S0 j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP+ g/ ?5 @: y6 `6 d' t' _% i
  1770. ;opcache.enable_cli=0/ K7 ?* I* q$ Q  m  F2 m  P

  1771. 2 c  \- w$ L/ b5 b# E  g5 q. M! d% |
  1772. ; The OPcache shared memory storage size./ p" L) A) u/ O; a) R' p! }0 Y
  1773. ;opcache.memory_consumption=64
    ; i$ t8 T. F' p( C
  1774. 6 U2 G" t, j/ W. _' _8 ?' z
  1775. ; The amount of memory for interned strings in Mbytes.2 H0 R4 f+ f. I, ^: _
  1776. ;opcache.interned_strings_buffer=4
    2 |  Y0 i8 a9 ~/ J# S. a4 _

  1777. 6 I( O4 ^6 S7 o" a
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.3 |; ]4 O1 P! E. z2 x
  1779. ; Only numbers between 200 and 1000000 are allowed.
    1 N) K  |# C5 p- R! M: J8 S7 s/ b
  1780. ;opcache.max_accelerated_files=2000; u* N5 ~% `" T3 n/ n. Z

  1781. 7 M1 D0 {/ T. w- K0 a
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 q6 }2 p- D3 m, H, D3 j. {
  1783. ;opcache.max_wasted_percentage=5
    $ Z2 n* U; Z! p/ m- k

  1784. ) F! R- ^4 k; u
  1785. ; When this directive is enabled, the OPcache appends the current working
    6 O3 N# |7 p3 l# V; V
  1786. ; directory to the script key, thus eliminating possible collisions between1 b7 x9 C& C9 F, R' N& V2 s
  1787. ; files with the same name (basename). Disabling the directive improves- y  h2 o/ ^0 [% K% ?
  1788. ; performance, but may break existing applications.
    9 t! }# O8 O: T. v* c
  1789. ;opcache.use_cwd=1  t7 P1 q! u* X1 D- K# o+ b  ?

  1790. 4 B7 ^% o5 M/ ]" ]  t( |$ g
  1791. ; When disabled, you must reset the OPcache manually or restart the2 u+ F. y- S; T: d5 [, G! |
  1792. ; webserver for changes to the filesystem to take effect.
    % e2 ]. t. g. t$ C( ?: O
  1793. ;opcache.validate_timestamps=1
    . [5 E$ h: g3 d& Y. r
  1794. % b9 n! F/ C8 W
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    * a$ v& r% H2 {; H; J5 S
  1796. ; memory storage allocation. ("1" means validate once per second, but only! J0 }. w  P) |/ g
  1797. ; once per request. "0" means always validate)/ J, r1 y! B. N2 }3 \$ B
  1798. ;opcache.revalidate_freq=2
    5 L: a+ w! l% g) z# b5 m
  1799. ) Q! _2 ^/ h2 i, L2 K( ~) ^
  1800. ; Enables or disables file search in include_path optimization
    ) T$ s( u! i* M
  1801. ;opcache.revalidate_path=04 s& j) E8 d: J$ F- i

  1802. % R. C8 Q0 ?/ n. F* b; X6 e7 L) o5 R
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ! R$ ]+ Y1 U1 q' x" t
  1804. ; size of the optimized code.
    ( }  ?9 n: l0 d  M
  1805. ;opcache.save_comments=1
    ' H. F- O1 d1 v: j# B* l% k1 I

  1806. 8 b& L7 J- J# S1 k' P) F
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 r7 f3 D2 C6 E  s- X, ]7 ]3 z
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / l0 m) [8 f7 S( f
  1809. ;opcache.fast_shutdown=0
    9 t9 f1 l" o& H
  1810. ' Q- g, e, |4 ^" G2 c" J  f
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & g8 l" W8 \7 n  f) Q2 s$ ~) u5 Z
  1812. ;opcache.enable_file_override=0
    ; H7 {0 v, g* t4 m! `9 J  I

  1813. - u3 `( L, f; H# L# v3 s! z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache; Q4 L$ F0 k3 N3 Y8 w- T: x5 M  S
  1815. ; passes7 y1 R6 i7 T3 b
  1816. ;opcache.optimization_level=0xffffffff4 g. P& m/ w( p7 g: p/ E  x% d, S

  1817. ' a) O3 K/ z$ R; n- B( c, s
  1818. ;opcache.inherited_hack=12 o: S  U' W$ l4 e: L/ U+ ?5 Z
  1819. ;opcache.dups_fix=07 K' Z; v$ n( J5 P, r
  1820. ( k% o3 F% U* t0 J; Y" a! G
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    4 O5 Q7 w$ }0 }& Y5 U2 O' t# b
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    + [, Q, X/ y: d
  1823. ; that should not be accelerated. The file format is to add each filename" f" ?  B  c4 i& ~
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " v$ @+ ?6 t4 g+ Z3 c7 J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# g, N, u; [: u  ^+ O3 h
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).1 |: B/ L4 A4 y% L0 @2 P
  1827. ;opcache.blacklist_filename=
    7 G4 k/ F/ q9 n

  1828. ' z  W% r, B4 v4 {
  1829. ; Allows exclusion of large files from being cached. By default all files
    5 @% b6 Z1 V" M/ X3 T- @1 K$ ]
  1830. ; are cached.( i! S4 S3 K) L
  1831. ;opcache.max_file_size=0+ }, U) }' j; m% n

  1832. ) X$ D* y; y; o6 J8 X7 w& r
  1833. ; Check the cache checksum each N requests.
    * Y* A% J* _; }! u5 l; u
  1834. ; The default value of "0" means that the checks are disabled.8 s3 A$ Y# W$ Q2 J" m8 F
  1835. ;opcache.consistency_checks=0
    / a' r6 ~, x, B  Z8 a& H% N8 ~
  1836. 4 J! w) C( Y* T/ o. m, ^8 o( z
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # n1 p+ C) b" |2 W* Y9 J0 ^2 p
  1838. ; is not being accessed.
    % R* ]- ]" z- D1 N7 W+ P1 q
  1839. ;opcache.force_restart_timeout=180: y: \4 F, x  N% ~8 a8 p6 J

  1840. 8 v7 k. n8 Q' W/ Y
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' J5 k( y, q( T! D( m: `
  1842. ;opcache.error_log=" g# o7 d4 Q- N5 T
  1843. ; P1 y3 s3 a* E2 n
  1844. ; All OPcache errors go to the Web server log.
    9 C5 N" @% p2 x5 d
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " T* p% @6 f* B! S6 Y5 h; y
  1846. ; You can also enable warnings (level 2), info messages (level 3) or  g, U& K) G' M. ~- f
  1847. ; debug messages (level 4)., _; c! R$ z4 l+ R/ [& s
  1848. ;opcache.log_verbosity_level=10 I& I0 c2 \: A  W1 C

  1849. ' H1 R7 g$ B4 A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 e( u) |' @5 f/ t8 x0 l7 W; V, E
  1851. ;opcache.preferred_memory_model=7 {$ K. g- y+ m; X5 _( T/ L

  1852. % S1 V! F4 Z' o' l3 X/ I7 D7 u. z0 f
  1853. ; Protect the shared memory from unexpected writing during script execution.8 T! j9 d5 g1 x& B. @9 A5 A  i
  1854. ; Useful for internal debugging only.% r" R, I3 w/ b" b: i* h
  1855. ;opcache.protect_memory=03 P0 I* X" P4 i# L+ u+ }; x

  1856. % U7 z2 M$ f& r, l  O6 [/ a
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    % u! X2 f6 V( i
  1858. ; started from specified string. The default "" means no restriction
    ; X' c, ~. d- a% H2 T
  1859. ;opcache.restrict_api=# M( @4 ~7 F- _: F: y1 u5 ^

  1860. / C8 {. t8 @& ?4 L. }
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 i2 E, X' ^* I  e) l
  1862. ; processes have to map shared memory into the same address space. This
    7 K+ e1 U& ?- B
  1863. ; directive allows to manually fix the "Unable to reattach to base address"- \8 S1 g6 d; r
  1864. ; errors.# E% y8 w. ?6 {. G: p: K
  1865. ;opcache.mmap_base=
    6 z- |6 W# r0 b  X& W+ ~* Z0 \
  1866. 8 e) u; M- e( [( h& t
  1867. ; Enables and sets the second level cache directory.
    0 V& M4 X* J5 ]5 |
  1868. ; It should improve performance when SHM memory is full, at server restart or' H) ?$ H/ C- w  S& j& _7 j" G
  1869. ; SHM reset. The default "" disables file based caching.
    : ]8 O  N' t" G6 z
  1870. ;opcache.file_cache=6 R0 W7 o) ~+ C8 r& n! o" W" y$ y

  1871. : d' m! L8 N  `1 A% w+ ^8 L
  1872. ; Enables or disables opcode caching in shared memory.
    6 l( d' m7 h% Z$ p# U( [
  1873. ;opcache.file_cache_only=0
    7 r6 l, t5 M, y9 l1 q# Z. M% h
  1874. 9 m/ K$ d2 }2 f( x9 D
  1875. ; Enables or disables checksum validation when script loaded from file cache./ D% ^+ T7 K: `7 y- ?
  1876. ;opcache.file_cache_consistency_checks=19 f# j! d# v: U( Y
  1877. ; l% J! F; D+ D" i3 E7 {
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to- b  v, z* N8 b( K' D3 z$ _, G
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    0 B3 ]2 X: |& Y% p$ T
  1880. ; cache is required." e- l  m6 {( Y8 `# i0 O' l9 Z; L: N
  1881. ;opcache.file_cache_fallback=19 \/ P, k" @4 t) X

  1882. 7 y9 g( \! Q; e7 ~4 [1 y
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 v+ S8 ?. }  x) |  J) B
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 W( V/ h& Y: K( P' y) E) X( ~
  1885. ;opcache.huge_code_pages=1
    3 }$ J7 ^6 D% X( i' P
  1886. 2 p* ^0 P5 C  ~0 ]4 \" ]- N
  1887. ; Validate cached file permissions.1 r6 C4 e5 c) h# E
  1888. ; opcache.validate_permission=0
    7 a9 _+ @, c1 Y0 L7 F& h2 s

  1889. % r' t# h/ A: a# D) T! _
  1890. ; Prevent name collisions in chroot'ed environment.8 E4 P" E& V9 [
  1891. ; opcache.validate_root=0* a) @  |. o# y" _

  1892. / c# e% L% l) l: i
  1893. [curl]
    , N2 ]* g1 o' Z9 f- H+ o" _: s" J2 E& Y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , |5 p3 s/ P; P  r1 v0 L, @% k( }) P
  1895. ; absolute path.
    8 P3 Z8 D$ m" d
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 H! q6 z  d. u7 y! z! M
  1897. 9 ]: G3 B" y8 [4 u' T
  1898. [openssl]
    7 r# J0 W. r! q  |
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    2 K' d3 C; P  k" D" S' S' C7 X
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " ]4 u2 O% f* f- L
  1901. ; not specify a value for this directive as PHP will attempt to use the, I! f- J$ b. T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ; t5 e6 b& @- Q
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context4 N- ^. T- }9 h
  1904. ; option.
    ; W2 V& S( G! p: J
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 ?* X& X1 ?6 f4 M6 o5 s9 o  s

  1906. # b! j" ~2 ^- ^7 g8 R
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ P- R0 x% E# p
  1908. ; directory pointed to by openssl.capath is searched for a suitable  E, R. d3 g* R7 H. ~! J3 n
  1909. ; certificate. This value must be a correctly hashed certificate directory.6 ^9 K7 w+ H' D6 E% e
  1910. ; Most users should not specify a value for this directive as PHP will
    " [6 f% ?* ]& [( d: s
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ) u3 }2 G5 B7 D* D; P2 z9 V
  1912. ; this value may still be overridden on a per-stream basis via the "capath"0 |* v% M5 f; y$ T7 S5 ^" t" Q
  1913. ; SSL stream context option.4 M# N) G1 l4 L/ p
  1914. ;openssl.capath=
    ! ^7 s4 m4 N2 a7 t: O/ ~1 b
  1915. 5 W& j* R" x% J1 _0 O- A
  1916. ; Local Variables:
    7 A  V3 W! a$ b) z5 t
  1917. ; tab-width: 4
    4 r' A% ]! r% @& i
  1918. ; End:
    8 [) z8 z- V5 N! Y8 I! e# n1 }
  1919. 4 N0 w: W% K! \% C# Z+ H
  1920. ;eaccelerator
    & Q" K* S) A+ S* j

  1921. # i7 H3 k; t, Q
  1922. ;ionCube  L4 @, d6 a# n* |, ^
  1923. ) D% U' N' W2 k& I4 E
  1924. ;opcache
    ! m  E1 ~: T1 }2 ?" y3 S/ P5 s

  1925. 8 e( K; w, H7 J9 V
  1926. [Zend ZendGuard Loader]6 M4 R& ^! A& v. E) Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line./ b; H1 f5 D3 Q" z; L5 x0 A7 G
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      A+ W2 s6 j2 k. a$ h
  1929. ;zend_loader.enable=1( k( u" L; Q  W* y/ W/ }  A* `
  1930. ;zend_loader.disable_licensing=0
    3 M7 e5 t. L* z( A9 v
  1931. ;zend_loader.obfuscation_level_support=3
    3 _: D* K* p# L. M) Y
  1932. ;zend_loader.license_path=
    9 v# K; r; J- G) ]6 t- |
  1933. , h2 Z' b1 K* B  ~7 H& k
  1934. ;xcache
    $ B7 k6 J# e) d' N) N% A/ R

  1935. : @3 W! f- o7 v  f
复制代码

1 t% i7 f. Z9 ?5 Y( e, K3 u" j/ h6 p  L

: H7 @4 u% u* l0 Q
% {4 E: l2 Q& b8 B% t
  V/ G0 _+ V  B' F, l& p9 l
  P; A5 \- n4 w+ n( O
& b, {7 q1 W3 q: v  lPHP5.6版本原始设置* U; v4 [3 J: r) B8 L: L

) L  t% P% Z) ~) b; x
  1. [PHP]6 T2 Z) E: u) w# q
  2. ( ~! t2 K# S9 R) l# o" e8 [. U
  3. ;;;;;;;;;;;;;;;;;;;
    2 Z" c7 m2 h- r. Q
  4. ; About php.ini   ;
    2 x3 B! A6 M( ?6 c
  5. ;;;;;;;;;;;;;;;;;;;
    ) `% Y* h6 x4 ^6 x4 t8 `# L1 i
  6. ; PHP's initialization file, generally called php.ini, is responsible for. A4 ^) P4 K' Z# L3 t, S
  7. ; configuring many of the aspects of PHP's behavior.
    3 s, x8 H( D; V( e( A$ v

  8. ( \" n3 X$ t* N1 z  m# V
  9. ; PHP attempts to find and load this configuration from a number of locations." G. z" C. i$ r; b& C
  10. ; The following is a summary of its search order:
    ; l# N+ \2 W, R% `. T& R) ~" b
  11. ; 1. SAPI module specific location.
    6 D6 \9 }) ?1 h" N: W/ i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # O- n: A$ d& n: U) c0 \7 x1 ]( U* C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ' a/ h, ^, e, X" P
  14. ; 4. Current working directory (except CLI)
    & B- A3 R/ Y; O3 m4 N# E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 }4 w9 {$ T: M- }5 V# v6 A% g" r+ p
  16. ; (otherwise in Windows)
    : ~6 y/ [! a; Q7 y  |6 n0 G9 |
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ u5 g- c8 y! f  G% Z
  18. ; Windows directory (C:\windows or C:\winnt)6 B. y+ y9 u* f% o1 H( U. o# a
  19. ; See the PHP docs for more specific information., C; \3 B, [' {8 T' Z+ m
  20. ; http://php.net/configuration.file
    * X5 y% N3 ?8 s3 d' n1 U" q3 w4 W

  21. * W; x# s+ V7 @) ?$ s5 ?
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 g' @" a' l$ S# s( w' Q% z# l
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)./ C  Q  ^' d1 k" Z$ U8 g% n
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; ?* g( `) p" Q, o1 Q
  25. ; they might mean something in the future.. {% C  c/ C% N4 D1 w& H6 u
  26. 6 C: \+ M( `5 c4 S' f
  27. ; Directives following the section heading [PATH=/www/mysite] only5 j$ }' N+ t0 h0 Z, L" x) {( n
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) ], z7 l( c/ b; n, g
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 g0 d) q0 C/ ^5 u' q2 d# h
  30. ; PHP files served from www.example.com.  Directives set in these* p5 h* P2 M/ A1 i) g% f
  31. ; special sections cannot be overridden by user-defined INI files or
    5 l- x8 m0 j. c8 V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    * J( q' t: e* O) k: i
  33. ; CGI/FastCGI., V5 n6 f! T4 S9 y/ _, G  m
  34. ; http://php.net/ini.sections" e4 H+ z* u  C% f" N: i6 r2 {
  35. # d- g) s, x) o4 k& x
  36. ; Directives are specified using the following syntax:# z0 {5 p4 A( E
  37. ; directive = value
    8 R5 v9 `7 X9 x5 H. o# |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : v3 u- ~( R4 W8 @8 q
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' Q# @5 ?) Y" R/ e" n/ i' u
  40. ; There is no name validation.  If PHP can't find an expected
    ! t' d( \' q4 |, m- U2 T
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 I* e( y- U% Z/ Z

  42. : m+ s) [, |3 l2 u' Y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    7 J# f1 W3 q  _, [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression/ {3 u; H" b4 C# n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 O% D& e- \4 _5 e
  46. ; previously set variable or directive (e.g. ${foo})
    ; R8 ~1 B5 [/ t- A1 v
  47. 2 G9 B- R# \. s% ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:# Q; ?1 P( z" R2 d7 t; \3 k: k" a
  49. ; |  bitwise OR
    ) T. [2 a9 J4 A: _4 n' p1 \
  50. ; ^  bitwise XOR, B* f9 E) j7 W
  51. ; &  bitwise AND
    7 \" }* A! C9 x( ]
  52. ; ~  bitwise NOT
    8 A7 {' F( O0 h  X; e) ]
  53. ; !  boolean NOT
    ) |; K8 f2 N& N) R, \# `$ F0 e
  54. # d+ s' I) e5 ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ |3 o' s1 M& a3 g" y; g  X
  56. ; They can be turned off using the values 0, Off, False or No.' {# z1 s. _3 Q

  57. 5 j; R! }' T$ n8 ^, S. L0 z; Z
  58. ; An empty string can be denoted by simply not writing anything after the equal4 q* U. S* d! `) F3 B
  59. ; sign, or by using the None keyword:
    1 C1 T9 _  z' _/ O8 y  s1 h2 c5 T

  60. . p2 q( R3 }, h
  61. ;  foo =         ; sets foo to an empty string
    & j, }2 r$ j$ V4 ~# L) A2 w: R0 X8 N
  62. ;  foo = None    ; sets foo to an empty string9 v/ \4 \( l. j+ o# \
  63. ;  foo = "None"  ; sets foo to the string 'None'8 Y) Z% M" a, l. h

  64. / s0 a3 o. T3 ?$ N1 n( O% V
  65. ; If you use constants in your value, and these constants belong to a% G9 M6 z) u& n; I% t+ F
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 W0 p% I6 t) G2 ~
  67. ; you may only use these constants *after* the line that loads the extension.
    5 P; q6 f- I8 S- H4 W

  68. 2 v) Y: V5 F9 g! ~  H. t5 _, _' v
  69. ;;;;;;;;;;;;;;;;;;;+ R0 p( l. M" y$ @8 B% G5 U
  70. ; About this file ;0 m+ R* U$ X  L6 V0 A% g& u' N
  71. ;;;;;;;;;;;;;;;;;;;6 m! C% W7 Z  B/ h& m  a
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ r8 A. l+ r" L( I3 I( T5 h
  73. ; in production environments and one that is recommended to be used in
    5 L! M2 a- g  H" W& F: @
  74. ; development environments.
    9 @& _* q; C* @7 K* ^9 W: R/ ?
  75. " X4 E3 ^1 G& D8 }* y0 Q
  76. ; php.ini-production contains settings which hold security, performance and6 V% p& S! _4 m
  77. ; best practices at its core. But please be aware, these settings may break8 g2 ?, d% g* O2 w
  78. ; compatibility with older or less security conscience applications. We
    9 D. E* Q/ t1 y/ c# a3 ]) V6 h9 d
  79. ; recommending using the production ini in production and testing environments.
    " P' m9 w; _; D9 v* D) C6 X4 y

  80. 1 O% }# m1 h2 E! \% ?# ~
  81. ; php.ini-development is very similar to its production variant, except it is
    ; V2 F5 s) V& b
  82. ; much more verbose when it comes to errors. We recommend using the
    & X5 m- [0 f! H1 \6 X
  83. ; development version only in development environments, as errors shown to
    9 E$ ^2 m' F8 [
  84. ; application users can inadvertently leak otherwise secure information., H+ B6 L% c! w9 D1 D8 J8 s
  85. $ o  p' X5 g' ]7 s: X
  86. ; This is php.ini-production INI file.' ~$ q( o  G% F/ S& {

  87. 6 W) V  F% q" I: Y# G4 b: Z
  88. ;;;;;;;;;;;;;;;;;;;* ^3 l1 h" e5 M. z  @2 }
  89. ; Quick Reference ;
    9 x  t* X- z. B! H! g
  90. ;;;;;;;;;;;;;;;;;;;3 L7 B6 j* Y2 b# d
  91. ; The following are all the settings which are different in either the production" Z; S* ~8 L! r; _1 }1 [
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 N) M* F- H! I4 I6 G
  93. ; Please see the actual settings later in the document for more details as to why% M- t6 g" R/ N* [5 n8 F4 y
  94. ; we recommend these changes in PHP's behavior.* z+ R7 G1 A) m2 o* G

  95. : ~1 M; J/ D3 _+ l3 S& a
  96. ; display_errors
    7 C, Y- W0 }! o" F2 u9 c, ~6 `* T" C
  97. ;   Default Value: On
    , a& q5 h2 @# c% G7 _
  98. ;   Development Value: On
    " i: X) o2 B: T' N
  99. ;   Production Value: Off1 Y% d: ]( Q6 Y
  100. . @4 e- Q4 x3 c: H9 I) g# V7 L
  101. ; display_startup_errors4 M. x0 D7 i) y! T
  102. ;   Default Value: Off
    ( E1 u! e4 Y# o
  103. ;   Development Value: On
    & q' n& `1 r2 Q, u4 C1 I( q
  104. ;   Production Value: Off- Z+ I* a. p1 L

  105. 4 p, n" O1 |& ~  o/ }
  106. ; error_reporting
    / v+ t) a" ^) b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ C) |- m' P, f5 q! m; R, k* e
  108. ;   Development Value: E_ALL# T/ d7 S* [/ X" a1 Z6 p
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT- p* B' k4 a* L0 R4 L3 h

  110. + [5 S& e& Y) }7 [+ q: w+ G. M9 F) q
  111. ; html_errors
    0 \$ }/ C$ F; F$ K; v" h
  112. ;   Default Value: On
    " o2 x( V9 j" Z
  113. ;   Development Value: On
    7 M8 z9 Z- W( |7 O
  114. ;   Production value: On
    ( |1 U3 {) ?& F. g% Z
  115. : b3 N4 |, l" |6 j) g) u
  116. ; log_errors
    * N8 P3 P# I# t# P
  117. ;   Default Value: Off
    * g- \2 D  ]4 T4 F4 x& @& L) n) A, d
  118. ;   Development Value: On" _3 h& U+ n5 Z
  119. ;   Production Value: On2 P# o0 R* w! C/ n$ ~0 E" }

  120. 8 f( X& s3 }6 S* [7 i% v8 Q
  121. ; max_input_time# E. s/ Y$ g# Y/ Q/ {8 i2 L  v
  122. ;   Default Value: -1 (Unlimited); F) {' E! c2 z, H4 M8 d5 T. N
  123. ;   Development Value: 60 (60 seconds)6 S/ z" b' D0 x/ w6 O
  124. ;   Production Value: 60 (60 seconds)
    5 H6 L$ I% ^9 u* T/ G6 X
  125. 6 C9 U/ R3 K' B  F6 K, U' a
  126. ; output_buffering2 L5 ~) x3 |4 {$ I4 e4 j1 `8 C
  127. ;   Default Value: Off
    " D$ \! o+ F0 f6 f; i( `" J
  128. ;   Development Value: 40962 K( ]- f- }, l/ A! H7 O; O
  129. ;   Production Value: 4096/ ^0 k, r3 ^& L  g9 o& @
  130. $ N$ A( ^$ g. o. r) U  k! |) R+ @
  131. ; register_argc_argv5 J0 S2 X4 `8 `
  132. ;   Default Value: On
    5 L0 N1 F& u% _, w
  133. ;   Development Value: Off
    ! p; [+ x9 p/ w. h) I" s+ V
  134. ;   Production Value: Off. W; |( r; P! _5 U- z

  135. # y% p- K( M4 g5 a8 Z
  136. ; request_order
    ( l% {& U1 M; {' ?( A
  137. ;   Default Value: None
    . k, d3 i" e$ W
  138. ;   Development Value: "GP"4 R6 Y$ P" G1 k9 \. h
  139. ;   Production Value: "GP"
    - c2 y( f- B* w/ q
  140. ; Q4 A: [% S% n" s* T
  141. ; session.gc_divisor
    ) u1 I( j5 U9 Q' y$ G9 L3 o( {
  142. ;   Default Value: 100% p8 U6 [- v: ^# w/ n! d4 e
  143. ;   Development Value: 1000
    ; \, a: F" f/ D5 Q! c
  144. ;   Production Value: 10002 P9 p; t, h/ p) c& ?0 W& L
  145. 8 C; [9 e! t0 E5 n4 j- n* e
  146. ; session.hash_bits_per_character
    0 Q7 W9 W- ^' w: \+ v+ y
  147. ;   Default Value: 47 L6 w2 E9 g$ ]- ^, J8 B
  148. ;   Development Value: 5' |: q1 l2 m8 p
  149. ;   Production Value: 5
    2 n; ?4 @* \# c5 o; ^4 N1 ?

  150. + i: `7 D2 y  q2 N
  151. ; short_open_tag
    / [9 b) |. f5 w! F: G! j5 U' ]9 w" f
  152. ;   Default Value: On! O; R2 j3 `% j; H
  153. ;   Development Value: Off
    : f8 y# \6 V- S; V$ Z
  154. ;   Production Value: Off
    * l, }- i5 J" F9 e4 t; ?
  155. - Q+ ^5 h9 F8 V
  156. ; track_errors! b& c& G& C9 n1 ]! z
  157. ;   Default Value: Off
    3 m7 y/ ]2 R! X5 U; o. d( y1 }, j
  158. ;   Development Value: On
    ( \4 j" {- c$ m6 [
  159. ;   Production Value: Off- L% N+ \, J; ~6 H

  160. + w5 L9 t. R" r; A# |
  161. ; url_rewriter.tags! n3 H: T  ?( m, V0 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 o0 c! P( c0 I" q5 Z0 x
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! i1 D+ g) b+ Q+ x/ [+ I
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") r! v9 x5 n- }; }: u
  165. 3 G5 i5 T) a9 J% j( F5 N
  166. ; variables_order
    9 i, {5 ^) B% ^1 ^5 u9 E4 R
  167. ;   Default Value: "EGPCS"
      E9 Z: O- n, D4 }4 a7 @/ C
  168. ;   Development Value: "GPCS"3 i: e1 H! M3 E# C
  169. ;   Production Value: "GPCS"! _% X; [' N9 q  i" T7 Y& v$ i+ \
  170. : f. S: d  k3 ^; A
  171. ;;;;;;;;;;;;;;;;;;;;
    $ K+ y; C3 F4 l0 c/ l( z
  172. ; php.ini Options  ;
    7 e4 l6 v5 Z: b6 {1 c
  173. ;;;;;;;;;;;;;;;;;;;;
    4 O  p" e$ D9 w+ i+ M. C2 e
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 t% Q. n1 Q+ U1 G% Z
  175. ;user_ini.filename = ".user.ini"
    & T6 K# s; w! i
  176. 8 J: S) f  n* a1 {9 c
  177. ; To disable this feature set this option to empty value
    4 |" {5 t% J. l" ]! g; M/ w, E- `
  178. ;user_ini.filename =8 ?3 v$ n: S+ M3 \/ i. ~
  179.   R7 R1 ?! `2 Y# V, i& y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); N: {+ T- t' q& V
  181. ;user_ini.cache_ttl = 300! s, X/ i: O/ |9 j. f# |

  182. 1 {2 z1 A4 d! |# V; w
  183. ;;;;;;;;;;;;;;;;;;;;
    ' \8 i& I6 h; o9 T4 K7 X) ^- X
  184. ; Language Options ;
    5 l# X6 Q! V1 q4 k2 }% W
  185. ;;;;;;;;;;;;;;;;;;;;4 }. t5 T& o0 {' P! x, u
  186.   W/ D5 D, S; f6 @7 q' q
  187. ; Enable the PHP scripting language engine under Apache.0 J+ x( F- p6 u1 ^- U4 y
  188. ; http://php.net/engine
    ( R1 L, B# b) \; U: l4 `
  189. engine = On$ X* e# t; P7 D" X
  190. ; m& U) h  ?) M* T$ d
  191. ; This directive determines whether or not PHP will recognize code between
    : }9 G* U2 r7 W9 p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ( w: D$ A# ~# t, R
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 {  ~- l! S9 J1 f8 `/ x+ |
  194. ; should be disabled, as enabling it may result in issues when generating XML6 R& L6 `3 \* a% T9 u
  195. ; documents, however this remains supported for backward compatibility reasons.0 D5 C( M: J7 s1 J# G7 l  [/ A
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ; _3 C( [4 g! G) m/ F+ W
  197. ; used regardless of this directive.
    . H: Z, _) h' _6 V7 l  T- F/ K
  198. ; Default Value: On! V" O- B/ P' D
  199. ; Development Value: Off5 y3 A! s& K2 T( W7 P+ P0 `
  200. ; Production Value: Off
    0 @- C5 F' g; K6 N
  201. ; http://php.net/short-open-tag0 k8 M) I  c/ S( @
  202. short_open_tag = On) H( Y: w$ ?1 h% l0 H( Y+ q1 w) @
  203. # U- p( s3 [% g* A% L
  204. ; Allow ASP-style <% %> tags./ r. g9 t, ?5 f  u
  205. ; http://php.net/asp-tags
    8 y8 K' L1 o0 [" x* |% H9 R
  206. asp_tags = Off
    : q  f& F) N+ Q3 b3 C; l2 i

  207. - \  Y% N0 {  V
  208. ; The number of significant digits displayed in floating point numbers.$ [4 i& p' K1 T/ x5 M0 o
  209. ; http://php.net/precision
    2 A  Y* u( K) b; q2 w
  210. precision = 14
    3 f# E5 s, b: j' b

  211. 4 b. X: {1 C# n9 V/ l
  212. ; Output buffering is a mechanism for controlling how much output data
    & X1 D, k- O" c5 N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' H( e& X% }+ g
  214. ; data to the client. If your application's output exceeds this setting, PHP6 f- E. |% g5 P9 q- D/ p
  215. ; will send that data in chunks of roughly the size you specify.
    4 P# ^+ j$ }! k1 T0 R
  216. ; Turning on this setting and managing its maximum buffer size can yield some  T* ~% E4 e8 x$ g/ z
  217. ; interesting side-effects depending on your application and web server./ ?% o3 ]$ b+ T# |( V* l" m2 a
  218. ; You may be able to send headers and cookies after you've already sent output
    / d* v# V* ~7 I: a2 j/ s
  219. ; through print or echo. You also may see performance benefits if your server is
    0 l0 k) L) s/ e' b. c, `
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    : q' S5 {$ N' D- ]9 u* l; n1 ?
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 D  }$ s4 f6 ?0 p
  222. ; reasons.
    & V; G3 T2 V/ Z+ t: r8 R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control3 Q3 N4 P4 M$ x4 g8 c. ?
  224. ;   functions.
      Q5 {0 }/ V5 b) J! T
  225. ; Possible Values:
    0 a* C+ a/ H. m" w! v" _; j. E. b
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    " f6 z/ ]0 }% U; c2 ]" B# y7 [
  227. ;   Off = Disabled
    1 Y6 i7 b/ Q" o
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., j4 P" @* J8 q  t, K! F
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI. h1 v+ O0 ~0 \; y4 U7 F
  230. ; Default Value: Off9 D2 j+ E% X; J5 {" R4 T9 I% I
  231. ; Development Value: 4096
    7 v% t7 o: i6 @- J* L9 x% A% A
  232. ; Production Value: 4096
    - p' b& S8 S% [( M9 ~3 p" }) q, r& k
  233. ; http://php.net/output-buffering4 F6 F& X' J3 q/ `# X0 u* g; h) d0 @' Q8 g
  234. output_buffering = 4096
    , U) [0 W3 b9 c. w, v* a" w

  235. ' s# l- O3 m7 I( X: ~0 B8 d
  236. ; You can redirect all of the output of your scripts to a function.  For
    - c& R/ u( m9 }
  237. ; example, if you set output_handler to "mb_output_handler", character! V7 j& Y8 X; |' H
  238. ; encoding will be transparently converted to the specified encoding.* Y" [  o! j" `& T
  239. ; Setting any output handler automatically turns on output buffering.
    ! e# C$ e' D" P- Y
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , J$ C$ p( l$ O
  241. ;   directive. Instead, explicitly set the output handler using ob_start().( e) U. l3 e( v* X% E3 k1 L
  242. ;   Using this ini directive may cause problems unless you know what script
    # [4 i% S, ?) E
  243. ;   is doing.5 n0 {' _: F* ]( j' U7 M' D
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 y6 w' G. L+ L
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: O/ q& I: \% b" V( s, c9 f
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - m, X; v+ d& i' L- G) }8 {
  247. ;   Instead you must use zlib.output_handler., W2 Z  L# p3 l8 H% S
  248. ; http://php.net/output-handler, B$ n" {+ ?) v9 @! ^  u7 v
  249. ;output_handler =
    9 R* a. J4 H- E  U
  250. % [& D8 {& F) l6 L9 K/ Z* |0 Q0 T6 R
  251. ; Transparent output compression using the zlib library
    ( c. c. y- L3 ?' J/ \6 b
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
      E4 k- D2 R) e! ]6 |
  253. ; to be used for compression (default is 4KB)( |* G6 e* i* @4 `3 V6 w: B7 ^/ y  `
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP. h+ {7 j- x8 b' H
  255. ;   outputs chunks that are few hundreds bytes each as a result of" t8 C6 p' {" f5 F, V2 \
  256. ;   compression. If you prefer a larger chunk size for better
    + r/ H) A0 N  r! `9 B/ K* I) H
  257. ;   performance, enable output_buffering in addition.
    ( n& X% [: ?; k- J# N% V6 I
  258. ; Note: You need to use zlib.output_handler instead of the standard
    9 m- e' |2 h0 I7 u8 s( I1 {
  259. ;   output_handler, or otherwise the output will be corrupted.9 r) J: E' d1 E& G
  260. ; http://php.net/zlib.output-compression) v& u' y+ ]% G# j
  261. zlib.output_compression = Off6 W8 i) p2 G( @+ a2 P+ C' m
  262. ' F* c  l' }6 u4 m) u/ ?8 j2 S( m
  263. ; http://php.net/zlib.output-compression-level
    ) Y" u4 w  d! `) y3 C# C
  264. ;zlib.output_compression_level = -1
    / D4 c% i: F1 e& ~9 b
  265. 5 S; N4 R7 ~3 r( ^
  266. ; You cannot specify additional output handlers if zlib.output_compression* h# y3 G3 `0 h; Z- o
  267. ; is activated here. This setting does the same as output_handler but in& V3 k1 r: V2 M) w% z" m
  268. ; a different order.
    , F$ ^3 r* k, N' b1 s
  269. ; http://php.net/zlib.output-handler
    - ?! F3 M/ U( c/ ?) B
  270. ;zlib.output_handler =8 a3 D4 o/ q5 `6 X- C

  271. 5 T* G2 n4 O5 D/ V7 C
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    / S) e- Q) |5 i- e  y7 R$ E
  273. ; automatically after every output block.  This is equivalent to calling the
    0 `2 E& b4 m* q8 m* _) s) f
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + d! e( x) Z. |0 Q8 B* s
  275. ; and every HTML block.  Turning this option on has serious performance
    2 v9 G6 g5 [7 ]% M, s3 g
  276. ; implications and is generally recommended for debugging purposes only.: w" v% w6 H5 d( Q  t! o" e% `: V; X
  277. ; http://php.net/implicit-flush; ^2 O" J0 O# @  o0 T0 [
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) L# |/ u* ^6 L1 k# }1 c/ m8 a/ p
  279. implicit_flush = Off% |; ?; D2 M, b  |" d

  280. 8 U/ K+ P0 M* _6 z" N0 m3 S/ x
  281. ; The unserialize callback function will be called (with the undefined class'4 i: }5 o+ _9 f' m) j
  282. ; name as parameter), if the unserializer finds an undefined class
    # t: c% T8 f' x" [% c9 ^
  283. ; which should be instantiated. A warning appears if the specified function is
    6 I$ O0 s- Z# M, O, x  g
  284. ; not defined, or if the function doesn't include/implement the missing class.
    4 Z+ b* F. m  P+ g8 D, x% K2 F, `
  285. ; So only set this entry, if you really want to implement such a
    # E5 m1 i  r1 p: Y, E8 E6 p
  286. ; callback-function.( u! ^3 ~( C9 h
  287. unserialize_callback_func =5 S( E( |0 D; |5 x

  288. - B' H4 \) H7 O: h( F4 j5 R0 e
  289. ; When floats & doubles are serialized store serialize_precision significant# E- {8 B6 U8 H9 G; M
  290. ; digits after the floating point. The default value ensures that when floats
    ) }! ]2 L3 s: O+ w" M
  291. ; are decoded with unserialize, the data will remain the same.& E/ T, v' W+ G" R; i" K
  292. serialize_precision = 17. q/ U7 H4 A7 [
  293. : f) ^, f1 l; _$ N/ o5 [* X) J6 a
  294. ; open_basedir, if set, limits all file operations to the defined directory% f/ v0 B1 c( h8 j. y
  295. ; and below.  This directive makes most sense if used in a per-directory6 b6 W' h: ?5 s( w
  296. ; or per-virtualhost web server configuration file.
    ; _3 Q, k: B/ _) i$ Q" ]! V: N
  297. ; http://php.net/open-basedir4 X, I8 ~4 |/ g. Y( T' _0 M
  298. ;open_basedir =& R  D) z7 s/ X7 H: h* \

  299. + h' d+ Q  P7 B
  300. ; This directive allows you to disable certain functions for security reasons.5 A: B" T6 u  B# l7 _$ H
  301. ; It receives a comma-delimited list of function names.
    0 L7 q& K* {- U) |* L% @0 w
  302. ; http://php.net/disable-functions% i! t  ^  I/ H% |$ R" ?
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru: P; \  T. k; p# {
  304. , }  c) y, z- }
  305. ; This directive allows you to disable certain classes for security reasons.3 ?5 p, {9 L) y; y& e% l
  306. ; It receives a comma-delimited list of class names.# n  P7 H( N$ E
  307. ; http://php.net/disable-classes. c7 B' H3 B5 {9 w& ~) H+ h+ ^7 R% h
  308. disable_classes =
    4 r( @9 W! o" D$ r

  309. , M* j, p2 C, p9 s. @' m
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; S3 ^; |$ z5 B& u; s  [7 U
  311. ; <span style="color: ???????"> would work.2 c8 D+ n- u% @. {5 m
  312. ; http://php.net/syntax-highlighting0 }( i" K6 r4 R) A. K
  313. ;highlight.string  = #DD0000
    $ P& r- U/ a, S( Y' O6 b
  314. ;highlight.comment = #FF9900+ a- m0 v7 e: T: M' K
  315. ;highlight.keyword = #007700: L+ b- c5 d+ }' p+ b+ f
  316. ;highlight.default = #0000BB: o9 c6 `9 n2 @& K- k
  317. ;highlight.html    = #000000" z6 h; _# ?5 n  T7 f7 b! Z, w
  318. % |5 j) F9 B9 a9 }/ w% {. F! C
  319. ; If enabled, the request will be allowed to complete even if the user aborts( d  S' f0 P' J
  320. ; the request. Consider enabling it if executing long requests, which may end up- x2 Q; ]" w  a( ?6 {3 |
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    7 V' A% a  a; [$ u* s% Z
  322. ; is to disable this feature." G4 a. s9 {: F. [
  323. ; http://php.net/ignore-user-abort
    0 L9 w* B$ E0 f  G* C
  324. ;ignore_user_abort = On
    ! O! y6 o, P  s8 h

  325. : K9 B1 O1 B. x9 l" d% F: m# a
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    - l4 L' w! e( ^6 s# F
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    / i% R, ?& X5 Q' P! ?& }3 p
  328. ; the file operations performed.
    + J1 y) _, L8 r  G7 q  v  ]
  329. ; http://php.net/realpath-cache-size
    $ b4 V6 A3 K. K- V% ]
  330. ;realpath_cache_size = 16k
    & M( {5 n/ m* ]# {/ o9 s7 t3 [. x

  331. + `: o& ?1 f8 m# g
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    : v' p5 E7 i! m2 {- n
  333. ; file or directory. For systems with rarely changing files, consider increasing this4 A. w% C$ O% ]0 d
  334. ; value.
    " |$ i' Z) k2 l& D3 a9 s
  335. ; http://php.net/realpath-cache-ttl
    3 ]9 a. _) X# u, |) b/ |0 o! O1 b
  336. ;realpath_cache_ttl = 120
    $ C6 z6 a) y7 Y- R# M5 U9 _

  337. 0 \: e' |' s, q; @- d" _
  338. ; Enables or disables the circular reference collector.+ b5 d# Z% r( m' z) _: V
  339. ; http://php.net/zend.enable-gc. s( D, o; \, A9 {$ O8 e& G9 C; N4 p
  340. zend.enable_gc = On
    7 ^% t% X+ Y& o' s" h. h
  341. & i2 T5 q3 G7 }- V
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    $ N. d6 C/ I/ A0 i# }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such5 I( y9 P) {9 X" q3 p$ I
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 u# y: l6 O& u( z. B3 G3 n: {
  345. ; Default: Off9 B/ a) _( `  P9 Z1 a+ r
  346. ;zend.multibyte = Off
    : I! @! r# U6 ~$ \" \0 N& ^6 |

  347. 2 x2 o# Y1 B/ t6 t
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    5 f0 t. O: t/ b5 V! R2 M
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 d3 P7 b7 R; u
  350. ; Only affects if zend.multibyte is set.. S9 d) d" G7 |0 ^5 M5 T# O: u
  351. ; Default: ""! \0 q& \$ d: p" h+ ~! W
  352. ;zend.script_encoding =
    / `# n( G4 o$ Z( |' m

  353. 8 D; M% a( s  S* [
  354. ;;;;;;;;;;;;;;;;;( ~8 u: ?1 \! H0 B6 }' S
  355. ; Miscellaneous ;
    " z2 C+ [& @7 @: N8 N! v
  356. ;;;;;;;;;;;;;;;;;
    $ p' |& c, b9 c- y5 S
  357. 7 p6 L0 C6 Q# N
  358. ; Decides whether PHP may expose the fact that it is installed on the server
      _2 }4 X' G4 j% W
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    % r! T( {  q+ v
  360. ; threat in any way, but it makes it possible to determine whether you use PHP6 V. o5 m! |, N: v/ L. {
  361. ; on your server or not.
    5 W# T6 X& x! |1 H& V7 ^
  362. ; http://php.net/expose-php0 {; m1 L3 l$ M9 J) D4 K
  363. expose_php = On
    " _* i2 e. N2 s- v5 R- M) J* D

  364. & c" _; g5 D' a- l
  365. ;;;;;;;;;;;;;;;;;;;7 U- q. ]5 k8 b9 f( [1 l9 i
  366. ; Resource Limits ;
    . ?+ L' m0 H) k  b8 Y  j9 K
  367. ;;;;;;;;;;;;;;;;;;;
    $ H" j: e8 G; g* A

  368. ! C* {) \* P1 \  n% ]5 g1 @
  369. ; Maximum execution time of each script, in seconds* {' P8 F) R  Y6 B! C  F
  370. ; http://php.net/max-execution-time$ u( _/ ^0 S$ U0 Z  a& l. ?
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 j  r) j" T2 B
  372. max_execution_time = 300
    ( ]- e7 o1 W$ B& }9 E$ q# S: R" q
  373. * o3 Q( q, U7 C/ t
  374. ; Maximum amount of time each script may spend parsing request data. It's a good! ]0 Z% J9 \, z% J( V7 q
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 p8 o  e0 f' U' ?% {. v
  376. ; long running scripts.' z4 e0 z9 J# d7 ]- I7 s
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 K3 Y8 T! m5 d0 I, g2 f
  378. ; Default Value: -1 (Unlimited)
    - x/ f/ x) `. n& R+ \/ V5 i
  379. ; Development Value: 60 (60 seconds)
    $ Y8 `( O1 u+ H/ \; L
  380. ; Production Value: 60 (60 seconds)
    5 Z( H9 Y0 u8 J+ a& P6 V
  381. ; http://php.net/max-input-time
    ' }) m5 t. f. e
  382. max_input_time = 602 ~, H: k7 g6 Z/ n- W; d: v3 N3 Y
  383. % \6 r9 B- l! q7 s, E( J1 u+ e. O
  384. ; Maximum input variable nesting level1 U% z7 d8 `: X8 ]# \( e
  385. ; http://php.net/max-input-nesting-level. L; D) w: Z; [3 w
  386. ;max_input_nesting_level = 64
    . H3 ^$ x* J9 T
  387. ) ]5 b' X. f+ R- l
  388. ; How many GET/POST/COOKIE input variables may be accepted
    : K& r2 T3 i# c" y! n1 C8 c
  389. ; max_input_vars = 1000
      v9 r6 R2 f. _
  390. ( K* {; |' P& D3 m# j; E
  391. ; Maximum amount of memory a script may consume (128MB)
    & {9 M8 B% y( n
  392. ; http://php.net/memory-limit7 B6 p" Q' Z3 d) c
  393. memory_limit = 128M
    + O" {3 k2 J/ r4 E1 }
  394. % w7 X$ G2 Y8 \2 e
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      G3 T0 E4 z/ K( L- i8 i& x) A
  396. ; Error handling and logging ;
    . L  O+ w/ X2 ]) R$ _
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) \1 _5 ^& R9 _2 D1 {( h; ]: u/ K

  398. " t1 W9 T% g# w; h0 ~6 y, E
  399. ; This directive informs PHP of which errors, warnings and notices you would like1 D6 v, W. U  b" a* `
  400. ; it to take action for. The recommended way of setting values for this
    " }$ k% `. W/ }; Q
  401. ; directive is through the use of the error level constants and bitwise
    8 e( M  A+ O$ y! ?+ e% s
  402. ; operators. The error level constants are below here for convenience as well as
      E4 `! ]2 ^: j( B
  403. ; some common settings and their meanings.7 l$ Z, F6 H1 D' c( C* f& f
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; u. r  Y; v7 M4 M
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 ?1 c; B  i! O1 s8 e
  406. ; recommended coding standards in PHP. For performance reasons, this is the! Q4 b% \( c, F3 Z9 m- ]% Z# ]
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    , x. I  U) ^, ]3 |$ y
  408. ; resources complaining about best practices and coding standards. That's what! T& A" k' H: t$ i: b. a
  409. ; development servers and development settings are for.& U' @; M% ?& M# }/ w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 U1 A* Q1 B7 A9 c
  411. ; means it pretty much reports everything which is exactly what you want during
    % s' @( ^! Q5 |, R  s( n
  412. ; development and early testing.
    6 z/ j$ W8 M' c/ x# p
  413. ;9 }7 R) ~. Z" T0 V8 p+ i; E
  414. ; Error Level Constants:
    ; S  }2 g9 ?  Y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / f; Y6 D" L8 s9 W/ B
  416. ; E_ERROR           - fatal run-time errors  B) Q* e6 I" S5 E5 E' x
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
      c) e$ o- T+ H1 L: J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / d# t7 O9 X2 e8 O
  419. ; E_PARSE           - compile-time parse errors7 |3 z" }: m' `6 o7 P& i
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 T; Z* K( S6 P% M: d; Z
  421. ;                     from a bug in your code, but it's possible that it was
    9 P0 M4 ^  A$ ?) G# c, f! x% t
  422. ;                     intentional (e.g., using an uninitialized variable and
    % H' e% i- m2 h3 l$ w9 P
  423. ;                     relying on the fact it is automatically initialized to an1 F) |1 F: O3 z+ {7 `
  424. ;                     empty string)+ b0 I4 t- J! q$ u# F/ B
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 s! T* N: M' z/ ~
  426. ;                     to your code which will ensure the best interoperability
    5 [. h6 d1 x2 S9 ?" d( X
  427. ;                     and forward compatibility of your code
    6 l0 m4 b/ M# Y7 q1 y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup# A: u7 m6 f. i, S3 y) c2 m
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' B) t0 \+ W( H% H5 R7 i1 g
  430. ;                     initial startup' z) k+ T; B! W/ ^. D& R9 j
  431. ; E_COMPILE_ERROR   - fatal compile-time errors4 E' W: M4 Z6 g5 c( l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 D2 V: L' m4 x; g. y
  433. ; E_USER_ERROR      - user-generated error message( ^( a3 _( X  i
  434. ; E_USER_WARNING    - user-generated warning message4 Y4 f2 y. G& j" z& T
  435. ; E_USER_NOTICE     - user-generated notice message
    # K7 z# P+ P2 E% x
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    " u& Q1 p4 [7 H! n% H( [
  437. ;                     of PHP+ L& l% L* X/ l& M- a  E& p0 i1 d
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    * O& j* j7 q$ c: C- t  [, d
  439. ;
    2 F2 e" ^4 c* |. S- l' e# o
  440. ; Common Values:8 X! n+ @# u& H5 N' Q( a
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' J1 r: `  p! A9 c) M
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
      y% O* V( \4 |, P* U4 h. T5 c
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    * I; c8 L" s. X0 g3 y% e" R
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 H6 J# n8 o* U0 @" d& S2 R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ Z0 t- B" T/ P" c6 ]7 ~
  446. ; Development Value: E_ALL
    ) S) J+ Q7 k! D7 V; y" @0 d
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      T; l) W! r6 T; s  f! A9 ?8 N
  448. ; http://php.net/error-reporting, h! B; S( V( W( h$ z
  449. error_reporting = E_ALL & ~E_NOTICE
    " N; D" n: e. [" ^+ k0 u6 T+ t
  450. 3 j3 a% Z& s1 G$ @  u9 j  H
  451. ; This directive controls whether or not and where PHP will output errors,
    % h% p* {8 y$ b, n/ c
  452. ; notices and warnings too. Error output is very useful during development, but
    7 Q/ i% N5 I8 g1 Q  h, j& {: D5 w4 t
  453. ; it could be very dangerous in production environments. Depending on the code. J' e  b9 P/ Y
  454. ; which is triggering the error, sensitive information could potentially leak1 X& J" a) t  I5 B% g! m; A5 u
  455. ; out of your application such as database usernames and passwords or worse.9 x/ v; p) L1 Z/ v$ D& r
  456. ; For production environments, we recommend logging errors rather than
    9 }  y0 H# ^% w. Y& O( }. [
  457. ; sending them to STDOUT.
    3 {$ M1 x# Q# M( k; R: m& Q. S
  458. ; Possible Values:
    . E  J0 U" l' l0 k7 d( q
  459. ;   Off = Do not display any errors) Y: n- e2 W& h8 w
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# k4 {( M: P: K
  461. ;   On or stdout = Display errors to STDOUT- r- T: m; W* S( z
  462. ; Default Value: On, i6 T% a. l1 s  c7 c9 n
  463. ; Development Value: On
    , N- h+ {. c2 D5 ?3 r" L
  464. ; Production Value: Off
    6 [1 c4 u- ?9 \/ R- L
  465. ; http://php.net/display-errors
    & d' B" I+ H/ Y2 r* x) z& ]# M
  466. display_errors = On0 l7 X2 ]# I9 t/ Z
  467. * R$ v0 H; J$ x& `
  468. ; The display of errors which occur during PHP's startup sequence are handled
    $ k  o, T- \! u  G& L
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ' I4 u- d) J7 l
  470. ; errors from clients. Turning the display of startup errors on can be useful in" L. i, ^  e5 i8 X4 _  V
  471. ; debugging configuration problems. We strongly recommend you0 z4 z3 {: F+ t8 C2 H8 N5 H
  472. ; set this to 'off' for production servers.. h5 ^3 b4 p( U6 ^; N* N; X  ?. m
  473. ; Default Value: Off9 s% h; L  N5 a% [1 v3 L( u
  474. ; Development Value: On
    : j& q! u+ s& x4 v% H
  475. ; Production Value: Off
    2 Z: P/ a' P; Q! @7 S  r1 p
  476. ; http://php.net/display-startup-errors
    " m' c! M$ x' _, D
  477. display_startup_errors = Off
    5 D$ I* Q& h! r7 X# M
  478. * @* l8 |: Y" j2 f
  479. ; Besides displaying errors, PHP can also log errors to locations such as a/ j% `, J, O  O+ J2 W7 o
  480. ; server-specific log, STDERR, or a location specified by the error_log6 V  m) t: a8 Q3 h7 a( [  u6 v1 O
  481. ; directive found below. While errors should not be displayed on productions
    0 W( j9 w3 K3 e( D
  482. ; servers they should still be monitored and logging is a great way to do that.! y  x2 u( P, H: ^- v- d6 L
  483. ; Default Value: Off, Y( P+ K' d8 a! X9 ]
  484. ; Development Value: On, A2 B1 o4 `- M0 Q, A" K
  485. ; Production Value: On" r3 z+ O# J, m# }- W5 T
  486. ; http://php.net/log-errors* T2 R8 `. X, a+ m
  487. log_errors = On! f0 |! y( u! R1 X" x' |+ W3 n( x
  488. # _3 R. T1 Z/ _+ A0 M) F
  489. ; Set maximum length of log_errors. In error_log information about the source is
    ; N; K0 E: {' k' p/ U1 |( _! Q
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! ]3 X) U0 u& k8 J  L) ]$ e4 W; S
  491. ; http://php.net/log-errors-max-len4 h3 h* ~. s) z
  492. log_errors_max_len = 1024
      i+ T  C, ?8 z# u

  493. " C+ F  T: e* r9 ?2 W7 z, F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same% w, e4 W" Q  I2 m- d. x, x/ e
  495. ; line unless ignore_repeated_source is set true.) `6 [( i6 j  X6 U6 F. ?4 V
  496. ; http://php.net/ignore-repeated-errors! d, Q/ }, F7 f1 b0 c2 l7 y
  497. ignore_repeated_errors = Off
      {2 {: |; F4 `, C! b6 r5 P

  498. * ~# W, _1 R, V: l: d# l& A
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    9 B! m4 B* I! \
  500. ; is On you will not log errors with repeated messages from different files or6 }7 R3 n* D9 D/ X1 V
  501. ; source lines.
    # T1 T$ d% J6 z( g3 ~
  502. ; http://php.net/ignore-repeated-source" S2 I! M, y5 q2 }. I
  503. ignore_repeated_source = Off
    " Z7 C. I; h. f% h% V3 U: ^

  504. 4 z$ `3 f. f( z. O6 H
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; f+ h( Z- v! f# N
  506. ; stdout or in the log). This has only effect in a debug compile, and if  z5 W/ W4 M& L& K0 |7 q
  507. ; error reporting includes E_WARNING in the allowed list
    % _% N- g6 r# e7 A" {
  508. ; http://php.net/report-memleaks
    , t4 m& ~: c$ c$ E# D4 `4 _- G% r
  509. report_memleaks = On. G* u# T6 T7 `3 ?; O

  510. 9 F. `  Q% u. H! u
  511. ; This setting is on by default.# _, P5 Y$ d% o4 z3 H9 x
  512. ;report_zend_debug = 0
    * ]/ V- M' v5 f+ n8 }/ ~, L

  513. # S* i& I! r& p% g1 Q
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 t& x2 M8 A+ A1 E- p2 G' \. _
  515. ; to On can assist in debugging and is appropriate for development servers. It should: p2 G/ x8 @2 f, P! n# ~) ~0 X  D
  516. ; however be disabled on production servers.! X3 o" T) M  i) l3 N7 D' t0 E" j
  517. ; Default Value: Off
    ' o* A! K7 u( N8 y& g! L7 `
  518. ; Development Value: On/ W$ V  p4 W3 ^  n# m, s, w6 j
  519. ; Production Value: Off
    : R5 n) w7 e& {6 t3 V1 [6 h5 O. ?
  520. ; http://php.net/track-errors% s0 E1 p$ l, x4 z& N
  521. track_errors = Off6 i& G3 q6 h) m( B: X8 d7 o2 c
  522. * J# f; q, d9 K
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    # \9 }! W7 Q" l
  524. ; http://php.net/xmlrpc-errors# h/ g& u. P/ Y$ j! x7 T  t1 z8 n' S
  525. ;xmlrpc_errors = 0
    4 G# g8 f; W/ k8 |6 U% E0 W
  526. 2 d' D  B8 ^7 t& X+ f5 j) l# S
  527. ; An XML-RPC faultCode
    ! f3 U* s& G- b5 ~8 \* m
  528. ;xmlrpc_error_number = 0
    0 ^7 V' X' Q; [# S
  529. * ]& X, M+ j/ T5 }- ^
  530. ; When PHP displays or logs an error, it has the capability of formatting the* L& Y4 b: b1 l- {0 x9 S9 M
  531. ; error message as HTML for easier reading. This directive controls whether" a5 p/ G1 r+ E" E" h! ^
  532. ; the error message is formatted as HTML or not.
    : V9 N1 U  Y) O" T: t! }1 z6 g
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 g+ O& B3 L: S4 M
  534. ; Default Value: On$ m9 V+ T1 I# j! H/ r; |
  535. ; Development Value: On
    / x, j; ?. s8 s" A
  536. ; Production value: On' _6 F1 \5 T* V+ q' a
  537. ; http://php.net/html-errors
    ; e0 i2 I7 |# ?  ]2 q+ K5 x
  538. html_errors = On1 Y" M8 _) u4 i, @* t) j
  539. ! ]% b& \+ |$ V8 |7 |7 g
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP8 ~: s3 C1 Z& E( e& W6 K3 W
  541. ; produces clickable error messages that direct to a page describing the error
    * v1 [; B, U) T( Y3 w9 w9 |& W6 R
  542. ; or function causing the error in detail.2 Z2 b% u* q9 b! `9 u0 ~) n* @; Q
  543. ; You can download a copy of the PHP manual from http://php.net/docs0 y6 c7 C5 @3 g" }% \4 @
  544. ; and change docref_root to the base URL of your local copy including the. m! m, A6 b, q3 K' B* z% S
  545. ; leading '/'. You must also specify the file extension being used including
    + ^6 P" b$ y& R* A5 S% B; W4 n# M
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    , x; }9 A# K/ \
  547. ; case no links to documentation are generated.4 ^9 }/ a& j" q9 t# b: g( m' z
  548. ; Note: Never use this feature for production boxes., k* z% Y/ }$ F
  549. ; http://php.net/docref-root
    / J1 H; e; z# k# I4 z/ H
  550. ; Examples5 }/ D2 \' ~) A( g; F+ l
  551. ;docref_root = "/phpmanual/"
    " H) g4 s2 V& @

  552. 3 {. j  Q" w, H) \$ v
  553. ; http://php.net/docref-ext
    % k  L1 y0 \9 Y! Q# T
  554. ;docref_ext = .html
    ' c: v) n! @4 r& x, m
  555. * S) n! D9 O+ s% N7 Z
  556. ; String to output before an error message. PHP's default behavior is to leave
    " i/ @6 f, v; ^4 Z5 m
  557. ; this setting blank., L0 c1 J4 V; }
  558. ; http://php.net/error-prepend-string; K9 e( P9 m- g: d8 W2 }
  559. ; Example:
    0 d' o9 {8 G5 o
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
      N- u5 e7 V7 w( o) g
  561. $ c0 I, s( k9 e& J  u! e
  562. ; String to output after an error message. PHP's default behavior is to leave2 G: n* @2 O3 k8 t$ {( |
  563. ; this setting blank.
    , y$ y& k! S3 T* M* k, v
  564. ; http://php.net/error-append-string9 W9 d# g4 v7 U$ G' Y  E2 b! Q3 v1 h
  565. ; Example:
    % n2 N8 [3 I( F
  566. ;error_append_string = "</span>"
    $ v2 v9 j6 i3 J8 C
  567. / u5 K5 F1 ~/ L. B
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ! L# j) {  m9 T! W- j/ ?: p
  569. ; empty.6 R& }" Q6 Y4 ?: n3 {- v
  570. ; http://php.net/error-log/ u1 I5 T1 I8 g' H
  571. ; Example:
    ' X! \& S1 X: t1 M' q* R
  572. ;error_log = php_errors.log; |; e; n; f9 Y  P$ `1 G
  573. ; Log errors to syslog (Event Log on Windows).8 r( z+ y' H" i' A
  574. ;error_log = syslog, B* Q8 w7 P$ {% ]

  575. ' _9 I7 W$ j( {
  576. ;windows.show_crt_warning/ e4 K& I: E$ M) O$ O
  577. ; Default value: 0# Y+ l! O' Q* H) \7 x0 M# R
  578. ; Development value: 0
    0 A" h% I- a5 t: M, V8 N
  579. ; Production value: 0$ e# X# f# o% m; u7 R/ E1 I
  580. ( y9 F4 i1 R. F0 A  \3 s' I
  581. ;;;;;;;;;;;;;;;;;
    % P  b3 ]" n# E6 R! y
  582. ; Data Handling ;( ~. {- Z9 f( U7 d4 X
  583. ;;;;;;;;;;;;;;;;;9 y5 {8 A1 ]$ I5 z5 J! t6 I1 [7 s, G
  584. 6 `7 D5 [7 w, X" Q) `, ^' V
  585. ; The separator used in PHP generated URLs to separate arguments.4 A2 ~" @4 B0 P/ m6 T# G* A2 j. v
  586. ; PHP's default setting is "&".
    & B( Z( r/ b3 @% q* j  O  F1 q
  587. ; http://php.net/arg-separator.output
    % q5 n/ O7 S% N" e9 T) [* p* f
  588. ; Example:8 h6 ~4 t5 M9 }7 r
  589. ;arg_separator.output = "&amp;"; @- r: d, o7 X" @7 ]: ^. _

  590. + j0 ^- t! ?# h  s3 Q
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    $ Z- ^8 \/ y: f1 Q. h
  592. ; PHP's default setting is "&".& C9 O/ ]0 a# X
  593. ; NOTE: Every character in this directive is considered as separator!+ N: c8 v7 b! o& _) k+ v; q( E
  594. ; http://php.net/arg-separator.input
    / C: C: F  a6 V
  595. ; Example:
    $ [- o2 B* i; O* M$ M# B+ _- V. Y7 h
  596. ;arg_separator.input = ";&"
    4 \' g1 T: `- q. T' ^0 G
  597. . R# S& a: Q( ~: P& ]. B/ A2 w
  598. ; This directive determines which super global arrays are registered when PHP7 f2 U1 w- i' u
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 r2 ?! _, d0 x( C
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    : w2 s% `, I% W% J3 _0 m
  601. ; paid for the registration of these arrays and because ENV is not as commonly6 n6 C7 N9 j2 _* `7 R; z
  602. ; used as the others, ENV is not recommended on productions servers. You
    & c5 y7 r) e  p
  603. ; can still get access to the environment variables through getenv() should you
    " N' A) R1 f' [) G, w- p, T
  604. ; need to.
    * l6 ~+ X' A( j. Y3 S% q
  605. ; Default Value: "EGPCS"4 g3 |& d( a9 c  e/ A: X
  606. ; Development Value: "GPCS"
    ' k1 E$ G; h. a3 a  u  f
  607. ; Production Value: "GPCS";: W0 @9 L. x) G4 N9 l
  608. ; http://php.net/variables-order' \) R. w; u2 e6 d8 o# I
  609. variables_order = "GPCS"1 e3 j1 ^8 \8 g* P2 T

  610. , {. v/ S4 Z" u8 [. L- c
  611. ; This directive determines which super global data (G,P & C) should be
    4 M8 X! o6 s8 P. B5 `% e& O; w: q0 K
  612. ; registered into the super global array REQUEST. If so, it also determines
    6 R8 T- W( [5 a
  613. ; the order in which that data is registered. The values for this directive
    ) F' w; `$ W  G7 w6 K7 _) u
  614. ; are specified in the same manner as the variables_order directive,
    8 P' q  ]. b) l7 K' m' _
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    % s5 h( S6 N4 r% K' O+ q/ B1 L4 H
  616. ; in the variables_order directive. It does not mean it will leave the super2 P, y2 Q. B/ ?  u% `) \: p+ n
  617. ; globals array REQUEST empty.. F3 D1 g) p$ S2 g+ H" D1 c2 ]
  618. ; Default Value: None/ e4 S" T! Q* P- ^# p/ M; W$ v
  619. ; Development Value: "GP"+ ?5 k: O% J# R+ E6 P
  620. ; Production Value: "GP"! t8 O  [& U) V/ f6 E! {, C& M
  621. ; http://php.net/request-order1 f: J( i( m. @$ F. ^
  622. request_order = "GP"
    + w) J2 a, Y& H5 R: K
  623. 8 W  L4 O- {- K
  624. ; This directive determines whether PHP registers $argv & $argc each time it! r6 L  F0 Z% ~, H2 F2 ]
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; Y3 P) D: w4 R) W
  626. ; is invoked. $argc contains an integer representing the number of arguments
    $ @, a2 p) P" s0 U+ ~
  627. ; that were passed when the script was invoked. These arrays are extremely
    & i, o0 u* S) ]7 Q$ F8 ]
  628. ; useful when running scripts from the command line. When this directive is: x- M% _' z1 ?5 c
  629. ; enabled, registering these variables consumes CPU cycles and memory each time+ y% y% O1 P; G2 L" t3 Q( n6 b
  630. ; a script is executed. For performance reasons, this feature should be disabled
    " N" b5 F: F! Q, |0 [2 x
  631. ; on production servers.
    # C8 o: e7 O  f
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) Y0 M0 N3 P8 @6 J9 X/ o+ w/ {
  633. ; Default Value: On
    # ?  O) C+ O9 g& I* j" z# i* b7 l3 L
  634. ; Development Value: Off, p+ {0 w: e1 m  g* G
  635. ; Production Value: Off8 `4 E8 R8 _" p$ N& ?9 a
  636. ; http://php.net/register-argc-argv5 n  R& `9 Q7 P$ N5 C
  637. register_argc_argv = Off% |6 u, K. A$ k3 ^
  638. 5 P8 X. j$ ~& J9 G' M% Z* h
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' M; Z8 N! }+ h; @0 I
  640. ; first used (Just In Time) instead of when the script starts. If these
    3 b, G1 U4 O8 q  a0 B4 g
  641. ; variables are not used within a script, having this directive on will result
    1 b/ P( ^- _: e+ O5 ~" ~+ ?; j# r& e3 n
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; W4 W  m+ I, x8 |3 M6 m8 O9 X
  643. ; for this directive to have any affect.
    0 f. b4 f$ M# B! j
  644. ; http://php.net/auto-globals-jit3 H5 d( ?1 ^; s3 q/ G* H
  645. auto_globals_jit = On
    6 ^8 V1 \0 m$ O: X2 s9 k

  646. - P8 F( O' }7 X  K7 c
  647. ; Whether PHP will read the POST data.
    7 v  W" x% F. ]$ D. O$ M# H$ d# ^
  648. ; This option is enabled by default.1 ~+ U8 l/ L6 m
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST' a0 j# w; n9 b; M- H8 F+ Y
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    / ^% z  D- a9 n' N, I2 V( `! m
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    $ R+ @; h8 |# l  }# y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.% O4 n$ U9 j. K; I
  653. ; http://php.net/enable-post-data-reading
    % M. H9 |/ [6 q9 B! I" }" @
  654. ;enable_post_data_reading = Off' k1 {% r1 r* h5 k# X

  655. 6 g8 f" y: `6 F5 T1 Z
  656. ; Maximum size of POST data that PHP will accept.
    # ?3 B7 E  u: ]0 D+ q0 p2 B5 k
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    0 f6 w6 E8 a: u2 o
  658. ; is disabled through enable_post_data_reading.
    4 A# q$ x) S' ^7 a- w
  659. ; http://php.net/post-max-size/ `! @1 m* ]7 Q+ ^- j
  660. post_max_size = 50M4 b2 d5 h7 v6 \- C2 Q. P: D
  661. 9 ]8 H- `, u% ?' U& _
  662. ; Automatically add files before PHP document.
    ' a8 J* ~* s2 ?: I$ [
  663. ; http://php.net/auto-prepend-file
    * S8 W) |5 t3 u3 ^& H3 c7 L4 h
  664. auto_prepend_file =+ e8 _9 I9 Q1 ]& L
  665. ) H6 S7 z3 u  _, M6 g4 ]% K" O
  666. ; Automatically add files after PHP document.# ]: x% x( n7 h8 D8 A$ Z: _4 r
  667. ; http://php.net/auto-append-file
    / U6 v- B1 z" ?/ U! ~$ U" k
  668. auto_append_file =
    8 i( @2 d: Q8 }+ z, H+ U

  669.   I( f& ]9 N: V$ E8 O+ \9 y
  670. ; By default, PHP will output a media type using the Content-Type header. To# ?! D2 @, ]+ L. |* g7 I
  671. ; disable this, simply set it to be empty./ K3 Q" J- Z+ Y; p8 `
  672. ;
    ! h2 L7 a- Z& v3 _/ l( f
  673. ; PHP's built-in default media type is set to text/html.+ K( U& U6 N5 L% `8 h
  674. ; http://php.net/default-mimetype
    ; o3 i& D2 h* l5 d3 C9 F
  675. default_mimetype = "text/html"
    $ A/ }1 b8 H. l# o& j
  676. + w( @8 d, H8 p* ~$ E2 g$ \% Z& J# m
  677. ; PHP's default character set is set to UTF-8., U' \( b" ^  {4 j
  678. ; http://php.net/default-charset
    8 U* N9 X. q  f( I
  679. default_charset = "UTF-8"9 I9 C# o0 [4 Z* O
  680. ) s. D+ L! q- z. ~) n" A! }
  681. ; PHP internal character encoding is set to empty.
    4 w* b1 L2 f9 z" V: S/ c
  682. ; If empty, default_charset is used.
    5 O2 ^* j: o/ Q" N9 f
  683. ; http://php.net/internal-encoding" c6 J# X" @' y8 k# ?% U. M
  684. ;internal_encoding =
    & H4 h& I8 h; i( u; U. C3 y. _

  685. . L2 _$ G0 _6 P& k. g+ w- y/ w
  686. ; PHP input character encoding is set to empty.  B- x  Z1 h/ R8 V, c: n
  687. ; If empty, default_charset is used.
    * ^% {- T9 g! e9 k4 m- e6 {
  688. ; http://php.net/input-encoding
    % Z- \' z% F2 {
  689. ;input_encoding =9 M$ p  J7 D9 a: f

  690. : j8 H2 |0 y3 A! v4 I( S
  691. ; PHP output character encoding is set to empty.: |: R) b- A* p- W# L6 P
  692. ; If empty, default_charset is used.
    : f+ m# n% E3 B) _  Z
  693. ; See also output_buffer.
    , I' T* [/ k5 M  D! ]; `0 o: X
  694. ; http://php.net/output-encoding
    # K" V( w$ B4 ~& ^6 L6 N
  695. ;output_encoding =# d- P4 B: K/ C9 a8 Y% E
  696. 7 S# a0 o- @  B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is( p: V, S9 y) \
  698. ; to disable this feature and it will be removed in a future version.
    * d& i# q' G6 |( m( a4 P7 ]
  699. ; If post reading is disabled through enable_post_data_reading," r; a/ v6 i8 o, w5 Z
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ; S' a0 n/ v  Q3 O! j6 F
  701. ; http://php.net/always-populate-raw-post-data
    5 P4 H: y$ G+ e* i0 Y+ u
  702. ;always_populate_raw_post_data = -18 p( v6 f" p$ Q2 g1 Y

  703. ; d  T: X3 ~3 t+ X6 ~4 |; C
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 x/ `  k: K# I- o( c9 `5 t/ o) D" e
  705. ; Paths and Directories ;
    8 ~* s/ u- Q! F# T; D
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & e$ L' |% }( E0 n& L, f8 }
  707. ) F( t1 O9 O2 F& ^
  708. ; UNIX: "/path1:/path2"2 O$ A$ R0 W! g
  709. ;include_path = ".:/php/includes"
    ' _  {: C/ y  z' I; S( ]
  710. ;
    5 W& a0 P2 i  K4 Z7 b0 w1 G, s
  711. ; Windows: "\path1;\path2"
    8 @$ f' a; K" s; K5 o1 M
  712. ;include_path = ".;c:\php\includes"
    7 s' F: h) }$ L
  713. ;. G* T& F$ b1 J3 J
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * p1 F+ V8 [6 Y
  715. ; http://php.net/include-path6 f5 k) x) v. \) \- {. D1 `

  716.   b+ J' n' S9 A' a. W9 t
  717. ; The root of the PHP pages, used only if nonempty.1 P6 T1 R0 q2 l! u7 `
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      |) ]) ]& P' O
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 b$ r# S' |+ _5 l5 ?" k, S/ ~' P
  720. ; see documentation for security issues.  The alternate is to use the6 ~' h- m$ t! J- S
  721. ; cgi.force_redirect configuration below
    ' v4 r) Q9 l. y( P) v3 U/ {
  722. ; http://php.net/doc-root
    ( b8 ?; N1 n& i! \6 x
  723. doc_root =/ B  f0 v0 D9 [; G& T! ^$ g

  724. , W! H( A8 w7 U6 y
  725. ; The directory under which PHP opens the script using /~username used only1 b* A4 r7 u, n
  726. ; if nonempty.. W% {* h0 h4 a/ _% F: F
  727. ; http://php.net/user-dir
    # Z( @/ G4 s$ O- }% U; C1 t) W- q4 [% U
  728. user_dir =
    6 J7 ?! Z  t  j# O) \: q
  729. % c9 e* `! B- B* A) ^' W$ ?
  730. ; Directory in which the loadable extensions (modules) reside.
    ! G0 L2 p0 a9 X/ t8 q
  731. ; http://php.net/extension-dir
    5 ^) v, V# a8 w1 t
  732. ; extension_dir = "./"6 t% o% s$ O1 h% L+ D
  733. ; On windows:+ t7 \$ x$ v+ b/ y2 l; B6 o% g
  734. ; extension_dir = "ext"
    5 D. {7 B# y5 n/ a% C
  735. % ~7 b8 ]+ B& X5 K9 l* }" K
  736. ; Directory where the temporary files should be placed.: c/ G% [: P$ [  y3 e0 R$ d9 A8 W
  737. ; Defaults to the system default (see sys_get_temp_dir)
    # k! t( D& l3 S
  738. ; sys_temp_dir = "/tmp"
    ! e; y3 j* C6 d0 h0 J8 Z
  739. : R& K1 R' U" \$ N: Y: Z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - c( R5 H! r/ e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ F  S0 U+ G4 z- D0 e% A
  742. ; disabled on them.- A* l1 b. Q2 t" Z
  743. ; http://php.net/enable-dl
      C- s8 B1 w5 |1 t) r7 J
  744. enable_dl = Off
    0 B; T' F( t. n' c4 j" H# [

  745. ) }0 O8 N% C. T' W5 h
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    * S1 `; M1 V7 o+ T' }
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , i) [/ D  E8 n" W
  748. ; turn it off here AT YOUR OWN RISK
    8 E) d. K! B% }: y
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: D6 e) C! E( k7 z
  750. ; http://php.net/cgi.force-redirect: p- q! w* H4 r3 t
  751. ;cgi.force_redirect = 10 j2 `6 W0 }4 X* M
  752. ) H4 W. Q1 H0 ]+ p  s0 y4 k
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 s1 a5 j& [& P. _8 k$ Q/ j% P" a
  754. ; every request. PHP's default behavior is to disable this feature.& d) ]  n; Y: K$ |4 I
  755. ;cgi.nph = 1
    : X& Q" }6 G; a3 Q9 J
  756. 7 a$ y& Z& S% X1 [3 ^: {3 f5 C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) m1 l9 v* D* w* h2 h
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, w, w' `7 O) L) ?0 P! [
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ( p8 ^" F( f( s; X, o9 V, N- r4 ^
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 H+ T3 @% q" @/ X% q3 M9 }
  761. ; http://php.net/cgi.redirect-status-env
    1 q4 a! s) W" X" }
  762. ;cgi.redirect_status_env =
    5 ?/ v; D7 Q7 t% z9 Y6 Y; r

  763. % p/ p( a6 I3 h* s( n/ O' M
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' {! e. U1 f' d0 D( }3 k" [1 J2 A
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. f# G& V$ G; W# N. w  R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    6 |) ]" i+ h& h' h& g
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ! o6 F, K6 f8 P
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / D8 f  p) L( e) K- P" j
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.9 n  O: e/ ~, E" s0 ~* H' {! P
  770. ; http://php.net/cgi.fix-pathinfo) x. @, x  u0 H4 m" ~) [
  771. cgi.fix_pathinfo=1
    " ~' Q# ^' g% i7 V
  772.   D4 Q0 a* j2 P! V8 }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 ^* M9 Y4 b9 l6 Q7 d
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
      |$ v/ p! W. I) N: T. p3 u' M& e( [
  775. ; http://php.net/cgi.dicard-path8 h5 C9 I4 }5 Z8 I; D
  776. ;cgi.discard_path=15 }+ m+ a* V6 a& f

  777. 5 w# s  Z. {& t& K) K% L
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    $ f: l& |8 N2 ]: B& `' W( ?9 }
  779. ; security tokens of the calling client.  This allows IIS to define the
    0 P0 l, Z% {. R
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    8 H( W8 G# f$ a3 b1 Q: ~
  781. ; does not currently support this feature (03/17/2002)
    6 g% Q, \- g  @1 S3 e. Y0 s
  782. ; Set to 1 if running under IIS.  Default is zero.
    % o0 Q$ R; H# U! a6 G
  783. ; http://php.net/fastcgi.impersonate5 M8 H/ D- v' i0 Q! m/ a0 v2 ?+ a
  784. ;fastcgi.impersonate = 1
      `+ w0 S# H$ E. R+ y! T0 e
  785. 9 q6 U8 J+ l6 m% v5 C
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable1 H" C2 F  \/ K( m$ S# B; r
  787. ; this feature.
    2 x! W2 ]$ `$ M* `7 N
  788. ;fastcgi.logging = 0# W  L' k/ {  i; K2 F* X
  789. 0 L; U) {+ A$ h* L
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    * S8 a  k  ]& Z( q
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + A$ |+ W, O' x, q
  792. ; is supported by Apache. When this option is set to 1, PHP will send# o/ I' n9 i/ f& k; u# L9 f
  793. ; RFC2616 compliant header.
    + j# n( B( t) }6 ?& b% S
  794. ; Default is zero.
    ( `5 U' X' k$ o: L* K8 W
  795. ; http://php.net/cgi.rfc2616-headers  Z1 W. O5 z: D% U) H5 V) ^
  796. ;cgi.rfc2616_headers = 0) p7 }% F9 Z% T! n- G4 o

  797. " D3 s5 x. \8 I& H2 M
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 J" o6 F/ |5 P+ i
  799. ; (shebang) at the top of the running script. This line might be needed if the7 N5 y% Y% ?$ L
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : v% O$ I$ X6 x, @9 v* @8 [
  801. ; mode skips this line and ignores its content if this directive is turned on.% f: A' f) `% Z( N
  802. ; http://php.net/cgi.check-shebang-line( B" _5 g( ]3 r4 @4 h( B
  803. ;cgi.check_shebang_line=1% i2 P* Z* R1 v
  804. " u6 E, R( E7 S% k  N
  805. ;;;;;;;;;;;;;;;;- y5 m: F# K% z5 }
  806. ; File Uploads ;) a" X3 j$ N7 L) }& r
  807. ;;;;;;;;;;;;;;;;
    $ A) J% N; D/ K# }3 k- I9 U
  808. 1 {+ s& c, O  ]' j# ^) C8 r$ U
  809. ; Whether to allow HTTP file uploads.
      H* w" }  ]: N& X7 g+ o- c
  810. ; http://php.net/file-uploads* G% A- R3 ~$ `6 n4 u1 I
  811. file_uploads = On
      O. h( w( ^- _4 W2 S/ P
  812. ! ^0 e4 Q; `+ ?" \) }0 s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not9 E& ?* p" I4 X0 }% M+ x
  814. ; specified).* c0 ~' d. s/ j$ Y5 O
  815. ; http://php.net/upload-tmp-dir& A1 z4 T9 U* e' w9 H6 O
  816. ;upload_tmp_dir =
    ) s0 a& B' H$ q2 S
  817. - n3 @( x: J& @
  818. ; Maximum allowed size for uploaded files.* r% g; d: [+ x8 J
  819. ; http://php.net/upload-max-filesize
    : y% {. _' c/ F" B" h
  820. upload_max_filesize = 50M4 B, m: X& K. j8 G" {+ |% N/ Z
  821. $ n1 i" M5 j7 i' W
  822. ; Maximum number of files that can be uploaded via a single request( M* [; W3 Z8 c' i1 S+ J
  823. max_file_uploads = 20$ t) O/ ]( ?* m

  824. . k1 S% n3 `% q' G
  825. ;;;;;;;;;;;;;;;;;;- G7 N8 }/ S8 w
  826. ; Fopen wrappers ;
    0 r, L# Z% i  l* @" D
  827. ;;;;;;;;;;;;;;;;;;, L. B& v2 [4 O" a0 H

  828. # c0 S' l# i9 c
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& W: e8 F) b6 r$ ~$ n
  830. ; http://php.net/allow-url-fopen/ U4 P, }8 w) X- q- j1 c: q
  831. allow_url_fopen = On
    " [4 s7 K6 w9 A0 O3 z- k
  832. : h' f- g) X* h+ R0 b
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * N  A  J& ]# w4 M
  834. ; http://php.net/allow-url-include3 G  K) m3 g% D8 L( ~5 x( ~
  835. allow_url_include = Off
    . Z0 t  h1 N/ y! W7 \

  836. , N# G" Q. m$ `, i
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    , f  y5 ?6 X/ g' F3 b
  838. ; for this is empty.4 a: C( v  T0 o7 }) T* R
  839. ; http://php.net/from; U$ a; `0 F& g6 ?& _
  840. ;from="john@doe.com"
    5 B1 Y4 f7 ?: L6 i. N: g# b  B

  841. 7 p) K* g) H$ H
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    4 f- z  h/ c( ]! a* k
  843. ; http://php.net/user-agent
    : G( M- W6 |5 U# q! V
  844. ;user_agent="PHP"2 U2 a6 N& ^) C$ P- w. e$ J! p
  845. 5 N0 j4 ^( W4 `( f
  846. ; Default timeout for socket based streams (seconds), l) a9 y) }  I# h8 g2 N
  847. ; http://php.net/default-socket-timeout
    - V; g; s+ y1 d: z  @' `0 o* P2 v$ A
  848. default_socket_timeout = 60( k7 P( r8 M7 ?6 e4 n
  849. 3 v) \# ?) R. d3 A, Z3 l
  850. ; If your scripts have to deal with files from Macintosh systems,( }/ I( v4 d" \
  851. ; or you are running on a Mac and need to deal with files from
    8 {, I+ K8 N* I7 Y
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ( }( f% f; T- c7 ~( ?
  853. ; automatically detect the EOL character in those files so that' X+ X. _1 ?' M
  854. ; fgets() and file() will work regardless of the source of the file.
    $ ~  }' S& m# X" B8 }. j0 |
  855. ; http://php.net/auto-detect-line-endings$ L6 Q2 ]6 o8 B2 J1 w1 c+ z5 j! f
  856. ;auto_detect_line_endings = Off
    ) `+ ]+ p6 A# I$ q; h& Q
  857. ( e, a# a3 Y% C' h
  858. ;;;;;;;;;;;;;;;;;;;;;;
    % l9 \2 f; q, S
  859. ; Dynamic Extensions ;
    * e7 M# l. G% q: g& L
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( N; b: u0 Z/ Y4 z; q4 j. H

  861. : h; K& I' t! X$ d' v
  862. ; If you wish to have an extension loaded automatically, use the following
    7 M  V0 O3 Z$ S  [
  863. ; syntax:
    3 m6 i3 @. I# @
  864. ;( d5 D, u8 ]7 Q- I* M
  865. ;   extension=modulename.extension& e5 C6 {- U7 O, P8 I5 I
  866. ;
    1 h* \# i0 I2 u: J: G. h/ Q) Y
  867. ; For example, on Windows:9 x3 y( }6 V0 [8 j. [% H% n2 l
  868. ;
    # X$ w# y! V7 w) _% q/ o9 Z6 a3 n
  869. ;   extension=msql.dll
    " x" c% C! t! t9 M  h
  870. ;
    % t# R# F3 }, O/ P3 @! h
  871. ; ... or under UNIX:1 O- F3 A: c4 X- `: {
  872. ;
    ' y" v4 C! q% B0 y" [
  873. ;   extension=msql.so' o3 T# t( V1 _- G
  874. ;
    4 {; E& J& _; o% g
  875. ; ... or with a path:+ K$ J5 i! i+ Q7 s5 l
  876. ;; z9 @% q# o6 d3 R4 Q
  877. ;   extension=/path/to/extension/msql.so8 J; w+ e) |; o. ~  m& x
  878. ;4 q6 Z& }/ R& x! ?4 M& T* Q# Q4 R
  879. ; If you only provide the name of the extension, PHP will look for it in its
    1 m: W+ ]2 V% Q# v; H: F* o
  880. ; default extension directory.
    7 ]$ l/ U$ N& I0 i' Y/ A
  881. ;
    / w0 Y: Z* R3 m- B4 U: |% L
  882. ; Windows Extensions
    - F+ E! ]" F% s9 s9 F6 A9 T) N
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    / a% U1 i$ Z. `1 v& _
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)2 |) _: j$ C9 X5 D8 z/ i$ G" `1 Z
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).4 f* V/ A  ?' @( C" ]1 Z
  886. ; Be sure to appropriately set the extension_dir directive.! C6 ~, Z' N1 D8 A8 y
  887. ;$ [# [: T0 |5 C0 q' I
  888. ;extension=php_bz2.dll
    5 l: g- n, T4 s( K# ]
  889. ;extension=php_curl.dll$ b. t" j1 G, l9 N* f% L- p/ w
  890. ;extension=php_fileinfo.dll
    - @" i. e6 U- `4 U8 x
  891. ;extension=php_gd2.dll1 M  ?, q  ?" J
  892. ;extension=php_gettext.dll
    7 K3 b2 K* O4 o8 h4 I8 ?6 K
  893. ;extension=php_gmp.dll
    4 m* b' h: L/ j; h
  894. ;extension=php_intl.dll; h4 z8 ^2 P- u4 l# \9 S
  895. ;extension=php_imap.dll8 @8 S* Y8 u' h4 o' E8 }) k
  896. ;extension=php_interbase.dll
    ) a! @9 [/ e8 s0 I0 f0 X3 w, O, h
  897. ;extension=php_ldap.dll# u6 O- ~( P6 r5 F& M/ B  s* {
  898. ;extension=php_mbstring.dll* Y$ J. ~" U( Q$ j/ F
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ' n: M7 w/ Q# m) U6 w
  900. ;extension=php_mysql.dll
    5 x% [8 i  |2 Y  r
  901. ;extension=php_mysqli.dll
    ; o; ~. L3 _/ N0 Z( g+ {2 ?& P
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ( V6 r# w" ]+ H3 P8 C
  903. ;extension=php_openssl.dll& P, k5 p/ b+ l" H2 b$ {3 }
  904. ;extension=php_pdo_firebird.dll
    . |% }3 D5 H; s' L% R
  905. ;extension=php_pdo_mysql.dll
    # A* v. s. M' v' `# x) B/ a" t1 ~
  906. ;extension=php_pdo_oci.dll  z" K' ?! y6 o3 A" l
  907. ;extension=php_pdo_odbc.dll6 ^6 \7 M2 s" p) n" `
  908. ;extension=php_pdo_pgsql.dll
    ( Y- m( J+ J0 ^& j, a2 l; d
  909. ;extension=php_pdo_sqlite.dll
    1 Y6 ^9 J! S0 s4 i2 j% z0 B
  910. ;extension=php_pgsql.dll
    8 V: R9 [% {$ E  }
  911. ;extension=php_shmop.dll* G1 C$ S9 W- y' I: ~

  912. / ?5 E* \. D2 q# m' S
  913. ; The MIBS data available in the PHP distribution must be installed.
      T/ r8 S: v" P, T( G, ^
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    # h5 c' i3 W2 G4 i8 n
  915. ;extension=php_snmp.dll
    " M1 N  V$ \% o3 L
  916. ! ]0 e* U5 c( S! z
  917. ;extension=php_soap.dll
    7 N5 Y3 w3 O7 B. z4 k$ N
  918. ;extension=php_sockets.dll
    : ?2 G2 K! e) Y4 A" U  _1 |4 A
  919. ;extension=php_sqlite3.dll" \8 [, r, p$ ]# l: d" P- i. u
  920. ;extension=php_sybase_ct.dll
    : x9 v; P) U9 z& H6 i
  921. ;extension=php_tidy.dll
    0 |$ i$ `& T3 B
  922. ;extension=php_xmlrpc.dll* a( R$ e. z) F' w
  923. ;extension=php_xsl.dll
    0 K' _1 G+ X3 G$ D6 v) u& x, |

  924.   p+ Y3 A; g/ A/ [9 V. Z
  925. ;;;;;;;;;;;;;;;;;;;7 [5 S8 l6 Z# x5 w
  926. ; Module Settings ;: i3 h$ s# u$ W( ]% Z
  927. ;;;;;;;;;;;;;;;;;;;
    ' K4 n- h/ s! x: S. h

  928. - J! W+ x) d  T- b" f) Y
  929. [CLI Server]
    * i7 B/ u9 W1 h" V
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ d6 E5 D; x' r# j/ p
  931. cli_server.color = On
    . S6 G! ~/ g/ Y& J( f% h5 {; k6 C
  932. 7 L1 Y( ]# T; V8 U3 x
  933. [Date]# o( u! r+ h2 _$ r* N6 r
  934. ; Defines the default timezone used by the date functions
    ( U- k/ p' _: S3 ~' o: M6 n& A4 Z" n
  935. ; http://php.net/date.timezone
    + t8 S% \1 o* W! l' T# v4 B
  936. date.timezone = PRC
    : Z' C# K; R- J9 K1 o0 w, J* G

  937. - p5 i/ u! D1 N/ ?- d
  938. ; http://php.net/date.default-latitude1 R" L, Z$ R& @  c
  939. ;date.default_latitude = 31.7667# k+ ^& e% `+ ], C0 \

  940. 9 L2 X, N3 W. s: l3 A% O+ W! d
  941. ; http://php.net/date.default-longitude$ g4 T$ Y+ d9 a6 e5 E0 U
  942. ;date.default_longitude = 35.2333
    " v$ r& ?' S( v9 v

  943. & H0 h) A8 L0 B7 k% w/ c2 S
  944. ; http://php.net/date.sunrise-zenith. q& P% y; Z7 Z$ P% T. s( r; n
  945. ;date.sunrise_zenith = 90.583333! t( p5 l' w* u& J

  946. ' `. F* N4 t1 t6 W
  947. ; http://php.net/date.sunset-zenith
    4 J; {( R6 [+ o$ T* S' }
  948. ;date.sunset_zenith = 90.583333
    7 }$ Y+ e% B2 j3 ]2 ?
  949. / C3 Z: l4 _# ~! h* v" \: V
  950. [filter]
    / I6 t6 U! O+ ^9 T
  951. ; http://php.net/filter.default" W. L" u7 s* L% `
  952. ;filter.default = unsafe_raw
    * X' T1 I; i' B# o& K

  953. 3 [. N) b3 x. Y, X$ O
  954. ; http://php.net/filter.default-flags
    8 D) h, J0 ^2 ^# s% Q
  955. ;filter.default_flags =) ]6 G* |: f# t- o" j' i: g) v

  956. 3 g8 d# E6 n2 C  H
  957. [iconv]
    6 i; \0 G1 t2 [' o
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.* G$ R1 P0 C2 }
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.3 z1 ~+ n  N& Q( r5 c
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    . D8 V) A- P3 K+ q; K; c! ^
  961. ;iconv.input_encoding =
    9 b7 C& c6 W8 @; ?3 v1 O( X; Z

  962. 1 e/ I. a9 Q4 S6 W/ K, n3 Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 c0 l0 Z8 I: @# \3 |2 d
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- r* I# {4 H" b. s+ m& [/ [
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& h: H( A, _: I2 R
  966. ;iconv.internal_encoding =
    ! Q0 j  U6 E+ N: a

  967. ( W, c) C, ~. O# i1 q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.8 y0 P7 w& g0 S
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 k3 H) d- i9 c6 z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! T) Y, e/ }* i' D1 E7 m
  971. ; To use an output encoding conversion, iconv's output handler must be set. g2 O# @1 B: Q6 F$ A- _5 Y9 ]
  972. ; otherwise output encoding conversion cannot be performed.) ?" M9 q3 w7 f+ o+ i" t, B; J9 d
  973. ;iconv.output_encoding =  i' W* l% {  c, w& S. W3 b

  974. # u  \  I& D% e* u- |* ^0 l# I
  975. [intl]% G. H- i( q" K; t
  976. ;intl.default_locale =9 v8 q7 z3 @- F6 I1 U
  977. ; This directive allows you to produce PHP errors when some error  s2 Q1 n$ o9 `' `
  978. ; happens within intl functions. The value is the level of the error produced.
    ) z! @" e! c6 l8 h
  979. ; Default is 0, which does not produce any errors.
    5 t, n# W; n" K1 U' j" d! g( K/ T
  980. ;intl.error_level = E_WARNING
    + w. W; @; m1 k# K" T' q' G4 h
  981. ;intl.use_exceptions = 0
    + l, K5 o4 z  f: g
  982. , V/ @: N$ q! o1 F2 h# p, ~6 _) g. e
  983. [sqlite3]
    9 |2 f  g: {+ l: j+ j  A
  984. ;sqlite3.extension_dir =0 Z, X- m- S) t

  985. 2 n3 f" J" z/ q- W8 a
  986. [Pcre]
    # @3 v" m" s, h0 ~
  987. ;PCRE library backtracking limit.
    5 T$ G) ^- L# ?9 \9 B: P" G1 [: T; b
  988. ; http://php.net/pcre.backtrack-limit
    . P9 }3 y- ?0 g' P6 A
  989. ;pcre.backtrack_limit=100000
    6 d6 V! l% X! Z* B7 S% j; }* {
  990. , y9 u3 a8 i+ v$ d  O
  991. ;PCRE library recursion limit.: G: I* R( P6 ~/ g  \" a
  992. ;Please note that if you set this value to a high number you may consume all1 f, ?" U) |5 ^7 w4 g; |7 |" [
  993. ;the available process stack and eventually crash PHP (due to reaching the" ^( i, z" p8 x0 S5 F
  994. ;stack size limit imposed by the Operating System).
      @: Z+ e3 l9 L" a& d$ T3 [
  995. ; http://php.net/pcre.recursion-limit7 i- z6 `: R: f' ^# n
  996. ;pcre.recursion_limit=100000
    ' |; r4 ?3 J% D- l& c

  997. # b# E; c2 l( N# a5 L& t
  998. [Pdo]
    : c6 Q/ w* R* B; x: S0 |/ d
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    4 k- e+ G% t/ \* d
  1000. ; http://php.net/pdo-odbc.connection-pooling4 k* r; ]+ A' C" E. m
  1001. ;pdo_odbc.connection_pooling=strict
    . c9 f$ e+ f. Q  T4 R

  1002. . q5 o! T- K& j: w. i; k1 S
  1003. ;pdo_odbc.db2_instance_name- ]6 |7 F  P0 B; b

  1004. 6 X, [4 q  j8 \; K0 V1 q
  1005. [Pdo_mysql]
    " N: e* p# W) l  P  ]
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & A1 ]$ Q6 g2 p& Y" ]6 b
  1007. ; http://php.net/pdo_mysql.cache_size
    0 E7 M- ~0 o% _% t5 K$ [2 c
  1008. pdo_mysql.cache_size = 20005 H9 i1 E4 A  k6 R8 D; M

  1009. ( E; G* L; J6 }7 g3 Y2 k+ y9 B9 J
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in; u3 S4 n- n4 \  b
  1011. ; MySQL defaults.& O' n% m" T0 p! G
  1012. ; http://php.net/pdo_mysql.default-socket2 |6 ?; `8 u6 }3 ~
  1013. pdo_mysql.default_socket=
    ) l2 o! j8 {+ ]1 F* p
  1014. ! N5 R" q9 g7 u' B0 x
  1015. [Phar]0 {' ^5 v4 C5 J  e
  1016. ; http://php.net/phar.readonly
      Z' Z: p# m6 @
  1017. ;phar.readonly = On
    2 H& s! c: i" z# c3 L8 H, m
  1018. # w3 w6 k/ V9 @, v0 l- v3 p* ?
  1019. ; http://php.net/phar.require-hash
    - k( G; v! R% P, x5 ~
  1020. ;phar.require_hash = On. j( K7 Q; r- M; h) z$ O
  1021. ; {2 ~) @, X9 Z" _
  1022. ;phar.cache_list =
      K! T! L- W0 k. e  Z! k' _
  1023. " A4 b5 p- Y) J7 h: y* `6 ?# M. R6 Y7 ?
  1024. [mail function]3 j) I! ?' G) c# y( f- Z  |% F
  1025. ; For Win32 only.9 P0 X: z1 F& {& I" K
  1026. ; http://php.net/smtp& O- V9 v" l, Q
  1027. SMTP = localhost0 g/ X+ A5 f, V2 ?& z: u# {2 ?
  1028. ; http://php.net/smtp-port
    7 ?, V5 L' {4 y* c3 U
  1029. smtp_port = 255 X! F4 k1 h% H% g, z* ?( J# @

  1030. 6 {3 ?' T# Y2 `( H1 }
  1031. ; For Win32 only.
    8 U, F! G/ Z* O% e
  1032. ; http://php.net/sendmail-from$ u- K" X+ ^3 d; G0 \
  1033. ;sendmail_from = me@example.com
      \. u' d# I1 c7 x% S0 j. H% A: [
  1034. 5 ^, ?8 c; c- Q: H6 f
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 R0 ?5 X7 M3 `" @$ J
  1036. ; http://php.net/sendmail-path
      ~% \7 s" o! x% M% [
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    1 D# E7 v! h6 x8 C% ?* y

  1038. + T# o, q" D/ Z* N
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    9 `# T9 D5 S% [
  1040. ; to the sendmail binary. These parameters will always replace the value of8 N) Z! b4 s$ n- V  `, ~
  1041. ; the 5th parameter to mail().2 F' q0 A; X/ w6 U
  1042. ;mail.force_extra_parameters =
    1 q1 R  ^# ]/ ], s

  1043. 3 |+ f% i/ U; E: }6 Z1 t% E7 F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 K" ~8 N, F' ?# F4 p
  1045. mail.add_x_header = On. q, b: F; Y& L3 a8 v
  1046. / S3 @" V) V( h7 n
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + S; h7 A( x+ e- J4 X$ f2 q
  1048. ; the full path of the script, line number, To address and headers.! z0 [8 i9 {$ y1 z
  1049. ;mail.log =( N" V9 J+ }9 S, C% [' d4 M
  1050. ; Log mail to syslog (Event Log on Windows).
    " B6 E7 G$ u1 S' t8 x
  1051. ;mail.log = syslog0 A; {1 l$ Q! F% p' r. T) x/ W" f

  1052. * P% @5 d3 e2 C! ?0 }
  1053. [SQL], Q4 x9 Z9 G; j2 k
  1054. ; http://php.net/sql.safe-mode! ?# v  G# ?0 m1 l/ ^8 l, E& V
  1055. sql.safe_mode = Off
    ; D; c; g0 Z5 F. x

  1056. - d9 Z8 i4 F1 t$ K4 B5 _
  1057. [ODBC]
    & ?) L: I. @0 ^
  1058. ; http://php.net/odbc.default-db& f) _* q$ }8 S
  1059. ;odbc.default_db    =  Not yet implemented3 L# y5 O; y, H% t4 c8 t
  1060. , J. A4 m) A+ }. {' J: D% w
  1061. ; http://php.net/odbc.default-user
    2 ^3 W: w) J4 c; @* a
  1062. ;odbc.default_user  =  Not yet implemented
    4 p# y7 a# o, ?) ~3 m0 v) C. Z

  1063. 6 g4 G2 @5 w1 |0 {# Q8 e+ p
  1064. ; http://php.net/odbc.default-pw) F$ q  S/ x1 k" M8 e, m3 R( S$ ^" x
  1065. ;odbc.default_pw    =  Not yet implemented
    % R* w" {/ P1 U3 v
  1066. 9 J& ]8 b2 Z0 y; K) m/ @2 ?) A, U' u
  1067. ; Controls the ODBC cursor model./ r( X7 W- ]9 E8 B+ l8 O- u
  1068. ; Default: SQL_CURSOR_STATIC (default).
    0 `( v# t- d. B  c7 b. D- y
  1069. ;odbc.default_cursortype
    ( I' d! f5 w0 K% T' D

  1070. 2 |- ?- X2 j$ p  ?
  1071. ; Allow or prevent persistent links.
    - }/ k8 [4 U, g$ a8 n
  1072. ; http://php.net/odbc.allow-persistent
    , C3 G, y* y  f
  1073. odbc.allow_persistent = On6 V1 R% b* v% G" p* M3 v
  1074. ) W" Y: M8 v* L  h0 Q
  1075. ; Check that a connection is still valid before reuse.
    ) V2 P3 u! Y* y% \. R! j
  1076. ; http://php.net/odbc.check-persistent$ p( H3 N8 b  h  t" D) V2 B: o: F
  1077. odbc.check_persistent = On
      Y( ?' s% E0 C! e  q( k

  1078. 3 s( o+ j# n8 ~4 U8 C1 y, a" b4 D
  1079. ; Maximum number of persistent links.  -1 means no limit.7 |* C5 J3 w8 S
  1080. ; http://php.net/odbc.max-persistent
    ; }7 X4 e. s/ B. c
  1081. odbc.max_persistent = -1
    " V% E( Y) D& E

  1082. : i- r% H  W! ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* Z5 B* T( W0 \, d3 S: m4 V5 C
  1084. ; http://php.net/odbc.max-links
    # f: ?, U! q5 c8 ?5 j
  1085. odbc.max_links = -1
    % z+ L. j+ P' P% K1 v
  1086. 9 S$ P) Z9 i* J# p
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' n/ I6 @9 I! G& |
  1088. ; passthru.5 n+ H' y: P3 \7 c1 F. Z* v3 @
  1089. ; http://php.net/odbc.defaultlrl
    . S9 ]9 x% G' |1 m; X/ ^
  1090. odbc.defaultlrl = 4096
    ' Q; V- `! F8 x2 ?
  1091. # ~5 }& ?7 A9 c- v2 I/ o& R
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + h* S3 y' O6 g: T2 l4 I, Y) R* u
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 `1 A- W0 l: n, B& V
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    " Z( M9 {) C1 x$ q0 i$ p, d
  1095. ; http://php.net/odbc.defaultbinmode! u! T9 ]. f. o$ `3 ~6 |7 N: a1 H
  1096. odbc.defaultbinmode = 1
    3 M) [& a2 ?/ k  \3 `& n3 i4 o" \! f
  1097.   F. a/ T" \  j4 P- U9 p% \
  1098. ;birdstep.max_links = -1- V" s6 N; v% L) k" x

  1099. & w7 H$ K) ~5 E2 \3 [
  1100. [Interbase]# U8 z. g, ]2 b2 A
  1101. ; Allow or prevent persistent links.
    " o& ]2 y8 N2 j4 f3 w7 |
  1102. ibase.allow_persistent = 1
    : ~  i% z  u+ }" {  C
  1103. . |6 `/ J* `2 Z; [+ w- R3 g, a
  1104. ; Maximum number of persistent links.  -1 means no limit.6 U3 j' n7 _1 M) `
  1105. ibase.max_persistent = -1
    * ^6 i. q& o6 a3 W) Y
  1106. % c7 F1 ~0 J0 c5 l  Q; i& D9 A
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 T* O) C& @7 t: H4 g6 b$ L
  1108. ibase.max_links = -1; T2 u& p; Y, [2 I+ l6 K

  1109. ) ]0 E$ T) b  l! ^
  1110. ; Default database name for ibase_connect().7 a  G( x9 M/ I0 \$ E4 j
  1111. ;ibase.default_db =
    7 \4 J: Y# R; b3 G/ N8 O
  1112. 2 G4 t/ J) a# E3 U0 H2 W* P; `; g
  1113. ; Default username for ibase_connect().
    0 u* a8 V, y1 l3 e
  1114. ;ibase.default_user =
    . `5 E) E: ]3 u+ y' I  ^

  1115. - C9 w$ t& ?3 N( K) N
  1116. ; Default password for ibase_connect().) d0 z5 l) T) N3 Q
  1117. ;ibase.default_password =
    7 y7 {& B, Z+ U* v9 T0 R1 s
  1118. / Y) g) |. ^6 @, P8 {# U
  1119. ; Default charset for ibase_connect().
      f9 j: B; k) x& Y
  1120. ;ibase.default_charset =& h& I, j, N$ n- i; [

  1121. 0 p1 @! V: [( h% d
  1122. ; Default timestamp format.
    $ \' _5 P2 N& b. j9 W- {- D
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"8 |) V4 P: b+ |: N+ e6 I  k. w

  1124. & n* w* `% z" w3 l2 y6 w/ ^& b) P
  1125. ; Default date format.
    9 D5 v# W0 W/ g1 O0 W
  1126. ibase.dateformat = "%Y-%m-%d"
    0 Z8 R5 \; ?0 m8 N0 f  w+ a7 T; _

  1127. 7 F! D9 y- @" Y9 x
  1128. ; Default time format.5 D% p* X- p! ?& C, q' \( ?
  1129. ibase.timeformat = "%H:%M:%S"
    ( `7 T2 X% D. [! b8 ?
  1130. , g- W6 N4 P2 \5 x; o
  1131. [MySQL]
      J5 I& p9 b) c7 D4 C4 K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( L% ~$ C! p9 _/ n' \4 u
  1133. ; http://php.net/mysql.allow_local_infile
    9 o) d' Z) X/ d( E* t
  1134. mysql.allow_local_infile = On* \- n+ @+ w9 q

  1135. - I& ~% w0 ~% [
  1136. ; Allow or prevent persistent links.
    8 @1 x4 k6 F+ g" p7 J
  1137. ; http://php.net/mysql.allow-persistent* |1 Z1 c* W: d
  1138. mysql.allow_persistent = On8 D, y! `5 `# ^1 r6 L. D

  1139. + n9 f% R" R! [; t* ^0 }
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / b6 p, i2 l# u8 p6 n7 ?
  1141. ; http://php.net/mysql.cache_size0 P2 j5 |6 M3 `+ _9 V8 m  O
  1142. mysql.cache_size = 2000
    7 O6 W7 u) M9 n2 @" Z5 x; W" S

  1143. * j1 q' z$ y8 G) N; G" V+ G
  1144. ; Maximum number of persistent links.  -1 means no limit.7 _. q& n5 x; ?! N2 N
  1145. ; http://php.net/mysql.max-persistent
    0 q$ Y( _2 U& _' F) D8 ^% U& S
  1146. mysql.max_persistent = -1
    . y4 _; D. e; b; L# ]% M

  1147. 9 x, V, o4 ~' Y, |
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 f8 m2 @% \5 f2 o) J3 M, g
  1149. ; http://php.net/mysql.max-links) `/ b$ L7 h! ?2 g
  1150. mysql.max_links = -1# n7 J; y/ X  \: a7 N8 d. c3 I
  1151. : B; q: e# G; L! M8 Y* `
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    2 g; Q' X* A$ F9 r: c! U4 }
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( d) Z; Y9 u3 ^  l# P' R
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / X; e# E0 E, f0 s/ V0 _$ M7 _$ X" b8 v; M
  1155. ; at MYSQL_PORT., U% B% |1 r7 Q1 l
  1156. ; http://php.net/mysql.default-port
    % |# S: z! h: h- c
  1157. mysql.default_port =% S- p! {1 I+ j" E; Z
  1158. ; F( N/ H# n$ P" B6 h/ D
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in) i, l) _. }: ^3 L2 S
  1160. ; MySQL defaults.
    / ~% |- x4 K0 i. C
  1161. ; http://php.net/mysql.default-socket
    3 i  r- V6 N4 L- k
  1162. mysql.default_socket =
    5 o4 x8 t2 k6 L

  1163. - D2 S7 ?! c0 f& f! `
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).$ O0 k9 K8 N$ S9 C
  1165. ; http://php.net/mysql.default-host) j. F" t5 k! j
  1166. mysql.default_host =" S' W# O# F; ]5 m
  1167. ! u6 e3 z6 j4 `( M# a
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 @5 Z5 T% i1 Z5 t" n- ?  @! t
  1169. ; http://php.net/mysql.default-user
    : Q$ l" k! j& h  w& B
  1170. mysql.default_user =7 H7 ~7 Q8 P3 @' n7 T* [( u
  1171. ( i+ _  k4 ?  e" |# P, E2 _
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 u) F2 H$ M! A1 _0 r1 w2 {! ]8 v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    : r- C, U+ K% B/ p% y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")9 v8 A/ x  P2 t! ^
  1175. ; and reveal this password!  And of course, any users with read access to this3 p! c, \- R/ X- T/ x
  1176. ; file will be able to reveal the password as well.# J5 }- g) J5 k5 C: j
  1177. ; http://php.net/mysql.default-password
    % g; i# P# T+ h% C$ B" V- O& I
  1178. mysql.default_password =. _: O  U. j7 o2 y2 Q2 _0 g
  1179. 9 P+ F# T+ n& V
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    # T/ |8 g! D! s' o) t* C! F
  1181. ; http://php.net/mysql.connect-timeout
    8 }0 z2 Y9 ~, [; ]) X  G! K
  1182. mysql.connect_timeout = 60
    . g3 _5 H, F( i. g1 K3 f
  1183. ) y6 y9 B  r+ d
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    7 x5 j* j6 c. a+ H6 N
  1185. ; SQL-Errors will be displayed.% v; o0 t6 d% F2 X4 [1 {1 O
  1186. ; http://php.net/mysql.trace-mode* i. D+ C7 S9 o! T2 y
  1187. mysql.trace_mode = Off% c/ {7 {  D. i, G

  1188. 2 K# X$ Q7 T8 y0 `
  1189. [MySQLi]
    . W0 P7 @- c+ F" m# G5 |
  1190. & x  Q$ ^7 v# W, x6 [' s8 `3 p- S
  1191. ; Maximum number of persistent links.  -1 means no limit.% B  m! k0 d* D
  1192. ; http://php.net/mysqli.max-persistent
    , c" t) b! K7 P
  1193. mysqli.max_persistent = -18 I$ i4 r" s/ x8 j* F4 a
  1194. + S6 I" J6 d) D( I5 B, j/ X4 ^- D5 m
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 R9 o' ^2 b3 U
  1196. ; http://php.net/mysqli.allow_local_infile9 N( G) l1 K$ P. w! C* X
  1197. ;mysqli.allow_local_infile = On3 o+ I1 c) ?1 A, E9 k

  1198. % a3 i# o7 X) @
  1199. ; Allow or prevent persistent links.
    : b; B7 X+ N* c/ V+ f( e7 V( Q! Z
  1200. ; http://php.net/mysqli.allow-persistent
    ) ^" _, X! y3 z% r' W
  1201. mysqli.allow_persistent = On
    : r! d' w9 Z& @
  1202. / t9 u: l$ q  n4 B
  1203. ; Maximum number of links.  -1 means no limit.
    % s9 {3 J' t. j, Q
  1204. ; http://php.net/mysqli.max-links7 x5 n7 C; _' s0 W
  1205. mysqli.max_links = -1
    ( X! O6 S8 a$ _: H

  1206. ( H. w3 D' I$ x( n; m" }) }7 v
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 H* d3 {, y5 q' p5 a+ R# I# S& _
  1208. ; http://php.net/mysqli.cache_size6 D" ^" Z2 l2 f! i
  1209. mysqli.cache_size = 2000
    : g4 w6 I; O+ }1 W5 Z; P; F

  1210. ' F. s. s% E6 w& G2 M) a2 \
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    , s/ M+ _8 G# _6 y" Y( D- T) e/ d
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the* Q5 Y2 b* |* v+ [7 Y% a" N
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 {6 O. e0 ?0 C( Y' L( f/ B
  1214. ; at MYSQL_PORT.
    7 S3 c% |& j0 X
  1215. ; http://php.net/mysqli.default-port& F$ T( o4 E9 u* C* S7 P
  1216. mysqli.default_port = 33060 G2 c4 C9 V* L8 i( b  M4 ~

  1217. 9 E* z( O; U* p$ }& W) L0 _
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in' ?+ v( j7 g2 w9 M- }/ K
  1219. ; MySQL defaults.
    ' R; j6 K0 l3 X- Z( i6 Q1 m
  1220. ; http://php.net/mysqli.default-socket- z/ k; T* E5 m# o. k  ]: z
  1221. mysqli.default_socket =
    7 B3 O5 `) i4 C
  1222. 7 m9 A" F- a6 i! j
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ( D( q: l( l; K* F0 L8 e: f
  1224. ; http://php.net/mysqli.default-host
    $ v4 Q* W! r4 \  o1 W" c
  1225. mysqli.default_host =
    7 g- q1 m, D9 u) Y0 P
  1226. ( n- B. Y! c3 R& i# N* t5 y
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).6 I( ^' z' ]3 G9 e  F
  1228. ; http://php.net/mysqli.default-user( j  u3 r9 p) ]1 c7 \
  1229. mysqli.default_user =
    1 G; D$ g# H. k0 O

  1230. ' ^3 J$ u+ f. h5 w' d/ s
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).; J3 F6 |3 i' [% Q. y3 t, H' e' P; S
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: |, q  n) Y0 g/ V- n
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - n: G( ]7 |! H+ Y4 j* M/ ?
  1234. ; and reveal this password!  And of course, any users with read access to this
    5 w; `* h& H9 d! V' i
  1235. ; file will be able to reveal the password as well.) m9 e$ D- o: _; Z6 q" V
  1236. ; http://php.net/mysqli.default-pw
    ; w% n4 h! ?, }& k
  1237. mysqli.default_pw =
    / b( [- W, Q7 O' Y6 K8 ~; _' A: i
  1238. ; v; v3 w! D7 i2 u% R$ d
  1239. ; Allow or prevent reconnect
    & R$ }4 z6 [  }* `. C3 n
  1240. mysqli.reconnect = Off
    . S* Z' n5 g( r! ?3 b+ A

  1241. + c6 R4 h+ F) B; D5 f
  1242. [mysqlnd]
    ( I" e. s* |0 o" W4 m( N
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be4 d2 i! R& U0 I! y6 C6 q
  1244. ; used to tune and monitor MySQL operations.. r2 y7 s' X4 |# p* t/ T
  1245. ; http://php.net/mysqlnd.collect_statistics
    * H: g" i$ V* ^
  1246. mysqlnd.collect_statistics = On5 c1 T! Q+ `9 S

  1247. . k. j; h; E+ l8 {* I8 K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be" W/ b# X+ P+ \/ N) m
  1249. ; used to tune and monitor MySQL operations.
    9 J* w9 E" Z$ `  B+ x
  1250. ; http://php.net/mysqlnd.collect_memory_statistics! ]" l) f+ d* P/ r
  1251. mysqlnd.collect_memory_statistics = Off- j% G+ s+ N% G! V) D
  1252. 2 J- s8 i1 k9 E2 ~3 I$ [7 a
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    - e0 j: Q0 R& P% {, V
  1254. ; file.
    8 L( W; n1 `! K) Z
  1255. ; http://php.net/mysqlnd.debug6 W5 \; E8 |$ W7 |9 _6 b$ b4 G
  1256. ;mysqlnd.debug =
    5 V: B! t3 ^/ o4 e( Y. t" F
  1257. # j' a) O  z5 g% R0 {
  1258. ; Defines which queries will be logged.7 `8 [! s8 d' U7 I4 Y) t6 O. k/ c
  1259. ; http://php.net/mysqlnd.log_mask# a- }9 G( e9 ]
  1260. ;mysqlnd.log_mask = 0
    5 t, J! v$ E9 h- F) J/ A: n

  1261. + c5 {% k% r, N
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    / S$ f6 j& U7 N  w0 e" d. y8 ^
  1263. ; http://php.net/mysqlnd.mempool_default_size
    0 P  [" G; Q+ i
  1264. ;mysqlnd.mempool_default_size = 160009 q8 ~1 T% @  a" d

  1265. & k& }) s; ?  v2 K; p2 _
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    / R( W9 }1 C1 p+ N0 ~2 R
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 J3 k* g% E/ ?$ _% v  k8 K7 W
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    * p0 ^- y$ G( W' i' W

  1269. % q: p  T6 [3 x5 |: L; P. M8 T$ R
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    / R9 ]- Z6 S% z. H% ?# Z; K6 J- U5 a
  1271. ; bytes.' y: \5 a3 I+ [1 O( c
  1272. ; http://php.net/mysqlnd.net_read_buffer_size" r' W( G/ O& J1 O2 D; a& V
  1273. ;mysqlnd.net_read_buffer_size = 32768
    : g4 X! b$ Q4 z; e3 [
  1274. 1 p$ z2 s9 S* S% @! F' ?4 v) H* N# f
  1275. ; Timeout for network requests in seconds.( Y7 y' q) T* `5 b$ O5 W
  1276. ; http://php.net/mysqlnd.net_read_timeout" Y9 ]0 H( p+ t! g( L
  1277. ;mysqlnd.net_read_timeout = 31536000: ?8 H4 L( r, U/ M. p5 C

  1278. 8 |  {$ r# w8 N: x( D
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ l# Q& Y3 G' P
  1280. ; key.9 Q2 A$ B+ ]3 h6 j& b
  1281. ; http://php.net/mysqlnd.sha256_server_public_key6 F! I8 Q# y1 y
  1282. ;mysqlnd.sha256_server_public_key =9 z/ e) ]1 O7 g2 x, L
  1283. ( U, g, u- z- `3 q+ ?* s) c: L
  1284. [OCI8]8 s: F% W* U8 o  d  \6 n  @( h% X# c

  1285. . X! D7 y/ E1 {" a2 m0 @0 q
  1286. ; Connection: Enables privileged connections using external
    1 y7 g0 v! q+ j) R' E, r$ Y  n8 x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 W( X/ z- h4 a) X9 X- R
  1288. ; http://php.net/oci8.privileged-connect
    ! L; q( {8 K  S* X- X1 }9 E. g
  1289. ;oci8.privileged_connect = Off
    , \3 y& x3 `8 L- o/ j% ?8 {+ C

  1290. 4 i7 h9 w! Y  h: j) O9 t, D3 b
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    " r5 z, Z. ?- C( \, V2 B$ I
  1292. ; process. Using -1 means no limit.7 ~  v% m; s, h9 E
  1293. ; http://php.net/oci8.max-persistent$ ]  `4 n5 g% [; @* L" H
  1294. ;oci8.max_persistent = -1# ~7 B: ?5 z  ?, m
  1295. - M6 ~. h: g2 v* U. l
  1296. ; Connection: The maximum number of seconds a process is allowed to& i' t) d! b6 k, J4 u& n( |* n
  1297. ; maintain an idle persistent connection. Using -1 means idle% d2 s4 F$ P* b6 q- J
  1298. ; persistent connections will be maintained forever.4 {  Q! U  }7 X& C0 ^; K$ M
  1299. ; http://php.net/oci8.persistent-timeout
    / x+ c5 e* a1 e, i6 M9 e# S
  1300. ;oci8.persistent_timeout = -1( l+ F  X3 V9 l7 z1 L1 ~
  1301. + y& I% q9 I- L) N
  1302. ; Connection: The number of seconds that must pass before issuing a
    - P3 J9 }( `' T
  1303. ; ping during oci_pconnect() to check the connection validity. When1 u5 W- V0 o; h  Z5 A
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 N7 K* @* d7 ]# H1 H8 b
  1305. ; pings completely.
    4 d' s7 e/ e$ H: c. {
  1306. ; http://php.net/oci8.ping-interval2 I3 U  Y" f' S$ y5 O/ c7 a+ ?+ a
  1307. ;oci8.ping_interval = 60. ~# b) [+ d( H$ _

  1308. " v5 t8 Q- D% n& L2 U# T1 ~
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 X5 {, N. e7 ]- N" x7 O
  1310. ; for all pooled server requests with Oracle 11g Database Resident4 T( I) `" a) S( Y# k) ?
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' ?9 e' u, y, h: y4 ~; j( \
  1312. ; the same string for all web servers running the same application,
    ! [4 z; ?, V( e9 x! Z+ S; H. {# F2 e  ^
  1313. ; the database pool must be configured, and the connection string must+ I! z0 s( C7 m- M
  1314. ; specify to use a pooled server.6 p  C: T8 D$ Y& o% ?
  1315. ;oci8.connection_class =
    ! f: l1 U  o7 a4 \) @

  1316. # S- ?- I" i: @. \' z- q2 {3 q
  1317. ; High Availability: Using On lets PHP receive Fast Application
    % {6 q  }' D3 L4 }- q4 N
  1318. ; Notification (FAN) events generated when a database node fails. The5 U5 i7 ~& b" L% r) O% A
  1319. ; database must also be configured to post FAN events.
    ' E1 L$ F  S4 ^. Y8 ~6 I
  1320. ;oci8.events = Off
      U9 r# Z1 e* d4 F" H, `

  1321. " R% z# L% d3 s3 I, ^  s& v
  1322. ; Tuning: This option enables statement caching, and specifies how
    0 m  N& ^, Q0 I& V
  1323. ; many statements to cache. Using 0 disables statement caching.
    ( O; g/ u# |8 [+ ^7 w9 q
  1324. ; http://php.net/oci8.statement-cache-size- c5 l- M9 C9 o# M! i4 r
  1325. ;oci8.statement_cache_size = 202 C, M6 U  z# C1 j- \+ b0 s

  1326. 0 t1 {, |7 E- R) V- G1 e9 G
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    8 I0 S/ M( [- i; C( V( D5 N4 m
  1328. ; rows that will be fetched automatically after statement execution.9 t9 y  H- u! s9 g: ?
  1329. ; http://php.net/oci8.default-prefetch
    6 o# o( |4 _! `  x( L: C
  1330. ;oci8.default_prefetch = 100" K4 Z+ I3 }" Q

  1331. 1 y& G6 n+ z/ q5 R/ {
  1332. ; Compatibility. Using On means oci_close() will not close
    / m; c3 f* X4 _  s0 F
  1333. ; oci_connect() and oci_new_connect() connections.
    ; C$ C, U5 o% E% Z. Y6 C- ?- L
  1334. ; http://php.net/oci8.old-oci-close-semantics% N) b) g- Y2 M  |; f* n
  1335. ;oci8.old_oci_close_semantics = Off; s7 k, A- E' |0 X. e  {
  1336. ( u/ d5 {' i0 y2 W8 C# r7 H4 F& s
  1337. [PostgreSQL]
    & X% c$ {0 `+ C; K& w2 j8 {& E: P
  1338. ; Allow or prevent persistent links.- H! U, Y! _9 v( A+ r% L
  1339. ; http://php.net/pgsql.allow-persistent& r/ k! \: V* @+ m  K$ D  p, ^
  1340. pgsql.allow_persistent = On
    ; u8 e6 ^8 s* B( b0 z* N- L

  1341. 1 O4 w7 t! m1 N( W* I/ Q
  1342. ; Detect broken persistent links always with pg_pconnect().
    ! }$ B- C4 z& L
  1343. ; Auto reset feature requires a little overheads.0 I0 [: N/ c9 {9 W/ b1 U2 w9 x, F
  1344. ; http://php.net/pgsql.auto-reset-persistent0 k9 B# n- e6 k! M# ~( l
  1345. pgsql.auto_reset_persistent = Off
    , N" p! f& T- v

  1346. " N0 j) P7 q0 p4 [% z" u- t' [( ?
  1347. ; Maximum number of persistent links.  -1 means no limit.
    - e' ?0 ?% X  X- B: N. r
  1348. ; http://php.net/pgsql.max-persistent
    6 Q5 V8 _+ @. o7 i
  1349. pgsql.max_persistent = -1
    6 I0 Q5 X" M, y/ |! l$ J

  1350. % F( n9 P! J! v2 H8 t4 M' l5 ^: v
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 ^5 ~" S* o: x' o" g
  1352. ; http://php.net/pgsql.max-links
    * s" n/ c' K& D7 y. b4 s- n1 Y
  1353. pgsql.max_links = -1* F. Z5 M! `1 h* j# A- E$ E

  1354. ; \3 z# [: C$ M' Q+ m" V: W0 C8 M
  1355. ; Ignore PostgreSQL backends Notice message or not./ ]7 K0 W  }) G4 X* a7 v3 Q/ Q
  1356. ; Notice message logging require a little overheads.7 ^8 ~/ L/ }; _
  1357. ; http://php.net/pgsql.ignore-notice
    7 S  W5 |4 [3 @* [/ d6 l
  1358. pgsql.ignore_notice = 0
    1 @/ b3 Q$ i6 k

  1359. " e) s& v' X. k% k: ?4 ^( p
  1360. ; Log PostgreSQL backends Notice message or not.
    " J/ i0 V9 q- v
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 ^& Q) ~' w: V4 h" W
  1362. ; http://php.net/pgsql.log-notice
    - a+ ^- e2 R2 N; v8 ?
  1363. pgsql.log_notice = 02 m& A- b" C+ L/ B3 B2 }7 d( c
  1364. 4 Y" |+ z% O; Q8 V- B0 g
  1365. [Sybase-CT]
    , M1 X, Y( u% t
  1366. ; Allow or prevent persistent links.( d  Y2 z- O5 X! d0 R+ e: [& O
  1367. ; http://php.net/sybct.allow-persistent
    ) `! q, ~: e+ C7 l
  1368. sybct.allow_persistent = On
    $ m0 s. e" m' b( u6 ?9 p
  1369.   x( @) |+ I. E9 V% @5 A5 o; J
  1370. ; Maximum number of persistent links.  -1 means no limit.6 z5 |" v( `8 H2 h
  1371. ; http://php.net/sybct.max-persistent
    9 Y* e8 s% Y8 B3 _
  1372. sybct.max_persistent = -1
    : N4 ~& A0 g: V6 `' H2 A

  1373. : v6 _( J6 [+ P
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 n& k  l! R5 |$ E- }
  1375. ; http://php.net/sybct.max-links- M5 n% e4 [# x
  1376. sybct.max_links = -1' [: H1 Z; u- D7 ~

  1377. 6 p; e! A  \: \9 r: `# |/ m- q% Y
  1378. ; Minimum server message severity to display.5 R2 f8 u: E! z9 L" c
  1379. ; http://php.net/sybct.min-server-severity
    2 p! T2 i0 V( [0 j
  1380. sybct.min_server_severity = 10
    ) U. i7 H0 c# `. }

  1381. 4 L! ?( P/ _! b; d
  1382. ; Minimum client message severity to display." ~* Z6 F1 F7 y- e5 K) i8 _
  1383. ; http://php.net/sybct.min-client-severity
    . `1 r+ O4 u. y: [% U
  1384. sybct.min_client_severity = 10
    ( s% l- t6 E3 X
  1385. # t3 m4 _9 }) ]- L6 g2 P, K! W5 h
  1386. ; Set per-context timeout+ S4 n& r9 U8 o
  1387. ; http://php.net/sybct.timeout
    # d; M1 \9 |/ x: V& a7 f  i; E
  1388. ;sybct.timeout=  W  ~! t2 J' |; m

  1389. / @: h& K+ I$ ^. c% Z' y1 t2 v
  1390. ;sybct.packet_size
    & o# Z2 C" [( x- }4 n, s

  1391. 6 {) P/ H# o6 z1 ~( d
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.( D5 Q# I' P) z3 k- h1 r$ L5 i
  1393. ; Default: one minute
    0 z& ], I! G% U* @3 Z
  1394. ;sybct.login_timeout=
    0 Y8 E. z+ N/ a; e% B# Q
  1395. / `" }! }% U4 K; h6 |% \  s
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.5 A2 M, z+ c, N& b; J
  1397. ; Default: none
    7 t" ^7 ?' j. s. Z  k
  1398. ;sybct.hostname=" J' B5 ^( Y$ G- N; \

  1399. , \) ~+ h; R; O
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".' l  S1 f9 P6 H) G
  1401. ; Default: 0, t) O- g+ ?) o
  1402. ;sybct.deadlock_retry_count=, a. R% o5 x8 J% s4 J
  1403. 8 l6 m2 g2 u% B" S% A) \& U3 N2 w; H
  1404. [bcmath]
    1 s/ F+ ^# a' W: K( d" d
  1405. ; Number of decimal digits for all bcmath functions.
    1 p- ^4 N2 f: A8 h$ n( Q* Z0 Y
  1406. ; http://php.net/bcmath.scale8 O1 I8 g( T& B3 [# `
  1407. bcmath.scale = 0
    % S: m8 M( B# ?" L' d$ ^
  1408. 8 f) |' Q& T& B1 {) V$ w
  1409. [browscap]4 `" c$ X6 B9 q* C1 {
  1410. ; http://php.net/browscap/ X' i/ \1 f7 |
  1411. ;browscap = extra/browscap.ini2 J9 ]  q& d1 I4 x

  1412. # S$ p2 g$ b8 y1 k' {/ J( `" h  R1 g( E
  1413. [Session]
    : W( L7 a" U% X% y
  1414. ; Handler used to store/retrieve data.
    $ H9 W+ ^+ ^0 r/ d2 J8 i9 S
  1415. ; http://php.net/session.save-handler
    ! D+ Z  P- R% R) {9 Z  }) e- ?
  1416. session.save_handler = files9 L, z! c1 m1 [. T9 `

  1417. ) g! [3 k/ H3 |' W( J2 G
  1418. ; Argument passed to save_handler.  In the case of files, this is the path: ?5 G- {) |6 F6 b) X
  1419. ; where data files are stored. Note: Windows users have to change this& W" a3 X7 F" I+ R% J
  1420. ; variable in order to use PHP's session functions., M- x, v2 D% Z( ^" ?9 y% d
  1421. ;
    ! c1 w- o; S8 K
  1422. ; The path can be defined as:, c# r  L6 E. d
  1423. ;
    . q- N  F& I/ d; _2 J
  1424. ;     session.save_path = "N;/path". B$ @% F! u  \0 m; T& ]
  1425. ;
    3 u( z2 L( ?" z# H+ z4 ^$ D
  1426. ; where N is an integer.  Instead of storing all the session files in
    % R) ?8 _0 d: D  o$ R  c& b- @7 L
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    7 j. T2 O) T3 H" o4 j5 c
  1428. ; store the session data in those directories.  This is useful if5 c4 z! i2 z6 y7 k+ W  p* L9 y
  1429. ; your OS has problems with many files in one directory, and is3 W3 Z) A1 Z7 o: w3 j4 |
  1430. ; a more efficient layout for servers that handle many sessions.
    . G5 ?; x1 r6 q/ n8 n; L% `
  1431. ;7 i2 q) j: R# J
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    & r9 A' A' F& }, B7 o: L0 t
  1433. ;         You can use the script in the ext/session dir for that purpose.) ^9 k  l6 c; c, G
  1434. ; NOTE 2: See the section on garbage collection below if you choose to( X1 Y- K0 g* f  D  P
  1435. ;         use subdirectories for session storage
    , m# i9 a' Z- v% J; v: I
  1436. ;$ f, k5 J5 E. s# d9 Q9 S9 \* x) K
  1437. ; The file storage module creates files using mode 600 by default.0 E" f! H4 D5 v% X3 k* h! P
  1438. ; You can change that by using6 ]7 T0 _' Y% v
  1439. ;: I6 j! [6 m% r4 Y" ?5 u
  1440. ;     session.save_path = "N;MODE;/path"" c9 L; N& y6 ~# h7 k2 ^# d- @
  1441. ;+ R3 w" \) ]" ?: C9 n6 \
  1442. ; where MODE is the octal representation of the mode. Note that this# \( G" s  l$ H; b- k  a9 \* C
  1443. ; does not overwrite the process's umask.: A7 _6 I: U, C6 I5 T0 ?
  1444. ; http://php.net/session.save-path" r+ L3 ?- B7 B& Q
  1445. ;session.save_path = "/tmp"7 \9 h% B% G' k# q& S
  1446.   v: j! a1 \8 F, N' a9 w" ~
  1447. ; Whether to use strict session mode.
    / x& q8 t0 W9 h8 i) F
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate$ A8 \) G: n4 k3 ~7 n+ \1 ^* a
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects: d. s  I5 P* F2 P
  1450. ; applications from session fixation via session adoption vulnerability. It is
    " {) q; g" V! w9 t0 Y: T2 D1 r
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 D+ j* E: H5 _- k
  1452. ; https://wiki.php.net/rfc/strict_sessions" d3 L4 F' _9 L/ a% I1 x6 p
  1453. session.use_strict_mode = 01 g" b0 u, J$ }) p8 t7 _* r5 x

  1454. : P' i) z4 b9 m; G0 G
  1455. ; Whether to use cookies.
    ! v0 x; h+ m$ J# V3 B6 E
  1456. ; http://php.net/session.use-cookies
    " [5 c3 `: @( Y; |. L
  1457. session.use_cookies = 14 |+ A  F9 d5 z1 r3 E* g( [
  1458. + q1 e; i5 H9 \0 B, P( F+ K* {
  1459. ; http://php.net/session.cookie-secure
    0 E* J; G/ w7 q+ ?
  1460. ;session.cookie_secure =
    1 G8 R9 m' K. Q) i

  1461. & O" O& T# X1 f( u. O, _1 u
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 U! q# X0 F  R
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    * `' z9 M0 Y4 |2 h2 B
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ' ]9 t) Z5 z) ^/ l3 Q" n! w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) e4 ], @9 S. D0 o
  1466. ; http://php.net/session.use-only-cookies
    : p# d+ _/ J3 g$ K! ~& \8 s2 \
  1467. session.use_only_cookies = 1
    " p( u( J4 c: b( J- J  d0 W" T

  1468. " v! V. I  G1 K" Q) O
  1469. ; Name of the session (used as cookie name).
    5 S9 b* }/ i$ w3 ]; Z2 j4 C
  1470. ; http://php.net/session.name
    * _6 c; R9 `: i  `0 |6 E. M: f+ M; S
  1471. session.name = PHPSESSID: b& l- ?3 @  H' U8 D- B
  1472. ; D. q: J, l3 A5 L9 g
  1473. ; Initialize session on request startup.
    ! n9 T; s( f0 m- Z( u
  1474. ; http://php.net/session.auto-start
    % n6 i7 ^$ k( @) a! W+ N
  1475. session.auto_start = 0
    6 i7 u) i$ i  _2 x9 d
  1476. % J, I: I; @2 L% Q' g9 Y
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    1 ~# @9 l- F# a1 s( G4 w1 C
  1478. ; http://php.net/session.cookie-lifetime; g0 G1 P# k5 C* d0 Q; v) S4 b
  1479. session.cookie_lifetime = 0' C/ a: X: U" O6 c$ u4 g
  1480. % ^& r/ F! Z- j7 ^; t/ M* T
  1481. ; The path for which the cookie is valid.  I3 J, x. U( X: _& Y( {1 A6 z$ i9 M
  1482. ; http://php.net/session.cookie-path, F/ D- e9 E4 O; G1 F# X
  1483. session.cookie_path = /( E' q  D& V4 G
  1484. , L) K: k& E" K) f  Q( B8 S
  1485. ; The domain for which the cookie is valid.) G( N; o5 @& X9 p4 M: C
  1486. ; http://php.net/session.cookie-domain  I# Q" w" R3 M, I! ?1 d1 J- M
  1487. session.cookie_domain =- X/ t' r7 I2 \  X5 q
  1488. 1 L% s% N2 F9 O* |
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 R- {& ?1 m2 }7 t# a) @
  1490. ; http://php.net/session.cookie-httponly% ]  p+ S* c- Z$ q" W2 M4 }
  1491. session.cookie_httponly =
    - R. b1 N  O) J' z

  1492. 5 U' N' a3 L- a- z) p) H' p
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 M6 E( [( U' O. N) H3 J1 u
  1494. ; http://php.net/session.serialize-handler
    ( A: H( H3 X' m: w; j, w  O1 }
  1495. session.serialize_handler = php- G/ T5 i, [, e
  1496. - X3 o$ \+ E6 b4 k8 ?7 Q
  1497. ; Defines the probability that the 'garbage collection' process is started. B3 t( a0 T8 I' J1 X
  1498. ; on every session initialization. The probability is calculated by using& w  T  A' h. Q: p0 p
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator$ x$ J6 Q2 y. U+ L1 u0 N' H1 B
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 16 ]% `3 f1 D7 p0 J
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 I1 M# l$ }7 I9 s' f2 V3 E
  1502. ; the gc will run on any give request., ]$ _# `& {) k; a5 k
  1503. ; Default Value: 1
    8 H, d& K9 N4 m, O
  1504. ; Development Value: 1! X# r  g7 B; S. J% ?
  1505. ; Production Value: 1/ z) _( M8 v  d! `
  1506. ; http://php.net/session.gc-probability$ j! Y5 n5 E. {
  1507. session.gc_probability = 1. s9 j5 c( m  x8 ~

  1508. + p% J( e  r0 f: J3 y- |
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    + ^$ ^% W- D% X
  1510. ; session initialization. The probability is calculated by using the following equation:
    ! e! ]: e( X+ P  ~$ e3 g
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% ?2 Y. [+ k" M" j6 T
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    6 l7 J) @9 v" C
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ F7 Z; W2 G7 K) ~8 Y- O
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you/ W8 F2 B/ Z" A' J7 k1 R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 r: N: ]4 q) n  k; n
  1516. ; this is a more efficient approach.' V6 z" x- |; _% {/ b
  1517. ; Default Value: 100
    ( c+ y: [- o: O5 Z. \- f; P
  1518. ; Development Value: 1000
      n- C7 R% ~2 U
  1519. ; Production Value: 1000
    . }! j4 q2 X' \5 x% h
  1520. ; http://php.net/session.gc-divisor
    5 _$ |* m. J+ Q& E8 M" R
  1521. session.gc_divisor = 1000
    5 Q5 o/ @& m& _
  1522. ; a* x9 Q8 ~# `, R" e9 B. J
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and: w' W9 g+ U0 }, I9 s) {4 v
  1524. ; cleaned up by the garbage collection process.
    : a. P8 z! c' L; n5 [5 r/ g
  1525. ; http://php.net/session.gc-maxlifetime
    7 i/ j1 T+ X# w. A& K  }) ]
  1526. session.gc_maxlifetime = 1440( P8 x% V/ N3 b8 X2 T# v
  1527. - b$ g$ W: N8 b! _0 f! U
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    1 d7 l. G% q! w: Q& s1 B% I5 I7 Y
  1529. ;       (see session.save_path above), then garbage collection does *not*
    6 A7 ~$ J9 u6 T0 f
  1530. ;       happen automatically.  You will need to do your own garbage$ u3 T6 |: }$ ]/ G% T
  1531. ;       collection through a shell script, cron entry, or some other method.2 a6 u4 ?6 q, A# E4 y" K! q
  1532. ;       For example, the following script would is the equivalent of7 u) U4 }: x" D/ p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . \! Q( G- G% M/ c
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / {! C1 L, v; y! C1 M, O2 d+ t
  1535. 7 [# _  A/ I! l5 j& e( S- e9 F8 H
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * [1 \+ K8 X- l: H1 J! E5 q
  1537. ; HTTP_REFERER has to contain this substring for the session to be
      q) d& ]1 p4 s" J
  1538. ; considered as valid.
    & O8 i2 u! I7 J6 L$ p2 J. D# `
  1539. ; http://php.net/session.referer-check* g9 ~. m& @) o
  1540. session.referer_check =5 `$ M) A  k) ]* M) b. a) C
  1541. ' X2 D6 A1 ]1 ]+ _$ }/ z
  1542. ; How many bytes to read from the file.. a0 W' t* m, Y; ^7 B. O
  1543. ; http://php.net/session.entropy-length
    & _& D8 I' @6 t4 \) i- C2 j/ v
  1544. ;session.entropy_length = 329 G1 ?! ]& v% A; g0 e" q# _. @

  1545. ; G7 u# J3 x, G) V
  1546. ; Specified here to create the session id.
    $ g  B( ?3 R$ S1 g
  1547. ; http://php.net/session.entropy-file' z2 S! w* \5 r7 I8 O# f+ R! H
  1548. ; Defaults to /dev/urandom
    & d" A4 g: y5 @/ _3 q5 c8 T
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( ^0 v; v2 ~/ H, A: f
  1550. ; If neither are found at compile time, the default is no entropy file.6 A, T  W& ~, _
  1551. ; On windows, setting the entropy_length setting will activate the, u: }7 H3 _4 Y: q1 [( O
  1552. ; Windows random source (using the CryptoAPI)& @( \0 ~, t8 Y! F% [6 }- X4 F
  1553. ;session.entropy_file = /dev/urandom2 w3 G0 p9 P4 g2 i

  1554. ) \# L9 Y3 f0 L5 }* o
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' L( O2 F7 q/ w+ a& N  r2 d
  1556. ; or leave this empty to avoid sending anti-caching headers., U' Y6 |9 [1 Y. V
  1557. ; http://php.net/session.cache-limiter" L- o8 h. V) V' b$ V; K
  1558. session.cache_limiter = nocache8 {4 v) W  l9 ]2 y

  1559. . z/ J1 u! M1 Y" }0 A( G
  1560. ; Document expires after n minutes.$ A: i7 i+ l3 f! q' [+ h9 `
  1561. ; http://php.net/session.cache-expire
    , B9 n! @! y$ c0 f5 r+ k0 |
  1562. session.cache_expire = 180
    : O' S: L5 V% |1 C6 l& X, L$ Y
  1563. : r% S  R4 U( a# P6 L. y
  1564. ; trans sid support is disabled by default.
    6 y8 Y% k# R8 |! y  ^
  1565. ; Use of trans sid may risk your users' security.
    8 R5 Y% X( a: p2 V: L* i
  1566. ; Use this option with caution.; c/ a  A9 u, n9 J  m2 `+ H0 h
  1567. ; - User may send URL contains active session ID/ P: L% x& }1 |4 K6 N3 u5 S
  1568. ;   to other person via. email/irc/etc.
    + B) \! D) t) }) N
  1569. ; - URL that contains active session ID may be stored9 L7 y& t& t4 `4 z  ~2 W; ~
  1570. ;   in publicly accessible computer.
    & ?' L8 M3 ?% X# m! O6 V2 o
  1571. ; - User may access your site with the same session ID
    / Z  I: j6 \- U4 a+ \, b
  1572. ;   always using URL stored in browser's history or bookmarks.5 l8 O0 z; Q! |2 @; @
  1573. ; http://php.net/session.use-trans-sid
    . D7 H& O3 m7 H+ q$ g1 r- g/ |: ?
  1574. session.use_trans_sid = 0
    - j# C0 I* |$ b) }; ^. P
  1575. ) i0 T0 Y( V) x. W3 o- p( F
  1576. ; Select a hash function for use in generating session ids.
    : g9 c9 E+ O6 `5 y2 Q: q
  1577. ; Possible Values
    8 `* ]. Y" {' f1 {! z2 y4 j
  1578. ;   0  (MD5 128 bits)8 p4 P7 C1 N' c
  1579. ;   1  (SHA-1 160 bits)
    9 ^" X1 H: Y; u, z  a
  1580. ; This option may also be set to the name of any hash function supported by
    " s7 M3 `) f2 D1 R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()3 }: T/ p' W- w- g3 I8 o
  1582. ; function.
    * O$ B  G8 V# q# g
  1583. ; http://php.net/session.hash-function0 x' M' ?* S% ?2 S" c
  1584. session.hash_function = 0
    * @2 A' c2 u. T% t$ I$ ?
  1585. " T1 Y( P% p3 t9 C  }$ q4 f; j$ M
  1586. ; Define how many bits are stored in each character when converting0 j- N% ]1 a$ p! x) U- u
  1587. ; the binary hash data to something readable.9 p1 L4 |! ^+ a! z' Y- f
  1588. ; Possible values:
    6 |0 k6 Z: W; f0 o) m3 L) V
  1589. ;   4  (4 bits: 0-9, a-f)  l! z1 E7 N2 N7 i; q5 C0 c# F
  1590. ;   5  (5 bits: 0-9, a-v)3 w; J$ M1 `- s' p+ k  n  C
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 }0 {) W0 W* H' h
  1592. ; Default Value: 4  x4 u: I$ P% I+ K
  1593. ; Development Value: 53 f9 {: p! v: i+ `+ Y5 g
  1594. ; Production Value: 5
    2 L* r: T; `% n1 X- T
  1595. ; http://php.net/session.hash-bits-per-character
    7 K/ d3 @6 S& ]
  1596. session.hash_bits_per_character = 5
    4 ]  K: e- q9 ?  k: p: N
  1597. # }+ I2 H3 S, a; O- {( I6 d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * j- _1 b9 _+ ?: H( Y$ e
  1599. ; form/fieldset are special; if you include them here, the rewriter will, O" R7 |' M- I; ^" Z
  1600. ; add a hidden <input> field with the info which is otherwise appended
    2 f3 x% k: p6 `6 a- e6 l0 W
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. U' \/ o$ j& a* `1 h
  1602. ; Note that all valid entries require a "=", even if no value follows./ `( _# T5 j  ]0 k: ]0 k: U4 i9 b- [
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- g! b- w4 s: P+ V
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% e% m9 C" M6 l; P% M$ x
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; O9 y3 M; C1 x* [/ s' }
  1606. ; http://php.net/url-rewriter.tags1 J. Y5 q) u# Q  s( A6 u
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"+ n( i- `9 R  w# |" X

  1608. 5 K+ t- [! w" q6 E% L
  1609. ; Enable upload progress tracking in $_SESSION
    / C( Q9 ]6 l" I+ a
  1610. ; Default Value: On
    ( f+ o9 @. `/ X# _' s1 e
  1611. ; Development Value: On
    - i8 `) T% {  P+ \: \# h% J* l
  1612. ; Production Value: On
    8 g1 z2 t. B) k! {
  1613. ; http://php.net/session.upload-progress.enabled
    2 g9 |7 p: ]& F% J& X3 _3 f* N# w
  1614. ;session.upload_progress.enabled = On
    , E- p( c7 h* |4 m- ?7 R2 H  P
  1615. 5 ?  L- C4 M/ ^- }+ h! C6 J7 J
  1616. ; Cleanup the progress information as soon as all POST data has been read+ I3 t9 L) L& ]# O4 y
  1617. ; (i.e. upload completed).. e9 a" X7 ?- n! V
  1618. ; Default Value: On
    9 s# H8 S) t( B5 ]
  1619. ; Development Value: On
    - J; e' E, S" A
  1620. ; Production Value: On
    7 m( b% m, a7 _# A" b' Y  d$ |
  1621. ; http://php.net/session.upload-progress.cleanup1 ^+ R+ w! x3 R: p& ?
  1622. ;session.upload_progress.cleanup = On5 D$ F  A, Q: Y% X" |% k/ F

  1623. 4 m2 k. p* b  o0 w
  1624. ; A prefix used for the upload progress key in $_SESSION: D& {7 ~4 Y$ k+ N% @. K1 N
  1625. ; Default Value: "upload_progress_"
    6 H8 o. O: q4 i) O6 w# Q" m( E
  1626. ; Development Value: "upload_progress_"; W% X2 X2 S* T8 k, U3 b9 b
  1627. ; Production Value: "upload_progress_"
    3 v" P& _. o; S1 k
  1628. ; http://php.net/session.upload-progress.prefix: I: Z, a" P# `% c4 G4 C1 U: A
  1629. ;session.upload_progress.prefix = "upload_progress_"
    0 ]" Y& r) l6 C0 j- `6 _
  1630. ' ], t- Q$ L7 q: W$ N; A- c
  1631. ; The index name (concatenated with the prefix) in $_SESSION2 N' c' L! c" f7 j
  1632. ; containing the upload progress information2 {4 n! X% a: s5 i
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; D$ ]% f  L/ c* b5 h/ T2 d. Y
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , u3 l& ^1 \* k9 y6 D( w  o) l
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' N- n' a, a* X- |; K  B! \
  1636. ; http://php.net/session.upload-progress.name
    3 s5 R0 a! X9 ^5 g1 f
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 U; M* H- S$ v% s8 O7 k* k' D% Y
  1638. 0 @) c- z$ }8 T0 F1 q& b- C9 i
  1639. ; How frequently the upload progress should be updated.
    3 [( g5 P' g+ x4 P) ]
  1640. ; Given either in percentages (per-file), or in bytes
    # u+ q& }* O/ h% u+ m% a
  1641. ; Default Value: "1%"- r# g( F+ a) w! H
  1642. ; Development Value: "1%"0 \. X- }; f3 F* m" P
  1643. ; Production Value: "1%"1 y/ f( J4 F7 \" r; D5 R  l: J; Y. }
  1644. ; http://php.net/session.upload-progress.freq0 j+ m3 D  O" F7 q1 d- y/ Z
  1645. ;session.upload_progress.freq =  "1%"
    + f4 p9 b8 b3 A. J" D

  1646. # f2 }9 \1 B9 _- ]1 s
  1647. ; The minimum delay between updates, in seconds
    * t! z$ j6 O" `8 K* r
  1648. ; Default Value: 18 e& ~) p$ q( t" ?/ Q; R! l
  1649. ; Development Value: 15 u8 [  n* z9 T: @! e& L- T7 Y* ?4 U
  1650. ; Production Value: 1  }# G! ~3 F/ i, b
  1651. ; http://php.net/session.upload-progress.min-freq9 U8 E7 I- E" m' f
  1652. ;session.upload_progress.min_freq = "1"
    4 f: ?, D1 W  e) x: O
  1653. $ S8 Q; \: G, i6 q3 I9 R
  1654. [MSSQL]# {0 V! K- H: u! _
  1655. ; Allow or prevent persistent links.
    5 J. P8 ?/ K& [
  1656. mssql.allow_persistent = On. ~( k) g  M# f& N7 }+ O# F, G7 B2 f
  1657. 6 n% K, e/ i. h9 {& n6 O, d. p# T
  1658. ; Maximum number of persistent links.  -1 means no limit.- f8 s+ ~1 W' w  `
  1659. mssql.max_persistent = -1
    3 i' X' N4 c% Q, e

  1660. 7 c0 ^9 b. u. a) w% W
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      t' G! p: M$ t2 x. V+ K
  1662. mssql.max_links = -1$ J6 \- I* w7 S: Z1 q" e0 Y( b: d
  1663. : o- V2 {/ @5 Z  I1 n6 _5 W
  1664. ; Minimum error severity to display.
    ! e( w5 B" B- P/ L! |0 T( ]5 i+ R$ B
  1665. mssql.min_error_severity = 10( T- e# Y3 p6 g" _% |
  1666. ! b, f' L- U, j3 z  E
  1667. ; Minimum message severity to display.! J$ f% k+ u# ?" ^3 ~4 t
  1668. mssql.min_message_severity = 10
    3 ?3 o( q. \8 }. c6 J
  1669. ! T. g& `8 \( v3 W* B& j; n
  1670. ; Compatibility mode with old versions of PHP 3.0.$ v5 M9 l, }: m# `3 ]  u4 c( }
  1671. mssql.compatibility_mode = Off9 P% T) y4 ]( U- f, c4 Z% h! B
  1672. , p; n4 ~  `( @; d
  1673. ; Connect timeout# a7 q. C" J9 U
  1674. ;mssql.connect_timeout = 5
    ; K7 E& ~( b: s* E( Y) o  ?

  1675. 1 V6 E; L' P* H, x) A  p( O' r
  1676. ; Query timeout8 T7 r) _) v  x% q% H; c6 d, ^
  1677. ;mssql.timeout = 60, [2 Q+ D2 p' X* d, J
  1678. ' X) D' T& O9 @$ t& n& i
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ ], D$ u4 ]6 z" ~+ k$ Y* U
  1680. ;mssql.textlimit = 4096
    # M& m# `$ U4 E2 Y( ~9 h

  1681. $ @$ w8 B+ }) b& ], n* T
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
      R' O4 n& O& s. p% D
  1683. ;mssql.textsize = 40969 o. s# a8 i! e' t

  1684. % @1 |' j2 _! `$ I1 ?  Q' y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 f% n% k$ t4 \% j" g" }. E
  1686. ;mssql.batchsize = 0
    & a! q- [) Q; O

  1687. ) f$ \5 S$ [8 r8 A: G  u* v
  1688. ; Specify how datetime and datetim4 columns are returned
    ( F; B3 a. M1 d' R4 ^+ H
  1689. ; On => Returns data converted to SQL server settings% _$ H% Q7 S( q
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. _! M( H! N1 H/ O1 }3 t0 j
  1691. ;mssql.datetimeconvert = On: U( K+ E- {# h# e  w

  1692. * u0 h( g- t- O
  1693. ; Use NT authentication when connecting to the server
    . @+ s) Q* M# p. _7 Z# |
  1694. mssql.secure_connection = Off
    0 b* f4 R! Z, ^! e3 e3 j
  1695. 7 G- l( E5 P3 i/ T; N
  1696. ; Specify max number of processes. -1 = library default
      k( V: E: P  B' Z1 W! b
  1697. ; msdlib defaults to 253 L  V1 T; i$ ]  ^3 t
  1698. ; FreeTDS defaults to 4096
    6 f6 l6 _0 _8 _# d: s/ X
  1699. ;mssql.max_procs = -1
    3 U7 x0 ^* `( y* Y9 G
  1700. ( H. h% E1 [) r- j  C: Z& s  J
  1701. ; Specify client character set.. o/ k! r+ E8 Y0 a7 ^0 k" m  z6 h, P
  1702. ; If empty or not set the client charset from freetds.conf is used
    , v5 I, K2 B3 l' D6 |3 l' Z
  1703. ; This is only used when compiled with FreeTDS, |# Q* U9 k/ i! {. n1 U; c& {
  1704. ;mssql.charset = "ISO-8859-1"3 ]4 d( T5 ?( H  X* u2 r
  1705.   V& C6 e1 R. r
  1706. [Assertion]9 S2 ^, J% U- j+ `  p# G# m0 i6 V
  1707. ; Assert(expr); active by default.
    & h1 f: r- Q0 {
  1708. ; http://php.net/assert.active$ i7 E# o8 @" }5 E& o/ c
  1709. ;assert.active = On5 _/ t) z$ f5 R5 e( y

  1710. - _3 H7 m) F& J/ t& Q$ x
  1711. ; Issue a PHP warning for each failed assertion.
    7 b3 K# s# u+ ^( D2 y
  1712. ; http://php.net/assert.warning# ?6 K2 t0 i; U$ I8 G
  1713. ;assert.warning = On' v, j# z( n% O

  1714. 7 ]% C/ F5 x2 \
  1715. ; Don't bail out by default.; W  q! ~( D9 V8 y
  1716. ; http://php.net/assert.bail
    & `2 V3 j* Y4 p$ N# D; E
  1717. ;assert.bail = Off: i! F$ K4 B4 N+ Q( I1 F2 x

  1718. + y6 F9 O3 X' b1 J7 e9 c. ]# e( n
  1719. ; User-function to be called if an assertion fails.' r8 t2 n9 N/ @( \
  1720. ; http://php.net/assert.callback
    / I# D3 h, h% X1 [
  1721. ;assert.callback = 0
    # c! q$ G1 J  e7 S4 o1 Y3 ]
  1722. ( I% H+ d3 o% B: B, T* m# T
  1723. ; Eval the expression with current error_reporting().  Set to true if you want; {' y$ S0 @: r
  1724. ; error_reporting(0) around the eval().3 D+ G. d4 T' K: Y+ F1 b$ w( X+ ?
  1725. ; http://php.net/assert.quiet-eval
    . M8 D7 `, f- T, P+ p
  1726. ;assert.quiet_eval = 0: k. h  V9 Q6 k* B) G( T6 Q( W) A
  1727. * M$ B; |$ m. u4 d* d' k. {# e
  1728. [COM]% N9 n& S* ]. u5 p  |7 q. ]
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ j3 z1 f" l  A% u0 P: {: ]/ H
  1730. ; http://php.net/com.typelib-file
    ! e) h& P* O  u/ q
  1731. ;com.typelib_file =. R7 t+ {- A) i# l! p& H- _& v

  1732.   C2 K5 B- ]* Y# S
  1733. ; allow Distributed-COM calls
    1 O) Q7 I+ E# P5 S- I' B" {
  1734. ; http://php.net/com.allow-dcom, I8 N/ V7 ~& c" A/ W4 r
  1735. ;com.allow_dcom = true  e0 |3 b- W- D* U' k

  1736. 9 M$ e3 G) f% S$ d3 v
  1737. ; autoregister constants of a components typlib on com_load()
    % T: p/ k. [+ |2 B, D) r1 B" w
  1738. ; http://php.net/com.autoregister-typelib# u1 N: ?% |* v8 G
  1739. ;com.autoregister_typelib = true
    & Z5 Z' o# ]5 _( N6 u$ }. _( p
  1740. + z7 K( F: a& X/ y/ i6 K
  1741. ; register constants casesensitive
    1 b2 w% i5 \' t* _6 D5 M% @, @
  1742. ; http://php.net/com.autoregister-casesensitive3 d' x8 z% ^- L! b# _
  1743. ;com.autoregister_casesensitive = false
    ( j, h! [& H5 j

  1744. 1 r( A5 E9 v3 K# O
  1745. ; show warnings on duplicate constant registrations8 C0 [2 a; b8 Z) B1 w( q2 y8 Z& W
  1746. ; http://php.net/com.autoregister-verbose
    , P2 J' |. _; U2 Q5 ?2 O' u
  1747. ;com.autoregister_verbose = true2 c$ ^9 P0 D( ~1 s( H' J6 ?8 K

  1748. % o5 A; z5 G/ x. i7 h1 K6 }+ K
  1749. ; The default character set code-page to use when passing strings to and from COM objects.1 Y0 }$ Q$ R0 O) R1 [
  1750. ; Default: system ANSI code page
    1 m: s5 N+ ]; s. S9 c& d+ F
  1751. ;com.code_page=
    & c, w# r# K+ p+ e7 f& W1 j

  1752. ! ]6 o, [, c# R7 a
  1753. [mbstring]( m/ O! _5 W1 g" Q0 S
  1754. ; language for internal character representation.
    1 [1 v1 I; I( l! [% q; I* r
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    0 b$ n7 Z( P+ `! f0 q
  1756. ; http://php.net/mbstring.language
    : q+ b* p/ m" w* U
  1757. ;mbstring.language = Japanese, e5 \, N) e# e2 p* F
  1758. - V5 g8 U$ ?( ^) m: Z0 ]  w
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 c1 z; u* ^3 O
  1760. ; internal/script encoding.4 s" M6 j) L2 ?: Q" ]1 ?" M
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 X4 _3 b5 \2 ^2 m* R. X
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / _0 Q; k, b4 d+ O8 i& W
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ V6 l2 r' c7 ?6 {. n
  1764. ;mbstring.internal_encoding =. F% ]( L: P# S7 }; E: w# P

  1765. ; S: s6 L* k* x
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead., J; W+ n- A( M! U) K& m4 q
  1767. ; http input encoding.. v7 L# f& c6 Y* r* s" ^9 q
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 Q& q) T" c" C' a  b- a
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.* V! {$ ~4 {' U/ K8 h" f
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    9 `/ T4 f7 w/ I' d7 D
  1771. ; http://php.net/mbstring.http-input" l# v7 E- W: V! G6 L
  1772. ;mbstring.http_input =
    " k% p: E- W( c% a
  1773. $ A, p! I  c& d* \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.4 O- b  a- F, {
  1775. ; http output encoding., C& f- @. J' \/ s
  1776. ; mb_output_handler must be registered as output buffer to function.! i# F% I) h. J$ W: L
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ v1 b4 Q% ^$ j$ {, [, e
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ T; D9 T5 ?- O
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    9 P% e/ D( d8 c* W3 W0 U
  1780. ; otherwise output encoding conversion cannot be performed.$ s) L; R) z' _% p" m3 l" k) |
  1781. ; http://php.net/mbstring.http-output
    # q- X2 y# u. X2 q8 Y
  1782. ;mbstring.http_output =3 f- r' i8 b7 M# C: C0 Q

  1783. - p2 _( j5 o7 H( g- L: B, v
  1784. ; enable automatic encoding translation according to
    5 b3 h6 u$ e6 g1 o+ m0 C# c
  1785. ; mbstring.internal_encoding setting. Input chars are
    - o3 z4 c' D. n2 j' D, X
  1786. ; converted to internal encoding by setting this to On.
    . L* e1 K" q& U! q
  1787. ; Note: Do _not_ use automatic encoding translation for& M7 F) ?( }1 H
  1788. ;       portable libs/applications.7 L/ i; G  ^5 ]' z0 p2 o
  1789. ; http://php.net/mbstring.encoding-translation
    6 v2 t7 P, H( U6 n2 U/ r7 E
  1790. ;mbstring.encoding_translation = Off" b# B' o2 b. V  e2 [6 S

  1791. ' T  O1 y. x! ^( {7 l, p; f
  1792. ; automatic encoding detection order.
    2 W' A+ v8 R( ^+ E  x( x
  1793. ; "auto" detect order is changed according to mbstring.language6 t2 h& p4 w/ i3 P' o: K$ _$ ~/ J
  1794. ; http://php.net/mbstring.detect-order
    + D# s6 \0 ?6 J- |
  1795. ;mbstring.detect_order = auto
    - C% H0 l3 ?5 o: g8 |1 O
  1796. 5 H. m& L% c8 D7 P: k
  1797. ; substitute_character used when character cannot be converted5 w8 G- \  q; l5 u4 @  _
  1798. ; one from another
    5 H. t. L/ Y* ]3 D2 @  X; _3 M
  1799. ; http://php.net/mbstring.substitute-character5 a, I  {0 @& H7 y
  1800. ;mbstring.substitute_character = none
    8 R9 H+ l4 h2 _* L; r

  1801. / ?9 S& M5 m; L. A. k6 m
  1802. ; overload(replace) single byte functions by mbstring functions.( {- Y- \- D& I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    & f" O/ y  q0 }
  1804. ; etc. Possible values are 0,1,2,4 or combination of them., r7 f) e5 o& y7 F
  1805. ; For example, 7 for overload everything.6 ^& k$ f6 @) b& a$ a
  1806. ; 0: No overload  z4 ~" C: r6 Q! s
  1807. ; 1: Overload mail() function
    9 ~) u+ x1 `1 I+ M  n$ z
  1808. ; 2: Overload str*() functions; g( M* P! Y2 m, G$ ]
  1809. ; 4: Overload ereg*() functions
    3 I0 |; H. m! j
  1810. ; http://php.net/mbstring.func-overload
    / p4 J) k% S" F+ ?; ~, P/ ]* U
  1811. ;mbstring.func_overload = 08 `* S$ J0 o3 u3 J& g$ B* N

  1812. 7 G3 E6 X+ h9 G' {. N* ~+ m5 [" Z
  1813. ; enable strict encoding detection.% {/ k- @+ f2 L# v1 Y3 e6 O
  1814. ; Default: Off
    , D/ o" N" H/ k3 Q/ V! Z1 x
  1815. ;mbstring.strict_detection = On, A0 {2 N4 ^- O

  1816. # s' C1 d( M" d2 X6 I* B7 f
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()" S2 M* y# _5 l# m- r7 N
  1818. ; is activated.
    / U! n7 a. P$ c8 B2 o+ T
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " \/ R/ T$ n: ], w
  1820. ;mbstring.http_output_conv_mimetype=/ M( E: B, w" ~0 \1 _
  1821. " a  Q  T8 B  L* ~* B; D0 X+ R) W
  1822. [gd]0 o! q/ d. D7 i: |0 a* `: M5 B
  1823. ; Tell the jpeg decode to ignore warnings and try to create+ D6 Z0 r0 W' r. E5 ~
  1824. ; a gd image. The warning will then be displayed as notices( o, T/ ?* S2 J! t6 x0 o+ X9 m
  1825. ; disabled by default2 y2 ]0 e- v; F/ L
  1826. ; http://php.net/gd.jpeg-ignore-warning! _& o0 I7 d/ x, @
  1827. ;gd.jpeg_ignore_warning = 0. I/ N* X: C& R2 @2 V
  1828. " x' N$ c* V/ q3 D, V7 C* @$ O1 s
  1829. [exif]
    # l$ @% w. o0 T; l) V
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * V' V3 b+ G' \
  1831. ; With mbstring support this will automatically be converted into the encoding
    " G  A( _2 `  D
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , R' P& q3 i, V, z! @2 V2 O
  1833. ; is used. For the decode settings you can distinguish between motorola and
    " E1 V( r$ f+ d  [
  1834. ; intel byte order. A decode setting cannot be empty.
    7 Q3 g) [. E) d- ?& V% C* k
  1835. ; http://php.net/exif.encode-unicode
    7 v& k0 m! ^: B
  1836. ;exif.encode_unicode = ISO-8859-15; O- S- ]$ A% G8 }2 z
  1837. ) Y* J& \  f- h% R+ n
  1838. ; http://php.net/exif.decode-unicode-motorola
    ' D* k* J, W. S( }  f# C, o" v
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    : M1 L/ e0 F& Y! |  E) n) I2 `

  1840. * @9 |$ Q. |0 f' e' m# f. n4 `
  1841. ; http://php.net/exif.decode-unicode-intel
    ) x' f( ^2 P& w8 _5 b
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    " o) P; q" |* o
  1843. - {' `4 Q% v# i& K5 a
  1844. ; http://php.net/exif.encode-jis3 T1 F" p* W7 ^" y: y) V. N
  1845. ;exif.encode_jis =  B* ~; `; B( ~  I8 o- \
  1846. 1 N; v8 _  l/ [
  1847. ; http://php.net/exif.decode-jis-motorola% V9 G" C: U$ o# `, N' v' B9 @
  1848. ;exif.decode_jis_motorola = JIS1 Y, W0 ]& o! ?8 g8 m
  1849. ! j2 b. P) K( D- a6 S% H! f
  1850. ; http://php.net/exif.decode-jis-intel  `* L0 G- V1 K
  1851. ;exif.decode_jis_intel    = JIS
    - |1 l, k3 U; m# i  e8 K5 z7 {

  1852. ( [' ?% L. b/ q
  1853. [Tidy]6 U$ ~, h* h7 U2 m. s& ~
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 P0 z- ^: _' `; z2 O0 z  q
  1855. ; http://php.net/tidy.default-config! s* I9 M) F7 z- J( ]
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & V) D+ E1 p6 e$ P0 a, B4 W
  1857. 6 s5 [- Z* ~8 g3 L
  1858. ; Should tidy clean and repair output automatically?+ z+ M4 S$ p; @0 a+ z5 L. Z! ~; Z$ m" u" R  e
  1859. ; WARNING: Do not use this option if you are generating non-html content
    & j" h6 B& O+ F8 `
  1860. ; such as dynamic images
    ! b7 p% g3 E- w1 ^
  1861. ; http://php.net/tidy.clean-output
    ! m. q% y; |. A3 z
  1862. tidy.clean_output = Off( x/ m  [( q' s/ H* J  f0 B8 @  g

  1863. : m( N- r2 h! V* e
  1864. [soap]
    1 I1 d8 j* I4 C0 Z7 q9 |1 O
  1865. ; Enables or disables WSDL caching feature.! O( |0 g) V4 S# O" r9 J+ A
  1866. ; http://php.net/soap.wsdl-cache-enabled
    $ H; q9 l0 `. w; c  |+ ?: o
  1867. soap.wsdl_cache_enabled=1
    3 _; K8 H( S& H1 R& P  M, m
  1868.   K; F7 y; x/ A( i, A/ e* I* _4 x2 a0 J
  1869. ; Sets the directory name where SOAP extension will put cache files.
    # s4 E& t& q1 l9 w- E# k% L; {( v
  1870. ; http://php.net/soap.wsdl-cache-dir1 y1 Z7 @6 H  K, i2 o+ r
  1871. soap.wsdl_cache_dir="/tmp", F6 M, O$ y8 @: K8 R, j; x

  1872. ! L9 m: R! L# R$ Y4 y" o' \
  1873. ; (time to live) Sets the number of second while cached file will be used
    " \+ A* p9 M- f
  1874. ; instead of original one.) V5 Q) F3 c# D' L) C) V/ y: s
  1875. ; http://php.net/soap.wsdl-cache-ttl4 C$ W( c+ j  ^2 I; s0 a0 y  R
  1876. soap.wsdl_cache_ttl=864007 ~8 z- B8 Q* {0 z2 Z6 g% I7 w

  1877. ! {0 O- k8 X4 m/ [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . ^& f" b# c* H' H" \
  1879. soap.wsdl_cache_limit = 50 a2 G) ?$ n: ^

  1880. , Q3 F$ {* W. b: L# Z$ ?
  1881. [sysvshm]8 ~7 _- A/ V; H% Z; y
  1882. ; A default size of the shared memory segment/ _. R  B6 U" |# s" w$ ~% w
  1883. ;sysvshm.init_mem = 10000* h" F6 @0 A; |: Z1 X7 d; x
  1884. $ D5 T# p# L1 {/ ]
  1885. [ldap]
    ( e  c9 ]/ L9 Z+ {
  1886. ; Sets the maximum number of open links or -1 for unlimited.- ^* b3 @( g  d" D1 O' a
  1887. ldap.max_links = -1
    : }* @3 |) S: d1 x; l

  1888. # x; D& \1 s/ G2 H: O0 ]! N: |4 R
  1889. [mcrypt]) G. f, Y/ w" f
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ @, L: u- j1 x' R5 P- \8 ~
  1891. ) p5 @0 R% [6 Q+ Q, e3 \  l
  1892. ; Directory where to load mcrypt algorithms  J" P1 ^7 _$ p  c( C0 {/ u8 X
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 p5 }, M) K3 I0 ^  x
  1894. ;mcrypt.algorithms_dir=
    . X- Y! f, s7 R7 j

  1895. ( h! n3 a. W: P- D
  1896. ; Directory where to load mcrypt modes
    5 }% P9 i+ V2 a. O
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 n& N& B2 V+ C6 }
  1898. ;mcrypt.modes_dir=
    # y8 w6 U3 f7 C0 l8 @/ J1 j1 [% r! F
  1899. . @1 k8 i3 b4 T' g7 ~, ~
  1900. [dba]) I' ^+ ?; d4 }+ J( U3 M- {- h% y
  1901. ;dba.default_handler=
    + q! h8 f) |. L- L# e; L& v/ z- h
  1902. . C/ x! _* H2 M9 U  F! ~
  1903. [opcache]
    4 x/ o% [2 a; J! d& e; E6 I
  1904. ; Determines if Zend OPCache is enabled
    ; y& e$ \# s( H5 E% Y2 o
  1905. ;opcache.enable=0" G7 J  C+ r( H: L  Q0 @  p2 \

  1906. 4 @5 L; m6 P6 \6 u( }
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 J# x4 }" P; L" ^& S! [
  1908. ;opcache.enable_cli=0. t5 b! `/ w0 A

  1909. " i. f" N2 n4 X( b* q
  1910. ; The OPcache shared memory storage size.8 R3 l/ H$ U2 O1 F
  1911. ;opcache.memory_consumption=64
    3 l' o  Q& s8 M4 ?
  1912. / s0 _, i& Y2 C4 N/ H
  1913. ; The amount of memory for interned strings in Mbytes.% T$ R8 V# q/ H0 F( U
  1914. ;opcache.interned_strings_buffer=4, R5 N" u: l. l) @: y# H

  1915. : T0 I5 ?; T4 H
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.+ o) k# m  s! \" X( L
  1917. ; Only numbers between 200 and 100000 are allowed.
    - ^' A0 X3 y2 l- t/ f  w
  1918. ;opcache.max_accelerated_files=2000
    . @% D5 ?0 Y1 R& e
  1919. ) O1 S! ~" r* Y
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% G/ S$ j* B; j
  1921. ;opcache.max_wasted_percentage=5
    ) q% V8 l- t& Q3 o
  1922. ; p  y6 v& Q7 G; |2 `. M: `3 F
  1923. ; When this directive is enabled, the OPcache appends the current working
    " t# d! Z4 U" N! y
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' U* j2 l7 X$ s* P  Z6 L
  1925. ; files with the same name (basename). Disabling the directive improves6 Q: x9 i; U7 i" n
  1926. ; performance, but may break existing applications.' q: V# C" L7 q$ u: O
  1927. ;opcache.use_cwd=12 w; K/ l0 U8 g
  1928. 2 G# Q- f7 ]* F& M
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ! S/ E  K. q/ a5 S( c
  1930. ; webserver for changes to the filesystem to take effect.
    2 i$ R8 k3 \/ w5 A( c  u) \- U" X
  1931. ;opcache.validate_timestamps=1$ R$ Z6 ?3 g5 {" ?! c
  1932. / q$ P: s( X/ T/ e6 u7 S
  1933. ; How often (in seconds) to check file timestamps for changes to the shared# s1 b2 ^4 P# n1 a6 d0 E7 X  {: e! A
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    7 E9 @8 m, T6 T2 n1 u
  1935. ; once per request. "0" means always validate)
    . ~; g  S5 Y( Q/ l1 v# v9 N
  1936. ;opcache.revalidate_freq=2  D5 X4 d1 n) ?2 c* Z5 F

  1937.   ^& M' W' K- |. }% Y5 {
  1938. ; Enables or disables file search in include_path optimization
    5 t% b5 L: t( ?* Q
  1939. ;opcache.revalidate_path=0) n0 H0 c5 c& ~, y& `+ _0 B1 [0 m
  1940. 0 Y# e( e# Q" ^! @# W
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    / K5 i: w* ^( E+ q' R9 {
  1942. ; size of the optimized code.
    2 \# f! y2 m% n6 H5 N3 V: n1 U
  1943. ;opcache.save_comments=13 g  M" {. A$ K# ~5 E7 l3 }

  1944. / ?2 f+ A. g( C1 \0 m- F5 P" T8 k
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    3 V3 P- G- M( m; Z: a7 y# Y) `6 K' T' S
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . k. K7 v( H7 |3 W3 n
  1947. ; that don't need them anyway.
    6 W9 {1 T4 T- @
  1948. ;opcache.load_comments=1
    , o% I8 m+ v8 h1 B
  1949. * e8 w/ w! t/ b5 w' I! t
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; ?/ z+ Y) f- X
  1951. ;opcache.fast_shutdown=00 W  h5 P* B5 |- n
  1952. $ d. Z: Q( w! o. q1 k
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' ~" _$ E1 d& W1 A$ @0 I$ Y
  1954. ;opcache.enable_file_override=0
    ' V7 ?9 Z7 |4 C8 Z- B6 }
  1955. ) I4 J5 ~; H# n, C! g
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache. Z2 u& I* p. ~1 [$ w% @
  1957. ; passes
    ! ^. j% u. g( H' ^  S
  1958. ;opcache.optimization_level=0xffffffff/ j/ K* z- S! v% ~0 m  Z( Q
  1959. 0 f1 A/ Z1 t! w3 t! H
  1960. ;opcache.inherited_hack=1
      `9 q4 X- u3 l% L
  1961. ;opcache.dups_fix=0; H6 I7 i: a+ O% W2 P# q, T8 {6 f, r

  1962. 6 D4 b1 ]/ l$ \' w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ; R/ b: q+ i5 l" g
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ; o; Y0 ?2 c3 j+ N7 K" W, J
  1965. ; that should not be accelerated. The file format is to add each filename5 W1 t( |' w! q' p( K$ S* w
  1966. ; to a new line. The filename may be a full path or just a file prefix
    - Q% i, P: z, h: a6 H6 X" i1 J- g% {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' o, z5 e" j, X1 [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! q+ E, k" R1 c0 S, T+ r2 D
  1969. ;opcache.blacklist_filename=+ n5 W, g  q( g% h2 B. D

  1970. 8 B, m- ?; n! R
  1971. ; Allows exclusion of large files from being cached. By default all files; O! d% g" x; V
  1972. ; are cached.; u9 ?; E4 D+ {2 x* \- l5 ~
  1973. ;opcache.max_file_size=0' I' |+ U1 G5 x$ n, q; ]( k( f

  1974. 2 g6 M( w$ m9 |  u6 x+ i
  1975. ; Check the cache checksum each N requests.
    ) G* f. {9 v  }8 o: h* a
  1976. ; The default value of "0" means that the checks are disabled.8 i  t# ^+ z4 L7 c9 H4 m
  1977. ;opcache.consistency_checks=0# X/ l/ ?: y( k) \9 D# O& Y

  1978. ! n# l5 u: m; m, n! A# H% ]9 {2 z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- [4 \9 O& q1 i0 {  @* u" p" ^$ r+ a
  1980. ; is not being accessed.
    ) w) Q' o: [. l: T
  1981. ;opcache.force_restart_timeout=180
    # d- |7 [- A+ G" s: \! z

  1982. 7 O$ }- P# h6 S
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ; ]( L6 y+ y5 N( U
  1984. ;opcache.error_log=
    ) Q0 `' P6 l9 {8 T

  1985. - p, I, k! F" \- Y  D
  1986. ; All OPcache errors go to the Web server log.
    6 b2 p( V6 R, `$ ~- E1 s8 W" I$ {
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged., R! Q. e" p; u
  1988. ; You can also enable warnings (level 2), info messages (level 3) or# e9 q" p7 q6 y  g# g9 @1 d
  1989. ; debug messages (level 4).
    4 }4 o" Q, @- s
  1990. ;opcache.log_verbosity_level=1
    7 H- C& L7 O; F4 h+ E5 X
  1991. 3 k: J" @  z# q' y
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.5 y+ t$ j5 F) ?+ _6 G; Z3 J$ s0 x4 ^
  1993. ;opcache.preferred_memory_model=$ C! z/ Z7 u! S4 G, i# g# O; N7 [
  1994. - ]+ I5 B4 d3 V# o
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 i0 W+ N, E9 G4 W8 Q" P
  1996. ; Useful for internal debugging only.
    - O4 l! o" u) s3 N) |8 U
  1997. ;opcache.protect_memory=07 Z- g5 k# |/ L- F' C# v0 P' _3 K
  1998. / G& a* x. i0 j9 j/ r9 C6 j& L/ x
  1999. ; Validate cached file permissions.2 q9 l- o; ^% E( p* g0 N
  2000. ; opcache.validate_permission=02 F* n* K7 |! I! |3 B
  2001. 7 j- l- k5 F3 Z& N0 z
  2002. ; Prevent name collisions in chroot'ed environment.' Z" S" }4 s( B5 S# j
  2003. ; opcache.validate_root=0
    5 ?/ o$ t  t+ M# E- ]$ Z% y2 @
  2004. / N: B, I$ m, F, D& M6 {% M' Z- R' T
  2005. [curl]
    4 T4 C# b' P- S  O0 p
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 V; f7 n7 M1 ]- L- D
  2007. ; absolute path.9 V& S9 Q8 h5 x! f* _
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    1 R" B, H) N) v& q5 J1 S
  2009. , D* o, f- E" l' b
  2010. [openssl]& Y1 c5 p, B3 X' {, B! l
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' i& B5 m* k7 [9 ]
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should" B" ?9 V+ L8 |2 w! N
  2013. ; not specify a value for this directive as PHP will attempt to use the8 L; a/ |" e2 m; Z$ o
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    6 U* q; t' I: }0 y2 k+ g# R
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context& C7 L9 B0 T7 h; F. {. j
  2016. ; option.
    ! r1 m. N; U& w# N2 ^4 g
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 D1 I* g) Q/ ]  R9 t; g$ m

  2018. 4 `* M+ w# R, n$ w2 T% o) e
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the* j5 _, _* V* F# @9 _0 O
  2020. ; directory pointed to by openssl.capath is searched for a suitable* p* B, |+ D' v- j3 R8 E6 h% H
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    5 m. ?, j. F" }
  2022. ; Most users should not specify a value for this directive as PHP will3 G+ R* J, e( R  o5 E  ~
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,: _: [2 r' H& G- s8 D$ J
  2024. ; this value may still be overridden on a per-stream basis via the "capath", t( i" d. @8 ~9 e
  2025. ; SSL stream context option.- _: P3 l  f) f' }5 p- t( k: a& w
  2026. ;openssl.capath=2 D4 Q/ r6 J5 y, `+ S3 W) }

  2027. ( N7 C- c( K% ?- I
  2028. ; Local Variables:5 {6 r2 U0 P2 [/ C
  2029. ; tab-width: 4
    1 o% ?  n4 r! L* c3 |+ K+ v' S
  2030. ; End:1 R1 Z( ^% h$ y4 a
  2031. , K* G. b/ L1 N/ Q, C
  2032. ;eaccelerator
    7 U2 O7 u5 O* F. W
  2033. : i: P, A4 M  f9 L
  2034. ;ionCube1 D, W+ _7 C1 W) y+ ~+ R

  2035.   C* \" z' z5 H/ _$ \5 {
  2036. ;opcache8 \  L) t$ H4 H9 c( z  C4 Q' p

  2037. 3 e  o. h, f& K
  2038. [Zend ZendGuard Loader]
    7 d  P2 A& ?- n
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % D7 L, m+ N3 m& ^1 C
  2040. zend_loader.enable=1
    # L5 L8 {! i4 Q4 r3 D8 F
  2041. zend_loader.disable_licensing=0( u! x6 v# R. i9 y1 {
  2042. zend_loader.obfuscation_level_support=3
    6 V! H7 k  P: O. `# T; G
  2043. zend_loader.license_path=
    2 G1 F, @3 e- ?& u# a& ?
  2044. 1 A/ F- Z2 ]3 D* o+ Q
  2045. ;xcache
    ' M' b4 o6 y4 U2 J* Y& Z
  2046. ) S' o* E% k0 U' S# ?) L- H
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
- h5 Q0 \: Z; }: c- u
+ H, a/ f6 V& }7 f& _! b. }
8 R4 n4 O* A- D2 q0 d# }+ c" eDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,5 B9 b; @2 N+ U3 z3 i
, r( r  i0 G4 V8 d& d
Discuz!程序版本选择:# E& \7 P# C6 Z. t+ J
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
" K7 Z6 u2 A& ]5 n. B不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:1 N7 `% m9 a4 \3 S: h
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。
( U, ]: O6 K' |3 F% K6 ^" v( D
& W3 v, K. ]% T9 j' `Discuz!插件模板版本选择:$ {) ?  R+ Z0 r9 l
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
# a) A* \2 {* n4 m4 Z$ N9 B# L针对这个问题做个统一的普及:
' t$ [+ q" O/ k) k3 hX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
$ J" K* H# f  ^
9 U/ r, J  d4 B* U所以- e" Q1 b0 s( X) N8 K. T9 N% k
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
9 {( `. p1 J+ S3 {; z打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。4 L+ @( k: {8 x5 r
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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