分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
5 @  C! P5 g* O3 C
2 f% O7 R1 d& J* ~- I
  1. [PHP]# `& E0 {' ]" M) @0 _

  2. ) L- C8 `1 @0 ~& A4 Z- l
  3. ;;;;;;;;;;;;;;;;;;;% R* c8 r  q/ v: V3 L
  4. ; About php.ini   ;) r8 b' ~5 c' j' S  s3 `
  5. ;;;;;;;;;;;;;;;;;;;
    , _+ W: m4 \9 h
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : x" |! X: \4 Z2 M0 l. Z
  7. ; configuring many of the aspects of PHP's behavior.
    % Q: c( q' n! L# v4 Z

  8. - r% P. D( H6 H
  9. ; PHP attempts to find and load this configuration from a number of locations." v, h$ I# @3 W6 m
  10. ; The following is a summary of its search order:" ]; k! J7 Z5 a( \: k" P" r: V# r$ B
  11. ; 1. SAPI module specific location.( z) V5 m8 |" X5 U8 l% m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , x; R, @* y6 C4 ]$ {$ O, m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)$ h) a( U! m. x5 H
  14. ; 4. Current working directory (except CLI)
    0 C* X/ h& c3 Q+ g( u: p& D5 Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , R; e% o9 U  h5 y8 g) i" k6 X6 y" @
  16. ; (otherwise in Windows)
    8 s* C: p- U+ J& F5 h) E
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 G* c: g' R8 |" K! i, h5 @% A
  18. ; Windows directory (C:\windows or C:\winnt)
    $ ?$ d% P( J2 J7 x& ]2 S- l
  19. ; See the PHP docs for more specific information., Q8 |/ L; V: O0 ~
  20. ; http://php.net/configuration.file
    ! P8 q3 o% x' ~

  21. , I' f4 r* F- x. a+ g5 d4 s0 n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - Z( G& W# _3 n2 T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 {5 z5 T& {5 F! W/ \
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    : ~1 b: {6 n: |0 s
  25. ; they might mean something in the future.
    6 F5 K& Q- E$ {9 l* M

  26. ( u" a# Z* Q2 o* n
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 d' a3 s1 d6 x2 r/ J" w& O. _
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    0 W3 N- z3 N+ ^% g
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 Q* t! G- w6 ]! U4 A
  30. ; PHP files served from www.example.com.  Directives set in these
    - u1 o$ H% J9 Z& s+ B. m
  31. ; special sections cannot be overridden by user-defined INI files or
    / ~! Q. ^7 O9 N
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 s: e( i( M0 n1 a  V( ]0 {# g$ i
  33. ; CGI/FastCGI.5 k6 C5 C; A3 o
  34. ; http://php.net/ini.sections* [/ O9 ^8 k  c5 ?' T, J, n7 q4 R3 I
  35. + H, _7 a% ~8 ~- v
  36. ; Directives are specified using the following syntax:
    & @7 S; V& t1 w$ c' T/ U1 }1 |+ w! C
  37. ; directive = value- m# L) k+ _% e, I/ U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.! E  p' M: r$ p: v( r; R! M7 C- q, V
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ) E$ {% v9 u! p/ \. n3 _
  40. ; There is no name validation.  If PHP can't find an expected
    ; H; T& M+ N  r, B4 g
  41. ; directive because it is not set or is mistyped, a default value will be used./ X4 g  S8 _* C6 P" `$ t5 C3 L
  42. , P# J! v) Z: E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( B, V$ B$ X$ T7 x! {) X  K
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression/ {4 j/ n: s0 J7 O( J0 a5 S1 d' o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( W1 a) r, g% K) z
  46. ; previously set variable or directive (e.g. ${foo}): L" p. X! I. S9 p- x

  47. . T9 K' w$ @5 ]' ^+ _0 m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    5 I' e% _) Q9 @. [* K
  49. ; |  bitwise OR6 C0 n: J, a8 \" o
  50. ; ^  bitwise XOR8 K( a! t! P; t
  51. ; &  bitwise AND  a) z+ x3 B* B
  52. ; ~  bitwise NOT1 Z( B5 v, N* A
  53. ; !  boolean NOT
    ( }2 B$ {" `- ^, t

  54. , K/ o/ ?: J4 W  v6 y3 k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    + Z) J  D& b8 N1 t" {+ R4 m' t
  56. ; They can be turned off using the values 0, Off, False or No.% W, [. r. f0 L& h& O
  57. , i7 l: ?/ X2 T2 n
  58. ; An empty string can be denoted by simply not writing anything after the equal- L% }" b. C: C+ w8 Y' x+ B7 ^
  59. ; sign, or by using the None keyword:- n2 ]; w8 T5 {6 _/ f% |

  60. % t4 X- d/ L6 Q) Z1 |
  61. ;  foo =         ; sets foo to an empty string
    - ]$ s* m; U$ Q& Z8 l9 U: J
  62. ;  foo = None    ; sets foo to an empty string0 ^4 Y0 s4 }6 e$ o. y& ~( F1 u: g
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 T8 `" R5 }+ u, b/ v! k- `. I) p

  64. - Y  q" i, B$ j+ D
  65. ; If you use constants in your value, and these constants belong to a6 q& }' B( W; s. M' q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . K$ Z$ J! N& m8 T, O
  67. ; you may only use these constants *after* the line that loads the extension.
    + N9 `4 W# X& Q/ B8 S8 }
  68. ' t! T& A' t$ `3 B7 b; ?' U' g
  69. ;;;;;;;;;;;;;;;;;;;
    1 G1 u9 z+ w/ A& B
  70. ; About this file ;
    1 |3 A8 i7 r; D$ ^
  71. ;;;;;;;;;;;;;;;;;;;; R) ~, k3 m6 T  u$ d0 V" |
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  F  e: ~/ q+ |6 b0 t
  73. ; in production environments and one that is recommended to be used in
    , P# d. @, Q9 L/ _! h
  74. ; development environments.
    / F* l5 H: v4 u( t
  75. * b8 Z: B" c2 @0 p
  76. ; php.ini-production contains settings which hold security, performance and, I4 L3 B8 o7 v( b  G
  77. ; best practices at its core. But please be aware, these settings may break
    . Q2 x& K( o" p4 \' q
  78. ; compatibility with older or less security conscience applications. We
    3 J9 I2 Z/ @' C3 ~
  79. ; recommending using the production ini in production and testing environments., E$ k' c/ H  L) G$ C
  80. ) [6 C" _( |' J
  81. ; php.ini-development is very similar to its production variant, except it is* l0 H. T( ^+ U) ?
  82. ; much more verbose when it comes to errors. We recommend using the4 }8 V+ z& E/ ^# B) e& t
  83. ; development version only in development environments, as errors shown to% F6 \7 K& T. i! Q; [1 C
  84. ; application users can inadvertently leak otherwise secure information.
    5 N2 T8 S! U7 z7 I) p- Z% o
  85. 6 a7 ~( L* h( v/ h) H% Q
  86. ; This is php.ini-production INI file.( M6 g) V$ {6 d
  87. 5 z# |# C* h5 L8 j, i! p& N# ]4 w
  88. ;;;;;;;;;;;;;;;;;;;
    # w  X9 x# L/ g( S7 D' ~
  89. ; Quick Reference ;) z, b- Q9 `. O6 c7 o3 n
  90. ;;;;;;;;;;;;;;;;;;;8 i, o" a  A7 p- A1 w' L9 J
  91. ; The following are all the settings which are different in either the production
    . o3 @# A0 ~/ w; W  A8 A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      ~! ]+ p5 D1 m1 Q
  93. ; Please see the actual settings later in the document for more details as to why
    3 \# h1 Q, U: @) a4 E1 O
  94. ; we recommend these changes in PHP's behavior.
    4 l0 M0 ^+ N# P. M5 {

  95. 3 \  o( V: O) \
  96. ; display_errors% Z  m" }- {9 z# h+ d
  97. ;   Default Value: On
    ) I! n+ x  a# J6 ]
  98. ;   Development Value: On' S/ L8 n. J) h/ v6 y' S3 B
  99. ;   Production Value: Off; X4 j' E6 C8 ]7 d; e* p$ C

  100. " l, _, P& }2 e4 S
  101. ; display_startup_errors7 g' |4 L; ]7 l7 i; e6 {7 C" K
  102. ;   Default Value: Off: Q# k. z* t2 q5 f
  103. ;   Development Value: On
    ! C, L. ^7 x" H/ p  j- d
  104. ;   Production Value: Off( v1 ^8 k  V+ o: G2 S

  105. 6 d4 q$ C- B7 U2 S! Q$ ~+ r. }% e
  106. ; error_reporting
    ! s2 T- f7 y0 B" @/ O% J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( L' q2 {9 }9 d4 K
  108. ;   Development Value: E_ALL
    1 u& P% e0 @+ {6 W$ M" o  g& u9 S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 ?5 ?- V) P; i) [
  110. " W8 g) B9 Q; S' i9 w/ e% f
  111. ; html_errors4 y8 W. P! t, J! p3 Y' X) H
  112. ;   Default Value: On8 ^; ^% x+ Z% d# S
  113. ;   Development Value: On' o2 C3 u2 s1 w6 I1 G+ G
  114. ;   Production value: On# P8 r4 N6 g% ~! O

  115. " c9 b1 ?4 U  G, E
  116. ; log_errors  p/ U+ I* m5 {. F( D1 ~
  117. ;   Default Value: Off2 V; N: X7 a5 [
  118. ;   Development Value: On! n# l. V! @3 u
  119. ;   Production Value: On: D6 H* y7 k0 i* J6 @! g. ?$ E

  120. : J1 r! a: V) d9 e
  121. ; max_input_time5 A9 p1 O( C0 M8 c' Z# x
  122. ;   Default Value: -1 (Unlimited)
    & p- k( Z5 z2 K
  123. ;   Development Value: 60 (60 seconds)# H# Z( m& U4 y+ O" ]2 f/ [
  124. ;   Production Value: 60 (60 seconds)
    + ~% t( \, {( Q! [0 ?
  125. $ N# x* w$ y# G# T: H( X
  126. ; output_buffering
    2 U& K6 M- u5 d& r
  127. ;   Default Value: Off: \- m1 K1 y7 H4 ~) s# _5 T% v
  128. ;   Development Value: 40960 Q6 J1 u. z1 i7 Q$ e
  129. ;   Production Value: 40968 y8 N: p" i" |9 a: v
  130. * W. I( y, k- W
  131. ; register_argc_argv
    2 X$ P; ?& q% D  ^: U
  132. ;   Default Value: On
    : e8 b6 c. V7 q4 l0 c! V
  133. ;   Development Value: Off; a) ^+ X% b4 H* s9 m* }
  134. ;   Production Value: Off
    , h* U# |3 {  O3 `

  135. + f6 V: s! }. H  _) F: T
  136. ; request_order2 X1 r0 H; F1 q8 }( B6 L
  137. ;   Default Value: None
    ' y( s& s+ {; C
  138. ;   Development Value: "GP"
    7 M% [( f" o8 ?' @+ y) i* p% c5 {
  139. ;   Production Value: "GP"/ l7 h' M5 F8 _) Q* b7 \3 Z
  140. 4 l5 c& X2 e' L# t' J$ J
  141. ; session.gc_divisor/ Y* I+ {! w  |( L
  142. ;   Default Value: 100
    " V) n. O! X: p- s$ t% D
  143. ;   Development Value: 10005 @/ ?$ {  u5 q. C# `  Q1 H3 `* l
  144. ;   Production Value: 10003 O& I# [4 N/ O7 E

  145. + K; E+ [; [2 ~7 Y, g$ E7 G
  146. ; session.hash_bits_per_character, L5 E( [, S# j; V7 K
  147. ;   Default Value: 4
    . n6 O) L; N! o4 X* a
  148. ;   Development Value: 5
    # u6 _" Z2 @  T, W+ B
  149. ;   Production Value: 5
    , M6 T4 C, o5 c1 A6 t- U7 B
  150. , r6 _0 H' N  w) p1 T: X
  151. ; short_open_tag
    6 C: K% o- ^+ j4 u* Y6 V
  152. ;   Default Value: On
    1 _9 ~& X& G$ r" x2 c  `; {, d
  153. ;   Development Value: Off/ m; C% O  j8 l& D+ ?& |$ h  X) V+ J
  154. ;   Production Value: Off
    3 X  ]; T1 f/ G! F

  155. ) P2 E. O% |! u7 R  z1 o& |
  156. ; track_errors5 P* ^+ t* p+ D% E+ [* J
  157. ;   Default Value: Off: Z0 s: o7 U6 V# W% u
  158. ;   Development Value: On
    4 S* `( |9 ~# W" g
  159. ;   Production Value: Off
    ( @8 f  w# v' ?* U6 q8 u

  160. 7 e+ K/ `/ T. _4 ^
  161. ; url_rewriter.tags5 N$ p4 B6 n. c+ T( }9 u1 i2 N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 ~! S' S. p: w2 [4 y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 Y* W$ T+ H! X) r
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 q6 l' t7 i' {" I  @

  165.   G3 [& v1 g. c( a* D  m  y. e! H
  166. ; variables_order* O; {( c! K% f2 m: P# f
  167. ;   Default Value: "EGPCS"
    ) n- T) _$ O9 h6 N
  168. ;   Development Value: "GPCS"
    # _6 B+ D8 R& d! [* F" P
  169. ;   Production Value: "GPCS"
    & h% E# @' h' b! i% r
  170. - m% w; ~& `& S- Z- |" Q( @: j
  171. ;;;;;;;;;;;;;;;;;;;;
    7 v$ s# Y3 W1 c! f1 d
  172. ; php.ini Options  ;
    ( L5 G& B7 {) @2 a# v
  173. ;;;;;;;;;;;;;;;;;;;;% V' w1 E5 F( D$ Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , W2 `" G8 U0 G. N. v
  175. ;user_ini.filename = ".user.ini"
    ( M9 M% W" s, m
  176. - J: T: O1 v: p" J' r
  177. ; To disable this feature set this option to empty value: J4 O8 G1 @/ R( T5 ^* ]
  178. ;user_ini.filename =
    / d0 {% H* M6 ?" D% l1 g# c
  179. 9 I2 ]. |) {) p0 \& ]$ x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 v4 D9 H% g$ w; n
  181. ;user_ini.cache_ttl = 300
    ! a& M  F4 w$ S5 I) x
  182. ( r" C5 V  P' k6 d& b0 y2 G
  183. ;;;;;;;;;;;;;;;;;;;;# I% L+ c6 {1 @' ^0 S
  184. ; Language Options ;
    $ h3 C! X8 x) c9 ~
  185. ;;;;;;;;;;;;;;;;;;;;
    " l( V/ ^: |: E/ `: Y5 ~6 G2 U
  186. 5 |1 l/ M( r. O# P7 L
  187. ; Enable the PHP scripting language engine under Apache.- u, S' {! [5 N8 o  N/ H4 f7 a; T
  188. ; http://php.net/engine+ D5 n- u4 j7 [- c0 A
  189. engine = On
    & l; M# f- Y+ B
  190. 9 }9 ^& H6 a/ P
  191. ; This directive determines whether or not PHP will recognize code between
    ' H% y9 @/ g9 `( \4 t: ]9 a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    5 Q$ ^6 [- q  v' q; ^  j7 v0 v/ u
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : ^9 G; T# u; ]+ G7 m0 _2 \
  194. ; should be disabled, as enabling it may result in issues when generating XML  K+ K4 A3 ?0 k0 b7 v! [
  195. ; documents, however this remains supported for backward compatibility reasons.( S, t! o" u, K
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, ^* S3 k& N. u! p, U# T& q8 y
  197. ; used regardless of this directive.9 z4 F; k% {5 k
  198. ; Default Value: On" |% z& e) M- v4 s# j! z
  199. ; Development Value: Off& E  k! y2 y# r4 O/ j& E. h' }
  200. ; Production Value: Off" L/ c& B" Z( ?# V% u
  201. ; http://php.net/short-open-tag
    " s8 ]* C% a3 @2 m) y/ F% S
  202. short_open_tag = On
    5 L: M2 A: f, k/ R* x
  203. 1 f4 f) M- O; m0 J8 U! i
  204. ; The number of significant digits displayed in floating point numbers.5 Q2 l6 x: |& C
  205. ; http://php.net/precision
    4 s5 Z) \7 o9 a& c  w0 w
  206. precision = 14
    & l4 k/ m- G5 V$ A9 A

  207. : q  }' i0 W+ j& H. T
  208. ; Output buffering is a mechanism for controlling how much output data
    - H) U1 }' @" g5 ~
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that9 L: S; q- b1 q  p6 m& A% ]
  210. ; data to the client. If your application's output exceeds this setting, PHP: o6 z0 ?; m+ h5 f# W! o( u" }" Q
  211. ; will send that data in chunks of roughly the size you specify.* z9 o0 [* X  e' K! s( e5 Y0 z
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    - o, U9 C+ I5 T' _" [  V
  213. ; interesting side-effects depending on your application and web server.
    - \9 t3 Q2 w. V  _7 ~7 e5 L
  214. ; You may be able to send headers and cookies after you've already sent output
    9 l0 z( p, T  N- T6 \; l
  215. ; through print or echo. You also may see performance benefits if your server is6 v2 D: y$ _1 H/ e
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    4 s# R/ o! F' `4 A0 u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + ]. C1 Z' {4 K
  218. ; reasons.. h- {1 \; {7 p
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 c! n9 l- |$ ?
  220. ;   functions.
    4 z5 R  l6 G: O. C9 ?1 b2 C
  221. ; Possible Values:
    & `0 `7 m; g  h" L$ R' j4 {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ [& k# f* `3 F
  223. ;   Off = Disabled
    ) ]9 g' @! V; A* y
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.4 [/ a5 ]3 M! p  }  l/ N
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI! T8 d" D) c4 q' h. |3 M, `8 e% N
  226. ; Default Value: Off4 T" D& x: H) [8 u* Y7 F1 M
  227. ; Development Value: 4096' \( z: _' K! J9 J2 `
  228. ; Production Value: 4096
    + n0 I6 t7 F5 v8 Q% T
  229. ; http://php.net/output-buffering
    5 P( l& D/ e( u9 H: J( B; b4 z
  230. output_buffering = 4096
    + T" M5 o* Y0 y4 b+ \4 M+ `" g

  231. & R+ r7 P  I: i" |' ^- O
  232. ; You can redirect all of the output of your scripts to a function.  For; E. S- t0 L1 H" S" A5 X$ B
  233. ; example, if you set output_handler to "mb_output_handler", character
    / B3 `) Q- j1 c0 O9 `( E6 B) b
  234. ; encoding will be transparently converted to the specified encoding.
    * i4 x. F+ m: p: s8 N: `5 K$ ^7 x
  235. ; Setting any output handler automatically turns on output buffering.) P* c9 v* L8 H7 D# j; P; s+ c
  236. ; Note: People who wrote portable scripts should not depend on this ini& E, T* L8 e. C! K0 `+ h4 G
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    4 B9 P: b6 t0 o4 i  {' U+ ]
  238. ;   Using this ini directive may cause problems unless you know what script4 q6 \3 s  V4 Q6 ^$ [
  239. ;   is doing.0 u) H. l7 m2 a8 c% I% a5 {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    5 M0 x3 @3 I7 Y0 T% I) m
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 w) c& X# O$ h5 x8 G) D
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 d4 A& G7 ], _  u. o; P: J8 B
  243. ;   Instead you must use zlib.output_handler.; ~# M& r& x! `6 d
  244. ; http://php.net/output-handler+ a3 r' z+ b( [1 p7 M- K
  245. ;output_handler =
    - H! g: u2 w4 L- z. b
  246. 7 f% M1 D8 i. I. `
  247. ; Transparent output compression using the zlib library
    7 A, g& l0 C6 ]* c; M
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    5 @( @; x5 p0 s" M2 z, |
  249. ; to be used for compression (default is 4KB)
    4 u- y% u5 d  O, f6 k8 J- d8 d$ I+ B
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # D( R1 o; ^: V! G: B
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * B0 j7 E1 [' ^0 ]
  252. ;   compression. If you prefer a larger chunk size for better
    0 a# z7 b3 B( A5 h
  253. ;   performance, enable output_buffering in addition.
    ! u0 X( P9 r1 T! t0 [
  254. ; Note: You need to use zlib.output_handler instead of the standard* p/ P7 S6 ?/ w3 V- ~# F
  255. ;   output_handler, or otherwise the output will be corrupted.
    7 r: E( d# j1 c& P+ b* i
  256. ; http://php.net/zlib.output-compression
    1 z6 @! ]7 N9 _  l2 ~! ^
  257. zlib.output_compression = Off& v% T' h$ R4 n; ^4 t# ~/ q2 E% N

  258. ' ?2 [4 i* Q% d) m, X& ]
  259. ; http://php.net/zlib.output-compression-level
    9 P2 ~2 B& e, y9 ]. d* J
  260. ;zlib.output_compression_level = -1
    , ]% B; s$ z) V6 L, [  i, C. s
  261. : |9 ]* u% M: s) {6 {
  262. ; You cannot specify additional output handlers if zlib.output_compression, _: Y8 B5 h( H- `9 ~
  263. ; is activated here. This setting does the same as output_handler but in
    $ P3 [; }! u" t6 c
  264. ; a different order.
      _1 k' y0 k' ]! H
  265. ; http://php.net/zlib.output-handler
    / x. E3 K) e& O9 Y. Z3 e6 q
  266. ;zlib.output_handler =
    ( k7 R( Z$ O5 t

  267. ; y& b+ N; a: E& H& L& T7 P% u, X7 a
  268. ; Implicit flush tells PHP to tell the output layer to flush itself/ A+ i% Q8 d+ P: L2 D- z: L
  269. ; automatically after every output block.  This is equivalent to calling the
    4 N) N1 b2 P. |* q5 d/ q
  270. ; PHP function flush() after each and every call to print() or echo() and each
    " w8 h$ @" X1 U+ M8 c' m6 y
  271. ; and every HTML block.  Turning this option on has serious performance8 y5 w8 x: l1 [* w: h
  272. ; implications and is generally recommended for debugging purposes only.
    ; j. h/ N4 }8 J- H: N$ f3 r
  273. ; http://php.net/implicit-flush
    7 G: F) v! g7 s: W3 _& q
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % c% h8 @# [$ Z  E% `$ o+ q! C
  275. implicit_flush = Off
    # U- M% b, K4 ^' Z

  276. 7 m, o! O0 G- ?# u9 b( x
  277. ; The unserialize callback function will be called (with the undefined class'' u3 G2 E) N& f5 O( N! x
  278. ; name as parameter), if the unserializer finds an undefined class
    * ~( d# ], A2 ~; |3 [
  279. ; which should be instantiated. A warning appears if the specified function is
    8 R7 V1 N+ b1 R- l+ e
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ( O8 N0 h% g1 ]5 x9 u( K
  281. ; So only set this entry, if you really want to implement such a
    + o4 X- Q9 ]0 D# i/ b8 Y- J
  282. ; callback-function.3 j  x* V( d0 A  r, }/ a8 y' a" v
  283. unserialize_callback_func =0 w% i! J  B* i5 J0 S% j

  284. 1 Z9 g# w# w7 n% A. W
  285. ; When floats & doubles are serialized store serialize_precision significant; ^& g$ ]4 p  O; n8 }' T
  286. ; digits after the floating point. The default value ensures that when floats
    + J, Q- v# Z3 R; ]9 D
  287. ; are decoded with unserialize, the data will remain the same." @: P; N: p8 v' _9 {7 T8 J0 E; a
  288. serialize_precision = 173 F+ P+ k9 N: y; @5 k
  289. $ ~% }2 E3 |# _7 k' X- b
  290. ; open_basedir, if set, limits all file operations to the defined directory1 P! o8 v; }5 ^3 Z/ X5 q% o. i
  291. ; and below.  This directive makes most sense if used in a per-directory" P' O( x7 O  ~
  292. ; or per-virtualhost web server configuration file.
    / z7 t* G- x5 x- V3 \* u
  293. ; http://php.net/open-basedir6 u) J9 i# _: Q: ?7 _; {
  294. ;open_basedir =
    . h* F3 f0 ~# s% z& Z: Z6 z& _

  295. & [& O3 j( r" U# o. i4 Q
  296. ; This directive allows you to disable certain functions for security reasons.: [: W) o. a- k: t* n3 E: d5 L
  297. ; It receives a comma-delimited list of function names.
    ! _; `; @, d+ |2 d' F
  298. ; http://php.net/disable-functions" S7 J$ F' y4 U: b
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( g/ V% Y# o- V! Y0 P- L# x

  300. ! H0 ]. b. A& y9 ]- u2 R4 E
  301. ; This directive allows you to disable certain classes for security reasons.. F3 l. a3 N: |7 c; H4 O
  302. ; It receives a comma-delimited list of class names.
    ! }% E& h# U# v
  303. ; http://php.net/disable-classes
    ' @8 D5 R4 _. \$ c' V
  304. disable_classes =
    $ i8 g! l  }$ A5 n' C( r  P; ^- a' ^9 l

  305. 6 k3 g  v$ [- k! {
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 e" P8 c$ {; ?* s6 l2 F
  307. ; <span style="color: ???????"> would work.' w- G$ ]8 y, e- A
  308. ; http://php.net/syntax-highlighting
    / x- W1 a2 b9 d
  309. ;highlight.string  = #DD0000" J+ y: m  \7 `2 ~' @: O
  310. ;highlight.comment = #FF9900
    3 f' p9 J) Y. k! Y' a
  311. ;highlight.keyword = #0077000 \. M- X7 t9 h0 \! S+ p! u
  312. ;highlight.default = #0000BB
    5 f8 b, x& a7 \' Z$ }0 ?% k
  313. ;highlight.html    = #000000
    $ c; w& @/ o( p( e' `8 ]1 b) O

  314. 7 E; W( ]! V$ W
  315. ; If enabled, the request will be allowed to complete even if the user aborts2 k, e" e8 x( B( R4 {
  316. ; the request. Consider enabling it if executing long requests, which may end up& ?# b( s% i) L" B$ t
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & g6 c6 J/ [% V- ]  p6 Q8 z, s
  318. ; is to disable this feature.7 |3 _: H4 ]1 l( D
  319. ; http://php.net/ignore-user-abort( Q0 t& P! T( L' I; s
  320. ;ignore_user_abort = On8 O/ ?! z9 B) Z: f* [

  321. / G/ {5 w' l( H& @' u
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    - W1 ]3 K5 Y% ~- Z5 r
  323. ; be increased on systems where PHP opens many files to reflect the quantity of) T3 ]+ i- O! a/ Y) I( J2 G
  324. ; the file operations performed.
    1 g% v6 @6 w! ?4 v, K
  325. ; http://php.net/realpath-cache-size8 k6 M) b. g! D; D, [. X
  326. ;realpath_cache_size = 4096k
    + J. |3 c9 s$ n9 h# r* e
  327. - T# r( [  X' z7 v* A' n
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    / E6 {$ X1 J! z6 I& m. h
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    5 |& h% U) |% o: _* \' X' o
  330. ; value.
    / e4 q6 {5 f6 Q/ r
  331. ; http://php.net/realpath-cache-ttl
    ! H1 L$ H! w! p+ M
  332. ;realpath_cache_ttl = 120
    2 u! L& h9 ~4 P, ?/ i1 [4 c

  333. / C1 }- Z9 L: s" Q
  334. ; Enables or disables the circular reference collector.
    # I9 O' L. p' f3 i2 ]8 }0 {
  335. ; http://php.net/zend.enable-gc
    & w4 l9 E) E" Q% I# O" S9 C
  336. zend.enable_gc = On( _5 Z' e- @2 M; v: S) N" J: K
  337. # i8 V1 j* B- N8 p5 H+ k
  338. ; If enabled, scripts may be written in encodings that are incompatible with* W- n1 C) L7 Y' y2 ]
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 a- S5 E' V0 K! I
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    1 K2 @0 S5 F- M, L, A
  341. ; Default: Off8 o( J2 K! |; Q. ~
  342. ;zend.multibyte = Off
    . g6 _" C& ~$ t

  343. % S8 m" b. J. m7 E2 ]/ d
  344. ; Allows to set the default encoding for the scripts.  This value will be used2 g; Z3 e' A8 ]9 E/ ]  i- M' t
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    # U8 a* i4 J( X
  346. ; Only affects if zend.multibyte is set.
    * A/ J/ h7 C) |  y; e; ~
  347. ; Default: ""% B( M. E8 N$ C9 a* i4 A
  348. ;zend.script_encoding =
    1 c! O- ~4 J( v

  349. 9 Q) t; F2 `5 ?0 S
  350. ;;;;;;;;;;;;;;;;;$ K2 e- U. T6 G, R
  351. ; Miscellaneous ;
    4 ~6 ]  e$ s7 ~: C/ e0 v, ~, C7 r
  352. ;;;;;;;;;;;;;;;;;
    $ E* z2 }: v% |, n; ?

  353. 4 C4 ~# w& E; t" P4 ?6 F8 {; ~& V' u
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " ^  ]0 p' a6 S0 c6 G
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    : M/ K9 G9 I: s3 r/ V% ?5 z: B# W
  356. ; threat in any way, but it makes it possible to determine whether you use PHP! f/ }, F  h3 K
  357. ; on your server or not.
    " j# }9 D% }! T6 n
  358. ; http://php.net/expose-php/ V4 h0 L% f' O
  359. expose_php = On
    " I$ \, X% n! u) Y& d+ U" A
  360. , W2 @. K4 e* O; _
  361. ;;;;;;;;;;;;;;;;;;;
    ' d7 k( X) i5 D* V& G) a5 L. Z
  362. ; Resource Limits ;/ u; j- K- k' X# X
  363. ;;;;;;;;;;;;;;;;;;;* J9 ^* ?/ u, Y. B) ?
  364. " L! E' U" n! k! j/ w$ f$ K9 T, L4 h
  365. ; Maximum execution time of each script, in seconds
    ) K( \- x: k: a+ G3 B0 R7 m
  366. ; http://php.net/max-execution-time
    ) z, e  K9 ?1 e) k% |
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( n" |& _; t0 ^- b" h% J
  368. max_execution_time = 300! p* Z$ u/ o$ p  B  R4 T0 [
  369. 3 y, j* T, Z& |
  370. ; Maximum amount of time each script may spend parsing request data. It's a good9 C2 h- g5 c( ?/ S$ s6 u3 _0 T
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* m. j+ N' _3 d6 S* {
  372. ; long running scripts.6 {8 H9 V8 G; B" B; J  D. Q# w7 F" X
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI& h/ R' B) \: b4 e' q2 s; G/ `
  374. ; Default Value: -1 (Unlimited)
    + y* [# t2 K4 m) X/ i) Q4 Q" ^$ }
  375. ; Development Value: 60 (60 seconds)1 k( C  V) G2 Z6 {% x
  376. ; Production Value: 60 (60 seconds)& m3 Y' R5 U. ^' U6 Y4 ?% B- N5 i
  377. ; http://php.net/max-input-time6 h* _- Y6 x! T2 y8 e( ?0 |
  378. max_input_time = 60* g0 V6 v. f; ~' L/ L4 {
  379. & s; t: T6 f/ f
  380. ; Maximum input variable nesting level
    $ P7 e4 v  A! I( W5 H
  381. ; http://php.net/max-input-nesting-level
    & @& a2 s8 z- N4 G
  382. ;max_input_nesting_level = 648 J. b/ M0 U4 m
  383. . ^! R9 {/ s1 M- v
  384. ; How many GET/POST/COOKIE input variables may be accepted; k2 {/ d2 C  j/ M' k
  385. ; max_input_vars = 1000
      R5 L: \% F4 z- R  W8 v
  386. 3 w8 B) ^8 V# N6 Y& T  w! {0 t
  387. ; Maximum amount of memory a script may consume (128MB)
    - i4 g/ p8 h0 A5 L& n( d6 n
  388. ; http://php.net/memory-limit8 P/ i, f! p4 Q3 ?
  389. memory_limit = 128M
    8 ]( E9 s/ G; k% L; h+ e
  390. 0 a7 O( @8 P  f9 e) ~
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % w. }& L0 J* k% U: V
  392. ; Error handling and logging ;# _" G+ c" T7 G5 \4 A9 f1 l/ P
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- M8 w4 R+ {# V- p
  394. $ a) A/ J: b" |; F; Y- N! l+ i
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    - _7 d6 V* V/ @/ B- t  a
  396. ; it to take action for. The recommended way of setting values for this
    - N2 O% |1 `( z; y) B
  397. ; directive is through the use of the error level constants and bitwise
    * k: F0 Z' T6 S
  398. ; operators. The error level constants are below here for convenience as well as
    : R! Z( b7 }7 A6 j' C1 j. o! X
  399. ; some common settings and their meanings.
    / O/ }# a$ v! x  V
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT6 ]1 m# x( r+ `' w; r9 w/ E
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! z1 z& f  C8 D' @) x
  402. ; recommended coding standards in PHP. For performance reasons, this is the) H* X9 ?0 k/ j' j3 a& ?( _, P
  403. ; recommend error reporting setting. Your production server shouldn't be wasting/ ?9 P: S" v# J+ m6 k
  404. ; resources complaining about best practices and coding standards. That's what  ?: o( O  Y; k
  405. ; development servers and development settings are for." l0 g2 V! u8 A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This8 ~8 O( ^2 }+ r3 K8 H' _. h
  407. ; means it pretty much reports everything which is exactly what you want during2 v& b1 b+ N# a5 B' H8 P: E
  408. ; development and early testing.
    ! i" S* s! r) |2 E! u
  409. ;4 x& D4 F: ^4 U! w; J% j" r
  410. ; Error Level Constants:
    # o2 G  v, J- b4 X  _9 @0 z( ^
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    8 c( g2 X& A9 h
  412. ; E_ERROR           - fatal run-time errors
    6 ~7 B6 ^7 N+ J8 Q6 Z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    * W6 k6 ]& a3 p0 D3 e
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 }2 h, s0 y( a6 M. ~
  415. ; E_PARSE           - compile-time parse errors0 F4 C7 D5 b( f; G+ X# B/ _
  416. ; E_NOTICE          - run-time notices (these are warnings which often result- \! N& w( Z: X% g
  417. ;                     from a bug in your code, but it's possible that it was
    0 v/ W1 B0 Y  ^$ v- U5 W
  418. ;                     intentional (e.g., using an uninitialized variable and
    4 t5 q* o, y/ ^" q
  419. ;                     relying on the fact it is automatically initialized to an
    $ v# U* t. t! X
  420. ;                     empty string)' h; w$ P/ T# K* M1 Q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  N! Y- O) S/ |0 E: v7 b/ h* I
  422. ;                     to your code which will ensure the best interoperability0 H$ F/ \6 {$ D3 v2 i8 a
  423. ;                     and forward compatibility of your code
    * n5 N' a/ Y8 p) b6 @2 C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 t/ B1 ^# e/ I
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ \5 d! u4 e1 p) q4 y
  426. ;                     initial startup
    2 W1 x1 H: F" a6 t1 H$ S
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ B  M% m* e) @! a) y& f( y
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)- ]% |# s4 T1 z. [
  429. ; E_USER_ERROR      - user-generated error message/ u0 d9 `0 ~8 r& Q' x
  430. ; E_USER_WARNING    - user-generated warning message
    - s0 K% g) ]9 V0 ?9 V
  431. ; E_USER_NOTICE     - user-generated notice message
    # G' \) v, r" t. y/ K
  432. ; E_DEPRECATED      - warn about code that will not work in future versions) X' v1 J% j1 l: s
  433. ;                     of PHP
    / T: k# t% `+ E4 C
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    5 ?+ Q7 Q' I) p' Y. }+ y
  435. ;
    ' B7 S" g) E1 \
  436. ; Common Values:5 q, M" x* R8 L5 B
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 o) C. F# d$ S* R3 w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    # O- Y% I9 e0 h5 X  c6 \
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    - \2 R. `) M* g$ ]8 V
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ) U; z  t0 E& j$ o
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 }* K& M# V* }# O2 Z# N3 y
  442. ; Development Value: E_ALL9 p$ E8 ~: o" K
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 {4 e2 D4 j( V' @& }! Y* p
  444. ; http://php.net/error-reporting
    + F5 a1 N  x9 e% @
  445. error_reporting = E_ALL & ~E_NOTICE
    " F( Z2 h' r+ N; C3 S0 x2 P

  446. 3 l7 Y1 [/ R2 {5 B, Y: s, L) @1 u% I
  447. ; This directive controls whether or not and where PHP will output errors,
    ( w7 s: z6 ^) g% G0 ?
  448. ; notices and warnings too. Error output is very useful during development, but& S3 D9 P7 J8 H9 r. h" \" ^* x
  449. ; it could be very dangerous in production environments. Depending on the code% U! l% r, A7 L; i
  450. ; which is triggering the error, sensitive information could potentially leak
    2 n( Q) C' _9 r. x0 E- V
  451. ; out of your application such as database usernames and passwords or worse.
    & W1 ]/ w% Z5 z) t& a; E
  452. ; For production environments, we recommend logging errors rather than2 Z( k3 A+ `. p! Y
  453. ; sending them to STDOUT.
      n2 {; C( V, R7 Q& k% c$ y
  454. ; Possible Values:
    & [" [+ D9 Z6 K" m
  455. ;   Off = Do not display any errors$ F1 z! O$ \0 ~8 @; E+ g
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 y8 q4 K3 b+ m/ m
  457. ;   On or stdout = Display errors to STDOUT* d" L" w0 n; Y
  458. ; Default Value: On. R/ n9 \& S9 P" t
  459. ; Development Value: On
    ( R5 m0 \2 Q6 n. d3 k
  460. ; Production Value: Off
    , R& s9 Y& ?1 ]0 P
  461. ; http://php.net/display-errors
    + X$ {( h! q: `, U  u: }
  462. display_errors = On
    / }# I5 f% K4 F
  463. 9 _# K! t: j0 ~3 w6 ]
  464. ; The display of errors which occur during PHP's startup sequence are handled8 Y7 P- p% g- w
  465. ; separately from display_errors. PHP's default behavior is to suppress those% p. V5 }" h& h2 _6 w  y4 b3 t" Z1 R
  466. ; errors from clients. Turning the display of startup errors on can be useful in, U; D) G) `( P3 c6 A  @
  467. ; debugging configuration problems. We strongly recommend you- y) G% ]2 J0 ?. v
  468. ; set this to 'off' for production servers.  L  A6 @+ [0 r$ l# o% Y
  469. ; Default Value: Off% X5 x# s6 z5 j& }+ Y: }: A" N
  470. ; Development Value: On
    # n3 v, J: ?, x' V# M2 I  x+ ^# m
  471. ; Production Value: Off$ ]' F+ m1 v3 R0 g  z
  472. ; http://php.net/display-startup-errors
    3 C1 L; @$ @/ z; a
  473. display_startup_errors = Off
    . O; D7 A" ]4 v" H
  474. & k$ f3 `6 t5 n0 b# F
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" I8 S( i4 P" d5 f& }) U+ n' }
  476. ; server-specific log, STDERR, or a location specified by the error_log
    2 j) `8 l7 \/ _0 R1 i0 Z1 K# U
  477. ; directive found below. While errors should not be displayed on productions
    ! q& [2 q2 W( t) d
  478. ; servers they should still be monitored and logging is a great way to do that.
    # X8 j: v. H1 t9 D% h, N5 M1 I
  479. ; Default Value: Off3 J( ?2 y, r  {7 k) l1 p
  480. ; Development Value: On
    5 b$ ^  @; h0 D! G& v
  481. ; Production Value: On
    $ Y" A9 X, E: R% }( {4 f) j
  482. ; http://php.net/log-errors
    7 z$ n2 C$ t1 {7 ^# c
  483. log_errors = On, Z) c7 j4 `7 q# A. `. _6 s- n& U
  484. 0 T* \; O+ n6 ^
  485. ; Set maximum length of log_errors. In error_log information about the source is
    6 b8 S& Y  B7 A; e" x; w0 b
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " w) i2 |" g$ q# @  s
  487. ; http://php.net/log-errors-max-len7 O/ H( e. k% O- f
  488. log_errors_max_len = 1024
    9 @0 s# m" R2 D$ b/ y) ^
  489. 7 R- }9 |5 y1 Q1 w  I
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same- K3 ^! a6 G$ ~( x" L& a
  491. ; line unless ignore_repeated_source is set true.
    * U' t! n8 c* J0 ]
  492. ; http://php.net/ignore-repeated-errors0 D# j( _) a# F: {$ ^" Q$ a" v6 V
  493. ignore_repeated_errors = Off
    ( U. V* k7 g6 N5 P

  494. # h: G0 R! L+ _* L5 N7 o2 m
  495. ; Ignore source of message when ignoring repeated messages. When this setting5 T, ?7 T( Q  j: R4 Z6 b0 ]
  496. ; is On you will not log errors with repeated messages from different files or/ k0 H% a8 X9 D
  497. ; source lines.5 z1 T. s$ H- ]+ r4 H
  498. ; http://php.net/ignore-repeated-source' m4 u  X3 K  T4 ?
  499. ignore_repeated_source = Off# o; s& H" d; e1 Q& a

  500. & c) [' A9 w5 L& |6 h3 V$ R8 r
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    7 }, ]" I- w4 X( @
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    / r; i( M. Z* n* F
  503. ; error reporting includes E_WARNING in the allowed list8 w' @2 \) H( X& k2 y: [7 ~- X
  504. ; http://php.net/report-memleaks" ]2 d, }& |- |; ^% u# T- q
  505. report_memleaks = On: a9 b: v/ g5 ^) S

  506. " a8 Q4 q' r5 w# S$ s
  507. ; This setting is on by default.0 _% ?4 b7 l9 T, `: ?; g2 w
  508. ;report_zend_debug = 0
    9 Q# u) l) Y1 C

  509. 7 I' M4 w+ Y/ |4 `, v: x4 L
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " k+ V! [! F& u0 S
  511. ; to On can assist in debugging and is appropriate for development servers. It should  o; @, `2 b$ v2 _9 j( f5 U5 C
  512. ; however be disabled on production servers.- |0 }5 g- A2 }
  513. ; Default Value: Off& [0 c. \; \2 w$ r6 T' D% z
  514. ; Development Value: On$ m9 W1 H9 T. L; n. E
  515. ; Production Value: Off
    2 }5 Q( B, I) ?. ?4 A0 w8 n3 V
  516. ; http://php.net/track-errors
    , Q4 b$ `1 E, J
  517. track_errors = Off. ^8 y  F# t$ ?/ l8 S2 H

  518. 7 C# _! Z4 [' {2 j+ `( |6 k0 A* o
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    / D) K5 O! |( S3 E
  520. ; http://php.net/xmlrpc-errors
    & s  g8 Q5 D* q8 |1 o! F! e
  521. ;xmlrpc_errors = 08 w  ~8 s3 U* f3 Q* Z

  522. " {. z9 n. q: F  k9 W- X
  523. ; An XML-RPC faultCode
      q9 f0 Z7 x5 h1 M% u# q
  524. ;xmlrpc_error_number = 0
    * D: s% U$ S+ t7 d: u
  525. 6 q8 q3 o* F. R
  526. ; When PHP displays or logs an error, it has the capability of formatting the, d- V$ p, h- F) t) g, l& Q5 i
  527. ; error message as HTML for easier reading. This directive controls whether
    / g8 [; O- m7 R3 u2 ~
  528. ; the error message is formatted as HTML or not.+ X2 z+ v' T: r& _  Z
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI% p" G8 n" x* ?0 H8 c
  530. ; Default Value: On
      D' ?0 M# ~7 r( i
  531. ; Development Value: On# ~& V" M0 |' t, p2 C/ ~
  532. ; Production value: On
    1 I) [( N: @& n1 ]" `4 @6 p
  533. ; http://php.net/html-errors
    9 J* P$ V# {2 x  y1 _$ e# G
  534. html_errors = On  M7 N" N% H* l- P% ]
  535. ) F5 }4 Y- U- Q" i  F' y6 x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' Q- P' P, G, M! O% Z6 [
  537. ; produces clickable error messages that direct to a page describing the error
    0 A' C/ [/ u, ^
  538. ; or function causing the error in detail.
    8 l, Z1 ~, K" Z5 @6 Q: |; `' N
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    / f4 U- z: ]% d% D5 \$ \
  540. ; and change docref_root to the base URL of your local copy including the
    7 H+ `# q# l( g* F( n0 k+ T
  541. ; leading '/'. You must also specify the file extension being used including* e: |! a6 }" O3 P4 Q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' ?* x( I5 G* S( P* h& l
  543. ; case no links to documentation are generated.4 t6 |4 k! ]& ]4 P2 X7 T# q
  544. ; Note: Never use this feature for production boxes.
    , Q' n/ \3 i  _# f% s) l) I7 Q
  545. ; http://php.net/docref-root, o* h4 q, x% E8 s' ]
  546. ; Examples
    ) E0 C1 \# }- B) q/ q- V5 l6 f, P
  547. ;docref_root = "/phpmanual/"
    8 h9 ]8 n  t2 r  K' [# D
  548. / B+ e- `& G- C7 L9 S+ w3 L: s" Q
  549. ; http://php.net/docref-ext
    6 @3 T4 }" X* n
  550. ;docref_ext = .html* a  \0 b4 I: m; n. n- \% D
  551. ) J" b3 B8 U- K$ m( Z
  552. ; String to output before an error message. PHP's default behavior is to leave
    9 G' [, L& U; `, p# V# A8 j
  553. ; this setting blank.
    " f  |( _4 N9 v& H) U8 S8 G
  554. ; http://php.net/error-prepend-string
    8 x0 ?" r4 p/ h/ w
  555. ; Example:8 U) {7 h! q0 I; s: O8 B' n
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ' ?; B( i" |% s! z! ~
  557. 1 t4 x7 F. M# R
  558. ; String to output after an error message. PHP's default behavior is to leave
    ' k4 l! l* I: p
  559. ; this setting blank.
    5 Z% K* i) V# P1 r% O* `% l1 D
  560. ; http://php.net/error-append-string
    ) w1 M- Q6 g: R
  561. ; Example:
    * x2 ^3 n* J" X6 R) b" q1 Y0 v
  562. ;error_append_string = "</span>"3 H  g, r8 \- }# ~3 \' @
  563. 1 Q# k' H4 d! {& z  p( z& h4 I1 b3 N
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    4 t% ~( r2 Z2 ~$ w. j/ k
  565. ; empty.' t5 L7 P8 d. o) U& [- {* m# l3 \
  566. ; http://php.net/error-log' N9 H5 ~% n/ E2 K( c
  567. ; Example:
      ]: k5 A# I/ v
  568. ;error_log = php_errors.log
    % d8 b& ?! C* J0 q* f7 e4 o
  569. ; Log errors to syslog (Event Log on Windows).
    ; i& F2 q5 t% d- p! e  c$ s
  570. ;error_log = syslog
    9 E4 V) \9 x4 C/ G

  571. * n- X* ^/ H0 y( F8 {6 t
  572. ;windows.show_crt_warning
    5 d( e* e8 u+ h, U+ n/ K2 h
  573. ; Default value: 0
    " g+ H4 B) r8 o' C$ a
  574. ; Development value: 0
    $ E# U( t2 h  @8 }& z/ c4 ~" t
  575. ; Production value: 0
    % N8 M- d0 j3 i' `. e

  576. 1 Q5 g) @+ L- g+ U: S; S* @
  577. ;;;;;;;;;;;;;;;;;
    - d/ ~: @. C. s8 _" p
  578. ; Data Handling ;; m6 q  w. Y; v6 @) ?1 q( ^
  579. ;;;;;;;;;;;;;;;;;
    2 ^& L: U% r. K8 e. D/ T

  580. : [# E- d8 `% F$ N# l5 P5 }
  581. ; The separator used in PHP generated URLs to separate arguments.
    * M2 O  j* P7 Y- l0 U. f
  582. ; PHP's default setting is "&".
    8 d7 ?4 \! l* D
  583. ; http://php.net/arg-separator.output
    1 z* I& w* d' k7 l. ]
  584. ; Example:% }4 A- A/ {: c" f9 m  A
  585. ;arg_separator.output = "&"
    " e. {& X  m0 p7 ?
  586. 7 t" b* Z: I4 {% A9 C/ F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.* ^. G; h  C* ^) {9 m
  588. ; PHP's default setting is "&".
    5 D( h  {( h$ X; U& j" L! k9 J
  589. ; NOTE: Every character in this directive is considered as separator!8 [0 p' Z  @$ c4 q- A+ ~% |: V
  590. ; http://php.net/arg-separator.input
    - h" [7 g4 Y# ]* j
  591. ; Example:
    % e) k  V, D- F9 U/ \0 O
  592. ;arg_separator.input = ";&": T! p( h) m. J6 l( W, a6 C

  593. # ~- X8 Q0 b' f
  594. ; This directive determines which super global arrays are registered when PHP: u) M+ v* z% L6 s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    5 U4 o* b. h1 |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! g, e$ E" x( c$ P/ K2 d
  597. ; paid for the registration of these arrays and because ENV is not as commonly! M( L+ q9 f9 \" t- S
  598. ; used as the others, ENV is not recommended on productions servers. You
    3 I; N% H& Y' ]$ |9 W9 o' }/ `. l5 a
  599. ; can still get access to the environment variables through getenv() should you
    7 M! O8 |6 x# E' m. H; W# h
  600. ; need to.
      _( d7 l+ i* @2 Y
  601. ; Default Value: "EGPCS"! N; ^( F$ n. q) `2 q+ a
  602. ; Development Value: "GPCS"
    3 y$ ]* z5 o5 {. R" j; Z6 z
  603. ; Production Value: "GPCS";
    6 c0 T5 z. S$ y8 Z+ s
  604. ; http://php.net/variables-order
    * a+ E& h2 V- w6 Y+ f& `# e  }
  605. variables_order = "GPCS") w6 g) F- j( h! P- x  Y

  606. % X4 E; l% s8 E! e/ s# U/ @
  607. ; This directive determines which super global data (G,P & C) should be4 }$ U0 @1 r6 c2 U# H
  608. ; registered into the super global array REQUEST. If so, it also determines( O% d7 |0 W( j, D7 f
  609. ; the order in which that data is registered. The values for this directive+ ]' q& F8 h/ o5 ^
  610. ; are specified in the same manner as the variables_order directive,3 H0 g1 |5 H# r, J+ R; N8 B
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    * s6 [9 L( j7 \( t
  612. ; in the variables_order directive. It does not mean it will leave the super
    ) F" v$ W7 h4 ~! k$ g# t
  613. ; globals array REQUEST empty.( d" m( S9 K( Z. s0 L0 H
  614. ; Default Value: None
    8 o$ R. i' n& T5 v
  615. ; Development Value: "GP"1 Z% ^6 }* m9 j9 l+ S
  616. ; Production Value: "GP"! T, x% Y- C# Q( F& u( L: P: n
  617. ; http://php.net/request-order1 }- @- X! h3 |' y
  618. request_order = "GP"
    + E! [7 U6 |; `. i" F- @

  619. + h. C! T' e2 N& [4 E. O
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    - _  O" ^- Q3 O% ^  z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 Z3 S8 \3 f" N+ r
  622. ; is invoked. $argc contains an integer representing the number of arguments  ~7 t! j( k( U
  623. ; that were passed when the script was invoked. These arrays are extremely" c2 T1 L+ x2 q2 _
  624. ; useful when running scripts from the command line. When this directive is+ r* r! W  f6 D0 P1 T6 P0 [: W
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ! N( J9 A; `: m7 N+ {
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! O! {* x  H& ]6 `& l) [
  627. ; on production servers.
    3 u, X6 M8 L) S
  628. ; Note: This directive is hardcoded to On for the CLI SAPI* P! C! S9 q+ `7 u4 M& ?9 M. D
  629. ; Default Value: On
    4 z; V% N: {3 C1 R' A
  630. ; Development Value: Off. T7 Z  |. {2 J- k
  631. ; Production Value: Off
    ; Y, @, g% M1 c( ^
  632. ; http://php.net/register-argc-argv
    ' E8 Z+ Z; k, o* ^' F
  633. register_argc_argv = Off' O( f/ h/ c' i  a- X0 m

  634. $ q) p8 C. A7 x" E, |- [
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( J* j5 ^6 _* o2 H* {
  636. ; first used (Just In Time) instead of when the script starts. If these; I- X+ `$ q* o9 N! w4 |
  637. ; variables are not used within a script, having this directive on will result7 m3 j# f' X) r# J: T& w
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled( L2 u4 @/ a5 d7 b
  639. ; for this directive to have any affect.
    4 |1 }/ x* q+ R3 a
  640. ; http://php.net/auto-globals-jit. ~! t8 @) E: P& r7 F! D& Q0 D
  641. auto_globals_jit = On* {, |5 o- w2 a; y/ }) u- {7 V6 J5 ?
  642. + A7 i9 d# V4 @: {, g- F
  643. ; Whether PHP will read the POST data.
    * K7 o/ |& R$ i0 ^5 S) Z0 `5 {
  644. ; This option is enabled by default.1 H* e5 c/ `0 J$ |# M8 S3 ]
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 O* {, Z# c; p! m
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 p; T9 c' x) O% ~; G
  647. ; POST data will be through the php://input stream wrapper. This can be useful' `; X1 p" y1 t4 c
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ' Q( W) H8 H# y( @1 {) _% k
  649. ; http://php.net/enable-post-data-reading
    0 l8 A$ X8 f% x+ W- j* g) c2 U
  650. ;enable_post_data_reading = Off1 _; u3 Y# P) c- `
  651. $ L: x! k( q; l
  652. ; Maximum size of POST data that PHP will accept.
      p1 T; a4 b1 E1 L4 U( L
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 z1 Y; e; S  s* Q' f
  654. ; is disabled through enable_post_data_reading.  p5 j% _, H& z2 b
  655. ; http://php.net/post-max-size- K4 U" v! ^, A: I
  656. post_max_size = 50M, s) z& L( D8 l! m  g" I1 n- f

  657. 1 m3 T, Z6 R# a" O* V
  658. ; Automatically add files before PHP document.
    / F* p# K7 @: F9 u8 z2 J
  659. ; http://php.net/auto-prepend-file. [. Q$ ]6 I$ H0 F& k0 e
  660. auto_prepend_file =
    3 w9 r+ M" J: c. D7 T- Z

  661. 7 I8 [, K" t2 d; M& q/ n9 N
  662. ; Automatically add files after PHP document.' l: y8 s8 R$ a; ]
  663. ; http://php.net/auto-append-file& m& w/ g  d1 X+ ~) O8 h& D* g
  664. auto_append_file =
    ; L# s9 S% w! Q- }5 y' ~; o: K. w

  665. * A% @2 K4 C/ x9 g0 R5 e/ @9 h& h4 F
  666. ; By default, PHP will output a media type using the Content-Type header. To6 y  k) A5 V% [# p5 u( g
  667. ; disable this, simply set it to be empty.
    8 `2 V7 Y7 x) {
  668. ;: f9 r+ e. N  X, P# {# Q9 D
  669. ; PHP's built-in default media type is set to text/html.; G" P) J9 P, t' H- Y; O4 [
  670. ; http://php.net/default-mimetype
    - Y9 d1 p- g5 D, G6 O' M: S& e
  671. default_mimetype = "text/html"
    3 j' m" G, w& Z$ f5 B
  672. 5 G6 p1 `# L% y3 t* d. M
  673. ; PHP's default character set is set to UTF-8.6 _- i- B! D0 {' B$ n0 t
  674. ; http://php.net/default-charset
    % D* W4 b9 F6 S2 t! T+ ]4 i
  675. default_charset = "UTF-8") L5 ?: M& b! ?# w& _
  676. 6 N* B9 }& K! |, S/ ^/ S' U
  677. ; PHP internal character encoding is set to empty.' q$ [6 T6 {: A' e# {
  678. ; If empty, default_charset is used.& y% [) U2 p7 `* m) b
  679. ; http://php.net/internal-encoding( H! s2 g* {) E9 a0 X% i; f7 m9 r+ O
  680. ;internal_encoding =
    ( d, i1 l& w  F4 w0 F. N
  681. / ]/ e, [0 r3 f) v- D
  682. ; PHP input character encoding is set to empty.
    4 d1 t) t1 G$ _5 a
  683. ; If empty, default_charset is used.6 ?8 o8 u( K3 @0 b" b  h3 G
  684. ; http://php.net/input-encoding
    0 v6 n# R+ m7 _7 j3 _" `& ^* }
  685. ;input_encoding =
    & M' G7 m) o) z

  686. 3 f5 S; \( U8 S  J# l, t
  687. ; PHP output character encoding is set to empty.
    5 p+ T% T3 ^! u+ t' Y
  688. ; If empty, default_charset is used., s9 A) ?& n7 O
  689. ; See also output_buffer.
    ( H) {, h9 g( t% u3 f
  690. ; http://php.net/output-encoding
    3 o9 ~) i+ S; c: v3 Z! H9 O
  691. ;output_encoding =
    / |; O2 y/ z2 H  ~* t& J$ P  N  H

  692. 2 V1 j" F+ {, {
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;4 n9 z: X4 S9 d: R6 h0 ~. ]& _+ ^
  694. ; Paths and Directories ;* t4 Z! L( z+ S" x
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - N/ S) f/ ^4 C6 q' u

  696. 9 z0 v3 l8 w! P8 `' J# v
  697. ; UNIX: "/path1:/path2"8 Z. {* O! F) H0 b( M# Z: X% j
  698. ;include_path = ".:/php/includes"0 a! S) W6 j* ^4 u7 q# I
  699. ;+ i+ c, m# n0 k% h* l. b. n/ N* |
  700. ; Windows: "\path1;\path2"
    ! E: a- c! ]0 G* F
  701. ;include_path = ".;c:\php\includes"3 |, }: E! p5 ~% T1 h, c" _7 u
  702. ;
    " ]5 r5 x  i6 }& o- P
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( {  z! e: ~1 |) X: V; R
  704. ; http://php.net/include-path
    % I% c+ v9 S7 J! f8 g1 a

  705. : z/ w" J; y* W& S9 P+ r
  706. ; The root of the PHP pages, used only if nonempty.
    7 x  c7 O! ]! E# Z9 B" Z0 h
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# q4 k2 c! j! X# L3 `5 k
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' ]9 [8 C1 ^7 t8 z' t+ J( n
  709. ; see documentation for security issues.  The alternate is to use the
    ! X0 l  d, Y- W' X( s9 J
  710. ; cgi.force_redirect configuration below
    6 s% W" j2 ~8 e0 ^6 l4 Q, q0 f, y
  711. ; http://php.net/doc-root: `6 M" X( c) S8 M6 `
  712. doc_root =/ S* h. X! Q) N! f  n9 n

  713. " }  g7 p, m" i5 b$ \+ p; n/ e5 T
  714. ; The directory under which PHP opens the script using /~username used only
    8 A$ ]! f; f& B1 i/ R
  715. ; if nonempty.
    3 x7 U1 [5 A& H: L
  716. ; http://php.net/user-dir
    6 m6 @+ p! L' e3 g4 i, J# A$ t
  717. user_dir =' e6 V% Q7 x0 B+ q$ z

  718. - G; }6 \. k; s0 O
  719. ; Directory in which the loadable extensions (modules) reside.
    , B( T1 d9 F- B6 L* O( g5 d
  720. ; http://php.net/extension-dir
    3 p/ p6 l* j7 y) n6 }( O
  721. ; extension_dir = "./"' E2 ?) [! _5 A' ~. c; E; T; |: X
  722. ; On windows:
    ) }0 X9 L5 W, z
  723. ; extension_dir = "ext"
    / Q$ \8 {( d- j& E) g9 z; a0 v: e

  724. 7 f) p2 j! V( C9 r1 D8 |
  725. ; Directory where the temporary files should be placed.
      X/ v" V' }8 F  ], `, u7 m/ i
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 e5 t. `) D4 X( i1 |. Z8 w+ g5 W
  727. ; sys_temp_dir = "/tmp"
    : I! }3 ~- h' O" Z

  728. # e: ^) W( I8 s, W/ H% Q9 e
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work* b4 l4 F0 a; Y; ]4 v
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - q: o% \  U% [0 W
  731. ; disabled on them.6 W, R- o0 O: j
  732. ; http://php.net/enable-dl
    # V- l% h% `/ j" N2 W8 O. k
  733. enable_dl = Off
    6 E; ?  e7 E8 _( ]
  734.   b& j5 V1 f; B' u
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under3 J) A7 D$ H- o& R
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can: ?3 C$ e$ j, K9 g* r
  737. ; turn it off here AT YOUR OWN RISK
    2 K9 |5 K9 m8 q, b' N  ]. t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    0 U# K9 H+ _* |3 S  M! Y; n+ J4 t
  739. ; http://php.net/cgi.force-redirect
    ) W( D" u4 p+ k" c6 M6 y' O7 C
  740. ;cgi.force_redirect = 1
    3 A* \4 a" j( _4 @8 F9 f
  741. + c& `; o+ a7 p  F; P( Q1 n
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ b# Y+ I4 h3 g: ^
  743. ; every request. PHP's default behavior is to disable this feature.
    6 ?3 F0 M9 t! {5 k4 k4 I6 L
  744. ;cgi.nph = 1
    & ]" l! P" h3 J0 u0 r; z- Z5 q
  745. $ {  G6 r" [1 d! w5 H0 y4 m+ h
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape, T9 c' C  H6 \; i+ q) J
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 j7 C1 n! Q; l
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY( W5 {: _0 p$ @0 L% m7 q9 \  v8 s
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    1 S5 |$ h1 i( Y) I" K& M
  750. ; http://php.net/cgi.redirect-status-env- y& F, a# d& E3 C/ v7 O$ I: e
  751. ;cgi.redirect_status_env =
    & A& S, `: q; s/ g3 o

  752. & N$ A: p* o0 D) @! H5 Y4 [3 r6 [
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: g  b, g- C- E2 E0 U, }0 A5 B
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: v+ ~: o9 Q' ?) G- S# d1 ?( C) j' D
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) a' G* o9 `% |6 Y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 b0 f$ J8 s8 v1 d' Z
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) `! l. S& g% W7 Q9 _0 C; n  c
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 Y' F( K  m& }3 }3 g
  759. ; http://php.net/cgi.fix-pathinfo
    9 A* Q$ f: B) }- O; m5 C, e
  760. cgi.fix_pathinfo=1! [" t% N% [( z3 @

  761. 6 E; s9 K7 r8 j* X% B$ _
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside4 R7 ]! A$ t/ P3 N( @- }. {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    1 c0 X' D' u& W0 a4 `* H3 u$ Y7 q" b
  764. ; http://php.net/cgi.dicard-path
    4 S" a+ C  s  W* x
  765. ;cgi.discard_path=1" v( i4 D9 S3 {

  766. ) w+ Z7 z( X+ Y/ M4 o% {. A* k  M2 h3 j5 @
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / G& e9 E, F( J% ?( I, a+ P: e
  768. ; security tokens of the calling client.  This allows IIS to define the+ d8 F+ }& Y/ k5 J; }7 N
  769. ; security context that the request runs under.  mod_fastcgi under Apache5 m! s; R6 C6 Z5 V) q: g
  770. ; does not currently support this feature (03/17/2002)
    * M5 C/ @+ ^& A6 N6 y2 R8 ]1 C  S3 t3 e
  771. ; Set to 1 if running under IIS.  Default is zero.8 s+ E+ Q# `) k' ]1 S* z0 O+ m
  772. ; http://php.net/fastcgi.impersonate8 Y, O" h0 q$ y) J
  773. ;fastcgi.impersonate = 14 T0 ?$ u) ^% h8 x; ]* y4 f$ k
  774. % g) E; x; h  l* m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) X$ L# v5 @# g! S, Y* Q" Z
  776. ; this feature.
    & K0 v! J' \! I0 l8 {
  777. ;fastcgi.logging = 0
    9 A+ Y: S! E) ^

  778. 8 X. V5 e" k  {2 {8 j
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ o: Y+ v$ U+ g4 u' A" w8 v
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; V% Q. X" b) h  n+ c2 O
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    . G  H; T( x2 C4 W
  782. ; RFC2616 compliant header.. V: c; p6 L* [" i' U) D7 L/ n% R
  783. ; Default is zero.
    " w- u( I0 v9 C5 ~
  784. ; http://php.net/cgi.rfc2616-headers
    " I& h6 A3 i0 g5 R+ D2 A7 \* e& E
  785. ;cgi.rfc2616_headers = 0
    + v" t6 v) t( `% S/ {4 z* m

  786. ( }8 H1 R6 z& ^
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # }6 n1 C7 L$ S+ P
  788. ; (shebang) at the top of the running script. This line might be needed if the* K, u# ^9 M; T( s5 [8 t
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI' D3 d4 [1 ^: ^3 T1 o, T
  790. ; mode skips this line and ignores its content if this directive is turned on.
    # Y2 V7 |! @! y! l' e
  791. ; http://php.net/cgi.check-shebang-line
    7 ~7 C: B' C6 K/ _6 K6 }5 M! k
  792. ;cgi.check_shebang_line=1, B( A/ C5 M: A

  793. 9 x0 S  @; o$ M( T
  794. ;;;;;;;;;;;;;;;;
    / Y4 }! b3 y; J# n5 Q8 N! A- ~9 `
  795. ; File Uploads ;4 x' }: d6 d' ]4 T0 ?! W0 }3 m
  796. ;;;;;;;;;;;;;;;;' t& g6 l# Y1 ]% a; x. ]; b
  797. 6 ?0 S0 p6 V  n% d, o1 S
  798. ; Whether to allow HTTP file uploads.
    . W/ F/ ~/ |' Q- B& @3 Z. @
  799. ; http://php.net/file-uploads
    7 y* l  [! H( ]. H% M) M4 z
  800. file_uploads = On
    . M9 k' M5 N0 o' ~5 p
  801. 5 r( X! F! |# d- s4 D* m
  802. ; Temporary directory for HTTP uploaded files (will use system default if not* k7 J$ z; V# g" ]0 d# s
  803. ; specified).$ i: d0 y- O3 p4 o/ ^8 V6 O
  804. ; http://php.net/upload-tmp-dir
    ( A( F' V1 b' Q" }' K" Z1 k. n+ h/ l
  805. ;upload_tmp_dir =1 P% Q$ z! Y& d1 M

  806. " s0 I7 \3 u3 y3 S% t. M
  807. ; Maximum allowed size for uploaded files.
    - `$ N3 K, i! E. x4 i* z9 b
  808. ; http://php.net/upload-max-filesize+ ?4 }1 W' [. W4 g0 `
  809. upload_max_filesize = 50M6 ?) }; W# w2 }3 e

  810. . `9 G4 G' H  F; ^: M( J' ~
  811. ; Maximum number of files that can be uploaded via a single request' U2 j; D. O2 J) Y1 r! A" S6 h; {
  812. max_file_uploads = 20" p' Q. S! j# Y3 s8 v2 z+ [2 i

  813. # |$ z* |2 N# k$ u) @* d4 ^0 o
  814. ;;;;;;;;;;;;;;;;;;
    5 X4 y  `+ }6 b+ K5 z
  815. ; Fopen wrappers ;5 Y7 S0 ]; K  C: x+ i
  816. ;;;;;;;;;;;;;;;;;;( u% z+ ?, O3 q* X3 H1 l' @6 t
  817. % m1 @8 J- K) j( i/ j
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.8 I! P5 w  e: `5 c; {
  819. ; http://php.net/allow-url-fopen7 [! d3 s/ F1 ]( @0 y7 I. L! ]
  820. allow_url_fopen = On
    $ ?. E5 c4 X# b( f; F' S

  821. + l5 g' W% ^3 w6 n- U3 V( k
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.4 s  h# S# u+ Z# h0 ~' r/ F
  823. ; http://php.net/allow-url-include
    8 K% F+ y  e; g; w
  824. allow_url_include = Off
    + ]# y$ z2 ?. e7 w
  825. ; n) z$ R+ c3 Z2 e. D0 Z1 J
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( D! Y9 g  s$ p6 i* L
  827. ; for this is empty.. s0 \. S% Q+ T. W3 [
  828. ; http://php.net/from
    6 K$ w1 A/ t1 n" l( C' {: _4 c
  829. ;from="john@doe.com"8 ]7 ?4 X6 F5 H1 [; c2 A6 m

  830. * W( R; z& P! ]8 r- r: l
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 ]) w0 ]- P: H  J
  832. ; http://php.net/user-agent9 K: h( I6 Q1 f$ {4 z# m
  833. ;user_agent="PHP". D% _* W; u0 \
  834. # L( y! ^) W# x- b# D6 M& \
  835. ; Default timeout for socket based streams (seconds)
    6 `4 j( D1 P2 y! k  P
  836. ; http://php.net/default-socket-timeout# I0 V: R" U4 E% d* `) W, Z
  837. default_socket_timeout = 608 K: V- Z" {! \. t0 a, Y5 {1 s" k
  838. 9 B. Y, w' s- W) ~
  839. ; If your scripts have to deal with files from Macintosh systems,
    . ^/ u3 L) X4 n8 G
  840. ; or you are running on a Mac and need to deal with files from2 Y" W$ n8 X# ^) ~' a) ~$ _3 a/ B
  841. ; unix or win32 systems, setting this flag will cause PHP to: `  t, o) ?, J/ W' q( K8 S) D
  842. ; automatically detect the EOL character in those files so that
    * h2 _- D4 \: b. B9 N
  843. ; fgets() and file() will work regardless of the source of the file.! ?7 M9 C+ A4 J2 _1 X1 \
  844. ; http://php.net/auto-detect-line-endings
    * J# x8 u% p4 f/ M1 e. b
  845. ;auto_detect_line_endings = Off
    + t3 y3 p0 N' i- L- g

  846. / Q! \% s6 [$ t$ h5 r+ F
  847. ;;;;;;;;;;;;;;;;;;;;;;+ _; q( ^  u% p
  848. ; Dynamic Extensions ;
    # v" b! E/ C9 h
  849. ;;;;;;;;;;;;;;;;;;;;;;+ f8 D* O. w: T0 w1 A0 ?4 k' ^, `
  850. % Z* Z* I, U; Q1 n/ h
  851. ; If you wish to have an extension loaded automatically, use the following# M8 o( g: q9 R
  852. ; syntax:
    2 o1 e9 ?, h: g5 {! ^
  853. ;9 F1 A% @& T* k& p. n0 ^; P# S
  854. ;   extension=modulename.extension! _  y- X. Z; K
  855. ;  R' b1 v9 [6 d# i
  856. ; For example, on Windows:; K7 {% f9 t, _' W0 D- L  ^
  857. ;, i  N6 m6 E% \8 A; v( o) R2 Z
  858. ;   extension=msql.dll
    1 C2 e  P$ O# t- x
  859. ;
    # H- ^- \3 x, Y+ i  _; i3 E
  860. ; ... or under UNIX:
    4 y) w$ u, B9 M/ |  b+ `
  861. ;3 I4 |. q" p, j8 U, O1 W6 \
  862. ;   extension=msql.so% G  T8 L1 X* e# K7 n( u
  863. ;
    , A- G9 i5 x1 O* Z! ?
  864. ; ... or with a path:0 j% I9 p& ]$ f; {0 b0 v
  865. ;
    ( M0 T0 v; y+ U8 k- \
  866. ;   extension=/path/to/extension/msql.so
    % v" \1 Q5 p% o* y6 ?9 Y! [3 B
  867. ;
    7 r" L; p: d# p. h8 b: e6 y
  868. ; If you only provide the name of the extension, PHP will look for it in its; W' i% Z- o& A( @* s/ B/ K
  869. ; default extension directory.
    % a: G3 x3 ~" `* l: L0 k- d
  870. ;
    + z6 ?7 D7 ^, v5 u
  871. ; Windows Extensions
    % ?/ U! D( ^" }
  872. ; Note that ODBC support is built in, so no dll is needed for it.0 _7 d/ L* P/ n8 ]: E6 o0 R" l
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 ]1 Z: @# _, k, Z( E6 @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).% v, i* L& i. w. A. S: z7 T
  875. ; Be sure to appropriately set the extension_dir directive.+ R- H8 p9 e, F
  876. ;
    - N: B% ?, i5 V6 j! V  b( F
  877. ;extension=php_bz2.dll9 X+ [- ^+ I* e& L) E
  878. ;extension=php_curl.dll; I* K% q: I* W  F7 ]- ^; `: t
  879. ;extension=php_fileinfo.dll* w6 A( K* `9 A; M
  880. ;extension=php_ftp.dll; K" B% B% o' D0 q! l) @
  881. ;extension=php_gd2.dll. F% o6 H0 T/ M# t9 N
  882. ;extension=php_gettext.dll
    2 ~: k: H: ?( a  f+ t
  883. ;extension=php_gmp.dll4 `/ ]8 g- F3 f/ ^: ]) q2 P1 e
  884. ;extension=php_intl.dll
    . o( J0 f8 i6 G
  885. ;extension=php_imap.dll
    , S/ I- D: L. o
  886. ;extension=php_interbase.dll/ e7 [, K9 L( O: k& b- P( H% {+ ]# o1 l
  887. ;extension=php_ldap.dll
    & N4 R: T: ^- u* L! Z( v7 d
  888. ;extension=php_mbstring.dll
    3 u+ x- s+ ~9 i. M
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it& O' s* R- ]7 T' {6 L
  890. ;extension=php_mysqli.dll' {5 U0 e8 N; S; s, N4 x$ ?7 j
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 a& a+ B, {9 |0 r" c* g
  892. ;extension=php_openssl.dll/ n# X, n- M. T# D- D
  893. ;extension=php_pdo_firebird.dll
    9 g! ^" D# q1 X. B  j8 k
  894. ;extension=php_pdo_mysql.dll% Q+ o8 H9 o$ K! X  Y
  895. ;extension=php_pdo_oci.dll
    3 b: p$ t0 g, d( a8 F3 f" c
  896. ;extension=php_pdo_odbc.dll
    / y8 O, e- f3 ~: H7 n6 L
  897. ;extension=php_pdo_pgsql.dll$ B: R& t* k, e8 j$ E5 _
  898. ;extension=php_pdo_sqlite.dll
    $ @3 A. ]/ K, W3 Y
  899. ;extension=php_pgsql.dll
    ) K: G0 j5 L% k' J4 O
  900. ;extension=php_shmop.dll
    8 K; S6 x) F0 U0 B" L2 w; U5 U

  901. 8 A# \/ s* x5 V. ^! Z% t+ I& G
  902. ; The MIBS data available in the PHP distribution must be installed.: o( x' W# L, E6 _
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    % G, Z5 [) Y/ g
  904. ;extension=php_snmp.dll
    9 ?3 y  ~1 j& T& B; P

  905. 1 p4 J) a, T3 Q% c
  906. ;extension=php_soap.dll) M" V& V1 `3 L$ J: B# W, I, a
  907. ;extension=php_sockets.dll
    , T9 a4 t* a  f0 V+ e  ?
  908. ;extension=php_sqlite3.dll3 d% y' S. W, C4 j, a& Z7 K
  909. ;extension=php_tidy.dll7 S0 G& D  u* u- n( j
  910. ;extension=php_xmlrpc.dll
    ) n" R0 o$ Q/ g
  911. ;extension=php_xsl.dll
    & @- s' W9 X" R0 I  d

  912. 7 k! h6 x1 A& E' `$ m
  913. ;;;;;;;;;;;;;;;;;;;
    ( _; t, i1 }2 g) }4 {
  914. ; Module Settings ;
    - [/ m) Q8 [5 F; t+ v  w) l
  915. ;;;;;;;;;;;;;;;;;;;5 N( b9 ?. Z( F- A, H+ `% r/ u
  916. 8 y0 b6 J& h& c% C% T+ _; s
  917. [CLI Server]. @* R( ]0 W9 A' g+ H
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.8 ^4 N( j$ S0 R/ o+ C) z/ b* }
  919. cli_server.color = On9 p# b+ S: y9 X6 g7 S* E

  920. % I7 g- K4 ^) `8 L/ C
  921. [Date]
    * n( A* e0 h' C* G# k8 e
  922. ; Defines the default timezone used by the date functions
    , }! r: z1 i) \5 s
  923. ; http://php.net/date.timezone
    5 u2 A( _2 u5 X0 i/ K# r$ n+ s) o1 K
  924. date.timezone = PRC
    2 q- }: ?& Q; z
  925. 1 k, |/ U5 [+ H+ f% w
  926. ; http://php.net/date.default-latitude
    1 S" i- r; h: N5 Y
  927. ;date.default_latitude = 31.76675 z7 O, s0 A+ G- S' |3 V

  928. , N8 t* d1 @3 [. H7 i9 w+ D
  929. ; http://php.net/date.default-longitude3 `! S; ]/ N* {6 O3 Q; m% Z$ d1 g
  930. ;date.default_longitude = 35.2333
    + Q$ @1 P1 u/ x$ y- m- x- {

  931. . w/ P) j6 U3 k7 h- O
  932. ; http://php.net/date.sunrise-zenith" @1 F# x/ _, K3 ^3 }
  933. ;date.sunrise_zenith = 90.5833331 [5 a! e+ ~* X  _  J6 j3 Y; H2 c9 C

  934. 0 @0 H/ G3 m# h+ @& ]! c: p! @( M
  935. ; http://php.net/date.sunset-zenith0 c  A. u% Q' {: r6 j( u6 u* f
  936. ;date.sunset_zenith = 90.5833335 \! |: K2 n* k9 g
  937. & {& \  y+ {$ r. R. X9 m5 W
  938. [filter]
    ; r* b" V4 k. @& p# Q2 ?+ O
  939. ; http://php.net/filter.default  g% S- j- @4 T1 M7 j5 n
  940. ;filter.default = unsafe_raw: w) b, a% C! U+ R& M

  941. 2 Q6 u7 I$ L5 J+ U1 k
  942. ; http://php.net/filter.default-flags
    5 M- s8 \* D. @: @
  943. ;filter.default_flags =
    # f# k' u6 U$ v' w
  944. * C9 L- Z% ?* B6 L4 {, V
  945. [iconv]
    - c; E9 X6 C8 b- H& e  R
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.: X" N3 n3 r, F0 G5 K8 D
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 h! o5 f7 v7 f6 D0 V3 u
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding  o  @: S7 P' D4 i9 p9 a4 ~
  949. ;iconv.input_encoding =
    8 ?  T! \  o8 t4 ^3 m
  950. $ a; o% |0 G! g
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., y; ?1 Z; b. g9 ?( R6 E$ a$ {5 m
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 Q' M% J5 c" n0 x4 `3 o
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ G- F" S# ^4 \) S7 X
  954. ;iconv.internal_encoding =2 ^3 \. O1 ^. V5 n8 J- X
  955. ! v7 ]/ v3 P! ^6 o
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . `( \. y8 u' q0 |/ g  w; i
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) c/ w9 U- k0 B
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding* M3 Q6 `+ g" g
  959. ; To use an output encoding conversion, iconv's output handler must be set. C; S/ i9 ]# N$ n/ H  Y6 x
  960. ; otherwise output encoding conversion cannot be performed.1 I7 z# P' j& ~4 b- h9 `. j4 ]
  961. ;iconv.output_encoding =0 z2 Y( L( n9 k2 |- p, }# @% L+ x- y& D1 ]
  962. 1 G- x: m0 g/ @) |$ B
  963. [intl]- \1 B: u; [# n  B* k) u) X
  964. ;intl.default_locale =. v& q& m- P# w0 y8 `
  965. ; This directive allows you to produce PHP errors when some error$ x8 E3 C  _; K8 x% }8 j0 c  I3 g
  966. ; happens within intl functions. The value is the level of the error produced.
    " F" D  P  |7 N& _
  967. ; Default is 0, which does not produce any errors.
    * X' G# ]- Z, y- h8 y# H
  968. ;intl.error_level = E_WARNING
    6 G$ U. N5 _5 @8 L' s3 i
  969. ;intl.use_exceptions = 0
    6 w2 r; _8 h, E. w+ g! `
  970. - I# c, a- U( k
  971. [sqlite3], A$ \, C- c. V+ f7 V/ ]; h
  972. ;sqlite3.extension_dir =7 v+ h! _3 H0 g' R) {# ]5 J3 |

  973. / c3 q% N( O0 l  b1 }
  974. [Pcre]
    3 }8 R( \0 w' \* G  R( s- q
  975. ;PCRE library backtracking limit.
    9 |5 W+ y2 T) M, ~1 k; c' L! Z! g# Z
  976. ; http://php.net/pcre.backtrack-limit3 V5 D' a: K- o1 E" u! `
  977. ;pcre.backtrack_limit=100000
    ! x' `% m+ e" q" j/ V
  978. ) V! g, c/ D& a. [7 k5 Q
  979. ;PCRE library recursion limit.8 G- S1 A/ P! p2 |/ S5 E9 O
  980. ;Please note that if you set this value to a high number you may consume all
    : ~1 l' H& \' F$ F: T% u# M$ j
  981. ;the available process stack and eventually crash PHP (due to reaching the
    3 C1 r9 u" @& p' k# P2 I
  982. ;stack size limit imposed by the Operating System).4 J" _; @: W" C4 ]: T; T
  983. ; http://php.net/pcre.recursion-limit, s4 z( h$ v) }$ Y
  984. ;pcre.recursion_limit=1000008 q$ }4 E. E- w; j" W4 U
  985. + [- w4 S3 ?8 v4 n5 K& E; h; v7 m
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE7 y/ y  H; F# ~# u8 i. @
  987. ;library to be compiled with JIT support.
    ! E% s( t* m( Q% L
  988. ;pcre.jit=16 V- I" L1 @  ^; }0 s
  989. # _/ D1 y% B- R% b$ |
  990. [Pdo]
    , q+ }3 P9 F1 c7 F% |4 I' I) k
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    , \9 y$ P1 d2 p  O+ c1 q  F0 n
  992. ; http://php.net/pdo-odbc.connection-pooling( \- k5 ^* ?. Y- q6 \. G8 W
  993. ;pdo_odbc.connection_pooling=strict( v+ [* L0 n, {6 h
  994. 8 Y) ]. n, U5 i2 D" G( C
  995. ;pdo_odbc.db2_instance_name
      U0 ^; G; ~$ W* ?/ x

  996. 7 L- K7 {) I/ H) g3 B! U9 y
  997. [Pdo_mysql]! c! S: L% I& b9 v% I
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 W2 P5 m. g9 @  J* M
  999. ; http://php.net/pdo_mysql.cache_size
    5 T2 ^# C8 D: V8 J7 s' O% X+ J
  1000. pdo_mysql.cache_size = 2000' U5 H+ \+ h+ f- U4 ?) Q. T
  1001. + G" T- w! v& R% b' W
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in) l/ n7 |# o1 ]) p0 `% G- O) c$ ]1 a
  1003. ; MySQL defaults.3 z, C/ C, r* K# G' u7 |
  1004. ; http://php.net/pdo_mysql.default-socket
    ( K  y, w0 r0 Y( c: z& \
  1005. pdo_mysql.default_socket=
    ; n6 U( x$ a# N  r- o: O# _" p  x+ E

  1006. : W' g- J  Q" h# ?4 `* ^
  1007. [Phar]- t) b( D8 [3 J( A' U
  1008. ; http://php.net/phar.readonly
    8 U3 V: I) v( T6 O' u
  1009. ;phar.readonly = On
    . M( P# z# Q- A7 U! c0 C" K) b# I

  1010. 9 L# X1 `2 l( X6 K
  1011. ; http://php.net/phar.require-hash
    ) d9 D$ ~  g2 U/ I6 |
  1012. ;phar.require_hash = On: S. ^; Z* j$ m3 Y
  1013. " Q* H* _8 W7 K) L3 L4 J
  1014. ;phar.cache_list =
    7 x* E, @1 ]5 ~( ~- b+ v
  1015. $ g5 `0 l* m+ R/ D' u
  1016. [mail function]: t* R& D2 s7 j" q8 g
  1017. ; For Win32 only.: e" N. A8 }+ o4 H
  1018. ; http://php.net/smtp
    # J+ n$ [* j: j& E/ K2 f: ~
  1019. SMTP = localhost
    2 [8 c( U" V0 J7 }# }
  1020. ; http://php.net/smtp-port: s! c( }7 _/ V- X& d  c8 ]1 Z
  1021. smtp_port = 25+ m' n# Z# G- h2 u) I% Q* I0 B

  1022. 0 c0 p5 C( Z, V) ^6 x" }
  1023. ; For Win32 only.* b* ~( p5 T: P7 ]7 V. O6 J0 L7 Q
  1024. ; http://php.net/sendmail-from8 [3 a. c5 A% q& g
  1025. ;sendmail_from = me@example.com
    - i2 t" B, v* d+ Q
  1026. ! H& s6 t" k! ~9 p
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / Y& [5 D- `; g! B5 c- U- z
  1028. ; http://php.net/sendmail-path6 R+ I$ n' G6 s5 r1 t
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ' o  f7 l! F% f% g

  1030. ! z4 `! C. {% V! k3 ]
  1031. ; Force the addition of the specified parameters to be passed as extra parameters# k/ @; [. l) m0 F
  1032. ; to the sendmail binary. These parameters will always replace the value of
    . s) t, @1 Y% b
  1033. ; the 5th parameter to mail().
    ) D& z; L2 ?* S( G9 g4 U
  1034. ;mail.force_extra_parameters =4 W9 H2 Y) B; X: r$ Z) n" j

  1035. # h, I0 V5 j5 \6 e2 `$ X& z7 O
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' }8 D5 B" V& g, g5 {3 O& o2 y  G
  1037. mail.add_x_header = On
    * l3 j* M5 F  m" K  w+ [8 ^( Y
  1038. . s1 |( a# c7 `2 M- i# F1 m
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    5 v$ j3 l- k, K. Q% k7 F% N
  1040. ; the full path of the script, line number, To address and headers.
    # V0 W. z1 @* H* r
  1041. ;mail.log =/ r# M1 L/ t, R/ x
  1042. ; Log mail to syslog (Event Log on Windows).
    3 T9 Q% c1 J; V8 h6 S) L3 Q3 L0 a8 m
  1043. ;mail.log = syslog. @  M* F" P) z6 w9 `
  1044. 3 ]% v/ D- r7 U2 I6 `
  1045. [SQL]
    4 k3 p! J9 [' `1 b/ b/ F& X
  1046. ; http://php.net/sql.safe-mode3 w' m3 L5 a; t, I
  1047. sql.safe_mode = Off8 \4 G: \! h' U! c

  1048. ' X9 x' J( N/ @3 d
  1049. [ODBC]
    / j4 y6 G' M4 v' L) p
  1050. ; http://php.net/odbc.default-db. j" c8 O! \9 d
  1051. ;odbc.default_db    =  Not yet implemented- k* o# x% v/ ]6 M
  1052. ' u$ R  P. _, m1 G9 L# }
  1053. ; http://php.net/odbc.default-user
    * q2 g% w' @2 x, ~1 L( w
  1054. ;odbc.default_user  =  Not yet implemented
    5 ^) Z- F! [# O8 p$ _2 C& x

  1055. ' H. H" C  A5 M, n
  1056. ; http://php.net/odbc.default-pw
      B* T) O2 v9 T9 I, t
  1057. ;odbc.default_pw    =  Not yet implemented
    # q( N* q) \/ U5 W4 W' }5 u

  1058. 5 j& b0 o, K: v
  1059. ; Controls the ODBC cursor model.
    3 q8 l& a1 k" r0 j/ x
  1060. ; Default: SQL_CURSOR_STATIC (default).4 e4 C  x+ i! ]; E* k' n# @7 N
  1061. ;odbc.default_cursortype
      K  c" p( P, o+ }: ]' V( v: Z

  1062. # V+ m( n+ g1 ?/ N/ G
  1063. ; Allow or prevent persistent links.
    # X8 z9 G1 D- p* N
  1064. ; http://php.net/odbc.allow-persistent: ?8 o1 l4 Q6 Q- K) \
  1065. odbc.allow_persistent = On
    5 [3 ?% \1 C. O) G9 v

  1066. $ f1 l) f! J3 i# V2 \0 a
  1067. ; Check that a connection is still valid before reuse.8 Q$ z0 m, `/ G( t0 s
  1068. ; http://php.net/odbc.check-persistent% a' |: m& }8 m! f9 c4 X. A
  1069. odbc.check_persistent = On. I7 \' N/ @: H

  1070. ' r$ N: l) h, G8 |. Y, ~  M* \
  1071. ; Maximum number of persistent links.  -1 means no limit.
    2 U' F' |3 N: m( }& Q- `
  1072. ; http://php.net/odbc.max-persistent1 j4 l3 ^4 q0 E# l3 k9 [
  1073. odbc.max_persistent = -1
    4 b9 p# h  e8 W
  1074. ! I& F8 Q% {& H8 O+ g2 W2 B& y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! q* H/ Z9 w( w! U4 W
  1076. ; http://php.net/odbc.max-links! N! W6 q8 _0 E4 o
  1077. odbc.max_links = -1
    ! l+ K$ K' O2 B

  1078. 2 ^9 M* B' w- q: m# f* x2 V
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    # ?8 a8 D% _+ K& W4 w
  1080. ; passthru.5 |/ f. v5 D3 o% c3 j' b
  1081. ; http://php.net/odbc.defaultlrl
    ' Y+ g4 F7 U5 _% J" L7 Q
  1082. odbc.defaultlrl = 4096
    7 O3 S' y* l; m. i7 ^0 Q% \

  1083. % \7 d3 H! A) ^( w, ~% J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 @5 Q1 h0 {* a( y0 M2 y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + j+ \% u$ E2 K' A9 E1 H& v3 B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode' L/ L5 x" S$ w$ V9 O
  1087. ; http://php.net/odbc.defaultbinmode
    0 O7 g7 q- a+ E3 n5 S9 G
  1088. odbc.defaultbinmode = 1: M) Z: D9 Z  `- K( q# y
  1089. 7 a( o7 \$ s7 S
  1090. ;birdstep.max_links = -1: F& ~0 `. I# T/ D* n& S1 h3 W# ~
  1091. & z  Z. m- i  ^) _# F. G% Q& o- u
  1092. [Interbase]& o* ?( ?1 C% B9 r; z9 R
  1093. ; Allow or prevent persistent links.
    0 _9 Q; r( [& c' T  D1 Y
  1094. ibase.allow_persistent = 1, M+ R/ |) u6 {% Q7 @

  1095. 2 o$ N- k5 Z9 e2 ]
  1096. ; Maximum number of persistent links.  -1 means no limit.% q+ C0 p* p% V% B
  1097. ibase.max_persistent = -1
    # J1 [6 ?4 J0 [' B/ c
  1098. 6 t# r+ Q6 O3 @6 F' Q
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# @2 w) b8 t" ?0 N
  1100. ibase.max_links = -1$ R1 I3 r/ L6 V( u& l
  1101. 4 I; h; z* w$ _" a) f
  1102. ; Default database name for ibase_connect().2 K0 d- I$ @6 m
  1103. ;ibase.default_db =" \0 T- f  e- q) `4 t+ r
  1104. ) F7 U* W6 y$ N7 z
  1105. ; Default username for ibase_connect().
    0 H5 X3 i8 e! O5 ?
  1106. ;ibase.default_user =
    7 p# j! p' U8 }4 K% Z3 f% L. K% h! ^

  1107. % R! t' x* x1 z3 M9 Z* _
  1108. ; Default password for ibase_connect().
    1 r2 A( ~; p* j
  1109. ;ibase.default_password =( K* j# c# Z' O7 S

  1110. 9 E1 H3 a) C  u5 l# B2 }/ O
  1111. ; Default charset for ibase_connect().
    " ]! V- M: ~2 b, }1 ^% R
  1112. ;ibase.default_charset =3 M; Y/ X+ m) T- J
  1113. , U+ k* _, a' g1 _6 E
  1114. ; Default timestamp format.
    ; C2 D7 N* l! N( U3 u1 T( p/ J
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ {+ n. `! V/ D) z' d! p" @  {

  1116. ) U) u/ I. n7 Y$ l* m7 H
  1117. ; Default date format.
    # ]) R/ G1 c. N' x4 B1 |
  1118. ibase.dateformat = "%Y-%m-%d"
    6 p8 z8 o: ?  c' j, X

  1119. 6 q3 `) d( g3 M( ~) i3 d: i
  1120. ; Default time format./ M. S; x2 k* i9 e2 D4 Z9 d
  1121. ibase.timeformat = "%H:%M:%S"/ @# U8 a5 w6 r3 I( I' y- i

  1122. ( B0 K+ s& q1 g& c, D7 g
  1123. [MySQLi]
    6 e: c6 I( A: m, E5 l

  1124. - _' |" [2 f) M" c0 L" H
  1125. ; Maximum number of persistent links.  -1 means no limit.# f( m: |1 _/ i7 g  U& J% B
  1126. ; http://php.net/mysqli.max-persistent
    - ]! o$ Q. k" [5 k. ?1 W
  1127. mysqli.max_persistent = -1
    $ ?2 d5 x7 @8 ]8 q
  1128. 5 P* I1 E7 w, k- H0 d0 |
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' V& ~: G$ b) i9 D- s
  1130. ; http://php.net/mysqli.allow_local_infile# U) h$ ~7 T4 C9 B# S' ~
  1131. ;mysqli.allow_local_infile = On
    / t2 K4 x& ~. h) T, [  Z) G+ F

  1132.   B1 Y, V# y: ^: h- P
  1133. ; Allow or prevent persistent links.
    : {. z% X: I4 d) k( t7 U
  1134. ; http://php.net/mysqli.allow-persistent" C9 c" m1 S, B# @4 w9 f
  1135. mysqli.allow_persistent = On
    - m1 \0 ?6 D: w* j  N1 W. n" S4 q; N
  1136. . o- l. j8 S! t1 G2 B: X1 P
  1137. ; Maximum number of links.  -1 means no limit.
    $ P3 f5 N( C1 K/ R, [: |# M
  1138. ; http://php.net/mysqli.max-links3 K! a2 ?  J* n
  1139. mysqli.max_links = -1
    " h0 E* Z+ H: R/ h- h/ J7 q
  1140. % [  A7 I! s9 ~' B, k/ i$ v# Y% W/ E9 c
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 \3 N4 o3 [& a0 j  q% y+ \$ t6 c  z
  1142. ; http://php.net/mysqli.cache_size
    . ~% \7 m  U* N  U& F
  1143. mysqli.cache_size = 2000
    ; I) s6 S% V( c$ p0 A
  1144. / m, j! A, v4 ~2 E
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    2 G  Y2 {: X. r8 l2 S
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 x% c" V) l9 T% R2 Q3 D* k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  u/ }  v3 v, u9 @
  1148. ; at MYSQL_PORT., g. X/ n8 B3 N/ }( g: ]! w6 R
  1149. ; http://php.net/mysqli.default-port
    % v/ Q) D3 e5 l
  1150. mysqli.default_port = 3306
    9 J+ E2 I# S+ p8 X, |5 C: {" [

  1151. 0 `# @- {3 ]. H4 ^/ f
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; i( V( h  g, G, g' K0 y
  1153. ; MySQL defaults.
    $ d9 y1 R. ^; Q7 _! U+ r9 t# g4 M
  1154. ; http://php.net/mysqli.default-socket5 k, O7 o) g' h: ^* @
  1155. mysqli.default_socket =1 J& [9 m7 o( e$ _0 c& f

  1156. 3 i2 }1 P/ A9 o, \8 x
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 h( [0 ^2 n# |/ v8 k3 S1 Y1 @8 j
  1158. ; http://php.net/mysqli.default-host
    7 E. O0 d* d$ _, l+ ^: g. ~7 X
  1159. mysqli.default_host =8 E2 |( E; h  k5 ?
  1160. , O) V' R1 q0 P' a' C& r6 s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 V+ w1 E6 D* c. F/ j* p! h; y% u
  1162. ; http://php.net/mysqli.default-user
    ' A1 r- ~; y6 p6 x- z
  1163. mysqli.default_user =4 G& ^# a2 k3 r) ~2 m
  1164. 7 y0 `5 c- r; t( D$ n5 }/ Q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ; T! C7 @3 q. t# V, @1 J! B# A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.4 [) \) R/ @& t/ [
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 K7 ]" Q% i4 [7 m5 c9 n, ]
  1168. ; and reveal this password!  And of course, any users with read access to this
    & z( s; \" a/ |( ~
  1169. ; file will be able to reveal the password as well.( r8 i; W( l) s. L1 K; E) i
  1170. ; http://php.net/mysqli.default-pw' Y. V) b; H  C* r* \
  1171. mysqli.default_pw =1 z0 Z  O. z; A; W0 F' q" M' H1 O, h
  1172. 5 a5 g* F% e, V1 F8 V2 ^9 p
  1173. ; Allow or prevent reconnect2 h& X' K0 y" S+ o. K1 }( y
  1174. mysqli.reconnect = Off
    7 P/ ~- @" t6 p7 m6 R! Y6 f0 C
  1175. # x: g7 O, W$ y
  1176. [mysqlnd]
    , s% n8 i# F6 I; S* E
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    0 O; M! W/ @: E7 N5 A- j/ g* a
  1178. ; used to tune and monitor MySQL operations.1 h4 p9 N9 E  c4 B& J+ b$ A
  1179. ; http://php.net/mysqlnd.collect_statistics
    & I: [5 s& F- \/ h; T; W7 K
  1180. mysqlnd.collect_statistics = On
    ( O1 L5 D4 G8 Z& @2 ~9 K
  1181. ) h: U# p2 n1 O  l0 F/ Y2 F
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be/ g7 `# K, \5 E  Z
  1183. ; used to tune and monitor MySQL operations.
    0 @$ a* i; {5 D4 P# \3 d
  1184. ; http://php.net/mysqlnd.collect_memory_statistics% J" f2 @: w( r% B( {- }+ ?2 J
  1185. mysqlnd.collect_memory_statistics = Off
      _. u4 @& E# b7 _6 C: a; U- ~% y

  1186. 8 }! W% ~2 a( j0 W4 h7 ?
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    0 P; K0 x! x: R8 z- k0 G2 P
  1188. ; file.
      O7 f+ V5 l5 {7 l& S
  1189. ; http://php.net/mysqlnd.debug
    # v' d  H% \8 N! y$ Y" {, a% w" q: G
  1190. ;mysqlnd.debug =' V5 e" D3 Z0 T' R: j6 l
  1191. 4 Q: v8 v( a% g
  1192. ; Defines which queries will be logged.
    " G& Y; a0 p- K* r' t( y& `5 o
  1193. ; http://php.net/mysqlnd.log_mask
    ' x! Z) A) m6 E- l, X& X
  1194. ;mysqlnd.log_mask = 0) N1 [0 U# _! h$ E' |

  1195. 5 i( a8 h; }; f5 o
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.% B5 [& ^. ~! ~4 X% o" C7 w
  1197. ; http://php.net/mysqlnd.mempool_default_size( e. h- O: T! x. g1 K6 m2 l
  1198. ;mysqlnd.mempool_default_size = 16000
    / g/ n; I3 I% t5 w; ?- W

  1199. & [' f- v3 U" r1 h& S+ C
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    * n/ ~  ]+ _& L
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size: D6 ?6 J3 q. ~4 p; @6 j  X
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    6 F, I+ z( U- [- ]3 |% Q# Y

  1203. 4 s# A0 l4 X2 t! {. m4 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , ~! s* f# U9 Q3 Z3 d; E& W. z1 r
  1205. ; bytes.
    % ^0 i! X, u" B3 F! x
  1206. ; http://php.net/mysqlnd.net_read_buffer_size; o7 l# y' _, W# M6 t# w
  1207. ;mysqlnd.net_read_buffer_size = 32768& m0 N7 d, q7 b

  1208. 9 E7 v9 ^& O* p6 F3 @8 {
  1209. ; Timeout for network requests in seconds.
    $ b2 v  Z$ v8 A
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; y0 _2 N0 \0 F" _7 i/ [8 ]7 J
  1211. ;mysqlnd.net_read_timeout = 31536000& v% @$ k% N% _% L7 A$ X# M" u

  1212. # R3 B, O5 T7 m. u5 ]  Q8 `
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA( u% W+ x1 `# E0 j$ N/ h
  1214. ; key.
    ' R) F% b6 h, B* i5 S# @) _
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    : J, y/ d2 f' D! f3 A& `
  1216. ;mysqlnd.sha256_server_public_key =
    3 W8 T3 W% a: A) j3 M) A8 g1 D" {

  1217. 5 T8 g! [" ~9 z( K- t0 |
  1218. [OCI8]1 R( n1 E  Z0 Q9 I+ n3 Q2 i+ I* ^

  1219. 5 ^& A3 N* x7 B/ |, \0 r  S; L. U
  1220. ; Connection: Enables privileged connections using external, [1 |& n! t6 f, s' ~+ }
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 a0 U1 G" E: O2 O
  1222. ; http://php.net/oci8.privileged-connect8 D5 a8 i% B" z9 w% P/ J
  1223. ;oci8.privileged_connect = Off
    " r( g+ h: V  t7 E

  1224. - L  A4 F% ]* o. K
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    1 e. K0 X! `0 C
  1226. ; process. Using -1 means no limit.
    % C9 A! ^/ V/ s1 b4 W4 c2 ?
  1227. ; http://php.net/oci8.max-persistent" g) n" R+ e% D  e" c6 G" Q4 `
  1228. ;oci8.max_persistent = -1. ~' j. S. Y: I. O  @$ L
  1229. 2 F. z- {0 ~; d: A1 W
  1230. ; Connection: The maximum number of seconds a process is allowed to! A# i" d/ ~8 d8 T; o
  1231. ; maintain an idle persistent connection. Using -1 means idle$ D. m7 M9 W: U/ l
  1232. ; persistent connections will be maintained forever.
    9 h4 L: _" J2 W  }5 q/ @
  1233. ; http://php.net/oci8.persistent-timeout
    8 M9 n8 ~4 {2 t# Z
  1234. ;oci8.persistent_timeout = -1- x$ U, L* A; H+ i% S' U
  1235. $ S* d# ?( P( I* R4 s# O5 ~
  1236. ; Connection: The number of seconds that must pass before issuing a
    ' q7 `' \0 I/ a8 j& G3 A
  1237. ; ping during oci_pconnect() to check the connection validity. When
    1 v& M* S4 \7 p1 S
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 a# O/ G4 y9 n
  1239. ; pings completely.7 A5 ^+ r/ E* A. b  F' Y
  1240. ; http://php.net/oci8.ping-interval  B' l2 A' j+ e* ?
  1241. ;oci8.ping_interval = 60
    ; j6 Y- j  \8 _2 n. }+ W# v

  1242. 6 I5 }. v* _# O4 \1 ]
  1243. ; Connection: Set this to a user chosen connection class to be used) u7 a# |8 Z! b' F0 {, T0 A$ }2 y
  1244. ; for all pooled server requests with Oracle 11g Database Resident4 y/ i% e. C: O, S1 i. T$ m, J  }
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # i  e: u9 p2 @3 |9 j
  1246. ; the same string for all web servers running the same application,
    * |9 C2 a$ S! k5 @& M
  1247. ; the database pool must be configured, and the connection string must
    , e7 G6 O, ~3 A* r: t
  1248. ; specify to use a pooled server.
    " g" u* W9 U2 L1 W% T
  1249. ;oci8.connection_class =
    " P5 E1 E; v; m6 l0 z: N

  1250. - @! l, g6 Z  H1 [
  1251. ; High Availability: Using On lets PHP receive Fast Application
      D! Y% U) \  G' e8 G
  1252. ; Notification (FAN) events generated when a database node fails. The
    ; g8 ]. J3 j9 J1 u6 P- W
  1253. ; database must also be configured to post FAN events.' I& _, V7 V% [$ f9 [- J3 L4 a
  1254. ;oci8.events = Off
    ) K9 W' Z3 b$ p& l5 Q

  1255. . F$ }0 e2 u% T$ J
  1256. ; Tuning: This option enables statement caching, and specifies how
    0 [7 j$ c) s% k/ z3 x9 r" Q0 ?& K5 Y
  1257. ; many statements to cache. Using 0 disables statement caching.
    . u0 \: i6 o6 |8 }0 M" I4 ?' t
  1258. ; http://php.net/oci8.statement-cache-size2 p/ k* J* e) D( P
  1259. ;oci8.statement_cache_size = 20
    $ @4 r  l, z9 P% B

  1260. , I* k( j% o7 y: {
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    9 R1 f0 M+ y9 n! I7 y+ @/ A
  1262. ; rows that will be fetched automatically after statement execution.8 I5 N& y, l! y1 G( d5 J1 s% I
  1263. ; http://php.net/oci8.default-prefetch
    ! P6 R& u  i0 @+ t/ K
  1264. ;oci8.default_prefetch = 100
    0 ^9 c# k" _: F9 h
  1265. , ~' ^0 `2 f  X- U0 V$ r( j
  1266. ; Compatibility. Using On means oci_close() will not close
    % W3 E  Z( a+ d" n  ~
  1267. ; oci_connect() and oci_new_connect() connections.
    + r# l/ F' ?) @! j1 k
  1268. ; http://php.net/oci8.old-oci-close-semantics) F5 _% @$ j, X1 u0 N
  1269. ;oci8.old_oci_close_semantics = Off  l% y6 r0 t1 b

  1270. * u% o# d7 W! K" z. F1 f, [
  1271. [PostgreSQL]
    8 a4 m/ C2 g% ]* {
  1272. ; Allow or prevent persistent links.
      a& b6 \" M" @! @3 z
  1273. ; http://php.net/pgsql.allow-persistent
    1 e( w# X5 ^$ ~% S4 n
  1274. pgsql.allow_persistent = On
    2 U5 O* o0 A% L" w

  1275. 8 _: C: w& ]$ V; d2 q% }
  1276. ; Detect broken persistent links always with pg_pconnect()., L* Y; c" X; i1 E0 l7 L
  1277. ; Auto reset feature requires a little overheads.
    6 F! ^' D7 f2 y8 Z9 }1 I. L
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 A% v: z- ]. J0 \
  1279. pgsql.auto_reset_persistent = Off9 h) t4 j% F8 l2 P8 o

  1280. % F( ?2 @  b  [3 U7 W, Q
  1281. ; Maximum number of persistent links.  -1 means no limit.
    8 Q, i% g* V  l/ \
  1282. ; http://php.net/pgsql.max-persistent* z! x8 @: V- R0 ^' M4 n
  1283. pgsql.max_persistent = -16 c% y) V5 c! y# m7 ]# y$ D$ _
  1284. 3 M' t% W4 n3 D1 @8 n; X  |
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 Z7 i% I0 ~" ], W% B. T
  1286. ; http://php.net/pgsql.max-links
    5 l' F9 o8 `* ?: v, Y
  1287. pgsql.max_links = -1! a( W0 e  v, a
  1288. 0 r0 w# |, P8 a1 r, T; T0 {
  1289. ; Ignore PostgreSQL backends Notice message or not.
    0 j8 O6 J& {+ u! a" a9 b% ~
  1290. ; Notice message logging require a little overheads.
    # p. s* }. a3 m. H# D0 U
  1291. ; http://php.net/pgsql.ignore-notice+ @$ z5 W) H- p
  1292. pgsql.ignore_notice = 09 d9 K$ F7 B9 e( @" |% F
  1293. $ {+ a; {5 H+ u& w
  1294. ; Log PostgreSQL backends Notice message or not.- \$ A$ u0 _3 \6 I1 p# U% ^
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.% c2 V5 {, T/ Y5 B! R: Q$ h6 y
  1296. ; http://php.net/pgsql.log-notice
    9 q- U* A# x# s+ l; v( ]
  1297. pgsql.log_notice = 0/ W+ B  \+ w) Z  ?

  1298. ! F: {4 m8 m3 N, D- i& ?) x; I
  1299. [bcmath]6 H" s0 g$ s3 W; b
  1300. ; Number of decimal digits for all bcmath functions.7 ?0 b/ k( P1 V( @5 Q
  1301. ; http://php.net/bcmath.scale
    9 O+ Z* @8 L, q+ e% i
  1302. bcmath.scale = 0
    4 V9 ^  C5 \% F1 h( b! z* m
  1303. 3 q8 @+ {/ D: Z9 e) B
  1304. [browscap]  x* f. y+ ]& c
  1305. ; http://php.net/browscap
    : d4 L; C+ _" M& y. O0 B
  1306. ;browscap = extra/browscap.ini
    ) e8 e; m* S7 m. X3 i  ?

  1307. 0 t$ \2 o4 i9 s% m; Q/ I1 F7 k
  1308. [Session]( t+ W8 @2 P( f; y7 J. m' ~  T
  1309. ; Handler used to store/retrieve data.
    % G% X4 V: w1 S8 \
  1310. ; http://php.net/session.save-handler# M/ w; U, v4 c, e7 r' T
  1311. session.save_handler = files
    & V1 J: a- M6 _+ k

  1312. " z+ @# w. Q* W% ?
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 ^1 K0 R6 q8 [0 J5 E/ B8 W
  1314. ; where data files are stored. Note: Windows users have to change this
      r! Q) g2 O) L: P% s4 C, @" m
  1315. ; variable in order to use PHP's session functions.% Y! H/ p2 d, w, Y
  1316. ;
    2 ]* ^2 X* ~0 D: L4 a& z  X
  1317. ; The path can be defined as:
    # x9 T4 m  j7 ^- `, ?
  1318. ;
    0 @: ^7 [) ~! K1 x( d5 u
  1319. ;     session.save_path = "N;/path"2 G1 Q* s3 o4 K) A7 ?3 B/ }0 X- z0 o) l
  1320. ;- K* ~$ w. r) t- F, P, L) q. p; f4 _
  1321. ; where N is an integer.  Instead of storing all the session files in
    + J' `# u; X, N; k" ]5 Y8 |
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    * z9 ~* G9 m& r7 A: B* w
  1323. ; store the session data in those directories.  This is useful if
    6 u1 W& R1 O: h) {" R
  1324. ; your OS has problems with many files in one directory, and is
    0 U+ k* l. {( g6 z, N$ D
  1325. ; a more efficient layout for servers that handle many sessions.
    ; t' A! }7 W' D3 t* P
  1326. ;
    / X! O' W: _& F5 g# s1 ?
  1327. ; NOTE 1: PHP will not create this directory structure automatically.7 |. |/ ]: q! g# x9 ~
  1328. ;         You can use the script in the ext/session dir for that purpose.% l% T6 S  F% X' a2 R! l, y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to9 Y9 A& r2 X8 A: ~- {$ w/ S! p4 d0 i
  1330. ;         use subdirectories for session storage
      P+ O% T2 L5 A% ~& Q. ^+ c
  1331. ;  h  A+ d  \; q6 b
  1332. ; The file storage module creates files using mode 600 by default.
    $ j4 z& r9 ]! J1 ^+ B$ r3 e; y
  1333. ; You can change that by using
    - M) c7 i. Q0 a: {* }
  1334. ;
    , f; q8 G  Y4 w" o- @" a) ^1 T
  1335. ;     session.save_path = "N;MODE;/path"
    3 [( b# l5 k( u) i
  1336. ;
    ! i% n% s1 J0 V  w- g: y# q
  1337. ; where MODE is the octal representation of the mode. Note that this% H2 R# X% ^$ z' R( h0 k& z
  1338. ; does not overwrite the process's umask.
    : a1 I$ V& m. Y: n2 c2 W
  1339. ; http://php.net/session.save-path: w  r$ N9 N! x% a1 l
  1340. ;session.save_path = "/tmp"
    % X* Q6 y; p, P0 X# r5 i+ X
  1341. / w7 B. ^: G$ Z" o
  1342. ; Whether to use strict session mode.3 z6 ^3 n$ a! |* V# t0 v
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 q$ B# {3 z7 E! W7 l8 x
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects& T2 @+ l! G4 U8 _: l
  1345. ; applications from session fixation via session adoption vulnerability. It is& p, P, \! ^, L0 {. b& F7 q* [, z
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    3 g$ A2 m& j/ Q3 p1 {' D/ ]; H
  1347. ; https://wiki.php.net/rfc/strict_sessions
    7 v! ~2 _& {9 D* C
  1348. session.use_strict_mode = 0
    & d/ Q2 N' d. _3 X! }+ ?; G# @5 \

  1349. * ~& F4 ?, L+ [  {1 l2 e% x
  1350. ; Whether to use cookies.
    9 u( }( y; s' Q8 c% h7 d/ j& |
  1351. ; http://php.net/session.use-cookies1 @5 f, V$ x% J1 e% W
  1352. session.use_cookies = 1
    2 _  j2 s; K6 L! |9 X% I
  1353. 3 m; c1 d0 [' H+ w$ N( I
  1354. ; http://php.net/session.cookie-secure
    9 M; v; {; Q  a5 _2 Q
  1355. ;session.cookie_secure =5 R0 E3 g( z+ ?' }- l8 F

  1356. 3 X2 N! G) v9 D; N
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining" `. ?2 j9 W6 f
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    $ ?4 ^4 N0 n7 O* B0 }
  1359. ; session hijacking when not specifying and managing your own session id. It is0 T8 z8 g+ B( x) C& E4 G
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    . K" U0 w# u( v/ h" |* X
  1361. ; http://php.net/session.use-only-cookies) B0 n# |2 K9 t0 X. f
  1362. session.use_only_cookies = 1- l8 D" J' \3 G$ x
  1363. 8 N0 G- V% U7 ~8 l1 p. F
  1364. ; Name of the session (used as cookie name).& q$ X: e7 m7 k, p: z  v6 x5 \
  1365. ; http://php.net/session.name$ O. J' t; j, d- t. Q
  1366. session.name = PHPSESSID; d: i$ }* X7 i! a9 g, @9 T

  1367. & L& P2 r) c* e, |- T
  1368. ; Initialize session on request startup.
    / L# \: W! G6 U
  1369. ; http://php.net/session.auto-start* P6 O6 e5 K& @3 B2 m( O3 X
  1370. session.auto_start = 0
    ' `2 R) Y2 p$ t6 J4 n$ ~
  1371. * T3 c3 g2 ?2 c4 h8 G) q4 z* u
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.& `" [* W8 ~8 g7 q
  1373. ; http://php.net/session.cookie-lifetime4 B9 ^7 N: G- A- N; d; U) c
  1374. session.cookie_lifetime = 0
    * @% m" p( S, v4 c
  1375. . v6 o$ a5 a" U% m! i
  1376. ; The path for which the cookie is valid.
    ( W! q6 k' [, D1 L% D" a
  1377. ; http://php.net/session.cookie-path
    ; k4 ~. g/ `* W0 j' N
  1378. session.cookie_path = /4 h  Y, Q% M8 u4 j6 O- z

  1379. * [* h9 f. S# Z) _; I+ j
  1380. ; The domain for which the cookie is valid.
    & i+ V/ b6 K4 F) ~
  1381. ; http://php.net/session.cookie-domain
    1 s3 k( `/ U" [, t. b. I7 d1 o
  1382. session.cookie_domain =
    4 C# A, I6 o% E

  1383. / \8 |, M% q# w! v
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 _% `- n3 j( B. D* n! P
  1385. ; http://php.net/session.cookie-httponly
    ( l/ x  y5 O6 W9 V+ v$ |. M
  1386. session.cookie_httponly =, s5 c. {" W; `8 J
  1387. ( N! N, Z% C: R" n* f6 _. c: c
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 U% v8 _# s: q9 d
  1389. ; http://php.net/session.serialize-handler- V. K/ f& k9 [, R
  1390. session.serialize_handler = php
    ; H$ X6 S4 x' B  h% ]5 K) p) g

  1391. + F9 Q4 H8 x3 v! c. k" O' q
  1392. ; Defines the probability that the 'garbage collection' process is started: D1 K% c' |# _
  1393. ; on every session initialization. The probability is calculated by using' z  R! x; O3 C  a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ |" J; t6 r% X
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& [  i# {, p! B$ E  S
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 e" a# [: q$ g
  1397. ; the gc will run on any give request.# Y" M* Q3 F9 ?; J; P
  1398. ; Default Value: 1
    0 G+ V: D. j/ t) ^( q
  1399. ; Development Value: 1
    + h$ u' g) [8 P( t$ _
  1400. ; Production Value: 1( Q* `  E1 v: H# T4 i7 w/ o
  1401. ; http://php.net/session.gc-probability
    + K" d, G1 J/ N" Y
  1402. session.gc_probability = 1
    + P9 n! E8 K7 Y0 i
  1403. 0 \9 F  G: |3 G  ~5 }
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % W" c9 \1 P9 z% a# J7 ?
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 G# _$ m& m7 o8 p" `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 \# `5 U7 W7 I3 S; K! x. S
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1) Y; t7 |) J+ I+ l) w! v
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 h. z3 R% A$ Y6 e$ i
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , x0 [; D# O$ z  e
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 a8 @% L5 k: ?1 y
  1411. ; this is a more efficient approach." j. w, G# q# \; Q; `- \3 @* N  D6 `
  1412. ; Default Value: 100
      x8 f! N) g7 N) _( G
  1413. ; Development Value: 1000
    4 f# k; h0 m: H- ^
  1414. ; Production Value: 1000" {3 [5 d" `3 ]  I% _% ?& W# r
  1415. ; http://php.net/session.gc-divisor! ]5 \3 p& Y$ f* D7 f1 X+ L, @3 H% A
  1416. session.gc_divisor = 1000) v. B! N4 Y8 @5 y4 s

  1417. , \" \7 V0 v6 J; N4 z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) Q% u' V9 _4 ^( P# T
  1419. ; cleaned up by the garbage collection process.
    5 m; {; c$ h" P) g4 F6 V
  1420. ; http://php.net/session.gc-maxlifetime; G( S- k$ {! U# u
  1421. session.gc_maxlifetime = 14404 b5 r1 B/ d# r! `2 k  x& n
  1422. % A- O% T& R7 v3 b' T- f- e
  1423. ; NOTE: If you are using the subdirectory option for storing session files3 x. q; S( I& o; j
  1424. ;       (see session.save_path above), then garbage collection does *not*
    8 {& c) S* X- u
  1425. ;       happen automatically.  You will need to do your own garbage
    * L; |2 \* ^$ s; {5 I) r' h
  1426. ;       collection through a shell script, cron entry, or some other method.7 |- ^" W/ r1 Z, y  Y
  1427. ;       For example, the following script would is the equivalent of
    ( m" b) l; s1 d+ X0 n* W
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& d7 y4 E( D' `4 D
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : h) ~* F' `3 w6 B; j

  1430. ) w$ j+ x- s- X$ b, U
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 F4 r. |$ g" ^+ F" W
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    " r, M; m( u1 n$ A6 V
  1433. ; considered as valid.  _" H5 l* a2 X. a/ E. Y1 t0 C
  1434. ; http://php.net/session.referer-check* B- G& D, e* S; p& y
  1435. session.referer_check =
      w# Y; ?, c- O' O$ J4 l. G

  1436. 3 j* O% B9 C7 y# u$ @$ N) Q3 z
  1437. ; How many bytes to read from the file.* b% Z- n: \0 [5 I  y. _
  1438. ; http://php.net/session.entropy-length
      V' _3 O8 \+ W. s  ]
  1439. ;session.entropy_length = 32/ v' T' A6 w- ?4 x; _2 X" Q1 G

  1440. 2 I, m) C- o/ D* W7 V2 L% @- G( C. t
  1441. ; Specified here to create the session id.
    9 [  T$ T; _3 X$ r3 q+ Y  \$ d
  1442. ; http://php.net/session.entropy-file
    # ~, j2 h* r6 ~% {
  1443. ; Defaults to /dev/urandom: `$ E5 i, I5 G0 W8 ]5 x
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - Q' l5 d3 p) r% A
  1445. ; If neither are found at compile time, the default is no entropy file.
    7 u+ }6 q" g- m; O& a
  1446. ; On windows, setting the entropy_length setting will activate the
    , _: }  c4 s; w- ~% p
  1447. ; Windows random source (using the CryptoAPI)
    $ A4 c$ |0 [7 @
  1448. ;session.entropy_file = /dev/urandom
    ( S* a: k- Y# c) r: ?# y- v7 O
  1449. 8 b' H0 i5 S. F- P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 n$ k; z% z1 @
  1451. ; or leave this empty to avoid sending anti-caching headers.! t/ |4 K( s& g3 z# G
  1452. ; http://php.net/session.cache-limiter$ _- g% F# f4 K" T7 C9 I
  1453. session.cache_limiter = nocache7 [% z/ D0 m! t6 v  u. @- n9 E% p6 T

  1454. 4 x- k- K2 p7 E
  1455. ; Document expires after n minutes.  X. I2 ]7 A7 ^/ Q7 Q& c0 T* p, V
  1456. ; http://php.net/session.cache-expire% X8 f/ `. C: n4 I5 A2 f! l8 L: s
  1457. session.cache_expire = 1803 F1 H& }9 O2 b' g

  1458.   G. F4 }, @9 i4 P" \+ F6 @
  1459. ; trans sid support is disabled by default.
    8 D4 y3 S8 A8 ^, g& v8 a; s; L! E
  1460. ; Use of trans sid may risk your users' security.
    $ A( b5 Y, Z( l+ r( _. a$ N/ j2 v
  1461. ; Use this option with caution.: h) z) l* O6 J3 C! w: C
  1462. ; - User may send URL contains active session ID
    4 b& }0 V( ]% J  {
  1463. ;   to other person via. email/irc/etc.: s% o, ?: y+ K% t
  1464. ; - URL that contains active session ID may be stored
    5 s1 V, F4 A% Y2 p* G, s
  1465. ;   in publicly accessible computer.
    4 @# _, ^: g+ r
  1466. ; - User may access your site with the same session ID
    ( i' E; d& n" F  P
  1467. ;   always using URL stored in browser's history or bookmarks.
    8 M- Q/ q* g% U1 h% C( e" u4 y
  1468. ; http://php.net/session.use-trans-sid1 w! g3 J. j, `
  1469. session.use_trans_sid = 01 M+ g2 c- p9 Y3 |2 j! @, P5 r6 Y
  1470. ( f2 |& `3 \* z' L1 q; v% x
  1471. ; Select a hash function for use in generating session ids.
    ; g/ x( D; D& E: ?/ t& Y# ]
  1472. ; Possible Values
    1 w8 k  O- b2 y
  1473. ;   0  (MD5 128 bits)
    " b; [5 P  O/ H+ Q
  1474. ;   1  (SHA-1 160 bits)
    9 q5 {* o& M+ O
  1475. ; This option may also be set to the name of any hash function supported by
    0 H$ l  W- A6 A- n- z/ T" `0 M
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ! s8 L. [" B' j3 g7 z5 i
  1477. ; function.
    : }1 v5 {5 t+ A
  1478. ; http://php.net/session.hash-function
    # o3 g  t# p+ s0 s
  1479. session.hash_function = 02 b8 {9 H# f; c4 V/ K

  1480. ) t) e+ p2 F( ~2 b! P) f' A7 K
  1481. ; Define how many bits are stored in each character when converting, ~. U* r" ?" y
  1482. ; the binary hash data to something readable.
    1 [1 M3 D  r( s9 m/ Y
  1483. ; Possible values:* n) R- h! U' @/ c5 U
  1484. ;   4  (4 bits: 0-9, a-f)! L  R' V" P( L" v
  1485. ;   5  (5 bits: 0-9, a-v)
    7 l6 j- }4 q7 m2 R% |
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' h& `$ E  W6 m9 u+ j8 O- H+ S
  1487. ; Default Value: 4
    $ _  w6 X+ T, r1 B
  1488. ; Development Value: 5+ `: F8 u, c: _3 c5 Q
  1489. ; Production Value: 5
    4 ]. ^- n( ?0 J6 J$ O
  1490. ; http://php.net/session.hash-bits-per-character
    5 O" A+ l2 x) C
  1491. session.hash_bits_per_character = 51 w" P: L# {% K; y

  1492. ( Z! [3 \6 Z9 d9 ?2 U; k( y! T
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 D1 c" _+ E1 ?; B% H9 E+ i$ J
  1494. ; form/fieldset are special; if you include them here, the rewriter will" i9 c; W# c5 V/ D7 K2 u8 L
  1495. ; add a hidden <input> field with the info which is otherwise appended7 c7 P0 S% T' S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; q0 }9 n: v& O& x
  1497. ; Note that all valid entries require a "=", even if no value follows.
    * S' p' M; ~3 V5 [) k* O8 D
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 ]* V( u8 F7 y
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # x$ I' T0 z+ T0 |4 B' |+ E! Q* u
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 Y! |% O2 _: I5 a
  1501. ; http://php.net/url-rewriter.tags. E* A. i5 D% R1 v/ a: l
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Y7 q1 t7 z/ C
  1503. 0 x! \$ k# }! n" l
  1504. ; Enable upload progress tracking in $_SESSION) n2 V/ R0 I7 x: s, i% ~+ j$ M
  1505. ; Default Value: On5 K# F  x% ?: y; |. K1 _$ U* \9 T3 ^
  1506. ; Development Value: On, z6 j) P5 O$ R/ t. E" P
  1507. ; Production Value: On
    2 E- p% N, q* [" A1 F( _& C* g
  1508. ; http://php.net/session.upload-progress.enabled
    ( Z2 A! B' t" r+ M  T
  1509. ;session.upload_progress.enabled = On  t! m6 t8 b6 ~1 S* E: U
  1510. ! t0 ^! C. z: U/ ]- c5 G4 y
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & s6 X4 d: ]8 Q# K# J
  1512. ; (i.e. upload completed).& R, H: s! I9 `% @3 T
  1513. ; Default Value: On
    + q& B7 ?. F  X4 e" F
  1514. ; Development Value: On' I7 L9 S. Y# C; }/ `: X
  1515. ; Production Value: On# s( G4 J1 R, D# L5 W$ ^6 D
  1516. ; http://php.net/session.upload-progress.cleanup1 r! }' F2 M$ M7 H
  1517. ;session.upload_progress.cleanup = On. A. s+ Z6 T1 E9 b7 m$ o3 Z! o

  1518. ( v+ @2 h7 v0 m
  1519. ; A prefix used for the upload progress key in $_SESSION
    , J# t+ ?0 n6 y- k3 s6 u4 J/ J
  1520. ; Default Value: "upload_progress_"" {7 q! q  g' Q8 I- ]
  1521. ; Development Value: "upload_progress_"
    5 b+ [0 h7 c) W
  1522. ; Production Value: "upload_progress_"
    5 ~/ E  F/ ?3 m* j' v1 {' w
  1523. ; http://php.net/session.upload-progress.prefix
    2 U2 d2 q8 m' Y5 I) b/ w7 U
  1524. ;session.upload_progress.prefix = "upload_progress_"
    + y, y% e. H4 |$ l6 j7 ]
  1525. : ?! [* e1 K9 c
  1526. ; The index name (concatenated with the prefix) in $_SESSION) S; b; N; a9 q8 b" t/ |% j" A
  1527. ; containing the upload progress information/ O, n5 Q& U3 U/ c6 A+ Q+ f( V
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 E- U7 r' T+ A1 J. i1 D0 ~. w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 o- f4 u/ {: b1 l$ W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % \& Q. S% O$ P1 a9 ?  k
  1531. ; http://php.net/session.upload-progress.name
    6 A) S7 w9 w; b: l3 _# w
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    9 P5 v# `2 `6 K- A' ?% U( q: p9 s
  1533. 3 w, o3 I# M4 h" I
  1534. ; How frequently the upload progress should be updated.2 n6 ?  S* l$ e, ?
  1535. ; Given either in percentages (per-file), or in bytes
    . o' c2 m6 D) K( S7 j8 y
  1536. ; Default Value: "1%"7 J0 m; d6 q2 s$ `
  1537. ; Development Value: "1%"
    ' T  d* `& A1 X0 {2 w3 Q
  1538. ; Production Value: "1%"
    0 {/ r: d0 ?& E
  1539. ; http://php.net/session.upload-progress.freq
    / }- J% h2 l) s+ T7 s: u
  1540. ;session.upload_progress.freq =  "1%"
    ( w: t, @+ l9 J6 J$ f
  1541. % T, V& l1 f6 k  o3 k! h, O( H/ P
  1542. ; The minimum delay between updates, in seconds7 d3 S7 }: U9 x
  1543. ; Default Value: 1
    % B& J1 [$ s( t  C3 T/ {' {/ }
  1544. ; Development Value: 1
    2 ~7 g8 Y+ ^: {( K
  1545. ; Production Value: 1
    & W1 s: y# O& f0 j4 ?2 O/ K
  1546. ; http://php.net/session.upload-progress.min-freq
    , B. u; n$ }( I/ r7 n: a1 V. j
  1547. ;session.upload_progress.min_freq = "1"8 }6 a: ~% B8 C* q! z9 P( d

  1548. ' K# S! S7 J: O5 y. S3 [* x& F! O; s
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 K$ z5 j. t* G# o/ E' r$ G. v( B
  1550. ; http://php.net/session.lazy-write& N* r/ @7 t- t$ C0 C$ C$ X
  1551. ;session.lazy_write = On4 d4 i- ^! Y' y
  1552. 2 K, a8 x4 @5 I- g  ^5 i' b* V
  1553. [Assertion], N. I0 u0 z% V. L; X. a; ~
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    2 y9 v4 n1 B; L
  1555. ; -1: Do not compile at all
    , x7 ^# R8 o; H+ O
  1556. ;  0: Jump over assertion at run-time
    0 P, s! o; [! u( ^5 P, z' m/ _
  1557. ;  1: Execute assertions
    5 b# m8 X( U4 N7 |  e. t- D2 |# w
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    7 b, e' ^" D3 A
  1559. ; Default Value: 1' e' b7 r& Q' F9 P& p1 X- b
  1560. ; Development Value: 19 Y; g; R1 g* ]! D" C
  1561. ; Production Value: -1
    $ f. _; }7 }/ x+ l- ^* T
  1562. ; http://php.net/zend.assertions
    - A& }/ g! K5 w( x8 l6 L
  1563. zend.assertions = -1& T( Q/ m5 A' w! y+ `$ _
  1564. # `4 P) {; f5 c( F9 J
  1565. ; Assert(expr); active by default.* C2 |4 x1 B! }
  1566. ; http://php.net/assert.active
    ; g2 D) q* p# j1 k5 ^3 H1 L2 q
  1567. ;assert.active = On9 |; Y  b5 r! U8 P9 |. k% s3 l/ X$ P
  1568. 8 {- k1 ^& f* l! Q1 J+ L( \$ V; L7 v
  1569. ; Throw an AssertationException on failed assertions
    8 L, F* l) C. a2 f; c6 G( Q
  1570. ; http://php.net/assert.exception
    / x7 X) O. h7 P9 J; ^8 g3 w& H5 P
  1571. ;assert.exception = On
    * e: e' P4 n- @3 O' T( |. |
  1572. $ T- L, C9 P5 [/ W8 \; J0 r% O: ?. W- G
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    6 Q4 E! d4 v) b% H; r7 p" t3 j8 D' M  L
  1574. ; http://php.net/assert.warning
    ; ^  L( x6 @( n0 Y, Z1 ~4 h+ Y7 o! _
  1575. ;assert.warning = On
    ) H! i, H8 I0 w; \- x9 K

  1576. ) U; l) a- w7 a" L4 J. y, T
  1577. ; Don't bail out by default.
    2 E/ m7 w/ _; l4 m
  1578. ; http://php.net/assert.bail
    + e0 c6 @, R" A' }
  1579. ;assert.bail = Off" e" y; F# X+ t4 F% Z' t4 ]# a

  1580. # r2 L, b% `% m  d0 g3 [* R2 k
  1581. ; User-function to be called if an assertion fails.
    2 J2 {0 j1 k- N+ U  y) Z/ i
  1582. ; http://php.net/assert.callback/ j7 u- y6 z- v5 y" W& E$ w
  1583. ;assert.callback = 0
    2 _/ }1 b& b- u- }2 m: H

  1584. 9 `" }& k1 q2 Z* k
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ! q; F8 ]  z$ r& P3 ~& f0 N
  1586. ; error_reporting(0) around the eval().3 ~. V, I/ a" u' V7 p. E
  1587. ; http://php.net/assert.quiet-eval6 f4 R' G2 `; V1 \' Y' y# c
  1588. ;assert.quiet_eval = 0
    ( `1 D6 `/ O! A+ P

  1589.   j# A5 s+ Q& d' i1 r
  1590. [COM]
    9 J' h+ \  J0 w2 B  g
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 w0 ~* x( j1 J1 d- M& M, v
  1592. ; http://php.net/com.typelib-file9 J5 \/ x- C- W( z8 m) m3 X
  1593. ;com.typelib_file =
    ; s1 }+ t4 S$ H+ y" R! M8 y

  1594. ( P& o, I: E: R1 V; p* Z
  1595. ; allow Distributed-COM calls8 N8 A9 p7 ?' C3 l7 t" X( j( X
  1596. ; http://php.net/com.allow-dcom
    * o- Q& Z( t( ]7 S! ^* `: B
  1597. ;com.allow_dcom = true3 F  m; H8 V# A7 _

  1598. 6 j+ q! @$ e, Q+ z" ]
  1599. ; autoregister constants of a components typlib on com_load()
    & a3 V% U& |4 k4 A8 s, a
  1600. ; http://php.net/com.autoregister-typelib
      [. o7 h# A! `. P
  1601. ;com.autoregister_typelib = true% H) ]! V; H- z
  1602. 8 v- K3 c4 K+ A) v
  1603. ; register constants casesensitive
    & }& D& @0 |/ |+ u7 r6 w3 f% s
  1604. ; http://php.net/com.autoregister-casesensitive
    $ f& N& H" B/ W6 c3 K+ d
  1605. ;com.autoregister_casesensitive = false/ x/ b$ v( c; i$ q8 x

  1606. 7 n* u1 C& {% g; k; ~1 k
  1607. ; show warnings on duplicate constant registrations4 e! R6 G4 l4 a# ~
  1608. ; http://php.net/com.autoregister-verbose! u( P- I0 X6 l2 `
  1609. ;com.autoregister_verbose = true
    . J8 ]! T! }2 Z9 ~

  1610. 6 R2 g2 Y, |# x1 m" V/ e9 A
  1611. ; The default character set code-page to use when passing strings to and from COM objects.1 N" N9 T' z. U
  1612. ; Default: system ANSI code page
    ( X0 F6 z# n5 w1 C8 z
  1613. ;com.code_page=; S5 T5 ?- S' h' i4 D
  1614. $ s5 R4 o; }' {% Q0 q4 P. f
  1615. [mbstring]
    7 n. a9 k1 R: w8 N& }4 Z! g8 g
  1616. ; language for internal character representation.
    7 t. S5 [" ^+ ]) ]$ |7 R: o
  1617. ; This affects mb_send_mail() and mbstring.detect_order.- W3 f7 Y, _" X( C1 L
  1618. ; http://php.net/mbstring.language
    + t" Q" q$ I  c* \9 l" L9 w
  1619. ;mbstring.language = Japanese
    ! @: M8 z% u% c( {6 a4 K
  1620. # x$ ]. W* @6 ^) |) O
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.( m! I6 }1 _+ t$ |$ C8 ^# Z
  1622. ; internal/script encoding.0 j4 r7 H! U1 m
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)/ I( n1 ~1 Y1 m
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; c8 {0 B4 P" j( Q- I+ @/ O
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % V7 `: U6 X" U5 F6 z
  1626. ;mbstring.internal_encoding =& V& x- |* l9 P* f

  1627. , S1 Z$ G3 y, U, }, m& Q! M% S- N
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.; z' W& E$ n; [. C5 v; J% ^
  1629. ; http input encoding.1 f  I* Y2 v5 k6 q+ W- T" r3 x, p
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.' j# a0 \0 f: B! {- _7 L0 s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.' n5 h3 V* _) l* {9 r- {2 c% Q
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      ]9 y0 p5 K- |" q% T
  1633. ; http://php.net/mbstring.http-input
    : i5 _4 i* R1 E/ V8 Q0 V1 {9 A- z! f
  1634. ;mbstring.http_input =& o' i1 ^" z+ K) s1 P; Y6 n) c
  1635. ; M; `$ ^% t9 T" @# m. o
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.3 `; Z* E3 J* k
  1637. ; http output encoding.
    6 w9 W4 d, J8 F/ }* Q0 e
  1638. ; mb_output_handler must be registered as output buffer to function.( d" L( }# _" ^* N
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: w7 g( }1 G/ @! C- S
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output* [4 E7 i6 V; x: m
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    5 }1 R6 ^0 ?$ k( G- P8 m8 i
  1642. ; otherwise output encoding conversion cannot be performed.
    5 W1 m! F: T- v* t3 c2 D
  1643. ; http://php.net/mbstring.http-output4 b# F0 V: ?- R
  1644. ;mbstring.http_output =
    2 t9 B) G0 ?7 s& k8 O

  1645. 6 q" m1 f. g3 Y+ N; S3 P0 r
  1646. ; enable automatic encoding translation according to2 r6 Q( P: ^0 ]  ^) |9 F
  1647. ; mbstring.internal_encoding setting. Input chars are' u# m5 b( U! M0 S7 a1 O
  1648. ; converted to internal encoding by setting this to On.
    1 F/ J+ X( C0 o) s
  1649. ; Note: Do _not_ use automatic encoding translation for: k4 d( ^) j! J! y  H# L1 o6 ]0 s
  1650. ;       portable libs/applications.
    5 ?5 n$ J) r! U. k1 B/ u' u
  1651. ; http://php.net/mbstring.encoding-translation
    4 t# Y& R- E! @' y5 @) _' H
  1652. ;mbstring.encoding_translation = Off) k& Q( e* x# V$ @4 V5 D

  1653. # u# C& n& U6 T5 S6 H
  1654. ; automatic encoding detection order./ y% ^1 o) H+ R) C% l6 e* J5 }
  1655. ; "auto" detect order is changed according to mbstring.language
    - X+ E0 H) f. E% `' y  L  Q
  1656. ; http://php.net/mbstring.detect-order: ?3 M: ?4 K: S. ^. o7 l& B
  1657. ;mbstring.detect_order = auto
    0 [- B$ j. K6 d5 b% _

  1658. 2 M: T9 s5 @( q5 b
  1659. ; substitute_character used when character cannot be converted, e) M# X1 f9 {0 `1 x6 l
  1660. ; one from another
    1 G8 \, I+ I* R$ u/ D: f
  1661. ; http://php.net/mbstring.substitute-character
    2 l! D# n1 P6 j- }- q& I3 G4 ~" j
  1662. ;mbstring.substitute_character = none* n) |9 O* i" v7 b# _

  1663. 0 e3 v! p- S$ a/ l4 D4 `: B" v- k/ \- @
  1664. ; overload(replace) single byte functions by mbstring functions.& ^0 C& X1 O5 R4 B$ t/ f5 K' Q
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' n* Y( \# n; Q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.9 W" [% e, K4 |6 [$ M, P
  1667. ; For example, 7 for overload everything.7 ^* r6 q$ q! b7 r2 L
  1668. ; 0: No overload
    , q9 D/ F$ U: M8 ]0 u" }
  1669. ; 1: Overload mail() function! Q5 B  z. P% N5 j- o
  1670. ; 2: Overload str*() functions
    : R5 G, F  ^. f. Q  p. G7 J
  1671. ; 4: Overload ereg*() functions
    ( A! H- j, D2 H" U
  1672. ; http://php.net/mbstring.func-overload  r  e# p; \# h5 ^: y
  1673. ;mbstring.func_overload = 0
    5 V; ]& ~: @+ f5 s+ ~
  1674. : Q! I# n" E/ {
  1675. ; enable strict encoding detection.# r/ g$ |; [. A* D* A
  1676. ; Default: Off% y% H- o' c) T% H  v# ^5 u1 v/ v
  1677. ;mbstring.strict_detection = On* f' f3 _5 U4 A5 `
  1678. ! q3 f8 p& ~# s* E6 x
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()6 t: |/ C$ r3 z5 Y" _: `
  1680. ; is activated.
    # m- J. M, p, _& y' n
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 v6 Z! |& r1 N9 W$ \. c
  1682. ;mbstring.http_output_conv_mimetype=
    8 X" ?" z# p, k/ ~. M7 O

  1683. ! S  S+ {; M8 F/ F
  1684. [gd]
    * E6 j0 K9 [8 F2 F( Z; a
  1685. ; Tell the jpeg decode to ignore warnings and try to create" J& z) g* ?+ u
  1686. ; a gd image. The warning will then be displayed as notices
    ! j% Y9 y% ~& u4 d( s0 C+ s
  1687. ; disabled by default8 m, V3 _3 W6 z) Y7 x
  1688. ; http://php.net/gd.jpeg-ignore-warning8 ~- @8 x- c- o3 j9 k7 u  T
  1689. ;gd.jpeg_ignore_warning = 0' ?3 a$ J  u. `6 f3 B; _
  1690. 8 d) C0 n0 e+ \3 g8 @
  1691. [exif]
    % p0 q, }" b; E8 C" _
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 v. |0 W- r  D  s' ?- l6 u3 {
  1693. ; With mbstring support this will automatically be converted into the encoding7 n1 c* k; e; u- f
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ W' L8 q2 b% S9 r8 N( d5 R& r
  1695. ; is used. For the decode settings you can distinguish between motorola and( v7 l1 w/ z, d2 r6 `; `
  1696. ; intel byte order. A decode setting cannot be empty./ _( A+ S% S; }3 D1 Y& p
  1697. ; http://php.net/exif.encode-unicode/ O+ E1 I) Z7 R5 E, n
  1698. ;exif.encode_unicode = ISO-8859-15' H8 m' E3 T! s& T! Q# n/ |6 o
  1699.   B8 W' y( s+ i
  1700. ; http://php.net/exif.decode-unicode-motorola" C- D+ q& z6 B' }! t
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    6 v' Z+ S% z0 {
  1702.   F$ d5 T! N7 A' Y4 b# l  }
  1703. ; http://php.net/exif.decode-unicode-intel4 P) |* K6 }* J  S' w
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ! h& d' A0 M) U( [- q* \$ n

  1705. - G: l& x+ h/ Z5 Y
  1706. ; http://php.net/exif.encode-jis
    % ~/ O3 L  v0 _  ~+ }  x7 x
  1707. ;exif.encode_jis =3 n5 U& q3 Z8 K8 B
  1708. / I& N! B! r! z) Z+ ~- Q2 W
  1709. ; http://php.net/exif.decode-jis-motorola6 \9 f1 T& L, p
  1710. ;exif.decode_jis_motorola = JIS3 z8 x6 l' }% S0 o1 ?

  1711. - D; A- G" I) ~# z5 O4 I& w
  1712. ; http://php.net/exif.decode-jis-intel7 `. h, c9 J2 ]
  1713. ;exif.decode_jis_intel    = JIS, O! h+ v8 M8 C- J) Y: e% P
  1714. 2 M- I7 l* H: c
  1715. [Tidy]
    7 c2 {5 z" D/ n! i% b0 m, F/ }* U
  1716. ; The path to a default tidy configuration file to use when using tidy
    + p7 \# N' [8 @  W- [' q3 K8 T0 A; [
  1717. ; http://php.net/tidy.default-config; B& J% G+ F" P  |
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg& R+ S3 q/ F) E/ C# u* n+ O
  1719. 3 x" D; C' D5 L2 [
  1720. ; Should tidy clean and repair output automatically?1 Y/ u. X5 L* t" z8 Q" c; L
  1721. ; WARNING: Do not use this option if you are generating non-html content
    6 f0 {" x0 c* g2 @  K- I
  1722. ; such as dynamic images
    ! k; Q- m4 ?7 b8 F1 y
  1723. ; http://php.net/tidy.clean-output: |4 y9 s" q, e( g5 {
  1724. tidy.clean_output = Off1 H  P9 l/ x7 F2 ~

  1725. - M$ ^, B8 ?8 ~! |% V
  1726. [soap]% d6 B3 P+ D. o$ G9 G
  1727. ; Enables or disables WSDL caching feature.3 b9 o0 f# v% V3 J0 J
  1728. ; http://php.net/soap.wsdl-cache-enabled8 c. }8 x; U1 x: h9 |0 f. a% f
  1729. soap.wsdl_cache_enabled=1
    ' O# z4 a. g3 }5 y7 c) f

  1730. ( w. o; h1 w/ }7 A
  1731. ; Sets the directory name where SOAP extension will put cache files.& l0 \3 H5 i0 _5 z+ d
  1732. ; http://php.net/soap.wsdl-cache-dir
    ( b- f" @7 x  H( Q. d1 R
  1733. soap.wsdl_cache_dir="/tmp"
    7 w3 B! o2 Y9 ~, H

  1734. ' X- E7 |+ K- X* V5 U
  1735. ; (time to live) Sets the number of second while cached file will be used
    0 q1 d, k$ l+ A8 `
  1736. ; instead of original one.
    1 g$ [; r- ?. q2 Y* N
  1737. ; http://php.net/soap.wsdl-cache-ttl' Y* ?3 x$ k6 j! i4 c
  1738. soap.wsdl_cache_ttl=86400
    , A4 X' H" y2 w' j. ^
  1739. ' z8 C& j4 H1 y' j% S  E$ J
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 I9 N/ r9 `' x, g1 m
  1741. soap.wsdl_cache_limit = 5
    1 X% F4 C7 m' N: I6 R& T
  1742. : m5 T. E$ c# d$ ]& y# i3 }1 p) c  N
  1743. [sysvshm]6 e6 `  m3 W( i
  1744. ; A default size of the shared memory segment; G  o$ [( O% s$ }, q  g
  1745. ;sysvshm.init_mem = 100005 L5 J/ G- w- j3 {( J
  1746. , s) S8 o/ U* S, i' O/ J, _
  1747. [ldap]
    6 z! ?) Q* R8 h1 p2 p/ N# O% |
  1748. ; Sets the maximum number of open links or -1 for unlimited.: C8 r. D0 K; x' u8 ^: R( ^
  1749. ldap.max_links = -1+ B8 W+ o2 N# [. ]& }

  1750. % j% Y7 C) P: G/ a
  1751. [mcrypt]; o+ X1 d& j7 _( Q& `
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open7 g4 k" D, D6 G) v" g
  1753. / E3 x( J& D& V- {6 [' c
  1754. ; Directory where to load mcrypt algorithms' R; P/ `9 @$ u/ [8 q/ ^. V
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ @8 m. `- z) ]/ E
  1756. ;mcrypt.algorithms_dir=
    ( f& b) O* i" G# M) q% X* T2 w" W
  1757. 4 z; ^4 q+ x$ `* R6 q# s" j
  1758. ; Directory where to load mcrypt modes
    3 r: A6 H4 M* R# p  Y
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" G0 o) f+ O2 r2 E
  1760. ;mcrypt.modes_dir=
    5 P9 i; ~2 i& f$ v4 V8 m6 t$ z

  1761. - C4 _+ |8 c9 ~* ^) b$ q! C% I/ w
  1762. [dba]
    ) B) Q5 P: [% Y1 z+ j2 K
  1763. ;dba.default_handler=
    ' w. }5 R8 ?2 j3 X( M
  1764. 1 f8 O5 N( o) C! O6 a/ C
  1765. [opcache]  X* ]( V% c% m- D
  1766. ; Determines if Zend OPCache is enabled
    ' ^9 w, U7 s8 x; z" A6 n8 o* I
  1767. ;opcache.enable=0! N7 n6 n) |4 g1 a. y9 s' |2 V6 q
  1768. ' b4 F0 @- P( {
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# [5 q/ N# S3 g4 @5 c
  1770. ;opcache.enable_cli=0
    ( a) _4 h4 {" _; G( p& c$ `& P/ e3 t. q

  1771. ( i4 x/ {) p# {5 k
  1772. ; The OPcache shared memory storage size.+ Z3 |0 [7 S  F3 }* T, y. E, I9 b. J
  1773. ;opcache.memory_consumption=64
    2 w7 z' `: }( B3 ~. Z' E8 M( B
  1774. ! F! A& R6 Q$ I6 G( v: o4 k: X3 C" d
  1775. ; The amount of memory for interned strings in Mbytes.
    - ?0 ~& w. s/ Z) r& ?9 o0 s, J
  1776. ;opcache.interned_strings_buffer=49 t3 D9 K0 C1 U9 w8 H

  1777. ( L% `1 {8 E! s
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
      }( Y5 j, C# A9 k
  1779. ; Only numbers between 200 and 1000000 are allowed.; r( g$ F$ D: p( a  m4 Y* K
  1780. ;opcache.max_accelerated_files=2000
    - M, |, S1 ]' B, \- U

  1781. 6 Z$ Z( k. y; c; G  T
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled., X; @  l" T/ D( d
  1783. ;opcache.max_wasted_percentage=5
    $ Q' Z1 z! k. I& q
  1784. 8 z( l' \. ~# L: G+ f
  1785. ; When this directive is enabled, the OPcache appends the current working
    % A# n9 E1 e" u; @( r% l" H
  1786. ; directory to the script key, thus eliminating possible collisions between
    3 A, @) D+ H6 L; `8 T
  1787. ; files with the same name (basename). Disabling the directive improves
    # f, n, u# M! O# i
  1788. ; performance, but may break existing applications.; E- e- j' V5 K5 f4 E6 [% L1 \3 G: J
  1789. ;opcache.use_cwd=1" j+ M& ^$ N/ F' A: e
  1790. ( @4 ?/ R* j- x" R' N4 O
  1791. ; When disabled, you must reset the OPcache manually or restart the; f/ Q- q. X% Z  A5 ~
  1792. ; webserver for changes to the filesystem to take effect.
    5 c' Q+ J6 U. p$ K! m" j: F
  1793. ;opcache.validate_timestamps=1' H1 ~# O' S) E, m9 j8 [. I- l
  1794. 6 x4 r$ w% t4 S# i, r
  1795. ; How often (in seconds) to check file timestamps for changes to the shared9 Y/ i0 u+ M4 O
  1796. ; memory storage allocation. ("1" means validate once per second, but only+ O# B+ l6 Z" q# ]  x4 r7 N
  1797. ; once per request. "0" means always validate)$ ]: F; J+ ~" _/ g- g% I8 f+ Z# y
  1798. ;opcache.revalidate_freq=2
    3 x# Y' ]0 i' V# D4 t# ?+ W, i
  1799. ; N" {# ?. M# s& h/ Z4 \) n
  1800. ; Enables or disables file search in include_path optimization
    , i% ]# d; E3 S7 b. m% J
  1801. ;opcache.revalidate_path=0) X; v  B9 E6 l6 Z* J" `+ n) A0 _
  1802. + D7 n8 o) b. e* I8 V) r+ J9 e
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; z0 r6 S/ k/ P' y0 h" k9 j
  1804. ; size of the optimized code.
    $ N. g3 }2 ?* k& y! N. b; U4 t
  1805. ;opcache.save_comments=1
    0 v4 e7 T/ M( j% q, `4 U8 `; o3 b
  1806. % `" m" S4 |* R$ m
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    8 N7 Y2 v" q" V# r/ n7 O' w
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    - V% z6 M' l4 }1 h, B
  1809. ;opcache.fast_shutdown=01 y( w& U) T5 n8 x5 e8 Y' `
  1810. % O9 @5 @, V# @7 ?% i5 c8 I, a, }
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    2 k* {8 t7 ^: [' l' o
  1812. ;opcache.enable_file_override=0
    ' C3 k+ N) P6 `( I
  1813.   B# ~; l0 I$ T3 b( x% L
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " M+ R' y1 t# Z8 |+ H
  1815. ; passes' D, d2 B( y3 [5 G  p4 p. d5 Q
  1816. ;opcache.optimization_level=0xffffffff
    # k5 D5 m! |2 u$ u0 a

  1817. ) t2 n- E# L* Z/ @- v
  1818. ;opcache.inherited_hack=1
    . o4 z6 ^0 n7 b9 H+ L. Q) s
  1819. ;opcache.dups_fix=0
    & n; H  X9 P6 i2 M" r

  1820. 3 d8 Y' t6 ]& U
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    4 s4 L, K# J2 m( D& F
  1822. ; Each OPcache blacklist file is a text file that holds the names of files* e( z1 E8 x4 a( J$ y( I8 o: l
  1823. ; that should not be accelerated. The file format is to add each filename' A: f; j9 s  Z8 v' q
  1824. ; to a new line. The filename may be a full path or just a file prefix+ V4 g' E1 M# \3 l1 d+ ]
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / c& q5 ~- w5 p. F
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).8 t* Z. k/ Z+ M
  1827. ;opcache.blacklist_filename=
    6 P. G' _" R; P5 z

  1828. 1 `+ O4 e: @* x. }
  1829. ; Allows exclusion of large files from being cached. By default all files
    & F. C0 l. Z3 j" }% I
  1830. ; are cached.0 }5 g1 T. m% d5 o
  1831. ;opcache.max_file_size=0
    # f4 Q& G4 ~0 T1 ]
  1832. 7 `6 Z+ n: t8 s1 |8 s2 ~$ z$ G
  1833. ; Check the cache checksum each N requests.) a' @/ [1 ]0 R4 [9 L" i- M
  1834. ; The default value of "0" means that the checks are disabled.
    2 b) q2 r7 g% w0 C! R( q, k/ F0 k
  1835. ;opcache.consistency_checks=0
    7 U$ ~. o& ^% G
  1836. 6 A( S% a/ F, {0 |6 k! c
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + o5 d$ S$ g  P( \  O* Z5 x: R
  1838. ; is not being accessed.
    ! V3 D4 W1 f# V/ e) T# i% u/ C# m# c
  1839. ;opcache.force_restart_timeout=180" w* {( x& p4 o2 w, u

  1840. 7 R$ ?( `5 l8 D  c0 x5 K5 [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".6 _, |2 P5 \' \# b+ f/ c: w6 ~
  1842. ;opcache.error_log=6 Y5 l# \5 t! \8 g, O: |

  1843. & N) ^  g; C4 w
  1844. ; All OPcache errors go to the Web server log.
    ' m! w  `/ s5 G  i, v/ I. @
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.) ]+ ?# M5 N$ ^  D
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ( C" e( `1 j1 S7 s: c9 K5 j0 X
  1847. ; debug messages (level 4).
    " k: [4 d4 |2 k& N8 E8 R+ r- C" p' i
  1848. ;opcache.log_verbosity_level=10 g8 |3 T4 V  a  V* D8 T, U3 X$ l

  1849. ' x% D0 a( I9 w
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.) [$ D3 C7 @2 L" ]: a
  1851. ;opcache.preferred_memory_model=
    ) C: \& F! |9 j  u6 _
  1852. ; [  X+ k. k& O1 u
  1853. ; Protect the shared memory from unexpected writing during script execution.* N# k# z2 n% |) g
  1854. ; Useful for internal debugging only.
    ; d* |; p' x( [& r. i
  1855. ;opcache.protect_memory=0
    9 f3 H( r1 `: Q. {' |6 q  Q

  1856. % P% Q( y" c! V+ S* \, x* b
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is* X+ |* \7 d# [# L
  1858. ; started from specified string. The default "" means no restriction# Y8 {/ D! ^. D1 s  g6 p  e
  1859. ;opcache.restrict_api=
    3 _; G; f# r: d8 L' M

  1860. " G& T" X" g$ {, \1 f6 b
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP+ h+ b- f3 m/ l  r! K! ]
  1862. ; processes have to map shared memory into the same address space. This3 Q  `7 ^+ d( y2 I1 M
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ) u& o: l1 J# l+ p, v% J& X
  1864. ; errors.
    5 v& L! S4 O5 ~4 |# m: ?
  1865. ;opcache.mmap_base=
    ! ~0 e5 C8 y  \$ j/ t+ }
  1866. ! [: K/ ^% d% f' t: `
  1867. ; Enables and sets the second level cache directory./ f$ c5 c6 j5 q* }5 B- h
  1868. ; It should improve performance when SHM memory is full, at server restart or
      ~7 o! @/ U9 T% M$ w. c( A. m
  1869. ; SHM reset. The default "" disables file based caching.: s: s( o) V; {
  1870. ;opcache.file_cache=
    & M* N) q( D6 o$ a7 Y

  1871. " U: f0 {# V8 s2 A8 W
  1872. ; Enables or disables opcode caching in shared memory.
    9 F& _7 n7 ]: @
  1873. ;opcache.file_cache_only=0
    8 ]- `. B0 y- H$ M% p, S6 h' Y- P% z
  1874. 3 I) s2 i, T# Z0 y
  1875. ; Enables or disables checksum validation when script loaded from file cache.( Y; e* a! j6 J  e" B
  1876. ;opcache.file_cache_consistency_checks=1
    # ^/ J: [2 l& m' N5 f& m4 h

  1877. - F- L1 u. {+ Y- ?0 F$ j
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to  y" P9 I# |& v$ u4 n/ r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ' I) U9 a4 r. H' E: S
  1880. ; cache is required.
    & ?# f& Q, w" K
  1881. ;opcache.file_cache_fallback=1" g: q0 Z# Y3 R
  1882. ; M& g' C7 \1 T
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( ?' ]* q, m+ o( H
  1884. ; This should improve performance, but requires appropriate OS configuration.
    " r0 M% U' V* y/ J5 |, {! [0 O
  1885. ;opcache.huge_code_pages=19 r- Q$ t4 s% p- h
  1886. * N' J- ^7 W9 X! l/ F
  1887. ; Validate cached file permissions.
    7 b9 p7 h* L7 U5 w! w  A5 q
  1888. ; opcache.validate_permission=0( z8 o+ N- W3 M( O, V
  1889. : D1 Y" F! A  w
  1890. ; Prevent name collisions in chroot'ed environment.* v3 g" T" a( v- D* _
  1891. ; opcache.validate_root=0
    " `6 d4 j+ c" o: y5 A
  1892. / j( ]3 r' k2 n3 Z, Y4 b6 _
  1893. [curl]
    * o6 h" q5 M* k+ V' z
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 E4 ^4 a. x( E2 ~  L; ~7 U
  1895. ; absolute path.
    # e8 M: m& S/ J
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 v* ~1 @" M  t2 Q

  1897. 1 C3 S3 R2 f! I  R# w
  1898. [openssl]
    ; v! \7 C5 e7 }6 V1 F
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 I0 X* z5 g; ~) p2 f; M& R- V( b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    / H8 C$ p9 h  o
  1901. ; not specify a value for this directive as PHP will attempt to use the
    % N5 i; V1 w. b% H9 `9 A
  1902. ; OS-managed cert stores in its absence. If specified, this value may still% a* D* [: N: V- I4 u- c8 V7 _
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 f/ C7 N( G; N$ l( p: b, K
  1904. ; option.0 l  ^: B. p* D3 p: O: i
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    & C* h  Z) w* G8 F# F. s" r; {
  1906. / d. L1 C3 ?7 X. G8 }8 ?2 k
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    / l+ R$ T! `# |8 b- P6 I7 D
  1908. ; directory pointed to by openssl.capath is searched for a suitable+ i" t2 g& |4 b$ H
  1909. ; certificate. This value must be a correctly hashed certificate directory.9 D; H# M  x% H
  1910. ; Most users should not specify a value for this directive as PHP will
    6 u  h; K. z0 A6 v/ C, X+ i
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & P  u, U4 }* m3 |3 O
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    . S6 H' y$ U1 o! B/ e
  1913. ; SSL stream context option.
    ' Z9 D( P/ ?2 O0 @8 \/ s/ w
  1914. ;openssl.capath=
    1 g. d6 @: s! }7 o! J

  1915. $ f, |9 U( u5 ?2 Z# A# Q
  1916. ; Local Variables:
    ! m! V* ~7 k; z" n$ K. m; b0 j$ W/ B
  1917. ; tab-width: 41 R7 L' d& u  ^/ B5 p% g
  1918. ; End:
    9 G1 T$ L# A; J; M
  1919. 7 O, A: _3 \4 a' }
  1920. ;eaccelerator: l& U' l; i; A% M5 W2 c

  1921. " [( \) B: l* e
  1922. ;ionCube; R1 l8 d# L" H0 j
  1923. 1 A( B* c, E' @
  1924. ;opcache) @& W, ^& m  \: t/ B9 r' C

  1925. ' A( y6 m! \* q4 [$ p. b: ?
  1926. [Zend ZendGuard Loader]
    2 i1 q; m5 X4 w" O9 X0 W' t, P( _; j
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) A2 l' L( H7 l/ g3 Z# }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so/ p9 z. `, M5 g! C% A
  1929. ;zend_loader.enable=1
    3 d- s8 T  f2 \1 _
  1930. ;zend_loader.disable_licensing=0/ x/ M  w( T- |1 Q
  1931. ;zend_loader.obfuscation_level_support=3
    5 y0 _8 P( q/ I& ^" y
  1932. ;zend_loader.license_path=' t# ^7 R' P( ^, w0 _& Z; b
  1933. . p5 E" t$ s8 K% g* |
  1934. ;xcache% J4 r* X1 \# g8 \% q

  1935. $ Q" I! z% W$ c+ i
复制代码
) z( i  Q4 Q7 H. x: ~% g; V$ f

' ?% M8 T. C4 g3 _' X- i, M5 _  m8 x, [1 i& e& R

; }, g# w) H) S9 ?- V& n
) b' N/ C* I& Q8 f1 {. [2 l2 T1 B/ ~4 a" X2 j

% V# G9 }, G" j" b5 ?PHP5.6版本原始设置$ E% `! E: P% Y3 f- A3 L

# b/ V7 R! [6 `( C" v, d! I
  1. [PHP]* \, E+ v5 Y0 c) t2 Y

  2. 3 O7 \/ s& V% G- T( G" e
  3. ;;;;;;;;;;;;;;;;;;;
    6 ?! a  q4 l* t! {# n
  4. ; About php.ini   ;6 H% Z8 h. d+ z2 j5 s1 x9 i
  5. ;;;;;;;;;;;;;;;;;;;  L  S/ A* ~3 m0 e0 z+ ~' l5 I8 g
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 O, p  j+ t4 [+ h7 c
  7. ; configuring many of the aspects of PHP's behavior.
    - _0 }: P! [5 i( {" t

  8. + q4 ~* C0 I  S* E/ ?1 u8 W
  9. ; PHP attempts to find and load this configuration from a number of locations.
    3 v2 Z4 P  [! H+ a
  10. ; The following is a summary of its search order:3 n2 `* N, n3 j8 E3 X
  11. ; 1. SAPI module specific location.  c% x9 Q2 j3 |4 s4 z% M
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    : z( \2 P$ T+ c
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 n- K5 _+ j& A* O
  14. ; 4. Current working directory (except CLI)
    7 {7 S6 Q' w  g; @4 o, ~6 W' F+ u1 B
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP8 E% M. i' m0 b) Y) D( k
  16. ; (otherwise in Windows)- B& R# |" E" {; s
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    . I2 J+ g' p# N% t* M
  18. ; Windows directory (C:\windows or C:\winnt)8 s5 ^. D' ^% z, d1 B% ^: K
  19. ; See the PHP docs for more specific information.
    4 O  V* M# z+ V& h/ e
  20. ; http://php.net/configuration.file# `/ J! X$ P1 ?0 q/ T# e

  21. - s0 r9 j4 `4 h3 K. f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    . {% W+ W- T# S9 j; [0 j9 B0 L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    $ c# e/ d  v+ |$ E/ p
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    " O! ?' q/ `1 R# e# X, a2 q1 n
  25. ; they might mean something in the future.
    ! [% Q/ a& V$ u8 u9 u; c

  26. ' |, z& c1 f, j6 y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * b  m7 U! h; W& D
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( Q' y  N, {$ d; _
  29. ; following the section heading [HOST=www.example.com] only apply to" S; C* G% f& e+ z% C
  30. ; PHP files served from www.example.com.  Directives set in these
    ; I6 N7 P7 X, ?) u8 Z3 r: F/ ~
  31. ; special sections cannot be overridden by user-defined INI files or' J4 k* E) M4 l, B
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' `& d9 l5 T: [  g4 |  S
  33. ; CGI/FastCGI.' j7 u- g1 y4 L' V% T& y
  34. ; http://php.net/ini.sections9 E5 [9 I; `* ^, v4 Z1 H' Q
  35.   O( O, u. v$ B" U, W
  36. ; Directives are specified using the following syntax:
    * d- l4 ^& k+ P6 i. ]
  37. ; directive = value) Q9 k  q, K+ |& d, M
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.& O/ `  t" T3 ]% z3 b) s
  39. ; Directives are variables used to configure PHP or PHP extensions.
    - C3 v# X4 X* G/ n5 ?/ ~
  40. ; There is no name validation.  If PHP can't find an expected
    , q* Q9 X4 H7 A# X: U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    2 m( f6 e; ?' H! a/ l3 k

  42. 8 c8 Y- s. S- U9 g3 d( H% ?/ M; i, Y3 `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 K; j6 u' `( [* F! m, n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      h3 x+ [# Q6 X5 a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a3 R, ~' D" B1 V( d6 m
  46. ; previously set variable or directive (e.g. ${foo})- Z3 W# J: Z6 w  O

  47. # q$ {6 j0 m* a7 l8 E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
      }* V# B, ]3 B* @, s; g
  49. ; |  bitwise OR
    2 |6 @% \. [" v5 E
  50. ; ^  bitwise XOR
    ' W4 L) ~6 B+ l, g) ?! `" F
  51. ; &  bitwise AND3 w1 {8 B$ m8 i3 G
  52. ; ~  bitwise NOT
    / j, E; ^0 {" M: b" L2 N
  53. ; !  boolean NOT; l( r' r. Y& m* m: ^0 Y2 p; }* B

  54. 0 n5 |5 [3 q" V" t/ c0 ?5 H
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      u( ^, X: V6 y% B6 W1 A
  56. ; They can be turned off using the values 0, Off, False or No.7 E2 S' U# R; ~6 z
  57. 0 c/ `! C6 k  H. l+ ~; d
  58. ; An empty string can be denoted by simply not writing anything after the equal* R4 R2 R; n- Y+ q8 I
  59. ; sign, or by using the None keyword:
    7 t' g9 _1 r7 d+ e; L: R' t9 t+ v
  60. ) c' j; [- R3 ^( t" s$ e
  61. ;  foo =         ; sets foo to an empty string# n6 q4 c4 I' p8 o
  62. ;  foo = None    ; sets foo to an empty string- d$ _7 _. z# @# @( n  P% H) Q  z
  63. ;  foo = "None"  ; sets foo to the string 'None'. s/ H4 u* Z# F: d; ?7 F6 T$ c; u

  64. 5 ~. G( t. o2 r" y
  65. ; If you use constants in your value, and these constants belong to a8 j/ P6 a, E1 u# d8 m# v* H/ {
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & y  D5 O! k; T5 z
  67. ; you may only use these constants *after* the line that loads the extension.
    5 k% y! W# w8 `* F% ]& K; c

  68. 8 Y5 M4 u8 e; `+ `7 m8 a# u
  69. ;;;;;;;;;;;;;;;;;;;  N( C, m( A8 ?8 c7 M; W+ X  H
  70. ; About this file ;$ L# P* b) _3 l1 m
  71. ;;;;;;;;;;;;;;;;;;;( c" a/ g, \+ `5 x2 c
  72. ; PHP comes packaged with two INI files. One that is recommended to be used/ _! q9 i5 x- W
  73. ; in production environments and one that is recommended to be used in9 T4 y- g0 L" I
  74. ; development environments./ P, f  w0 z' O1 l( w, [2 `
  75. # P5 x+ b* _' ], k% O1 Y- \' l
  76. ; php.ini-production contains settings which hold security, performance and/ \1 L: j6 K- a1 \
  77. ; best practices at its core. But please be aware, these settings may break
    ' B0 I& j8 g2 t8 i. \) j
  78. ; compatibility with older or less security conscience applications. We2 C% C) `& @% m. D1 c( g
  79. ; recommending using the production ini in production and testing environments.5 n. }$ i. P( |
  80. " q' S4 Q7 N! f9 A7 K
  81. ; php.ini-development is very similar to its production variant, except it is  K+ H3 Y& l2 Z( R# H
  82. ; much more verbose when it comes to errors. We recommend using the: E+ ~+ G& x  Q. q' u4 Y
  83. ; development version only in development environments, as errors shown to
    $ d) y9 b7 K+ r
  84. ; application users can inadvertently leak otherwise secure information.
    7 |* k; i6 k; A( r" J2 c
  85. * J- \& P1 I9 H$ ^, j, a/ {" `
  86. ; This is php.ini-production INI file.
      B8 t8 N* S; V8 d+ f7 B, v

  87. + X7 v0 e. d0 h
  88. ;;;;;;;;;;;;;;;;;;;
    . t* c4 u, t; G
  89. ; Quick Reference ;
    0 I. ~+ n4 M  i% p
  90. ;;;;;;;;;;;;;;;;;;;0 ]; T3 y6 |( |$ v- l9 U
  91. ; The following are all the settings which are different in either the production+ z5 g) ?# H* N) ~: p  k+ y, k( `
  92. ; or development versions of the INIs with respect to PHP's default behavior.$ o$ r8 P( j/ n( k1 H3 x$ h! A; x" t
  93. ; Please see the actual settings later in the document for more details as to why) d' l0 F5 f% f0 W1 Z% ?
  94. ; we recommend these changes in PHP's behavior.
    4 H. Z0 S% |# B6 I6 l$ U. ]1 f

  95. : D0 l+ L2 R# e7 l3 _
  96. ; display_errors
    " e( _8 ^  A/ A, P# H% R/ n2 U9 R
  97. ;   Default Value: On
    & m0 h- @' A" c$ e$ I  h
  98. ;   Development Value: On
    , o* a5 w4 d( `: E/ [
  99. ;   Production Value: Off( f  \" v* H( c0 i# a- l

  100. - h5 O/ y  d- t1 B4 J7 y. U
  101. ; display_startup_errors, ~3 I  R! k$ q) F* `) [4 b
  102. ;   Default Value: Off$ R) `( F/ o, y) o5 J9 c' {
  103. ;   Development Value: On9 \$ |: F2 u$ T  i* [* t  S
  104. ;   Production Value: Off8 Q5 z' L; V+ Q( [5 c

  105. ! ]" N9 p# M& d, x0 I# a) m
  106. ; error_reporting, Q, g: U5 c: ]6 T" m' m' q2 }
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! Q, m; o* B! K: \% O5 _3 v
  108. ;   Development Value: E_ALL* _0 a$ ^0 w; }6 `$ p
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 }! }% a3 o! e. Q0 s; C1 @) ^, |

  110. : a' g7 k$ r4 j* \6 C
  111. ; html_errors# \" |. D- D8 [
  112. ;   Default Value: On
    0 p. T9 W" w$ p( ^. o5 H  A
  113. ;   Development Value: On
    ; U+ c# g  D6 W. n! R6 r& j
  114. ;   Production value: On8 r$ D+ Y- U3 C4 y1 v" G# A& B: ~4 d

  115. / B" J/ o, P* |' ], j
  116. ; log_errors
    ! d" Z- q1 R: o1 F6 A  |
  117. ;   Default Value: Off2 T' E, s! O; |% P/ `1 z
  118. ;   Development Value: On
    & M, V& U* e# Q1 ]0 o+ o
  119. ;   Production Value: On8 V2 e6 M/ D# ^4 ?

  120. & B# p$ u, V/ _+ x/ A
  121. ; max_input_time
    1 w2 _- s+ A% [# r
  122. ;   Default Value: -1 (Unlimited)
    ' g* X  f9 R) M# S+ [/ v
  123. ;   Development Value: 60 (60 seconds)
    1 n: }6 C% n2 k, X  r0 u. c" O
  124. ;   Production Value: 60 (60 seconds)
    7 ~: \! ]0 [3 k3 _
  125. ' @( b4 V4 h% s. x
  126. ; output_buffering3 [5 y# r, y/ `% R! ~
  127. ;   Default Value: Off
    ( G, g; ~, K  O5 p
  128. ;   Development Value: 40963 H( W6 Y% A" G: j
  129. ;   Production Value: 4096, M* E, u" r. B, Z. M# d

  130. 8 t8 }0 z: R/ T5 n4 F8 z
  131. ; register_argc_argv
    1 `/ J+ l3 q/ ]/ Q& Y$ `
  132. ;   Default Value: On
    ' x1 I8 k( H# @/ }- V! q+ k. i+ `( l
  133. ;   Development Value: Off2 ~' I; h/ {! g3 G& @
  134. ;   Production Value: Off
    $ h: C& O( ^* i$ h* J' v0 N
  135. 8 J+ l, F# g4 Q% O! X
  136. ; request_order4 l6 _, C4 C. J
  137. ;   Default Value: None' r/ u: W3 B8 V- J! @
  138. ;   Development Value: "GP") A$ O: O4 p0 s
  139. ;   Production Value: "GP"
    - |2 g6 w4 b1 i/ Z
  140. % N0 K2 y- e2 v1 K5 O
  141. ; session.gc_divisor
    9 a; u+ `8 H9 v  Y+ J' W7 G
  142. ;   Default Value: 100
    + Q2 x* [! U. ]5 F& x8 Y' R
  143. ;   Development Value: 10008 q8 Q( t) w9 [3 K
  144. ;   Production Value: 1000
    ) b' q; T3 h( x% r& L
  145. & s8 K: c6 F4 ]; r6 x- W) `
  146. ; session.hash_bits_per_character
    - j$ L  ^9 c  A' A$ U
  147. ;   Default Value: 4
    3 d& y" ^( l# Q/ t# ?0 u  _& X' o' R
  148. ;   Development Value: 58 u& E; h2 s6 l; h0 Q
  149. ;   Production Value: 5
    4 l1 \: U8 H, T& l0 B5 N. k

  150. % j6 A4 L4 z! L, I" _! W" z
  151. ; short_open_tag8 f$ k) z: k! y+ i
  152. ;   Default Value: On
    ) |+ z$ T2 x) @' b  w
  153. ;   Development Value: Off/ f( S- x9 a9 {  w
  154. ;   Production Value: Off7 o& `' U- M0 W
  155. - i- r+ a* @" Y1 R. V
  156. ; track_errors: h" Y, |0 F, |2 {- N1 S
  157. ;   Default Value: Off
    / B4 H$ ]. V9 @, q* X
  158. ;   Development Value: On
    / A1 u8 Y( {  P& {/ j1 x
  159. ;   Production Value: Off
    7 a# g4 Q! }, ]) F

  160. 2 }/ {* j& A3 `% ]# a2 H6 B
  161. ; url_rewriter.tags
    6 s+ K  s3 `' v
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ B9 n0 v& _( w1 L7 P. |, K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", b* X5 S/ k* _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % j; G9 q. u& f% l* _! q; [

  165. 9 r' b8 k' Q$ ?/ h% `, t' k! i  d
  166. ; variables_order
    $ c/ G6 D# D  N
  167. ;   Default Value: "EGPCS"7 V9 p, h0 R6 ^" v. f. u
  168. ;   Development Value: "GPCS"0 I1 ~% _0 A) C2 H' M7 u$ @
  169. ;   Production Value: "GPCS"% o: W+ g# W4 V: D5 H5 V1 d0 j+ M+ ^" q

  170.   a3 {2 P! i& F7 p
  171. ;;;;;;;;;;;;;;;;;;;;
    7 \+ N9 D& Q4 f6 A
  172. ; php.ini Options  ;
    : x: ]; Z  L# e1 H
  173. ;;;;;;;;;;;;;;;;;;;;. s9 j) [$ [+ q! F
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"3 S; t" U1 u. B3 D
  175. ;user_ini.filename = ".user.ini"
    % D3 e3 P$ r; G1 A. c9 F

  176. 5 C) i# G: m0 {2 N1 B% Y0 D
  177. ; To disable this feature set this option to empty value8 K9 G% o; v: b2 {; H
  178. ;user_ini.filename =
    % B; f5 [% o4 H/ H$ k
  179. ; L- U+ V5 L' m) H/ v8 w: o; j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) U7 h- U6 W; \/ X% o  l$ X/ O
  181. ;user_ini.cache_ttl = 300
    ; l& D' |. s/ B( ~
  182. + S& R5 h6 h2 G
  183. ;;;;;;;;;;;;;;;;;;;;
    ' C, R. r# n' ~8 ~" q# W' g
  184. ; Language Options ;. y, O0 R2 y- ?# [* f) d
  185. ;;;;;;;;;;;;;;;;;;;;
    # c' Y* r  w" i: A1 ?- G$ i

  186. ( y# ~, r8 }( _5 w0 Z4 a
  187. ; Enable the PHP scripting language engine under Apache.
    2 }3 l% `2 q6 T" ]4 M) z4 g' s" Q3 ^
  188. ; http://php.net/engine
    7 L- i3 _! X# L- ^8 h6 v; u+ W
  189. engine = On
    6 ^' h0 D, }2 K4 |1 W* p

  190. 1 h: d( I: \/ \8 C5 O. S9 t# \
  191. ; This directive determines whether or not PHP will recognize code between
    + O" R9 n  R0 j5 C$ o' f6 z3 y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    0 T1 }4 N9 w+ ^7 R7 g  j
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) d" H  c* P3 K9 s  j' a- F
  194. ; should be disabled, as enabling it may result in issues when generating XML$ u/ S  B* U$ |9 ?' D% u
  195. ; documents, however this remains supported for backward compatibility reasons.2 x9 T& N: z3 _  ^) Q3 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be6 U  m$ f: y2 S' \  ?. M* B
  197. ; used regardless of this directive.
    ! n% E8 r" i3 v0 r2 p
  198. ; Default Value: On; T9 c9 b; x; j* ^
  199. ; Development Value: Off8 R6 B- _! I( }
  200. ; Production Value: Off
    8 i3 w3 l/ m2 F. Y* P: ]( t, r- c
  201. ; http://php.net/short-open-tag
      d, \2 n1 i) X3 n. F
  202. short_open_tag = On$ w5 m- Z% c* N% \) z% L
  203. * I( X6 `( g$ o4 T, k
  204. ; Allow ASP-style <% %> tags.$ D5 [' X8 K2 n  n# |: H
  205. ; http://php.net/asp-tags
    - j0 c: \( _% ], s
  206. asp_tags = Off
    6 `1 D1 |2 u: c# t; r

  207. 1 P  t& |+ I; d- R6 d
  208. ; The number of significant digits displayed in floating point numbers.
    ( t8 @: b" N  m+ I# p) A& ?
  209. ; http://php.net/precision
    0 E! [# _# M9 w* t" `0 k( ]
  210. precision = 147 @' ?  j' P6 W3 H
  211. 4 X8 o! I% L! c* R1 ~+ u. p6 L
  212. ; Output buffering is a mechanism for controlling how much output data( [1 A& ]( L; ]. b6 j
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    + s  r- @% n! A6 h! R
  214. ; data to the client. If your application's output exceeds this setting, PHP
    9 n$ ?. A* o5 P5 g4 m9 g
  215. ; will send that data in chunks of roughly the size you specify.
    9 x+ w9 F1 s4 x# s3 W. q7 z& m# O
  216. ; Turning on this setting and managing its maximum buffer size can yield some8 i' X5 K! R8 z+ O
  217. ; interesting side-effects depending on your application and web server.
    6 Z' i5 M5 H" n9 Z' N# _9 ^2 O
  218. ; You may be able to send headers and cookies after you've already sent output
    3 e' l4 I% s! B4 U: z
  219. ; through print or echo. You also may see performance benefits if your server is
      Q# M/ @0 Y: V; t* ]
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    0 `* ^6 n+ R- A' D" a5 S. J6 t
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( Z1 w% N$ p3 E- ^4 w$ b( @
  222. ; reasons.
    . e: i% t- W+ Z
  223. ; Note: Output buffering can also be controlled via Output Buffering Control- a* z4 Z( L% c
  224. ;   functions.# _  z( h. [# g4 w9 H2 `
  225. ; Possible Values:5 n& V# A# Z/ _3 O5 M$ z4 Z% n0 t
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; t" T9 x4 e3 b+ X+ O
  227. ;   Off = Disabled+ U6 M9 d" Q; q" A
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes., N+ L! W" b, w" |
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI: K8 k) Z1 ]& ?* `
  230. ; Default Value: Off2 {4 I2 j  _9 v8 L; B8 l; u
  231. ; Development Value: 4096
    % W: G; r& Q& O/ K$ i: U8 T
  232. ; Production Value: 4096
    - Q/ e. G9 X9 H% o
  233. ; http://php.net/output-buffering
    ) H  |5 _/ V/ X$ W: Q
  234. output_buffering = 4096
    2 J+ Z# n8 _7 `( X

  235. 7 U% O) b& B7 G. G" a
  236. ; You can redirect all of the output of your scripts to a function.  For' }; S. c  ~, j" A6 R4 l
  237. ; example, if you set output_handler to "mb_output_handler", character$ }% x" j6 h: }/ q$ }# s& T
  238. ; encoding will be transparently converted to the specified encoding.
    0 U/ `: u: h) q  G* Y
  239. ; Setting any output handler automatically turns on output buffering.
    , m5 j/ S7 n; T7 B- |( K' ]
  240. ; Note: People who wrote portable scripts should not depend on this ini
    0 w! g$ o$ E9 g5 U  @
  241. ;   directive. Instead, explicitly set the output handler using ob_start().. B2 {( \1 o3 x3 `5 L% F; ]
  242. ;   Using this ini directive may cause problems unless you know what script% ?$ Q$ V# R) D
  243. ;   is doing." K7 d  p3 K% o9 [4 W
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + \4 L! j. }9 q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ( C4 B! I! @4 m- d$ E
  246. ; Note: output_handler must be empty if this is set 'On' !!!!' p+ L" S: a5 r6 o: }- d
  247. ;   Instead you must use zlib.output_handler.: Q. o4 W) d9 U' i' E1 }
  248. ; http://php.net/output-handler  x$ p! X: j! C: l/ v+ Z7 ?# B, x
  249. ;output_handler =) i0 {! F2 \/ P, W
  250. 6 p! m4 ^$ ?% w; p
  251. ; Transparent output compression using the zlib library
    3 b, j  p' z0 J+ O0 O
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ! J- A! _/ f9 W& w4 s
  253. ; to be used for compression (default is 4KB)8 e& O; |/ c. [
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ \: U+ M, F( P. v
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    / h7 G2 b' i0 f5 f! R
  256. ;   compression. If you prefer a larger chunk size for better7 Y5 l) u. }4 b' a- q& r- x7 x
  257. ;   performance, enable output_buffering in addition.
    $ e7 O9 ?) v* P. f( u! s/ u6 q1 H
  258. ; Note: You need to use zlib.output_handler instead of the standard
    & R# s0 O+ {7 @
  259. ;   output_handler, or otherwise the output will be corrupted.6 T+ W. `7 X1 Q
  260. ; http://php.net/zlib.output-compression$ _  h1 K; C: |5 y
  261. zlib.output_compression = Off
    3 N2 K$ e" N& ?! D" T8 |; w9 Y
  262. * }; G% ?% X% \8 ?) s, d
  263. ; http://php.net/zlib.output-compression-level
    ; U0 l& V' B1 `3 Q) u" k3 a
  264. ;zlib.output_compression_level = -1
    ( S4 r* d+ e  t# o" g

  265. * |4 q. Y, m% o, ^! w
  266. ; You cannot specify additional output handlers if zlib.output_compression
    2 L7 m, \- ]+ G' [- J. X- c
  267. ; is activated here. This setting does the same as output_handler but in
    ! N1 f4 ~, a. H, x
  268. ; a different order.
    1 [# A5 g% q$ O# H) [
  269. ; http://php.net/zlib.output-handler
    1 P: e/ g! r4 z( ~2 t, I
  270. ;zlib.output_handler =4 X$ Y$ T; g. |( d! D
  271. 5 ~9 X7 |' t1 ~! {/ q; T% E
  272. ; Implicit flush tells PHP to tell the output layer to flush itself# ]& G. a2 x  {( ]9 v# y' d
  273. ; automatically after every output block.  This is equivalent to calling the
    7 J. o7 S7 t% X! h. K% H
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : \; ^/ ?3 P5 x" f* G
  275. ; and every HTML block.  Turning this option on has serious performance5 i" n2 Q  i+ P' {+ D0 U8 y
  276. ; implications and is generally recommended for debugging purposes only.
    ' u! R) ]; M* j
  277. ; http://php.net/implicit-flush
    4 A8 S( e2 \- V0 R4 t; Q
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    & }4 V! ]1 K$ D6 v
  279. implicit_flush = Off/ p2 M4 a( E+ R, C* f' S* P
  280. + A  P+ d$ X1 [: ~3 [4 W
  281. ; The unserialize callback function will be called (with the undefined class'
    ; g5 ]3 a0 {7 q* C' ?
  282. ; name as parameter), if the unserializer finds an undefined class; ]1 U9 J: B$ m. g) @/ n' o
  283. ; which should be instantiated. A warning appears if the specified function is
    $ d8 M: b" W3 u
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # t5 f: C3 {7 R, T$ O
  285. ; So only set this entry, if you really want to implement such a- B5 r) t* e" u4 h2 [
  286. ; callback-function.( ?. d) F: y2 W# F6 Z
  287. unserialize_callback_func =0 S+ k1 r& v5 p/ t0 P

  288. 9 N/ x8 Y5 Q7 S) n2 E! J
  289. ; When floats & doubles are serialized store serialize_precision significant& q( I4 Z0 m* F$ A
  290. ; digits after the floating point. The default value ensures that when floats+ t/ D- l1 |& [6 K, x1 y( p
  291. ; are decoded with unserialize, the data will remain the same.
    , r' }3 v& L8 @5 V4 L# C: `- t
  292. serialize_precision = 17
    , S  L1 F* Q; O
  293. 9 f. ~; [/ q& @5 B( E
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # @; e3 S7 ^5 s6 u
  295. ; and below.  This directive makes most sense if used in a per-directory
    6 e  Z5 d3 |. H0 \/ C
  296. ; or per-virtualhost web server configuration file.. }+ b7 B. Q: s$ j: E' x/ U+ y' M
  297. ; http://php.net/open-basedir" a0 Z4 w) R  ?4 ]& f% R
  298. ;open_basedir =2 U0 E1 b8 N7 x7 @3 i. t9 W

  299. + `4 `% f1 ~1 L6 K2 Z+ t
  300. ; This directive allows you to disable certain functions for security reasons.
    + D- [( [5 j" q- }
  301. ; It receives a comma-delimited list of function names.
    9 c/ l  B& @- U3 X  p/ x% h" m: m
  302. ; http://php.net/disable-functions, p# c$ D- y$ d0 @. P9 x
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    3 ^5 l: v. ?, O, A- E

  304. . o3 j6 o& L" [
  305. ; This directive allows you to disable certain classes for security reasons.2 t# W  ]+ X* ?- f
  306. ; It receives a comma-delimited list of class names.2 C$ i9 O" d3 V% A
  307. ; http://php.net/disable-classes. _8 l0 Z+ F+ F# P! b
  308. disable_classes =4 r- r1 U( k- P8 c* W

  309. , w; c$ H, [* e( f1 K9 c8 p, I
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 w$ n' j: q0 w
  311. ; <span style="color: ???????"> would work.
    $ h7 h* x* r4 X. w$ s
  312. ; http://php.net/syntax-highlighting- x+ B  S" E5 r" w2 s% l
  313. ;highlight.string  = #DD0000! Y7 z2 S" {- |! u3 Q  x
  314. ;highlight.comment = #FF9900
    " A, I6 p4 g1 |. H1 Y- q
  315. ;highlight.keyword = #0077005 @3 ^' m: K3 B( w
  316. ;highlight.default = #0000BB5 {# P4 v( @, w4 G
  317. ;highlight.html    = #000000* |/ j# A! T, V

  318. 6 y1 R# s5 |& y6 |0 a3 T0 e
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    / s( c2 }! d& u7 K/ ^
  320. ; the request. Consider enabling it if executing long requests, which may end up
    & ^7 k! L' l/ v, J4 g
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior0 V  g$ J, ~6 R( S% F6 D
  322. ; is to disable this feature.2 B7 x* {2 k8 ]5 C" U+ W! T$ }
  323. ; http://php.net/ignore-user-abort
    5 U  C% E' \! e! b' W$ c7 x/ f: n
  324. ;ignore_user_abort = On
    * U8 x, U7 ]* m; h7 K

  325.   Y) e9 u7 A& g) u% r' q
  326. ; Determines the size of the realpath cache to be used by PHP. This value should7 }1 S; T/ z4 V- N
  327. ; be increased on systems where PHP opens many files to reflect the quantity of! L; |# ^2 W+ x7 N3 `1 \$ C
  328. ; the file operations performed.
    " F  I" L# y( H$ t0 t0 |  t4 Y
  329. ; http://php.net/realpath-cache-size
    + L8 z3 ^9 t: u4 F- _% q
  330. ;realpath_cache_size = 16k: T3 v# F1 }$ I& H
  331. ) j% K1 G. l0 p( A5 B- l* q
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    4 E0 c" j! v/ }7 m  s
  333. ; file or directory. For systems with rarely changing files, consider increasing this6 A; D2 |5 H9 S  |
  334. ; value.% R, v+ _5 `" i) x
  335. ; http://php.net/realpath-cache-ttl
    6 `8 K8 J, C. \! r: z
  336. ;realpath_cache_ttl = 1207 ~5 y" f2 F5 b) U% g& F; x# |/ ]2 r
  337. , c& A, ~' Z* d( l& N
  338. ; Enables or disables the circular reference collector.1 I& L- ^1 o* [& o
  339. ; http://php.net/zend.enable-gc
      v4 \" d5 D6 j; u& L! x5 Q
  340. zend.enable_gc = On8 [  C3 _% v4 r9 ?

  341. : r" s2 b' j% ]# |% o. ]6 v* W
  342. ; If enabled, scripts may be written in encodings that are incompatible with1 l! ?, H5 @  d* S* ~5 B
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 R% b* c8 p, ^" C
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # O* o& @1 M% F- Q) R& V
  345. ; Default: Off0 Y3 C. c/ ^2 A$ H4 t
  346. ;zend.multibyte = Off; S7 ]7 o3 L4 g8 t0 c
  347. . m" p1 }/ B% h/ A' ?/ E+ W
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ; ]/ `; h* f7 g5 x8 T  W3 q  V3 Z) N
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.' M7 u  C5 D6 ]
  350. ; Only affects if zend.multibyte is set.9 j& @) d- x5 q5 J& _6 n7 _8 K+ ^. h
  351. ; Default: ""
    % y7 N+ E  ~8 q; l  }# o' ~
  352. ;zend.script_encoding =
    7 @7 A' F/ m4 |! g9 ]

  353. - P& l& g( Z+ R2 ^9 ]7 U# |
  354. ;;;;;;;;;;;;;;;;;
    0 z; t/ d9 B6 l" I, k
  355. ; Miscellaneous ;7 N( C2 y" u3 ?2 j
  356. ;;;;;;;;;;;;;;;;;
    / h$ c& g! E* D) @1 B" J
  357. * y5 ?: ~) K7 R! L1 z
  358. ; Decides whether PHP may expose the fact that it is installed on the server- ^+ m$ K" W: x! }9 k
  359. ; (e.g. by adding its signature to the Web server header).  It is no security, C) U/ f. e* H" C: p, P) W& i
  360. ; threat in any way, but it makes it possible to determine whether you use PHP  T9 a, T3 r, Y1 T) f" D
  361. ; on your server or not.' I# y( \8 G: D& z! ]: V
  362. ; http://php.net/expose-php9 F. P  P0 u7 W7 W- K
  363. expose_php = On% U# A, ~) C3 s% f0 Z( N
  364. " J1 J0 e$ j6 C! i9 |( @2 t) ~' u* Y" H
  365. ;;;;;;;;;;;;;;;;;;;
    - E' K3 R% w6 S- e' N
  366. ; Resource Limits ;  @8 `+ G; L: Q$ G6 J
  367. ;;;;;;;;;;;;;;;;;;;6 g" O- P- p# N/ F' q5 c

  368. # M1 A; w+ l( c3 K
  369. ; Maximum execution time of each script, in seconds
    * k. W, n& n9 G( X" F
  370. ; http://php.net/max-execution-time. k; M$ `, ^4 S8 ~0 i. Y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ G# D. T! ~" I2 ^) l4 ]
  372. max_execution_time = 300
      z- B& x! W0 {

  373.   W3 |. D1 z6 L6 N3 d/ J
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 \* v( m/ I2 N2 X
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    % h# l7 L5 e: {1 H  Y
  376. ; long running scripts.) i$ j8 m" `4 U  h# t/ X
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI( ?- R5 B/ o/ D9 C! d
  378. ; Default Value: -1 (Unlimited)
    2 s/ C+ a& [# D1 A' O  @; B
  379. ; Development Value: 60 (60 seconds)
    ! D7 e7 s; a6 J: F) g
  380. ; Production Value: 60 (60 seconds)
    7 |5 l( |& s: ~; R' E: ?" E% I
  381. ; http://php.net/max-input-time
    ) n1 E8 ~! b9 B7 Q$ f, o* P8 |
  382. max_input_time = 60
    / p. E$ p" d2 b9 W- t+ ~

  383. # x% r. B0 f1 h! o! W" p  L2 l' R2 e
  384. ; Maximum input variable nesting level
    ( c3 z0 @8 @4 t# M  d6 D& M
  385. ; http://php.net/max-input-nesting-level7 W) t' p  w  C. k0 C+ I9 Q
  386. ;max_input_nesting_level = 64
    : C' K7 G1 {9 h! r) n0 P* b
  387. & L* L* ]( \$ V6 i
  388. ; How many GET/POST/COOKIE input variables may be accepted: \) I& b8 b& [) p
  389. ; max_input_vars = 1000
    / t9 L( g: z. o9 f! k/ _

  390. 0 p' c0 y" n# q( Q
  391. ; Maximum amount of memory a script may consume (128MB)& R- [1 k4 C# I
  392. ; http://php.net/memory-limit
    $ ?, r+ Q( j/ l6 k% Y! i9 b
  393. memory_limit = 128M+ z9 l  y" d5 e5 n+ R6 w

  394. 9 P# ]7 q$ ~* Y. G) i$ [
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 E, y8 K8 D/ i' t' l! x$ A
  396. ; Error handling and logging ;4 I! P  X3 K" \% ?+ u- {- b
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , `& \; H. @8 `
  398. + T- G" T' `1 F! `+ }, k! k
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    , s3 }8 E  f8 x2 `7 E
  400. ; it to take action for. The recommended way of setting values for this: ?9 D# K; l: R" [" |' Q
  401. ; directive is through the use of the error level constants and bitwise# J) V% g" C9 E' N
  402. ; operators. The error level constants are below here for convenience as well as
    . L7 H7 k# h' ~
  403. ; some common settings and their meanings./ k% c3 \- f% v' N( D' A) }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 @/ v: t' O; v- h; q* E9 B
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; p" M6 z/ t$ P: X1 l! }
  406. ; recommended coding standards in PHP. For performance reasons, this is the0 z& B) b/ h6 M" P; n
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; F5 h) s! |: g: `! q  D  `2 W
  408. ; resources complaining about best practices and coding standards. That's what
    3 \$ t3 t% E, `! p+ }
  409. ; development servers and development settings are for.
    % z" q8 n* N# x+ Q
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    * u" B& u. }: a, C% v) u1 ]
  411. ; means it pretty much reports everything which is exactly what you want during1 B: Q8 f0 o" C! j0 Q2 |; ]
  412. ; development and early testing.3 ^( I* j8 V0 Q2 k6 l0 h+ u
  413. ;
    3 _0 @" k. V; [9 i2 b
  414. ; Error Level Constants:( u* s/ M6 a  S
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    9 ~; V- Z3 ?& ?* S
  416. ; E_ERROR           - fatal run-time errors
    ! `( O3 v7 ^, f( E& g
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% _4 v5 e+ j$ h/ i& c
  418. ; E_WARNING         - run-time warnings (non-fatal errors)/ ^$ t$ F9 {1 A$ r3 d
  419. ; E_PARSE           - compile-time parse errors" u$ P4 l! n1 t1 U* B, r
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    8 M  y' O( S# \$ a0 }( ~
  421. ;                     from a bug in your code, but it's possible that it was- j$ M/ _9 \' y* ^9 n
  422. ;                     intentional (e.g., using an uninitialized variable and
    ; O( S" _5 f- d! n
  423. ;                     relying on the fact it is automatically initialized to an
    1 G7 [# G8 |5 c  f) i2 l
  424. ;                     empty string)4 O* n" C4 v% `3 t$ `8 i9 a7 C' E
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) g6 }( L  i$ v, c, c# u3 w8 K4 g
  426. ;                     to your code which will ensure the best interoperability: `# j* m1 s7 |* r2 L
  427. ;                     and forward compatibility of your code
    / @$ x; W# i  H" }  @0 `! n
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup4 j( C# V  s- K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. X# q- d1 I' I! M4 h$ G8 ~" h; i
  430. ;                     initial startup
    8 G& ?2 s5 K: R3 x, Y
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & W( W  R& @$ q0 k
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    5 r1 ?- O- Z7 {0 w  t  N* d8 P$ S
  433. ; E_USER_ERROR      - user-generated error message
    5 F+ [. D  H& [) M# Z
  434. ; E_USER_WARNING    - user-generated warning message; D; O* m# B1 N8 q/ W$ t5 t; A
  435. ; E_USER_NOTICE     - user-generated notice message
    6 R8 K/ V" B2 _3 S2 W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions! N- i( x0 i# J9 Q% O' h
  437. ;                     of PHP
    ; A5 T& U5 b  A' M
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings; J2 }9 |$ Z3 w
  439. ;
    # c7 |+ D' J7 w  B" L+ X/ j- P3 W
  440. ; Common Values:
    # P# N4 P5 u! R" S' x! J
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    # H/ g! b" M) M  U& ~: ?2 r" u
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / i9 o3 f# V7 Q' b+ R: _
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)% K) \; w7 {, J! g
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! h6 J. `1 `, N: n3 A; O' S/ y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED% B* B' Z( }" c1 m# s
  446. ; Development Value: E_ALL3 t* i, j% _- h- V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 S! y/ x  v7 F
  448. ; http://php.net/error-reporting
    ( Q, c# Q7 y5 S& l+ R
  449. error_reporting = E_ALL & ~E_NOTICE8 E5 [4 K$ {% K0 |; C
  450. . q& E+ Y: f4 y! E
  451. ; This directive controls whether or not and where PHP will output errors,
    . ]" U% C6 h+ K& L! Y/ g9 p
  452. ; notices and warnings too. Error output is very useful during development, but
    ( G$ ^, R" X) Y& _
  453. ; it could be very dangerous in production environments. Depending on the code6 ~# x* g! }9 [9 L* \$ L
  454. ; which is triggering the error, sensitive information could potentially leak2 b4 r+ I0 |4 _! X$ O3 h" M8 }3 T2 D
  455. ; out of your application such as database usernames and passwords or worse.+ x* J/ {  {( s
  456. ; For production environments, we recommend logging errors rather than
    2 ^: g- z/ G6 }
  457. ; sending them to STDOUT.' ~+ b0 [& z* y$ ^& H' F. k& y
  458. ; Possible Values:& v5 ~/ P0 W* e- t+ ?1 _
  459. ;   Off = Do not display any errors. @6 e; l. `5 A. F1 {
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
      @  q" z9 k0 n; [" e
  461. ;   On or stdout = Display errors to STDOUT
    & z4 d/ j: y2 ^' t: j1 C# p1 I# Q% r4 J
  462. ; Default Value: On
    ! m; B; J# O+ n2 {5 M7 G
  463. ; Development Value: On
    ' X( \3 x. a5 n" f; N" B3 [
  464. ; Production Value: Off9 @, C  A2 G* n& i6 ?/ K% s2 V, c% o' I
  465. ; http://php.net/display-errors8 Z# L- N; S- I/ Q/ ^
  466. display_errors = On
    % ]: Z. f* Z: ?6 `1 d+ _
  467. 8 g8 f: T( i4 a4 w
  468. ; The display of errors which occur during PHP's startup sequence are handled4 ~3 B2 p- ^- Q: V# Z
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    1 x5 q% Q% [% E; N4 W+ c
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * n/ N! l4 |6 ?2 O$ z" t2 k
  471. ; debugging configuration problems. We strongly recommend you) @7 ]% \& a. u+ p- u  T' N' h) }
  472. ; set this to 'off' for production servers." a1 L& E4 X" [6 _0 [! p
  473. ; Default Value: Off
    " R1 b: w: M, U/ D) A4 v) S5 Z, K
  474. ; Development Value: On
    4 g8 Q2 U# j3 p
  475. ; Production Value: Off4 }: ^" g4 Y* E" e. u9 g. e
  476. ; http://php.net/display-startup-errors2 R" k& W  y4 b0 Y. n- [
  477. display_startup_errors = Off: S) G. C3 W9 Q& H
  478.   T' }* L9 ]  v- h0 x
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    * k  l2 O. s& F: |1 W( T/ r
  480. ; server-specific log, STDERR, or a location specified by the error_log( X; g  y% V) b6 w* R1 S+ W3 _
  481. ; directive found below. While errors should not be displayed on productions. F; Q* J' \/ }- m- V5 h& `
  482. ; servers they should still be monitored and logging is a great way to do that.* O% F: L! v9 w# J! r7 a1 d2 W3 G9 h
  483. ; Default Value: Off1 {& c) p4 e$ g7 S; W5 u! V
  484. ; Development Value: On" ?, q, T8 ^$ _* m. h: e% @
  485. ; Production Value: On+ c4 s/ M1 l0 D& m$ J  Q2 A( {
  486. ; http://php.net/log-errors
    " }% C' N( V9 L+ L# u
  487. log_errors = On
    ; P  a+ I2 E% T! n
  488. , s: ?# @2 A1 F/ f
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 V: W) {, l2 b  k" S1 f
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 q9 v8 x; r. D, ^
  491. ; http://php.net/log-errors-max-len9 x! @0 F  l* p8 ?: Y. z8 b/ W8 a! h/ M
  492. log_errors_max_len = 1024
    ' |6 e) Y) S+ ^3 @, u# N
  493. * B+ \" `" n% c  `
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    5 p1 z  L* `: J7 |2 v5 y9 B
  495. ; line unless ignore_repeated_source is set true.
    ; r4 i* ~6 _! u# q. N
  496. ; http://php.net/ignore-repeated-errors
      N$ G7 V0 H+ W6 {: F
  497. ignore_repeated_errors = Off9 @% h9 r/ J' K, H! y  R5 K
  498. ) w2 Y/ e$ E8 A& y+ @' J' }
  499. ; Ignore source of message when ignoring repeated messages. When this setting/ D# _+ z5 F" D2 W! K% q; [
  500. ; is On you will not log errors with repeated messages from different files or
    ! y0 b4 d2 @0 W
  501. ; source lines.4 P% Y% w% C, Z8 z! u  J0 J
  502. ; http://php.net/ignore-repeated-source
    ' D/ Y& j& Q+ O
  503. ignore_repeated_source = Off5 A# j7 }4 m8 u! c% w( r. V
  504. # Z: @+ C0 K/ R
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on  ]1 o$ h/ I' p% S; ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if! y# G( L+ w  M# R( ?
  507. ; error reporting includes E_WARNING in the allowed list
    8 M. \( U6 H3 O3 n$ z7 T
  508. ; http://php.net/report-memleaks8 o' c; p1 O6 c$ b  S! d
  509. report_memleaks = On( B9 H0 G  y, w. ~  x' e, D; j

  510. $ ~; @4 z1 b1 g2 G' u
  511. ; This setting is on by default.
    / Q% Q0 h: V: {+ K* k
  512. ;report_zend_debug = 0% l9 D+ c! y$ ~" B/ T; o
  513. ) i$ b# C$ W% ^) u. v/ t! a% h
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; X/ k6 Y6 D; s4 v
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    9 l% R& D: D/ c2 s" o. v( Y  J: {
  516. ; however be disabled on production servers.
    6 \9 `' Z1 Z* _1 y) `8 q
  517. ; Default Value: Off
    & i" `( ?" }  f
  518. ; Development Value: On
    # M' F; @+ m- a  A" B# P
  519. ; Production Value: Off
    , G* u4 A/ q5 ^- t
  520. ; http://php.net/track-errors
    , b3 X; Y" M- X0 q+ S; n
  521. track_errors = Off6 _5 @; e8 c% y5 `# p5 `  l0 t

  522. 4 G7 k5 X: \& Q/ \$ f: l  m, T
  523. ; Turn off normal error reporting and emit XML-RPC error XML( N$ s! V* }) ]5 x9 j7 w$ i, b
  524. ; http://php.net/xmlrpc-errors
    5 i& {, X! c, T4 `  [4 {6 ?, H
  525. ;xmlrpc_errors = 0# {/ `/ t( b; j8 `
  526. 8 W7 }% E6 v1 u; `
  527. ; An XML-RPC faultCode8 g: u. c1 _1 i2 d+ r( y( _
  528. ;xmlrpc_error_number = 0
    % a8 [3 q2 ]' |
  529. 1 L& T' E+ _# j) }
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    7 w, X3 J/ P& f  I  F4 }
  531. ; error message as HTML for easier reading. This directive controls whether2 ~* u- k9 [, ^: ]( H" c  [! n
  532. ; the error message is formatted as HTML or not.
    * S- a, t& Y+ w( ^0 a
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
      _0 i* [! p: Y; h4 R6 v; F& ]
  534. ; Default Value: On
    ( v( ~4 c" y' E- N# _7 F
  535. ; Development Value: On
    4 J& ]9 X2 h2 D9 `$ o
  536. ; Production value: On
    * {* c+ ~; Z: [4 D( b3 r3 Q( b5 e5 r
  537. ; http://php.net/html-errors. [6 `6 X. Y# s  {8 @% V. }$ m5 |
  538. html_errors = On; R/ g2 ]9 J) \( W# D; H0 I* m' M

  539. 4 j+ w+ R+ Q+ p. E# b; Y8 p9 N3 L
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ L; n) p9 E; p( o/ C( C9 _% R
  541. ; produces clickable error messages that direct to a page describing the error
    4 g# E! Q: u* R) Y5 {
  542. ; or function causing the error in detail.
    ; D2 y0 y& L" |! Q+ g
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    1 {/ e2 y- I* T
  544. ; and change docref_root to the base URL of your local copy including the
    ( v) m- W3 y% j: |
  545. ; leading '/'. You must also specify the file extension being used including
    7 t7 \7 C+ I- x3 p' q9 y
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 W% c) o  R3 o; j, I+ b8 g# c
  547. ; case no links to documentation are generated.) z5 q# _. p7 y' |# B  s( ?# u0 G
  548. ; Note: Never use this feature for production boxes.) B7 x9 s3 K8 j7 |
  549. ; http://php.net/docref-root! q! Y, J* v$ g/ n2 s3 Z
  550. ; Examples$ r. q# n4 n) L, n5 L0 F
  551. ;docref_root = "/phpmanual/"+ u: }+ H; z- z6 }/ }. Y% \
  552. 2 z6 _* c1 C: D# w2 F
  553. ; http://php.net/docref-ext+ o% X! R6 X9 \
  554. ;docref_ext = .html* M( w  h* @8 n7 ~- _% L

  555. : r7 M# T! p, F2 w3 j( F; s2 B
  556. ; String to output before an error message. PHP's default behavior is to leave
    , {0 i7 z- Q* M) q% k8 q) d( |$ P9 U4 W3 s
  557. ; this setting blank.
    - q6 p3 s3 w( l! K7 R/ t, k
  558. ; http://php.net/error-prepend-string
    - d: u( d2 t' v9 `& N1 Y
  559. ; Example:( _: G% j6 d7 n# A' o# o% t
  560. ;error_prepend_string = "<span style='color: #ff0000'>"1 @: v1 Y: O/ \) M% r) |, t

  561. - N9 l4 A% C6 w
  562. ; String to output after an error message. PHP's default behavior is to leave# W3 {5 e4 a( e% S  h- |0 H
  563. ; this setting blank.7 `9 X" L4 W; O
  564. ; http://php.net/error-append-string
    ( D4 V2 x, h) p5 m( l; l# o+ Q
  565. ; Example:
    & F# m! p+ p1 n% {% D$ Y; A
  566. ;error_append_string = "</span>"
    5 y7 ~+ J, k5 A+ Y, i' G) z) X% W
  567. " t* r% \$ f& z2 M
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 I6 R6 @2 q( H
  569. ; empty.
    & f8 L0 _  M, l- y7 `, m
  570. ; http://php.net/error-log! Z! Q0 r. a- s4 K( b3 s$ U2 Q5 J
  571. ; Example:, L0 y2 X" ^* s7 D# ?) Y
  572. ;error_log = php_errors.log
    * L0 D: H, T: z8 z5 J! b- k' c; q
  573. ; Log errors to syslog (Event Log on Windows).
    , x. j2 i* p( v- _# \- o  d2 K
  574. ;error_log = syslog  I9 b1 Z1 M0 n7 f3 A
  575. % a" P- S/ r6 K" S9 a
  576. ;windows.show_crt_warning/ w" L# h" M' b- T" z$ e+ z
  577. ; Default value: 0
    ; v4 c  y2 T4 o" p1 S
  578. ; Development value: 00 P7 {7 x; O( h+ L$ E$ ~
  579. ; Production value: 0
    3 t* i3 d3 Y2 s8 U
  580.   o( p" y7 X! Z) F& ]
  581. ;;;;;;;;;;;;;;;;;
    + [5 {  u1 \5 W- q
  582. ; Data Handling ;1 l. ?4 w6 C/ A5 G  R/ K
  583. ;;;;;;;;;;;;;;;;;
    ) l: K9 b5 y+ z* q" J0 Q
  584. 6 D9 N' I, _! f- d/ i
  585. ; The separator used in PHP generated URLs to separate arguments.$ `# B4 @) p7 Q/ K: ]
  586. ; PHP's default setting is "&".
    1 S1 D' o* a8 e" t/ Y( o! D8 [
  587. ; http://php.net/arg-separator.output
    ' p5 j+ u2 t1 C; Q# V6 R0 I
  588. ; Example:% Y# s$ Z: O7 w7 W
  589. ;arg_separator.output = "&amp;"- e+ j' E9 r! a. U+ h- f: u

  590. $ b  h4 U% Q  f% G' l
  591. ; List of separator(s) used by PHP to parse input URLs into variables.: Q- G7 f& f" `- z) k1 ]( o; D6 b
  592. ; PHP's default setting is "&".
    / p/ w) q% ~6 n, W7 k- l
  593. ; NOTE: Every character in this directive is considered as separator!
    5 M( t& W! l, ~# i) V; C# U( I2 o
  594. ; http://php.net/arg-separator.input
    ( G5 H4 g+ Q! M4 r5 D3 z) |" B
  595. ; Example:
    0 s8 Y; m5 X8 t5 o
  596. ;arg_separator.input = ";&"
    0 a  j* N3 z& M! o- m: M

  597. ' Y( g$ m$ `6 M+ ~' c* M( K' `2 ]
  598. ; This directive determines which super global arrays are registered when PHP
    " ^8 u1 E1 {8 y
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) w; e, Z: i( Z$ C- F
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ Y' A' v1 {& @! Z% Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    + i) b, u4 g' K1 z0 n2 t
  602. ; used as the others, ENV is not recommended on productions servers. You
    / b8 [( f/ }- O- X% M0 g; D' W
  603. ; can still get access to the environment variables through getenv() should you
    , O' P  W) s+ R8 T1 w7 w
  604. ; need to.* Q& V5 t6 \1 s0 A
  605. ; Default Value: "EGPCS"
    2 [9 ^/ r: p/ T$ Y2 ?
  606. ; Development Value: "GPCS"
    / ^8 s- l2 C8 A" t
  607. ; Production Value: "GPCS";; [, c: H  C; r* ]0 P+ E
  608. ; http://php.net/variables-order8 W  P/ m% T/ I& ^1 z
  609. variables_order = "GPCS"$ L, V5 x: u: Y+ _' w5 [

  610. 4 S1 j4 @! O6 A0 V  f
  611. ; This directive determines which super global data (G,P & C) should be" \( r7 x" J, V- Y, g
  612. ; registered into the super global array REQUEST. If so, it also determines
    # h5 S3 Q; E  C6 j/ \% l
  613. ; the order in which that data is registered. The values for this directive: Y; g3 x0 d$ `4 q8 O2 N1 D
  614. ; are specified in the same manner as the variables_order directive,* I- I8 f6 o7 u$ K- K
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 _: C+ `* g2 C. z$ Z- I( H5 |  h) i
  616. ; in the variables_order directive. It does not mean it will leave the super
    3 w, o4 v9 u" R
  617. ; globals array REQUEST empty.4 ^6 h; C( H7 {0 `: t
  618. ; Default Value: None# s6 k9 K$ ^- e6 R( i6 h. z
  619. ; Development Value: "GP"2 C, q2 W. D- l/ Y
  620. ; Production Value: "GP"
    . R2 p$ r- \" m7 ^2 h! P
  621. ; http://php.net/request-order
    ! U7 w2 _! |0 p; ~9 o
  622. request_order = "GP"
    5 \; e) ], d5 W4 P
  623. ( `3 T; p% i' A- z
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    $ s" U+ O$ d5 t
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 p1 i" ^: r  w) f
  626. ; is invoked. $argc contains an integer representing the number of arguments; q/ l& r9 h, v8 X
  627. ; that were passed when the script was invoked. These arrays are extremely
    4 [$ s( e' t' \; @1 T
  628. ; useful when running scripts from the command line. When this directive is
    2 V: i) q- `- t! M6 z7 C
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    & h, z- u3 f. L$ v7 S2 }+ W
  630. ; a script is executed. For performance reasons, this feature should be disabled! C, C; f4 s1 `
  631. ; on production servers.+ N: z  J6 H* c" w$ b5 Y
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    : o1 f0 X- J! ]0 b
  633. ; Default Value: On
    ) ]- s, `% w  D& `
  634. ; Development Value: Off. k) j/ k8 ~$ j
  635. ; Production Value: Off- {) I) h1 I! s$ _
  636. ; http://php.net/register-argc-argv
    7 \% v- |1 p# F
  637. register_argc_argv = Off
    5 h! l1 T  {' l7 n3 B! \

  638. 1 R9 A( r- Y9 I9 d  Q8 p% {0 B
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. ~/ `3 w0 `2 b9 }8 V
  640. ; first used (Just In Time) instead of when the script starts. If these
    . [% d% K  }; A" ]# ]
  641. ; variables are not used within a script, having this directive on will result1 {+ Q( W# H4 c( p+ \
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled( k/ ^9 e4 [& ~" ?  {% k
  643. ; for this directive to have any affect.; {1 ~# T7 d8 L& K1 ]3 `
  644. ; http://php.net/auto-globals-jit
    7 Q+ {% L& K0 E  c" |' a: I
  645. auto_globals_jit = On* ^7 C1 A# r4 k# o* U; w
  646. # T8 v, f5 F. @4 U& R/ D& a0 }
  647. ; Whether PHP will read the POST data.3 U4 m+ l2 y0 }9 ]% H2 V$ [& y
  648. ; This option is enabled by default.5 }8 ~) c  T' z9 \
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST4 w4 n9 x  r+ P" I( N
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 G/ _1 ^& w& |- F1 z- W9 ?
  651. ; POST data will be through the php://input stream wrapper. This can be useful
      X. n5 ~& Y5 \. l3 X
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 ~3 v! B$ M: o
  653. ; http://php.net/enable-post-data-reading; b6 Y1 M" l. o3 y* o/ t1 w
  654. ;enable_post_data_reading = Off! ~, Z+ J" c, u. w1 v$ D
  655. 0 j5 w- p: a: r; _4 J+ {
  656. ; Maximum size of POST data that PHP will accept.( r' j! ?* s3 T1 `
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ v3 R* b* h1 [  \$ y8 Y0 r' Q
  658. ; is disabled through enable_post_data_reading.9 u& U% g9 \$ u" o: N( Z- ?3 p, u2 K
  659. ; http://php.net/post-max-size, ^1 O( O& w+ f
  660. post_max_size = 50M+ S& f) g/ l& A2 U3 A
  661. 5 \3 \9 F& t9 I9 |. B
  662. ; Automatically add files before PHP document.9 W' L0 H  t$ L' E# S2 Z
  663. ; http://php.net/auto-prepend-file
    7 A: v. H4 ^( Y" l
  664. auto_prepend_file =
    + ^& i9 G* T* x. t0 \
  665. : s, A2 a9 R, Y+ o& m  i- g
  666. ; Automatically add files after PHP document.
    . H" V: C% b: z' l
  667. ; http://php.net/auto-append-file
    # v5 B; {7 C# P6 n
  668. auto_append_file =
    ; {1 X3 G, {1 j+ r7 B- z: Q# _

  669. , o" O4 @! k; g" q
  670. ; By default, PHP will output a media type using the Content-Type header. To
    & J1 i5 E) p* X+ {, b2 u3 h
  671. ; disable this, simply set it to be empty.
    * \" Y6 G. }0 V1 m: N
  672. ;7 }( a3 o7 y# L& i+ I
  673. ; PHP's built-in default media type is set to text/html.( [) v, M7 X( i8 k( S' ^$ u5 q. j
  674. ; http://php.net/default-mimetype- r6 |# [% G' E& k6 f
  675. default_mimetype = "text/html"6 l. H0 t0 ~$ @3 ~1 `8 Y& g( e
  676. * s) m" ^. i; f* \" S( ?
  677. ; PHP's default character set is set to UTF-8.
    $ U4 y. [7 i( w- `
  678. ; http://php.net/default-charset, i7 l9 s. e9 X" |1 @) b3 o
  679. default_charset = "UTF-8"
    / @9 g  U$ H- O' u) y+ O) P. d' K1 n
  680. 0 i2 S" K: ?0 v4 v3 x
  681. ; PHP internal character encoding is set to empty.
    $ N3 @$ Q7 a, z/ `
  682. ; If empty, default_charset is used.6 M' V* Z+ p9 v  }* T
  683. ; http://php.net/internal-encoding
    8 s$ d" a1 E# P6 P7 n
  684. ;internal_encoding =6 b8 @" E; ?  e# r2 t8 X  Y$ s

  685.   k6 o# O/ n1 ^8 ]+ h% _3 w
  686. ; PHP input character encoding is set to empty.0 s( n1 s9 L/ `* ]
  687. ; If empty, default_charset is used.6 c6 F) c/ `# {1 T, j
  688. ; http://php.net/input-encoding
    : v' v( f  r" n* O$ y! |& U
  689. ;input_encoding =
    - v# ~$ ~$ d6 S) e7 o) g6 |7 d7 s
  690. : b( j8 `+ P, r2 G
  691. ; PHP output character encoding is set to empty.
      h8 p$ }1 \; c: C
  692. ; If empty, default_charset is used.
    3 t# @* H2 f# a8 J3 O! r$ b
  693. ; See also output_buffer.
    5 k" y1 b: O: j
  694. ; http://php.net/output-encoding
    0 [- Y; Q4 c3 B
  695. ;output_encoding =
    4 M6 {" R- k, U" u$ q

  696. 6 b( m$ w& O" s+ M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    . q: K+ v. l7 A" N4 o( `
  698. ; to disable this feature and it will be removed in a future version.
    ) K. k$ x% K. w  j3 Y0 s! p: ]9 a) ]* b3 o
  699. ; If post reading is disabled through enable_post_data_reading,
    & g* R9 `% s4 _- I. Q7 M
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.; |. a8 R% L( X- |7 t* N2 y6 l1 j
  701. ; http://php.net/always-populate-raw-post-data- B2 E- m9 o9 x& \
  702. ;always_populate_raw_post_data = -14 v( d: T" m: H' e
  703. 0 H6 ]- e" K' s. W; f
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! c: C( L9 Q& C4 g3 u; i8 p
  705. ; Paths and Directories ;
    # l' m$ L$ |- ]0 w- a1 H. c
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 x7 l. ^2 t: F# c
  707. - [* M$ [' h; N5 r0 ^; d" ]
  708. ; UNIX: "/path1:/path2"3 \0 M! s# F7 r, D2 z
  709. ;include_path = ".:/php/includes"
    0 z! y; u* R/ ~/ Z  W  O
  710. ;6 d% @1 }7 k: E6 b/ d2 W
  711. ; Windows: "\path1;\path2"
    & U! n' ?- {! o, ^7 M4 v
  712. ;include_path = ".;c:\php\includes": R& x* ]+ e9 I: s2 n. f
  713. ;
    $ f; I' U" g9 X2 A* E1 N/ |; \/ g; r
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"; @/ \- X: s4 Q! l
  715. ; http://php.net/include-path
    $ w# L" e5 s" R0 b5 t

  716. - \6 D0 {4 b2 C
  717. ; The root of the PHP pages, used only if nonempty.
    ' w7 m# X; Y+ e4 T
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ [: j, z; s* n0 f- ?
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' m( o3 N. a; ]; E4 \
  720. ; see documentation for security issues.  The alternate is to use the9 |: Z1 e# l5 v
  721. ; cgi.force_redirect configuration below+ X; ^! ^: w% b  Y, c
  722. ; http://php.net/doc-root
    8 }' @4 q' s% P. r: O  T
  723. doc_root =
    $ I5 ?% z4 k& f% _8 Z) x4 R
  724. . n, s# K( r/ h% I( ?" E
  725. ; The directory under which PHP opens the script using /~username used only+ `# v' R9 @( w9 G
  726. ; if nonempty.
    ' m  [8 U5 q3 O, M
  727. ; http://php.net/user-dir
    , J5 d. Q: K, K6 w
  728. user_dir =) E' d* o& d& @' a* a

  729. 9 l& F5 W, d+ y# `
  730. ; Directory in which the loadable extensions (modules) reside.
    8 s4 Z; {0 z' p
  731. ; http://php.net/extension-dir/ z, v! N& X! y
  732. ; extension_dir = "./"
    . j5 z, G- R. D( o" W' {2 E9 {
  733. ; On windows:
    % m+ I* V: y7 p
  734. ; extension_dir = "ext"! V# n7 q# H5 y3 _9 Z0 E
  735. ) {1 e+ M+ \3 A6 u
  736. ; Directory where the temporary files should be placed.
    9 E* ]  C* j+ T6 f: A6 c+ M2 I
  737. ; Defaults to the system default (see sys_get_temp_dir)1 c4 G( }3 l2 a+ {$ D6 J$ x# W( l
  738. ; sys_temp_dir = "/tmp"
    $ V' z) {% t: r) Q0 u

  739. ; J! A( A* j2 e. a
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    / R# S1 E; x1 r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically% \( Z# j# ]' V
  742. ; disabled on them.( M) N8 K4 S+ d0 v
  743. ; http://php.net/enable-dl) B# E7 V& [& Y$ S# Q4 L" ]
  744. enable_dl = Off% U$ P0 u# D& J& n# a
  745. # \8 n/ N5 J$ O4 H
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under/ E" d, H% N" C( ?) h5 D: l
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 ?' p; u6 `4 g3 z& u- B. q0 i
  748. ; turn it off here AT YOUR OWN RISK7 C0 q9 `8 \4 A) C2 |2 x
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    # ?7 N( o* B% m2 Y
  750. ; http://php.net/cgi.force-redirect2 }2 `4 W' D, \
  751. ;cgi.force_redirect = 1
    / K1 Y& D1 w+ x4 X
  752. 7 F8 \- D7 W4 i. o- L* m. x, z
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with% A3 ]. D; B6 s/ I# |, p; @! d" T
  754. ; every request. PHP's default behavior is to disable this feature.* \( T) p8 b: G5 i, W3 u% Q. B
  755. ;cgi.nph = 19 q; A4 Z4 `5 `- x

  756. " x( {) S5 [1 e) N5 P
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ t$ x+ |3 _6 w6 \2 V" g
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , b( F6 _" ]6 [+ b4 X' E5 c4 I
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ) t1 R5 Y% W$ [; W$ M' r$ a
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; }5 m- I9 |: F
  761. ; http://php.net/cgi.redirect-status-env
    7 x/ n5 |6 b$ t2 q+ G
  762. ;cgi.redirect_status_env =: `8 r% T0 m/ B0 ]4 Z) N
  763. + V" X8 S+ R! ^+ g# t3 ~: r7 l, `
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + S0 L/ v; Y( ^4 c; ~% B
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 n, r4 i- q) X
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & a- f1 z, i1 k
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : J8 y4 J# P% k6 A. Y
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ r3 U) R, T, ]/ o
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    * \+ z0 z# b; v! {: O. y
  770. ; http://php.net/cgi.fix-pathinfo0 w! ?6 [4 p1 s. @5 j
  771. cgi.fix_pathinfo=1
    ) p$ p/ `( k" h3 ~. J: v1 L

  772. 6 H6 O8 T' ~+ E4 O7 s0 m
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ Y# V: ]" N7 k3 `# H) [) s. w
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    $ F! ~2 N* w5 R
  775. ; http://php.net/cgi.dicard-path
    ' V$ U- B' T9 F
  776. ;cgi.discard_path=1
    + T- z& y; x, [  S7 }5 j

  777. 7 l) m! L+ r; ]
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 q& ~' ^- g, Z0 U$ b3 m7 g. E& F
  779. ; security tokens of the calling client.  This allows IIS to define the
    6 ~7 M4 w" O* P9 ?* C8 x& q6 E) ?
  780. ; security context that the request runs under.  mod_fastcgi under Apache. o7 g! k. Q% @+ L  |' M. ]" g
  781. ; does not currently support this feature (03/17/2002)
    / T4 m5 a/ N, b- b6 V
  782. ; Set to 1 if running under IIS.  Default is zero.# e# V( k; ?; e% Z
  783. ; http://php.net/fastcgi.impersonate3 \: Q3 ?- P% ^
  784. ;fastcgi.impersonate = 1# Q0 c4 n, u  h( ^

  785. 2 k  h9 q) L& _9 t. s
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ r( E# v  g5 @
  787. ; this feature.4 S* w( p# `- ?& @4 _9 \( d" V
  788. ;fastcgi.logging = 0+ M8 Y2 ~4 M0 u- g5 R6 i5 d  d

  789. 9 L/ f5 }0 V+ L! j+ g
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 D' z: u) w( Z) b
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # q$ O4 w9 D6 d3 f0 ], C
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    , I. u! F4 W, M! u" k$ T
  793. ; RFC2616 compliant header.$ A4 [$ F% A( h% A6 U, V
  794. ; Default is zero.
    4 ^, Y/ E1 L6 S3 T1 W3 m
  795. ; http://php.net/cgi.rfc2616-headers; K' ~% C( ]0 W+ \9 Z0 R$ R. t
  796. ;cgi.rfc2616_headers = 0; z- e% q, X! ]; O' O3 `1 T: X* w
  797. , P9 b2 k" e- e6 n
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, G' Y! W. A* i/ Y! J, `) ?) s
  799. ; (shebang) at the top of the running script. This line might be needed if the6 g: _  a% D$ y6 [
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 o  h; `9 K, |/ {
  801. ; mode skips this line and ignores its content if this directive is turned on.- l# m# n5 l4 R
  802. ; http://php.net/cgi.check-shebang-line! c0 F4 w7 U, g- I
  803. ;cgi.check_shebang_line=1/ F$ y) H- L* O
  804. * r/ C/ }- B1 N3 F2 s0 R! l/ Z
  805. ;;;;;;;;;;;;;;;;/ h- p2 d# H8 n( |9 E; o  I" C
  806. ; File Uploads ;
    # U- o$ t% {: H) _- c! h
  807. ;;;;;;;;;;;;;;;;
    / r2 e4 U2 h, A; p( q! \
  808. 1 X% j$ b7 P0 @/ m
  809. ; Whether to allow HTTP file uploads.; {$ _2 q8 A# r
  810. ; http://php.net/file-uploads
    ( q( e$ l; J/ i1 }6 O5 ^
  811. file_uploads = On4 _2 N* x2 @2 M/ M8 s

  812. 1 }$ K( f6 T1 F+ t$ J
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    " @1 y, @* \/ @& G9 T( Q0 H
  814. ; specified).
    - Q7 V$ H3 t0 s# A2 ~( J/ v
  815. ; http://php.net/upload-tmp-dir
    * v5 D3 H, X( Q- D$ t: E% |' {
  816. ;upload_tmp_dir =+ V! o) n, t0 z4 P7 l

  817. ) q; k6 T6 E! p( `; T; L$ g! m3 v
  818. ; Maximum allowed size for uploaded files.
    & f5 `# U# `% q- S) M/ {0 C
  819. ; http://php.net/upload-max-filesize
    ' c% [8 m, n2 ?4 u; F9 v
  820. upload_max_filesize = 50M
    % {8 B' i0 ], K5 a
  821. 3 a" J" v4 m- d5 b) N% L4 T9 L
  822. ; Maximum number of files that can be uploaded via a single request" t% k0 o. Z7 ?9 R4 ^( }& m! w
  823. max_file_uploads = 203 W4 c+ t' L( }

  824. ( _4 k' Z' g3 w, c; p# }
  825. ;;;;;;;;;;;;;;;;;;( A. l2 l) W( u% p' m9 o4 I
  826. ; Fopen wrappers ;
    6 W- M6 ?6 \( _
  827. ;;;;;;;;;;;;;;;;;;
    - Z% I) R0 z$ k+ r3 ~6 I/ ?4 d
  828. 6 W( H; Z9 V7 ]6 R( U- ?
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ( @( P/ ~6 I0 d# Q) w0 Z
  830. ; http://php.net/allow-url-fopen' y2 E8 ?1 U& J6 z$ K6 q
  831. allow_url_fopen = On
    0 v# q7 t! m1 @& P8 B; C3 S
  832. , }% l& ^  i* h6 {6 ?
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 J, g& H& B; |6 a5 F( a
  834. ; http://php.net/allow-url-include
    # _; S6 X' f4 G. p
  835. allow_url_include = Off. b" v* |) w! E* m- J# g

  836. 5 B: c3 l8 W: u) P! r
  837. ; Define the anonymous ftp password (your email address). PHP's default setting; F4 |% s0 V4 m: t
  838. ; for this is empty.
    - K, r; p/ ~" }* Q; q; @
  839. ; http://php.net/from
    2 k' l4 o: U( j3 g0 V" J
  840. ;from="john@doe.com"
    # `! h% X! H9 w( p7 x' Q  c# A
  841. 2 l5 |6 y# V2 f& D( d
  842. ; Define the User-Agent string. PHP's default setting for this is empty.) I1 t8 T0 O2 T! [* B5 C' O5 A2 G
  843. ; http://php.net/user-agent+ N& a+ ^. n, `; `3 N0 E9 G
  844. ;user_agent="PHP"$ g4 r6 @; q' Q, Y9 ~( V. ]# U

  845. $ p6 t1 s7 n4 ]* l
  846. ; Default timeout for socket based streams (seconds)
    % C  T) q; K) s# `+ b. i8 w. P
  847. ; http://php.net/default-socket-timeout7 e# L! s7 }9 G" T/ B' w, a
  848. default_socket_timeout = 60
    7 ~7 `! W7 ~7 V7 q. G* b. o

  849. $ ]. w6 H+ s& |1 l: D* r4 L) z/ p
  850. ; If your scripts have to deal with files from Macintosh systems,$ M4 k/ W/ [3 O
  851. ; or you are running on a Mac and need to deal with files from  D  D9 a% ?+ U1 T  T% ^# s
  852. ; unix or win32 systems, setting this flag will cause PHP to
    8 h% [3 a1 G6 K
  853. ; automatically detect the EOL character in those files so that% z' E& L: m) Y! A* o5 j# [
  854. ; fgets() and file() will work regardless of the source of the file.
    7 B# g" D# {9 O* ]
  855. ; http://php.net/auto-detect-line-endings
    2 S; _. C7 w$ E. d+ e$ g% K
  856. ;auto_detect_line_endings = Off
    ! v' ^! T, ]+ ^! v$ h  L4 _

  857. * r$ L! o  C. K( z& |
  858. ;;;;;;;;;;;;;;;;;;;;;;$ [+ C2 [! j/ C5 m7 t
  859. ; Dynamic Extensions ;" h, i1 x! I. l) _% A
  860. ;;;;;;;;;;;;;;;;;;;;;;6 r) ?$ W% l4 F9 v

  861.   n0 q6 E1 a1 Z; f) s/ w
  862. ; If you wish to have an extension loaded automatically, use the following
    " s- L, R4 U2 j
  863. ; syntax:2 H" P; k; @% ~% x  r/ G2 j0 A
  864. ;! [' j$ S+ S- m: ]
  865. ;   extension=modulename.extension
    ) {) S* e8 Y! D. c1 b; D! G
  866. ;
    $ W) `* I) m8 G) P, |
  867. ; For example, on Windows:
    3 w5 N! T7 g8 K' F# ]
  868. ;* L3 f# C' o  I
  869. ;   extension=msql.dll/ g- u7 ^) I0 @/ f" S0 d7 o
  870. ;
    ) C8 V, ~, ~! h/ m: d( r* R1 o
  871. ; ... or under UNIX:
    6 }% e0 Y- n; _+ j7 W
  872. ;1 G: P6 P; [+ r: r
  873. ;   extension=msql.so" k7 `9 U% g6 w& k5 M, n" {* Q
  874. ;
    0 ~2 ^9 `2 b% {" T. E8 \
  875. ; ... or with a path:# v0 ^1 g* l8 w# H( E# ~7 l
  876. ;
    + H: a9 z% K; Z0 R/ I$ {0 G  M
  877. ;   extension=/path/to/extension/msql.so
    ) s! f! X& F6 \
  878. ;1 j8 ^1 e$ A; p2 H
  879. ; If you only provide the name of the extension, PHP will look for it in its6 v; L- A0 t; O4 U
  880. ; default extension directory.
    " M0 ^7 g% b% `
  881. ;
    / f6 E  K$ m3 e& D" M+ u
  882. ; Windows Extensions) J4 T1 g* ~0 E; L; i
  883. ; Note that ODBC support is built in, so no dll is needed for it.. x9 x' J" ]$ l8 Y8 F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)6 \7 c8 J0 g8 n# n( l* @
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).. G, \/ B% W0 s# G7 B# ~
  886. ; Be sure to appropriately set the extension_dir directive.
    % ~) ]: C0 h, s7 l" R/ e
  887. ;5 e4 p. h8 V! A  D" O# d; V
  888. ;extension=php_bz2.dll5 L8 c* |* A8 I  `! g
  889. ;extension=php_curl.dll' ~. a( g, I, i) n8 X5 ^+ p: w
  890. ;extension=php_fileinfo.dll
    - M4 L1 c8 V6 f+ k. r& U0 [" K9 D
  891. ;extension=php_gd2.dll; @0 _! d0 K+ f) J
  892. ;extension=php_gettext.dll
    ! |% r; ]( h7 t$ [3 C6 f
  893. ;extension=php_gmp.dll
    , ?% r9 r) b. K% \& _7 W
  894. ;extension=php_intl.dll" @5 G8 T( Q7 J6 R6 J; R
  895. ;extension=php_imap.dll8 Q* n6 {0 R3 _7 F/ u: Z
  896. ;extension=php_interbase.dll( b  @6 G) I" o- j
  897. ;extension=php_ldap.dll
    : j' |1 l6 G% f7 H. Y
  898. ;extension=php_mbstring.dll
    4 ?0 z, v, b0 O2 ?1 t
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! [  M/ j6 X8 W* }
  900. ;extension=php_mysql.dll3 p: I% C  `" A; K7 r; R' x1 d" [- P% w
  901. ;extension=php_mysqli.dll1 P' \* l9 X; U* Z: r3 U
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & j$ |1 W) s' x/ U5 I! @) a" R
  903. ;extension=php_openssl.dll3 N" o8 x8 D! N
  904. ;extension=php_pdo_firebird.dll
    ; U9 a% b7 M9 }% B4 h
  905. ;extension=php_pdo_mysql.dll! t7 _6 A. x2 m3 u! m
  906. ;extension=php_pdo_oci.dll
    ( K9 p8 n) J- q  Z' `; [
  907. ;extension=php_pdo_odbc.dll
    9 s. s- y; a( x9 x5 X3 {
  908. ;extension=php_pdo_pgsql.dll( C. j7 K4 }1 a8 }( k0 L
  909. ;extension=php_pdo_sqlite.dll/ K1 U- s8 D* Y1 b
  910. ;extension=php_pgsql.dll) J# \- R) p$ v6 e. g$ }3 V& X5 \- u
  911. ;extension=php_shmop.dll7 T1 v( @+ A; u6 o# L9 [
  912. . C$ Z8 b9 R: @2 W
  913. ; The MIBS data available in the PHP distribution must be installed. 6 R- b4 z5 L+ J% Q+ U' p! V4 D
  914. ; See http://www.php.net/manual/en/snmp.installation.php & K; }5 W. O7 m6 l
  915. ;extension=php_snmp.dll
    & d% ~) Y$ H9 r/ _9 r  m+ T4 {: B

  916. 9 S) E5 p! g% M+ ]  ^6 _! y' ?3 m3 j
  917. ;extension=php_soap.dll) [$ P5 @; X3 l/ o7 j
  918. ;extension=php_sockets.dll' ~8 A9 Q7 e3 e5 e1 U+ c0 C
  919. ;extension=php_sqlite3.dll
    6 }+ h; Z  r. {6 J+ X+ V" q
  920. ;extension=php_sybase_ct.dll6 x5 p4 k7 q( E
  921. ;extension=php_tidy.dll
    ' b% I6 ?0 W% g) g
  922. ;extension=php_xmlrpc.dll$ p, L+ c) D2 }5 A0 M
  923. ;extension=php_xsl.dll
    - Q% p* o# z: E& z. ]- C+ I& T% f

  924.   k% N8 t% ~9 f! e% J1 `
  925. ;;;;;;;;;;;;;;;;;;;' b1 t( v% T( L9 G4 M
  926. ; Module Settings ;
    " a+ c! }0 R/ e3 B
  927. ;;;;;;;;;;;;;;;;;;;2 r4 ]9 T* y( j$ A8 `

  928. $ ]2 x: N2 L( E! f4 A0 N
  929. [CLI Server]8 i& u8 v  w4 G7 b! c4 W
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.: M8 n% K  I4 J/ A4 N( n& `/ `
  931. cli_server.color = On  {& M6 I8 y/ \4 T# `! s1 i  a! A
  932. + `- z3 X9 i/ K5 A; \! r
  933. [Date]' J# S- Q9 e0 b7 I" \" \4 k3 P; N
  934. ; Defines the default timezone used by the date functions  g6 W8 N& Q- l7 Y1 N% d5 M* k
  935. ; http://php.net/date.timezone
    $ P* F# m8 y* e& [% L3 h5 V
  936. date.timezone = PRC
    9 i, a3 K& W, J/ Y+ ^6 D

  937. 8 g; N* m& L! Q' t4 n
  938. ; http://php.net/date.default-latitude& l1 K2 Z2 l* z; o5 c5 I
  939. ;date.default_latitude = 31.7667
    6 k1 H: |3 w1 O) r

  940.   V. c& U3 I) G8 v
  941. ; http://php.net/date.default-longitude
    ! }- k' x1 A  y- u
  942. ;date.default_longitude = 35.2333
    2 @) {* ]: l) g, Q) w7 \- j

  943. / w1 ^+ g( N! B
  944. ; http://php.net/date.sunrise-zenith/ n2 h. B4 r, t6 _
  945. ;date.sunrise_zenith = 90.583333
    0 o* q6 q, [: J1 Y# v) c

  946. ) H0 C( i, f9 E9 E, d  @6 m
  947. ; http://php.net/date.sunset-zenith; u1 u4 f$ n2 T* G6 K% |/ ~
  948. ;date.sunset_zenith = 90.583333
    . g9 X0 @0 P* G+ y
  949. # W5 F9 L9 P5 O
  950. [filter]
    ' q  L( h9 Y0 H8 V
  951. ; http://php.net/filter.default
    2 M0 |! d. Y1 W5 Y6 M! K7 J" f' @
  952. ;filter.default = unsafe_raw0 ]9 d) `$ r# e6 F. |# ~

  953. ' F1 A8 ]8 ]) z/ t5 i, B/ k8 L
  954. ; http://php.net/filter.default-flags
    ; [, V2 X; K2 B. @. }- [
  955. ;filter.default_flags =0 @2 t/ I! Q8 \
  956. 2 M$ }$ k$ M. T3 x7 n. Q* g
  957. [iconv]+ s, P) T) l9 X" n  V
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 \7 p9 ^! @/ m4 A) r
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 G, e# B+ @- N9 g0 m1 J1 ?
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 b: X8 o% o- @; G# a
  961. ;iconv.input_encoding =
    ) g- X" ?7 A" [+ P
  962. 8 |% V: T4 W+ m  @  S3 _
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.: h* q  A" n( D! ~- n* n0 p8 M
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% T" R* e; r5 q$ B% t6 B: @
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + O& W; p* a! A# i  I
  966. ;iconv.internal_encoding =/ Z% \" [5 t- _. p* B5 z: f" [+ h
  967. / F- m8 n3 P7 u9 j3 P# w% w
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.$ g6 j2 m0 o- ~5 j
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.( f/ `- D) U  d6 `& N" P
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. W* K& ~1 h: S  O
  971. ; To use an output encoding conversion, iconv's output handler must be set6 r2 n0 l0 |4 l- i& T9 v: P3 m
  972. ; otherwise output encoding conversion cannot be performed.
    5 ?8 p: _) g  o- H6 A0 g0 o
  973. ;iconv.output_encoding =
    7 T: w  o/ ?* ?
  974. 1 D; u3 c8 _; x: [
  975. [intl]
    2 _: m4 E" Y9 b2 c% N! X# B, J
  976. ;intl.default_locale =6 U  o) O7 |9 ?' o9 W0 K1 h( p
  977. ; This directive allows you to produce PHP errors when some error9 A! b. l; b" U
  978. ; happens within intl functions. The value is the level of the error produced.* |8 l) ]; G) X% `! s! Q0 \
  979. ; Default is 0, which does not produce any errors.; e5 w, i8 l0 @5 g7 g% U
  980. ;intl.error_level = E_WARNING
    8 N0 |7 P) d* [: k7 n% r+ ]" v
  981. ;intl.use_exceptions = 0- U. Q! J- ?" e6 F6 v% n
  982. % y/ P5 N/ G' }
  983. [sqlite3]+ X+ d: q( C! H6 t" ]# C" x7 T
  984. ;sqlite3.extension_dir =
    ) C) W$ {( G+ j2 K7 d; S

  985. 7 U2 n* t6 q3 ^/ ~3 O% s0 }
  986. [Pcre], s# b6 [6 @7 [/ A) B/ l! u
  987. ;PCRE library backtracking limit.0 C3 g" X. h- s; S
  988. ; http://php.net/pcre.backtrack-limit3 g% M  }" h; E+ J/ s, B( q& i9 Y) J6 m
  989. ;pcre.backtrack_limit=1000006 I1 t# x) a# x- Q, R3 F% p

  990. 4 h+ V4 j8 X9 J, n# A
  991. ;PCRE library recursion limit.
    * s6 W$ ^% o2 \
  992. ;Please note that if you set this value to a high number you may consume all, L5 |: P, m* a5 F4 R5 P
  993. ;the available process stack and eventually crash PHP (due to reaching the- O0 K- ]1 G9 J, M- o( l6 w
  994. ;stack size limit imposed by the Operating System).4 K3 n6 r' }2 N- g) l7 j
  995. ; http://php.net/pcre.recursion-limit
    2 |; p9 a2 J( n$ J6 g& v% C& r
  996. ;pcre.recursion_limit=100000
    3 B7 r6 F% j5 \5 J3 p7 a

  997. 8 m: m5 x; q" [! I: I  d6 D, y
  998. [Pdo]
    , @, S9 K8 U/ W0 _7 y
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    - O5 t' d) Y$ k' c
  1000. ; http://php.net/pdo-odbc.connection-pooling% Q% I& o6 O8 B2 ~  [& X! _
  1001. ;pdo_odbc.connection_pooling=strict. C/ |# V  V* _+ v! j9 O
  1002. 3 A4 E7 Z' z% L3 H' P2 U6 K
  1003. ;pdo_odbc.db2_instance_name$ a% h" p; `- `+ A/ l
  1004. % s$ o. k  C, O9 |3 j
  1005. [Pdo_mysql]7 ?8 R2 l' a: f8 d- ~
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache' R6 I1 n4 R' |7 K1 m9 Z0 Y) m4 I
  1007. ; http://php.net/pdo_mysql.cache_size2 P( [7 ?7 y5 Y' q
  1008. pdo_mysql.cache_size = 2000
    9 T* r& G' p( X. k
  1009. : ?' H0 O/ h" }. j, i7 k. h: A8 M" z/ a
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      x, @- k/ `3 Q3 M. f% y  T" y, s
  1011. ; MySQL defaults.
    ( w. T; C0 g4 j& N& y' `
  1012. ; http://php.net/pdo_mysql.default-socket1 |6 _5 z) U  q6 ?2 H
  1013. pdo_mysql.default_socket=
    ) u- K& j  Y! U
  1014. * J" x, T8 u; O3 J( ]; L% P" x) _
  1015. [Phar]
      K; C! w8 F  M2 ?
  1016. ; http://php.net/phar.readonly) |: S% H4 A& f4 p8 A: [
  1017. ;phar.readonly = On
    1 ^; B6 p  r% v, c' e% ]

  1018. , D* Z; N2 D0 f; v4 i& q
  1019. ; http://php.net/phar.require-hash
    : @& X9 p  _* n4 @
  1020. ;phar.require_hash = On1 t! S+ M9 D6 F) v1 J
  1021. 6 g  z! O( j0 `( g
  1022. ;phar.cache_list =1 p1 ~0 G3 ^- X
  1023. ) G! D5 O# c" o) L8 J
  1024. [mail function]( ]$ X) X8 u$ B' J7 P
  1025. ; For Win32 only.
    $ Y2 ?5 }. I. l/ [+ v) |- a- f0 b
  1026. ; http://php.net/smtp- x$ h$ a- ]' T, @* O9 U0 X
  1027. SMTP = localhost0 d* M' d7 f& E2 ?/ K" O7 W
  1028. ; http://php.net/smtp-port) D! {# ?, Q; z: Y0 {& I
  1029. smtp_port = 25% ~& c' p$ B% A  r. U

  1030. ) [# O5 I1 y$ K$ I( q3 R
  1031. ; For Win32 only.
      Z5 G, p& O/ @$ A
  1032. ; http://php.net/sendmail-from
    - w+ m" Q5 C# }
  1033. ;sendmail_from = me@example.com
    % j7 b, A3 }8 I9 s
  1034. ) Q2 Y4 D2 \* d
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    + j/ y( X9 ?" r0 c9 M2 Q  F! d
  1036. ; http://php.net/sendmail-path( E* q1 r' ?. Y0 x
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    $ l: v! _) E9 r8 Z3 p" I
  1038. 9 r7 i% C+ c( H1 b' G1 S
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: @3 n$ p& R' h$ z0 Z0 F9 L
  1040. ; to the sendmail binary. These parameters will always replace the value of
    6 [, A; p( P6 U
  1041. ; the 5th parameter to mail().0 r' P1 w& |( g- S
  1042. ;mail.force_extra_parameters =
    # W" f: [5 J7 u$ B) H

  1043. 8 F) _) r# w' R& I" p
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" Z- s+ a" p  H
  1045. mail.add_x_header = On$ Q4 D! o$ ~! Q4 A" v' Q* y

  1046. - t1 d% P7 I" @$ J1 K$ |
  1047. ; The path to a log file that will log all mail() calls. Log entries include. N0 ~- ~- r  _8 H
  1048. ; the full path of the script, line number, To address and headers.
    ' R% t6 w! u' }, U5 a$ ?: O0 n
  1049. ;mail.log =
    ! d2 E& i! }* J
  1050. ; Log mail to syslog (Event Log on Windows).
    . |: w# m$ {, _
  1051. ;mail.log = syslog
    , _7 v1 V7 a. E
  1052. ! x  g$ t) ~% X" _0 n+ F) Q
  1053. [SQL]& G2 n0 e+ {$ `0 g: K
  1054. ; http://php.net/sql.safe-mode) ^$ i5 S& O' F; \/ r1 x
  1055. sql.safe_mode = Off
    : E: i+ N6 ?+ `" q7 B4 Q

  1056. 6 }, r; k8 U- V+ m) q" `
  1057. [ODBC]
    - Q7 ~* ~. [( O& ]9 v& e, t0 N# w3 B
  1058. ; http://php.net/odbc.default-db
    ) d( R7 {) s6 Z' g0 T9 [# c; Q
  1059. ;odbc.default_db    =  Not yet implemented
    4 R' B6 P9 T, ?$ Q( f- X/ a0 Z
  1060. / i: m  h6 L4 j, B/ ~$ `) g
  1061. ; http://php.net/odbc.default-user2 |% o+ P( I1 Y- D# @# t
  1062. ;odbc.default_user  =  Not yet implemented
    & w3 K) ~0 u+ ~. E
  1063. 1 R7 r% T+ N# b/ P
  1064. ; http://php.net/odbc.default-pw
    ' X$ {9 [: y! G
  1065. ;odbc.default_pw    =  Not yet implemented
    " J" c/ t, K( w. _$ N( |  k

  1066. $ u$ x& F, X+ ^) j
  1067. ; Controls the ODBC cursor model.
    ! f0 a) k7 _  ]* W. J
  1068. ; Default: SQL_CURSOR_STATIC (default).
    5 f* I* H& ~7 G" S0 d7 F
  1069. ;odbc.default_cursortype
    0 n1 x  G, {/ `6 y& z5 f% J
  1070. 6 c5 |: M4 P, ?; l' I
  1071. ; Allow or prevent persistent links.
    # l# [0 g5 C! o: T
  1072. ; http://php.net/odbc.allow-persistent
    ! _: f5 X  t( Q# o9 b' _# K! k
  1073. odbc.allow_persistent = On9 r& v7 t/ L: G  q
  1074. 1 V0 Z$ d% k5 B1 H# a+ q3 e
  1075. ; Check that a connection is still valid before reuse.1 d$ K$ |5 A' Y+ k
  1076. ; http://php.net/odbc.check-persistent* y/ l. }& a: V) ?, x$ W; ^
  1077. odbc.check_persistent = On
    " u1 T9 k7 `) J5 q0 @
  1078.   x: o( M. f, D9 N  o
  1079. ; Maximum number of persistent links.  -1 means no limit.3 ?! C! v) i2 z7 l1 g
  1080. ; http://php.net/odbc.max-persistent9 {7 w3 L6 @' s& l% ]0 o
  1081. odbc.max_persistent = -1
    % O( _4 @/ B, i% `; Q

  1082. 8 h; G3 J( M+ C5 v  B
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 b0 D% Z+ U* {4 \! v
  1084. ; http://php.net/odbc.max-links" q1 n2 b7 _. f4 P6 A
  1085. odbc.max_links = -1
    4 Q/ A& I! G2 J" G$ G

  1086. : A- T* x: I5 c4 ?4 I" _# r, ~
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    4 ^* C1 y/ u2 o4 C
  1088. ; passthru.
    ( R( W( W  {" m: v/ h+ g8 u  f
  1089. ; http://php.net/odbc.defaultlrl1 T2 o$ O4 t. S3 g' X6 v$ S
  1090. odbc.defaultlrl = 4096
    - j0 W  L( [) [7 P1 @0 ?+ W* Y
  1091. ! L* Z0 P9 N& D' p. F' Y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.; y" B  v7 w& r7 _! k9 o
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% w* I) x' L; D1 k, h
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      T4 v; r- Y$ p! V3 A, N
  1095. ; http://php.net/odbc.defaultbinmode) z5 }0 {) ?4 ^
  1096. odbc.defaultbinmode = 1
    6 k" F! q9 i* r  C: |

  1097. 0 i3 t7 t# h! k) e; k% x) p. N
  1098. ;birdstep.max_links = -1
    " x# i# {. l2 `# _+ t# ^

  1099. 2 D  u# w/ W& E+ Z8 F% N
  1100. [Interbase]
    + z) P& d; K9 x5 j
  1101. ; Allow or prevent persistent links.
      ~# [. k- f+ f3 n
  1102. ibase.allow_persistent = 1
    $ i& R3 G3 p& i6 f& P0 _
  1103. ) O# m. f: \6 X
  1104. ; Maximum number of persistent links.  -1 means no limit.6 F" `! N/ ?2 d% P9 u* g; f
  1105. ibase.max_persistent = -1
    2 _2 |& y5 g3 N7 W7 Q" B
  1106.   B& E2 X) f) S+ ~! q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 k6 F0 r! s! Z# K3 V" ]
  1108. ibase.max_links = -1
    3 s# v2 Y/ D; T8 c+ u
  1109. 3 r, {$ F$ ]/ k! |$ F6 X) C' [  [/ K
  1110. ; Default database name for ibase_connect().# V& v9 i0 M# ~3 w6 {# }8 y" x5 W( a
  1111. ;ibase.default_db =
    6 z4 t0 ?7 L0 @3 P' Q3 Q

  1112. 1 R, u) \5 w+ F' M
  1113. ; Default username for ibase_connect().: X) i+ k, Q' m9 M+ V4 ?! i; q
  1114. ;ibase.default_user =7 }" \! R8 l! J+ n5 P& {

  1115. 8 e' i% t5 v9 ]" M
  1116. ; Default password for ibase_connect().
    6 a( H( t* @, _3 t/ j/ i
  1117. ;ibase.default_password =
    - a) D& E7 e- n# w" l
  1118. 3 ?" u7 F5 ?# z- h. `: H
  1119. ; Default charset for ibase_connect().
    ! r+ _/ v1 K- O3 n5 W5 ?
  1120. ;ibase.default_charset =  \1 y. X& Q! S/ R, N( m3 _
  1121. 4 }1 v& L+ |; W& a5 U
  1122. ; Default timestamp format.
    0 M8 |, G4 i# g
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", U! j# g7 d6 A6 p5 I9 B( _; ?
  1124. " g( r# [7 }& E/ p( V6 q5 _( b
  1125. ; Default date format.
    " G: l9 Y6 o; n% l, h. i0 F! u2 l
  1126. ibase.dateformat = "%Y-%m-%d"
    - z2 W  E$ r, @0 A" S! J. ^; r' Z
  1127. ' m( T. `  J0 b+ a3 C4 k
  1128. ; Default time format.% e$ [! E4 m( Y1 j! T
  1129. ibase.timeformat = "%H:%M:%S"( z4 {+ b! _: S5 d5 x- ]

  1130. ( t( Q7 z/ _- |" U2 ]% @& L' w2 t% m
  1131. [MySQL]
    2 x4 h" s8 e% v$ @0 f. K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 A- l2 C4 o1 ~. A
  1133. ; http://php.net/mysql.allow_local_infile
    $ A6 `% |2 e9 W- j9 t+ D& M
  1134. mysql.allow_local_infile = On. P. {( G8 ?4 k3 k" e/ J

  1135. % [3 a7 {. C% r9 F
  1136. ; Allow or prevent persistent links.
    & t% Q* w  @* ?  K
  1137. ; http://php.net/mysql.allow-persistent5 x) P: O4 t: {
  1138. mysql.allow_persistent = On' Y" }7 K- d, c5 Y- y

  1139. - D( A+ I6 y, A7 r. b
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 U7 K/ d4 Y& C4 B- k
  1141. ; http://php.net/mysql.cache_size
    / @; ^7 I/ k, [- I
  1142. mysql.cache_size = 2000) |1 Z/ s5 q& R$ u& O0 H

  1143. 6 V9 ^! e# H6 y. v- B) V1 _9 `
  1144. ; Maximum number of persistent links.  -1 means no limit.* u4 ~) J: j/ o" c9 }! r
  1145. ; http://php.net/mysql.max-persistent6 J0 ^3 B% s2 @4 \: D5 w3 B& b0 S3 y
  1146. mysql.max_persistent = -1
    9 {5 I5 ~, ~- Y( R/ Z$ [& W3 `1 d: \' y

  1147. ; d4 {# `: O! R7 C9 B- I
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' d. y( s" i9 M4 s3 O3 ^
  1149. ; http://php.net/mysql.max-links
    - ^% M$ x, P/ W
  1150. mysql.max_links = -1$ o$ r, p. G" y+ n: i9 a
  1151. 0 G! A  n6 x( U, b4 P
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    , ]1 _2 I3 M5 Y: W$ d
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( O' b4 M( I2 V; f! ~( ~
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      L$ W0 N2 N" T/ Z2 e+ \
  1155. ; at MYSQL_PORT.' j+ q+ u# }( o7 @: Z+ o: b
  1156. ; http://php.net/mysql.default-port% G1 @/ U2 t( ~+ x9 Y/ a7 }0 H
  1157. mysql.default_port =7 z& m0 N  ?8 }+ @) a& t) Y4 G$ E

  1158. # K* x6 X+ T1 _( d
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( R/ {( ?; W) v- R: f' B
  1160. ; MySQL defaults.
    # l/ z! a& q" q! X6 |1 J
  1161. ; http://php.net/mysql.default-socket. s  G& \- C5 m, K. Z
  1162. mysql.default_socket =: M8 g  I3 |- x; {

  1163. . j; z$ b3 d: u- J! }
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; v% {5 M3 R- L; S; q1 ]$ G; K
  1165. ; http://php.net/mysql.default-host
    4 x; \3 w  |+ j& Q) X4 {+ }; z+ m
  1166. mysql.default_host =8 d8 x# k" X. S# B* u
  1167. ; ^' r9 t# X7 [
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).8 n1 M# ]: r8 K( |' ?; R
  1169. ; http://php.net/mysql.default-user
    + g9 p3 s* o3 o! |2 Q
  1170. mysql.default_user =
    3 y8 G( c6 p" f0 u+ U( E4 \
  1171. . ?' P; _$ P9 V5 h# y
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / }1 ?2 ]7 J1 C" n1 _( c- \' ~* a8 l/ z
  1173. ; Note that this is generally a *bad* idea to store passwords in this file." M. o  L9 L! P, J9 d+ p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")& I6 c6 d/ \5 F3 x* }5 y* _- ^
  1175. ; and reveal this password!  And of course, any users with read access to this
      N$ }  y$ R: Y& }
  1176. ; file will be able to reveal the password as well.
    8 `/ g" V( e% ~* X9 i
  1177. ; http://php.net/mysql.default-password
    # l. N2 B  e( a" K7 d
  1178. mysql.default_password =
    ) K% J: h% ~/ W
  1179. 0 @0 V* a: ~' e5 ^- R% y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    3 `" t* H# ]) o" ~
  1181. ; http://php.net/mysql.connect-timeout
    4 L' V; r9 |% G* s4 t
  1182. mysql.connect_timeout = 605 x2 W, F, p9 C3 T2 d4 v& y

  1183. 7 D+ [: n- x* C
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and, P# N) g( Y  A/ x& o
  1185. ; SQL-Errors will be displayed.
    / V3 `, ^, l; G+ P8 k- B
  1186. ; http://php.net/mysql.trace-mode
    8 @" s) a- C/ V. H- T+ i3 F* m
  1187. mysql.trace_mode = Off! o% Q9 E/ k8 l) L8 k

  1188. / P# m' o- g1 z
  1189. [MySQLi]
      j! x+ E- l! M" i. ^% w2 k
  1190. $ `6 R4 s' |1 P4 S% I. H4 o
  1191. ; Maximum number of persistent links.  -1 means no limit.
      @" T/ r  C6 r* ^
  1192. ; http://php.net/mysqli.max-persistent
    5 @& u4 i1 T* S/ [# `' R
  1193. mysqli.max_persistent = -1: E; B0 Q9 _8 l% ^
  1194. , D6 h$ d0 @; m& S
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 T( |4 v  x) S6 T1 M
  1196. ; http://php.net/mysqli.allow_local_infile, Q; W# c( C- C6 K
  1197. ;mysqli.allow_local_infile = On9 s! ?. b$ H( w, }9 _

  1198. 8 ?8 o* u* ^, r# S) M- }' n
  1199. ; Allow or prevent persistent links.5 j, T1 p0 M) J( K1 N; z, l
  1200. ; http://php.net/mysqli.allow-persistent
    9 a0 m! h" D: q0 l
  1201. mysqli.allow_persistent = On
      o+ h9 T0 E; I& |& H

  1202. . f9 ]  J3 N  f, X* x% Y( G; L
  1203. ; Maximum number of links.  -1 means no limit.
    2 {& [& N7 E  @6 x0 D) }
  1204. ; http://php.net/mysqli.max-links
    ) [6 X3 }. w, x) U( z: I
  1205. mysqli.max_links = -1
    * s  }4 Y6 B/ e  O! y5 l9 {6 {

  1206. 9 p3 a. d/ ?3 ?0 j% D' S9 h% e
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - O$ o3 L+ [, C/ o* n
  1208. ; http://php.net/mysqli.cache_size3 }+ O' E8 g- t; J% }2 V
  1209. mysqli.cache_size = 2000
    9 q$ R; k! p9 t1 i$ I

  1210. ; V0 D; R. M9 Y+ b+ `4 s
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    * B& U- t' k0 V" _0 A
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 I; }  {0 F" v9 J5 u7 p
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 Y( o$ P/ r" G: l( M) ?, M3 V% g/ J
  1214. ; at MYSQL_PORT.- H0 P) J: r1 v/ J+ H
  1215. ; http://php.net/mysqli.default-port
    : ?9 _7 O6 T0 N- @
  1216. mysqli.default_port = 3306
    , \9 e0 ]0 [# N

  1217. - h) w/ t. l1 Y: H5 |
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 g0 q) H6 W8 u% X' ^9 A
  1219. ; MySQL defaults.4 Q% p; P% H) K
  1220. ; http://php.net/mysqli.default-socket7 P$ f, i; x3 K( }
  1221. mysqli.default_socket =
    : A1 U" f4 U, ?' {2 p

  1222. % `5 R2 s% O6 ?% V  q0 P" P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; n7 C$ ]! I: b# \, g4 Q! R
  1224. ; http://php.net/mysqli.default-host5 D& k) z! m8 Z( h- {
  1225. mysqli.default_host =5 @+ t7 ]; E, V; K0 i

  1226. . o  o' g0 W- s( I( S' C
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 \+ m8 b% b8 h% z
  1228. ; http://php.net/mysqli.default-user
    / E3 q+ x7 d  r8 @9 ^
  1229. mysqli.default_user =7 V, c6 X, l) Z' `$ Z. m

  1230.   q+ V4 I: k# B, L
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).  W& S* R. `, G& N: M, B% N- g+ N
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    " K4 Q! S: C* |9 j$ A! M  i: I
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 s- W( [7 p9 J- R! z: P8 F% N9 }
  1234. ; and reveal this password!  And of course, any users with read access to this
    0 B0 }  Z- X. u7 s' E
  1235. ; file will be able to reveal the password as well.* H! E% H* w3 S( c5 ~1 f& b
  1236. ; http://php.net/mysqli.default-pw) G& I( G. e, E/ r4 D
  1237. mysqli.default_pw =) ?" u6 f4 D0 O3 y9 C8 Y5 v0 n
  1238. % e0 t' X1 T- s2 Y2 p
  1239. ; Allow or prevent reconnect
    : X0 ]* p2 H, f' F
  1240. mysqli.reconnect = Off5 W- P& v; H! ]/ |3 y, C$ }* h

  1241.   {* M) B! c0 X2 a4 t. [8 O
  1242. [mysqlnd]
    : R& _9 K% a! G; w9 w; d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be3 S& c7 ^; I' V: `
  1244. ; used to tune and monitor MySQL operations.) q, N0 U! f7 l! e- O
  1245. ; http://php.net/mysqlnd.collect_statistics
    8 i. n9 q2 Z2 h! ]" C
  1246. mysqlnd.collect_statistics = On
    & ~3 ~& B7 B" Q3 h! I# H

  1247.   v, B6 b% @/ e) f/ Z+ J0 Z
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      i1 t; {, y4 U8 K' v6 f0 p8 x7 W
  1249. ; used to tune and monitor MySQL operations.
    / X0 ?, D' Q. v7 ?' g
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ! {$ s3 k3 [9 U# O4 k& d  F
  1251. mysqlnd.collect_memory_statistics = Off& Q% g' Z" P+ e* a! l1 Z* x
  1252. " ]& R# l, ?: C/ P( P
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    . e/ g( a$ W$ ]: T( G9 H
  1254. ; file.
    / E' n* u  {3 U: V7 J7 o; S
  1255. ; http://php.net/mysqlnd.debug. r! j% L* \( H. r
  1256. ;mysqlnd.debug =
    3 I9 e6 H2 E6 c& _  Z$ _$ p. m
  1257. " M& K" l& E9 _) D
  1258. ; Defines which queries will be logged.! Z& p0 _7 l6 m# s0 g! C" @
  1259. ; http://php.net/mysqlnd.log_mask1 Q+ ], T* x; [' G1 h4 Z! M
  1260. ;mysqlnd.log_mask = 0
    % w8 i- k# o8 W6 C) u' H

  1261. # x/ }# m2 F0 ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.4 f- P& S1 I9 E8 Z: F. o( q
  1263. ; http://php.net/mysqlnd.mempool_default_size- `: X6 W4 {" |8 J+ v9 \/ d; w1 l
  1264. ;mysqlnd.mempool_default_size = 16000
    " @( n# k/ d- j1 |) e/ J* d' X$ z
  1265. & m, r- R/ \; K- w! W. l" q
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% r# {! O1 e# J& M1 N; B  j) |4 {7 e
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    0 _( K6 @( ]" h$ l, J
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    * z( Y4 e7 f- H8 s- e3 q1 A

  1269. # V  O: W, Q9 Q' ^+ p1 T6 J) ~
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! W$ s7 u' }9 S) `5 ]
  1271. ; bytes.6 L$ M" ]& @& ~4 P. D  R1 o
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    7 @6 ~( w# h4 P" Z
  1273. ;mysqlnd.net_read_buffer_size = 327680 s9 Q' k/ Q6 e6 |% J. z
  1274. 5 E6 [' u/ e) m" `+ a
  1275. ; Timeout for network requests in seconds.
    - x; B; a6 a9 @' w* o: Q9 F; N
  1276. ; http://php.net/mysqlnd.net_read_timeout
    : Z; i/ F7 P# x6 ?/ b. Y
  1277. ;mysqlnd.net_read_timeout = 31536000
    : v' L; ]/ q( j3 l6 k
  1278. 1 J& n' v3 }4 h
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    5 z' `1 s/ W% d3 t
  1280. ; key.
    0 Z6 X- u0 a; c& s  Q
  1281. ; http://php.net/mysqlnd.sha256_server_public_key3 O! U" O) h( o; x1 D
  1282. ;mysqlnd.sha256_server_public_key =
    9 r' C3 O1 A2 C2 u

  1283. : t2 x/ ~% U+ i+ D
  1284. [OCI8]' w+ ~- @& V0 e- t
  1285. * O; F3 K% S) Y' `4 m) m  Y6 {+ |
  1286. ; Connection: Enables privileged connections using external
    ; |3 h: M3 p0 B" T/ v4 m
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 I" |/ B5 m( I' Y4 ^
  1288. ; http://php.net/oci8.privileged-connect
      T  H7 v) B! Z; v! G4 g; z
  1289. ;oci8.privileged_connect = Off
    7 {& v  J& y! D' B5 q2 I
  1290. ) A/ [, G- a, F9 A' ?; c/ s
  1291. ; Connection: The maximum number of persistent OCI8 connections per" S; K: q) l+ U9 |2 D
  1292. ; process. Using -1 means no limit.& ^+ w/ u7 y+ V( R1 Z6 p
  1293. ; http://php.net/oci8.max-persistent0 U1 l4 u2 |; U- h1 d3 y9 A
  1294. ;oci8.max_persistent = -1
    ( F+ u' N- S4 t! U$ U

  1295. $ \! e/ G  o' c; m" v
  1296. ; Connection: The maximum number of seconds a process is allowed to) a/ U$ y: A1 `. l: {
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ' k" w; u$ @2 r7 a& I
  1298. ; persistent connections will be maintained forever.: ?( b6 C0 w% m
  1299. ; http://php.net/oci8.persistent-timeout: E, T9 H9 @2 v2 c* n
  1300. ;oci8.persistent_timeout = -1: v8 V7 _& [5 I0 {' T. D
  1301. * ]' I9 W  H9 N+ Z3 {$ }1 m4 C! q
  1302. ; Connection: The number of seconds that must pass before issuing a* {% t/ D' \6 s1 Y6 P3 U
  1303. ; ping during oci_pconnect() to check the connection validity. When
    + S4 Y( H6 G( R0 _+ h; x' B8 Q
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) j; e3 O- Z7 X# n+ D
  1305. ; pings completely.
    ( {7 ?: r/ ~, J2 E# l* @' f
  1306. ; http://php.net/oci8.ping-interval
    2 Y+ B6 V% Q2 h  a/ [9 B
  1307. ;oci8.ping_interval = 608 E/ \4 z6 u; r3 \7 n

  1308. 0 }' T) J  u; C9 \; _) f
  1309. ; Connection: Set this to a user chosen connection class to be used
    8 J, c- y4 N1 I5 P
  1310. ; for all pooled server requests with Oracle 11g Database Resident3 g& h8 q3 E3 `* |  D$ S5 a
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to7 x) i8 ?5 t1 U( I2 H& B8 z
  1312. ; the same string for all web servers running the same application,
    ; |; t( C2 A* ~5 a+ m) t  J
  1313. ; the database pool must be configured, and the connection string must& R; T( g! {: V- h# l7 H; h
  1314. ; specify to use a pooled server.0 h# w. l: ?" C' ]* a' y
  1315. ;oci8.connection_class =
    - ?6 ]% m9 @* Y9 p# q0 M
  1316. 3 w5 i) o; c8 x6 X1 E
  1317. ; High Availability: Using On lets PHP receive Fast Application5 B6 p: ~- W  \% s+ P
  1318. ; Notification (FAN) events generated when a database node fails. The8 H7 K0 A$ K3 r/ q( I; N
  1319. ; database must also be configured to post FAN events.
    9 k: t0 k2 C3 _3 [5 j' ]9 D
  1320. ;oci8.events = Off% \! b  Q! A. E8 {2 z( F! l7 c8 z

  1321. 6 g, F! u7 m4 e$ Z. m6 }9 j
  1322. ; Tuning: This option enables statement caching, and specifies how
    " a* z0 i: v" Y
  1323. ; many statements to cache. Using 0 disables statement caching.
    - x: A& y# {' y1 ?* |
  1324. ; http://php.net/oci8.statement-cache-size
    $ P% m0 H6 m9 I4 d; x2 W' ^" u
  1325. ;oci8.statement_cache_size = 20
    5 @. R4 Z  ]9 Q! H' C1 _+ e
  1326. & ^  M6 j0 z5 o; C( q1 e
  1327. ; Tuning: Enables statement prefetching and sets the default number of/ n; r9 ]. O" @1 B1 H( `- p
  1328. ; rows that will be fetched automatically after statement execution.
    * e; g% g' F5 y* R. F
  1329. ; http://php.net/oci8.default-prefetch
    ! m; k+ s; a, V( B! f& m+ X0 s
  1330. ;oci8.default_prefetch = 100: O9 P0 ]7 k. v9 ^. ~8 x
  1331. + b) s2 Q! y- W$ p) B) k: ?8 B
  1332. ; Compatibility. Using On means oci_close() will not close
      s. ?$ _) A. @5 X" E
  1333. ; oci_connect() and oci_new_connect() connections.! O: j9 m2 ?  y4 j! {. M# \
  1334. ; http://php.net/oci8.old-oci-close-semantics, t" r; F2 \; L1 O& A2 ^
  1335. ;oci8.old_oci_close_semantics = Off( s, h2 a. ^+ D- v

  1336. 4 D6 ]( o' o, @8 Q1 ^  K( @
  1337. [PostgreSQL]
    9 n2 J8 V* T" Q9 r) @$ w8 `3 h
  1338. ; Allow or prevent persistent links.2 W* `, _+ J* x4 F/ ?
  1339. ; http://php.net/pgsql.allow-persistent
    + D+ b9 w) {- I' }8 X8 X* n6 T1 B
  1340. pgsql.allow_persistent = On2 _; J' u$ v; M: {$ ]
  1341. $ ~( d( H; L2 m, Y. ^# Y
  1342. ; Detect broken persistent links always with pg_pconnect().
    " F" t0 I1 k: a: ?# r4 j4 B3 C
  1343. ; Auto reset feature requires a little overheads./ a8 M- e9 w$ W- Q/ \( E
  1344. ; http://php.net/pgsql.auto-reset-persistent
    . v' w* Y' u- E( u
  1345. pgsql.auto_reset_persistent = Off
    8 U; q+ j" Z) I

  1346. 0 P: r! s* u5 S% W8 z( s5 A  a
  1347. ; Maximum number of persistent links.  -1 means no limit.
    0 _* t% Z+ I2 l2 D: R
  1348. ; http://php.net/pgsql.max-persistent5 y" J1 X& q2 m3 |0 Y' L/ @
  1349. pgsql.max_persistent = -12 }% Q& d0 ?- e) D8 {

  1350. - u* q" @3 M. Q! ^4 Q0 \! X
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      S! ~4 K! H; m
  1352. ; http://php.net/pgsql.max-links
    : l4 \) q7 v! R' X0 j
  1353. pgsql.max_links = -11 s, c: q. M! @* Y
  1354. / j3 E1 e6 w: i7 d+ x3 m) {
  1355. ; Ignore PostgreSQL backends Notice message or not.
    1 c  P: Y6 L3 E
  1356. ; Notice message logging require a little overheads.; f) b; {- e6 N) q+ g+ A+ }
  1357. ; http://php.net/pgsql.ignore-notice
    3 W. l1 Z+ q1 D$ ~( [, R3 N
  1358. pgsql.ignore_notice = 0% V& I' I. F9 c6 N; ~& K, N& }$ w
  1359.   l, ^$ G  |5 R) {
  1360. ; Log PostgreSQL backends Notice message or not.
    2 Y2 V+ ]& \  w5 ]* N' U! Q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; ?5 A' O/ G- i8 _. ?9 F$ @
  1362. ; http://php.net/pgsql.log-notice% h% I+ d$ E! J) `) C, Z& b" i
  1363. pgsql.log_notice = 0
    * Z! K( H9 t1 c) c$ G% i

  1364. " Z1 n3 P( [' X2 n1 `1 N9 |
  1365. [Sybase-CT]
    4 K! }; f! N3 ~! o9 b  A- ?4 m, d3 `
  1366. ; Allow or prevent persistent links.
    7 d2 i+ Y# T5 b+ d! o( h
  1367. ; http://php.net/sybct.allow-persistent3 ~: p! K& T. p& z9 Q& _6 T
  1368. sybct.allow_persistent = On
    2 x, ?* X8 c3 i: r0 |

  1369. " l% F5 l3 G5 |4 C' E8 X
  1370. ; Maximum number of persistent links.  -1 means no limit.& F4 j* c# ?& V+ Y/ [
  1371. ; http://php.net/sybct.max-persistent
    . @) x* g- g2 X- o2 A+ R' d
  1372. sybct.max_persistent = -1
    9 W3 c7 F/ Q  S( P. Y4 R; e
  1373. 4 n- D* I- A" A; E9 R6 M
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. N3 y; w' K" f' P
  1375. ; http://php.net/sybct.max-links
    / l! I& \; n- M
  1376. sybct.max_links = -1: }/ f5 d3 X2 V/ C0 H) p) s) \
  1377. & B% H* a" }, f" E, c; P( D
  1378. ; Minimum server message severity to display.
    / X1 X4 n# {' |: o
  1379. ; http://php.net/sybct.min-server-severity
    1 F6 ^% ], R) a2 x( L9 h; L0 Z
  1380. sybct.min_server_severity = 10
    1 e1 ]" y/ T! [

  1381. ) d- M$ P1 Q4 e
  1382. ; Minimum client message severity to display.) y% V' O' z- s
  1383. ; http://php.net/sybct.min-client-severity, n; k0 r4 A3 H7 G! w. _
  1384. sybct.min_client_severity = 106 g4 [2 Z, f) }7 j6 K3 ]
  1385. : ~7 ]/ [" x4 a, S
  1386. ; Set per-context timeout; t- U3 z% H* |- Q" U
  1387. ; http://php.net/sybct.timeout0 C# \$ [' @; x  [3 K# g1 A
  1388. ;sybct.timeout=# [9 T" R- ~" u/ F( h

  1389. # s6 |6 Z4 E& |* H* j& T7 i, A
  1390. ;sybct.packet_size/ [6 }) i$ r' G7 Z0 T  a3 m) z) }
  1391. 3 Y, v' {+ Q2 x( m
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    / _* J% }' N; r$ V) Z# h& O
  1393. ; Default: one minute
    5 G0 h3 g% J9 y4 M, x5 E# D
  1394. ;sybct.login_timeout=
    0 V" F" J8 E0 C; H" d& y) g$ E
  1395. / [. m7 P6 `& J& p& N
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.9 ?+ e- n" ?, v/ m& a
  1397. ; Default: none( ~5 r2 z+ _3 m: K9 q
  1398. ;sybct.hostname=
    * @+ z% l5 ^3 P( u; V

  1399. % f* D( O& Z  O4 t* a
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".' ^: u' a& r- s8 p* \- w
  1401. ; Default: 0& _  s# [+ D! A8 Z
  1402. ;sybct.deadlock_retry_count=
    2 F. e  v; L/ _7 ^1 S* y8 }& G" S
  1403. ! {/ y" k, z! X: f/ Y7 v
  1404. [bcmath]( e0 a3 m" \+ _9 L5 \, [# T
  1405. ; Number of decimal digits for all bcmath functions.9 ?! U, h. F2 ^7 I2 x! }" o2 r
  1406. ; http://php.net/bcmath.scale. t) W9 P, G9 S# i9 A- |3 \
  1407. bcmath.scale = 0
    % w7 G) i( M4 K

  1408. 1 `5 |* E7 F4 G$ p, ?
  1409. [browscap]
      G* Q6 }' W: v% G" l  |, R
  1410. ; http://php.net/browscap  G5 _3 ^2 J! ?- f% S* }
  1411. ;browscap = extra/browscap.ini
    - A$ I5 p! d8 d2 F! t4 B+ X
  1412. # ^  c3 f1 N$ T; X
  1413. [Session]! r9 ?; T# N4 N( R3 N
  1414. ; Handler used to store/retrieve data.
    5 z9 h8 x$ ]# l8 d- m3 P0 B4 ?# [! v
  1415. ; http://php.net/session.save-handler2 X3 k/ V$ d1 s4 i6 W0 I+ L2 c
  1416. session.save_handler = files1 K  r' m1 ]0 C2 a: B2 b

  1417. . |5 R* C) o/ a1 v' C* ~! P4 K
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    " y  \. I% O2 T. A+ O
  1419. ; where data files are stored. Note: Windows users have to change this% k* f9 O& q' V7 ^! l  V
  1420. ; variable in order to use PHP's session functions.
    : m! Y. Y" J7 }" K, D6 M: T
  1421. ;5 b% y9 c, Z1 Q* ~$ Z
  1422. ; The path can be defined as:. Y, G+ z2 H1 D% Q/ K( p
  1423. ;
    . f  C4 C4 ~5 j0 ^" a. S+ ^; R
  1424. ;     session.save_path = "N;/path"" G! C: P' g4 _+ \  M
  1425. ;
    / ]& w9 ?5 J: @
  1426. ; where N is an integer.  Instead of storing all the session files in
    3 ~# T2 E, n) w* _2 i
  1427. ; /path, what this will do is use subdirectories N-levels deep, and, R* Y2 a* e9 A. y7 S7 ]
  1428. ; store the session data in those directories.  This is useful if+ b- v% q% X% [  y( C
  1429. ; your OS has problems with many files in one directory, and is* V0 J8 ?% I$ y/ x3 }1 p% L& e& ~
  1430. ; a more efficient layout for servers that handle many sessions.0 S5 i3 F: z# |7 m, p# C6 q) x
  1431. ;
    # H, c# i$ ]; Y1 Y7 [
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' a  \1 q8 G1 i
  1433. ;         You can use the script in the ext/session dir for that purpose.3 {9 Q+ X* u8 a( M5 N! A2 w
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    " a  A3 e% J3 t. P" d+ w
  1435. ;         use subdirectories for session storage
    " A% s7 \1 O& Z+ H9 d/ \  w
  1436. ;2 }3 Z) V* ]( ?$ R  l. O
  1437. ; The file storage module creates files using mode 600 by default.
    7 x* R" w# z3 d2 l! b: N8 a+ a! f4 A5 E
  1438. ; You can change that by using+ l, l% T" _) J- l; U$ ^
  1439. ;
    # }6 P; S, H9 i6 N2 x; V6 S
  1440. ;     session.save_path = "N;MODE;/path"7 \) y% w  v$ T$ k/ k$ P9 A# }
  1441. ;
    ( c9 J, u9 p2 ^/ m8 C$ Y: A
  1442. ; where MODE is the octal representation of the mode. Note that this
    5 T  d# W, R; a7 T, O
  1443. ; does not overwrite the process's umask.. l8 U& t) J6 S0 y9 l% I1 m
  1444. ; http://php.net/session.save-path
    ) L9 s, d, k8 W$ }
  1445. ;session.save_path = "/tmp"
    / z* w% ~* d6 }; U  l' |
  1446. 7 ]3 O+ c4 ~" U& L( n9 U
  1447. ; Whether to use strict session mode.
    9 E+ v4 B1 @3 p' L/ k
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    " l- x0 d# W4 L+ U
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects+ \3 _  ~3 e/ G9 @9 e7 h! R
  1450. ; applications from session fixation via session adoption vulnerability. It is0 c# O: ~( ^( }. A
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.6 \! C2 A& c) J- v0 U
  1452. ; https://wiki.php.net/rfc/strict_sessions
    7 i- b) }# i' d/ Q% j) X
  1453. session.use_strict_mode = 0
    2 o8 A# V0 q$ b

  1454.   `. [. K: ^: b
  1455. ; Whether to use cookies.
    ' R! \- K. |( @( x6 u8 s
  1456. ; http://php.net/session.use-cookies& |& J% m# f5 x! P8 I3 B
  1457. session.use_cookies = 1
    5 @$ d2 L$ S. P  ^7 q
  1458. , X- C% p1 u) _0 ~9 v4 Z+ `. |
  1459. ; http://php.net/session.cookie-secure
    ( H) R! a9 c+ Q2 O8 D# o
  1460. ;session.cookie_secure =
    ' }% ]$ Z, L9 _2 k+ b2 y: f# x( _
  1461. ' j1 l+ a5 V5 v5 o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' W6 t; Q( q' ~- w5 m- p; }$ Y9 ?. j
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ' P' d2 Y! X1 @7 G: x4 Y8 E( S
  1464. ; session hijacking when not specifying and managing your own session id. It is
    / X7 J+ P2 T+ _2 K5 t# Y! U
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 ?$ \2 u8 f- F
  1466. ; http://php.net/session.use-only-cookies
    4 J2 `0 d$ v" z& }% t* n' I
  1467. session.use_only_cookies = 1% b; D6 `: n# H$ s! ^6 Z2 k
  1468. ! i' Z& K5 \) m
  1469. ; Name of the session (used as cookie name).
    0 m, D( k* T' O# w$ M
  1470. ; http://php.net/session.name* @: z! d8 a9 }  d; f* E: o* P! B
  1471. session.name = PHPSESSID
    3 U7 q& H, |5 c4 K/ D; y0 ]

  1472. " \* p/ ^+ l* S" _  r4 s7 y
  1473. ; Initialize session on request startup.3 v8 K2 t0 k/ [
  1474. ; http://php.net/session.auto-start1 G' J- }' Y# j; `
  1475. session.auto_start = 0
    % Q& p& q$ \# z# }6 f

  1476. 2 c0 g: |8 L9 C8 P" @
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: m' F4 r" O$ O  I; g
  1478. ; http://php.net/session.cookie-lifetime
    ! V' |! ]0 {1 x" Q
  1479. session.cookie_lifetime = 0
    " P: e6 b! N" i1 i1 ^& _! M/ W% x

  1480. $ ~0 G4 z  a) ~8 P
  1481. ; The path for which the cookie is valid.
    5 {- T* b( q* d/ X/ d
  1482. ; http://php.net/session.cookie-path" J' r0 t- b- i; T) p. N! ^
  1483. session.cookie_path = /
    - b# Z' |! P( G# E- f' f0 r
  1484. 6 O  ]' a6 S' i, M
  1485. ; The domain for which the cookie is valid.) _3 y( |: @# c8 @
  1486. ; http://php.net/session.cookie-domain  z# Q* E: x; O. M
  1487. session.cookie_domain =
    * R# q/ o, J/ Q& X3 Z+ E& `4 K! P3 r

  1488. 1 \' @. B2 c( Y2 R. o7 w
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# ~% P: X- R! l  F
  1490. ; http://php.net/session.cookie-httponly
    ) h% ~, e" a6 `& a' ]" s& B
  1491. session.cookie_httponly =
    4 y9 h$ |- u# p

  1492.   S7 d$ u: T' f1 @2 D2 i
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( k- r4 X8 v0 w1 H) A9 g  u# a- [
  1494. ; http://php.net/session.serialize-handler# `2 V: C8 m/ A/ r3 l
  1495. session.serialize_handler = php
    5 o% H, t! a  {% o0 r) x- K  Y
  1496. & Z) }6 Y) a3 |& T; |) l2 J
  1497. ; Defines the probability that the 'garbage collection' process is started
    + c8 i6 Q) U( F9 r- ^% S
  1498. ; on every session initialization. The probability is calculated by using0 u/ c. x1 _7 Q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . X9 [" w1 o5 W
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, |0 l: W0 W: N8 Q' Z  Y" F- e. W
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- `1 K3 x% U) E" I6 R5 F2 Z
  1502. ; the gc will run on any give request.
    : l# L- d: ]# M3 e9 {) l
  1503. ; Default Value: 16 G7 ?" C/ ?1 l4 Q% O9 X
  1504. ; Development Value: 1
    4 {4 t  ^! F$ B. }6 g& C
  1505. ; Production Value: 1* b+ k7 ]: R' ?* {6 W" ]7 p9 Y
  1506. ; http://php.net/session.gc-probability
    4 u1 W( [$ r- G% r
  1507. session.gc_probability = 1: k; }( u! o6 u; g

  1508. " }4 d8 E* o9 U2 S2 ~) c+ v7 r+ r& A
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    6 b6 S. P/ r  S& \6 H: {
  1510. ; session initialization. The probability is calculated by using the following equation:* k: z$ x1 @/ K5 t( A7 t
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and1 [5 X; K4 A: l( u
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1" C1 D( {5 S; n
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; C& w2 `# J& v8 [: w# M8 P' ?
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you8 h" ?% ]( N2 k! O
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,% Q3 [2 [8 o) ?
  1516. ; this is a more efficient approach.  Y8 @; O" ~3 U0 H& m
  1517. ; Default Value: 100! w% b+ g& B; @% |$ D9 g
  1518. ; Development Value: 1000
    ' p; T, Y0 H/ k$ S/ K7 V# G
  1519. ; Production Value: 1000
    ( p) m. P& V. q  l* Z
  1520. ; http://php.net/session.gc-divisor& p) v! B( G. I( F6 c4 s
  1521. session.gc_divisor = 1000
    ( |, {5 K  {* _+ I
  1522. + P& o) R7 R# D: ^2 ]- f2 M/ o5 H
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and! L3 m  R* S$ i8 x& I7 h
  1524. ; cleaned up by the garbage collection process." L& L$ N1 A3 g% m; g; S
  1525. ; http://php.net/session.gc-maxlifetime
    $ N5 r/ ?# Y! ^# E1 y! J) |" a
  1526. session.gc_maxlifetime = 1440
    - _& d  R' _7 B/ B$ z
  1527. + p& z  r7 ]  k# a0 @& C
  1528. ; NOTE: If you are using the subdirectory option for storing session files* r! n, O! c: N. _: R' k
  1529. ;       (see session.save_path above), then garbage collection does *not*
    8 `9 P) a$ N& Y6 j  r
  1530. ;       happen automatically.  You will need to do your own garbage
    " ]) O& H+ l& \- q* a# m% a0 h
  1531. ;       collection through a shell script, cron entry, or some other method.7 A/ s6 x- k, V" T  e9 }$ [1 t
  1532. ;       For example, the following script would is the equivalent of
    ; }# ^# V1 I, h9 ~! ?7 Z: y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):* y( x8 y' f; @9 }
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm" n* [) S# E& a' o5 X( t

  1535. 9 O# S) y% a; a0 h
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.7 Q' m. T# I' C/ f1 i& Z
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , ]6 `& [( o7 @! f0 }
  1538. ; considered as valid.4 z5 n* u2 ~' m! r/ D
  1539. ; http://php.net/session.referer-check) `: T9 h- ^5 I, X' @+ ]' g' z6 h9 r
  1540. session.referer_check =/ o4 o" x# }! S) G" E0 M+ v

  1541. . p; c2 {+ R2 {
  1542. ; How many bytes to read from the file.* h% Y  m" s+ J5 ~
  1543. ; http://php.net/session.entropy-length+ @# P9 x  O+ K7 L! j- |9 v
  1544. ;session.entropy_length = 32) G+ x$ D6 I1 p% ^' R: ?) P
  1545. 4 i/ Z7 U( L+ [+ \
  1546. ; Specified here to create the session id.; {& S2 w& Z  U
  1547. ; http://php.net/session.entropy-file
      P8 ^) _# ^5 W
  1548. ; Defaults to /dev/urandom
    ; {- @  U- n1 K  k
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . i6 F; f6 n  _  \
  1550. ; If neither are found at compile time, the default is no entropy file.
    2 S' p! B$ q; r$ E7 X
  1551. ; On windows, setting the entropy_length setting will activate the
    6 |( M) ]! A5 S9 f* q+ W% `* Z9 {
  1552. ; Windows random source (using the CryptoAPI)% w/ i6 w0 L: n: S$ G! T
  1553. ;session.entropy_file = /dev/urandom
    7 b+ ]6 X- x+ A% a: u& W
  1554. $ m0 S! X  M, m3 p, {
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects. h$ a! G2 h1 i$ f& [' N
  1556. ; or leave this empty to avoid sending anti-caching headers.. F5 F# f% P( Z& o' n
  1557. ; http://php.net/session.cache-limiter0 P+ P( h1 i4 q6 D" x, F( ^
  1558. session.cache_limiter = nocache+ K% J6 t7 ?  h

  1559. & t2 y  u* S* n$ X$ a9 e/ @
  1560. ; Document expires after n minutes.
    , S5 m2 t. {% Y- ]1 }
  1561. ; http://php.net/session.cache-expire
    6 F9 s' u& j4 ~
  1562. session.cache_expire = 180
    * }) A( H! c  D( P: \; d7 p1 K

  1563. 2 K, K; z& [" R% b
  1564. ; trans sid support is disabled by default.
    : L1 p3 i8 S2 f, [
  1565. ; Use of trans sid may risk your users' security.
    5 O9 Y1 P3 {$ R( S5 i
  1566. ; Use this option with caution.
      z" G8 H5 H3 y( t. |* `+ M
  1567. ; - User may send URL contains active session ID$ B* W$ w/ Z6 m9 w% d' l
  1568. ;   to other person via. email/irc/etc.
    . D2 ], w0 b2 ?& ~6 @
  1569. ; - URL that contains active session ID may be stored- R8 V9 u3 c5 g8 l" O: Z
  1570. ;   in publicly accessible computer.9 a6 t& R! S" N1 |
  1571. ; - User may access your site with the same session ID
    $ L2 G5 i# M! x" m! q/ _
  1572. ;   always using URL stored in browser's history or bookmarks.: E. b& }7 z2 Q' `  i& q
  1573. ; http://php.net/session.use-trans-sid
    / O& Z2 W7 C* G" Q7 w& k; d& U
  1574. session.use_trans_sid = 0* \8 T9 n) I# N* U
  1575. & f% A1 T' J5 {0 k
  1576. ; Select a hash function for use in generating session ids.! q" z5 ~8 e' Y! K
  1577. ; Possible Values9 L7 h6 i5 J0 T
  1578. ;   0  (MD5 128 bits)
    * a& W0 |2 g3 f2 K, D  N
  1579. ;   1  (SHA-1 160 bits)
    . [% z' D: w( P) W& ?
  1580. ; This option may also be set to the name of any hash function supported by
    . W! ^5 m, O* h- B6 b/ {
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(); f% o1 S& v, v: ~7 t
  1582. ; function.
    ( V/ q* Z+ S. q, V! k8 }
  1583. ; http://php.net/session.hash-function& g& Z) o9 `& s5 T
  1584. session.hash_function = 02 k5 V/ _/ y- H- |! H- z

  1585. 3 X, Y: m4 ^+ k) ~
  1586. ; Define how many bits are stored in each character when converting
    : n/ v6 P% n4 p/ d
  1587. ; the binary hash data to something readable.
    ' R# }1 _4 W, m  Q5 F
  1588. ; Possible values:, i/ f& ^2 ^/ O, `) z- h
  1589. ;   4  (4 bits: 0-9, a-f)/ K) r5 G. F6 {2 y4 E
  1590. ;   5  (5 bits: 0-9, a-v)
    6 _( U  f* U7 m* J" i9 h- P
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 E# {4 N  j) k& k) E" I, u
  1592. ; Default Value: 4
    . s4 I9 b4 ]3 Z9 _3 R4 _+ t
  1593. ; Development Value: 5; V, l3 M% s+ c- h
  1594. ; Production Value: 59 h( d9 l2 g0 c9 W0 G
  1595. ; http://php.net/session.hash-bits-per-character
    0 ?! p7 w% V6 W8 i+ B2 p
  1596. session.hash_bits_per_character = 5
    # m, d1 J# S- M% G4 T% C* u
  1597. 1 R, L$ q& _  M  l# ?9 d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ E6 O6 {* p1 u* C2 D7 K
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    * r" L% S. u0 N& L- t, M
  1600. ; add a hidden <input> field with the info which is otherwise appended0 g6 x5 l. e9 s0 ]$ r! z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.5 y) U4 X; F/ y+ C+ F5 K- {
  1602. ; Note that all valid entries require a "=", even if no value follows.. c4 v: M3 p2 T( h1 w7 |
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 t1 {9 m: R0 r* c
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 v5 f2 e/ P, B8 u4 S) W/ e3 ~7 O
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) p( K: M7 S5 s% M/ W) P
  1606. ; http://php.net/url-rewriter.tags* n1 a0 S/ b. M0 A& W8 U+ a8 |
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    . r. ?- a  x2 Y

  1608. ) J8 |) i/ [9 q* H  C; p+ i2 z* l
  1609. ; Enable upload progress tracking in $_SESSION
    % @& b4 ~8 ~! E3 m# \! F
  1610. ; Default Value: On, r# N1 p# p6 Q! O4 @9 r$ f/ O3 b
  1611. ; Development Value: On3 N" ], J4 c- o! z% b9 d
  1612. ; Production Value: On$ ~2 p; P2 _5 t) q
  1613. ; http://php.net/session.upload-progress.enabled
    : C" d' F2 K( q
  1614. ;session.upload_progress.enabled = On0 e3 H1 y! A: R# z
  1615. 3 [' x% q, ?: ~' l
  1616. ; Cleanup the progress information as soon as all POST data has been read4 V2 f7 I7 |# i+ ^4 ]9 |/ d* G
  1617. ; (i.e. upload completed).
    : N& v1 `7 e, W* @  Q! C  Y4 {
  1618. ; Default Value: On: J4 t/ r5 `5 J8 Q% I! p' k
  1619. ; Development Value: On
      n0 F, j: [6 s& Y
  1620. ; Production Value: On
    5 e' p- ?7 c& I2 S0 a8 k' _0 W
  1621. ; http://php.net/session.upload-progress.cleanup
    / e3 j2 O" @* L! B% ?
  1622. ;session.upload_progress.cleanup = On5 d# O$ ^( [0 J9 {
  1623. . A7 }. q  l* d" j& a# h, b4 u4 ?, {8 L
  1624. ; A prefix used for the upload progress key in $_SESSION
    ( `# O0 ?+ V0 K4 c4 |
  1625. ; Default Value: "upload_progress_"% i% M  l# q9 q' p& j
  1626. ; Development Value: "upload_progress_"4 N+ f1 A. D1 A3 E/ f- q- j
  1627. ; Production Value: "upload_progress_"
    1 L  d6 S" ?' f8 @) {
  1628. ; http://php.net/session.upload-progress.prefix
    5 `! r& `/ r8 f3 A. s7 M! [
  1629. ;session.upload_progress.prefix = "upload_progress_"$ R. a2 g3 h% o. h" K

  1630. & B& `0 ]# F7 o: B3 b5 E
  1631. ; The index name (concatenated with the prefix) in $_SESSION' Y0 g& s/ N" m
  1632. ; containing the upload progress information
    * t* L2 ]( U9 @; Y1 l
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 M4 V' `7 X/ B; G- g
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 n/ K4 r- r( f
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 L/ \- m7 {& a' e) U4 r9 i3 R. c
  1636. ; http://php.net/session.upload-progress.name. b; E. |7 f; C* ?6 W6 @, Y4 H* h# ]
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ! k8 w3 u. E8 k
  1638. * x! n1 L# S& _2 g+ E% j, W
  1639. ; How frequently the upload progress should be updated.8 t/ s0 S. o9 B' Q- }- i" L
  1640. ; Given either in percentages (per-file), or in bytes) M  l" U$ N3 Z& n+ I
  1641. ; Default Value: "1%"# ]7 Z. S' W: x
  1642. ; Development Value: "1%"/ H/ H/ [: Z6 r6 B* W
  1643. ; Production Value: "1%"% i3 P, L% h4 ]* P
  1644. ; http://php.net/session.upload-progress.freq2 n& L. Z0 O% l' L
  1645. ;session.upload_progress.freq =  "1%"! S" d2 d3 y% o8 n  |
  1646. % X! L( E' ?: d0 r. x/ B
  1647. ; The minimum delay between updates, in seconds( a! O' \, S0 `8 r
  1648. ; Default Value: 10 y  v( K/ K- n3 d3 P6 f8 M; v
  1649. ; Development Value: 1. R8 E; S7 j  F0 D+ `
  1650. ; Production Value: 1
    3 S7 N# u6 r* g2 b+ V' P
  1651. ; http://php.net/session.upload-progress.min-freq
    ) t( s) R, _3 q" p: b- s2 W
  1652. ;session.upload_progress.min_freq = "1"
    * |  W, g% P8 ]0 F3 B1 P1 G  E

  1653. & [& d: N8 @& x3 `5 D; X' v$ O1 K
  1654. [MSSQL]
    ) X$ m; b4 m3 T& d
  1655. ; Allow or prevent persistent links.
    * x+ |6 Q( ], V( \$ Z& m$ j
  1656. mssql.allow_persistent = On9 d! N! h1 I6 ^" f3 u! `6 m

  1657. . j, g  }5 M) W& K$ S
  1658. ; Maximum number of persistent links.  -1 means no limit./ R3 a: q: d' u1 v0 d
  1659. mssql.max_persistent = -18 W; Z/ D) [8 d- W9 b
  1660. ( {/ _$ |  ~8 A) t0 r1 v
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  ~9 y0 S$ y! R' Y( F
  1662. mssql.max_links = -1
    % t( `# ~+ \1 H/ O

  1663. 8 y0 j% V9 F3 i$ a* ]! N  A
  1664. ; Minimum error severity to display.
    2 P  v* n/ _# s0 g. M
  1665. mssql.min_error_severity = 10
    : s5 G( V9 D" m# s4 {
  1666. 5 ]4 [2 n; f6 h
  1667. ; Minimum message severity to display.
    - w; f! L* B/ h2 l9 T6 S
  1668. mssql.min_message_severity = 10
    ! k& C$ w/ m& a# |2 \

  1669. # o7 l6 M6 d0 {8 t6 j
  1670. ; Compatibility mode with old versions of PHP 3.0.
      a8 c) k& Q) }4 R: W" t
  1671. mssql.compatibility_mode = Off
    2 \6 k8 r* R  m' _, _
  1672. 3 W! a8 h5 \% O% T4 _
  1673. ; Connect timeout
    7 V- d" q+ _7 M7 Q6 W
  1674. ;mssql.connect_timeout = 5
    ( p! J4 X7 N4 x
  1675.   ~: ]/ S8 M( O7 D2 ?) g
  1676. ; Query timeout
    9 ?7 z. _! w( U) t8 P; m% b
  1677. ;mssql.timeout = 60
    4 w/ C. K: a1 N

  1678. + T# t5 h& X. W9 A9 R9 R+ `( y. J
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    3 }+ c' c$ d5 \: @: h8 v
  1680. ;mssql.textlimit = 4096; v) q5 \$ }5 H6 G% E* w

  1681. " ^( ^; S, E9 {& U4 M; m
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 C3 p& f# Z1 d3 b  K
  1683. ;mssql.textsize = 4096  C& F+ Y  K+ X7 X" B8 C

  1684. 3 t' g  w& I- g3 y9 }" Q8 I6 a8 P
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 y0 a; c, ?+ T0 g- L8 ]
  1686. ;mssql.batchsize = 0
    5 ~& c% o! W: R) [/ A: s  G

  1687. 3 d3 j" ?$ r8 j1 p. o0 z. Q, y
  1688. ; Specify how datetime and datetim4 columns are returned
    $ I. Y. ^* y1 |8 M
  1689. ; On => Returns data converted to SQL server settings4 j4 L0 q; r5 g( X6 {5 I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    & ?( `5 ]0 @+ p$ Y! h' d
  1691. ;mssql.datetimeconvert = On/ w& D1 a  K% S( @2 P) ]; \3 M

  1692. , F2 B0 l: u! \. R( w* e+ B9 ~
  1693. ; Use NT authentication when connecting to the server1 {6 r" E6 z- I$ t. D
  1694. mssql.secure_connection = Off' P  a( ?' c' Q" \8 N
  1695. : f7 J% s2 H% @2 `/ ]8 q6 x2 X9 s
  1696. ; Specify max number of processes. -1 = library default
    7 L% `  C0 L/ t
  1697. ; msdlib defaults to 25
    & t5 h  c/ e8 r. @, L
  1698. ; FreeTDS defaults to 4096
    ' a! N+ V  v- _) }* m1 e! `
  1699. ;mssql.max_procs = -1! m  b( ^' D* z% }
  1700.   S5 y; X" D: J
  1701. ; Specify client character set.
    ( s: A$ y, s5 ~* u& z
  1702. ; If empty or not set the client charset from freetds.conf is used7 _" Y  e- F) i% s( l" [) H
  1703. ; This is only used when compiled with FreeTDS' L8 C; ^2 W+ H3 t3 }- u
  1704. ;mssql.charset = "ISO-8859-1"0 {  G+ N9 y  x6 \( Z% }
  1705. ' G4 |7 g5 n' ]
  1706. [Assertion]' {- v6 L8 f' |
  1707. ; Assert(expr); active by default.
    - J" }3 p$ L- p5 ~6 c+ K9 K
  1708. ; http://php.net/assert.active* R% _9 m9 p) E: V/ I" ?
  1709. ;assert.active = On$ U6 S( R. e# t7 k) R4 O1 i1 m
  1710. * z$ {5 U" g; P" `' G8 i, r
  1711. ; Issue a PHP warning for each failed assertion.* a/ Z# u! B: ?: n! w! i, ~
  1712. ; http://php.net/assert.warning" @6 J1 e" x7 ?3 H4 ]
  1713. ;assert.warning = On  _' e3 n/ P% I) R1 b
  1714. 6 ]. _3 l  q7 u. a, y1 y8 L/ Q
  1715. ; Don't bail out by default.
    + I/ d4 w1 ~5 Y* D$ {! ~
  1716. ; http://php.net/assert.bail' _- }7 {) @  H' \+ o1 F, L% L
  1717. ;assert.bail = Off2 k+ o6 @) E% ]# y3 G4 h# J% ~
  1718. ' q0 h( Y+ X: t3 Q3 f& `
  1719. ; User-function to be called if an assertion fails.
    8 x+ c* z! [8 E1 x+ H- a; b1 c( c$ L
  1720. ; http://php.net/assert.callback; y) g$ q! F6 d' J1 u" ]' j6 j
  1721. ;assert.callback = 0' N0 p0 f7 T+ c

  1722. $ f8 A  V* c* o9 w, S4 \- V% i0 v
  1723. ; Eval the expression with current error_reporting().  Set to true if you want. U$ |% I3 ~$ c1 U0 A; j* v
  1724. ; error_reporting(0) around the eval().
    ! P' ?  M# Y; j' M& n. b- L
  1725. ; http://php.net/assert.quiet-eval8 o" H8 z: t1 x2 ~/ v) c
  1726. ;assert.quiet_eval = 0/ q% K4 C8 |  z$ w2 Z
  1727. 4 B; \: q5 X3 a# w
  1728. [COM]
    7 s$ T( v! h1 z" X# X2 \& P9 H
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    6 Z/ y( K) x) T% l
  1730. ; http://php.net/com.typelib-file
    $ s6 W! t* S/ ^/ I
  1731. ;com.typelib_file =; i. ~5 O; A$ d+ Y7 q7 g
  1732.   Y% j( |  d0 G& f1 G  A
  1733. ; allow Distributed-COM calls, g- Y! a4 q" c) h& s% d$ I
  1734. ; http://php.net/com.allow-dcom: y( j$ i" @+ e7 \
  1735. ;com.allow_dcom = true9 Q3 q( J4 u; _" P2 P( k5 Q
  1736. & f9 c- |. |! V. J; S9 x
  1737. ; autoregister constants of a components typlib on com_load()5 x. k% @  j' J& Z
  1738. ; http://php.net/com.autoregister-typelib
    7 R: q. j/ z% h: N6 ^6 q
  1739. ;com.autoregister_typelib = true( j" F( V+ v; h" K/ y5 a

  1740. 1 I9 m+ b) y9 T
  1741. ; register constants casesensitive
    , U  V. d' B" K- N1 D4 }
  1742. ; http://php.net/com.autoregister-casesensitive* @3 r1 l0 l7 z; @5 b
  1743. ;com.autoregister_casesensitive = false
    , Y& L4 S5 ^- Q6 O* C7 H+ P0 O6 V
  1744. 1 }7 Y  g8 S# P1 ^& z
  1745. ; show warnings on duplicate constant registrations5 ?; S" T+ N4 X: d" A
  1746. ; http://php.net/com.autoregister-verbose6 M- W, J3 r7 H2 w  i7 r
  1747. ;com.autoregister_verbose = true  s5 N% _% K8 W# s5 ]

  1748. ( L/ T* H6 X4 T3 ]5 Q+ x
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 B( Z! I  C0 u$ v: f$ T4 S
  1750. ; Default: system ANSI code page
    , x& O* c1 _/ T1 E8 q2 X. ?# B6 s1 D
  1751. ;com.code_page=
    $ f+ ^# ^. \) L# k: y1 l$ i7 F
  1752.   G4 J. Q' {6 [8 r" j* x
  1753. [mbstring]
    ) N$ i; w9 I- b5 Q, ~5 M9 j- s
  1754. ; language for internal character representation.
    9 _$ P: x( C4 T
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    9 |- U7 V! y! H
  1756. ; http://php.net/mbstring.language7 t+ Y. y/ \+ \4 p3 u
  1757. ;mbstring.language = Japanese/ q: K: K) J# `6 v, \# l  [. M

  1758. ) ~# U5 N) A0 @' p' W0 I
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    / R! m/ U- ]8 q5 q9 @  e4 {, X
  1760. ; internal/script encoding.1 i6 e# e1 `: Q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * G8 n0 j$ R  R# M- p
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 A! `# b1 l4 f/ y; E7 }. {0 U
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: P, S' u8 O3 G+ L
  1764. ;mbstring.internal_encoding =
    " k6 t9 Q: S5 D  g- d" f7 h4 h

  1765. - G& X7 O$ C7 `8 K' Z! F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 K) v5 F/ d8 w, U
  1767. ; http input encoding.0 f- f0 Q  w* i; t8 `$ |& _
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.6 W; l% S. i5 f# ]: b; n
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.; g& x1 y! l5 w) B8 q7 u, d. n. r
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 L2 @; _5 ]+ Z+ K. w
  1771. ; http://php.net/mbstring.http-input
    0 c' J* D; ~/ N6 o3 u8 O% p
  1772. ;mbstring.http_input =
    ' t9 J" P5 {/ L% ^0 t
  1773. 9 ?4 t! m, V" a4 w) h5 h8 D
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    # O) C  X6 M% _
  1775. ; http output encoding.
    % I3 u$ c" L' Z: a1 \
  1776. ; mb_output_handler must be registered as output buffer to function.4 N/ e* F" Y  J$ G9 W3 y/ Q& ?
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & `) q) S3 Y# ~1 \. A% K
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; S# J3 d; t; t
  1779. ; To use an output encoding conversion, mbstring's output handler must be set$ [- b- k4 G# o  l( E: t
  1780. ; otherwise output encoding conversion cannot be performed.5 ?0 A$ L" T9 b- j7 I6 W% J
  1781. ; http://php.net/mbstring.http-output& j" D$ G/ z; Z/ C0 G6 t
  1782. ;mbstring.http_output =
    " J( B  A0 G5 F) t& u

  1783. 4 C. }7 z& z1 S( F
  1784. ; enable automatic encoding translation according to6 w6 u1 E; q. {! o9 r8 _' J+ Y
  1785. ; mbstring.internal_encoding setting. Input chars are
    + B2 X8 B# ]9 A$ L% S5 r
  1786. ; converted to internal encoding by setting this to On.
    ( m# b4 y7 i: e, u
  1787. ; Note: Do _not_ use automatic encoding translation for
    ' p8 u1 \3 ?5 e, j8 i' ]
  1788. ;       portable libs/applications.
    1 y/ B: O+ I- {5 K4 e/ c( w3 Q# s
  1789. ; http://php.net/mbstring.encoding-translation1 _  A- V4 q4 B+ s4 D" M
  1790. ;mbstring.encoding_translation = Off$ N- L# j9 M7 ]4 K
  1791. - Y: j! l4 W& G3 M4 z5 {
  1792. ; automatic encoding detection order.& i- t0 ^, W5 U% f1 F( D! X
  1793. ; "auto" detect order is changed according to mbstring.language& E2 \. {: h3 Q1 _9 W0 E: {' r& g
  1794. ; http://php.net/mbstring.detect-order: q; M: ^) h2 J) K8 m$ ]# W
  1795. ;mbstring.detect_order = auto
    2 L2 Y3 w) x+ o

  1796. ! r" g$ X, u% m% n& K
  1797. ; substitute_character used when character cannot be converted3 y3 Q5 w( A- X- G% ]( w6 j( ?
  1798. ; one from another* D5 S8 k% B; {( p
  1799. ; http://php.net/mbstring.substitute-character
    - o+ l; f$ x* T
  1800. ;mbstring.substitute_character = none
      X7 D# e6 u5 w: D

  1801. ' i, s4 _7 v/ R1 q
  1802. ; overload(replace) single byte functions by mbstring functions.* x4 F/ z, C* u. r" x; {
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . x: D' C! g) A. ^
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.9 d4 e! g. B/ X  H- O" S
  1805. ; For example, 7 for overload everything.
    8 F9 g; B$ p. C2 K( Q4 |
  1806. ; 0: No overload4 W6 R, Z) T- j- P4 P* v
  1807. ; 1: Overload mail() function
    3 [  c, |* k8 Q
  1808. ; 2: Overload str*() functions2 n+ H4 e5 y% e8 S$ P2 V
  1809. ; 4: Overload ereg*() functions
    0 [6 Y7 t( r! H  |  ?2 s9 Y+ H# @
  1810. ; http://php.net/mbstring.func-overload! U9 p5 [8 `. Q3 g) B$ Y; G- L4 J
  1811. ;mbstring.func_overload = 0
    2 ?; y: w, X6 q0 t& p, P- S% G0 C& S" R, v
  1812. 9 \3 v0 [3 H, I3 z0 Z0 M
  1813. ; enable strict encoding detection.
    3 C& Z1 S6 n+ B, H- O% y9 H' Z$ w
  1814. ; Default: Off& ]  x7 L; V* P9 ?, q0 L
  1815. ;mbstring.strict_detection = On
      V$ y$ k* `- [% C& Y3 s
  1816. 8 ?/ c; o' [/ G  ?8 a. D3 l
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 ]! E+ \: P6 Q0 B& x
  1818. ; is activated.
    / c' }4 a, G# }
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 n5 G' f# N$ Q* X! T
  1820. ;mbstring.http_output_conv_mimetype=
    # H, A- j, K' f/ `. j
  1821. - k- g! V2 N9 _
  1822. [gd]
    : A8 B) K# L! n+ F
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) N" e$ x2 i- |
  1824. ; a gd image. The warning will then be displayed as notices
    6 b! |  Y; V2 t
  1825. ; disabled by default
    * X) `' Z. P6 [: [2 m
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ! y9 w7 j" K" U0 l* w. r# ~: o0 F
  1827. ;gd.jpeg_ignore_warning = 04 {; o" r4 ]* D9 _$ ^" r
  1828. ) v6 j0 Z8 Y: @) l9 E$ P0 t  Y- H7 I
  1829. [exif]6 x* R- V" Q0 b0 L6 @  v3 w
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.7 Z7 L( l2 V7 U& A5 f
  1831. ; With mbstring support this will automatically be converted into the encoding/ {$ w) X$ a$ n9 \) M( D" k
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding& `! X3 C! B/ r4 f
  1833. ; is used. For the decode settings you can distinguish between motorola and& q& e. K. S! J6 p3 W
  1834. ; intel byte order. A decode setting cannot be empty.# @* c1 E6 C5 D* s
  1835. ; http://php.net/exif.encode-unicode
    * p* B) C/ ^; @) B7 [* p
  1836. ;exif.encode_unicode = ISO-8859-15# G' _& ~1 Q( V

  1837. 1 U$ w1 N- B# ~8 W3 @6 ~
  1838. ; http://php.net/exif.decode-unicode-motorola
    ) _7 N8 R2 U5 `& e  i/ g
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    * @& w* p" V; d$ Z2 R8 w* B
  1840. ! w1 i9 u/ j4 p# Y
  1841. ; http://php.net/exif.decode-unicode-intel" l- {% n7 B. K# \
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    3 |6 R' h% Q- K
  1843. & g( |6 p) N/ D; F7 n. L
  1844. ; http://php.net/exif.encode-jis! i2 _3 s5 v7 l+ ]8 b/ T
  1845. ;exif.encode_jis =1 o( B) Y* F! N  v, z

  1846. ( {' N) {6 B( f, F7 v
  1847. ; http://php.net/exif.decode-jis-motorola6 @- B9 K% q" ], L
  1848. ;exif.decode_jis_motorola = JIS
    & M/ G1 F/ j. a0 |" y

  1849. 5 T) W$ l0 ?9 C# Y# a4 t
  1850. ; http://php.net/exif.decode-jis-intel
    1 ~& R/ E1 [2 D) z; }  V
  1851. ;exif.decode_jis_intel    = JIS( p, a5 Q' L0 o

  1852. ; X" `3 J/ }7 R6 N
  1853. [Tidy]6 r" X8 O* B; G$ L- e
  1854. ; The path to a default tidy configuration file to use when using tidy, m1 t! }9 _! C' g" r
  1855. ; http://php.net/tidy.default-config
    ' H1 D, m5 a, Q) r. V# t
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 I- ?% s1 \2 L) V
  1857. + J0 S5 L& c; O% _/ H
  1858. ; Should tidy clean and repair output automatically?
    7 m" k' \  X* ?% A, D4 B
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ; v- i% X/ j5 G4 v0 Q# a- }
  1860. ; such as dynamic images1 i7 e8 K0 X5 V* _; |3 K; w
  1861. ; http://php.net/tidy.clean-output; T- U/ _2 B2 N2 S6 x" V
  1862. tidy.clean_output = Off3 J! q: ^+ _2 h, b" ]3 }
  1863. / j  ^  c( E- ~% P8 C: {9 J% u
  1864. [soap]2 r$ Z9 P# q. P( S4 r6 D3 S- U
  1865. ; Enables or disables WSDL caching feature.3 J5 z" S$ c: e% e) [  D
  1866. ; http://php.net/soap.wsdl-cache-enabled& {8 m1 c! O4 `$ i8 n
  1867. soap.wsdl_cache_enabled=10 S! Z4 o5 t, u: w( U$ e6 j, E

  1868. 4 c- u: n/ @3 `. F8 @3 N$ S  f3 U
  1869. ; Sets the directory name where SOAP extension will put cache files.9 ]' a$ L, t" W  U+ d
  1870. ; http://php.net/soap.wsdl-cache-dir
    & q2 B* X( K; j$ j! l; z) v( t, y$ c
  1871. soap.wsdl_cache_dir="/tmp"2 H3 s0 u' A$ ?
  1872. * m6 a  w# Y5 o4 u+ R
  1873. ; (time to live) Sets the number of second while cached file will be used9 O( ]! C8 L4 m$ O% w
  1874. ; instead of original one.$ \) B9 ~7 M3 }5 V- Y7 ^3 _
  1875. ; http://php.net/soap.wsdl-cache-ttl7 L. B# K3 X, i
  1876. soap.wsdl_cache_ttl=86400
    / ^. R7 ~& R8 U

  1877. 3 H2 w/ k' o) [, l, ~6 `& k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 o; H4 k3 Q; B& X9 K
  1879. soap.wsdl_cache_limit = 5
    ! ]2 ]8 g- Z1 r" T7 H$ y7 A

  1880. : R) z. I' r* R/ Z/ o; u
  1881. [sysvshm]" N8 l$ h' N8 y! }
  1882. ; A default size of the shared memory segment% L0 q2 M! E* D8 M& y  P
  1883. ;sysvshm.init_mem = 10000% L1 V3 q5 a0 t% |9 _5 p( d

  1884. 7 Y+ j8 X% G1 m& H6 m  |& A' U# c
  1885. [ldap]
    6 l3 M1 B& _4 I, H% ]0 Y
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    7 _- {4 s1 M" F* D+ k- n
  1887. ldap.max_links = -1
    " Z; k; |8 M- ~4 k
  1888. 4 Y7 x# Q) n/ h. f2 F' n
  1889. [mcrypt]! h1 m, [* O" S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 Q6 h9 v  O  P! }) E/ ^

  1891. + x* b' f  m4 B7 H+ v& c  x
  1892. ; Directory where to load mcrypt algorithms5 c8 z& h0 w/ g- B& }1 c
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 ^. I4 C7 d3 _6 E" ~
  1894. ;mcrypt.algorithms_dir=
    8 w- y0 q3 \5 y, J0 ?0 b, J" Q

  1895. 4 R) a, B2 p- `8 s( J1 q! o! N& l
  1896. ; Directory where to load mcrypt modes
    / o* b! ]5 y% H6 H
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' x0 W1 Q2 K9 H8 Q+ z
  1898. ;mcrypt.modes_dir=
      b* j7 R% f* v* ^

  1899. ( V6 q. U- z7 X& I
  1900. [dba]
    $ h: K+ v2 }( O4 ]: l+ `0 c. k/ L$ i
  1901. ;dba.default_handler=/ l( o+ X  m3 |+ q+ q2 Q: N8 c

  1902.   k( _: n# T1 d( v
  1903. [opcache]
    5 J0 A* n. r- i0 D3 N
  1904. ; Determines if Zend OPCache is enabled
    ) O% V. n' J1 G5 C8 t1 [
  1905. ;opcache.enable=0
    1 C) e( R9 S( K9 |. u

  1906. 3 @+ l8 z7 g; ?% a9 j
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 s& v+ _) _# ^% f. f% d
  1908. ;opcache.enable_cli=07 ]" e* V3 ?. u  Y& b
  1909. " C: q, Q# e4 O6 K$ V) [
  1910. ; The OPcache shared memory storage size.4 \1 n9 e/ |6 L* e
  1911. ;opcache.memory_consumption=64
    & Q2 d! N* G4 I/ m8 [, I

  1912. 3 K' h: a3 {8 q* r* _
  1913. ; The amount of memory for interned strings in Mbytes.
    : |4 M9 U" M) Z% z7 B
  1914. ;opcache.interned_strings_buffer=4' c1 w4 Z% ^4 H
  1915. 3 }( [: K# k; j0 e- b$ D$ n
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    : @' ~3 H; M- ~; b- d6 _
  1917. ; Only numbers between 200 and 100000 are allowed.
    " R7 C% r) r% I1 l
  1918. ;opcache.max_accelerated_files=20007 B$ w, M2 c3 b: {2 K8 v

  1919. 5 H2 ]6 V- y0 K5 y9 ?
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 F; Q& h8 M8 h) ?
  1921. ;opcache.max_wasted_percentage=58 y( g' D- r# r
  1922. 0 a5 k& F- D4 B0 D: s, b
  1923. ; When this directive is enabled, the OPcache appends the current working
    3 o/ C7 D$ c6 j8 t# |
  1924. ; directory to the script key, thus eliminating possible collisions between& P/ `1 o% t( D& k2 r
  1925. ; files with the same name (basename). Disabling the directive improves4 n2 ]* s$ Y" H
  1926. ; performance, but may break existing applications.6 \8 v' U$ c$ t  v
  1927. ;opcache.use_cwd=1
    ' w& p3 P8 d; a- S' V! q* L& z
  1928. / I& G" a( C; r# U2 b" p" Y. J+ F
  1929. ; When disabled, you must reset the OPcache manually or restart the
    6 {1 N6 U7 o1 h" K3 v3 K
  1930. ; webserver for changes to the filesystem to take effect.7 ]6 [7 u4 x  z& {6 A  A
  1931. ;opcache.validate_timestamps=1
    5 }3 j$ w1 m2 }* ~$ f8 j' t
  1932. 3 }' j8 d9 e1 [8 ~+ e7 ~5 \" h$ g4 u$ {/ D
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
      L% p- D& M( T, X; U! l2 s
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    + q% r* P9 K2 a$ f# t. G, `
  1935. ; once per request. "0" means always validate)' r4 Z7 O: N( w# A- ~4 D
  1936. ;opcache.revalidate_freq=2; `  u& T) o8 X, |/ [

  1937. 8 h) d) Y5 W. x# F6 I: A
  1938. ; Enables or disables file search in include_path optimization& }" l7 f4 @. t  I- z! O  m- F& g9 r7 P6 s
  1939. ;opcache.revalidate_path=0
    9 ~! s! E/ U! B3 U; R

  1940. + @# D% N; x, B# W
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ! F$ U0 A6 Y5 h8 }0 ?5 Z8 e
  1942. ; size of the optimized code.7 [4 K* j% m* M+ g) Q7 M( m- L
  1943. ;opcache.save_comments=1- M4 U0 d+ I- a( w) c

  1944. ! G* E$ U1 L( a
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"8 S; F' q4 E/ a: n8 K2 {
  1946. ; may be always stored (save_comments=1), but not loaded by applications' j: L  B0 s& t4 m
  1947. ; that don't need them anyway.& L  ?; y% |7 z9 f, Z/ C1 U
  1948. ;opcache.load_comments=1
    * ]$ Z  O1 q7 |: K) M
  1949. & v4 U, Y; `; R* P$ U  P
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . ?4 l# r$ q& s/ {" K2 ^. x
  1951. ;opcache.fast_shutdown=04 V: U0 z/ Y: N5 [5 V& Z

  1952. % t* c0 z$ l  L" G6 m# \7 K
  1953. ; Allow file existence override (file_exists, etc.) performance feature.0 \5 k, L1 [6 D
  1954. ;opcache.enable_file_override=0/ u2 G8 X' x- c
  1955. ; b. @/ f# z3 Y. v0 @- N+ d) Y" W/ L
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache- f) Z4 I' V3 v# P9 P/ W# B
  1957. ; passes6 q' v5 _! V4 Y. z: l/ ]! ^' o
  1958. ;opcache.optimization_level=0xffffffff' u/ S) l0 l( N* k& s9 ?$ `+ D5 c

  1959. - x: a' [: H: Z* g; p5 |' K4 P
  1960. ;opcache.inherited_hack=10 o) Z, _6 y# Z/ f! s) S' Y+ A( c& X
  1961. ;opcache.dups_fix=0& z& K% d; V. I

  1962. 9 l) D* O4 D8 I# X! p% b2 s
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* N9 g/ }5 G% D& j6 E( P; E9 O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files5 [9 P- p8 t" v; ~
  1965. ; that should not be accelerated. The file format is to add each filename* H! m4 N& E) X. `: j
  1966. ; to a new line. The filename may be a full path or just a file prefix
    * j/ a: [' v7 E0 D& G
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 W/ }' p0 z1 E9 H
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).' i+ ^: ]+ y% B0 J: d+ P
  1969. ;opcache.blacklist_filename=
    % F+ ]& V7 S1 B) q; L, z9 h
  1970. . y  f4 `' \% V( t
  1971. ; Allows exclusion of large files from being cached. By default all files
    & x4 {9 T! C; c$ G
  1972. ; are cached.
    / k. V$ `1 @  x  E' J
  1973. ;opcache.max_file_size=0
    ( |3 S$ ]# V+ ?. z2 d2 Z

  1974. 2 f0 W, {+ g4 C2 c/ b  m/ Z) J; O
  1975. ; Check the cache checksum each N requests.; }$ a4 e# b: N8 X' S6 S7 A' Q( o; U
  1976. ; The default value of "0" means that the checks are disabled.& E, f  o1 {  @& L! P$ r4 h1 s
  1977. ;opcache.consistency_checks=0# u& e: u3 V% d
  1978. : J- p. A+ P; F/ \, F$ q
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache) P# o/ p8 L7 D2 @9 b
  1980. ; is not being accessed.
    & V; p9 H! K6 a- c
  1981. ;opcache.force_restart_timeout=180: w$ h3 G, j* ^, P( E* [% W

  1982. 9 e6 \$ O9 s+ H: z3 ~' i
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    4 E- r; U4 r, D9 n, t/ c
  1984. ;opcache.error_log=! Q- c9 p. B$ i1 C8 s6 L

  1985. / k* u* z/ Q5 s, x( H' O1 k4 u+ ~
  1986. ; All OPcache errors go to the Web server log.
    ( A7 l, X2 Y) j; z+ }: R
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 z& G! @" t1 L/ T- \$ d
  1988. ; You can also enable warnings (level 2), info messages (level 3) or# U  Y  W7 |0 y, U$ L8 d- m
  1989. ; debug messages (level 4).$ @9 w2 F2 u- X% Y1 o
  1990. ;opcache.log_verbosity_level=1* c/ \! g1 ~3 |. F; F7 N
  1991. + E8 p6 \% m) d( L# C: b
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: ~# a% [. f; i7 h
  1993. ;opcache.preferred_memory_model=
    ) W2 r0 V& t6 q; \9 `$ V$ F
  1994. 6 [" h" n: T6 v8 l$ H
  1995. ; Protect the shared memory from unexpected writing during script execution.
    , d) q( N7 R4 e; n# U3 P
  1996. ; Useful for internal debugging only.
    6 \( w+ I: I3 n9 u2 ]9 `  C5 _* c* W
  1997. ;opcache.protect_memory=01 [; i! [: Y6 h4 Y9 ?! t
  1998. 3 F7 K" r8 X% B4 E$ t' F
  1999. ; Validate cached file permissions.* p+ `0 l( a. {
  2000. ; opcache.validate_permission=00 _% [( `' [! j) {$ P+ |
  2001. 8 |" J) P$ w* Y  Y8 b, U+ |. P4 u
  2002. ; Prevent name collisions in chroot'ed environment.
    0 v1 `+ P- o/ m0 x; p5 k% v/ U* y
  2003. ; opcache.validate_root=0( U& r2 G1 D7 s; a: o  P
  2004. 4 W! P  X9 R. K. o+ ?4 C" _
  2005. [curl]
    2 N3 u  f- w5 f$ [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an. \. D- L9 V5 [+ n
  2007. ; absolute path.
    8 w* n% M2 x* t
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 z# J- A; Y! k/ T! I. J
  2009. $ M! q7 N! S* G, x( p' ~- F; [
  2010. [openssl]
    % r2 N7 D- `+ x8 T! `
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem6 F% r4 s/ d$ F) x
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : e0 O. v+ ~% r# v+ ~
  2013. ; not specify a value for this directive as PHP will attempt to use the$ P; F3 ?" _, o' z) C
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    + u7 z" G2 v4 n0 e7 o
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) l- J, a1 o) H& ^# B# Z4 k
  2016. ; option.$ O/ b$ L0 A! ]& R& Y  X
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" k1 G1 z0 f; m

  2018. 4 p2 r/ E5 G: L1 q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    7 U4 V8 R4 Z, r, _0 A
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    1 i% r' P$ t7 h: \: L
  2021. ; certificate. This value must be a correctly hashed certificate directory.) x6 W- f- S7 C7 M" s/ o! U3 T
  2022. ; Most users should not specify a value for this directive as PHP will
    # d$ }0 r3 R. ]2 m
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,: @& q% R& h( R8 @' H
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    . A, ~& u7 t" `5 F' ?
  2025. ; SSL stream context option.
    . U) v# x' |) s- v2 p
  2026. ;openssl.capath=
    - ]& B& r7 O0 J0 Z8 z; ~6 H
  2027. : j% S3 Q! p! O5 ]) B& M+ }! }0 B
  2028. ; Local Variables:
    + W1 N; l) d6 {6 u  L3 O* Y) Z
  2029. ; tab-width: 4
      m! i8 |' H  `" t( x% w- I
  2030. ; End:
    + _/ [9 Z5 M  h2 v  v! ?: X

  2031. 7 N! a: l! I* `. f. C8 t
  2032. ;eaccelerator9 v% }4 X4 Y. U
  2033. 1 p3 u$ x) J3 w3 u4 H2 _! X
  2034. ;ionCube
    + g- u6 U7 A: K' j7 K; s
  2035. # \! d; f/ w$ F* Q' g0 |
  2036. ;opcache
    0 w- W, q; Q3 r

  2037. 0 e+ h' H$ E5 M" i7 O7 ]
  2038. [Zend ZendGuard Loader]
    * |' n" t+ r' z% d( e5 v8 ?
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so8 F: r: R0 A. o1 W1 T
  2040. zend_loader.enable=1
    , ^- b4 f. [7 I6 i
  2041. zend_loader.disable_licensing=0
    8 b; [) J. X! ^; A( j* b" |
  2042. zend_loader.obfuscation_level_support=3
    # ~  a. B1 o9 \6 }& f
  2043. zend_loader.license_path=& C7 Q# d0 s3 `& b8 C
  2044. ( j0 i/ F7 e9 i- o8 i$ \  f
  2045. ;xcache. Y6 g  i' h) s0 v0 m3 ^
  2046. 9 T5 ]: d$ S' }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692( T! I1 {, E8 N- c
' d1 i% o" i' h4 L) D
2 E( b% |: O) i% u) R$ f$ q  L
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,4 e9 U/ {( \2 B- q' \3 `0 w  Q8 w

5 v2 _8 N& K% M' s6 S5 DDiscuz!程序版本选择:# H- [4 Q$ }# ^# U. K' Q, y
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
; @! S% v) I( j7 E8 g不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
4 C, L% [6 D! J4 f. ~% F5 s: ODiscuz!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。6 M" f( ^  a, [/ s1 M; b0 W# M
9 x4 e2 T% _" N  g/ m) o  Z
Discuz!插件模板版本选择:
5 P8 `/ P' O( x2 S) A, ~很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,& D! G2 u4 ^% k8 D4 H# s+ {- `" L( T
针对这个问题做个统一的普及:
3 m4 J& X4 _$ \' c; ~7 }2 YX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。+ J5 `& C. l$ }( m
+ {. I3 z( d: d8 ~4 ^
所以
$ J' y! G4 }/ v  R* p1 d适合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 @; v6 f5 x1 s! \# v) q打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
* O. C; V. g6 F注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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