分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
2 X5 t5 v; r" }- s+ f" e
! ~) E5 k5 V# R- p7 f& o  s
  1. [PHP]
    ( `* b) n' \+ U/ `# v' F
  2. ' U: G" s' }* S/ P* n6 R- ]& y
  3. ;;;;;;;;;;;;;;;;;;;
    & f& J3 b* B  K" W2 Y- d
  4. ; About php.ini   ;' B, K- m8 _  ?' `
  5. ;;;;;;;;;;;;;;;;;;;
    5 S6 X% ~* a% O" O8 z) _& i
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; @1 D- u9 i( H/ L
  7. ; configuring many of the aspects of PHP's behavior.5 i2 O" C0 C2 C4 N9 T

  8. 7 M' p1 D5 Q- g8 e
  9. ; PHP attempts to find and load this configuration from a number of locations.
    9 R! F# F- Y4 j4 u& ]" l  M
  10. ; The following is a summary of its search order:
    % {8 l0 A. j6 W" C+ X
  11. ; 1. SAPI module specific location.9 P6 I! }( S& `( }0 y. T) Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 J, |; D$ K, h% l: {% o
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0): g- ~+ F6 ?  A3 h8 B
  14. ; 4. Current working directory (except CLI)
    0 D: c& |- n& B$ p" B1 K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* d2 h6 f: U% ], W& j
  16. ; (otherwise in Windows)/ U7 M0 o% a: }& v2 A0 [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    5 X; e$ {8 @* e8 N4 x+ ]( E. @
  18. ; Windows directory (C:\windows or C:\winnt)
    8 n  ~$ F; g% s- K* H1 y
  19. ; See the PHP docs for more specific information.* b8 `; ?% A! l( M: L& f6 J
  20. ; http://php.net/configuration.file" N6 j9 r: M3 R; k1 ?

  21. # z+ f2 U( x' W" b& x: J7 F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - y  [; h- i" [$ z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * _. P; h1 ]3 E5 |1 a  _1 {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ W: M$ @) {9 [- r' ~  |
  25. ; they might mean something in the future.
    3 O( F" k0 K* [4 I3 }  L% ~
  26. : C! ]9 U& P, |& L( ^
  27. ; Directives following the section heading [PATH=/www/mysite] only
    . U& w+ m) @& L( C; s- D
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 g6 n1 k( b: ~5 y& M- B
  29. ; following the section heading [HOST=www.example.com] only apply to: a0 Y7 j0 Y6 n' c* Q+ a; ?
  30. ; PHP files served from www.example.com.  Directives set in these
    7 C# T# f7 ?7 p  E) c
  31. ; special sections cannot be overridden by user-defined INI files or$ Y; {  T  P& z( l. Y& @2 w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ b0 Q# a  d6 u# |
  33. ; CGI/FastCGI.9 t$ [- }8 t, f; h) @
  34. ; http://php.net/ini.sections1 L' p; p& ]7 Z2 o  h
  35. 5 z, c( m9 [% X2 U1 S9 w# I
  36. ; Directives are specified using the following syntax:  n7 d# S: ]1 w6 K
  37. ; directive = value* m2 f7 U; }; L* z8 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : F, q: x: W. H5 K
  39. ; Directives are variables used to configure PHP or PHP extensions., }6 D1 X) ?6 w- S  b+ I
  40. ; There is no name validation.  If PHP can't find an expected( k* r  Q* f# ~+ Q. X* ^3 w
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - R; u  V0 \% ~2 e( }  d

  42. 6 t' Z! j/ Z- l0 i$ V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one- w. ~- U" `, y# M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! J8 ]# z3 W$ e7 a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% d5 x$ t; L. K6 K9 E$ Z" [
  46. ; previously set variable or directive (e.g. ${foo})
    1 R, }- ?# y+ Y. @- f1 d0 _3 `
  47. 4 f" g4 y  v; m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:/ E6 c3 t' t- b: _; C6 a/ \2 t
  49. ; |  bitwise OR
    . b7 |, W# K$ W# S8 a
  50. ; ^  bitwise XOR% |8 p$ X- g) n( W2 b5 f5 N' Y6 c
  51. ; &  bitwise AND
    7 U+ b1 I/ y6 {, [. U! p; f
  52. ; ~  bitwise NOT
    6 J6 h$ P" R5 [& v
  53. ; !  boolean NOT% \( |' L" i% X9 G4 o* ]

  54. 7 W9 {: S: n% y. f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! b2 j! L, p# U" g0 K
  56. ; They can be turned off using the values 0, Off, False or No.2 C9 C! K8 a8 O& l& N
  57. ! P9 K( i1 m" C1 }
  58. ; An empty string can be denoted by simply not writing anything after the equal- s% M" Q* T: b# `& O, F
  59. ; sign, or by using the None keyword:0 ?) S% P3 P" e0 r' k1 u& T

  60. 8 ?$ T( ]& h/ R0 O
  61. ;  foo =         ; sets foo to an empty string
    ! _  m( a7 G  L8 o: q2 d8 y7 E2 O
  62. ;  foo = None    ; sets foo to an empty string
    % {8 q5 q7 G" I, v7 V% u& w! l7 \
  63. ;  foo = "None"  ; sets foo to the string 'None'
    6 ~0 r4 x1 t7 F, X5 u

  64. 0 ?1 N3 s) c  U5 Z6 |
  65. ; If you use constants in your value, and these constants belong to a6 _2 r+ D# B# r: X. e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," P' R% c& \9 u$ t5 h# d0 x
  67. ; you may only use these constants *after* the line that loads the extension.
    ! C+ x4 g1 u5 s

  68. * X" a( E6 H2 S/ [8 ?3 I
  69. ;;;;;;;;;;;;;;;;;;;* }0 o* P2 I8 T
  70. ; About this file ;4 P1 W% b  I; x, y/ Z# m
  71. ;;;;;;;;;;;;;;;;;;;6 Y* w2 G( i2 M
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! A6 {6 v- J' G& C
  73. ; in production environments and one that is recommended to be used in
    " `- y9 H" c2 B6 g# ]9 v
  74. ; development environments.
    4 t- o9 H2 p  p5 z, k

  75. 6 r3 V) d# H/ T
  76. ; php.ini-production contains settings which hold security, performance and; C9 S" t& D! W& s+ M/ @
  77. ; best practices at its core. But please be aware, these settings may break; d7 h7 i2 o- X( X7 U( y- h
  78. ; compatibility with older or less security conscience applications. We' E4 S" A- X# U( i' n/ i# F
  79. ; recommending using the production ini in production and testing environments." c7 F- ]+ T! w1 h4 Q
  80. 3 @- R  ^# y) T
  81. ; php.ini-development is very similar to its production variant, except it is
    % @$ r& |$ O! U, }8 Z  J
  82. ; much more verbose when it comes to errors. We recommend using the
    , ]- _4 U: g# A
  83. ; development version only in development environments, as errors shown to
    + ^. |' L" W3 r6 w6 f0 X" b. b
  84. ; application users can inadvertently leak otherwise secure information.
    " L4 u! n3 F9 K! T4 P$ ?, w+ D

  85. 6 p: y, ?3 y$ n" J
  86. ; This is php.ini-production INI file.
    5 X, g' X$ t; t' n
  87. 3 ~9 s4 S6 G2 }7 s' S4 I
  88. ;;;;;;;;;;;;;;;;;;;! f3 ?. K; k- H* X3 M' W
  89. ; Quick Reference ;3 t5 c3 q) k+ {9 Y
  90. ;;;;;;;;;;;;;;;;;;;
    ; @) {$ c: }& d
  91. ; The following are all the settings which are different in either the production; U9 Z1 l% y6 y) k0 {* e8 N. `
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 w5 \( O  k$ a7 p# ]& l5 j# E
  93. ; Please see the actual settings later in the document for more details as to why
    3 k+ f% {/ ~5 t' g& F
  94. ; we recommend these changes in PHP's behavior.
    7 Q: Q( L0 m& m0 Q: |4 `

  95. : W2 D% P% F6 I5 P
  96. ; display_errors  @# J+ T6 u* |: [. V& \
  97. ;   Default Value: On
    + ^3 Y: J; W# a5 J- I
  98. ;   Development Value: On* \) v9 ]5 U% [; J" U# C
  99. ;   Production Value: Off
    9 K: i1 G) l6 W0 f$ r: ]
  100. " Y1 h+ n3 K: q8 S: |* A: C0 Q
  101. ; display_startup_errors
    4 B0 F6 `$ {' [, b7 N4 E8 e
  102. ;   Default Value: Off6 Z9 ]5 @: ^1 U( i# P
  103. ;   Development Value: On
    9 W: Y* A) O2 {  A
  104. ;   Production Value: Off5 ?* v7 }+ [9 I# T* A( ]( n

  105. : F- G! R0 P5 w  A
  106. ; error_reporting
    + J8 d/ w0 e6 x1 h
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 M+ i+ n) P& f. R8 Q
  108. ;   Development Value: E_ALL3 Y+ H  ^0 }6 u( e, X) Z' Z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# G3 W; `+ F5 s2 b/ i; B' [

  110. * d, k+ m( J' x! y1 Y, g
  111. ; html_errors
    2 H0 ]+ J- }8 Y
  112. ;   Default Value: On' n$ t; B* g( u9 d9 w* C
  113. ;   Development Value: On
    ( A2 s$ @9 E, b1 J% i! }" |0 r$ E/ ]
  114. ;   Production value: On
    : }: k! G+ V" p5 V( i- t* p
  115. 4 A" E5 J: O9 F, S
  116. ; log_errors! j& |* i7 v1 a7 i0 c9 o0 Y
  117. ;   Default Value: Off: H2 e# t! D' D- F
  118. ;   Development Value: On; S7 w* v8 g! ~1 e& t8 h' O
  119. ;   Production Value: On
    # C% Q0 w9 l! E5 u% F

  120. ; o2 b* i9 L/ y
  121. ; max_input_time' U8 M8 y3 v/ d* d: a
  122. ;   Default Value: -1 (Unlimited)4 H; Z# i( T5 H/ A9 c! x. j
  123. ;   Development Value: 60 (60 seconds). ~0 u" ^1 V, o/ Y- c
  124. ;   Production Value: 60 (60 seconds)
    - k& d6 |0 `. f

  125. & Z7 ?4 E1 c" P5 B+ \( `* ~
  126. ; output_buffering9 X8 Z- f& e' u& @
  127. ;   Default Value: Off& h1 c* P  ?" q& K( G0 ~; Q) T
  128. ;   Development Value: 4096. o% N7 n" M' s# V. y% I" n7 ^8 a
  129. ;   Production Value: 4096( t3 i5 a2 p% @
  130. + f$ \# v/ p) m8 C6 [7 X% m. t
  131. ; register_argc_argv
    2 t$ A6 q7 F! `
  132. ;   Default Value: On4 Y: g# a6 B/ C& Z
  133. ;   Development Value: Off
    - A0 J  n4 T6 J  C
  134. ;   Production Value: Off
    * D( [1 `+ q# O
  135. : u2 y# C, M% d& e
  136. ; request_order
    6 C2 ]# [$ C+ R4 V# r
  137. ;   Default Value: None  I, V5 B, l2 |9 f
  138. ;   Development Value: "GP"
    9 i2 q7 `& n. H! s) r0 y+ p
  139. ;   Production Value: "GP", d& H7 i  S: F- V/ V& \' u8 v

  140. ; k  Z1 |/ M  L2 v3 u8 Q0 |
  141. ; session.gc_divisor
    1 d% _* j4 \2 l; r
  142. ;   Default Value: 1006 s: s' T* y: j; `0 b
  143. ;   Development Value: 1000
    + Y# I1 ^9 ^5 H8 }1 o9 z$ ]
  144. ;   Production Value: 1000
    / d. D% K  h* \: {; a8 T
  145. 3 ]5 S8 u0 K7 P) c) {3 v# |; U
  146. ; session.hash_bits_per_character: D* t9 r" c* }' C4 S
  147. ;   Default Value: 4; J8 m( R4 w" L+ J! ?
  148. ;   Development Value: 5% h1 g$ f# c! i( ?4 I
  149. ;   Production Value: 52 E" R7 ~2 U% z4 H6 y+ N' {6 C

  150. " E9 U5 k6 v+ h8 a$ I6 H9 X% D
  151. ; short_open_tag
    % s4 J) W* p3 G! }' u
  152. ;   Default Value: On
    ) L/ {& E) X. r
  153. ;   Development Value: Off
    6 }& b) i$ I) [- n
  154. ;   Production Value: Off
    & I5 ?/ N4 x1 \* \' {( i: s
  155. / s; N/ \# z! E
  156. ; track_errors
    7 C' @! P+ U! T4 d- P) @
  157. ;   Default Value: Off9 u' \, O! D- O. E: Q8 J3 K
  158. ;   Development Value: On
    7 f: S0 o0 [+ r6 ~; y5 C+ X% J
  159. ;   Production Value: Off8 W' ~- f5 ^7 H; X4 \5 q( {. D3 I
  160. 0 b* t% a& w- O! o8 n+ Z- h0 I" T
  161. ; url_rewriter.tags
    6 I) t& e7 b/ H: G, r  c
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 F) F1 D. V" N( b  p  z3 T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ M# r: k' o' V, D. o$ @
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 F* T: `0 m* w
  165. 8 L' e1 d3 v8 \0 P3 \3 R
  166. ; variables_order/ F+ N$ J1 [, S! Z6 Y( i' k
  167. ;   Default Value: "EGPCS"* H$ E7 w( J6 s
  168. ;   Development Value: "GPCS"
    8 x. m" |$ M: X/ s8 ]
  169. ;   Production Value: "GPCS"6 T" o& V& Y* ?
  170. % c" t7 Y, x: l8 s6 J6 R/ i& h
  171. ;;;;;;;;;;;;;;;;;;;;
    6 z+ E8 t) p; c+ T0 R- A$ F# i7 F9 W
  172. ; php.ini Options  ;% N: r) G% c' E7 @
  173. ;;;;;;;;;;;;;;;;;;;;
    ! c- ^7 B# E" a+ E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    1 ?. w: \8 c( O7 ?
  175. ;user_ini.filename = ".user.ini"
      s0 Q) @3 [# P/ H& Y& b% Y

  176. ( h. l$ l2 o" a2 ~, `
  177. ; To disable this feature set this option to empty value7 h0 K/ ~- q8 s( i3 G
  178. ;user_ini.filename =! }1 z% W9 }6 y" Q" o

  179. & y2 X' U$ {2 e. b/ \' ]4 s1 q
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 k% x- I! R4 d9 y3 H' `! L7 S$ o
  181. ;user_ini.cache_ttl = 300
    1 d/ _! N8 a9 @' ~
  182. 4 c8 O  Y9 I; @6 q/ K4 ?
  183. ;;;;;;;;;;;;;;;;;;;;. ?" R) f9 K/ s3 e) _( `  W- z
  184. ; Language Options ;
    # F6 }4 v! H  q- T! u7 a, [
  185. ;;;;;;;;;;;;;;;;;;;;
    * ^( ?! A5 J- v  O
  186. $ ]; [( [, t* Q& o5 O3 _5 H
  187. ; Enable the PHP scripting language engine under Apache.$ T  ~" ~; `2 V7 H, ~
  188. ; http://php.net/engine( N5 N+ T8 W/ z- D; ^1 l" x
  189. engine = On
    $ a# ?7 B! }  C+ H+ S+ s
  190. 1 L0 U: R# |! k- {/ }: F5 l3 v
  191. ; This directive determines whether or not PHP will recognize code between/ Z1 c% f& Z) b8 d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is8 g% |& U. N( R+ U% i( ?+ M
  193. ; generally recommended that <?php and ?> should be used and that this feature9 A, n- b) ^- z$ _( [
  194. ; should be disabled, as enabling it may result in issues when generating XML5 j& Y. ^- ?: l$ A# ~4 m
  195. ; documents, however this remains supported for backward compatibility reasons.
    & y( Y! z  R/ K3 C' U3 w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ t) m; H. T! n6 E! Z. F; B
  197. ; used regardless of this directive.
    5 ]7 e- A. U( H4 o9 J  [: G
  198. ; Default Value: On
    - S5 ^4 ]+ J3 C% O
  199. ; Development Value: Off7 v+ p* W! d- w
  200. ; Production Value: Off
    ! G6 D( D- @' ]6 i6 L1 J. w! |7 t
  201. ; http://php.net/short-open-tag
    " S/ [( V! U8 i/ \" D% p
  202. short_open_tag = On
    ! C1 |) h2 D1 H, Q! ~/ ?: r

  203. 9 o, i4 R2 k: ~& Q$ P
  204. ; The number of significant digits displayed in floating point numbers.. _, F: R3 w# F- h% Q! c
  205. ; http://php.net/precision; M2 y" Q& Y; `1 o
  206. precision = 14
    9 K9 u% h- D1 M9 U
  207. 2 W. ?; ^9 p3 v: o* z
  208. ; Output buffering is a mechanism for controlling how much output data/ Z6 i0 |2 ?4 j' p9 h
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that; ^9 b. W; g; m# Q; t
  210. ; data to the client. If your application's output exceeds this setting, PHP
    1 j8 l, I' y# D5 q6 k% i" ^) S
  211. ; will send that data in chunks of roughly the size you specify.
    8 A( e; Z0 a0 K. d
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    + R+ d& @" O: C9 |
  213. ; interesting side-effects depending on your application and web server.2 M9 \& ^. j# m1 Q! M4 q
  214. ; You may be able to send headers and cookies after you've already sent output, k5 z5 ~3 u2 O& Z* B- M& @
  215. ; through print or echo. You also may see performance benefits if your server is, N3 B7 T5 ^* S6 f0 O. F+ R
  216. ; emitting less packets due to buffered output versus PHP streaming the output' \" ~2 M- ]; z' u% N
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * l/ X7 Z" z7 w9 m. ^" N+ k1 p
  218. ; reasons.
    $ v/ S/ l7 h- s4 _0 u
  219. ; Note: Output buffering can also be controlled via Output Buffering Control4 d) L. c+ B8 `( k" h! ?
  220. ;   functions.
    + b9 K( ?$ A# }* N) a, X. Q$ J
  221. ; Possible Values:% p% h8 W* B9 ?: ?$ G" W' S
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . P  Z' F; X: h! X4 p9 M6 }
  223. ;   Off = Disabled
    ; D0 ^' d7 k5 y' e
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.( c. V# z+ h3 u) S: p
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI" Z$ R' e+ _7 O+ x0 @
  226. ; Default Value: Off
    , g' I3 u& U3 U! V+ R+ E
  227. ; Development Value: 4096
    , K, O, N6 ^' n) F  U8 X( D
  228. ; Production Value: 4096+ r7 z1 u, j3 B
  229. ; http://php.net/output-buffering
    ' ?9 {' [; T. P- T. y1 B8 z6 }
  230. output_buffering = 4096
    7 X: X8 [4 V; `! S' U# _
  231. - P6 d3 x+ ^$ |9 Z1 R
  232. ; You can redirect all of the output of your scripts to a function.  For) ~# \% K/ Y# {* o# ?, r* E) g
  233. ; example, if you set output_handler to "mb_output_handler", character
    7 R; u- j8 y& A( W# k- P& R+ T
  234. ; encoding will be transparently converted to the specified encoding.* L$ }, [7 l! l. t) N
  235. ; Setting any output handler automatically turns on output buffering.
    ( h/ U; y! B$ Z9 Y6 ^3 T6 Q
  236. ; Note: People who wrote portable scripts should not depend on this ini1 V8 T' {- p9 g) N7 U# H# X8 }
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ P- H+ i) G8 x( `* {" F
  238. ;   Using this ini directive may cause problems unless you know what script
    6 J0 M6 v: L! S# n
  239. ;   is doing.* L+ p. x# k8 v
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 O; Q: {3 v/ k8 J. d
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    7 H0 O8 R5 b* w+ B; G
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ' l! ~* m# f  o6 F2 X6 l
  243. ;   Instead you must use zlib.output_handler.4 W$ J2 k  E, _6 _, e2 b
  244. ; http://php.net/output-handler8 Y1 @8 ^! `; W# u4 r, i0 y- b
  245. ;output_handler =- F" B3 F3 N% |1 A1 q; d
  246. # D4 {$ V& B$ d' R" t
  247. ; Transparent output compression using the zlib library
    8 _- {2 V; S2 E$ O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size! j$ d' v+ @) ^' u: w) `; R
  249. ; to be used for compression (default is 4KB)1 _& a/ \7 J- E% @) Z3 F# u  E
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP; {* y7 Z+ o7 c9 K8 C: N$ N& ?
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    3 C) e- Y# w5 R" `
  252. ;   compression. If you prefer a larger chunk size for better1 [+ ?6 A1 W0 l& C- u
  253. ;   performance, enable output_buffering in addition.' p! x8 i& {! [: b- v5 }
  254. ; Note: You need to use zlib.output_handler instead of the standard% I# _. I8 E( d, a% [' X; m) U- C! E$ Q* Q
  255. ;   output_handler, or otherwise the output will be corrupted.* ^6 z8 S( I4 G, u/ _, z2 ~
  256. ; http://php.net/zlib.output-compression* y1 D- y: n. Z9 F* ]
  257. zlib.output_compression = Off. j/ w- E/ g, p5 p; A0 r

  258. - n. f6 t9 Y1 K; y
  259. ; http://php.net/zlib.output-compression-level
    0 ?% [* z( ^  O- n, @6 ?
  260. ;zlib.output_compression_level = -1
    ; X; h' o6 e2 ^0 O7 {
  261. ; [) g* K1 W, L) U  r' x( J
  262. ; You cannot specify additional output handlers if zlib.output_compression% N2 {# R/ g. {* b% V" `8 E& y
  263. ; is activated here. This setting does the same as output_handler but in3 Y0 I9 c  u! n1 E4 v
  264. ; a different order.
    3 {- q/ X3 f  p4 @! l
  265. ; http://php.net/zlib.output-handler8 K  P! S' r& s! w  {+ \. r
  266. ;zlib.output_handler =
    ) u  u9 p6 L8 b
  267. ! y: U# x0 p$ E; |/ |
  268. ; Implicit flush tells PHP to tell the output layer to flush itself7 {0 H3 O4 o5 o, o2 Q  k
  269. ; automatically after every output block.  This is equivalent to calling the
    ' N7 \$ A8 t& |4 g- W0 J
  270. ; PHP function flush() after each and every call to print() or echo() and each/ m) g( U: }" s$ H4 B0 f+ x1 Q2 F* ]
  271. ; and every HTML block.  Turning this option on has serious performance6 k9 l( t, e! x% b: o1 F+ ]
  272. ; implications and is generally recommended for debugging purposes only.8 a& Y4 h- a8 f# ?5 e" \; g
  273. ; http://php.net/implicit-flush
    9 r5 \* s% \+ q; R1 \& {, G" i
  274. ; Note: This directive is hardcoded to On for the CLI SAPI+ g" e: B+ W' V5 \+ P
  275. implicit_flush = Off
    ) H2 A! V# s- K, z  x
  276. ) c' a* F4 F' x. L# `% [8 ]
  277. ; The unserialize callback function will be called (with the undefined class'/ w' k) w: v0 v5 K( b) {
  278. ; name as parameter), if the unserializer finds an undefined class
    2 m1 C+ l4 D) }0 ^( l  O
  279. ; which should be instantiated. A warning appears if the specified function is6 @- n- O) w3 [/ A# Z
  280. ; not defined, or if the function doesn't include/implement the missing class.
    8 h' |$ M9 I$ U6 |/ v
  281. ; So only set this entry, if you really want to implement such a
    ) Y  U2 d9 q2 W- j" I$ v  e
  282. ; callback-function.; Q/ ]3 W  [) ?0 S: w
  283. unserialize_callback_func =& F) F! C' m4 o0 N" a3 Q, _" `

  284. 3 l- E& p% Y# ~$ _7 k9 j% d
  285. ; When floats & doubles are serialized store serialize_precision significant
    3 |2 u2 I" }; W
  286. ; digits after the floating point. The default value ensures that when floats' T' E; M, |8 o5 M0 i
  287. ; are decoded with unserialize, the data will remain the same.
    + f/ {2 m& {7 v5 d; q
  288. serialize_precision = 17/ B* \3 v: J  c# z

  289. 0 x0 s" Q  J" O% D5 Q( P3 [$ I
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 Y( o" O9 I) W  T5 m1 E
  291. ; and below.  This directive makes most sense if used in a per-directory
    4 f( L* C8 [" l9 S2 s
  292. ; or per-virtualhost web server configuration file.  E  g1 a- W$ B& @7 D' r" f7 ]
  293. ; http://php.net/open-basedir
    ! L) H2 Z3 j5 Q
  294. ;open_basedir =6 p  S9 O9 l2 r: e1 i
  295. " x" i: O! }( I
  296. ; This directive allows you to disable certain functions for security reasons.) [6 `4 s7 A/ B( S2 C8 s/ p( s% m
  297. ; It receives a comma-delimited list of function names.
    9 V5 c3 u( T2 ~# L+ a
  298. ; http://php.net/disable-functions
    2 D& O, h  _/ U4 }0 @0 ~2 r; U# L
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : q4 a2 X6 B! a

  300. ) }5 U4 O8 l6 `( w
  301. ; This directive allows you to disable certain classes for security reasons.  V  `6 z' o& v
  302. ; It receives a comma-delimited list of class names.
    " Y2 S- j8 A0 f( F, u
  303. ; http://php.net/disable-classes
    4 z5 q0 d. z" d) i( O: a* x% k
  304. disable_classes =
    % B, o. \: a+ v, Z7 f2 y

  305. - M/ Q; ]; T0 U! C
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" t0 s6 A* U: t1 c: G* U! z
  307. ; <span style="color: ???????"> would work.0 b# ]' h9 [; V- s* F' i! N+ M
  308. ; http://php.net/syntax-highlighting
    . \" D- C( p& v% h( ^
  309. ;highlight.string  = #DD0000
      v! s4 p% r6 w
  310. ;highlight.comment = #FF9900
    $ t4 U( i; W  E
  311. ;highlight.keyword = #007700& G+ ?5 }% O% N& {# p0 m, S: a' A! H
  312. ;highlight.default = #0000BB
    5 F" q7 K( q6 F0 b8 [! D
  313. ;highlight.html    = #000000
    * }2 {1 z( y& ^/ T) [" x

  314. $ P9 r7 @/ \7 P
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    / Y) S2 r* D- G8 b1 ]1 F
  316. ; the request. Consider enabling it if executing long requests, which may end up4 ~7 o, x9 T+ L  n3 D0 Y
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior# J* W! x" r2 Q/ \; S+ e' E
  318. ; is to disable this feature.
    1 a. T" n5 X" h
  319. ; http://php.net/ignore-user-abort8 [. [' H' I9 @4 y. O
  320. ;ignore_user_abort = On
    9 S4 _0 j6 _4 w6 y" D! ~

  321. 4 y1 ?7 h0 K7 V, k$ r
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    4 R4 D; N8 ~2 f& \2 }7 K& X
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ' ^& m) F: g" z% a  f+ B, r
  324. ; the file operations performed.
    " C4 f9 ~/ E! R' ?* T; g8 ?
  325. ; http://php.net/realpath-cache-size
    2 |6 i0 x$ \7 V. {: m. ]
  326. ;realpath_cache_size = 4096k5 }6 R# n( ?+ q. Z: ?3 ^4 O; s

  327. 2 K7 K) F( f  S/ q* Q
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( [0 l5 I8 q0 p+ H
  329. ; file or directory. For systems with rarely changing files, consider increasing this9 T5 Q2 g/ a' V
  330. ; value.
    3 o  p1 k% @2 H& J0 Y
  331. ; http://php.net/realpath-cache-ttl
    8 E% I* i2 A& L, N
  332. ;realpath_cache_ttl = 120) P* H$ b! y, I0 `9 |

  333. 4 D" F! a1 Y( Y, @* e
  334. ; Enables or disables the circular reference collector.
    3 V- u3 S' T, g$ R: `8 a# n
  335. ; http://php.net/zend.enable-gc
      Z6 q0 i; {1 P$ e( [: ^! T
  336. zend.enable_gc = On
    8 `5 m, A" B& y, B$ I8 ~) T% d( |( C

  337. % P3 J( t; z, a5 s: Z; @
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    & W1 m3 I6 ]$ _: y. t" }
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! Z0 ^5 @. ^; I/ H+ j4 c4 `, G( r
  340. ; encodings.  To use this feature, mbstring extension must be enabled.( N; N* I( H: w5 y$ B1 @! J8 [
  341. ; Default: Off
    ! f7 k2 A. I8 m$ k1 o
  342. ;zend.multibyte = Off1 s+ j0 @/ s; x
  343. ) H. E' x: |0 P6 m. ~1 L$ S& v
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ( {# S8 s* T1 `
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , R+ C' j2 Y& \7 X- t. S
  346. ; Only affects if zend.multibyte is set.+ ?$ c6 @7 K- l  R! p) S7 r
  347. ; Default: ""3 p+ u, A( S8 q8 c9 N0 S# @
  348. ;zend.script_encoding =& S- O+ d; g3 _3 o" O6 x- Q
  349. ( E- m# ?" Y; x2 J& V
  350. ;;;;;;;;;;;;;;;;;2 K6 z) {. f3 k/ A+ b
  351. ; Miscellaneous ;
    # p5 X! T( a, J) b6 }# ?+ a( P$ R5 c
  352. ;;;;;;;;;;;;;;;;;6 H; W  D* A1 E/ x/ m* `2 G1 z: y* L2 U3 Q4 m

  353. % ^8 E) p( v) O/ v$ I" h  o
  354. ; Decides whether PHP may expose the fact that it is installed on the server6 I) L) D! x% ~" Z: \, K7 N0 q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security+ @  o$ d8 [1 }# @
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    + t6 G1 L0 ?! i7 u/ P: Q
  357. ; on your server or not.
    4 F' Z( v$ R% f( C1 c/ s
  358. ; http://php.net/expose-php1 h- U( \3 ?2 t7 |& l0 E
  359. expose_php = On( {& G0 t4 G. V, X

  360. " W  {# r; Q3 z7 g
  361. ;;;;;;;;;;;;;;;;;;;
    * a9 [) [) w; P& s3 o
  362. ; Resource Limits ;
    % X( c7 Y  X0 O9 x
  363. ;;;;;;;;;;;;;;;;;;;
    , f& q: _; c' E$ e
  364. 6 ?1 h# B# J- v. e
  365. ; Maximum execution time of each script, in seconds: X% ~( x5 ~4 P9 h3 l
  366. ; http://php.net/max-execution-time$ c: d" l; P" h; D' B* N6 I6 `
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI  B7 R) ]& [* W  j$ c
  368. max_execution_time = 300  t; t. C' ?% }

  369. ) y1 G1 v( S  k2 ]
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    + \2 K1 I6 G3 Q. H: _
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 C9 @0 Y: J3 B) Z* r+ s3 [1 X8 D0 T
  372. ; long running scripts.
    3 `5 Z/ e, Y/ |4 o# A
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - Y7 B4 D5 \. P9 W' q# c. j3 ]
  374. ; Default Value: -1 (Unlimited)' n4 M' X" \4 M$ h, a
  375. ; Development Value: 60 (60 seconds), A: E2 b  L9 R# i+ I' [
  376. ; Production Value: 60 (60 seconds)3 e- o" ~9 n! c/ j$ f0 m( g- i
  377. ; http://php.net/max-input-time! j2 f. I6 X: {8 X
  378. max_input_time = 60: o( n( C1 t; Q0 p

  379. ! J1 c2 f3 d5 j! v3 ?* V* m/ i
  380. ; Maximum input variable nesting level
      b* Z7 g, t4 q5 ~' U" ~
  381. ; http://php.net/max-input-nesting-level
    8 \) T( P& L: X$ ]5 h+ y
  382. ;max_input_nesting_level = 64% c- i/ z2 s) ~5 R4 i/ A
  383. / z( f( l0 V) V
  384. ; How many GET/POST/COOKIE input variables may be accepted
    5 t# \8 O* p$ V+ a6 _8 p
  385. ; max_input_vars = 1000" K  L' D! |2 l/ L  h8 V; o
  386. 3 f% k. q. B& }; T/ `8 [
  387. ; Maximum amount of memory a script may consume (128MB)
    6 e5 A$ y& n" @9 X- v
  388. ; http://php.net/memory-limit
    1 ?+ S" X: ?6 l5 X1 T4 @9 Y
  389. memory_limit = 128M0 H2 G$ f' H( {, t: C) H. z
  390. 1 T7 m$ _3 U! D& X4 {2 J' n2 F
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , I" u$ _. g" Q; ~$ c- V( A, b* ~
  392. ; Error handling and logging ;# S8 G( F8 ~4 e* l. Z" N
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 E1 b- Z( h6 _% m
  394. ; Z5 W! c- P+ D9 R2 B) r% r
  395. ; This directive informs PHP of which errors, warnings and notices you would like' T8 g) q! K  [9 M9 f# A. S4 A6 `8 Y& N
  396. ; it to take action for. The recommended way of setting values for this" d$ V9 w- R9 Y# S4 H% P: G
  397. ; directive is through the use of the error level constants and bitwise& `; y% _; p( W1 k: X3 S
  398. ; operators. The error level constants are below here for convenience as well as
    % h% y9 C( X+ H8 F) W. u
  399. ; some common settings and their meanings.
      G; H4 N% z/ i* Y# F6 w# Z+ u" n) v
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    $ M( D, Z- B2 V* F3 u& [
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 d" [' i" k) N7 Z0 m  a/ H# N
  402. ; recommended coding standards in PHP. For performance reasons, this is the) g% z# {2 h" A
  403. ; recommend error reporting setting. Your production server shouldn't be wasting" p% D6 d/ R) D% u$ ?. q/ s
  404. ; resources complaining about best practices and coding standards. That's what
    / v) Y; U( X/ U5 M' z4 ^
  405. ; development servers and development settings are for.
    ; k9 J# T: R' n' b  e
  406. ; Note: The php.ini-development file has this setting as E_ALL. This, [/ n7 S; I2 y
  407. ; means it pretty much reports everything which is exactly what you want during6 w# B9 }+ D; [( Z* G/ X  t# |! x
  408. ; development and early testing.
    8 A' s# B* _1 _# c1 {7 W
  409. ;4 a1 V/ Z6 \% L2 P/ y% b. L
  410. ; Error Level Constants:
    # n  A( x( P( [; N; E- J
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ) k& o# y/ d7 ?1 R7 L1 q7 w
  412. ; E_ERROR           - fatal run-time errors
    % W4 G  T0 ?# x# s! \6 f
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 c) \. a3 D, U7 h% @2 G
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 s5 b+ M/ b- _$ i  z
  415. ; E_PARSE           - compile-time parse errors
    8 k$ y: y# C7 |4 u9 Q2 {- n" n
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    % |5 P, k4 F( D* e  g' W
  417. ;                     from a bug in your code, but it's possible that it was
    2 b% F. s6 P& O; h
  418. ;                     intentional (e.g., using an uninitialized variable and
    * V2 J: ?0 l# x4 T3 V1 _$ J1 Q
  419. ;                     relying on the fact it is automatically initialized to an
    3 _* Q9 L' n3 Z- G" {
  420. ;                     empty string)1 c7 ~0 \, q1 z8 c& b5 t1 t! f8 U
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    7 [0 S' |8 C2 ^- K% _
  422. ;                     to your code which will ensure the best interoperability
    + [, L- \* s" A& o8 Z  N' m, X4 M% q
  423. ;                     and forward compatibility of your code
    ; a# U- d7 D; a- m  Y$ u- e
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup2 y3 A) N# A3 U- v. G
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 Q7 h/ K' z- k, f6 N
  426. ;                     initial startup9 N, S- ~! `2 j& X4 P. w! t1 m/ C
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    + m" X/ ^* }2 n1 w
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  S4 q6 J! W( j2 ]1 r/ Z& }) w
  429. ; E_USER_ERROR      - user-generated error message8 g- L2 d2 z! U, q+ I3 m* l3 l* [
  430. ; E_USER_WARNING    - user-generated warning message
    0 \: O+ z3 E4 m( Z
  431. ; E_USER_NOTICE     - user-generated notice message( K3 L# s; _% ?/ y# i+ s/ U9 S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions9 _) U/ v7 B1 X/ c" H8 n
  433. ;                     of PHP
    3 [4 g% A: c8 d. ]! s
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% Y- W) N! e- ^* Z- z) x
  435. ;
    ; W6 C% \4 |" f, m
  436. ; Common Values:  z3 i. f' ]* q8 M
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    0 z$ k$ t; }5 P
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    & Z. |% r% t* U1 I+ j- `& f, _' V1 O
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 \& e5 \! G& `! b3 k
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 H0 L" |* n$ |% F' g) o
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . k# @5 M; Y% ]1 [7 E! r
  442. ; Development Value: E_ALL
    3 q: c0 n& ~8 }6 V; h6 M, A
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( }8 C0 L6 |9 \& G. h
  444. ; http://php.net/error-reporting0 X- N% b, F. H8 }; x+ F/ Q! p
  445. error_reporting = E_ALL & ~E_NOTICE
    8 z4 k  N# @+ `% Z1 T% x
  446. $ Z: b: _# B( g0 I+ T
  447. ; This directive controls whether or not and where PHP will output errors,  @$ ?& k' ^$ H' m; M4 y0 W
  448. ; notices and warnings too. Error output is very useful during development, but
    9 b! H4 ]/ x. [8 v' [- V
  449. ; it could be very dangerous in production environments. Depending on the code
    ' ^4 t& B# _, y& ]+ ]
  450. ; which is triggering the error, sensitive information could potentially leak7 j" b( {1 }2 q% g4 G9 i- z
  451. ; out of your application such as database usernames and passwords or worse.
    0 ?! i4 W. o; P! X
  452. ; For production environments, we recommend logging errors rather than  y" T- f5 A1 _/ f" H2 ^
  453. ; sending them to STDOUT.# I1 t3 u1 [/ R; f9 |4 }
  454. ; Possible Values:
    ( I8 S1 \3 }7 T; m2 m$ F
  455. ;   Off = Do not display any errors, G& n9 {- O/ x
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % _% z9 I8 R! d8 Q" `. w
  457. ;   On or stdout = Display errors to STDOUT+ a- l! K. w! l6 Z
  458. ; Default Value: On
    7 s' k( C( B5 q: V( l
  459. ; Development Value: On/ G7 L. \* h4 L, h* ?5 s/ w
  460. ; Production Value: Off
    - O" n2 t  _8 E; a
  461. ; http://php.net/display-errors  B# ~# B) C* T3 ]2 c7 ^4 O
  462. display_errors = On
    0 ~# S; N; f$ L3 {9 Q9 l9 x5 b

  463. ; {7 n8 i2 I. f' K# T; P+ n
  464. ; The display of errors which occur during PHP's startup sequence are handled6 B0 i: r& o7 B0 f$ n& [
  465. ; separately from display_errors. PHP's default behavior is to suppress those* m) K' G$ F( i
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    / @5 S* M) s# |
  467. ; debugging configuration problems. We strongly recommend you
    2 P4 ^/ K; u: E
  468. ; set this to 'off' for production servers.; `0 I, t* g( h
  469. ; Default Value: Off, }6 d! V# T1 r* e$ P8 {, T, L
  470. ; Development Value: On2 D8 b- ~1 Q+ U  Q1 ]) P! l/ S
  471. ; Production Value: Off
    3 S: Y& \5 F( y$ r/ u
  472. ; http://php.net/display-startup-errors
    ! h3 ^% z* K9 A2 l) ?+ k# f
  473. display_startup_errors = Off
    2 K, X, Z) a% K- w  g- |" |! Z
  474. 1 ]0 ^5 D7 K& a. U0 R
  475. ; Besides displaying errors, PHP can also log errors to locations such as a; l2 S  D( V% o' M2 p3 a
  476. ; server-specific log, STDERR, or a location specified by the error_log& t8 h3 _4 n* r, K9 T; A5 c: v) c+ x
  477. ; directive found below. While errors should not be displayed on productions; M; A1 u: W' K8 n' @  T
  478. ; servers they should still be monitored and logging is a great way to do that./ n: j! S0 j7 y; @' m
  479. ; Default Value: Off
    . \- w* q  [& Z1 T9 ]& U
  480. ; Development Value: On; {: F0 [- V; w: o" b
  481. ; Production Value: On
    % e2 Y+ C+ t( Z
  482. ; http://php.net/log-errors
    + ]5 {- P2 k8 c6 @. z! D
  483. log_errors = On
    6 j  I1 ~: ?2 g( y* {

  484. / V8 c* b) h6 p
  485. ; Set maximum length of log_errors. In error_log information about the source is
    % q" n2 R0 X! g# [. a
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 n& h! {5 K) z9 M  ~# C7 ]
  487. ; http://php.net/log-errors-max-len
    0 F# h  i3 D7 m; `
  488. log_errors_max_len = 1024( r6 y: j! V9 u7 i( n& t. D# \; M$ m

  489. $ a% Y! l4 W/ N" M
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same# R- {! ?/ @- n: |
  491. ; line unless ignore_repeated_source is set true.- m$ a4 M( _4 X( y2 E. ^
  492. ; http://php.net/ignore-repeated-errors
    2 O- Q& r6 l/ [1 g! t
  493. ignore_repeated_errors = Off0 t, K/ b/ D' Y

  494. / B4 `: N6 s5 r9 q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    & S- K7 K/ w* X- ^$ ^  b$ t
  496. ; is On you will not log errors with repeated messages from different files or! ^" K: x: _, u
  497. ; source lines.
    2 ]; p' {8 E" }
  498. ; http://php.net/ignore-repeated-source& e! L; c0 o1 c8 t: W
  499. ignore_repeated_source = Off0 S* _+ l( y8 v

  500. ! _% N; T$ R7 F! [  g
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    + U% w1 o' ~7 N  `
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    # J  ~8 H6 m- _. j( ]
  503. ; error reporting includes E_WARNING in the allowed list8 w! b" n6 n! t1 ~7 M/ e- }' }
  504. ; http://php.net/report-memleaks( k0 @# ?) G; |# c7 R8 H. o
  505. report_memleaks = On
    6 o& ]& l# M7 ?9 c3 G0 j7 q

  506. ! Y% h; [( T9 r7 s+ J
  507. ; This setting is on by default.
    & q) G. K3 T: E! q
  508. ;report_zend_debug = 0" P- d( J" B- r
  509. 9 T/ j. f( R0 o/ F
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 _  m' c, E" |8 R$ w- k
  511. ; to On can assist in debugging and is appropriate for development servers. It should5 w/ @6 Y! N2 S2 h& L7 k
  512. ; however be disabled on production servers.6 N: p0 T5 b0 B4 @( A9 b! l: m
  513. ; Default Value: Off4 q, e& O$ t# m' q$ P
  514. ; Development Value: On+ x/ V& |6 m' ^; r" x  ]. y
  515. ; Production Value: Off2 \" Y$ K" M8 ~' O5 V+ j/ u% V
  516. ; http://php.net/track-errors
    / k5 x  a6 v# u4 H+ R6 G# u
  517. track_errors = Off
    : b- V. g* A: ]5 D+ E
  518. 1 ~+ t6 J7 ]1 {1 e9 K* Z
  519. ; Turn off normal error reporting and emit XML-RPC error XML) Z/ o: F1 K7 E2 q
  520. ; http://php.net/xmlrpc-errors
    4 }$ d6 K' r$ N5 d6 F. |/ n
  521. ;xmlrpc_errors = 0
    3 `- m: M, }& D9 y
  522. + |$ P; u7 {# ?% K6 s4 I" \
  523. ; An XML-RPC faultCode
    ! \1 \0 b- `: e6 N( `
  524. ;xmlrpc_error_number = 0; \1 W" m9 f  F- D# g: ]! p3 H

  525. ! W6 @0 R, @* K  ?$ O
  526. ; When PHP displays or logs an error, it has the capability of formatting the! c5 l* z, ~! P! ^
  527. ; error message as HTML for easier reading. This directive controls whether' S0 u" N: y' [+ n
  528. ; the error message is formatted as HTML or not.
    8 u% t( Q* `% G% i! V: n6 E. [
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI3 I4 h' C8 U& W3 I* f( p
  530. ; Default Value: On
    ; k* \0 Q, C7 D( a
  531. ; Development Value: On
    + Q9 [" v, h9 D$ h! D' ^* }
  532. ; Production value: On
    % W& {6 w6 G' s" g. t( b% C; O9 f
  533. ; http://php.net/html-errors, {! `9 ^% U/ U4 Z% q2 M: _
  534. html_errors = On$ `" ~3 r6 A/ I% y) f
  535. ' d- q- [, f* N' s2 w& R, ~1 B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP: Z3 _  ], _, [) U) U- e) f9 T
  537. ; produces clickable error messages that direct to a page describing the error
    9 B/ A  E; _% q( H: U
  538. ; or function causing the error in detail.& m! R" |& u0 |8 B: n
  539. ; You can download a copy of the PHP manual from http://php.net/docs0 _" _1 M8 G, q: e1 f/ R" j3 ?2 h
  540. ; and change docref_root to the base URL of your local copy including the
    7 o0 t" o& d: _
  541. ; leading '/'. You must also specify the file extension being used including3 l' L# |# i( S2 S2 o
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 n9 J: O. U$ _* O& ?
  543. ; case no links to documentation are generated.
    6 Z5 T  W3 L# l/ n
  544. ; Note: Never use this feature for production boxes.
    6 @( C$ K+ W: m6 N) N' _
  545. ; http://php.net/docref-root
    + y5 r9 E' A! o
  546. ; Examples
    " i" n2 ^0 k9 L# g' [. K  g
  547. ;docref_root = "/phpmanual/"
    . T; \4 p1 i- h: F4 n6 y% `

  548. 4 ]# o: |6 k- E" @( s! [$ @
  549. ; http://php.net/docref-ext
    2 z" z, {$ ?+ i$ X% j7 ?; O4 u
  550. ;docref_ext = .html4 N- ?' [, S$ K

  551. * j' W( g4 ~; z/ q/ k- R; h
  552. ; String to output before an error message. PHP's default behavior is to leave& u; t. C' h: Y6 B$ Q  y
  553. ; this setting blank.
    + |4 j" x1 n" G% n" M
  554. ; http://php.net/error-prepend-string
    ) J2 L% z* [+ K$ [; _# @$ ^6 J
  555. ; Example:5 Q; c) v' ?, x8 A/ O
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    6 {; h8 z% X0 d- G+ ]. I
  557. 3 q0 l' E- l/ C$ m* q
  558. ; String to output after an error message. PHP's default behavior is to leave
    $ r& z) I) i  e  T; j6 g
  559. ; this setting blank.
    & y! O! X' ^% v) r5 B9 \+ @
  560. ; http://php.net/error-append-string
    0 |! |; u: Z1 U& b6 _+ @7 X! K
  561. ; Example:% U6 p3 F  x5 p" E# I0 g2 ]% x
  562. ;error_append_string = "</span>"& R( s% b# s: w" `- i
  563. ' w# F$ u+ v, N8 L) {+ E7 f8 d. J- ~
  564. ; Log errors to specified file. PHP's default behavior is to leave this value: {4 ]9 _! N; U; w0 y, n4 L4 b
  565. ; empty.
    2 ^! ?  s/ l4 F' N8 x
  566. ; http://php.net/error-log
    : U2 @+ e9 C% W7 R2 t
  567. ; Example:
    ( L9 ~9 R. A, ], q$ l" R' \
  568. ;error_log = php_errors.log
    4 j% r- p" M7 a8 ]$ z
  569. ; Log errors to syslog (Event Log on Windows).1 [. K! {+ a/ E+ L' C4 x
  570. ;error_log = syslog. l. s( p$ I$ v6 F

  571. " Y/ g6 l- M8 p, k. n% W
  572. ;windows.show_crt_warning
    7 ]2 {9 W. i' O! e, B: k6 t% f; [6 R9 b
  573. ; Default value: 0! W% K, C$ l6 A
  574. ; Development value: 0+ J, i! U7 }2 ]
  575. ; Production value: 0& j! R/ T7 v% Z/ A: K4 s

  576. # L; L0 o/ Q+ ?
  577. ;;;;;;;;;;;;;;;;;, V/ c  z4 b2 [: z
  578. ; Data Handling ;) J, D/ T, z) F+ m+ c
  579. ;;;;;;;;;;;;;;;;;8 |# r9 j, ]# e9 w0 O8 b

  580. & J: M0 \9 U  K% ?
  581. ; The separator used in PHP generated URLs to separate arguments.4 v5 s- T, R7 U  h- r2 p7 M$ _1 n' t
  582. ; PHP's default setting is "&".
    $ Q: d' d- D& S
  583. ; http://php.net/arg-separator.output
    + H6 Q1 u" U) [
  584. ; Example:
    # t2 E4 g5 l& d& |
  585. ;arg_separator.output = "&"
    ) u& B. ^  ]. D/ l' l* k

  586. & U0 ^+ n7 q- @7 m9 P3 [
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    . Y: \% E1 f; j% e$ ~* l3 z, c1 l
  588. ; PHP's default setting is "&".
    / P  i) ]4 U7 B% a6 b7 k- \) ]
  589. ; NOTE: Every character in this directive is considered as separator!
    & C" U: v3 ?5 [& M: I, k& h! q
  590. ; http://php.net/arg-separator.input
    8 C( O# d' V( B  w" H$ q4 K$ o* o
  591. ; Example:
    9 `2 h1 [, t8 v1 u1 u/ ]% g
  592. ;arg_separator.input = ";&"
    / ]! A# t6 L0 X  e

  593. 2 I: C- O' Y6 n: x% M5 x8 z3 X
  594. ; This directive determines which super global arrays are registered when PHP
    + K- i  T1 B, r: N! F4 S& J
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    " N) y) u: h7 b1 _: K" z( D8 w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty5 r% \' T: g9 u; i% T' i
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    0 w; J+ ]" X1 J7 J0 b
  598. ; used as the others, ENV is not recommended on productions servers. You
    * @6 ]3 B! S! n1 H2 q8 Q
  599. ; can still get access to the environment variables through getenv() should you) y8 N+ |) ^! w1 S' ], `% C
  600. ; need to., P$ _# A$ ?; E( p4 K3 @
  601. ; Default Value: "EGPCS"
    6 H/ l4 T8 ^. G4 `  m! D
  602. ; Development Value: "GPCS". k- |# g' w: d6 N' n- l
  603. ; Production Value: "GPCS";. L; T! I2 o, F0 g
  604. ; http://php.net/variables-order
    , B) z% W+ U& D* y' A3 l* `/ I( x! g
  605. variables_order = "GPCS"
    ; @0 G: S! N$ \+ {- r4 ?1 T1 T" H
  606. . v& K& A4 f6 W
  607. ; This directive determines which super global data (G,P & C) should be1 y  d: i+ G' N1 d
  608. ; registered into the super global array REQUEST. If so, it also determines
    ! Y4 R- D, Y  k) L- \3 j
  609. ; the order in which that data is registered. The values for this directive
    3 U4 T% R* _' m5 P; w+ D8 P
  610. ; are specified in the same manner as the variables_order directive,1 H) o. v, u- V+ [7 m1 l8 [
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . {) P9 }# ?) R1 ^& i9 z2 J" x  e3 T
  612. ; in the variables_order directive. It does not mean it will leave the super
    5 |4 B/ q; |2 }/ C5 C3 c9 E
  613. ; globals array REQUEST empty.
    ) `4 q5 s- L8 e# @; ?
  614. ; Default Value: None$ {( O3 I' f( v% C# j# A
  615. ; Development Value: "GP"
    9 o, Q5 y5 n+ Q) M3 D  `
  616. ; Production Value: "GP"
    " a7 b! y3 K6 E( \3 y( K  H
  617. ; http://php.net/request-order) L3 S3 D4 l& l
  618. request_order = "GP"9 S0 q% A3 J& v: O! [* R5 I  i

  619. " j, N( {2 J: n. `* H
  620. ; This directive determines whether PHP registers $argv & $argc each time it( d$ Q' w# t) y. `2 L. \5 f* V( T
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 B' `( p7 M. K( \- r
  622. ; is invoked. $argc contains an integer representing the number of arguments
    2 T' R+ x. e9 u7 s
  623. ; that were passed when the script was invoked. These arrays are extremely
      c: T! b6 C8 B( E/ v% Q
  624. ; useful when running scripts from the command line. When this directive is
    . [, E1 G& S8 m% z0 r
  625. ; enabled, registering these variables consumes CPU cycles and memory each time, R' ~: U' `  O( o2 O0 \& |# d
  626. ; a script is executed. For performance reasons, this feature should be disabled, {) `0 E6 r. `
  627. ; on production servers.% m% l  Q$ P2 e9 m& l
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 V3 F6 }' a! ?: Q# h
  629. ; Default Value: On
    ) b' U  z( m+ k% z, p! \: R
  630. ; Development Value: Off; h9 q) _" J1 ^: W
  631. ; Production Value: Off  b5 H3 Q: l) Z7 M7 I9 t
  632. ; http://php.net/register-argc-argv1 V0 I6 R" |+ K( c. o) ?
  633. register_argc_argv = Off; w; T: `5 e; d$ {; V+ E

  634. 0 ^* n8 Z) q# V  S' E3 ~! j1 t- \
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . O3 X! C# ^/ O0 g$ b. c6 E
  636. ; first used (Just In Time) instead of when the script starts. If these
    / _$ F2 ?. ?/ S) L2 i: |5 _/ o! q  h
  637. ; variables are not used within a script, having this directive on will result
    ( q' L9 ?; U2 u9 [
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " G4 T, L" j, N& X# U8 K1 O( x
  639. ; for this directive to have any affect.
    & o5 @+ t0 @# s0 o
  640. ; http://php.net/auto-globals-jit' f) \  ]+ ^% _: o
  641. auto_globals_jit = On7 u" ?  V) t/ P

  642. - W% k: G' a. v5 J( U
  643. ; Whether PHP will read the POST data.' T/ _" L2 c2 `1 z. ~: k% R, a
  644. ; This option is enabled by default.
    / N. h; u- n4 Q1 ?/ A
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST9 p3 I# q# c) d; T/ u2 L' V
  646. ; and $_FILES to always be empty; the only way you will be able to read the. B- P  @# r/ f/ s, F9 ~2 R
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ' G2 F" L' w0 V) L* R  Q! |  x. d
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
      U2 I$ I$ a1 s' `/ a& F3 J  t
  649. ; http://php.net/enable-post-data-reading' z8 s3 q- e% g- ^) h' h4 q
  650. ;enable_post_data_reading = Off
    : F$ ]  x2 V: j

  651. / D+ R0 r2 ~- c# L
  652. ; Maximum size of POST data that PHP will accept.
    % C# {1 h& U) j! i& t- t) G
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , O5 i, t7 c6 T3 C6 J2 ~3 [8 u9 ^) j
  654. ; is disabled through enable_post_data_reading.
    " @2 Q" M% H7 z' z6 F, N' k$ y, B! |
  655. ; http://php.net/post-max-size
    1 r- Z, f; _* u$ P& }1 [
  656. post_max_size = 50M
    9 A& s, {* o5 M) J) g
  657. 9 p, M& Z6 }% a; g
  658. ; Automatically add files before PHP document.
    $ U# K+ V# [" z1 R1 ], g' U
  659. ; http://php.net/auto-prepend-file
    & Z1 t; W* }/ i' g0 g* v; p
  660. auto_prepend_file =
    , a+ b9 G& k+ F# n; H% o5 |3 k; d

  661. ) h$ G  l+ Y9 t. W. x# s$ K' z; ]! V
  662. ; Automatically add files after PHP document.
    # `- |( T) X% q/ p
  663. ; http://php.net/auto-append-file% _% _, X( z, p+ t2 F% f
  664. auto_append_file =
    : b5 m4 a1 I+ h
  665. & ]2 g( e% H; `! [6 P+ z
  666. ; By default, PHP will output a media type using the Content-Type header. To7 a' H3 T0 n1 k+ |
  667. ; disable this, simply set it to be empty.
    . W* k: K) V" w; V) S% x
  668. ;
    ) W$ O- L, Q  I3 r. d
  669. ; PHP's built-in default media type is set to text/html.8 I% ^+ s+ E) D8 R1 L
  670. ; http://php.net/default-mimetype  _' u1 ]- m# u: g9 ^% u6 B
  671. default_mimetype = "text/html"
    , M$ K* U4 b  x2 q7 N
  672. + B4 U* q$ F5 l$ D# }
  673. ; PHP's default character set is set to UTF-8.
      l3 p6 U, M' G# t! e/ h
  674. ; http://php.net/default-charset4 {# Z* A: k$ n- W4 t
  675. default_charset = "UTF-8"9 @" L* S  x7 g$ K$ @9 O
  676. , N! h+ P, |) A; z
  677. ; PHP internal character encoding is set to empty.$ L) t5 y0 H" L+ e  A
  678. ; If empty, default_charset is used.
    % m* s% t$ ^9 C7 ]. F
  679. ; http://php.net/internal-encoding9 N' d8 F3 y4 I% D! C2 \, C/ b
  680. ;internal_encoding =- c( j8 y! b4 O* }# d. f# L% I, \

  681. 9 _- Y8 v& Z4 X. {7 J) F
  682. ; PHP input character encoding is set to empty.4 o/ ^9 a% `/ m
  683. ; If empty, default_charset is used.
    9 e$ G2 m8 |1 i/ O1 O
  684. ; http://php.net/input-encoding  `9 |' r6 V% o7 j$ }
  685. ;input_encoding =
    . Q7 l- z, @0 n6 e5 S) o9 N0 I
  686. / N  D5 q! g4 Y- a* R; t+ B. E
  687. ; PHP output character encoding is set to empty.; h) w3 ?- E6 r6 ]$ _$ g8 L
  688. ; If empty, default_charset is used.
    7 `+ T9 _6 [% L0 z, T
  689. ; See also output_buffer.
    + u. u+ h1 ]0 X/ Z4 F3 v
  690. ; http://php.net/output-encoding+ @8 G( g0 ]. M
  691. ;output_encoding =9 X# [3 @. R* }' A: \9 H
  692. , L# @0 E6 o0 O/ A3 n& L5 X
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 E8 u9 p: n: d$ d% T
  694. ; Paths and Directories ;
    * j. U% a/ u& v, w  Z; w
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;  `0 P2 C# p; L" \6 T! `, H

  696. 2 n, g% o' ?6 b
  697. ; UNIX: "/path1:/path2"
    3 R5 N  g. M9 E0 ]$ b' ^
  698. ;include_path = ".:/php/includes"1 d9 n' a0 c. U
  699. ;* C( w7 C+ d% n( h& b
  700. ; Windows: "\path1;\path2"
    5 k" u- y* L" _
  701. ;include_path = ".;c:\php\includes"$ d: y& a* M& `9 a2 ?6 P- r9 t0 P
  702. ;
    8 |, S" g# b6 z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"5 u! g% E2 z& K
  704. ; http://php.net/include-path9 T6 h9 p- r+ ?( O

  705. , d8 y; U, R' Z& C$ |7 k
  706. ; The root of the PHP pages, used only if nonempty.; s( h; w; Y0 f$ Q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root( F  j+ g1 u6 o
  708. ; if you are running php as a CGI under any web server (other than IIS)
    8 P- }  @: r/ \/ I! N& m" g- S
  709. ; see documentation for security issues.  The alternate is to use the% Z' @: Y* k  Y( j
  710. ; cgi.force_redirect configuration below& _9 n, n' ~* z9 W  Z) S, f
  711. ; http://php.net/doc-root8 l( M  G! W5 `
  712. doc_root =
    6 G) z$ d- b. y- \& I! q. Y
  713. - j! Z* K6 p5 q
  714. ; The directory under which PHP opens the script using /~username used only1 s% D! D0 Y. n4 y
  715. ; if nonempty.3 p8 r" a& ]2 |
  716. ; http://php.net/user-dir
    # L) b0 M$ }$ R2 F$ w* z
  717. user_dir =
    ( A+ ]& R& [6 `: q) @+ X0 |" V

  718. - A9 i) j( ]. q) [0 w/ j
  719. ; Directory in which the loadable extensions (modules) reside.
    9 \* v7 M8 g( L+ A9 S4 c1 q
  720. ; http://php.net/extension-dir
    6 h6 q# \6 p/ N' t1 h# R
  721. ; extension_dir = "./"
    % o: {5 ^' q- p2 z
  722. ; On windows:
    % G3 ?+ T; b( h* q) h- l
  723. ; extension_dir = "ext"
    * j8 ?  T  g6 Q* k

  724. / q: [7 u2 ]: Y% {' M5 t) }  [
  725. ; Directory where the temporary files should be placed.) q  G2 O5 ~: \
  726. ; Defaults to the system default (see sys_get_temp_dir)5 h. j% }) m  u$ U2 p
  727. ; sys_temp_dir = "/tmp"3 `% X( ?3 ~  G" N9 {) c- R
  728. % m2 Q% A/ L  l( g+ Q' n
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      ^) w0 b! ]" j* X, e1 k/ Q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. R% j$ R* R* m$ t% V2 I
  731. ; disabled on them.3 e$ T# G  v& l8 q- r  z0 x
  732. ; http://php.net/enable-dl' X: ?4 ]/ w" m
  733. enable_dl = Off! u9 M: e' i9 G% `' c" b; _6 s
  734. # C5 D1 Y. u7 k+ W4 K; O
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. Y/ j( M# Q, r9 T2 g: X
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    5 s$ p& i+ r# T+ b3 C. }
  737. ; turn it off here AT YOUR OWN RISK
    8 |2 R+ D/ ]5 J1 w7 @; t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + h5 d' `& [4 a6 b2 Q: K1 b  w, W
  739. ; http://php.net/cgi.force-redirect
    ! b4 V+ S. b% t* e9 H, D  y/ n
  740. ;cgi.force_redirect = 1
    & m* J6 m  J4 g$ e- y# u8 o# v  K

  741. ( M3 j8 e9 Y' ^8 I( a4 H- _5 X2 W0 i  [
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # D2 ^% K) M- v4 [
  743. ; every request. PHP's default behavior is to disable this feature.
    ( _0 {/ ^1 K" Z( ^
  744. ;cgi.nph = 15 ]& M& D( _/ r# x! }' _6 W' W
  745. ( g, M) B. D) M# q. p: }. \' a7 m# B3 o6 g
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  _8 k! W7 n2 x! o' L7 r
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ' t9 V( F' }5 e& x" {3 J/ a% M
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    - a# I5 u  @  f; [- m, J* _
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    / w* |3 t( [; ]* Q
  750. ; http://php.net/cgi.redirect-status-env8 O5 B8 a; u+ F% j
  751. ;cgi.redirect_status_env =
    ; i4 Y: K) h" r( L0 y* _; {
  752. 3 D7 x$ m$ K0 f$ t
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 C/ J( c7 q7 N# M4 z% A0 F
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 r0 \$ F3 K9 Z* |2 P# c, a
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ N, H# ]/ K" ?/ \; z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- F/ h0 k! _8 u% }
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    3 R& F! ~) k8 C6 R# Z: a
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " |, O  `0 H) e, h3 a) h
  759. ; http://php.net/cgi.fix-pathinfo" p& T  b2 f1 [& ^( z0 j
  760. cgi.fix_pathinfo=13 H" x8 D& z! B4 z7 ]( A: r
  761. 4 d. ?$ d' ~: I2 J
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 A! i- O' X( b' H4 Q
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 g1 g6 E. V/ q$ y1 W! Q3 X. w# o" J
  764. ; http://php.net/cgi.dicard-path7 G$ }( v- U+ b2 h6 T
  765. ;cgi.discard_path=1& p8 }" l! w; w. O

  766.   y9 ]2 h& S9 q( G
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate# b6 L/ a: O! [: V- n# k) f
  768. ; security tokens of the calling client.  This allows IIS to define the" `: Z- y0 P( f% q9 H) n( P
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    5 i  [1 u  C: F+ |- V
  770. ; does not currently support this feature (03/17/2002)1 Q" @; D8 ^4 c( A/ @6 H
  771. ; Set to 1 if running under IIS.  Default is zero.
    2 x( l1 O1 [  D: q: L$ s+ ]8 V
  772. ; http://php.net/fastcgi.impersonate- Y3 G. p# P9 v, i6 ]  Y' J
  773. ;fastcgi.impersonate = 16 I+ B1 [, T7 d( Y: J2 k
  774. . }7 t6 @9 O/ s' Z+ v2 M
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- [, q8 a7 X: w
  776. ; this feature.
    - j. _" z; E8 e5 n) s  t$ ^) z
  777. ;fastcgi.logging = 0
    , u' c9 t3 E$ v! k" I6 _

  778. * h4 G5 f' d- D* W" s8 o
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + Q# _( U" u3 @% J9 r0 s
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 P6 D/ J7 k5 }# Z: b9 B. K8 ?
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    $ y1 V3 I9 o" u
  782. ; RFC2616 compliant header.& O. m$ e8 I* i4 W( c' P
  783. ; Default is zero.. m/ B) `" U3 y) {  t
  784. ; http://php.net/cgi.rfc2616-headers
    0 s/ i2 G) A* R- B. c
  785. ;cgi.rfc2616_headers = 0+ w, y# p$ S) `  A( K! e

  786. . @$ v) I4 n5 c3 y1 E! R* G  v
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 U! C4 m( X+ N% N
  788. ; (shebang) at the top of the running script. This line might be needed if the3 [% y+ x3 I; ?; j
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; h2 s  ~8 F% {2 _$ b6 Y1 P
  790. ; mode skips this line and ignores its content if this directive is turned on.0 ^: j; X- O( `/ y! T0 y; N1 _2 x
  791. ; http://php.net/cgi.check-shebang-line
    . m( e" a$ S9 b: J* i& _- {+ n
  792. ;cgi.check_shebang_line=16 _- |  ]! T' I8 l2 B3 H& }7 E  O

  793. ' K+ T% v9 e* w( e. D
  794. ;;;;;;;;;;;;;;;;4 [3 {: y; D" |! @9 K
  795. ; File Uploads ;! q8 H# O0 k) D- g/ O
  796. ;;;;;;;;;;;;;;;;
    & V8 i$ Y. o* t! A9 g9 A
  797. ' |  t( y/ b/ _1 @. G
  798. ; Whether to allow HTTP file uploads.5 y6 `! u; y7 A9 L
  799. ; http://php.net/file-uploads
    6 ]% L& A2 W) m- q
  800. file_uploads = On. v/ y" ?- J) F( s- U9 N& D- H4 o' N& J
  801. $ W/ P, {* \7 S6 ~" C
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    9 i1 o+ e. u, Y* }! ~. o
  803. ; specified).
      o* X; C9 w: q0 q
  804. ; http://php.net/upload-tmp-dir
    $ @0 s  u4 p- o1 Q) `0 }! E2 N2 S
  805. ;upload_tmp_dir =/ E# T. K$ x* g; N, X
  806. 0 j9 C! V$ N- l
  807. ; Maximum allowed size for uploaded files.$ T) b% r. A* i5 w4 Z4 ^5 Z
  808. ; http://php.net/upload-max-filesize
    1 x9 G+ V  G8 @3 g( G" t0 H
  809. upload_max_filesize = 50M& i4 U- i- [; F1 U

  810. ! t7 i4 S9 s/ c
  811. ; Maximum number of files that can be uploaded via a single request
    5 |- U4 U, V3 p1 a& S) _! D
  812. max_file_uploads = 200 D6 s. j9 ?* y) q3 W" o

  813. . c/ {9 A# b- ?1 V+ Y# J' Y2 u2 S
  814. ;;;;;;;;;;;;;;;;;;+ |- o+ C: O% w
  815. ; Fopen wrappers ;
    % Z; u. \) z* h2 O) _2 y% W8 \
  816. ;;;;;;;;;;;;;;;;;;- j9 E$ c) }% u9 V, ~% W8 E& e! \

  817. 4 Q' S  H8 H/ t" W: \
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.( x7 M, [( J0 I; L9 c
  819. ; http://php.net/allow-url-fopen
    6 `1 g6 X# C! W" N( N
  820. allow_url_fopen = On% z* }' J: a" B- n* k7 S% u
  821. 4 p* k/ ?! y- l0 G5 V( K: ^, B$ K& x
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 g" h. b7 \; J5 h' }3 K
  823. ; http://php.net/allow-url-include$ L. J5 O* x7 E& v
  824. allow_url_include = Off
    " ?7 B7 B0 V& v! Z+ ~8 v

  825. * N0 H9 l7 J, M. o' o5 O
  826. ; Define the anonymous ftp password (your email address). PHP's default setting1 ]9 U- P+ B+ Q3 `7 H1 @7 O
  827. ; for this is empty.2 y1 D8 J1 |+ n% s6 B0 ?
  828. ; http://php.net/from' c0 f0 a: j$ s  `3 g8 g
  829. ;from="john@doe.com"4 n3 ?& O' N& }
  830. 0 ]- u8 f# g. ?: w( t% l$ L6 r
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ; a8 O8 E1 ]0 y' {: H3 u
  832. ; http://php.net/user-agent2 f% ~( N/ ]7 y% V
  833. ;user_agent="PHP"; J2 g1 w; T# z/ j2 m2 A
  834. 3 b0 w# H: _4 [* f" ~( ]; M
  835. ; Default timeout for socket based streams (seconds)  ^( S! R7 {6 N0 N3 }+ ~2 u  D+ a
  836. ; http://php.net/default-socket-timeout$ @# }8 G' B0 U$ n' w' ^
  837. default_socket_timeout = 607 C2 U: |, g% U) q/ {

  838. 5 ^5 q# c$ ~' G
  839. ; If your scripts have to deal with files from Macintosh systems,
    2 N: D7 p9 k1 b; `1 K
  840. ; or you are running on a Mac and need to deal with files from9 k  U2 M6 `, o& c. ?$ ]' `; ?
  841. ; unix or win32 systems, setting this flag will cause PHP to& Z+ E9 V  }9 w5 Z3 a
  842. ; automatically detect the EOL character in those files so that
    0 K1 L' k# B* b! _% Z4 @
  843. ; fgets() and file() will work regardless of the source of the file.$ F& a- J  X. j% y* X
  844. ; http://php.net/auto-detect-line-endings
    4 V6 g8 X$ `7 [8 d! p: g: |
  845. ;auto_detect_line_endings = Off
    ' m1 n+ s! b2 P

  846. ; v4 B8 }* V# `; ?0 P
  847. ;;;;;;;;;;;;;;;;;;;;;;0 [0 R* y! C9 h
  848. ; Dynamic Extensions ;0 f2 F4 J" `7 ~7 j
  849. ;;;;;;;;;;;;;;;;;;;;;;& z/ [  i; M& a1 r1 Y
  850. 7 A+ D1 A' I: L) r( m$ z# `, K. l
  851. ; If you wish to have an extension loaded automatically, use the following; T  Z2 H( v& g+ p
  852. ; syntax:
    & A) Q7 ^9 t9 ~: x$ S9 y' D5 O
  853. ;, {. N( y" k' a" M% T; Z' Z
  854. ;   extension=modulename.extension; T. W6 _. \4 N1 g: W5 I, |! F1 ]
  855. ;- s; \1 J5 h7 F) c  ]  H
  856. ; For example, on Windows:
    9 T$ P% i+ d! ~. s- |
  857. ;, W& d) n: q% O% Q
  858. ;   extension=msql.dll
    - v7 ~" J8 T* Q
  859. ;5 H6 x1 ~1 k( v) d- d0 A- ^3 h  z
  860. ; ... or under UNIX:
    # W: p& R# ?  m+ Y
  861. ;* E- I$ J1 s. j8 q
  862. ;   extension=msql.so6 V9 j+ {% R: D0 X" r6 z
  863. ;
    5 m  G0 i0 K- x, y: H" Q: b, t) s
  864. ; ... or with a path:' u7 {0 d" [- i& q( u
  865. ;
    ! e/ s) S0 ]5 u3 `
  866. ;   extension=/path/to/extension/msql.so( r8 ^8 d/ a2 w  N% w  ]8 z
  867. ;
    ) h9 E( R, ~& x  I3 ]
  868. ; If you only provide the name of the extension, PHP will look for it in its
    1 e+ S- i4 `8 q- M9 d0 l1 O
  869. ; default extension directory.
    ) ]+ B$ X. W7 q/ [0 _
  870. ;( Q- o- z& ?$ a% U
  871. ; Windows Extensions; b7 J0 h) \- \' Q8 P7 p
  872. ; Note that ODBC support is built in, so no dll is needed for it.7 [- X9 v3 ]- q6 w) {0 `, F
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 {8 R7 a& T6 S- z( D* D. E  \1 ]
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 a3 f5 P6 F( D' |4 e) M* D8 |7 a
  875. ; Be sure to appropriately set the extension_dir directive.
    " B, z9 _2 ]& y* J+ ^. J
  876. ;3 d7 V  P' {9 G: E
  877. ;extension=php_bz2.dll* T; T" e) c# g% v8 J+ n
  878. ;extension=php_curl.dll
    1 p# J6 B2 Y$ Q* g
  879. ;extension=php_fileinfo.dll
    1 Y; M! F' N+ n( Y  ?0 Z
  880. ;extension=php_ftp.dll
    & c) o, V4 @( u; o  Q* M
  881. ;extension=php_gd2.dll- n1 \) V/ o6 Q
  882. ;extension=php_gettext.dll
    & C* c+ J. A& O. _
  883. ;extension=php_gmp.dll8 @( _- B& \( K( A
  884. ;extension=php_intl.dll7 e' V+ y; s1 w6 S
  885. ;extension=php_imap.dll
    6 t( i  D9 j4 G: `" d
  886. ;extension=php_interbase.dll1 H7 Z* `0 l1 k2 q( ~* `
  887. ;extension=php_ldap.dll
    4 |0 u: S0 K( e- {
  888. ;extension=php_mbstring.dll
    ! w/ Z8 u) ]  z) {4 n) c* H- g
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( j; L  w: X+ o% I  \
  890. ;extension=php_mysqli.dll
    ( o( U; Y) A& `# ~' f+ t, k
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ; ?8 l' n6 o. }; Z
  892. ;extension=php_openssl.dll: l- c; f' I& ^; r9 G- T  ?5 k
  893. ;extension=php_pdo_firebird.dll, g# c8 a" G! n( ?3 B
  894. ;extension=php_pdo_mysql.dll: l* T/ u2 ?0 q( w" x% p$ E
  895. ;extension=php_pdo_oci.dll, ?. ~: V" ?# ]& b- H
  896. ;extension=php_pdo_odbc.dll3 ]5 d$ @5 T3 Z! N: ^
  897. ;extension=php_pdo_pgsql.dll
    4 Z- C! E: N- o1 E( f
  898. ;extension=php_pdo_sqlite.dll; z# k% J' A9 V5 O& v! d) g& q  c
  899. ;extension=php_pgsql.dll
    $ g' M* \; O; O$ l1 H1 ~: H
  900. ;extension=php_shmop.dll
    1 x/ b; t" s8 R, d# Z

  901. " u3 T0 j" R" w8 c4 F) p& e
  902. ; The MIBS data available in the PHP distribution must be installed.
    7 d/ O" x1 `2 W2 z& p# N0 I: |- L
  903. ; See http://www.php.net/manual/en/snmp.installation.php9 j. j( n: }' k  M2 v5 k
  904. ;extension=php_snmp.dll# i1 ?! M7 b) F( Q, p

  905. ( I$ ?% O' M' T* b. `
  906. ;extension=php_soap.dll
    . e! u7 A9 ?$ Q+ B
  907. ;extension=php_sockets.dll
    1 J3 M$ n& x, ^% h: f# A
  908. ;extension=php_sqlite3.dll
    0 c9 [% b1 s$ k% V
  909. ;extension=php_tidy.dll
    * q; C8 `6 D5 `
  910. ;extension=php_xmlrpc.dll
    7 @) v1 L9 s1 {& ]9 t
  911. ;extension=php_xsl.dll( i3 _3 b/ C9 M4 f+ Z
  912. $ n; y! x( V/ Y* c7 A. y0 z. K' C
  913. ;;;;;;;;;;;;;;;;;;;
    # i6 e& L8 S# {9 x
  914. ; Module Settings ;
    " [- a# B" L0 H9 k' K! `
  915. ;;;;;;;;;;;;;;;;;;;9 g3 w* i  J8 s$ i3 ~4 F; ?$ _' Y3 a. Z

  916. 2 B& y1 c6 Z4 B% M- q& X* @/ y4 a/ Z1 G
  917. [CLI Server]
    - P. a" K3 b1 L" @4 ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - G, C$ Y1 I5 H9 G, y/ A4 B! ~8 q: K
  919. cli_server.color = On5 }- |8 D, M# q& B' l

  920. ( f/ p2 n( g. U( w
  921. [Date]$ B6 ^1 G/ J  H( b& z# d1 P
  922. ; Defines the default timezone used by the date functions! j" D9 y8 A# ?; Z* L- Y
  923. ; http://php.net/date.timezone
    ! ?1 D6 s% p6 A1 A" L; n- E6 @2 L; s
  924. date.timezone = PRC
    0 R$ V" A0 a0 |; T% J  z

  925. ' x+ _: v9 m; z2 S- Y
  926. ; http://php.net/date.default-latitude2 R. Y0 R. _  d2 G& t' C2 e, ]5 [
  927. ;date.default_latitude = 31.76676 d( d# @3 Y/ l# K* G
  928. 3 P; z* a' [! z( b6 X
  929. ; http://php.net/date.default-longitude- `' O2 M( ]: P% D- Z" \  L
  930. ;date.default_longitude = 35.2333$ Z& a( Z8 g' U* T2 \2 @
  931. 5 M) L/ }! u. M- j; s
  932. ; http://php.net/date.sunrise-zenith+ d! y' G3 [9 N4 \
  933. ;date.sunrise_zenith = 90.583333% d  l. h+ `  s) J7 Y3 v  |; @  R
  934. . [/ H/ d- B% Z, i% R: K
  935. ; http://php.net/date.sunset-zenith
    1 R/ t/ B0 T+ V
  936. ;date.sunset_zenith = 90.583333- ~2 b1 r7 C7 T- G# i# M8 D5 i

  937. ; y$ ~! j4 j6 a0 c9 n
  938. [filter]! v9 h+ }& r8 ~: Y/ L" }! E# f
  939. ; http://php.net/filter.default9 o" c+ ~5 R2 E, W" H
  940. ;filter.default = unsafe_raw3 e; Q5 E6 p8 V- D  ~
  941. ' `0 E) [. L( v" P; }0 A
  942. ; http://php.net/filter.default-flags8 A* r  T) N8 o/ u
  943. ;filter.default_flags =
    9 `, h8 O  l1 C5 h, C, m* P* Z! Q4 z

  944. 7 L* ]0 ^# z5 P
  945. [iconv]: Y) t* w1 u# Z/ |
  946. ; Use of this INI entry is deprecated, use global input_encoding instead., I2 Y0 Z5 k8 p, [& s% E
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ! h; ^" {0 W) ~. d* |
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , @+ m, U' T5 ^- X4 M6 v
  949. ;iconv.input_encoding =/ g1 P7 Q% a& Q( Y+ V3 H) l( `* _
  950. " B) T' F# `; F$ \
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.: C' e# v8 z$ ~* ]3 Y% A
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( z7 {* x; V& b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 q/ ]3 \) T, I# X
  954. ;iconv.internal_encoding =) S$ t7 E2 p" l: _5 j' ]
  955. 0 t. \; x2 \  O4 i7 p# S
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: [# Y+ a/ B( l
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( Z8 d+ c: z* x5 u1 x5 A
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , y. S1 e5 @8 I1 R/ c' h! X; |2 K
  959. ; To use an output encoding conversion, iconv's output handler must be set
    $ H% s8 x4 G7 e, w0 Q, }3 s/ F
  960. ; otherwise output encoding conversion cannot be performed.- a, g7 n3 N& W' y* f4 b& p; V
  961. ;iconv.output_encoding =
    ( g  O& I# G2 @1 o: F
  962. ( ?( R+ W3 Y+ ?  k' ^8 B0 r
  963. [intl]
    * K& o3 `* F. l/ k; @- `# t
  964. ;intl.default_locale =
    8 F& |/ X4 F* J8 m. F6 \: z6 Z* ^
  965. ; This directive allows you to produce PHP errors when some error5 X) b" i+ g  S# a
  966. ; happens within intl functions. The value is the level of the error produced.  G; U; j. y0 V' p. p7 f( w
  967. ; Default is 0, which does not produce any errors./ F' G3 {' l$ Z& ]
  968. ;intl.error_level = E_WARNING
    9 v1 [4 s8 U0 m) A4 ~- t5 w/ Q
  969. ;intl.use_exceptions = 0
    - Z- \; Y- h# ^7 a. u
  970. 8 F0 G5 O$ L: i6 L1 G
  971. [sqlite3]
    ! x0 B' P( U/ U: y2 k
  972. ;sqlite3.extension_dir =
    ' R8 E5 ?, a2 C' z" T# ^
  973. + p# F4 U5 S' _9 V. }. @6 f2 L* j
  974. [Pcre]
    1 f! ^4 X! x3 M1 f5 P; C6 U$ A5 N
  975. ;PCRE library backtracking limit.
    . ~8 X: H) z6 r* I8 X* x3 C
  976. ; http://php.net/pcre.backtrack-limit) V: n, g7 M) {
  977. ;pcre.backtrack_limit=100000
    - A# W1 J3 q$ I$ B

  978.   ?& X1 W0 R( P" n
  979. ;PCRE library recursion limit.
    6 _' B5 L% {( z6 e9 [& ?& R
  980. ;Please note that if you set this value to a high number you may consume all
    " y* `" I# _+ o& C0 v5 I9 I
  981. ;the available process stack and eventually crash PHP (due to reaching the+ \4 d# F. A4 X
  982. ;stack size limit imposed by the Operating System).
    5 T! |! o0 o% i7 ]
  983. ; http://php.net/pcre.recursion-limit$ O$ U  f) X  R7 b
  984. ;pcre.recursion_limit=1000006 o  b8 N: Q  M8 V8 J# G0 c
  985. " H6 B4 \- X+ |8 M! }
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE8 E3 \0 q# L$ \4 J2 `8 P
  987. ;library to be compiled with JIT support.
    3 w& P) f: w  \" P' [! N& w
  988. ;pcre.jit=1* t/ H2 f$ i: \0 F9 z( C
  989. 8 [4 p% R/ O, V6 z: z3 f+ Y
  990. [Pdo]* a) q5 A2 J! d: b8 ]9 p
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # B2 t9 ^9 k; o
  992. ; http://php.net/pdo-odbc.connection-pooling; z) s1 n& n8 X1 ]' B
  993. ;pdo_odbc.connection_pooling=strict. p& D/ X5 G: W4 q& m* F6 s! X

  994. 9 H0 u$ p* t0 Z$ [" U! r5 }1 M
  995. ;pdo_odbc.db2_instance_name; M" d9 l: A4 g0 H' U

  996. # t" {( b1 t# d1 z1 I4 ]
  997. [Pdo_mysql]
    1 ^( \; O" v1 U0 Q
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache  h( V) M  ?8 W  |
  999. ; http://php.net/pdo_mysql.cache_size
    $ G* P7 n9 \3 @9 U/ u( Q7 @
  1000. pdo_mysql.cache_size = 20001 m* L7 \8 z5 O0 i6 }4 o1 g

  1001. 4 u- O! V* P" j# U1 S. |( p2 G2 H
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! K7 s0 r9 M, L+ T5 i9 {
  1003. ; MySQL defaults.
    , _! V. q- L/ u% q2 \
  1004. ; http://php.net/pdo_mysql.default-socket9 T) b1 k: F3 _9 m+ ]. N5 r
  1005. pdo_mysql.default_socket=# k1 r0 C: v4 B; ^- L/ C4 t
  1006. ; `5 a8 f1 A" b+ N
  1007. [Phar]/ A; S0 o' d2 |! P  y  T5 R  h! ^
  1008. ; http://php.net/phar.readonly
    ( I! w; n- F0 {2 l& C8 g7 v
  1009. ;phar.readonly = On
    4 J- a% m. ?$ H1 r3 s+ m/ a
  1010. 2 ]3 |. c5 T* ^# h; p# C
  1011. ; http://php.net/phar.require-hash5 f- H) S6 y  f$ R
  1012. ;phar.require_hash = On$ P- N. f( \9 y) Z' l
  1013. ! H% ^& A# x5 b2 b
  1014. ;phar.cache_list =& x. u6 f: k/ g% y% h
  1015. - g( }. q: E9 ?; o8 `
  1016. [mail function]
    " O! H; V& r/ W  m- m. \
  1017. ; For Win32 only.0 H- h6 T: X* r/ u3 j% J0 l) U# L
  1018. ; http://php.net/smtp+ c, j  S/ \4 h0 L8 w0 k
  1019. SMTP = localhost3 s" A3 x# C! R" o' f7 ?+ w& v+ p
  1020. ; http://php.net/smtp-port
    ; X+ m; x5 i: G( c' Y
  1021. smtp_port = 25
    & j8 Z0 F2 L' K! K* o) [
  1022. ; S# U+ J( _* B& Z7 B$ l; F
  1023. ; For Win32 only.
    8 J9 f- I7 @9 B7 j3 ]& B
  1024. ; http://php.net/sendmail-from2 h0 ~, \6 A5 ~' O% [8 J: k* `
  1025. ;sendmail_from = me@example.com
    1 c/ D- i: ?% N2 K

  1026. . f& u" ?+ D/ n7 o& E
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & J! }: d4 X% u' z
  1028. ; http://php.net/sendmail-path
    $ _6 m0 F4 t1 R9 P
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    0 T9 }1 j1 T+ V; s5 b

  1030. 7 p3 e! `: N0 O7 @5 c
  1031. ; Force the addition of the specified parameters to be passed as extra parameters. n* r, P4 n+ F( H) K
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ' f* ~: P+ }7 S. Y: Y
  1033. ; the 5th parameter to mail().: A' ^% Q- @) S( U7 v" [/ v
  1034. ;mail.force_extra_parameters =
    8 h& l, g# I4 n: T( f# W
  1035. ' g; F# y9 C" x2 [
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# ?* @. D  x& Y2 a6 V2 m
  1037. mail.add_x_header = On; L! A6 f* L! |* L+ V* Q
  1038. ; O7 e. p: M8 J4 _6 ~: `
  1039. ; The path to a log file that will log all mail() calls. Log entries include6 i4 _6 |8 z) W4 V- ]
  1040. ; the full path of the script, line number, To address and headers.+ O4 Y4 h) o) y+ E
  1041. ;mail.log =' f  m/ C2 j2 I4 n: g
  1042. ; Log mail to syslog (Event Log on Windows).
    ( K' z) K4 e: \
  1043. ;mail.log = syslog
    5 I( e' F) V+ j: c5 c  h2 k
  1044. ! a% ~* M* Z6 Z( W( S2 v: O
  1045. [SQL]6 l* C' v# J: l+ M
  1046. ; http://php.net/sql.safe-mode
    5 F9 e# g# H& ]
  1047. sql.safe_mode = Off
    1 u3 F6 O+ ]. D0 r, S7 s. C' j' V! N
  1048. # W  Z* C6 `& J" f0 O) @6 }: g0 b
  1049. [ODBC]
    8 ]' \4 {1 g" V, w& N) k
  1050. ; http://php.net/odbc.default-db
    . `: I. ~" K, d& `
  1051. ;odbc.default_db    =  Not yet implemented
    6 [1 t7 i, @1 |6 Y

  1052. * v' _2 ?0 E, |* {! I
  1053. ; http://php.net/odbc.default-user9 y/ g5 C8 h) g: n0 K
  1054. ;odbc.default_user  =  Not yet implemented
    # C# I9 I3 Y8 y& _2 U) Z

  1055. 2 N: `& o5 d2 }/ N, V
  1056. ; http://php.net/odbc.default-pw
    + _/ q' h+ p) }4 D0 ?
  1057. ;odbc.default_pw    =  Not yet implemented
    & F! O) t) s1 H( |3 v7 Q! Y
  1058. : K7 ^- y6 z) K' S2 M, l
  1059. ; Controls the ODBC cursor model.& f/ x: p7 m! s4 O% R9 N
  1060. ; Default: SQL_CURSOR_STATIC (default).3 j% s0 S# D: B3 B" _
  1061. ;odbc.default_cursortype9 I  e: h/ d* d7 J9 K

  1062. 8 H- M$ G* D0 A) o8 X/ |: Q
  1063. ; Allow or prevent persistent links.
    ( T, a, y2 ~. X  I8 [* {
  1064. ; http://php.net/odbc.allow-persistent" \" Y# e) X/ w1 ?) i, ~' E
  1065. odbc.allow_persistent = On5 X( S, y0 g+ o* @" ~& t

  1066. 1 t$ v+ i" ?" N& ]2 Z) [
  1067. ; Check that a connection is still valid before reuse.
    2 g* S/ T- O6 U% `0 h( Y8 s" e
  1068. ; http://php.net/odbc.check-persistent. g2 R3 e9 n- X
  1069. odbc.check_persistent = On
    # g0 O4 o7 m4 }/ I7 w4 l7 ?# @! h
  1070. + l/ a% r4 c0 W+ z& S: T) ?
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ) W1 o# Y% h7 I! _
  1072. ; http://php.net/odbc.max-persistent1 L  e) U0 @6 r- O9 f5 G2 n! y+ {+ F
  1073. odbc.max_persistent = -1
    7 c) x3 I( x% e8 n/ i1 [
  1074. " d, U* u! t1 _& L, J
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) N4 l+ i7 e( y+ p3 F& ]
  1076. ; http://php.net/odbc.max-links
    5 V; w2 V# R+ j2 w& L' H
  1077. odbc.max_links = -10 W% }9 t! c  Z( s1 |

  1078. " c4 {4 R4 \! A# ?6 w0 C
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / w! Q8 r6 o. j4 \/ ?% N* Y5 F
  1080. ; passthru.
    - `0 B% O. k- a$ }2 w! G, k9 H
  1081. ; http://php.net/odbc.defaultlrl9 y2 I4 x" M3 I) r
  1082. odbc.defaultlrl = 4096
    2 x) E, V6 B; ?, W" T7 X5 |

  1083. . C# f- w% p2 I. [$ B
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 s8 J( B$ m+ g# @: t
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ D( V8 k& E, B
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 x& I4 s  `" e" r# J' g
  1087. ; http://php.net/odbc.defaultbinmode
    9 ~! B5 T$ X: ]$ X: s6 z
  1088. odbc.defaultbinmode = 1
    1 V' Q# |% a: s% B) e% z

  1089. 8 N/ X7 M/ s& F# N# K
  1090. ;birdstep.max_links = -1
    " n5 i2 p/ S% z4 _5 V* l2 M: q
  1091. ; a. g: E( Q, Z: @* {& v$ w0 g
  1092. [Interbase]
    " Z& B% N, ?5 n; d* r& t
  1093. ; Allow or prevent persistent links.
    + m) Q. I$ l2 A
  1094. ibase.allow_persistent = 1
    - U, k) P  j! R. `
  1095. ; n1 N; `7 i  C, s6 X, h
  1096. ; Maximum number of persistent links.  -1 means no limit.7 G4 j& b/ |5 O: k5 d
  1097. ibase.max_persistent = -1
    % o# |$ {, n. z' L5 z6 \2 ^
  1098. 2 F( @1 a5 t/ M( ]' |( k
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' F; r1 p0 n7 s2 @: h  |+ p
  1100. ibase.max_links = -13 h: Q* h1 h. ~0 j3 L2 f

  1101. / v; j4 N. s3 k" n( |
  1102. ; Default database name for ibase_connect().  w; A0 K& Y4 D8 r, D
  1103. ;ibase.default_db =
    + m( q0 S) U- V. E

  1104. ' g' [: e' Z! U1 V2 K; j. C
  1105. ; Default username for ibase_connect().
    6 J( a* G2 F/ ~$ l% j$ R5 k
  1106. ;ibase.default_user =" R! M7 V+ E+ r" [7 @

  1107. . l/ f1 I  R3 w( l9 M8 ]
  1108. ; Default password for ibase_connect().: c( m" d- r# m& E
  1109. ;ibase.default_password =
      l, s* ~: f6 t6 [) J/ R! y) q
  1110.   l3 g' m3 i$ m  W4 c
  1111. ; Default charset for ibase_connect().6 c  }# Z- x5 E: Z
  1112. ;ibase.default_charset =
    3 B4 g- W4 m% p) W$ k; @7 V

  1113. & S1 A/ a, m4 r
  1114. ; Default timestamp format.
    ) [& _5 g9 t' u3 v8 @
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ( o+ ?  r7 s! [( z- D4 L0 R- d0 f
  1116. / \- N+ i- p! q: {8 C
  1117. ; Default date format., w* _3 P! m7 ~; J+ T
  1118. ibase.dateformat = "%Y-%m-%d"6 P9 R8 S3 T$ V9 k4 J$ n, z4 k6 Q
  1119. . v' A3 J, B1 ~' S$ d/ ^
  1120. ; Default time format.
    # e, g" H" O6 k  u
  1121. ibase.timeformat = "%H:%M:%S": a1 }1 I/ N$ {( X
  1122.   P7 |5 c. F4 g( m
  1123. [MySQLi]
    * N4 a' T* V( u$ j0 J# @
  1124. $ [3 @/ v  E) c) ~# D
  1125. ; Maximum number of persistent links.  -1 means no limit.
    - u! [) O4 j. D/ b
  1126. ; http://php.net/mysqli.max-persistent
    2 F) E2 v3 [- v% h9 A% b
  1127. mysqli.max_persistent = -1
    . ^7 c) w! W6 o9 E3 @

  1128. # \( l3 ]9 @) N7 y! |$ Z7 N  k
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) Y& B" w; q' ^- v
  1130. ; http://php.net/mysqli.allow_local_infile5 a  J" T# u8 H6 e- Q
  1131. ;mysqli.allow_local_infile = On
    5 k5 Q9 x4 e7 @0 M

  1132. , H2 m: [+ t; Q
  1133. ; Allow or prevent persistent links.
    * h: s0 C& z" p8 o! a5 r
  1134. ; http://php.net/mysqli.allow-persistent
    6 n8 A- z0 l# e" j& J
  1135. mysqli.allow_persistent = On
    7 W) I9 @- q1 o; \& e6 H
  1136. * ~8 [7 C% N# q+ i* i1 W
  1137. ; Maximum number of links.  -1 means no limit.
    + l) @0 ^) \# \2 f# ]$ _
  1138. ; http://php.net/mysqli.max-links
    , _1 t% ~! ]  U/ v& V
  1139. mysqli.max_links = -1
      E# l( Q: ?+ c- j
  1140. 3 m; z6 i6 [) p3 ^& [! ?
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) N  _% b- M% G8 |, U. n) K
  1142. ; http://php.net/mysqli.cache_size
    ! `# N% m. y9 F( _  `3 N4 o+ o
  1143. mysqli.cache_size = 2000# D% e$ ?7 o, ]' h
  1144. 8 d9 |! x# X" x# T3 Z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " }" Q( x8 `9 ^+ k
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. R9 O* ^* X) ?+ Q! X
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 z8 y4 m* C& X  ~. c2 C0 y; C
  1148. ; at MYSQL_PORT.: U$ |% p+ i5 x" G5 n! w) |
  1149. ; http://php.net/mysqli.default-port* k! C6 @  M: H3 V8 w
  1150. mysqli.default_port = 3306
    + Y0 m. U5 b% r  ]
  1151. 5 v5 g% \8 @) X/ q
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & t/ z3 s1 `9 V$ ?' o
  1153. ; MySQL defaults.
    3 X. Q; S; t* T( q
  1154. ; http://php.net/mysqli.default-socket) I) o/ C& |; N# j# |  \& j8 }
  1155. mysqli.default_socket =; A6 i- g0 P- w& K; r
  1156. 8 i9 d3 ^9 R- n2 Z( {. d
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # G* Q, e8 y# i  h6 t
  1158. ; http://php.net/mysqli.default-host7 C( M1 j7 \( x' T! y8 C
  1159. mysqli.default_host =+ W! s( ]& l. n4 y) Z; H
  1160. 3 \$ Y( u3 l" H, O* |
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . B" M0 r# w: O" \9 A
  1162. ; http://php.net/mysqli.default-user
    6 E3 }9 j8 w" n: |5 Z  `- K/ r
  1163. mysqli.default_user =% t  s3 J) C, E

  1164. 9 y  a4 i5 u3 z, U& Z. R# H
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 n5 [0 @0 h7 k$ W" N; v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 C0 j0 `2 Z, H. ?6 Q
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! |3 E0 ]" t$ T& R
  1168. ; and reveal this password!  And of course, any users with read access to this" e. y6 v4 c; q. b+ _
  1169. ; file will be able to reveal the password as well.
    . K+ z/ K' t# q2 k3 ?
  1170. ; http://php.net/mysqli.default-pw8 @" Z) o: S" W5 @* V* Z; @
  1171. mysqli.default_pw =. N5 \4 B3 b" H6 B6 `1 M
  1172. ; V" E6 m5 h& ~6 Q! m% D
  1173. ; Allow or prevent reconnect
    6 R9 ^* ]# J9 U0 n5 D. N4 G1 ~
  1174. mysqli.reconnect = Off
    # s% e7 {3 _. l7 S8 i* E& F8 a6 E

  1175. ! N6 Z1 _  u/ h& ?4 W( X0 Z
  1176. [mysqlnd]& ]: A9 t9 m; `, e
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % w. d8 Q) {: h9 l
  1178. ; used to tune and monitor MySQL operations.3 n$ F% F7 i3 T1 w/ d5 X0 l
  1179. ; http://php.net/mysqlnd.collect_statistics
    & U' \$ e5 b. R& }; U' o
  1180. mysqlnd.collect_statistics = On, t7 G# N: a- O
  1181. ( f5 A! n# f+ E& s0 M7 c, a$ X2 I0 o! n
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      |0 Y& T! x1 b1 ]
  1183. ; used to tune and monitor MySQL operations.0 e- d4 ^. P0 h4 n" A# I! s! H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics6 ^0 C/ L7 A9 l! s3 Q7 |
  1185. mysqlnd.collect_memory_statistics = Off/ o1 X4 Q% X4 R3 m1 G5 M
  1186. / Y0 x: K5 m0 r0 e& Y6 B  v
  1187. ; Records communication from all extensions using mysqlnd to the specified log/ ?0 S# B3 U# [9 S
  1188. ; file.3 M- H$ {, g0 I, ]% q+ S
  1189. ; http://php.net/mysqlnd.debug1 a; U9 b: e* D+ |$ X$ G
  1190. ;mysqlnd.debug =
    , v/ ?( {0 C9 F2 }
  1191. , k* J6 L" O# b2 V* U
  1192. ; Defines which queries will be logged.( B: _3 U3 j; I0 V" a/ m
  1193. ; http://php.net/mysqlnd.log_mask$ z% J! H+ O5 @' Z/ g# M
  1194. ;mysqlnd.log_mask = 0, R; a4 B6 Q4 n
  1195. ; C0 q6 }6 p5 ~
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.8 f' H0 O. R5 _
  1197. ; http://php.net/mysqlnd.mempool_default_size* P9 e5 G' q6 r
  1198. ;mysqlnd.mempool_default_size = 16000
    ! t( K. o) @7 m# [2 F5 R& S
  1199. . M. r5 t+ {) p9 Z$ Q* Z2 c
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% ^$ {/ i) S+ P; C
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! A" ]6 Z. H7 d! S
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    9 `3 V% {* Q% I0 g: ]' d( f
  1203. 4 g# u) |1 O, \
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in6 K/ W6 j  s. L. D5 z8 a3 r7 ~
  1205. ; bytes.
    " Y$ a4 V  [) U8 ~( z# K4 ]5 m# A5 m
  1206. ; http://php.net/mysqlnd.net_read_buffer_size9 p( k2 L5 L! `5 s8 q" z
  1207. ;mysqlnd.net_read_buffer_size = 32768
    . J8 v8 X+ H9 n/ \. X& z1 E

  1208. " x. ^9 A- f# T4 k4 R
  1209. ; Timeout for network requests in seconds.
    8 Q# r  r+ g3 ?7 B  p
  1210. ; http://php.net/mysqlnd.net_read_timeout  Y6 T% X) H5 v3 P
  1211. ;mysqlnd.net_read_timeout = 31536000
    # y3 @% |( ^2 e

  1212. 9 l# R5 I2 B  M- K% m2 S
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " u2 J" g, H* C3 n' ~: B% k
  1214. ; key.- Z5 P4 d+ m' L! q' U0 I2 Q# U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key2 j. i1 D" a6 W; ~) D. I* n0 x, \
  1216. ;mysqlnd.sha256_server_public_key =# P9 v7 g( l. ~& f
  1217. 3 I) T( @$ M% R5 h
  1218. [OCI8]
    ! h, C8 M8 N  b5 w

  1219.   ^# Z) x& f: z1 z2 |5 _
  1220. ; Connection: Enables privileged connections using external
    - ]4 B* L- {3 `8 W3 h4 n# G2 i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 {; @5 D8 |- y
  1222. ; http://php.net/oci8.privileged-connect9 f0 h: j: h9 L8 r" I$ r, b1 b
  1223. ;oci8.privileged_connect = Off# z: h, W' X7 y$ E4 h
  1224. $ P6 T5 ?2 T4 Q3 U) `
  1225. ; Connection: The maximum number of persistent OCI8 connections per- f3 S# P- X& _% p
  1226. ; process. Using -1 means no limit.
    ( d+ o$ L$ y: F( Q$ c
  1227. ; http://php.net/oci8.max-persistent
    ! N! w- m# f% l9 `% \
  1228. ;oci8.max_persistent = -1
    % m/ [6 W8 q5 E" r2 `; ~8 v2 f
  1229. 5 r( ?% |4 ]0 f  `2 C* `
  1230. ; Connection: The maximum number of seconds a process is allowed to
    9 J6 C# c7 G0 Z# e' B0 R
  1231. ; maintain an idle persistent connection. Using -1 means idle
    " N0 \7 }6 ?$ y+ ], s0 Y
  1232. ; persistent connections will be maintained forever.
    . T( z+ a- t  K0 R# ~3 `
  1233. ; http://php.net/oci8.persistent-timeout
    8 i' i# H+ d9 c6 ?! q
  1234. ;oci8.persistent_timeout = -1
    4 d% ^5 G' R) I# E9 B8 f0 h2 o0 G
  1235. + Q2 k( e0 |3 P; i
  1236. ; Connection: The number of seconds that must pass before issuing a4 l* d  ^9 G: O+ B( S
  1237. ; ping during oci_pconnect() to check the connection validity. When# K2 h' }1 P* ?1 G! H/ r
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    2 M8 c( _, r# d& r) M
  1239. ; pings completely.9 ]/ X$ D7 u- }- S8 Z5 u$ T5 `- x
  1240. ; http://php.net/oci8.ping-interval
    / P! v" m. y) W4 R3 O
  1241. ;oci8.ping_interval = 603 ^6 g0 u- U( _0 Z

  1242. # ?1 |6 f) v! I; z
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 i; u1 }' a7 p& ?, s( a
  1244. ; for all pooled server requests with Oracle 11g Database Resident0 {- z* f: l0 y, C4 v
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) u# o4 M9 U) f8 K
  1246. ; the same string for all web servers running the same application,
    4 N5 M! h3 E4 E* K+ h$ w
  1247. ; the database pool must be configured, and the connection string must0 T) }# O# t, M9 j4 p( I3 d: n  i
  1248. ; specify to use a pooled server.8 R( m3 \+ h3 q+ Z
  1249. ;oci8.connection_class =
    : _0 h, r3 F' `# w* v6 F1 D

  1250. ; K) d% O6 N  z0 \" k! g; L
  1251. ; High Availability: Using On lets PHP receive Fast Application
    6 l1 z; p- K- {, ?4 a# v7 M
  1252. ; Notification (FAN) events generated when a database node fails. The
    % c+ N$ ?% n, {9 v# v# c& L
  1253. ; database must also be configured to post FAN events.
    5 T+ A, a1 `, H' t
  1254. ;oci8.events = Off/ T+ k* k; r* A7 y
  1255. " q. V  o. V% P0 H2 {% P
  1256. ; Tuning: This option enables statement caching, and specifies how
    ' D/ Y4 ~. a( X& e, v0 M
  1257. ; many statements to cache. Using 0 disables statement caching.
    & p- g# X* T4 A
  1258. ; http://php.net/oci8.statement-cache-size; i; y. I3 Y5 }5 Q' a
  1259. ;oci8.statement_cache_size = 20
    - |4 H( D9 o8 z& r$ E6 ?7 \
  1260. ) W( _! W- d% y
  1261. ; Tuning: Enables statement prefetching and sets the default number of: z& L* a5 W5 ~1 Y
  1262. ; rows that will be fetched automatically after statement execution.; _* K4 Q( @- I( f8 i
  1263. ; http://php.net/oci8.default-prefetch: v7 T! y( S1 \" \4 G- o
  1264. ;oci8.default_prefetch = 100
    5 r  h+ z4 i1 c! ~" o& m

  1265. ' c3 |( F; g2 y4 z1 U
  1266. ; Compatibility. Using On means oci_close() will not close
    3 `, ^7 z6 l6 c6 ]% p) I8 H9 F' b$ U- Q
  1267. ; oci_connect() and oci_new_connect() connections.) m* `- p' J' V, s' F" F* P' E
  1268. ; http://php.net/oci8.old-oci-close-semantics
    : F, }( P5 h3 l' G% I1 N
  1269. ;oci8.old_oci_close_semantics = Off
    2 P+ q- Y2 S3 h, e) z$ d" Q2 P

  1270. % e8 P- A( M, a9 }8 t; \1 i$ n
  1271. [PostgreSQL]
    7 J7 z: _, k8 J/ X, ~) x
  1272. ; Allow or prevent persistent links.. T( q3 W5 D& q& h6 i8 W9 `
  1273. ; http://php.net/pgsql.allow-persistent3 I* l$ H- r0 H
  1274. pgsql.allow_persistent = On
    ( D& ~# x7 S. d9 c1 V( C2 m* e1 t/ f
  1275. 3 j9 m) x+ J# s
  1276. ; Detect broken persistent links always with pg_pconnect().
    0 K6 L& [$ e* v* r
  1277. ; Auto reset feature requires a little overheads.# D( E: Y6 O; B* A' r# p
  1278. ; http://php.net/pgsql.auto-reset-persistent& [5 h% f1 X3 u5 f
  1279. pgsql.auto_reset_persistent = Off- l( C% e- A9 C6 v  Q+ N3 y

  1280. & |. r- g, j- G. I
  1281. ; Maximum number of persistent links.  -1 means no limit.
    * w' g5 Q) ~9 p3 {3 a$ m$ J
  1282. ; http://php.net/pgsql.max-persistent/ ?0 K1 l1 e# J
  1283. pgsql.max_persistent = -1; a, o, ^( L" v+ S
  1284. ( W2 m+ l' ^1 F6 ]; v3 T+ a0 \- Q
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 d7 h9 P! }4 H9 |7 z+ R" j) e
  1286. ; http://php.net/pgsql.max-links! y+ ^5 G1 e2 R+ a$ U4 f) R  P
  1287. pgsql.max_links = -1( ~2 Y  p+ ?( Z

  1288. 3 G/ @8 J( B$ M" Q% c# @
  1289. ; Ignore PostgreSQL backends Notice message or not.# t3 J! e# z3 L1 n% N  g
  1290. ; Notice message logging require a little overheads.
    % Q$ h* _* c9 f5 Z4 u
  1291. ; http://php.net/pgsql.ignore-notice7 ?7 `! v- [  t* s  c
  1292. pgsql.ignore_notice = 00 z- j% s/ P* l) I, y
  1293. $ }- i$ j/ l) `# @$ j- W/ ]  P
  1294. ; Log PostgreSQL backends Notice message or not.- \* @4 h0 O1 K8 f* m( Y2 j7 ^+ h
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ; h6 z" ]6 B6 V9 l) V$ u
  1296. ; http://php.net/pgsql.log-notice  ~* C5 \) U& @8 [
  1297. pgsql.log_notice = 0# y! u/ p* }$ E3 T) Z8 P& n

  1298. % n+ S+ r' h  I, e
  1299. [bcmath]
    9 c( L( w& @% y! P" N
  1300. ; Number of decimal digits for all bcmath functions.# e7 h9 v6 p/ C
  1301. ; http://php.net/bcmath.scale
    5 {& h/ T9 K8 ~2 q
  1302. bcmath.scale = 0
    - ], N9 J. x' P4 n+ e
  1303. . y8 m0 w  e1 A. ~
  1304. [browscap]5 ]6 X4 {( s% T: h% r
  1305. ; http://php.net/browscap1 K" Z9 K- V* ~. L8 ~  Q
  1306. ;browscap = extra/browscap.ini3 h; `/ X: U9 w7 x; ~
  1307. ( W: o" z% W# j6 P$ v4 p) @4 i
  1308. [Session]
    ' T- l) F. {, A" t+ T
  1309. ; Handler used to store/retrieve data.' h7 m" h2 F* d$ Y' U0 f1 c2 ?
  1310. ; http://php.net/session.save-handler# a$ M' l) Q) y; d3 Q# C- U
  1311. session.save_handler = files$ w. s3 \7 a# a# I9 @
  1312. 4 C3 Z0 N# N" O: e
  1313. ; Argument passed to save_handler.  In the case of files, this is the path( C  N/ q5 ?; M5 z- e: \
  1314. ; where data files are stored. Note: Windows users have to change this) g5 o5 ?- U% K
  1315. ; variable in order to use PHP's session functions.
    # @/ t5 q9 d1 \& ]- B
  1316. ;
    * f2 @; W  M/ j
  1317. ; The path can be defined as:" v$ S; l* J- `3 D, V
  1318. ;8 ~9 t5 a; z/ y) G" f
  1319. ;     session.save_path = "N;/path"
    1 Z1 n4 j8 q- b& E. R5 R: F' O
  1320. ;
    3 }' X  c2 _! K& S# T/ w5 }% x  \
  1321. ; where N is an integer.  Instead of storing all the session files in2 v! ^. D/ V% n3 `4 M2 g3 e! z. v
  1322. ; /path, what this will do is use subdirectories N-levels deep, and" g5 E. v. w0 Z/ ]
  1323. ; store the session data in those directories.  This is useful if
    : R/ z" o% D* K+ ]) i
  1324. ; your OS has problems with many files in one directory, and is
    3 g0 N1 L/ M. J7 ^
  1325. ; a more efficient layout for servers that handle many sessions.' }# o1 V3 A8 X) H
  1326. ;8 m( C$ j& e7 n+ U4 H
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & N( Z! w9 n7 [/ i9 a/ Q5 I
  1328. ;         You can use the script in the ext/session dir for that purpose.
    6 p7 W; e- {7 i
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    % w; {5 J( F5 Z
  1330. ;         use subdirectories for session storage( H/ l  P! v6 b1 i" M! y
  1331. ;
    1 v7 l6 h" H3 {/ o! L" `
  1332. ; The file storage module creates files using mode 600 by default.9 d3 _. Q' F! |$ s! M  K0 w
  1333. ; You can change that by using
    % ~7 e: p6 h: s
  1334. ;/ {5 I1 n$ ~" ]
  1335. ;     session.save_path = "N;MODE;/path"
    * f) j) I) B  L& S; c/ o
  1336. ;0 \( p  f$ o4 P$ c" u4 P
  1337. ; where MODE is the octal representation of the mode. Note that this
    . [+ y# ^+ x, y
  1338. ; does not overwrite the process's umask.
    , Z; \# a. L) P3 _
  1339. ; http://php.net/session.save-path
    9 }1 [, |/ Q' t- \
  1340. ;session.save_path = "/tmp"7 l" U' q) c: H4 {7 r; M$ l  v

  1341. - a% y0 ]/ ^% A) q3 m
  1342. ; Whether to use strict session mode.
    : i$ ]. i& m6 L; g% [0 k
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 C2 D6 j& d6 N: |) }+ p. R- F8 H
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 }/ c) X' Z2 }
  1345. ; applications from session fixation via session adoption vulnerability. It is
    " ]6 E) ]8 o5 e, Q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    - N& J; S+ x- L) p: O" }2 A
  1347. ; https://wiki.php.net/rfc/strict_sessions( A0 K6 l1 Q# D$ E1 d
  1348. session.use_strict_mode = 0* x2 C8 r1 X( i9 E: e! h

  1349. # u* d: T7 Q9 b- z
  1350. ; Whether to use cookies.3 _: x- y0 R( f4 E$ U+ I; h+ t# s
  1351. ; http://php.net/session.use-cookies$ P# i% m5 l9 H& b/ ^" n; w6 G2 W
  1352. session.use_cookies = 1
    * S# R* l2 m) a$ v1 `

  1353. ' X) E! L2 R4 H: z8 b. q0 Q! q' I
  1354. ; http://php.net/session.cookie-secure
    $ i; p3 P+ H7 K6 N& \, t
  1355. ;session.cookie_secure =* ~7 e$ N( p: B- _. `

  1356. 6 L  i# V5 e/ w
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ' L! o! ~( o- [! H
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    , R+ f, o4 P4 x7 [, z7 n
  1359. ; session hijacking when not specifying and managing your own session id. It is
    : K( j+ ^! m% I- t0 h! o  V2 B; z9 y
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ' q* |+ q5 B- f- z( ?7 B6 w5 P
  1361. ; http://php.net/session.use-only-cookies9 J  |5 {4 Y% Y6 J4 e( C
  1362. session.use_only_cookies = 1
    : H- \! m' w# H- t8 b% Q. X: f5 T* l

  1363. & \- Q6 H9 Y0 h  y8 x7 S+ W9 ]8 D
  1364. ; Name of the session (used as cookie name).* E" c! \5 U2 {3 \
  1365. ; http://php.net/session.name
    $ ~+ |, U& i7 s9 i
  1366. session.name = PHPSESSID" I& S: y6 e: |0 k5 q
  1367. 9 X! u* ]4 K8 _( h1 }8 W* K; @
  1368. ; Initialize session on request startup.
    + Q5 N1 c2 `3 Q. ?. M2 H! Z
  1369. ; http://php.net/session.auto-start& x* G! N7 _3 g# Y& g/ E7 ~# x: |! ^
  1370. session.auto_start = 0
    . b, M! H! c  t: C; l
  1371. 8 m& F% j- U& ]7 C1 D3 x* j
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.1 a& H/ l4 q+ @% j& H0 S/ B; J. c5 u
  1373. ; http://php.net/session.cookie-lifetime
    3 m3 D: {( y2 z: X
  1374. session.cookie_lifetime = 0* I, U6 [+ D8 G$ J1 t0 I

  1375. & F7 g9 C( U+ a' B
  1376. ; The path for which the cookie is valid./ t; N8 p  y" t& A% W. x7 a0 v
  1377. ; http://php.net/session.cookie-path
    + b3 S* ~7 h; t) M9 N$ h' t
  1378. session.cookie_path = /' N- `$ F4 V$ o, T& f
  1379. & F. J* a' k: w# }0 ~1 Z( a
  1380. ; The domain for which the cookie is valid.
    % R) S2 n: h1 |( P  x7 ]
  1381. ; http://php.net/session.cookie-domain: ~4 Y2 Z- X3 v2 l# A- o( ]+ Y
  1382. session.cookie_domain =; n9 ^# o' A& T; o' P

  1383. 0 g7 r2 K' S/ f. R
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) C( d3 @3 U) k: f: J9 `& h
  1385. ; http://php.net/session.cookie-httponly
    6 O6 m: W+ Q. k! R: N& J9 q
  1386. session.cookie_httponly =
    2 K0 r$ }2 ^. c: f+ d# U

  1387. % s' t4 d$ F; [1 }9 T0 b  ~) y2 c
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.: F( G. V# V2 a: n* Z* j
  1389. ; http://php.net/session.serialize-handler
    . \$ o" ~' K# j9 ~/ o5 {
  1390. session.serialize_handler = php
    $ h3 q. e( R% _+ x8 t; a

  1391. 1 D+ P: X- X' j
  1392. ; Defines the probability that the 'garbage collection' process is started
    / D3 G5 B* x2 i* D' R+ T# C% ]; G+ w
  1393. ; on every session initialization. The probability is calculated by using
    + A, p7 D) b- ~7 N
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 J' r! A6 F' u  ^6 |9 Q2 @7 c
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    4 s0 n6 v, t+ ^. U) Z7 y. ^
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' \8 g/ Q: E+ x$ q$ R
  1397. ; the gc will run on any give request.1 L3 Q) A2 D; ?4 b$ F1 i
  1398. ; Default Value: 1' r( u/ ]8 b: m, \& {3 B& K( v
  1399. ; Development Value: 1
    6 k9 S- M: `+ d) D
  1400. ; Production Value: 1, K1 _& o$ X* ^
  1401. ; http://php.net/session.gc-probability. ?/ U/ k/ h& @, C, \
  1402. session.gc_probability = 1
    & a' @# J7 s/ \9 a2 S! e+ v7 z
  1403. % O; Q2 k1 h( u/ o
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ) |9 z3 a+ H7 A. a
  1405. ; session initialization. The probability is calculated by using the following equation:8 i! W7 Z  k4 N5 z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- T8 r. B4 q4 U! a- j/ a
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    : m9 k! _6 \! g/ [* f, d
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 E* M' D2 l: {
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 U! s: r; W) [  ?! m4 z/ N
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,: U; k4 G' u; d4 P
  1411. ; this is a more efficient approach.+ [* W, n6 E) [, Z1 V0 Y
  1412. ; Default Value: 100' S' l2 X3 i# r5 s; n* @
  1413. ; Development Value: 1000
    2 j. B) f0 S  J
  1414. ; Production Value: 1000
    2 T: E- F6 B# T3 _2 d. ^
  1415. ; http://php.net/session.gc-divisor3 s8 h' H2 }6 F2 S. Y8 R7 ^) W
  1416. session.gc_divisor = 10005 v3 Q' i7 I1 f* I8 U' I

  1417. 5 g7 O; h3 ]* F/ q
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and& _8 `" `5 Z  Q3 @" {
  1419. ; cleaned up by the garbage collection process.
    " E' i; M2 c$ g
  1420. ; http://php.net/session.gc-maxlifetime& D, [  l5 d4 h. X' E% O6 a
  1421. session.gc_maxlifetime = 1440/ J/ \2 ?9 c9 |0 ~, N; o

  1422. $ F7 s5 y! _3 |! ^( L4 |) |
  1423. ; NOTE: If you are using the subdirectory option for storing session files  h: @- R2 V& V/ w
  1424. ;       (see session.save_path above), then garbage collection does *not*% C" `" E- e1 q
  1425. ;       happen automatically.  You will need to do your own garbage
    : m+ Y# F' e4 x+ W9 P' \9 ]
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 O" E; i5 S0 c4 M; f+ B5 F
  1427. ;       For example, the following script would is the equivalent of
    6 E; n/ f) o: y$ h5 S) }
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- h& d6 o$ d3 j( |
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    / a0 u$ N: M( H# f

  1430. 1 ?: T0 B4 B) T4 d% K
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; ]  S! z+ E' V* k1 K" B' }
  1432. ; HTTP_REFERER has to contain this substring for the session to be! p; `5 O# ]3 t  P0 q+ {
  1433. ; considered as valid.1 F- q4 d+ _( \* \1 _
  1434. ; http://php.net/session.referer-check
    " ]+ w9 v* Q- ~& }4 v$ L6 U
  1435. session.referer_check =
    . j/ _) E2 e( ]1 S
  1436. , L& b! R6 _; |- N! Y" P. |% s. g
  1437. ; How many bytes to read from the file.
    & |% g' B' u3 X4 O% e
  1438. ; http://php.net/session.entropy-length
    3 A. F. N  O6 F* {& ]9 R# g
  1439. ;session.entropy_length = 32, g9 g$ E. g! a  c
  1440. 3 ]+ X; x, o7 J6 g& J
  1441. ; Specified here to create the session id.
    7 A' X/ T9 {, s
  1442. ; http://php.net/session.entropy-file
    6 [' X7 d, ?/ |6 T* }/ N# X
  1443. ; Defaults to /dev/urandom4 q2 `" H: D5 J+ X: t( M2 E0 W* T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) R% [3 b1 _4 j' V! |& T
  1445. ; If neither are found at compile time, the default is no entropy file.
    $ V# D/ ^- a7 l3 w* P
  1446. ; On windows, setting the entropy_length setting will activate the  V) ?; B6 h, ]& d
  1447. ; Windows random source (using the CryptoAPI)
    * Z8 L% ~1 ]5 L- `) }
  1448. ;session.entropy_file = /dev/urandom
    * E/ Y' k' s9 N. M$ ^

  1449. 8 b! y% S) a, B0 ^
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects1 X3 n$ x2 |# B& |% R* ^! i; v
  1451. ; or leave this empty to avoid sending anti-caching headers.' U" m3 J" m& z" K
  1452. ; http://php.net/session.cache-limiter2 t% o" i) P( G( ]( _4 W. t. q
  1453. session.cache_limiter = nocache. x8 a+ ]# U8 S7 i6 R+ ?, S- K% g) o

  1454. ' \7 W* z8 \1 O" `" j, p: N7 v
  1455. ; Document expires after n minutes., X& y# [5 i' _) _. @7 ?
  1456. ; http://php.net/session.cache-expire9 _  X; J3 H' X! i6 R$ ~, q
  1457. session.cache_expire = 180
    ' h  v0 C0 P0 c' J6 O2 \

  1458. 7 D  q. @  Y1 r# x. z
  1459. ; trans sid support is disabled by default.- ^9 R; D5 N+ U# U& p$ N2 N- O
  1460. ; Use of trans sid may risk your users' security.
    . S' k: V8 ]$ Z, T+ J; X
  1461. ; Use this option with caution.+ N$ z& N0 b( e
  1462. ; - User may send URL contains active session ID
    9 d9 x' g% |; z( f$ f4 E1 p9 r
  1463. ;   to other person via. email/irc/etc.% n8 R3 v* J/ D% f8 e
  1464. ; - URL that contains active session ID may be stored
    & j- S/ W' k5 I7 W9 @! ~" p' u
  1465. ;   in publicly accessible computer.
    4 o6 T- W) J1 W; m
  1466. ; - User may access your site with the same session ID7 @1 I5 R  X1 p
  1467. ;   always using URL stored in browser's history or bookmarks.
    & \) X; R) }5 G) V  R
  1468. ; http://php.net/session.use-trans-sid9 b" w  C# t& X6 c, M+ V3 l
  1469. session.use_trans_sid = 0
    ! f4 e2 c2 f; n3 g/ O
  1470. 4 h6 I& O1 D0 Z( Y
  1471. ; Select a hash function for use in generating session ids.8 o9 M  w2 L) N$ C
  1472. ; Possible Values) m. T$ K5 ^2 A) _$ o- n
  1473. ;   0  (MD5 128 bits)
    - g. s6 r: X  R7 O- ^3 B
  1474. ;   1  (SHA-1 160 bits)5 x4 S$ J- W$ R. b) G- K1 Q  ]
  1475. ; This option may also be set to the name of any hash function supported by" Y$ m1 b+ B- ~4 N6 W' H1 h5 G
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- h" d5 O- a0 {5 B. `
  1477. ; function.# |0 O6 O& B9 B; \
  1478. ; http://php.net/session.hash-function
    ' G6 ?0 @5 U3 x* l& L% N
  1479. session.hash_function = 0
    # ^/ I4 V5 M: r4 ?
  1480. 0 }1 n# p- C, J2 j$ x9 R% |
  1481. ; Define how many bits are stored in each character when converting' Z1 z) _% z. q# y3 V
  1482. ; the binary hash data to something readable.
    4 ]( J9 Y: b) X) \
  1483. ; Possible values:* c4 l( J7 m4 n1 U$ W
  1484. ;   4  (4 bits: 0-9, a-f)5 J% {  _2 R1 n/ c8 ^- P1 n, ?
  1485. ;   5  (5 bits: 0-9, a-v)* f" M& P5 g  G. K' Y& I4 i
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    . }% F) d. t: H. T. y# f
  1487. ; Default Value: 4
      T) ]( `( m* h
  1488. ; Development Value: 57 A& C6 s; k! D: ~1 F( `
  1489. ; Production Value: 5
    $ p$ w% @% B, I$ m& i. Q4 O) t* d
  1490. ; http://php.net/session.hash-bits-per-character
    3 F& t' \0 E9 i- H- W, `$ f
  1491. session.hash_bits_per_character = 50 D' J0 Z) Q* b, h  F2 N0 @$ u! f
  1492. 1 h* X2 [6 Z$ i7 {* f4 y" `# v2 b" u
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 k& _( N' M# A! K& M: x
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    # V0 x1 ]! f( s' y3 p% i! G, }
  1495. ; add a hidden <input> field with the info which is otherwise appended1 Z/ ^; m! E+ R, W. V+ B, I/ E
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 N: b, B% @/ H  o1 m
  1497. ; Note that all valid entries require a "=", even if no value follows.* N* `7 u7 L5 J5 J% e  b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="& Y& F6 y* N+ V$ T4 v+ w, P( ~. o
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 R* R/ W1 M1 W: B/ r2 j7 c
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 E5 E+ [4 y+ Z* W$ k7 a  G
  1501. ; http://php.net/url-rewriter.tags
    ( J  a" ]4 z: }
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 I0 H/ K4 H! `1 Z
  1503. ! o* }% v1 o) `7 l
  1504. ; Enable upload progress tracking in $_SESSION
    # W: b' a+ n& ]; e& `! ]9 T
  1505. ; Default Value: On% n& u3 X5 m0 `3 A/ M' K
  1506. ; Development Value: On
    ; x! z9 h% ^) N( V% {; S
  1507. ; Production Value: On
    . _9 ?4 x, \" _0 a4 q9 G' Y
  1508. ; http://php.net/session.upload-progress.enabled
    + n" w6 R  z" Y2 ]/ |: R. R
  1509. ;session.upload_progress.enabled = On
    & p, _1 i8 G- b/ ~- r6 _4 n

  1510. 6 V: m# m% F5 h$ D
  1511. ; Cleanup the progress information as soon as all POST data has been read2 \" j% A) n2 {" g6 z- O' \0 B  Z
  1512. ; (i.e. upload completed).
    ; J$ l& c' M0 ?
  1513. ; Default Value: On! B4 X! n3 c" W, W& b- q
  1514. ; Development Value: On
    0 W' U) {1 M/ t2 r: @4 x: t" U; V2 g
  1515. ; Production Value: On5 z4 S4 y5 ]' u8 [
  1516. ; http://php.net/session.upload-progress.cleanup
      p( J0 q* j! c( c
  1517. ;session.upload_progress.cleanup = On3 w" o, z6 k( [! n) F! i

  1518. & r' o( ]  y9 x, j
  1519. ; A prefix used for the upload progress key in $_SESSION
    " {% t! _" M: P$ w$ \/ @% O- }! p
  1520. ; Default Value: "upload_progress_"$ y! ?4 d& R' R0 X( R3 W
  1521. ; Development Value: "upload_progress_"
    / `9 S- ^8 O& d' i; ~$ @
  1522. ; Production Value: "upload_progress_"! E; H! t. b" f1 ?  V
  1523. ; http://php.net/session.upload-progress.prefix
    ! m+ |1 p* b' d8 ^7 K: Y
  1524. ;session.upload_progress.prefix = "upload_progress_"
    # a2 Q& ^& M' }3 g  @; ~' {- [

  1525. ' F) p  Z+ t9 E$ F9 D0 I
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    * p2 i2 s1 o* i4 @- v6 d
  1527. ; containing the upload progress information
    , e: \2 m0 g' C! E' a% d
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # ?# R; j* U6 N5 X/ j
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"( W  u/ c$ ~2 D
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 N1 x0 B0 V9 \
  1531. ; http://php.net/session.upload-progress.name
    ) h( g6 E9 O7 U% q% E  L! G6 J4 S
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    2 U( V7 {+ Y7 U0 ]) S: R

  1533. 7 ~: A" i) ]3 ?# N# b# D6 T
  1534. ; How frequently the upload progress should be updated.
    0 _+ D( |) Y( V
  1535. ; Given either in percentages (per-file), or in bytes9 a! P* ]) D9 n% o5 b1 d1 `
  1536. ; Default Value: "1%"
    0 ^% I8 k+ ?, N/ {( P/ p
  1537. ; Development Value: "1%"
    % g' S( h9 N9 ]+ _5 B
  1538. ; Production Value: "1%"
    1 y2 _) s' _5 |4 ^: B
  1539. ; http://php.net/session.upload-progress.freq
    9 @5 l8 d4 G* c( l8 R
  1540. ;session.upload_progress.freq =  "1%"
    0 o2 k% k6 Y. Y8 a

  1541. " Y7 k; V7 J0 X9 k* E
  1542. ; The minimum delay between updates, in seconds
    2 g- I- c0 Y+ S  z! }# q) [- o
  1543. ; Default Value: 1+ r! ?/ g3 w0 K, S" ^# o6 x" ~8 L
  1544. ; Development Value: 1
    6 A$ Y, Y- F* E" u7 U
  1545. ; Production Value: 1
    + f) e8 I: ?* |! O9 N
  1546. ; http://php.net/session.upload-progress.min-freq$ ?  x8 w) j$ D/ }4 E- ^; M
  1547. ;session.upload_progress.min_freq = "1"
    3 U, q! ]' z$ w  g$ V

  1548. * e- p. N/ j( m$ ]" Z- F% s
  1549. ; Only write session data when session data is changed. Enabled by default.
    - m: l. Q! P. z+ U; R3 B) a
  1550. ; http://php.net/session.lazy-write
    # S# \. `0 ~1 F' I- v6 E
  1551. ;session.lazy_write = On
    ; H$ o; b, m3 W' R# W

  1552. 0 T% a. p* ?2 O4 T9 g6 x. A5 ^) X2 W
  1553. [Assertion]
    2 l, V$ Z; o" ]0 e/ C2 e1 \# y; L" U' _
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ( ]# w& N8 g- Z0 D' L5 `
  1555. ; -1: Do not compile at all5 W) C6 g# i7 _; F  @$ S
  1556. ;  0: Jump over assertion at run-time7 j9 s5 \! {1 i. O: @7 A
  1557. ;  1: Execute assertions# F2 e- z5 u% S9 H4 W/ @: g# Q
  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)$ u* E1 V: \" _% Z+ x( K1 M
  1559. ; Default Value: 1
    7 `5 r) U2 z5 \2 ]4 _  X) \
  1560. ; Development Value: 1
    1 ~! A" [' |1 T9 C! C
  1561. ; Production Value: -11 H" l  p  T: }; X8 ?1 b
  1562. ; http://php.net/zend.assertions
    1 b) e, Q$ b  t9 C
  1563. zend.assertions = -1
      M4 u* l5 y. K' \+ b
  1564. - n- N+ m, F% p
  1565. ; Assert(expr); active by default.
    + i' r9 T) _8 T
  1566. ; http://php.net/assert.active
    # f# T& {: |- X% }
  1567. ;assert.active = On6 c9 z4 O/ s$ t" B
  1568. + i. t# n% `% @8 z. V+ u
  1569. ; Throw an AssertationException on failed assertions: d: N6 R. I4 ~  b
  1570. ; http://php.net/assert.exception( o. r( p1 |" I. o  r
  1571. ;assert.exception = On0 K4 O% B# p9 X' a& T4 P
  1572. # F$ Z6 K3 M1 h# n2 D' A" H
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)5 V  E2 F) j  a( p( ]$ C, }% f+ V" @. C
  1574. ; http://php.net/assert.warning9 z, C* X' ^2 @2 E8 Z/ I
  1575. ;assert.warning = On
    6 e: u8 U$ E9 d1 D) [" m7 b
  1576. 8 l: R7 z. r9 d0 Q5 Z1 Y* c: @6 Y. Y
  1577. ; Don't bail out by default.
    : a7 I% N3 `& s% Z5 \, a5 O9 y
  1578. ; http://php.net/assert.bail$ w/ {. y9 X2 X) o7 n
  1579. ;assert.bail = Off
    1 k$ ~+ F  m# x9 V; @, [* L

  1580. # }9 h. d( k  _9 C  ~/ f& k  M
  1581. ; User-function to be called if an assertion fails.1 ~4 @, U6 p8 q) F
  1582. ; http://php.net/assert.callback3 `8 k' [, Z- M
  1583. ;assert.callback = 07 t' q2 N5 \" V- u2 s

  1584. # l% g9 ^7 M) E5 c1 l8 ^
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    4 F! W. J' ~1 m+ M) g
  1586. ; error_reporting(0) around the eval().+ c7 }" ~+ _# D, t* e  T  {/ a
  1587. ; http://php.net/assert.quiet-eval4 e  R, C, i: _
  1588. ;assert.quiet_eval = 0! M$ D3 d3 {2 m8 Z& x
  1589. 0 Z) q9 N- N8 ]  P* O7 G$ ^; N
  1590. [COM]$ N8 _! r) _. N# g( m9 J
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & Q8 K  J' W. z7 N+ `" K
  1592. ; http://php.net/com.typelib-file
    + v" `; d% c0 O: T  H2 t3 t
  1593. ;com.typelib_file =
    2 z4 q4 p3 I& |* e8 D

  1594. ( \. L7 @" ]$ o& z
  1595. ; allow Distributed-COM calls
    ( ?. N/ w5 _$ i9 P2 K  X( a" w& l
  1596. ; http://php.net/com.allow-dcom
    2 f4 G+ z' q! s" m. R7 P
  1597. ;com.allow_dcom = true4 v! Z  z9 N0 B9 }7 H
  1598. + B7 M$ f  f# k: @
  1599. ; autoregister constants of a components typlib on com_load()8 H8 o! |6 }7 D5 }
  1600. ; http://php.net/com.autoregister-typelib2 r3 |4 @0 u4 B4 G
  1601. ;com.autoregister_typelib = true
    9 I1 h3 w6 U# ~( ^! n

  1602. & G  X) }+ _# x$ }" S0 a
  1603. ; register constants casesensitive
    % e' Q% _+ R" Q- a5 m
  1604. ; http://php.net/com.autoregister-casesensitive! g7 }( L; @/ i
  1605. ;com.autoregister_casesensitive = false
    # [( U) H7 ?. O: e0 e2 _+ P
  1606. ( l: q! t) `9 v" M' J7 s% W
  1607. ; show warnings on duplicate constant registrations1 q3 h9 v6 J  B
  1608. ; http://php.net/com.autoregister-verbose
    7 h7 m) b! O! E" Q: z7 u
  1609. ;com.autoregister_verbose = true2 I/ J5 x; d8 U. y: I3 T+ v7 w; G
  1610. 5 P3 N* M. M+ T: b- J- @  [. c
  1611. ; The default character set code-page to use when passing strings to and from COM objects.; d! m& {  Y0 B: b6 R
  1612. ; Default: system ANSI code page
    0 s8 h* H/ X" [: D% j8 Z5 m
  1613. ;com.code_page=
    $ o# B- e. L$ H: I% k

  1614. 2 p( N) y3 q+ Z  s
  1615. [mbstring], P  F9 ~9 o8 _
  1616. ; language for internal character representation.
    6 z' V, B9 x! j& f6 \, k
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    % b) Q) E. \3 B: `* B1 h
  1618. ; http://php.net/mbstring.language- D, I. d1 @' T  t( a
  1619. ;mbstring.language = Japanese! J& x" I9 M5 ^! n  H2 b# S& T
  1620. $ i- ^8 W5 }$ k' z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 J& N  F* ]- h4 n
  1622. ; internal/script encoding.
    * P8 H3 \5 J- p2 p: o
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 C. F6 F/ ~( M; Y4 l
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; q2 b) \. j2 a: \
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 j- m' ?% t+ E2 i
  1626. ;mbstring.internal_encoding =
    $ t2 @* r" B9 t' f# s0 a  S3 R
  1627. ( c5 l& H5 g2 w; X$ U  Q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! d: U7 ^/ D" V' P/ Z
  1629. ; http input encoding.  Z* o5 \9 X% q' L# @, z  b
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.8 `0 z# R; s; l9 G: H2 L1 `3 `$ E9 _
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used., _8 m$ e. X, s
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 a9 R$ H5 D, p- Q/ E8 ~( |7 x
  1633. ; http://php.net/mbstring.http-input. k( z# g* E; K0 n( I1 H0 w
  1634. ;mbstring.http_input =
    ( d! g* E) K& \5 K

  1635. . q5 y% y& R& M5 e: H% q3 z' \
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.* {& L+ j( L' R/ N# y
  1637. ; http output encoding.
    1 t2 S# @/ n, l" @
  1638. ; mb_output_handler must be registered as output buffer to function.2 W/ S+ S: O" v& \
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 P. d5 l9 S: r! t4 Z, d
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + z% H2 ~+ I( w" F0 O5 @. K
  1641. ; To use an output encoding conversion, mbstring's output handler must be set& P: G$ f" ~* Q4 o
  1642. ; otherwise output encoding conversion cannot be performed.
    , q: t' \- j/ A0 b$ e: U4 l
  1643. ; http://php.net/mbstring.http-output
    , n2 O9 v: f9 t# A
  1644. ;mbstring.http_output =* a3 S% t6 e8 N1 X

  1645. & g+ t% p) M; h
  1646. ; enable automatic encoding translation according to
    2 \- ?' t9 n2 {5 }) {
  1647. ; mbstring.internal_encoding setting. Input chars are
    & i& _) u; I: g. s
  1648. ; converted to internal encoding by setting this to On.
    7 v9 |" |2 I4 k
  1649. ; Note: Do _not_ use automatic encoding translation for  M2 `6 ]0 _; d( r$ k2 U/ P% U
  1650. ;       portable libs/applications., Y* v/ B: E! t$ r  A  I
  1651. ; http://php.net/mbstring.encoding-translation
    , ~8 c8 u, y5 i/ j6 s3 ]. h
  1652. ;mbstring.encoding_translation = Off+ e4 s& W% h& l
  1653. . Y% {; \/ E) ?3 J/ h$ ]% n
  1654. ; automatic encoding detection order.) k! B4 y; u6 |" K/ _
  1655. ; "auto" detect order is changed according to mbstring.language- x1 d: H( a& `
  1656. ; http://php.net/mbstring.detect-order% `" e4 g; v$ Y9 C- x, z
  1657. ;mbstring.detect_order = auto
    ) G! t* m/ ~# l" W9 \7 `
  1658. : H" c) [0 P0 @6 \2 E
  1659. ; substitute_character used when character cannot be converted9 N7 r; L- @3 l4 S9 w) y" a
  1660. ; one from another# T# Y* V- X+ C& X2 Z# |' U
  1661. ; http://php.net/mbstring.substitute-character0 y" a7 i" ?, T( {/ R5 s& }
  1662. ;mbstring.substitute_character = none
    ! Q: b! |3 a5 _% G3 k) R2 U
  1663. 7 I1 _; ~& D* T7 {' n# C
  1664. ; overload(replace) single byte functions by mbstring functions.# b1 A, R* n. n6 g2 R
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- U6 O, C1 z5 R; a* ~% G* Q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them., }7 f% r! s) Z% D. @
  1667. ; For example, 7 for overload everything.
    ' r+ G+ S. V* z+ g1 {% Q: B
  1668. ; 0: No overload5 z2 G1 a  m3 U: q  [! ~
  1669. ; 1: Overload mail() function% I0 t0 X2 Z  L: m7 e5 \
  1670. ; 2: Overload str*() functions
    ; P4 ^  _* m) ?$ q( k0 ?) F
  1671. ; 4: Overload ereg*() functions
    ' I$ s1 D5 \0 e4 T* Z' y( X& x
  1672. ; http://php.net/mbstring.func-overload
    6 i  E7 X7 E! ?6 J9 G' v
  1673. ;mbstring.func_overload = 0
    " v5 N# E. n5 b$ d, A1 Y6 C0 ^
  1674. % L) J/ r2 ?! R
  1675. ; enable strict encoding detection.2 z: \+ D' T9 M8 K& m' u' Z
  1676. ; Default: Off! r: b# V3 k, b: A% q
  1677. ;mbstring.strict_detection = On5 Y- E2 Z& f! O$ E, w. ?

  1678. 8 I( y# b2 E- D3 J' e, s- g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . m+ t% [' |' f# `* Y
  1680. ; is activated.3 |5 k1 \$ Q& F- H
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    4 q) q) ?' {3 ~" q8 K  D, O
  1682. ;mbstring.http_output_conv_mimetype=
    * Z" P& F0 Y& L6 w3 F
  1683. ( W, _8 g8 j! i2 I
  1684. [gd]! o8 I9 K$ v( y0 q6 U
  1685. ; Tell the jpeg decode to ignore warnings and try to create$ l. o3 N3 s- U" k6 b
  1686. ; a gd image. The warning will then be displayed as notices
    " e- f' P, G- R
  1687. ; disabled by default
    $ y4 X8 ?3 v. r9 }+ I
  1688. ; http://php.net/gd.jpeg-ignore-warning2 P  A0 W% K/ j- e
  1689. ;gd.jpeg_ignore_warning = 0; o- b& Q7 Y6 g9 G) Y" [

  1690. * i7 O$ r' @& s# y
  1691. [exif]
    + ]3 g6 Z- V8 [0 u! b$ N
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' A8 M2 E2 f; Z+ L
  1693. ; With mbstring support this will automatically be converted into the encoding
    / C- C, M* k6 q6 v  c" T3 Q) i4 m
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    + t, Z0 d% Y' ]' q: Z* Q
  1695. ; is used. For the decode settings you can distinguish between motorola and* y% u8 r: y3 x& Z# g) O
  1696. ; intel byte order. A decode setting cannot be empty.1 b+ b3 \& i+ X* j/ n2 E- e
  1697. ; http://php.net/exif.encode-unicode
    . s3 g/ _' T% p8 G& C1 O
  1698. ;exif.encode_unicode = ISO-8859-15
    : u) O. D8 I- n9 C
  1699. 2 f( `# r) W; B/ K3 F/ D7 D; e
  1700. ; http://php.net/exif.decode-unicode-motorola
    & C" x4 }2 r. _  y: f  L' F
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    / J( o- l3 [7 S3 S  f# x
  1702. 5 r, e* G& T* R4 K: K3 C
  1703. ; http://php.net/exif.decode-unicode-intel
    4 ^" w" u' ?; u  f
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    4 [2 _- B8 a8 j/ U# `
  1705. 7 A8 C! P+ a$ a5 {
  1706. ; http://php.net/exif.encode-jis
    1 ]+ S" r; P+ G5 t% u; j
  1707. ;exif.encode_jis =5 ~' n: ~) a+ }$ V8 |

  1708. 5 k( O" }' Y  ]8 x$ ?, x" D, q
  1709. ; http://php.net/exif.decode-jis-motorola" |* q2 z7 ]6 I4 m% g7 O
  1710. ;exif.decode_jis_motorola = JIS; z6 d6 M& }/ o: V
  1711. # y  p& l: L. Z8 p/ H- [
  1712. ; http://php.net/exif.decode-jis-intel' E( b- W# z2 K" n6 i- D5 r  L
  1713. ;exif.decode_jis_intel    = JIS
    & z+ K. L1 S( g% e$ G
  1714. - R* U1 U2 c6 ^. i+ G5 ?
  1715. [Tidy]8 ]; B% l0 I) N% j0 \$ ]
  1716. ; The path to a default tidy configuration file to use when using tidy+ t3 T* h# o$ I) H7 b% _0 h1 A
  1717. ; http://php.net/tidy.default-config' H0 s0 o5 I6 L4 H. X" b/ T
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 X7 [* z3 y% r4 U0 ~
  1719. 6 u' v% N4 i: s) O) R: _7 g0 ^# O
  1720. ; Should tidy clean and repair output automatically?
    9 s% V6 L0 P6 o  m. f6 [+ k4 u
  1721. ; WARNING: Do not use this option if you are generating non-html content, g& u$ i* k' Y8 T" U: b# i1 w
  1722. ; such as dynamic images
    ; ^, Y5 i. ]8 m! @* W. z; l
  1723. ; http://php.net/tidy.clean-output
    3 j$ Y, ]; e  D/ g* F
  1724. tidy.clean_output = Off  R/ g% D2 \8 z4 i) z( W& T0 c- c; j" ~
  1725. 9 K! b/ ^/ t) K) e! S" g
  1726. [soap]
    ! P6 A' z: S# f& n- o: s5 v
  1727. ; Enables or disables WSDL caching feature.1 P3 n- `/ d, \9 c
  1728. ; http://php.net/soap.wsdl-cache-enabled4 f3 [9 Y% K6 N* ~2 P6 U
  1729. soap.wsdl_cache_enabled=1* ?2 x5 l* P3 |, u# p+ \3 k4 _

  1730. $ w; D% }4 r" u& X% {1 n
  1731. ; Sets the directory name where SOAP extension will put cache files.) p9 K$ c5 ~+ f0 H5 H, n. U$ v
  1732. ; http://php.net/soap.wsdl-cache-dir  Q- E/ Z/ B% i& c! I2 O! x
  1733. soap.wsdl_cache_dir="/tmp"3 J4 q% ?4 r: i' y% `9 t. a
  1734. / }% m6 u+ J  Z$ e/ D
  1735. ; (time to live) Sets the number of second while cached file will be used
    : Y: g( F) V" i! K/ z+ A
  1736. ; instead of original one.
    1 {$ Z# x. i1 y$ e
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 ^8 |0 Y7 t; U, \5 S; z
  1738. soap.wsdl_cache_ttl=86400
    ( N2 y' {4 E$ b* T% c4 N' F

  1739. % M6 l3 V; N* K. G+ _% u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ }/ y  z1 |" `  W+ E
  1741. soap.wsdl_cache_limit = 5
    , B+ q. ^8 k* F% C* Q* c6 r( b) t

  1742. # \* j# b  `+ W2 z- g6 T
  1743. [sysvshm]9 k/ g. K! r, O- ^  G
  1744. ; A default size of the shared memory segment
    8 d6 U/ B; l5 P4 M9 F+ c
  1745. ;sysvshm.init_mem = 10000
    6 e/ X8 L( U# F+ G

  1746. 4 b" ]+ h8 r7 I7 l. [' q" U4 @! y# I
  1747. [ldap]
    ' o" `0 `+ d: U% x- L5 u9 |
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    8 t; Y+ {! W( }3 R/ w
  1749. ldap.max_links = -14 H/ x, t2 [0 D2 W' i/ M- a. L3 R

  1750. 8 @- b; F* l' O# q
  1751. [mcrypt]6 ^6 L; t7 ^, Z% |6 e8 O
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open6 L. W1 j, l9 u( k

  1753. $ Y8 ~8 K2 B# [4 S9 S( G/ X
  1754. ; Directory where to load mcrypt algorithms. n7 A& r( f& b& B( s! [
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 q1 `: D- n) ?: B
  1756. ;mcrypt.algorithms_dir=
    # ]0 l( D7 K+ d1 g" g# a
  1757. - {+ n$ P3 y8 z! ^
  1758. ; Directory where to load mcrypt modes( \; z1 F9 o6 l3 p7 l2 x6 N( ~0 W1 r
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 i8 w$ k" X  K- d0 W% I% T
  1760. ;mcrypt.modes_dir=
    8 S/ I6 o5 R$ K  t- R* r6 b

  1761. - J) ^8 h% k, J7 `) s, f8 D  l7 l, C0 \
  1762. [dba]
    + s- u! }1 z) ^4 e1 t+ H
  1763. ;dba.default_handler=
    6 {& v6 s# @* G  H- z$ d3 a& y
  1764. / v3 _& X' V: P
  1765. [opcache]
    + ~6 i9 V" j; L# o
  1766. ; Determines if Zend OPCache is enabled: ~& L) {4 A* X" m
  1767. ;opcache.enable=0
    ' ]* l% \5 k  h5 ~) D9 Y5 |0 W

  1768. ( A+ N3 I- {) d- K
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP# Q* R& \5 P" O4 w! r# a! ^
  1770. ;opcache.enable_cli=0& H; |$ t; C  b

  1771. 8 Z( P- o0 b3 a* }2 t; E
  1772. ; The OPcache shared memory storage size.; K' x0 Z( T& Q* N( K  `- ~% D
  1773. ;opcache.memory_consumption=64, O/ y9 [. n$ f

  1774. + Q% M: y$ c- s
  1775. ; The amount of memory for interned strings in Mbytes.7 L0 u+ s6 Y; [9 f! C
  1776. ;opcache.interned_strings_buffer=40 l0 r& Y7 t9 x1 ~0 Q3 ], |" N0 Z

  1777. 4 F; O, J7 H- Z" {4 W. D
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% w: ]- x0 m+ [" ~! C& C
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ; Q  n, A, p6 S1 G7 i% k8 J
  1780. ;opcache.max_accelerated_files=2000
    / S7 x( S5 o) O" t6 |3 u1 h

  1781. 0 \( w  P. R2 \5 |( P4 H7 v1 p5 P5 M
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 C. C' m) W, [7 [! H  u, L8 u
  1783. ;opcache.max_wasted_percentage=5- q, f6 x# z: H. U( ?! o* Z
  1784. % `- k: v7 i% Q; x/ U3 Q4 a1 K
  1785. ; When this directive is enabled, the OPcache appends the current working5 y# r) H* k6 {( j
  1786. ; directory to the script key, thus eliminating possible collisions between
    2 P' A. \* n) {! h, D
  1787. ; files with the same name (basename). Disabling the directive improves! E8 r0 b) R' @: g2 W
  1788. ; performance, but may break existing applications.# d; A, v+ t- l! P2 t
  1789. ;opcache.use_cwd=1, O0 m% q# S3 M* y9 @6 Z
  1790. 1 u) i5 c- J. B3 ?2 H
  1791. ; When disabled, you must reset the OPcache manually or restart the
    - p1 a2 D8 y$ ]% J
  1792. ; webserver for changes to the filesystem to take effect.
    " [. Y& K' `3 a% m2 S
  1793. ;opcache.validate_timestamps=1
    ( t9 I5 M) D2 }6 v# h
  1794. 0 g8 o$ ?7 }- J5 I8 a2 B5 R1 I' \
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ' c0 ~6 A8 v3 d* ^8 I# Y+ j; T8 M
  1796. ; memory storage allocation. ("1" means validate once per second, but only/ q8 K2 Y! r4 J6 ~$ R' ?! {# \
  1797. ; once per request. "0" means always validate)5 k" P! C& r/ _1 F% e9 O/ u
  1798. ;opcache.revalidate_freq=2+ q, e0 w4 o6 y4 [7 b$ d9 S

  1799. / c2 @2 _8 D5 ~/ e7 C3 Z" H
  1800. ; Enables or disables file search in include_path optimization+ e, `4 X' q2 f+ z" l. Z5 M
  1801. ;opcache.revalidate_path=0% A. n2 M# }5 r

  1802. & m4 A5 v! T# ?
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 j3 ?8 H( s: S  n( a) L$ u
  1804. ; size of the optimized code.
    ! O" q) _, Y! u2 ]: G1 x" O, V* x- Z
  1805. ;opcache.save_comments=1+ I, u* Y' P- \( ?: P9 D
  1806. ' O* k. X* U& z. v% C
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 W# c& u& D% \% j; S$ C! z4 J0 t
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ) |" N8 g2 o! v2 n+ t7 k2 p5 _# Y
  1809. ;opcache.fast_shutdown=0
    . I8 ]  L& \% _
  1810. 2 \8 R5 i( w# p# W1 e
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    9 x; |. Z. a6 r- Q
  1812. ;opcache.enable_file_override=0( ^" Z2 P/ w2 s& @! t# v& K2 _& X

  1813. ( e9 w# U2 E; ?  v4 a
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache- L* P9 S4 T$ o0 i
  1815. ; passes
    6 D+ B% L+ i3 x; c. k# x
  1816. ;opcache.optimization_level=0xffffffff
    " A/ c5 [8 `' k; F  x& T
  1817. 2 U- J9 M/ {, N8 i" O6 W2 p
  1818. ;opcache.inherited_hack=1' A5 E/ \0 m3 ~* |
  1819. ;opcache.dups_fix=01 g" Q2 d1 |; w  a: E3 C

  1820. # ^. W* T. W( b4 m
  1821. ; The location of the OPcache blacklist file (wildcards allowed).& L3 x2 {9 D0 N/ A
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    " V1 B$ R1 r; v* [9 f" N$ B% F
  1823. ; that should not be accelerated. The file format is to add each filename
    + R0 Z/ D) ]5 [3 ~$ c2 k/ X, q
  1824. ; to a new line. The filename may be a full path or just a file prefix
    1 E- I. o) t; C2 J0 J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ( K$ B( i7 c1 X( C- [% r
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    " h- o7 H0 W) I, D+ K1 B
  1827. ;opcache.blacklist_filename=  N; `8 i: n( }" s

  1828. ( M6 g7 s3 r! ^3 K6 c) H
  1829. ; Allows exclusion of large files from being cached. By default all files3 o4 v% \- v2 D1 [- o+ X9 ]
  1830. ; are cached.
    ' }0 R/ {# X( L: l
  1831. ;opcache.max_file_size=0
    3 x6 t, i2 k( I5 f5 r2 @/ J1 J, ~

  1832. - ]+ e0 _0 r/ l; U; `
  1833. ; Check the cache checksum each N requests.
    # l0 d6 [% N& Q) h" s
  1834. ; The default value of "0" means that the checks are disabled.
      R5 d- V' W, b6 s3 D
  1835. ;opcache.consistency_checks=0
    # Z' ]' y% m3 m6 w$ q! ]
  1836. ! i6 l' Z) G( k# g! Y; W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" K0 I0 k8 S, l7 O! E$ e& R
  1838. ; is not being accessed.. Y' G$ E& m  I& g& f
  1839. ;opcache.force_restart_timeout=180! j7 z+ [4 T; P2 b" E, i  \
  1840. 5 U' T1 t+ w. c$ k6 S3 Q' _* `1 N) k
  1841. ; OPcache error_log file name. Empty string assumes "stderr".$ \  i; P) R7 a* A4 c
  1842. ;opcache.error_log=# u1 f7 H1 W. s8 |2 m- O5 D) [- _
  1843. 8 _# r. I$ B/ m0 D9 `8 v( l
  1844. ; All OPcache errors go to the Web server log.
    8 E4 t2 B' h) e! i' e7 t+ a! i$ {5 v
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    5 `! Y9 T3 Z* ^, ?# V
  1846. ; You can also enable warnings (level 2), info messages (level 3) or2 t2 u( Q, U1 Q  f
  1847. ; debug messages (level 4).
    9 g: C5 F2 l1 e
  1848. ;opcache.log_verbosity_level=1- D  i, H. P' g# Y( z- D
  1849.   |' t9 {# @. r+ Z& I5 a0 S" J2 D
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide./ Z8 H8 q7 m" X$ z
  1851. ;opcache.preferred_memory_model=! O, f, k/ X3 H4 m* R

  1852. 6 |/ y  V; i/ [# G3 a9 h, |
  1853. ; Protect the shared memory from unexpected writing during script execution.$ C: g) X# H& {' b4 W+ s
  1854. ; Useful for internal debugging only.
    % m0 I' b# w3 L1 k* c9 w& Z
  1855. ;opcache.protect_memory=0
    8 x/ r2 e0 t+ _* M
  1856. ' V1 X+ A* ]+ R/ B1 P8 K
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    , M! L: }0 i( {: }
  1858. ; started from specified string. The default "" means no restriction
    7 G# z' F4 S  `# B! ^3 _- n7 [0 @
  1859. ;opcache.restrict_api=
    ! R7 V8 B1 M3 u( q! w1 H* P2 r

  1860. ( x% X/ B. s0 S- @3 U) N$ S
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP, l" @. W/ M, L+ S2 Q
  1862. ; processes have to map shared memory into the same address space. This
    % X: p4 ^' T2 D* Z1 ~
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! C- T* T: F' R1 j* z
  1864. ; errors.
    4 A+ L* \0 e9 x; }/ x$ v
  1865. ;opcache.mmap_base=
    ' b2 l+ s  P3 j  R2 |- Z) D4 e
  1866. # R+ V1 i3 t, x( H
  1867. ; Enables and sets the second level cache directory.
    ' g6 G8 v# y/ A' \( D- o5 N
  1868. ; It should improve performance when SHM memory is full, at server restart or4 G* n! \# Z! J, v6 ^) P& S
  1869. ; SHM reset. The default "" disables file based caching.
    ' L- Z8 D+ H8 T  q/ r, D% P
  1870. ;opcache.file_cache=
    : D( ~2 Q. `( A
  1871. ; e5 C4 }6 j# q4 p6 C) m$ u
  1872. ; Enables or disables opcode caching in shared memory.5 h2 J5 X) P: D. _$ `& u5 ~# P
  1873. ;opcache.file_cache_only=0( w# [/ T8 {% c0 J0 Y! S
  1874. & Y) |1 s* f- ?  b
  1875. ; Enables or disables checksum validation when script loaded from file cache., N+ Z1 g$ }8 W# a' j
  1876. ;opcache.file_cache_consistency_checks=1* r5 c" |- f6 Z$ |
  1877. 7 ]. u; L" W) M5 h$ L. J1 M
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / o; S( W, x0 T- h" ~- P4 }2 C
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file  t+ U( g0 Q; P: P3 B
  1880. ; cache is required.; \4 @# \. ?. O- B
  1881. ;opcache.file_cache_fallback=1& q7 U2 w3 ^2 |4 L$ |# m/ A) e
  1882. ' Y5 l6 U* d8 `! I, @
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 b* [! J& D+ Y4 o  M9 o" ^' e; f  j
  1884. ; This should improve performance, but requires appropriate OS configuration.
    0 F3 q; b) _; g3 i' P
  1885. ;opcache.huge_code_pages=1
    2 W7 D5 O6 H8 Y% A$ K. }

  1886. & U' w/ S: _( I/ N& ?3 }
  1887. ; Validate cached file permissions.
    5 f: g9 M2 q: d9 ^: Z. H
  1888. ; opcache.validate_permission=0
    2 Q: J. V+ k9 a, Z! X& F

  1889. , _1 l; B$ o9 A& T2 b
  1890. ; Prevent name collisions in chroot'ed environment.
    + Y+ m3 B/ G: k( k7 S' K1 U
  1891. ; opcache.validate_root=0
    5 z* W9 z. y3 W+ e- ~
  1892. 2 F, T! M( g! ?8 d, b" j) B  N! y' W
  1893. [curl]
    2 [9 `% d6 [" ]- x/ F
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 ~2 o' q1 W( I0 ~$ I( E
  1895. ; absolute path.
    + }7 c, T- g# j  a2 e4 L+ F) \
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ \, o- T  i1 N( Y5 q
  1897. 3 d9 u& e+ c1 F3 i& V# U
  1898. [openssl]7 x9 d" r( h6 L! [% [/ Q6 Q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    # A9 R4 h9 ~. y- G
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + V1 f; E3 o. w& P7 Q- x+ I2 m
  1901. ; not specify a value for this directive as PHP will attempt to use the2 c' z" V. r1 F5 B
  1902. ; OS-managed cert stores in its absence. If specified, this value may still. }- w) _; y4 T- b- x3 C0 @) X
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) a( `" s4 o- I9 b) t7 x
  1904. ; option.
    & f6 ~; D3 L: `( O1 d3 T0 M
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 W0 A+ l, C3 L, P! y2 _: D0 M

  1906. ( q. d1 O6 [; _6 m8 ?
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the( y) F( K5 U2 K
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ) E  U' j. c/ o6 `
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    : _# u0 b7 p! ]" J9 R8 k6 o
  1910. ; Most users should not specify a value for this directive as PHP will
    ' v* ?0 [* M4 }5 y  w0 U7 @% ]. G% m& S
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,7 x- |8 w, p! y6 _' X' y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) o$ S7 y7 a& U  y2 h
  1913. ; SSL stream context option.
    % J9 l6 M9 ^$ z" Q$ X  e  j
  1914. ;openssl.capath=$ U8 i6 L$ K1 x9 h

  1915. + t) U5 N* r- V7 \8 l
  1916. ; Local Variables:; l2 Y2 U& a5 P# e! E, k# h
  1917. ; tab-width: 4" x, ?3 H4 l7 {" H2 l
  1918. ; End:2 p, P" v) Q' o+ M0 I0 [( ~! f

  1919. 1 U' ]' H, \; o; c
  1920. ;eaccelerator; A; P# J. _; `5 R+ }. @" d
  1921. 9 v1 E8 Z! S8 j6 M# S6 s8 s, U
  1922. ;ionCube- o, P  ^/ T8 F4 q9 s) e
  1923. / h" [; T( }/ j+ p, A( ]/ j, X+ i
  1924. ;opcache
      _0 [5 i2 s* v+ Z- @
  1925. 0 p4 V. y& ^% f1 ^
  1926. [Zend ZendGuard Loader]1 D- H. m3 r1 f) N
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    6 ]9 f8 i0 V9 u0 [3 Y/ h+ p' Z; i
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so4 p! F" c2 d% R" x
  1929. ;zend_loader.enable=12 \$ E- B% v8 D# B% G! ^
  1930. ;zend_loader.disable_licensing=07 H1 F+ F( W7 P
  1931. ;zend_loader.obfuscation_level_support=3
    5 c3 s- v& M' k
  1932. ;zend_loader.license_path=
    " F3 _* X$ O4 C, K$ r8 X

  1933.   t; b( j8 D" A
  1934. ;xcache
    * v/ Q# W: y- W
  1935. $ v1 M) m8 j% I4 ^5 m
复制代码
0 h* u4 W) n' ^

* |2 T! C6 y" T) F7 i1 l- k7 K9 S# j

1 a/ \2 A$ e; _# R& I$ y2 W. u7 l. }6 ?! T# i
( _- ], `* @1 E; F

( o3 K% u' d% n' o) wPHP5.6版本原始设置- I& j. Q7 n5 p* I; W* |

7 I' }- r9 @2 Q
  1. [PHP]
    2 `- G) q% `7 l# u
  2. 2 U. _# ?2 r) h$ N  U8 y. F
  3. ;;;;;;;;;;;;;;;;;;;
      d/ C1 S4 Y5 i" @, j5 P' s% V! ^$ n" O
  4. ; About php.ini   ;# S+ Z( ]/ x& |4 e% N
  5. ;;;;;;;;;;;;;;;;;;;
    ' p& P' o5 x. }1 F0 D% g3 z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    / S5 B' s6 |2 C
  7. ; configuring many of the aspects of PHP's behavior.
    5 ?% H1 @; T* w; \" @! z6 A

  8. " q: {$ X- J, a& o0 B
  9. ; PHP attempts to find and load this configuration from a number of locations.5 _; r( d9 I5 d+ X* {! l
  10. ; The following is a summary of its search order:
    + f. o9 R, v$ y; q
  11. ; 1. SAPI module specific location./ ^- G2 l) t3 G, g& s' Z/ {
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 l* V  W* w) e4 a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)5 f. r) u* a9 b+ U9 z% L8 J: Y
  14. ; 4. Current working directory (except CLI)
    / a8 K) b; C' d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP9 M4 L, P; W- Y6 C- A
  16. ; (otherwise in Windows)
    3 r% T  W5 t8 a) X
  17. ; 6. The directory from the --with-config-file-path compile time option, or the+ a* V9 b/ }3 U& _$ p$ T" w5 A
  18. ; Windows directory (C:\windows or C:\winnt)5 l' O8 t; t0 m! d9 H# ]
  19. ; See the PHP docs for more specific information.  k! ?- X( A9 l8 {0 A
  20. ; http://php.net/configuration.file
    6 R- c/ c7 ]/ O; T( b
  21. ' W5 m( t! L3 R+ J8 Y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    * e( h1 X6 S0 b6 Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    , {$ g$ W2 u! G1 X
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ! y  `& i; L) b+ O  z( H5 O$ W
  25. ; they might mean something in the future.
    ' c) W1 u$ `" a$ |% q# V$ J

  26. 1 S: P2 }- [+ U) R, m+ Y% u" W
  27. ; Directives following the section heading [PATH=/www/mysite] only! k, g  a% A( P; F( z" c6 d
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    * w' I1 O/ A+ d
  29. ; following the section heading [HOST=www.example.com] only apply to
      Z$ W; i1 u( n# ?2 x# E9 ~0 o. S
  30. ; PHP files served from www.example.com.  Directives set in these3 }+ R3 z; R! K! `8 C/ B- |: p6 z- F
  31. ; special sections cannot be overridden by user-defined INI files or
      S( a* h& r% B5 U6 Y$ t/ T
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 [$ P3 z" h- o9 V/ |
  33. ; CGI/FastCGI.1 E% u1 W/ F9 k4 y) Y' j" m
  34. ; http://php.net/ini.sections0 M  n% x' ]! M9 I- c3 E+ t- E6 E

  35. # O4 N6 }/ d. q. d
  36. ; Directives are specified using the following syntax:; t5 ]! E5 {$ x! |+ [2 t
  37. ; directive = value; C, n' C7 n& Q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 O* N) g0 {) O. j! @$ v
  39. ; Directives are variables used to configure PHP or PHP extensions.
    % T0 L+ s* e* }9 q! L, X/ E4 g$ j
  40. ; There is no name validation.  If PHP can't find an expected: t( X) V7 t+ a! H
  41. ; directive because it is not set or is mistyped, a default value will be used.5 [* ~7 H7 m7 @* G- I

  42. / K" l2 q6 `$ W* ^* \
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# u7 s  E1 ]: A
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 H8 E7 Z; L  I* ?: W- O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    0 x/ H7 e+ u& v. v4 U
  46. ; previously set variable or directive (e.g. ${foo})
    6 C% }& ?' G9 ~. \- r' r- G: }2 d0 P

  47. 5 }/ e5 {; X/ W1 T. y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 r/ q3 q4 r: V: O
  49. ; |  bitwise OR
    % u" {( D: U* h# X& [
  50. ; ^  bitwise XOR
    & Z) [0 m  t9 K' }. J
  51. ; &  bitwise AND
    ; ?) T; j0 i: g7 S5 A$ \& n
  52. ; ~  bitwise NOT2 M$ b2 a& U+ S" W8 j) q
  53. ; !  boolean NOT
    7 e) z( y, D. i; n: _
  54. ) }: ]( Y& i! r- u% t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 Y7 A: }8 p" K0 N, h
  56. ; They can be turned off using the values 0, Off, False or No.
    + h% D6 A" P; ~* _
  57. , k) s( x, w( @2 s
  58. ; An empty string can be denoted by simply not writing anything after the equal8 m5 o; u/ E3 G4 T" |$ `7 i
  59. ; sign, or by using the None keyword:. [$ R5 A$ J" M  U8 g+ f

  60. ( a( k* T! z  ]8 h) E, d, Q
  61. ;  foo =         ; sets foo to an empty string
    ' L  V8 U7 K+ ~: k9 x6 M/ I0 R
  62. ;  foo = None    ; sets foo to an empty string
    - N8 q/ A2 C2 Z* _* v0 o
  63. ;  foo = "None"  ; sets foo to the string 'None'/ \0 A- [- R" i% V8 ~% Q; Q7 c( ]

  64. 0 L) \8 g) {) j. b. l  h
  65. ; If you use constants in your value, and these constants belong to a
    + j( d4 q) z7 H+ m8 H; B+ T! Z
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 o0 F, S+ u/ r
  67. ; you may only use these constants *after* the line that loads the extension.2 Q4 H! t& K# j
  68. , W* ?* X- _* J2 o( F
  69. ;;;;;;;;;;;;;;;;;;;
    - D( a* Q# E8 D6 x& j* a' ~* ?
  70. ; About this file ;* z5 X$ a" e3 }8 P! `
  71. ;;;;;;;;;;;;;;;;;;;
    4 i! m2 d* m  h% U- G0 S
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 V! f! [0 ?6 T0 \  l2 F% e
  73. ; in production environments and one that is recommended to be used in
    / f" o4 b( A$ P7 U
  74. ; development environments.
    % c: U# V/ d, c) j8 b

  75. 4 O8 z6 E" Y2 f2 u
  76. ; php.ini-production contains settings which hold security, performance and$ T7 \, t; Z+ N# @$ p* [+ B) r
  77. ; best practices at its core. But please be aware, these settings may break( S# k) b( T; ]$ Q$ ?0 s
  78. ; compatibility with older or less security conscience applications. We
    * y) e* x! `2 b8 s
  79. ; recommending using the production ini in production and testing environments.
    : T9 k; Q) s/ R7 e
  80. : b( O: ]1 B1 B
  81. ; php.ini-development is very similar to its production variant, except it is
    9 e* D8 k* E/ k: j
  82. ; much more verbose when it comes to errors. We recommend using the/ y7 }% _' j1 s
  83. ; development version only in development environments, as errors shown to
    9 [# k7 C' u2 E% @* |$ ~
  84. ; application users can inadvertently leak otherwise secure information.6 o$ t8 _9 j1 w8 n
  85. 7 v4 g" t8 d! M4 x
  86. ; This is php.ini-production INI file.: |" T( C; G# T5 k

  87. * N/ V5 M  G: R$ c7 d; N4 ~
  88. ;;;;;;;;;;;;;;;;;;;
    # v; K8 L6 x0 S; N0 b4 \8 b( c
  89. ; Quick Reference ;
    # F( V  {3 j1 w( `, o- {! c9 r
  90. ;;;;;;;;;;;;;;;;;;;, T/ O6 E" J) I+ R( s( b5 d
  91. ; The following are all the settings which are different in either the production
    2 d# H" i  L; q8 ^
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! Y* l( c- t! H4 V
  93. ; Please see the actual settings later in the document for more details as to why
    # v4 X, z2 u5 p, n6 x
  94. ; we recommend these changes in PHP's behavior.+ @! D6 J) U& _% ^5 X! N0 N
  95. - N# {" t8 t2 X" H  m6 r
  96. ; display_errors2 G& G: d$ P. b( J7 @
  97. ;   Default Value: On
    3 b. l& a! y  P# [( d1 P+ {0 ?
  98. ;   Development Value: On
    ( D* G8 ~4 T4 f+ R  V
  99. ;   Production Value: Off
    - A+ M, v3 S8 [0 X
  100. 7 n& ^+ A9 }9 ]  k, c  C9 ]+ [8 N
  101. ; display_startup_errors6 S5 u% o" Z8 [  K" X/ }! q4 ~: K
  102. ;   Default Value: Off/ e9 `7 V' T" g0 G: ^
  103. ;   Development Value: On4 V3 K/ K1 a9 D4 z
  104. ;   Production Value: Off# x2 y* b/ d" I- _$ u. c
  105. # r  a# h2 e# |
  106. ; error_reporting
    & g- w3 q$ B- X" F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) s0 t! n0 r- h+ ]+ @% k
  108. ;   Development Value: E_ALL( {0 f0 F; V/ q' f, r1 X3 i  M8 ^. {
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - O9 `; E6 Q7 N4 z3 d

  110. ' P; u1 b% C* a9 Z0 C9 ^1 K% k
  111. ; html_errors
    1 U, G" f  G/ s6 G& U) Y  {: D# Y
  112. ;   Default Value: On$ k- m% i! u+ f% Y3 Y9 |
  113. ;   Development Value: On- U1 m3 ~' i9 C) |* y/ ^+ w
  114. ;   Production value: On
    , C- ]% ?! b3 p9 N) p* {
  115. & e: e- R+ |7 s
  116. ; log_errors
      X* O8 k6 m1 B! ?
  117. ;   Default Value: Off2 z- h. o2 s6 z. g* {: Z- l
  118. ;   Development Value: On
      o% l6 Q7 Z) {1 x
  119. ;   Production Value: On
    . W, l, d) f7 K
  120.   u7 I, y# T1 ]/ s) z1 W; `8 H
  121. ; max_input_time) R9 U. a( i+ v4 }
  122. ;   Default Value: -1 (Unlimited)' z( Q+ F( U: t, ]1 w
  123. ;   Development Value: 60 (60 seconds): I0 L) x' u. H" z3 T, p7 O, {' E# y
  124. ;   Production Value: 60 (60 seconds)) y" h. h7 ~7 {( b. N
  125. ( ^, _$ O$ R& C3 I' e
  126. ; output_buffering
    : J7 B4 X: Z8 |: B
  127. ;   Default Value: Off
    4 Q' g4 {7 t9 Y4 p
  128. ;   Development Value: 4096; E# J$ p' d1 A5 V% C$ k
  129. ;   Production Value: 40961 G0 j: M6 Y! m; Y2 |
  130. 2 t4 q1 R  x1 g( `. \7 d) }) S
  131. ; register_argc_argv
    5 M, p! D* P# R
  132. ;   Default Value: On
    9 c, w1 o! o$ v* k9 S  U( j
  133. ;   Development Value: Off
    1 M) @4 C/ m/ |* a9 A
  134. ;   Production Value: Off
    4 J* d' _1 O) l/ d

  135. $ |- G1 V, Q# \; B
  136. ; request_order# D. R  B& E$ E& [. q1 e" V
  137. ;   Default Value: None/ `) z- G& @# N, R: ~& j' I! y9 l
  138. ;   Development Value: "GP"
    " W( X& ?) G+ j5 Q* E- T% M) J
  139. ;   Production Value: "GP"
    9 x% c9 m( i. I; h! V( k
  140. 7 W) A( Z( Q" c! D
  141. ; session.gc_divisor
    / O9 h. M5 J# c( w% f
  142. ;   Default Value: 100
    4 `. u# c: @( x. R' E- S
  143. ;   Development Value: 1000& \( n+ O2 ~2 D" K. j. M
  144. ;   Production Value: 1000; @% B. N* n3 k. t' o8 ~
  145. 5 S* S& r' j/ C# x) i2 z
  146. ; session.hash_bits_per_character  C# ?, Z. O: s- P! I4 u2 j
  147. ;   Default Value: 4
    & b9 m2 _. z2 E5 b; t
  148. ;   Development Value: 5
    0 R" S- w% o* ?& f" |' t
  149. ;   Production Value: 53 Z$ |8 l2 p5 f1 N: X7 Y

  150. 3 q; U* B* Q- j
  151. ; short_open_tag
    6 d7 O# ^6 g3 d' k' P
  152. ;   Default Value: On
    3 g" q4 A% m$ C) l6 I3 m: s+ y
  153. ;   Development Value: Off
    1 t& `- }9 @  J$ b' ~% U1 B
  154. ;   Production Value: Off3 b1 O& T) ?( q# p
  155. ; e2 L9 S$ |. m4 u
  156. ; track_errors
    + p+ R# n* U) u, a5 Z+ v
  157. ;   Default Value: Off: U& J7 m8 g9 Q0 J  r
  158. ;   Development Value: On
    7 o, ^+ e8 w$ f# T
  159. ;   Production Value: Off: s) Q$ T$ K' O, H" K" o, ^) v. }
  160. ' w" Y* ?9 C6 I' v; ~. S! [
  161. ; url_rewriter.tags7 X* i# K7 ]+ O0 Q: K8 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ t# S4 C6 C/ Q! ~: h. U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 X. c$ I; @6 L: X7 a
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , l- m8 P4 ^" r1 Y9 G% ]& O
  165. ! ^1 M4 z- g( j4 }% M4 {' N
  166. ; variables_order, h% ], g, W  S5 w$ X
  167. ;   Default Value: "EGPCS"
    : G, ~5 P# l8 ?( {; c
  168. ;   Development Value: "GPCS"5 w$ m3 G9 ^! j0 A. v0 }1 m
  169. ;   Production Value: "GPCS"( _2 o$ z- Z: H; ]! i; A
  170. & E( P2 X: y- ~$ W& B+ }
  171. ;;;;;;;;;;;;;;;;;;;;
    2 K" g7 F8 @/ d$ @  X; F( X
  172. ; php.ini Options  ;
    . N) D+ w2 a$ G$ U; T  R2 @# a& M
  173. ;;;;;;;;;;;;;;;;;;;;
    4 @/ r, n& B0 P) c- Z" ]5 B
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& \- ]  \* ^5 a& q. W
  175. ;user_ini.filename = ".user.ini"6 l* v2 r% a/ z$ N4 e

  176. $ v$ A: O* S: u) J6 Z* f
  177. ; To disable this feature set this option to empty value/ B( u* J# j; z( G- E! ]' \! _
  178. ;user_ini.filename =' q, O6 M2 m/ F; d
  179. 0 _% h$ l3 c) y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) _: F6 p6 k  Z
  181. ;user_ini.cache_ttl = 300
    8 l- k( j2 d, s  _
  182. / r/ E( K( M3 y: X" [9 \
  183. ;;;;;;;;;;;;;;;;;;;;
    5 {7 d) T" d" D9 A
  184. ; Language Options ;& {( w3 }5 \. g' v
  185. ;;;;;;;;;;;;;;;;;;;;
    ! s) ^, q- O+ C( ?0 \4 h

  186. 5 G  O5 L3 c" i' h9 U* A: _% D
  187. ; Enable the PHP scripting language engine under Apache.9 r7 S. P- L' q1 j, x8 A
  188. ; http://php.net/engine
    " }7 ^9 `1 C3 R
  189. engine = On
    ) A* N0 S" D! E8 Z$ t' L3 D- X

  190. ) c& }. W) p# W
  191. ; This directive determines whether or not PHP will recognize code between
    ( s' \6 q" F& c) s6 `9 f- y! H8 C
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 b& I" M6 i, p
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & S3 }2 M7 ^$ _; G, g1 D, V; S
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 Z: K8 ]: K) \' u0 r/ C( S
  195. ; documents, however this remains supported for backward compatibility reasons.
    - ]0 Q: N0 i8 d, A3 y& K; F. p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) ?' G( d3 [% V9 [. n, u
  197. ; used regardless of this directive.
    7 G* G* G9 D4 \: @% {
  198. ; Default Value: On, a9 y' O! T; q
  199. ; Development Value: Off8 d4 S$ a- S, p; @3 ^1 r
  200. ; Production Value: Off
    + g" g9 o5 D* n
  201. ; http://php.net/short-open-tag
    3 B) {2 ~5 b! M; m3 ^3 Y# X
  202. short_open_tag = On& C2 I" N: y, W8 K" e

  203. $ x0 x/ D$ f5 @( Q3 H. N
  204. ; Allow ASP-style <% %> tags.# p6 c0 J; V, m3 J# l/ q
  205. ; http://php.net/asp-tags! q& }( z0 i; _! {# N+ l
  206. asp_tags = Off
    4 ^( g- B! e1 F7 B
  207. 0 Q2 s5 h! O- {* |
  208. ; The number of significant digits displayed in floating point numbers.& R9 z- c1 O+ n& `( l7 M* g
  209. ; http://php.net/precision: q& c' P: C0 I
  210. precision = 14
    ' m, D" s! R$ ]

  211. " X3 B4 I8 S2 s  G  z3 f8 V
  212. ; Output buffering is a mechanism for controlling how much output data" M) n9 ~% ^4 w* u0 U3 e
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that: _. w  M# J2 v1 B9 b6 P5 \' Z
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ' s* Z4 w3 @1 _$ s9 ?
  215. ; will send that data in chunks of roughly the size you specify.. m7 C; q0 Z# ]2 h
  216. ; Turning on this setting and managing its maximum buffer size can yield some2 O' x: L- p4 T' Y- T! g
  217. ; interesting side-effects depending on your application and web server.1 @) U( `6 |* V9 g9 S) a
  218. ; You may be able to send headers and cookies after you've already sent output
    - w( x3 Z7 B+ S1 P0 h
  219. ; through print or echo. You also may see performance benefits if your server is
      ?2 b$ q; S. R0 v: }
  220. ; emitting less packets due to buffered output versus PHP streaming the output" j+ P9 [' s( a, G
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! w- j. W2 {% F% m" Y
  222. ; reasons.& F" W4 c0 {, O, y! J' e
  223. ; Note: Output buffering can also be controlled via Output Buffering Control$ C. }) `2 |* s5 c" ^7 |0 K
  224. ;   functions.
    6 Y6 H9 R" u& m. f0 \  c+ k
  225. ; Possible Values:
    9 \, M$ \$ a' T# E4 X' [) Q/ _
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    7 ~- n: Q: T  |$ c* N7 N! b
  227. ;   Off = Disabled
    . T" [+ B$ q* B/ h$ y- h8 U+ C
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.0 J/ R! G/ h8 r0 E% w  |1 ?
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI- p, y) ]( |: w4 g  X
  230. ; Default Value: Off$ t& S/ }7 I! Q
  231. ; Development Value: 40961 q4 y6 M/ g; ?1 L/ @# Q6 c
  232. ; Production Value: 4096" I$ k9 C9 B" \, ~& L: [
  233. ; http://php.net/output-buffering  R7 r) f2 z  [3 [: }2 W5 J( m! r
  234. output_buffering = 40964 k, r% U, N+ l0 C% V3 U" ~

  235. + h' ^# V; L; q2 w
  236. ; You can redirect all of the output of your scripts to a function.  For) f5 e) B1 P, M3 z, v  S* Y
  237. ; example, if you set output_handler to "mb_output_handler", character
    6 S+ U+ ?8 G: S: l: Q- X) Y
  238. ; encoding will be transparently converted to the specified encoding.
    3 d# \% I! h+ \% m( _
  239. ; Setting any output handler automatically turns on output buffering.
    ' K4 M2 H1 ^# }& s
  240. ; Note: People who wrote portable scripts should not depend on this ini
    4 G1 N" e6 `) n3 e+ `( _
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    9 e& Y; X. V7 f$ m0 @. Y' l
  242. ;   Using this ini directive may cause problems unless you know what script
    3 p# U+ m7 K- I1 N+ L, X* Y: o: d% e
  243. ;   is doing.
    - c* G6 ^' ~' S; Z! c5 }
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"3 b  Y* ~$ {5 ^! |
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".% n7 S+ Z) U9 K4 q+ @" \' `
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 J* n, C8 S( t; s+ p( e* j
  247. ;   Instead you must use zlib.output_handler.
    ( B7 q3 k" e  Y9 U2 A* v
  248. ; http://php.net/output-handler0 P, q, f; f$ H1 w1 f4 e
  249. ;output_handler =2 x" a% A5 G% b9 D# X! J" n

  250. + T7 r* q; R. n+ d9 v0 n# c- q6 e, V
  251. ; Transparent output compression using the zlib library( b9 Z. Q& K! l$ h( W
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size% O# I) A% q# U! N4 l" h) I
  253. ; to be used for compression (default is 4KB)/ K6 Z, c/ U. Q' f: w
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 R& f7 b5 \! H8 w
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    1 L) Y. ]; s0 i
  256. ;   compression. If you prefer a larger chunk size for better6 \6 f9 ~" E5 f+ q1 Y4 g
  257. ;   performance, enable output_buffering in addition.7 d8 P2 m3 A" Z4 h7 j- ?
  258. ; Note: You need to use zlib.output_handler instead of the standard* V9 `" P3 A- J' W& M
  259. ;   output_handler, or otherwise the output will be corrupted./ x' O; Y; w/ L, j
  260. ; http://php.net/zlib.output-compression! k/ u6 j- u: M9 r
  261. zlib.output_compression = Off
    9 O4 k) Q+ k6 [6 m1 z8 ~) w

  262. + Y; R% ?9 N( k  Z- M' I
  263. ; http://php.net/zlib.output-compression-level1 k+ v9 s' A" ~: C2 Z, ?+ ?
  264. ;zlib.output_compression_level = -1- p; y1 w$ E+ e  L

  265.   U  N6 v! O9 ^
  266. ; You cannot specify additional output handlers if zlib.output_compression5 _" d, u4 W; U$ t8 F
  267. ; is activated here. This setting does the same as output_handler but in; X9 a" ^4 p# @4 m
  268. ; a different order.  e" J  b8 S! G5 S# ~
  269. ; http://php.net/zlib.output-handler
    . l: M$ ~2 ]4 V
  270. ;zlib.output_handler =4 k* W0 b  }' a  W
  271. 4 }, J5 ^! C! h4 R4 I
  272. ; Implicit flush tells PHP to tell the output layer to flush itself- O5 d0 ~; {: p. c; ]
  273. ; automatically after every output block.  This is equivalent to calling the5 }7 L: {" a* z/ {# ~/ h/ u1 d
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ; @; H8 |8 `5 W, }# Y; t: t6 {3 R
  275. ; and every HTML block.  Turning this option on has serious performance$ [. c0 c& ]$ _
  276. ; implications and is generally recommended for debugging purposes only.- T3 P" f1 N; t5 [+ W" U( u8 i
  277. ; http://php.net/implicit-flush
    0 D: W1 M' k0 C8 N2 n/ u$ U" S- M
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    : U: K" R# q3 j' G
  279. implicit_flush = Off
    + I- ~/ _8 S; W; ^- @
  280. 1 |2 y: E7 r) X1 ^7 g
  281. ; The unserialize callback function will be called (with the undefined class'
    7 v( ~. u7 m  R! q* _8 d
  282. ; name as parameter), if the unserializer finds an undefined class4 g+ S- E- g/ H- @) S' \+ ?
  283. ; which should be instantiated. A warning appears if the specified function is# I. s3 i0 U# l  H$ b. S3 Q1 `
  284. ; not defined, or if the function doesn't include/implement the missing class.* B1 s" J3 L; s0 g% b. e
  285. ; So only set this entry, if you really want to implement such a
    ! B2 P8 h/ t( O  h8 A
  286. ; callback-function.( n- D' q" J1 l
  287. unserialize_callback_func =/ H/ K6 v0 |$ c# ^. z; ?, T" `
  288.   K2 t  L: @9 L" n: _) f3 ?
  289. ; When floats & doubles are serialized store serialize_precision significant/ n3 l' F" t! l# O) U6 @; d( l9 d( K6 |) v
  290. ; digits after the floating point. The default value ensures that when floats
    1 s7 ^9 `. t! j1 u9 Z
  291. ; are decoded with unserialize, the data will remain the same.2 U, B" J( e7 \# ]/ ?- U7 R
  292. serialize_precision = 17
    " Q* o# [' m" {! B8 M$ U
  293. 1 c, V( `/ y/ A* r8 G6 Y
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ( J+ K( z$ m+ i) E  ~4 S; C
  295. ; and below.  This directive makes most sense if used in a per-directory
    & _" u; E& h/ }, Y' b  z. S5 o; x0 O
  296. ; or per-virtualhost web server configuration file.
    ; P5 ]* W8 T9 o* @- L  u
  297. ; http://php.net/open-basedir) h$ f1 x2 ^7 f3 j1 T- \
  298. ;open_basedir =' f3 l  r  @2 ?5 D* A6 r
  299. ' L0 z1 |! M' X5 D/ Q
  300. ; This directive allows you to disable certain functions for security reasons.
    ) C. s1 T3 ^) ]: E8 h! _
  301. ; It receives a comma-delimited list of function names./ F0 l9 D: X" ^1 _8 m& V; Y( J
  302. ; http://php.net/disable-functions
    , N- m1 G/ o. ^' l& C0 a
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% c3 V( \+ c3 M) ^1 J/ R/ S# ~
  304. * o. m$ V; w0 L1 _1 w
  305. ; This directive allows you to disable certain classes for security reasons.
    ) Y/ Q% k  Q+ U: A( {
  306. ; It receives a comma-delimited list of class names.
    # v( E' x3 G  ]# h
  307. ; http://php.net/disable-classes& ?8 L+ n8 g6 J5 U$ K9 ^' P
  308. disable_classes =/ U: n8 [" K5 t9 E5 w+ R! ^" Z0 ^
  309. 8 I. K5 P( t7 p$ c( Q
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- U5 j" m/ x# @5 b( }7 Y6 s
  311. ; <span style="color: ???????"> would work.
    7 A$ X  F  c1 M+ M. H3 ]  s' z
  312. ; http://php.net/syntax-highlighting7 Y( b+ F* z0 @0 N  \- \
  313. ;highlight.string  = #DD00002 q0 {$ g4 \* m- i% c
  314. ;highlight.comment = #FF9900
    , A' f: m) b. Y+ h! K8 s
  315. ;highlight.keyword = #0077007 E) z! M* O, C' Y) v
  316. ;highlight.default = #0000BB% t& x% i$ r5 |& g' E$ w
  317. ;highlight.html    = #000000
    2 Z" t# X# X3 R
  318. ) x2 n! ^% G3 L7 Y
  319. ; If enabled, the request will be allowed to complete even if the user aborts3 m9 I# d+ p5 x3 C0 t% i
  320. ; the request. Consider enabling it if executing long requests, which may end up# I2 F, w0 T- a" V& A* N! Z
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 W% L& E. C% H: ?
  322. ; is to disable this feature.
    5 C/ e' S" N* T3 u' F) n$ [
  323. ; http://php.net/ignore-user-abort
    6 j- p8 W& K; N6 S' I5 D0 y4 @5 U
  324. ;ignore_user_abort = On0 q6 r' z2 w1 o& k

  325. $ ]7 T7 A, y, ?& P& C  x1 A
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ B' {4 R% K6 W! X
  327. ; be increased on systems where PHP opens many files to reflect the quantity of! {4 t/ O. k# m; p3 e
  328. ; the file operations performed.1 h6 z7 s) H8 B% K- w! U9 ^
  329. ; http://php.net/realpath-cache-size5 H5 x7 J7 n; w: g
  330. ;realpath_cache_size = 16k
    : x& A  c7 R- _' U3 x% f0 H

  331. 4 |; D4 j- B, D$ S
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ; S3 J6 }0 A, R# A/ b( ]6 g" [" N% u
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    0 A! D- q6 z+ ?. b0 D
  334. ; value.
    / d: t/ j, d% @
  335. ; http://php.net/realpath-cache-ttl
    ( P; O3 Y& A' N% @5 ^
  336. ;realpath_cache_ttl = 120: N# G$ t$ q# D- V* `' V+ M

  337. 1 s# X$ l; ^4 o/ [
  338. ; Enables or disables the circular reference collector.3 ?1 ^5 _3 M9 a2 }1 D  u8 Y
  339. ; http://php.net/zend.enable-gc
    8 r# l0 u8 w  r! d4 l$ v
  340. zend.enable_gc = On% o2 O  E4 n/ R' o$ T/ r; l! m

  341. 6 Z% `1 C$ m4 N$ C9 O
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    5 f/ U! @3 _) ?$ U% c, k
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 _# ^- |, o; w9 U$ o
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; b$ l$ g( _5 R& _" m) S
  345. ; Default: Off4 A: ^+ F  X, N/ S  N& ~
  346. ;zend.multibyte = Off$ E+ }: q. h) B% Y0 j
  347. - U0 g8 I4 j- _- `5 v
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % W0 c* `3 @6 @: j7 f% m! B
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 O8 B2 Y+ n- [6 D
  350. ; Only affects if zend.multibyte is set.
    ( j( u" q* \, @1 Z: z. X* s
  351. ; Default: ""4 _" h- A% I6 h: `4 i3 @! x- q
  352. ;zend.script_encoding =( U: M( Q  I/ v! d/ W% E% c
  353. 5 i) M! q! c# j. |7 k' P
  354. ;;;;;;;;;;;;;;;;;# @  }% d! d7 O- {6 M$ m! V( Y
  355. ; Miscellaneous ;) ?8 S! r. q! _: B8 ^: }4 }+ |
  356. ;;;;;;;;;;;;;;;;;
    , K3 i( e$ m6 ~& R% L

  357.   L/ Z% y* U/ G+ v4 S' h
  358. ; Decides whether PHP may expose the fact that it is installed on the server, }2 F3 ?0 }/ P$ Z7 W) N
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    + u" t5 S' Q! j/ t/ V; R
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    , e, |( P( {5 i  X/ E9 g
  361. ; on your server or not.
    : c; k2 t0 Y5 l+ C8 o6 ~( l. v
  362. ; http://php.net/expose-php$ F* u3 q" w. A/ U2 a- q
  363. expose_php = On9 n: M# ]( W) ]! ]/ ~1 K
  364. : p2 [3 \+ H' m$ `% a( ?" ~
  365. ;;;;;;;;;;;;;;;;;;;
    ( Q! X3 M0 {: O3 ^4 O" V( v# b
  366. ; Resource Limits ;5 j8 F$ F0 J& }* D  a
  367. ;;;;;;;;;;;;;;;;;;;
    5 ~, h1 v8 n4 m- T/ x# C) h1 F, m

  368. 1 r) e+ X$ N% i; ^
  369. ; Maximum execution time of each script, in seconds
    / R. Z  c( e3 L
  370. ; http://php.net/max-execution-time
    & E! k9 v8 Z) @
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI1 n3 i1 b* {4 n: ^& e6 r
  372. max_execution_time = 300
    ) H7 A; A5 r; x( Q5 }$ J, o

  373. 2 n# v; C5 q0 M8 r
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    + {1 L3 \( X2 ~4 h: M
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
      S% y$ C/ @% J, e' Z7 I  [
  376. ; long running scripts.: G# n; P+ M' S% O' W+ R
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    & l0 }- p: I# n* d/ ~- y6 f3 u
  378. ; Default Value: -1 (Unlimited)
    * g" Q/ D# B1 w: C6 V
  379. ; Development Value: 60 (60 seconds): a# w! Z, a& q  a' q- h9 N$ ]  @; M
  380. ; Production Value: 60 (60 seconds)( ^, B  ~( P3 f3 j: q1 ^- \0 w* C: w
  381. ; http://php.net/max-input-time0 C+ j" V4 F" X" A; n
  382. max_input_time = 60: _; _& }! h; ^) |) t  B

  383. 9 S" f" Q( \7 \
  384. ; Maximum input variable nesting level
    8 q2 }. f5 a1 p) f
  385. ; http://php.net/max-input-nesting-level
    " [. m" i6 B6 u4 @* W1 j* _! h
  386. ;max_input_nesting_level = 646 a! Y' \/ s" [" c

  387. - W6 d( U* j7 q) m; N$ W
  388. ; How many GET/POST/COOKIE input variables may be accepted) D) {5 l5 e( Y8 g5 I4 T' w
  389. ; max_input_vars = 1000
    $ a( H5 [1 e; v3 u% O  a1 p

  390. ) W. e. T' L! X* X! _, ~
  391. ; Maximum amount of memory a script may consume (128MB)
      m# @: F) T2 s9 }! Z
  392. ; http://php.net/memory-limit
    & u# k3 S) Q1 ?) ~$ R& Q5 b5 c
  393. memory_limit = 128M' @6 M( o- `' x& g( c$ U& y$ J

  394. / {1 B, G( ?; r1 G' }/ L
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ O/ Q7 ~& A; i  i" F
  396. ; Error handling and logging ;
    8 x6 N, z; P0 s- {1 W
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . F4 L6 o' [2 x8 `

  398. % {1 l$ |0 M: c1 ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    0 q9 x$ y8 y/ K- {
  400. ; it to take action for. The recommended way of setting values for this, u9 t2 S9 N9 V2 J0 B$ Q- }
  401. ; directive is through the use of the error level constants and bitwise
    6 q, z) y" ?$ Y0 [
  402. ; operators. The error level constants are below here for convenience as well as
    ( B3 t: A1 m' t$ F3 @
  403. ; some common settings and their meanings.* C4 E0 u9 z% R8 @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 U+ N7 p0 P9 ]. |6 l
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      n, {7 p$ ]: g! i" ]
  406. ; recommended coding standards in PHP. For performance reasons, this is the0 J. q: i) f. D" ?: [, W1 G2 R
  407. ; recommend error reporting setting. Your production server shouldn't be wasting9 @; V( X% n+ p9 C; b0 W8 b1 }
  408. ; resources complaining about best practices and coding standards. That's what3 ^* q% W9 S$ o5 u0 t
  409. ; development servers and development settings are for.
    # J7 M3 a! Q+ B) w! r. l# ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 G# T: s; R) F9 x  b
  411. ; means it pretty much reports everything which is exactly what you want during9 f; @6 W) x1 U
  412. ; development and early testing.
    1 J2 t- p# n( c
  413. ;% {! O5 u; c% _  n1 n8 D& P
  414. ; Error Level Constants:
    # Z  r. C3 e: g. v& ~% U& g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    5 J& n5 }2 c0 I% E
  416. ; E_ERROR           - fatal run-time errors
    5 J& x3 @' [: V, _5 H! _
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ) r- R& L1 I+ a& P1 j8 M' }
  418. ; E_WARNING         - run-time warnings (non-fatal errors). d6 ~0 C) }) M2 t0 i
  419. ; E_PARSE           - compile-time parse errors/ m! [( B/ L( ^1 d1 I
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " _* o+ ^8 F( ?7 e  x9 T, Q& P2 h- [$ i5 m
  421. ;                     from a bug in your code, but it's possible that it was
    7 a# f6 l. r8 R0 W2 i$ A0 P8 D" s! X
  422. ;                     intentional (e.g., using an uninitialized variable and' u3 L" s& H& Z% g/ |0 _$ Z
  423. ;                     relying on the fact it is automatically initialized to an
    + k$ t) [! @+ ~. R1 U) I( d8 ~) t; Z
  424. ;                     empty string)4 z. J1 }9 x% n5 H9 F
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : s$ r' `8 q, f- C* z% Q
  426. ;                     to your code which will ensure the best interoperability# ~0 ~/ V  m/ I. d, u2 G$ x# J
  427. ;                     and forward compatibility of your code
    1 U/ \/ {; Y, n) z( n  ~7 h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: Q/ ~! Q: F. S, x( U1 x
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    , K( ~. Y1 J, r6 W+ U" d
  430. ;                     initial startup6 }1 B- [1 m1 ]/ @* K
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    - n( Y6 u. v' o, Q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
      _& {& ^$ D5 d" @
  433. ; E_USER_ERROR      - user-generated error message/ b8 ^. f0 w' p9 N: Z) B, i
  434. ; E_USER_WARNING    - user-generated warning message0 W3 l# ~- Z8 r* G! G
  435. ; E_USER_NOTICE     - user-generated notice message8 N. _8 G( i2 w
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    5 v6 C" v* n7 f4 \3 q
  437. ;                     of PHP
    7 p/ D. a% P& ~% N% m$ t
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) @6 s5 L' Q9 N8 D: v
  439. ;
    7 |. ]/ G+ a8 c: z' b9 a% n$ N
  440. ; Common Values:
    0 Z  ?( q. I9 V# {
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) r; g. y% w0 Q/ C  c
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; L  l, b9 o6 L% Y4 U. ~  J
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ X' C7 l6 }9 r) M7 B
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    1 J8 u& O3 F7 `" r
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) X1 H' R1 E4 Z" [" c
  446. ; Development Value: E_ALL
    ; I. Y5 J! D1 R6 P  w
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( g8 c9 Y% m4 w5 R5 E% ]
  448. ; http://php.net/error-reporting4 d, ]# P$ S' Z# G1 K8 U
  449. error_reporting = E_ALL & ~E_NOTICE1 z4 |7 p* {7 q4 F: g2 H; z
  450. 9 \( T. }+ g3 E% @
  451. ; This directive controls whether or not and where PHP will output errors,3 f4 G* a6 F, p. v4 p
  452. ; notices and warnings too. Error output is very useful during development, but0 A* L- b# }5 c8 b
  453. ; it could be very dangerous in production environments. Depending on the code3 e" e- i' m5 d% V- d
  454. ; which is triggering the error, sensitive information could potentially leak4 R2 D0 G0 E2 M$ t2 h
  455. ; out of your application such as database usernames and passwords or worse.
    8 S+ ]- p1 t7 M& z
  456. ; For production environments, we recommend logging errors rather than8 t: L$ v9 S' f: Q: |* r
  457. ; sending them to STDOUT.
    # ?1 c3 p7 B0 \7 u. N; k7 m
  458. ; Possible Values:
    * {9 a9 T) K  j
  459. ;   Off = Do not display any errors( n; L! b$ y* o/ g, `
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)% j' @" H" d* _6 @1 R% X, G8 G
  461. ;   On or stdout = Display errors to STDOUT
    : R+ y- k% [; p, D  N
  462. ; Default Value: On9 G7 T* C% Q! G/ L7 W. N  b
  463. ; Development Value: On
    % }. q$ Y* `" ]; |0 g0 X
  464. ; Production Value: Off5 i- B0 r) o( z  Q9 J' z
  465. ; http://php.net/display-errors8 W5 `# L/ m+ Y
  466. display_errors = On( {! w; h7 X( }1 W' q

  467. 0 A* ~/ l% f2 V: X; }' d- n
  468. ; The display of errors which occur during PHP's startup sequence are handled/ X, \& r* l1 ~2 |7 l0 v0 Y8 ~, }
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( U0 |6 y9 N" m( {, X9 b  _
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ; g' d: a/ S6 O" p8 N* ]8 I$ M0 j
  471. ; debugging configuration problems. We strongly recommend you. ]+ M5 A1 I0 V2 J
  472. ; set this to 'off' for production servers.! Z  F' ^; J. H4 \$ k
  473. ; Default Value: Off
    7 V8 z4 o3 ?1 [4 [$ n( M
  474. ; Development Value: On
    9 H5 s, \/ B# `
  475. ; Production Value: Off/ |# w/ O9 r' j6 E  t
  476. ; http://php.net/display-startup-errors
    / h6 V1 B# M" `; ~" G
  477. display_startup_errors = Off  Y! k7 g0 s5 V6 S, H! y8 L6 O
  478. $ N9 n5 v; C* V; G5 D
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) G5 T3 g6 ?1 o* }5 P, ]( f
  480. ; server-specific log, STDERR, or a location specified by the error_log
    8 L- L5 Q! t+ @' S- g1 [
  481. ; directive found below. While errors should not be displayed on productions6 n% s  r5 S" v9 g" z( G3 v* j/ ~
  482. ; servers they should still be monitored and logging is a great way to do that.; ]9 k" T$ J  a& w
  483. ; Default Value: Off
    " Z$ h( N. r! h- n
  484. ; Development Value: On
    ( }/ x/ l9 D  R1 Q. r2 v: o7 `
  485. ; Production Value: On
      E+ n( b5 N. {: l. b
  486. ; http://php.net/log-errors) U# x0 ~  f7 A+ E8 W
  487. log_errors = On. p8 z8 o+ q& c0 _5 l- V

  488. ; o  G! q* d: ?! _
  489. ; Set maximum length of log_errors. In error_log information about the source is
    / u2 \" ^- _- X( P
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " H! k, l8 [+ B% q% o0 T
  491. ; http://php.net/log-errors-max-len; N0 s& J) u% Q, ]* G# H0 t
  492. log_errors_max_len = 1024! I4 p2 u' a2 K$ P7 o9 W1 R: J8 u# q
  493. + J6 m9 x8 ^( u( g
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same3 C) o, [/ [' ]5 p, X
  495. ; line unless ignore_repeated_source is set true., _0 u  t! y3 W$ \
  496. ; http://php.net/ignore-repeated-errors- ~% h+ E2 M7 P. E0 `' y5 f
  497. ignore_repeated_errors = Off% H. K: q0 P3 n. n0 c9 A

  498. 8 J( d) z. d* q8 s- w# q, `7 |
  499. ; Ignore source of message when ignoring repeated messages. When this setting9 b4 e1 g3 l8 w3 \& Q4 F  P
  500. ; is On you will not log errors with repeated messages from different files or
    6 D8 a9 S) \3 p/ Z. G' U
  501. ; source lines.5 |4 Z0 t2 j' P& s- }/ a
  502. ; http://php.net/ignore-repeated-source! c2 [7 q# p1 R7 `! h
  503. ignore_repeated_source = Off& ?; w8 K& \  J9 O
  504. ' i3 F2 K; C( w6 \; N" \$ u: M
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    . J4 j5 n# f+ P: p8 v3 t5 d% Z6 Q* \
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    1 }# a* U" f2 K
  507. ; error reporting includes E_WARNING in the allowed list
    9 t: i* U2 \2 v: k4 \2 x1 [
  508. ; http://php.net/report-memleaks' M/ M  e% P) |" Y- K5 s
  509. report_memleaks = On
    3 Z1 q& k* i# ~7 D, S. T
  510. 8 _" b% n4 X. n. M
  511. ; This setting is on by default.( }9 t. Z3 d3 L, R/ X
  512. ;report_zend_debug = 0
    " M  V5 s7 z; H1 F
  513. % e& P6 ]* l: E) S! A6 _$ X
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( A! G" W) Z0 c+ z
  515. ; to On can assist in debugging and is appropriate for development servers. It should& @7 i. D% `: a* [8 M- I8 \. s: O9 \
  516. ; however be disabled on production servers.* g( W. |& S5 c9 q  y; `; r# M" n, {
  517. ; Default Value: Off8 ~; u/ F7 J& f$ o8 U' }) _
  518. ; Development Value: On
    0 Q, k$ e2 X2 }
  519. ; Production Value: Off
    / \5 J# m: ]7 D% X0 Q( l
  520. ; http://php.net/track-errors
    # j1 S/ Z  B) |  c7 R. d8 S) }2 R
  521. track_errors = Off
    * a1 t7 ^* {$ @) X# }

  522. ( y# h! O/ O+ U% Q& r
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    3 `' v& o( ?9 C7 O5 b
  524. ; http://php.net/xmlrpc-errors7 F: _7 Z) }" _! h
  525. ;xmlrpc_errors = 0" F) @# p3 O: K5 J& {" n

  526. ) ^! p; f5 D0 v- l% W
  527. ; An XML-RPC faultCode
    3 T) \/ m% o7 A1 ~: K
  528. ;xmlrpc_error_number = 0
    ( z  F4 z+ ^( j

  529. ' s/ Z& t$ V" m2 x5 v
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # a. L/ w  W; c5 c
  531. ; error message as HTML for easier reading. This directive controls whether
    ! i. J$ _9 w! @, P
  532. ; the error message is formatted as HTML or not.9 n; v' Z7 }9 s: C8 I  s
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI6 ?" M! s. ]6 j$ w! V+ r
  534. ; Default Value: On. `1 i! O% Z7 E  v' o+ s
  535. ; Development Value: On
    / g; C3 w3 `3 r* {
  536. ; Production value: On4 I2 e2 B) w' V3 ]
  537. ; http://php.net/html-errors
    . |; A1 M# C2 A" v9 E
  538. html_errors = On
    ' g5 ~$ g& d8 t% }; s) g

  539. 6 v/ e: L9 E& d9 J' v( g+ z6 M, ?/ z! w
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP) u; c1 t9 x6 |& f  g
  541. ; produces clickable error messages that direct to a page describing the error
    , ]+ [) a9 f$ T
  542. ; or function causing the error in detail.
    1 j- V+ n8 ~# G: A6 L
  543. ; You can download a copy of the PHP manual from http://php.net/docs# Y! l. m; g) d2 H" Q
  544. ; and change docref_root to the base URL of your local copy including the
    & A' P3 ~% |4 a  u- ~
  545. ; leading '/'. You must also specify the file extension being used including
    1 I  ~0 N) e0 |, a* k- P
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which: B& l% @) {0 V4 [9 P
  547. ; case no links to documentation are generated.
    : l% @0 W; a" I+ _' `4 F: {6 C
  548. ; Note: Never use this feature for production boxes.8 F/ I/ K0 ]* I- {6 ?4 u( d
  549. ; http://php.net/docref-root( \4 e: L' o& {
  550. ; Examples
      j0 O$ B) n$ i' K& l5 N
  551. ;docref_root = "/phpmanual/"# a5 Q- g  O4 p' v2 {5 F/ T

  552. * I" p  T/ H0 b& k: h4 E
  553. ; http://php.net/docref-ext
    - k% }/ P1 T" K. K* K; ^
  554. ;docref_ext = .html, T3 b) H; R: U; N0 `; s4 }
  555. 4 A6 ?$ {) m& ?0 |& R
  556. ; String to output before an error message. PHP's default behavior is to leave
    " H! s' `* j5 y2 r' e% F
  557. ; this setting blank.
    / |' F9 j1 U; q/ f; M+ A. V
  558. ; http://php.net/error-prepend-string
    7 h6 c1 X- L' t! t( c- G, c
  559. ; Example:, u9 k6 H) H7 K0 K
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : A' ~+ k2 Q) D- k& D

  561. % A( U/ P1 w% F" ]$ y( w8 r
  562. ; String to output after an error message. PHP's default behavior is to leave
    " ^( v( |* N0 [5 a  c
  563. ; this setting blank.) Z+ O: t# j" t' l# q) G
  564. ; http://php.net/error-append-string
    2 Q/ m, z# E/ v7 y; s
  565. ; Example:( ?8 d# r2 G( d6 V! \7 b+ h% U& O# R
  566. ;error_append_string = "</span>"& ~. g; ?7 P9 [/ X$ w% S; y) L

  567.   |. u) Y7 p3 X3 {
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    & z* j* l, b! U% o  p( N
  569. ; empty.2 o3 |) S- n7 b; g2 m% N7 P
  570. ; http://php.net/error-log
    $ ?5 e1 v& B' ?& z: ?5 |2 P$ _
  571. ; Example:
    . m7 {8 Q8 i0 A' @! f4 {% u
  572. ;error_log = php_errors.log
    6 F! i+ k% z4 }; q# M! ?
  573. ; Log errors to syslog (Event Log on Windows).% r* K; ?9 p( N/ j8 m# e; f
  574. ;error_log = syslog
    " W, C/ n0 X% d# h7 l
  575. ) y- r2 z' S8 a3 o' t5 E/ U; _
  576. ;windows.show_crt_warning( S" r( b1 T" j: g2 [$ U
  577. ; Default value: 07 |! a0 u0 h* q0 j9 K  F
  578. ; Development value: 0% @6 _* p5 g5 J/ h
  579. ; Production value: 0
    , y6 O) m- X2 ^/ P" M+ p2 p% r- X: s

  580. ( [  \* P: S/ p8 N6 s; v
  581. ;;;;;;;;;;;;;;;;;7 f  l9 _( ~4 m( U
  582. ; Data Handling ;
    6 l) [+ J9 N% U9 f9 E
  583. ;;;;;;;;;;;;;;;;;6 I, f# P/ J# w2 k) ?! ?$ W/ ^  d

  584. 4 D' B, @: b% s' J; Y
  585. ; The separator used in PHP generated URLs to separate arguments., N. ^% Y( Z: @3 S, ]
  586. ; PHP's default setting is "&".6 q- ]( \: \6 X1 H+ [2 g
  587. ; http://php.net/arg-separator.output
    & ~! Z5 @- F0 ]" \3 u, ?
  588. ; Example:
    5 _% x. Y9 ]5 e* b% [7 N! b1 h
  589. ;arg_separator.output = "&amp;"/ [- R! `* k1 {1 R
  590.   w( |3 U  [7 O8 g! C7 l* x
  591. ; List of separator(s) used by PHP to parse input URLs into variables.3 P) B" Y3 [9 B5 g1 `9 o
  592. ; PHP's default setting is "&".( T4 l; A. [/ ^) Q* i! e
  593. ; NOTE: Every character in this directive is considered as separator!4 c4 j8 N1 g0 |8 T
  594. ; http://php.net/arg-separator.input$ p; q# G9 \4 y6 `. a
  595. ; Example:
    & e4 T/ L8 S3 b2 Z2 [0 }
  596. ;arg_separator.input = ";&"
    % {# p: ]. I# r, }, q/ F

  597. + L" e9 K. `7 O. u
  598. ; This directive determines which super global arrays are registered when PHP. f3 Q% f# K( P0 u( u& W
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + d* m& \. ?2 m# W. \' t
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! U, C7 C( E; h! J
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ; `% G) e& K3 m0 Z+ c9 ~
  602. ; used as the others, ENV is not recommended on productions servers. You  {7 P. C" d. D$ ^
  603. ; can still get access to the environment variables through getenv() should you
    3 L- @  H+ l7 {/ t/ J7 C: {6 x$ p
  604. ; need to.* s; P7 n" v# C# G, J( o! I5 l. V
  605. ; Default Value: "EGPCS"
    / R& }* t% Y, S! J; Z$ X
  606. ; Development Value: "GPCS"
    2 T0 U- F5 X% d) S" ]( H& y
  607. ; Production Value: "GPCS";! W) @! k, t5 I" E
  608. ; http://php.net/variables-order/ C, o& k0 e& q* S
  609. variables_order = "GPCS") C# l; d/ a* m

  610. % k" E$ o% o+ B) [. s) i3 Q* B
  611. ; This directive determines which super global data (G,P & C) should be7 Y: h! \/ h3 n3 E
  612. ; registered into the super global array REQUEST. If so, it also determines' j$ H- Y9 R6 }3 r' J* F( p( k- q
  613. ; the order in which that data is registered. The values for this directive- y" t1 [* ]) d! y. Z
  614. ; are specified in the same manner as the variables_order directive,# \) a8 v! f4 L: x+ J" C8 T+ q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 ^) v3 \# a1 _! [+ k# S/ N
  616. ; in the variables_order directive. It does not mean it will leave the super
      H  }! e8 y7 l  G2 }
  617. ; globals array REQUEST empty.6 }: Y- }! k- n+ }$ O2 a
  618. ; Default Value: None
    5 V& g: S* T* V
  619. ; Development Value: "GP"
    * Q; [) q! H0 J; _: `: w2 K
  620. ; Production Value: "GP"
    # b+ b2 x) |& Y5 z1 ^
  621. ; http://php.net/request-order
    " g+ }5 ]& w! u. U# z
  622. request_order = "GP"" e" g7 v7 W8 t( O$ w
  623. 2 t# q* @! E6 d5 U/ b9 j% s/ |
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ; Y) O; R: ]% S1 i& V7 E4 O7 y
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 h4 G9 u1 v5 t& A& ~( \, C* X
  626. ; is invoked. $argc contains an integer representing the number of arguments* _/ d" X: A. W& E& k
  627. ; that were passed when the script was invoked. These arrays are extremely) s. d, Y  Z8 K' ]( [0 T) Z2 a
  628. ; useful when running scripts from the command line. When this directive is
    ; S3 |3 r0 g  Y- d% E- ^9 L
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    * i, F5 H" T$ t! Q; {
  630. ; a script is executed. For performance reasons, this feature should be disabled: @- [* O5 _7 N; d6 O& X1 Z
  631. ; on production servers.; V4 k8 Z( [9 L
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - s0 k0 H+ D; ?% U6 o2 H
  633. ; Default Value: On* p' b0 f9 B: z3 @. e4 R
  634. ; Development Value: Off
    9 F2 ^9 }' }. u4 Q  i) D# ?
  635. ; Production Value: Off
    " B( E1 a, _0 p& E. O- q8 h2 d! v' I, ^
  636. ; http://php.net/register-argc-argv# j- l" w9 p/ r& `% Y0 ^
  637. register_argc_argv = Off
    8 Y, U! W8 N+ e: O  p' V
  638. # R" D* f) v- _/ b; e# P
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    3 g6 y0 Q3 X3 \' B+ v& p
  640. ; first used (Just In Time) instead of when the script starts. If these/ f7 P0 t# K2 F5 {* y, i
  641. ; variables are not used within a script, having this directive on will result
    : J, `% a" Z/ X; d1 t- }
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled2 b" \' R3 m! o3 e3 {
  643. ; for this directive to have any affect.
    " b& o0 ]( Y$ U
  644. ; http://php.net/auto-globals-jit( ~  v7 l4 o# v& k- a: y; `
  645. auto_globals_jit = On
    / x5 D, V2 Y* G6 _* _+ l3 b& _0 `
  646. % I/ W, a/ Y) E+ N! x/ t! D+ N
  647. ; Whether PHP will read the POST data.
    8 [+ U& L; N& N/ b# M
  648. ; This option is enabled by default.
    " N5 @& S$ ^0 x: |/ i
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST6 |7 Q: \5 r& T! Z  n3 M8 Z
  650. ; and $_FILES to always be empty; the only way you will be able to read the2 q% l" Q2 E+ ~0 e) a3 D
  651. ; POST data will be through the php://input stream wrapper. This can be useful! T% _7 `/ X. J' t
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 S  k6 q+ ?# r9 y. k* i, G+ D3 z8 W
  653. ; http://php.net/enable-post-data-reading, ^. [1 ?8 ^8 z8 \% T
  654. ;enable_post_data_reading = Off
    ; h& k4 ^9 c/ s! ?+ x6 p

  655. ! X3 {) L) K7 J8 B
  656. ; Maximum size of POST data that PHP will accept.8 h. w- h5 V% n! u. n: }
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% O9 C& ^8 F, Q+ Z+ S7 L
  658. ; is disabled through enable_post_data_reading.
    % L1 c8 d0 c; w/ n" T7 Y
  659. ; http://php.net/post-max-size# X- F& L9 g8 x2 J/ I
  660. post_max_size = 50M- X4 D; a$ P3 U0 V7 A
  661. $ B2 g: v1 v7 x1 D& T7 S, h' g
  662. ; Automatically add files before PHP document.
    1 D- r8 L5 d' T9 A$ J
  663. ; http://php.net/auto-prepend-file' X, Y( y2 \( V8 {( y* a
  664. auto_prepend_file =
      s; a! C# f- c0 s

  665. , G+ r# t+ D4 R, N0 G4 f6 d. U
  666. ; Automatically add files after PHP document.
    + j% k9 M2 S: [& x. Z
  667. ; http://php.net/auto-append-file
    & r, R; N; _4 _3 y6 C2 F
  668. auto_append_file =
    * {& W4 r$ R" I% U
  669. 4 }: U6 k* _7 Q  h
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ; d7 \* {7 `+ w4 n3 S
  671. ; disable this, simply set it to be empty.
    & c5 i9 G$ ]: ?: I5 |
  672. ;
    2 L$ c5 k$ S* N' Y6 |5 t
  673. ; PHP's built-in default media type is set to text/html.
      \% B$ r  f, t0 q8 b# Q
  674. ; http://php.net/default-mimetype' v- `6 z) t3 Y' _( r
  675. default_mimetype = "text/html"
    " q0 S7 {7 m- l7 R8 e& V% B. [

  676. . e9 K# A. D. v$ u9 E1 V" M
  677. ; PHP's default character set is set to UTF-8.* w6 j; Z7 a" z
  678. ; http://php.net/default-charset( U, B( I& z, A$ u
  679. default_charset = "UTF-8"& `3 A8 ]/ Q3 e& x

  680. 3 O  L: X+ @) @9 ?1 J: P
  681. ; PHP internal character encoding is set to empty.
    4 |3 J+ m) V' e3 `$ T
  682. ; If empty, default_charset is used.' H6 x1 ^+ A3 p, J; r
  683. ; http://php.net/internal-encoding
    , W; e9 x( D* w% H2 y
  684. ;internal_encoding =& u: e/ y0 n  w1 ^2 L2 I5 a1 g/ K

  685. 3 K' A. V( p/ O, d
  686. ; PHP input character encoding is set to empty.
    - O- P  n, k; w1 B' C
  687. ; If empty, default_charset is used.
    1 @( q  @" O& E
  688. ; http://php.net/input-encoding0 Q2 [1 b' x' {8 U2 f
  689. ;input_encoding =
    9 s; O. ]5 E8 {/ X

  690. & ]- B- {  u, t; E+ x4 Y* q" v
  691. ; PHP output character encoding is set to empty.
    4 s1 P0 \# ~% H" v2 \( p: G  a
  692. ; If empty, default_charset is used.
    ! ^3 q, J4 T! Z# @" `! L0 c8 C
  693. ; See also output_buffer.2 u9 U. Y" U* M+ E2 z1 Z# R) c8 u2 O
  694. ; http://php.net/output-encoding
    * F, @5 D/ [$ R! u$ [3 }- [
  695. ;output_encoding =+ B9 p& G# D; T- W
  696. ) `8 Q& y+ N( p
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is4 @4 U$ D& q# |
  698. ; to disable this feature and it will be removed in a future version.. l* i" q7 r9 L3 o
  699. ; If post reading is disabled through enable_post_data_reading,8 M% q, q" l2 z/ a: A) }$ i  Y
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.' P6 D4 J( [: z; A% w4 `
  701. ; http://php.net/always-populate-raw-post-data, N9 [, n3 Y% D- M: j9 y, x: q6 F
  702. ;always_populate_raw_post_data = -1
    % {+ P+ D. x5 ], M5 d: p# i' V

  703. " c' U2 Z! H; a/ D- P" v
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;0 w. |5 B7 U2 s  S
  705. ; Paths and Directories ;4 C4 k9 {" f& r7 u
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;$ _7 x3 F) Z( B) g( h- a* j" b4 W

  707. 0 \3 R* u8 h$ s
  708. ; UNIX: "/path1:/path2"
    . ~  B0 Z5 G; J. j( R' _. N( I5 d
  709. ;include_path = ".:/php/includes"" ^7 p1 x; H" _2 R8 f
  710. ;2 h  P/ V+ O1 s; _5 X4 L
  711. ; Windows: "\path1;\path2"/ V5 F1 H# Z* ^% [+ Z8 N% n/ `
  712. ;include_path = ".;c:\php\includes"! E% r$ ^4 {6 x' x( G+ M
  713. ;
    ( g" u8 Q1 X! N2 ?, c. O7 i: ?
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    . s7 v. l+ E9 h# S
  715. ; http://php.net/include-path
    2 c/ k# d8 e% @1 c7 Z
  716. 6 X8 f7 @1 [9 N) c# Z# e1 ?
  717. ; The root of the PHP pages, used only if nonempty.
    $ S! H8 `7 C2 d0 s% ?) c
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root# v' X- d0 I' l- s
  719. ; if you are running php as a CGI under any web server (other than IIS)9 p8 x1 O& p( D9 j1 G
  720. ; see documentation for security issues.  The alternate is to use the
    5 Y7 z* g5 B% ^1 ]; P3 o6 V
  721. ; cgi.force_redirect configuration below: m7 k% }* j* D' V* k
  722. ; http://php.net/doc-root; E1 r, f0 _& U6 L
  723. doc_root =
    : J7 g* B0 f1 _% o

  724. 5 g5 u4 ~/ I: f& w: O  @2 u
  725. ; The directory under which PHP opens the script using /~username used only
    . X2 j, Y6 d# \& i/ H
  726. ; if nonempty.) R8 a- \2 {( w& g8 p
  727. ; http://php.net/user-dir
    6 [5 f$ m8 @% b6 }
  728. user_dir =; f7 O2 E, @* U* {( T6 J+ h

  729. ) u& _5 i% \  j7 \
  730. ; Directory in which the loadable extensions (modules) reside.
    " L# d; \; W8 U4 @; x, H6 {, \
  731. ; http://php.net/extension-dir: F$ Y3 Q2 ~7 d0 E+ x
  732. ; extension_dir = "./"4 Y7 X; `/ F  `3 N1 V7 d* T" X
  733. ; On windows:
    , x& I& I6 m6 u$ C  `& @
  734. ; extension_dir = "ext"
    * E  H+ W' t, l& Q; m& G! c! N

  735. : s2 `% z5 A' [& H& @
  736. ; Directory where the temporary files should be placed.
    ; S. Z; T8 j# [( m/ B1 h8 |
  737. ; Defaults to the system default (see sys_get_temp_dir)/ S) ]5 D5 ~% w* b- u5 U2 z) s* n5 F4 c
  738. ; sys_temp_dir = "/tmp"# a2 u: T4 D& @
  739. & g6 O* t7 k- p. B% r) Q
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    2 _  A1 T. U/ R) x% G" [3 t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. `' ?2 l6 S* L, }
  742. ; disabled on them./ A, J- j; o. \
  743. ; http://php.net/enable-dl
    + d3 ^) u$ S2 {, m  z9 H  _9 [
  744. enable_dl = Off
    " b+ W  }# }1 ~1 s8 y0 g' m' n- _
  745. 1 h; ]( M: J0 J: y  ?/ G
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    8 O& \9 |" R" q
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can8 E7 `# ]' ^) D2 \
  748. ; turn it off here AT YOUR OWN RISK
    # f( g- O$ N7 b. \
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**4 T0 I: ~. y+ O) {
  750. ; http://php.net/cgi.force-redirect, P" P( l4 w: p- n8 a( S
  751. ;cgi.force_redirect = 17 D* B. {4 D  a# v% S- R
  752.   w% f+ O; j5 g7 v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ! H# B: B1 d( V
  754. ; every request. PHP's default behavior is to disable this feature.
    $ {: P# @1 Z* D% C# F" s9 z  n, F
  755. ;cgi.nph = 1& I; d% q$ P3 A
  756. 6 x* `" @  q; j+ j) f  H
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  _* Q2 l4 k5 X) m2 d/ Z0 s
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 g. g1 V2 {# P4 T0 [) f( i$ D
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 i6 x3 g3 b$ e3 {" V& a' u/ {& q$ @
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    & `7 ~' K/ A& T; X1 Z8 z9 v
  761. ; http://php.net/cgi.redirect-status-env; F2 V% p9 V* b
  762. ;cgi.redirect_status_env =/ E8 \4 ~- e, J3 M! b
  763. # ~+ E' g1 @  w3 x  K. W- X
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. B( k) g5 A# r7 C" ?3 w% p7 }
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 M5 E* }5 S( [
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting4 R7 z; X; a: U$ g" H
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting# F9 v1 x6 a" w9 Q+ i
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / `0 e5 X/ [" f, J1 u
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 ]- l- Z% z$ _7 t0 v7 E3 b0 W
  770. ; http://php.net/cgi.fix-pathinfo
    # z! H- {" D9 j& Y. ?: ?: f- G
  771. cgi.fix_pathinfo=1
      h/ u; c; f4 ~! r

  772.   S* v4 w3 |( y
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    8 u( o7 |) j9 x7 R: Q9 {
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    # [/ Q; k$ ^/ p3 U0 L% ~
  775. ; http://php.net/cgi.dicard-path
    - ]$ H& a" i3 o/ ^; f
  776. ;cgi.discard_path=1
    . B& y7 _) V: d/ k( i$ A# k

  777. " u: T1 E3 M( B8 u8 G7 q8 f
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 }4 P4 e) p9 _" f
  779. ; security tokens of the calling client.  This allows IIS to define the
    1 S/ y; |/ Q  O# B; Q9 w
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    5 N' M9 w  ~8 P) a2 k% Y4 Z8 l- q' k
  781. ; does not currently support this feature (03/17/2002)
    / F9 D/ O5 G7 v7 b% [  B
  782. ; Set to 1 if running under IIS.  Default is zero.. b% X0 f  J1 i/ g6 e8 z
  783. ; http://php.net/fastcgi.impersonate( r, n+ d0 D* G9 J- c8 S
  784. ;fastcgi.impersonate = 1
    / n8 h* f. G  T
  785. * r8 G" H3 e6 e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ I: M, \+ ]; G5 h9 V
  787. ; this feature.0 `4 t9 _+ {2 m$ K% E" e# v  T: k. |
  788. ;fastcgi.logging = 0: v8 P7 Q( _( W% r3 G8 K7 E

  789. 0 L& e" l6 n9 ]# h1 o: O. K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    0 y/ B, \' c# I& w# R0 B! H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ r0 p: J  q/ S
  792. ; is supported by Apache. When this option is set to 1, PHP will send; O9 x! W) V& }, h$ f/ N4 S
  793. ; RFC2616 compliant header.4 `- q9 @+ v8 }8 ]. a- ^+ W7 n, _
  794. ; Default is zero.
    ) `" g- J" ^0 l3 C0 _! M& X/ m8 e$ B
  795. ; http://php.net/cgi.rfc2616-headers& s7 d7 v4 j" d: h' u$ b
  796. ;cgi.rfc2616_headers = 02 l) X2 t- M' M/ w
  797. 3 c( `$ k! ?8 A, B5 w: \0 K
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 q/ g8 V* _9 F2 W& x
  799. ; (shebang) at the top of the running script. This line might be needed if the4 J+ i: @8 t/ x% c
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 i1 `+ K* o2 {7 g  @
  801. ; mode skips this line and ignores its content if this directive is turned on.. `+ B# \7 w5 a8 k. {; S- W# Y8 ~: L, r. h
  802. ; http://php.net/cgi.check-shebang-line
    - j0 V, [" V; N$ w& f
  803. ;cgi.check_shebang_line=1/ t' s5 w6 s- s1 d3 ]
  804. : T( K& v. [8 `6 w  L& [2 [
  805. ;;;;;;;;;;;;;;;;# x( I2 S: }! a/ \
  806. ; File Uploads ;0 o$ p( c; ^0 Y0 }* U
  807. ;;;;;;;;;;;;;;;;
    5 V  L) z& j5 V" T# W1 ^9 a
  808. 1 q8 ~$ x1 k8 x) i) r
  809. ; Whether to allow HTTP file uploads.
    2 G' U: A9 u# |8 D* i1 [) Y
  810. ; http://php.net/file-uploads
    " T' j1 _( O2 i# V: K& I
  811. file_uploads = On, g) \  g2 _; x( S6 v+ w

  812. # ^3 d+ k$ ^' W
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 s/ Q$ s+ h( \: D5 i$ i
  814. ; specified).. M: F: r, S0 `0 f+ }: ?
  815. ; http://php.net/upload-tmp-dir4 p; Y' a0 B& w. @  h/ ~
  816. ;upload_tmp_dir =
    7 @" `  l8 z; a; W/ |

  817. 2 W9 [: e7 |8 D( A) j1 N: J2 }! s
  818. ; Maximum allowed size for uploaded files.5 j  |9 f+ i2 H3 v/ x
  819. ; http://php.net/upload-max-filesize
    1 U3 U" y4 \4 t0 v! N! u
  820. upload_max_filesize = 50M* c! `  L7 X2 q
  821. * r& I8 `8 r7 E4 V! ~* M! E5 O- R
  822. ; Maximum number of files that can be uploaded via a single request
    , G  B- [$ N7 s) C3 y. [' _
  823. max_file_uploads = 20
    - n$ s  O* g$ @$ X

  824. 6 t& r: s& b0 a- |( |$ p
  825. ;;;;;;;;;;;;;;;;;;! k5 S! \' i( G$ y
  826. ; Fopen wrappers ;+ I% ]  j# @8 k$ F" [4 ^5 t3 |
  827. ;;;;;;;;;;;;;;;;;;
    9 W. o. W. p. ]4 z7 l. g/ ~3 _: J
  828. 4 i( Z- Y/ W" ?) Z; M
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 l" e" g; A6 K* a
  830. ; http://php.net/allow-url-fopen' g) h' ?8 P% m$ S# K1 I& i) P
  831. allow_url_fopen = On! I& y/ ?; a5 n

  832. # [* x0 Q0 ?+ I/ b9 ?% j1 P
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      x; C! `8 @! X9 C0 E
  834. ; http://php.net/allow-url-include
    " q" w, [) e/ V. r8 m5 J
  835. allow_url_include = Off
    : \. A9 O% c, Q) H
  836. $ }& E) T8 x$ f6 s5 M- _
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 z' n+ @" _: T: O) V% @. W& W# ~7 f
  838. ; for this is empty.7 @4 e" b: B$ J6 E& {
  839. ; http://php.net/from
    % l3 h. _7 c8 p- R& x8 o
  840. ;from="john@doe.com": g" U, t# Q' m& p5 z
  841. , w- |' }" ?6 ?6 V; B
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    , [& l( @# E& y. A8 U# C, h. P
  843. ; http://php.net/user-agent
    9 c; M) ~$ s+ s% N
  844. ;user_agent="PHP") I2 b8 V3 e, Q8 N

  845. ! I# g' N+ _5 |- _  `0 W
  846. ; Default timeout for socket based streams (seconds)- r7 {3 B8 A% Z) o- O  c9 z
  847. ; http://php.net/default-socket-timeout; ^. {) H. R# J4 g8 v, `
  848. default_socket_timeout = 60
    0 K# r8 d2 Q1 Q9 ]; v7 R. d# B# U
  849. ! a6 A6 u! M, @2 F! H
  850. ; If your scripts have to deal with files from Macintosh systems,% u6 o- @$ l3 Q1 S
  851. ; or you are running on a Mac and need to deal with files from# {" H% r: y2 ?% K  c% L, ^
  852. ; unix or win32 systems, setting this flag will cause PHP to
    # X6 z* `( k) Q" b" k
  853. ; automatically detect the EOL character in those files so that8 q2 L& H4 h; a! J
  854. ; fgets() and file() will work regardless of the source of the file.: z% T8 |- Y% C, d* n2 p- s( w
  855. ; http://php.net/auto-detect-line-endings
    7 @$ x; W* w& Y: L
  856. ;auto_detect_line_endings = Off
    " _. Y, c' J8 s. G! d/ f6 l2 q& H6 O

  857. 8 ~4 A' N7 M2 `, z) ~
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ' x3 p  \) @9 l
  859. ; Dynamic Extensions ;1 q1 A! p& O* M* Y" N! u
  860. ;;;;;;;;;;;;;;;;;;;;;;" X: ~5 d; V2 l) C. J3 @+ }% o

  861. ( Y2 Z, Z& G) Y# o
  862. ; If you wish to have an extension loaded automatically, use the following
    ; A) f5 P' Y1 E! S" ?5 G5 A. Y
  863. ; syntax:
    % l- H* ~. Q( V" g( x! L
  864. ;  H0 W+ p! `  R% C" s+ {' ~2 ^
  865. ;   extension=modulename.extension
    * G$ N9 `  r  R
  866. ;9 Q" O$ z) [3 p) e2 {2 y- }3 P
  867. ; For example, on Windows:
    7 ^9 j" |- Z, t2 s' M
  868. ;
    $ P4 h9 M$ R6 \2 i/ S4 K) x; o1 X
  869. ;   extension=msql.dll
    3 |+ x" u# s: Y$ k6 @+ x
  870. ;
    . X2 M; J3 V5 q& c+ Z+ W
  871. ; ... or under UNIX:, e0 x) ?& k( Q' C* F8 K
  872. ;% y3 z" S& I* Z  Y2 o  G
  873. ;   extension=msql.so" m- \! o  y) t
  874. ;
    6 k6 }' I3 Z* R6 z1 n& R0 i/ f2 ^
  875. ; ... or with a path:
    ' M& t% v* P+ T, e
  876. ;
    $ L4 N3 L% m8 p6 V
  877. ;   extension=/path/to/extension/msql.so
    ( r+ y5 I' C+ u0 d4 T3 ^* d5 u
  878. ;2 _3 @- C1 n, K2 O7 Z
  879. ; If you only provide the name of the extension, PHP will look for it in its( ~" _9 y* c' W
  880. ; default extension directory.' k0 |2 M2 J( b
  881. ;
    : Y: K, M8 Y  t& f& A; p9 _
  882. ; Windows Extensions+ K* e% t: ?+ [8 u( C5 m& @
  883. ; Note that ODBC support is built in, so no dll is needed for it.9 j: b" {+ f: O* Z8 O3 j9 e; M
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    * D% F! f: p. E, M7 y. K/ E' B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    1 i0 C9 O' Y4 P8 `
  886. ; Be sure to appropriately set the extension_dir directive.
    7 J& c6 l& m+ N0 a
  887. ;/ b7 D7 k( D6 ?  n: O$ ^
  888. ;extension=php_bz2.dll
    - w. g- }. P3 \; `; W/ S
  889. ;extension=php_curl.dll
    . Q$ ?/ v$ H7 \$ Z% a7 r! N7 X& e
  890. ;extension=php_fileinfo.dll
    - I; |7 q5 n) c& Q0 e( }* c
  891. ;extension=php_gd2.dll
    2 ]1 U1 x. _+ ~' d( u
  892. ;extension=php_gettext.dll: K$ Q# g! |. H4 }" V
  893. ;extension=php_gmp.dll" O4 z4 M) N" d/ h! m. q
  894. ;extension=php_intl.dll
    : S4 e2 t# A8 S) z4 Z( R
  895. ;extension=php_imap.dll
    - M7 @2 [  P3 t* b# z
  896. ;extension=php_interbase.dll
    ! b3 K  l+ Y% U" l$ m! {- H
  897. ;extension=php_ldap.dll
    8 k, U- {% W4 Z8 G( T
  898. ;extension=php_mbstring.dll
    7 a( t; @  [, e6 N3 Q6 s' d* N
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) d9 Q0 ~  L6 e6 n' x) a7 d
  900. ;extension=php_mysql.dll
    7 D4 X( Z3 O( N' N; ]9 u1 s% ~
  901. ;extension=php_mysqli.dll* K8 ]+ J% J; K5 C
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) q4 }& d! _9 S; K' Z# r6 V
  903. ;extension=php_openssl.dll9 n4 j% C/ N& [, Y
  904. ;extension=php_pdo_firebird.dll% ^" _. t) B* \' A, V
  905. ;extension=php_pdo_mysql.dll. A5 w" F: [. J: p2 e# F
  906. ;extension=php_pdo_oci.dll
    4 L' _1 ^  [! i; F
  907. ;extension=php_pdo_odbc.dll7 N$ W2 ^: L+ C4 Y% b0 Q8 @8 L
  908. ;extension=php_pdo_pgsql.dll! C7 T* }, ]; |  G
  909. ;extension=php_pdo_sqlite.dll7 w8 q& s. w: g2 G
  910. ;extension=php_pgsql.dll
    4 [8 @0 Q0 N7 g/ \3 Q6 K
  911. ;extension=php_shmop.dll6 L6 O& \& G% h' P0 l

  912. + X% w$ F& T& f
  913. ; The MIBS data available in the PHP distribution must be installed.
    0 D0 M, Z0 o$ N
  914. ; See http://www.php.net/manual/en/snmp.installation.php # ~& j% t/ Y" f
  915. ;extension=php_snmp.dll* s# i7 M. w. H" ~

  916. 2 o* M/ q# O9 @3 W
  917. ;extension=php_soap.dll. k- g  d1 K1 v9 \6 z& A
  918. ;extension=php_sockets.dll! O" b0 r; B; @/ X* s
  919. ;extension=php_sqlite3.dll
    / ?' `; w; R  N# w
  920. ;extension=php_sybase_ct.dll
    1 y) G- T8 ~8 V, U, @- e. \
  921. ;extension=php_tidy.dll6 P7 w4 m5 ~1 i9 Z% m# A/ J# K: d6 u
  922. ;extension=php_xmlrpc.dll
    ( n2 Z' i- W& W+ P5 X6 }1 m, A
  923. ;extension=php_xsl.dll
    7 p6 C6 W) c7 J$ b7 \

  924. & @' r4 O4 ^1 |" e! o/ P; U! M9 V
  925. ;;;;;;;;;;;;;;;;;;;' t- [. n% m3 n. |0 y
  926. ; Module Settings ;8 o( g& h, F; S  Z! R& p9 j! G
  927. ;;;;;;;;;;;;;;;;;;;# d( w8 Q2 w: t! E; J- j
  928. 4 o% N7 \1 U& A$ p7 q
  929. [CLI Server]
    ; ?( ^% k: v) d7 [/ ~7 A
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    * f6 Y6 A0 n! `
  931. cli_server.color = On" X6 M" _; x( ~4 \2 U! |6 E
  932. ) g$ V. g% f! ]0 O# [+ W
  933. [Date]
    , _3 V& c( i4 I0 Q
  934. ; Defines the default timezone used by the date functions
    7 X' O0 N: D/ E9 q& S# ~
  935. ; http://php.net/date.timezone/ [6 D2 d! ]% v9 ^, H
  936. date.timezone = PRC
    % Y" c. X1 j/ {5 w

  937. : Q- I( ]; S- i6 |2 S6 e3 J
  938. ; http://php.net/date.default-latitude
    # T. b& B8 P8 H. C4 c" P
  939. ;date.default_latitude = 31.7667
    ) {2 m; ]% B' Z4 W2 Z1 W9 t

  940. 8 i. u: N3 _  W9 L/ T
  941. ; http://php.net/date.default-longitude
    9 O  K; _2 R% g6 X( c/ @0 T$ q% c
  942. ;date.default_longitude = 35.23337 [, Z9 H% L8 o: h* R

  943. & ]. _; t- u1 b1 ^- l, w2 {
  944. ; http://php.net/date.sunrise-zenith1 B5 L% I- b0 S# K; h
  945. ;date.sunrise_zenith = 90.583333  v# N9 q! |! _7 ]% x+ n2 k
  946. 6 q: q  D1 Q- R6 o7 f% S  I
  947. ; http://php.net/date.sunset-zenith/ h* p, P; }, q! d
  948. ;date.sunset_zenith = 90.583333  x' S; G: s; V- [

  949. ; _) v6 N. ~# `
  950. [filter]
    9 n/ X! k$ ^, t' i5 i
  951. ; http://php.net/filter.default
    $ V- q( {  H9 q# B
  952. ;filter.default = unsafe_raw
    ) U" _; o3 R3 O" v! ~( w
  953. 2 }- O0 r. `( i. ~0 e/ d; a
  954. ; http://php.net/filter.default-flags) Y* H3 m8 X- y( q' t
  955. ;filter.default_flags =
    # n7 T8 s! J) x, K5 Q$ A+ t  M4 D9 S
  956. * }/ X# y# ?8 X( I
  957. [iconv]/ p7 h2 v; @5 [/ b+ l
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . Q7 A# ^, \" t
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: X" d- i) D: K
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# U9 K$ A1 A: o8 t3 ~: e& ~- y- b
  961. ;iconv.input_encoding =
    9 G* }+ H9 z3 r8 @& \, _
  962. : O4 t7 n% g- K
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 m5 [; Y" w: U+ O# l! j
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 u$ \6 f+ Q: M3 e: X9 n
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' |$ ^- \' W0 G1 K
  966. ;iconv.internal_encoding =# h: u+ {2 I+ p( ?7 q3 P

  967. + T. J2 H  }% Z( C
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 S; S, O4 w, L- c& v  \: k$ V& {
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    * X# T: Z" L9 l( ?3 r! h' ?- K, L1 k5 E
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . h; K' ]) Q$ h  N/ B8 \: f: ^/ p
  971. ; To use an output encoding conversion, iconv's output handler must be set1 a; T9 H1 _3 `! g( g# u% N$ H3 D5 X
  972. ; otherwise output encoding conversion cannot be performed.
    1 |3 q% V- |- A0 w
  973. ;iconv.output_encoding =
    , e* P  Q' y# E

  974. 8 F2 d6 a4 `; w5 U) J! l. H/ l
  975. [intl]
    5 B7 t1 h* E8 p. ?$ T* ?: |
  976. ;intl.default_locale =6 ?( z+ [8 S8 O) F  |: m0 o
  977. ; This directive allows you to produce PHP errors when some error
    " V5 F8 Y! c+ c- Z3 S
  978. ; happens within intl functions. The value is the level of the error produced.7 i7 V! g4 v2 O
  979. ; Default is 0, which does not produce any errors.
    , \, g/ M/ o2 e/ i# t
  980. ;intl.error_level = E_WARNING
    $ y4 r0 r, e1 t& p
  981. ;intl.use_exceptions = 0
    3 x3 o: [# R+ i3 e7 j0 }9 M
  982. 4 e0 [$ G  p! G$ [) y
  983. [sqlite3]
    2 j& D; R$ ~$ C  d+ \
  984. ;sqlite3.extension_dir =
    ' b% O/ Q' g; O+ W

  985. ) D/ C8 D9 Q( Y
  986. [Pcre]
    ; U% R7 N+ x+ g
  987. ;PCRE library backtracking limit.$ E9 G3 X* t" C0 z7 s$ y4 u
  988. ; http://php.net/pcre.backtrack-limit
    . D' T- Q% d: g9 u5 c
  989. ;pcre.backtrack_limit=100000
    $ Q4 T% q# F6 C# m
  990. * X$ X6 u% W( }6 F- n1 S
  991. ;PCRE library recursion limit.
    $ z5 Y7 q; J' M2 q! @
  992. ;Please note that if you set this value to a high number you may consume all
    ; F5 ~) \. V( K5 r
  993. ;the available process stack and eventually crash PHP (due to reaching the8 j" N0 D3 N/ X% [+ ?. [
  994. ;stack size limit imposed by the Operating System).
    # v- J% Z$ C; ^% u( @- V. i
  995. ; http://php.net/pcre.recursion-limit
    ) }: Y( W4 w( R& j/ I1 U
  996. ;pcre.recursion_limit=100000
    ( g8 M  {6 z: b! q. k1 k, y" Q# [

  997. 7 c: M6 r1 {/ G$ `2 V) d! r4 X
  998. [Pdo]4 Q# U) j3 S6 _6 ]/ z; Q/ y  m. Z5 R
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"; V( ]* X  t$ V' ^/ \  W, p( z
  1000. ; http://php.net/pdo-odbc.connection-pooling2 h" _0 M7 _8 H
  1001. ;pdo_odbc.connection_pooling=strict  f9 [& Y- M+ Z4 X1 u& h, Y

  1002. ( u, p& K/ Y" Q+ D* k1 Y; Z2 F
  1003. ;pdo_odbc.db2_instance_name
    " j4 z8 b. ^0 r& z$ W7 e, u

  1004. 3 d3 D: b( S' d1 e$ A" Z  F
  1005. [Pdo_mysql]0 m$ |! m3 v. j: j" R  v; q% H" n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " |* H0 a3 M; g( z& p( j$ I/ b" t1 m
  1007. ; http://php.net/pdo_mysql.cache_size
    , K4 F4 v/ @( `5 z6 R( N) @
  1008. pdo_mysql.cache_size = 2000' x1 j: j' R, |% x8 \) `
  1009. 9 q8 r9 O$ d$ B; T6 Y& j. H
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # ?  c. x- U. X8 W9 T- p4 p
  1011. ; MySQL defaults./ k# \* {6 o. _0 m* e0 F
  1012. ; http://php.net/pdo_mysql.default-socket
    0 H1 I2 d9 ^2 q, J+ G* {
  1013. pdo_mysql.default_socket=
    1 x' W- l+ H+ V, B, o# w

  1014. 7 ~5 A  z) f) |9 x- G
  1015. [Phar]
    ( f' s- }6 V1 k8 Y1 a7 x/ o4 r
  1016. ; http://php.net/phar.readonly. E& X1 ?- _& E9 k! `8 D! i5 a
  1017. ;phar.readonly = On5 C/ e1 T: k7 }4 [: d  F
  1018. 2 y% }4 i! Z5 i) |
  1019. ; http://php.net/phar.require-hash2 |9 K2 a1 O4 X0 y
  1020. ;phar.require_hash = On
    * \! W( _7 w2 ?/ G( p; Y' Q8 J
  1021. # Z+ X' L7 H6 V/ t. m  I
  1022. ;phar.cache_list =- |0 r9 o4 N0 \- \& a

  1023. ! Q' l6 K! E, o# [; E% c
  1024. [mail function]1 l9 H$ E/ b9 H* C
  1025. ; For Win32 only., ?# e* ]5 ^9 e( V3 e( K6 @( r# |
  1026. ; http://php.net/smtp0 E( U* R6 t% v, |. {: m$ z5 p7 f6 Y
  1027. SMTP = localhost
    9 N( `# H. H) d+ i- c) a7 n, _
  1028. ; http://php.net/smtp-port
    5 C" k, l" f1 g8 c( m# a% ]) Z
  1029. smtp_port = 25
    9 }' }5 J) F# D" U+ i+ b! p

  1030. ; f5 g. K  ]; k  \& `: A1 q
  1031. ; For Win32 only.( M4 C  D* J# v' U
  1032. ; http://php.net/sendmail-from8 T, X, X  i# ]3 f
  1033. ;sendmail_from = me@example.com
    5 T! y- Q; Q5 H  I
  1034. # A; U( e9 \' t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    " _6 w! C6 [& P8 H" q# A/ J
  1036. ; http://php.net/sendmail-path, _3 B+ \: d/ v1 U' U0 l
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    2 {- V7 K+ I  ]% l- _  L1 L  a- n: M/ \8 `
  1038. * o6 P' L# p- K: G$ {
  1039. ; Force the addition of the specified parameters to be passed as extra parameters. P/ N6 _: W0 e$ x$ j
  1040. ; to the sendmail binary. These parameters will always replace the value of' ^) l! |1 i5 ?; s
  1041. ; the 5th parameter to mail().7 `" k3 f+ F4 ]1 ^( ^& {
  1042. ;mail.force_extra_parameters =) J" Y' C7 ~1 ]1 t9 R
  1043. ( s1 S& y3 u; g3 r
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename4 F0 W% l9 K* u) V/ T' c
  1045. mail.add_x_header = On0 e7 }' i# z1 A: |1 {8 `

  1046. ! R! A7 a" `% f; i
  1047. ; The path to a log file that will log all mail() calls. Log entries include; z6 P8 h) A  e& G- L3 ~
  1048. ; the full path of the script, line number, To address and headers.
    8 `: M6 r8 i8 A# {' U! ~! }7 Y/ e
  1049. ;mail.log =
      a! ?- t6 k9 b% U8 w1 s' Y
  1050. ; Log mail to syslog (Event Log on Windows).$ |4 Y) f5 E* j0 z  R& ?" F
  1051. ;mail.log = syslog: M5 r) F' x* y) o- S$ {$ K

  1052. 4 {( K$ d, Y  }# L4 h% V
  1053. [SQL]
    4 G, w4 x9 ]. B$ k* C, h/ Z0 w
  1054. ; http://php.net/sql.safe-mode7 X( ^$ U/ M7 _+ H' a
  1055. sql.safe_mode = Off
    + X6 l: Y" p! v  v& q  Y4 U7 I: `; ?

  1056. 5 ]" n1 B( l3 V9 A
  1057. [ODBC]
    9 o; i5 K! k, g5 S0 e( ]2 }* C* C
  1058. ; http://php.net/odbc.default-db
    3 E! J1 U2 ~; b& a+ ^% o% N
  1059. ;odbc.default_db    =  Not yet implemented" Q, u. ~7 X: o# F2 o+ P& \8 P

  1060. $ v- @# b3 M- B* ?% O. A; o0 c3 Y6 n
  1061. ; http://php.net/odbc.default-user
    7 ~& w5 q3 q0 _2 Q' b5 @
  1062. ;odbc.default_user  =  Not yet implemented0 |  W/ E& R( x

  1063. 2 S, Y( Y/ j$ P7 E7 g# n
  1064. ; http://php.net/odbc.default-pw( T; h  y: r- M% I. U6 v' `2 Z$ d8 y
  1065. ;odbc.default_pw    =  Not yet implemented; U$ k8 N( D- e. n/ Y% V. v
  1066. 9 n5 K  k9 C$ W% Z" [
  1067. ; Controls the ODBC cursor model.& @9 c2 p: }# I7 U8 O; X4 {
  1068. ; Default: SQL_CURSOR_STATIC (default).
    8 p( [5 r5 P4 {# J! E+ |
  1069. ;odbc.default_cursortype* b! x( v- v1 P  M" ?! s

  1070. - z. u9 Z: B- U. m3 z3 Y4 |  e
  1071. ; Allow or prevent persistent links.
    ! u7 k$ V  [( H& w
  1072. ; http://php.net/odbc.allow-persistent. v8 E% i2 q0 K( q; y# `, ^) d
  1073. odbc.allow_persistent = On* o. C4 U4 f/ R* n5 b/ [3 W
  1074. + ]8 R- U' G% E$ d: D' R
  1075. ; Check that a connection is still valid before reuse.
    " z7 j# Y* I; L
  1076. ; http://php.net/odbc.check-persistent2 w9 D. a# A( M# S$ n+ f  }' S9 o
  1077. odbc.check_persistent = On# X* v/ e2 R- ?  \3 L5 P
  1078. & z; r0 d0 c4 V/ X7 t
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # Z6 G4 Z' F5 G) g
  1080. ; http://php.net/odbc.max-persistent
    $ A. T( k: c( H$ E! K1 W
  1081. odbc.max_persistent = -1
    2 S3 n7 F: J7 }
  1082. ; t2 \! R# \5 x, E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 I% k2 i! _1 e! M
  1084. ; http://php.net/odbc.max-links
    ( l9 g0 s* O* l' y3 m
  1085. odbc.max_links = -11 c9 G9 T) D( L' b4 M6 I6 T

  1086. # d4 Y( P* r! c- O: }
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means8 x1 I) E. H" ]+ ?; n3 r
  1088. ; passthru.
    4 L" M; o: W0 U/ S+ a
  1089. ; http://php.net/odbc.defaultlrl8 _* L4 r4 I* p* V8 \( T
  1090. odbc.defaultlrl = 4096
    ( o! u, v. r9 F; R5 M; c3 _2 n2 a% C

  1091. 5 v$ C+ n! L1 G! v. J0 a: T
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char." k* C6 {$ ]- r  H: Q) I
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - T6 K  G. ]  X' G+ B, V
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode/ r" e6 C5 W8 N: f
  1095. ; http://php.net/odbc.defaultbinmode% j# v1 @$ r! W% @  ]
  1096. odbc.defaultbinmode = 1
    7 d! e6 n! @) w( d: M: r

  1097. 2 b( k! ^# h& S1 c
  1098. ;birdstep.max_links = -1( G7 C1 H# n/ O# z3 b1 |  G

  1099. , c' Z& @8 z* F3 n9 k* |
  1100. [Interbase]
    + ?. C. Z2 Y" r' a, I5 n/ H- r
  1101. ; Allow or prevent persistent links.9 G2 \' w! `! A8 ?
  1102. ibase.allow_persistent = 1
    , V- Z. S6 y: v" f0 b' Q9 h
  1103. ; w0 m: [$ x. b3 |% j
  1104. ; Maximum number of persistent links.  -1 means no limit.( y9 }" |3 X! ]! J) M% i
  1105. ibase.max_persistent = -17 B9 {1 a# G% P6 f
  1106. * |4 d1 C6 C5 _! F. j# S7 l* |6 m% O9 @
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + |' o! u! D! [; r) G
  1108. ibase.max_links = -1
    0 j6 ^7 J- B5 u2 F

  1109. " b9 [3 @- C0 E2 h( F/ y
  1110. ; Default database name for ibase_connect().4 u: W3 f' _9 M$ b9 R
  1111. ;ibase.default_db =! u* J. a! M1 H2 m5 j! {3 V

  1112. 9 Z( C) I% M- u' }4 y: @$ _
  1113. ; Default username for ibase_connect().
    . {5 n6 R$ ?, i" W0 M% Y5 W9 ]
  1114. ;ibase.default_user =$ z2 n- N5 J& p$ Z( P

  1115. $ y4 W, a& l, M3 c) {5 I- y
  1116. ; Default password for ibase_connect().9 b: z: u, H6 B2 y
  1117. ;ibase.default_password =% X& l: F% g8 E  c! e+ p2 A: L

  1118. 9 w& p$ G! S% y4 q6 B
  1119. ; Default charset for ibase_connect().
    - t7 b+ m% w, \) O" y- F* A; C, I2 ~
  1120. ;ibase.default_charset =9 X; ^/ m' ~# b  p& u4 D
  1121. $ f# t- ?. M2 `: y' k" i
  1122. ; Default timestamp format.- Q/ T9 ~8 }6 f1 q; B# }1 m; s
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    / e1 c4 _  ?6 J# Q

  1124. : t1 u) t0 d4 K- @$ V5 Q0 i2 P# s
  1125. ; Default date format.
    1 T' x) B; V2 U% }' n
  1126. ibase.dateformat = "%Y-%m-%d"+ ?9 C* n5 ]8 R1 X
  1127. " ~7 V' q% z+ Q
  1128. ; Default time format.
    ) `0 |1 z% s* L+ D! g: |
  1129. ibase.timeformat = "%H:%M:%S"
    0 u; b# _9 q' N* ]
  1130. 6 o1 ?: c* k+ E% J
  1131. [MySQL]
    ) j* m' g! w$ I* G9 p: B3 `
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 X2 b$ C, N3 C
  1133. ; http://php.net/mysql.allow_local_infile$ e) b  O, w) A( N
  1134. mysql.allow_local_infile = On' c/ R: g. |# p' @9 t& e8 i
  1135. 4 O9 c$ \; V& y4 M& [
  1136. ; Allow or prevent persistent links.
      N7 |# f' h/ Y2 C' d
  1137. ; http://php.net/mysql.allow-persistent+ N4 _7 H3 d) Q6 }' T, L: D
  1138. mysql.allow_persistent = On2 M* C2 `; I" q- l4 l* }
  1139.   y9 Z. K! E" c. [
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " }3 y7 B4 o4 V
  1141. ; http://php.net/mysql.cache_size
    - g) I- D' T# ^$ Q3 U4 c) Z1 y% A* z
  1142. mysql.cache_size = 2000
    ; L* f  k, s2 M9 H& A; U
  1143. 7 b% C' k1 K/ e  B
  1144. ; Maximum number of persistent links.  -1 means no limit." A$ d; Z4 f5 X4 p
  1145. ; http://php.net/mysql.max-persistent+ u1 q6 d% @$ i0 R- l
  1146. mysql.max_persistent = -16 b1 C  @  v4 I& f& j9 v7 T
  1147. # D! i+ A) }+ H% [; T+ t
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! M+ S- Y/ T& N9 H& Y
  1149. ; http://php.net/mysql.max-links
    ! D" e8 Q3 S9 k8 f* m, W5 h
  1150. mysql.max_links = -1
    / B/ p' h9 _2 R7 B/ r
  1151. 5 P) C5 }6 I, P# {& I4 K8 J- M  _" |
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ! q8 {# K# \# L
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: b. s" X, T# {" M, j' a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 _5 {0 {! j/ u. S+ L
  1155. ; at MYSQL_PORT.
    " Q( U- q7 A  y9 \! C
  1156. ; http://php.net/mysql.default-port& e3 i1 E+ o6 ^
  1157. mysql.default_port =
    ) n/ ~1 `7 m  y

  1158.   `* T# e9 w5 w5 i# S4 {
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 M4 G' l/ q" O
  1160. ; MySQL defaults., A' E% r4 J  X8 X9 h! j
  1161. ; http://php.net/mysql.default-socket
    $ z4 p) w) N# \0 i
  1162. mysql.default_socket =
    % U) v! F6 y# c( N8 E7 d0 T+ k

  1163. 9 B9 y6 i& p% X* u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).* Q0 }( a5 H; k- D4 Q
  1165. ; http://php.net/mysql.default-host3 Q1 t5 m: _! x" T. Z( {7 @2 C
  1166. mysql.default_host =
    ! s9 R9 V3 L- S  n

  1167. * A1 Y$ i: |0 i7 f( @1 z
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 L/ j& j# E" }, j) Y1 g5 O
  1169. ; http://php.net/mysql.default-user. x" _2 o0 U$ w6 ~
  1170. mysql.default_user =/ `) u# U5 H( p) a8 E
  1171. ( x! F. \) B5 o" e% L
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).: J" Y2 O; K5 Q/ v# H
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.) C" z, A) K# C1 o
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")" B1 v* D- g7 a, H' e6 V* K3 }
  1175. ; and reveal this password!  And of course, any users with read access to this' R+ m% u" Z, ]2 z! d. |6 Q# U6 C
  1176. ; file will be able to reveal the password as well.6 s, o$ A# ]9 n% [
  1177. ; http://php.net/mysql.default-password
    - o  w/ l- e, b2 k9 }* i
  1178. mysql.default_password =4 A% d6 D( D( @4 Z# s& z3 O
  1179. . U8 o0 \% ^) s, m
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ! X6 A+ ]* T: c
  1181. ; http://php.net/mysql.connect-timeout
    " t, m8 M. o2 {2 M/ A2 d
  1182. mysql.connect_timeout = 60
    / K5 j) ^2 P; R

  1183. + _4 r5 B; g, X  H. i( i
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " |' z6 O+ `3 Q
  1185. ; SQL-Errors will be displayed.: F4 J# G+ M4 W: r9 K9 j
  1186. ; http://php.net/mysql.trace-mode
    + u0 a2 H% O$ s2 n* M
  1187. mysql.trace_mode = Off
    - |* w  s% w+ o+ {5 v" T  A
  1188. + J, M; X$ b+ j7 W
  1189. [MySQLi]
    / h  R  r9 T+ @* d
  1190.   F, `2 I- ?# T2 |) }: I" i. r  N
  1191. ; Maximum number of persistent links.  -1 means no limit.
    # v" L# ]. O0 U% `8 b3 y( Z
  1192. ; http://php.net/mysqli.max-persistent8 g* J1 k$ y6 w+ G+ s4 G
  1193. mysqli.max_persistent = -1
    $ y- O% U" F) F- h8 d  t# O6 w, u( b

  1194. ( F6 ]- I6 f) w1 \, e  O
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- Q: [3 m. k9 I
  1196. ; http://php.net/mysqli.allow_local_infile
    ) ?% L; Z0 _) U/ n! z; h1 Z
  1197. ;mysqli.allow_local_infile = On% n( l& e) T$ y8 y4 T
  1198. $ @( ]5 N( n, E1 w% q
  1199. ; Allow or prevent persistent links.: `, Z; u: U% y
  1200. ; http://php.net/mysqli.allow-persistent
    + t: Y" z8 O/ u8 T
  1201. mysqli.allow_persistent = On
    1 X3 ]+ P8 ~8 e0 _! @0 C* m2 P
  1202. 5 }) ?8 H! M  K1 v& n/ V/ _- l9 h
  1203. ; Maximum number of links.  -1 means no limit.
    ) V( B$ \# Z; i$ h% I# J
  1204. ; http://php.net/mysqli.max-links
    ' ]0 a) C- {0 l4 u& N- u
  1205. mysqli.max_links = -19 s# W" o$ D& f8 x* ?* u5 p" y/ i
  1206. 2 @7 m: s3 V8 b2 G
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # U" K7 C: i$ W+ w+ ?- r: I
  1208. ; http://php.net/mysqli.cache_size
    * i' f0 C1 c, K2 c( Z
  1209. mysqli.cache_size = 2000# j5 j' v8 b4 Y& `1 [0 J% f6 p$ O. K

  1210. - A, g* `. _$ b/ k: P
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( G$ S; Z1 V- b* C( @4 w  r; r
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 c/ [( t/ v) n
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 G; O) y3 e( ?5 \3 B
  1214. ; at MYSQL_PORT.
    $ r3 x8 q5 E( V. h$ U
  1215. ; http://php.net/mysqli.default-port
    - B1 e2 Z3 }- y0 {
  1216. mysqli.default_port = 3306
    $ k. `2 A, a6 y% a) Y
  1217. 3 d( J: y1 r' w0 v$ g
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , r; {+ B% A0 V
  1219. ; MySQL defaults.
    2 R) a" t$ D, J: @
  1220. ; http://php.net/mysqli.default-socket! h  O/ L$ m# Y4 y
  1221. mysqli.default_socket =2 K( E; P' n% n* N1 ^" |- {% j
  1222. ! ]( P. V9 c  z! ]2 L' V$ e& ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).* @, X' B. E1 [# W' P
  1224. ; http://php.net/mysqli.default-host
    * [& A- p6 C; r4 ~% H/ n! e
  1225. mysqli.default_host =
    9 I" u( E: e3 w4 `. V2 g- |8 A! @
  1226. " M# r) r6 U2 t
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).$ \) y- v+ h0 E+ A) _3 T+ {
  1228. ; http://php.net/mysqli.default-user) A8 \# @8 ]# m* f9 m
  1229. mysqli.default_user =* l6 I) w) }; i3 s- b; z
  1230. 5 e2 L1 {" b/ f" p' U' ^
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : g7 n' Y3 X8 |6 ?
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; Z; r1 ?/ d. V, {9 _
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    + b; b6 g7 z: r! Z; F4 Z
  1234. ; and reveal this password!  And of course, any users with read access to this' t* L0 R& }. _$ N7 V! h
  1235. ; file will be able to reveal the password as well.9 ~8 X$ [' [% |9 a" c/ A4 k
  1236. ; http://php.net/mysqli.default-pw1 o$ w" \' `' y! S) f  f2 y
  1237. mysqli.default_pw =5 ~8 D8 g- b. V* u) @

  1238.   F  y8 s' X7 Q, W$ T
  1239. ; Allow or prevent reconnect( V3 z- V' C' k" H& m9 M
  1240. mysqli.reconnect = Off
    6 i2 ^3 t8 A  I6 j& y
  1241. 0 M: z) E" }3 q' Y7 g
  1242. [mysqlnd]
    , x5 M" B; z9 j
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be7 Z. U) |+ q& h& f6 P# }! o0 }9 B8 e" s
  1244. ; used to tune and monitor MySQL operations.
    . E0 W* R; A- u4 _" K
  1245. ; http://php.net/mysqlnd.collect_statistics
      {; e& W# p4 Q5 K# O! a7 k5 A4 c
  1246. mysqlnd.collect_statistics = On) ]* f$ ]- q+ g/ c

  1247. * o+ `2 b( L4 r/ V! U  c( P; |
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be! c1 D4 ^" J+ _, n/ g  T( O6 u
  1249. ; used to tune and monitor MySQL operations.
    # [' _: v) Q2 p8 U
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ( M1 x! m3 J$ E
  1251. mysqlnd.collect_memory_statistics = Off
    9 T$ O6 C* k( l" G: }
  1252. , A! ?# n9 p( [7 b4 y# C3 d0 u
  1253. ; Records communication from all extensions using mysqlnd to the specified log! _/ }5 Z7 U6 D$ u# c* b
  1254. ; file.
    / u2 S, J4 `! ~+ W" Y
  1255. ; http://php.net/mysqlnd.debug( ~5 @% S% e( K4 Y9 ?6 E; N+ F
  1256. ;mysqlnd.debug =
    : {* }& u( k& ?, p" S9 M; }; b) k
  1257. 3 |& c* U& B& c+ S3 t) {: q
  1258. ; Defines which queries will be logged.8 @" K/ ?+ p' L
  1259. ; http://php.net/mysqlnd.log_mask4 A% e- n+ b  P- J: j
  1260. ;mysqlnd.log_mask = 0% m" L7 I& h7 K( d) C

  1261. 3 k% L/ j2 m0 f5 c* Z: [2 k% F
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 K  ^8 |3 \8 X6 Z$ l8 L- w
  1263. ; http://php.net/mysqlnd.mempool_default_size. m% K- U: }6 c4 X' Y( [3 R* \7 Y
  1264. ;mysqlnd.mempool_default_size = 16000
    8 x: o. y" `/ l! {* I" f

  1265. 2 S2 C6 K/ z: F4 @! A, F' |3 |
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.- H1 Z* [: K; q3 M  ?! V/ W5 J
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size% C0 Y. J6 y, M$ ?* P$ o4 f2 i* B
  1268. ;mysqlnd.net_cmd_buffer_size = 2048* @" H; v2 [, T7 E6 {3 o

  1269. & E$ l2 I4 R9 Q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    0 ^. q  j5 g2 m8 C) W; i
  1271. ; bytes.4 M! r% R$ T$ O1 d# B
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( J) s$ b' O- S' O% P% i1 C  n
  1273. ;mysqlnd.net_read_buffer_size = 32768# U5 P, j% U! R9 @: ]. q% s; J  o

  1274. * N* g/ D" a0 i$ g$ V4 ]
  1275. ; Timeout for network requests in seconds.' b7 {; n/ w9 D% U
  1276. ; http://php.net/mysqlnd.net_read_timeout
    8 d- |. `, I2 O7 |8 T
  1277. ;mysqlnd.net_read_timeout = 315360001 ?+ L/ g$ [( g2 q6 Z
  1278. + {6 Q( ^) Z' _& I( |, ]
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    7 C% z* m+ S& ?5 E
  1280. ; key.
    5 |8 k; x) f8 h
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ' ?) a3 A# A. F
  1282. ;mysqlnd.sha256_server_public_key =
    ' Z- Q3 v) i1 S3 S" b3 P: d; P- |  j

  1283. 4 ?& G( J* }" i+ \8 ~: r* v
  1284. [OCI8]$ \8 n) I4 M. S2 \: p" O* S

  1285. " a: \: X9 w# }* C5 L0 m: Z
  1286. ; Connection: Enables privileged connections using external& x% S2 L# f  D& z0 u% O' ]( M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)$ u$ u) p- ]" x/ d
  1288. ; http://php.net/oci8.privileged-connect
      o3 I5 c1 s! `7 J0 \6 X; E3 j  h, W
  1289. ;oci8.privileged_connect = Off5 a% V) ?9 L; ~, }3 D4 H: p

  1290. 8 ?0 P' }+ O6 s+ ]# Q; I3 |
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    + U( M2 L  u6 Y
  1292. ; process. Using -1 means no limit.- u" o4 r8 f4 f. H
  1293. ; http://php.net/oci8.max-persistent$ ~# P; S) s9 y) G, e. J6 L. [
  1294. ;oci8.max_persistent = -1( a1 ?- N0 @0 w7 Q
  1295. 7 r1 G- k0 d/ a+ t
  1296. ; Connection: The maximum number of seconds a process is allowed to( |- d0 x4 k0 d2 D! G. H$ L1 M
  1297. ; maintain an idle persistent connection. Using -1 means idle
    6 T; s( R# G& }+ X9 u0 `
  1298. ; persistent connections will be maintained forever.
    ) R* |* Y  ~/ s$ A1 r5 n
  1299. ; http://php.net/oci8.persistent-timeout) r, I' R! I* b$ Z. U2 G1 w' m$ v8 N
  1300. ;oci8.persistent_timeout = -1
    7 q9 J& o2 U- Y7 I5 d+ p

  1301. ; k0 d  Z% S, I( p) g1 Y; f$ o
  1302. ; Connection: The number of seconds that must pass before issuing a
    ( C. _8 R  X; ?8 G+ Y; |! O
  1303. ; ping during oci_pconnect() to check the connection validity. When6 y9 z$ O9 Q. K9 f. m6 `
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      Z; m& b: N. S8 l( p& R
  1305. ; pings completely.+ X' u, D- s' ^- B6 S: _
  1306. ; http://php.net/oci8.ping-interval
    ) C- [& G0 t" w% H4 j, @
  1307. ;oci8.ping_interval = 60! o2 n9 q$ K2 H" N5 U

  1308. ; r" S* a* y+ V% f  L# P
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' g! h( `2 v9 e' U( v% M8 y: Z" ?
  1310. ; for all pooled server requests with Oracle 11g Database Resident8 c/ @  @: R3 h
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 x$ x8 _3 H* x1 p0 E; `
  1312. ; the same string for all web servers running the same application,
    $ L! i' f7 e! H% r& d9 Q0 ~
  1313. ; the database pool must be configured, and the connection string must
    % @! {5 n' B6 Y8 W
  1314. ; specify to use a pooled server.3 ~  ]* V* }3 B
  1315. ;oci8.connection_class =* M8 k/ D; X1 V
  1316. . _1 o7 S2 u& A9 w4 I, l) v
  1317. ; High Availability: Using On lets PHP receive Fast Application5 b/ o0 t) i$ r) [3 F  w" H/ _
  1318. ; Notification (FAN) events generated when a database node fails. The, d* A  r' R# @7 \3 T5 ~; i/ c
  1319. ; database must also be configured to post FAN events.( R( W% g; a- e
  1320. ;oci8.events = Off& D7 A9 H& z1 P- J& M( S' u

  1321. 6 ]. H1 L5 M& a5 R' [1 E
  1322. ; Tuning: This option enables statement caching, and specifies how
    ( M$ Z& f0 ^! k. {3 [/ x
  1323. ; many statements to cache. Using 0 disables statement caching.# f. ^$ l( S; F0 J) n6 L/ e2 p
  1324. ; http://php.net/oci8.statement-cache-size# M5 ]" b5 R6 Y
  1325. ;oci8.statement_cache_size = 20# ?3 X7 ~3 x% f. g  @( n
  1326. ( \& g, n# F+ q9 q3 w$ M  k
  1327. ; Tuning: Enables statement prefetching and sets the default number of  c, v+ Q/ V2 U( W3 m
  1328. ; rows that will be fetched automatically after statement execution.
    2 _2 d$ F6 l( l8 n; \0 q- F
  1329. ; http://php.net/oci8.default-prefetch
    3 U' }7 t( l" F
  1330. ;oci8.default_prefetch = 100+ d. G( F. X' W9 u9 T. |. P
  1331. % @  w, G' d5 _
  1332. ; Compatibility. Using On means oci_close() will not close- d- I0 q1 u( `0 {. t: B
  1333. ; oci_connect() and oci_new_connect() connections.) d, y, |% P* g2 D
  1334. ; http://php.net/oci8.old-oci-close-semantics3 v$ T0 v' {% O$ a# y
  1335. ;oci8.old_oci_close_semantics = Off
    : [9 F8 Q$ o& o

  1336. 5 W4 X2 o+ t0 s5 F! v
  1337. [PostgreSQL]
    ! Y. N. f$ k! F3 @1 l: K( _
  1338. ; Allow or prevent persistent links.
      O% }7 X4 {6 P" V
  1339. ; http://php.net/pgsql.allow-persistent. l1 a$ k* r+ |: `! N, T2 Q: q
  1340. pgsql.allow_persistent = On
    5 t: E9 ]6 V8 F9 c$ R- S# C4 h
  1341. & C$ [" x! a& y$ p3 ~' Z
  1342. ; Detect broken persistent links always with pg_pconnect().- D, i  ?% x) b+ L- S
  1343. ; Auto reset feature requires a little overheads.) I3 V" q$ h' Y, \. W- B
  1344. ; http://php.net/pgsql.auto-reset-persistent
    4 q7 ]( k$ S, D, d* a, c
  1345. pgsql.auto_reset_persistent = Off
    + B: X6 b% J" S

  1346. 1 N5 H' A$ T. ]
  1347. ; Maximum number of persistent links.  -1 means no limit.0 P3 D+ C3 u* W2 C
  1348. ; http://php.net/pgsql.max-persistent
      x& L( A, b4 _
  1349. pgsql.max_persistent = -1) U- D8 P8 o8 u" d+ L" w9 [5 O
  1350. . u/ b9 \# I7 {
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : _$ ]! o9 C6 m  @# k( q9 j
  1352. ; http://php.net/pgsql.max-links
    1 V; ?, ]4 _  |+ Z5 w4 S* k
  1353. pgsql.max_links = -1% O. W' V. j4 ?$ C) }& B( j6 N

  1354. 0 p5 q* [9 p, u# }
  1355. ; Ignore PostgreSQL backends Notice message or not.+ E: l3 [" Z& J
  1356. ; Notice message logging require a little overheads.
    8 z/ O+ @9 O" w
  1357. ; http://php.net/pgsql.ignore-notice
    2 p0 X4 p8 s  R. g
  1358. pgsql.ignore_notice = 0: H0 H6 b/ g6 N8 j! i8 R* C1 d: k
  1359. 2 C% Q/ k2 C5 y. s, t
  1360. ; Log PostgreSQL backends Notice message or not.0 j0 e5 t1 B5 D: N8 ]$ q6 M3 l
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - v2 N1 }% F2 n$ {: n
  1362. ; http://php.net/pgsql.log-notice
    ; F" T: ~+ ^% r, e4 W& h& R6 |
  1363. pgsql.log_notice = 06 a1 Q( h2 E# m8 T' b
  1364. " n" _; u" k3 z- _7 h8 r8 {( [
  1365. [Sybase-CT]
    , c- a/ v6 \" a
  1366. ; Allow or prevent persistent links.9 G8 i9 l8 _' J; a2 x1 k6 R
  1367. ; http://php.net/sybct.allow-persistent
    1 u: j* |* M* E! e' _" ]
  1368. sybct.allow_persistent = On  d$ R2 x% D" j. C& U9 S; t0 {

  1369. & K3 z9 `9 R/ D
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 b" e& g+ c: R$ \2 \
  1371. ; http://php.net/sybct.max-persistent
    $ Z! F; ~8 l! `$ U
  1372. sybct.max_persistent = -1
      @+ k7 N- w/ t6 N5 [

  1373. 7 }9 I: [# d: S( J7 E6 g
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." u! K$ l: s* z' H3 q
  1375. ; http://php.net/sybct.max-links/ h' d+ T2 v( }+ O9 G2 h
  1376. sybct.max_links = -1  O3 ~( D* _  u5 g
  1377. 4 {% f8 c8 Z+ z$ ?" Q( _
  1378. ; Minimum server message severity to display.
    8 `" y% G! d% ~8 p
  1379. ; http://php.net/sybct.min-server-severity
    " G" J9 F' ]/ i* _+ j4 |/ _7 g
  1380. sybct.min_server_severity = 10
    7 M7 L- N5 k* M) i, J

  1381. 1 e" W9 u; |" [* o# q$ }2 e5 E. t; `
  1382. ; Minimum client message severity to display.
    ( a, |$ m, x+ o7 y# x% M
  1383. ; http://php.net/sybct.min-client-severity
    * o* @$ [* a' s% g: H# C% {
  1384. sybct.min_client_severity = 10/ T+ H) @( Q- c" Z* {. t% ?" Q
  1385. 4 c- ~% ~$ t5 [
  1386. ; Set per-context timeout6 h5 q& k. _) c7 N9 r
  1387. ; http://php.net/sybct.timeout9 o7 f/ a; j$ E7 k, A9 J
  1388. ;sybct.timeout=% s$ v  H. a5 H+ w2 u6 T

  1389. 2 i8 [1 n! q7 p5 a- X3 H; M
  1390. ;sybct.packet_size
    - S- R! [9 S' Q! u( x

  1391. / V5 ~2 K# w! \8 J1 r1 F: j" n
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - D3 e1 V/ [1 @! F& k
  1393. ; Default: one minute, w) v" |9 f$ c3 f" t
  1394. ;sybct.login_timeout=2 s1 f8 r/ c# x

  1395. 4 X' b; K" J" I" x) M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.: I2 D, ]/ j! s5 N4 N; D
  1397. ; Default: none! D$ r4 h+ r) T+ M0 X0 x
  1398. ;sybct.hostname=
    $ ~$ ?) }6 }5 n6 i2 z0 G* i
  1399. % _7 u2 D6 A2 B9 }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    + @; z' r9 V* i/ w& |/ _& \
  1401. ; Default: 0* d: z. n2 e$ h% R+ F& _
  1402. ;sybct.deadlock_retry_count=( Z4 K4 f5 q1 }; e
  1403. 6 {; m& o% O+ K7 Q
  1404. [bcmath]; R4 V( {) k* w5 O( }5 {
  1405. ; Number of decimal digits for all bcmath functions.9 [3 H$ G& b2 d8 ?) `! H) @) b
  1406. ; http://php.net/bcmath.scale) q. X( Q# x8 @, x. T/ ]
  1407. bcmath.scale = 0/ |$ ^# v* |* M$ @$ |; ?2 X
  1408. 2 O2 T0 M2 s) {1 T
  1409. [browscap]% v8 W* s& R0 i% P$ U6 I! d( R' c
  1410. ; http://php.net/browscap
    . X( b" s  y3 j. H& `3 H7 Y
  1411. ;browscap = extra/browscap.ini
    4 _' t2 @0 S; O3 u; ~

  1412. 6 E" h0 s$ `7 L( o* ~
  1413. [Session]
    ' P3 r  ?; a+ j3 v* S7 Z
  1414. ; Handler used to store/retrieve data.5 P9 F0 \. H% N/ z1 S  J5 P0 ]2 k
  1415. ; http://php.net/session.save-handler
    ' F; {# L) O3 w; H1 L
  1416. session.save_handler = files
    8 w$ n+ [7 Y0 }# f

  1417. 7 d5 O1 Y* r- e
  1418. ; Argument passed to save_handler.  In the case of files, this is the path' \( p. C  h* G0 c& w# q
  1419. ; where data files are stored. Note: Windows users have to change this+ e6 M) Y% M% C- }' Y, ^. m& E
  1420. ; variable in order to use PHP's session functions.
    # T! r$ |* F, C; z* S. L; P6 A( P
  1421. ;
    3 b0 I- Y- q) h$ }* I' A
  1422. ; The path can be defined as:
    6 o, r/ J+ E! p- p: b6 ]
  1423. ;4 j. `  B- E6 X
  1424. ;     session.save_path = "N;/path"/ [. K3 m5 ?5 U6 C- {' J$ Q2 p
  1425. ;1 H* ?) m. n8 u
  1426. ; where N is an integer.  Instead of storing all the session files in; W  g. {. Y7 A! r. c/ L1 h& f
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    4 P: S8 F# v$ t/ f5 N
  1428. ; store the session data in those directories.  This is useful if
    1 W& S0 m# V9 j6 h2 Z' {
  1429. ; your OS has problems with many files in one directory, and is
    " h! k0 H+ l% N; [
  1430. ; a more efficient layout for servers that handle many sessions.. w' g) c! k: x7 {' T' f& ^/ g; t: v! c
  1431. ;2 Y, K2 @0 k7 t$ O) X* s$ h
  1432. ; NOTE 1: PHP will not create this directory structure automatically.0 j' w* T& d0 @. I
  1433. ;         You can use the script in the ext/session dir for that purpose.. L' I' R- l. T2 L3 B+ h
  1434. ; NOTE 2: See the section on garbage collection below if you choose to! m% }" Y, N) ~$ j
  1435. ;         use subdirectories for session storage
    / p2 W% f7 B  a4 w2 e' v5 u! k
  1436. ;7 `* K3 G: M9 R1 C3 t8 h( ]
  1437. ; The file storage module creates files using mode 600 by default.9 q! Z. v2 r' I3 P5 T% R" a
  1438. ; You can change that by using
    2 K& X! @+ k$ Q" i9 M
  1439. ;
    4 ?* y% k8 \! }8 B1 W
  1440. ;     session.save_path = "N;MODE;/path"2 l* a( F3 i6 P
  1441. ;
    0 t8 ], t8 C" y9 o3 D
  1442. ; where MODE is the octal representation of the mode. Note that this' F5 X3 b8 P6 X" p* h
  1443. ; does not overwrite the process's umask.9 l0 z% D& Q! v$ S+ {' d: @
  1444. ; http://php.net/session.save-path8 D: x! {1 U( R4 e* h9 ?* E4 X; U
  1445. ;session.save_path = "/tmp"" ]6 H- j7 a+ w( j2 Y, G6 A( _

  1446. $ O5 j& P0 d# i( V( |. @% p
  1447. ; Whether to use strict session mode.( C" n  s$ K: o. v' P5 \
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    1 t: P' o1 `( Y& W7 t) G- y
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects/ U" p+ k1 V: l5 Y
  1450. ; applications from session fixation via session adoption vulnerability. It is
    2 v8 o" T7 B; q$ ?+ f4 Y+ }
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 z; x1 m) Y4 D$ e7 Q7 Z
  1452. ; https://wiki.php.net/rfc/strict_sessions; o- h- R3 u- W; p
  1453. session.use_strict_mode = 0
    " X: `( x4 i% c' r5 h
  1454. ) @! _4 e* u7 l; Q9 a
  1455. ; Whether to use cookies.
    0 k9 ]! N$ z# }8 u4 U6 H' q7 n
  1456. ; http://php.net/session.use-cookies
    & n1 q: T8 X& B; z+ X, S' G1 ]- `
  1457. session.use_cookies = 1
    0 `7 k4 I, E$ w6 v- A% t

  1458. ) m" h1 ?, n; s1 N% y# w* P* o* C
  1459. ; http://php.net/session.cookie-secure1 S! `% I9 ?, I# d
  1460. ;session.cookie_secure =
    , O* Q/ n4 _+ n
  1461.   Q( c5 Y( N$ R. _
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ w; V6 Y, _( Q1 V% Y: B
  1463. ; the session id. We encourage this operation as it's very helpful in combating: p( k5 M0 x8 Z
  1464. ; session hijacking when not specifying and managing your own session id. It is" g# A6 Y. f4 E, }9 r" Z1 w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    1 z+ c7 t5 [. l% d* X$ l
  1466. ; http://php.net/session.use-only-cookies
    / F4 G' N5 j! s/ R; d& o: i* Y
  1467. session.use_only_cookies = 1
    0 ]7 u3 {6 D8 X  Z
  1468. ) P5 D4 w, e5 W1 K  {6 _
  1469. ; Name of the session (used as cookie name).
    6 R5 n( }9 N7 f
  1470. ; http://php.net/session.name' z$ i# f4 Y, B
  1471. session.name = PHPSESSID; D7 u* ]. [4 A0 f3 f6 x# H
  1472. : z$ C! t  i% I/ V1 G
  1473. ; Initialize session on request startup.
    5 P) s3 H! g$ e' B
  1474. ; http://php.net/session.auto-start
    4 W4 J5 y& ]7 y! {" d/ L
  1475. session.auto_start = 0( e% y  U' X, t- f
  1476. & q4 d9 I; ~+ |0 H  v. f
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    5 y9 X( V8 X7 ?1 x# k
  1478. ; http://php.net/session.cookie-lifetime
    ; E$ q( I9 h) n8 n0 j
  1479. session.cookie_lifetime = 05 m! Z: |7 a: N

  1480. 7 [$ a. A7 W6 {
  1481. ; The path for which the cookie is valid.
    ( D) C' J, `+ J/ P
  1482. ; http://php.net/session.cookie-path
    3 P: j9 ~" Q4 p/ n# {2 _8 [
  1483. session.cookie_path = /
    ) L. J0 `6 _5 S( Q* m: n" {7 w1 ^

  1484. $ A3 l" ]' j- l) }! D
  1485. ; The domain for which the cookie is valid.
    # x9 h5 I4 Y" q( K
  1486. ; http://php.net/session.cookie-domain1 q2 e& A- ?! @( w) v1 U% g8 a
  1487. session.cookie_domain =$ p  @+ `' D) Q1 V9 p4 ?$ D0 v4 P

  1488. + o* D: K2 I) r6 {# K8 z
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# ?4 m5 t) ]0 z0 U
  1490. ; http://php.net/session.cookie-httponly* e( o6 M0 W3 W% |& {( B
  1491. session.cookie_httponly =
    ; d% K6 [  a( Y# B* s9 d
  1492. 2 g- s3 w( N8 t
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.4 N4 s/ M, }) e+ B
  1494. ; http://php.net/session.serialize-handler: Z; @& ?& R7 V3 K: s  h
  1495. session.serialize_handler = php
    % I# r; C* b- ^' w

  1496. 7 O( G2 I( N( @) s$ E
  1497. ; Defines the probability that the 'garbage collection' process is started3 x* X% N0 ^2 l, L" W
  1498. ; on every session initialization. The probability is calculated by using  A6 w3 [# X+ }: \* N* k# m7 `
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    1 `1 s! |& Y# K  \; C9 G
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1! w4 @3 o  D. m; f' T
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 S( e5 C* [* |# E9 d4 x
  1502. ; the gc will run on any give request.( h/ W0 h, U! P! v- [# {
  1503. ; Default Value: 16 s0 Q$ ?$ }* k
  1504. ; Development Value: 1
    9 a* t/ ]$ t% f* O6 s! f: U
  1505. ; Production Value: 1
    2 C( c' w) f5 O7 l* g
  1506. ; http://php.net/session.gc-probability
    1 |0 C$ L8 r; |
  1507. session.gc_probability = 1
    + l3 t0 l  h2 E
  1508. 1 X* R) D& O; n) U% t
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    " E1 T' b8 s  o( z( e/ N! i
  1510. ; session initialization. The probability is calculated by using the following equation:1 j: W; [# x; P9 y/ j* G% |2 \& V$ I
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, T6 g% L9 x+ Q( G( R
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; X7 Q1 b8 j+ }! J+ u5 s- d/ e
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) {2 P" q1 G3 G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you# [4 q8 U" u! [: g4 R
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( C2 k( _% `) S  M; {! q% u
  1516. ; this is a more efficient approach.
    5 f% w( J0 m# q0 l( l1 ?
  1517. ; Default Value: 1003 `: {+ `" C) z. Z7 ~" P8 v) |1 o
  1518. ; Development Value: 10005 t# J7 m1 c/ q" R9 l6 Y
  1519. ; Production Value: 1000
    7 F  A& @, W2 z5 Y  |, k
  1520. ; http://php.net/session.gc-divisor" r: Y" S$ L/ ]$ y/ L
  1521. session.gc_divisor = 1000
    2 o$ N9 x% L, c% }7 P' _5 e1 a
  1522. 4 t) \' w! z% B: g1 U+ b: f
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    / R* i: N/ M3 X9 H) B8 u
  1524. ; cleaned up by the garbage collection process.
    # P+ l% \0 V0 S+ \
  1525. ; http://php.net/session.gc-maxlifetime" c* I% A3 z% F: }7 j% A
  1526. session.gc_maxlifetime = 1440. n- ]5 P6 H2 t7 I& T

  1527. ' k, j+ s, y4 Z6 S! B- O
  1528. ; NOTE: If you are using the subdirectory option for storing session files$ l4 Y3 C& z; D7 T- l( i0 X- c7 D
  1529. ;       (see session.save_path above), then garbage collection does *not*
      p' z1 n3 ]) R
  1530. ;       happen automatically.  You will need to do your own garbage
    1 j( K  D) l/ `/ V( ^7 e3 L
  1531. ;       collection through a shell script, cron entry, or some other method.
    ( S  V1 s7 ~( Z5 x, M3 N) g& o9 j& K
  1532. ;       For example, the following script would is the equivalent of
    6 t; ?8 A' [( S; v4 G
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 U3 f8 @$ a0 i% i' j7 h: y' b
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, Q0 M/ U  C; R7 J& u3 a8 A

  1535. 6 g0 g6 w0 A- Y
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " b3 W8 k4 e! }
  1537. ; HTTP_REFERER has to contain this substring for the session to be0 v( }4 G+ I7 g! _$ S
  1538. ; considered as valid.
    ) m, M9 w! z' R4 C6 d* M
  1539. ; http://php.net/session.referer-check
    , q. v: i2 e0 {7 f% l2 b& P
  1540. session.referer_check =
    $ x& Q) ]1 `; Q0 m# G* ]
  1541. & i6 x3 q( B% G  j
  1542. ; How many bytes to read from the file.
    5 h& q  E: H0 U* z/ p
  1543. ; http://php.net/session.entropy-length7 x7 x+ O* ~# b. q6 h
  1544. ;session.entropy_length = 32
    8 ~. w# X3 j9 T1 C5 x
  1545. " F% A! M: l6 b& v
  1546. ; Specified here to create the session id.1 n: Q7 W, m2 \6 o
  1547. ; http://php.net/session.entropy-file
    0 v! H/ O) J# }6 D2 }8 D
  1548. ; Defaults to /dev/urandom/ \+ a8 G5 i, y! e
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! c% w( J8 U: v/ Y5 L
  1550. ; If neither are found at compile time, the default is no entropy file.+ F  Z3 G+ u2 n& L& C
  1551. ; On windows, setting the entropy_length setting will activate the- p& n5 S5 l! ?
  1552. ; Windows random source (using the CryptoAPI)
    7 p! y/ i* L1 f' d. {8 K
  1553. ;session.entropy_file = /dev/urandom
    4 v2 G( t9 H+ u" G

  1554. - ~6 ?; T3 J7 h
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 z: w1 V3 Z) J
  1556. ; or leave this empty to avoid sending anti-caching headers.8 n6 U4 `1 i. Y3 |
  1557. ; http://php.net/session.cache-limiter6 `) A% v$ M$ G* w1 b) a, D
  1558. session.cache_limiter = nocache
    % y  }: b  H5 P0 Q5 ~: c$ o' J8 H

  1559. # u) G( V6 P! N5 J; S
  1560. ; Document expires after n minutes.
      H8 l7 t: Y: A4 h7 D& @9 I) ?# n
  1561. ; http://php.net/session.cache-expire2 Q$ J. }6 ^# [6 I9 l- b( E2 B0 ^
  1562. session.cache_expire = 180( c6 l- v/ u# F+ n" z

  1563. 6 l, E* Z1 x1 G( O5 R0 a1 i
  1564. ; trans sid support is disabled by default.$ l4 n% R' g. J* G. b. [# b
  1565. ; Use of trans sid may risk your users' security.
    1 v# C, K( `" Z' I4 X+ s
  1566. ; Use this option with caution.+ i3 O# j7 V* s: d
  1567. ; - User may send URL contains active session ID
    ( p$ z; G- u$ W
  1568. ;   to other person via. email/irc/etc.0 @4 O7 I0 r+ M7 S# x
  1569. ; - URL that contains active session ID may be stored( F1 `, p6 j: f, ]9 O
  1570. ;   in publicly accessible computer.
    8 c, T, H/ H$ o! |6 R
  1571. ; - User may access your site with the same session ID# G0 r& `6 U6 B/ X
  1572. ;   always using URL stored in browser's history or bookmarks.
    4 R* J' u+ a# H8 c  j, q4 q+ \- o/ Y
  1573. ; http://php.net/session.use-trans-sid+ L( l8 z2 A) f1 c& A
  1574. session.use_trans_sid = 0
    ; {" U3 F+ S0 @
  1575. ) R; c2 D5 ?  u
  1576. ; Select a hash function for use in generating session ids.7 a+ \0 w0 j% K4 k2 j% Y9 @
  1577. ; Possible Values
    # h+ a9 C1 ^- s3 V% D: P! w
  1578. ;   0  (MD5 128 bits)
    1 |" J) P5 P; X0 b" w
  1579. ;   1  (SHA-1 160 bits)% h  R4 Y$ [  ]5 `# M( h
  1580. ; This option may also be set to the name of any hash function supported by% ~" r+ n3 k" a4 ]0 l9 F
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    4 g/ c9 R) R. g2 |  q
  1582. ; function.) Z/ s: X& d6 K' h
  1583. ; http://php.net/session.hash-function1 ?- b/ Q2 E6 f+ Z6 ?
  1584. session.hash_function = 0$ P/ }4 x( u: b

  1585. 0 |5 n6 B6 w2 x, U% I2 y' R* k
  1586. ; Define how many bits are stored in each character when converting3 G. V% u- v2 ]5 Q$ R
  1587. ; the binary hash data to something readable.$ ?; ]+ \. g( o5 i% x
  1588. ; Possible values:
    % a% G: h  K7 f6 X! M
  1589. ;   4  (4 bits: 0-9, a-f)& h2 N% i& n9 k5 w
  1590. ;   5  (5 bits: 0-9, a-v)% P5 l" x  i0 `0 s8 F# y/ N& I" \' y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & @, D( a7 g# c
  1592. ; Default Value: 4
      ]0 I" V2 X5 `" Q+ k( q& G
  1593. ; Development Value: 56 T% `' L- @2 ], `2 Q5 _
  1594. ; Production Value: 58 e$ ~: A; [+ f8 r: D9 O; c0 X
  1595. ; http://php.net/session.hash-bits-per-character
    ! x2 x( O* m: M8 z3 F0 r  W5 q7 g# z
  1596. session.hash_bits_per_character = 5
    - [, f+ y8 z+ @
  1597. - i* H0 o5 B  c4 w/ ~. |, A0 |/ m
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.: j+ o9 m5 ^  `  i
  1599. ; form/fieldset are special; if you include them here, the rewriter will. B% ^  f. {+ c0 J1 t6 v* I, v# W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    , `1 z' M; x- d6 M4 y+ h$ h. h
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    + U; g. l0 H. Q$ T! V
  1602. ; Note that all valid entries require a "=", even if no value follows.' K  {/ L/ M. L6 b6 o/ E
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 T, I& u; i9 [! ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 {+ O+ @1 F+ B! I
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 C1 J, U* V5 w! p# V
  1606. ; http://php.net/url-rewriter.tags) x% n5 c+ M% g1 @8 Y, m/ p4 A
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
      S9 M5 S& w4 e5 Q. D+ g3 q6 J

  1608. . L! v8 V- C% K3 r8 W$ B
  1609. ; Enable upload progress tracking in $_SESSION. g) F+ l- |: J( E, Z
  1610. ; Default Value: On
    5 q- d' `6 j, e
  1611. ; Development Value: On
    ' F' v6 N% j* v0 W1 \* u/ ^, f
  1612. ; Production Value: On
    2 H* [# G- V% H  X1 S
  1613. ; http://php.net/session.upload-progress.enabled- Z. B" H! t2 Q7 h- p- S$ x
  1614. ;session.upload_progress.enabled = On' X6 ^- f, ]! I4 @5 I
  1615. . `6 h1 h5 o' s' R8 s4 a' x/ ^1 P
  1616. ; Cleanup the progress information as soon as all POST data has been read
    9 b& |# [4 J  Q3 Y' H
  1617. ; (i.e. upload completed).
    0 B% J5 i. M  k/ H5 Y# O7 }
  1618. ; Default Value: On
    , ~2 ~9 q, R) g# H+ T
  1619. ; Development Value: On' o! H& ]0 e, m) o9 f% D
  1620. ; Production Value: On9 T: ?- b( a2 M+ z" D! C* _8 H, J
  1621. ; http://php.net/session.upload-progress.cleanup
    6 d: L( H* G/ |  m! b1 k6 B/ b
  1622. ;session.upload_progress.cleanup = On; l8 Z" U/ g% i2 w/ S: k
  1623. - @% j; N1 i+ A6 C. Y+ ^' Y
  1624. ; A prefix used for the upload progress key in $_SESSION# F5 E) s: G  W* M# i7 Q
  1625. ; Default Value: "upload_progress_"
    ) j. i! ^6 _+ d2 R9 J% ]
  1626. ; Development Value: "upload_progress_"
    + N2 o( j# s2 d, g
  1627. ; Production Value: "upload_progress_"
    7 T1 \" J* @5 W/ ?' o5 Q1 I7 I  ~
  1628. ; http://php.net/session.upload-progress.prefix# r* q  e# i+ @( Y- P
  1629. ;session.upload_progress.prefix = "upload_progress_"
    $ Y& C/ Z0 R- z! L

  1630. 4 v! T- `9 l0 h  g) [2 E( e
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ( {8 c" p# j: V% G3 m/ \
  1632. ; containing the upload progress information
    # I6 z2 }8 _) Q
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% o% e2 Z& y! H. o
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * y% p3 l4 P! n$ q' E8 d
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"/ A( ^8 O( U5 j& ]
  1636. ; http://php.net/session.upload-progress.name
    " k8 W' \' x, \0 y# X& d' H
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 l* W; r5 m' C) V) U
  1638. 5 c4 p2 h# X& B: y; q8 M( @- c
  1639. ; How frequently the upload progress should be updated.
    5 C- t1 k: b* |) l; q
  1640. ; Given either in percentages (per-file), or in bytes& E$ v" q* v; D: k" p
  1641. ; Default Value: "1%": O3 J* d, Y8 a+ Y* L8 N1 D# g
  1642. ; Development Value: "1%"
    0 C! g& ^5 s  i! a% g3 y* M0 w; Q
  1643. ; Production Value: "1%"3 b& L* Z8 o1 N; c0 I  F
  1644. ; http://php.net/session.upload-progress.freq3 w3 J! F& s- I3 [
  1645. ;session.upload_progress.freq =  "1%"
    * N7 l0 m, S8 X  K, x! B: R4 s

  1646. : ^; y7 M( P# l" z: y) T& x! G7 k
  1647. ; The minimum delay between updates, in seconds- N. P- \  W- k# p% A; W3 h2 s
  1648. ; Default Value: 1  K' f3 h0 E; e; y
  1649. ; Development Value: 1
    % C0 X9 s) d9 f; V/ ^9 Z7 P
  1650. ; Production Value: 1
    " e) j# _: G: K6 m4 @# g
  1651. ; http://php.net/session.upload-progress.min-freq
    + n7 r  l( Y, I
  1652. ;session.upload_progress.min_freq = "1"- p* N5 V. x/ q+ ]* t
  1653. 6 M8 ~/ |9 a' t, I: G5 Q# `, e- w
  1654. [MSSQL]# l  O+ S; P/ \* p9 x0 ~& m. \
  1655. ; Allow or prevent persistent links.
    + W/ y! g  U  y5 E0 k! k
  1656. mssql.allow_persistent = On
    & A9 }( ?6 @5 f' p" y( O- {

  1657. ; J  Z6 \/ @4 k2 d5 r8 ^2 {
  1658. ; Maximum number of persistent links.  -1 means no limit.( ?4 g3 K5 r/ h7 H+ W1 k
  1659. mssql.max_persistent = -1
    3 a! S3 w  z2 D4 V- l+ S# Z0 H4 c

  1660. / i  P. n# o, s9 i( i1 [" {# P
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 ^# M& l9 Q9 y# h8 i
  1662. mssql.max_links = -10 M6 K3 F: N. v0 b+ b6 s$ q' z- o5 v. l
  1663. 7 x7 m4 ]2 K) L2 A
  1664. ; Minimum error severity to display.
    3 l7 h. i* i/ J: K
  1665. mssql.min_error_severity = 107 }1 q  j8 a7 Y: `

  1666. . ?4 J- y0 L- @# d0 B
  1667. ; Minimum message severity to display.
    $ j/ {, i8 Z! ~1 Q1 c6 Z
  1668. mssql.min_message_severity = 10
    / ~2 U: p; w! U" M  z+ N7 }

  1669. ! v( v7 }2 ]" {, l4 }5 I
  1670. ; Compatibility mode with old versions of PHP 3.0.
    2 u% Y# _9 y5 e7 a+ j6 y: @- `
  1671. mssql.compatibility_mode = Off
    * r0 i. q% w- L( u8 E1 ~7 E

  1672.   d0 w. J' `5 n" d4 S6 K* g) @
  1673. ; Connect timeout
    " t2 F. a0 n' Z& n
  1674. ;mssql.connect_timeout = 59 \/ Z! v& @- Y* ]4 p
  1675. : \: V) F, k1 T! Q) K
  1676. ; Query timeout
    $ l" |( ~% @, d* W
  1677. ;mssql.timeout = 60
    1 {0 L0 _. E: h
  1678. * [, z4 L* {- H6 G
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & z( y. j  x% n/ U5 ]8 u# y
  1680. ;mssql.textlimit = 4096
    - [; d1 L" g! B9 r4 y2 A: R* Y& O* |
  1681. 9 g8 T, p( G; ~* E# z( O' n
  1682. ; Valid range 0 - 2147483647.  Default = 4096.# j' \7 O6 l' N  E
  1683. ;mssql.textsize = 4096
    ! U* J9 `4 {2 H- W. x- A- }9 T* K

  1684. 3 D9 f4 O: T( L3 ]# ]
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.; K6 X8 Z7 A* w. ?" r+ O
  1686. ;mssql.batchsize = 0
    2 \' f) u0 C& z9 N& H6 I
  1687. & m$ \4 o7 {: [  v. c
  1688. ; Specify how datetime and datetim4 columns are returned
    ; ~; e. k- I5 _1 }9 g" D" ?
  1689. ; On => Returns data converted to SQL server settings! g: U! a; P0 e; e. p
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    & T+ m$ l& H) W0 `& Z
  1691. ;mssql.datetimeconvert = On2 K7 ~* D2 K  _: ^& c

  1692. 8 P& V. O* H7 Y; c; j, X
  1693. ; Use NT authentication when connecting to the server
    : i$ t, B8 X! y# R# V2 O& p& ], U
  1694. mssql.secure_connection = Off
      b0 h: r# [6 g
  1695.   O) R% P+ Y$ D# H6 L. V: K
  1696. ; Specify max number of processes. -1 = library default
    " s- b% Q, ~. Y4 G0 L% {' }
  1697. ; msdlib defaults to 25
    ; @* z: r) L! d! A, X: D
  1698. ; FreeTDS defaults to 4096
    % }8 b) @) K( \. U4 c: S
  1699. ;mssql.max_procs = -1' }7 j: V" V+ t+ e1 y/ ?% L
  1700. 8 B7 U* X/ P# J# H! Y! |
  1701. ; Specify client character set.- S8 H  `' X8 X* f. C
  1702. ; If empty or not set the client charset from freetds.conf is used
    3 x6 F$ }$ r/ g0 B
  1703. ; This is only used when compiled with FreeTDS
    7 w9 v- u2 z# H; `  d' U2 b$ k* C
  1704. ;mssql.charset = "ISO-8859-1"4 X; X4 L6 ]  ~% t% C
  1705. * J9 @, @- E8 D& F5 m* n4 Q
  1706. [Assertion]# h1 y( m2 ]% a
  1707. ; Assert(expr); active by default.2 z; K9 F4 q9 x0 R# l
  1708. ; http://php.net/assert.active. i+ _. P( o! a' u
  1709. ;assert.active = On: K8 x7 {9 k9 P! r  Q. l, @
  1710. " {- h) f$ r/ ?6 d- a( Q# |
  1711. ; Issue a PHP warning for each failed assertion.' r' R$ F0 d9 {. o! u! h9 m! y9 }
  1712. ; http://php.net/assert.warning; v# D5 G- f- ~5 ^) x* {+ D
  1713. ;assert.warning = On# V: S. E7 Z& m8 ?; T5 R

  1714. ! Z. o% i) F4 `; Y6 P7 Q
  1715. ; Don't bail out by default.
    . v, F" V! }5 v# }" ]3 Q  ?2 \
  1716. ; http://php.net/assert.bail! D& _& u) w2 q) ~/ m4 f
  1717. ;assert.bail = Off
    & R) ?2 e2 p+ U4 {* Y2 t
  1718. # B3 _* x' z6 L0 m( Q6 v
  1719. ; User-function to be called if an assertion fails.1 o& X" H; k5 E" H
  1720. ; http://php.net/assert.callback
    + @, I; t( X2 w8 ]  o! ]7 \
  1721. ;assert.callback = 0
    8 g% z1 a- ?4 r" Z
  1722. ( k. H; H3 R- t7 e! u+ R
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    6 ~3 `" ^- e  Y( j- D, O) e- {3 q4 w
  1724. ; error_reporting(0) around the eval().
    1 K5 d. C% A& m9 d( ]) p& l# A
  1725. ; http://php.net/assert.quiet-eval4 B3 ~# u, K# D5 ^
  1726. ;assert.quiet_eval = 0
    . q2 F7 l+ k: Y. W# t- z% y
  1727. " S. n4 b; k& ^  J% D
  1728. [COM]" D- w: p  D3 H! O! }% ?6 k
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    # E- m% ^9 C3 y$ J4 u8 R2 Y0 M' C9 J
  1730. ; http://php.net/com.typelib-file
    : G6 o: K. W& k8 F
  1731. ;com.typelib_file =. i& K6 B) W$ w7 _
  1732. " k0 h3 Y( S4 J% _0 L) o9 ~& w
  1733. ; allow Distributed-COM calls+ y+ `, C+ m% u! o# C- v
  1734. ; http://php.net/com.allow-dcom
    ! k, d: U8 |; v; j
  1735. ;com.allow_dcom = true1 T( N7 v8 K/ I4 J

  1736. ! p  M3 w' G& r9 U4 k* _6 s
  1737. ; autoregister constants of a components typlib on com_load()9 ^% k# M( z, R( t
  1738. ; http://php.net/com.autoregister-typelib! Y( @, U9 C$ x- t6 i- G0 b
  1739. ;com.autoregister_typelib = true' F0 L  l1 S* U. s0 Z2 h
  1740. ( j. t- G& [9 l) w$ K  V
  1741. ; register constants casesensitive
    8 m' U; |- j0 c. F! ]
  1742. ; http://php.net/com.autoregister-casesensitive
    . c  V4 ?. C& U
  1743. ;com.autoregister_casesensitive = false
    5 K3 u- s+ t' u1 M3 \

  1744. . l' X* D: r4 p
  1745. ; show warnings on duplicate constant registrations' \3 J, K2 @1 R9 h3 u. r
  1746. ; http://php.net/com.autoregister-verbose
    * L% x8 E$ o' l: s7 u6 m3 U
  1747. ;com.autoregister_verbose = true1 R3 a8 G: O9 [+ @9 p+ q5 q% R: m& d
  1748. ) d$ Z; q* A  M. q- J9 c
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    % b. x% r# F+ b% S% B5 Q
  1750. ; Default: system ANSI code page
    . j# K: h0 E) W1 y; f
  1751. ;com.code_page=
    3 I& I. R3 b9 {7 a- y: b
  1752. ' X/ |+ v, n' Q! l2 q' B3 @5 l/ ~
  1753. [mbstring]" V5 C& @3 t* J
  1754. ; language for internal character representation.
    # V' q. T) T( H( u$ p
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.% [8 S" E* b% x: o  Z  ?2 h
  1756. ; http://php.net/mbstring.language& }/ }8 b% K) F
  1757. ;mbstring.language = Japanese
    " \* ?% r% x8 v* ^8 _$ m5 G4 }
  1758. * z9 t9 l, o2 r& y# c1 B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.& p5 u, I7 e6 }* C4 w" {
  1760. ; internal/script encoding.
    3 O& ~8 F( o8 _) i5 z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" H5 M# l' R( u3 `$ a8 C
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 T# M, T! k; p2 T4 H
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" \* X" E, L5 `) p, u  {
  1764. ;mbstring.internal_encoding =
    0 ^3 U# V) g) n& X+ p
  1765. . i# _1 ]" w/ d' d9 j
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.9 y* O) F2 w; b* s5 R* d; L) T
  1767. ; http input encoding.
    5 L0 f3 c8 i& y# O9 E# |+ Z
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    # E$ h5 P) \" G  T/ K
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 R: r+ O: ^& I1 U
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: y5 e! ?4 _1 a3 H/ L) _6 `
  1771. ; http://php.net/mbstring.http-input, T7 ?% W$ S% b7 q# j6 [
  1772. ;mbstring.http_input =
    9 m) v) N4 t! f) v

  1773. 2 ^" Z8 G# a8 L9 q9 Z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.$ }/ s6 ^. Q8 s3 m) s6 G3 p5 ~3 ^
  1775. ; http output encoding.
    , _- }9 x. ~& P1 C0 }' b
  1776. ; mb_output_handler must be registered as output buffer to function.& O) {$ K$ \5 ?: X+ Y) D
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# ]8 R) |0 u" }$ r6 M
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ( [0 k. ~9 B& b3 {8 G3 N: Y* p
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : k0 O1 e( P/ [+ ]5 n
  1780. ; otherwise output encoding conversion cannot be performed.# \$ t! f. T7 ?- E
  1781. ; http://php.net/mbstring.http-output
    - M2 B' A# g, j
  1782. ;mbstring.http_output =
      d0 x( s: c6 [

  1783. ( u' Y9 \( T) Q* R
  1784. ; enable automatic encoding translation according to
    # K9 Y8 T/ p% E4 ?! r* A& d$ R/ f
  1785. ; mbstring.internal_encoding setting. Input chars are/ P! T3 _  s, j) o4 V; m
  1786. ; converted to internal encoding by setting this to On.; ]  o; |' n9 n9 q, c
  1787. ; Note: Do _not_ use automatic encoding translation for
    ' L5 g3 u4 ]( m- ~. ~# K5 S3 d
  1788. ;       portable libs/applications.
    $ A! F# t- X2 o2 D
  1789. ; http://php.net/mbstring.encoding-translation2 U+ [2 k' w! c0 d
  1790. ;mbstring.encoding_translation = Off
    3 j: e* L/ b. r
  1791. * p  U0 x3 k; C' a: M% [' s, [
  1792. ; automatic encoding detection order.
    & ]% s- ]* a; m9 W" b4 l1 [
  1793. ; "auto" detect order is changed according to mbstring.language5 E2 K2 G" M- S. N
  1794. ; http://php.net/mbstring.detect-order9 X; J2 w! K. J8 L0 N! p  {$ Y
  1795. ;mbstring.detect_order = auto
      \) d* L1 y+ W
  1796. 1 l1 o) R+ f, y( Z  K( M6 ]
  1797. ; substitute_character used when character cannot be converted& G/ l- l/ h3 ^; M3 O9 g0 w4 s3 A
  1798. ; one from another2 t9 l" w+ P% n# {1 Y, |" _
  1799. ; http://php.net/mbstring.substitute-character* S& s* ?$ b0 i$ c3 M, Q3 h% Y; y* N8 C# }
  1800. ;mbstring.substitute_character = none7 U9 e- U" p% ]1 a; }* [  k

  1801. 9 t0 o+ Y- h0 Q0 V2 x2 C
  1802. ; overload(replace) single byte functions by mbstring functions.
    4 Z3 `$ i& T: j6 i, M9 s$ r
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
      C" O3 T9 W  Q& I% s. Q1 z. M1 z4 ?; w
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.7 o# _2 ^3 T; S6 H4 K: w  `% A3 E1 v
  1805. ; For example, 7 for overload everything.- W9 b# O1 X3 S- X0 X5 m1 |; q
  1806. ; 0: No overload
    : B- _* P0 M6 i( m% W
  1807. ; 1: Overload mail() function
    9 o% q5 S' _. |
  1808. ; 2: Overload str*() functions/ l9 p- x( P2 |5 d5 p' m) r
  1809. ; 4: Overload ereg*() functions: U' h7 ^7 H8 I. i1 w- s
  1810. ; http://php.net/mbstring.func-overload, Z9 a3 Q- t0 P6 N: ]8 D
  1811. ;mbstring.func_overload = 0( l8 L, L: v* B  j6 L  S
  1812. 3 \* y7 R8 B" e1 ^% u
  1813. ; enable strict encoding detection.
    & X4 u/ [3 G1 ^+ j* s  z# J
  1814. ; Default: Off
      p% ^3 k% N9 @" ^, m
  1815. ;mbstring.strict_detection = On
    * j% A8 v; ~6 ?$ o

  1816. - |/ o* i& o. H7 G2 ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 [; ~/ Q8 t) D& U4 m
  1818. ; is activated.
    5 U7 U# |5 q* G( \! ]9 r
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 Z  O- W+ [: n& L9 ?6 a
  1820. ;mbstring.http_output_conv_mimetype=* m3 {: k( y  ^0 o& ]! \
  1821. - |; @4 E; I6 z5 w
  1822. [gd]
    5 S+ T/ n3 ?! S9 |8 j3 k  `, A
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    # A3 Q& r- D3 U8 D1 w; R, Z
  1824. ; a gd image. The warning will then be displayed as notices
    ! c7 o1 ?) n$ ?6 g4 m
  1825. ; disabled by default0 R# `# B- j; Z) o3 B! h8 c& G
  1826. ; http://php.net/gd.jpeg-ignore-warning/ X' ]% f2 K  b- c# ]/ O: Y, }
  1827. ;gd.jpeg_ignore_warning = 0
    8 u4 A4 _$ T* E" }0 y. d
  1828.   a+ ?; q, O' J7 N2 U8 T* v9 g& Q
  1829. [exif]: U2 T9 r" e" s4 k
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    " h& ~: M9 H# f8 M3 b- k
  1831. ; With mbstring support this will automatically be converted into the encoding/ @! I5 l0 Y& d0 x
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ) C* S) B$ W5 R3 W5 _+ f. q
  1833. ; is used. For the decode settings you can distinguish between motorola and
    2 A  I' W7 |( c- _) _
  1834. ; intel byte order. A decode setting cannot be empty.
    " G3 x! o7 r$ X0 R
  1835. ; http://php.net/exif.encode-unicode
    & u3 i2 Q/ w: `8 n9 D' t4 ~2 z$ H7 r2 N1 N
  1836. ;exif.encode_unicode = ISO-8859-15
    , r; n* `, V7 C* z8 }

  1837. 4 p* R( Q' F' H+ b% k, e5 n
  1838. ; http://php.net/exif.decode-unicode-motorola
    4 d  F5 d( `/ t
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & W* `/ h/ J, E! `
  1840. + t" x0 N( H( G/ V+ p0 |
  1841. ; http://php.net/exif.decode-unicode-intel
    + J: ?  f; \( h5 w: m( x; d
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    " q# i& Z3 b% g3 @" ^- E
  1843. 6 m. g2 A, w) o5 |- R$ _2 U0 W2 r
  1844. ; http://php.net/exif.encode-jis' I9 C% _. D! i0 y# k8 U
  1845. ;exif.encode_jis =
    6 X3 d% _# J" e; ]8 o

  1846. ( W! I& v$ ]  ]' P5 V
  1847. ; http://php.net/exif.decode-jis-motorola
    ; Q9 B7 |' a! s2 w! x! s
  1848. ;exif.decode_jis_motorola = JIS- Z3 h+ ~  o! v- c7 S& G
  1849.   T* `! g' p  g( T
  1850. ; http://php.net/exif.decode-jis-intel
    ' b3 m# N1 M% x3 x1 V' H
  1851. ;exif.decode_jis_intel    = JIS
    8 t1 T1 T- C! l8 D4 ?5 P

  1852. , w  B( r, r1 N( w9 n
  1853. [Tidy]
    - q: @) Q: f  r6 v2 q3 `
  1854. ; The path to a default tidy configuration file to use when using tidy& x6 ^# o* G+ Q8 o' k" S. J2 k* Y
  1855. ; http://php.net/tidy.default-config& B- @7 o6 F- h; f; x: H/ g* e% p
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 v& j- ]9 e! H6 y1 \# S8 w

  1857. / {. ^* ?! y0 e+ w
  1858. ; Should tidy clean and repair output automatically?
      c7 f9 F7 O$ ^* d; e
  1859. ; WARNING: Do not use this option if you are generating non-html content
    : d+ b; Y; C0 c1 J. v1 B
  1860. ; such as dynamic images
    & i, H* N6 X: |( `! @& V! M
  1861. ; http://php.net/tidy.clean-output2 D, K# U+ H" M5 R# V, U
  1862. tidy.clean_output = Off7 x7 Y& J. Z' M8 j' r
  1863. * Q3 F$ H" o& G' l
  1864. [soap]& J! o9 T2 n0 P' @# k$ l" v
  1865. ; Enables or disables WSDL caching feature.( y/ B" F5 F( `! o2 C
  1866. ; http://php.net/soap.wsdl-cache-enabled8 S* e" C7 F. U
  1867. soap.wsdl_cache_enabled=1, `- s8 n2 V/ @9 g9 n" ~
  1868. * a. Q" O/ A5 ~- S% |! y( k3 Q+ W
  1869. ; Sets the directory name where SOAP extension will put cache files.  i! ~7 h1 g6 u  y* c; E" u3 ^
  1870. ; http://php.net/soap.wsdl-cache-dir5 Q& q7 p# v! ?0 i1 }9 P
  1871. soap.wsdl_cache_dir="/tmp"( H9 Q8 I+ r& r' V0 N

  1872. % ~8 j8 O1 E  w5 q& @* ~$ h( u
  1873. ; (time to live) Sets the number of second while cached file will be used$ a: j5 C( U  @# h
  1874. ; instead of original one.- X+ r) m! l% c: B* W; X
  1875. ; http://php.net/soap.wsdl-cache-ttl
    0 g& Y3 `2 I" E" E3 @/ s
  1876. soap.wsdl_cache_ttl=86400
    . y4 p: j1 V6 b; c

  1877. 4 z8 w) d# \) H( S/ e. c
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)- j- Q- r" [5 _
  1879. soap.wsdl_cache_limit = 5% u3 Z! ~( S# [# l

  1880. , I# G8 c1 G/ v& q/ r
  1881. [sysvshm]
    $ N- U( g5 }6 j- a) q4 W/ w. m
  1882. ; A default size of the shared memory segment
    , D  ]! @* B* q9 h7 p
  1883. ;sysvshm.init_mem = 10000' c' c( [; B1 A( F+ C' m
  1884. & N9 }, }$ i6 c1 g% E3 C
  1885. [ldap]& u" y% w; X( i$ l) _0 B, z
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ! n+ m0 C) C+ w) i% C
  1887. ldap.max_links = -1. L! E1 u& r: t" C% {

  1888. % G% Q, U9 I' [3 c) _' K' ?
  1889. [mcrypt]# j6 l( J; {8 _" X8 u6 W' l
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ p" V( x2 S5 t5 S8 k
  1891. 7 S% w# @, `/ ]$ t
  1892. ; Directory where to load mcrypt algorithms
    . q$ j& S5 J, B% _" j
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - V1 J7 v$ d" ~. G
  1894. ;mcrypt.algorithms_dir=8 g# p; t% U* i/ w( B& E" Z/ l
  1895. 4 g+ \7 U2 f. k  y& B
  1896. ; Directory where to load mcrypt modes4 ]* B( z1 F7 B3 g3 E
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 v: \/ S5 ]% k# R; @4 X' q4 w2 L
  1898. ;mcrypt.modes_dir=
    6 ?* }1 y. m  b9 O9 A# K5 N8 D, ~
  1899. ) H) Y5 I" f" ^9 P
  1900. [dba]
    0 Q# j7 F% b9 t- t
  1901. ;dba.default_handler=* M( s' j5 s* Z7 p0 o* f
  1902. ) r9 ^0 p$ |% O: {" b
  1903. [opcache]
    , e0 N  a4 D# Y/ H$ f! F
  1904. ; Determines if Zend OPCache is enabled
    1 E! P( }/ p  i: R; A
  1905. ;opcache.enable=0, W; S9 T- x; q3 `

  1906. " W& D2 R: u; r
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ' ?  @% L: b/ O
  1908. ;opcache.enable_cli=0! w+ T3 W2 q. `/ O5 l2 b. e
  1909. 5 g, i) R" S1 W- }
  1910. ; The OPcache shared memory storage size.5 x- w1 W, t- V) r# Q2 V* w
  1911. ;opcache.memory_consumption=64) ~5 X$ i% `, a, l) I7 S
  1912. 6 v  z6 A! w2 g" J+ _& [! U+ M) j
  1913. ; The amount of memory for interned strings in Mbytes.5 ]$ H  i) y7 ~
  1914. ;opcache.interned_strings_buffer=4
    * l$ S) P! E; L) i: l6 Y

  1915. 9 [- r* ?2 U3 {( Y# K+ K& g: D
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.1 b7 O7 T! x8 T5 Y8 `/ L
  1917. ; Only numbers between 200 and 100000 are allowed.
    8 G  Q' I$ h( l* U$ ?
  1918. ;opcache.max_accelerated_files=2000+ O& |7 A3 _" r6 T' o6 R; c. f
  1919. ) j' w) Y) M, n) n
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    & ]2 E! d# U9 [9 }* I
  1921. ;opcache.max_wasted_percentage=5
    ' J: L  P" e% f! x: h0 }4 y' A

  1922. ! {* N8 H, |0 P& w- N/ G+ K. X
  1923. ; When this directive is enabled, the OPcache appends the current working
    - }1 B) e' F' Y- E: h# J
  1924. ; directory to the script key, thus eliminating possible collisions between+ Y/ W$ g- Y3 M$ f
  1925. ; files with the same name (basename). Disabling the directive improves
    ( D; @/ q$ V6 e  g
  1926. ; performance, but may break existing applications.9 l1 h' t/ E: I, t- f
  1927. ;opcache.use_cwd=12 i1 s' X$ W& ?# S

  1928. + v2 n, z9 T& P' n& x* M$ g
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 ]" T- g, \7 u( ]
  1930. ; webserver for changes to the filesystem to take effect.
    : f( j$ r" y6 u9 ]2 p& n4 y8 n
  1931. ;opcache.validate_timestamps=1/ ?4 W8 \5 \6 b& V5 \$ {

  1932. & H, P5 z% E. d
  1933. ; How often (in seconds) to check file timestamps for changes to the shared* u; _* a% a# T1 Y- c
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    4 h. ]" ^! Q/ H
  1935. ; once per request. "0" means always validate): m4 B9 G. j5 R( n; J9 {, r
  1936. ;opcache.revalidate_freq=27 _5 T2 t' k! r
  1937. 2 e1 b7 V4 d; G/ q3 Q7 c
  1938. ; Enables or disables file search in include_path optimization7 V) [# a# k3 Z4 z* G& d
  1939. ;opcache.revalidate_path=0# [7 A. k4 E! B  ]) ~# R4 m: K: W( b
  1940. 8 k7 a& Q( Z! z' Z; S$ G$ c
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the& w* n' M) h+ A0 u2 R& Y7 u6 }3 Z) H
  1942. ; size of the optimized code.
    % `( F. c3 E- t  ^
  1943. ;opcache.save_comments=1
    5 v+ E: ^! \' G. ]2 V  G5 R

  1944. ( g! |+ J: l5 I& w& s
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    " C) i. W+ k! ?$ \! J4 C. c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ( T7 t1 E. \% c$ r  H
  1947. ; that don't need them anyway.! H) c) B4 k$ D3 z
  1948. ;opcache.load_comments=17 d. s, Z/ @  n4 V) G
  1949. : m! z8 \$ v3 F1 H
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 G* r' ~" X" c' A. n
  1951. ;opcache.fast_shutdown=0' w! P- x* z% _/ Z: E
  1952. / P8 }& @- K; @  \6 f( N. z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.. w8 T- J2 z7 e) x* `. E
  1954. ;opcache.enable_file_override=0
    - W; a# ~( G4 ?* n' E: B% @4 `$ k
  1955. * i5 ^' C: G6 m( |2 G1 |6 b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* }! e/ F- B7 O% a( Q, }4 c
  1957. ; passes
    4 d4 |) [+ D; ^* h% E
  1958. ;opcache.optimization_level=0xffffffff- Q0 B" @2 G1 a% e7 |
  1959. 1 f- I. u2 ]+ q9 @" c) P; u
  1960. ;opcache.inherited_hack=1
    2 Y; q8 t5 l  m8 q
  1961. ;opcache.dups_fix=0$ I% w( i; V  s
  1962. 4 K" a, {- P$ A7 J9 F2 k
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 R  k8 n+ W' ^7 c2 H% U$ |  \: v. T( t
  1964. ; Each OPcache blacklist file is a text file that holds the names of files9 g7 O6 o6 |$ v2 \
  1965. ; that should not be accelerated. The file format is to add each filename
    # Q. s& k  h  k; E
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 ]) c+ F2 x, j
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- q7 b1 q4 I4 i% I6 v/ t- ]
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 R2 G2 a# _/ h' C9 }6 z7 v
  1969. ;opcache.blacklist_filename=( l& Y$ C- l$ a9 p: F7 E

  1970. 2 R$ f4 [& T8 c5 [0 {2 s+ X- p" S
  1971. ; Allows exclusion of large files from being cached. By default all files5 y& s1 d/ _6 W$ a+ O
  1972. ; are cached.
    & B4 B# i" w/ n) K
  1973. ;opcache.max_file_size=0
    7 D; H0 V1 z2 o1 @1 i
  1974. ' d, W: Y6 W, f  v9 w0 ^2 ^& d8 Q
  1975. ; Check the cache checksum each N requests.
    * m" ]+ o) \; M1 o% u" T7 X
  1976. ; The default value of "0" means that the checks are disabled.4 i4 M! m( j" i2 C
  1977. ;opcache.consistency_checks=0- [& x1 `( Q& X: W5 S) ]: X. N9 Y) o  a
  1978. * b* h+ n% V5 R/ M5 V3 W
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- X9 w# m, V: h
  1980. ; is not being accessed.$ p, h  [+ v0 q9 }
  1981. ;opcache.force_restart_timeout=180  u( p# e% N: k, J$ a/ J- o
  1982. . @* j% T0 W5 A# V: ~4 V
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    , d! f* Z1 S/ `* V) ?
  1984. ;opcache.error_log=" T  B1 I4 b" X6 W/ G3 {" M; P
  1985. % O. o) v+ A# ~' Z9 t, T9 L5 i
  1986. ; All OPcache errors go to the Web server log./ b6 \  z4 [% `  `1 z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 {! K+ ~3 X9 y) p+ r7 @* F& L
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    8 V# a6 L% K! u0 P" E- x0 ]
  1989. ; debug messages (level 4).' X: V  |8 h  C; n* j
  1990. ;opcache.log_verbosity_level=1
    0 r) ?6 Y7 i$ R$ {: v5 f. r  C
  1991. & t  g9 N" d: }3 j$ G( H; a
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    + z5 K% D2 J5 u2 M
  1993. ;opcache.preferred_memory_model=% u! I3 `# x7 n0 Y# q

  1994. $ }& y& L' o( o% P7 P2 k$ }$ g
  1995. ; Protect the shared memory from unexpected writing during script execution.' _+ w: ?. g2 k7 L* k( k1 h. I* H3 U
  1996. ; Useful for internal debugging only.1 }% W% x$ e2 X- d; j
  1997. ;opcache.protect_memory=0
    ; Y6 B( e/ I% P* A

  1998. # v9 _$ f+ y3 T( c6 n7 Y5 u5 M
  1999. ; Validate cached file permissions.. f7 N7 G7 M+ ^6 u' M
  2000. ; opcache.validate_permission=0
    8 Q# h  n- E9 c# i3 Y, L9 A' M

  2001. 7 ^9 B2 z% ?- W% X, ]
  2002. ; Prevent name collisions in chroot'ed environment.
    & w; z! Q! V7 C( q9 w# V
  2003. ; opcache.validate_root=09 a3 W0 Z- p8 f

  2004. % E) t, y) p+ K7 ^  N3 l
  2005. [curl]
    4 c' k: c+ Q( V- f& S! u+ W* L8 s1 I
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    2 y6 B5 ^8 J, k8 m0 b. ?
  2007. ; absolute path.# s0 [( u, c- B$ W9 t+ q3 G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt9 P; ~) j" _& h7 R$ F) u7 W& }
  2009. ) |9 I2 V! h; o4 P4 [$ ~/ _
  2010. [openssl]" f( p' N1 W; Q8 I' Q( X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    3 D: P! m, m- B
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . k' L& O! }6 K1 a  g! y- e6 ^
  2013. ; not specify a value for this directive as PHP will attempt to use the; D+ O% u& f5 d
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    + r4 n8 W2 ?4 s! ~
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 M8 `" t$ T6 I- O) w" t
  2016. ; option.6 x3 z" _2 J3 u8 O3 f
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ w% J; m! G. C1 e

  2018. " N9 ~7 [( B2 ~+ Q) k, j7 F& ^
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    % D8 X5 Q- D( F2 w
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    6 I9 l) I3 P& _: B3 j  L
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    4 @% _! ~7 E9 L* d
  2022. ; Most users should not specify a value for this directive as PHP will
    $ f! {0 R8 n) b6 K
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    8 X/ _- t1 y: ~- Y, ]0 _( y4 U' ^
  2024. ; this value may still be overridden on a per-stream basis via the "capath"% l% }$ ]+ ^! S
  2025. ; SSL stream context option.
    ) g2 s' ]' b" C. c, m
  2026. ;openssl.capath=
    * i! P  m; A0 Y# d
  2027. 0 r8 M; U( V9 v/ f. F
  2028. ; Local Variables:
    7 f" ?9 i8 Y: Z
  2029. ; tab-width: 49 T6 Y! ~8 d8 G& F- r" r
  2030. ; End:
    " e' H. e, C4 h" p
  2031. ' Q! z# Q2 q* r1 x& a  Z
  2032. ;eaccelerator
    * n$ l/ k/ U/ p, y

  2033. ! u% f6 j4 U+ z. ]* V& w# x
  2034. ;ionCube
    3 E1 ]( x5 n. _9 S

  2035. 2 A  E! d. r# ^& l1 s3 C  ]
  2036. ;opcache( Y1 K* u% ~$ b6 m* w/ P! A- n
  2037. ( R0 F- j# }9 ?& T7 Q: ], g4 o
  2038. [Zend ZendGuard Loader]* ?. u& B" _0 E* K% Z$ ?# y; R
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so2 m( y2 D  q2 h! ~3 s  M5 X7 u: Q( g
  2040. zend_loader.enable=1# D& K& Z( _$ I2 y5 H: t
  2041. zend_loader.disable_licensing=0
    - D4 S; k5 E: v% I  B
  2042. zend_loader.obfuscation_level_support=3* c1 r7 m+ E5 t7 \$ @0 K
  2043. zend_loader.license_path=
    4 b/ m- a" ~8 B! j
  2044. 3 s! Y- b7 {6 A8 B) {, e- n$ _$ L
  2045. ;xcache3 T) @, `' b! a# x/ V! l. e

  2046. ! n: q9 _3 x' K9 w0 @& p
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
& _4 Z* D4 {5 g" F
% D- Z- ^) A8 _: w6 r! _: y5 x5 f& L0 o; q9 G
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
- f( M, i  M6 s( W8 X) Q5 _
6 c' o2 V5 k% k9 v$ C9 E; kDiscuz!程序版本选择:# n1 @3 Q# x- W/ b0 f! b
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
3 f6 C) d! r# Q' C1 E& F不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
( v  U! D- L) W+ a; e' F& w: h3 mDiscuz!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。2 C1 T7 _* `: N4 x

9 G! B) P' W, }/ i- VDiscuz!插件模板版本选择:
5 e! g' s% j3 z1 D  c很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,( _- k& @6 Y7 [+ v+ \
针对这个问题做个统一的普及:
. W' P4 B. N- W, Q& L7 c2 NX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。9 c  [5 N/ F  C* f4 `
) a. j$ @0 _9 J8 r) N: p6 U
所以
( y& J. L6 n' P; K适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。: [5 P* h" J1 k/ Q
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
6 ^" a* p3 O+ i- F注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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