分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 G# u$ e( F3 P+ `- D3 q, F5 z" b7 p* ^, [9 o9 W: M
  1. [PHP]
    + F7 _7 q% Y: ]2 y

  2. : e0 `* }, a8 [, W# |4 S
  3. ;;;;;;;;;;;;;;;;;;;* f/ ?8 n4 e2 Z/ C4 ~6 w
  4. ; About php.ini   ;; ^  d* [) U0 `: _4 z7 B
  5. ;;;;;;;;;;;;;;;;;;;
    - @3 {0 j" W4 W6 p4 U* ?( p* @4 o
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ( n3 y& v+ q) ]5 |
  7. ; configuring many of the aspects of PHP's behavior.8 l$ M. m( O) k' r
  8. & B5 d1 k# P$ z8 j8 R
  9. ; PHP attempts to find and load this configuration from a number of locations.: v6 @& S" o% |$ p4 J0 Q. I
  10. ; The following is a summary of its search order:( {" a$ L& U: w/ U" d( s& C
  11. ; 1. SAPI module specific location.! F- L' |% L* K1 r& ^  [) O7 h
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 o( y& e( Y. V  _
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 T7 ]( Y' Q2 [* S, O6 c' T
  14. ; 4. Current working directory (except CLI); i8 T6 F" m5 c5 t% F$ d+ u/ |
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* ?2 |7 V  {# [5 |" Y- |) {6 C
  16. ; (otherwise in Windows)9 w7 B. n8 _. @& j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ! o: u# g& \4 ]
  18. ; Windows directory (C:\windows or C:\winnt)
    3 u0 B, E4 I+ b8 g& t! u: Z* A1 Z% x
  19. ; See the PHP docs for more specific information.
    : L% v& J& J9 o- A" m' Z
  20. ; http://php.net/configuration.file
    ' U3 }8 u+ u3 N3 W8 J& r4 A

  21. 2 S# F, i# {& ^: e/ {! [7 u
  22. ; The syntax of the file is extremely simple.  Whitespace and lines0 X0 N, W* \, ]( e) M0 y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    / `% ~* a3 b2 ~9 F5 A$ r% B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& [* H/ f+ e7 a/ `
  25. ; they might mean something in the future.0 E4 }- R& o9 F8 \1 Q
  26. 9 J/ _1 Z9 I6 R$ r4 P
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ; r; _* W: a. u
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 c7 l! u8 Z) q2 I
  29. ; following the section heading [HOST=www.example.com] only apply to$ i4 v6 t+ F% m) X. o/ j% Y
  30. ; PHP files served from www.example.com.  Directives set in these1 X% n, j6 |- S
  31. ; special sections cannot be overridden by user-defined INI files or% l- v+ q1 V$ [; X  P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" |5 w2 U* k" K! B
  33. ; CGI/FastCGI.
    % K) A; ]4 D$ }/ ~6 o* r7 A" X) R
  34. ; http://php.net/ini.sections
    & p  Q' F) s1 x# P
  35. & U2 I9 P: j: ~* w* |
  36. ; Directives are specified using the following syntax:
    3 F1 S/ O& e2 ^9 T
  37. ; directive = value
    * A$ X& S3 _% K+ q6 |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
      R! Q+ f7 J6 ~* T2 n$ S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    7 Z& j3 i* p& B! p- Z
  40. ; There is no name validation.  If PHP can't find an expected. U8 E  N. ^2 S8 [: N
  41. ; directive because it is not set or is mistyped, a default value will be used.8 h2 \) p5 T! Y7 I9 B
  42. & V1 r5 P# A8 U$ L6 W" y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 T3 k$ Q$ a; D) M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + u: a( U" r2 R, ~4 O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % ?0 A( C6 j1 X* q8 ^8 P
  46. ; previously set variable or directive (e.g. ${foo})
    2 I( p4 |, K/ }3 l: p

  47. 5 _9 v3 h/ w  e
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:/ P) e, V- |4 K9 K- U
  49. ; |  bitwise OR
    ! [1 C. q7 V4 B* _: S3 C
  50. ; ^  bitwise XOR
    0 N6 D2 D* `( [' l$ j& ~7 {9 m
  51. ; &  bitwise AND
    0 n9 P" O1 b7 t% M; A" I5 s  D( \
  52. ; ~  bitwise NOT
    ; ^( a, A  O2 Z
  53. ; !  boolean NOT1 Y2 t8 Z3 s5 ^( @' S7 d+ O9 p
  54. : Y# T# \6 I7 _% |
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' _% k; j- }0 G( u
  56. ; They can be turned off using the values 0, Off, False or No.. D% u1 K! G& z6 a# @* O

  57. ) A) E4 \8 B5 I
  58. ; An empty string can be denoted by simply not writing anything after the equal
    6 k% n- @) I. y; `$ v' r4 E. o
  59. ; sign, or by using the None keyword:
    & W! r7 v$ U& Y/ n: S& _% \" q' J

  60. - {- _+ I( W( G0 r. B6 H- @5 s6 B
  61. ;  foo =         ; sets foo to an empty string2 `0 s1 m5 n1 d$ ^. }6 P
  62. ;  foo = None    ; sets foo to an empty string3 M1 C: o5 y; k# s, {
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 K) k5 M& U7 ]9 Y& t$ b! ?

  64. 8 z# j2 s. M5 V5 h. Y
  65. ; If you use constants in your value, and these constants belong to a
    . f* m5 Y4 O+ J: j7 R/ J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),4 M4 {1 O2 f' G7 ]  d
  67. ; you may only use these constants *after* the line that loads the extension.
    , m# H# n" r# d# l# ?% ]; f% N
  68. ' h9 _/ `: {: j. ?4 q  V
  69. ;;;;;;;;;;;;;;;;;;;
    9 y5 I2 W1 |$ |9 a
  70. ; About this file ;
    6 k% M4 M0 R8 f- d
  71. ;;;;;;;;;;;;;;;;;;;5 N, a8 O6 R+ b& W# }6 @
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  I# R; I& R1 K, M& @! X' y: c
  73. ; in production environments and one that is recommended to be used in
    2 e* A4 B0 {# I, x& T
  74. ; development environments.
    - I. X' M: `9 a7 l8 I

  75. ( r7 G: }/ G; C- Z
  76. ; php.ini-production contains settings which hold security, performance and  ~6 l3 ^8 U( g9 _/ W& Y
  77. ; best practices at its core. But please be aware, these settings may break
    0 T& R3 B  V$ L$ y8 e  S. ^) u) T+ a
  78. ; compatibility with older or less security conscience applications. We4 a/ {/ W$ V) T
  79. ; recommending using the production ini in production and testing environments.
    ) f9 M6 i7 m- Y# `  x

  80. - S$ S( v. U9 ]) a
  81. ; php.ini-development is very similar to its production variant, except it is
    8 w' x/ d9 y" j
  82. ; much more verbose when it comes to errors. We recommend using the
    2 E* e. x; r7 i$ e
  83. ; development version only in development environments, as errors shown to
    3 [# D) M- a( ~* J
  84. ; application users can inadvertently leak otherwise secure information.
    / l- C$ L4 p8 E5 O7 z4 e& p: x
  85. 9 ^# t3 s; M. c
  86. ; This is php.ini-production INI file.
    6 r0 V! @4 K* F

  87. . Y# q! R  Y5 k
  88. ;;;;;;;;;;;;;;;;;;;' p6 E  N& T3 q- r/ W* |
  89. ; Quick Reference ;
    ! T) n! k6 H; [
  90. ;;;;;;;;;;;;;;;;;;;
      {9 }3 P8 k: V, B4 ~- H
  91. ; The following are all the settings which are different in either the production
    : |) G, R; w* g& j2 }6 u7 H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 A. ^5 Y# ?' I, L$ y
  93. ; Please see the actual settings later in the document for more details as to why  i: S) a! u* Z6 k; m- L2 y% R$ B- v
  94. ; we recommend these changes in PHP's behavior.
    * o' N0 r' \* O! K7 f

  95. + f$ I& f* k# ]/ b* b9 J' [; v  p
  96. ; display_errors2 A; n2 y6 D+ S4 M) R3 ?0 n
  97. ;   Default Value: On
    4 I- w* A; Z* k9 |, C
  98. ;   Development Value: On6 p% A# C& E, Y5 _4 |- N
  99. ;   Production Value: Off3 Z4 P* w/ s6 L' U. h9 t- @! i
  100. ' R( e/ Y) R0 ?& y) Q4 r4 ^" m
  101. ; display_startup_errors
    & p! P9 w% m# ^& k3 c
  102. ;   Default Value: Off+ X5 L0 B: N0 V" a: P
  103. ;   Development Value: On
    , U3 f# A6 b5 y' K" b% \3 K
  104. ;   Production Value: Off
    . s) u, F! u" |+ ~/ A3 L+ f2 F8 x
  105. 0 ~! E% I, s6 r: D6 w; w
  106. ; error_reporting* y+ C! O( N1 w8 v$ |
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 V% y8 U5 y2 U7 J- Y1 D
  108. ;   Development Value: E_ALL
    + H7 i6 J9 m' \4 L8 t" K* G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& ]" o7 m, }, ^  Y% {

  110. , j8 l% j2 n: c9 B$ ?$ Y* s( \$ Q5 o
  111. ; html_errors0 F. P/ u4 ~: u5 I
  112. ;   Default Value: On2 D% p+ X' ]6 E( h
  113. ;   Development Value: On
    + k5 U/ p2 D5 E
  114. ;   Production value: On
    ! y. b; z9 l0 {" d3 A1 c
  115. 9 [+ ~& x  G2 Q5 |) [3 T" F; }
  116. ; log_errors0 d$ Y: Q# ^! T; H
  117. ;   Default Value: Off" q% K  I) L$ H- x  K: C( [' C0 J
  118. ;   Development Value: On
    3 a. l% r2 Q7 t  g
  119. ;   Production Value: On7 r2 N. y6 u3 V- A0 e+ B

  120. ( J' P4 ^) S& p3 X- y* E+ V/ p
  121. ; max_input_time
    0 a. f& {2 f! [! ^8 g1 \" D: s
  122. ;   Default Value: -1 (Unlimited)
    ; r8 X* v5 I, H$ C; r
  123. ;   Development Value: 60 (60 seconds)
    1 e# a* o; q4 ]7 Y' W
  124. ;   Production Value: 60 (60 seconds)
    % p# G' ?# V) a8 p

  125. 0 y: `" b0 ?! q6 d' d4 S+ Y
  126. ; output_buffering9 C* J% _# A/ w' E2 f. o; `9 l5 Z
  127. ;   Default Value: Off
    7 T( A5 H" q7 T4 h7 Z6 \
  128. ;   Development Value: 4096' g) Y) d  C$ E# B
  129. ;   Production Value: 40963 W. ~  m% e' N

  130. % Z9 `9 s" F, x3 q# P+ j! p
  131. ; register_argc_argv) J+ e3 I+ Y5 x% {4 @8 C
  132. ;   Default Value: On
      e" j7 t, R# u; ]! N' C0 @
  133. ;   Development Value: Off
    4 r* ~2 u' d. ^' g9 F* n
  134. ;   Production Value: Off
    & G$ T1 |- ?5 S2 ~: i

  135. # [3 r6 T! n: y4 s" k
  136. ; request_order' [7 |+ r: G6 D+ R- g2 r
  137. ;   Default Value: None3 l9 [+ p) I$ f1 h9 {( g& S7 P) Z# Z
  138. ;   Development Value: "GP"
    ' X" _: R( e# C. C
  139. ;   Production Value: "GP", g7 }) c, S. v+ g/ B  E6 C
  140.   i- h$ f) h1 U7 I# L% @* C
  141. ; session.gc_divisor) w3 j4 Z7 h3 L6 z8 ~# I8 H
  142. ;   Default Value: 100' L! B! J. I0 j4 {& M4 G! j
  143. ;   Development Value: 10001 ]" {4 e2 o+ F
  144. ;   Production Value: 1000% v0 H2 _4 w7 \+ U; y- P6 g
  145. 7 {1 ~1 ^* g) h# I% k1 w( }
  146. ; session.hash_bits_per_character
    * i  A* T- d- N, m1 N
  147. ;   Default Value: 4
    * p( h7 H* ]! H$ c
  148. ;   Development Value: 5
    6 p; C* Z% ^" o1 I4 k# ]5 G  c
  149. ;   Production Value: 5. l5 t7 }) t. B- J/ u% A

  150. - \" V6 ]( f+ ~1 C$ v, e
  151. ; short_open_tag( j. w7 d+ a9 q# l/ C  {
  152. ;   Default Value: On3 U: m5 m* A  w/ [1 T9 Z. X
  153. ;   Development Value: Off4 p, n9 z. G" Z, L2 T) i" T$ ]
  154. ;   Production Value: Off6 |9 B7 C& J" X! k& O  o. t

  155. , \/ @/ g0 V* M1 s- m# O
  156. ; track_errors
    4 d3 v' A6 ]1 t. }5 a) L1 I
  157. ;   Default Value: Off( J! u( U5 X) S1 L& ?
  158. ;   Development Value: On5 G7 I6 \4 h1 c" U" R* @2 t4 b
  159. ;   Production Value: Off
    ) b5 j! w  ?; o9 q2 t+ ^
  160. 7 ^( B# [9 J+ R7 u  c+ B7 D: V
  161. ; url_rewriter.tags
    + [; C4 y+ D$ H. W9 N, y6 H
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") ]! r, q- F" g( q/ `. Z; B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : u; Z  R" Z: j  b0 _5 c. _8 n
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( E& |4 z9 W' f9 ?& j% O8 I
  165. 7 w/ A/ D1 T5 F; @7 j* ]0 X, g
  166. ; variables_order
    2 x+ z) u$ f0 B/ A
  167. ;   Default Value: "EGPCS"
    , m  w! w- ]% f) y- N7 c
  168. ;   Development Value: "GPCS". Q0 Q' L/ g4 a3 ]
  169. ;   Production Value: "GPCS": t5 `" P- T1 s! ^- {; j# ]0 ~2 z6 t" E
  170. # [: H) q# k& L5 j: ?$ N( @" E
  171. ;;;;;;;;;;;;;;;;;;;;& M. E! B& [  R6 X
  172. ; php.ini Options  ;
    + M/ V' u4 X/ N% b; j
  173. ;;;;;;;;;;;;;;;;;;;;4 F2 V3 Y4 s4 k6 `
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" @8 r, D+ o' ?% ]
  175. ;user_ini.filename = ".user.ini"
    " G. z  j3 W3 l- \* Y1 e
  176. / P) u3 R& n) p+ Y" ]$ C
  177. ; To disable this feature set this option to empty value
    & T6 W" f- ]+ ~* {  ~
  178. ;user_ini.filename =
      j' K( Y' O' e4 o7 P
  179. 6 B1 l  _/ f. _3 f9 }8 }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & K; Z: H. B( C$ k" W& y/ T- v# ~
  181. ;user_ini.cache_ttl = 3005 c9 d6 ~7 A9 O8 m5 P

  182. + i# T# n/ `% ~6 Q7 h
  183. ;;;;;;;;;;;;;;;;;;;;) _- _7 L7 E$ i4 x( u+ v
  184. ; Language Options ;
    1 h$ ]& Z. J0 f- n/ v' l
  185. ;;;;;;;;;;;;;;;;;;;;5 u; C, P) c: y* V

  186. / h/ F* F& ?) w) m( B7 _
  187. ; Enable the PHP scripting language engine under Apache.
    ! ?! t& V- v) R7 n7 g% \
  188. ; http://php.net/engine
    ' |, t* K1 V5 k' l  S3 w
  189. engine = On
    % h4 |8 V: z- ?, [$ i! O( x$ L

  190. ! `' y" X* d) H" c8 _6 F7 u8 P  Z5 o: b
  191. ; This directive determines whether or not PHP will recognize code between
    " V5 R9 y* o5 O6 |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is! a$ A( O4 J' @9 e, J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 r: Q/ w" w& P! s
  194. ; should be disabled, as enabling it may result in issues when generating XML1 p# @6 z4 D3 n- e% ~# u! W
  195. ; documents, however this remains supported for backward compatibility reasons.
    * q, _3 R+ v$ P* U2 |3 \' @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 i, g4 j" z2 D* f( w  d, a
  197. ; used regardless of this directive.
    % d! W% l* y1 B9 F
  198. ; Default Value: On
    : Q: f! [1 Z, M; j3 Q' U3 _
  199. ; Development Value: Off
    7 `8 @8 [! I7 K
  200. ; Production Value: Off
    ! r0 b( h) c4 J2 l9 U% ~! a
  201. ; http://php.net/short-open-tag! U1 A9 p2 C5 c. e; g- v: ]) s
  202. short_open_tag = On
    3 s- n) _! M# P5 T3 Q. F7 s
  203. ' I  U) g3 u% d
  204. ; The number of significant digits displayed in floating point numbers./ Q2 x; n7 \/ |7 `
  205. ; http://php.net/precision
    ; Z1 V5 w6 |$ [) ?
  206. precision = 14) d- _  C" V1 T$ G& j4 S

  207. 4 a) }# e% T- g" W
  208. ; Output buffering is a mechanism for controlling how much output data# ^( R; X3 g; m% ?
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that2 ?7 y% _: [9 [
  210. ; data to the client. If your application's output exceeds this setting, PHP
    & m8 ?  R, F: U  [5 w9 [! F
  211. ; will send that data in chunks of roughly the size you specify.2 {) _4 @: }4 M3 S- |& e
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ( q( j' y$ T* w& `% J% K
  213. ; interesting side-effects depending on your application and web server.
    5 l) z8 S$ x! ]
  214. ; You may be able to send headers and cookies after you've already sent output2 b" H. _7 q8 j7 ^* c1 e) Z3 c: A' h
  215. ; through print or echo. You also may see performance benefits if your server is+ _5 W$ {4 e) G# U5 N  r8 h) G
  216. ; emitting less packets due to buffered output versus PHP streaming the output4 R' ^( j, V! u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 z5 x: a! l( T
  218. ; reasons.% ~# R: B7 @, p' v' Q/ y" I9 `
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    , A) p+ N7 A( {0 d6 \. m  V, z
  220. ;   functions.  Z4 [& R# H5 F1 n% d: t! ]
  221. ; Possible Values:
    $ K/ }' T# H7 K, p
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + m- `( x: ]% @$ j( f
  223. ;   Off = Disabled3 g5 f" M' o+ n
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.& u7 g4 P0 g3 d- A+ X7 X/ ?
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 ^5 c7 [! f/ T6 ^& Y/ ^+ k% w' C
  226. ; Default Value: Off
    0 S/ r9 s7 S" J
  227. ; Development Value: 4096
    $ {7 d. L5 G  j2 @7 V5 h0 q
  228. ; Production Value: 4096
    + E: ]) M8 S4 L/ v! y
  229. ; http://php.net/output-buffering
    7 A, r  J8 b) e1 t" _6 @. w& |; C
  230. output_buffering = 4096" w  ^- ]1 o" w8 S% L
  231.   e$ g! h) d3 i+ d
  232. ; You can redirect all of the output of your scripts to a function.  For
    * Y* u; @) g( ^$ p5 [$ r. \# a! d- Q
  233. ; example, if you set output_handler to "mb_output_handler", character
    , N% s) m; I- t; c( S
  234. ; encoding will be transparently converted to the specified encoding.
    ' S8 q6 m( |& b- z' D" D& |
  235. ; Setting any output handler automatically turns on output buffering.
    : b7 o* J7 b& I0 B6 U6 V" I1 b# o
  236. ; Note: People who wrote portable scripts should not depend on this ini0 R9 S5 r0 b5 B" X: b
  237. ;   directive. Instead, explicitly set the output handler using ob_start().. j9 _: b2 t' k$ s  E9 _* ]
  238. ;   Using this ini directive may cause problems unless you know what script, V3 k8 a4 e. V, U& t3 {/ W
  239. ;   is doing.
    8 u& D* {* f' ?& h9 M9 u2 Q) B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"& W& ~8 K" H( X
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 y+ c& m: u7 K* f1 Q6 h5 _
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 V) `! _' B9 A7 `  H
  243. ;   Instead you must use zlib.output_handler.0 r, C3 h* M9 Z3 Y# j
  244. ; http://php.net/output-handler7 K3 [& Q* O. E* x1 j; }, j
  245. ;output_handler =8 Q; G/ I: p* K3 E) [" w6 _

  246. " K5 ]8 t9 l/ U
  247. ; Transparent output compression using the zlib library
    5 v& w! ?% b) a+ i% j6 K
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 L7 B% E# `6 X0 R* ?
  249. ; to be used for compression (default is 4KB)- M4 X" l+ u) p- d# \
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP$ [" t! g  W) @) k/ t& |$ L+ F
  251. ;   outputs chunks that are few hundreds bytes each as a result of& U: R$ Z9 ]! Z# y
  252. ;   compression. If you prefer a larger chunk size for better
    & Y/ G! c' S1 C' P
  253. ;   performance, enable output_buffering in addition.
    $ g5 M) i: T7 U2 b& `  j- t) Z
  254. ; Note: You need to use zlib.output_handler instead of the standard7 Y! Y8 l! w# s( ~; V- Q0 e& i3 ?
  255. ;   output_handler, or otherwise the output will be corrupted.0 ]- C. U" N2 Z. K# G3 }. V9 X& O4 ]
  256. ; http://php.net/zlib.output-compression
    3 T0 N& b/ R7 R9 }) \5 R4 w
  257. zlib.output_compression = Off" X6 D4 o8 g& i

  258. " C% D8 \6 f& i/ ~+ C7 U
  259. ; http://php.net/zlib.output-compression-level
    0 p/ b3 u8 y/ O( c; |2 G+ k
  260. ;zlib.output_compression_level = -1+ o, ~. Z# L  Q$ j; l) @
  261. 0 q& C% T# p7 h& S* F2 Q; A) S
  262. ; You cannot specify additional output handlers if zlib.output_compression1 o: q, O* R: c" Y4 J
  263. ; is activated here. This setting does the same as output_handler but in3 ^" q# ~4 Y5 Y  J
  264. ; a different order.
    - p: ]- ?- w+ Y7 V; l. C" `- F$ l
  265. ; http://php.net/zlib.output-handler
    ; j' n7 W9 F" W5 E
  266. ;zlib.output_handler =/ C' G" D( o5 M

  267. 1 P! o# }! D# R; I0 l; ?4 G8 V) N
  268. ; Implicit flush tells PHP to tell the output layer to flush itself( _- |- ^+ r8 P. r3 B
  269. ; automatically after every output block.  This is equivalent to calling the
    6 w% U) b' [, K6 r  U. I
  270. ; PHP function flush() after each and every call to print() or echo() and each
    9 o* S0 p. a8 n1 L
  271. ; and every HTML block.  Turning this option on has serious performance
    5 S9 }1 }) \6 m7 H3 S6 S$ B
  272. ; implications and is generally recommended for debugging purposes only." j# O- _) O, Q9 W
  273. ; http://php.net/implicit-flush
    - y$ V9 Z+ ]% ]) `
  274. ; Note: This directive is hardcoded to On for the CLI SAPI+ f. @, M$ F) R. u4 i- _" ], y
  275. implicit_flush = Off! r; W/ i- y+ I+ E, X

  276. ( z5 c6 l- {1 h* S
  277. ; The unserialize callback function will be called (with the undefined class'1 d. E4 b( s& x$ T  d+ b! e* @" [
  278. ; name as parameter), if the unserializer finds an undefined class
    8 H) ^1 v5 W6 ?3 p" I1 T& L3 k$ o
  279. ; which should be instantiated. A warning appears if the specified function is  t* q6 j. g. s' o7 F8 `
  280. ; not defined, or if the function doesn't include/implement the missing class.# a" s% E9 V' Z% }5 J
  281. ; So only set this entry, if you really want to implement such a
    ( b8 ~! @' O* K/ Z; X0 N7 p) ^
  282. ; callback-function.
    4 F# e8 g: l  l: D  k  S% v* Y
  283. unserialize_callback_func =. q2 l! N* X5 i- N; t) G

  284. 3 F6 u4 G1 J5 A2 K
  285. ; When floats & doubles are serialized store serialize_precision significant. i3 s5 c  F0 P
  286. ; digits after the floating point. The default value ensures that when floats, }3 U, V: a- \2 p% m
  287. ; are decoded with unserialize, the data will remain the same." D- u; A8 S4 d# \0 ?5 X
  288. serialize_precision = 17- l; Y1 m8 ?7 z% I$ M: i$ \& O4 n, \
  289. 7 X2 ?  B# e% K
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % B) c7 o) j5 l5 v! I8 I! Q
  291. ; and below.  This directive makes most sense if used in a per-directory; B5 f7 A& n, c) c% z0 z( z
  292. ; or per-virtualhost web server configuration file.
    0 g3 I: b; ~; x8 ^3 b8 \
  293. ; http://php.net/open-basedir) Y; T! k8 D2 `$ p$ x
  294. ;open_basedir =( [* G( o5 @: n4 p
  295. 6 j- s: _. V2 A+ z$ T. v+ N$ s* R
  296. ; This directive allows you to disable certain functions for security reasons.% u7 C8 C$ C- O& k: r
  297. ; It receives a comma-delimited list of function names.0 A( D! J2 t- g' }2 W5 v
  298. ; http://php.net/disable-functions& k$ }0 W3 g* A8 Q7 A$ ]( g
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru# v" M+ s8 ^4 Z: P- e/ d9 r
  300. $ K  ~* n1 W3 Q( |& L0 z5 T' K' T1 R1 J
  301. ; This directive allows you to disable certain classes for security reasons.
      X. X2 y! ]: o; |" g
  302. ; It receives a comma-delimited list of class names.$ U+ R7 E' {: e
  303. ; http://php.net/disable-classes& V" @$ u+ P9 [! X7 V
  304. disable_classes =2 }5 Z2 K4 U5 o) F1 h9 K6 A' Q
  305. 9 i5 T; d1 }3 s0 b0 l
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ F6 {+ j. K# l+ g
  307. ; <span style="color: ???????"> would work.
    ! G/ X& n4 o" o$ n# u
  308. ; http://php.net/syntax-highlighting  b- c3 |0 \% F$ o/ l/ D/ \
  309. ;highlight.string  = #DD00004 l; E$ x" h8 L% m8 g
  310. ;highlight.comment = #FF99008 \" L  Q4 c# i) \) N# K
  311. ;highlight.keyword = #007700
    ; m  ?2 Y  @: b0 f
  312. ;highlight.default = #0000BB
    " X" Y& N) O/ ?, m( U6 V
  313. ;highlight.html    = #000000
    + H' d3 G4 I7 w" k" ^

  314. " t: v: b6 P- b+ `5 n6 U
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + N) n8 r( ~7 `  K
  316. ; the request. Consider enabling it if executing long requests, which may end up
    , ^- A5 h+ a& B1 K
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior% W1 c+ B! M2 S% o% K. e% h6 D
  318. ; is to disable this feature.- R' Y8 \4 A  Q  Z2 d$ F
  319. ; http://php.net/ignore-user-abort7 k# ~+ Z, ]. p2 \* h: N
  320. ;ignore_user_abort = On: i$ F5 c) r; @4 W* }: x* O/ R# Y
  321. $ q2 ?8 _& Q1 N) X& \. D
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    + {' @$ s8 J1 C  C5 u
  323. ; be increased on systems where PHP opens many files to reflect the quantity of  u9 j8 G6 k3 _7 w* b* ]
  324. ; the file operations performed.: I7 R  a3 y/ N, l9 ~/ E
  325. ; http://php.net/realpath-cache-size
    8 }. G( e. C0 S2 S) j& ]3 T* T
  326. ;realpath_cache_size = 4096k
    2 o; D: Z2 C  G6 a

  327. 1 F3 n1 c' {5 R% V' t
  328. ; Duration of time, in seconds for which to cache realpath information for a given) E0 F& j( B- |  h( t4 B  {
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    / B4 c% n; |/ L: Q) l) _* V
  330. ; value.9 @* z% [" m8 V5 l' O( k2 {' {" ?
  331. ; http://php.net/realpath-cache-ttl
    3 ?# s9 C% ?- Y; P8 ]7 V
  332. ;realpath_cache_ttl = 120
    - l0 O/ z2 H7 o  a) A( X, ?: h

  333. - R, ^, Q3 c, H0 Y( _/ u% I% Q/ T
  334. ; Enables or disables the circular reference collector.. `+ c9 D* U* B9 ~( s3 D3 K
  335. ; http://php.net/zend.enable-gc+ Q& O) g9 y# `
  336. zend.enable_gc = On
    " Q6 t$ g/ }1 r9 y( \
  337. * {* j" ^! o& J. e2 U) g
  338. ; If enabled, scripts may be written in encodings that are incompatible with1 _% y5 `% g: a* f( o' I
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such. c7 n5 B/ q' m8 v* r/ j0 \. _
  340. ; encodings.  To use this feature, mbstring extension must be enabled.' R% D" z. s$ Y- L1 w1 C3 Q5 Y; o
  341. ; Default: Off
    ; L2 x8 _7 p: U' o
  342. ;zend.multibyte = Off1 A* M5 f$ [/ G0 e: T
  343. ( S* H8 h# K) e- R
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    & U; ?: G7 l9 x
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.6 g: ]+ L! K( `8 S& U4 ]0 D% n
  346. ; Only affects if zend.multibyte is set.9 l: U: i$ P* Z: W) D
  347. ; Default: ""+ N4 T: \8 a# l( b0 C& ~2 h
  348. ;zend.script_encoding =6 V/ y; m# }+ y# X5 P' N

  349. * a1 D8 |" L7 f0 l  e0 y; B
  350. ;;;;;;;;;;;;;;;;;
    4 k% e8 J$ W9 s7 W" k9 l
  351. ; Miscellaneous ;
    + T  o$ h) ~) x3 I. i# X: d
  352. ;;;;;;;;;;;;;;;;;
      O/ `) A0 d) g% y$ G
  353.   S$ C" U0 R9 `& s  P, _
  354. ; Decides whether PHP may expose the fact that it is installed on the server# a' c5 r4 d& [! s! ?# S5 f
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    7 o+ _7 P+ j5 c% ]( G
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ; ~1 d( y% B1 j3 @
  357. ; on your server or not.
      \+ W7 X" `( A( O+ \( M
  358. ; http://php.net/expose-php
    6 d% b3 Y" m. p+ B. T0 p
  359. expose_php = On1 X+ }! \6 \! d. }5 `! |
  360. . n# x# C6 u( u
  361. ;;;;;;;;;;;;;;;;;;;: n# c' |; Z& h: {; j, h% T& h$ d
  362. ; Resource Limits ;, I# M$ Y( ?/ I2 t2 J7 a
  363. ;;;;;;;;;;;;;;;;;;;
    ) f( l( j, H0 E2 N
  364. ) g& `/ L4 E& g3 h8 u, {
  365. ; Maximum execution time of each script, in seconds  ]+ s  w( z+ [: A
  366. ; http://php.net/max-execution-time
    ; u. r  O3 z( E
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI! o$ j" h& R( L' g  a
  368. max_execution_time = 300
    & j1 q+ w, {7 e5 V1 p7 t

  369. - J$ z4 P9 e2 ]
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    : R, n/ m# q, v
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly: x# i* D; ^" E7 O
  372. ; long running scripts.
    4 h* o/ G, A6 p; O7 U
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , E; m% |$ w' S( F# m+ L1 t6 }4 u  q
  374. ; Default Value: -1 (Unlimited)
    & n, t' u* P+ H) ^
  375. ; Development Value: 60 (60 seconds)
    1 `& f( x5 F1 ?9 _2 L* |
  376. ; Production Value: 60 (60 seconds)* O9 v8 Q5 Y$ z1 `! {) t
  377. ; http://php.net/max-input-time% Y1 _* |6 `8 {5 T! q: H9 G  o! K
  378. max_input_time = 60
    ; V) U7 `2 d7 s( t8 c* S

  379. 8 B- h* K2 I% H) C; _8 ?
  380. ; Maximum input variable nesting level
    5 O! h+ |& p( j9 E( P
  381. ; http://php.net/max-input-nesting-level
    0 G7 W; A, v" S$ z
  382. ;max_input_nesting_level = 64
      ~$ B! x3 Y7 u# m1 o6 i' g; O
  383. 2 U" B) q% e  l& |
  384. ; How many GET/POST/COOKIE input variables may be accepted9 n/ D1 o3 H, M2 d
  385. ; max_input_vars = 1000$ E' o& ?2 @1 W. ]( J

  386. . T, R- H# j' t# x# H( ^' f& A( m2 z
  387. ; Maximum amount of memory a script may consume (128MB)
    : _5 Z" P# V- R0 H
  388. ; http://php.net/memory-limit# B1 D- t" W# B% C7 N. W
  389. memory_limit = 128M
    : H+ S6 F  D% N8 [
  390. : G; \* k4 {& j: }: p6 S$ T
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 x5 P6 a# B3 [% g6 z
  392. ; Error handling and logging ;
    0 S. L- ]. G& b/ a0 e# ?
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* ]' J0 m: v8 Z. S" z

  394. & {2 `9 ^7 K& B$ N  k  o$ s
  395. ; This directive informs PHP of which errors, warnings and notices you would like1 }7 T* ^/ t' t* \
  396. ; it to take action for. The recommended way of setting values for this
      ?! Y; g* S& k  |& W! X6 O: @
  397. ; directive is through the use of the error level constants and bitwise# S$ F6 |6 m# l1 m0 `# z  T
  398. ; operators. The error level constants are below here for convenience as well as
    ( J, q- L1 v/ e1 k. \, n- t6 P. x
  399. ; some common settings and their meanings.
    4 N) f% ]- O* }4 i2 g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT, I' l5 Y, |2 }* y1 T
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 o1 q0 o6 Q) _
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    3 ?# ^& a. d# i! L" o  A- Y4 A
  403. ; recommend error reporting setting. Your production server shouldn't be wasting' k% Y, u1 C; y2 D: z, @3 ?
  404. ; resources complaining about best practices and coding standards. That's what
    2 D- C6 R7 R/ y- ^, f3 J+ r
  405. ; development servers and development settings are for.' U* t, t" b) b* ~6 U
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ' |- q6 ^$ y3 h" O1 E! c! W% F
  407. ; means it pretty much reports everything which is exactly what you want during' {2 N2 E. i- B& G
  408. ; development and early testing.
    9 p! Q. a" f! I. ]
  409. ;7 ?/ I# J9 P& v( K5 N, H. V6 \& f
  410. ; Error Level Constants:
    3 Y" w9 t+ z. R6 J0 w' a  {( B7 r! }
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    6 r$ S( v9 p6 H( e% A3 q$ w
  412. ; E_ERROR           - fatal run-time errors
    - G! A# k& ^" n
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . M8 D* S9 o1 L( b7 x  k3 @+ B: A
  414. ; E_WARNING         - run-time warnings (non-fatal errors)5 W$ C, Q8 w) {$ Z
  415. ; E_PARSE           - compile-time parse errors8 m# M9 D5 n% ~6 T) e
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    " c! ]9 l  C+ t3 y4 y$ k
  417. ;                     from a bug in your code, but it's possible that it was3 d0 _1 n& c+ m: m' I3 N( F
  418. ;                     intentional (e.g., using an uninitialized variable and/ ~: |$ F" x* T* I+ M5 V8 @' C# o
  419. ;                     relying on the fact it is automatically initialized to an; t# T8 s. C5 _9 u- Y  k, @3 [. `2 R
  420. ;                     empty string)
    2 h8 i' I) X, A+ i
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 T- J' A5 l  l- g9 Q8 t, N2 x
  422. ;                     to your code which will ensure the best interoperability( E# C4 |& j. ~* O( A5 @' h
  423. ;                     and forward compatibility of your code4 E/ M4 D# ]0 ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 K3 c% I3 k5 z0 q  ]8 x
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's# S+ b+ ?0 v; b( E- h
  426. ;                     initial startup4 I, L7 }; i; Y+ C. o
  427. ; E_COMPILE_ERROR   - fatal compile-time errors) _% ^3 }' v. j0 L4 y9 M  U
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors). W" E2 D8 k( u7 r0 H
  429. ; E_USER_ERROR      - user-generated error message/ @; L; e$ A) D/ M
  430. ; E_USER_WARNING    - user-generated warning message
    , u- G% k, s1 _
  431. ; E_USER_NOTICE     - user-generated notice message
    / i& L% [" R- X+ D# B( n$ L* T. `
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 X# S5 ~" `; L5 o' @0 O/ l& \+ v6 H8 T
  433. ;                     of PHP6 o# @+ a% L3 C: J/ q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings% d$ L' W- V( b, K
  435. ;
    . C6 [# P- B0 x
  436. ; Common Values:
    ; P* T+ B8 I  _# j6 h; I
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 S# {8 T) o9 n% M$ ?  G( i
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' j6 C4 n/ b7 F, a! m
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
      r+ m( P: M: r# s2 m
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    & `+ v- C# \0 X6 F5 l3 Y0 M
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. r% O0 I( N; e# R" z! I
  442. ; Development Value: E_ALL+ g' `$ Y  `& Z3 L. t# v
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT' A( P; [( u- z' M) Q* q3 l
  444. ; http://php.net/error-reporting
    ! o  r+ r8 |( |1 [+ f+ F( ^' o1 \4 i
  445. error_reporting = E_ALL & ~E_NOTICE9 @1 Z5 `' T3 m* v# b6 Z  j  t

  446. + x5 r% s4 Y7 S2 K; t4 P! m. n
  447. ; This directive controls whether or not and where PHP will output errors,
    0 R% K9 a4 x3 s: A
  448. ; notices and warnings too. Error output is very useful during development, but4 f7 i: T2 i0 K1 q8 h1 T
  449. ; it could be very dangerous in production environments. Depending on the code, W4 n# v0 g  g$ {% M& X& @
  450. ; which is triggering the error, sensitive information could potentially leak  V- x" V- a+ q( \1 ^$ Z1 i
  451. ; out of your application such as database usernames and passwords or worse.+ G! ?7 i# t" W; l* A
  452. ; For production environments, we recommend logging errors rather than
    ) [9 \; w" e% \6 G; R+ a
  453. ; sending them to STDOUT.3 ~9 G9 u2 q, H) N+ }1 p8 V6 J
  454. ; Possible Values:
    4 p6 e0 K" j) e2 ^/ a
  455. ;   Off = Do not display any errors8 @5 B4 N. z; F1 w$ Z: n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    - D3 e( k- p& ?  l7 Z6 j
  457. ;   On or stdout = Display errors to STDOUT! i! J* `/ l8 _  u0 Z" R
  458. ; Default Value: On% S+ l1 {5 E) d. U1 W4 d
  459. ; Development Value: On8 `* G3 i9 C) t" P
  460. ; Production Value: Off4 ^* E! i" l6 u9 e( |1 \. m0 m
  461. ; http://php.net/display-errors  P8 z9 E* a  u: s
  462. display_errors = On
    # S( A, S0 Q, U1 a% i. H
  463. % V: x+ V" ?+ y1 n0 g, @% I
  464. ; The display of errors which occur during PHP's startup sequence are handled. e- T' `* P$ s7 `$ I9 I: T
  465. ; separately from display_errors. PHP's default behavior is to suppress those; `- k; c. R- ^2 \* C" \
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    / \. O& g7 }) ?# t( j
  467. ; debugging configuration problems. We strongly recommend you4 ]5 z0 q5 L! N4 W/ G3 T5 I
  468. ; set this to 'off' for production servers.
    ! W; ~2 w" x$ m1 Z1 a
  469. ; Default Value: Off
    5 Y1 B1 D- f; I/ F# O4 |
  470. ; Development Value: On
    6 Z1 Y$ a6 r5 Z0 v. ~$ I
  471. ; Production Value: Off
    9 v6 H: c, Z' i7 w, j# g1 u9 }& N
  472. ; http://php.net/display-startup-errors
    / w7 i/ }- |' z
  473. display_startup_errors = Off! K" }# d( ~, u5 T
  474. 4 \$ A" R/ C# N
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 e# }: ~7 C) t: P6 N/ ~' G
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ |. ~  B9 L# I* j! {6 ]
  477. ; directive found below. While errors should not be displayed on productions
    * A: n% J! ]) C7 A
  478. ; servers they should still be monitored and logging is a great way to do that.1 V1 ]4 D5 P9 s3 C  S( j) H$ J8 @
  479. ; Default Value: Off/ e; F! F- N5 F
  480. ; Development Value: On
    - A9 K9 b2 ]+ P* L0 s
  481. ; Production Value: On7 }2 U7 D* k) G3 k* j& Y4 F* h
  482. ; http://php.net/log-errors
    - o1 [, L! H/ ^3 r
  483. log_errors = On/ T1 T5 I% ?* j% N
  484. 3 ^& D* A* f/ Q5 |; B4 D
  485. ; Set maximum length of log_errors. In error_log information about the source is
    5 m& m7 @0 B- H1 H
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! |2 ?. S/ u* q  T2 @
  487. ; http://php.net/log-errors-max-len% m+ U; A" k' e5 a' v5 v
  488. log_errors_max_len = 10244 y# W; h+ T% Y0 V, r

  489. . J, l' J; p& N$ f0 l4 U
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 T- k- P3 r/ i: ^9 O
  491. ; line unless ignore_repeated_source is set true.
    % j0 q9 g* A  m1 n
  492. ; http://php.net/ignore-repeated-errors# _, @3 _9 F% j( ~* J
  493. ignore_repeated_errors = Off
    " M) q3 C. b- q/ u

  494. 7 e4 ~. A$ A% G0 t& c7 t. N. v' @
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 c! _; _, F5 D- c+ t
  496. ; is On you will not log errors with repeated messages from different files or
    ( a0 ?# m/ U3 c& ^
  497. ; source lines.
    ! g+ {' `) x8 }$ }% {6 B4 Q# w' e
  498. ; http://php.net/ignore-repeated-source$ }( _" ]. T- u5 J: Z
  499. ignore_repeated_source = Off/ X( l/ A  g- Z5 S& q4 @& g5 e* S  V

  500. 2 @' D) r% E2 B' J7 N
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! Q3 H0 I  ^. d& ^; w
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    5 v: Z4 ~% _3 p7 a3 {+ e8 g
  503. ; error reporting includes E_WARNING in the allowed list
    # _5 z8 N% c. u1 [( ?1 o/ [
  504. ; http://php.net/report-memleaks# w5 g% Z5 ?& A) K3 B; f; V
  505. report_memleaks = On/ V' H* G) ~. ^+ s, M* k; D8 i
  506. ; T* l$ C* |" B0 U
  507. ; This setting is on by default.
    & q6 y4 ?# [1 l; z, ~! U
  508. ;report_zend_debug = 03 d! s: }, N! P
  509. ' w2 ~4 [+ T0 L- V
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value* q( a6 ~* _9 }! E2 M) @
  511. ; to On can assist in debugging and is appropriate for development servers. It should& u  y/ u+ \+ F
  512. ; however be disabled on production servers.# T. H- n5 I: S0 T- b4 c* t; v
  513. ; Default Value: Off! n" Q$ z: K# `& F/ K6 x2 n" K
  514. ; Development Value: On
    3 D# G3 O. X3 q; [  h) I7 [. L
  515. ; Production Value: Off+ ~2 E7 \: H; t% @
  516. ; http://php.net/track-errors
    ) r' X- r9 C1 h9 j! y8 D% z" Y
  517. track_errors = Off
    % x# A# m+ X, p8 o, M+ V1 l- S
  518. 5 t5 j* O1 F% n( {! A8 a0 W
  519. ; Turn off normal error reporting and emit XML-RPC error XML2 d- \0 E2 @, b
  520. ; http://php.net/xmlrpc-errors
    ; t: C1 S- |+ r4 d9 p& j7 k
  521. ;xmlrpc_errors = 02 l# i( r* f2 u+ n1 q
  522. ; {( Z* u/ h7 v$ H5 K% \2 v+ `
  523. ; An XML-RPC faultCode
    ( k0 }6 @" T; P% O5 b+ h
  524. ;xmlrpc_error_number = 0
    . j" T& m3 R/ @$ V' x

  525. % N' I6 o+ G& o
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ( P2 e( I# s4 I1 |& v
  527. ; error message as HTML for easier reading. This directive controls whether
    2 l& S7 {+ h* @; i$ ~6 w
  528. ; the error message is formatted as HTML or not.
    * `6 r. h1 f0 N( l
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI+ F4 l# y7 D0 g; C
  530. ; Default Value: On
    ' r; L9 _1 N# s  k
  531. ; Development Value: On
    ) d5 Z6 q$ r3 I; J" T  Y$ {
  532. ; Production value: On
      t& n) g; |# [9 v. y$ k% k
  533. ; http://php.net/html-errors
    7 F1 _+ ?* ?, Q3 c7 [. B% H
  534. html_errors = On  k4 o% ?% d' J+ p/ e- a& v3 ^# b. I

  535. ! p1 V( Z6 }5 s% m( A) e% W
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + Z* I4 ]) I2 s1 v3 L
  537. ; produces clickable error messages that direct to a page describing the error
    : a. z' _% Y# E" e
  538. ; or function causing the error in detail.
    # {1 M$ j* F$ p  q4 _, E
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    1 D* N. ?6 F$ t$ m" N& F
  540. ; and change docref_root to the base URL of your local copy including the
    ! X9 K) [- G. g, R
  541. ; leading '/'. You must also specify the file extension being used including
    7 U" g! m3 m, N4 }# j
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    8 z8 J0 d9 P* l: _: \
  543. ; case no links to documentation are generated.
    1 S" f; @) [( ]& \- `! f2 {2 f
  544. ; Note: Never use this feature for production boxes., h- X  H9 G. F4 f. F& u
  545. ; http://php.net/docref-root
    , j' _* p' b) b8 p3 i& |
  546. ; Examples
    $ m8 [' h1 h- F, @6 g3 ~
  547. ;docref_root = "/phpmanual/"( ?/ z# B5 \* }- X! X. {

  548. 9 U$ M$ m1 J$ s, E9 R
  549. ; http://php.net/docref-ext
    : X3 d# Q7 v/ e" L. \8 ?( \
  550. ;docref_ext = .html
    9 I/ G2 t, z; P
  551. 7 l8 i' H5 ^+ ~  B0 L
  552. ; String to output before an error message. PHP's default behavior is to leave
    , L7 f# `  d: }4 P
  553. ; this setting blank.
    / l  k0 x* R0 {5 W! D8 |
  554. ; http://php.net/error-prepend-string5 L  q- [: m" V8 i  }/ ?
  555. ; Example:5 {' m6 ~; R' y6 b2 \; h3 a- V
  556. ;error_prepend_string = "<span style='color: #ff0000'>"1 _& [8 \/ _$ B" C0 Q
  557. 6 z" g& w7 z) G+ }) o
  558. ; String to output after an error message. PHP's default behavior is to leave
    , |8 S2 m2 |4 i  _0 J. p
  559. ; this setting blank.8 X' b8 @4 Q( Q: I4 b- Y4 U3 l5 x
  560. ; http://php.net/error-append-string$ _0 I) F7 }6 h# Z" S$ j
  561. ; Example:
    8 j7 |; K! m) g- k* M( K
  562. ;error_append_string = "</span>"
    8 `- @1 A( s. G+ E; u

  563.   _0 K2 _, q; i& ^1 s
  564. ; Log errors to specified file. PHP's default behavior is to leave this value% ]) ?) e) ?* A+ b$ l& T
  565. ; empty.( m& U5 b$ y! x' D# E
  566. ; http://php.net/error-log
    ( ^: C+ A2 \. z& @1 i/ z, @; D
  567. ; Example:
    5 C" k+ W& m, B0 g; Z, s4 P
  568. ;error_log = php_errors.log
    : J- A* U  i# x$ i) i6 x
  569. ; Log errors to syslog (Event Log on Windows).* m6 G$ Y3 y& E8 l) K6 H4 U! i9 m
  570. ;error_log = syslog' y/ v4 A8 U' P/ d" i1 a
  571. ) h( m. j% O. H) [, O& c4 ~
  572. ;windows.show_crt_warning* M5 I' C! d: X  U+ _2 q
  573. ; Default value: 0( |* Z* v6 |( i
  574. ; Development value: 0) t3 }1 a/ o% R4 D6 G" \/ r* {
  575. ; Production value: 08 d7 ?! ^3 U9 D
  576. / j7 s. [. U# {6 O: ~
  577. ;;;;;;;;;;;;;;;;;
    ! ^; I4 d8 O  ]0 y
  578. ; Data Handling ;
    % V; k& l. \9 t$ G% X1 |
  579. ;;;;;;;;;;;;;;;;;& h) l) K% B* _& j
  580. * W; l4 ^+ I8 V" [" _. h& D) b/ l  \
  581. ; The separator used in PHP generated URLs to separate arguments.
    * R( U4 a  w; O- _$ B; M
  582. ; PHP's default setting is "&".
    , _2 T# Q/ s0 x
  583. ; http://php.net/arg-separator.output
    ) t* B( v4 ]. D9 a, M( {9 H
  584. ; Example:
      j3 z$ P$ }% }. i7 _7 }
  585. ;arg_separator.output = "&"
    7 i6 P7 F& H7 N2 o) q0 E
  586. - m4 Z6 u8 p0 Y( I* d
  587. ; List of separator(s) used by PHP to parse input URLs into variables.  s; f# o. [" {* A. S% c* `8 m5 d
  588. ; PHP's default setting is "&".
    ; L( ]7 @; j8 g8 A( [8 W
  589. ; NOTE: Every character in this directive is considered as separator!
    ' |7 W9 C2 r, ^6 h
  590. ; http://php.net/arg-separator.input; P% k6 c0 n0 S5 F6 H5 e9 n- c
  591. ; Example:
    # f  ]/ n- A) F0 z1 t
  592. ;arg_separator.input = ";&"$ d) K: b( w4 ?; u8 n
  593.   _: z) g0 O0 o! n3 t
  594. ; This directive determines which super global arrays are registered when PHP
    + m) S+ e. S) M
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 E* S4 C# x3 c
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty6 T8 C6 l2 p) x; o. ]3 O, \
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 Y1 w( c( f( {* K5 \7 J, }
  598. ; used as the others, ENV is not recommended on productions servers. You- ^* q6 `' c9 o1 N# V0 B3 j
  599. ; can still get access to the environment variables through getenv() should you0 p8 u+ p7 d+ P! Z& O
  600. ; need to.! s! M. N# A( \1 q! r9 n- a1 ?
  601. ; Default Value: "EGPCS"/ b& e& x- c+ E( T8 I6 J) B' V2 `5 d* N
  602. ; Development Value: "GPCS"6 }, \$ h$ K9 H" h  I
  603. ; Production Value: "GPCS";2 J& {! \( a- v9 t( `% z5 x
  604. ; http://php.net/variables-order% T' R5 ^/ Z; H
  605. variables_order = "GPCS", T- X3 Z* {) B5 X

  606. + m* h% Y7 q! e1 Q; O+ j% t
  607. ; This directive determines which super global data (G,P & C) should be' O, d; i% t: \  U$ g
  608. ; registered into the super global array REQUEST. If so, it also determines( B! r2 A9 q( Q  M( R) v
  609. ; the order in which that data is registered. The values for this directive) h  b. \4 C  F$ c# b
  610. ; are specified in the same manner as the variables_order directive,
    ) d* T: y/ J/ r) ~
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ R. J% {: n0 J
  612. ; in the variables_order directive. It does not mean it will leave the super6 s8 c# l. T! c3 l; M4 f4 }
  613. ; globals array REQUEST empty.
    , [+ K# e7 p3 `! x5 `
  614. ; Default Value: None
    0 T' \+ V$ S, G0 ^
  615. ; Development Value: "GP"
    4 b3 v5 N* W1 O
  616. ; Production Value: "GP"
    $ R5 M# O( b: L$ {) a$ k
  617. ; http://php.net/request-order
    0 T. x! q+ @6 @7 r0 z
  618. request_order = "GP"
    / F7 a$ w7 {- A$ t) j
  619. & h* I4 W. I0 d2 J, b, R2 [
  620. ; This directive determines whether PHP registers $argv & $argc each time it  V5 a9 q& Y0 k. u. V# r
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 v2 K/ w% w/ k" x
  622. ; is invoked. $argc contains an integer representing the number of arguments- k  P/ K1 e0 `+ C( I# [$ C
  623. ; that were passed when the script was invoked. These arrays are extremely
    9 s1 D+ f* R, I% l# h) _
  624. ; useful when running scripts from the command line. When this directive is$ U5 B1 w3 e0 s% n
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 j" w1 X; t( i4 T7 y
  626. ; a script is executed. For performance reasons, this feature should be disabled" N4 C, i* m6 N2 }! @* I" l- a
  627. ; on production servers.
    % E+ A6 U! u/ a( k0 F& U
  628. ; Note: This directive is hardcoded to On for the CLI SAPI" W; S! p4 T$ z6 G- T7 \% \
  629. ; Default Value: On% M4 o! J0 C+ L
  630. ; Development Value: Off! E1 u- Y" x1 M/ P3 g
  631. ; Production Value: Off
      X. h7 W* K( k- I# z$ X
  632. ; http://php.net/register-argc-argv
    4 K8 j/ ]/ P0 |3 e, k% h# N
  633. register_argc_argv = Off  u: `# O% n( |9 k: k

  634. " V; S5 X! L- z, k2 {$ h  X
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 W  S4 ^7 l& \5 V6 E
  636. ; first used (Just In Time) instead of when the script starts. If these$ V6 x' g/ D, j/ u
  637. ; variables are not used within a script, having this directive on will result" O8 P$ i/ v: o" |: y# b
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ! I4 d& V. j8 v. m$ e
  639. ; for this directive to have any affect.
      o/ X% e6 N$ w8 b5 C' ?3 r6 O
  640. ; http://php.net/auto-globals-jit) l# @, ?1 [0 ^
  641. auto_globals_jit = On
    8 ?( M7 F( I. r: Z. B! ?

  642. , B, S: _9 z! [" j5 G! c
  643. ; Whether PHP will read the POST data./ \$ B7 m. V- w- i
  644. ; This option is enabled by default.. `, d8 J9 w& F$ h+ f6 [0 A" U
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    , P, @/ |4 K: X, \6 ?( B
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    1 ~8 I. @3 g# C4 r
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , ?. j$ i& O' G" X6 R
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / C% G3 E+ p" w
  649. ; http://php.net/enable-post-data-reading
    ) p, n0 I: s1 z+ _/ z% \3 u8 @
  650. ;enable_post_data_reading = Off8 x! z1 k! ^& _# s4 M% Z
  651. 0 e8 ?( h1 V, T
  652. ; Maximum size of POST data that PHP will accept.
    ; _; S2 E6 z) J: j4 }& @
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    4 x) o+ \8 x' c3 l
  654. ; is disabled through enable_post_data_reading.
    : b8 k. a) [  }6 @; {7 U: q  q1 I
  655. ; http://php.net/post-max-size3 o" b: \3 I( P+ v
  656. post_max_size = 50M/ `: }9 |6 k4 y2 ], ?- U: {4 l9 G2 |

  657. / k- o% f+ P, n$ e" ^
  658. ; Automatically add files before PHP document.
    7 C8 f+ \! s1 _  K0 R) a- x- |
  659. ; http://php.net/auto-prepend-file
    1 X6 J/ l  G6 t7 y/ b& Y
  660. auto_prepend_file =
    7 ?# a& J) G" x

  661. . g: C/ E. H7 d# w6 m& r2 V  x
  662. ; Automatically add files after PHP document.3 O; U! c  T5 K! {
  663. ; http://php.net/auto-append-file3 R. S8 ]  M+ P- Q
  664. auto_append_file =
    % h0 S* O' H/ H1 b9 m7 x
  665. ! s6 }/ E7 x0 B, H
  666. ; By default, PHP will output a media type using the Content-Type header. To, G* h8 P9 K6 O; c' k! ~: y
  667. ; disable this, simply set it to be empty.
    % `, Y# q( H* V2 S5 N9 z
  668. ;
    ; O2 V6 n  g% Z* p5 Y( h' J
  669. ; PHP's built-in default media type is set to text/html.) p5 b" l  Y# O& C2 _  v  Q
  670. ; http://php.net/default-mimetype
    8 u0 x; y! `+ z3 B1 u
  671. default_mimetype = "text/html"
    5 U& ~  }0 A  k: a$ G

  672. " P/ g( A8 F0 i  p
  673. ; PHP's default character set is set to UTF-8.  p# n* U! ~) g# `9 H# H3 a
  674. ; http://php.net/default-charset1 Z5 a0 f4 {  y- D( M' @
  675. default_charset = "UTF-8"% m* y( x8 x' g3 q' Y
  676. ' b5 o# `, i; |3 _2 k
  677. ; PHP internal character encoding is set to empty., t# |) Z: I9 \2 W
  678. ; If empty, default_charset is used.
    2 x1 {3 u$ x% F) j8 e: v2 K* K
  679. ; http://php.net/internal-encoding% }9 [' }0 x" w+ h" f
  680. ;internal_encoding =
    / v0 T+ V$ b- w! \0 I% S( p3 N

  681. : `* R0 M3 a; B! x0 c
  682. ; PHP input character encoding is set to empty.
    , q3 G% q9 _1 w; R
  683. ; If empty, default_charset is used.  Z. Z2 m  @& m: v" e
  684. ; http://php.net/input-encoding
    7 N% T9 m4 R, q) I% h( N% \& k7 T0 `5 F
  685. ;input_encoding =
    $ T7 m; p& g& g

  686. 7 T' G! S. }* t6 D4 a
  687. ; PHP output character encoding is set to empty.& u' `/ G1 }0 R0 C) N, b
  688. ; If empty, default_charset is used.# z+ e% e1 A9 v
  689. ; See also output_buffer.9 v7 K$ A. D3 N
  690. ; http://php.net/output-encoding) R  N7 k0 L+ N  ]. H
  691. ;output_encoding =
    . G, w9 ?0 [4 m4 ]

  692. 2 E( U0 k  k: ~7 t& \. Y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;5 x) C( E( V- @  J
  694. ; Paths and Directories ;
    2 t/ k9 {# H; \1 `- l
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;5 L3 Z: g& |' C. ?, T* K
  696. * i- ~% A* u8 `
  697. ; UNIX: "/path1:/path2"% U; j/ [& ~& d- F# q& J' R+ O
  698. ;include_path = ".:/php/includes"+ D* S5 z' D% P. y! c! @5 P
  699. ;  A7 d( h$ q3 x; a  l
  700. ; Windows: "\path1;\path2"3 D3 ]6 `' x: I. ]
  701. ;include_path = ".;c:\php\includes"( b! P' J/ j, m# V. ^
  702. ;
      j# N6 ^* k4 D* \9 v
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! B7 j# U* Z/ [& W  \" Q8 P
  704. ; http://php.net/include-path1 c  U2 q- |9 ]+ R
  705. 6 Y) f% {3 X) R, q: p$ ^" f/ N
  706. ; The root of the PHP pages, used only if nonempty.3 c9 f- A; @! A
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 @1 |0 i5 T+ V, H0 O' `( [' J
  708. ; if you are running php as a CGI under any web server (other than IIS)
    % D) _2 |. Z1 R0 T! C9 W
  709. ; see documentation for security issues.  The alternate is to use the
    . N$ {3 U; P+ r+ i- `
  710. ; cgi.force_redirect configuration below! p7 |; S: n- Q8 ?+ ^6 ]: z% ?4 Q4 w
  711. ; http://php.net/doc-root' v& G2 B/ ?( ^' H. M9 [
  712. doc_root =
    ! K8 n% P2 ?9 `2 t7 b0 w9 O
  713. ( x) L& f0 p. s% a/ w- h) C  k- m9 @
  714. ; The directory under which PHP opens the script using /~username used only
    / Q+ r0 F0 m! S! J+ ?1 E/ A! O
  715. ; if nonempty.! v- ^4 E. |/ Y6 \
  716. ; http://php.net/user-dir
    " @/ W: Q( n& w  k; t! |) X+ o2 u
  717. user_dir =8 ]8 H7 H: W' b) b+ Q1 l' P" F! p0 {

  718. # S' R. e" S* |' U2 y
  719. ; Directory in which the loadable extensions (modules) reside.
    7 X* D. E$ C5 v) i
  720. ; http://php.net/extension-dir
    3 ^4 G) |9 K/ Z
  721. ; extension_dir = "./"
    ' _5 W! @; p% b/ C$ L& G* x
  722. ; On windows:
    + Z% [. h% Q6 a2 b/ _9 u
  723. ; extension_dir = "ext"3 u2 S! p  P; K; v
  724. & `% l1 {$ e6 D
  725. ; Directory where the temporary files should be placed.
    / F1 d8 |% ~" X0 ^: U2 ^
  726. ; Defaults to the system default (see sys_get_temp_dir)- d; @$ x7 v" _. G5 I
  727. ; sys_temp_dir = "/tmp"
    1 p3 e3 N3 v5 Y! K
  728. 0 ?5 H( @+ |5 r0 D9 I1 ]" k+ j. W
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " c& \8 n* W' n( ]) l
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    , r, e5 L5 H& X' _
  731. ; disabled on them., U/ H5 K0 |6 v1 C' a
  732. ; http://php.net/enable-dl8 }( x  [/ v, [' b6 H4 J
  733. enable_dl = Off/ S4 C' Q* ]( X9 \9 q8 O( c: V
  734. $ S- A* R' Z$ h) @% a% t
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under# W8 B! w2 W; W$ [- H& X
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    % c6 z; X1 m+ v8 }, @
  737. ; turn it off here AT YOUR OWN RISK
    " }- d) F. `1 }3 H7 ]
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! u  J8 u8 @4 Y
  739. ; http://php.net/cgi.force-redirect
    * l/ ]3 z0 L9 v, a& G0 e' F4 A6 H% S
  740. ;cgi.force_redirect = 14 k- D& t4 d: V3 a' ?

  741. % d" t0 G. C, M! n  j% m# N, k' @
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! d' f$ c3 j/ q1 w* ?6 p4 O
  743. ; every request. PHP's default behavior is to disable this feature.
    9 |/ b9 Q' L/ E) j* z0 Z7 s. t1 F
  744. ;cgi.nph = 1
    3 g4 Y- K- ?- J' _. E. P( B) h
  745. 6 s) I: [4 z4 K, W
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) z5 B) M9 N) t% F7 Z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP: [2 B! J* e$ o! z5 P/ ?! [
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY# A2 V+ u! x7 }+ b
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& k; u1 N0 _' t+ `
  750. ; http://php.net/cgi.redirect-status-env
    9 D: v/ n, S$ r6 P8 i8 D* B5 F
  751. ;cgi.redirect_status_env =% d. F9 {! Z/ X) e& F" q

  752. ( V( t% R; P" ^1 x1 c! s0 g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) h/ P; [+ Q0 k  A" x
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok  u2 S) x; B; C; x
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ! Y2 l; W5 V: `; v/ i, w
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ) S( |7 H2 ~) c  K
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts/ y. ~$ I# K% z  a- O
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ {4 N) J: _( V" ?/ I
  759. ; http://php.net/cgi.fix-pathinfo5 {3 Y6 e! y/ {6 |* Q/ M( h4 ^
  760. cgi.fix_pathinfo=1
    ) r# p1 V# v8 p, W# R

  761. : i, k) M4 c. R
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    9 t3 z! Z# I+ p* X
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    0 b/ H  m  a- G  c  g7 y
  764. ; http://php.net/cgi.dicard-path/ Y+ W; |. T  y
  765. ;cgi.discard_path=1
    0 f8 G9 A5 J" N! m& d8 O6 l, G8 t

  766. + j* X% \- t1 y5 n5 J  `* t7 |5 o8 e
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ e9 D2 H' ~, {
  768. ; security tokens of the calling client.  This allows IIS to define the
    8 T4 D1 J; z5 E2 q# @
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % a9 ^3 W4 f4 `# K
  770. ; does not currently support this feature (03/17/2002): s$ Y8 j4 X9 I3 I" H: p4 b
  771. ; Set to 1 if running under IIS.  Default is zero.3 f) [8 n5 I* m0 p
  772. ; http://php.net/fastcgi.impersonate. L6 B% S& p- Y! A& q" E  w& y' n5 A
  773. ;fastcgi.impersonate = 15 o8 {- s+ a6 t2 m

  774. ' v- T# P4 [2 Z4 U/ q0 X3 b
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    0 k" v" u: G, c. M: p8 g
  776. ; this feature.! b: _! y/ ^, e9 \$ ]) c7 v) N
  777. ;fastcgi.logging = 0
    , J. {4 G+ h" y- A
  778. 9 T! F: f* W0 E) T; @
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% F' s+ N# d! o! p3 V
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that! E3 x9 w1 y- \: ~8 \
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    9 V6 J3 A& ^9 A+ p! q) c2 o
  782. ; RFC2616 compliant header.0 v7 m9 S$ D# p. M9 q, l6 C4 @
  783. ; Default is zero.4 ^8 g6 i" O6 z" d
  784. ; http://php.net/cgi.rfc2616-headers+ I' N4 v% w- r/ l( F6 G
  785. ;cgi.rfc2616_headers = 05 ~! w9 Z: }) f" j* d" |
  786. + C1 g, R% ]% P* J$ ]  X3 f% `
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ( S  B8 m7 r4 d* c- P1 d) \
  788. ; (shebang) at the top of the running script. This line might be needed if the. F5 E- r3 }" J3 X% t0 I, l: [" d
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* }: T) f: D3 l3 [
  790. ; mode skips this line and ignores its content if this directive is turned on.: h" T* k# v5 I8 P8 j! _0 Y; G
  791. ; http://php.net/cgi.check-shebang-line( D. @) z* h) Y5 ^
  792. ;cgi.check_shebang_line=1' [2 @6 |% ~/ E# s9 I  h

  793. 4 D' |! ^1 p4 T8 y+ W
  794. ;;;;;;;;;;;;;;;;- Y  K3 V/ O0 X. r% j& F% Z. X3 B
  795. ; File Uploads ;5 u1 W! h& U/ }) ?) P; x( |
  796. ;;;;;;;;;;;;;;;;7 x) P% C* q/ ~$ n

  797. * L! P9 [. {8 V! y
  798. ; Whether to allow HTTP file uploads.$ `" k) C9 T3 V
  799. ; http://php.net/file-uploads/ r, x7 D& O! N; c# ?$ G) X' U
  800. file_uploads = On
      H+ ^3 o' K& p. w5 E7 b: _

  801. 9 f4 v9 V; Y1 \: w0 G4 i3 ]
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! w8 p# w2 |6 M$ l7 [5 ^
  803. ; specified).: J2 R6 S/ A( Q6 ]
  804. ; http://php.net/upload-tmp-dir
    1 p! E, G1 R5 r  f: ?: K7 p
  805. ;upload_tmp_dir =
    & x% k0 u. _/ ~6 i3 J. a9 i& b

  806. # E. A5 B- q3 j& t7 c2 Q
  807. ; Maximum allowed size for uploaded files.. i& i( Q' [1 A+ X# u  K' \# H
  808. ; http://php.net/upload-max-filesize: w1 o0 F/ b6 z0 U. C8 _1 R
  809. upload_max_filesize = 50M
    " C& y0 n" F/ `9 z9 e

  810. % N- o; p3 }" z7 d0 k
  811. ; Maximum number of files that can be uploaded via a single request
    $ ^% q4 a) S% i& h7 @
  812. max_file_uploads = 20
    / h1 p8 P; W. B/ V" ?% g
  813. 2 K" Z, u- O  p  _
  814. ;;;;;;;;;;;;;;;;;;, D0 j9 g0 m& |% G, U+ D
  815. ; Fopen wrappers ;
    ! r( O7 P6 {$ ~$ Q! C+ e: m
  816. ;;;;;;;;;;;;;;;;;;: m. Q3 U3 i/ Y! o$ F( Y

  817. 9 t0 k& x( V: f
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    6 i( U2 j* N# f
  819. ; http://php.net/allow-url-fopen4 E/ V7 o/ E* `$ F: n" s& Y/ C+ Z
  820. allow_url_fopen = On$ F: U6 Q* j; ?0 L
  821. " r! j! w' U3 |* U
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; Q) N2 }2 X4 t4 l
  823. ; http://php.net/allow-url-include% t- x& r. c- w$ T- K3 _7 ?
  824. allow_url_include = Off
    + K4 g  ~3 f" G1 {1 u
  825. ' W9 x3 d8 X3 t/ ~' x
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    2 v' d8 ~! n9 `: I! j7 b
  827. ; for this is empty.
    0 [( t: ~* g1 |
  828. ; http://php.net/from
    1 q+ t( T* ]" ?8 e/ D0 ^
  829. ;from="john@doe.com"
    " n4 m) i5 W3 h6 q4 `
  830. ( b& E* K9 c" k: U% m5 W( L2 m
  831. ; Define the User-Agent string. PHP's default setting for this is empty." {- L/ K  B7 X, v: X6 S6 t
  832. ; http://php.net/user-agent2 l5 R! t7 |6 p
  833. ;user_agent="PHP"/ A8 l+ R+ r# Y8 i# k2 K) \7 B, E
  834. 9 M6 P: W& ~0 U+ G
  835. ; Default timeout for socket based streams (seconds)! q; x" j& g2 ?% e# g  E  z7 f
  836. ; http://php.net/default-socket-timeout& p& Q7 T7 l8 o* V& N6 R
  837. default_socket_timeout = 60* ~8 G6 }5 A. b" o- {- {' h- u
  838. ' v1 n2 l- L# s& ~7 [1 K7 j( x. N0 k# H
  839. ; If your scripts have to deal with files from Macintosh systems,
    / K+ m+ ^" Y% H7 A8 Z2 p+ S
  840. ; or you are running on a Mac and need to deal with files from
    3 O. v' A7 E, g4 }$ i" @4 E  t9 ~
  841. ; unix or win32 systems, setting this flag will cause PHP to- }0 _4 e3 d; A' v( H6 ^
  842. ; automatically detect the EOL character in those files so that8 n3 ^; [* [- l. [
  843. ; fgets() and file() will work regardless of the source of the file.7 E+ b/ J5 a, m
  844. ; http://php.net/auto-detect-line-endings
    5 E0 N9 r- H: E8 b* m1 O
  845. ;auto_detect_line_endings = Off
    ( m8 v) T  Z, s9 @0 ~

  846. : I2 }1 K' z! a# M
  847. ;;;;;;;;;;;;;;;;;;;;;;4 G! }- O+ H; p) Z/ ^1 L9 m
  848. ; Dynamic Extensions ;" T4 q2 n( h# v4 `
  849. ;;;;;;;;;;;;;;;;;;;;;;) _6 H( h6 V/ B
  850. % K) f& a7 P1 K
  851. ; If you wish to have an extension loaded automatically, use the following6 r5 L# g* _7 ]1 O! r
  852. ; syntax:
    4 t+ W+ F  G7 s; \: u2 d
  853. ;% `8 L7 a3 I8 w8 e2 C" \
  854. ;   extension=modulename.extension
    ; a- d8 W1 Y) u% _9 u* K
  855. ;
    ' [0 `1 g" y9 K$ P( l0 ^5 R# L& i
  856. ; For example, on Windows:
    - ^7 }) q( A% e; _3 k/ w
  857. ;  g0 M5 O. i" T% C  y
  858. ;   extension=msql.dll
    * _. K7 z! O( E7 v7 E; W
  859. ;8 s" p% y8 q5 H* P
  860. ; ... or under UNIX:1 M2 \; M5 S3 F& p
  861. ;
    8 E& i  `1 h" j  H- h" R2 u- k" I
  862. ;   extension=msql.so& r+ _' H* l6 L
  863. ;4 e5 y1 u0 R3 ~  A, H6 W+ q3 d
  864. ; ... or with a path:- D; ^$ @& b. l6 F8 X( H* x
  865. ;0 i" E3 a7 z! b: c1 \' b
  866. ;   extension=/path/to/extension/msql.so
    - e) U: Z# I9 u5 n( ?2 V6 Y
  867. ;) Q+ X/ _% v# J# q! k+ q1 l
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / }# m; x2 R6 X9 N) t  T; R
  869. ; default extension directory.
    9 H6 J. ]6 ~' b" J" {
  870. ;  ]7 f) w2 ^  t. Q
  871. ; Windows Extensions
    ; |4 R* S$ I' r% {* Y8 L, t
  872. ; Note that ODBC support is built in, so no dll is needed for it.& W" y% U6 \$ D7 X9 O0 r( q- |6 U, e
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    8 F1 n& J( z: l. o2 R7 w8 O
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).5 ]/ w, R/ D. X+ J1 @  y
  875. ; Be sure to appropriately set the extension_dir directive.3 N2 u* Z. l4 a; E8 r3 M- C- X5 D
  876. ;
    6 T) J$ a8 ^1 ^0 E% n
  877. ;extension=php_bz2.dll
    1 ]$ k0 K+ L# P+ L9 `4 U. p
  878. ;extension=php_curl.dll+ }# ^+ h& A8 r5 i
  879. ;extension=php_fileinfo.dll
    ' a/ B1 K( a  @+ B) t2 r4 g3 r% `
  880. ;extension=php_ftp.dll
    * o) T! j8 ^$ U5 g2 A/ U
  881. ;extension=php_gd2.dll
    ) B3 E) A( K% Y7 \; t) z* z
  882. ;extension=php_gettext.dll2 Z: o6 B& A; L2 [1 v: U+ }. s5 k1 y
  883. ;extension=php_gmp.dll
    / s* ~& @5 ~% U- l' Y0 ?. u1 ?9 C
  884. ;extension=php_intl.dll; |4 v3 u- c* ~+ N+ q
  885. ;extension=php_imap.dll, Q, J4 c+ b- `
  886. ;extension=php_interbase.dll
    % W; v3 S" P) a- K4 V* g! t* e
  887. ;extension=php_ldap.dll; R! H! y7 l8 m; d9 ^+ U: \' _
  888. ;extension=php_mbstring.dll
    ( J- C5 c# J# j, r3 s& H7 Y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; v! k( W: l; L; M5 c) O1 z
  890. ;extension=php_mysqli.dll) k. v9 }% e2 H: r) B/ O2 {) |
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . R7 A4 v9 C  ]1 x8 ~) M
  892. ;extension=php_openssl.dll4 D; u; ]7 ~! d. `/ h8 ]8 ^6 j
  893. ;extension=php_pdo_firebird.dll$ D! ~: N0 x9 f
  894. ;extension=php_pdo_mysql.dll$ V" ]: C2 b" q8 l6 v/ ~
  895. ;extension=php_pdo_oci.dll& O) Y5 z2 v" v- o, P4 R% V- S7 b
  896. ;extension=php_pdo_odbc.dll" i- C) ?% }' p
  897. ;extension=php_pdo_pgsql.dll
    2 |( l) Z4 D; A# t; L+ z7 }$ f  |  t
  898. ;extension=php_pdo_sqlite.dll
    0 s  j5 k+ }8 ]" A( d, }; ~! s, k8 r
  899. ;extension=php_pgsql.dll0 o- z6 v# E" ]7 P! Z# g; \% W! O! A
  900. ;extension=php_shmop.dll
    : }  M6 E) F& H6 L

  901. / C5 z- Z6 j5 z/ ~$ B
  902. ; The MIBS data available in the PHP distribution must be installed.: c4 Q2 ^: t( v7 k  H, |9 s
  903. ; See http://www.php.net/manual/en/snmp.installation.php' M) G! R8 ^, M2 M
  904. ;extension=php_snmp.dll( Y" q4 _# x/ ]
  905.   K5 w. x  I* Z
  906. ;extension=php_soap.dll
    8 C) U5 \' s8 v8 G+ U9 ?( a2 K- r% s
  907. ;extension=php_sockets.dll1 n( E% p6 H# G# R! L- ?
  908. ;extension=php_sqlite3.dll. k' X& j& u) K6 L5 a; x8 L5 ^7 a
  909. ;extension=php_tidy.dll
    1 N$ T# y( W  ~$ y0 a  K
  910. ;extension=php_xmlrpc.dll
    5 U6 Z. U8 c6 l9 f& p1 |, c
  911. ;extension=php_xsl.dll/ D& C9 o! d4 x- X) U

  912. : }8 H8 J; p; X5 T4 c9 H3 d$ k
  913. ;;;;;;;;;;;;;;;;;;;
    ; u5 X- i5 e. G7 K$ q4 t6 i
  914. ; Module Settings ;
    2 ?* d6 l' ]# h" J# Z+ {
  915. ;;;;;;;;;;;;;;;;;;;
      ?% \3 f. M: D) H( h  m( C
  916. , c7 `! k5 n& {) H9 P% |! c2 U5 g
  917. [CLI Server]7 ~, w* c6 |" ?3 m! C5 R
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    : Y$ _, _( m1 B+ y2 ^  m
  919. cli_server.color = On
    ) I* f2 S. N8 g$ e. g# L

  920. & e5 s3 Z& L. L  W; B8 J
  921. [Date]/ h$ z* }/ |/ s. p
  922. ; Defines the default timezone used by the date functions
    9 c. \3 F% Q& \  m7 C) J
  923. ; http://php.net/date.timezone0 c! |8 D2 g" Q; N6 V
  924. date.timezone = PRC
    7 H9 `6 B6 N; _4 h" s  j+ G6 x

  925. 3 y# V- ^" e/ n# v0 l% h: q
  926. ; http://php.net/date.default-latitude
    0 X1 L2 i5 Y& U* e7 i! U! {
  927. ;date.default_latitude = 31.7667
    5 S0 p6 P9 C5 N' f, X# g

  928. % b, L9 A% C9 b/ @0 a; \% F
  929. ; http://php.net/date.default-longitude
    / m+ V" t! b) t# i5 T+ c0 |5 _
  930. ;date.default_longitude = 35.2333; w  Z6 ~- Z, l

  931.   T7 M1 ^; `& S
  932. ; http://php.net/date.sunrise-zenith
    ( }* Q# Y% x8 o7 I$ s  H# ]
  933. ;date.sunrise_zenith = 90.583333% u! x$ g+ Y3 o5 x+ g# A! p
  934. - t! [6 s; c. X
  935. ; http://php.net/date.sunset-zenith  M3 H+ M6 O. S( ?, t2 D: e
  936. ;date.sunset_zenith = 90.583333) l- g: ^$ V! X

  937. ) B' D$ a0 q) s- G$ a
  938. [filter], n) [: y1 N  W; \* A7 J
  939. ; http://php.net/filter.default
      ?- p% q$ e9 X4 J) ^* H# _
  940. ;filter.default = unsafe_raw
    7 u/ a4 H! r1 a' z" B  C
  941. ; [% Z3 T9 s3 {8 w( |2 I6 y$ a
  942. ; http://php.net/filter.default-flags
      \" E' c' z( R2 L, j3 H, e
  943. ;filter.default_flags =
    : k( ], j! K. _7 _/ i

  944. 2 W+ F5 f8 N$ q* T
  945. [iconv]) ?7 F$ L, ]3 _2 P( h2 @5 P
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 P2 _7 _7 r1 ?( P
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) ]  s' a! f* G7 h
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 [/ M( t0 `& l! Y
  949. ;iconv.input_encoding =; X; [& D  y3 w1 V# t! \* V
  950. 7 S# s, s. i# t" G- l
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 H/ J: n8 q; T  f! s, v
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 q- x" y2 C) P3 N2 l5 ]# d
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) W; u4 T3 P& S+ q5 r
  954. ;iconv.internal_encoding =+ T8 _7 |4 k$ U6 E3 a* ]) C8 L

  955. / y# n* N# D2 @' Z( F
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.6 F+ m! c, g5 D3 l( H4 M% r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# o! C" s: P/ H" p  H
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    3 Y! }3 R8 p4 C" _
  959. ; To use an output encoding conversion, iconv's output handler must be set% v* [8 v3 R' _2 [' M4 r
  960. ; otherwise output encoding conversion cannot be performed.
    . E9 }2 P9 k  B
  961. ;iconv.output_encoding =
    2 J, L6 \& b' @3 A6 s

  962. 0 Y/ P5 }) B* b6 u
  963. [intl]
    : N* O/ @) z$ K5 V' _
  964. ;intl.default_locale =
    + t6 \& U, y) G
  965. ; This directive allows you to produce PHP errors when some error8 M' A  e  W( Q! M5 e+ r- z: d8 ]# ^
  966. ; happens within intl functions. The value is the level of the error produced.$ y5 h6 ^( h9 B! }' t
  967. ; Default is 0, which does not produce any errors.6 j! Z$ E! p5 p
  968. ;intl.error_level = E_WARNING
    , r+ z! Q. z8 c& c( Q  a- |! N
  969. ;intl.use_exceptions = 0
    6 H4 p: R& `" p7 s
  970. . @! X) q0 Y, r, f- x( k" v5 c
  971. [sqlite3]& x8 @. F& y' y2 |9 w" ]
  972. ;sqlite3.extension_dir =
    . Y) d; D! Q" L3 |
  973. 2 @& _5 i6 v& Z1 C
  974. [Pcre]
    5 p: x+ E# y6 e( H* p& I7 G
  975. ;PCRE library backtracking limit., s8 T' y; g3 T/ s
  976. ; http://php.net/pcre.backtrack-limit
    & y$ k1 ?, z. P8 l
  977. ;pcre.backtrack_limit=100000
    / B3 p% `3 L8 S) v. l( n

  978. ( I+ N- |6 h3 v
  979. ;PCRE library recursion limit.1 Z  {# Q9 B: ]: e
  980. ;Please note that if you set this value to a high number you may consume all) j5 R" q( B% @; V0 w0 P( H
  981. ;the available process stack and eventually crash PHP (due to reaching the
    / ~1 n1 m' R, X+ f
  982. ;stack size limit imposed by the Operating System).$ f8 k! j% B+ q$ X* S0 J
  983. ; http://php.net/pcre.recursion-limit* \! H* o; Q1 g; U- [: d
  984. ;pcre.recursion_limit=100000
    ! m1 j; O0 c: g' k5 \( z- U1 S/ a
  985. * h4 L! b4 B( Q- X5 }/ k6 w
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE/ {9 f0 n# L0 @4 u& e* }
  987. ;library to be compiled with JIT support.: [$ }- |9 n" t9 y* K8 E7 x) G9 d
  988. ;pcre.jit=1
    ' h; w, Q2 T9 p+ g
  989. 3 A9 U/ k2 {: c( Y& `
  990. [Pdo]
    9 o# r, W+ t& b" @: M& l2 F' u
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 t# p5 J" v* Z% S2 P
  992. ; http://php.net/pdo-odbc.connection-pooling/ T: D6 X; {7 H* i: z7 K* A
  993. ;pdo_odbc.connection_pooling=strict* @. U, C- M5 v' W) d: h

  994. . W1 A% L4 a/ S/ E, D3 l
  995. ;pdo_odbc.db2_instance_name
    1 s) a. |' K0 U; j4 s2 `

  996. $ ]' P# Q% j- w$ |
  997. [Pdo_mysql]
    1 O/ H( J" _' z& u) l5 l9 D( D
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 w* d0 P) b& ^' A
  999. ; http://php.net/pdo_mysql.cache_size
    % ^* V5 G1 f  M- W
  1000. pdo_mysql.cache_size = 2000
    6 C- Y0 b2 W8 V$ R  j2 `
  1001. ! _: @* o. V  T; N: V6 |( x
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! u2 n* ~! o& u1 I% ]. X
  1003. ; MySQL defaults.* D  x( }- r% R$ I
  1004. ; http://php.net/pdo_mysql.default-socket. B. a: N: O2 q, v. {8 N1 q" \
  1005. pdo_mysql.default_socket=
    & H& q" E. @+ X: u% Y0 P

  1006. * v4 N9 H" e' |7 V- Q. \" o
  1007. [Phar]
    9 V' h9 r. \! w. l6 X3 |# a7 e
  1008. ; http://php.net/phar.readonly
    4 I$ {9 B. E: r. r2 C' {. f
  1009. ;phar.readonly = On6 R* J! `3 }2 h) K8 p
  1010. ( ?* s0 [4 r8 |5 l% U- O$ W
  1011. ; http://php.net/phar.require-hash3 P' |% B" k9 c& f
  1012. ;phar.require_hash = On# t$ a2 p2 L/ g7 k6 k

  1013. & X$ z0 s0 g& [4 ?, g/ g" l
  1014. ;phar.cache_list =( L" F# z/ t8 R$ k$ \6 x# J! `, q9 m- m

  1015. 0 T4 |% d; W  K( E  i
  1016. [mail function]0 Z' z# J  [: P2 A. a4 Q
  1017. ; For Win32 only.( x$ H' X3 I1 K7 `3 h
  1018. ; http://php.net/smtp
    ) B2 J: T0 n8 |# E' m# ~! N" A( e
  1019. SMTP = localhost% W4 v& D0 p7 F  N1 f
  1020. ; http://php.net/smtp-port
    ; o) N2 h# J3 }$ W2 e* ]- i
  1021. smtp_port = 25
    + x1 X' M, x: |/ W! S  {% h

  1022. 4 Y. l! K  w/ s, M
  1023. ; For Win32 only.& ~/ k/ V0 N- |
  1024. ; http://php.net/sendmail-from
    ( v$ m6 Z' E: A$ b# W; T% }
  1025. ;sendmail_from = me@example.com. L! F+ V* [$ ?, n

  1026. + }  c6 d( ~. n* F* Q# Q% C# {/ d
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")., p( n9 L! E. [' }6 V! c
  1028. ; http://php.net/sendmail-path
    5 R1 r) S  N2 Z0 N. m0 d
  1029. sendmail_path = /usr/sbin/sendmail -t -i8 D# j# w- f4 U/ t6 B
  1030. , G! ^: l0 g* O- q* ~; L! C6 ~
  1031. ; Force the addition of the specified parameters to be passed as extra parameters, C- [7 }- ?, m( c& o9 j
  1032. ; to the sendmail binary. These parameters will always replace the value of8 n* t2 D1 \/ e4 F; P: @8 [: H
  1033. ; the 5th parameter to mail()./ ?! \+ y5 I* c: U7 J( z7 X) ~
  1034. ;mail.force_extra_parameters =
    * p" t# }/ |9 H8 X! S

  1035.   c" r: p2 t- J/ \) Z
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " E- n. t; O8 \
  1037. mail.add_x_header = On- ~6 s# E8 g( o

  1038. $ s! p  s  V: I! ?: i
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ) i8 v6 x4 u5 k* }. u3 c7 \6 H
  1040. ; the full path of the script, line number, To address and headers.3 x' @! o! a) a, w
  1041. ;mail.log =
    9 p, n0 p2 s# g* {( ?! U  c8 t6 b
  1042. ; Log mail to syslog (Event Log on Windows).
    # B% c9 N% ~  C7 t- k6 ~2 N
  1043. ;mail.log = syslog
    / Z4 H$ g  b& L: q: T

  1044. 2 i9 G1 x) j) p# Q  x. a
  1045. [SQL]
    $ S8 E. z* X/ X; s# c
  1046. ; http://php.net/sql.safe-mode
    6 b- U8 A  D8 w9 W* C2 O
  1047. sql.safe_mode = Off
      W3 j: Y/ s8 H+ J7 D& v

  1048. ) ?3 K8 K+ n5 ]$ \" o  E5 L
  1049. [ODBC]
    & X! n) m3 h$ G% n: K0 m, q- P" V
  1050. ; http://php.net/odbc.default-db
    ) i# b& _, j6 @/ ?
  1051. ;odbc.default_db    =  Not yet implemented8 G7 ?4 I' z: }7 Q- O

  1052. 1 h! k' n  B3 t1 E8 d. q
  1053. ; http://php.net/odbc.default-user& v2 V% `; `# s. i
  1054. ;odbc.default_user  =  Not yet implemented
    % @4 C8 Q' K- d8 |3 y. M! x

  1055. 8 k& Y3 m- b1 Q/ F4 q* a6 z+ f
  1056. ; http://php.net/odbc.default-pw
    % X3 w4 n" E: w. Q! f  E
  1057. ;odbc.default_pw    =  Not yet implemented
      G9 ]$ a4 I7 z' o4 B! U

  1058. * |8 s/ z, Y7 e; s! M; s& o' a1 m5 H
  1059. ; Controls the ODBC cursor model.% L, b5 m% o: b9 d
  1060. ; Default: SQL_CURSOR_STATIC (default).6 K0 o- r8 j8 A. C! w
  1061. ;odbc.default_cursortype2 ~3 t  [1 G* y" Q- Z( R

  1062. 7 |3 F  N+ D* V; }( O
  1063. ; Allow or prevent persistent links.  K" r  J+ }* d3 q/ Y, U
  1064. ; http://php.net/odbc.allow-persistent
    3 K. f9 C- ^, ?; [
  1065. odbc.allow_persistent = On
    3 p% t# x. y' c4 H
  1066. ; |. }1 o* ?) B, k: r
  1067. ; Check that a connection is still valid before reuse.# s% V7 m) d+ C" G9 m
  1068. ; http://php.net/odbc.check-persistent
    . V" ?2 U& O0 G" I: h3 I
  1069. odbc.check_persistent = On  ?+ p2 e' @' W0 g1 m
  1070. ! X* ~5 Z8 ]. x( B% {2 P8 S% k
  1071. ; Maximum number of persistent links.  -1 means no limit." Y5 b' E' a% w' t+ a* }6 l) e
  1072. ; http://php.net/odbc.max-persistent
    , ^+ g! b0 ~0 h, H* {* R
  1073. odbc.max_persistent = -1
    ' G& y) a; X# M, p1 ~: R

  1074. 6 u( @- i& s$ I
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 I" }" {7 m, G: V, D5 \
  1076. ; http://php.net/odbc.max-links
    ! R. p) F9 w. q1 u2 b7 b, _0 m9 N/ S- H
  1077. odbc.max_links = -1
    9 X6 X4 l1 _* |( H/ d7 ]

  1078. , f% }: z! Q( O- i. ^$ I, B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means, R' C4 H4 A, P
  1080. ; passthru.: N8 f9 {; o1 p0 P5 l
  1081. ; http://php.net/odbc.defaultlrl
    , G! ~7 G# V& g" T0 ^1 |- {, e
  1082. odbc.defaultlrl = 4096
    8 y1 W  t% v( T* X% |+ g
  1083. , o! k/ w+ p5 q4 V) y1 v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 I1 t2 F% y, |" L# ^# W
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + v+ L2 y6 @- l
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 U) N& p: v: \
  1087. ; http://php.net/odbc.defaultbinmode
    4 s: I4 b: p1 T% u
  1088. odbc.defaultbinmode = 1" A! K4 x& m1 }

  1089. , I6 y% Y/ M; i8 D( s
  1090. ;birdstep.max_links = -1
    9 @9 G4 D- r2 \0 u

  1091. ! P1 H+ M* Y$ D* \; Z7 A
  1092. [Interbase]( R# s; F5 D5 @9 y1 W; F" w
  1093. ; Allow or prevent persistent links.  v3 L: M! G  m& I  M' Z9 t
  1094. ibase.allow_persistent = 1
    1 D) [' g% K- }2 s$ `# x; ^+ E

  1095. : H( g  r" i* n: w+ f2 D
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ! n1 C  q  O) g) s- z
  1097. ibase.max_persistent = -16 X; ^& a5 J4 `" }1 r+ H8 U7 o( d

  1098. ' ]  |5 g' H( J/ e6 u# @! J0 h, [5 w
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' Y0 h1 A. M0 i8 F. U* I! r; C! U$ `
  1100. ibase.max_links = -1
    ; I; ^- B% Q4 E. @1 S9 h

  1101. - t% S! A' }" |$ d
  1102. ; Default database name for ibase_connect().
    $ D7 u: C' b/ e
  1103. ;ibase.default_db =
    7 F% X" m4 `  m+ M. G
  1104. ) v! Q: \- A! u; {: R
  1105. ; Default username for ibase_connect().
    ! u% y, [6 a8 ?' b
  1106. ;ibase.default_user =
    2 p% g9 a& W8 q* a- V
  1107. * j, F  ]% x4 ?: ]  H2 ~
  1108. ; Default password for ibase_connect().- S- d5 t0 t1 \: H% l$ X' J$ T
  1109. ;ibase.default_password =
    6 `' F9 G2 y) E( o1 |
  1110. 4 s8 m' c. h! N3 P9 [- ~
  1111. ; Default charset for ibase_connect().
    4 o6 n/ j0 G5 z4 [+ R* m
  1112. ;ibase.default_charset =
    ) \8 C! z4 P/ c" ]

  1113.   G/ D- A3 z& b1 L2 m: I& z5 `# M
  1114. ; Default timestamp format.1 y2 U! ]( y- {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ' m- A$ ]( C$ y

  1116. & ~6 \! G0 w) M  ^) S% S% {
  1117. ; Default date format.
      |+ x, ^7 k8 \9 y7 c
  1118. ibase.dateformat = "%Y-%m-%d"& u( M3 d5 Q" a! T2 I1 K. e* Q

  1119.   n5 o$ H$ ~( z# N9 Z6 F
  1120. ; Default time format.
    3 [$ y( c: M% @2 l# p" s4 |
  1121. ibase.timeformat = "%H:%M:%S"8 H) P: l7 D0 j+ U
  1122. 4 s. v7 H4 o1 G0 O! D
  1123. [MySQLi]5 V% z! F8 y7 v3 f/ R( z! l

  1124. % y1 b0 V4 _* Y. s( d
  1125. ; Maximum number of persistent links.  -1 means no limit.9 t8 @/ H8 Q( h% o) L
  1126. ; http://php.net/mysqli.max-persistent
    ! s: u" p* R% U+ s  T- E2 V
  1127. mysqli.max_persistent = -1% T; H( o4 }# W$ `) a+ T
  1128. " K' {* M& K# D5 W" Z
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' e  {1 g$ ^# }
  1130. ; http://php.net/mysqli.allow_local_infile/ g7 y5 K6 V% I6 D: F9 M& Q+ x
  1131. ;mysqli.allow_local_infile = On& V5 c/ c9 }4 S) _

  1132. 7 t+ p3 x8 o" X* m0 [' i( [- T4 X+ Q
  1133. ; Allow or prevent persistent links.
    6 ^  {0 X: m5 _
  1134. ; http://php.net/mysqli.allow-persistent: e3 F& h  \3 u& a- S; W, I
  1135. mysqli.allow_persistent = On, p5 R! u" X- o0 v
  1136. - x5 r) j4 J4 n7 K$ T* X* X$ `
  1137. ; Maximum number of links.  -1 means no limit.$ l% [1 {7 W3 d
  1138. ; http://php.net/mysqli.max-links
    3 l1 i4 H; F! Q# L. w! g( L3 h3 Y
  1139. mysqli.max_links = -1% C* Y) d* I1 D, w2 B! Y, @9 T& V8 S

  1140. # X1 B6 t, u1 C" g
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache! W2 n, E1 M% Q+ q% d' {) Y) Z7 m
  1142. ; http://php.net/mysqli.cache_size
    9 F8 a! _4 T! S" k+ ]
  1143. mysqli.cache_size = 2000; L1 }; l* i( @

  1144. ! K1 s& p; h4 O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 P( v& n9 H* T- H3 g
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' j7 r; v0 ^) O" S- O
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( b" m! t9 o" D* m' R% B; k
  1148. ; at MYSQL_PORT.
    & ^+ p3 ^4 [2 d! l/ M0 V
  1149. ; http://php.net/mysqli.default-port) O: j, `! S0 [' o$ s( s
  1150. mysqli.default_port = 33062 m2 |# ~/ n: r: Z# v! W$ N
  1151. 7 D( |4 ~. P5 }; x5 B
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 g9 [7 b; v' z0 F" D/ Y, B/ z: W
  1153. ; MySQL defaults.! B4 Z9 @  K; @# v$ V. C$ W
  1154. ; http://php.net/mysqli.default-socket
    " V3 t5 v4 X9 d* I
  1155. mysqli.default_socket =. N0 p7 s* p2 T7 H
  1156. 1 a. I' b( L$ _- V) F8 U
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ p) F1 U% o+ _7 U2 p
  1158. ; http://php.net/mysqli.default-host) X1 F% _( R+ r3 U
  1159. mysqli.default_host =0 g% n3 v- l, P! y  L# ^% ?+ A

  1160. ) X# m1 e& x8 r# D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).! Q. q. c/ x- X2 }; V' t
  1162. ; http://php.net/mysqli.default-user8 l6 y1 y. w5 v6 z  `  R$ h
  1163. mysqli.default_user =' M+ d* c+ i. e: T) m7 P; Q+ G
  1164. 0 Z$ f0 v! Q8 E% L4 ?) J) }  I
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
      Q1 Z9 Z- X3 K/ ?) ]* E
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.; ?' [1 V! U/ s2 h, t$ M% v- B
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 v0 Q0 N4 L* Y. [' a$ F
  1168. ; and reveal this password!  And of course, any users with read access to this% n' `$ W/ A  `8 L; N3 H+ H8 }  W- s
  1169. ; file will be able to reveal the password as well.6 C1 j6 T0 P) {6 X  M
  1170. ; http://php.net/mysqli.default-pw% _# _/ \( o! N! X1 w) b
  1171. mysqli.default_pw =8 u# E' D5 N; {8 D

  1172. 2 c) @/ E4 _( D% Y# {* n
  1173. ; Allow or prevent reconnect/ m! \) P8 n* \+ \
  1174. mysqli.reconnect = Off
    5 i- @- C0 D" ^, p; r3 i$ ^

  1175. : W2 s- F* U, \! I, a
  1176. [mysqlnd]) q/ q; r7 y8 ^; l
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be) [6 }4 ~% x4 `" i
  1178. ; used to tune and monitor MySQL operations.% k. Q  u3 F) ]1 Q
  1179. ; http://php.net/mysqlnd.collect_statistics
    3 ~" i# _" p( W' y6 p$ T* ]
  1180. mysqlnd.collect_statistics = On- V/ ]! P  W% V  L5 b
  1181. / Z, n; r& C4 t
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ( X1 {+ v# h$ E  g7 ]3 l5 c
  1183. ; used to tune and monitor MySQL operations.' C# |$ r/ N+ \
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 C; i9 T% g; z: W: s3 o
  1185. mysqlnd.collect_memory_statistics = Off& Z" }! Z" D! l$ g
  1186. 1 k% J# G' o* g" w
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    * Z+ {7 N; B% p3 |  Y
  1188. ; file.
    + I! z' d. U+ M+ k2 |7 b
  1189. ; http://php.net/mysqlnd.debug3 j7 I3 x* H8 k3 K
  1190. ;mysqlnd.debug =
    & G7 d" k2 f6 b7 ^/ P7 |" q

  1191. 1 a: t- l4 r! P( p) N& Q- G1 Q
  1192. ; Defines which queries will be logged.8 G  `+ A9 j$ ~% F0 @; ~
  1193. ; http://php.net/mysqlnd.log_mask& R4 T6 O, l, S# i, t
  1194. ;mysqlnd.log_mask = 0( a8 `/ X1 z& O

  1195. . k) X* S5 d7 A& T
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    - X$ w$ q/ E9 [( Z% ]5 d
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * C* {- T) z2 q( {: v
  1198. ;mysqlnd.mempool_default_size = 16000
    8 L* K. \: D. [3 s; A( i
  1199. ! }# d6 T* \" {6 N' x+ Q8 I: M
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.* J" _, L6 r3 d% O6 U, R
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 `0 @( l' z, v6 {1 `7 h! B
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    $ P8 j7 k  L4 [
  1203. * a; |6 ~1 V0 q4 C. T# _5 f- p! g
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in' a4 C4 f5 T5 \/ Z8 x4 p  i
  1205. ; bytes.% g! M+ r: f  ^. r
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    " @: ]! N5 A! G) V! a  l* s* L
  1207. ;mysqlnd.net_read_buffer_size = 327683 n' D- Z4 \7 }# T$ Z  W

  1208. 0 Y2 S% C" G1 F
  1209. ; Timeout for network requests in seconds.
    / l+ D7 T) O' x. }
  1210. ; http://php.net/mysqlnd.net_read_timeout: h% B5 K( p5 L) B
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 M! G" R3 b" K7 L

  1212. 5 d( T0 T- Q9 n; a5 A& q7 P
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    9 m% S" {( P5 \7 y$ l- I- c
  1214. ; key.$ i/ A# ?, n# y$ u
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ) r: g/ ~! S4 W; c+ [6 S) N
  1216. ;mysqlnd.sha256_server_public_key =
    " w) c1 T, u1 O1 z0 c

  1217. 7 |( `. b1 Q" M9 h+ R/ `$ O
  1218. [OCI8]! j4 g+ R& N* h! j- C  q
  1219. 3 D# u5 \$ r& J8 G  [5 N
  1220. ; Connection: Enables privileged connections using external8 Q8 t7 @/ S8 j# i: C! w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)# j: b, Q1 D3 Z( N
  1222. ; http://php.net/oci8.privileged-connect
    8 s8 B2 o( [' L: x9 g! G# ^4 q- O
  1223. ;oci8.privileged_connect = Off/ _2 f% C9 F2 V) U

  1224. 8 j6 i6 [8 G6 Y5 W( T
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    . v# i4 g/ J2 Q6 e
  1226. ; process. Using -1 means no limit.  S+ ^. h0 u) ^, m; X$ J+ q
  1227. ; http://php.net/oci8.max-persistent
    * l/ c4 l5 l( ]. I/ ~) X. j
  1228. ;oci8.max_persistent = -18 g: @( `: T, x) E) d
  1229. * q& K1 z& t; n- F2 l; c5 F# V0 e
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ( L+ E0 D# ]: G8 V. o
  1231. ; maintain an idle persistent connection. Using -1 means idle
    # T1 }2 P4 b7 q& b, @6 B( o
  1232. ; persistent connections will be maintained forever.
    * C" A( V. y, e! M( c
  1233. ; http://php.net/oci8.persistent-timeout8 b9 l7 w0 L% @' ]$ v
  1234. ;oci8.persistent_timeout = -1
    * D0 R: G; E; x3 x8 J+ o" u: |+ n
  1235. / L: \, M$ j! g
  1236. ; Connection: The number of seconds that must pass before issuing a
    7 `6 C1 c' p: g# d$ P* D
  1237. ; ping during oci_pconnect() to check the connection validity. When2 Q% e- |+ L  h- ?1 {! k
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 h5 U3 ^: f* o! U
  1239. ; pings completely.
    9 k' p1 U. O7 z$ j  Y3 u3 ]
  1240. ; http://php.net/oci8.ping-interval
    ) |$ W% _) _5 I+ Y( t) T* J6 k
  1241. ;oci8.ping_interval = 60
    4 k% x# b1 p$ c; S/ r
  1242. ' }" ~$ N. Q8 M
  1243. ; Connection: Set this to a user chosen connection class to be used
    0 ?/ j  f2 ]& i" A
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    5 T9 x/ L2 r# Y* _5 T
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    * e1 |7 A  Q- N5 r, H# }  n9 P% N- U
  1246. ; the same string for all web servers running the same application,6 e" ^5 l  [' M! M5 C5 H7 k
  1247. ; the database pool must be configured, and the connection string must1 l. s: [: x3 x
  1248. ; specify to use a pooled server.
    0 _4 z- H! |! _9 T3 g) J2 D
  1249. ;oci8.connection_class =
    2 i) O# i1 n5 S) K
  1250. % }( j* g# ]# E; B. @9 h" Z
  1251. ; High Availability: Using On lets PHP receive Fast Application
    " i% |+ d6 e7 D, p9 C) a
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 N* a$ n- P$ [6 n) A
  1253. ; database must also be configured to post FAN events.- A6 V, h( I$ ?
  1254. ;oci8.events = Off, Q& k; v6 G& M% R: ]+ k

  1255. ) z5 V' k3 G# R
  1256. ; Tuning: This option enables statement caching, and specifies how: \( |3 M+ w& N5 K9 C
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 n) Y5 O  X4 b
  1258. ; http://php.net/oci8.statement-cache-size
    ; }* K# m; g! t4 ~! J* }9 p. [
  1259. ;oci8.statement_cache_size = 20
    ; \. W: b: _% x5 @, ?7 p

  1260. 7 x7 }; N& k+ ?4 d* C9 ^% W' J
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    0 m9 h. E+ m+ q
  1262. ; rows that will be fetched automatically after statement execution.8 T( I" r) I+ r" |3 b! s; i8 }/ A
  1263. ; http://php.net/oci8.default-prefetch" ?9 b9 j: F% G! @
  1264. ;oci8.default_prefetch = 1007 @* A  z; p3 A

  1265. ) {! W7 U4 v8 y- Y
  1266. ; Compatibility. Using On means oci_close() will not close
    % e3 K$ J0 \/ a/ g
  1267. ; oci_connect() and oci_new_connect() connections.
    ! c/ i* v1 m# j0 t5 J9 ]
  1268. ; http://php.net/oci8.old-oci-close-semantics: E' L3 p  ?0 d5 q& E
  1269. ;oci8.old_oci_close_semantics = Off5 D' a+ j/ h# ?9 W4 J

  1270. 1 k# P5 X4 I4 @! D' y; \/ P
  1271. [PostgreSQL]
    ; F- p. j: `  x4 C" T! S) \
  1272. ; Allow or prevent persistent links.  ?3 @( S  o7 P( B
  1273. ; http://php.net/pgsql.allow-persistent
    2 M! R7 u* j0 c- w6 e+ p3 z8 C1 u
  1274. pgsql.allow_persistent = On/ |; e4 Z1 C# `9 M5 [
  1275. 8 q2 U$ x; K* S# N
  1276. ; Detect broken persistent links always with pg_pconnect().
    9 [) Y2 V8 G8 A- @* ^/ I# |
  1277. ; Auto reset feature requires a little overheads.% c/ ]! c/ }1 f) n
  1278. ; http://php.net/pgsql.auto-reset-persistent
    , _9 S8 V% k# n
  1279. pgsql.auto_reset_persistent = Off
    . t5 l% E5 e6 m, X2 l) k: F! t
  1280. ( A) o- Q. Q) {0 T. E
  1281. ; Maximum number of persistent links.  -1 means no limit.5 l# R& n( }( V
  1282. ; http://php.net/pgsql.max-persistent+ b" V" S+ v# O% ?+ @
  1283. pgsql.max_persistent = -11 x) u% V3 Q% \1 F3 w2 j- ]2 `+ g
  1284. % J5 L- ~. R: X3 Y
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 F! w! Q% H: ~, `
  1286. ; http://php.net/pgsql.max-links- m2 ?& I! C$ @# O, M" U
  1287. pgsql.max_links = -1
    : |& t8 k3 [1 s8 ]9 R- C1 R

  1288. , q% k4 I) L) d+ k0 B4 a
  1289. ; Ignore PostgreSQL backends Notice message or not.1 L+ G! ?9 G: l6 `& p% M, |+ `
  1290. ; Notice message logging require a little overheads.# o. c- U6 i% I+ [2 g
  1291. ; http://php.net/pgsql.ignore-notice
    ) G8 S1 P" H5 V
  1292. pgsql.ignore_notice = 0! A7 q* K# i9 G; e

  1293. ; {4 _: \- L. ~- V3 p1 d
  1294. ; Log PostgreSQL backends Notice message or not.! Y8 H+ U! w; y
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.. |. }/ u- w; l: x  b
  1296. ; http://php.net/pgsql.log-notice
    + `/ K3 o# e. I6 Q4 K& u# J- K
  1297. pgsql.log_notice = 0' H3 ~! q5 y0 {

  1298. 6 _7 h5 z4 \$ c# S( t) ^
  1299. [bcmath]4 A% _0 Q% p% L6 Z# z% {( v3 y/ y9 R
  1300. ; Number of decimal digits for all bcmath functions.0 @$ {2 p+ R5 A4 o& S; {5 f
  1301. ; http://php.net/bcmath.scale
    + e& t* ^6 P* B- i% }
  1302. bcmath.scale = 03 j$ B3 m7 h' F

  1303. % k3 C7 \( a7 \! u! D5 r
  1304. [browscap]
    + V% i7 L* ~9 x: J
  1305. ; http://php.net/browscap
    ; W% d3 A5 K) L9 r0 V
  1306. ;browscap = extra/browscap.ini
    8 H6 x& _; Y; h/ |1 Q" o

  1307. 7 V6 A5 }9 w* l4 x: ^
  1308. [Session]; o6 S( j7 C7 f/ G
  1309. ; Handler used to store/retrieve data.
    ) P! ^  T# Z: Y) e0 D
  1310. ; http://php.net/session.save-handler
    ' L3 s% o( o' J# Y& E
  1311. session.save_handler = files
      z8 W' N7 s5 [2 {
  1312. 1 [! l! T+ ~- O+ [5 ^( r
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    5 W! R+ M7 |' {8 k- l1 l! l7 H7 p. g
  1314. ; where data files are stored. Note: Windows users have to change this. m& j# f0 w% z8 t! Z+ ~
  1315. ; variable in order to use PHP's session functions.
    ! |& v. R" j. B/ a0 j
  1316. ;" |! C5 Z% q* y8 K+ f6 n. i* C
  1317. ; The path can be defined as:4 l3 m; W- g/ y! [
  1318. ;
    2 d# c$ j6 M& M8 Q* X
  1319. ;     session.save_path = "N;/path"! }4 _7 F+ M, X/ Y1 i3 T6 i' C
  1320. ;; y. q* r3 T4 |0 K* S( n, T& D4 s
  1321. ; where N is an integer.  Instead of storing all the session files in
    * P3 d, E/ r  P2 X% ~0 A
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ' j* G, ]1 Q, J. G6 ?) o* n  e" Q
  1323. ; store the session data in those directories.  This is useful if8 P3 H& W! |6 r6 S8 h1 G7 |9 b! S
  1324. ; your OS has problems with many files in one directory, and is4 {1 K5 f: l* e/ C  \
  1325. ; a more efficient layout for servers that handle many sessions.4 ]. a( Q9 |5 E; l, r2 H
  1326. ;
    4 ~6 I2 ^' R, ?, G
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    , s) x3 T: k& g5 Z5 ^! V
  1328. ;         You can use the script in the ext/session dir for that purpose.0 x" _/ y, H5 _# x+ m! ]2 P/ u( M
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    2 J6 T. v% R/ q0 ]% k
  1330. ;         use subdirectories for session storage
    * @9 i4 T4 a1 M" w' L& d7 C. ~" B  `
  1331. ;
    . A! i3 o( h: [2 P
  1332. ; The file storage module creates files using mode 600 by default.7 b8 w/ v2 r1 q6 I: r. p
  1333. ; You can change that by using& V, G0 G& W$ d0 a* Q
  1334. ;% S9 ]" M, _. I! k2 \6 G7 A) M
  1335. ;     session.save_path = "N;MODE;/path"' i4 z) S& d- w6 G+ ]) ]0 k  t
  1336. ;
    0 ?+ r# D/ F8 n$ |) E! W! H9 |
  1337. ; where MODE is the octal representation of the mode. Note that this
    , [9 p% P  I. F6 \
  1338. ; does not overwrite the process's umask.
    . |% g1 t6 v; u- x
  1339. ; http://php.net/session.save-path
    0 L3 f9 }1 e4 m3 P2 q5 k
  1340. ;session.save_path = "/tmp"% R( m+ W' Q/ m8 u* ]0 ^/ o) R0 @& R5 T

  1341. 7 A  G: `; \- J% B4 ~: g
  1342. ; Whether to use strict session mode.6 J  t0 c. T0 G# E( t9 a  L8 f
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate7 z6 _1 j1 E  L5 n) c+ t
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects6 \3 O& b0 d3 T3 _5 c5 P
  1345. ; applications from session fixation via session adoption vulnerability. It is2 _- j0 f: X' M$ {
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 K3 o! H6 \0 \4 x# v
  1347. ; https://wiki.php.net/rfc/strict_sessions8 Q- W( D) [" [% @
  1348. session.use_strict_mode = 0
    5 k! L/ k9 @- F5 L

  1349. 0 G( b  k- c7 b" L7 B; V
  1350. ; Whether to use cookies.- w( E- |, j# g3 l- j" I  ]+ Z
  1351. ; http://php.net/session.use-cookies
    ( d. q, D! W# Z8 t" j) U% a, @7 }
  1352. session.use_cookies = 19 T1 w% V) p8 V( X$ Q9 Y
  1353. - N/ r: j& T; v) ]  e: k: c
  1354. ; http://php.net/session.cookie-secure7 l! R, l3 D  b8 r7 N& u2 e& _
  1355. ;session.cookie_secure =
    - s6 n# N# O3 z" _( e& A+ @- ^6 Y
  1356. ( D, v! n: Z  A1 A  J/ v% Z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining" m5 ^* D$ A* w1 v" R
  1358. ; the session id. We encourage this operation as it's very helpful in combating3 ^7 q) t! T+ C' D- F8 m* A
  1359. ; session hijacking when not specifying and managing your own session id. It is- \. e( H) K& u3 ]" _% H/ }
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " g: F/ s/ L$ M+ E3 ?6 q
  1361. ; http://php.net/session.use-only-cookies5 R* x9 [# J  t6 ?! }( c# Q. q
  1362. session.use_only_cookies = 1' o3 m! D8 {5 A: m0 |9 `! X
  1363. : ?$ i0 ^! f% f8 e9 L( r6 d' w: m
  1364. ; Name of the session (used as cookie name).5 a; R9 {5 Q* H' x0 K) g) P" O8 s
  1365. ; http://php.net/session.name7 R' g5 N& j- I1 f; }
  1366. session.name = PHPSESSID" @$ F9 t4 E- S9 N
  1367. 0 a3 K8 F, c  W& h
  1368. ; Initialize session on request startup.
    ! ?7 G* X7 r' }5 v( t7 U
  1369. ; http://php.net/session.auto-start
    5 P- |: p7 k% W6 i1 B! {- q5 @5 [; T
  1370. session.auto_start = 0% C! c6 C* B6 R8 S6 \4 n

  1371. 1 a4 f% t, ^' C1 ~) Y, @7 y. ?
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    + d: [; `3 A: M8 R
  1373. ; http://php.net/session.cookie-lifetime
    9 o3 G2 T4 S: C; A( G, ^
  1374. session.cookie_lifetime = 09 |, n$ u4 F2 @: j4 l7 T
  1375. 1 D- q, x( G' X! }, u
  1376. ; The path for which the cookie is valid.* Z7 }; z3 a; U' Y
  1377. ; http://php.net/session.cookie-path
    / }# Q4 H: D) j9 u) L/ Z% _: y' u
  1378. session.cookie_path = /% u+ u4 w1 q8 f
  1379. , X7 f# e7 b. e& P
  1380. ; The domain for which the cookie is valid.7 |1 ]: W( {+ R2 [
  1381. ; http://php.net/session.cookie-domain0 f) k& O$ @/ w6 |7 l; N' r6 t: p, c4 X
  1382. session.cookie_domain =1 l: R8 ?: Z+ m8 H- N' q; [8 ^
  1383. / W+ K- r1 R5 ~# R+ I* `/ S) W, J
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ L+ X' @  p5 K5 F" l' R3 q4 A
  1385. ; http://php.net/session.cookie-httponly; j& C) ?' g0 K9 {- B
  1386. session.cookie_httponly =+ E* W8 F/ a# b) a
  1387. & e/ K4 T5 @3 n) ?$ k7 N, j
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.1 V& v- D" ]1 S
  1389. ; http://php.net/session.serialize-handler
    2 O5 @5 V" ]0 P! ^( x
  1390. session.serialize_handler = php
    $ t1 X# f0 t; K7 o; g

  1391. " O4 [8 `5 N, E# H$ d# v$ Y# {% O0 Z( C
  1392. ; Defines the probability that the 'garbage collection' process is started
    * G9 \3 I4 K8 ~0 z0 E$ `
  1393. ; on every session initialization. The probability is calculated by using
    9 V; G3 R& w' h* b' T% o
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! T' f% o+ q% ?) u. q5 E0 V7 b' ~* v. Y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & D4 n- M& v& [
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( P9 n# p* J6 Q8 p
  1397. ; the gc will run on any give request.
    . C6 _: {% i1 A# t2 R
  1398. ; Default Value: 1
    , X0 z4 R2 g" t3 z2 ^. O
  1399. ; Development Value: 1
    1 Q& [$ G& R4 e3 p0 S5 I
  1400. ; Production Value: 1
    . X6 H) S; p+ z
  1401. ; http://php.net/session.gc-probability
    / |: C' H; b' _0 d; ^. L5 r  Q
  1402. session.gc_probability = 1$ P0 O. O4 F% Q1 }

  1403. ; V' w1 t7 U) w0 x
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % e8 f3 t% L3 `& q7 e7 {* s
  1405. ; session initialization. The probability is calculated by using the following equation:+ H! v7 J( {, ?) h/ D
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    3 o  r) d. b: h% s7 k7 c& m9 K5 E5 w
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; J& `: t3 x! r# M1 }& @
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 }- J* Z$ H3 Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : l. P; s( i, V  h7 E& l
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 d- g/ M2 v$ p1 S6 k9 D9 i
  1411. ; this is a more efficient approach.
    3 o. g: E9 K! s' T% u: N
  1412. ; Default Value: 100
    1 u8 @* m2 X/ m0 p8 E
  1413. ; Development Value: 1000" I) H, M& ~( V. l; \" t6 ~
  1414. ; Production Value: 1000& A  W' X7 a/ A) Z* n. ?* a9 h
  1415. ; http://php.net/session.gc-divisor9 O: K! B5 Y0 q: C; d+ ]
  1416. session.gc_divisor = 1000) v3 h; L- n/ O1 }+ _6 ~  N- N

  1417. 9 W' h( W$ c5 x+ A4 F( c' a- C
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and& U, i$ l/ W: H% Y7 N! O
  1419. ; cleaned up by the garbage collection process.
      p& O) w2 }0 O! F
  1420. ; http://php.net/session.gc-maxlifetime
    & J# W. s# @; q  ]' `2 \2 o1 i
  1421. session.gc_maxlifetime = 1440
    2 n/ p8 p7 v/ n

  1422. ' N. x' U# W. d1 v. T+ {
  1423. ; NOTE: If you are using the subdirectory option for storing session files9 C6 T: \. @7 D4 h! d, z$ j' ~7 o
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 m/ d3 g( p: `, J3 @3 N
  1425. ;       happen automatically.  You will need to do your own garbage
    * I, X1 U2 b  @3 p
  1426. ;       collection through a shell script, cron entry, or some other method.& q, [0 x% @  ]" [
  1427. ;       For example, the following script would is the equivalent of
    1 _7 f# y9 }4 M, E
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    2 W9 F) ^' v$ @/ ?
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    " F9 V) M7 R6 u; j  F  X: x

  1430. * B* ~1 j* ^$ P2 |( i8 T
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.6 L* I+ z1 n( O
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    * S5 r, l1 g- w' j
  1433. ; considered as valid.
    8 ]5 Q5 |% p: `/ }
  1434. ; http://php.net/session.referer-check
      n4 z* t, h# q6 a% G7 z5 ^
  1435. session.referer_check =
    * I1 m" H  r% G0 l6 |
  1436. : q4 H/ a8 f/ V2 ^6 r# n
  1437. ; How many bytes to read from the file.4 _6 Q" j5 ?& H6 b8 x
  1438. ; http://php.net/session.entropy-length5 e% A0 M$ H  C8 o, n4 S+ Y
  1439. ;session.entropy_length = 32, ?2 i; o/ M0 v4 f1 n% |: Y
  1440. & V6 }: G- E7 ~" a0 ]" P5 [* m/ O' r
  1441. ; Specified here to create the session id.
    ( d3 \* C, K9 K! s6 _: l: d
  1442. ; http://php.net/session.entropy-file9 x5 D" X% @- G" A2 B
  1443. ; Defaults to /dev/urandom; O" M: l. x( `7 S5 A) ]7 E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - n& u6 C& _1 y
  1445. ; If neither are found at compile time, the default is no entropy file." O- `& W  }/ k. I
  1446. ; On windows, setting the entropy_length setting will activate the2 v  Q$ X# Q1 \! d& }* r0 f" ^8 Y
  1447. ; Windows random source (using the CryptoAPI)4 X) D1 _/ o2 P/ f$ ]% c4 ?
  1448. ;session.entropy_file = /dev/urandom
    ' V7 B1 n8 s" t  V* [
  1449. 0 G3 E8 h6 F3 e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 h3 k7 C; ?: M: Y
  1451. ; or leave this empty to avoid sending anti-caching headers.
    7 U4 j) n1 I* _' W! ^' d
  1452. ; http://php.net/session.cache-limiter& H8 i, ~! d+ \  y
  1453. session.cache_limiter = nocache& g+ S/ ?% U8 S9 V+ A9 j9 Z' E

  1454. + \, t# m0 o* B4 {0 ?( h$ l
  1455. ; Document expires after n minutes.
    . b* U( {7 [* Y
  1456. ; http://php.net/session.cache-expire
    " n  q# x, U; W. o
  1457. session.cache_expire = 1807 ]& V4 E" y2 z/ u3 G' U

  1458. 5 U6 o0 H' a+ r
  1459. ; trans sid support is disabled by default.- b1 t- {$ F) s4 n0 X1 y
  1460. ; Use of trans sid may risk your users' security.
    6 E. }$ h% W6 I1 n$ @" g8 P, G
  1461. ; Use this option with caution.
    : v# D6 {/ H; G) w9 t7 G8 P
  1462. ; - User may send URL contains active session ID3 G1 K; C" F0 Y; c* C
  1463. ;   to other person via. email/irc/etc." b, S5 V1 ^. ]0 ^
  1464. ; - URL that contains active session ID may be stored
    ; F$ A& x1 F+ R/ \: C
  1465. ;   in publicly accessible computer.
    $ d* b2 h2 i$ ]( F4 v- T: R! h
  1466. ; - User may access your site with the same session ID- b, c! J0 M) \, A! m
  1467. ;   always using URL stored in browser's history or bookmarks." W. ~' C+ t" S) @3 E6 d
  1468. ; http://php.net/session.use-trans-sid
    " ~0 W4 _! f; ]9 n  w
  1469. session.use_trans_sid = 04 ?! A' u) c  F$ T, i
  1470. ; h; j5 v. k8 f
  1471. ; Select a hash function for use in generating session ids.
    3 u1 E7 F9 _3 U8 j2 ~
  1472. ; Possible Values1 p% q" D) }+ V; ]
  1473. ;   0  (MD5 128 bits)
    9 Q" x0 P2 |: y$ c' c2 s; F% o4 t
  1474. ;   1  (SHA-1 160 bits)5 i1 ]- S+ I9 _
  1475. ; This option may also be set to the name of any hash function supported by9 ^4 j& s. e7 _0 e) Z0 K/ @
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()% ~  R& `" ~; a; z8 p" `; q+ d
  1477. ; function.
    , F0 `% D6 [( I
  1478. ; http://php.net/session.hash-function
    " K: \: |3 b9 q" l; T; r
  1479. session.hash_function = 0
    5 z. l( p" u- Y( i0 U

  1480. 2 v& v0 i( }4 O* J* P
  1481. ; Define how many bits are stored in each character when converting
    5 X( E" V$ s' D# v* {& [
  1482. ; the binary hash data to something readable.4 g2 c  B4 s: o1 J
  1483. ; Possible values:8 m) y% w/ O; ?  b5 X( C
  1484. ;   4  (4 bits: 0-9, a-f)- P: d' I' P$ [. e
  1485. ;   5  (5 bits: 0-9, a-v)
      d9 l. B  X# N! i, U- N3 m2 ]$ A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    + E% s1 r  R# ^" V$ @+ N
  1487. ; Default Value: 4
    ; A* ~; w8 _! ~, C
  1488. ; Development Value: 5
    * c( F! R! o4 L& p# F7 Q
  1489. ; Production Value: 52 z2 k! w2 m2 W+ ^! _
  1490. ; http://php.net/session.hash-bits-per-character
    - b8 s5 ~1 [9 E
  1491. session.hash_bits_per_character = 5
    - Y" m  `% {4 K- ?

  1492. ) E6 v0 J' z- j. Q7 J3 B
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * |' Z* ^' M- U; ~( V
  1494. ; form/fieldset are special; if you include them here, the rewriter will0 H6 ^' n! I( ^7 t
  1495. ; add a hidden <input> field with the info which is otherwise appended
    7 @5 ~/ Z2 x; k5 x1 _1 T
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.. f2 [, h7 ~* A$ d
  1497. ; Note that all valid entries require a "=", even if no value follows.3 i" O$ z+ q5 U: C( a# F
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; v# M6 K5 `" ~
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  @* d7 l* W% T; d; i$ R
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; j/ G) H9 E: }% q* `1 K* A9 c7 {
  1501. ; http://php.net/url-rewriter.tags
    , a) [5 t+ S$ `3 w
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"  m$ |% S& Z1 `! i' ~: a6 k
  1503. : A5 `& r: V5 ?5 ^& u0 `6 [
  1504. ; Enable upload progress tracking in $_SESSION7 o3 w1 {$ _( L# v+ b. h
  1505. ; Default Value: On
    / r) }2 u& O  B# F' T7 y( U
  1506. ; Development Value: On: [& C+ w  @7 V2 u4 x! ~/ \8 v
  1507. ; Production Value: On! R/ G3 s  Y& M
  1508. ; http://php.net/session.upload-progress.enabled1 j$ F$ K6 ~$ f4 e, K* F: D. t
  1509. ;session.upload_progress.enabled = On5 V" M4 r, o2 ?
  1510. . v$ f: L- j1 h- K( j9 A/ g3 X
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . I. B# U+ Z' |9 r4 Y7 x
  1512. ; (i.e. upload completed).
    # e9 e2 \0 O" e5 O; X
  1513. ; Default Value: On
    8 k+ V6 G4 H1 b$ u; I) C9 `# {
  1514. ; Development Value: On
    ) H5 |' j1 q5 z. }
  1515. ; Production Value: On
    9 B% ^0 O1 h, p/ F3 w  B: H
  1516. ; http://php.net/session.upload-progress.cleanup9 R6 w4 B& p; R: r# H  T! L: [
  1517. ;session.upload_progress.cleanup = On
    + T/ h) S6 M7 [% C3 `
  1518. 7 e4 I/ X6 y8 N6 K" B2 ^. ]: g
  1519. ; A prefix used for the upload progress key in $_SESSION
      \& v. T6 }+ R4 H
  1520. ; Default Value: "upload_progress_"
    , i- ?# u5 w1 O  S
  1521. ; Development Value: "upload_progress_"0 l  z: c4 O6 v* e5 R* b2 j
  1522. ; Production Value: "upload_progress_"8 h' ^8 L, h8 C) e+ p% ^
  1523. ; http://php.net/session.upload-progress.prefix. O* j5 U: U/ S5 _
  1524. ;session.upload_progress.prefix = "upload_progress_"
    1 X& ?6 F8 p( x6 H! ?6 O% V
  1525. ' E; ?: e, L% D5 ]% B
  1526. ; The index name (concatenated with the prefix) in $_SESSION3 s8 R% Q5 v, t+ o  t
  1527. ; containing the upload progress information
    - n& Q4 J- t6 {: S2 H; _, y7 ~
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 X- u1 o. ~) U/ C4 R
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( N1 m- p+ A' B
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 |* d' l% R# t3 T. G$ w& R
  1531. ; http://php.net/session.upload-progress.name
    9 |( Z: g6 E' t* w
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    : R: v  X8 m6 U  a! a. N

  1533. 5 B4 n4 E% v2 g' [  t% C5 R
  1534. ; How frequently the upload progress should be updated.5 n- Q5 C) b: u5 g+ a; u0 ~  Y
  1535. ; Given either in percentages (per-file), or in bytes8 \- A( {6 G0 R" X
  1536. ; Default Value: "1%"
      B4 z' L+ d, [
  1537. ; Development Value: "1%"
    $ f' n1 k4 |, y
  1538. ; Production Value: "1%"+ X9 d: S  H/ l. s/ c' e2 `' K
  1539. ; http://php.net/session.upload-progress.freq
    & s+ Q3 Q( z8 ]" c9 H6 I
  1540. ;session.upload_progress.freq =  "1%"
    $ O6 c2 ~4 q  Z/ h

  1541. : \# Y: ]; ?0 r# x0 m: d
  1542. ; The minimum delay between updates, in seconds; f/ X" B1 _: B1 I: h& b2 a
  1543. ; Default Value: 1
    ) v5 `, G) r6 u. N/ ^& N% Y- _
  1544. ; Development Value: 1
    1 O5 H4 N. B' Z4 x% l; k: c4 ^+ U
  1545. ; Production Value: 1: U2 _6 ~) y: R2 L
  1546. ; http://php.net/session.upload-progress.min-freq
      v% m( M2 K2 V" C
  1547. ;session.upload_progress.min_freq = "1"
      V. G. K$ b! g2 l9 n8 ]
  1548. * v( i. _% ]2 w3 h7 {
  1549. ; Only write session data when session data is changed. Enabled by default.5 [6 k/ E. M0 F) \+ N1 I8 _
  1550. ; http://php.net/session.lazy-write: Z" O0 @  t( t- O3 }! U
  1551. ;session.lazy_write = On! G% |4 V! A- F6 [" }9 j

  1552. 9 \2 }. h; m/ s" p; g
  1553. [Assertion]
    / f6 E' C! u, O( \
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    2 K2 I) W: I/ J% O) h
  1555. ; -1: Do not compile at all4 a" y" ?" Y2 H  n4 b% u* D
  1556. ;  0: Jump over assertion at run-time# v. E6 v- z' b; R8 Y8 V' _; w
  1557. ;  1: Execute assertions& W7 A. i, S( t/ V' N, ]
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)7 o5 [# y$ p/ m' t2 W- g  n
  1559. ; Default Value: 1+ S& i. _, V* m; v* _
  1560. ; Development Value: 1
    # [4 l" e1 J+ G4 x" p
  1561. ; Production Value: -1: `* _; U2 F* O1 H  a+ [
  1562. ; http://php.net/zend.assertions
    4 U+ V* ^5 @# ]9 O3 N( T
  1563. zend.assertions = -1
    6 B2 w" m% B" ?% Y2 w

  1564. , h1 J+ e" x! p1 P. Q. Y7 K  k
  1565. ; Assert(expr); active by default.0 P$ ?2 p- K( ^3 L
  1566. ; http://php.net/assert.active
    3 x; }, K6 a6 _7 Q* X
  1567. ;assert.active = On$ g8 Y1 p2 c/ {; h# Q* V& P
  1568. : V* n2 N" i4 x5 ?
  1569. ; Throw an AssertationException on failed assertions  c* G/ c2 n8 \' S/ A3 m) E* v
  1570. ; http://php.net/assert.exception
    # J, [4 ?: s1 @8 g# n( G& @( @
  1571. ;assert.exception = On
    + g  M; w& t) ^/ t8 o( x* p1 w5 S" f, @6 t
  1572. + e  N9 B; o& L5 W
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active), \1 j  n1 `: v
  1574. ; http://php.net/assert.warning
    # c7 _4 F2 M; Z3 V7 R4 \
  1575. ;assert.warning = On: m& g% c! l) V4 C

  1576. " |/ v2 @6 Q1 c' @% n# l
  1577. ; Don't bail out by default.
    , x" s/ e. M) _( _, r& z1 E& |  r
  1578. ; http://php.net/assert.bail1 e0 n$ v: y2 c; _
  1579. ;assert.bail = Off
    + T5 f3 K1 t+ B7 [% ]+ d1 H

  1580. 0 z. K5 o/ l, T1 T- A; }7 G9 l
  1581. ; User-function to be called if an assertion fails.
    5 q" ~! X- b" O# q9 [) C& N
  1582. ; http://php.net/assert.callback
    9 \9 L; X6 p, y  m# b6 X; [; Q: w9 y2 ]
  1583. ;assert.callback = 0
    . o( V9 ?! [8 T+ i( L5 j; o
  1584. 2 w0 A  [' r) e
  1585. ; Eval the expression with current error_reporting().  Set to true if you want# [' @" Z5 W$ Z6 ?
  1586. ; error_reporting(0) around the eval()./ F- B! ~, k$ Z" P$ G1 ~
  1587. ; http://php.net/assert.quiet-eval$ g2 S8 M$ z. M
  1588. ;assert.quiet_eval = 0# R7 k) T1 `' t. q; i1 |" Q2 Q
  1589. 1 d$ A2 f# g: \  q/ H2 A) V4 X/ N
  1590. [COM]
    ! H: K% g0 U3 _* x7 R
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs% Y' t1 g9 M0 g8 A3 T1 G7 `  V
  1592. ; http://php.net/com.typelib-file- Q. j& O* d& P. A2 w1 W4 X" r! @/ r! r
  1593. ;com.typelib_file =' L4 T/ Y7 B* H, L+ Y+ ^& [
  1594. * S+ E0 V9 H$ V* M. W
  1595. ; allow Distributed-COM calls. s& F6 ^( f1 V6 L3 f4 g
  1596. ; http://php.net/com.allow-dcom$ Q( {0 S4 d4 Y$ p7 I! a' X$ F" Y" F1 n5 h
  1597. ;com.allow_dcom = true: X& ?+ x( j- y) y* f) ]- n7 u' i  Y
  1598. ! L0 H) j# d" {5 |1 }! U6 K) j
  1599. ; autoregister constants of a components typlib on com_load()
    ! r9 T* W6 e9 n+ k6 z3 n
  1600. ; http://php.net/com.autoregister-typelib' n3 D; f6 U0 [
  1601. ;com.autoregister_typelib = true2 a& g" E9 K- B3 U0 u& v

  1602. 9 q& ~2 p1 C( A/ s. J( Y
  1603. ; register constants casesensitive) ?* a" {, \1 i7 O! I1 t
  1604. ; http://php.net/com.autoregister-casesensitive
    * `5 n6 M$ i' m2 R4 N3 `" N
  1605. ;com.autoregister_casesensitive = false
    + @+ X& y7 V3 e2 q% n2 M+ j

  1606. ' \! w4 c) R* V' g2 s
  1607. ; show warnings on duplicate constant registrations" ^% w# `% R, Q4 M4 r
  1608. ; http://php.net/com.autoregister-verbose
    8 H3 a! c2 {+ i2 Y# w( c
  1609. ;com.autoregister_verbose = true
    8 t! O/ Z, z3 o& p: P. z- Z
  1610. " C' ]6 k3 g! U% n3 K4 W$ r
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ( R, s* |) m+ b  u% S
  1612. ; Default: system ANSI code page
    " ~1 I; I, k8 r# w
  1613. ;com.code_page=: g* ^  r3 g3 ]7 x

  1614. # G* x# C4 p/ b* C* z* n( e
  1615. [mbstring]' W9 D) F. |. y
  1616. ; language for internal character representation.
    % g( _8 m" f7 C' w
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    . S! O5 o- i4 b4 ]0 t
  1618. ; http://php.net/mbstring.language' S! o8 B1 ~, k$ m1 v- n, y
  1619. ;mbstring.language = Japanese
    / l% U$ x2 p# P2 R# D8 t4 v

  1620. & n9 ~' N, I/ C# l4 i6 _0 N
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 ~- ?2 o+ U# T6 K
  1622. ; internal/script encoding.
    & {/ D) D+ u9 }: W
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); N0 P* B( T- C/ w
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / ?: ]! F+ I: @5 ~
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 P8 q# y6 ]+ k! E
  1626. ;mbstring.internal_encoding =( q; V# K/ C9 ?1 o/ [$ g# T
  1627. : E. `( J7 e8 V2 Z, y
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " K& v- @7 G+ R& }* O
  1629. ; http input encoding.: m; h. F0 @3 h  s( P5 I$ V
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    / M* U! a" l: `' m& {* [/ M
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used." Q, V! u4 `2 n8 m
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    4 g) ~5 V+ A+ K0 q
  1633. ; http://php.net/mbstring.http-input, p& T$ q7 z' k/ b
  1634. ;mbstring.http_input =
    - Z. A6 u7 g* L; k

  1635. 9 J0 c% }4 P$ N$ T3 U6 `$ e
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    1 u* J+ d% ~! Z8 ~) G
  1637. ; http output encoding.0 s) A; x' [* l7 c: I
  1638. ; mb_output_handler must be registered as output buffer to function.- x4 ~* G0 M9 e
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! x; g8 h. M: t% M( {! F) i9 U
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output) O( l5 R, F" G7 `
  1641. ; To use an output encoding conversion, mbstring's output handler must be set2 N9 _  F7 v% b9 P$ A
  1642. ; otherwise output encoding conversion cannot be performed.
    7 l) U9 h$ r. s! T* p
  1643. ; http://php.net/mbstring.http-output. ]% E+ q- ^+ o1 @0 l2 ^  d; J
  1644. ;mbstring.http_output =3 w9 b4 Z! G5 c  U! f* x# F
  1645.   }. H/ D7 k0 `- j/ N5 a. ^7 G# c
  1646. ; enable automatic encoding translation according to  z# p$ U8 n8 E, a6 s( o
  1647. ; mbstring.internal_encoding setting. Input chars are
    . O- q0 I' {8 |& f8 h' `- V
  1648. ; converted to internal encoding by setting this to On.
    ; s- X) U' s' F/ a- J- O- @
  1649. ; Note: Do _not_ use automatic encoding translation for
    % b. `' G  S" p1 \( M
  1650. ;       portable libs/applications.; w5 m# c( |/ t8 z8 L; K4 K
  1651. ; http://php.net/mbstring.encoding-translation/ J' |; d+ _6 o( Y$ O
  1652. ;mbstring.encoding_translation = Off
    ' l7 f* e2 s! {
  1653. & A# L$ B" U/ n% ]/ L4 N; m# T& y
  1654. ; automatic encoding detection order.# ^# t1 Y% k  ~) }
  1655. ; "auto" detect order is changed according to mbstring.language
    ! h3 [3 G/ l1 X
  1656. ; http://php.net/mbstring.detect-order% m- X8 N7 I' f% d: k' i. i+ n
  1657. ;mbstring.detect_order = auto  A! i# l- W4 B! D. K
  1658. 9 w1 i) E5 z( d9 t
  1659. ; substitute_character used when character cannot be converted# o0 c% u/ t7 f/ {2 d, d8 s# K; L! L
  1660. ; one from another0 p" U: o9 t) B8 {( `" p
  1661. ; http://php.net/mbstring.substitute-character2 o8 T0 i$ @6 D2 M0 R9 S
  1662. ;mbstring.substitute_character = none
    + @& e8 g9 t. n

  1663. % }) Z! a) X) Y. m. X3 P! i8 \
  1664. ; overload(replace) single byte functions by mbstring functions." ?3 Y% G( t% L& ~! P" E4 Q
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 Z: y4 @' Y: w: w' K* S  j+ u
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    3 S& b4 m: P. G' C$ S' q0 W. G
  1667. ; For example, 7 for overload everything.
    9 r% `1 d  ~5 W6 k& Y* Y
  1668. ; 0: No overload9 S; u3 |: V' Q! B, [7 k+ y( |) n
  1669. ; 1: Overload mail() function9 w. f. `; D! g5 h. X
  1670. ; 2: Overload str*() functions& L( V6 }+ }6 U
  1671. ; 4: Overload ereg*() functions
    . B* H8 {9 t) v- {+ k7 {
  1672. ; http://php.net/mbstring.func-overload
    $ P/ \0 V" [* x4 O
  1673. ;mbstring.func_overload = 04 `! ]: }; \  @( t2 f/ {. ^

  1674. - r% W4 S4 H8 L# m: a9 O
  1675. ; enable strict encoding detection.
    ! L! T8 \) p* T5 i! I4 K  }& V7 X) c
  1676. ; Default: Off
    ' L9 @+ W4 B* i  g$ K! [- f: l( y6 j
  1677. ;mbstring.strict_detection = On
    9 {) a3 d& P( |3 ]( t1 g

  1678. ; ], j; E2 e% B2 S8 B2 W
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 B/ L4 T* m1 R+ Q) K- v4 V
  1680. ; is activated.
    % l' r" J. Y1 a9 D
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( I- J+ c. Q5 t) u: }( _$ `5 {6 T. \
  1682. ;mbstring.http_output_conv_mimetype=
    ( I" U3 w$ J4 d& C( y/ y
  1683. ! Y; `9 h9 [6 c! |
  1684. [gd]
    ! ~9 s; D( V8 V! U7 C5 _
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    " }8 A& `  y/ N; k1 g
  1686. ; a gd image. The warning will then be displayed as notices
    , c, ^4 [  K8 Q( u  ~
  1687. ; disabled by default0 ]' j9 `* q1 t3 O
  1688. ; http://php.net/gd.jpeg-ignore-warning
    3 r, ~  ]5 v: s
  1689. ;gd.jpeg_ignore_warning = 0! V' B1 y% p, N. `# b" _4 N. N( V

  1690.   p/ g' D4 Z9 M* q
  1691. [exif], B7 c, I* N% k! L
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' o9 ^- p' e- g% J: C# Q
  1693. ; With mbstring support this will automatically be converted into the encoding
    % {+ \1 Y& [$ ]. y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    . _1 F1 ^$ R/ [
  1695. ; is used. For the decode settings you can distinguish between motorola and5 _5 R  n6 u5 I) |1 t
  1696. ; intel byte order. A decode setting cannot be empty.: Q% L3 f1 z% o3 F& x! t/ f$ O
  1697. ; http://php.net/exif.encode-unicode
    # V4 X* X( W: \) B8 D
  1698. ;exif.encode_unicode = ISO-8859-155 \+ T. `5 ?" E% u( R4 t: J

  1699. 7 w9 C5 j( u( Y6 \& Y% S6 Q. r6 U
  1700. ; http://php.net/exif.decode-unicode-motorola
    ! m8 h% g" O- `8 z* a
  1701. ;exif.decode_unicode_motorola = UCS-2BE, g' D" v" `4 X! J+ u
  1702. & F  y/ x9 U& n, V/ l8 B
  1703. ; http://php.net/exif.decode-unicode-intel
      w! `; p" ]  l! U1 g  i6 H
  1704. ;exif.decode_unicode_intel    = UCS-2LE" }" q$ H* _8 J$ ^7 y) c
  1705. & H8 }' s  D, H
  1706. ; http://php.net/exif.encode-jis1 f8 j# n! d, g& b9 t3 l
  1707. ;exif.encode_jis =
    ; e3 J3 x% J! X
  1708. ! Z" o. @  v1 p; x
  1709. ; http://php.net/exif.decode-jis-motorola1 B) O: ?4 a5 w- l* L
  1710. ;exif.decode_jis_motorola = JIS% U- s( Z# N. T) Y7 f
  1711. 5 ~5 f3 J6 c9 S: c# E
  1712. ; http://php.net/exif.decode-jis-intel
    ( [, L% A- @9 {( i1 n& |  T% X
  1713. ;exif.decode_jis_intel    = JIS
    ) C4 ]! d; R2 g! Y
  1714. ) r1 U5 E7 D9 v  N+ E
  1715. [Tidy]' n" X3 h6 u+ E/ T& D
  1716. ; The path to a default tidy configuration file to use when using tidy
    ' O, o3 n+ K; h: i5 u/ f1 O1 |3 G
  1717. ; http://php.net/tidy.default-config7 h7 m. L& h. ]$ x# k& ^
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg4 [% I; F5 C6 r4 U) E  A5 X& V% k

  1719. ! }) k2 t  z4 ?$ e2 h
  1720. ; Should tidy clean and repair output automatically?
      Y- q) A- A4 `: j
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , @* I% Q& |" n2 H0 X" n6 v2 z7 H
  1722. ; such as dynamic images
    ' }9 p' D. @+ o
  1723. ; http://php.net/tidy.clean-output$ C: G( h& F9 u) _  ]3 Y
  1724. tidy.clean_output = Off
    / U1 Z8 _' y% R8 U2 T

  1725. 3 m" n! c' }1 g1 W1 @: }- W
  1726. [soap]1 t& p0 ]: H# n( L3 q
  1727. ; Enables or disables WSDL caching feature.% g& n7 f& ~  k% D  f
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 v; I8 ?0 G# U4 m1 |9 j9 ^0 V9 f
  1729. soap.wsdl_cache_enabled=1
      j3 n4 c  |( d+ S( K' |. ^, Y' b

  1730. + q1 Y- Q' R6 e, \
  1731. ; Sets the directory name where SOAP extension will put cache files.- F" a- [& g$ s8 P
  1732. ; http://php.net/soap.wsdl-cache-dir# [7 Y6 r% j' E
  1733. soap.wsdl_cache_dir="/tmp"' U& X7 _$ V7 l, q9 C, B! m) Y

  1734. 8 k2 [% b9 n  n" P+ [9 V8 L
  1735. ; (time to live) Sets the number of second while cached file will be used
    7 f# o  e' Y9 ~5 U# Y
  1736. ; instead of original one.8 b: Z) m/ t. `+ l' u
  1737. ; http://php.net/soap.wsdl-cache-ttl! L3 _2 s6 z# e2 V
  1738. soap.wsdl_cache_ttl=86400- c5 M1 {, x% b  l: j( ?% e2 _
  1739. 3 \6 E( d) Y; H% I- i% o$ ~$ m% D  H
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # E' N. e! {2 v8 J9 B) m
  1741. soap.wsdl_cache_limit = 54 o: [) ^- V' L$ o# k# x
  1742. - |2 [# c3 @* h7 N' R
  1743. [sysvshm]+ x" Q: I5 i# y* t* X
  1744. ; A default size of the shared memory segment
    8 I# T& u, [1 u3 p. K; q: Q
  1745. ;sysvshm.init_mem = 10000& w4 |2 U! Q+ Y0 H: c4 L$ T- s

  1746. + q$ O5 p- r6 E' b  b/ f4 Y
  1747. [ldap]
    ) F' v$ `. I- G' J% F) D* b
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    6 E. J0 M  d# e" v9 `
  1749. ldap.max_links = -1
    8 R* K+ s4 g- Z1 p6 _1 \

  1750. " C0 U" d. P& k9 R" l( l
  1751. [mcrypt]$ g& a( y  M1 E0 M  ?. F  N7 j3 p* H
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open: g) R* ]: n9 \6 e. k5 D/ B
  1753. - b' `8 `. J& ]
  1754. ; Directory where to load mcrypt algorithms  j6 g/ ?5 [- m. k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & u& I/ z: X; F8 }; [9 L6 t- ]
  1756. ;mcrypt.algorithms_dir=+ d' Z- d* l- A! O) ]9 e
  1757. ) e/ K/ H/ `2 C4 e* r6 m' n
  1758. ; Directory where to load mcrypt modes
    , v3 M9 P* S/ ]; F6 H1 |3 n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : m0 b9 [8 X: N8 P# k4 l
  1760. ;mcrypt.modes_dir=7 {) T. D& T0 n& ^9 }) f% ?
  1761. * j3 x8 ]* ^( ?- g8 M4 j) g
  1762. [dba]# g! R* A/ R& x# Q; R, J
  1763. ;dba.default_handler=
    5 ?- h/ W- T6 i: H
  1764. 7 B4 t& U% ~' f+ m( R& Y
  1765. [opcache]# V! Q3 C' c( N! J8 O
  1766. ; Determines if Zend OPCache is enabled8 N' S# B& b3 l8 T/ O( Z' s/ l
  1767. ;opcache.enable=06 i8 |( G# T/ S3 @
  1768. 8 b8 V, d3 y& j, I% l5 Q% ?% m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 m" A) e3 g% n, H: {- p; k
  1770. ;opcache.enable_cli=0
    ; V4 f( B) _6 B) ?
  1771. 1 |; N& E2 H3 M6 G- S/ F$ b# K! {
  1772. ; The OPcache shared memory storage size.0 p: g* m5 Q& A; k3 }
  1773. ;opcache.memory_consumption=64
    * W1 b$ X* m( \  _7 D  m

  1774. - p" j% D0 ?7 l+ }: b# W& w0 P
  1775. ; The amount of memory for interned strings in Mbytes.
    4 n  o% E: v3 K& K; O% G. g
  1776. ;opcache.interned_strings_buffer=4
    " j: y) {; ~- E
  1777. 4 ]* ~: m( b7 R) C' }. g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    & B* u3 R: v4 e  h2 J, w1 ]+ {1 l7 n
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ' `- I  O1 Z1 l2 N* M2 A0 x4 |
  1780. ;opcache.max_accelerated_files=2000# G+ ^+ s" H0 L+ x& p

  1781. " F# n- Q: p' Y" v$ G. W6 H
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! N- ~! c; \6 o. I
  1783. ;opcache.max_wasted_percentage=5
    3 b% e. ^4 O1 d

  1784. # c  \! B0 |: D8 R) j
  1785. ; When this directive is enabled, the OPcache appends the current working+ U% I( I3 R) p9 \# w/ h# K2 [6 u- Z
  1786. ; directory to the script key, thus eliminating possible collisions between
    - T9 M3 Q# l: |) w
  1787. ; files with the same name (basename). Disabling the directive improves
    * I+ e( G0 L  |- g, d
  1788. ; performance, but may break existing applications.
    ' j. D' j7 x# I  F2 l6 x
  1789. ;opcache.use_cwd=1$ M, c# u8 J6 c, S  I

  1790. ! C) m/ G" b: X& X. C) A( ]
  1791. ; When disabled, you must reset the OPcache manually or restart the1 Q6 _, {/ S) A* u0 B
  1792. ; webserver for changes to the filesystem to take effect.1 D$ g1 L1 w/ e2 V: k) c6 \
  1793. ;opcache.validate_timestamps=1
    # X# Z' D! `" \' d
  1794. % ?+ P# _7 N( h! u3 m% n3 G) x
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    * m/ E, Q3 |2 I  X, C
  1796. ; memory storage allocation. ("1" means validate once per second, but only7 p* r. D6 i: [! I7 }* `$ i  J" A
  1797. ; once per request. "0" means always validate)1 C- F' `+ r2 R. N
  1798. ;opcache.revalidate_freq=2
    ; E0 u- I: F3 B! b# J5 F5 _

  1799. / j$ c2 F) g  Z3 N+ ]% n
  1800. ; Enables or disables file search in include_path optimization
    $ T' Z( N2 N+ {
  1801. ;opcache.revalidate_path=0  K& l0 }& g9 O. W& d
  1802. * k7 ~" N! c  X6 o0 F% G+ R
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - d1 ]  J* b# j9 U% R+ b
  1804. ; size of the optimized code.
    2 C' M& O- `6 I) d, D3 [9 g
  1805. ;opcache.save_comments=1
    , W+ ]. D7 q" L4 C& N6 m5 m

  1806. : A0 X3 x1 j  g7 o+ F" U0 \
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 R1 P$ N/ S5 y& n( n9 m# i: E
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.4 \) v* D! M1 O! D
  1809. ;opcache.fast_shutdown=0* z( ]# y2 G2 ]( e) \, F3 @

  1810. 0 ]; I. w0 A0 f  ]2 |- i, E  E+ ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    " w# `2 A! N9 E8 s3 a
  1812. ;opcache.enable_file_override=0
    : P$ A! d" E- F3 r( E5 m0 [* c( o

  1813. . v1 u9 ?% }; B4 ^( f- C
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 F, x5 p+ l( \  Z  X- c" m( U
  1815. ; passes
    9 ~8 }# ^- {0 O% d
  1816. ;opcache.optimization_level=0xffffffff
    / S, @+ x+ O6 [% t' P& Q( @. T
  1817. 7 V# M4 d  `3 V2 k! X; r4 r
  1818. ;opcache.inherited_hack=1
    & u! }2 {. B2 x
  1819. ;opcache.dups_fix=0
    6 J& b1 s7 a/ }. e! i( P
  1820.   D3 B0 [8 H* E9 H
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    , p7 x, D! `4 A: T
  1822. ; Each OPcache blacklist file is a text file that holds the names of files' l' \9 e2 [1 I
  1823. ; that should not be accelerated. The file format is to add each filename/ F* P+ F: ]5 g: |
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * Z; w  j7 Y6 {
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! u% L" k1 w. F
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( @$ O  _- s, _& u9 o- c8 ~8 Z
  1827. ;opcache.blacklist_filename=
    ) [3 a7 K8 k7 X0 \8 k
  1828. ) ^, t4 J( S( N) P3 F. @
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' r2 o: ~% c: k$ P. [9 k3 o
  1830. ; are cached.
    8 d0 s& T. q! k) k
  1831. ;opcache.max_file_size=08 M/ n: f- t4 g% s% L# u
  1832. 7 c+ i! G1 ?5 k3 f# ]8 H: u0 x
  1833. ; Check the cache checksum each N requests.; A( f& F4 N+ e" o; i' ?/ l6 g
  1834. ; The default value of "0" means that the checks are disabled.0 L! N3 f, J4 T3 g
  1835. ;opcache.consistency_checks=0) ?# w) j7 O; u" [3 r

  1836. " P6 ^; o3 l6 _
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' p( m; X7 }2 B3 ]% ?: \
  1838. ; is not being accessed.
      x2 n4 ]  w) b1 c6 @/ T
  1839. ;opcache.force_restart_timeout=180
    ! e% ?, ?; f7 c- j# H
  1840. " ^( \0 v% j# X& Y; E) a( B
  1841. ; OPcache error_log file name. Empty string assumes "stderr".! e6 v& U# V2 L1 Y& ?4 {
  1842. ;opcache.error_log=
    1 _: e. h; r* V! A6 L8 `4 K( E
  1843. $ [# S( b. i) V3 c  B
  1844. ; All OPcache errors go to the Web server log.; w& R, m3 \: `# o7 Q9 L
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / n* D9 p0 Q/ k3 y* _( G( j
  1846. ; You can also enable warnings (level 2), info messages (level 3) or+ C7 p' u! d- h; ~
  1847. ; debug messages (level 4).1 d/ b; C$ J  k, j0 \$ c
  1848. ;opcache.log_verbosity_level=10 j) _. T/ e1 s% Q
  1849. ( g/ ]+ g2 n! c4 {8 s
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% A* ]9 u( N  u0 g3 U
  1851. ;opcache.preferred_memory_model=" \. B8 x* }+ _# j, |) I/ ]
  1852. ; @" t! D; w; D. F" V( u% o2 z" C
  1853. ; Protect the shared memory from unexpected writing during script execution.
    % @* @: n8 n; q
  1854. ; Useful for internal debugging only.9 H& _) ]- R! V* ^
  1855. ;opcache.protect_memory=0$ G! p/ S# n1 Y: n5 `; i

  1856. ! D/ B- S& k+ u- V- n8 b/ i
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is2 \2 e; ^0 o- N/ W
  1858. ; started from specified string. The default "" means no restriction0 p+ K# a) F9 u9 I( \. i
  1859. ;opcache.restrict_api=
    . m' w$ |7 E/ c

  1860. ' _9 j& B. T' b/ W( u  A4 F- P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP1 v& @7 |! ~7 t1 C, v9 F! K2 }& f
  1862. ; processes have to map shared memory into the same address space. This$ M& Y! ~/ J3 N# ]
  1863. ; directive allows to manually fix the "Unable to reattach to base address"# i- k* `! Q+ K+ N' X6 S0 m
  1864. ; errors.$ A1 z2 b  e% F
  1865. ;opcache.mmap_base=
    & U& M# T/ q( d3 p( C7 j

  1866. ! r& }6 Z! [  L5 q9 E
  1867. ; Enables and sets the second level cache directory.6 Y# L( Y5 @( m3 t
  1868. ; It should improve performance when SHM memory is full, at server restart or4 m. R. c" T: {5 C" z0 z/ g- o
  1869. ; SHM reset. The default "" disables file based caching./ A% C) |; ^1 E3 E. r
  1870. ;opcache.file_cache=
    8 p/ l+ A/ h$ O. s

  1871. " t; d7 w# F! Y3 @, g( j- A
  1872. ; Enables or disables opcode caching in shared memory.
    0 a1 ~" w& c; y4 R
  1873. ;opcache.file_cache_only=0
    7 t" o/ f8 F5 u1 m  h1 x
  1874. - s% n; r  ~2 E! ]' V0 L6 i; E, w4 u
  1875. ; Enables or disables checksum validation when script loaded from file cache.6 Y3 q! C  E) Y8 ]: S( w' d5 j+ ]
  1876. ;opcache.file_cache_consistency_checks=1- n) i* x* B, s* X/ C
  1877. 6 F# t& I& n* ^( ]' ]
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to8 G. }( d( U! ^7 l
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ) C' h2 t! o  m
  1880. ; cache is required.9 v- x' I% U: D. ^9 @, F
  1881. ;opcache.file_cache_fallback=1
    - l" L+ i; }- G) F- h: g
  1882. 9 j' k  \, d* [& ^3 P
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.3 z, z# `1 Z6 I; ]$ a
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # D& U" I8 Y9 w, t0 n' Z/ l* A
  1885. ;opcache.huge_code_pages=1
    ! I6 ^# e" L* g3 O2 h% N% j
  1886. % S2 a8 |" K4 X; o7 k2 j6 C
  1887. ; Validate cached file permissions.& Y6 u# S8 J: ~! M( j5 _
  1888. ; opcache.validate_permission=07 [9 U2 ?7 Y$ @1 f, \8 ~

  1889. ' L: \! b3 N  X, ?" g
  1890. ; Prevent name collisions in chroot'ed environment.2 w6 V! f1 T# {7 s% `
  1891. ; opcache.validate_root=0! b/ i: x6 A8 S. o7 ]

  1892. ! e; n( |% I$ c. w$ _7 ?) N9 L3 G! i
  1893. [curl]8 [( b: b. G8 I+ \
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    7 v$ r4 h+ W+ }( O9 G& H2 r9 |
  1895. ; absolute path.1 j2 d( ?* k* [) ~7 g4 s' K  V
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 I( l# D6 o6 `  X8 O' S

  1897.   j9 a  ^( d1 ]5 T
  1898. [openssl]
    6 ^7 |4 u8 p& c# n  V
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem. d  |. T% F* i7 s8 I) m
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should' _' N, ^, E- e$ r9 T
  1901. ; not specify a value for this directive as PHP will attempt to use the( C, p8 u8 J  T5 R  ^4 k9 @
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ! u* f! y+ [, A2 _( _
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 |1 N# p" n- r  |! E: b5 B
  1904. ; option.& c* h3 w/ B; o0 c7 y8 ^0 Q0 m
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) \9 q: d; D" v/ Y; F
  1906. + |2 m0 ~% ~0 W4 n9 \6 M1 Y
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( c/ Z/ W: k. W3 V6 h/ R
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    3 [# [+ B% E2 ^2 S3 T
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    # L/ w+ K+ V3 K# H8 N
  1910. ; Most users should not specify a value for this directive as PHP will7 U! i* n6 i6 {: P6 K
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - e; j& s0 x3 q. y4 b
  1912. ; this value may still be overridden on a per-stream basis via the "capath", Z! w! ]/ S. y% ~9 C
  1913. ; SSL stream context option.1 Y8 @4 v/ `3 \0 }* m' L; [
  1914. ;openssl.capath=
    : |& G+ z) C, \

  1915. 3 g& M. V7 ~! d; J6 e5 Y8 c& d
  1916. ; Local Variables:- a" `, N* X1 M- B0 K8 [
  1917. ; tab-width: 4
    ) J% ~( j4 b  t0 i+ R, r  _
  1918. ; End:
    # j' q# s* f1 X% a$ v
  1919. 8 h- {4 N+ m# }. x5 _- u
  1920. ;eaccelerator8 H/ L4 ?+ }9 y

  1921. / ~; M% N$ {( }% J) M; M
  1922. ;ionCube2 z, V: k, t7 q5 K: s* y' p& O  w

  1923. 3 n" ?4 U9 K/ Y$ H+ a+ C
  1924. ;opcache" x$ G% K$ v5 S5 Z1 U
  1925. 3 o' F# z: {+ s" v) l1 c( W$ V- |
  1926. [Zend ZendGuard Loader]
    * w8 d7 R# F5 ?# M9 }: F: D
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.: y& {- m" o1 J+ h, D3 ^
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so* J+ `: Z, D5 V5 R9 U3 S6 ^# w
  1929. ;zend_loader.enable=1
    + ?, }; A2 ^# w
  1930. ;zend_loader.disable_licensing=0% C& P' O' I# h4 a. x; c& |1 ?+ {
  1931. ;zend_loader.obfuscation_level_support=3
      \! r' G+ O; [% ]
  1932. ;zend_loader.license_path=; a5 v( V1 n6 C
  1933. ' J; W4 |' r/ z& p) X9 P1 X) \
  1934. ;xcache4 M, ?# u+ u( k  |
  1935. - C6 h# |7 e4 E0 x$ {
复制代码
+ i2 y8 x) x0 U) [) D0 f
$ ^5 a/ R3 I( X4 n6 ^
6 O  {& S- [! P1 F
5 [% x6 a. O# @! a+ e! J5 p* _( f
0 T! F# P" u* G5 o3 C: U

" _1 v8 f, G0 N4 d5 S/ M  p
  m$ P5 A! T$ b: c+ u! uPHP5.6版本原始设置) ^1 V* V3 w) o0 u0 T6 {5 T. }; G
6 G! a& ~+ x+ b9 v1 ^  D% `  E
  1. [PHP]9 k0 k! {  W9 l) e: m( t/ d" e3 L

  2. 5 h3 ?/ h. `& t8 O1 W) x
  3. ;;;;;;;;;;;;;;;;;;;& H, C4 U9 g( ]$ p; o
  4. ; About php.ini   ;8 A3 A+ R- m4 J& F9 b* b
  5. ;;;;;;;;;;;;;;;;;;;9 s' {5 O2 E9 X* G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    7 L# |7 |+ p, V. D( d
  7. ; configuring many of the aspects of PHP's behavior.
    # O" `' p7 n; Y/ R% O! f% ~

  8. # |# c5 J, ^3 Z- G) k
  9. ; PHP attempts to find and load this configuration from a number of locations.* ]* x& D( F/ X$ x) G
  10. ; The following is a summary of its search order:0 @- c  H/ u2 \5 f6 A- C% U
  11. ; 1. SAPI module specific location.
    8 y! L# R$ V0 }. v1 f7 y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). f7 ?+ R3 F; j6 ~
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ L7 J& D( s4 A2 ^" U9 x
  14. ; 4. Current working directory (except CLI)
    + A  [  `- \& {4 \: \
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 i+ K; Y7 H2 D2 g1 ~
  16. ; (otherwise in Windows)
    " {, w0 B; Q- C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & F. @  T% G, Y3 m+ m: i
  18. ; Windows directory (C:\windows or C:\winnt)
    % ?* W4 _  _9 I+ V* O5 F1 G! ]2 M
  19. ; See the PHP docs for more specific information.
    2 D* j, l( t. p+ W! C
  20. ; http://php.net/configuration.file
    " Z3 _" k: e) z

  21. 7 D) ?6 |3 S; K# {" J7 }1 w% m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    / I# d" U- u; R
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 ]) a2 b! E7 a9 {4 l" B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though  q/ m' V/ C% d" j: ]
  25. ; they might mean something in the future.
    ' C) {5 {) @3 {9 ^* y# @. Y$ z! J
  26. , w* m: d* M& X% D' A+ U
  27. ; Directives following the section heading [PATH=/www/mysite] only' h/ k9 l5 ~) s3 B/ T
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 `& C3 N6 k: X& x4 G4 N
  29. ; following the section heading [HOST=www.example.com] only apply to# Z! B1 @7 [" P1 L& H
  30. ; PHP files served from www.example.com.  Directives set in these. q6 y% x" V9 s- y' ]. Q# ?
  31. ; special sections cannot be overridden by user-defined INI files or
    4 H( k- Y% u) k( g6 u0 A. @3 X$ q
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' i1 c3 M* O2 m. Z. T+ q2 \4 o' n5 e) p
  33. ; CGI/FastCGI.
    9 j( K" ~* C: ], u+ `$ T
  34. ; http://php.net/ini.sections* X& J2 y& [- ?% a* F! C! r1 e

  35. . @  `2 J* r$ {! r) g: K
  36. ; Directives are specified using the following syntax:) b7 p* ^: R6 M, k# h
  37. ; directive = value+ y) y% a+ ]& R3 K* N) z5 c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & O+ z$ v5 {1 X+ l
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! j7 j3 ?0 F! P8 ~
  40. ; There is no name validation.  If PHP can't find an expected2 d6 v; v& f1 x. Q8 s
  41. ; directive because it is not set or is mistyped, a default value will be used.9 v+ }: t2 F9 s

  42. 9 ^$ E" ]. B* O$ b/ c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 Q9 m3 t4 c9 d8 L' B
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( u: ^. ]  G6 t$ P
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 p* J4 {$ e% v' J2 l0 L
  46. ; previously set variable or directive (e.g. ${foo})
      C+ _8 D) y& c' G) V* _$ V' O
  47. - y! B! `! C9 C' ^. ]7 o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! a2 E0 |, o  G% M( Q% u9 S
  49. ; |  bitwise OR
    2 S' P+ ]" N# q4 c7 @) A
  50. ; ^  bitwise XOR: C) C' A7 n" M- k# C& Q) n
  51. ; &  bitwise AND
    1 E) n7 U2 |1 [1 X( h) U' }
  52. ; ~  bitwise NOT+ D2 G0 S& |# n
  53. ; !  boolean NOT7 Y/ m, Q4 J$ E( [- N/ y
  54. ; w2 P, V  e- F3 Q- j
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 F: k  o, }5 p( P2 ]# e) E
  56. ; They can be turned off using the values 0, Off, False or No.
    9 K+ H0 y- f, Z0 N1 l0 u
  57. ( j& z% ~; c6 P% I4 T6 e" y
  58. ; An empty string can be denoted by simply not writing anything after the equal, z. J9 L. ^: K5 E. \
  59. ; sign, or by using the None keyword:
    7 Q$ S, y! C0 m

  60. / d3 @0 z0 h# p7 u9 v4 L
  61. ;  foo =         ; sets foo to an empty string
    + _6 s0 b: ]0 u8 t
  62. ;  foo = None    ; sets foo to an empty string
    , ^8 ^7 e$ @; c! o: M3 n/ J
  63. ;  foo = "None"  ; sets foo to the string 'None'" [* K+ j+ H1 r! F
  64. 5 _) x9 r: a5 T8 U
  65. ; If you use constants in your value, and these constants belong to a6 t) A& M9 z4 |! F, `
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    6 v5 l) E8 A# i* Z! ?" ^/ J
  67. ; you may only use these constants *after* the line that loads the extension.6 d2 k+ U1 r/ h; H* g! a7 z$ [. u

  68. : L6 O- A/ J5 a& Z: d8 S
  69. ;;;;;;;;;;;;;;;;;;;, x4 O  l8 Y) |- o( J" y3 j8 ]" g
  70. ; About this file ;
    / y0 w. l+ a0 \9 [' j! ^# _) J
  71. ;;;;;;;;;;;;;;;;;;;
    % K. c9 Q! A2 {8 ]  ~, V' G
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' W  G& Z9 f* ^% s: C
  73. ; in production environments and one that is recommended to be used in4 w( |- O4 G2 K/ F5 d; L
  74. ; development environments.( q4 j9 h. a* L. o& I  v  P  K

  75. . g$ ?' x0 K- g. u+ ]/ {
  76. ; php.ini-production contains settings which hold security, performance and
    , J" A1 s+ ]' e$ \. X( r. H
  77. ; best practices at its core. But please be aware, these settings may break# w4 I$ F6 R! g* }
  78. ; compatibility with older or less security conscience applications. We
    4 E0 ?  F  c2 @9 x7 o
  79. ; recommending using the production ini in production and testing environments.
    $ F- _( ~8 ]4 V  g
  80. 8 _; S, {( w' R' ^
  81. ; php.ini-development is very similar to its production variant, except it is
    + t3 `* ]( Y7 J! s# q2 S
  82. ; much more verbose when it comes to errors. We recommend using the
    " `7 ~$ q1 x6 {& X( h
  83. ; development version only in development environments, as errors shown to
    9 w: T3 E( k8 d
  84. ; application users can inadvertently leak otherwise secure information.
    ) O" E7 V1 u# J; V* z/ ^

  85. , O1 H# o. Y8 B
  86. ; This is php.ini-production INI file.
    3 c# D9 z9 u8 Q" O6 s6 G+ F8 I; F0 u, d
  87. " t( |0 ?" U0 W; O/ d
  88. ;;;;;;;;;;;;;;;;;;;
    % _3 S0 A+ ~2 H. q+ N0 R) G" S% V
  89. ; Quick Reference ;
    / B" i, g  e6 l, K6 G: W
  90. ;;;;;;;;;;;;;;;;;;;# k( z- Z$ s+ r7 w& w
  91. ; The following are all the settings which are different in either the production
    : }/ @; M9 _) y3 I
  92. ; or development versions of the INIs with respect to PHP's default behavior.. A1 N  l# ^' {2 ?* }
  93. ; Please see the actual settings later in the document for more details as to why6 n/ ]0 l3 F7 O7 v, @( j) |5 u, R
  94. ; we recommend these changes in PHP's behavior.# T. N0 p2 ~( d4 V; l$ R
  95. + t2 h1 k7 x+ i+ l9 T) M
  96. ; display_errors, z% p: F4 c7 Q
  97. ;   Default Value: On8 T8 g+ n# X+ S4 R
  98. ;   Development Value: On
    5 o! @! R6 \: C& p
  99. ;   Production Value: Off
    7 L/ [, f2 x3 r3 y+ c( P9 v; A
  100. 1 L3 J9 N  L1 H/ F2 `
  101. ; display_startup_errors( l% J. e1 F! l9 n
  102. ;   Default Value: Off
    : |4 H) E/ D: S
  103. ;   Development Value: On% G* i7 c3 x, z4 p* P" j
  104. ;   Production Value: Off
    5 z' E- l& ~5 ]7 H

  105. ' d# v+ X$ S8 ?% A6 {; |7 j7 c
  106. ; error_reporting5 [( s, G, Z; H8 M8 p: K: ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 w6 @9 E$ C: w3 {, H6 U% M
  108. ;   Development Value: E_ALL
    * G3 B! H2 Q0 U* r* ^$ i3 l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 S% D% ]0 P& N

  110. 4 z' Y: Y9 }* U2 T9 {1 e: Q
  111. ; html_errors
    - O, i8 |3 M& g
  112. ;   Default Value: On' z0 J+ g! b; B7 `* f7 |
  113. ;   Development Value: On3 x8 o$ v% T0 n
  114. ;   Production value: On" q0 a5 X! o- }
  115. " W) r4 |8 i, P% X* z$ ~
  116. ; log_errors5 |9 N! R9 Y6 @( |2 J
  117. ;   Default Value: Off. v7 E7 S1 ?( b1 L/ q$ h
  118. ;   Development Value: On% V$ h; {( N1 m% U4 f& @' |
  119. ;   Production Value: On
    ' i( y! U5 y, q' Z
  120. ' G) l; W5 z) M6 y
  121. ; max_input_time/ ^/ B+ W) I- K/ j2 Y, m- b
  122. ;   Default Value: -1 (Unlimited)
    0 S( S% M3 _: E2 }% G/ H
  123. ;   Development Value: 60 (60 seconds)
    8 o7 U0 v1 f$ B& E6 y
  124. ;   Production Value: 60 (60 seconds)* b: n$ |% l' T& A$ z) A' x' n3 ^# R
  125. 9 p  v$ e. A, |6 ~% p  t- d
  126. ; output_buffering( Q7 s# ~$ d# q( M
  127. ;   Default Value: Off
    1 r" I7 J+ I' Q: c8 d, G3 @
  128. ;   Development Value: 4096
    : r* y, M" E' P& p1 J1 t: q' a$ A0 Q
  129. ;   Production Value: 40963 @/ R0 D4 n% s5 A8 U- F1 @
  130. 6 D5 F5 Q! i1 {( l- u$ K2 t5 [
  131. ; register_argc_argv
    1 V; b* @6 p6 F5 m
  132. ;   Default Value: On1 [4 Z! f, |0 M7 p3 [* a
  133. ;   Development Value: Off% t3 ^; Y! @2 S5 g2 R2 l$ O
  134. ;   Production Value: Off
    : Q. c& z  N% n4 k. D
  135. & V6 n4 N: I! E. T7 a+ n9 z0 W
  136. ; request_order4 `( ^! C+ H( r: R. \
  137. ;   Default Value: None
    & y* O: c3 `9 G+ \  g. ~
  138. ;   Development Value: "GP"
      q' w6 K- J& B2 _* w
  139. ;   Production Value: "GP") U3 R- }) \7 m- t' |
  140. 4 b$ }. d, S4 n2 ^; v8 _& @
  141. ; session.gc_divisor! \. L# T% ~" F7 P' [4 Y
  142. ;   Default Value: 100
    6 R. Y1 o  c6 j/ Y9 g
  143. ;   Development Value: 1000' M: h1 s4 h% T8 v' \- D4 Y
  144. ;   Production Value: 1000
    / }8 w7 m, W% N( a4 A

  145. $ R8 p- R) f/ Y* l" ]2 E5 X/ r4 T, P# ?
  146. ; session.hash_bits_per_character9 y. t, h6 y8 M# z4 R3 U" Y$ V# W4 C
  147. ;   Default Value: 4
    ) S" _0 e( o. I# o, E( e* D
  148. ;   Development Value: 5
    ; a" b$ S1 s0 f1 h! [# F
  149. ;   Production Value: 5# v$ Y* r% f9 ^: e5 P

  150. & v+ E( {+ y/ C' C2 t
  151. ; short_open_tag# E0 }. U! I* ^$ H5 D7 y7 M0 g
  152. ;   Default Value: On
    6 S" @' N. H5 R" G. M
  153. ;   Development Value: Off
    ! R! s, V5 k. h* ?2 D+ H$ d. T3 J3 f
  154. ;   Production Value: Off
    ! C4 [  G  b" Y7 c3 k8 f

  155. ' A1 i8 c, u: N% a
  156. ; track_errors4 ?- R8 ~6 t/ }" W- H: e6 X
  157. ;   Default Value: Off
    . J) F$ ]; K3 o9 h/ Y" U
  158. ;   Development Value: On. V  U4 c2 E! x3 y' D
  159. ;   Production Value: Off
    " n# S* D) p2 N" k0 T, O4 N7 n' j

  160. * E) j+ m/ F, E7 ?: ]# _+ l7 s0 x
  161. ; url_rewriter.tags1 V3 B9 y0 T# \5 ]/ y  x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 t4 w% r5 J1 |6 Q0 j. Z' G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ y5 i6 k( Y0 F2 X: O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& t# j8 Z, p# A0 L; _
  165. 9 D# b4 ~/ z0 {; k
  166. ; variables_order9 C. Z$ ~9 R& s2 m9 Y" X
  167. ;   Default Value: "EGPCS"  z0 {' v. `/ a
  168. ;   Development Value: "GPCS". d) _* N& x2 Y5 A" R
  169. ;   Production Value: "GPCS", V3 w7 o3 l7 N3 l: a  l
  170. % x) K, j* B7 q
  171. ;;;;;;;;;;;;;;;;;;;;  F  W, X' Y6 }* }" O" S  b* U
  172. ; php.ini Options  ;
    / U& c# s, ~/ q! w7 x- P
  173. ;;;;;;;;;;;;;;;;;;;;
    ( H2 S' X- X- A
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"4 |6 p0 p' F4 Q' e' V* \. F/ N+ n
  175. ;user_ini.filename = ".user.ini"
    0 O+ U8 y! K+ j* E8 _4 T, V

  176. $ Z# ?" E4 @6 C! S" f
  177. ; To disable this feature set this option to empty value; P. q! b2 V9 d; p
  178. ;user_ini.filename =9 @% z" k2 [2 R& {

  179. % C; I# ~# b3 L) b; O: v
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! s$ t0 E* a( `5 F4 b
  181. ;user_ini.cache_ttl = 300+ I3 w% t& j- k8 u! W3 Z6 G. a) p
  182. ; O0 U: T  _9 p2 G: |  h" T
  183. ;;;;;;;;;;;;;;;;;;;;
    ; I- A3 Y! |) Y/ {
  184. ; Language Options ;
    ( g# X; r* G0 G* P! `
  185. ;;;;;;;;;;;;;;;;;;;;0 s$ I: x! q; C. z+ x, W
  186. ( ?$ N  P4 F- X' f2 N
  187. ; Enable the PHP scripting language engine under Apache.1 j8 p) K" A) O* N
  188. ; http://php.net/engine
    8 n2 B6 W- S" m- ?! o! C
  189. engine = On
    1 Z6 c. A% ^3 Q2 d7 T5 y
  190. . L: W4 x" ?( W& s% }3 D
  191. ; This directive determines whether or not PHP will recognize code between7 T" {% x% @! ?& d$ |6 c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' K# [1 X2 R- R- E
  193. ; generally recommended that <?php and ?> should be used and that this feature) E) d5 u" p+ o  l0 s9 d
  194. ; should be disabled, as enabling it may result in issues when generating XML3 ]3 O5 ?3 q. F0 K  o4 ~: O0 v
  195. ; documents, however this remains supported for backward compatibility reasons.
    ' }8 P5 |9 l1 o, c
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & G. z8 F! P. C9 A3 a9 c6 ^
  197. ; used regardless of this directive.
      B0 ?; P, C' u
  198. ; Default Value: On
    , C) X& y- K) ~  t0 f6 K) X7 L
  199. ; Development Value: Off) l7 @1 W+ M: Q1 c/ L
  200. ; Production Value: Off
    / g4 V: X/ c8 E2 V, B# M
  201. ; http://php.net/short-open-tag
    2 D; j" f# f1 s3 i
  202. short_open_tag = On  q6 T2 `# m8 U. s# K" G
  203. # t+ X6 |& z$ t3 o4 ?# ?$ w
  204. ; Allow ASP-style <% %> tags.. \) W1 Q  d7 B
  205. ; http://php.net/asp-tags
    : T( ]$ I- `0 p: Q: E- Z
  206. asp_tags = Off
    ; ~1 X2 K2 c6 I; F, C

  207. 2 D4 C6 e* i6 {2 \# ^' W
  208. ; The number of significant digits displayed in floating point numbers.$ p+ I; M2 f( _9 z; M' q
  209. ; http://php.net/precision) x! H" v5 h9 G& _1 t+ J( W' L
  210. precision = 14- T# i7 y  R; |# f% q' a

  211. 3 o, J3 N+ ^5 B, e9 x1 o; d
  212. ; Output buffering is a mechanism for controlling how much output data* |3 A6 x6 }. T. {+ E7 B% Y3 u
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ X' d9 t) p5 S# Z
  214. ; data to the client. If your application's output exceeds this setting, PHP
    / ?# E2 c5 V3 [1 Y! E
  215. ; will send that data in chunks of roughly the size you specify.! M. e) C/ K, O2 x" S
  216. ; Turning on this setting and managing its maximum buffer size can yield some8 w* L7 ^6 O/ g) S: r! L, ^
  217. ; interesting side-effects depending on your application and web server.
    % z" Q: D1 B. o2 ~
  218. ; You may be able to send headers and cookies after you've already sent output" `6 C, [  w9 J
  219. ; through print or echo. You also may see performance benefits if your server is
    0 j. {0 `3 m3 A# U% U! D* |  C
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    * W- Y, h2 O! g8 k% g
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  s9 T& X9 @" X+ g7 y- Y& \
  222. ; reasons.
    0 M! d* i5 h! b! E8 v
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) d* u) a) ~( e  K, E
  224. ;   functions.
    5 K- K% y2 }- R% U" R) w6 S6 Y  a  o
  225. ; Possible Values:! a# c) m6 ?* B; Z5 J! `1 Q- J
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)) Q' z4 U6 I& h2 s1 w% L) U
  227. ;   Off = Disabled+ W: e7 s$ @% I% U! O% h7 C/ U& e- {
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ) A/ w! x5 v, C1 ~6 s9 T6 u$ a4 k, k
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) A1 J+ V) H5 x: O; @$ W
  230. ; Default Value: Off6 j; e3 y7 P& [2 l& X; J
  231. ; Development Value: 40968 c# ^$ _1 x6 s! C/ S
  232. ; Production Value: 4096
    0 C; X) v7 _* x5 @$ U
  233. ; http://php.net/output-buffering: t( G, B! c& |8 G# d$ j
  234. output_buffering = 4096
    9 |+ f6 s5 F& m1 i
  235. 9 c7 d* Z( r3 z
  236. ; You can redirect all of the output of your scripts to a function.  For, ^. J7 t$ w  X* N' t% ^0 n
  237. ; example, if you set output_handler to "mb_output_handler", character; E- M2 k: l# X8 H; q7 I
  238. ; encoding will be transparently converted to the specified encoding.
    - ~0 k& M0 D  k7 K
  239. ; Setting any output handler automatically turns on output buffering.+ s# D- ?, g- v" [
  240. ; Note: People who wrote portable scripts should not depend on this ini( w+ e- E" j& q# B9 F! C9 w8 ]
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    & \# S( T* D5 ?) i/ Z  Q
  242. ;   Using this ini directive may cause problems unless you know what script
    % U( L5 }2 t* E0 B- T1 }
  243. ;   is doing.7 E" x7 l6 n# A8 t
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! E( q/ M% |5 t8 r! W/ R: q
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      R" ?; r! w$ Y
  246. ; Note: output_handler must be empty if this is set 'On' !!!!$ u) m' w+ d: }* j$ n* T* a
  247. ;   Instead you must use zlib.output_handler.
    , G+ v  C5 `% x/ \
  248. ; http://php.net/output-handler0 @6 ]& F& L! S
  249. ;output_handler =2 w: h) w! h; e# `* N# a4 V& M
  250. 2 ^7 X7 j$ a6 ]
  251. ; Transparent output compression using the zlib library
    : f$ J* S7 ]3 C# L3 F6 ?  D
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    . _% J9 |' `9 }' G
  253. ; to be used for compression (default is 4KB); z6 u; S, Z2 y4 O. {5 f' M1 s# f/ r
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 p. q' x. l% j7 e
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    : w3 Q; f- _! F; z2 H' @3 V; s; d. D: B
  256. ;   compression. If you prefer a larger chunk size for better. H6 c3 U" C, O# M: J$ L
  257. ;   performance, enable output_buffering in addition.% l" |: g$ G3 ~/ c" y5 @
  258. ; Note: You need to use zlib.output_handler instead of the standard' o( ~" n2 [, g: @
  259. ;   output_handler, or otherwise the output will be corrupted.( y7 k9 c; F. _4 l9 ~5 X- H' N
  260. ; http://php.net/zlib.output-compression: k0 ]: }& M) z7 C. k+ u6 ^' Z/ }
  261. zlib.output_compression = Off5 @0 d9 L1 |1 v& q) h
  262. ( |. B( f- G! W4 i7 O4 f; z0 m
  263. ; http://php.net/zlib.output-compression-level% ~7 C# s- M8 Q+ X7 ?3 B
  264. ;zlib.output_compression_level = -1
    - s4 K6 P) i$ ]* Q

  265. . j' [, H$ [9 ?4 K6 `" B4 V8 T7 T
  266. ; You cannot specify additional output handlers if zlib.output_compression; j! `1 n+ Q. l0 P1 x
  267. ; is activated here. This setting does the same as output_handler but in( \$ f; N5 C, t! C7 Q1 ~
  268. ; a different order.
    2 x. y; I" H/ V0 w
  269. ; http://php.net/zlib.output-handler3 v1 e) N! T3 B6 y
  270. ;zlib.output_handler =+ \: b1 `2 y3 t5 D( k+ B
  271. 8 J  K; O8 J. x+ v; r! R9 c- K
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' ]7 S) ~' X# i$ ~1 m9 c! z) T
  273. ; automatically after every output block.  This is equivalent to calling the
    $ O0 I" o" B5 q+ Y- O
  274. ; PHP function flush() after each and every call to print() or echo() and each
    3 k6 ^0 I8 s6 R+ A; v; q* ?/ B& i
  275. ; and every HTML block.  Turning this option on has serious performance+ H# H$ U9 I2 b& b
  276. ; implications and is generally recommended for debugging purposes only.! H4 I% ~% j& c5 W- y
  277. ; http://php.net/implicit-flush
    9 @' m! S' Z1 u" g% Q# e
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' p, L* u9 A; t* E) q
  279. implicit_flush = Off& B* @0 \) [. J
  280. , L. m0 F/ p2 v' W' l
  281. ; The unserialize callback function will be called (with the undefined class'
    6 R( X. d1 d+ k) r+ S$ j
  282. ; name as parameter), if the unserializer finds an undefined class
    : u+ A$ D) Q/ v5 Y8 V1 x3 A' g% z
  283. ; which should be instantiated. A warning appears if the specified function is
    * |' X" s: ?( X# k5 _
  284. ; not defined, or if the function doesn't include/implement the missing class." w9 p+ e: N1 J
  285. ; So only set this entry, if you really want to implement such a6 V" p* ^; [- l4 @5 E
  286. ; callback-function.3 a2 F# P$ K& E9 P! F
  287. unserialize_callback_func =* b/ E8 ]0 M3 M; F. Y+ z

  288.   i. R1 E, y  M/ v- W
  289. ; When floats & doubles are serialized store serialize_precision significant
    ! O" q; _5 e& _3 p& H" I, L, v
  290. ; digits after the floating point. The default value ensures that when floats  R3 q' e' ]' c6 D  d
  291. ; are decoded with unserialize, the data will remain the same.
    8 x8 v$ I( t! B3 e8 {
  292. serialize_precision = 17
    ) L4 H  {4 _4 p3 u2 o" K
  293. 5 I8 G& Y" P5 a5 H( k9 i- u" y7 D% H
  294. ; open_basedir, if set, limits all file operations to the defined directory5 n% B! T1 W4 W5 u7 v
  295. ; and below.  This directive makes most sense if used in a per-directory
    ; Y$ z% J7 [8 d2 o9 J
  296. ; or per-virtualhost web server configuration file.
    ) h! {0 R" C. q. Y$ k
  297. ; http://php.net/open-basedir
    ; i, x& e& p. E( o
  298. ;open_basedir =6 j8 l& V5 x2 K

  299. 2 R* Z* h; C' u
  300. ; This directive allows you to disable certain functions for security reasons.- H4 Q9 _* i! Q% q( R' u
  301. ; It receives a comma-delimited list of function names.
      T1 i5 J. o3 u) U: M( M
  302. ; http://php.net/disable-functions
    ' I+ A+ a5 j" A' k- u; v, T
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " V" S6 ^1 X+ L9 g
  304. / N+ c+ ]' n; X
  305. ; This directive allows you to disable certain classes for security reasons.
    7 E, H: f$ J1 \' u! a" v( {9 d/ \
  306. ; It receives a comma-delimited list of class names.( H2 q; f) G: |, N- [1 i
  307. ; http://php.net/disable-classes5 B$ y! O% s, k8 ]4 ^
  308. disable_classes =3 S8 q& \$ D( V- \; t$ h
  309. 0 x- h; |9 |" ?( G
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' s1 O+ I' e1 q6 }
  311. ; <span style="color: ???????"> would work.0 E# ^& i. E, M/ c: ]
  312. ; http://php.net/syntax-highlighting
    8 u7 _8 d  R" ^  e
  313. ;highlight.string  = #DD0000) N8 T% C# A6 G& i* |1 R. Y
  314. ;highlight.comment = #FF9900
    1 H" h* r3 G# n( N9 N) n, o
  315. ;highlight.keyword = #007700( u; k6 Q8 v) |/ D9 R
  316. ;highlight.default = #0000BB( Y5 C7 v  {# |6 v+ J9 m* K! }
  317. ;highlight.html    = #000000
    ) t. v" I* A1 j- @0 I1 O/ f& d
  318. * A  W1 U+ Q& J7 o6 O) n' T+ c
  319. ; If enabled, the request will be allowed to complete even if the user aborts( R5 i# O8 e2 Z, h7 Z& T: P# S
  320. ; the request. Consider enabling it if executing long requests, which may end up
    " P5 E  p) b7 i  s" l5 F% A$ _6 e+ U
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    / m* i; H) \) J$ q& E, |+ S
  322. ; is to disable this feature." S0 W( I* _7 Y( e9 G5 M/ q, X2 j
  323. ; http://php.net/ignore-user-abort8 ]0 e3 |7 j; B6 y7 e7 d! o7 R
  324. ;ignore_user_abort = On! ?5 a$ @# V$ U. I

  325. 3 w! Q5 G& x  @+ w2 \
  326. ; Determines the size of the realpath cache to be used by PHP. This value should; e8 l5 u2 x4 w, R/ z. e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ ~7 K5 R9 Z  p# J* _& N
  328. ; the file operations performed.
    ) p& X4 [. T) L) O: q
  329. ; http://php.net/realpath-cache-size
    4 y1 t9 U+ ~* l3 f- W# D
  330. ;realpath_cache_size = 16k/ @/ u, m# _% X* S9 L8 d4 ]9 o
  331. ! E: Y! L3 P* C3 _0 F
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ( V) q- ~5 u7 y. g
  333. ; file or directory. For systems with rarely changing files, consider increasing this6 l+ c0 S( n4 ^) i# J: r
  334. ; value.% f$ [  h# f6 A0 H" N
  335. ; http://php.net/realpath-cache-ttl7 d6 C& X6 Z# I) e4 K9 c) g
  336. ;realpath_cache_ttl = 120) y( h6 U% _) @& O

  337. 8 D4 Z3 j5 m% O# m! |0 ?5 @6 C
  338. ; Enables or disables the circular reference collector.
    4 m- p0 E  H0 e3 O9 P! Q. S" m
  339. ; http://php.net/zend.enable-gc2 r* t. V. c% |$ a) B4 E8 p% W
  340. zend.enable_gc = On' j# h1 E9 H6 j, T3 d

  341. ( z0 R- q! W/ \, [" F8 u6 [+ N
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    6 `. d6 x9 a9 }4 T% K: ]
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 p: T4 e' w! g8 W: d3 F
  344. ; encodings.  To use this feature, mbstring extension must be enabled.. C; U) W; y( J
  345. ; Default: Off
    1 w" Z$ I$ E, x1 {5 p" D, G
  346. ;zend.multibyte = Off1 u8 n0 {6 {- f, z( Y% F
  347. ) j4 @% P6 |# p
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    / L$ x- e" X. n! Y. q' ~+ `  r6 G
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & A7 i8 j  m9 y3 E4 ]
  350. ; Only affects if zend.multibyte is set.- l) k% g7 q. L* n& N: P4 ^
  351. ; Default: ""5 x( P  e* E" h" a7 B5 h
  352. ;zend.script_encoding =
    1 G6 {+ g1 ]% j% @1 J: ]3 b: f

  353. # y: {7 n! }; Z% t
  354. ;;;;;;;;;;;;;;;;;3 p, u; m2 v9 A# L; a
  355. ; Miscellaneous ;+ }! G3 [( Z1 C3 B0 }
  356. ;;;;;;;;;;;;;;;;;0 q% R& X/ A8 g  L0 J# c

  357. + f+ m9 G  a7 m3 ?* W
  358. ; Decides whether PHP may expose the fact that it is installed on the server$ g6 O. S/ I5 E7 K' ^4 x9 o% W! o
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    ' O0 ?/ g- E1 d. g) ?
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    8 p( J  ^2 M! o. v* l
  361. ; on your server or not.& X9 |; F. M6 ^0 o; C3 M9 x
  362. ; http://php.net/expose-php
      `6 ?* X% p9 Z8 Q( \) ~
  363. expose_php = On4 N  U- o9 E5 S5 ]4 \
  364. 0 |0 M5 B9 c/ e: y/ _
  365. ;;;;;;;;;;;;;;;;;;;
    ; j& G& t! Z" g, Z
  366. ; Resource Limits ;# t" C1 J& i" K* J6 c4 d3 T
  367. ;;;;;;;;;;;;;;;;;;;
    9 G4 ~# `. ]$ [1 e
  368. 0 z* W: I- x: n
  369. ; Maximum execution time of each script, in seconds9 x4 L7 W, w* h' c, \- D7 l
  370. ; http://php.net/max-execution-time7 P2 F$ F$ g! K) O) f
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI. B8 D! C' f5 b
  372. max_execution_time = 300( u0 P( G& q& ^9 [2 y

  373. 9 O) Q# ^5 A# z7 [1 s$ k, c
  374. ; Maximum amount of time each script may spend parsing request data. It's a good! I8 i2 a: m- U7 R3 c. F
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly3 g! O0 f: E/ v/ |( C, Z& L
  376. ; long running scripts.
    7 _1 |/ r( L* x9 E9 B2 A" x! q" g% s
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % A5 c9 g- t! i& I
  378. ; Default Value: -1 (Unlimited)4 B% ?) |# Y$ ^1 t
  379. ; Development Value: 60 (60 seconds)6 x1 B  P; w& {7 _. D
  380. ; Production Value: 60 (60 seconds)+ w9 Z+ O- G: _* l: U8 H" ~
  381. ; http://php.net/max-input-time0 M9 q' S1 t# y9 w5 n
  382. max_input_time = 60; T% X3 q, s3 k# z  h- ^( P2 V

  383. ! h. m$ I  `, }1 `" E/ Q4 c
  384. ; Maximum input variable nesting level
    9 J% I' z/ w7 b" m% E2 h& x
  385. ; http://php.net/max-input-nesting-level
    / n& P# h- C; c% O' w( b( U
  386. ;max_input_nesting_level = 64
    6 `; r2 j8 Z8 C" n! P4 c

  387. $ I: F3 h1 l$ Q1 j1 u1 H$ J$ H$ c
  388. ; How many GET/POST/COOKIE input variables may be accepted
    , {2 G8 g1 ^' ~& r& z
  389. ; max_input_vars = 1000
    . I' W. K: S. J' e/ f0 _9 k

  390. % m3 H  z2 T! }1 N( M
  391. ; Maximum amount of memory a script may consume (128MB)6 I  H  a/ v+ s3 B+ T
  392. ; http://php.net/memory-limit  D( [8 G! w; [! ~. J
  393. memory_limit = 128M
    + t+ h  n0 Y( B" y
  394. 5 m6 @( ~! I5 W4 N
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: W) K2 g7 _+ h. k( r2 }: K$ h
  396. ; Error handling and logging ;; G- x' e* ^6 B8 k3 S, V9 t6 O, ~
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! y6 l% t+ A; X. y0 f2 b4 y
  398. 4 \  b/ T/ I2 J/ [7 r, G
  399. ; This directive informs PHP of which errors, warnings and notices you would like% }: P# F9 Y% ^, ~
  400. ; it to take action for. The recommended way of setting values for this
    + ?6 h3 m. r0 u3 c( z
  401. ; directive is through the use of the error level constants and bitwise
    : a0 ?0 n4 t& {1 H' p( j3 \! V
  402. ; operators. The error level constants are below here for convenience as well as5 g  u9 ?' n2 ?6 J  h' d
  403. ; some common settings and their meanings.
    9 N/ d3 V1 ?' @3 m
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( g& Z) v: ~$ G3 u+ \* ]
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and: \) a+ F8 t/ {2 e5 r" u3 y
  406. ; recommended coding standards in PHP. For performance reasons, this is the$ I# H+ S. h+ ?  `# e( R+ I
  407. ; recommend error reporting setting. Your production server shouldn't be wasting5 u1 H; V& g' N1 T& s4 i$ W
  408. ; resources complaining about best practices and coding standards. That's what
    5 k& k7 K6 {; a) }8 {. y- E
  409. ; development servers and development settings are for.
    8 }2 u" b6 E: Z, h8 u
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 K' [* s) |6 H9 ]( ]
  411. ; means it pretty much reports everything which is exactly what you want during
    3 k6 B5 |1 O4 Z: f
  412. ; development and early testing.
    , K/ `9 N+ n4 \0 z: q; h
  413. ;
      k4 M% x4 o' A7 R& [
  414. ; Error Level Constants:
    , o* W8 v$ K- k% T$ q& u
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)0 q; R7 N( ]" G. D0 @* V# p) b) c3 {
  416. ; E_ERROR           - fatal run-time errors6 K3 f; E7 w- z1 ~( k% F% G* k: k
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" o! p: Y  q3 i3 ~0 g
  418. ; E_WARNING         - run-time warnings (non-fatal errors). Q' {4 U. C6 j' r  m6 \& B" ]
  419. ; E_PARSE           - compile-time parse errors% \! g( Q; _. Z7 z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 g6 p7 }( n" _
  421. ;                     from a bug in your code, but it's possible that it was% b. y! `# }! p$ h7 D
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' u4 `# x. ]' C* m7 q$ p  O
  423. ;                     relying on the fact it is automatically initialized to an
    0 |+ a" x# F, ~
  424. ;                     empty string)2 `( W& K: c$ U; L  S
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes% q# }3 f. A* Q. J; x. k* e2 \+ M
  426. ;                     to your code which will ensure the best interoperability- i. S, R/ B2 T8 e% R
  427. ;                     and forward compatibility of your code& u/ b- v& h! A$ d% t: v! o
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup! d0 g7 l+ F( B/ Y' b" }
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' e* M) G+ R5 m; i4 V3 S4 R
  430. ;                     initial startup
    & k/ i: J& ~' W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 H. a* Q0 ?6 `' j
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 i8 X2 W- J7 y. @9 `$ E1 A
  433. ; E_USER_ERROR      - user-generated error message1 {4 r- ^# ?" O! ~0 b( d4 R3 n4 l
  434. ; E_USER_WARNING    - user-generated warning message9 ], o! H* }" @' t
  435. ; E_USER_NOTICE     - user-generated notice message
    * H. t  ^0 c6 O, x1 J* r; w
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ( @% ^0 y3 @: z, D( e% `1 N
  437. ;                     of PHP8 q8 e* h- u2 R+ D
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- A* p6 c1 T/ W  S4 Z# ?* c
  439. ;- d. w5 u8 K5 A) V. y$ g( b
  440. ; Common Values:
    5 [; m/ q, N9 Z+ L# ^$ n5 {6 j
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    . |* J5 T& R. F# v, L
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + Y8 b) L9 D, C* G4 \
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)1 q: `! U$ `9 E. C$ M
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # f* o. Y2 J. B; Q2 j0 p
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( \- H7 ]+ `' C# m4 k3 G
  446. ; Development Value: E_ALL
    3 Y( I) k% t8 Z
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 q, s" v$ U" A; c
  448. ; http://php.net/error-reporting
    ; A0 J* Z" |) X/ R/ B# C9 Z
  449. error_reporting = E_ALL & ~E_NOTICE3 L! p, `' r9 r2 f5 w- R% C: u

  450. - d. w* p* H3 q# A  L- v8 o8 F
  451. ; This directive controls whether or not and where PHP will output errors,
    * X, ?, G7 V" \& `+ r3 I, O
  452. ; notices and warnings too. Error output is very useful during development, but: J8 K* @1 q& ~+ p* F
  453. ; it could be very dangerous in production environments. Depending on the code+ x3 P) T& Q1 Z( n- P! K3 L
  454. ; which is triggering the error, sensitive information could potentially leak
    ; `0 ^& G7 T3 D; c1 g
  455. ; out of your application such as database usernames and passwords or worse.0 [7 f$ K4 d  ^) \9 U0 {
  456. ; For production environments, we recommend logging errors rather than# S9 @# g+ t! `$ K3 [! C
  457. ; sending them to STDOUT.% m3 N( ^! Q- j. O
  458. ; Possible Values:
    & ^, ^& d+ x. c: {4 j- ]
  459. ;   Off = Do not display any errors
    % O  }( J& j' t5 @% _! Z7 O% V. d0 b
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 C2 l! h" B+ Y( t' Q/ E
  461. ;   On or stdout = Display errors to STDOUT
    & H$ \3 J' @& t: l9 B
  462. ; Default Value: On
    8 ^% K- o  D# q* _+ A7 f1 t
  463. ; Development Value: On5 i; w9 A) u; e: [
  464. ; Production Value: Off8 }9 y) I( t7 r7 q4 [. i2 X: y
  465. ; http://php.net/display-errors
    $ [" Z% }- d9 M: z
  466. display_errors = On
    ! A9 R7 D- I/ \8 p9 y  S/ G

  467. + Z/ R6 h4 g& T) X) P9 e+ y% c
  468. ; The display of errors which occur during PHP's startup sequence are handled
    / T7 ?4 B  ?8 y3 P* m- x) ^. k
  469. ; separately from display_errors. PHP's default behavior is to suppress those6 O4 f- m0 c2 U9 B8 h& H: Z+ u
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    # E1 T8 a0 J  x1 P* s. Z! l
  471. ; debugging configuration problems. We strongly recommend you& [4 n$ i; ~. T
  472. ; set this to 'off' for production servers.
    5 _9 d/ s7 Q! o1 u# d$ G
  473. ; Default Value: Off9 W, i( P9 G% g! p% P/ _5 `9 Q
  474. ; Development Value: On
    2 f: m/ ~3 k) k9 t
  475. ; Production Value: Off
    ! D3 h, v; B- Y/ n( I# x
  476. ; http://php.net/display-startup-errors+ V' Y; @( P- b% ^# X
  477. display_startup_errors = Off3 B+ L7 x* a2 G' S+ ^/ E3 a/ `
  478. & H' j. s# G& U& z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    , e* e9 N. r: n* g
  480. ; server-specific log, STDERR, or a location specified by the error_log/ n5 I+ U' g/ y2 p
  481. ; directive found below. While errors should not be displayed on productions
    4 s" @8 i+ w  C0 s
  482. ; servers they should still be monitored and logging is a great way to do that.
    / m8 X2 x! q# r* W( x7 r# S6 A
  483. ; Default Value: Off
    ; }1 i. g$ Q) y6 P& O0 p) l
  484. ; Development Value: On! ~* P4 Y1 ?/ ^
  485. ; Production Value: On  }2 `% V, W! K" H5 [# H
  486. ; http://php.net/log-errors4 |  _" g% z+ l) i" i
  487. log_errors = On/ ]0 J- g6 p/ ?6 x3 F2 R' L. z5 ?6 }

  488. % a, U  R+ S7 D/ F/ ]0 c. o( t
  489. ; Set maximum length of log_errors. In error_log information about the source is, H" e, y7 k* u0 p
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    5 d9 S, L/ g, U1 v
  491. ; http://php.net/log-errors-max-len& p6 m4 r' @, t8 C/ [$ Y
  492. log_errors_max_len = 1024
    0 j# {6 X2 }# _& `/ I

  493. ( L1 R% ^8 q1 {$ S1 u) y0 P; S0 t* Z
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same) A% D1 w1 @) E# i& J! e, s
  495. ; line unless ignore_repeated_source is set true.! z9 C# S" n" {1 r4 p
  496. ; http://php.net/ignore-repeated-errors
    : Z( |) Z$ p! ]9 G/ R7 N* G& }# t' s
  497. ignore_repeated_errors = Off
    3 p& v9 Q$ l" d: J2 W  E1 f, K
  498. 5 v1 x, b9 K$ u  ^! g3 y  X8 w
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    7 F* f. S2 Q- S% v* b; l; {% r# L8 j
  500. ; is On you will not log errors with repeated messages from different files or9 h: [, I& u# \4 ~0 s
  501. ; source lines.( |6 Z( M1 j. l( f
  502. ; http://php.net/ignore-repeated-source% f' u) e4 t" @; B1 ^8 f# P
  503. ignore_repeated_source = Off' A, h* O6 q( |* b7 N; l7 e1 x
  504. 8 D' M5 o0 J0 l- L, Z; U1 [
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on  @, W" b, f6 O6 p, O& ]
  506. ; stdout or in the log). This has only effect in a debug compile, and if
      t& j" k) u  x4 K. O8 O2 X
  507. ; error reporting includes E_WARNING in the allowed list
    $ H/ F8 L# h& j8 M+ F: t
  508. ; http://php.net/report-memleaks
    5 a' P5 v& w; @
  509. report_memleaks = On7 s& J% L" \+ B0 ?7 q0 g4 w
  510. % Q; D: N) w1 Y. |# o# A8 d
  511. ; This setting is on by default.
    9 N/ G6 f/ t% q9 S+ O9 Z# b+ b9 E
  512. ;report_zend_debug = 07 p; X6 ]3 ]0 W" Z- u7 |9 L, Z
  513. ! L! g9 m* ^; f$ b' g$ k, |
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; z# `. y+ R$ ]6 H% `) ^
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    , G2 L! H7 y" ~* x9 o; ^$ j
  516. ; however be disabled on production servers.
    % u3 X% S( h: }( h# Y  e& i
  517. ; Default Value: Off
    - ^. E, t% S: p1 X1 l. p
  518. ; Development Value: On
    ' [1 V' ~, `3 ]. b
  519. ; Production Value: Off0 N% k( ^+ c) h/ E6 y0 |
  520. ; http://php.net/track-errors
    6 ~& W  C3 b7 i: r& I
  521. track_errors = Off
    " y) J1 r/ @' `1 w0 g0 \+ ?9 f
  522. / }$ L8 ^; k, }
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 d& f8 U. Y5 O! z2 a
  524. ; http://php.net/xmlrpc-errors
    ! W1 M2 e& ?$ F& `
  525. ;xmlrpc_errors = 0
    ) F3 s$ m7 Q- I

  526. 9 S" l- i$ J2 f
  527. ; An XML-RPC faultCode4 X6 F. g7 f* t8 D2 L
  528. ;xmlrpc_error_number = 0/ o1 r! m: _8 }; S( D2 W* R' e

  529. ( z( e, m( j- n$ X: F* H
  530. ; When PHP displays or logs an error, it has the capability of formatting the( Q/ }2 c% |2 K  Y& j! M) Q
  531. ; error message as HTML for easier reading. This directive controls whether
    % Z. c! A, B" f& ^. c; G! m: C
  532. ; the error message is formatted as HTML or not.
    4 W8 L( z" q0 C9 c
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) ?; d" n$ }: e; D, j$ }; Q$ m
  534. ; Default Value: On
    . m# J( S3 l; m- B& r" E9 M
  535. ; Development Value: On  d) J& C6 E$ u) J, b# ]$ ]  o+ c8 F. c
  536. ; Production value: On6 `7 D3 e7 \: p
  537. ; http://php.net/html-errors
    . ~5 x9 p8 u) x
  538. html_errors = On  K6 Z1 I$ _2 m( m; |$ S# V& ^

  539. 9 z" `2 D5 I+ K8 o2 ^7 t
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    - m$ K- [2 W9 i/ {% I
  541. ; produces clickable error messages that direct to a page describing the error' t4 {7 X$ }/ U* @  f: x7 c
  542. ; or function causing the error in detail.5 i& Y& p% L/ P7 Y8 }% I& d/ T
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 K. J3 U" U! O4 C$ y
  544. ; and change docref_root to the base URL of your local copy including the3 b4 D. q/ |: E* s1 N+ K; X
  545. ; leading '/'. You must also specify the file extension being used including. W  [" l" C# v" g$ _/ \8 M* \
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    5 a) u0 ?6 q/ {7 P4 V, B& R! ^
  547. ; case no links to documentation are generated.
    2 h3 E8 ]4 _" L1 T
  548. ; Note: Never use this feature for production boxes.
    1 D, s; N) W; J' i0 z/ S. @8 q5 O
  549. ; http://php.net/docref-root
    2 C) _9 B! j' l4 m2 l
  550. ; Examples
    6 x# T3 w2 N1 v' M& ^
  551. ;docref_root = "/phpmanual/"8 t2 g6 F4 v" C4 v1 }0 t

  552. % N1 x- `3 ?* b: ^: J- d
  553. ; http://php.net/docref-ext
    0 ~: {9 x" }: C$ l, s8 b7 e: ^
  554. ;docref_ext = .html* O( [8 v3 w% ?$ `( |

  555. 6 p7 j/ J. i: D" ^8 J
  556. ; String to output before an error message. PHP's default behavior is to leave
    1 d' m* s9 C1 O  D
  557. ; this setting blank.
    * q- A7 y+ K2 ^9 r/ h
  558. ; http://php.net/error-prepend-string
    7 W6 e) m! t7 O: y
  559. ; Example:
    4 X3 W) M' {9 I2 C0 b
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    1 H1 T; r( a0 t7 z7 c

  561. 8 o! `$ a4 G4 j9 M* t6 y
  562. ; String to output after an error message. PHP's default behavior is to leave
    4 r: S7 p# X- S2 g5 n
  563. ; this setting blank.
    2 I3 _4 j! u# C6 q0 V" Q, [
  564. ; http://php.net/error-append-string
    ! b5 o* Y2 u$ e2 D2 F  E- n; I
  565. ; Example:
    % c/ S7 v8 d0 g7 F: W' Y; S
  566. ;error_append_string = "</span>"
    , h; @0 N$ F' }2 x5 }$ r' |

  567. & ~- f  I! R4 G; K! J
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    2 u& ~' ~5 j1 k0 f7 h
  569. ; empty.
    " z4 B" T8 P/ s( s0 O9 G/ q
  570. ; http://php.net/error-log
    / D6 o5 r0 E) N) Q: v! Y% H& p
  571. ; Example:: U# A# m3 x( b0 T2 A5 O
  572. ;error_log = php_errors.log( z7 n6 ~) U; d1 E% D  V% P8 }
  573. ; Log errors to syslog (Event Log on Windows).
    ' H! @) T2 v# f4 s( n0 l/ x- \% q$ r
  574. ;error_log = syslog' y+ g+ `& |& Q# _% T& G; @! }

  575. / j( c( Y" Z; ~5 a2 x: ]6 ]7 ~
  576. ;windows.show_crt_warning
    0 u1 v3 `  b4 H+ d
  577. ; Default value: 0
    1 ]3 |) [6 q$ b" [9 }# O
  578. ; Development value: 0
    8 z% z% ?' G; m% W
  579. ; Production value: 0; l( X7 J: h( E% ]9 t( K

  580. / h* }/ M1 a& I& |5 B
  581. ;;;;;;;;;;;;;;;;;9 T+ F' \: w7 _
  582. ; Data Handling ;( r5 I' e) D. g
  583. ;;;;;;;;;;;;;;;;;! R5 h& w) t! E$ ^: H* F" j
  584. 5 v+ f5 W4 D& P5 b  T
  585. ; The separator used in PHP generated URLs to separate arguments.
    - R' u6 d: T! f" t0 z3 y
  586. ; PHP's default setting is "&".
    ( F! }: K4 ?9 L3 z/ I5 M
  587. ; http://php.net/arg-separator.output
    . I! l) |1 R, b7 J* p$ ?' N; M9 J
  588. ; Example:
    , r; A, {4 f: S( |
  589. ;arg_separator.output = "&amp;"6 H. t. S2 ]; F  C7 h& X- m. ^2 `
  590. & v* n- W9 p  l& k! i
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ( o1 d2 z2 B! Z! m
  592. ; PHP's default setting is "&".
    8 g2 D9 E& S6 \
  593. ; NOTE: Every character in this directive is considered as separator!$ ?! Z& d+ r! |( [
  594. ; http://php.net/arg-separator.input
    4 G6 ?; @2 f% A6 e5 [+ }4 M/ x2 `/ I) t
  595. ; Example:+ F, a9 t; U: R- Q
  596. ;arg_separator.input = ";&"
    8 [6 P+ E8 K' K$ B7 T% b& i

  597. " X3 u! U) g3 S& X
  598. ; This directive determines which super global arrays are registered when PHP
    6 P, ?6 O/ z% u2 T0 q0 A
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 `5 z" p. o# C' g  k4 z
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 T5 c1 g0 N  w( \; Q, u8 j
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    4 P5 a; d: l4 Z' R2 j4 g9 E
  602. ; used as the others, ENV is not recommended on productions servers. You& |2 A8 ?- f+ S
  603. ; can still get access to the environment variables through getenv() should you
    ) E! S; s) Y) ]  |* s% _2 N
  604. ; need to.
    8 s  p# B, p0 O( V, k7 [* H/ w8 \
  605. ; Default Value: "EGPCS"
    4 J* z! H& {' ]8 N
  606. ; Development Value: "GPCS"( F" n& Q* r! E  z% I4 W
  607. ; Production Value: "GPCS";) W' C3 ~; ^" q7 z
  608. ; http://php.net/variables-order
    5 L$ i% c8 h: y) B8 \/ D) ~
  609. variables_order = "GPCS"
    6 D' w. f4 z7 {
  610. * G# k: W% T) F) C* e
  611. ; This directive determines which super global data (G,P & C) should be! Q, l* ?) a# b# u9 [" \/ z
  612. ; registered into the super global array REQUEST. If so, it also determines
    & Z  `. G5 k* h( g% r' C
  613. ; the order in which that data is registered. The values for this directive
    8 S0 s5 g, ~2 U* P- w" i: ^' L
  614. ; are specified in the same manner as the variables_order directive,
    4 i. F* [. e, `- B3 [2 t( C) }
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set/ |8 _; q4 O& {) w6 Q8 y! D+ q
  616. ; in the variables_order directive. It does not mean it will leave the super
    6 K0 d' D: |. ?/ J/ }/ |, C8 T2 N
  617. ; globals array REQUEST empty.
    2 Y1 B* J. V. {
  618. ; Default Value: None
    ! ?/ H$ B6 _/ d0 f
  619. ; Development Value: "GP"
    " l* _2 X  k  }5 h4 l' L
  620. ; Production Value: "GP"0 Z" T9 a' E7 o0 n+ i' J5 Y; ~
  621. ; http://php.net/request-order
    5 ^! U: V6 [9 ~" ?* f
  622. request_order = "GP"
    % W6 Y. o3 `5 s

  623. 6 E) O$ E4 ?4 ~* \1 G: w, |
  624. ; This directive determines whether PHP registers $argv & $argc each time it4 I( u, I/ ?, N' K
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ! s1 X' b1 F& V% {
  626. ; is invoked. $argc contains an integer representing the number of arguments
      r5 z4 t- c3 T' K
  627. ; that were passed when the script was invoked. These arrays are extremely; w* M  H* e3 L/ X" J
  628. ; useful when running scripts from the command line. When this directive is0 P  [9 P4 b' T% v% q
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    / \2 d# r! D8 a5 l
  630. ; a script is executed. For performance reasons, this feature should be disabled
    1 ]; B8 e1 v. W2 P5 K5 ~
  631. ; on production servers.
    / p! B3 d% d' ], Y
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 h" n5 Y: `0 @
  633. ; Default Value: On
    ( N% q$ }& H% Y) M0 x# O* S
  634. ; Development Value: Off2 _# z; y6 _7 A' [" Z- J
  635. ; Production Value: Off/ b) C& x- z9 D" ?$ E
  636. ; http://php.net/register-argc-argv1 [5 ^8 [+ b9 ]! J2 F" F: M; ?
  637. register_argc_argv = Off( o4 s8 w8 `' F9 G  c

  638. 0 f5 q. E1 f7 y0 c: q* p+ D
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're; D( g9 @! S) r- e  {; C$ r
  640. ; first used (Just In Time) instead of when the script starts. If these( a$ L/ O! j4 X1 B# b) V
  641. ; variables are not used within a script, having this directive on will result% R7 }/ y/ M; N0 e5 A% I6 v/ m$ n
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 J1 ?1 Q% Q! l3 ?  I- V
  643. ; for this directive to have any affect.
    - X2 ^* E* C$ F" i' e: }
  644. ; http://php.net/auto-globals-jit
    8 q# I3 I( {" B) F
  645. auto_globals_jit = On
    0 G, C6 j% ?# l

  646. 7 D- V6 k6 O( Z6 C9 K/ J# M' l
  647. ; Whether PHP will read the POST data.
    ) {& l; X+ t, C: q5 P
  648. ; This option is enabled by default.  S8 [% ~% V9 W; I; ^9 {! Y' P
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    , I* O& v/ r8 G5 Y8 D
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 d0 D1 W; O+ ^( e# u
  651. ; POST data will be through the php://input stream wrapper. This can be useful: S! \) C2 J/ G
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    6 `" |. x! r/ m* C9 W# M% q+ j* [7 r. [! }3 I
  653. ; http://php.net/enable-post-data-reading, o$ c4 t! L5 ^1 p% W
  654. ;enable_post_data_reading = Off
    5 C9 U+ R2 T& j" }9 k* O& V
  655. ; U) X! `- `! T
  656. ; Maximum size of POST data that PHP will accept.
    . a3 G6 R# W! J8 }9 y1 h/ d
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ( ^# c( w0 z: o- ]1 B' ?
  658. ; is disabled through enable_post_data_reading.) S1 f4 W1 T2 y" d5 V" l2 {9 H) c
  659. ; http://php.net/post-max-size
    6 ~# Z6 j* ?, {/ ]. p
  660. post_max_size = 50M
    / f& H( D( J9 c: K+ v  f

  661. 8 h6 ^7 y2 L# v7 V' Y
  662. ; Automatically add files before PHP document.4 C" r) O7 F, u+ Q
  663. ; http://php.net/auto-prepend-file
    1 L, w6 S7 q/ q; O6 w% k+ w
  664. auto_prepend_file =
      p8 W% S+ }) W% c. [
  665. 9 o) N5 |0 x* C
  666. ; Automatically add files after PHP document.
    5 C/ Q. f+ h# b! h( N: Y
  667. ; http://php.net/auto-append-file
    * @6 p$ F- m  B$ N. V7 `
  668. auto_append_file =. R$ U# Y! k- _8 }& i% \; n" R

  669. - x! k% }2 m: a: O4 u4 v& z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / z! k( t/ o! j8 ^
  671. ; disable this, simply set it to be empty.& J9 z7 H$ p+ [% P7 s$ w0 T
  672. ;. V* s$ x: n7 N0 _- l
  673. ; PHP's built-in default media type is set to text/html.
    * M8 m' s$ ]  Y, v* u) D- m) U
  674. ; http://php.net/default-mimetype; E4 y4 X+ ^  L6 ?3 @; \$ Y
  675. default_mimetype = "text/html". f- W& z1 I7 Q3 ?7 [5 |

  676. , ~$ B1 T+ ?3 O% ]7 z
  677. ; PHP's default character set is set to UTF-8.% m, r% o, Z: n
  678. ; http://php.net/default-charset9 k) U5 U- [& W4 b3 P' _6 i
  679. default_charset = "UTF-8"4 q1 {' Q& |* ~, @1 @; t4 ]2 O

  680. ' ?9 A3 U' _" u% _% x
  681. ; PHP internal character encoding is set to empty.7 ]9 A3 a" s/ i5 Z/ {
  682. ; If empty, default_charset is used., l- U7 m6 l) ~0 u/ T2 c
  683. ; http://php.net/internal-encoding
    ' Y3 B0 k  F) b. Q% B; n" u  l
  684. ;internal_encoding =# ?- a) r6 Z7 ]' j2 I$ n

  685. ! U7 g/ Y& M$ B/ T+ R
  686. ; PHP input character encoding is set to empty.
    % x5 c& ?0 }) D. u* D/ ?2 \- c
  687. ; If empty, default_charset is used.
    8 A# b5 E+ S2 S. H1 E
  688. ; http://php.net/input-encoding
    ' @4 T) }; |5 Q  [* U  q; @  y- J* ?
  689. ;input_encoding =/ C* N7 `" `: w7 B' R( }6 b

  690. % n; C1 m2 {: X
  691. ; PHP output character encoding is set to empty., L% U  p; h7 E, Z- O
  692. ; If empty, default_charset is used.) Q! `% \9 m# ~* L3 d7 ~( Y7 F
  693. ; See also output_buffer.  |; P7 O) k6 j7 a+ `) O; s' [
  694. ; http://php.net/output-encoding7 z* I0 q7 Y7 Y& P# J7 v
  695. ;output_encoding =: y9 {( T; T+ @8 V  `4 i* R
  696. : X6 W/ l, t5 b$ y/ {: y
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # j/ G0 p: C6 T4 q
  698. ; to disable this feature and it will be removed in a future version.
    8 d# k, ^: l# U5 L) N
  699. ; If post reading is disabled through enable_post_data_reading,
    : H3 q' S4 e% F" u; \. T
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    0 J- a0 B5 K/ Z2 ^3 i  q
  701. ; http://php.net/always-populate-raw-post-data
    9 }' ]2 {) P- R# Q
  702. ;always_populate_raw_post_data = -1
    6 _3 U' @3 W7 A# w6 T, h

  703. " e/ a$ O0 P) R" U- A/ j+ M* u
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;6 m  E' d7 u% d1 Z. s& [
  705. ; Paths and Directories ;
    5 b3 O0 T4 ~; T! @3 `
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;  ?1 W7 s9 K% K  F

  707.   z- S" N, A/ n- m" r' J
  708. ; UNIX: "/path1:/path2"3 k, L3 Y" |+ U3 F
  709. ;include_path = ".:/php/includes"% P( [9 J0 v) O- q5 e
  710. ;: m1 {; Q5 k' V
  711. ; Windows: "\path1;\path2"' ~( f1 y5 q6 o+ b; I
  712. ;include_path = ".;c:\php\includes"
    ' F  H1 X+ Z' u! c: d
  713. ;
    1 p+ U2 p- A( @, w: s1 P
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    # Y  q5 B' W& G
  715. ; http://php.net/include-path3 O& u6 M8 C$ g" t* Z' @0 B4 |% A3 V% ]

  716. + a- y! {$ T; a! s$ Z) `
  717. ; The root of the PHP pages, used only if nonempty.+ c& m$ L8 s' E. ~: v
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root9 ^( O) D* G" ?% r, r
  719. ; if you are running php as a CGI under any web server (other than IIS)7 d$ S4 P0 H7 V: p; |6 q
  720. ; see documentation for security issues.  The alternate is to use the
    ; O# S7 Z8 c4 H) o
  721. ; cgi.force_redirect configuration below  K7 y7 ?  g+ x1 J4 h
  722. ; http://php.net/doc-root
    0 o: f  S& m& m( @. l
  723. doc_root =6 |+ H2 E; m2 ^# X( r" [$ i0 ~

  724. : a2 @, U+ a; l0 \& O2 c
  725. ; The directory under which PHP opens the script using /~username used only
    5 \4 U; o" O. b- H
  726. ; if nonempty.
    " O0 l* A' n6 d; T! }/ S
  727. ; http://php.net/user-dir1 c0 B# e, @# ~/ y" \
  728. user_dir =
    * I. y. P( T& _- O, G! P" F3 `

  729. - e1 S: p. b& s- t( t" C
  730. ; Directory in which the loadable extensions (modules) reside.
    ! j% u! Z7 l) o- b# O, D; {
  731. ; http://php.net/extension-dir- _! F4 p! w7 D/ l
  732. ; extension_dir = "./"
    " R! Z& {6 o7 t6 U9 \
  733. ; On windows:. e+ t3 `* N  R. b
  734. ; extension_dir = "ext"$ k& p1 t( s4 j+ F

  735. % D) d' p8 S* r
  736. ; Directory where the temporary files should be placed.- s+ O' r9 M! d7 e
  737. ; Defaults to the system default (see sys_get_temp_dir), t6 x) |+ D+ M+ X( S8 J: f$ F' {" r
  738. ; sys_temp_dir = "/tmp") R# L$ n- Y. @8 V. i
  739. 0 p4 p! n5 T& T% V
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ' n$ D3 Y0 A0 q& }" G* R
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - ~' Y2 M" C9 ^: A8 v  ~( ]
  742. ; disabled on them.
    2 C0 Z% U4 R- Y: r5 N
  743. ; http://php.net/enable-dl" ?0 {0 v0 N: l) v
  744. enable_dl = Off4 g( k& `$ a, q+ `" v

  745. ( Q6 L( C/ c) t5 }1 Q) q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 R+ E7 t9 q; M) w' h& o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 _* z0 C% m. B
  748. ; turn it off here AT YOUR OWN RISK8 W" j5 m. D& t# u$ ]) o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! o* K: a+ A2 \4 O1 \. E
  750. ; http://php.net/cgi.force-redirect2 g8 A5 d+ j: d$ u
  751. ;cgi.force_redirect = 1# y  P7 A1 T  P5 [1 \" `
  752. # Q# F4 i( a( d9 a, o4 |
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! J9 B7 a& C% ~+ d8 x
  754. ; every request. PHP's default behavior is to disable this feature.( M* k+ X9 ~9 ?
  755. ;cgi.nph = 1
    + X  Q0 s. T/ E5 {# Q* P6 j

  756.   k; L7 q+ [$ [! `8 V% d
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) M) ~, ]' @  ]# {: r) `8 [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    0 e* d. B' }6 \/ a- g
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 R8 g" t$ E% w$ @6 R: ~0 g4 z
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # W2 T# Z. j, d( @
  761. ; http://php.net/cgi.redirect-status-env# Q) }; x; o* G
  762. ;cgi.redirect_status_env =; m( o+ ~' t% z0 J4 a' _

  763. ) e4 Y4 s5 }; B% k6 O# _2 \' C
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's2 O0 _; P! R5 i' V  x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
      g6 g" M" U1 L- x5 P& M
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 t  ]; T* e: q, u, R5 E
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    2 F1 z% |, u+ ^  F' ~& ^$ A7 V
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts5 a1 i6 Z5 r( A1 K5 Y% W$ w# X
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., D& X/ t& A0 L
  770. ; http://php.net/cgi.fix-pathinfo8 U$ v0 D3 h$ _9 A# v1 A% ]
  771. cgi.fix_pathinfo=1
    # q0 v9 ?( r5 F9 w- i8 w$ u

  772. . e, }) h2 G" b4 h
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 m+ \& E+ Z" F, ?: ]- B" I
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' Z! r( s8 \* \+ E) ^
  775. ; http://php.net/cgi.dicard-path; [' g! d( ~. u5 _
  776. ;cgi.discard_path=13 C/ B9 i; g/ B& s" i1 K

  777. / h3 d+ @7 `  s' Y$ B! C  I
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 F1 Z, o; W) M' t8 M* b8 o
  779. ; security tokens of the calling client.  This allows IIS to define the
    * g8 b2 G$ O- p& `3 A- b$ Z: t
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    & z( I: ?+ J# V; f+ Q' x# ^
  781. ; does not currently support this feature (03/17/2002)
    : i! G5 S) k* H/ G0 }0 O" A
  782. ; Set to 1 if running under IIS.  Default is zero.
    + s% I$ a0 \+ {6 `% B2 a
  783. ; http://php.net/fastcgi.impersonate
    # K. z1 a4 o9 S( T" a5 \3 p* N
  784. ;fastcgi.impersonate = 10 g; S2 {7 z9 b! m4 C

  785. % q3 o; j& x! y/ D' y: z' J1 s
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ m* _) T. ^5 _' H9 }9 N# o
  787. ; this feature./ f# I" M+ Z! o9 a
  788. ;fastcgi.logging = 0
    : E" {) [; r* O7 ?6 q1 X* s& q
  789. & T) \# a. `* t4 D7 P( _
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & W3 a2 o' w) F+ M6 v& Q5 H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: p) H2 T$ W( u* v; ?2 Z
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    $ v: n6 G5 d3 i) y% M
  793. ; RFC2616 compliant header.
    2 U, t+ z7 {0 z5 ]( r: Z7 l
  794. ; Default is zero.
    , e) k3 r" ^- P
  795. ; http://php.net/cgi.rfc2616-headers9 j$ f, g* a( u/ R9 O+ K$ q
  796. ;cgi.rfc2616_headers = 0
    2 ?9 o; S: O1 N$ W' Y9 z
  797. : k1 R# @" i3 j/ P  t& R
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 J0 F% F$ x) k( O+ h4 s
  799. ; (shebang) at the top of the running script. This line might be needed if the$ E# u% f4 P8 M; s$ N0 b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 [; j$ p! r7 ]
  801. ; mode skips this line and ignores its content if this directive is turned on.) X8 ~3 y" b7 e5 x1 c# q- G! k
  802. ; http://php.net/cgi.check-shebang-line: {2 Z; W2 }' ]- j
  803. ;cgi.check_shebang_line=1. k- H- \2 X3 o( h) a
  804. - q3 Z4 f+ k( p6 l- O5 v
  805. ;;;;;;;;;;;;;;;;
    % I' P) u: M- R; P. v( J
  806. ; File Uploads ;) ?' d$ U" \) ]+ E
  807. ;;;;;;;;;;;;;;;;3 U* m* l$ |. l
  808. ; z( q( p/ N/ \* E3 L' m5 m$ c( c
  809. ; Whether to allow HTTP file uploads.) Z/ }: @) V+ m9 r* A$ ]: `
  810. ; http://php.net/file-uploads. L: b! P: G8 f/ v. }- D. x9 X
  811. file_uploads = On* w, k5 u3 z8 b* m' \
  812. * e. [" u, ?7 \' y/ X$ \' P9 Z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    , B2 q5 n  N. v- ~
  814. ; specified).
    * P; o3 @4 |( C3 g4 {" D
  815. ; http://php.net/upload-tmp-dir
    # B: D6 u0 p7 Y1 R) t/ O. y( [
  816. ;upload_tmp_dir =
    . E/ V2 U" E4 X6 |* P
  817. 2 R* ^! E, P; q) \' U; z* Q
  818. ; Maximum allowed size for uploaded files.. W% J! ]/ p1 v  }' _6 t. {
  819. ; http://php.net/upload-max-filesize, ~1 o( K4 Z# d; [9 H& n! C; H
  820. upload_max_filesize = 50M0 Y9 J0 z0 z+ m+ f1 C6 }! Q

  821. 8 f* f- e3 u' ~% I/ L/ n4 r- p/ ]! w
  822. ; Maximum number of files that can be uploaded via a single request" x  W) _5 u3 p! j& ?2 D  n( n
  823. max_file_uploads = 20! e, J: @: D- `, n, R& m+ R! Z

  824. 1 C$ h. q0 ?) o. h# u  Y
  825. ;;;;;;;;;;;;;;;;;;
    , E8 A( l9 B! q0 L# z/ f3 R/ y9 N
  826. ; Fopen wrappers ;7 l9 Z' P- H$ b# L! E* e
  827. ;;;;;;;;;;;;;;;;;;
    8 r( K. n5 y* {$ h/ i
  828. 2 a  m7 U4 J: M. u: k% D
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- r2 x  b0 u1 c4 v# y; A4 L! j/ Y; n
  830. ; http://php.net/allow-url-fopen$ t- K$ y- w- C
  831. allow_url_fopen = On" X, R! O! j, A( p' n9 n( H

  832. " p+ K) d) ^4 @2 x+ t% [3 w
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files./ F2 ], i( A% p4 h
  834. ; http://php.net/allow-url-include
    ) c; h+ g* I: }; K
  835. allow_url_include = Off
    ' }3 ^5 g0 Q- [
  836. 7 [' ^8 o- z! `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting4 |, j1 D  G- Y( @- X4 @3 {
  838. ; for this is empty.7 R, L8 C5 B+ G
  839. ; http://php.net/from; m. o  _  H- [
  840. ;from="john@doe.com"
    & H, `' u: J. d* _

  841. 0 D- R5 v& Q  P$ c8 r
  842. ; Define the User-Agent string. PHP's default setting for this is empty., X: q% D" ~7 G( ~. O" h
  843. ; http://php.net/user-agent9 P& u4 L* ?7 k, A9 t7 e
  844. ;user_agent="PHP". |- u: S2 P- x/ y
  845. ( z" F# |9 {$ p8 F
  846. ; Default timeout for socket based streams (seconds)- F  E# X% e; P( R- }6 L
  847. ; http://php.net/default-socket-timeout/ P. B' \; w* q( }+ r) o
  848. default_socket_timeout = 60
    ( y! C# I  u* s, r7 I6 P' B$ t
  849. . M( t( m1 Q- E0 ?# g. p# X4 s
  850. ; If your scripts have to deal with files from Macintosh systems,
    % g) n$ r$ P+ B
  851. ; or you are running on a Mac and need to deal with files from
    0 U3 `4 V) C0 X) ^7 K( g9 ^4 x
  852. ; unix or win32 systems, setting this flag will cause PHP to) [5 }7 a$ i; @0 d% q- v3 c
  853. ; automatically detect the EOL character in those files so that( u% x+ s/ y; ^5 w: S# {
  854. ; fgets() and file() will work regardless of the source of the file.
    3 T0 ]# T! k  o/ [; {6 O
  855. ; http://php.net/auto-detect-line-endings2 j" Z& H0 y* g; r) R; r7 b
  856. ;auto_detect_line_endings = Off
    7 z" c: c# W- t0 m- r

  857. 2 Q$ \7 B5 J8 U+ Z% }0 ^( t0 g" S
  858. ;;;;;;;;;;;;;;;;;;;;;;
    * [: Q* w2 M+ {% f0 @4 L
  859. ; Dynamic Extensions ;
    + Z) r: d- k  {9 `8 Z0 `& B; B$ o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ! Q2 W/ S8 [3 ^% l  h' H
  861. : u2 ?6 r' d2 ^- Z
  862. ; If you wish to have an extension loaded automatically, use the following
    $ \6 J3 P1 _7 `3 L4 D0 e
  863. ; syntax:# Z* [9 x& r8 m0 c& M8 x! y
  864. ;
    . j% g. l) ?: D/ \" Z) j
  865. ;   extension=modulename.extension# O# x* }9 g5 k0 m2 l
  866. ;
    / C9 K7 B  Q+ v1 d, M
  867. ; For example, on Windows:  d) X' S1 k! w
  868. ;  |9 z; a! ?3 _" t% d  R6 X; V
  869. ;   extension=msql.dll( c" o$ C- q& ^& j4 W3 s
  870. ;3 `0 L' U; m: p/ w
  871. ; ... or under UNIX:
    ) v4 `6 P. b6 [/ ]& A
  872. ;+ t$ Z9 r/ y3 L+ D% H1 Y
  873. ;   extension=msql.so
    ) ~, ~+ l# o3 c8 j
  874. ;
    + w( e2 l* x, O8 H* _* f4 G
  875. ; ... or with a path:' ^$ ~4 v$ s3 l* C
  876. ;3 g5 B. U1 C# P& `, ^
  877. ;   extension=/path/to/extension/msql.so
    # N9 {! ^  o" U: L
  878. ;* R+ I+ i1 S6 \7 A! V
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ! Z; I( W/ r1 T+ r+ o  t. F
  880. ; default extension directory.
    8 [+ W5 P/ E4 @6 W
  881. ;
    3 `: y, z8 b. H
  882. ; Windows Extensions* L0 e; b; L7 E" J6 y
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ; J- o7 K' B- }
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)* }, Y" C' J& U8 S, ]6 F
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).7 @8 j) s. _: k
  886. ; Be sure to appropriately set the extension_dir directive.5 w6 y2 t2 n0 @7 h2 J. q
  887. ;9 U  ~, n- w. ^. Q* I5 B
  888. ;extension=php_bz2.dll
    & }2 ~+ |6 @4 T' h: T) S
  889. ;extension=php_curl.dll8 g6 \" w3 x% o7 k* e
  890. ;extension=php_fileinfo.dll9 ^1 t$ Y% w7 @3 z: g
  891. ;extension=php_gd2.dll% [! ~6 S: J; D4 k0 I
  892. ;extension=php_gettext.dll  {7 n0 O: |. f( Z# o
  893. ;extension=php_gmp.dll+ m- j* x0 ]) I+ _& w
  894. ;extension=php_intl.dll( l( `$ V! U2 n& b
  895. ;extension=php_imap.dll; G) ]* F2 q) {4 E
  896. ;extension=php_interbase.dll& e3 ^1 [) q1 L/ ?* o  l* E$ Z
  897. ;extension=php_ldap.dll5 z: h% O; N( D9 m7 y7 r
  898. ;extension=php_mbstring.dll! Z& `' E, J" ~9 p- W6 }0 s
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it3 d+ l+ F/ Y9 S
  900. ;extension=php_mysql.dll
    8 e( d! Z$ G; ^0 H* a& _- ?9 j
  901. ;extension=php_mysqli.dll
    2 H8 c+ q1 C) a( p' U# u
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    / d% p( F& v: r; [
  903. ;extension=php_openssl.dll
    . u6 X! c; E# f& e7 Z/ h/ {% d
  904. ;extension=php_pdo_firebird.dll" I# i  P, U: x) \1 D) B; A
  905. ;extension=php_pdo_mysql.dll
    , J2 ]$ p" m0 }9 f, d
  906. ;extension=php_pdo_oci.dll4 J/ ^  g6 M! W: f3 J, V
  907. ;extension=php_pdo_odbc.dll
    ) {% S9 n. M! G% Z/ v, W
  908. ;extension=php_pdo_pgsql.dll
    4 |) \# S. O! t* s1 z' z6 s
  909. ;extension=php_pdo_sqlite.dll. N" _7 K8 D8 Q- K6 B
  910. ;extension=php_pgsql.dll9 {9 S% n' u" }4 d
  911. ;extension=php_shmop.dll
    3 ?) N; O5 `; U9 t7 R* N

  912. 7 n  a$ b/ ?5 N8 J; N
  913. ; The MIBS data available in the PHP distribution must be installed. , E. g" Z) S7 c* P$ D% `) K2 S. j: B" o
  914. ; See http://www.php.net/manual/en/snmp.installation.php % N' G/ e# ~# H2 r
  915. ;extension=php_snmp.dll
      Y1 `3 B, b  _- j- K  ^, i, Y

  916. " T- @, T. p& K" `& e* D
  917. ;extension=php_soap.dll9 w! L1 c1 D, M) I/ ?
  918. ;extension=php_sockets.dll# p( }7 L0 J6 Y: A+ q/ v* Y
  919. ;extension=php_sqlite3.dll3 m1 W$ Y; F) R$ P
  920. ;extension=php_sybase_ct.dll+ m" c! D) v7 F$ G+ h/ r
  921. ;extension=php_tidy.dll
      u- [+ A- S+ S' a9 s! r, A1 W6 W
  922. ;extension=php_xmlrpc.dll& d0 ~0 ]  ~6 F$ G& w8 S
  923. ;extension=php_xsl.dll% O" G7 S3 R8 A2 |; K# |9 ~' v

  924. & H; S& k; [. t: S" ?: ?
  925. ;;;;;;;;;;;;;;;;;;;( a% l( _( a% X  D, d
  926. ; Module Settings ;+ z' s8 r4 X% y# B
  927. ;;;;;;;;;;;;;;;;;;;
    ! S3 ~. B8 y7 H. f! @
  928. 5 G* a/ }/ m. m, k  l8 K9 n& [
  929. [CLI Server]. x0 I0 V2 R/ \
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 c9 f* G/ D) p7 Y% A
  931. cli_server.color = On) u% n% G3 K' l) K1 {6 k
  932. 7 ^& g4 d# _% r3 a# |$ b
  933. [Date]
    # z2 r9 |# \  h1 ]
  934. ; Defines the default timezone used by the date functions% c$ [* O& ^; E; C, }
  935. ; http://php.net/date.timezone( _* E8 V1 K. x
  936. date.timezone = PRC
    % b4 Q. _/ v2 F
  937. / ^1 b5 F! b3 V# H/ @- A6 B8 E( k
  938. ; http://php.net/date.default-latitude8 o% m3 P/ e# k+ `6 g% ^3 s
  939. ;date.default_latitude = 31.7667
    # t: X4 F8 E5 a# E8 e

  940. % ^9 K) I( M; h
  941. ; http://php.net/date.default-longitude
    2 `4 R: ~  x6 t7 e% h
  942. ;date.default_longitude = 35.23333 b; F# x" l2 \% c: b. F  }7 }3 B

  943. & {1 m8 C" g) E' v" Q% {. w9 ?
  944. ; http://php.net/date.sunrise-zenith9 F- e3 E4 s9 V# e! K; o
  945. ;date.sunrise_zenith = 90.583333
    ( j1 o; w$ R5 H
  946. " f4 h, a: |. M7 q, u2 P0 ]7 d
  947. ; http://php.net/date.sunset-zenith6 G. [2 O' j$ E: [; g8 g
  948. ;date.sunset_zenith = 90.583333
    8 T6 C; w) u2 N% S, G
  949. " s$ o: T* ^2 d% _5 }
  950. [filter]
    8 t) Q* z; A/ i5 Y$ E$ }
  951. ; http://php.net/filter.default
    * k1 f! [% Q3 r6 J- b% Z
  952. ;filter.default = unsafe_raw9 g! L+ u0 N4 F

  953. + U' @2 e3 R: ~7 x4 b3 j
  954. ; http://php.net/filter.default-flags
    / k/ {( E, s+ |4 G
  955. ;filter.default_flags =
    + q; }; y. i2 n# I0 P
  956. 9 o) Q( y2 S7 I. o
  957. [iconv]) }( q3 a/ {9 c/ f1 e" j/ i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.  r; T; j+ o- o- a& h- v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    + i! F) W: ?" ]9 b
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! R# r3 B- q+ Q9 D& U* a
  961. ;iconv.input_encoding =- j+ O7 I- t0 K: H) m

  962. $ a; E: q2 V7 d0 N% f# e' {1 Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + u0 r2 h( Z* ~. v9 Q. O1 v3 R
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.% b9 v2 B/ x6 X. M6 Q
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # h! G3 z& T) G* d" ~' |
  966. ;iconv.internal_encoding =# |2 ~7 x: c7 X( A
  967. . a; c0 m6 g% [" A! Q. E& \# L
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.% p- k7 k) X2 l5 ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.5 N1 Q+ W# _# v) v* P5 Z3 |) _7 ~8 b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& s" `3 a' e/ a
  971. ; To use an output encoding conversion, iconv's output handler must be set+ {3 C$ \5 Z7 `' g5 b/ j/ Z/ O$ z
  972. ; otherwise output encoding conversion cannot be performed.
    & D$ m7 Z! _* i& m8 c) C
  973. ;iconv.output_encoding =9 d" Q# z$ w( s: O

  974. 8 J0 W: Z3 ]" S: C2 C7 _
  975. [intl]
    ( a( f0 q' Y6 [- {7 h# D
  976. ;intl.default_locale =; o' G* F6 t, m0 H8 \: ]
  977. ; This directive allows you to produce PHP errors when some error( P* ?8 y0 b8 r# u9 Q6 `
  978. ; happens within intl functions. The value is the level of the error produced.1 A0 k. _6 {8 n; B) A2 q' [
  979. ; Default is 0, which does not produce any errors.
    ' Y8 [8 V$ l8 ?
  980. ;intl.error_level = E_WARNING
    - U& ^: n$ R+ o# }
  981. ;intl.use_exceptions = 0- ~; y2 Q2 W5 J# D0 Y6 N& |- H$ S* T

  982. 7 s) h% q& {; u/ d! X4 l. G( {% W
  983. [sqlite3]( v5 l7 u% @! V2 C9 b
  984. ;sqlite3.extension_dir =
    ) T2 o' ]! R& N" z( X+ o
  985. / w. ^. A( ^3 ?9 z
  986. [Pcre]
    4 }( a+ H, {+ ]
  987. ;PCRE library backtracking limit.3 O7 S! L9 o( R0 y& k3 U4 r$ z0 h/ z
  988. ; http://php.net/pcre.backtrack-limit
    : F' w! o' w6 \5 m; N- b( K- K
  989. ;pcre.backtrack_limit=100000& w1 A$ g! C' a$ ~- K1 n$ W

  990. . r& k, W4 S/ d3 V, d
  991. ;PCRE library recursion limit.- j" h* v! Q$ o
  992. ;Please note that if you set this value to a high number you may consume all
    0 R6 ^) ^4 t  ^, v: S9 T
  993. ;the available process stack and eventually crash PHP (due to reaching the3 p1 M$ p# [- Z0 g5 @# [; E
  994. ;stack size limit imposed by the Operating System).
    ; D, }7 D/ m. _5 q% r
  995. ; http://php.net/pcre.recursion-limit) p" M' I! L! u# z! b- j
  996. ;pcre.recursion_limit=100000
    1 S+ d! ]7 s0 K$ O8 s( e7 {
  997. 6 F* q; X' [4 ^5 G3 ~
  998. [Pdo]" I& A, b, G# ^7 a- }, x
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    9 k7 s- j8 K: @" h4 \# u1 ?
  1000. ; http://php.net/pdo-odbc.connection-pooling# _6 Z- z( A6 c# X
  1001. ;pdo_odbc.connection_pooling=strict
    ( l. {" C# v. ]( B

  1002. 3 Z$ I& M/ T! b- O& D
  1003. ;pdo_odbc.db2_instance_name
    6 G  s" L5 ]0 p* Z6 i

  1004. % X& a! u# w$ \/ W+ s% q
  1005. [Pdo_mysql]
    - y  r! d4 `, d
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' ]2 t/ b7 }2 ~) N7 r6 x
  1007. ; http://php.net/pdo_mysql.cache_size0 k8 _5 D: C" E5 G0 b, U" i
  1008. pdo_mysql.cache_size = 2000
    # j% E+ y" j7 U' G* x) L( i. g

  1009. $ G2 W! L! O; l- F
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + ]# B7 i( I  A1 K/ S
  1011. ; MySQL defaults.
    7 {! {+ F0 O0 `+ O8 t9 o* _
  1012. ; http://php.net/pdo_mysql.default-socket  J- v3 _8 K+ A- J8 c4 w
  1013. pdo_mysql.default_socket=
    & i  E% ^/ _- j2 s4 H

  1014. ( Q; V2 N& ~3 X2 a
  1015. [Phar]
    - q1 ^- L, q+ N* g1 j. A
  1016. ; http://php.net/phar.readonly
    * W" g% H* b$ y0 N3 g- o
  1017. ;phar.readonly = On
    ; P  w# U' ^. J. @, B

  1018. " u* u8 P' ?3 u, ^9 M
  1019. ; http://php.net/phar.require-hash
    ' L+ C9 t; V' Q% l1 a3 B
  1020. ;phar.require_hash = On
    : b1 O+ r1 o1 D6 V! U
  1021. 2 M$ X9 h1 F- V: O5 W* u
  1022. ;phar.cache_list =
    1 }7 v; b& a; @

  1023.   s* s5 R. m: D$ \0 Q
  1024. [mail function]+ r# Y, B2 s. s3 Z
  1025. ; For Win32 only.
    " P5 z, a# G1 c* u5 Y3 Z2 D! ]4 b
  1026. ; http://php.net/smtp
    ( G0 e4 B3 T$ m3 D; W
  1027. SMTP = localhost
    5 p! U+ o5 p- B5 M, r. ?) y
  1028. ; http://php.net/smtp-port7 @* Q2 O7 g4 |$ v+ z' J
  1029. smtp_port = 25& i1 j' Z+ F; c2 f3 f0 }& n& L
  1030. 6 w8 }6 o, [8 ^7 n9 S
  1031. ; For Win32 only.
    $ Y) H5 m5 P9 n. ]7 E+ j' ]. J
  1032. ; http://php.net/sendmail-from
    * u: m  ^. X1 ]" |/ ~
  1033. ;sendmail_from = me@example.com
    + v1 C% ^6 ]# R5 L
  1034. 1 @& {' m: q$ `6 Y( t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & T) g+ n+ |4 u/ t* I/ k
  1036. ; http://php.net/sendmail-path
    7 C8 b: `9 Q7 {; c+ T. }
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    , B$ ^- V; N4 _- u3 Z+ p

  1038.   c( O9 ~% h3 S4 H$ i$ R* C
  1039. ; Force the addition of the specified parameters to be passed as extra parameters+ ~: c7 @, }( Y
  1040. ; to the sendmail binary. These parameters will always replace the value of
    & `/ G  ^# }* ?. }
  1041. ; the 5th parameter to mail().  H2 e; L# Y. t8 K
  1042. ;mail.force_extra_parameters =
    8 q+ H+ h# S2 N7 ~+ M8 D
  1043. , Z- f6 C7 I- Q2 b' G2 e: I
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: k% G+ b! N$ `! ]0 {8 ~
  1045. mail.add_x_header = On/ O' H! |% _& ~& x' P

  1046. , h" v: _5 r, m+ |3 W
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ! O6 M0 w5 S  d1 P
  1048. ; the full path of the script, line number, To address and headers.
    6 u+ x7 E3 n; D4 t2 f3 P
  1049. ;mail.log =
    ' H6 x) x5 u+ b0 p
  1050. ; Log mail to syslog (Event Log on Windows).
    - T2 T7 V: s( p( l( V
  1051. ;mail.log = syslog/ J$ I0 h5 P# d) U
  1052. ) L5 x9 T6 ^1 a/ R1 M) [3 o
  1053. [SQL]! M+ j! b: i: v9 @9 t5 l
  1054. ; http://php.net/sql.safe-mode- j. R5 ]& @# \! [( I$ Z
  1055. sql.safe_mode = Off
    + P+ o# }: `3 _" n; r1 e3 V4 ]9 H/ X7 A4 P
  1056. & F6 n3 X* ]7 i% J1 d7 B  m
  1057. [ODBC]) |! V& y9 v! C: o3 l2 M
  1058. ; http://php.net/odbc.default-db
    + p2 u: ]! `' W' |6 x) F
  1059. ;odbc.default_db    =  Not yet implemented2 G% N+ m4 k/ |4 \0 T5 d" v

  1060. * d. _: J6 v9 s, P
  1061. ; http://php.net/odbc.default-user; h+ `2 [/ r1 A" T% A; E9 Y
  1062. ;odbc.default_user  =  Not yet implemented
    & @, d/ M! l2 e( y4 g
  1063. ( Q. J" ?7 H( K* x, r9 ?
  1064. ; http://php.net/odbc.default-pw& o) v0 w. ]% P! j
  1065. ;odbc.default_pw    =  Not yet implemented& @, v2 l  h9 X! C7 R- x' G- h& y

  1066. . L7 I; H% d6 f* {  R
  1067. ; Controls the ODBC cursor model.: m/ i' |/ B% ?/ h
  1068. ; Default: SQL_CURSOR_STATIC (default).& }, e8 ^; E8 v# V/ W+ [8 j
  1069. ;odbc.default_cursortype# w% [: R7 I1 L2 N- E
  1070. ) g( {0 a* m8 K- F9 R
  1071. ; Allow or prevent persistent links.. P& z0 V, ?3 y% o; P
  1072. ; http://php.net/odbc.allow-persistent" ~) @) X( ~0 U
  1073. odbc.allow_persistent = On; U6 y! @. A: j$ D& w
  1074. $ \# x1 i- d/ A* D6 N! [
  1075. ; Check that a connection is still valid before reuse.. G1 m9 }- M8 M! |# m3 z. D1 F
  1076. ; http://php.net/odbc.check-persistent+ s9 i3 U+ m8 s  l; ?( W3 Y
  1077. odbc.check_persistent = On8 q+ W2 X" b6 S: @- b$ a' L2 J

  1078.   h: N3 d$ U) Z1 o+ H3 H- Z4 c3 x* ]
  1079. ; Maximum number of persistent links.  -1 means no limit.
    # _% J% u4 g: ^+ t* J  `
  1080. ; http://php.net/odbc.max-persistent7 Z7 P7 ]) T- ^/ i6 k
  1081. odbc.max_persistent = -13 q; _: g. i1 \" }8 H$ ~/ O- C

  1082. & B3 j4 [% p1 d. t1 _! L' U
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! H" M( K; t9 `6 i/ _& E- c3 ]
  1084. ; http://php.net/odbc.max-links
    2 k9 y; |: h% \1 C& e
  1085. odbc.max_links = -1) ~" W6 j, N% @6 R! m' K

  1086. + U4 J# W& _8 K! {7 _/ q# ~
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
      b/ x. c9 ?4 C# l) h- y( ^
  1088. ; passthru.
    " L& D1 [; D0 C1 K  V
  1089. ; http://php.net/odbc.defaultlrl
    : z+ L& n/ t7 f4 U2 `
  1090. odbc.defaultlrl = 4096
    0 F& `/ Q4 q" Z- y  g

  1091. 0 V, ^' [! m& Y0 V2 {7 ?
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char., T+ l' z" S$ J- h, b
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + [3 M9 c/ P+ u6 {" [2 E
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( ?1 R* {/ O& i4 p2 {5 f' G
  1095. ; http://php.net/odbc.defaultbinmode. m5 b5 }# ^1 s9 y% u+ R* e: H( x
  1096. odbc.defaultbinmode = 18 M4 m; _  [$ B' X, [

  1097. $ c" a) x7 d8 H$ F) U
  1098. ;birdstep.max_links = -1
    1 b* p, a/ K0 Q8 k& L
  1099. * w) @0 L0 Q; c0 G$ S  g5 W
  1100. [Interbase]5 l) _+ n/ I- J, }7 s+ w3 P9 b
  1101. ; Allow or prevent persistent links.3 q/ t& z5 y) y4 P7 H
  1102. ibase.allow_persistent = 1- a3 N" Z4 \  l
  1103. 1 x+ ~" u# {  s
  1104. ; Maximum number of persistent links.  -1 means no limit.3 c/ J% ]$ N$ K, \' `
  1105. ibase.max_persistent = -19 D4 g# K2 L, c0 _/ E

  1106. ! u$ F+ V3 @, |
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) H) C, M) O$ A+ ~9 f. P/ d2 m
  1108. ibase.max_links = -1
    9 U! |9 q6 `: T9 X

  1109. 7 p0 }0 Z0 l( G) m0 ?: i: T! ]2 d; {
  1110. ; Default database name for ibase_connect().
    & m, m, X5 o* Z$ _( {
  1111. ;ibase.default_db =
    ! u% B- V& X& E. r
  1112. , e! z7 a/ J9 e+ v$ L0 f: K
  1113. ; Default username for ibase_connect().6 O2 y" Y' F/ |3 }. J4 p6 B5 i4 ^
  1114. ;ibase.default_user =1 v" j6 `2 g7 V3 b6 W' W9 l
  1115. 7 }- b6 W' f- s8 e1 D1 J
  1116. ; Default password for ibase_connect().
    ( [1 |4 |, P; U) b( r' W! @8 B
  1117. ;ibase.default_password =5 o; C& F, d% x1 [! O% R3 ]
  1118.   t  m+ {. H# _/ O% Q; i
  1119. ; Default charset for ibase_connect()." Y- f4 W9 e/ W( z4 C, ]: R6 w: X
  1120. ;ibase.default_charset =
    2 L0 R, \& s# B% H- p: J( ~$ C4 i

  1121. ' q4 X! P' D! \- |7 V4 Y5 ]
  1122. ; Default timestamp format.
      L7 n; r/ U3 y- y& F: T) u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( d  Y, N6 J, a, G& @/ [

  1124. " T9 b: Z& h$ x( c0 Q' p% z
  1125. ; Default date format.! ~5 J% t- t9 m$ H! E
  1126. ibase.dateformat = "%Y-%m-%d"
    9 N& b* {2 y3 C7 g/ m0 |, q
  1127. 4 R: s' s% k* x
  1128. ; Default time format.+ p. q' t: W3 B4 b1 q0 C2 j3 g- {
  1129. ibase.timeformat = "%H:%M:%S"
    1 W3 Y7 E6 a: ^2 z+ t5 w# x
  1130. & w8 j6 L7 s4 u: I
  1131. [MySQL]
    - b3 B/ z- y1 P0 M. H0 I2 G
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 z) b: C) _7 \8 {
  1133. ; http://php.net/mysql.allow_local_infile
    ) {) y3 t- H; |) x
  1134. mysql.allow_local_infile = On/ T9 W0 k& i0 O  W! g! g8 {

  1135. 5 s9 Q* M& q* p6 [4 x4 l
  1136. ; Allow or prevent persistent links.' s; a$ ?" o4 Q9 u
  1137. ; http://php.net/mysql.allow-persistent
    + b- U! c% Q# @) d$ H4 a% @' |9 H
  1138. mysql.allow_persistent = On8 v4 w. _" F9 b% q" b, b7 |8 T

  1139. % ?. F# v$ N$ B9 @
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; Y; f# A1 X$ E. Y4 k8 ]6 V
  1141. ; http://php.net/mysql.cache_size7 ]* b1 @( O8 Q' U
  1142. mysql.cache_size = 20006 H8 g( `  m8 G/ K/ t+ ?

  1143. 5 u$ |2 h1 b: c8 E" l
  1144. ; Maximum number of persistent links.  -1 means no limit.
    6 n: n8 U/ L+ v* m
  1145. ; http://php.net/mysql.max-persistent
    7 n& e' e% {/ y
  1146. mysql.max_persistent = -1
    $ U/ C) [  a1 Y, t8 S" I9 c& q
  1147. 0 S3 W4 E+ T( l6 F; P$ A
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% N+ m' @# y( v: J
  1149. ; http://php.net/mysql.max-links) N4 C$ e- `5 k  D2 O
  1150. mysql.max_links = -1
    ( A8 x* {( v! r- z# ?$ a! U5 n7 ^

  1151. 0 j& ^8 ]/ }: O+ P
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use. s: b7 s# @5 U# ^) e# o
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 U( L% U  ^- t! N$ l4 Z4 K
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look2 p: _8 ~; {3 ?+ [8 V4 l
  1155. ; at MYSQL_PORT.( \* E1 M# X0 Y. n* Z# J" f4 ?
  1156. ; http://php.net/mysql.default-port1 @/ e( \4 d# U! V/ P" l  e  g2 e* h
  1157. mysql.default_port =
    0 b- W, i  V" C8 i6 Q
  1158. 9 l  p1 I# `1 h- w& x5 s
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      D) q7 C( r5 l, {9 a0 c
  1160. ; MySQL defaults.
    ' h! ]( u/ d4 y
  1161. ; http://php.net/mysql.default-socket0 A; `" P) N9 T! e( K+ r
  1162. mysql.default_socket =" [& y  F6 B9 e# v2 E& `7 I

  1163. 8 P% `: ~  C  h4 H- V! o
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).' g# ~) D+ t# \. a
  1165. ; http://php.net/mysql.default-host0 y* z, D7 Q/ e- G& ]
  1166. mysql.default_host =3 [6 ]3 [2 D  [& \

  1167. ) c2 B) k  B( D, A9 L( c
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; A" g' C5 v0 P, \! r9 T$ ^
  1169. ; http://php.net/mysql.default-user8 ]& H# N  A  C  q- }; q
  1170. mysql.default_user =- N0 q8 S" i$ I. {0 J
  1171. * {) Q- q: T8 k8 [" b9 P9 T2 o& `8 H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    8 I' D( i/ p: p$ [7 I
  1173. ; Note that this is generally a *bad* idea to store passwords in this file." n" d6 r& D" B5 a" b7 T
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    9 n; {4 k2 Y9 f' V$ R! m
  1175. ; and reveal this password!  And of course, any users with read access to this
    4 l( x  c3 X) N
  1176. ; file will be able to reveal the password as well.
    2 c/ Y6 Z6 M& D0 h
  1177. ; http://php.net/mysql.default-password' l1 j% R# J) Y8 z- d; q
  1178. mysql.default_password =
    9 B" K  E  d8 W# f

  1179. $ l5 i+ I$ s( a1 `
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit! J; h, J# O* p2 I
  1181. ; http://php.net/mysql.connect-timeout
    + [4 X. G( h# {7 N, S' b! T0 u+ t
  1182. mysql.connect_timeout = 60% j' L% q3 `0 y" o

  1183. ! k  B+ j( ^7 z6 F& v1 l
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and; U4 ~# R0 {" `. C8 g
  1185. ; SQL-Errors will be displayed." V- N; q+ t0 T# @. ^- G6 q
  1186. ; http://php.net/mysql.trace-mode$ I6 r5 Z' b' y" o5 }9 M1 y
  1187. mysql.trace_mode = Off
    " @) q( ^" r4 j7 @; ^
  1188. " L/ T) W0 y2 c8 S+ s0 N+ c1 Y
  1189. [MySQLi]0 E2 _* I% J8 X& Z
  1190. ' O# _# D. M# u7 N/ K! }4 `8 {' h
  1191. ; Maximum number of persistent links.  -1 means no limit.) I: o8 c7 M4 d# L
  1192. ; http://php.net/mysqli.max-persistent6 z9 i# ^  z8 T4 B3 E
  1193. mysqli.max_persistent = -1
    : C2 _  t% ]3 B2 ^
  1194. 5 \9 |" Z  o8 K' \
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements5 o3 a1 C: C# P8 ^% i+ D! L0 C
  1196. ; http://php.net/mysqli.allow_local_infile# V; T! U; n2 a" v, v
  1197. ;mysqli.allow_local_infile = On( u" U  m4 f4 Z# G

  1198. 2 r/ l. [8 P1 d- P
  1199. ; Allow or prevent persistent links.  t8 l  ]6 E$ X8 U# f6 w
  1200. ; http://php.net/mysqli.allow-persistent
    ( s/ M" H  t5 D; {* r0 }4 N
  1201. mysqli.allow_persistent = On6 E* J  ]/ ?) x. M) E; a/ k; ^
  1202. ; U$ r, C2 d7 Q/ V
  1203. ; Maximum number of links.  -1 means no limit.
    * k* I) J) t7 H9 A! H# x: }' P
  1204. ; http://php.net/mysqli.max-links
    : W' l) p( v' V% Z
  1205. mysqli.max_links = -1
    , D- F! ~' A4 R+ B3 M  c' E
  1206. / }. H3 J6 `1 e+ K4 |
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + F* P5 Y4 m# ^1 ?" I% @
  1208. ; http://php.net/mysqli.cache_size
    # z/ h0 b: ]7 D9 L$ D+ T
  1209. mysqli.cache_size = 2000
    ! E' f1 p# _" j7 @3 r
  1210.   N9 v' I# I* O8 n; E- f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% G, W$ c  T3 u6 J% A/ v  Q: E9 x# b
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 ?- i/ w/ @0 G% M1 L
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' o7 ~5 W0 G+ J& w4 x
  1214. ; at MYSQL_PORT.
    # s( I3 K3 b4 Q( Z
  1215. ; http://php.net/mysqli.default-port: q. d, s8 ]2 p, U; Y- i
  1216. mysqli.default_port = 3306
    " {. ]9 J7 v% M6 p& Y9 x
  1217. + \2 W3 a1 g7 h, Z+ Q
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % z! D' b: u0 }1 O
  1219. ; MySQL defaults.
    1 `2 U+ a0 v7 d$ B6 t$ j9 G
  1220. ; http://php.net/mysqli.default-socket
    . R* |8 @5 c! R2 _- f0 {6 x( \
  1221. mysqli.default_socket =
    / K+ d& `3 n2 e/ _2 I6 j: ?
  1222. 9 V* ]# c8 A- J0 Y5 k6 C, U
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # l; o) M1 N. V( x- s; ?: G6 B
  1224. ; http://php.net/mysqli.default-host
    2 d% ]/ v( o" Z( M
  1225. mysqli.default_host =
    8 d. z+ \3 T" }

  1226. & A1 s3 d6 f; N: X# F  p5 P- k& x
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 y' z( w/ [, V- \! U
  1228. ; http://php.net/mysqli.default-user
    " P. J3 v0 M9 |. z6 t* M( w% W
  1229. mysqli.default_user =
    3 N8 w: O7 t  D6 _% ]4 c
  1230. $ K% @, [2 D, C- J! A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 L2 X) U$ U, u0 m
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 I/ G, y7 G6 ^" J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 Q% r( k' c' _1 F4 Q
  1234. ; and reveal this password!  And of course, any users with read access to this" D0 y9 L5 M" N# G" a2 A( U! `
  1235. ; file will be able to reveal the password as well.
    ) Q+ ?2 A: M' k5 l) j7 n
  1236. ; http://php.net/mysqli.default-pw
      [% w  c+ ?, @9 ~
  1237. mysqli.default_pw =3 [4 ?- M0 O( S( m3 D

  1238. / v4 t: h  q% c. Q
  1239. ; Allow or prevent reconnect( w7 J$ g! C- f8 X/ t) I, j; D
  1240. mysqli.reconnect = Off- M8 |5 i3 Y  ], b+ U. D! b, d& V
  1241. & ^: E: l+ R" ^1 \) d+ o
  1242. [mysqlnd]
    * I5 a# [1 G+ C. `+ r; j
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . M/ r; t' t4 ?2 R7 K) d& A
  1244. ; used to tune and monitor MySQL operations.; `3 v3 D! j: z; s% n/ ]
  1245. ; http://php.net/mysqlnd.collect_statistics; {- B- I3 J+ B: Y7 f
  1246. mysqlnd.collect_statistics = On9 b8 g# Y+ O& d! N/ y
  1247. " l. j9 B1 d7 ^  L' c" S) o3 Y! ^, B
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    / L( |' V( X: k. R7 y& Q
  1249. ; used to tune and monitor MySQL operations.
    5 R# S0 q$ u8 U( |6 K& p
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 ~* \6 y' |0 T; `
  1251. mysqlnd.collect_memory_statistics = Off
    % J; K' @; t4 z2 D: s3 z# |/ ^; s
  1252. " T' l/ m& t' P+ V! k) D; R5 ]
  1253. ; Records communication from all extensions using mysqlnd to the specified log3 H  B4 r" }) o3 D: p9 N/ L
  1254. ; file.7 K- I1 ~. Z, o  _
  1255. ; http://php.net/mysqlnd.debug
    . B! T* R2 [' }. y0 A
  1256. ;mysqlnd.debug =
    0 J% ]8 x1 P8 d3 U/ |

  1257. 2 X2 @8 \, ^7 y
  1258. ; Defines which queries will be logged.. f0 A% ]7 e* g% g  [. G1 x
  1259. ; http://php.net/mysqlnd.log_mask
    3 N# c. N) W, ^$ h: g5 R$ }1 g
  1260. ;mysqlnd.log_mask = 0
    2 U  r) U; k8 k8 v, ]* Z
  1261. ; B6 d/ B! E  ]" L; T7 m$ P; u
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.' l+ H1 i4 X; [) Y2 [6 O7 ^; |& Z8 Q
  1263. ; http://php.net/mysqlnd.mempool_default_size1 K* h% `0 i( _% e/ M3 S
  1264. ;mysqlnd.mempool_default_size = 16000* ^/ c$ [$ b+ @+ {% C( ]) F
  1265. 4 }& _) A3 S1 e) L
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.7 y2 ~6 B5 U; B" s( W( s
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" Y- E9 k* u/ A' y; J: D4 H& H
  1268. ;mysqlnd.net_cmd_buffer_size = 20483 K, f* z6 G% D( [( Z/ i

  1269. % O: g' q6 I# x( y! E
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! Q6 I! w& L- t; u, K; T7 q! H* @
  1271. ; bytes.
    9 H& Z" n* Q7 g" \6 ?; j' E
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    # Z; j$ ]4 A( P
  1273. ;mysqlnd.net_read_buffer_size = 32768
    8 i3 L( g( H4 c& v' g) L, ?# W
  1274.   |; c* z! B' H# a
  1275. ; Timeout for network requests in seconds.
    ! c4 E  j* @$ a
  1276. ; http://php.net/mysqlnd.net_read_timeout$ L! ~: W, y1 h+ d3 L# }) j5 ?" J; e
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) a( e6 {9 s- \0 Q0 N2 |6 l
  1278. ' L% Z9 X( c6 q& f/ v4 f9 S+ H& i3 A
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA- m1 Q5 J% u3 H0 D/ o  W( _0 L9 d. z
  1280. ; key.6 V- Q1 S+ }: u- }+ p
  1281. ; http://php.net/mysqlnd.sha256_server_public_key3 u& f" s& c# F, n0 f6 b
  1282. ;mysqlnd.sha256_server_public_key =
    ! Z  {6 ~; ^, {1 ]; _
  1283. ' Y! ^% Y# ?% {6 ]! d4 N& ~
  1284. [OCI8]1 P+ d( `8 Y4 i% H( m1 J

  1285. $ e5 Y/ N0 |1 V; l5 x& @8 s
  1286. ; Connection: Enables privileged connections using external8 }. U- D/ ^" F$ K
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 u, H" Q! x' F0 s8 |
  1288. ; http://php.net/oci8.privileged-connect2 x7 C. [" p9 i. U
  1289. ;oci8.privileged_connect = Off4 O, l7 K& j+ m1 F% p# W
  1290. / s1 U7 e+ @8 X8 U0 A6 ~( X# z
  1291. ; Connection: The maximum number of persistent OCI8 connections per' k7 m; h4 z" E9 i
  1292. ; process. Using -1 means no limit.( f' U+ r4 P4 x
  1293. ; http://php.net/oci8.max-persistent
    ; t+ S3 Y8 d2 m; q: B% F
  1294. ;oci8.max_persistent = -1
    9 c! |" a7 q! X8 X9 |

  1295. / N* J, {1 E1 k3 X1 O/ m6 |
  1296. ; Connection: The maximum number of seconds a process is allowed to  F( k6 P% Z( Z- c, d% |
  1297. ; maintain an idle persistent connection. Using -1 means idle
    / N5 l" q$ u* p0 u5 D/ G
  1298. ; persistent connections will be maintained forever.
    / C& K2 R  G  u8 r' t2 ~; M& o& U8 R
  1299. ; http://php.net/oci8.persistent-timeout- C/ B8 h% D  I; Y) n+ I! J1 E1 l7 c
  1300. ;oci8.persistent_timeout = -1# i1 s8 k% M1 \  X0 J& Z6 a+ j

  1301. 8 |! k. N5 v( v1 ]7 s0 e1 j
  1302. ; Connection: The number of seconds that must pass before issuing a$ G- Q$ B  L4 L" y6 k
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 `, Q5 {3 T6 A% T
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 m% B* P' \4 b% _( w/ I5 r; z! W
  1305. ; pings completely.0 W$ x! _* m2 a! |; j- G
  1306. ; http://php.net/oci8.ping-interval& ]3 n/ g- O: F1 g/ K4 L2 q3 W
  1307. ;oci8.ping_interval = 60- z. S2 t) X, H8 m7 e, B9 P

  1308. * x! u+ Z$ |6 K( U3 m: Y9 V6 G; z
  1309. ; Connection: Set this to a user chosen connection class to be used
    & C; ^5 d* L4 B2 A
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ! ?! B: @* ^. A1 v8 w
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    , N( r5 u/ Q4 |& e2 W, Y
  1312. ; the same string for all web servers running the same application,# `; {" I( w6 N0 c0 S# l7 C; C
  1313. ; the database pool must be configured, and the connection string must
    1 s, |: l7 `( D2 z" @! |( Z
  1314. ; specify to use a pooled server.$ t7 Q8 `3 G$ Q. x& ~6 U
  1315. ;oci8.connection_class =4 H' \" m) R; x8 `& m! ]

  1316. 2 Z  \3 `3 ^' L
  1317. ; High Availability: Using On lets PHP receive Fast Application
    5 r# S6 K% o7 Q% `. m$ A0 n# s
  1318. ; Notification (FAN) events generated when a database node fails. The% J( m4 [5 U! W( v8 u6 k  G, }( n
  1319. ; database must also be configured to post FAN events.
    1 Q" R. X7 i$ _) u9 }5 B
  1320. ;oci8.events = Off& r6 K! D% @5 M$ ^+ p( v* Q. Q

  1321. % d4 Z7 U4 ^# ~. D
  1322. ; Tuning: This option enables statement caching, and specifies how: `8 d; R0 m6 o5 x! k% w! [
  1323. ; many statements to cache. Using 0 disables statement caching.- \0 V" g2 F9 G8 l0 W9 T
  1324. ; http://php.net/oci8.statement-cache-size6 i2 A; A2 ^0 P* n/ n
  1325. ;oci8.statement_cache_size = 206 |0 R3 m3 W- j; ?
  1326. : C5 `7 g1 n  {; j
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    7 s' X. x4 ?) ]2 g3 N& [
  1328. ; rows that will be fetched automatically after statement execution.
    % X2 W! \) o4 h
  1329. ; http://php.net/oci8.default-prefetch
      P5 q' i* U* [4 s2 [2 p1 q; M7 _
  1330. ;oci8.default_prefetch = 1001 t+ ^- |  [; b+ N3 H, ]
  1331. & a- W' r# W9 i0 H1 }
  1332. ; Compatibility. Using On means oci_close() will not close$ y; C% A4 e% g
  1333. ; oci_connect() and oci_new_connect() connections.
    ! j; g6 ?! h1 ~4 g( K
  1334. ; http://php.net/oci8.old-oci-close-semantics' f1 @) i' D+ Y& [5 T% p. Q' I0 o$ g
  1335. ;oci8.old_oci_close_semantics = Off6 b$ L/ O1 h; z; p
  1336. * m4 M* @8 h2 ]9 ]
  1337. [PostgreSQL]
    ! O' ]3 O+ n% M- u, a& E
  1338. ; Allow or prevent persistent links.6 Z) a0 t0 D6 M& U1 r% U2 R" W
  1339. ; http://php.net/pgsql.allow-persistent+ j. M  I' L7 _( T. r
  1340. pgsql.allow_persistent = On& j+ P5 e# R, C. w* N" O3 E

  1341. 9 d  K/ {0 ~5 W( i! u" G  b+ D% z
  1342. ; Detect broken persistent links always with pg_pconnect().4 r4 e. C; p9 X
  1343. ; Auto reset feature requires a little overheads.  @% O7 F# V" c3 S/ a9 C- `
  1344. ; http://php.net/pgsql.auto-reset-persistent
    / E' J6 n9 t" `, D* E2 `) z
  1345. pgsql.auto_reset_persistent = Off6 Z2 B( H. S0 ^9 u3 t

  1346. 5 {4 L' i& S# @- L" ]; y  Y7 [
  1347. ; Maximum number of persistent links.  -1 means no limit.; J: M3 z* y. T% k1 |
  1348. ; http://php.net/pgsql.max-persistent
    ! ?( s' A* Z3 }+ M3 ^* }5 R% P9 P
  1349. pgsql.max_persistent = -1
    0 q) E7 q; [) `8 [1 z! U  m
  1350. 4 J  H- ^0 @3 a
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 s7 N/ Z8 T, G, C& S+ R! a
  1352. ; http://php.net/pgsql.max-links
    4 G& \/ ]: p5 d% m, n3 {
  1353. pgsql.max_links = -1
    ! j. k4 c  `( r4 S0 A9 H* A' g
  1354. # N+ m7 S( C) Z) Q4 g
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 r' l; p) B; s" T0 f
  1356. ; Notice message logging require a little overheads.
    # T$ A- M1 d4 K
  1357. ; http://php.net/pgsql.ignore-notice
    ! U! M  K2 B$ }
  1358. pgsql.ignore_notice = 0* m- a: X4 P( Z1 A

  1359. - B7 K6 {$ |2 N; L+ V) g! P% j# W
  1360. ; Log PostgreSQL backends Notice message or not." w+ k! [- b# L! _
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 x+ L# _4 |- U9 f% n6 {/ _" ^
  1362. ; http://php.net/pgsql.log-notice% x3 H! R0 `, i; W# V9 h0 G5 C
  1363. pgsql.log_notice = 0' M6 {( W' D) x/ n
  1364. 7 s  Z# U9 Y4 n* u1 g
  1365. [Sybase-CT]  P5 T& W: o0 v8 C$ Y
  1366. ; Allow or prevent persistent links.
    1 c8 }- b, ~  {% Y- N: O8 `6 N1 |
  1367. ; http://php.net/sybct.allow-persistent
    - }% p- c, R( |8 a! L; |9 J
  1368. sybct.allow_persistent = On
    - l9 J! J* s+ c3 s

  1369. 2 i2 g# ^2 `- }" k* s' g
  1370. ; Maximum number of persistent links.  -1 means no limit.- G6 l6 _4 j3 {" V
  1371. ; http://php.net/sybct.max-persistent: y# ^' p" j6 M# \, A& A( l
  1372. sybct.max_persistent = -1
    3 f& o8 k) S- A6 L0 y

  1373. ' ?7 `9 Q1 R1 P) w4 g& u
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' u' J7 h* [) C: c+ }0 y, Q' b4 t
  1375. ; http://php.net/sybct.max-links
    - z- g% w7 Z( ^2 j
  1376. sybct.max_links = -17 R4 R8 _# }9 ]4 X& h
  1377. 7 k9 Y6 \) b: d. Q2 S) K
  1378. ; Minimum server message severity to display.# Q3 w2 |9 T. F4 l
  1379. ; http://php.net/sybct.min-server-severity
    ' s: C' H- w* E$ ?" g9 ~
  1380. sybct.min_server_severity = 10& W5 y- N, V$ \$ t6 D" p' e

  1381. 3 o2 o& r. X; e! L* d# |
  1382. ; Minimum client message severity to display.
    . S  M0 h) p7 a
  1383. ; http://php.net/sybct.min-client-severity
    & j% \+ M% [; r6 V0 b2 b
  1384. sybct.min_client_severity = 10* B/ v: h/ |1 r" T! X, R

  1385. % U$ @0 W! g7 |" Y& B  r- O
  1386. ; Set per-context timeout. [) S+ N% h9 f" Y/ R" M
  1387. ; http://php.net/sybct.timeout+ I0 p4 ^5 J  l- m, |9 a
  1388. ;sybct.timeout=
    4 z6 m3 ~) _- ~- S3 S6 F
  1389. 6 F) N+ H: X, K# R$ I- q" P  ?
  1390. ;sybct.packet_size$ N' p/ F0 r4 Q/ b2 c
  1391. " H: Q& S0 K! X- u# U
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure./ o# Q- e. P# j  {: Q- [8 t
  1393. ; Default: one minute! \. z- r% Y  c3 |( g
  1394. ;sybct.login_timeout=
    " n1 K& b4 w" K! q3 o2 ?5 E

  1395. # z$ O3 I, x9 s+ m
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    - d  d& R+ @: U/ }4 E
  1397. ; Default: none7 Y* Z2 v& Z$ g. u
  1398. ;sybct.hostname=
      ?! a8 t! A4 S  Y

  1399. 4 p$ A+ X5 [; C: J9 X2 l
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".+ v- y) @. n) s3 |- B8 W, h2 w
  1401. ; Default: 0
    , x) F# {$ _' E! s. T+ k7 r8 I
  1402. ;sybct.deadlock_retry_count=" Q  [$ W2 R/ I. d4 f4 h
  1403. 8 _. v$ e& o- b; R$ b
  1404. [bcmath]3 N% o8 N1 p  A) f* ~0 C2 j
  1405. ; Number of decimal digits for all bcmath functions.
    ; r3 k! _& u) z* ?
  1406. ; http://php.net/bcmath.scale
    1 }; B/ e& \9 r' y1 V  {! D3 w
  1407. bcmath.scale = 0
    + T* Y" w5 @/ \7 n# E
  1408. 6 H# z% ]  a- M/ _9 ^. H9 f0 J
  1409. [browscap]* F/ Y6 |9 X" M2 U/ d
  1410. ; http://php.net/browscap
    - c9 G+ Q* V2 @* q( B
  1411. ;browscap = extra/browscap.ini) X7 g% J+ ]/ t( w. N; m
  1412. 3 m9 g* z1 q9 [5 c0 [$ G
  1413. [Session]
    3 l1 r: L4 r7 D7 }2 c" Q2 A7 ^5 D
  1414. ; Handler used to store/retrieve data.
    / b% p& d; R  P, g+ v' e! |( J
  1415. ; http://php.net/session.save-handler
    ! B% g# r/ J$ y. ?& f
  1416. session.save_handler = files  L( p) g7 n9 P. K& _4 m

  1417. . m1 s) p8 o0 c7 e, S5 U
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    4 ?  w7 G% C0 f5 T/ B+ j9 m0 v& d
  1419. ; where data files are stored. Note: Windows users have to change this: h6 T& _  x1 d
  1420. ; variable in order to use PHP's session functions.
    4 m! t' |5 }4 w0 C- Q
  1421. ;
    ; {: Y* N/ p$ c$ z, E% ]3 p+ p9 C
  1422. ; The path can be defined as:% ^; j  V4 Q- P/ I* f; E& {
  1423. ;
      J8 R7 y' b* y5 V, W
  1424. ;     session.save_path = "N;/path"
    ! [: u9 x5 ^" B! \
  1425. ;% k2 q2 A9 t; b% N- E/ [1 P3 j
  1426. ; where N is an integer.  Instead of storing all the session files in
    . @' z6 n: J+ V7 Q# i, k5 g! I$ t
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    5 J8 F! y/ U$ i  j& b
  1428. ; store the session data in those directories.  This is useful if8 E" K0 Q* @( R
  1429. ; your OS has problems with many files in one directory, and is
    ; L' A5 Z0 j3 Y
  1430. ; a more efficient layout for servers that handle many sessions.* x; N0 M* @6 `' I  D8 V1 L
  1431. ;
    1 S2 D; Q8 W4 g
  1432. ; NOTE 1: PHP will not create this directory structure automatically.1 J/ {" T4 m7 R: e: n! \
  1433. ;         You can use the script in the ext/session dir for that purpose.* Q8 L1 c" l' [) o  F& v- R  f
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    5 Y' c6 B1 L/ |( G' s; ?/ v: y
  1435. ;         use subdirectories for session storage
    & k: T6 A9 k# i1 H; T
  1436. ;# h: G7 Y  j" ~4 V* Z
  1437. ; The file storage module creates files using mode 600 by default.
    . Q* f# r& m6 u" Z9 i
  1438. ; You can change that by using5 \: H  l$ H& H4 _" q7 b: k2 c
  1439. ;
    " r8 d/ Q- M8 Q7 i! ^/ R
  1440. ;     session.save_path = "N;MODE;/path". d' K- w* M( {9 f/ O" M) y/ U
  1441. ;3 Q: v. a# K: x& l' F
  1442. ; where MODE is the octal representation of the mode. Note that this' e" p2 S) r: z
  1443. ; does not overwrite the process's umask.
    1 ?. f* |' ?+ ?% S
  1444. ; http://php.net/session.save-path
    5 ]8 \/ `. X- m6 c) e  }
  1445. ;session.save_path = "/tmp": K# U7 X9 t5 r

  1446. 7 a: W8 m3 K0 o
  1447. ; Whether to use strict session mode.6 X8 c- T' f5 F  U' @# ]
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      B: f6 s) ]9 ?9 n; p/ G2 f5 E
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  r( F6 Q) z2 z  X8 [
  1450. ; applications from session fixation via session adoption vulnerability. It is
    % s4 E. C3 T+ ^. n% q/ G, K
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 y! L  A0 K4 [; M- C5 c
  1452. ; https://wiki.php.net/rfc/strict_sessions
    . S- w, k: ~* q
  1453. session.use_strict_mode = 0
    ( j2 c3 Q! g; N. h

  1454. 3 @. a7 b8 Y! m+ N* k% p; G+ o
  1455. ; Whether to use cookies.
    ' v( N( v7 F$ D
  1456. ; http://php.net/session.use-cookies6 t; R* d: X6 K! y6 H
  1457. session.use_cookies = 18 r2 _& e! ^3 O
  1458. 7 {: L. w: V, F" d
  1459. ; http://php.net/session.cookie-secure( Y' w) Z# `' Z2 ~9 x3 H
  1460. ;session.cookie_secure =
    5 A5 m1 S1 _' K" u! E# V

  1461. * G  t1 g7 Z* e' o) }, y
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : R' M% H) ?+ D
  1463. ; the session id. We encourage this operation as it's very helpful in combating: k* I3 q$ ~" t( \9 |& P$ @8 o
  1464. ; session hijacking when not specifying and managing your own session id. It is" g3 ]* V. K! `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start." s  h# r: O- D) a: t
  1466. ; http://php.net/session.use-only-cookies
    : f% r3 n( X& ^, `4 j
  1467. session.use_only_cookies = 1
    / a1 G9 a* D( y3 ]. r2 E
  1468. 5 K. Y$ k7 A4 @6 a
  1469. ; Name of the session (used as cookie name).3 g. z' R; Z6 D1 }* K& V# v
  1470. ; http://php.net/session.name! {2 W# X# p' Y. @3 W
  1471. session.name = PHPSESSID
    8 j6 O7 Q! W; O9 c) o  N/ e  a

  1472. ' V1 Q& k4 M# L0 A
  1473. ; Initialize session on request startup.1 E" K/ j' v) n# E8 ]' F5 ~9 [# ]" E
  1474. ; http://php.net/session.auto-start) {( v. f+ M- c, [9 g3 \
  1475. session.auto_start = 0- E; @7 u! T% e) J8 d
  1476. ; O, `! q! L2 x( b! s
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.) ^. e) X3 C/ R6 u
  1478. ; http://php.net/session.cookie-lifetime
    ( l2 V" z9 }  |; U
  1479. session.cookie_lifetime = 04 g- e5 w0 W. s; ]; L

  1480. - [# [, V; t; n$ M
  1481. ; The path for which the cookie is valid.
    $ i% ~8 q; i: n, g  ?
  1482. ; http://php.net/session.cookie-path6 h% v2 U8 O& O
  1483. session.cookie_path = /
    8 x7 X& r. \$ F( f! ?2 u

  1484. / |* q% M/ [- q* ~
  1485. ; The domain for which the cookie is valid.
    9 p9 H# ^) G: S
  1486. ; http://php.net/session.cookie-domain
    - T$ S/ j7 p' U  o
  1487. session.cookie_domain =
    + P2 ^7 B) Q5 }( h4 u2 T$ Y: f

  1488. ) `% R7 w7 ]) y9 Z" g  Z
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 l3 v( S) w( k4 r6 e, ~/ D
  1490. ; http://php.net/session.cookie-httponly
    ) Q7 n! i0 F& T: C% n
  1491. session.cookie_httponly =- g- y% k/ C# y' s2 b0 K8 ]  |
  1492. ' O* T; e8 y2 ]' U3 f! ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . B; b0 s$ S) v. N
  1494. ; http://php.net/session.serialize-handler
    7 V/ b6 W0 D$ ?6 |5 I6 r" g
  1495. session.serialize_handler = php2 b/ X: ]/ V3 J7 ~6 {

  1496. % L; G3 I8 u3 P1 s3 ^
  1497. ; Defines the probability that the 'garbage collection' process is started1 I# }; k2 H4 u+ S2 a7 c2 ~
  1498. ; on every session initialization. The probability is calculated by using
    ( o$ q7 n  H9 N
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' K5 u' N8 s, ~: b1 u, |. n
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ R3 @* q, F8 T) {1 u2 j; D
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 k" L$ S% X- s+ \) ?5 E/ G1 P
  1502. ; the gc will run on any give request.8 `+ M1 ~# Y' L
  1503. ; Default Value: 13 ?) M- T7 Y. i# ^
  1504. ; Development Value: 1
    $ R7 N# L' ?8 P# C+ i
  1505. ; Production Value: 1+ k' c( s0 }1 ~4 [* b
  1506. ; http://php.net/session.gc-probability$ R/ Y' Z8 {9 P- m0 f. k
  1507. session.gc_probability = 1# `+ I& C! F+ T+ \  s1 q% y+ g+ T

  1508. 4 v4 A3 N" h" ]
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    " _" _6 n- t0 v) `" F! U
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ i6 m/ x# x% a2 o" G6 ?- {( d  Y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and( a( L8 Q5 G9 A6 L+ d# M+ T. ^
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    4 f& g4 T6 u) L5 g( K9 H) c
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& B) `* f3 u9 ^) a7 K; B
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ! X% S, L6 Q% X
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * Q( U* t9 s6 b/ Z: y, G
  1516. ; this is a more efficient approach.- y! M; j1 |* m$ H0 b. }
  1517. ; Default Value: 100
    * B6 ~! b$ [5 H% b5 E$ _) Y* `$ ]4 T
  1518. ; Development Value: 10007 g/ s# ~5 }& N' ]8 I! ^
  1519. ; Production Value: 1000
    5 M1 L+ M( B' h# K
  1520. ; http://php.net/session.gc-divisor. ~9 X- B+ u8 q' F7 Z
  1521. session.gc_divisor = 1000
    5 A8 f6 a, V/ m4 l4 @

  1522. 5 I. ~' G6 t7 e* e) `( w: a' n
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    - ~: V. e/ l) z/ y% ^4 u& t
  1524. ; cleaned up by the garbage collection process.
    5 {( U! i$ p) _0 X0 f4 E) s& J
  1525. ; http://php.net/session.gc-maxlifetime/ b& [) `& k* o: a
  1526. session.gc_maxlifetime = 1440$ `# f7 V% K: u4 I2 ?. W; U
  1527. : e" i# _3 x' x' u, c# b: _, _
  1528. ; NOTE: If you are using the subdirectory option for storing session files; x# S( S8 H" {
  1529. ;       (see session.save_path above), then garbage collection does *not*8 D5 C  ?7 }; u9 s- w; d) t
  1530. ;       happen automatically.  You will need to do your own garbage" t8 V0 H4 {; f6 T6 p* E' ~% ?  \
  1531. ;       collection through a shell script, cron entry, or some other method.. ]# {! I5 E( W5 Q9 f$ H
  1532. ;       For example, the following script would is the equivalent of
    ) v" H) K& q; F; ], F  y
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):8 F" K& ~6 t- V
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      a4 w, F, [9 j! b
  1535. ) k/ Y6 x& |5 ~+ I- E, O0 ~
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ( C, X, P; C2 m
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    9 h! [6 F5 E! \) h+ P9 I
  1538. ; considered as valid.
    . z9 K  ]: j! J0 }: X0 a
  1539. ; http://php.net/session.referer-check/ A3 `) \1 t- a& G% Z
  1540. session.referer_check =
    & Y: u: T8 V0 t
  1541. , z! h& h! A6 n8 K- {5 v6 _' M2 I
  1542. ; How many bytes to read from the file.
    " m- v% o, x/ l: Z$ m) m" |1 M
  1543. ; http://php.net/session.entropy-length
    ! P! q1 ]( E, _$ J; q
  1544. ;session.entropy_length = 32! q& Q% r: g' e3 u7 |+ D: l/ i
  1545. % X9 s, j/ Y% d
  1546. ; Specified here to create the session id.
    ( a) F# b% W2 x6 W+ d
  1547. ; http://php.net/session.entropy-file' }0 u; n- s" X; a5 G7 \# u5 O# U
  1548. ; Defaults to /dev/urandom' b- {5 N( i! L# I3 I& T
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; B+ V" `) V3 q) w  l; ?
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 k& D5 R1 Q7 F( a+ b$ [0 A
  1551. ; On windows, setting the entropy_length setting will activate the/ \" Y4 g  s7 K+ D5 O
  1552. ; Windows random source (using the CryptoAPI)
    ( X! \( `7 Y0 t% |1 \; C  I$ W2 a7 _
  1553. ;session.entropy_file = /dev/urandom2 _% ^, R0 ~1 v8 M" B2 j) ?
  1554. : i2 S) z( C' J/ Z9 a. i
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . U( O: V6 m% y
  1556. ; or leave this empty to avoid sending anti-caching headers.
    + J1 E7 V: O% m" X2 h) N- |
  1557. ; http://php.net/session.cache-limiter* g7 [# o3 b4 R: c' s3 w1 V
  1558. session.cache_limiter = nocache7 u# Z7 c4 x* r% s3 S8 p2 m# w

  1559. ( I3 m; W8 W/ j& l
  1560. ; Document expires after n minutes./ o0 s2 d  P" q: j& P  c
  1561. ; http://php.net/session.cache-expire
    $ B2 N: l+ A0 Q( e3 E9 t3 `
  1562. session.cache_expire = 1806 I- n$ b% R, v4 M

  1563. ( P8 W8 q7 i* b+ J) |4 [
  1564. ; trans sid support is disabled by default.  G! X/ a3 f- ?5 Q2 D6 b
  1565. ; Use of trans sid may risk your users' security.
    . d, v# @! y. d
  1566. ; Use this option with caution.
    1 n8 N2 N! h' m4 W; o6 @3 x" |" q
  1567. ; - User may send URL contains active session ID
    # g" Z* l$ N6 P( w9 W5 D
  1568. ;   to other person via. email/irc/etc.7 p# u2 n/ ]1 s8 a4 O
  1569. ; - URL that contains active session ID may be stored
    3 Y0 M1 u0 }1 [- s: W
  1570. ;   in publicly accessible computer.
    , s2 T6 T0 G" E+ P% R% Z9 N/ @
  1571. ; - User may access your site with the same session ID
    & H& l! X* z3 {6 e% {
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 S3 ~8 Z! ~' H2 g1 o2 y$ l
  1573. ; http://php.net/session.use-trans-sid
    1 w. a3 j% x2 h$ z/ i* L
  1574. session.use_trans_sid = 0' h! ~. G; r, O2 |; X9 ^; ]) O
  1575. $ W* ^2 O3 K1 }& }4 }
  1576. ; Select a hash function for use in generating session ids.9 N! G4 {9 n) d/ g0 v
  1577. ; Possible Values
    2 N; @9 Z. e: {0 v+ Z9 o
  1578. ;   0  (MD5 128 bits)+ b* d' b. F6 @/ |
  1579. ;   1  (SHA-1 160 bits)
    % Q  \! g8 ^) e! L& x5 V- G+ |1 s& ]
  1580. ; This option may also be set to the name of any hash function supported by
    1 d, c$ \- @- D& W
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): w2 s! m+ b- d; }+ s
  1582. ; function.
    # j  U% r4 @8 G8 N! E& H
  1583. ; http://php.net/session.hash-function
    # A2 R# x: \- r1 [8 ?
  1584. session.hash_function = 00 h8 M& v! A8 ]4 \) X: b5 j
  1585. : ^7 J& ?6 [# ]: q6 T( x/ \! K
  1586. ; Define how many bits are stored in each character when converting
    7 Q6 `9 ^: E& L" D: C' I
  1587. ; the binary hash data to something readable.
    3 q' n% [6 u$ X" s
  1588. ; Possible values:
    2 Z/ e. ]  m1 H8 N& n% x
  1589. ;   4  (4 bits: 0-9, a-f)
      ^  b( j$ [+ {' s
  1590. ;   5  (5 bits: 0-9, a-v)
    9 Y" ?5 n: S7 b' {; n* }. w
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    - T& ]  a7 ^+ S9 k% Y
  1592. ; Default Value: 4
    , l3 Y2 v' @- F  A
  1593. ; Development Value: 52 B: P$ y3 H% X9 s& C
  1594. ; Production Value: 5* Q$ f3 H% A( I' b
  1595. ; http://php.net/session.hash-bits-per-character& s9 E0 w; t: P) e
  1596. session.hash_bits_per_character = 5+ e2 h4 d* O- Q7 g2 T
  1597.   _% K  S# ]* }. Z( r
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.( J3 O! T, W. P! M: e# {1 a- ^* l
  1599. ; form/fieldset are special; if you include them here, the rewriter will
      ~& k! `7 O/ S/ T
  1600. ; add a hidden <input> field with the info which is otherwise appended- ?* r9 @: F1 m$ Z+ c' }. E
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. F+ l# N& {% y/ E- F
  1602. ; Note that all valid entries require a "=", even if no value follows., E% h$ C5 M3 e
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' C7 S: i! j1 S% r
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 c# F  |9 C9 \0 \, f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 j, Y( j& ?" I
  1606. ; http://php.net/url-rewriter.tags
    $ X$ n/ ], n5 Y2 k
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* k8 F2 s! B1 y/ L  R0 Q

  1608. . I% o0 ]6 Q1 f* e; t0 x
  1609. ; Enable upload progress tracking in $_SESSION
    4 y8 u  F! k% [. g
  1610. ; Default Value: On* A. M6 ?: H0 Y0 f
  1611. ; Development Value: On3 ?: P4 `9 V. a% g( u
  1612. ; Production Value: On2 D4 U# b. l3 k7 q! o
  1613. ; http://php.net/session.upload-progress.enabled* _: U( ~2 ^" r9 h2 M& Q9 h
  1614. ;session.upload_progress.enabled = On( l1 H! n$ h: T4 Y/ B
  1615. # g0 p! U* S+ u2 w
  1616. ; Cleanup the progress information as soon as all POST data has been read
    , }% q4 |7 z: J6 R
  1617. ; (i.e. upload completed).
    0 q6 Y' I- U! {  |4 j) {; A1 U
  1618. ; Default Value: On7 T3 E0 x; f2 h* M1 b. N9 \
  1619. ; Development Value: On" q% _( s6 x$ E, y0 M+ F; U! C4 W
  1620. ; Production Value: On% l0 c  ~3 q* h
  1621. ; http://php.net/session.upload-progress.cleanup
    ) |# n7 N/ }6 N6 @
  1622. ;session.upload_progress.cleanup = On0 k% d# F( V! k  X" v* L
  1623. . Z) e) O3 x1 M: S5 g/ r$ Z1 v2 y
  1624. ; A prefix used for the upload progress key in $_SESSION
    # J0 O  K' z; a
  1625. ; Default Value: "upload_progress_"8 n* B3 @6 I" r+ n; O
  1626. ; Development Value: "upload_progress_": ]; y  S; S/ U& e; r
  1627. ; Production Value: "upload_progress_"0 S& \) [: m* c' F# P* S
  1628. ; http://php.net/session.upload-progress.prefix
    8 j2 v6 u+ W5 g2 X
  1629. ;session.upload_progress.prefix = "upload_progress_"
    7 O) C8 j5 z. q+ a: s6 m

  1630. 3 P6 Q0 c( v* B3 C5 l, M+ k
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    . \$ g9 J; J2 L$ i3 T5 g
  1632. ; containing the upload progress information
    # S( O& _3 g3 _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; P; O, {# ^; g. @
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * A; w2 |8 R+ V* z7 `: g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"! E% J/ t) a3 ^) E( [
  1636. ; http://php.net/session.upload-progress.name
    * e; L9 b' Q/ O! k
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* v: q% q" p# @& {! u

  1638. : B" t8 D( J  y' Q( B! d5 Y" l
  1639. ; How frequently the upload progress should be updated.
    ! T& V* u/ O6 i* v$ L* m& u: ~
  1640. ; Given either in percentages (per-file), or in bytes
    0 O6 F* c( P* h5 v& O0 g
  1641. ; Default Value: "1%"
    $ U. d8 K" f( ^  v$ u, I/ M9 U
  1642. ; Development Value: "1%", }1 u) ?# q* i. ~
  1643. ; Production Value: "1%"
    / Q, N; n1 u' T/ B1 `  C4 {1 r! ]* p
  1644. ; http://php.net/session.upload-progress.freq
    / O' L2 i9 q" g; Q: g+ h
  1645. ;session.upload_progress.freq =  "1%"
    ( a5 S( |  \1 A# }! v0 Q6 |* F

  1646. " a! A6 m! [9 b" x6 D* m8 ]- C8 _" Z
  1647. ; The minimum delay between updates, in seconds' h* x$ k( ?! i& w* d
  1648. ; Default Value: 1
    ' P6 E9 G  w. k% E5 s& a! E
  1649. ; Development Value: 12 ^/ @1 X  V$ M
  1650. ; Production Value: 11 L, A1 t7 r) `
  1651. ; http://php.net/session.upload-progress.min-freq: K' P( N# U$ J/ x( e, x+ P5 m
  1652. ;session.upload_progress.min_freq = "1"
    : m% S( o5 n" Y. G! U, S/ j

  1653. $ k) W8 Q' G* e
  1654. [MSSQL]- R- T' V  \: R: p) }
  1655. ; Allow or prevent persistent links.; s$ A- i! c# a2 u: e
  1656. mssql.allow_persistent = On
    # y% K: g& A6 J2 H( r) W

  1657. / e# l2 X# ]3 r) H' E" o
  1658. ; Maximum number of persistent links.  -1 means no limit.! A5 y& }% M+ g$ A$ V
  1659. mssql.max_persistent = -1
    % ^# k& x" m6 l8 @7 `% e
  1660. % Y" r( C& ]9 `, c7 e3 h' d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " [% p, Z2 `2 Q$ o8 g) C
  1662. mssql.max_links = -1
      e8 {9 p. Z7 Q8 U9 W: l9 i
  1663. ) |/ _7 O# C" w
  1664. ; Minimum error severity to display.7 n: A- I' t& H
  1665. mssql.min_error_severity = 10, V% d9 K' p( x6 x2 o
  1666. 6 [, e  ]+ A- O2 i4 A* m: q8 D
  1667. ; Minimum message severity to display.
    0 z$ A; C0 I  j4 x& x; I3 G* a
  1668. mssql.min_message_severity = 10, \$ y' o9 }/ n& Q. \0 x* V, Q3 E" S! y

  1669. , `- Y- i8 J/ r7 @4 v; p
  1670. ; Compatibility mode with old versions of PHP 3.0.
    6 p5 x: b& S6 f* M2 b/ I
  1671. mssql.compatibility_mode = Off
    ; v6 U  O- Q: a, _- Q, _
  1672. . }4 o3 n' K0 X9 v
  1673. ; Connect timeout7 o8 n. }# Z( {( G: A* ^
  1674. ;mssql.connect_timeout = 5
    4 Y9 @/ w! f6 o1 J3 y6 e
  1675. 4 T7 x  Q4 n2 i0 X6 y% c
  1676. ; Query timeout
    " l0 ], C6 t  X
  1677. ;mssql.timeout = 60
    # S8 L) j, a1 v4 D) m0 \
  1678. 7 t: k2 R  Q1 O/ f9 S( s
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    1 S% h7 X. g2 M4 a6 X
  1680. ;mssql.textlimit = 40965 L0 Q! ]+ ^5 K6 c

  1681. % ?/ c) ~$ G. c
  1682. ; Valid range 0 - 2147483647.  Default = 4096.& {9 L! Q$ l3 i0 R
  1683. ;mssql.textsize = 4096
    $ g  K3 J; \5 L& c

  1684. ! h* |% M3 Q8 w6 r# b) n# L
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.3 V4 T& ?$ o+ w: I8 U
  1686. ;mssql.batchsize = 0
    ' g$ K$ ^3 M8 q
  1687. 4 O# X! H3 A  ?  k" Z
  1688. ; Specify how datetime and datetim4 columns are returned* H5 @9 P% t) F6 S% ~6 h5 f
  1689. ; On => Returns data converted to SQL server settings
    0 i2 h5 [, M( n! Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss7 f  p4 c1 X) ~1 A/ y2 n: E
  1691. ;mssql.datetimeconvert = On
    & Z( c5 z% d4 a' ]
  1692.   O3 q2 e0 j5 q" H8 k6 k; H
  1693. ; Use NT authentication when connecting to the server
    ! _# U6 E9 X8 R* E/ {+ W4 B
  1694. mssql.secure_connection = Off9 N$ P5 C2 O, |" j- L/ ?

  1695. 8 \% c; n4 t! d( o8 V3 E
  1696. ; Specify max number of processes. -1 = library default1 b8 h/ k* Z8 w+ K# ]
  1697. ; msdlib defaults to 25
    % {5 ?( @& {' l* W# J) r* x- Z- p" o
  1698. ; FreeTDS defaults to 4096/ R, U% _: i1 ~8 l+ E8 ?! i  D
  1699. ;mssql.max_procs = -1
    7 e% O" `7 Y" N7 e5 P" `: r8 A% d

  1700. 0 C3 u7 i. m4 e8 a* \
  1701. ; Specify client character set.
    8 M% V" M9 q9 s, o6 E0 h; X
  1702. ; If empty or not set the client charset from freetds.conf is used: R7 `& r$ Q4 E; n1 D2 M5 _0 a
  1703. ; This is only used when compiled with FreeTDS" |2 G) D3 v' E' v& ?% Z/ J
  1704. ;mssql.charset = "ISO-8859-1"
    $ o7 @# Z7 |: Y7 G6 T
  1705. % s7 ~8 }6 }8 t% A9 C
  1706. [Assertion]
    ! T- j4 ]2 L2 a0 }0 q- }3 R
  1707. ; Assert(expr); active by default.
    2 \/ ]) l. p% w2 ^
  1708. ; http://php.net/assert.active& k" O0 x5 n9 ^$ L
  1709. ;assert.active = On, D  J2 x: K2 d

  1710. 6 w! e1 C9 N6 u2 o
  1711. ; Issue a PHP warning for each failed assertion.; r. ^$ a5 o6 Y9 _3 {  q( @
  1712. ; http://php.net/assert.warning8 R  x3 L( q5 {- F3 j. j
  1713. ;assert.warning = On* L: O$ x+ w" G
  1714. 8 A$ w) n4 p# y' h' _) U9 J
  1715. ; Don't bail out by default.' I. W5 j6 {; k! w4 E: C( A
  1716. ; http://php.net/assert.bail
    ) ~% R, J$ x& n1 s
  1717. ;assert.bail = Off
    4 _# F- u" X8 U( F9 U0 s: ?
  1718. 8 r7 K, D. X% C
  1719. ; User-function to be called if an assertion fails.' S. O; @& v3 E
  1720. ; http://php.net/assert.callback$ Y' o0 y7 P- E
  1721. ;assert.callback = 0
    * e" \4 k/ f$ z
  1722. # N7 p& v: O/ `2 M
  1723. ; Eval the expression with current error_reporting().  Set to true if you want) W% G5 p1 c% Y- M( g
  1724. ; error_reporting(0) around the eval().0 o& S4 i* H  y1 X$ g/ U5 T
  1725. ; http://php.net/assert.quiet-eval
    % d1 N9 e: N% c1 Y
  1726. ;assert.quiet_eval = 0
    5 m4 {3 C+ K2 R& ^4 c
  1727. : m; E" i  R3 |: @* k+ y, y
  1728. [COM]
    ! q1 n; G( m  ^9 f, g6 j* ~4 G, e- F
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * d& w% I2 x6 O  J8 e' X2 P
  1730. ; http://php.net/com.typelib-file, p8 _# g1 _  l, k
  1731. ;com.typelib_file =
    0 i' j" |$ P1 J0 l: ^& p4 S

  1732. 9 O+ N1 Y" S5 V# _" [
  1733. ; allow Distributed-COM calls- V( v0 R# h- v: |
  1734. ; http://php.net/com.allow-dcom
    1 F4 B  r4 U$ I+ g% r
  1735. ;com.allow_dcom = true
    9 l! c) a/ w) O7 ]5 }0 M. U1 D

  1736. . P8 z2 E# d; ?  ]
  1737. ; autoregister constants of a components typlib on com_load()
    & j, z" Z& H$ }! Y; Z, y4 B
  1738. ; http://php.net/com.autoregister-typelib6 ~; a2 \( G  a+ K; N5 ^7 x6 z9 `$ F
  1739. ;com.autoregister_typelib = true
    9 c$ a* J* P" C: t0 D" F" B0 R5 X
  1740. ) c! k. Z9 l& c; R& k
  1741. ; register constants casesensitive
    2 Z! O% A9 W& ~+ `( S7 ]! k/ w) I
  1742. ; http://php.net/com.autoregister-casesensitive
    6 w. J% M- o. I6 {/ ^  ?
  1743. ;com.autoregister_casesensitive = false
      X. `% L* U7 l/ k( b- }
  1744. ; b# N* C/ S% E- M, X
  1745. ; show warnings on duplicate constant registrations) C0 c1 w/ V, q& o( |, B6 j( C
  1746. ; http://php.net/com.autoregister-verbose$ v- S8 f. M* c5 ]5 ]! |' _! w
  1747. ;com.autoregister_verbose = true
    * @: T3 Q  Z$ N- [1 a

  1748. & S& Q. X9 z( V: o' x) k* ?
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    0 M3 ]. j$ N0 Y& m$ Z
  1750. ; Default: system ANSI code page9 d5 f+ e2 o' s# G
  1751. ;com.code_page=( W* w# }4 S' C+ \4 ?% ^

  1752. $ ]* n0 I9 o4 n) W6 g! I
  1753. [mbstring]
    4 T7 _1 B" M0 ]  e6 I. S5 m# l
  1754. ; language for internal character representation." A+ k9 P: u3 `/ o, `3 A8 B+ Q: S1 U9 k
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    + q- l1 d! `( B
  1756. ; http://php.net/mbstring.language  z% P0 u8 z4 ^) @1 s
  1757. ;mbstring.language = Japanese
    3 f- F$ {9 B' ^- G1 I( T8 n

  1758. 1 P. l' T2 Y5 z$ n+ ]9 |
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( M0 |; B, b: \7 [. A9 j  r
  1760. ; internal/script encoding.
    ( q" H! Q# A: o) n2 A
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    4 z& ]1 S$ M' _0 ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." M" `8 [3 Q9 {, i# I
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; ]6 |! X4 Z% b0 y9 _1 k
  1764. ;mbstring.internal_encoding =
    3 ~& v) x& e9 Z+ T( w" Z( L# @
  1765. 0 y  R/ A# t1 B! \+ F& T
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead./ s- A0 ^1 g  F* N5 R. n$ f, X
  1767. ; http input encoding.
    1 F2 [, m( `% \0 d. r) f, T2 Z
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 t& j! |9 |0 y0 G* a) Z% X
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * ?" W0 }, |. ?5 ?
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    8 b" ^' X9 a2 W# N' H! _) r  ]
  1771. ; http://php.net/mbstring.http-input' Z8 C3 T3 b/ @5 }4 g( S7 |
  1772. ;mbstring.http_input =
    ( X/ C6 B+ k  R6 Y% Q
  1773. 4 _: u; f6 ~% q4 I- D) W
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ' o- R4 a9 q6 |+ ]. x0 k$ P
  1775. ; http output encoding.
    : s* k$ h9 u# L1 Z3 B2 Q7 @
  1776. ; mb_output_handler must be registered as output buffer to function.
    5 ^, u( a1 v* X4 ^$ `( e* K7 M+ J9 t- q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 c0 t5 W, p+ B' m6 W# T. @
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output. `  y! h  I" `: g0 N0 j8 h: d) S4 K
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 c% B  I7 H9 N" g# Q" d
  1780. ; otherwise output encoding conversion cannot be performed.
    . s* R" w/ ~3 D) _" f
  1781. ; http://php.net/mbstring.http-output; b5 N; K" k. _7 X* x
  1782. ;mbstring.http_output =4 T' |0 T5 d4 A
  1783. 4 e% B* ^# f$ U0 v# d
  1784. ; enable automatic encoding translation according to
    5 T2 t  [0 a3 W" `% A  g: Y0 O
  1785. ; mbstring.internal_encoding setting. Input chars are
    ; I4 Q: |: b4 _0 ^$ I6 y$ }
  1786. ; converted to internal encoding by setting this to On.
    8 ?  j( B* @1 l
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 A+ Q% l  F" Y# f3 v2 q0 S
  1788. ;       portable libs/applications.
    . Y4 R3 v! u# ^5 [7 z' \. r! ^! H
  1789. ; http://php.net/mbstring.encoding-translation
    0 l1 Y6 [0 Z' s7 f6 W
  1790. ;mbstring.encoding_translation = Off
    / a# `( I4 s- v
  1791. # h3 X- L- E, i
  1792. ; automatic encoding detection order.  L0 G# E% w5 e0 |' @1 _3 r8 z
  1793. ; "auto" detect order is changed according to mbstring.language, D3 Z- t0 J& ]4 Z2 S
  1794. ; http://php.net/mbstring.detect-order
    # c: J  J6 n, U, i' o$ x! p0 ]9 M
  1795. ;mbstring.detect_order = auto
    8 q+ j* }5 k3 h

  1796. " v2 _" {3 n# ~$ j* O+ V; @+ d; S
  1797. ; substitute_character used when character cannot be converted
    * K, ~2 |% ~! o- f" `, H
  1798. ; one from another
    ! U2 a' a7 J- v: [* q
  1799. ; http://php.net/mbstring.substitute-character
    0 b0 W; w0 _* m$ [$ X8 [
  1800. ;mbstring.substitute_character = none) i/ U0 \9 P% F# _. w( s9 h
  1801. ' S% }. B8 @  G& s7 l3 R
  1802. ; overload(replace) single byte functions by mbstring functions.
    % X/ P+ ?/ w+ u8 V0 o
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 \- f* w, b6 C  w, Y$ \! ~) o4 J
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 [/ H; J- r) X" I& G, j
  1805. ; For example, 7 for overload everything.
    9 o. _2 m  b. s+ C9 d) {
  1806. ; 0: No overload5 I! y3 d7 M. M
  1807. ; 1: Overload mail() function! h  }5 o& n: p* Y$ d
  1808. ; 2: Overload str*() functions
    2 q( B2 e9 Q& o
  1809. ; 4: Overload ereg*() functions* N2 i1 K7 b" V5 Y
  1810. ; http://php.net/mbstring.func-overload: [2 y0 g% J+ T1 G* N4 G
  1811. ;mbstring.func_overload = 01 z* }  ~7 h0 F: S2 p6 I

  1812. 2 l& v& ^: P0 ^* j& G
  1813. ; enable strict encoding detection.
    ; E2 C. n* q4 J# U
  1814. ; Default: Off
    6 p6 t, v/ S' C( z
  1815. ;mbstring.strict_detection = On, Y! F9 h( [( F" z3 ]. ?7 ^& A% \

  1816. ( z% p: D1 w/ J* o+ `( `' m
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    * T8 y, l( V- r2 l8 d
  1818. ; is activated.: e* d/ T1 y  D8 ~* a
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " M2 F! K) x$ k( N3 _
  1820. ;mbstring.http_output_conv_mimetype=
    7 L9 L8 l" L; y, ~! J
  1821. & n! `4 S% p1 ~
  1822. [gd]
    , R, n; v0 {9 `) z( B5 P& C
  1823. ; Tell the jpeg decode to ignore warnings and try to create! z$ a, z0 h& C/ b. F) ]
  1824. ; a gd image. The warning will then be displayed as notices
    ( o( w* i& Y) l% j
  1825. ; disabled by default; |! @; y& y6 m+ ]4 Q1 b8 b; b
  1826. ; http://php.net/gd.jpeg-ignore-warning2 u' `" B1 x* K0 x/ W0 B
  1827. ;gd.jpeg_ignore_warning = 0
    . p6 u+ N" a2 ]

  1828. ! d( |6 f; |8 O' o7 y& X8 x8 Q
  1829. [exif]" u$ \* P* J9 Y' x
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 u+ H% }# \% ~" U# e
  1831. ; With mbstring support this will automatically be converted into the encoding
    1 a8 F; q( N' J$ m% Y6 s, C
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 P$ d1 {4 ?  u' }( k" x& i+ t
  1833. ; is used. For the decode settings you can distinguish between motorola and
    . ^. z$ J8 D: g( y0 r; E! I" x
  1834. ; intel byte order. A decode setting cannot be empty.
    0 [% i/ U% S; M, H+ q0 c  I/ n0 _; _
  1835. ; http://php.net/exif.encode-unicode
    : @3 i+ Z) q  }
  1836. ;exif.encode_unicode = ISO-8859-15
    ' E  j3 B( V: ~
  1837. ( u$ @$ C: _( j7 C5 {+ A# S
  1838. ; http://php.net/exif.decode-unicode-motorola- o. \* Y( M* k0 X8 b+ g, T
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    + ]" {0 l; s$ J9 k4 i8 S3 v5 D

  1840. 0 @% v& Q& P5 x
  1841. ; http://php.net/exif.decode-unicode-intel
    / x+ p3 p# s$ K' g
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    + x9 p( T! M, I+ q

  1843. , ~4 f" l! x2 A6 X1 @
  1844. ; http://php.net/exif.encode-jis! `* U8 D, z0 z  ~3 \0 ~5 M
  1845. ;exif.encode_jis =; V- a- W$ o$ Z- C2 @

  1846. % G( t" `+ m$ `, R" F
  1847. ; http://php.net/exif.decode-jis-motorola
    % d$ a, _: Z5 v7 w( m
  1848. ;exif.decode_jis_motorola = JIS; P2 R  `% N: }  }

  1849. & R+ E) z3 t9 n
  1850. ; http://php.net/exif.decode-jis-intel" o( @% @( H  k% A
  1851. ;exif.decode_jis_intel    = JIS
    ( T$ ]8 k9 A- A4 u' r1 T# G

  1852. 7 c& T# N, z6 w% ~0 v) Y
  1853. [Tidy]# o( j4 ~: z( {1 a% b- q( i( ~
  1854. ; The path to a default tidy configuration file to use when using tidy
    . g; X! b' Z4 X: O6 K& ]
  1855. ; http://php.net/tidy.default-config/ Q4 P4 C: T* w/ K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ! [- H* M5 ^- |1 ]+ }$ s. R

  1857. ' h  ]6 A: G8 R7 N
  1858. ; Should tidy clean and repair output automatically?3 M4 i% ~2 {' }+ Q4 X: z! J
  1859. ; WARNING: Do not use this option if you are generating non-html content
    5 z, b) R, |3 F& r" V# |
  1860. ; such as dynamic images
    0 V  A0 N# ]3 p
  1861. ; http://php.net/tidy.clean-output' H1 ^. [* A& n. A3 W
  1862. tidy.clean_output = Off
    ! U; C- h$ b6 r$ i

  1863. 2 J0 O  [% O/ V! a  Y
  1864. [soap]
    - Y& t& ^! y$ N, M3 Q, i5 I  E
  1865. ; Enables or disables WSDL caching feature.  ]/ [* g% v6 i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    : z+ T, o3 {; K. V" n( o
  1867. soap.wsdl_cache_enabled=19 [. a. w$ ]% a2 K( v

  1868. . S; P/ s0 k. w8 f1 J& {
  1869. ; Sets the directory name where SOAP extension will put cache files.
    / r; m+ ?' S7 }$ R5 p2 p$ @: K
  1870. ; http://php.net/soap.wsdl-cache-dir
    0 |4 x* ~- D( N8 F: V. H
  1871. soap.wsdl_cache_dir="/tmp"
    + `- E0 v# J# M7 e% X* O5 d
  1872. 8 }! D9 l( b8 m- E2 A3 u# a% g' H
  1873. ; (time to live) Sets the number of second while cached file will be used9 R- a- V9 y! r
  1874. ; instead of original one.( n$ u1 j6 H9 M
  1875. ; http://php.net/soap.wsdl-cache-ttl
    9 i5 B& Z( b$ B; i, p* _3 `( J
  1876. soap.wsdl_cache_ttl=86400$ U: _) X3 [2 Z9 N

  1877. % T0 ]7 R( p3 h4 J# {
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). B$ c: d) F$ i4 |
  1879. soap.wsdl_cache_limit = 5
    % l# m  t! a5 B

  1880. & ]2 @9 t! @: \% S2 i
  1881. [sysvshm]
    + A$ t4 l! T: r  }, ~4 R8 z% P
  1882. ; A default size of the shared memory segment8 {4 M1 Q% D0 D/ }2 D/ V1 T. R; \
  1883. ;sysvshm.init_mem = 10000
    7 I" R' H- l8 |- t( h" O3 |8 u( o

  1884. # [, O7 S; N! {" e; D
  1885. [ldap]! t8 s& [* v) ], V! X) l+ D" a4 I
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ; B7 N' t( A' n0 h
  1887. ldap.max_links = -1
    - I; w/ t( h* a% E0 w* J( O
  1888. 8 J4 C+ M+ }- k+ ?! l
  1889. [mcrypt]
    . E7 d5 S; G2 u: _7 O
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 G8 e. t5 t& f6 D: d2 Q8 a7 S
  1891. + q: H+ ^0 V* ]- E
  1892. ; Directory where to load mcrypt algorithms
    ; V- G" a2 S+ o& q' Q2 N/ ]# J; a
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ G4 w  [1 e. U7 s
  1894. ;mcrypt.algorithms_dir=
    7 j, E4 x+ q" Q6 i* {# [  T
  1895. % Q1 v7 X# ?' d3 M6 Z9 F
  1896. ; Directory where to load mcrypt modes1 X5 ]5 _8 z* k: a0 }, `0 y
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 w2 y# w5 u/ V+ \' z* v: l
  1898. ;mcrypt.modes_dir=
    ; Y2 Q! P$ \; c) ~! R- Q: P

  1899. ; P1 ]4 y% }! {
  1900. [dba]+ }' t' {' t% O- h
  1901. ;dba.default_handler=
    1 \5 l% O, r6 P: C) G) Q

  1902. 8 V: s8 M) p* i# d2 g. Z
  1903. [opcache]' C+ x* r0 |$ L1 z5 F: i
  1904. ; Determines if Zend OPCache is enabled. E, x* ]; s" C# r
  1905. ;opcache.enable=0' g0 O& x, Q0 _) `. e/ p& i" ]: u' J
  1906. ( O, c: d& m5 t0 d$ }
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP% Y- V, V4 V% @
  1908. ;opcache.enable_cli=0
    + L' _1 [# y3 t& q) _: B

  1909. 7 X' E( X: U7 y
  1910. ; The OPcache shared memory storage size.. S' X  f0 ^/ n" I8 f& D
  1911. ;opcache.memory_consumption=640 U' {% [9 s/ k1 U! |3 }6 R) B4 V

  1912. 8 i0 D/ K3 p! j  H' v8 a7 H: ^' c
  1913. ; The amount of memory for interned strings in Mbytes.2 P: O: I1 s- e8 N7 v) o
  1914. ;opcache.interned_strings_buffer=4, |8 \) m. q6 t* t$ s7 x  o
  1915. " E! D. U& U; P* c& J6 o
  1916. ; The maximum number of keys (scripts) in the OPcache hash table., d+ _0 T/ ?, ^9 Q
  1917. ; Only numbers between 200 and 100000 are allowed.3 G7 ^% K% s+ I
  1918. ;opcache.max_accelerated_files=20000 i8 A7 i4 N1 T& C. [3 u
  1919. : b( W/ T# V+ L
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    & I& k; O" o" L2 y; e4 i5 F
  1921. ;opcache.max_wasted_percentage=5
    7 A) r9 u$ u; {' \+ t

  1922. ( c' I, S/ r/ }; _0 \3 Q
  1923. ; When this directive is enabled, the OPcache appends the current working
    7 Z$ ^( r" h% q# R: @6 v2 b
  1924. ; directory to the script key, thus eliminating possible collisions between: J7 A& j8 U6 ?, D) w4 ]
  1925. ; files with the same name (basename). Disabling the directive improves- Z. n5 U$ k: `
  1926. ; performance, but may break existing applications., r8 v) d) C7 K# w' |5 z2 k
  1927. ;opcache.use_cwd=1. ~7 E; |! Z! O3 Y, b# b* `
  1928. 3 l5 x1 E9 C: X: |
  1929. ; When disabled, you must reset the OPcache manually or restart the1 K1 \# R5 I! g/ |
  1930. ; webserver for changes to the filesystem to take effect.
    + I# j, Y* k& x  K: s/ b
  1931. ;opcache.validate_timestamps=16 Z: f2 g; ~8 U& s

  1932. 9 [4 n  J! @' l, t* O# \. R! w4 J9 Z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    4 K. n- W5 d% `
  1934. ; memory storage allocation. ("1" means validate once per second, but only5 R! E0 P# q, D+ g* h# W" ^
  1935. ; once per request. "0" means always validate)0 T" ]) P8 A0 v: [
  1936. ;opcache.revalidate_freq=2% R+ I% c+ h  w+ G( X7 ~
  1937. 5 o6 \- o- Z, q2 j& W
  1938. ; Enables or disables file search in include_path optimization/ [9 }& n6 f" J3 t/ }" U& I1 }8 j  [9 y
  1939. ;opcache.revalidate_path=0
    ) z' |1 ~9 t+ U# j% n" R( a
  1940. & L. j- N" |4 T' U& l( i* l& f
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    3 C+ [" F3 Z5 r* P
  1942. ; size of the optimized code.  D1 k* S4 j/ S& \
  1943. ;opcache.save_comments=11 N, P/ ?: @$ Q/ l

  1944. * j3 E- H5 i7 W# N/ m
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"8 r$ t* L9 W/ b3 J7 l
  1946. ; may be always stored (save_comments=1), but not loaded by applications0 c1 z/ w/ L0 F! R. n& ?8 |2 J
  1947. ; that don't need them anyway.
    % i- E8 x6 f( `
  1948. ;opcache.load_comments=1/ [$ y  K! C% Z; r0 `
  1949. ! T4 [  a: E7 D& ]
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code0 Y  A7 O/ H: \( y( p- C7 _- |' i$ l
  1951. ;opcache.fast_shutdown=0
    8 a4 h3 y2 R: Y2 W

  1952. ; J: I7 ~$ A) @% \# ?5 S
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    2 }! U1 Z& q" p1 `2 [/ N0 O, G
  1954. ;opcache.enable_file_override=0
    8 W+ G5 D( L/ b+ [4 D

  1955. 4 Y7 i" V, m! N( B' K+ I2 x
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: s0 C; S; g. h* b7 l
  1957. ; passes) y! K& m1 X# X
  1958. ;opcache.optimization_level=0xffffffff
    4 C! I/ l) l  c: ^; K- @3 }  E

  1959. 5 \/ o+ J  J" f& t. [" H' j
  1960. ;opcache.inherited_hack=1
    & m2 Q, N8 ^; f4 n4 E- c
  1961. ;opcache.dups_fix=09 q3 e. ^' l( h! y

  1962. 9 O4 Q& ]5 X5 J: S
  1963. ; The location of the OPcache blacklist file (wildcards allowed).+ r3 _' Y+ _+ S; ?; V) j# ?+ y
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 a/ r/ U* X" V# y* W% K4 q8 ?
  1965. ; that should not be accelerated. The file format is to add each filename. T1 a8 }( W$ m" i( p8 [/ y8 n4 Q
  1966. ; to a new line. The filename may be a full path or just a file prefix; Y5 ~. ~; A; Q8 L8 s3 @5 O4 c* E
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; m8 A8 n+ C- J0 @' T
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).9 c7 r8 h; \+ e
  1969. ;opcache.blacklist_filename=6 A- w: C" d! k, C+ b4 O: m, ?

  1970. ; w  T8 v1 h1 v* S( ?- ~
  1971. ; Allows exclusion of large files from being cached. By default all files
    & A3 ~$ S. U" O, k% q
  1972. ; are cached.$ H/ o- @% R1 Q/ _) A& E9 N
  1973. ;opcache.max_file_size=06 e  l1 t) J% W* x- ?

  1974. ' R! _" a3 _: Y* F1 x7 x1 X
  1975. ; Check the cache checksum each N requests.
    : _1 C& V  l9 B+ k7 v8 s* E6 ^% h
  1976. ; The default value of "0" means that the checks are disabled.( S, u" [- h! G) \
  1977. ;opcache.consistency_checks=09 T: x7 p; Y( h2 @

  1978. 4 C$ T1 c. q( ^& T
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 r; I( [+ J) E' q; x6 s
  1980. ; is not being accessed.
    % y& {% @- e" l' ^0 m
  1981. ;opcache.force_restart_timeout=180
    # q2 ~1 K. n6 m5 t* a2 ]
  1982. 3 a* }' [& A4 a' Q( r1 R' C
  1983. ; OPcache error_log file name. Empty string assumes "stderr".' o  n8 u6 \% k& N: `3 U- Y
  1984. ;opcache.error_log=
    " n: L6 i! s  O7 Z% O9 A$ M# E# ^" D

  1985. 6 r5 e& P1 d3 p8 l- Q2 e
  1986. ; All OPcache errors go to the Web server log." i; v8 i  E7 a; |3 R8 E2 v6 x: K
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.; v8 T1 S8 E# h
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ! l, i) @0 \0 F6 x
  1989. ; debug messages (level 4).# D* [. l6 V/ E" v+ H
  1990. ;opcache.log_verbosity_level=1
    & m) _9 g" `  X) t( p2 j

  1991. - V2 ^  ?3 F6 g* m
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . j  B5 B! r9 v& C2 a! V
  1993. ;opcache.preferred_memory_model=
    4 J# a2 M+ S  W; @  k
  1994. , v* P( ~& r: F0 I' ]' @
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ' M1 p2 t' R0 d& M% b
  1996. ; Useful for internal debugging only.9 M" f( n7 w* i) \( I- y5 @7 a
  1997. ;opcache.protect_memory=0
    7 i. z( q& L( F3 C
  1998. ! V+ R* M* M1 n- F
  1999. ; Validate cached file permissions.0 O' B, R* t) x1 S% b7 g
  2000. ; opcache.validate_permission=0
    / r6 A3 e! q  n( {" v3 ]) O+ [
  2001. - k! k$ p" Z. ~. [8 v: @# P& k
  2002. ; Prevent name collisions in chroot'ed environment.
      X: p' \% l% E% a
  2003. ; opcache.validate_root=08 C5 j; V) V4 |, d3 Z1 O7 K

  2004. ) T6 X+ ]7 J& \; c+ d" {: Z) b
  2005. [curl]
    0 {3 |% s4 F( ]0 S2 u9 ?
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 K& U8 M/ m& v
  2007. ; absolute path." K4 B( x5 N- p  G( f
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt& I0 ]% g$ H4 q

  2009. ' _  ~" f1 j8 ?
  2010. [openssl]
    ) L7 H& G+ b% b. w% H
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' O# s: e4 E7 N; d
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . [# J* y; a+ j% P6 f* b+ ~
  2013. ; not specify a value for this directive as PHP will attempt to use the
    % [( L2 y" {5 X( [9 u* z
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ! F5 b* H2 f7 Y7 A, l; D1 T3 e
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / Q! T' Q" M7 G
  2016. ; option.
      A6 p7 _1 t2 n. o
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt- T$ B& `( x) @, ?' u

  2018. - @" \/ {9 ~  Z  g* l  \! M
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 n. J2 x% \$ u" \. S2 J* m. C
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ; W% G; E' c5 A- {* _. l! ^
  2021. ; certificate. This value must be a correctly hashed certificate directory.4 j1 ]5 P2 X* [. l- T
  2022. ; Most users should not specify a value for this directive as PHP will, @* v" O9 ^1 K- }
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,; v7 |3 l+ f# T: l5 x& O
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ; b4 ?$ a) F) ^9 I7 c( k3 P
  2025. ; SSL stream context option.
    # Z0 X' V, S1 j& a5 W
  2026. ;openssl.capath=) g4 T# d' ]" H

  2027. ( j3 \+ e1 x3 h0 z8 d- V
  2028. ; Local Variables:! I6 u9 m% j) R% G8 e
  2029. ; tab-width: 4" s3 a% \% L6 e) l4 p
  2030. ; End:
    5 f4 P8 {$ O: e! e* K

  2031. , E; A! X  y6 k+ v- e
  2032. ;eaccelerator
    4 x- v" T  M8 R: I: y3 @: ^

  2033. ( Z. J  A: X- p% u/ _! E; W' ], ^: B
  2034. ;ionCube0 x& m% E1 Z- H% y; |+ R( t, c

  2035. - a: A( ]+ N  Y* G$ J* u
  2036. ;opcache, F( Z2 R, u0 G& z) b# o. b
  2037. - i8 C  c+ S9 L' A* v
  2038. [Zend ZendGuard Loader]
    $ w6 {) i2 D' d
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so# t8 }: R; D5 [  J. b1 x
  2040. zend_loader.enable=1
    7 S" [: ~4 V" U' X# o4 E1 f
  2041. zend_loader.disable_licensing=0/ j8 P- T% Z9 r# u9 T1 m7 m
  2042. zend_loader.obfuscation_level_support=3& s% }: ^6 L% s8 p$ ]
  2043. zend_loader.license_path=
    - ?/ z0 {8 }, T1 \7 k# ^
  2044. # I. x0 x& a( {0 `# F/ @
  2045. ;xcache
    9 @8 J4 \" h/ T+ W. [

  2046. 4 Y1 V* |- {% S8 |9 H+ E" b
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692$ v* r# z: s/ `2 o+ K

8 G- e; @. V+ I& Z; t' V! D8 r3 Q# l! r
! Y7 a% t' m# [, H, z1 LDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
! R! T4 F! [1 k* X1 U
! s3 G1 S; @5 LDiscuz!程序版本选择:
$ G+ Q( ~, v4 Y站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,& p1 B3 I; V- H( s
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
2 i! s) k! ~" i( c; i- A& P: dDiscuz!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。
  O; {1 n& w( {& I3 y( x( N6 E6 i/ L2 [$ R( G/ [
Discuz!插件模板版本选择:+ Q. w) A% {1 {9 v
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,/ Z5 V# g& A$ t! w' ^
针对这个问题做个统一的普及:
# |; M, Q  v5 F* SX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 X$ D" e# ?) Q1 D# W# f5 ?3 Y
$ w' o, Y$ a/ R! j* x
所以
  s9 k2 M" n* n4 v6 b" j0 ]3 |适合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的二级域名。- f8 Z  [" s6 V4 q' n
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
% E7 f% V* y) l/ n注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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