分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0" @$ a9 @- m, i+ e1 a8 g

  K( s& h+ {) ^/ Z$ b/ Z8 O# _0 D
  1. [PHP]- `1 O  Z7 e2 N( Z

  2. . X: Q0 ]7 @# H, t. K% r
  3. ;;;;;;;;;;;;;;;;;;;
    0 l4 J( l: m; [, Z
  4. ; About php.ini   ;
    / T8 ]6 H* }( A) z& l9 a
  5. ;;;;;;;;;;;;;;;;;;;
    2 v  G( q* p( M2 l& }
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ |+ \9 h* w* x8 K
  7. ; configuring many of the aspects of PHP's behavior.5 b4 U9 f& n" o
  8. 7 V* A) @/ M6 @& X1 v
  9. ; PHP attempts to find and load this configuration from a number of locations.
    3 A4 Y* O" n0 X0 r4 V5 l
  10. ; The following is a summary of its search order:
    . c' H6 i( C1 M# I
  11. ; 1. SAPI module specific location.
    8 F# @4 B* a- `+ D7 ^
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' S! P2 N( L' `8 T  E% ^
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)+ Q0 `' s5 C  S: ~
  14. ; 4. Current working directory (except CLI)
    - S/ Y( v: f, R4 m7 E# Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* {* m( i4 ?) Z$ x& p
  16. ; (otherwise in Windows)
    / P) r1 E; D5 n# [( B+ a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the6 U9 ^" P1 X5 \/ R
  18. ; Windows directory (C:\windows or C:\winnt)
    % K3 o: O' I" D+ p
  19. ; See the PHP docs for more specific information.- I7 r( o$ k0 M/ O: G7 _" V
  20. ; http://php.net/configuration.file
    : t+ k0 h8 l  q7 X$ {
  21. $ C" x: m" i8 F* l2 Y! ~, n. ^
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; a+ E% O& a3 R1 n1 b. n! G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 C7 }, x# K. L9 T  Q5 w1 q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though; o, n- p. E( ]  j  x
  25. ; they might mean something in the future.
    " d2 L& N8 {0 r0 }/ D

  26. 8 U: @2 X4 U) o% u$ M* M4 ?( Z2 W
  27. ; Directives following the section heading [PATH=/www/mysite] only+ R& Q; v4 U: S' y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # D6 ^6 i+ k/ e1 T2 y
  29. ; following the section heading [HOST=www.example.com] only apply to0 q* k7 e6 @: d- X  ~& O+ ~0 b
  30. ; PHP files served from www.example.com.  Directives set in these+ i% U0 V0 {* G- [: h
  31. ; special sections cannot be overridden by user-defined INI files or
    3 h" _7 L, ?2 W. e9 I1 X+ i. U$ i, ?
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under  X2 O1 \- B5 ], Q  x+ Y6 e* D
  33. ; CGI/FastCGI.# ~; `2 D  P+ n+ g! o. t% a. R
  34. ; http://php.net/ini.sections
    / ?- j, H* b. J( A/ j- C$ j, O
  35. % S, `( f5 O6 y) [! w5 M0 O3 f3 ]
  36. ; Directives are specified using the following syntax:; S( x! v6 _7 r( [6 W
  37. ; directive = value7 C% @* i4 L/ d* N: o
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% n0 l* x+ }$ o* b
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 s8 T$ Y! F: `+ O
  40. ; There is no name validation.  If PHP can't find an expected
    - h5 T* [& F- R* j- [
  41. ; directive because it is not set or is mistyped, a default value will be used.
    2 C5 ~$ S0 r! d% \
  42. / j; U6 ^/ n0 q5 r& u, d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' \2 s  M; `! [8 O
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 P0 x; g5 F- D* I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! `7 w* b2 c  b7 S! [, h
  46. ; previously set variable or directive (e.g. ${foo})
    0 Q$ \. B2 b. Z# p$ }  y5 F* C
  47. * S, D# T3 L) w
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ( H1 W  D5 @% ^9 _: F& S" f7 [; {
  49. ; |  bitwise OR. O3 p% a) n$ p- ?3 C: F+ d; e
  50. ; ^  bitwise XOR; k* h* w- n/ P: I
  51. ; &  bitwise AND
    - m2 {. o& x$ o/ e( T) [7 S5 b
  52. ; ~  bitwise NOT
    - Y2 f( {4 y5 G. q: y! U+ V# C
  53. ; !  boolean NOT
    6 a5 [. t: l9 t( J

  54. * v% T! }4 s" w, q# W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    / k* F3 k6 o+ b) u
  56. ; They can be turned off using the values 0, Off, False or No.2 ]% D6 R  W6 o% w6 {+ ^1 W  M. |

  57. , ~  S  R* I0 _' f+ j' B  r+ H# @
  58. ; An empty string can be denoted by simply not writing anything after the equal; q" k1 T/ ?+ m( e% @
  59. ; sign, or by using the None keyword:
    " ~% E* @; I* R8 j. F
  60. 7 l  ?8 s9 I' Y0 W
  61. ;  foo =         ; sets foo to an empty string
    5 C$ v# c; G# ]5 T0 j0 s
  62. ;  foo = None    ; sets foo to an empty string& P  w) ^- p% V! q- U
  63. ;  foo = "None"  ; sets foo to the string 'None'7 n$ _2 H: Z" Z+ c

  64. ; l" w. M" v/ o- d  p3 X/ i2 A8 [
  65. ; If you use constants in your value, and these constants belong to a
    * w/ m- _. `) p8 X( H: `: j0 f9 B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),- }2 Y7 {5 }# P4 r7 M
  67. ; you may only use these constants *after* the line that loads the extension.2 f& S8 k6 I2 H) \( @
  68. ! i: J" E1 D" B/ T- n* L
  69. ;;;;;;;;;;;;;;;;;;;
    ! A8 a" r2 `3 S: \9 G
  70. ; About this file ;) ?4 ^3 j4 i% {1 h
  71. ;;;;;;;;;;;;;;;;;;;2 i, }5 @2 ?% Z9 l. _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ ]! c% r2 j, s0 a( t. J% R
  73. ; in production environments and one that is recommended to be used in! j/ r% L! h& r2 q# Q
  74. ; development environments.8 P* J, D+ e1 g) p
  75. 5 V% q) V! l  A2 r( Y+ M) \! l
  76. ; php.ini-production contains settings which hold security, performance and
    # x1 b  B- I/ s9 y" w
  77. ; best practices at its core. But please be aware, these settings may break# x, C& j2 r, z+ p( S2 C2 y
  78. ; compatibility with older or less security conscience applications. We8 V! I6 z- u# p- o$ T3 m7 I( q0 s
  79. ; recommending using the production ini in production and testing environments.5 h- W5 w- Y% w2 e+ }  s

  80. $ V/ V/ ~+ G2 e9 T
  81. ; php.ini-development is very similar to its production variant, except it is' Y: q" i8 r2 l( R& g& C
  82. ; much more verbose when it comes to errors. We recommend using the
    ! Z2 j% }5 O8 s3 F/ P
  83. ; development version only in development environments, as errors shown to
    - t# n3 e" Z+ y* r
  84. ; application users can inadvertently leak otherwise secure information., P" C' r' u0 T1 `" H9 v7 R5 Z
  85. % B5 g0 U% ?, {; Y, k
  86. ; This is php.ini-production INI file.
    : G, Y  S9 Q7 b* d5 n
  87. # a2 t6 A! u9 b4 `) S6 q/ J
  88. ;;;;;;;;;;;;;;;;;;;
    2 V) @" B% ?' p
  89. ; Quick Reference ;% l3 a. N4 ]4 G1 e, n/ M
  90. ;;;;;;;;;;;;;;;;;;;
    : v" L0 S4 P5 X; i& E
  91. ; The following are all the settings which are different in either the production8 {1 \3 i2 |1 N6 n4 e
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    8 F  i* O; h, K1 k, o
  93. ; Please see the actual settings later in the document for more details as to why( `  W0 Q. l) K
  94. ; we recommend these changes in PHP's behavior.
    5 D6 {# ?: U: N# T# y2 H7 O9 m
  95. 4 w6 f, \9 f: M/ |2 T5 M: T
  96. ; display_errors
    ( N2 ^. h0 i  o% Z! V
  97. ;   Default Value: On& b" L9 e, C5 C8 b* {- v- M
  98. ;   Development Value: On
    : q) l4 H/ ^2 ]4 [% i
  99. ;   Production Value: Off
    " B* ]! m  ?( S4 f
  100. * @7 V1 l) ^' Q1 g5 o: B7 M- u
  101. ; display_startup_errors( H. L$ M: ^$ o% U1 _
  102. ;   Default Value: Off
    ! N& L" m( B- b
  103. ;   Development Value: On$ A6 \' G7 H$ w+ J6 Y
  104. ;   Production Value: Off! L3 Z% [* H: J$ L/ ^* g6 L
  105. ! v5 O$ w0 d+ P6 v6 X0 _
  106. ; error_reporting
    8 z  s4 e: S9 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ' `% z) {' s& g( Q
  108. ;   Development Value: E_ALL
    - }1 P' S7 @. C4 a0 d9 C  ?( r
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% G7 B. J/ Z8 K7 G  c) f: d7 c; Q8 y

  110. , y, i* M" |& w* Y! }% |
  111. ; html_errors
    1 r: z' j9 K- ]" _
  112. ;   Default Value: On( U# o2 g6 u: e% w. ^( Q* ?) x
  113. ;   Development Value: On
    7 S. `5 _& e! ]3 E6 y- q+ B6 T4 j
  114. ;   Production value: On, l. f/ r* C- P+ z$ i. d
  115. * c* g! _$ \' H% k
  116. ; log_errors
    % t5 q; X3 j( q  g) p! _0 D0 m
  117. ;   Default Value: Off1 `, R& F" k; ?4 g9 J
  118. ;   Development Value: On0 A1 U1 j, i# L' ]# D/ C
  119. ;   Production Value: On  `2 \- ~+ J8 S5 D
  120. 9 m& a+ n1 Z& O0 |, f
  121. ; max_input_time
    ' L3 t! y1 Z- `7 g
  122. ;   Default Value: -1 (Unlimited)
    1 |) k+ _, V2 D* ?/ p- }- E3 D0 U
  123. ;   Development Value: 60 (60 seconds)6 ~2 ~5 f% k& q9 S0 ^) D
  124. ;   Production Value: 60 (60 seconds)
    1 w; i) @) b6 [- R; Q/ J

  125. ; p/ _7 q+ o: h1 G3 B
  126. ; output_buffering7 T& ?0 S$ Y0 p
  127. ;   Default Value: Off; l( q3 {, B9 V
  128. ;   Development Value: 4096. m' y2 Y& v' h( D
  129. ;   Production Value: 4096
    ; Y4 v% @7 i. y2 f8 F5 t6 P

  130. 4 p8 B  }! E% j! }& |$ B2 m# @
  131. ; register_argc_argv
    9 `! Y5 T& G4 ?5 r2 C, Y
  132. ;   Default Value: On
    6 N: n( ?: L# S5 i2 f& Z
  133. ;   Development Value: Off
    0 r- r4 W6 B; j" ?2 K6 Y# h
  134. ;   Production Value: Off
    5 s9 o5 q# m  z# Z& D# g' x
  135. % v0 [; y" Y" j, e7 S- c8 E
  136. ; request_order; ]* ~' o, M, P
  137. ;   Default Value: None& h4 P% Q) A( C8 ]* L) U
  138. ;   Development Value: "GP"
    " X5 w( L- S' ^: F+ G& i% t& b
  139. ;   Production Value: "GP"
    . ~; M2 x$ P7 K! u+ a( F
  140. 4 D/ E1 A% f9 B
  141. ; session.gc_divisor5 z+ J/ ?. l1 G4 E; t8 q; J8 w
  142. ;   Default Value: 100
    ! _+ d9 u+ Q4 w( p8 t
  143. ;   Development Value: 10004 R  @3 ?/ U8 v$ w0 w2 y
  144. ;   Production Value: 1000
    ; z2 s( Q& n$ Q# @$ L+ j
  145. 6 w$ s/ M1 m4 F  H9 z
  146. ; session.hash_bits_per_character- j( g+ q9 g+ i+ r6 K
  147. ;   Default Value: 4
    1 U! y# L2 O' M: W# t* N1 f+ \8 }4 k
  148. ;   Development Value: 5
    . j" K# j8 K# Y: }
  149. ;   Production Value: 5
    3 f0 z9 k0 b% e9 L. V6 L) H) K
  150. 3 S4 ~& q* u' r: ^" E
  151. ; short_open_tag
    5 f$ M/ p( S" F* @
  152. ;   Default Value: On
    " o: G. @& a  s3 N  H4 s
  153. ;   Development Value: Off
    & M! a$ B$ g7 V. x5 ^
  154. ;   Production Value: Off/ q! |% l  D' I; {+ l

  155. " T& M" d& x& x4 g. l7 i1 z
  156. ; track_errors
    3 Z/ J: l' G2 y* ~1 C2 y8 ]
  157. ;   Default Value: Off! r3 l0 }5 j, b! N+ W* `
  158. ;   Development Value: On
    2 s, J4 P3 }0 R. a" p2 d% \
  159. ;   Production Value: Off
    9 q  V/ v3 j6 Z, U+ S" I! U
  160. ' U3 D0 K( g; M0 v& T; F' a5 Q
  161. ; url_rewriter.tags* `# _4 k( X8 Z) O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ Q+ O( `2 A$ P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# x7 G; G* x6 q# Q, ]
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 j9 d. p& M$ `' ^% K  C

  165. ! a# U/ q  e- L0 ~5 ]
  166. ; variables_order
    0 c  a! u) O. s) `4 u- g/ \! o: R
  167. ;   Default Value: "EGPCS"
    5 V% K* [0 T5 y* h5 ~
  168. ;   Development Value: "GPCS"
    % h; C$ k; O. H
  169. ;   Production Value: "GPCS"! ~' ^- N. c3 c! b0 i' H

  170. & p8 A  }; H( {# ~
  171. ;;;;;;;;;;;;;;;;;;;;
    6 U) M; M  i8 z6 t$ ~
  172. ; php.ini Options  ;4 ~- H* L$ I- ^$ o1 s3 V6 f! }! b
  173. ;;;;;;;;;;;;;;;;;;;;
    * K8 X& f4 X' Y; g+ j- q3 F8 Q/ G/ w
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( @  S% ~. a; ~7 U7 S9 X
  175. ;user_ini.filename = ".user.ini"% Z( c8 F$ x) e: w* v

  176. ( n% z4 v( l4 F; H; U: [
  177. ; To disable this feature set this option to empty value9 O7 s* G) V$ h! W/ u
  178. ;user_ini.filename =
    + K* N) K* G' O& S

  179. 1 f4 D- @/ r- }, N3 j
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); \; @2 Q: S. I7 k4 }5 @& t8 C
  181. ;user_ini.cache_ttl = 300
    ' d' x' @% E6 C8 M, A. e+ ]

  182. % V4 p! j/ h+ S4 \0 o
  183. ;;;;;;;;;;;;;;;;;;;;
    ' G3 q! Z% p7 b
  184. ; Language Options ;
    7 l6 |7 A9 @1 q) d' h+ i0 T) p3 ?9 l
  185. ;;;;;;;;;;;;;;;;;;;;/ U8 z% C$ s; F
  186. - j6 M( {# Q  T; i1 ^, Y
  187. ; Enable the PHP scripting language engine under Apache.. Y2 v) p3 C0 d' l- n- r
  188. ; http://php.net/engine
    : Q  l7 p7 {+ T) M+ M$ N/ }6 g
  189. engine = On/ r' I: W; ]6 o  Y6 Z* s8 K- o" ?
  190. , B  m6 Y5 i4 X2 U- a
  191. ; This directive determines whether or not PHP will recognize code between
    7 G% T/ f: V. D% y4 `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 C+ @$ t) @$ q! l" _2 m. O. B, W
  193. ; generally recommended that <?php and ?> should be used and that this feature
    $ X3 N0 {; M) d- R( T& n' ]0 i6 Q
  194. ; should be disabled, as enabling it may result in issues when generating XML# Z! `% G2 n; A8 |& ~
  195. ; documents, however this remains supported for backward compatibility reasons.2 @- b5 Z4 q! ^* F& t& L
  196. ; Note that this directive does not control the <?= shorthand tag, which can be* J& d% B% Z* N- T9 ~
  197. ; used regardless of this directive.% _  [8 F5 D$ t* _1 N" k
  198. ; Default Value: On7 j4 L8 q0 |  f: a( k
  199. ; Development Value: Off% N/ B- N! X/ i: w7 G# x  ~
  200. ; Production Value: Off
    + }, C+ Q* ^+ d& Q* `
  201. ; http://php.net/short-open-tag" X+ N, ?& K! j/ n/ T
  202. short_open_tag = On9 h) e" k% n  [- {* |
  203. , o- v9 D4 U3 b
  204. ; The number of significant digits displayed in floating point numbers.' f! F& C* {8 y! e* M7 I2 K' x1 ^
  205. ; http://php.net/precision
    % _' o' O* y$ |
  206. precision = 14) G4 a9 H3 X$ J9 l! B

  207. % c" {1 b/ I1 a  Z
  208. ; Output buffering is a mechanism for controlling how much output data0 I$ |& u" h, f7 p. }3 F
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) o1 ]+ K7 K$ l/ `- b% X2 \* \1 O1 o
  210. ; data to the client. If your application's output exceeds this setting, PHP/ c4 R0 K2 A% W/ M
  211. ; will send that data in chunks of roughly the size you specify.
    / u) H6 R6 [$ H9 G# [
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      J1 Q3 @8 o8 t0 Y; t( j
  213. ; interesting side-effects depending on your application and web server.
    : B  p: e; S1 I3 ?# _2 }
  214. ; You may be able to send headers and cookies after you've already sent output* U% d. t; w3 n: H8 o
  215. ; through print or echo. You also may see performance benefits if your server is! ~6 A( u- A& ?% K  l: Z- y6 H
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    0 T  K" p: ?. I% R- ]
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  d1 E# t( y# G/ `
  218. ; reasons.
    + D* {* ~5 v9 H5 G) h
  219. ; Note: Output buffering can also be controlled via Output Buffering Control8 ^6 q3 U  `  e& d; `! {
  220. ;   functions.
    # g: w& A3 ~* M6 g. Q
  221. ; Possible Values:
    * X9 P$ O& h' a# U
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( B& `8 @  d/ x7 P" b, N! \
  223. ;   Off = Disabled
    ' j5 B9 _- T! ?0 I3 {8 W
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # E" d# w3 v. P- o+ n( \* z% @$ l
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI- w/ ?% Z& n! E/ M, X
  226. ; Default Value: Off
    / E8 G& @! n6 r+ T0 y" ?8 d
  227. ; Development Value: 4096$ A4 P5 v; O4 s5 a
  228. ; Production Value: 40967 Y  p. b& J' H( u4 N( l9 e
  229. ; http://php.net/output-buffering, C( I) d' e- C: x- S6 Y
  230. output_buffering = 4096
    5 {! h% {- k5 f$ A3 d

  231. 6 f; I. ~5 u9 d+ ]1 ]
  232. ; You can redirect all of the output of your scripts to a function.  For3 ]  ^4 d# a, K: P) k. g
  233. ; example, if you set output_handler to "mb_output_handler", character
      q; \2 H! S1 p% x
  234. ; encoding will be transparently converted to the specified encoding.4 K# s6 f+ O/ x+ U* a
  235. ; Setting any output handler automatically turns on output buffering.: N! Q- k1 u# |: C; |# m
  236. ; Note: People who wrote portable scripts should not depend on this ini' K6 k; Z' k+ ]8 Y2 U" K1 x9 G
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    9 |& j' G, d, u0 R- W
  238. ;   Using this ini directive may cause problems unless you know what script
    & m3 P0 b, e' d6 ], ]8 \2 L
  239. ;   is doing.& b& r" e; s7 s6 W. s) \- o
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
      J7 S& d5 Q) c' ?
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 ]! G* J2 b  u0 F- J  T% i
  242. ; Note: output_handler must be empty if this is set 'On' !!!!) T6 Q. [  ~1 e) m) d! A
  243. ;   Instead you must use zlib.output_handler.. u2 m# w8 I6 w! n% s2 V
  244. ; http://php.net/output-handler1 \- P( Z( B4 I, c4 U" ^
  245. ;output_handler =
    + n% |; O8 c( Q, e- d, X9 t
  246. 3 x3 `# \8 H3 e: P
  247. ; Transparent output compression using the zlib library
    , P) C  i9 ?$ N/ F
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    2 x5 }+ B. e- w" \  J9 K* J
  249. ; to be used for compression (default is 4KB)
    - e) E9 k. m% L. y# ]: D% a- W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 \, e/ k5 @! k
  251. ;   outputs chunks that are few hundreds bytes each as a result of" t. A7 j7 h* A
  252. ;   compression. If you prefer a larger chunk size for better8 C. |4 \  n& {0 w, y& G" M
  253. ;   performance, enable output_buffering in addition.
    $ W3 y3 k. u- l  A$ H% ]  v: g
  254. ; Note: You need to use zlib.output_handler instead of the standard
    & I1 k( |) u- o. F1 s& b' n
  255. ;   output_handler, or otherwise the output will be corrupted.
    5 J% ?% x  B% K( B
  256. ; http://php.net/zlib.output-compression0 f+ G* F, o2 t$ o2 G
  257. zlib.output_compression = Off
      Y1 N) Q5 ^  X6 U% D

  258. $ U; N) S. l% d! S8 t& t# a+ p7 ]
  259. ; http://php.net/zlib.output-compression-level* U4 B( L: K, f0 {
  260. ;zlib.output_compression_level = -1: d6 E) H" S; P+ I
  261. 5 ^; c$ W4 Q0 C, H2 Z8 R6 E  h' v
  262. ; You cannot specify additional output handlers if zlib.output_compression
    & b, `% o' I- M1 s" r) q
  263. ; is activated here. This setting does the same as output_handler but in2 j( u+ `! |' e' L8 D% i5 u
  264. ; a different order.6 ^& H3 [& ^1 Q7 N, A( e& H$ O7 H
  265. ; http://php.net/zlib.output-handler8 b- G8 D* `  I6 s; x1 C9 L4 n
  266. ;zlib.output_handler =
    , w5 b$ q! S2 m+ F* b# T0 h4 B

  267. " g$ w, N- T/ L
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; Z& I. u5 s& _3 u! i7 Q; @; ?
  269. ; automatically after every output block.  This is equivalent to calling the
    7 T3 O2 }/ {% K5 ?. P
  270. ; PHP function flush() after each and every call to print() or echo() and each$ w  c+ p2 n- Z2 e
  271. ; and every HTML block.  Turning this option on has serious performance
    1 N1 r- t/ A5 G! S) P" T8 d
  272. ; implications and is generally recommended for debugging purposes only.
    % U& d9 X! e9 R' w: N; T
  273. ; http://php.net/implicit-flush
    # _: G6 D: V; U9 {
  274. ; Note: This directive is hardcoded to On for the CLI SAPI8 v9 G3 b& l% q: p% ~* F
  275. implicit_flush = Off
    3 G& e6 v! \8 B$ h" d+ w+ |8 }

  276. 6 C/ q0 j& N0 E+ J% q8 K/ u
  277. ; The unserialize callback function will be called (with the undefined class'
    # G- G% X/ {) X( W* ~# d9 ]/ K
  278. ; name as parameter), if the unserializer finds an undefined class
    8 k/ G& @4 a: g! g) J
  279. ; which should be instantiated. A warning appears if the specified function is; ~- E( J9 @8 J/ {
  280. ; not defined, or if the function doesn't include/implement the missing class./ k& p1 y/ w, d
  281. ; So only set this entry, if you really want to implement such a6 e) K; N1 q  Z, x
  282. ; callback-function.
    # f/ O9 X* m8 t# Z  r- s
  283. unserialize_callback_func =
    & ?2 g- ]0 W& n2 u* s, b

  284. 9 z8 g% _: }( i: T2 y* I! X
  285. ; When floats & doubles are serialized store serialize_precision significant" \; o' }  A5 d) c7 \
  286. ; digits after the floating point. The default value ensures that when floats
    ; \. e$ o$ d: J7 V$ H
  287. ; are decoded with unserialize, the data will remain the same.
    ; g  }, r+ t5 p- P5 h4 Q! Z5 X
  288. serialize_precision = 174 V8 S- D0 d) J( u2 A4 m1 t& W
  289. + E$ t% q) Y# E) @
  290. ; open_basedir, if set, limits all file operations to the defined directory! W- J1 ?% @, a( h) j
  291. ; and below.  This directive makes most sense if used in a per-directory
    $ Y9 X, e# G- k* a
  292. ; or per-virtualhost web server configuration file.
    * e' M5 j2 r. e8 q% ?( n
  293. ; http://php.net/open-basedir1 {& `# w. r: K8 y( m7 n, M9 y6 }
  294. ;open_basedir =
    2 D* Q+ C2 k2 j, B

  295. + c# [+ ?7 {* `2 ]7 G
  296. ; This directive allows you to disable certain functions for security reasons.
    7 x0 R2 g, q$ k6 Q
  297. ; It receives a comma-delimited list of function names.
      Z5 B" M9 O9 z* X+ F# L
  298. ; http://php.net/disable-functions
    4 }6 b4 w) c3 L/ A# C! h
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    % T1 |( g* P2 z, k+ r' \8 x# P1 g8 [! C
  300. 9 R# m6 X% E0 |5 x. f
  301. ; This directive allows you to disable certain classes for security reasons.& X5 D- d! S* {- `2 D% {' H
  302. ; It receives a comma-delimited list of class names.6 k1 k& ^0 o+ s
  303. ; http://php.net/disable-classes
    6 H. K- K  O+ G' t6 q0 m
  304. disable_classes =
    5 o6 v+ `3 K" A: n

  305. # E; R2 j+ i5 A" ^0 `
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # N" _- R, i# V$ g3 o
  307. ; <span style="color: ???????"> would work.
    8 b0 k6 B" Z' ?- B/ l( S: T
  308. ; http://php.net/syntax-highlighting
    , O& g* u! s# p) x- e
  309. ;highlight.string  = #DD00009 {* a* b' [! c& y* C
  310. ;highlight.comment = #FF9900, n6 o  e5 f, }: I" R* w+ B3 g, t
  311. ;highlight.keyword = #007700
    $ l" U% R* o. V3 Y' {" N6 I
  312. ;highlight.default = #0000BB! s" N# s3 C  u9 [& v0 D: Z
  313. ;highlight.html    = #000000
    6 N5 i1 @2 C4 j! ?  \0 u

  314. 2 k( p  x2 A- w1 j, i* ?
  315. ; If enabled, the request will be allowed to complete even if the user aborts  s( g, O7 K1 _: n8 e/ x" Y; P9 B
  316. ; the request. Consider enabling it if executing long requests, which may end up
    0 x6 s% p3 C7 Y1 k
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior0 l0 E$ x, H0 }" i
  318. ; is to disable this feature.
    9 P# i3 s" A1 p) {3 W, _
  319. ; http://php.net/ignore-user-abort: e8 X; z* e  O% m5 h2 I  N- C
  320. ;ignore_user_abort = On
    ; t5 w7 y6 i! \) D" _8 K- s$ W

  321. ) Y5 t% r$ O% U" H
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    , c/ R7 Z  L8 S2 a$ m% i
  323. ; be increased on systems where PHP opens many files to reflect the quantity of/ D9 Q& W' v6 {+ w3 }8 P* H- _  i
  324. ; the file operations performed., t; e& b/ ~# s2 O+ E+ o6 f
  325. ; http://php.net/realpath-cache-size3 f+ |, [8 f; _* V
  326. ;realpath_cache_size = 4096k; l/ S3 F: z, [6 b3 O% H( L" C
  327.   h3 G" b# }, l9 u4 n$ R* q
  328. ; Duration of time, in seconds for which to cache realpath information for a given" W; a* N5 D3 K
  329. ; file or directory. For systems with rarely changing files, consider increasing this1 l! H  o1 b* v
  330. ; value.6 w5 h" ?0 K" S* f% F5 q; l
  331. ; http://php.net/realpath-cache-ttl
    6 k# y" O8 H4 Q: @( c% N
  332. ;realpath_cache_ttl = 120
    $ v4 `, Z% @  r7 d
  333. 2 f: ]3 I+ w; F3 f% A7 ~; W
  334. ; Enables or disables the circular reference collector.
    9 p* y$ U0 \( c# M( r- W
  335. ; http://php.net/zend.enable-gc
    7 e( D0 y. Y, u  D7 a3 h
  336. zend.enable_gc = On8 C4 @' w1 M+ |
  337. ! v8 W! |$ b$ t5 |. t
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    7 Y+ ~! M7 w, b' h" u
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 _4 g2 a! i& r& G
  340. ; encodings.  To use this feature, mbstring extension must be enabled.5 D& y5 c3 O! l) r
  341. ; Default: Off
    ' j- ^# J$ p/ w0 T; d' D
  342. ;zend.multibyte = Off
    . c4 r$ T4 O$ P+ d8 {

  343. + [# i+ o1 }2 l% o
  344. ; Allows to set the default encoding for the scripts.  This value will be used
      I' x" P" `' W. w1 q( j& [
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) E4 c" ^% O  E! e( y
  346. ; Only affects if zend.multibyte is set.
    ! A& R* e. p! z5 {: W1 ?. a. }& u5 D
  347. ; Default: ""
    6 Z  u& o0 P, y7 ^9 G
  348. ;zend.script_encoding =1 p( ?. _2 s& a( L; t( Y% w& m

  349. + ]& q, b) }! A
  350. ;;;;;;;;;;;;;;;;;
      b# K. A  Q( A/ @8 U6 d, E- G
  351. ; Miscellaneous ;. J: x: f2 t/ v
  352. ;;;;;;;;;;;;;;;;;
    , Z9 d% i, T3 [* o

  353. 9 |9 G- W0 ^- l
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    1 z' a# w  n3 R% }+ X& L& N/ t
  355. ; (e.g. by adding its signature to the Web server header).  It is no security& \- e$ _4 s% A2 ]
  356. ; threat in any way, but it makes it possible to determine whether you use PHP2 Z$ a8 k& e7 Z+ l  u
  357. ; on your server or not.% `6 ]1 V; f$ o+ N. V5 P
  358. ; http://php.net/expose-php; V) L1 d$ T( d- `, A+ P
  359. expose_php = On
    6 w% w) `; o! u  b6 D

  360. ( C& X  w; o. e; l' j5 j* m
  361. ;;;;;;;;;;;;;;;;;;;
    6 G9 y4 W1 M7 a3 V% [+ @& d
  362. ; Resource Limits ;( F3 N1 X& p5 z8 ^
  363. ;;;;;;;;;;;;;;;;;;;
    8 J5 v5 q7 L# J2 b
  364. * c# G- G4 N  g( C1 W
  365. ; Maximum execution time of each script, in seconds+ S2 Y, Z1 O4 v. L4 y1 |; c# h
  366. ; http://php.net/max-execution-time
    ) @4 x6 b$ M2 V0 m1 L! x4 t+ r4 u
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI5 t" N* z- i( K
  368. max_execution_time = 3007 q- @4 J# `, ]
  369.   z/ Q7 M" Q( x5 k
  370. ; Maximum amount of time each script may spend parsing request data. It's a good& v; a$ |" M7 c9 {
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly/ R0 l; J. S3 @6 R% p
  372. ; long running scripts.
    2 ?* E" x" ^; e7 P
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    + B; @; ?8 K2 D7 {  C
  374. ; Default Value: -1 (Unlimited)
      R! m: {2 x# J8 A! _+ P6 K
  375. ; Development Value: 60 (60 seconds)9 F0 ~/ H  F  j( |
  376. ; Production Value: 60 (60 seconds)  z( G' V* Y" t/ W, U1 U& ]' [7 d
  377. ; http://php.net/max-input-time
    6 N; q4 }! Y  k; s% f% s6 z
  378. max_input_time = 60
    ; H' e3 j$ R( o4 c
  379. $ C% Y; `( t) a. l, Y6 [0 U: l
  380. ; Maximum input variable nesting level
    - J/ O9 A4 F& h$ [5 K! Y3 `4 `! u
  381. ; http://php.net/max-input-nesting-level
    . O. D8 r1 @6 M, e% X& s
  382. ;max_input_nesting_level = 64
    / g, P0 C8 ?0 z3 i
  383. - l6 Q, h" ^" q5 u' ?( P' s1 R
  384. ; How many GET/POST/COOKIE input variables may be accepted# I8 {; r9 H% N; ?) y- K
  385. ; max_input_vars = 1000
    6 D  N0 y# c9 l5 C

  386. / c: e) M; c* e: ]5 _( r0 [! V8 I
  387. ; Maximum amount of memory a script may consume (128MB)
    / `0 @5 m: j% q  I
  388. ; http://php.net/memory-limit- U1 S& {# y3 c0 n( \
  389. memory_limit = 128M
    ' F7 i! I0 f9 f6 \
  390. 9 P  l( C! n) |9 |, A& G
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- |1 v) e& D- V0 H; A
  392. ; Error handling and logging ;. t, v3 r" d7 }4 c/ r' t9 {
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " \, J: o# A, }0 U' ]0 B

  394. % ~/ ^' k, F/ |- Z& w* L# o4 a
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    , w$ U, m) Z" ^7 `, H2 X2 k
  396. ; it to take action for. The recommended way of setting values for this
    1 S( Z3 w' ]+ ]  d, i+ L% E' j+ g4 Y
  397. ; directive is through the use of the error level constants and bitwise
    0 F: M# e- m' Y% V; B
  398. ; operators. The error level constants are below here for convenience as well as
    1 `/ F3 a5 m" S' {' K: k
  399. ; some common settings and their meanings.
    : |* B0 G* _5 G. B. R
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % P6 ~  N5 u/ G& i/ \
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 @7 z$ ^5 B& E: p+ Q
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    " b+ _* O: L8 l7 z& K; V4 V- ~
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 J$ Y2 @4 S* C5 h* j
  404. ; resources complaining about best practices and coding standards. That's what
    6 A5 @: r/ G& k( K! D/ N8 q: h
  405. ; development servers and development settings are for.
      h4 Z, _2 p' S, o" E
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    * r8 X: p% b3 i6 y- V# ~" J( q
  407. ; means it pretty much reports everything which is exactly what you want during: C4 {+ U+ K1 d6 `/ j  L" W
  408. ; development and early testing.
    # f* R2 q/ k) @, W
  409. ;& s0 y% W3 C4 L* P
  410. ; Error Level Constants:
    8 F8 a) r& b& Y' M6 O2 L) \
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): \$ ]1 P0 Q$ l' {
  412. ; E_ERROR           - fatal run-time errors- P" K- L- s1 R5 ~: |
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ L& P  K) d" v. U: j$ U
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    % P* N& @' o# W& B
  415. ; E_PARSE           - compile-time parse errors
    / r$ i6 y' O8 J  t8 L
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    - l" t6 T( E. e) y) i" G2 M$ t/ P
  417. ;                     from a bug in your code, but it's possible that it was
    2 p; ^9 \/ U9 p" N( k& c: c
  418. ;                     intentional (e.g., using an uninitialized variable and
    # ^: |/ _* ~1 g& w0 _8 D8 B1 N) p
  419. ;                     relying on the fact it is automatically initialized to an6 H* |* q& z3 Y, d
  420. ;                     empty string)
    . a4 i$ u8 Z% v9 G
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 i- W3 v, Z4 U, h
  422. ;                     to your code which will ensure the best interoperability9 I) P" G$ Z7 E9 D
  423. ;                     and forward compatibility of your code
    2 b& D/ |2 O, U! E1 d) M0 m
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # m: \% L2 L+ s: T* F6 h' V( e& l
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ r+ E% M( _7 N  J, J  L$ p4 K
  426. ;                     initial startup& e( e; M3 v2 Y$ }7 n! c" P
  427. ; E_COMPILE_ERROR   - fatal compile-time errors) b* N7 p- m1 F( `$ m$ a/ W" @; F' F7 E
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    . H) |6 I$ Q- {  |: H1 b/ `
  429. ; E_USER_ERROR      - user-generated error message
    / ~8 M) S7 L5 Y/ ]+ V
  430. ; E_USER_WARNING    - user-generated warning message
    , U' k  I0 y) _* j( ?8 Y
  431. ; E_USER_NOTICE     - user-generated notice message
    + m  g# s" G+ t' u/ q3 u; n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions3 o: \6 N) u, ^
  433. ;                     of PHP* e  _8 ~( V$ N4 K5 x. Y( k  w
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; S8 C9 g* Q8 t' A/ R$ {* {
  435. ;
    - N* @8 e0 L' {/ T! Q. R
  436. ; Common Values:
    " V) n3 w; e5 u9 \% |5 b5 Z
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ) S5 q% P4 ]- C4 s3 d' ^0 c- V
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 H4 w( ~& @2 z% O9 x
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( a& V2 I9 e6 V* {4 i
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ [2 {) a! u/ E  Q! B0 j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 _- s5 a( o. H/ `, S" L
  442. ; Development Value: E_ALL
    ' S' g9 [+ x" @- M' L3 f1 k8 J) [
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 Z* x$ S, O" l! T* \' s2 K3 U
  444. ; http://php.net/error-reporting  @; V2 [6 b% e: I
  445. error_reporting = E_ALL & ~E_NOTICE
    . q; {6 R+ [9 T/ O7 J( n6 y
  446. 1 k% t3 l! n5 b8 B) B1 }  A% N" ~6 ]
  447. ; This directive controls whether or not and where PHP will output errors,' O+ R" Z8 t2 T5 {$ q* D
  448. ; notices and warnings too. Error output is very useful during development, but% T! K% p& B$ d# m
  449. ; it could be very dangerous in production environments. Depending on the code
    5 y) V0 Z% i& M
  450. ; which is triggering the error, sensitive information could potentially leak& u# G9 A5 c( _1 f9 z8 c
  451. ; out of your application such as database usernames and passwords or worse.
    ) D( F: O4 x2 r" P" v  M* {8 F
  452. ; For production environments, we recommend logging errors rather than0 j7 p# y0 n+ X/ }" M: {
  453. ; sending them to STDOUT.
    7 e  `$ k4 `8 L' D
  454. ; Possible Values:. a! {2 m" u4 T9 k2 R
  455. ;   Off = Do not display any errors
      V% R% P+ i! l4 l2 [$ U, \' w
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    2 D8 V3 t8 {" m* v5 G8 e4 h
  457. ;   On or stdout = Display errors to STDOUT! K8 l" _% `8 |) @* m# {
  458. ; Default Value: On. O7 |; W3 F% B
  459. ; Development Value: On  ]% }" J& u% x4 }' i' p0 m
  460. ; Production Value: Off; s) a1 R, F+ S
  461. ; http://php.net/display-errors
    ' t5 c: k4 B' M+ A1 W- [
  462. display_errors = On
    , M  z  g6 N  K

  463. ; \( ?7 @! C# a
  464. ; The display of errors which occur during PHP's startup sequence are handled: f/ `. E8 Y2 D" _- b8 ^! F
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    % \5 @" s' }* Y2 P
  466. ; errors from clients. Turning the display of startup errors on can be useful in1 X& E9 v, d* m2 S% A, K8 ]: `
  467. ; debugging configuration problems. We strongly recommend you- ?4 p( h+ L$ }- [0 [
  468. ; set this to 'off' for production servers.( `  h: v: i" q8 c: k
  469. ; Default Value: Off4 H9 X4 T6 G# f+ C# W* f
  470. ; Development Value: On
    $ p- T+ l4 G5 I$ |1 @( Y
  471. ; Production Value: Off( Y1 r% C/ W4 j5 l
  472. ; http://php.net/display-startup-errors3 d+ D) `5 s" A0 O  o
  473. display_startup_errors = Off
    5 }. K2 D6 k# Q9 e& |! R; L
  474. 0 ~& @1 J, c$ R/ L! u, p' d
  475. ; Besides displaying errors, PHP can also log errors to locations such as a/ Z* a, b- a8 d6 z) R& k& Z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    2 r6 |' Y! D% @/ [6 ~/ y
  477. ; directive found below. While errors should not be displayed on productions0 d) w0 P4 |6 R' ~
  478. ; servers they should still be monitored and logging is a great way to do that.
    * v! N5 U$ J, \! Z
  479. ; Default Value: Off
    6 \* k5 r4 J& @' q: \* I, c; Y7 ]
  480. ; Development Value: On$ K) H3 }* Q/ x2 g. A
  481. ; Production Value: On
    - a9 x; x9 f! c4 L( B! B# {1 \
  482. ; http://php.net/log-errors4 Q/ R1 k- i; b/ I+ n' G$ }; y
  483. log_errors = On5 l! V& ~; N* u$ k3 y
  484. 5 M, T( N) D0 C& z" N
  485. ; Set maximum length of log_errors. In error_log information about the source is
      }# g- J$ D) N& [+ Q
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 _, Q3 R1 l. H% j$ V" W
  487. ; http://php.net/log-errors-max-len
    ; i+ p( L( d; s: G
  488. log_errors_max_len = 1024
    % T% Y; c) w8 L) z$ T  H
  489. : t' L; e; i" J6 F. s$ Z  d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same! J$ P  r& y! x$ U: y
  491. ; line unless ignore_repeated_source is set true.
    ) Q7 J# r% a0 L3 V) b% |
  492. ; http://php.net/ignore-repeated-errors
    4 K& R3 w; W4 P8 |  a2 J. b
  493. ignore_repeated_errors = Off
    8 s6 G( b. I7 J+ e2 ~' ~
  494. 0 B/ y  g( A+ I0 ~/ V  e! S$ P; H* j6 r9 I
  495. ; Ignore source of message when ignoring repeated messages. When this setting5 h- {& d) r! W' _  K* |
  496. ; is On you will not log errors with repeated messages from different files or; A' S/ z0 b. d/ l' \; o
  497. ; source lines.$ }) i9 [7 v' W
  498. ; http://php.net/ignore-repeated-source: v) w( v1 r- z0 R: F& K% u- ^  e
  499. ignore_repeated_source = Off, U( W$ q0 C5 P: Z5 K
  500. ! m' `) k2 T( F: v  ]0 t! y% J
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & C5 G; [& \" ]
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! |2 S: }! Z& L; ?8 N
  503. ; error reporting includes E_WARNING in the allowed list: a" q4 N9 U9 g& {/ ]! q& j- E' H
  504. ; http://php.net/report-memleaks
    : G/ |+ `2 D. i3 X- l" g2 `& m
  505. report_memleaks = On
    3 E# F' o- \  F* ~! }

  506. 9 y$ @3 W2 z5 F
  507. ; This setting is on by default./ e0 f0 R7 v  j) B
  508. ;report_zend_debug = 00 \2 R7 U6 {! J; e. {8 y. b3 R
  509. * B4 [! c! m& f9 R
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value' Y2 D" S* l" f
  511. ; to On can assist in debugging and is appropriate for development servers. It should  h$ F* g$ S+ ]3 a# Q( L6 E" K
  512. ; however be disabled on production servers.& H0 z& N" T1 o
  513. ; Default Value: Off
    ' ?1 h) m6 U4 V+ {' }
  514. ; Development Value: On: N+ k# [: G; w% v; U/ ]
  515. ; Production Value: Off
      o, Y/ X) k& I# p, V7 u
  516. ; http://php.net/track-errors! V$ s2 n, G" S* J. i: i# j3 `. ]
  517. track_errors = Off
    * g1 [$ }, o4 d! e: K; p
  518. - R( T1 q8 s: g5 N# l9 Q5 u
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    * F  {, ]2 b$ v) a6 g( z9 @
  520. ; http://php.net/xmlrpc-errors
    3 q& L& y1 E, |% ]* ?4 |8 X
  521. ;xmlrpc_errors = 04 V# ^: Z5 d, b% h: u

  522. - I) W6 k* `' z5 y7 ~( q9 W
  523. ; An XML-RPC faultCode
    ; }1 f$ f: M  C9 \* I* O
  524. ;xmlrpc_error_number = 03 ~% y% y2 D9 I: ~" K. S/ N% D

  525. 8 e( ~  _  k! e7 g; j  X0 a
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    + ]6 w2 J. G' E- s& Q& o
  527. ; error message as HTML for easier reading. This directive controls whether
    $ ?* X6 j$ W. b. l
  528. ; the error message is formatted as HTML or not.7 g: J. S4 d: ~0 _2 P/ e% W; |' s
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI- p2 y1 s! N2 W. \! k  Q0 |
  530. ; Default Value: On' i- Y- d5 D* i% D' C
  531. ; Development Value: On) m( ?1 v. Q+ ?2 V! L: M/ @
  532. ; Production value: On. F2 p; O! ]3 i0 d
  533. ; http://php.net/html-errors# l+ Q' `' o  ?+ y
  534. html_errors = On
    7 R) E5 _4 u) g7 k# I! a) F- q

  535. $ ~' A6 z% U, S, M7 D" S% B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ d$ b# h; u+ y# I- X5 U: a
  537. ; produces clickable error messages that direct to a page describing the error
    $ S! K+ m5 d1 f9 }
  538. ; or function causing the error in detail.
    ) t% v% w& ?1 H2 W" W4 c
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    2 s6 T+ F6 o2 K9 i/ T
  540. ; and change docref_root to the base URL of your local copy including the
    - F) Q- Q4 u+ a9 S' M! F
  541. ; leading '/'. You must also specify the file extension being used including1 @0 b# [% O' ]
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ( K$ ?, w( w9 r7 s
  543. ; case no links to documentation are generated.4 G( i: R) e- u4 r
  544. ; Note: Never use this feature for production boxes.
    8 X8 u+ o* a3 w$ m( T8 u  s. j
  545. ; http://php.net/docref-root
    9 A7 K5 O8 [7 R0 i
  546. ; Examples
    $ }0 c; H8 R) z" |: g( ?1 p  s5 h: |
  547. ;docref_root = "/phpmanual/"& z$ |3 m6 V. k5 V* t- ~

  548. ) R$ U3 U' L( Y( i: z3 e
  549. ; http://php.net/docref-ext( s  Y% A# L$ D1 T, `
  550. ;docref_ext = .html: f+ P* h8 L( R3 b- K1 \5 B

  551. * \6 G3 ^6 I, ~% p7 E" w  P
  552. ; String to output before an error message. PHP's default behavior is to leave
    5 I8 ^5 N3 }1 i: b' l
  553. ; this setting blank.
    4 V4 d$ z& y; ^* I) P
  554. ; http://php.net/error-prepend-string) m; k4 R5 f$ _, k5 v9 A& H
  555. ; Example:
    0 [1 V% _$ Y& i" P
  556. ;error_prepend_string = "<span style='color: #ff0000'>"' b" I6 z" j; N; e
  557. 2 n) J; b  Z+ o6 ~- a( }
  558. ; String to output after an error message. PHP's default behavior is to leave) a3 s; z( W7 B+ k6 y9 b+ K2 t6 i
  559. ; this setting blank.
    ! W* \; Q- @" }
  560. ; http://php.net/error-append-string% u6 Y6 s& W- r
  561. ; Example:
    . [( d" m4 N4 `7 n( c
  562. ;error_append_string = "</span>") z" J/ _3 n( k4 v6 `, j2 F

  563. 3 w) l6 s" e. w
  564. ; Log errors to specified file. PHP's default behavior is to leave this value1 W8 h  k5 W$ T4 r8 {
  565. ; empty.
    ) B- L. u6 Y9 c% G9 L
  566. ; http://php.net/error-log2 V/ p% l9 K* G3 t
  567. ; Example:
    ! \$ @* e$ I1 w7 s+ K
  568. ;error_log = php_errors.log
    2 Q9 b3 N/ {( I, ]
  569. ; Log errors to syslog (Event Log on Windows).% p- w. N- K/ F. X0 r; Y
  570. ;error_log = syslog
    % O# F+ d6 D, d9 `3 o3 u
  571. / h( c; D& i% \4 t
  572. ;windows.show_crt_warning
    ( J. e5 ]- N- l8 W
  573. ; Default value: 0
    ( [9 ^. j3 C/ k: q2 C
  574. ; Development value: 0
    7 n! l6 _- j) S  @, @3 B0 i
  575. ; Production value: 0+ Z$ T- A- k# Q7 f0 I
  576. ' m/ ?; K% _6 u% h5 d
  577. ;;;;;;;;;;;;;;;;;+ s3 G" Z' q5 P7 \# j+ D: I
  578. ; Data Handling ;
    ! L, }) F, t$ @- x
  579. ;;;;;;;;;;;;;;;;;
    : D& T, z# l7 ~+ \
  580. 5 u- i& o% }3 z8 G4 n0 v- O* j& M
  581. ; The separator used in PHP generated URLs to separate arguments.+ D0 L. S  L) z' e+ }
  582. ; PHP's default setting is "&".; g- @6 [- W/ _
  583. ; http://php.net/arg-separator.output
      ^, f5 B" m6 R( y4 a9 x1 n% g4 K
  584. ; Example:) x$ V$ `5 ~- j
  585. ;arg_separator.output = "&"
    , a; ?# j# i$ w% y6 Y
  586. . I6 I' ]9 e  K1 J. X
  587. ; List of separator(s) used by PHP to parse input URLs into variables.- }1 b" n- U. k. W/ p6 @4 n$ h. i
  588. ; PHP's default setting is "&".4 g8 W* _/ ]  T: c9 B7 p# @
  589. ; NOTE: Every character in this directive is considered as separator!4 Q; }$ ~* l$ G- h
  590. ; http://php.net/arg-separator.input: J/ ?. g- c# {: @
  591. ; Example:) b- q4 @3 q" D2 f/ m9 T! t6 `
  592. ;arg_separator.input = ";&"' z" {9 \* F, a4 x0 e

  593.   q5 N6 x( h* ]2 A+ _
  594. ; This directive determines which super global arrays are registered when PHP
    0 V. ~  @4 R% c( D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super5 Q3 v* L" N. o# x
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ u) E/ M6 I% M* O; ]( b
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    % o5 h+ k2 z% {! c
  598. ; used as the others, ENV is not recommended on productions servers. You3 b% n/ V2 A4 Z* ]0 n4 ~
  599. ; can still get access to the environment variables through getenv() should you" y1 g* n  \3 g* s: t3 z& k
  600. ; need to.
    : [; r! q) C4 W9 x3 B, |6 {
  601. ; Default Value: "EGPCS"* z; {' K8 F' d- `6 T+ ~) `+ ~- a
  602. ; Development Value: "GPCS"$ M/ J  N8 p$ l( S4 X
  603. ; Production Value: "GPCS";
    * W* a. G- \8 W: i1 R7 A. J' b, I
  604. ; http://php.net/variables-order4 n; O, H# ?' g" @2 r4 d5 Y
  605. variables_order = "GPCS"
    ' V, `; K8 K6 J5 P; [9 ]5 W9 T

  606. 2 r5 E+ t+ e8 q. c* i( \5 h
  607. ; This directive determines which super global data (G,P & C) should be
      L1 I2 W3 b' I0 @' o& h9 m
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 T* Y- i1 t+ c( A0 ]% _* f! B
  609. ; the order in which that data is registered. The values for this directive
    ) h1 C) Y: D+ ?! o
  610. ; are specified in the same manner as the variables_order directive,
      N" U3 ^7 W3 \* Q6 O4 W) [
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 b2 f! v/ L* U% V. V  d
  612. ; in the variables_order directive. It does not mean it will leave the super1 i! W5 W! }- f
  613. ; globals array REQUEST empty.7 m/ P7 {$ P) i& M0 ^4 G# Z
  614. ; Default Value: None, d& d+ e# t) w
  615. ; Development Value: "GP"( t0 B' P' V5 x: q# V+ w5 K7 _
  616. ; Production Value: "GP"! G! [2 Z2 ^- t
  617. ; http://php.net/request-order# `9 L0 N& b5 F, D6 w
  618. request_order = "GP"8 t+ M0 H& d, T: Z  G! X* ]4 V: j2 C: Z
  619. 2 O4 p5 o) V5 {5 n! [8 f1 m
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ) `" t# \% \) @) E7 d
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / j# p# b( e" A+ O$ ]
  622. ; is invoked. $argc contains an integer representing the number of arguments
    . Z, t! G/ o( G) B6 n
  623. ; that were passed when the script was invoked. These arrays are extremely
    ' G% ?3 }7 z" Z  N0 J; Y$ L  H
  624. ; useful when running scripts from the command line. When this directive is
    $ }% L* c: G; u- y8 E- h2 X
  625. ; enabled, registering these variables consumes CPU cycles and memory each time  b4 N- A$ J' R5 a
  626. ; a script is executed. For performance reasons, this feature should be disabled* _/ V) h7 _/ @$ M, A
  627. ; on production servers.4 |& z5 q/ r; ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    " j4 L* ~2 N- t5 N2 ~6 E7 D$ x* j
  629. ; Default Value: On+ b' i* ]) N7 g+ F4 ^
  630. ; Development Value: Off4 u* l5 d/ |2 j
  631. ; Production Value: Off  C$ [; p6 T! ~+ n- f" N  d( q
  632. ; http://php.net/register-argc-argv! v6 e# a% f) h  U% Z/ d" p
  633. register_argc_argv = Off
    5 o3 S4 f& ]2 r

  634. 7 w0 h  T: z, a3 _1 z4 O
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 X! g/ O+ }% @6 B
  636. ; first used (Just In Time) instead of when the script starts. If these' G  p2 M3 N# W  ?9 N& L
  637. ; variables are not used within a script, having this directive on will result
    ' f! m& }$ m& v8 A/ }* k' ?# n
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 b* D. d/ }5 s- k3 H
  639. ; for this directive to have any affect.2 {- W- R. m# I5 R
  640. ; http://php.net/auto-globals-jit
    ) x2 M7 Y. g& i/ t* p
  641. auto_globals_jit = On
    . `0 I6 @$ y% ?2 j9 x1 C+ s
  642. % N; E  q* ~5 @# u8 n
  643. ; Whether PHP will read the POST data.$ V& Z5 g1 c5 p, R8 c- T* D7 S9 F
  644. ; This option is enabled by default.
    4 {. [9 r9 T2 k2 o; i3 f. f* J
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 p( U8 d% r3 b9 n# v4 O
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    : k! Y( o$ T5 F1 F* K6 J" g
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - g& u+ I1 P' e9 H( ~1 ^7 h$ U
  648. ; to proxy requests or to process the POST data in a memory efficient fashion./ Q  |! c: r3 ?1 v5 R* P& M9 g: J
  649. ; http://php.net/enable-post-data-reading+ m: B- v' t3 z5 g
  650. ;enable_post_data_reading = Off( E2 P% d5 v; e$ Z

  651. 2 }) c( C8 R% e* E
  652. ; Maximum size of POST data that PHP will accept.
    - e$ j. G; w. H* d; z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! q  i8 ^3 ~( G% b. q: p
  654. ; is disabled through enable_post_data_reading.
    3 y1 z6 ]* V+ h7 `; q! I
  655. ; http://php.net/post-max-size
    ) I4 C4 b: x  |$ H- t
  656. post_max_size = 50M
    / p( P, @" n3 c+ p9 Q& K# X' D8 ~
  657. ; U5 ?$ N" G3 e. u& h9 w4 h
  658. ; Automatically add files before PHP document.
    : ~: t1 c; c6 o* [
  659. ; http://php.net/auto-prepend-file! B2 B) A- H+ U9 v6 P5 \
  660. auto_prepend_file =4 D8 O# t6 z- h0 H8 T

  661. * L+ b# ~$ _+ E( N! N9 `
  662. ; Automatically add files after PHP document.. x, O/ U8 P7 w
  663. ; http://php.net/auto-append-file
    8 ?. ~' E) w$ _9 Q
  664. auto_append_file =
    ( X" R% @8 ~- u4 g

  665. 3 _7 J% g  C# I# W% N
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 h. x3 `; G; u7 C
  667. ; disable this, simply set it to be empty.
      n0 K5 D* D* h  _% U/ L" a" U: _
  668. ;
    7 j; T$ t* T; N2 A: _; Y
  669. ; PHP's built-in default media type is set to text/html.
    8 _. r: j/ F) x2 d5 J1 V$ `9 K
  670. ; http://php.net/default-mimetype
    , ?- D# n/ R' _& M# A" e1 w
  671. default_mimetype = "text/html"
    * a6 I. d" R$ ?& v: Z: Y& v

  672. 9 f/ }" {0 R. d1 q- O
  673. ; PHP's default character set is set to UTF-8.3 i7 j7 e* [) ^. y% ~
  674. ; http://php.net/default-charset
      A0 X) R5 k4 }* z
  675. default_charset = "UTF-8"
    $ o* _" i$ r: U" j

  676. ) j# X3 {: ^) G  a( R4 j) Y5 i7 q8 V
  677. ; PHP internal character encoding is set to empty.
    1 b; U# o) b; ?4 h) ]) G
  678. ; If empty, default_charset is used.% n+ Z' S& }  a
  679. ; http://php.net/internal-encoding3 h* U0 `5 f. i) J' H
  680. ;internal_encoding =
    ; c. n+ ^1 r- X- K8 ^4 }

  681. # Z( a0 z. s; O+ z3 u+ h& n
  682. ; PHP input character encoding is set to empty.% E0 F( e5 @* W, O! |- {: P
  683. ; If empty, default_charset is used.
    - \2 A! g( A" ]' Z; i
  684. ; http://php.net/input-encoding
    ; [5 w3 u$ A( h. Q
  685. ;input_encoding =
    / G) q$ L: i5 `; C

  686. ; O" E& K1 ]6 K3 x* F' Y
  687. ; PHP output character encoding is set to empty.
    0 k1 z5 e  q- `" X' Z- X$ v
  688. ; If empty, default_charset is used.
      J  K1 A$ L8 p' x
  689. ; See also output_buffer.
    , ^& _* R0 _5 G8 J& d+ Z0 t
  690. ; http://php.net/output-encoding; k9 Z: X! k  i6 j
  691. ;output_encoding =
    9 H1 [, B7 k9 e% t# G/ y( i
  692. + k/ u, t) `0 L8 a9 k
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 D- i5 R/ F! b  x
  694. ; Paths and Directories ;0 y1 _6 f: W& J& }1 }& v
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;5 R( q/ k3 t  p2 @1 i" Q. h

  696. % ?2 k* N; w$ f# E3 X' x
  697. ; UNIX: "/path1:/path2"
    , F3 t3 @3 Y1 K
  698. ;include_path = ".:/php/includes"
    5 j3 [1 z' e3 {- m
  699. ;
    1 k5 Q9 o1 \$ D1 i; y
  700. ; Windows: "\path1;\path2"$ }' Y- z2 a6 J) @
  701. ;include_path = ".;c:\php\includes"/ x, A/ p5 F! u: k
  702. ;
    & J9 |+ C- f7 s7 z4 V9 N
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# |2 A. [8 u% Z5 P# B1 U
  704. ; http://php.net/include-path
    , g5 G9 {* Z& g: }
  705. + H& i# Z5 J5 C% Y" B0 V- r* c
  706. ; The root of the PHP pages, used only if nonempty.7 q) [9 o5 w7 j1 X
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    5 B6 h1 F7 C: c" T7 X- B
  708. ; if you are running php as a CGI under any web server (other than IIS)
    7 Z0 O: d5 c: g% Z
  709. ; see documentation for security issues.  The alternate is to use the
    ; k* O% W- [% ^9 k! z( J
  710. ; cgi.force_redirect configuration below4 V, s' _5 O/ j' n2 w1 q
  711. ; http://php.net/doc-root' b; X) g3 R2 e- t( P( H7 Z& Q* q
  712. doc_root =
    # A3 o/ h" {. `6 v$ V0 c" k9 n/ y' S
  713. ; R+ z3 s+ J; ]
  714. ; The directory under which PHP opens the script using /~username used only7 c+ k: _/ B- u( D$ u
  715. ; if nonempty.
    ' t- X, G" }& y1 B7 }0 S
  716. ; http://php.net/user-dir
    6 h7 m7 [7 U$ c
  717. user_dir =4 G3 q, @8 \1 \& N5 ~' `% N: `
  718. - ]9 m0 X$ D) Z/ Q' [
  719. ; Directory in which the loadable extensions (modules) reside.* f3 j6 N7 F/ q9 _" h$ c
  720. ; http://php.net/extension-dir6 ^- P# R2 c& N2 W
  721. ; extension_dir = "./", Q, ^( u- L+ R5 e# B, ]7 U+ `
  722. ; On windows:
    0 D; g& Q1 |. h* c4 ^8 y
  723. ; extension_dir = "ext"
    4 j# Y5 i5 P; n5 {: w. |

  724. % ?( h7 p8 N- _! k
  725. ; Directory where the temporary files should be placed.0 s  F3 _- q, T  C( D6 o
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 K7 Y3 B8 u, L
  727. ; sys_temp_dir = "/tmp"9 X( v$ D" D4 B5 P
  728. 2 _9 ]5 r9 S1 N. W7 p% I
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ' V8 l) s6 d3 D7 g2 X' v0 z
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  q* g5 W; c/ y3 z
  731. ; disabled on them.# k  x+ ?1 }1 W* ]4 Q
  732. ; http://php.net/enable-dl
    ( s8 X- ^. p' D
  733. enable_dl = Off
    3 }$ h: ^. S0 J5 m  A: e

  734. " n. [6 j+ _* V1 {% e9 Z4 o$ j
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 M: P9 ?/ @4 v/ h! W* {
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can' q$ y; d9 d4 D# \2 |8 E6 s6 y
  737. ; turn it off here AT YOUR OWN RISK
    2 x8 I8 m6 Q; k8 v4 \6 v. m+ w
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, l* |+ G/ O# X3 I! o6 z* d
  739. ; http://php.net/cgi.force-redirect
    ( b6 E# ^+ N$ V4 I+ i4 R$ I5 B
  740. ;cgi.force_redirect = 1! O+ M  D; [" t/ J
  741. 5 K( Y; D4 w' H. `
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 d5 B/ n7 n, Y  D) o0 w( z+ u# B& \
  743. ; every request. PHP's default behavior is to disable this feature.' j! s/ j& O4 d$ V  x3 p8 k% N
  744. ;cgi.nph = 1
    2 A/ Z! f- W" ]8 Z. G5 E; J

  745. 3 m5 i$ Q/ m9 C" @4 Y4 J, y
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: z- s8 j1 q! h- F/ {7 g
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP9 U9 X, O% N* w6 M/ x. q5 W& m
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 L/ ~0 g3 [$ r4 @
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    + C) ^2 L) r, E- t# G4 j* z7 z( a# u# d
  750. ; http://php.net/cgi.redirect-status-env2 b" ]% B4 \6 Q
  751. ;cgi.redirect_status_env =
    % `$ i' O/ J( D

  752. , c& d" v1 Z+ M
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & l% g% M1 Z& `- e: w6 l* i
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    4 B6 {2 N8 j6 E1 k! ^* w7 G
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    . \( A8 N. K0 |+ G2 u& M
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / ~4 i. d. N& E3 j
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts/ G- b1 H+ V- V/ x3 F/ Q$ v( f
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    * H# p. ]2 Y, P$ F1 t
  759. ; http://php.net/cgi.fix-pathinfo
    : @/ b3 ]! k/ I* @7 c
  760. cgi.fix_pathinfo=1
    " E7 `# Z1 h% y
  761. ! F7 v8 {% i" O. p" U1 a
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside; o/ J& D. C5 K/ ]# n6 e& H: O
  763. ; of the web tree and people will not be able to circumvent .htaccess security.) n2 U) G- ~: Y2 n$ P8 J
  764. ; http://php.net/cgi.dicard-path
    # h' {6 H8 c8 c7 q
  765. ;cgi.discard_path=1
    1 Y7 H1 w8 Z) O, u: J9 K! R

  766. 5 j" C+ p+ k0 {4 A3 M
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      M! Y% ?3 W: d7 v5 G1 l
  768. ; security tokens of the calling client.  This allows IIS to define the6 e. _5 Q$ |/ P; W0 Y  Y5 @
  769. ; security context that the request runs under.  mod_fastcgi under Apache  }; ?9 B, t+ l+ L7 v' J9 Z6 G" ~# y
  770. ; does not currently support this feature (03/17/2002)
    8 P' ?4 u6 _5 s2 @. s& C
  771. ; Set to 1 if running under IIS.  Default is zero.
    ; h# b' ^' {5 p4 o( _1 X
  772. ; http://php.net/fastcgi.impersonate- ~& F, v+ Y$ G% R
  773. ;fastcgi.impersonate = 11 B% _! E4 x: R6 m) \/ n: p

  774. 5 R3 Z! f: Z4 j! _* M* F* L" E: u# D; \
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . T$ Y# a/ b, N  h2 J; [3 Y
  776. ; this feature.7 O1 z7 V) j- s$ a0 F: @
  777. ;fastcgi.logging = 0
    6 u1 T& \6 O# A& l: x3 |1 K+ K

  778. 3 X3 {' O% W: d) k/ M0 N
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to- p1 N8 R1 n. v6 J2 y0 {! h
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  R4 m: F$ L+ W4 g
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ; |# i% [9 a4 W, e
  782. ; RFC2616 compliant header.% I& n1 U8 y8 h5 S- V5 d: P7 K; }
  783. ; Default is zero.
    6 M9 w: y4 ~0 S
  784. ; http://php.net/cgi.rfc2616-headers
    . j* S" k8 s% u- L# V) b+ V8 v
  785. ;cgi.rfc2616_headers = 0
    4 C7 ~: \; L6 q) V

  786. * E- V# p  p1 U/ I" x
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!1 i: @1 G; t) ?7 e
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ! a+ a  W# u! F, X( R
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 i2 Z, I1 D+ [" v. T+ g
  790. ; mode skips this line and ignores its content if this directive is turned on.
    6 W+ |) y, w# ?8 P- y
  791. ; http://php.net/cgi.check-shebang-line& Y9 t! i( _/ _9 r
  792. ;cgi.check_shebang_line=19 I; p' U5 x7 }" n& y/ p

  793. * r$ W% V  i3 X$ x
  794. ;;;;;;;;;;;;;;;;- q2 W# E" h- Q1 ~
  795. ; File Uploads ;
    # ~) B2 s, d7 A
  796. ;;;;;;;;;;;;;;;;
    8 W+ R2 [* N3 q
  797. % l% r3 `) Q$ s% T2 G5 \6 z8 E
  798. ; Whether to allow HTTP file uploads.
    7 l2 D2 ?: D( t9 U: a$ {/ e0 f$ C
  799. ; http://php.net/file-uploads
    3 Q$ B( }1 y' I! w" E/ |' l
  800. file_uploads = On
    * v9 `/ K% l4 [6 F$ h6 {1 x

  801. $ ^+ \& u5 m, o- I  J" J; j
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + ?/ v2 W2 Q: Z6 h# ~% g
  803. ; specified)./ P* @6 e4 E7 T2 [  N) ?2 f" E8 J
  804. ; http://php.net/upload-tmp-dir. _5 a. i) _' G7 w5 \: q5 p
  805. ;upload_tmp_dir =  X. P; v8 K: G; i0 @  O
  806. , f- T3 F& x9 z
  807. ; Maximum allowed size for uploaded files.
    " F# X' q1 P' J! e" ?
  808. ; http://php.net/upload-max-filesize
    : p; i( y1 o# b) w) U# W$ v) I+ @5 z% s
  809. upload_max_filesize = 50M) ~) H) o( t6 O, B

  810. 4 o) s  ^0 s7 c! l9 J8 _' P7 h
  811. ; Maximum number of files that can be uploaded via a single request
    / ~/ I% ]- B& _( J  u
  812. max_file_uploads = 206 ]8 _5 V* ~# n7 r2 y
  813. 0 s  l2 }( c  E  m! U1 @
  814. ;;;;;;;;;;;;;;;;;;
    # b4 M8 `# y  u1 @: o
  815. ; Fopen wrappers ;
    ! }! w/ e' A+ K
  816. ;;;;;;;;;;;;;;;;;;1 v7 y3 m7 q1 m6 c( x' M4 E

  817. 5 E: \0 j9 g7 |% {4 b
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : F5 D1 _+ |1 I2 T- H: A
  819. ; http://php.net/allow-url-fopen
    , _  I( D% ^( N& B) a% L. ^+ T8 U
  820. allow_url_fopen = On6 Z6 g! w+ A: @% A" d

  821. ; N" h) X( u' O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.5 T( a! a( g/ Y* m+ j8 `2 F0 a
  823. ; http://php.net/allow-url-include1 m3 H* G& m% P9 f; w& P# U" C
  824. allow_url_include = Off4 ^9 u8 n' q) t1 m) A0 V
  825. ) [  z5 Z  T: u1 S
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    2 E% z: M1 K, X0 O! o" J
  827. ; for this is empty.
    1 C3 t/ ^. C( D$ `. W3 h6 x
  828. ; http://php.net/from1 `$ q; t8 Z5 y5 V- Z9 w1 Z
  829. ;from="john@doe.com"
    + {2 K: V. I6 h7 c9 R
  830. ! m& k6 I" Z0 d  i5 \
  831. ; Define the User-Agent string. PHP's default setting for this is empty.& f' o' \: J- M9 K, p
  832. ; http://php.net/user-agent
    ! g* \5 d7 X) Z$ Q1 u
  833. ;user_agent="PHP"
    1 v) ^% S* `0 Z1 N% }

  834. 9 \. u+ Z% m- i
  835. ; Default timeout for socket based streams (seconds)
    3 e( t, m* z; w, @% v8 d2 D
  836. ; http://php.net/default-socket-timeout0 X% _$ T" g0 N  p6 z
  837. default_socket_timeout = 60
    : n# Q2 B. \% e2 Z

  838.   l3 t: G# B  v  X% P. f$ d
  839. ; If your scripts have to deal with files from Macintosh systems,7 R4 O1 x3 K7 y5 l( X4 I
  840. ; or you are running on a Mac and need to deal with files from
    % m& L. Q3 Z8 u: S* ^$ R
  841. ; unix or win32 systems, setting this flag will cause PHP to
    6 N: a+ t: ]* b
  842. ; automatically detect the EOL character in those files so that9 \& e- C, [9 R6 l5 J
  843. ; fgets() and file() will work regardless of the source of the file.
    8 d) v  \9 \8 ^1 d) ~2 C
  844. ; http://php.net/auto-detect-line-endings
    , ]% A# O/ V" Y8 V4 y; c4 H& [
  845. ;auto_detect_line_endings = Off
    ' d3 s, u% S& z

  846. & C* }) ]* m9 k- E" r
  847. ;;;;;;;;;;;;;;;;;;;;;;, R$ n1 a8 {  g1 n1 h: B4 j
  848. ; Dynamic Extensions ;
    # A. S- l' j0 J8 P5 {$ i  ~+ h
  849. ;;;;;;;;;;;;;;;;;;;;;;
      P7 Q& ^" O# m
  850. 7 `7 d1 l* w8 A) X9 i+ }8 N0 ~
  851. ; If you wish to have an extension loaded automatically, use the following
    ; H" ?- Z* o% R# k+ ?+ g- Y( d
  852. ; syntax:% f: O" Z+ Q2 Z3 e
  853. ;' J( k* i4 L8 J# r
  854. ;   extension=modulename.extension8 P- k1 h' Y" t0 I. F, {6 @0 R. S
  855. ;0 N8 b1 j/ C: j( J: e  g
  856. ; For example, on Windows:8 x/ d& c! a$ x% s0 b5 [% w
  857. ;
    . l9 n) \; T8 ?- y3 e
  858. ;   extension=msql.dll
    , e% a8 p3 O4 b% t% q7 Y* h4 y
  859. ;
    * l3 ~* r, y& Z
  860. ; ... or under UNIX:
    6 ~* M/ S5 }( |2 i. `' f
  861. ;
    ( c: _# {: U- z% G: ?, ^8 Z
  862. ;   extension=msql.so2 S7 G- V$ P+ l3 ?1 h% ?
  863. ;
    ( u5 t4 Y2 X. E: V1 k
  864. ; ... or with a path:
    & Z/ v6 k* G& T& G
  865. ;8 q$ N, d2 d/ V8 V
  866. ;   extension=/path/to/extension/msql.so
    ! o: e9 v4 h* D0 L  f
  867. ;
    $ }0 n: T/ m6 O! ?# U# K% G
  868. ; If you only provide the name of the extension, PHP will look for it in its6 Y' ~$ w- i7 t1 w; o
  869. ; default extension directory.- t6 B( R2 [0 n" T! `
  870. ;( r+ l. l1 C2 F0 d2 z' v9 n. H
  871. ; Windows Extensions
    0 ^$ g1 `$ O) P/ ~6 }
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    & d/ l$ m7 `* L& s. }; }  t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)2 L$ x& X8 h. @% @" O
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).4 g, L0 R  ~' P2 V$ u/ E
  875. ; Be sure to appropriately set the extension_dir directive.$ l. p& r7 P3 q
  876. ;' u' l: D9 a* F# j: w( i% v
  877. ;extension=php_bz2.dll
    1 M. A/ W" v6 M+ a0 K' \9 M
  878. ;extension=php_curl.dll% x2 E3 ~) x# A- l: E$ p0 t
  879. ;extension=php_fileinfo.dll% z" A$ O; i/ @6 I; n
  880. ;extension=php_ftp.dll
    1 p# z' U- e& S% A
  881. ;extension=php_gd2.dll* s/ d, B6 a* o8 m- z
  882. ;extension=php_gettext.dll% o* b  s+ P8 f( e9 P- i
  883. ;extension=php_gmp.dll( E* X6 U- t: e( m( X8 Z
  884. ;extension=php_intl.dll$ `( ~4 C* Q( e: M+ v# k
  885. ;extension=php_imap.dll
    " l2 F. c( b' d) V1 Z5 Y
  886. ;extension=php_interbase.dll6 C' ^( ?5 a% k4 e$ d
  887. ;extension=php_ldap.dll& n9 k- W: r- e% j4 I# r5 i8 X
  888. ;extension=php_mbstring.dll
    1 J) Z( G& q9 {* O9 V& R1 q: W
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + M1 h" t; ^1 d, @" g7 N, n
  890. ;extension=php_mysqli.dll
    ' {0 `& A- s0 p
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client0 G5 Y1 I2 o5 H  y, e
  892. ;extension=php_openssl.dll
    5 A% `) c$ n$ M' a
  893. ;extension=php_pdo_firebird.dll2 q- s1 R/ Q$ K
  894. ;extension=php_pdo_mysql.dll
    5 [5 f) \  l( {" q
  895. ;extension=php_pdo_oci.dll
    6 B; a, O4 n1 P! a0 `) C* v6 @
  896. ;extension=php_pdo_odbc.dll
    0 L2 e0 U# R" o8 v/ t
  897. ;extension=php_pdo_pgsql.dll# F4 f4 Z- S, {- V4 k+ l+ `- E1 _
  898. ;extension=php_pdo_sqlite.dll
    / f; S$ f  M0 J* h
  899. ;extension=php_pgsql.dll9 o7 t0 G/ l* d; {% C- }6 a" Y
  900. ;extension=php_shmop.dll
    4 U, S! Z0 C- b. |
  901. . m- k; }9 m% w! B2 L# ]1 P
  902. ; The MIBS data available in the PHP distribution must be installed.
    + K+ \5 t+ b/ y: @5 H* j4 e
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ! Z  M2 ^7 D1 v0 f; F# b' g; f
  904. ;extension=php_snmp.dll* o0 i& b! X8 c* j0 G7 I; S/ V& l
  905. 1 ~* s3 A& l* X% v1 |
  906. ;extension=php_soap.dll2 v6 y  I8 }2 ?( v5 N; Y6 Q
  907. ;extension=php_sockets.dll" N6 ~* m2 O1 L! y2 M3 s
  908. ;extension=php_sqlite3.dll. j. \# F: i0 d0 y& U8 I- l* K
  909. ;extension=php_tidy.dll
    2 }! ?) a2 x+ z, @1 }
  910. ;extension=php_xmlrpc.dll# C8 d. B4 Z7 `% O. s* X
  911. ;extension=php_xsl.dll
    4 K1 r7 {8 I8 ^

  912. 2 h, l* P, v% w
  913. ;;;;;;;;;;;;;;;;;;;. C. T( s# C5 ~, ?/ U. [
  914. ; Module Settings ;
      c" O3 j( X5 V( A1 m
  915. ;;;;;;;;;;;;;;;;;;;
    ; Q) r( y5 C% E# ?; ^. a5 G
  916. ; q0 ]% R; ^) M* @+ H5 Q9 L" M
  917. [CLI Server]
    0 s4 E: Q; f- M
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    / w% e$ G, [( E, ~3 ^
  919. cli_server.color = On
    7 B, Y  K. r+ o
  920. . N6 Z( o! s9 S% u3 H0 l
  921. [Date]9 o* y6 j6 S. d  ?
  922. ; Defines the default timezone used by the date functions. @8 y  p& g- P) F
  923. ; http://php.net/date.timezone: k% g% G; H3 v6 H
  924. date.timezone = PRC
    . A2 j3 E* J2 {0 l7 S: B5 E2 s

  925. * _/ C5 q3 f/ @. }  x8 B
  926. ; http://php.net/date.default-latitude$ R& O0 D8 s0 H6 B5 B
  927. ;date.default_latitude = 31.7667
    . m5 B& L( k. i# V  x

  928. . F+ W7 n2 h3 _: U
  929. ; http://php.net/date.default-longitude
    5 _# Z- B7 @# N) q! \
  930. ;date.default_longitude = 35.2333
    2 T7 z9 `# X$ l, |! i2 p% F

  931. 9 o7 ?* P  x' b, K6 W$ D  A
  932. ; http://php.net/date.sunrise-zenith
    7 _, s+ z2 L5 s' v
  933. ;date.sunrise_zenith = 90.583333
    0 L3 ~5 K/ u) D- n# B

  934. - I: Q0 P9 b' |! e' A
  935. ; http://php.net/date.sunset-zenith! ]0 H5 Y( |% V1 E$ Q1 r9 \# w
  936. ;date.sunset_zenith = 90.583333, l# d) k' o& G5 h
  937. : q( d1 _, Q8 ?8 W, g! L8 S3 z
  938. [filter]
      e4 v$ l! ^1 x2 Z& b
  939. ; http://php.net/filter.default. Q8 a: ?6 S. h
  940. ;filter.default = unsafe_raw; @9 i$ B# S! m! z: T6 ]$ B) V
  941. # Z1 i. |+ K! r7 P) R- u( Z
  942. ; http://php.net/filter.default-flags1 x  X% E4 a3 R* W3 n, M- x
  943. ;filter.default_flags =
    , p2 Z6 x5 d/ C9 j

  944. 5 j) Z* @0 w$ t- E1 y6 Q+ |- O- \
  945. [iconv]
    - N7 t8 l, _5 G& ^$ }$ j: G' i0 R
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.6 w; C5 }0 {! j1 y, S
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* x6 T% I8 d4 w& |! U$ A
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, u% G9 R: _8 u: A" j7 X$ C
  949. ;iconv.input_encoding =
    9 h, x1 h! y7 C5 y. T

  950. $ g5 {: B0 U% i' p3 S& P3 T& `
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., Y6 D: j+ Q% @
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ Q2 Q% F( w; R5 t- k4 ~, z1 u
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , m3 E* p8 E% _
  954. ;iconv.internal_encoding =& J  p% {2 M* j9 R) O! ^

  955. & R' x0 h# T1 Z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: v# S* b0 K# _9 o5 }
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.. U. b- k3 e6 {" Y& K! j1 ?
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 p& f6 X( N8 C% h
  959. ; To use an output encoding conversion, iconv's output handler must be set
    $ n! n/ p0 n- G  c
  960. ; otherwise output encoding conversion cannot be performed.: y3 s3 M- ~% A$ b
  961. ;iconv.output_encoding =" w  O6 r- q! G( L

  962. * r5 [3 [% m1 f$ {9 D- y2 f0 r4 `
  963. [intl]
    ! V$ e( e) J: x( i' K" I0 N# ^9 j
  964. ;intl.default_locale =$ }9 j1 a' S0 K  m& c
  965. ; This directive allows you to produce PHP errors when some error
    $ O( L0 |. ?* h
  966. ; happens within intl functions. The value is the level of the error produced., x6 l1 t* E( H7 B8 s5 G1 ?
  967. ; Default is 0, which does not produce any errors.2 m/ p" e) @* {! n% Y. t2 z
  968. ;intl.error_level = E_WARNING
    / Y' C" @& t2 A/ c: ^
  969. ;intl.use_exceptions = 0: q. k$ y2 p9 O5 G; H0 d/ J0 |  v
  970. + i2 `) O: t- r# ?- `8 N
  971. [sqlite3]
    & x! T% Z' h# \; g4 s
  972. ;sqlite3.extension_dir =  T2 y. v$ z2 ^. V

  973. / z$ _# ]2 |8 T
  974. [Pcre]4 u7 N. S) w+ Y7 s7 f( S3 T
  975. ;PCRE library backtracking limit.
    ! A6 j' t& Q! x  q! a% G, c6 M
  976. ; http://php.net/pcre.backtrack-limit
    * Q' p* g7 B' m+ U4 B0 w" l
  977. ;pcre.backtrack_limit=100000
    7 n" Z$ q7 m* b7 m8 ^, p4 t

  978. 4 V: {; K2 b2 ~& ^+ o4 j
  979. ;PCRE library recursion limit.. d; j+ g4 b; [7 V$ _
  980. ;Please note that if you set this value to a high number you may consume all
    - ~& c' ^7 m' R1 X6 e! @
  981. ;the available process stack and eventually crash PHP (due to reaching the
    9 K/ Y  t6 u2 g4 o" h* t! u* Y4 K
  982. ;stack size limit imposed by the Operating System)./ S2 t" _1 [+ a! x6 _6 `
  983. ; http://php.net/pcre.recursion-limit. b' O; r, }- t; l6 L
  984. ;pcre.recursion_limit=100000
    ( @, b- J+ W1 A; |, W, w" E5 g) R
  985. : k& `5 F" P! E1 T% ~
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    . p7 y* w/ o: O. b; C9 b
  987. ;library to be compiled with JIT support.
      L+ s4 B" a$ E& u7 H
  988. ;pcre.jit=1
      S7 g4 V9 |; _' D5 X' n
  989. ( ]/ w. s, l6 S* ~. m! m
  990. [Pdo]* d5 X4 r! H- F% x3 W) o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! P( K/ V) K' H* \( H+ k
  992. ; http://php.net/pdo-odbc.connection-pooling
    + D: q$ L- i0 O4 _# P- L6 n
  993. ;pdo_odbc.connection_pooling=strict
    ) b% {! J9 @7 q
  994. : u( Y7 \, f: x/ V1 X& o# U
  995. ;pdo_odbc.db2_instance_name4 K7 t6 o4 T' e$ w0 ^. {1 t
  996. # ^6 P  H- ?! g  k+ K& x1 K
  997. [Pdo_mysql]
    / K+ ^9 Z7 c9 b
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 g( K1 ]- P" y) H
  999. ; http://php.net/pdo_mysql.cache_size
      Q' \1 N. [% b  K
  1000. pdo_mysql.cache_size = 2000
    / T( V% c$ I' ]3 \# w( S
  1001. 8 E( ?% t  X; K  k3 |2 S- z# |7 k% U
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - R& |7 ]1 f3 y7 @) t( z
  1003. ; MySQL defaults.7 y& E0 p( o: M* X
  1004. ; http://php.net/pdo_mysql.default-socket
    : o: N0 [% y2 L
  1005. pdo_mysql.default_socket=
    9 h  y  D" S3 J9 `

  1006. / ~/ N/ o5 u2 _7 }
  1007. [Phar]7 @0 j9 P0 r' k6 s2 U3 Y1 G
  1008. ; http://php.net/phar.readonly
    ( t2 K5 u: R: U4 x
  1009. ;phar.readonly = On5 _7 H4 e6 E2 Q% c/ M5 X! m

  1010. 0 e( v, X# h, `( W9 Y
  1011. ; http://php.net/phar.require-hash  k) L5 n0 g% k% s$ d
  1012. ;phar.require_hash = On. ~  [# u$ D$ s6 E8 k7 T: A; i
  1013. . G/ Q% V3 C& Z' o* j! M
  1014. ;phar.cache_list =
    0 X9 V! k$ s4 P; R1 o0 n
  1015. & b/ _5 R/ I0 r" I! j
  1016. [mail function]2 n- u/ ~$ J6 O4 m) X4 s
  1017. ; For Win32 only.5 Y  V8 l. q" z' X% ]
  1018. ; http://php.net/smtp$ H1 s3 F8 f6 h$ o  m9 i- A/ s
  1019. SMTP = localhost! k7 C% x% ~. z- @. N9 @
  1020. ; http://php.net/smtp-port* T5 ~( s$ k5 l; h  u+ h  @  J  q4 W' n' E
  1021. smtp_port = 25( o" ?$ d# i  Y

  1022. 3 x- x8 H& @! q  b* Q' m
  1023. ; For Win32 only." g6 v# J, L- Y. N, j5 v; C6 ?6 A
  1024. ; http://php.net/sendmail-from7 Z, V# v: `& j
  1025. ;sendmail_from = me@example.com
    7 W* E& g1 A$ T% _6 h) U, a  p
  1026. ! ^! [# T" I, H' U
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    , T3 t% v0 Y3 Q9 W
  1028. ; http://php.net/sendmail-path/ ?% U9 a! g- |1 y0 [
  1029. sendmail_path = /usr/sbin/sendmail -t -i4 ?4 H4 b: w% u( R' n
  1030. : ?3 @3 S! k) w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters# i8 q: k6 I9 s6 }+ E  u
  1032. ; to the sendmail binary. These parameters will always replace the value of0 n0 u  }5 r' k; v) L# m
  1033. ; the 5th parameter to mail()./ F) H2 `3 q2 ?4 ?0 s
  1034. ;mail.force_extra_parameters =5 `3 s* s2 z; c- T' M- X$ i

  1035. ( _) e& R$ q% }/ \# k
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    % x0 N) z9 b4 p4 ~1 A! C* ]- m
  1037. mail.add_x_header = On5 m+ Q3 S" Y5 U- N- Q- |% K
  1038. + c+ R; o" j$ m9 ~8 Y* a0 W9 V7 R
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 k/ V- G, b1 J* {
  1040. ; the full path of the script, line number, To address and headers.) \$ P; M* B& t6 S2 j$ z
  1041. ;mail.log =
    8 _5 J6 T: r6 S; B& ?
  1042. ; Log mail to syslog (Event Log on Windows).. S9 R1 N7 a4 [, u
  1043. ;mail.log = syslog0 T  O# K. A3 C) f0 C' j8 @
  1044. / F  s7 I" X7 ^0 W, o
  1045. [SQL]5 ~+ `1 [3 X$ g& a3 ~
  1046. ; http://php.net/sql.safe-mode
    # [7 L9 h4 m7 G" |! M
  1047. sql.safe_mode = Off9 E+ U8 g' U5 ]  j& Y) d- ~

  1048. 2 H/ C. E9 v& U  W* g
  1049. [ODBC]
      F  w5 O* O1 X+ K- O) y" i
  1050. ; http://php.net/odbc.default-db
    $ c& q4 x* m0 M# B) Z: f
  1051. ;odbc.default_db    =  Not yet implemented
    ; T1 m6 @# j& J
  1052. 3 u% h* U) Q6 j- C
  1053. ; http://php.net/odbc.default-user
    ' V( J3 Q+ @+ s/ m  t
  1054. ;odbc.default_user  =  Not yet implemented' T+ g* M8 [& x; {; M) m

  1055.   N$ }) [5 P- b9 Q
  1056. ; http://php.net/odbc.default-pw" B, s5 O6 W) u6 i, ^9 f8 _
  1057. ;odbc.default_pw    =  Not yet implemented0 I7 T  k7 e. U" o) }6 f2 i" U

  1058. 6 S) ^* X' R$ v3 c0 o
  1059. ; Controls the ODBC cursor model.
    0 ^3 U7 V+ _$ f) X& Q. J) y, Q
  1060. ; Default: SQL_CURSOR_STATIC (default).: [* S; w; K! q( h
  1061. ;odbc.default_cursortype6 F$ `+ N2 P4 u& i' w, t+ I

  1062. 3 e, I! m! D5 O* C" y
  1063. ; Allow or prevent persistent links.
    4 ^. E% V) `' ?; C3 p$ \# U
  1064. ; http://php.net/odbc.allow-persistent
    " g/ C' B0 l; S* \) {' q
  1065. odbc.allow_persistent = On
    8 U* l. S% a3 C. L4 T
  1066. 4 E, O8 ~% e9 }% k1 P$ h
  1067. ; Check that a connection is still valid before reuse./ X$ B) Z8 t6 L: V; d
  1068. ; http://php.net/odbc.check-persistent& X. ?; O4 g! @
  1069. odbc.check_persistent = On0 c- ]* p. J/ ^9 V# ~

  1070. . O! e. F6 u1 L- t
  1071. ; Maximum number of persistent links.  -1 means no limit.* m9 y( s% v  O+ A+ C$ r7 Y3 S0 f
  1072. ; http://php.net/odbc.max-persistent
    6 {2 [! p! b" J% L# H  i' k
  1073. odbc.max_persistent = -1- T* Y% h9 Z" x
  1074. . U* K, t& K/ ~6 l0 ~$ q. Q
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 H% R- Z+ R) W1 `& s9 C
  1076. ; http://php.net/odbc.max-links
    " g) ]( k4 g9 n
  1077. odbc.max_links = -1
    # N3 a. v) y0 {4 N
  1078. / U7 u- C9 J7 j! p! R1 W
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    . C; N' J# h0 d$ w3 ~$ u
  1080. ; passthru.
    ; R6 x) k. d& j# D
  1081. ; http://php.net/odbc.defaultlrl
    " \$ C1 O0 S' U9 l
  1082. odbc.defaultlrl = 4096
    , Q: |8 w/ y' N6 ]) `

  1083. 9 ]# ?4 e9 E. _  Q+ B
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 l; F& v+ \6 Z2 D- I/ }
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) r8 |: N+ R2 B- B8 G
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode/ @7 R  U: Y) Z" T  p
  1087. ; http://php.net/odbc.defaultbinmode
    9 a7 h6 j$ V3 I3 Y- ]6 ?) A5 N
  1088. odbc.defaultbinmode = 1
    8 B5 [' X  D2 v
  1089. ! ~. T/ p: X2 Y% z$ p5 R+ W8 t( G! C
  1090. ;birdstep.max_links = -1
    : l8 e  R$ A9 U. U# q

  1091. 0 X- e7 ?9 ^' {5 m8 b% d7 w- o
  1092. [Interbase]
    6 u. H8 h8 W% B2 b
  1093. ; Allow or prevent persistent links.4 t. t3 ]3 L1 f4 t; T5 U  G1 P$ T
  1094. ibase.allow_persistent = 1& ^+ O, m1 J; Z; i# }/ Z( U) i
  1095. ) B/ L2 T, N8 `$ {. c2 r9 M
  1096. ; Maximum number of persistent links.  -1 means no limit.
    3 }) M6 }$ q& A& k* c% J; i
  1097. ibase.max_persistent = -1$ ?2 c! ^" u$ @' A# z$ U

  1098. " M: j% j& S. O1 E& i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 w8 G* p8 s( P2 z8 r  c# M
  1100. ibase.max_links = -1( C8 k7 d$ q, N! e. `/ ~

  1101. ; H; o! }3 p, o: u& t4 C
  1102. ; Default database name for ibase_connect().
    1 ?/ ?" C9 Q) _$ G, A% b
  1103. ;ibase.default_db =: c% T" g! e* H. [/ P) [+ W
  1104. : @( i6 |7 H, y
  1105. ; Default username for ibase_connect().- q6 b# l& G$ L: ]: ^' u" c6 r
  1106. ;ibase.default_user =
    * n. O- P9 B! ?" w" \3 [! |

  1107. 8 H( K: B% i+ t
  1108. ; Default password for ibase_connect().
    & D# L' p0 ~% g, S
  1109. ;ibase.default_password =; a' H1 n9 g" k  Q$ Y# H5 ]/ ]

  1110. ! \: H! F5 I( m2 F1 _( K
  1111. ; Default charset for ibase_connect().9 p; w' D( \7 y5 Z! a# Y) P& v
  1112. ;ibase.default_charset =
    ( i4 a9 E1 y, b6 E. t. a7 r

  1113. 9 I: E: O; ?/ n& R
  1114. ; Default timestamp format.
    ' Z5 v8 h" ^& o. X6 I8 P
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : V8 ?# Z' I; |. T3 e& c4 B4 Z) L

  1116.   l) Q  s3 n8 ?2 P' R
  1117. ; Default date format.9 v* X% Y) y; S: P# q& l% U
  1118. ibase.dateformat = "%Y-%m-%d"
    0 M4 Z, U5 w0 G0 Q+ L# `
  1119. + M  X0 f8 [' g6 D7 ]
  1120. ; Default time format.
    9 I0 S0 U  \: P1 w8 Q" F. g$ Y
  1121. ibase.timeformat = "%H:%M:%S"
    $ h+ W5 y- o2 D+ M5 W! K" h
  1122. , r6 u/ p5 [% N% o# W0 [6 {2 F3 B
  1123. [MySQLi]
    & z9 p/ j8 h3 E! q' W& ]
  1124. . S& L5 C% a( s" D# F8 g& i- S7 D
  1125. ; Maximum number of persistent links.  -1 means no limit.
    1 Y8 y6 w2 }0 ]: k# Y5 p- F* s, T
  1126. ; http://php.net/mysqli.max-persistent
    - b6 U, _6 i' k7 F2 U
  1127. mysqli.max_persistent = -1
    % v' n1 d; S* ~' {( ]- F
  1128. . t6 Q- _5 P- s
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 M& Q' |: q- h* d* D1 K
  1130. ; http://php.net/mysqli.allow_local_infile. \$ n% X& P: u7 y
  1131. ;mysqli.allow_local_infile = On( j  q, \1 j- k. t+ Q
  1132.   o8 _- M/ w7 k. h
  1133. ; Allow or prevent persistent links.3 ?2 z$ g' Z; d0 K( h( J% ?
  1134. ; http://php.net/mysqli.allow-persistent# I7 }8 Z# K7 b) E
  1135. mysqli.allow_persistent = On
    " b+ E7 _/ n) q! p
  1136. - s/ w% z- k1 u' R! z3 M9 s
  1137. ; Maximum number of links.  -1 means no limit.
    ! p6 o+ B- W! u! T! w
  1138. ; http://php.net/mysqli.max-links
    # }1 D1 E: {3 w8 c% d
  1139. mysqli.max_links = -1
    1 u1 Z; E: g$ i  Y9 z7 v

  1140. + r3 N& G/ d9 I$ [
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 m4 n. h5 b5 U2 \* s5 U
  1142. ; http://php.net/mysqli.cache_size1 A# Q9 H3 Q  l* T* H4 C+ o
  1143. mysqli.cache_size = 2000- l5 k0 R( Q5 V* c# V. ?/ [) Y
  1144. # C+ W# u) ?; v4 o
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 |+ ]1 A, X0 l+ |
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 }6 U6 z& l# n5 E' G- I/ v* p6 M
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . N6 U5 L! J" v: U, Z0 e
  1148. ; at MYSQL_PORT.
    7 `* z' s4 k& F
  1149. ; http://php.net/mysqli.default-port
    7 z5 ]& j1 A7 v4 S& b
  1150. mysqli.default_port = 3306
    $ w! u9 {9 Q- N  g& n; y

  1151. " R0 u7 r* a/ \5 d, M8 `
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 X2 n  q7 H+ n
  1153. ; MySQL defaults.
    + L$ _' c7 X, [; D
  1154. ; http://php.net/mysqli.default-socket
    5 u; K7 H+ {" a. {8 j/ @. I, W
  1155. mysqli.default_socket =: {9 D! [& U( l# @5 P: C# |( |* @- p5 B
  1156. ' z) p! C; j3 d
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).( F  O( f: _  Z. L+ ^
  1158. ; http://php.net/mysqli.default-host7 |! f3 |5 K0 z$ R3 L
  1159. mysqli.default_host =
    % D7 |" g9 h. P1 _9 P

  1160. # v0 _. \9 H8 f3 N: O: v0 N
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 A7 @( s8 q, Y2 Z
  1162. ; http://php.net/mysqli.default-user# Y3 T$ l  v' x" k
  1163. mysqli.default_user =
    4 [7 u( T: f1 K# c
  1164. " [$ Y. Z6 r% w: D$ F8 Y' A/ v
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ r, @3 }+ ~! _; k
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    / K6 n" I, U, X& u: ]  I+ B
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 O" |4 i! w0 y3 M$ ^0 U
  1168. ; and reveal this password!  And of course, any users with read access to this: o( W- r$ J& `* x9 S
  1169. ; file will be able to reveal the password as well.
    ; s- V9 I& H0 n  l- f
  1170. ; http://php.net/mysqli.default-pw- b9 a; d! \) N& {' B7 P
  1171. mysqli.default_pw =! O' u' c  d% N3 W

  1172. + Y& ?- |/ H5 E7 \0 d- K
  1173. ; Allow or prevent reconnect
    ; o" ~& @4 k. R$ W( x. T! J
  1174. mysqli.reconnect = Off
    : o3 o# B9 M7 s; S

  1175. & p' s% w; u5 K% v- z
  1176. [mysqlnd]
    & y; x, \# m1 X; g0 Y. ?( P
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ) d( V/ s  L% ]
  1178. ; used to tune and monitor MySQL operations.
    5 Y6 X8 H) [1 l& Y' w
  1179. ; http://php.net/mysqlnd.collect_statistics
    $ \0 b) I; m' a+ r4 p
  1180. mysqlnd.collect_statistics = On2 a: y5 D; b' \# M& ^0 N8 c9 v

  1181. 1 V4 Q% f2 [+ K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be" v, l5 M1 J( ~6 D' _2 h- b* ^2 P
  1183. ; used to tune and monitor MySQL operations.4 o4 `6 M* b* G; d2 A' A0 ~! Z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# D8 @" ~0 T4 B" I5 X: Y1 c
  1185. mysqlnd.collect_memory_statistics = Off6 d' p" J% c& L! g

  1186. 1 b$ A3 ~5 p$ ^" B4 n& k. S1 p* B5 Z6 R0 g8 d
  1187. ; Records communication from all extensions using mysqlnd to the specified log' h+ {2 E3 `1 q
  1188. ; file.
    8 b3 V' U" y! w- T. ~# a
  1189. ; http://php.net/mysqlnd.debug
    : \5 h4 U( R% k: E% h: w
  1190. ;mysqlnd.debug =/ j9 _0 F4 Z$ I

  1191. 6 S7 |4 a9 T; `; U( k
  1192. ; Defines which queries will be logged.
    ) B, |3 b4 Q: e
  1193. ; http://php.net/mysqlnd.log_mask$ o9 S4 R! l# E% U' Q
  1194. ;mysqlnd.log_mask = 00 j& w2 [5 U' B
  1195.   V0 y8 J- a% b7 ]3 l; y- ?7 I$ r- D  ]
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 @/ P- ^. ]! `3 q6 r2 `
  1197. ; http://php.net/mysqlnd.mempool_default_size
    & e- ?4 x) n- B9 j( ^5 V
  1198. ;mysqlnd.mempool_default_size = 16000
    % H2 F1 `# o$ P

  1199. / ?: H- G8 d; \* E! F' D
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& c( l: V! N  C  z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size9 l8 M  o% w0 p. P
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
      @# }/ {# S1 @: R

  1203. 8 d8 m2 |& @8 E3 q' f  [" W
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" |+ _+ r, q& X2 W/ b
  1205. ; bytes.' a# d2 i1 Y0 c9 n& T! }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size$ D$ T, c1 J# ?1 N
  1207. ;mysqlnd.net_read_buffer_size = 32768( J+ D& P' A% L0 a# H, M

  1208. 4 O1 P+ V. n& \$ B# S
  1209. ; Timeout for network requests in seconds., L- d5 j2 q& g  Y7 Q$ x$ n: t
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ( Q, N2 p, i) g3 R- }
  1211. ;mysqlnd.net_read_timeout = 31536000& i  D, }) a6 u7 R8 k* B1 F
  1212. 5 j4 A1 W% ]6 I* J. Z
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 q0 H6 D5 H4 o
  1214. ; key./ t1 C6 E$ H* R/ [. a
  1215. ; http://php.net/mysqlnd.sha256_server_public_key* H9 O4 C# Q, m; f" r
  1216. ;mysqlnd.sha256_server_public_key =
    $ y; b9 k! V. K+ A
  1217. ( T* V9 [( B$ e8 `8 W% x
  1218. [OCI8]
    ; Q9 K, z; h: e3 i7 _$ v3 ^
  1219. 3 {1 r' t- f0 L2 s) {) ?/ K0 x# l7 C
  1220. ; Connection: Enables privileged connections using external0 `$ A: _2 H3 L1 R% i! o+ \5 \# a
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA), r1 y9 i; F% `7 y( m
  1222. ; http://php.net/oci8.privileged-connect
    : W4 n2 Y; ?* c  u* p  l
  1223. ;oci8.privileged_connect = Off7 W% ]! g2 F% |* v# q- X0 s0 M' E
  1224. - B! m# I- @5 ]7 o; I1 E. K0 V" }
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    0 i" y% f' Y; X
  1226. ; process. Using -1 means no limit.( B" M7 k7 n2 C1 E$ Z3 g5 i
  1227. ; http://php.net/oci8.max-persistent
    0 F: Z4 H9 v+ X) e& ?/ K8 ~
  1228. ;oci8.max_persistent = -15 Y! E/ b! u% |! A9 U2 J! o

  1229. + F/ C: v  S, [, z: |
  1230. ; Connection: The maximum number of seconds a process is allowed to
    % z' c5 {& s+ e- W* |7 n
  1231. ; maintain an idle persistent connection. Using -1 means idle5 M$ l' A9 G2 P# H( M% q
  1232. ; persistent connections will be maintained forever.
    2 y0 _" g& ~% M% }
  1233. ; http://php.net/oci8.persistent-timeout* U+ `) a# d4 E7 a  d
  1234. ;oci8.persistent_timeout = -1& J, H& ~7 `4 D- Y

  1235. 0 d. A: k+ p, B. F% P% E
  1236. ; Connection: The number of seconds that must pass before issuing a
    ! T: |; A* l! L  C0 L! v
  1237. ; ping during oci_pconnect() to check the connection validity. When- ^! u1 B! u3 Y( b# t+ I6 T8 F3 i
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    3 k: H7 p! R0 d# A+ ]' u9 H  U
  1239. ; pings completely.
    - Y5 `0 U$ `$ {# B; |1 |
  1240. ; http://php.net/oci8.ping-interval* i" d) \  B1 k
  1241. ;oci8.ping_interval = 60
    " W5 r2 k$ i: [* ~. `! P

  1242. ; h: x! e( N1 r) u! T' y" ^
  1243. ; Connection: Set this to a user chosen connection class to be used
    3 P. A  [/ w0 @% Z% n) g& R: Z
  1244. ; for all pooled server requests with Oracle 11g Database Resident. Q- t1 r% U9 R
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    & N& P8 |+ n9 @/ r' q# V
  1246. ; the same string for all web servers running the same application,; g$ l( I7 e7 B8 H/ X
  1247. ; the database pool must be configured, and the connection string must! V9 \) e0 I* T- J& v
  1248. ; specify to use a pooled server.5 s6 U  R) U" s" e6 a6 P
  1249. ;oci8.connection_class =
    5 V! p) f4 h  M1 r9 w& i6 c/ J$ u/ x
  1250. 9 b4 w' d  r3 V# [9 K2 `; G, u: q8 T
  1251. ; High Availability: Using On lets PHP receive Fast Application
    2 o' `$ i% T: p/ R! n1 X4 \$ V
  1252. ; Notification (FAN) events generated when a database node fails. The
    0 e: @) G& O& ]/ U
  1253. ; database must also be configured to post FAN events.
    . G* z+ e/ L3 V- O
  1254. ;oci8.events = Off
    # L9 |3 ]/ Z) v( r

  1255. / Z: p  I4 s0 i5 b, ^4 |  ?
  1256. ; Tuning: This option enables statement caching, and specifies how
    : g7 H- A2 L1 F; `% B3 F& F
  1257. ; many statements to cache. Using 0 disables statement caching.
    ) f! R, |/ F5 D% [" A
  1258. ; http://php.net/oci8.statement-cache-size
    - |6 q- a" D- F2 E* o
  1259. ;oci8.statement_cache_size = 20, r7 a2 r8 }2 b# \/ f! a9 ~
  1260. , \7 J3 r4 q% R% _
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    4 C0 P2 p9 v7 F/ x# M+ N
  1262. ; rows that will be fetched automatically after statement execution.5 Y3 H8 n- R7 j5 D0 i
  1263. ; http://php.net/oci8.default-prefetch
    & v: {9 D1 ]* v4 k, g
  1264. ;oci8.default_prefetch = 100
    7 R% V8 c$ y4 k% m+ [& @2 Q
  1265.   k7 F: Z& |- C" E; G
  1266. ; Compatibility. Using On means oci_close() will not close
    8 Q4 M" ^/ F" @9 Q
  1267. ; oci_connect() and oci_new_connect() connections./ \. r# R- g/ b6 G# z
  1268. ; http://php.net/oci8.old-oci-close-semantics( ?# E% x& L, D/ j
  1269. ;oci8.old_oci_close_semantics = Off- K' U- D, c: ^! v

  1270. 8 [! e: H) U$ @  y
  1271. [PostgreSQL]
    : M5 v9 ]$ p7 i  \
  1272. ; Allow or prevent persistent links.
    / X" F& X/ `: V. o
  1273. ; http://php.net/pgsql.allow-persistent
    . E# I" j- d. t. h9 l( S( A) \
  1274. pgsql.allow_persistent = On7 a5 `  n5 J2 m/ g2 D( @
  1275. $ G, ?3 n( a+ Z# k3 Q9 O- y) j- Q
  1276. ; Detect broken persistent links always with pg_pconnect().
    $ p6 n0 P+ Q$ f) v$ t4 w1 \. Q
  1277. ; Auto reset feature requires a little overheads.+ C8 q9 {& m+ R4 E, S+ k
  1278. ; http://php.net/pgsql.auto-reset-persistent" M3 h1 S' |% `- s0 o! Y
  1279. pgsql.auto_reset_persistent = Off
      b8 h. z0 n/ p* j
  1280. 6 b, L( l/ X8 a
  1281. ; Maximum number of persistent links.  -1 means no limit.
    + m- L% c1 l: E+ _5 R8 t
  1282. ; http://php.net/pgsql.max-persistent
    0 f- m. N& p" c7 n
  1283. pgsql.max_persistent = -15 S9 L3 J9 E& N) Q
  1284. + R1 H# j3 \1 C7 K; ?
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! v" x+ K8 Q! i6 o
  1286. ; http://php.net/pgsql.max-links) E+ b4 m4 P; ]
  1287. pgsql.max_links = -1! j# U! M, }/ i- G+ {6 m! o  X) }

  1288. % Y4 i$ o* c- e/ p. J# P  t
  1289. ; Ignore PostgreSQL backends Notice message or not.# l' v0 P$ }. r. i
  1290. ; Notice message logging require a little overheads.! _1 |  ]1 c1 ]1 B
  1291. ; http://php.net/pgsql.ignore-notice
    3 s/ T$ {4 o, D* v& t  w
  1292. pgsql.ignore_notice = 0
    ' H' a6 e8 u! K

  1293. 4 R8 Q8 C$ `8 N( i' d1 I) x
  1294. ; Log PostgreSQL backends Notice message or not.
    : v7 u5 K" @3 {
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.. q* K8 H% {: R+ a' I
  1296. ; http://php.net/pgsql.log-notice
    $ k* V+ m+ _( s' Y9 T9 R
  1297. pgsql.log_notice = 0
    $ ^0 z1 t8 ~7 V# O+ k3 b  M! d6 |

  1298. " Y5 k. w8 m7 C0 L$ u3 \/ V, z7 ^
  1299. [bcmath]6 ~1 M/ q4 [1 h9 C2 J3 h
  1300. ; Number of decimal digits for all bcmath functions.- a* {3 t7 Z/ P3 {6 q" N$ |1 h
  1301. ; http://php.net/bcmath.scale7 ]1 b- N( a2 j
  1302. bcmath.scale = 0+ @5 ]1 ^" I, `4 d) ]5 }

  1303. # I5 k6 n# H* N3 h. ]  q  D7 M* v% J
  1304. [browscap]
    4 R, q& O% n$ i# ]
  1305. ; http://php.net/browscap
    " t0 R  P3 v- ]
  1306. ;browscap = extra/browscap.ini5 ~/ p7 x9 z# s8 B1 i
  1307. ! I4 k5 T3 |' r, G7 I9 v1 w: x
  1308. [Session]" d( ^& ^$ E5 H
  1309. ; Handler used to store/retrieve data.
    3 w- x6 f1 j; v) ]) a
  1310. ; http://php.net/session.save-handler% w' ?5 I" I5 J! Y$ `: ^
  1311. session.save_handler = files
    ( H! D0 l$ a! \5 i4 V; `
  1312. 1 N3 r: ^0 F, w4 D7 }* C0 H: {; J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path6 U" v: r" b6 w% a) m: d8 l
  1314. ; where data files are stored. Note: Windows users have to change this# I* Y* w8 v/ ?! W4 X$ M
  1315. ; variable in order to use PHP's session functions.3 |7 y& C# Q% [" D7 `3 Y7 q8 O
  1316. ;
    ! |) m9 m) f- X; b. J$ K& s
  1317. ; The path can be defined as:" m- C3 B$ ~: \9 l$ V
  1318. ;
    1 W: {+ p( [$ J% N* K
  1319. ;     session.save_path = "N;/path"
    9 p# [9 _- |: z) f: g4 t- u# Z1 X2 z
  1320. ;( X, T4 r. y8 a8 m& G- _' [. [
  1321. ; where N is an integer.  Instead of storing all the session files in
    & g# L2 ~' r% n0 D- g  I0 c. z# v( E
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    1 P; I0 m8 c' [8 G+ H* |" \# ~9 S3 [
  1323. ; store the session data in those directories.  This is useful if$ e: H% ?; Z8 {, j
  1324. ; your OS has problems with many files in one directory, and is
    & g" z, @0 F# D+ ]
  1325. ; a more efficient layout for servers that handle many sessions.
    ) D4 K: n* y8 q# P: c8 m1 n
  1326. ;, m" Z6 J- m+ \# A9 n
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    / {; F: h2 W8 H  ^
  1328. ;         You can use the script in the ext/session dir for that purpose.
    . R9 d8 Q, M% |3 s+ ~1 w' U
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    * J8 }2 B4 M5 g( T
  1330. ;         use subdirectories for session storage/ v% V  W. t- T3 Q' d+ e( b1 b( O
  1331. ;5 x6 j4 d* D0 [
  1332. ; The file storage module creates files using mode 600 by default.
    6 `2 O4 M, y2 |7 Q. N
  1333. ; You can change that by using$ T. L) @- j7 ?. t* e+ p2 O# L
  1334. ;
    7 K$ w7 A' U4 a9 B' x9 T. m, Q
  1335. ;     session.save_path = "N;MODE;/path"/ E8 i: S" H4 f9 L, A# K, D+ L+ t0 n
  1336. ;
    % M; Q2 e) x' ~/ _
  1337. ; where MODE is the octal representation of the mode. Note that this
    ' o9 I2 q+ Q& I; e+ M; m
  1338. ; does not overwrite the process's umask.
    ( v. V6 A" q, |9 x9 e
  1339. ; http://php.net/session.save-path
    + K; x5 q& ~+ f! n4 F3 H/ Y
  1340. ;session.save_path = "/tmp"
    * Q+ V1 s  ^3 H
  1341. ( [4 V. x7 c. a& ]
  1342. ; Whether to use strict session mode., M( R9 x/ }6 D5 A9 ?, b
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    1 _. C, P: G4 H  @: r. O. w0 g+ h
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects0 {( N& X) P; Q$ M
  1345. ; applications from session fixation via session adoption vulnerability. It is) m7 S4 {# c8 B& z" W6 O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 W7 z( K8 K* a0 b* A5 z/ m
  1347. ; https://wiki.php.net/rfc/strict_sessions
    + V1 y' x, a* @4 y7 P
  1348. session.use_strict_mode = 0
    : j- M9 u% F7 s; [/ h* T. S$ U" a

  1349. 2 {& y! c2 F. a
  1350. ; Whether to use cookies.! n# v7 X( {) h/ @) W! b: I1 n9 z5 h
  1351. ; http://php.net/session.use-cookies
    . S# P2 k. _1 a+ O3 s! X
  1352. session.use_cookies = 1
    4 x; N( Y$ {. l6 K5 Q% b1 \
  1353.   r7 N; x- y! {( |, w1 \
  1354. ; http://php.net/session.cookie-secure
    6 v$ o( N( X5 O
  1355. ;session.cookie_secure =
    " E+ Z6 V# ?0 r# M2 b! _8 f
  1356. + [. X( Z* e: X# S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining' L& N9 z3 n! {8 d% ~
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    $ W/ |2 c0 ~, S* W0 E  R7 K
  1359. ; session hijacking when not specifying and managing your own session id. It is
    : ~0 O+ ]6 w, H3 W" s( {
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - R, D# Z$ R. f$ a
  1361. ; http://php.net/session.use-only-cookies' F4 e# k1 O, @
  1362. session.use_only_cookies = 1
    8 k# S6 q- l4 \9 p0 m1 K' Y

  1363. ) q/ h1 j1 H9 b% s8 s6 g5 ]7 `. N$ n
  1364. ; Name of the session (used as cookie name).
    7 [, p6 \* q5 i0 |
  1365. ; http://php.net/session.name
      D0 s! g9 F0 W7 \
  1366. session.name = PHPSESSID  |( ~$ K! v! v1 c' N0 o, W

  1367. . ]2 y4 y1 @' X1 u& P
  1368. ; Initialize session on request startup.
    + G) @4 j5 R1 E, B
  1369. ; http://php.net/session.auto-start
    . D) J* y' e2 O! g0 w2 u) I
  1370. session.auto_start = 0% X: H6 V6 C9 A4 _) i* l
  1371. ! v& |4 c( c5 y1 Q/ p; ]4 m( g  ?" H3 g/ L
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & p! V$ O' p- q  Z; \
  1373. ; http://php.net/session.cookie-lifetime
    ; j$ w; U5 C& X  x- i6 V5 p
  1374. session.cookie_lifetime = 0* d& q1 Y7 S% L9 i& }

  1375. / B9 G# _+ @+ A9 K9 ^; T
  1376. ; The path for which the cookie is valid.& W8 a; U6 ~- y& o
  1377. ; http://php.net/session.cookie-path
    ) ~  r3 q& F3 p. \
  1378. session.cookie_path = /8 F; u% A" _! Z1 N9 i% H0 Q5 u
  1379.   w$ {  u% I& |
  1380. ; The domain for which the cookie is valid.
    0 c: y3 ]5 W4 m; Q: J
  1381. ; http://php.net/session.cookie-domain0 |' f; C' J7 b( Z! w
  1382. session.cookie_domain =  X4 O9 n+ {% q# _0 _( f) D
  1383. 2 L3 ^9 q+ z" e8 A5 ]7 w
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 Y% a" J: ?: g# J0 ^5 j
  1385. ; http://php.net/session.cookie-httponly
    : I7 F0 d  ^: z0 _8 {- ^
  1386. session.cookie_httponly =  t0 X( ]% b: o+ c

  1387. 2 r& V. t! k% s: X! s3 e+ L1 i5 o
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    % e& c( ]+ R8 }  I
  1389. ; http://php.net/session.serialize-handler) M4 R/ p5 I( G' ~) t: P' r
  1390. session.serialize_handler = php
    & G3 X! r7 G$ v, b) _/ t

  1391. 3 u- i6 F; \" S6 t
  1392. ; Defines the probability that the 'garbage collection' process is started5 d, A/ U6 l8 u" g( y& j# I
  1393. ; on every session initialization. The probability is calculated by using
    + v, M6 u9 C% g% ?
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: _) E! G$ _; h3 h; t+ ^) s; P
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1' K% u' K" J; v! ?- _
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: }. ~2 _# N5 w0 z
  1397. ; the gc will run on any give request.
    2 ~4 A/ ]$ V! E+ v- f6 i+ ?* h
  1398. ; Default Value: 1& W4 B( X/ [5 l% K  D) B
  1399. ; Development Value: 1
    4 ~/ X( s$ ]$ b. |0 X
  1400. ; Production Value: 13 C% z7 A: V5 n2 U4 D
  1401. ; http://php.net/session.gc-probability5 L& a8 T2 N# R3 u- S4 L
  1402. session.gc_probability = 1
    & E9 w2 E, Q$ M4 K# @  S* R
  1403. & c7 Z9 `. R0 W7 B, @5 l
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % X4 h" ]+ }% B
  1405. ; session initialization. The probability is calculated by using the following equation:
    ! H6 s" }7 B! F/ o0 Y' l1 T% f
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: N. V0 B8 g+ v% i# o
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    . S7 v& i4 `; A4 `1 H2 s; L
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( D+ G' ~7 q1 c
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # M9 N" f, |& u/ n0 r
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 t/ o- L" [5 [: ^
  1411. ; this is a more efficient approach." B$ F2 L/ h# G2 n; B
  1412. ; Default Value: 100
    ( s8 p+ f$ w; C; U* g; L+ Q
  1413. ; Development Value: 1000
    & ]. O+ x+ t& A
  1414. ; Production Value: 1000% {+ P* f7 n0 o" B! |! O& V7 z& n
  1415. ; http://php.net/session.gc-divisor
    : A; O, u! J  [
  1416. session.gc_divisor = 1000
    ; h" ?/ u0 _6 u+ b

  1417. * d1 h7 g$ |. k3 y3 D5 d& @
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and6 D" x+ h: a6 @% ^5 `5 b- S
  1419. ; cleaned up by the garbage collection process.
    3 v' i( a* E- \) B' ~* P
  1420. ; http://php.net/session.gc-maxlifetime
    # ?* p0 v4 F3 l$ \
  1421. session.gc_maxlifetime = 1440; p1 b* H$ z% H3 P$ H. ^/ j

  1422. - K6 c( o; w( g% |5 k
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 l3 ]+ @# C" l! }( C
  1424. ;       (see session.save_path above), then garbage collection does *not*
      x) l# ]( N5 v
  1425. ;       happen automatically.  You will need to do your own garbage
    - o; G' d! A. K* \
  1426. ;       collection through a shell script, cron entry, or some other method." n9 L& L1 u9 N3 f
  1427. ;       For example, the following script would is the equivalent of  n; I  t/ G, a
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! i  X0 i$ ^( c# a' s$ U" J! y
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& Q: a' R! F. j, r' Y

  1430. 7 F6 A* ?5 h2 z' k8 ?4 Y+ A5 c2 x5 g
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ y+ H/ d0 Y6 G9 g2 p7 C
  1432. ; HTTP_REFERER has to contain this substring for the session to be1 t3 V4 l" ]) ]2 ]  z3 Q
  1433. ; considered as valid.  L) t' p! `1 @- S4 x
  1434. ; http://php.net/session.referer-check
    # w$ p4 U6 F3 ?0 L) q5 T
  1435. session.referer_check =
    % q. z/ @- `& [
  1436. # j( A6 c% a7 X2 w6 |+ ~# \+ w
  1437. ; How many bytes to read from the file.
    . g$ K. ]* u- u6 i
  1438. ; http://php.net/session.entropy-length: h; U& `' i. S! Q$ ]  E/ ^$ H
  1439. ;session.entropy_length = 32
    4 ^( _3 r, G7 M. S( F. T# i; g

  1440. - j2 ?) ~8 Y/ ]( L4 X
  1441. ; Specified here to create the session id.# a/ ]3 E+ {* \: S4 r+ ~7 b. `0 ]
  1442. ; http://php.net/session.entropy-file: K$ H0 w4 C( k
  1443. ; Defaults to /dev/urandom
    : t6 V' H. Y- s5 d8 J
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    1 z5 F4 m2 F, C: F. I5 C6 U6 p
  1445. ; If neither are found at compile time, the default is no entropy file.2 f* ]2 u2 k- ?) [# P9 r
  1446. ; On windows, setting the entropy_length setting will activate the
    2 h) l) L( ?! x6 {& d
  1447. ; Windows random source (using the CryptoAPI). I9 N- ~' S# ?3 _5 c
  1448. ;session.entropy_file = /dev/urandom' `5 G' N$ }+ h. _# u' V
  1449. - r6 G0 i* C% ^$ z) N% W1 ^7 z2 y  [
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects! s  S; V! @8 u, i9 u
  1451. ; or leave this empty to avoid sending anti-caching headers.2 {/ x8 D+ }4 _$ O; F& j& r
  1452. ; http://php.net/session.cache-limiter) e6 [2 X- z6 h5 @- @8 H/ R
  1453. session.cache_limiter = nocache
    ( e  b& T$ N  H" ~4 R
  1454. , n2 R- y, G& F
  1455. ; Document expires after n minutes.) m5 T/ ]/ e; F
  1456. ; http://php.net/session.cache-expire& z) K" E; B3 q6 \$ \8 n
  1457. session.cache_expire = 180
    $ S5 A. o* J/ e
  1458. 4 p( |/ f4 ^! m8 K) z+ D  B. ^
  1459. ; trans sid support is disabled by default.
    0 T0 X) L/ g% L. e; X2 t, L! G
  1460. ; Use of trans sid may risk your users' security.
    7 O$ t. j2 g" t+ r4 x/ x( }
  1461. ; Use this option with caution.
    : c1 K9 X" v6 [0 q& O
  1462. ; - User may send URL contains active session ID
    % `! v/ u7 ~5 L# K. `- B; t. B
  1463. ;   to other person via. email/irc/etc.
    " s. d+ u6 x7 ?! f* W
  1464. ; - URL that contains active session ID may be stored) n5 }0 Z8 A8 g" l* v. ~
  1465. ;   in publicly accessible computer.' P0 p; \9 ?/ a% v: x
  1466. ; - User may access your site with the same session ID3 R& [/ K# \, _9 k! e. q
  1467. ;   always using URL stored in browser's history or bookmarks.
    ' c# k4 z2 u. t  Y
  1468. ; http://php.net/session.use-trans-sid
    7 G( G' O# r  c9 s% f
  1469. session.use_trans_sid = 0
    ) t. F) F: i4 t6 {+ M# d

  1470. ' _, v4 n9 k' g( m7 f
  1471. ; Select a hash function for use in generating session ids.! i- [  o. f8 O* w. R& L
  1472. ; Possible Values
    % m  G$ w" u0 m
  1473. ;   0  (MD5 128 bits)% |, _2 w3 F, a8 o
  1474. ;   1  (SHA-1 160 bits)7 a4 g, k3 E+ D/ w
  1475. ; This option may also be set to the name of any hash function supported by6 g7 @; T4 M: k3 A6 ~4 o
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()0 s' Q$ D8 Y) s4 J4 }4 O
  1477. ; function.+ ^5 q2 e4 n; `$ {  C9 F1 L1 E/ Q# i8 a
  1478. ; http://php.net/session.hash-function, d* S7 ^5 ~: l5 b+ J) y( B: a
  1479. session.hash_function = 0. A6 Y! N1 U+ O6 J. H

  1480. 2 X2 p# p8 b; {; V6 U" B! C. @  F
  1481. ; Define how many bits are stored in each character when converting
    3 g6 y  F* E- Q6 |5 a. V$ m
  1482. ; the binary hash data to something readable.
    ! S) O5 ?/ r: U( N! z7 Q! }- V' m; S# }
  1483. ; Possible values:
    ' L5 O) \) {. n) S! C! H( t1 M
  1484. ;   4  (4 bits: 0-9, a-f)
    * E, s4 _& u7 r: \' b+ P
  1485. ;   5  (5 bits: 0-9, a-v)3 N: y+ r' T4 p- h
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). t% b3 e; J9 Y/ `- k
  1487. ; Default Value: 4
    1 r9 A& U( u! J# |! @
  1488. ; Development Value: 53 d# B% ^# C: V5 R) L9 W4 u7 s7 J
  1489. ; Production Value: 5
    4 [- ?5 j; d0 L( k5 _, U4 @- y
  1490. ; http://php.net/session.hash-bits-per-character
    ! n. t/ t% f: O
  1491. session.hash_bits_per_character = 5+ p1 f, v7 l' ?9 F8 s! r
  1492. % e$ A, a" ~5 y4 f$ A2 M, i
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 l! A0 V/ [+ d$ m. z" U
  1494. ; form/fieldset are special; if you include them here, the rewriter will( i( N* W1 J% f
  1495. ; add a hidden <input> field with the info which is otherwise appended3 P$ e, |% r* w8 P) Z( P1 z
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.) i; u) A( q  X/ ]: {
  1497. ; Note that all valid entries require a "=", even if no value follows.9 V' E" P$ A1 e/ f2 \% F8 l% m
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    0 q3 D  ]4 V2 H% L6 `
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". d' x- F/ Q/ X' T: ^) V$ z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" t0 d0 p0 U% X0 O' [' ]
  1501. ; http://php.net/url-rewriter.tags$ T* ]4 p* n) t% i9 D
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    - V+ t, h* ~+ Y& P/ f
  1503. 2 e9 l/ x6 b: @9 B3 p
  1504. ; Enable upload progress tracking in $_SESSION! C+ @5 W! w' O6 U
  1505. ; Default Value: On
    9 w3 f0 T' h0 P
  1506. ; Development Value: On
    & {  x. n& m/ G( V
  1507. ; Production Value: On
    8 V$ e- Y/ H7 `1 |( J6 u7 K, Q( P
  1508. ; http://php.net/session.upload-progress.enabled) n. C0 U# `7 L* ]4 w6 a- A
  1509. ;session.upload_progress.enabled = On
    / P" }$ ^; i! R$ Y, K4 ~0 @
  1510. 8 R- R$ Q7 B1 u4 o& F( u$ C
  1511. ; Cleanup the progress information as soon as all POST data has been read2 E9 J/ P% J- G* f7 M
  1512. ; (i.e. upload completed).
    2 x0 E9 R' E4 `3 r% e2 q( m9 x5 ?
  1513. ; Default Value: On
      F  q1 H. ~6 r: f8 z, l
  1514. ; Development Value: On
    * H" ^; E: ~$ S& u0 M0 k/ n# z7 H
  1515. ; Production Value: On
    * X1 R1 Q! a8 u5 {) H* E) t- B& Y9 ]
  1516. ; http://php.net/session.upload-progress.cleanup% E# a$ T- O" L& p+ w* l
  1517. ;session.upload_progress.cleanup = On
    " i3 D8 v0 k/ L. s

  1518. 2 V3 x. A7 K  ~- V' I4 ]
  1519. ; A prefix used for the upload progress key in $_SESSION  o4 _+ u$ E3 E; B" d# G
  1520. ; Default Value: "upload_progress_"
    % j, a9 |1 y/ b  I4 Z+ N
  1521. ; Development Value: "upload_progress_"
    3 B  y. t. o  C
  1522. ; Production Value: "upload_progress_"
    1 ^( x  i+ y# Q+ F; G4 R
  1523. ; http://php.net/session.upload-progress.prefix
    ; @9 ^6 q+ h0 ~  ]% s& P
  1524. ;session.upload_progress.prefix = "upload_progress_"7 Z  J5 D6 _0 h) r( |- C/ L

  1525. : Y, [( |% D# E  z( q
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    # N6 l; I$ ~$ B; _2 e" k' @
  1527. ; containing the upload progress information9 _( m& l" D1 P& }
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - t1 j% V: o: ^* R8 ]0 z8 t5 Z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , F4 l6 Z: _8 h+ D% F, W
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"% @( n5 }3 m( O# M5 e6 _
  1531. ; http://php.net/session.upload-progress.name
    * D  f1 G1 X3 o  c5 l4 N5 U; \& ?
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS". i0 ?1 ]- I! U, {& @' i6 `" H$ r
  1533. 8 t. B' R1 r9 w; ?% e: M
  1534. ; How frequently the upload progress should be updated./ n* I( F  b1 l7 r' n! l9 {$ D
  1535. ; Given either in percentages (per-file), or in bytes. A9 T# N% H9 i1 V* W3 q
  1536. ; Default Value: "1%"
    2 a: ~: R) n+ }8 ^
  1537. ; Development Value: "1%"
    $ x+ J# s* R6 T  D2 a
  1538. ; Production Value: "1%"7 f7 \; `+ D6 d9 d0 w! D
  1539. ; http://php.net/session.upload-progress.freq
    9 z0 }* w/ Z8 `
  1540. ;session.upload_progress.freq =  "1%"; L$ F( D7 o# v

  1541. % _1 D8 x* ]0 }
  1542. ; The minimum delay between updates, in seconds
    ! V$ z$ j" u+ b  G: V
  1543. ; Default Value: 1  u% d" X$ S  l. T% d
  1544. ; Development Value: 1
    % u$ @7 z1 e. k, x
  1545. ; Production Value: 1+ w/ p7 \/ I7 t% w5 M- }' L" A" a
  1546. ; http://php.net/session.upload-progress.min-freq
    & n  T! N' l( T
  1547. ;session.upload_progress.min_freq = "1"7 `* w2 o4 o9 k
  1548. $ s% s1 w5 n/ Q, L  M
  1549. ; Only write session data when session data is changed. Enabled by default.
    - H7 n8 y# O. X7 H
  1550. ; http://php.net/session.lazy-write1 w1 ^7 O2 u' E/ K- h, A% r# e
  1551. ;session.lazy_write = On
    ' B" F& Z1 ^+ v: L* A3 ]- P) N$ B
  1552. 5 ?  a, D; p* M. {/ V
  1553. [Assertion]; [% g; K* W+ A( k4 {' p* R2 T
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" T; R# J; T- u' h' X* a
  1555. ; -1: Do not compile at all
    ; V% F5 b6 Z) H& H8 {3 L7 U
  1556. ;  0: Jump over assertion at run-time
    / `( U4 V) R1 B; ?: r" g* J" E1 A, L
  1557. ;  1: Execute assertions. c# r6 j  ]" h, l
  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)
    + @. c5 C  }5 K* E% a+ j" d8 T
  1559. ; Default Value: 1
    ; O. C+ V* L: {: V4 u! g# M$ s/ j
  1560. ; Development Value: 1! U$ m' O% n* L7 U0 D9 ~
  1561. ; Production Value: -1
    7 x) S  t( R" @2 F2 M
  1562. ; http://php.net/zend.assertions
      @' s* ]0 H2 h5 s
  1563. zend.assertions = -1* C( f( A8 [% u6 m7 ^  r
  1564. 7 H0 q2 h1 _$ `/ @' _/ R9 a
  1565. ; Assert(expr); active by default.
    ' Q( m5 B- @; A6 h
  1566. ; http://php.net/assert.active+ N, v& n; ~8 A  f
  1567. ;assert.active = On
    9 D* z# O7 G2 M- o, b, b
  1568. 3 l$ ^: F& B% B( r% A* P" e
  1569. ; Throw an AssertationException on failed assertions
    3 e- K" H2 g- i+ |
  1570. ; http://php.net/assert.exception
    ' ~# m! M: I, s0 G, K8 E) W
  1571. ;assert.exception = On
    3 A( }5 N9 J+ v& a
  1572. " u) R6 ]# d8 h2 G
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    # G  Y: s' u7 s/ Y
  1574. ; http://php.net/assert.warning
    6 c4 S! `: M" U9 J
  1575. ;assert.warning = On& \+ o3 V. }; @8 R

  1576. 1 b4 ]5 c5 T* C* u1 P$ N+ {
  1577. ; Don't bail out by default.# f7 [" X: H7 N2 W  @$ ]
  1578. ; http://php.net/assert.bail
    1 f- B3 W8 p' F2 ]. e# O, K! S
  1579. ;assert.bail = Off' j  _$ y" M6 _3 F3 g2 Q' Y
  1580. : O+ D/ \$ n9 z: {
  1581. ; User-function to be called if an assertion fails.) X) M2 k0 I# k  C0 z/ x
  1582. ; http://php.net/assert.callback
    3 B; N: V# j9 C, m& A
  1583. ;assert.callback = 0  ?6 G. a9 _  Q7 h5 _

  1584. 4 K0 r3 G& D4 w! Y' T5 `
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    $ }0 u6 P+ ~1 E! P
  1586. ; error_reporting(0) around the eval().
    3 J% }% ^* Z% |& s! M, c) ~
  1587. ; http://php.net/assert.quiet-eval
    9 [8 M* d, o) T' P2 i
  1588. ;assert.quiet_eval = 0
    2 ^& ?$ w' ]& V* g: I# P

  1589. : L3 s. J* x# {9 q- N7 h$ X
  1590. [COM]# I7 e9 @; X% {
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs9 v) h/ K( G1 E; }+ T, _
  1592. ; http://php.net/com.typelib-file! p# ^) @, l: @# `" R+ A5 z
  1593. ;com.typelib_file =
    ; [$ c8 W3 O$ f
  1594. 5 O! T& y) N- C7 d. L: h* r0 x
  1595. ; allow Distributed-COM calls: w/ d( a: u* V" q
  1596. ; http://php.net/com.allow-dcom
    6 E- Z- }! K$ H. G5 t
  1597. ;com.allow_dcom = true
    - w* `. ?1 _( X
  1598. 7 ?' l* |; |: j
  1599. ; autoregister constants of a components typlib on com_load()
    ( i# O3 z8 Z+ r/ A* O
  1600. ; http://php.net/com.autoregister-typelib
    4 X) z7 `. m1 b
  1601. ;com.autoregister_typelib = true3 O9 a3 x( d5 O3 U6 ]9 {# U% v
  1602. 8 q! ^" R9 J7 I3 x- v
  1603. ; register constants casesensitive
    0 t0 W. ^& v3 L) t
  1604. ; http://php.net/com.autoregister-casesensitive4 a; v2 q/ S% D( g$ i6 c$ w- H
  1605. ;com.autoregister_casesensitive = false
    $ S+ i3 e2 K9 P# e6 a3 z4 V. x
  1606. 0 v5 z! [" l) n
  1607. ; show warnings on duplicate constant registrations0 Y% ?' b  V/ y! m4 o! N3 W! X+ J
  1608. ; http://php.net/com.autoregister-verbose
    : J" T/ _6 j2 S: q  b
  1609. ;com.autoregister_verbose = true
    % f2 A; `" F  ?4 d, }4 j

  1610. ) M1 w4 A" c& }7 b, z$ Q
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    % p# U, E% U1 E
  1612. ; Default: system ANSI code page
    ( E5 ]4 _) U- C/ t- a- u0 w' x
  1613. ;com.code_page=5 _3 V0 w3 }( h% _* B1 ]( a6 v
  1614. + P+ C$ f8 W- [; i9 a0 V
  1615. [mbstring]
    , H" z; M; x4 a3 K+ O' o4 E2 e
  1616. ; language for internal character representation.
    3 F5 T- \9 N6 o0 T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.6 }7 U1 F1 m7 Z: h' P+ t, X( {
  1618. ; http://php.net/mbstring.language
    0 M+ Y+ o) n& j0 \* v
  1619. ;mbstring.language = Japanese
    0 K# H1 ]4 `0 @+ j2 Y

  1620. 0 @9 Z1 n2 v& j/ V
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead." B5 q2 A2 X( ^1 \4 G9 d1 X' \
  1622. ; internal/script encoding.
    6 a2 Y( E3 u/ \( c/ o) X6 Y
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), e" Z4 |3 J7 s/ K/ O1 p
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* `: Z% O) o9 F: P8 x; i/ I; o: q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: ~% X5 X" }+ {9 v2 @- f
  1626. ;mbstring.internal_encoding =5 b. v  ?1 Q: O/ O) }
  1627. / C- m0 O1 L* X" X) G2 S5 X! m
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.4 c2 J7 C6 }: N
  1629. ; http input encoding.
    # a5 ~1 O' Y+ K6 S- S. r: C
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    # _8 e) f- f: p4 w5 j
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.; O! S$ a- n$ s7 b  @+ d, y
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 t/ Z! X' k( K
  1633. ; http://php.net/mbstring.http-input
    4 ]8 s: h$ i: p' C
  1634. ;mbstring.http_input =/ Y0 W9 ]9 p% L& v# m( X/ r
  1635. 3 w3 p6 q- E- U3 I" S
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.$ u, o  [6 C( U2 l$ C; z
  1637. ; http output encoding.' L2 ~7 P3 q& s9 @: q- h
  1638. ; mb_output_handler must be registered as output buffer to function.6 J" {% o! @' v& i' V: m: v2 Q: f* g
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# B6 R2 }5 L5 x3 U" c5 P
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output1 H. l& I. z5 x( H
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      z3 E, ?9 a+ m+ R
  1642. ; otherwise output encoding conversion cannot be performed.% J% H$ Z: N" J) w9 b
  1643. ; http://php.net/mbstring.http-output5 X' w/ i# a" R1 t
  1644. ;mbstring.http_output =
    ' u& g/ u! Y' A+ v0 C6 c

  1645. 3 q$ J( [. w: c* I- i& Y9 u9 _& y/ J
  1646. ; enable automatic encoding translation according to, A8 n2 y3 O0 `) d
  1647. ; mbstring.internal_encoding setting. Input chars are
    % w4 K& M2 t5 ?1 |9 r
  1648. ; converted to internal encoding by setting this to On.
    3 H: v) Z+ |% P0 G
  1649. ; Note: Do _not_ use automatic encoding translation for
    $ X4 s2 w/ |+ j: Y$ G
  1650. ;       portable libs/applications.
    / Z$ n6 c, X1 w. u+ d4 ^# h
  1651. ; http://php.net/mbstring.encoding-translation# N7 O1 |- s: h" {7 o# o
  1652. ;mbstring.encoding_translation = Off- s- L2 i( k* ], j$ h: o

  1653. 1 K! r9 A9 X. C
  1654. ; automatic encoding detection order.) K3 e# T( t7 b3 B1 f
  1655. ; "auto" detect order is changed according to mbstring.language
    ' J) `: M# \& Z/ k/ l/ {. o
  1656. ; http://php.net/mbstring.detect-order7 I# }4 O% `/ s7 Q9 N/ [/ O6 G
  1657. ;mbstring.detect_order = auto
    4 S7 v7 |9 y! P8 h$ X5 [- I4 v

  1658. + ]" s. c2 |  j$ R
  1659. ; substitute_character used when character cannot be converted
    0 h! B; Y" a" q0 I0 e0 f% ^9 m
  1660. ; one from another/ B$ c8 z) q8 ]: o, b1 `" ^  d
  1661. ; http://php.net/mbstring.substitute-character) a; s3 ^3 `8 E; P3 {
  1662. ;mbstring.substitute_character = none
      `$ C6 V5 T, [8 K& [
  1663. - t, o& S# Q7 k9 D  d& C, ^
  1664. ; overload(replace) single byte functions by mbstring functions.
    2 A: N# }% X8 E8 G
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    * o1 k7 H5 M9 z8 a# v, O+ j
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.. y3 s2 b1 A( n& @; W2 Z+ o( g, W
  1667. ; For example, 7 for overload everything.
    9 [) E9 n; n/ ~4 u. N" O
  1668. ; 0: No overload  y/ _; b% J2 \
  1669. ; 1: Overload mail() function* w1 U* Y$ k( q# |
  1670. ; 2: Overload str*() functions
    9 e! V1 y1 }+ ?3 l6 p2 A
  1671. ; 4: Overload ereg*() functions
    9 |9 z5 a3 j# T- x8 a
  1672. ; http://php.net/mbstring.func-overload
    " t# b) h4 o; l1 j* ~6 |5 X
  1673. ;mbstring.func_overload = 0
    0 I: G: J( P# N- z% [2 |/ ]
  1674. 1 ^- N: S7 r, a( h% N  B
  1675. ; enable strict encoding detection.
    - I2 K! X7 a, q+ \8 b# L
  1676. ; Default: Off
    $ ]6 K1 C, d" O# G8 P$ K3 p
  1677. ;mbstring.strict_detection = On  p! \$ D+ b2 g7 A* r& n

  1678. 0 C0 `/ n/ j5 U( g. \
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()' p7 J1 ^5 |: x% e/ W
  1680. ; is activated.
    # h& ?0 X0 e  a* |
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
      [! H& J! O& x) D% N2 ]
  1682. ;mbstring.http_output_conv_mimetype=& X" v( I4 ?- S
  1683. 4 S! }, Z( {6 i' E! A: k6 }
  1684. [gd]/ i, b' l& N) _' ^9 f+ a2 U$ t
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    4 a6 a0 T9 m. X. a6 _6 Y2 t5 e$ Z
  1686. ; a gd image. The warning will then be displayed as notices+ y( G; H- j' t+ h
  1687. ; disabled by default0 c$ n' c* _( j1 N
  1688. ; http://php.net/gd.jpeg-ignore-warning
    7 \8 m6 l' b$ X  V
  1689. ;gd.jpeg_ignore_warning = 04 ?) i% D, h  U6 }4 \! e

  1690. " _) [9 `9 @  T8 ]. g
  1691. [exif]
    ) a; [( f* d; ~! s
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    5 _# g% p* h! q) H$ k
  1693. ; With mbstring support this will automatically be converted into the encoding
    * ?6 e( C5 Q/ W" z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 ]1 X3 B3 Y2 N
  1695. ; is used. For the decode settings you can distinguish between motorola and
    . g  ?$ J+ r: B" ]3 x0 c/ B
  1696. ; intel byte order. A decode setting cannot be empty.
    3 n( ~( n) g3 ?! K- D! v) i
  1697. ; http://php.net/exif.encode-unicode- E( [4 _& ?% r; A% R; B+ C
  1698. ;exif.encode_unicode = ISO-8859-150 r) J5 \6 z7 \$ H7 G# I! i, Y

  1699. , w1 e; @4 b6 L, Y2 p( N
  1700. ; http://php.net/exif.decode-unicode-motorola: z' D% k, E/ S% _+ w1 p8 c/ M
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    + N7 D! {9 n% |. U* ?

  1702. & Q3 f" L' b. B& j8 j: Y
  1703. ; http://php.net/exif.decode-unicode-intel* G. h0 x2 S- k9 }% m& O: u% p
  1704. ;exif.decode_unicode_intel    = UCS-2LE6 U# D" v- X6 e0 c$ z0 ]' X) \

  1705. 2 N0 m. {9 L, L0 g: f
  1706. ; http://php.net/exif.encode-jis) w1 J8 [! j& E/ Q/ A
  1707. ;exif.encode_jis =& R: U6 a; C4 _: p' Q4 [6 f: E1 W8 d

  1708. 9 I' O* i" W$ K4 ?1 N
  1709. ; http://php.net/exif.decode-jis-motorola
    3 \$ K7 Z3 P% \( V0 H# D
  1710. ;exif.decode_jis_motorola = JIS0 j2 P4 b4 N" w$ `- T
  1711. . F; z# k' n$ Y
  1712. ; http://php.net/exif.decode-jis-intel) A* u7 _5 i: Y5 e, O. }
  1713. ;exif.decode_jis_intel    = JIS
    1 p" X! i8 V$ N

  1714. 2 t6 l+ N7 k- R9 p9 l
  1715. [Tidy]
    & q# L1 W/ r' G  E1 |7 `1 G
  1716. ; The path to a default tidy configuration file to use when using tidy
    - @: Q9 B$ Q8 B5 k
  1717. ; http://php.net/tidy.default-config
    5 ~% {% \2 X- t" Y/ x
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 d- g  g3 j0 u

  1719. ! o- N3 \7 g$ F' P
  1720. ; Should tidy clean and repair output automatically?
    7 L& E- g: M" e+ A) p
  1721. ; WARNING: Do not use this option if you are generating non-html content. v. R. Y$ ?0 u0 l  k$ ]
  1722. ; such as dynamic images" G; X' H: P* e) N( y' R: F. H
  1723. ; http://php.net/tidy.clean-output/ Z2 N* Z" s( A$ X, n1 q
  1724. tidy.clean_output = Off% l' L; f: p2 l: V6 V1 {/ y( q$ x6 d

  1725. ! L: [% Q( }9 v( \( p
  1726. [soap]7 c+ i* H6 W, p5 B( {! \8 o1 F- J
  1727. ; Enables or disables WSDL caching feature.% f* z4 q# Y4 H7 [. l/ y9 p/ f; g
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ; z5 K  i, B3 Q: `$ S/ @, s1 E" k
  1729. soap.wsdl_cache_enabled=1& C* R8 G+ u. S9 x% {9 i9 s! G8 ~: f9 }

  1730. * i8 Z- F- i! Z$ J
  1731. ; Sets the directory name where SOAP extension will put cache files.
    7 H/ d2 t1 t# G# ]9 \$ ~3 [# `
  1732. ; http://php.net/soap.wsdl-cache-dir
    4 J0 A1 p* a7 R+ K
  1733. soap.wsdl_cache_dir="/tmp"2 B# U7 M5 x8 v4 b: T/ f8 G3 a5 o
  1734. 2 L2 Y4 r4 [$ w& Q: [
  1735. ; (time to live) Sets the number of second while cached file will be used- D( \0 N6 f' r
  1736. ; instead of original one.) Z2 N' y  w4 v7 G! x1 Y
  1737. ; http://php.net/soap.wsdl-cache-ttl5 {, y# s* u( _; @, h8 T
  1738. soap.wsdl_cache_ttl=86400! e  y( y: M4 H+ G% q6 P& A; E6 F
  1739. + a* O4 i, \( j! _
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 U# j8 i/ B$ n0 L
  1741. soap.wsdl_cache_limit = 5
    ! Z! Z$ e; ?- M  S3 A7 g4 Z; x

  1742. 6 v( i3 g. k1 r5 l! j
  1743. [sysvshm]
    + h2 h" F5 R6 W- V; I1 D1 c! a
  1744. ; A default size of the shared memory segment% {: q1 R- }4 S. y9 T. X7 x
  1745. ;sysvshm.init_mem = 10000
    # B& b% h  ~! c% O3 L! K9 L
  1746. & k% g, ^2 l) M; ^
  1747. [ldap]- e. n5 U3 u0 _& O2 j/ }) j
  1748. ; Sets the maximum number of open links or -1 for unlimited.3 N8 U) X' {! K9 T. i* P
  1749. ldap.max_links = -1" O( g5 p, q# l2 Q7 E

  1750. 5 |8 b& }/ b$ [7 `0 i
  1751. [mcrypt]' s* x9 H% t1 O0 Z& B
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open: Q$ q" F1 O5 r  x# U7 b$ b- U. H

  1753. " k6 H+ S) Z* O3 J
  1754. ; Directory where to load mcrypt algorithms* \! k2 z4 k; X+ ?6 ?  Z
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& f* ?* e6 {" u3 U1 B: z+ \
  1756. ;mcrypt.algorithms_dir=" H1 ~: H" R2 c/ t# O& d" ]

  1757. # A' Z% A9 e: H! Z3 S
  1758. ; Directory where to load mcrypt modes
    . A, n* S# d8 ?3 _5 @# [0 l8 Q
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; d' W& u/ U/ [1 o! b& b
  1760. ;mcrypt.modes_dir=$ l& X7 Q3 X5 {$ S* k

  1761. & r9 q  ]% `' \# c; b: _, A# O6 W7 u
  1762. [dba]
    $ R, v1 [( y9 g( O! z
  1763. ;dba.default_handler=
    0 Q, @! w* |. E2 V; G: z

  1764. . @8 i# B5 l0 |
  1765. [opcache]/ {% v6 f/ x5 @7 e& O* i! a( T
  1766. ; Determines if Zend OPCache is enabled9 y) U+ w2 z" W8 s' T
  1767. ;opcache.enable=0
    * X5 {+ W6 P3 I# P9 H

  1768. * e" Z: [( q) w% E4 {
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % n$ w+ d9 [8 Z( q4 G( {+ p
  1770. ;opcache.enable_cli=0. [; |& {0 u1 o6 K6 h0 k6 F
  1771. * K6 I5 Y; F/ c! n
  1772. ; The OPcache shared memory storage size.9 m  U$ Z5 X! \5 B3 D
  1773. ;opcache.memory_consumption=642 J+ ?2 i7 {/ y4 C
  1774. & l' D" y1 b5 l+ a) y' `0 v0 {
  1775. ; The amount of memory for interned strings in Mbytes.- U6 L0 k3 L9 [2 l2 C% x4 g5 M
  1776. ;opcache.interned_strings_buffer=4! y/ w: a3 s" X4 _3 J& D3 z6 V

  1777. , u! r5 X! e0 d! _
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ! |! N# Q) {% n5 n7 L4 H
  1779. ; Only numbers between 200 and 1000000 are allowed.( a# m$ S% C5 H& m- H- ^
  1780. ;opcache.max_accelerated_files=2000& x7 p. l2 m' [# e  o
  1781. * Y6 I) a$ Z4 y$ o6 D
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 }; N4 W* o$ ]# H" Z% {8 _! u+ a
  1783. ;opcache.max_wasted_percentage=5
    , t4 K' I! s& Z: }% y4 T

  1784. 2 E/ p# s  v  M. R
  1785. ; When this directive is enabled, the OPcache appends the current working( v) T+ }. q6 X1 h2 D" B
  1786. ; directory to the script key, thus eliminating possible collisions between
    ! P, H5 G; q) h" e2 Q2 P6 L. |
  1787. ; files with the same name (basename). Disabling the directive improves1 m8 B6 F1 w, F$ Z
  1788. ; performance, but may break existing applications." h6 o* ~/ U" w% O% N' F" \
  1789. ;opcache.use_cwd=1
    9 Y1 x# w* O' ]
  1790. 1 O5 b1 j2 ~: _# D- B' g
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ( ?  a7 \# S8 ?# J$ p4 k- R
  1792. ; webserver for changes to the filesystem to take effect.' D! y7 @" l! X' T& n: r
  1793. ;opcache.validate_timestamps=1' Z) W2 }! C+ Q  [% [; R6 L

  1794. 3 m* h& x4 a& y; i9 ?% k
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! [" ]' w! T: t8 X5 o( `: I
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 `& L, h8 e( w$ `$ w) t
  1797. ; once per request. "0" means always validate)4 D4 w* r* ?  @$ H: l9 p" l8 l+ P/ G
  1798. ;opcache.revalidate_freq=2- m3 C# S7 M1 r1 P( N5 B
  1799. 6 O& X0 O9 t6 U7 u' I/ v0 H
  1800. ; Enables or disables file search in include_path optimization
    : Y6 g6 v4 {. x
  1801. ;opcache.revalidate_path=07 V' x9 b+ N5 j/ `1 u

  1802. : |! i0 S( q; \# J" F) }. a
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    8 t! f! ^2 f( B) e/ i  m& C: W
  1804. ; size of the optimized code.6 }: w0 E$ ?. N: s% }! }+ G
  1805. ;opcache.save_comments=1) K! D# ]6 h! P" W5 v" a

  1806. " M1 T. f7 A% ?
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 T; y% n$ q, [; m
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    / b& X' _7 S1 P" A: e4 q) [& M
  1809. ;opcache.fast_shutdown=0% c' A* W$ q4 P6 h
  1810. ( G& Y9 K2 z& ], u/ R1 a6 N
  1811. ; Allow file existence override (file_exists, etc.) performance feature.: q! t3 L+ @: r* n, C2 J! w
  1812. ;opcache.enable_file_override=0; l  x3 ]& Z, A' k9 C

  1813. . D; J9 g& r! `( C7 G
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache& k- v7 w' n& P
  1815. ; passes
    . z2 g' ~: [5 {9 Z& P' ]
  1816. ;opcache.optimization_level=0xffffffff1 D% c. k9 D% j
  1817. 3 j/ ?9 S0 w7 Q" v8 g4 H' ]6 m
  1818. ;opcache.inherited_hack=1
    7 w. ?6 ?" Y4 Y, V
  1819. ;opcache.dups_fix=0
    : g. R& w: t1 i

  1820. ! ]. N% s; M& A) r7 G
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ! v$ Q1 ^* G& h: E4 @
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    " q  `  C" d0 G. r" I6 Q
  1823. ; that should not be accelerated. The file format is to add each filename
    % K/ n, f. F0 g7 K% k9 l  S. X
  1824. ; to a new line. The filename may be a full path or just a file prefix& Y; M1 ^6 ~: A" C, A: \* r
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 U# D1 V" Q% a
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ' A% v7 i0 c% F3 N" B' m) U$ T
  1827. ;opcache.blacklist_filename=
    # ], v4 G- C- k
  1828. ; X+ C* n6 d0 Y8 q
  1829. ; Allows exclusion of large files from being cached. By default all files
    ) j# x9 m7 p9 q3 S0 u3 b
  1830. ; are cached.2 e8 }3 p+ X3 k0 F3 A  U3 ?/ y6 x
  1831. ;opcache.max_file_size=0
    1 \  M  i6 ~% P0 ^" l- s; b
  1832. " ^5 K" A# R- f- S& C
  1833. ; Check the cache checksum each N requests.
    ) Q0 G- v2 v: U* C4 N, m5 t+ d
  1834. ; The default value of "0" means that the checks are disabled.- i8 H' l% o' A* r
  1835. ;opcache.consistency_checks=0  f8 z+ [1 J1 `8 D5 o: C; U

  1836. , O& b" k9 l' n+ b! v, X
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) n. ^* X6 k0 V" f( j
  1838. ; is not being accessed.' G6 P/ x- j3 ^6 l6 [- A* n
  1839. ;opcache.force_restart_timeout=180" R. M: f& G4 A8 p

  1840. ! L$ Q% e, v0 s8 P8 y8 ~" A
  1841. ; OPcache error_log file name. Empty string assumes "stderr"./ i( ^8 z( P+ W
  1842. ;opcache.error_log=5 x7 X( g7 m  z: g5 R
  1843. + e: e% S- R+ v
  1844. ; All OPcache errors go to the Web server log.
    " N  _9 r# P  m/ a
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    8 z" `4 x7 s: |0 s$ A) ?- u
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    # ?; P, _6 }4 Q! ?  ^' \9 @
  1847. ; debug messages (level 4).
    ' f4 p" e: M( [, w( e
  1848. ;opcache.log_verbosity_level=1! ~1 ]! p6 h; _/ W  ^! s6 w

  1849. " X& L- x( d9 J% O6 @' y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.# g1 |+ I2 O" L/ b" l
  1851. ;opcache.preferred_memory_model=% m4 H4 T4 r  x: h5 E  n" z
  1852. 4 c* Q) ~0 W. y4 r
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' K+ C8 S5 Q9 J0 z, H& d: b
  1854. ; Useful for internal debugging only.) {( `+ A9 G2 m1 J* R) b$ E
  1855. ;opcache.protect_memory=0
    7 U+ r! N& s' A4 A: r

  1856. 7 M6 \' ?7 C1 Z6 H4 a" b8 m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is# T0 ]! v9 o+ W& {1 G- G3 T
  1858. ; started from specified string. The default "" means no restriction
    ! S6 v$ ~, b* D! T
  1859. ;opcache.restrict_api=
    " o0 ?$ R2 I, {3 H2 L

  1860. : u# Q/ _; @; ?4 G. S8 E
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    / C6 f% H$ w9 w' g# ~# O' W
  1862. ; processes have to map shared memory into the same address space. This. D3 f7 j% |4 n" R$ P
  1863. ; directive allows to manually fix the "Unable to reattach to base address"4 m& A5 i1 \) O  _4 c2 B- V
  1864. ; errors.1 g$ Q7 m/ R. h/ m: m. t& I2 Q
  1865. ;opcache.mmap_base=) y- u! C5 Y; p0 Y' i; j8 Z

  1866. ) x8 Q% e4 R) l- [: Q+ ^
  1867. ; Enables and sets the second level cache directory.& o! r2 L1 a2 K# X3 T9 K
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ' Z6 ~( y; i& e; d# k. e( Q
  1869. ; SHM reset. The default "" disables file based caching.
    - r6 b* K6 B2 p% }  Q$ H
  1870. ;opcache.file_cache=+ Q: n# W- Y0 @2 b9 v, a
  1871. 8 U& a6 @+ ~* P# I6 B  a: P3 T
  1872. ; Enables or disables opcode caching in shared memory.6 x" b7 L. c- C1 t- T  X" O. a& }, p
  1873. ;opcache.file_cache_only=0
    ) M9 T2 T# i+ }9 z) C0 d* ?( M
  1874. 2 K: D+ l. T. n: Y' x: d7 ^. y
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * f% d+ q1 _& J' o2 h8 P
  1876. ;opcache.file_cache_consistency_checks=1
    5 S- D( d, [1 X) ]

  1877. + ?3 J1 D- A, s' e, L
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    : U! e# s5 \+ f+ s$ D# k9 U
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    6 y' k, L9 V. _) i0 D, n/ t
  1880. ; cache is required.6 X3 ]* q; I9 f1 o6 n$ J& I) c
  1881. ;opcache.file_cache_fallback=1
    ( d8 f& G; t$ K

  1882. * l1 S* U2 M; M+ K5 y- B
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.  e% G! j! \0 a; V; _/ y
  1884. ; This should improve performance, but requires appropriate OS configuration.
    + M' m8 p4 q# Y  w8 u
  1885. ;opcache.huge_code_pages=15 [8 m! w' Y$ O0 D

  1886. $ M; h5 Z3 h7 n/ I( q
  1887. ; Validate cached file permissions.
    6 ~- m' L) q1 ?! H* g2 u9 `
  1888. ; opcache.validate_permission=01 N* N9 b/ n1 f) h% J

  1889. 2 N0 d. C8 x! Z/ \8 [+ W1 f3 i
  1890. ; Prevent name collisions in chroot'ed environment.
    ( b% N3 i9 R# N* i. w5 J2 v; y$ I
  1891. ; opcache.validate_root=0
    ) z' L, e1 t" m6 W1 S$ q
  1892. 9 a6 ^8 x- S4 T+ p! {9 L  x; _
  1893. [curl]
    $ l& N9 v+ z% P5 D& J! A% W& d
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # W* L* Y9 A6 U3 `9 {! G
  1895. ; absolute path.
    % R6 v2 x) q) p% ~+ u
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% |7 O, K7 z' `" ?' w& Y
  1897. 4 W/ r, l# `* r( e" M2 }) t7 d
  1898. [openssl]7 B) _2 G4 T# s( \: `
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    : T. g1 P) i# m  n' |$ n- z+ ]
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should: U! N. [- [0 ~" {( J, R2 l5 |- ~; F
  1901. ; not specify a value for this directive as PHP will attempt to use the
    3 o5 w$ w4 H$ o' X
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    - I6 p/ X. v" H  A0 m% A# x2 x
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 t& t4 L6 A1 |
  1904. ; option.% E+ P3 @+ ~2 [! Z7 H8 V( q. o
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* m1 D# f9 }; U/ v% _  e9 G

  1906. 8 r; b" M3 T0 W: z: d
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    # d( e/ U+ Y+ Z8 V+ C
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    2 Z: T$ ~8 T3 Y+ B. r# ]. T8 y5 H8 {
  1909. ; certificate. This value must be a correctly hashed certificate directory., r- E- b0 m* w' Q2 }
  1910. ; Most users should not specify a value for this directive as PHP will" }* R9 I1 F+ @1 x( T
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,% S+ J+ j  c4 N: m
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    1 P5 o# Q3 K  J2 d1 L
  1913. ; SSL stream context option.) s( K; p7 n$ y  Y2 q
  1914. ;openssl.capath=! R9 ^2 i  W: z+ x! N! B
  1915. ' V  u$ X4 G" U& a' D7 _% R# M
  1916. ; Local Variables:2 x+ ]! i* U1 o7 J) J# I7 V5 y& I
  1917. ; tab-width: 4
    3 M" Q3 D' n$ ^+ g9 H+ U' M2 Q
  1918. ; End:
    5 B' [3 V- o. F9 V3 U9 i

  1919. & t: A: ^- {% D$ y! d7 g2 q) S0 R6 J
  1920. ;eaccelerator6 c6 F6 `; q6 _6 s; i  I6 m- l5 {1 P6 ?
  1921. ( _3 ?' i! [: S% A- E/ \% w* e
  1922. ;ionCube: H- t+ a+ y9 G. N

  1923. 1 S9 u' @5 |" ]1 q) f
  1924. ;opcache: V0 P: ?9 F' Z& x  N+ f7 h

  1925. 3 f' p; I/ n' F4 B7 P
  1926. [Zend ZendGuard Loader]2 d3 h7 G3 X, y# k0 s9 B
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    7 P! o0 n6 L* J
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    4 J- {7 o. F, S- @2 i4 C
  1929. ;zend_loader.enable=1, R0 S% S& x! y- `# K
  1930. ;zend_loader.disable_licensing=05 z1 K3 U* s/ p8 f+ G% F) b
  1931. ;zend_loader.obfuscation_level_support=3& r+ a/ \: S6 N: G/ ?& j
  1932. ;zend_loader.license_path=- C1 `; x1 J9 A
  1933. 2 H- H* w* }" K
  1934. ;xcache
    9 x4 @; a! x) @: K" i! W

  1935. : Z. Q- L; w  A4 _( K
复制代码

* D- C' Y  |# t1 ?: R( L
9 ]+ ]9 l. _' L
- Y6 i  ]% l) v) o+ @8 {9 d! ?! f
9 b; A3 [! r5 d' W5 k, T: ^6 Z) q  A, z# h+ O- O4 t% J: |. _
" ~9 r" @& Y1 }( ]# r5 b# L5 w
6 y" x) P; A" ~( R/ a  }2 p* \
PHP5.6版本原始设置
* M1 b  C) Y3 w/ r# u4 d
! o2 ?4 V/ @* @+ H5 o2 w  V
  1. [PHP]2 }% c- p) V  V" C$ K$ o; V
  2. 1 Z% U' O) r. M7 X* X5 l+ P5 j
  3. ;;;;;;;;;;;;;;;;;;;
    7 R" ]7 y& T2 W# e! e
  4. ; About php.ini   ;$ v7 y( D. q! G
  5. ;;;;;;;;;;;;;;;;;;;* l* B) U- d- i7 V! p
  6. ; PHP's initialization file, generally called php.ini, is responsible for8 D- F* Q2 a, a$ Q, r
  7. ; configuring many of the aspects of PHP's behavior.
    $ P$ P) V# W* i' `! Y0 o3 h2 v

  8. ) O2 L9 ?8 ^2 M8 i
  9. ; PHP attempts to find and load this configuration from a number of locations.0 u9 h8 T, [3 Q1 v7 l
  10. ; The following is a summary of its search order:
    9 |9 \2 p/ e* X( f9 R9 a; H4 t/ r
  11. ; 1. SAPI module specific location.
    - f0 a' z2 S' S9 h' E+ I+ N
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    8 y1 T& o+ q& J2 [5 |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)$ y: e; Y4 }) y6 d
  14. ; 4. Current working directory (except CLI)
    ( D# x; \; f6 z) H3 q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP, N4 b$ {9 y6 J: c
  16. ; (otherwise in Windows)
    8 U1 ^1 S  O, M! J; e$ @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the7 O0 ]/ G9 {! k, R. }# ^: E
  18. ; Windows directory (C:\windows or C:\winnt)" W) Z3 }! C. O3 O
  19. ; See the PHP docs for more specific information.
    " U0 C) k. G, P; X; ]9 {0 p  \
  20. ; http://php.net/configuration.file
    & z  @& A: U( v% Q6 R6 h
  21. % V: u  K  O  ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    . }. w$ n/ w0 {- d  ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    * }! n1 v3 c4 ^5 ?  ]% ~
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ `2 ]& K( \4 Q/ M( Y
  25. ; they might mean something in the future.7 a3 B. W/ ?- F
  26. , Z7 Y6 f3 Y1 R/ r
  27. ; Directives following the section heading [PATH=/www/mysite] only/ I7 w( w* u6 @1 \: `
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # L" |& J" o1 e& T4 o7 @$ J% \$ k
  29. ; following the section heading [HOST=www.example.com] only apply to5 z0 ~1 g! I3 U& z
  30. ; PHP files served from www.example.com.  Directives set in these' G, M# x2 b) F  K9 w2 V
  31. ; special sections cannot be overridden by user-defined INI files or5 {" l- Q5 e& H: y( Q. Y# H- M2 D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    6 e" A! [) s' f& K
  33. ; CGI/FastCGI.
    ! b! {8 }1 o' ^* S; E. E4 `9 v1 J
  34. ; http://php.net/ini.sections
    5 G6 A# N9 z+ S- Z& [( q9 Q
  35. + j% [8 w2 Z$ K& Y. p
  36. ; Directives are specified using the following syntax:* s2 b* g. ^  C
  37. ; directive = value- b" u8 V3 I& T: _& g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 j" c( P0 W8 P5 v; X) s
  39. ; Directives are variables used to configure PHP or PHP extensions.' n( G7 y' b6 |3 E$ n& r
  40. ; There is no name validation.  If PHP can't find an expected. Z' b+ u6 M9 P) }% w
  41. ; directive because it is not set or is mistyped, a default value will be used.
    6 h. V! i2 X& `7 |
  42. * v; ~( ^, X5 N  S2 \
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% C: M8 P" ?' I  s# ?- Q8 O
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 Z: j: [0 T# g. C+ p0 V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 I9 F. K" R. A
  46. ; previously set variable or directive (e.g. ${foo})+ s9 D9 _( C  u" ^) X
  47. $ B1 N' I. K4 W; G: E3 p# u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% a+ e: k) a2 K% Q4 l; S3 ]- X
  49. ; |  bitwise OR
    ! r9 ]: U. w" v9 E% l# u$ _1 r
  50. ; ^  bitwise XOR
    0 P9 Y% ]) P! `  S3 d
  51. ; &  bitwise AND
    / A) p1 L2 W: x
  52. ; ~  bitwise NOT0 ]! [9 B0 k3 i7 S
  53. ; !  boolean NOT  {  o# ]& W6 Y* J6 Y4 k

  54. 1 V. N# o# X( d$ [2 C. e: t
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 @5 o7 D" A# ?5 @  l
  56. ; They can be turned off using the values 0, Off, False or No.
    " n( E+ P. a1 h& U. I+ l
  57. 0 ]' G! p# b* a9 ?6 a) H
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ( W1 X/ q! o+ E* R& ~
  59. ; sign, or by using the None keyword:
    ; @- D8 X( Q: N& ~7 Q

  60. 8 @1 u3 f1 v" q% T
  61. ;  foo =         ; sets foo to an empty string
    ! {) b  n1 w5 R. R0 v
  62. ;  foo = None    ; sets foo to an empty string5 u& ?/ l; L. K/ Y; D9 p* X
  63. ;  foo = "None"  ; sets foo to the string 'None'
    3 z8 f! ~  w6 y2 t' ^3 a8 Z' }8 }

  64. 6 W" m! n9 u4 i( N  l
  65. ; If you use constants in your value, and these constants belong to a7 r+ P! W, ^) |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),- e3 ~7 v* N' U) J% e/ J+ a
  67. ; you may only use these constants *after* the line that loads the extension.& ]* r5 E) ?+ z! s, Q

  68. * l6 n" T  i6 h- k
  69. ;;;;;;;;;;;;;;;;;;;! m, P# J% e  S2 Q; o
  70. ; About this file ;, o: T* P9 {3 `. q1 g% q, Z
  71. ;;;;;;;;;;;;;;;;;;;3 H0 x2 T1 Y/ c- G+ {9 I8 A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) r3 ~, c; `4 e2 H; e& E  W4 T4 ]
  73. ; in production environments and one that is recommended to be used in% O. p& U. H+ X+ P
  74. ; development environments.
    5 N1 g# c3 t( A7 T; Y( Z
  75. / w  N9 Q) [/ {4 N3 l7 n2 @
  76. ; php.ini-production contains settings which hold security, performance and7 W! }9 i* z2 M; h. v
  77. ; best practices at its core. But please be aware, these settings may break; m! j( b! U! O, D
  78. ; compatibility with older or less security conscience applications. We* C0 F" W9 w7 ]4 g0 A
  79. ; recommending using the production ini in production and testing environments.
    + p' b& Q+ c$ x: k' `7 p3 ^

  80. 4 S& I# b: N& a# L; b, t
  81. ; php.ini-development is very similar to its production variant, except it is: ?7 \) {& f( H" J. ~9 B( Y  G+ l
  82. ; much more verbose when it comes to errors. We recommend using the
    " p9 _; |% e7 O: C7 Q
  83. ; development version only in development environments, as errors shown to
    " x- C# i2 G8 p$ w6 V) a
  84. ; application users can inadvertently leak otherwise secure information." ^) ]5 ~" E# d; v

  85. . z% q. N) G) W, V  Y( y
  86. ; This is php.ini-production INI file.
    ( G5 X$ J5 ~' s8 @3 l) |1 y0 Q7 p0 o

  87. ) ]+ p2 X! m4 x
  88. ;;;;;;;;;;;;;;;;;;;
    0 n( K. P  U5 O/ u" s( d
  89. ; Quick Reference ;
    # R8 S) w" T5 P
  90. ;;;;;;;;;;;;;;;;;;;
    # j% O5 G. b: q2 m" A8 d
  91. ; The following are all the settings which are different in either the production
    3 i4 r, q' f; m
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 o4 y1 v* _1 b- h
  93. ; Please see the actual settings later in the document for more details as to why
    & P$ D$ |6 [/ B* {% Z  B# R, Y
  94. ; we recommend these changes in PHP's behavior.- N+ E: t: ]- \* d8 f

  95. 9 |4 g& N" Y, p
  96. ; display_errors
    ( z0 p/ W& B* q3 r  U$ c
  97. ;   Default Value: On
    3 W% E8 ]- l6 w+ |3 v
  98. ;   Development Value: On6 \! L% T( q) w* t* \- K
  99. ;   Production Value: Off
    . l2 r  u! `: K! j) i, V
  100. ' N" z2 @* _& x, y
  101. ; display_startup_errors0 k4 \% G! }8 E1 v" o2 K/ G5 {
  102. ;   Default Value: Off$ n# H5 c& Q4 ^, b/ V3 @9 X9 Q
  103. ;   Development Value: On
    ; A# S: k9 s# w
  104. ;   Production Value: Off
    ( k6 S1 `+ ]% n- o  R

  105. ' C* F# C( ^- V+ E3 |1 H. w( f2 T
  106. ; error_reporting
    * R; k6 A) H4 s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , C5 B/ a5 w: R$ ^, ?& A/ A
  108. ;   Development Value: E_ALL+ N4 Q% w, T/ Y' L  B& w$ c* i0 l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, ?6 P0 X8 U, b- P. T
  110. " a# y) {% f9 M8 w  k4 _8 u3 f
  111. ; html_errors
    # l% T4 S. d+ \4 S
  112. ;   Default Value: On) P7 ~# P+ Q( u/ V; r/ l( h
  113. ;   Development Value: On3 K, Y* I1 t( o* X$ s, ?9 S2 a! T
  114. ;   Production value: On
    , |( t; I5 i& e

  115. * M9 x# N% I* B/ Q
  116. ; log_errors5 z7 @" |6 j) `2 J
  117. ;   Default Value: Off
    ! p1 T& H+ x$ G. Q) r+ E
  118. ;   Development Value: On
    $ K: m8 ^8 h% p8 G8 {9 _6 x& _
  119. ;   Production Value: On/ J( A) G) P# m9 z

  120. ( h4 \$ l, G% ]" u) c' d
  121. ; max_input_time% B; ]3 Q% X8 r  c1 A: C, \
  122. ;   Default Value: -1 (Unlimited)
    ( W* _+ y7 ]* s/ r8 K, F1 f
  123. ;   Development Value: 60 (60 seconds)/ P' A8 w% U# A$ X" P
  124. ;   Production Value: 60 (60 seconds), U8 b/ \9 M+ }; f' w
  125. 2 E4 j- F5 A) I
  126. ; output_buffering+ L% N, A0 S  U& F* ~/ t
  127. ;   Default Value: Off( e8 {2 Z1 m2 i8 [; @, |
  128. ;   Development Value: 4096  F' ~, x2 ^# R: M  |
  129. ;   Production Value: 4096
    9 `1 D7 A9 V) ?/ `) w) W; `
  130. ; Y+ I. Z* y9 [( F
  131. ; register_argc_argv
    / S+ L: O) O) D8 U# _9 d, m
  132. ;   Default Value: On
    & K) X8 a* ?  x  y6 C, o% ~$ b
  133. ;   Development Value: Off8 y, q; Q' u- V+ z4 e  E
  134. ;   Production Value: Off# o! Q* W2 x! P( B
  135. : I2 m: S# {$ p0 u) F" z
  136. ; request_order, L8 o' b+ M) q+ T( F
  137. ;   Default Value: None
    6 c  D, a& n9 m! _; E: H, b% \3 M
  138. ;   Development Value: "GP"
    6 t( |! i- }( z2 A
  139. ;   Production Value: "GP"
    4 G5 t, W1 g9 {9 S' H: e! L

  140. ) c7 I) s2 ^2 r$ c
  141. ; session.gc_divisor1 I  h! `# d8 x2 X* S% k. o
  142. ;   Default Value: 100: l/ J, [- _+ C+ a8 m( W
  143. ;   Development Value: 1000
    4 s! t& Q# s, K1 ]9 X5 \/ c
  144. ;   Production Value: 1000. |) G/ d* g$ D; n* H1 g) v

  145. ; q! a/ g2 w0 ]  y+ j3 C" D1 R
  146. ; session.hash_bits_per_character* o- ~# j, e7 l! D* r7 F
  147. ;   Default Value: 4
    / v; v8 G1 @+ p3 @' s
  148. ;   Development Value: 5
      U% s, _7 G" i; Q% Z, X
  149. ;   Production Value: 5, ^1 w! t# [& T4 c
  150. ( C1 E- |, g  J5 [
  151. ; short_open_tag
    8 F- p- {/ C8 Q3 }" |
  152. ;   Default Value: On
    # F9 p$ ~# Y& t/ J, U- [
  153. ;   Development Value: Off6 d" X7 y1 ?5 J3 X" I) C
  154. ;   Production Value: Off
    ! }( k6 }6 }( R# J' Y; E
  155. ( h- M2 B: t* f3 U3 Q
  156. ; track_errors) S7 t4 j* q& Y  Z
  157. ;   Default Value: Off, X! I: z- ]8 @$ N2 Q) P9 w
  158. ;   Development Value: On$ R* ]/ M5 {/ _. S5 W0 d6 C2 V3 D9 O
  159. ;   Production Value: Off* q' c, V0 r6 z

  160. ( q/ F! O7 H) i7 x/ W
  161. ; url_rewriter.tags: }& e) q# Q$ X9 E* Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 d) j# t4 u8 }1 ?' @7 }4 R7 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( i% l- ?2 j' P% i1 h& V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". B/ U# k2 `! `
  165. 2 t3 A% |, v/ s$ t4 |9 Z! r: e1 ~
  166. ; variables_order# r+ \$ ]" Z6 ]8 S; z5 U
  167. ;   Default Value: "EGPCS"
    7 ]. |2 H  Z  ]% G' z, ^
  168. ;   Development Value: "GPCS"
    5 Q' ~& r) \9 m/ k6 J
  169. ;   Production Value: "GPCS"
    7 m$ K+ l+ z) c9 V' n8 n

  170. * s* a! x0 ^  c% J4 v/ n5 ^, C
  171. ;;;;;;;;;;;;;;;;;;;;8 c% ?6 t1 `5 V
  172. ; php.ini Options  ;$ n' s% ^: x3 p, O& p% j" z
  173. ;;;;;;;;;;;;;;;;;;;;* P0 `0 X2 `6 E1 n( o+ R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , ~) m( T/ z. l
  175. ;user_ini.filename = ".user.ini"* _, W; V5 `9 ~9 k* [, E
  176. # F* `' _+ Z$ _$ b$ w
  177. ; To disable this feature set this option to empty value
    7 _9 G6 Z5 h' [  o
  178. ;user_ini.filename =. ^& O& I1 `% R& w; B
  179. - `  H7 f$ l! r6 ?' B; w% T! Q7 x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    4 j% w; L; T& P- j3 ]+ e4 B/ o+ t
  181. ;user_ini.cache_ttl = 300( z5 Z3 Y# R( d$ Q+ M2 w3 l0 n

  182. & m# c, s  v. ~/ \8 k
  183. ;;;;;;;;;;;;;;;;;;;;
    % V. m  F; C, m+ Z
  184. ; Language Options ;7 C+ v. m4 e9 ^7 z
  185. ;;;;;;;;;;;;;;;;;;;;, C( N4 I' g; M5 C; N+ J, W

  186. ( G- c$ e7 k* G$ N+ A+ E- S
  187. ; Enable the PHP scripting language engine under Apache.
    6 n' Q! b# G' e; z, b
  188. ; http://php.net/engine
    - Q8 {( L" b* ^- C! i7 _2 ~' t/ p
  189. engine = On. L0 }+ L% a+ j1 s
  190. : g6 F9 S! ]8 h8 _
  191. ; This directive determines whether or not PHP will recognize code between4 J% r  |; G! b, u$ @8 Q( g
  192. ; <? and ?> tags as PHP source which should be processed as such. It is6 K9 P  T# Z( G; |# Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' C5 H3 w* K! Z2 N
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . \, |" |" }1 N1 N! a
  195. ; documents, however this remains supported for backward compatibility reasons.! z7 N5 @% L9 g0 _! f/ T
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      D2 I8 Q& y9 f$ l& V0 O9 o
  197. ; used regardless of this directive.$ R: p+ R- k, E; \2 Q* ~% X
  198. ; Default Value: On! ?" m" a5 t$ E/ q/ m. e# r
  199. ; Development Value: Off1 ?! r2 B5 {$ F* h
  200. ; Production Value: Off( S6 {% o  B) ^  l! W
  201. ; http://php.net/short-open-tag
    , ~0 W2 N! x  k, h
  202. short_open_tag = On
    . B) u- \/ I$ Z" |! a* _/ q1 P' I$ t
  203. 1 z, p6 ~, `' ^
  204. ; Allow ASP-style <% %> tags.* R8 j0 z) C" t2 `5 N0 _! p0 V4 Q3 N
  205. ; http://php.net/asp-tags
    3 ~/ W  M! `7 T: t3 R$ {, P
  206. asp_tags = Off* F! J6 f+ G# @6 u  U

  207. / j/ f; m5 K7 Z6 H/ N
  208. ; The number of significant digits displayed in floating point numbers.6 ]: k3 ?& R; |: B' Y
  209. ; http://php.net/precision
    9 N6 X2 Z" |) @; s( w- Z3 D5 r7 v# r
  210. precision = 14
    5 Y! Z; k8 U- x! M- k( z
  211. 4 c" B+ n  x' |8 U
  212. ; Output buffering is a mechanism for controlling how much output data
    ) k1 s2 _- c7 N( j3 ~- l7 b) Z$ |
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    * R! Z: O! O3 F* M" w( z1 l
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : U3 M9 o4 {1 ^! q& _( Q, V
  215. ; will send that data in chunks of roughly the size you specify.( Z. Q" F# c% ]# P$ p" J: \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    6 ^: A2 S; a) U$ V
  217. ; interesting side-effects depending on your application and web server.
    5 [; L* H8 v/ p* X; X5 b1 v8 m
  218. ; You may be able to send headers and cookies after you've already sent output
    ; p( B5 W9 X1 ]  m8 w
  219. ; through print or echo. You also may see performance benefits if your server is2 ~; ?" N, C+ ^: m+ s) u$ Y  o: X
  220. ; emitting less packets due to buffered output versus PHP streaming the output% A6 f5 ]& Y* |! j2 I; C
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / }9 X7 Z: _, h) L" I% j
  222. ; reasons.* u: n; N, @1 C, X/ \; I  y7 c
  223. ; Note: Output buffering can also be controlled via Output Buffering Control5 t  p/ Z2 T2 w' a: D: A) S: E+ j
  224. ;   functions.
    & _* s( z! d" k
  225. ; Possible Values:* G8 N% u6 N: T: K3 z
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . f$ H: ^0 I' G( F! _
  227. ;   Off = Disabled' L+ j, ~% Q! s  E' Q$ Q2 M
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ; ]9 V2 e2 a+ {& z8 G2 O( B7 r
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' @! f' K) a- A$ x: I; ]' \+ v
  230. ; Default Value: Off
    ! F7 |9 w( c0 O/ h  m8 W
  231. ; Development Value: 40967 K& H! f% i! [' X3 b' @( ?) a
  232. ; Production Value: 40960 N7 J; F" ?5 N& Y( E
  233. ; http://php.net/output-buffering$ N3 i; H# V" E8 r" O
  234. output_buffering = 4096
    3 J( M- _: A2 B5 X5 H8 x. r
  235. # g6 x, F1 v6 z" H
  236. ; You can redirect all of the output of your scripts to a function.  For0 i4 C1 ^/ A8 Y
  237. ; example, if you set output_handler to "mb_output_handler", character3 D6 p* W7 g- c# y3 a( r
  238. ; encoding will be transparently converted to the specified encoding.4 W( F4 o8 J* N5 O! [+ O( R4 U7 @& v
  239. ; Setting any output handler automatically turns on output buffering.( B: x7 N- z) ]' F5 \& B
  240. ; Note: People who wrote portable scripts should not depend on this ini4 r/ T$ u6 z# r# f8 H
  241. ;   directive. Instead, explicitly set the output handler using ob_start()./ Y( r! G1 z3 Z1 L
  242. ;   Using this ini directive may cause problems unless you know what script
      ]& |5 M6 m# W0 `$ ^. x0 K
  243. ;   is doing.
    - y2 W+ n$ k4 ^; @  n; }' T
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( n+ m5 {3 l/ T4 B# h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".* S. |3 \0 F% X9 B5 t* Q
  246. ; Note: output_handler must be empty if this is set 'On' !!!!) r; K$ E* \' |% r, f8 j- Z8 F7 R4 g
  247. ;   Instead you must use zlib.output_handler.
    - \7 M: T5 Z: Z. I/ G
  248. ; http://php.net/output-handler3 P+ c6 S- ^* S/ c, {" _
  249. ;output_handler =( l% N- ^: u* e
  250. # s4 ]+ ]3 g) P/ r
  251. ; Transparent output compression using the zlib library6 p. H6 z1 N: b1 w/ n# l
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 {( X& F3 T4 J, |
  253. ; to be used for compression (default is 4KB)8 x& M8 m4 G6 Z' ^. f! a) j
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      X* P9 g6 E" r& n# q# \. T! p8 E3 M
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    % h5 T$ ~1 I8 x. `/ O  e8 _
  256. ;   compression. If you prefer a larger chunk size for better: E5 i. L5 U4 M# @
  257. ;   performance, enable output_buffering in addition.
    , p7 z6 D1 N& W5 L( b
  258. ; Note: You need to use zlib.output_handler instead of the standard% q* k; U: v5 v" ~( ^
  259. ;   output_handler, or otherwise the output will be corrupted.
    2 G0 D# C, U! B' u5 Y
  260. ; http://php.net/zlib.output-compression+ [& d# o7 D1 h* L" h
  261. zlib.output_compression = Off# U" R7 P2 A# _
  262. 7 z; R' [# h8 Z
  263. ; http://php.net/zlib.output-compression-level
    0 K6 t0 t; r+ ?
  264. ;zlib.output_compression_level = -1
    3 B# q1 P3 H& o9 r* x
  265. ( x3 T2 c) O% Q6 r; t# ]- q
  266. ; You cannot specify additional output handlers if zlib.output_compression  I4 B' z' K: h. X3 Q5 G2 R
  267. ; is activated here. This setting does the same as output_handler but in9 D) F0 H2 V6 q/ q
  268. ; a different order.
    + Y! z: U2 I7 N
  269. ; http://php.net/zlib.output-handler
    & _' Y  `* `' ?
  270. ;zlib.output_handler =. o1 U0 {9 Q* `' D5 m
  271. : P' X( s1 U, O- U7 r' l" w
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ x- h7 g$ t" C/ l
  273. ; automatically after every output block.  This is equivalent to calling the
    4 I% c; ^$ P  W3 _+ G. @
  274. ; PHP function flush() after each and every call to print() or echo() and each, \3 E9 Z. m9 L. S1 [
  275. ; and every HTML block.  Turning this option on has serious performance" R- Y' ^: O% S2 n  u. x
  276. ; implications and is generally recommended for debugging purposes only.2 e* a" O* R7 K9 E6 _0 e
  277. ; http://php.net/implicit-flush
    ) @2 @) U$ r5 G( r) e
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 V; J" e1 d6 k5 E6 f9 Q
  279. implicit_flush = Off
    + \# B. Q1 o3 U% x2 \" p/ [

  280. # M' ^& l! T  h" e/ T9 V
  281. ; The unserialize callback function will be called (with the undefined class'
    7 K/ m+ `' Y9 N' Z
  282. ; name as parameter), if the unserializer finds an undefined class+ e! E$ ~* X  G+ ^3 C+ a2 D
  283. ; which should be instantiated. A warning appears if the specified function is* G( `* M& H8 k! V
  284. ; not defined, or if the function doesn't include/implement the missing class.& L( p" d+ z7 A: r0 P
  285. ; So only set this entry, if you really want to implement such a& j# f# A# F$ U* ^) ?
  286. ; callback-function.
    ! c. ^" t. z) |' b: D$ @
  287. unserialize_callback_func =% L1 M; f0 P; m# q

  288. 4 s+ M; n& |" E
  289. ; When floats & doubles are serialized store serialize_precision significant1 W7 j6 R5 i6 y; f
  290. ; digits after the floating point. The default value ensures that when floats
    8 o" X. z2 X. B/ y+ h
  291. ; are decoded with unserialize, the data will remain the same.' ]5 D. \2 P8 S& }8 v
  292. serialize_precision = 17
    , t$ T& ~2 G4 J; [; \5 O1 h* L, ]
  293. $ B/ `' A0 g3 P& k3 T# e7 n( Q
  294. ; open_basedir, if set, limits all file operations to the defined directory% a3 w% I# Q# @4 h6 h( A
  295. ; and below.  This directive makes most sense if used in a per-directory3 W2 ~+ g. }+ b. p2 v
  296. ; or per-virtualhost web server configuration file.
    ; a7 z" a& X+ o7 Z9 R
  297. ; http://php.net/open-basedir
    3 ^- v1 m4 a* c: }0 b* @5 p
  298. ;open_basedir =
    2 E  Q9 W" d2 p1 c
  299. ! [) ]3 L; \: Q5 R' S; g( P
  300. ; This directive allows you to disable certain functions for security reasons.
    - K" w8 G, \$ B, P/ I, k( [2 k
  301. ; It receives a comma-delimited list of function names.
    ! P; P( S( s5 x. O8 R
  302. ; http://php.net/disable-functions/ J6 T. M7 Q( D+ L2 o' ?% q; b
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / H+ i! h) B8 C
  304. ; g4 a1 b2 V1 t! \2 A" M
  305. ; This directive allows you to disable certain classes for security reasons.1 U1 n- A/ k+ t" ]! u% W
  306. ; It receives a comma-delimited list of class names.
    & W% I7 @! S( t: Q9 Z/ b8 J! V
  307. ; http://php.net/disable-classes: G0 _8 F6 Q6 \7 E5 y9 O4 u" G
  308. disable_classes =
    $ g- g- t+ G5 p" ~' x. h

  309. * `3 T5 o3 \/ |; K% E2 f9 y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* t3 I" R2 h: p0 g+ c, Z
  311. ; <span style="color: ???????"> would work.' V! y: s- U  g5 L) M3 c; q
  312. ; http://php.net/syntax-highlighting
    7 q8 X2 i0 Y5 f! V/ m) Y, d: L
  313. ;highlight.string  = #DD0000' o8 y. x* g+ P
  314. ;highlight.comment = #FF9900
    / W1 I1 y+ M/ u3 w4 G$ E
  315. ;highlight.keyword = #007700  A0 f5 {+ S. {' h4 p( V( ]
  316. ;highlight.default = #0000BB" U3 v" F5 j; d9 `& x7 n5 k( K
  317. ;highlight.html    = #0000005 K  d7 N3 o# e' }& b
  318. 6 A3 e# Y6 {$ f% t# d8 S8 K: m
  319. ; If enabled, the request will be allowed to complete even if the user aborts% H) x0 _) E. O1 c* p2 C2 _
  320. ; the request. Consider enabling it if executing long requests, which may end up" v9 _0 b% M, `  l
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior* Y& w: U$ k6 t% I
  322. ; is to disable this feature.0 }6 v6 c0 V7 W
  323. ; http://php.net/ignore-user-abort2 y$ `* E% k- b$ N2 u
  324. ;ignore_user_abort = On
    ! G" y2 ^& p( H7 k. l3 a% D
  325. # ]$ H, m2 O$ {% [# @( \
  326. ; Determines the size of the realpath cache to be used by PHP. This value should) V1 N' E3 {3 ^1 t, {
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 g- G1 n8 P( U5 C
  328. ; the file operations performed.' G( y3 D* C+ N# t) b& N- c# W
  329. ; http://php.net/realpath-cache-size
    * y! q! F$ u6 ?' Q) {6 ^
  330. ;realpath_cache_size = 16k
    ( e& W5 o' @9 g+ a, a( y( m
  331. 6 }: y: R7 U5 b" l& e  K
  332. ; Duration of time, in seconds for which to cache realpath information for a given$ O  P  ~  r! @/ d- |
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : f/ b( {0 A+ G5 Q) b
  334. ; value., R0 i0 G$ x" r6 t( Y6 R3 |
  335. ; http://php.net/realpath-cache-ttl
    ! G/ ~( P) L: S
  336. ;realpath_cache_ttl = 120. b' O& ?9 i$ g, C2 q4 T" h
  337. 4 ?# y# q3 G) U0 }1 C
  338. ; Enables or disables the circular reference collector.. P3 h# j( [2 V% Q3 M# \( v2 A  N! \
  339. ; http://php.net/zend.enable-gc
    . N  K6 S2 S3 J) s
  340. zend.enable_gc = On- t( L+ X2 j7 y3 a, b: B

  341.   f/ `( B0 z/ D' x7 D
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ( {& J9 r4 Q8 B+ b4 w- _  R
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; P3 P& J8 F) w
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 V5 x2 C4 u  X: W1 L
  345. ; Default: Off* A+ B9 K2 }! @6 x1 ~, v' s
  346. ;zend.multibyte = Off; v. w% }8 }4 x
  347. 8 g6 h% j$ V6 ~7 a- p
  348. ; Allows to set the default encoding for the scripts.  This value will be used5 Q: T4 U1 f$ J2 i3 I1 @7 M9 {
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 u: R  C0 D9 i( h/ P( O2 e
  350. ; Only affects if zend.multibyte is set.
    4 ]6 `: D0 ?" S1 @2 B* o) n
  351. ; Default: ""* L% \8 b2 Z) e6 h+ S5 S
  352. ;zend.script_encoding =
    5 w3 g0 O6 t) Y7 c% Z# a
  353. 9 m. g+ ?2 I5 h. Y3 c
  354. ;;;;;;;;;;;;;;;;;- o2 p9 I0 Z0 q" I
  355. ; Miscellaneous ;4 |" _6 {6 l9 B  @- m1 r8 m8 Z
  356. ;;;;;;;;;;;;;;;;;$ \" V  @% D( E/ @) h1 F0 J
  357. / X7 c  u+ s2 P' G
  358. ; Decides whether PHP may expose the fact that it is installed on the server1 W5 d1 p5 U/ o5 A! |
  359. ; (e.g. by adding its signature to the Web server header).  It is no security% u- g, j$ {) X2 x/ l
  360. ; threat in any way, but it makes it possible to determine whether you use PHP5 E" @/ L: J$ f8 m5 f
  361. ; on your server or not.
    1 o# V/ r5 n5 A; H: m* \3 ^
  362. ; http://php.net/expose-php
    0 n9 a1 H5 f) M5 K" S
  363. expose_php = On
    9 W4 G* M% D7 }! @+ W
  364. / N' Y- e/ E" {  _# D  ~
  365. ;;;;;;;;;;;;;;;;;;;
    7 k4 e. Z  p- Q$ f# o  y  ^
  366. ; Resource Limits ;
    ! @0 ]; ]5 `* C1 e( @7 Q
  367. ;;;;;;;;;;;;;;;;;;;
      f5 C7 P8 l6 _- O8 F& S- P
  368. + s9 X1 G: G& m9 L. b
  369. ; Maximum execution time of each script, in seconds; U# t9 M+ ]( p( X4 [" q
  370. ; http://php.net/max-execution-time
    4 J% {6 m+ P- |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: s* R% ~& A6 G+ l; W
  372. max_execution_time = 300
    + J, U, P; S- Y7 O+ {# c

  373. # c& I' _" b/ l* O# j
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & p! d) x1 R* X
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 D- x3 s7 V# M  P1 e
  376. ; long running scripts.
    6 m; V" L! F$ T" H5 ~/ _7 B
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 y" @, @# L/ D6 @$ s
  378. ; Default Value: -1 (Unlimited)& g2 G" R) e7 m: b7 W8 _9 c
  379. ; Development Value: 60 (60 seconds)& S) x+ {; \# y" ~$ h9 |' L" h9 u
  380. ; Production Value: 60 (60 seconds)
    & e) Q/ |& n& b
  381. ; http://php.net/max-input-time6 [; D  o+ r* O8 T( b) H4 c
  382. max_input_time = 60
    " ]( ~2 R/ ?2 g* ]1 ~- H

  383. 3 w& X4 w( z' j+ D1 [
  384. ; Maximum input variable nesting level4 z* a  z, P( R, m. s" x5 ^( C
  385. ; http://php.net/max-input-nesting-level6 p0 l! h9 e$ `+ T* J  D  O8 y* [6 d) b
  386. ;max_input_nesting_level = 64' c/ t2 c' u0 i- w& k" @& c9 v
  387. : _$ b+ K4 [: \  M
  388. ; How many GET/POST/COOKIE input variables may be accepted
    6 [) s- S, ]: l% O0 J  W4 P2 V, a
  389. ; max_input_vars = 1000
    : q( {( y/ h. h* @; |) P

  390. / e. r9 k) y  ?+ u2 V, N9 o; q
  391. ; Maximum amount of memory a script may consume (128MB)
    5 p6 b( h- G7 t" Y* o4 Z. N3 Q
  392. ; http://php.net/memory-limit3 R1 K: F0 T" g; \+ L! O
  393. memory_limit = 128M  \% n3 ?) F7 [$ u  E

  394. 8 i/ t  ^, [9 P4 G2 T$ a8 ^  }
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 B1 _  L5 x+ r& L* R' h: E  F
  396. ; Error handling and logging ;0 A: N, [( E  B7 \0 _8 }8 }. z1 s
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# k9 ]% u6 |. v' G

  398. 3 e+ Z9 C$ {! {. S2 o8 k6 `/ Y  y
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    2 \* l7 \. ^& m9 {$ O& z
  400. ; it to take action for. The recommended way of setting values for this
    & H% d- ]" B1 i! s8 e) f
  401. ; directive is through the use of the error level constants and bitwise
    7 l, v$ K( k+ u- b
  402. ; operators. The error level constants are below here for convenience as well as
    - b0 N% S' o+ I
  403. ; some common settings and their meanings.; H2 e/ G$ U& ?" s
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    * ^0 L4 r% t0 u/ `  o! J5 ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and( ?; t5 H( m2 E% w7 T4 k
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    / {3 m: I0 N& v; {' k" f5 J
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    # ?+ ]: ^0 M0 n1 O
  408. ; resources complaining about best practices and coding standards. That's what* P; f( B5 _0 H  w! Q. _6 L
  409. ; development servers and development settings are for.9 }0 u6 b$ `3 _: x% Q- E
  410. ; Note: The php.ini-development file has this setting as E_ALL. This8 q7 t& Q& z/ ^; t/ k
  411. ; means it pretty much reports everything which is exactly what you want during
    $ n# C0 t1 l" M! e5 |8 f; `
  412. ; development and early testing.
    / Z7 r( p/ }6 A8 G  X& v
  413. ;
    ' h/ y3 O0 J- `! N9 w
  414. ; Error Level Constants:
    4 [7 P, w' _% E/ z* w+ G6 y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* \4 C4 f- f9 S: n% ]
  416. ; E_ERROR           - fatal run-time errors
      K; _% s# G$ s
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 ]) p( @& M0 B" Q/ M5 e  K4 a
  418. ; E_WARNING         - run-time warnings (non-fatal errors)1 S  r" t) W0 j0 u3 y, I
  419. ; E_PARSE           - compile-time parse errors
    * I& |9 u% d, S' t1 p& q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    , F# Z& S0 Y6 u0 q& K; e0 A
  421. ;                     from a bug in your code, but it's possible that it was7 y4 s- |, P( ~* Y% B/ N6 m0 E
  422. ;                     intentional (e.g., using an uninitialized variable and
    0 {6 D+ P5 ?7 j; A% W! N. n
  423. ;                     relying on the fact it is automatically initialized to an* y( v7 Z- a' Q- m& t
  424. ;                     empty string)
    " L. Q4 ]4 h8 d& @' ~2 r8 ^
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    3 V, \1 u7 L/ b+ I) {# u
  426. ;                     to your code which will ensure the best interoperability
    0 n4 F6 ^- K8 l9 P( H$ D
  427. ;                     and forward compatibility of your code
      R( ]+ I; @. \- y& Y; y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ! a; {: J4 N- K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 o, I$ P: ?+ y* O0 Z
  430. ;                     initial startup: m% d, t/ W; i1 b* C
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & e( R% Z: B5 a. y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 ~0 J2 L6 h; h' C, b2 J7 |) M# y- g
  433. ; E_USER_ERROR      - user-generated error message! l3 |2 |. f  a( W. ?5 L
  434. ; E_USER_WARNING    - user-generated warning message
    + Y/ _3 b! o6 C. S+ y: _6 {
  435. ; E_USER_NOTICE     - user-generated notice message7 s. v4 T7 w2 r+ F9 P
  436. ; E_DEPRECATED      - warn about code that will not work in future versions3 G3 [* L$ m7 u$ u
  437. ;                     of PHP7 T( e1 M# t7 ]8 ?
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , o3 s0 p2 A2 k) c* n
  439. ;& O' @) N- S  ^% }" N* Z) K
  440. ; Common Values:
    / r! E5 L7 `- C- ?5 Y
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' m9 @9 ]/ T" ~3 ^* a* l
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): @( f! ?6 ~& M
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ; Z* {' X; Z3 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ' n  |6 U* [; R2 Z5 k
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + P9 O, ]( V7 d# p
  446. ; Development Value: E_ALL* P5 G7 \% l+ C8 H& N) u% Z" V
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ [  N/ t1 g5 x/ @4 ~
  448. ; http://php.net/error-reporting
    6 n( `1 |1 w" L3 J6 O
  449. error_reporting = E_ALL & ~E_NOTICE
    ) T9 Z9 d9 m/ T6 h9 l6 P$ L

  450. 2 r# A0 R/ @$ i  d2 s
  451. ; This directive controls whether or not and where PHP will output errors,
    1 Y, F' j% _( a& r7 U
  452. ; notices and warnings too. Error output is very useful during development, but4 s8 o, e1 j  q9 E
  453. ; it could be very dangerous in production environments. Depending on the code2 ]# n) \: p* Z2 A6 Q4 x
  454. ; which is triggering the error, sensitive information could potentially leak% h2 N, b0 }% p+ P
  455. ; out of your application such as database usernames and passwords or worse.
    . w3 ^+ L+ [( C
  456. ; For production environments, we recommend logging errors rather than
    2 l' X0 M7 j7 c) \* \( i2 R# f3 w  Z4 Q
  457. ; sending them to STDOUT.
    ! m1 `6 i2 j$ }8 M) Y
  458. ; Possible Values:) _4 ^$ [1 ]4 U" M4 L
  459. ;   Off = Do not display any errors
    & P0 {# ?8 N0 o
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), b0 b& o; @7 E! J" R
  461. ;   On or stdout = Display errors to STDOUT2 I1 C  L7 J% h" d
  462. ; Default Value: On& e* e7 E0 s0 O, ^  u
  463. ; Development Value: On
    % M. c5 a6 l  g! c" i- p
  464. ; Production Value: Off
    7 A7 {8 @* s9 {9 v8 i" V' A- ?
  465. ; http://php.net/display-errors$ [$ B4 _) U( g+ h5 l1 O
  466. display_errors = On5 I- i8 R  B  I5 Q* O& f* W8 E
  467. ) V# R) T) _- K" p% d2 n% Y
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : H) [; Y4 A/ N5 Z$ t
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ) L! G( _' F7 C; g4 c0 m& `) q8 k
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * E( n" e; P. q  V' q6 g: Q
  471. ; debugging configuration problems. We strongly recommend you
    2 @) G. x( x9 ?; ^
  472. ; set this to 'off' for production servers.
    8 C4 }( D( Q+ A1 m6 X
  473. ; Default Value: Off# X) B* f& R' d. \) D' U  L
  474. ; Development Value: On
      N) x" L: [; V  i& R8 F7 K/ b) I
  475. ; Production Value: Off; Y2 L- N7 V+ I" |3 T" z, r1 ^) ?, _
  476. ; http://php.net/display-startup-errors7 L# T* K/ d) [$ E+ r$ G" @5 s2 G
  477. display_startup_errors = Off
    * C0 c; k, |8 p# p. x1 C
  478.   ?1 q) V' u7 ~1 |
  479. ; Besides displaying errors, PHP can also log errors to locations such as a* S% n, z3 |, t. C% e! n& n! X2 }
  480. ; server-specific log, STDERR, or a location specified by the error_log
    % q* g" {* T% ]# }; d% q; J1 h
  481. ; directive found below. While errors should not be displayed on productions
    5 r/ O( S; ]+ M3 D7 x' s
  482. ; servers they should still be monitored and logging is a great way to do that.
    9 e4 X  N: C0 C5 Y/ A8 A) K
  483. ; Default Value: Off
    5 P. ?1 S' W  r) i0 ~
  484. ; Development Value: On
    4 j* j7 p) M7 W2 E& M" l9 k7 U
  485. ; Production Value: On
    ' j% C* D. `; l* d7 n8 j
  486. ; http://php.net/log-errors4 a. L9 c; b( A  n* |
  487. log_errors = On
    * q# o" `( h6 h0 k6 I
  488. ( q( w! V, t4 M) [9 X" {  o& e
  489. ; Set maximum length of log_errors. In error_log information about the source is# T. m5 I( F. c8 u
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 @! {# T+ e% }9 c7 L
  491. ; http://php.net/log-errors-max-len9 z* W, |7 a/ H7 B6 m/ `+ s2 n
  492. log_errors_max_len = 10243 ^% N& a+ v& n+ A
  493. ; }& ^6 ?2 ]2 O% e! f
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same+ x: c8 n* ^9 @8 Y& m% K9 _4 P
  495. ; line unless ignore_repeated_source is set true.4 K8 F+ q* y; n* p
  496. ; http://php.net/ignore-repeated-errors  {/ M! O4 k3 J. ]8 p
  497. ignore_repeated_errors = Off
    , c3 g6 v2 f' N. H

  498. 6 U% R% J/ F9 C( N) H/ C# ^( \
  499. ; Ignore source of message when ignoring repeated messages. When this setting, e% r+ G8 i1 F$ |' o, H; P6 U
  500. ; is On you will not log errors with repeated messages from different files or/ Y& |2 T; e0 q# W0 h9 L
  501. ; source lines.1 F) c7 D+ ^% V- {1 J) N
  502. ; http://php.net/ignore-repeated-source
    # P$ t/ c% I$ i
  503. ignore_repeated_source = Off3 l% {( P2 M4 y3 J4 j+ H; T# L

  504. 0 s3 c7 }" g$ N
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    5 K* L) T# {4 T) J; ^
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    - [* c+ \+ N- \; X
  507. ; error reporting includes E_WARNING in the allowed list. F- u' X2 \5 d6 _! S
  508. ; http://php.net/report-memleaks
    - r: n* i6 l6 j  X1 R+ k4 w
  509. report_memleaks = On
    0 |0 E( b2 @, _8 o6 M
  510. % M% y& C7 c9 ]! v0 I9 x$ j5 w
  511. ; This setting is on by default.
    6 E& f3 D9 u! o& g4 h
  512. ;report_zend_debug = 0
    & Q0 d# U- D; d6 c, O$ |6 O& t

  513. + \& q. D- A! a
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 u% f; U, X' D" T& {
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    - U2 c" q! N# d
  516. ; however be disabled on production servers.
    - n, c( q4 r1 b" B
  517. ; Default Value: Off, r$ M5 }0 M3 E. [: s; t
  518. ; Development Value: On
    ! K4 B2 M: X) C
  519. ; Production Value: Off' W* T: M( `1 x
  520. ; http://php.net/track-errors" k& X. J# d; Z
  521. track_errors = Off
    1 w6 c+ g. _0 \5 P6 S) v' Y# W, \
  522. , a  C  [% }& T; z  Z
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 U) o5 Y6 ]5 H  ]4 @' n7 p. _
  524. ; http://php.net/xmlrpc-errors" ~* l+ d% S0 A. I% K& p; K
  525. ;xmlrpc_errors = 0# c4 F% s1 e5 T6 L
  526. ' J9 ^, U& i7 o, l0 R  q% m
  527. ; An XML-RPC faultCode
    " B3 E' [8 S6 Z. T3 z) Y# S1 D. M
  528. ;xmlrpc_error_number = 02 A- o% N* \  V' ~- y- p
  529. # U4 \3 ]: {( d! G( g! G- _
  530. ; When PHP displays or logs an error, it has the capability of formatting the
      p, S  ~& L4 U) A5 Z7 _3 l" s# ]
  531. ; error message as HTML for easier reading. This directive controls whether' C+ e$ x& f1 S% r3 P  c0 m, d
  532. ; the error message is formatted as HTML or not.! q9 M2 _6 n) s; O
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * a7 E2 L3 M8 ?# G1 P6 y
  534. ; Default Value: On
    % ~: U7 X0 Q, \! n( g% t, O
  535. ; Development Value: On3 H, j! @7 ~6 [" ^* ~7 ?( h
  536. ; Production value: On
    , W( M, {1 s6 y: I
  537. ; http://php.net/html-errors
    2 @8 y. E4 I% W9 H/ a
  538. html_errors = On
    + @& U; C* f6 k0 P

  539. / x- z# h$ r  s# E
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ; n6 Q3 B% ~5 i$ Y$ j
  541. ; produces clickable error messages that direct to a page describing the error4 [) P. q! R* w; [! A2 J$ c
  542. ; or function causing the error in detail.. n9 k& ]5 i7 _
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 e8 {% h& z$ m6 r
  544. ; and change docref_root to the base URL of your local copy including the
    # `& @. Y1 @, b# E& [1 X9 k
  545. ; leading '/'. You must also specify the file extension being used including
    , w6 U% X" q5 P$ T& H: ^4 q
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ s; \& w+ z" F! \) ?2 |
  547. ; case no links to documentation are generated.
    1 U4 @" r  O. r. j2 M1 t- I
  548. ; Note: Never use this feature for production boxes.
    , q4 o2 z5 N0 ^& q4 @$ O
  549. ; http://php.net/docref-root% r5 g0 ^5 a9 l- r- m
  550. ; Examples
    - g2 d, b( w& L7 \% ^; U
  551. ;docref_root = "/phpmanual/"8 [  }3 \* Z8 T+ h

  552. ! t* y1 J; K% ~0 e$ D! M
  553. ; http://php.net/docref-ext+ T4 f8 I" q$ y
  554. ;docref_ext = .html5 l) d$ g, F7 V
  555. ( p; H9 H, _" |5 a: d( }
  556. ; String to output before an error message. PHP's default behavior is to leave
    $ i! n& \( D6 r3 v3 {5 o# F" F
  557. ; this setting blank.
    ' V  ^* {4 q# r! b
  558. ; http://php.net/error-prepend-string' p9 b6 i$ y# x5 ~+ ]( @
  559. ; Example:
    . D; \8 `8 h! _. S5 L5 ^
  560. ;error_prepend_string = "<span style='color: #ff0000'>"% V4 r+ Y6 i/ @! R3 l( W2 Z8 [
  561. : C: X, F: v4 h4 i, I
  562. ; String to output after an error message. PHP's default behavior is to leave0 q( d  e5 [5 D1 [5 \/ N
  563. ; this setting blank.
    ) U3 p  ^) t" m1 i! w) r
  564. ; http://php.net/error-append-string
    3 L2 a6 y3 V- O# P' W
  565. ; Example:0 c% R. y9 O! c
  566. ;error_append_string = "</span>"+ ]1 S7 }8 W# s) _4 l
  567. 3 p/ r. h. B1 Q0 j
  568. ; Log errors to specified file. PHP's default behavior is to leave this value( z1 s, c% r3 g* p3 D4 \
  569. ; empty.( H9 b2 A4 V( P- i: ^7 l$ k7 B8 D
  570. ; http://php.net/error-log
    % p: R- d( C( o7 Y& Z
  571. ; Example:
    ! U7 [$ I8 U7 e+ h
  572. ;error_log = php_errors.log
    / b# M7 R3 e8 Y4 c' T) G. s
  573. ; Log errors to syslog (Event Log on Windows).& ?; U% u. d7 J. B+ ~& G, i
  574. ;error_log = syslog' X, R; @% L; p$ A. M! T

  575. ; I+ N- c0 n9 e
  576. ;windows.show_crt_warning$ i7 G9 v  k: o4 ?& K+ x' p4 e; z$ Z
  577. ; Default value: 08 N  l7 k) x# b( e3 q0 r) r! t
  578. ; Development value: 0
    . z! I& p; T8 h2 F5 N+ P% E. m$ L
  579. ; Production value: 07 a2 s% J" h' n7 z* r! A7 S0 C  T

  580. 3 b6 Q9 n: x: V" [: U  K; h
  581. ;;;;;;;;;;;;;;;;;
      p( y; e$ f& [7 \, n1 i
  582. ; Data Handling ;
    ! ?2 Q7 c0 W: v( A: {* f" \7 Y
  583. ;;;;;;;;;;;;;;;;;
    8 O7 s- X+ w5 A  e; G; l" d

  584. ! [% O% j- D; ~
  585. ; The separator used in PHP generated URLs to separate arguments.2 ]# S8 q: X! ~- {& ]
  586. ; PHP's default setting is "&".
    + a: y- X3 j3 K  w
  587. ; http://php.net/arg-separator.output
    ' I( \3 C/ j9 e3 a) y/ E
  588. ; Example:
      Z. u1 O. ~9 Y: j% l) H4 ~
  589. ;arg_separator.output = "&amp;"! ]) K; P+ q* R
  590. 3 H* H4 L2 f; S& S+ c
  591. ; List of separator(s) used by PHP to parse input URLs into variables.0 G- R4 @4 |. H) i/ _6 u& b+ c% _
  592. ; PHP's default setting is "&".- G3 ~# v: h- q+ ^
  593. ; NOTE: Every character in this directive is considered as separator!2 p/ L8 Z1 ?4 S+ H- e$ }
  594. ; http://php.net/arg-separator.input. ]7 F$ f1 k  T3 A8 n6 i5 l) W
  595. ; Example:
    " G3 t3 ?, @" K, @3 ^
  596. ;arg_separator.input = ";&"
    $ u- h( r* ~, I

  597. , P4 w- c( f0 B8 h. S& \' e
  598. ; This directive determines which super global arrays are registered when PHP
    ; [- I& e0 W+ b1 }
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super+ m! F! R0 c3 G; d) Y- a( j
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      ]# ~  q4 v7 R& [) {; a
  601. ; paid for the registration of these arrays and because ENV is not as commonly" N5 c( \4 T6 U3 V
  602. ; used as the others, ENV is not recommended on productions servers. You  R* ^) V4 [- B. U! u9 ?
  603. ; can still get access to the environment variables through getenv() should you# F2 O( H6 \1 N# M, [1 ?  j
  604. ; need to.
    * o. b, j$ Z" L7 A! B8 P
  605. ; Default Value: "EGPCS"
    ; U3 O1 j1 b1 U* l% d8 _+ @
  606. ; Development Value: "GPCS"
    9 u# Y' C0 S7 Z; h7 ?4 c, d7 I
  607. ; Production Value: "GPCS";
    % U+ N% i! T% o, o* R  @* M
  608. ; http://php.net/variables-order
    ) [3 d% c' g/ R9 F1 L( ~
  609. variables_order = "GPCS"9 I$ H* G4 R! p' X9 C5 e( T

  610. ( W3 V' W6 ^8 Z' P5 w
  611. ; This directive determines which super global data (G,P & C) should be
    5 f& z' _8 \/ Z
  612. ; registered into the super global array REQUEST. If so, it also determines5 f+ A7 O- t4 B' d1 x0 ]4 k
  613. ; the order in which that data is registered. The values for this directive
    6 x6 \( d( K6 [4 ~# x
  614. ; are specified in the same manner as the variables_order directive,
    4 X% S7 Y2 X- ?1 r
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( b/ R+ J7 [# T! q9 W
  616. ; in the variables_order directive. It does not mean it will leave the super
    ) h7 Q8 }  X( x4 x; n* @: V  I
  617. ; globals array REQUEST empty.8 f$ v% i' q( y5 j
  618. ; Default Value: None
    ; G' I: w* K' y* H
  619. ; Development Value: "GP"5 _7 [  }7 x' S3 A) o
  620. ; Production Value: "GP"
    , b1 ?: @. k+ F. N1 ~' @
  621. ; http://php.net/request-order0 z7 V( m% i, p+ `! |; D
  622. request_order = "GP"
    ! F% u( j/ ]" B; n; z
  623. 5 z. i/ V8 {% ?8 F. e9 p
  624. ; This directive determines whether PHP registers $argv & $argc each time it& n8 r/ e* W  E  R( A
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 h: w1 m( R9 h1 _2 Y# @2 y* m
  626. ; is invoked. $argc contains an integer representing the number of arguments, f7 `, K5 _# x
  627. ; that were passed when the script was invoked. These arrays are extremely
    ) F' u/ w. q3 a; Z+ s1 H" B/ ?
  628. ; useful when running scripts from the command line. When this directive is9 P3 c( K0 E9 G4 [, h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ! o! ~* V  y: {3 o: W
  630. ; a script is executed. For performance reasons, this feature should be disabled
    + o' S& L: }: Y' y4 t0 u' \8 f
  631. ; on production servers.9 v8 h. x" e! V' r+ G" Z4 \* p
  632. ; Note: This directive is hardcoded to On for the CLI SAPI5 n+ w5 B# @4 Y! _1 e% n
  633. ; Default Value: On4 |  k+ t# P) A* ^  {% R2 h
  634. ; Development Value: Off
    + B5 J9 `& R% k$ o( @8 I3 C2 E
  635. ; Production Value: Off
    4 v3 u  Y) _- }1 p
  636. ; http://php.net/register-argc-argv- Z( U( c4 w  y: G% N
  637. register_argc_argv = Off
    $ U& O6 u6 q, }/ C

  638. ) j7 \3 P7 v0 @9 Y7 H  g! _
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; j; H9 Q0 }; J& V8 N$ e
  640. ; first used (Just In Time) instead of when the script starts. If these+ z) |7 S! m! P+ |* J! R0 z" x. W
  641. ; variables are not used within a script, having this directive on will result3 @+ h; y2 C6 p: c) K
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 B5 b' `# C, N" {  F5 I1 j
  643. ; for this directive to have any affect.; I* X2 h- I* R0 m6 R
  644. ; http://php.net/auto-globals-jit
    7 u  b5 p+ _( k; W3 J% V
  645. auto_globals_jit = On5 s/ S9 F9 o5 k/ v6 w) f; l% A: Y' ]
  646. + P) N9 x  A6 X" j7 }! [
  647. ; Whether PHP will read the POST data., N" r. K6 _" Q/ s* ]) M4 Y
  648. ; This option is enabled by default.- d! [+ R/ Q; `& _- I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST: [. o. X& d9 M7 {8 ]& n8 J
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    9 e, ?% K% f2 N; }1 k: v& r  {
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    5 h6 [" p! a# J3 t! A6 e$ D$ u
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; k' Q& s8 c0 t$ Q, z  Y
  653. ; http://php.net/enable-post-data-reading
    ( }) x" @8 ^* n0 r
  654. ;enable_post_data_reading = Off7 m! v1 x3 z% M' }
  655. ! f# F* m0 c, f! Y/ v
  656. ; Maximum size of POST data that PHP will accept.
    0 C9 j1 S' E# r5 R5 Z- @
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + l1 f" B3 g5 I
  658. ; is disabled through enable_post_data_reading.
    " ]. ~' O/ _2 I+ L
  659. ; http://php.net/post-max-size
    , B  k5 A. `) u! R; _7 W' ~
  660. post_max_size = 50M
    9 P; `7 \- T4 H2 ^# e7 V+ R
  661. . T/ `8 ]7 C: Y" S* Z( ?: [
  662. ; Automatically add files before PHP document.2 c: {/ c9 G. x' h; n
  663. ; http://php.net/auto-prepend-file
    , e. g- _/ G$ {) i
  664. auto_prepend_file =* ^4 t, |- l. G* k5 r

  665. : }& z8 O# x) t) P2 b2 ?
  666. ; Automatically add files after PHP document.( ~5 z8 D4 ?# S& \% ?* y+ p" E
  667. ; http://php.net/auto-append-file& f# n) p! K8 j* G, a2 C
  668. auto_append_file =
    2 _) E6 r6 c, {' m9 A
  669. . V4 u6 p$ d1 @/ a8 Y' b6 C
  670. ; By default, PHP will output a media type using the Content-Type header. To& f. K, O& v( `% k
  671. ; disable this, simply set it to be empty.
    1 V  a; x! M) k3 q* V9 s- \
  672. ;, y5 r" T7 }( O$ m7 f+ T
  673. ; PHP's built-in default media type is set to text/html.
    ' k7 O* ^! E: h. b5 v0 \6 g
  674. ; http://php.net/default-mimetype& w4 I8 d' Q4 u- x# r5 ^! v
  675. default_mimetype = "text/html"
    : O' j/ w: A& Q' Y8 }( s  ]" a  p

  676. $ i5 |0 L0 o0 F; }
  677. ; PHP's default character set is set to UTF-8.- \( \6 ^' G5 _8 W
  678. ; http://php.net/default-charset
    4 B% Y0 c; w1 ]# G6 L7 V+ a) L
  679. default_charset = "UTF-8"0 R( \9 U# O( _# U- v" n
  680. ; w! T) |( X5 r; `$ b) W
  681. ; PHP internal character encoding is set to empty.
    / M3 k7 g  h" N  k0 t$ |8 \7 w! h# Q
  682. ; If empty, default_charset is used.
    6 \5 k1 S- L1 Y7 Q, U# j4 i- f( J% W* N7 L
  683. ; http://php.net/internal-encoding
    - a; y, a. r$ J
  684. ;internal_encoding =  Q# b9 y: L* B! c8 Q) Y( w

  685. + w2 I3 z' O9 H7 B7 x+ z# ?
  686. ; PHP input character encoding is set to empty.! U+ l$ S6 y" v4 y% ~
  687. ; If empty, default_charset is used.  B3 M# ~# _! z4 o8 R8 z
  688. ; http://php.net/input-encoding
    ( D+ u4 I: M+ L9 \# F- x0 b
  689. ;input_encoding =1 p' j$ h, ]; |* ?, Y

  690. 7 B) P! Q* U& j( |' R
  691. ; PHP output character encoding is set to empty.; f3 `/ W: H1 H; J1 p0 ^" H6 Y
  692. ; If empty, default_charset is used.
    ' o: m$ y. E/ i
  693. ; See also output_buffer.4 q+ i! r# K3 X
  694. ; http://php.net/output-encoding
    . f' Y' Q3 T, {. M
  695. ;output_encoding =
    7 @+ Y4 W( u) F* Y, r/ B" b

  696.   K, l9 i! A4 A: h8 W
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is& Y7 l* l) e. C9 g0 G& a1 V
  698. ; to disable this feature and it will be removed in a future version.& u. t! a: L" H1 Y' b
  699. ; If post reading is disabled through enable_post_data_reading,
    4 {( a4 i; W' @% o/ f5 j4 ~0 n
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.7 p, e8 D" Y. W5 `+ T3 q
  701. ; http://php.net/always-populate-raw-post-data
    " @2 T$ i) b  O, d4 W
  702. ;always_populate_raw_post_data = -1+ a* e4 f3 Q3 V

  703. 6 \5 N% j6 V# L! N, ^2 r- S1 Q% Y4 f$ m6 G
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;- h9 d3 s9 J* j0 i; b" V
  705. ; Paths and Directories ;+ s( C0 G5 ~3 o! V0 G/ g) R
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;! f5 }8 k6 R5 h. H3 a  G

  707. ; |( P2 Q% O( x8 `; @4 S- Z
  708. ; UNIX: "/path1:/path2"
    1 h! q/ R) l# z2 g! c
  709. ;include_path = ".:/php/includes"
    " Q" p; A" I2 A1 K% w
  710. ;! K* N2 c% ~4 R5 {% q# {3 N9 @- X* e
  711. ; Windows: "\path1;\path2"
    * g. {% g- o% H
  712. ;include_path = ".;c:\php\includes"4 [$ V; C% F1 S/ h6 J
  713. ;: M0 B# ]2 D% i: g. ^
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' I2 y" f* m2 I# J
  715. ; http://php.net/include-path
    0 H9 d" E0 {; ^4 C0 G

  716. 4 U8 C6 j0 ^# [% g
  717. ; The root of the PHP pages, used only if nonempty.
    # D# s9 g# B, p0 h: E1 g  f" Q
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, }  b. a6 {6 d- }1 S
  719. ; if you are running php as a CGI under any web server (other than IIS): y. z; F+ ~5 X
  720. ; see documentation for security issues.  The alternate is to use the6 H, T3 w: O" g# J) T  M
  721. ; cgi.force_redirect configuration below
    : N9 ?" c- M) e! ~) k
  722. ; http://php.net/doc-root: T0 d9 R7 c; o$ \' K
  723. doc_root =
    : C: f: @$ N$ T) N( w

  724. ' @  M6 w+ s: x" J: P2 [4 y0 S
  725. ; The directory under which PHP opens the script using /~username used only' k4 M% P. B3 H0 ]( z+ L( C
  726. ; if nonempty.( y  {! T8 y. A" P0 ~
  727. ; http://php.net/user-dir
    9 L$ k; V) C- N7 ]2 ]
  728. user_dir =
    : U2 ]  p$ q5 Z$ S. C8 h
  729. 1 n( n6 x% x# @3 {1 }5 ?8 W
  730. ; Directory in which the loadable extensions (modules) reside.
    0 k+ ?8 l; H( N' @) V
  731. ; http://php.net/extension-dir
    2 H2 ^# g2 d, `+ Z" F* D; o
  732. ; extension_dir = "./"5 o( y' l( d$ E) J; J0 U
  733. ; On windows:. n$ o& {' g2 ]
  734. ; extension_dir = "ext"1 t0 H5 i2 T6 J) X( v9 f4 _
  735. + b2 t# D  _2 H4 j0 w9 n9 s
  736. ; Directory where the temporary files should be placed.
    7 o. J/ v/ _# `% x) X
  737. ; Defaults to the system default (see sys_get_temp_dir); V4 |% ]1 Z5 o/ [2 d
  738. ; sys_temp_dir = "/tmp"
    6 L% q3 V  b- k8 v3 b- Z, y, o
  739. / Q/ C/ R; s% e0 S( r
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 E# b9 d* {% {% V9 Z* a
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    % q- i3 W8 V9 h4 q6 O/ U. {
  742. ; disabled on them.7 m; q0 P$ S; J' i1 a* U* {
  743. ; http://php.net/enable-dl
    . J& C/ B1 F0 Y
  744. enable_dl = Off4 G5 T: F/ `: u, ?

  745. ) T. [- S$ h0 j" j
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 g) n: S; P0 m$ T: W
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 Z- f5 S, S, L
  748. ; turn it off here AT YOUR OWN RISK
    , L" X8 |5 }; X' u# P
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) \; B  k2 S- ~* B' H
  750. ; http://php.net/cgi.force-redirect! Z/ H8 X( b& M( v) b5 j# [
  751. ;cgi.force_redirect = 1
    ( m5 u1 v5 y& i% o) b2 g( d  |

  752. 3 `" O/ ]! T- Y* t& a* x7 I; l( e
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! i. @1 r' A' [9 R7 w6 _
  754. ; every request. PHP's default behavior is to disable this feature.# h9 O# d. i" t& n# w( r+ f/ a1 o
  755. ;cgi.nph = 10 M0 g  ^8 r7 l7 U; Q& D: ^6 N' |

  756. " Q  l$ D" \5 J/ E3 G. N6 v
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 T9 o' q- a) ^  ^" j4 J
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP! @7 g5 V7 r5 k$ \: l
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 \) k4 d) Y; \% g& Q4 S6 `
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( h* k$ c7 S+ ^, y9 C
  761. ; http://php.net/cgi.redirect-status-env
    ! Y' W3 y2 h9 a; H# P
  762. ;cgi.redirect_status_env =6 H$ E3 T2 B, P2 Y% y+ t

  763. 1 T7 ~, O" e! a+ m
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    6 i$ {, m' C) Z, U0 O
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; f' @. j2 c. x
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 c& N, @/ j7 k1 _6 ^, {
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - a& F: B0 A* i4 l% X1 o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # G$ ~. {# n* `# W
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.5 l7 p) t" O4 k2 P# R+ h
  770. ; http://php.net/cgi.fix-pathinfo
    " o1 q6 E6 W, H# P: f
  771. cgi.fix_pathinfo=1
    " M/ z4 {* N8 ~4 I' V' l
  772. 4 A; q7 b& o, h8 |9 ^' _, }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ' Y3 p7 i2 o% \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.& y- E( N5 ^- G( K! H/ ^& j
  775. ; http://php.net/cgi.dicard-path1 E: G) w% e1 G+ |4 D# d% y
  776. ;cgi.discard_path=1# X) Y. f* p2 Q4 d) X2 x
  777. 2 y# b! B4 x* d" c
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    # @- W" o) {0 x) v8 W
  779. ; security tokens of the calling client.  This allows IIS to define the  q6 c1 n$ f+ r' z4 h0 H( u. ?
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ) S6 S) r5 m- I7 b/ ?( _
  781. ; does not currently support this feature (03/17/2002)8 B- a  A% \; Y- \# D* W4 P
  782. ; Set to 1 if running under IIS.  Default is zero.) i$ m* K4 W  K. `
  783. ; http://php.net/fastcgi.impersonate
    0 p4 D. \4 L$ D1 N
  784. ;fastcgi.impersonate = 1
    # z# |+ ^5 N4 q& e& @

  785. 9 V. p* p0 Y2 P7 n) n' V% V
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ! A' g$ b) x, o# O9 E
  787. ; this feature.
    3 S8 F. t4 S$ d& |+ F( [( u$ p
  788. ;fastcgi.logging = 0
    - G) A+ `8 x' p: S6 Y2 X1 G5 E

  789. 4 T" J& q5 F" u& I% B
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) |( T4 p, h8 ?/ g
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 R1 W1 {# S, ]/ |
  792. ; is supported by Apache. When this option is set to 1, PHP will send- f+ W' ^" E, W
  793. ; RFC2616 compliant header.# M) o/ s, c& o. k
  794. ; Default is zero.2 ^. p+ G# w0 H8 _
  795. ; http://php.net/cgi.rfc2616-headers# z- Z  ?3 R7 F: k
  796. ;cgi.rfc2616_headers = 0
      B# x1 ]; z' X+ O+ v5 S

  797. ) r. W, B* w5 R6 K3 M/ A
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 k5 f3 |$ a, z" W* Y' ^7 U, {
  799. ; (shebang) at the top of the running script. This line might be needed if the
    0 z0 C1 H" F/ ^* r9 P$ E
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI$ C# y- o. @- X$ H, S
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ! S  @  n5 ~1 u7 @5 A2 y* w9 ?% N) \/ b1 F
  802. ; http://php.net/cgi.check-shebang-line/ \& O1 W/ _9 `5 |; g
  803. ;cgi.check_shebang_line=1) [, p' |1 {; W5 Y- \. \/ d
  804. 4 N3 @6 x. m! \5 F% Q
  805. ;;;;;;;;;;;;;;;;
    . p: a# Y- C, r5 {; ]; t+ f
  806. ; File Uploads ;$ M* i2 E4 M- G5 k
  807. ;;;;;;;;;;;;;;;;9 f+ @$ g" p1 C8 Z5 e# G
  808. $ K+ I2 s2 O, ?5 E  c: l* X
  809. ; Whether to allow HTTP file uploads.$ E4 R5 f, [; y# ]" p& r
  810. ; http://php.net/file-uploads
    9 I7 E  H2 a' ~4 B- e
  811. file_uploads = On' H3 C# s$ `0 `+ ?, y9 U1 Z! Q

  812. ( t" p/ {+ A; Y- \' Q  i' m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' z5 n3 T$ \7 j# o9 G
  814. ; specified).
    % x) h* S* I; d5 @5 \
  815. ; http://php.net/upload-tmp-dir' U& g4 O; r, J0 D: B
  816. ;upload_tmp_dir =9 z# P: b2 x% T. g

  817. 1 C$ W$ \$ _( L! ?! U
  818. ; Maximum allowed size for uploaded files.
    + [) V) f! X. n  [# s
  819. ; http://php.net/upload-max-filesize
    7 ^! i3 X  x  [0 j; h
  820. upload_max_filesize = 50M$ H1 W2 m+ w# K+ e4 }4 Z# O$ M5 V
  821. ) ]& [) I* Z' Y; d7 m
  822. ; Maximum number of files that can be uploaded via a single request' J, b. w  l2 J9 J  L* F
  823. max_file_uploads = 20
    - W9 l3 B4 s( S; q

  824. 5 c9 U: X3 B/ J$ V( h0 j# ^0 O
  825. ;;;;;;;;;;;;;;;;;;' O/ ^7 ?# X! E( K& D4 P1 G
  826. ; Fopen wrappers ;
    . b2 N* Q4 z$ e' Z0 y6 \( U
  827. ;;;;;;;;;;;;;;;;;;$ p  \7 X  v. X9 e
  828. ( e) e5 \9 F6 y+ |9 y! D
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: I# Z% @: U" H% Z/ e: B$ e* _, w
  830. ; http://php.net/allow-url-fopen
    / D! G/ V8 E+ l9 L
  831. allow_url_fopen = On
    & h1 @: A9 k2 T* q

  832. 2 A$ I8 e9 S) i8 s& |2 d2 G
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / x" b$ Q! |. y# i& O9 `# J
  834. ; http://php.net/allow-url-include
    , f5 @5 Z# y) m  C
  835. allow_url_include = Off4 ^2 v8 h( I; U4 u  t3 Y$ L

  836. + k: s  [2 [& D# G6 o
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 ^3 t6 z( p* z2 x
  838. ; for this is empty.' K4 J' ~% Y2 h2 A4 \9 d2 s( K
  839. ; http://php.net/from, }3 b8 q; B4 S
  840. ;from="john@doe.com"
    1 @* l! t6 W1 ^9 i* h# w

  841. 4 `4 M+ B7 }/ p0 |! ?
  842. ; Define the User-Agent string. PHP's default setting for this is empty.& j* q% F0 P0 Q3 `
  843. ; http://php.net/user-agent: y9 o9 O* v+ d+ K* X+ c7 s
  844. ;user_agent="PHP"
    , b. F- y3 x- U" B% F

  845. ) t! n& A7 c* Z1 F
  846. ; Default timeout for socket based streams (seconds)8 o$ x7 z* Y* b+ b' f5 ~' _
  847. ; http://php.net/default-socket-timeout
    9 ?+ F  G% ]6 I% G; t; Q1 ~
  848. default_socket_timeout = 60
    + b5 i, G! M! c
  849. ' V, ^9 ^7 x' `2 a
  850. ; If your scripts have to deal with files from Macintosh systems,1 P3 h3 }& J' ]
  851. ; or you are running on a Mac and need to deal with files from
    ( ^# a& C( ]. f; k
  852. ; unix or win32 systems, setting this flag will cause PHP to
      D5 n8 W1 ~; P) Z$ y
  853. ; automatically detect the EOL character in those files so that
    * F# I, C5 }0 U* Z! ?* L& e
  854. ; fgets() and file() will work regardless of the source of the file.
    ' s; R! o' q$ H1 [* S$ [8 [
  855. ; http://php.net/auto-detect-line-endings
    3 @) r, ^7 h# G  Z. K
  856. ;auto_detect_line_endings = Off- o$ R" f' h# ^

  857. 3 T4 T, g/ j  @8 b+ E$ @+ v
  858. ;;;;;;;;;;;;;;;;;;;;;;+ t+ A) d: d2 n
  859. ; Dynamic Extensions ;
    4 I. P2 `1 k5 t
  860. ;;;;;;;;;;;;;;;;;;;;;;7 c9 e4 ~9 g- J1 ?! ?
  861. % Y! @# P3 z  ^5 ?
  862. ; If you wish to have an extension loaded automatically, use the following
    ) ^3 b" f7 |* o9 Q8 Q
  863. ; syntax:
    2 `7 g' y2 m6 f7 D; b
  864. ;! t# G6 d7 m! w
  865. ;   extension=modulename.extension* q" q/ {' X2 M  w6 M- Q
  866. ;, z4 R( u: g6 Z
  867. ; For example, on Windows:
    2 F4 {: W5 _3 r, M9 H
  868. ;
    # x1 Q, U- ]1 T1 o
  869. ;   extension=msql.dll: s& E  ]) B$ V3 }6 b0 ^
  870. ;
    $ J; R1 M* c1 C! v
  871. ; ... or under UNIX:
    9 H: t1 Q9 B2 |8 y7 A* M. c0 x
  872. ;
    * m' o+ h, I% y6 e) o: r# }/ S9 M
  873. ;   extension=msql.so1 e2 O# D" b* f2 r  p, Q9 S
  874. ;3 z. \" m6 y+ q% T
  875. ; ... or with a path:
    ( n' X" N8 H; R# o) G+ {
  876. ;
    ' L  X9 x5 u+ J. T; G  _5 w9 ?9 i
  877. ;   extension=/path/to/extension/msql.so/ i! N! L! \2 X
  878. ;; I. a3 Q1 [. u) C! @( H: U, |& R1 {
  879. ; If you only provide the name of the extension, PHP will look for it in its7 J$ y; }  z1 W5 x. d
  880. ; default extension directory./ [7 d3 ~5 G, P/ b0 e/ s5 ^; n: C
  881. ;
    5 E( r! K. [% |, d( t4 ]5 ]
  882. ; Windows Extensions4 ^4 W( @" u2 Z  a7 S" H, j& y0 }) G
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    6 g' o; n% T; O! e+ R- h( ~% l
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    6 n! n! j+ p; a7 e2 P
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).# L1 S3 T7 w4 G7 m% X  x
  886. ; Be sure to appropriately set the extension_dir directive.
    ; ?0 M: T: x4 j! i
  887. ;
    $ G8 D' V- r% @% g! K, `7 l. d. K
  888. ;extension=php_bz2.dll
    3 b7 `, g0 A7 P' M7 e3 U
  889. ;extension=php_curl.dll
    3 f- f! d; u, _/ _. _2 ]3 Y
  890. ;extension=php_fileinfo.dll
    + _* s4 p7 ]# B2 k1 u
  891. ;extension=php_gd2.dll
      h: O# |3 s; P% }. r: @5 C/ p
  892. ;extension=php_gettext.dll* i1 S, z- w8 g+ C* e
  893. ;extension=php_gmp.dll
    2 D6 W* l. y& g# y3 D
  894. ;extension=php_intl.dll
    & H9 D! ~6 X7 k) O* Q* d
  895. ;extension=php_imap.dll( M. N" o. n& O/ i+ P) ]
  896. ;extension=php_interbase.dll2 ^0 Q+ @0 t6 q: O% K
  897. ;extension=php_ldap.dll/ ]5 ?8 I+ P  [% D* w) j+ v. P
  898. ;extension=php_mbstring.dll
    + d; w" f0 |: H5 M7 n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 O9 ^7 n7 J# F, C
  900. ;extension=php_mysql.dll
    8 k! v. S# t1 N6 ]" V! Y. q4 J
  901. ;extension=php_mysqli.dll
    8 h6 R2 l* C+ @: i/ }
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
      f# a4 ^+ K% r2 i
  903. ;extension=php_openssl.dll# W4 w( y& @- ^, W% t
  904. ;extension=php_pdo_firebird.dll0 M% U: z; D  Z
  905. ;extension=php_pdo_mysql.dll# y$ G5 z# _. q3 i
  906. ;extension=php_pdo_oci.dll- A% [$ g/ k* w5 `1 q4 d
  907. ;extension=php_pdo_odbc.dll8 B! g6 [' C5 S% F  \
  908. ;extension=php_pdo_pgsql.dll
    1 ^- R5 P% Q4 j! _; t
  909. ;extension=php_pdo_sqlite.dll
    2 R' Q/ c  a0 v
  910. ;extension=php_pgsql.dll
    0 T; G6 r" R3 K& A9 m- Q
  911. ;extension=php_shmop.dll
    " k+ N8 U( r9 d' \
  912. " S* h* K( Y8 Q4 _" G. G
  913. ; The MIBS data available in the PHP distribution must be installed.
    ! O8 _* l/ `( K; [8 J( m3 J
  914. ; See http://www.php.net/manual/en/snmp.installation.php . x+ e  A) L$ E+ \9 A3 |
  915. ;extension=php_snmp.dll- x9 F+ j. M- I
  916. ) a' N; F6 J2 d1 i; F2 N
  917. ;extension=php_soap.dll
    6 ]$ z: e5 u/ ^3 \5 y
  918. ;extension=php_sockets.dll
    2 p; ~  L; [* v; q
  919. ;extension=php_sqlite3.dll
    1 ?: @9 |3 b" b4 Q* v# B+ e0 f
  920. ;extension=php_sybase_ct.dll
    3 @7 V# I+ v* ~3 n; `7 p
  921. ;extension=php_tidy.dll, C7 i, U+ I$ [% W. y
  922. ;extension=php_xmlrpc.dll
    9 @! k0 F4 z; n4 [4 J- V
  923. ;extension=php_xsl.dll- h7 U0 \4 J* B
  924. " v$ [9 ]0 A8 [# o
  925. ;;;;;;;;;;;;;;;;;;;* }7 o. \1 l$ c9 H7 R" ~
  926. ; Module Settings ;
    - b" E+ f( l7 M1 L2 o" R! ~
  927. ;;;;;;;;;;;;;;;;;;;
    6 v$ q! q) W6 g4 h
  928. , G/ F+ e! D% \) D' A
  929. [CLI Server]/ w7 E5 A2 M4 y& E7 b  }' y% I3 {( ~
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.: m( l( C  i, V/ P
  931. cli_server.color = On
    : q6 k. o5 d$ w4 z
  932. - K6 t: i) o' a) \5 s" O5 M
  933. [Date]
    " j8 e- ~" M% p* ^* y
  934. ; Defines the default timezone used by the date functions% [0 g8 j& x; \' a- d
  935. ; http://php.net/date.timezone0 ~$ S' Y7 a) ~+ {7 P) p
  936. date.timezone = PRC% `( S% j* ~9 D& p9 f5 D

  937. + @- v+ i5 E" y% v7 O  k
  938. ; http://php.net/date.default-latitude" X. i& n/ o9 J1 B
  939. ;date.default_latitude = 31.7667
    0 Y( M* K5 E/ Q
  940. ) m! e- u  y8 c, i- D( r
  941. ; http://php.net/date.default-longitude
    ) q' T& }0 d$ y& Y
  942. ;date.default_longitude = 35.2333
    . D" i0 q6 b3 ?6 r
  943. $ Y0 I$ C* T8 S! t& W1 r
  944. ; http://php.net/date.sunrise-zenith+ s) r! s7 f4 l) Q; O
  945. ;date.sunrise_zenith = 90.5833333 ~; ^  v- o) @( b
  946. 2 Q; ?2 q) @# a! ^; T
  947. ; http://php.net/date.sunset-zenith3 z! v$ ]5 r+ [* R
  948. ;date.sunset_zenith = 90.583333
    & v7 j& ]4 \% k- ~7 A! Q
  949. " w% {& W& Z4 s( V$ }
  950. [filter]
    ( h! o4 m3 z; ~& r1 d5 T( v
  951. ; http://php.net/filter.default
    % I4 A/ ]* v5 x. r7 \) v
  952. ;filter.default = unsafe_raw' Z( {9 Q4 K4 b/ q7 Y8 I* M

  953. % L0 w+ D( d8 p; O# r  q
  954. ; http://php.net/filter.default-flags
    ) A- ^- l0 E& [* P/ @3 O3 H4 s: {: \
  955. ;filter.default_flags =3 b/ R6 ]& m2 T3 V! E
  956. & Q; |, z# K0 _1 k* F# n' S
  957. [iconv]
    - q- l6 q& S5 j' T
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.8 T  j3 z" `  r
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) |, V% @5 l3 G7 {! P
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 {, J" D  E% A1 P
  961. ;iconv.input_encoding =
    " I$ h+ |  D9 N
  962. ' g  ]3 I; e' }# o+ N* \3 O* O
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 ]  e. S& @4 J- v: g0 t. W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 [) B% X* v0 D7 \
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) M* X" R- P, W) s5 v6 v$ i9 m
  966. ;iconv.internal_encoding =/ r' b* L8 e- n' O  E  T3 i

  967. 4 P- \. [) |: K1 l% |
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' t, U% K' N6 e& A0 c  c) `
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , s+ ?% M% P; o
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! i" X" k" y# Z3 U& e8 h& L& Z7 l
  971. ; To use an output encoding conversion, iconv's output handler must be set
    3 g+ P8 ~0 F0 c, v; y7 M; y
  972. ; otherwise output encoding conversion cannot be performed.
    - [" ]# H- r1 M2 h
  973. ;iconv.output_encoding =- |- L; x/ O, u7 I" {# k; g! o

  974. ( f% N# B5 C# A+ k, Y0 j: [' ?( T
  975. [intl]
    % z2 m; p& P* K; C5 ]
  976. ;intl.default_locale =* P2 d* m8 ?: o) x5 p! E
  977. ; This directive allows you to produce PHP errors when some error9 o) R. [: M0 {5 l, w; y
  978. ; happens within intl functions. The value is the level of the error produced.
    ) P6 m# p# M% n. a' ?- ]/ ]  m
  979. ; Default is 0, which does not produce any errors.2 _* ]' C6 @" a- {" ]9 d3 o3 b7 T" ]
  980. ;intl.error_level = E_WARNING. I, ?( T. W/ W
  981. ;intl.use_exceptions = 0
    6 A% e$ ~- P5 U( U' _
  982. + x6 w# U/ c4 D& z! I; r5 v7 B: j3 O
  983. [sqlite3]3 M2 ]& z1 N" A8 M7 ~+ k/ _
  984. ;sqlite3.extension_dir =& w* t6 H% l8 S* W- T2 d( H& X
  985. . d7 }! K8 L2 i- D7 j
  986. [Pcre]/ ]' W# X: q- |+ R; D
  987. ;PCRE library backtracking limit.
    4 l* [4 [! ?9 |1 d2 x: ]
  988. ; http://php.net/pcre.backtrack-limit9 F' v8 |$ e$ \
  989. ;pcre.backtrack_limit=100000
    0 ^/ `$ ^3 Y0 v+ S
  990. " g+ q* Z! s: Y
  991. ;PCRE library recursion limit.
    # k" |, m& P' v$ E: m# Y8 S9 n
  992. ;Please note that if you set this value to a high number you may consume all
    / m1 y$ y' N7 D. P: c
  993. ;the available process stack and eventually crash PHP (due to reaching the" o8 s0 k% }7 v- {) r/ ~) v
  994. ;stack size limit imposed by the Operating System).
    1 a: ?8 L4 c& U  ^2 m% e
  995. ; http://php.net/pcre.recursion-limit/ X0 J4 {' [5 x- G" D
  996. ;pcre.recursion_limit=1000004 j% n$ @3 [" g) y. p
  997. ! h" Q; K% p- Z6 A1 L5 x+ M* H1 M: n
  998. [Pdo]3 M( y7 X5 L/ ?
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off": O1 |% I" Y$ f  R
  1000. ; http://php.net/pdo-odbc.connection-pooling
    8 }1 ~! b2 R  |4 M3 \' A
  1001. ;pdo_odbc.connection_pooling=strict2 k' x9 G, W; c! u: i' t% n
  1002. ( H( P, D- s' |; `& |5 f
  1003. ;pdo_odbc.db2_instance_name/ M' N" n) N% V- ]

  1004. 5 G3 h$ v+ i  e: }3 z  Q. p4 [
  1005. [Pdo_mysql]! D; H1 _* u' V' {
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) l5 C" E, ?7 \' r/ }3 {9 a3 m6 c# m
  1007. ; http://php.net/pdo_mysql.cache_size. r/ S( A& d- V
  1008. pdo_mysql.cache_size = 2000
    5 n1 E+ z0 ^0 K& ]4 Q3 {
  1009. % `# P1 b8 s3 G( |
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ r* U, S  p% Z3 N5 O
  1011. ; MySQL defaults.
    & c; B* d6 \: ]- v' N
  1012. ; http://php.net/pdo_mysql.default-socket( f! f: z3 n' x/ @, t
  1013. pdo_mysql.default_socket=
    5 o$ |  s4 ~% g  M- v. S
  1014. 4 K6 N: Q+ k0 N# N  s2 W9 {- g
  1015. [Phar]
    8 H; Z, g  ?5 n6 z
  1016. ; http://php.net/phar.readonly
    " O6 f1 |: C8 j  B8 ~+ \. w9 B% c
  1017. ;phar.readonly = On
    9 d! F9 q% y8 Q- J# B; u
  1018. 4 {" i$ W" l3 U
  1019. ; http://php.net/phar.require-hash9 }, D. {# D% C' k
  1020. ;phar.require_hash = On
    % J0 g& Q: w. [) D8 u/ U

  1021. ; ]# G' m; J( U, a: _
  1022. ;phar.cache_list =
    2 A' L" n; R, R) C# t; i+ U

  1023. 5 y3 Z) s( v9 {% I/ J! g3 g
  1024. [mail function]
    0 T* F0 q7 w! e; s* b* \& o# f
  1025. ; For Win32 only.7 {- k: b; s- a7 C/ v" D5 I
  1026. ; http://php.net/smtp
    0 @( G  W& [9 @* f; n4 X: j% x
  1027. SMTP = localhost
    8 {7 z3 O, M4 h6 i  {4 y: m
  1028. ; http://php.net/smtp-port
    * ]  }; K* e. V
  1029. smtp_port = 25
    8 i4 W' M, N! d& w* c9 \' [0 E

  1030. % i; S( s+ N3 w
  1031. ; For Win32 only.% |& m7 d1 l) P/ A
  1032. ; http://php.net/sendmail-from
    6 e( r" H1 ^6 N5 |
  1033. ;sendmail_from = me@example.com4 b$ y/ V$ g# d- h2 T5 ^
  1034. 3 q8 d* n) M/ l7 d  K
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: V" y9 K0 \$ [+ C8 \' L$ ~
  1036. ; http://php.net/sendmail-path
    9 W$ h6 z% v( U* z" C5 o. ^% B
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    2 g- q) r% x8 l& e$ C% i
  1038. $ k8 W) e! H4 u  E7 n% k
  1039. ; Force the addition of the specified parameters to be passed as extra parameters$ ?$ Y1 ^" A! m5 ~+ ~. O: C
  1040. ; to the sendmail binary. These parameters will always replace the value of9 \  S1 }( e" B1 u: F. |
  1041. ; the 5th parameter to mail()." R9 u" C% }3 E3 Z! U) g  [
  1042. ;mail.force_extra_parameters =5 ], V+ h9 B5 C0 x# A

  1043. 3 b3 c* s8 n6 ^% q& b
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 M# G- b5 {: Z; u" z
  1045. mail.add_x_header = On
    . R7 c' K9 s+ b; m

  1046. 1 R; K/ l, F, V: q& C6 X* u, _: v
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    / J1 T% ?0 ]) W  b  n
  1048. ; the full path of the script, line number, To address and headers.  p8 S2 p/ `, v
  1049. ;mail.log =
    5 j8 }: [" f' f- ?+ G- w
  1050. ; Log mail to syslog (Event Log on Windows).
    0 D! `/ b( Z8 `! l
  1051. ;mail.log = syslog
    9 ?* q& K- M8 S+ r. e
  1052. $ w$ U/ j3 }* s) Z
  1053. [SQL]
    ( L3 L+ j, G6 X5 [* o: r+ L
  1054. ; http://php.net/sql.safe-mode
    " x1 ?1 L7 o' k8 R1 {: z
  1055. sql.safe_mode = Off4 M( m% c! @& i, _
  1056. 9 X4 a" ^; I( T2 Y; `/ N( ^
  1057. [ODBC]& @# U3 o" E8 H" `5 W
  1058. ; http://php.net/odbc.default-db
    : I. O) n5 S) y+ @
  1059. ;odbc.default_db    =  Not yet implemented+ F& W+ J% K) @; {' Q
  1060. 4 a* }  r; u" d9 L+ C' Y& Z% q
  1061. ; http://php.net/odbc.default-user
    & S( B' `5 c8 ]  r* U
  1062. ;odbc.default_user  =  Not yet implemented
    $ J( E7 d  Y/ t" u
  1063. " Z6 i. a( W! ]1 f
  1064. ; http://php.net/odbc.default-pw
    + t0 ^9 w1 h6 v$ W% J% ]( H0 ?
  1065. ;odbc.default_pw    =  Not yet implemented+ o6 c1 u' m8 t4 W6 o3 E

  1066. 1 H9 D7 v( k% [8 R4 g. u- a) p
  1067. ; Controls the ODBC cursor model.( e( Z+ A4 S) o& h8 ]! L
  1068. ; Default: SQL_CURSOR_STATIC (default).% d3 y  a5 }0 U* @# f4 \: y- `& W
  1069. ;odbc.default_cursortype0 ~& t" T( O- `: j* x& X, v! I

  1070. + X# H, h" J. f, L* E
  1071. ; Allow or prevent persistent links.
    1 g/ [3 q3 U( t: J' C  l6 E
  1072. ; http://php.net/odbc.allow-persistent
    2 z9 S* G. Y* d5 j- m: E# z% ~! J9 ~
  1073. odbc.allow_persistent = On
    2 R7 ?: e/ q9 ^2 F6 u5 q) o
  1074. # g) y" ?6 J: `: O" y
  1075. ; Check that a connection is still valid before reuse.
    - U" l2 u( G8 t8 l0 v
  1076. ; http://php.net/odbc.check-persistent! \/ ^, j- l1 V: x- d
  1077. odbc.check_persistent = On1 @' e: a3 b2 M' r4 u! i9 S+ N
  1078. 5 c8 F9 q* Y5 d7 T: ?+ u0 Y3 }* ^" q
  1079. ; Maximum number of persistent links.  -1 means no limit./ X% ~# Z  h4 N' i, c
  1080. ; http://php.net/odbc.max-persistent
      {6 J9 _9 m. X4 j5 f8 _
  1081. odbc.max_persistent = -1
    ( x, H* V: J5 d9 A" \6 L3 r
  1082. 3 B/ U$ r5 |0 L* m- q% d9 A. Z9 S
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 b5 w- j5 S/ O; d- M
  1084. ; http://php.net/odbc.max-links" C; P( x4 o1 k$ i' N
  1085. odbc.max_links = -1
    : b/ i6 e( f6 `4 j. l) o4 f
  1086. ( {/ X$ R! y+ f4 w8 P6 t0 o/ a
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- A" D4 B0 @' N% {! o; P
  1088. ; passthru.
    4 f) k8 C# o; a& Q3 d0 l% V
  1089. ; http://php.net/odbc.defaultlrl/ d' V6 W/ F( t
  1090. odbc.defaultlrl = 4096
    / ]3 V3 I) ?$ i  r/ [: _

  1091. 5 y( I( Y" \3 [( L3 \, A
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    $ G2 f( Z; ^3 ^- s. _8 a& H
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation1 u4 Z! b/ S/ N& r3 J
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode- {# _) V( K8 J
  1095. ; http://php.net/odbc.defaultbinmode+ {/ D( B- k2 y9 a# Z) q3 o0 m& n
  1096. odbc.defaultbinmode = 13 S( X. `! R2 H5 j7 Q) f# Q
  1097. . V/ w& ?) B, B) {4 M- K1 J
  1098. ;birdstep.max_links = -1
    ( C6 j9 v! t! [( @) o$ @

  1099. & b: M* k3 ?, _  P
  1100. [Interbase]
    / f/ [$ @  b) H+ E/ p4 Y  I8 @
  1101. ; Allow or prevent persistent links.2 Y' j; h! a7 G5 O
  1102. ibase.allow_persistent = 16 v$ C2 _3 ?( \. m
  1103. ' ~( n/ q5 e6 f, [' }5 @+ L8 b! [
  1104. ; Maximum number of persistent links.  -1 means no limit.% Y1 W* y8 A' c
  1105. ibase.max_persistent = -18 J" C( I) V7 e- c( q3 t
  1106. ! S" m, f9 }0 y/ O
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 F  ^) L* c8 k: z4 L
  1108. ibase.max_links = -10 {# I0 ^  s0 S% r

  1109. 5 H# ]  s, ^& W7 I: v2 o
  1110. ; Default database name for ibase_connect().% Y4 g/ Z( q# C- \( [
  1111. ;ibase.default_db =2 H* o9 L: ~3 y
  1112. + K+ Q5 d6 |& T
  1113. ; Default username for ibase_connect().. K, p6 t  O1 E8 z" |/ O- G
  1114. ;ibase.default_user =4 p% r1 E4 C6 ^/ r) A! U
  1115. ! V- V. }4 v$ B3 r* K
  1116. ; Default password for ibase_connect().& \& z# X9 d8 b2 R1 ^& N3 S
  1117. ;ibase.default_password =- w) x: q- W( `, O! I, d
  1118. 8 m5 x. Z" w  v0 E3 z( ~# v: o
  1119. ; Default charset for ibase_connect().
    " w8 r9 l6 [& L, Z
  1120. ;ibase.default_charset =) d% E4 Q5 x0 p2 S9 k0 D

  1121. * Q. V* u/ T$ I- {
  1122. ; Default timestamp format.
    " j! S  r7 y# z, s: j' u
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 h3 ^# V( g6 X7 J& |
  1124. . E8 y" J+ s( A% ]  a4 f2 R
  1125. ; Default date format.3 d3 R5 |  p! O) x+ r
  1126. ibase.dateformat = "%Y-%m-%d"
    5 z" h: A3 I$ \9 ^$ u: W) G
  1127. 4 Z1 O8 S, {- L7 U3 S( }) H
  1128. ; Default time format.
    8 e0 P* V  K0 s8 d7 G8 Z6 V+ L
  1129. ibase.timeformat = "%H:%M:%S"
    5 V" {, s3 H* {7 M' C& i' \
  1130. : A8 A. l! ~. ]- q9 i* H8 c
  1131. [MySQL]- E- x! O" t0 p+ s- H/ U
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% Y9 k4 V! m. j+ Q! b# H
  1133. ; http://php.net/mysql.allow_local_infile' i; h2 S  K6 o2 b! _0 p
  1134. mysql.allow_local_infile = On2 l& q0 L; ^  f; u% L7 }

  1135. ) d- @9 n9 X5 {4 c% }3 W$ w9 L# A  {
  1136. ; Allow or prevent persistent links.8 c% e! b( @) Z7 H
  1137. ; http://php.net/mysql.allow-persistent
    2 V9 Z5 m' q2 U, L6 R, ]. g
  1138. mysql.allow_persistent = On3 }4 Q; D5 r* U; t3 g  q5 ?

  1139. ' J! C4 ]$ s' w5 T
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 Y  G% u& C" \( z5 Q1 v
  1141. ; http://php.net/mysql.cache_size
    2 z+ y$ {( e" }3 |! Y2 e: t
  1142. mysql.cache_size = 2000
    3 n/ L1 C+ n! j

  1143. # C* a& i: F! P( U, O) f! ^0 s
  1144. ; Maximum number of persistent links.  -1 means no limit.( r; S. L8 S" W7 z$ V$ a
  1145. ; http://php.net/mysql.max-persistent2 v3 R. S7 P( F2 R8 u: O$ H
  1146. mysql.max_persistent = -1
    ) Q2 @. ~: b9 I+ y2 I/ P- u

  1147. ' X( h- N: T$ w7 g) Z
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 S8 d; j6 ~$ s5 l" [+ {1 |
  1149. ; http://php.net/mysql.max-links$ d0 Y4 S2 Z9 V# J/ m& C
  1150. mysql.max_links = -1, G/ N2 o, j: _

  1151. " ^& s8 Y6 h) o$ C4 T- {# l( u
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    6 r$ v9 A" \) d: C, x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ S1 W" Y, i/ c0 N! A. u
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & S- \1 _& S3 ?: z7 r
  1155. ; at MYSQL_PORT.
    % |3 p: f# s2 `
  1156. ; http://php.net/mysql.default-port& |! \1 I) i' ^
  1157. mysql.default_port =0 C/ K) e8 t% N6 R6 [2 E

  1158. : X/ |+ J* T- V+ \4 I! V) S
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 {4 C% m0 l3 c  z* R& \
  1160. ; MySQL defaults.
    , M- n" R5 b4 \- q: X  ?
  1161. ; http://php.net/mysql.default-socket" w4 |/ }# a$ N* }
  1162. mysql.default_socket =& i/ a" D! D. `: ]1 H* ?) K; ?" z7 C
  1163. 8 X" \6 H* d7 j0 g& O" N  r
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ p: Z) K. K5 U7 `8 T: Z$ H
  1165. ; http://php.net/mysql.default-host
      c! o$ T# ?: o8 t" g2 r' s
  1166. mysql.default_host =
    3 M0 l$ p7 E; g+ ]% {

  1167. ! S+ q2 b9 s0 n5 T2 r$ H
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    " `# E( j) f: S2 ~7 q! a
  1169. ; http://php.net/mysql.default-user1 }0 A( D& ]* h3 l6 d- T
  1170. mysql.default_user =
      l4 |% ?6 y9 ^

  1171. ' D) y8 l  o# s
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ p2 P) X4 h" j- L7 f
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.9 P; G* r. C! u
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    : u5 S' m) m' ~, K7 u" t+ b
  1175. ; and reveal this password!  And of course, any users with read access to this
    6 |% b6 B% K+ s# b5 ~3 G) _' G( V
  1176. ; file will be able to reveal the password as well.* W+ \3 \" f) w- l4 t  A- h7 D
  1177. ; http://php.net/mysql.default-password
    ! t! x( ^/ }6 }& }: Z6 @
  1178. mysql.default_password =9 J! f9 U9 V  N' N: p
  1179. ; D: H4 b' C8 R4 p6 w+ |5 Y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 `" |& _& Z& G# Y0 N6 N' x: `
  1181. ; http://php.net/mysql.connect-timeout
    ; `* b, j2 i" X! r; Y( `: ]; @& m
  1182. mysql.connect_timeout = 60  e/ Q2 `" n2 |. D
  1183. : ^9 z) }: K* @; ?6 |
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and, G: I5 I! w2 z
  1185. ; SQL-Errors will be displayed.
    / r1 i: L9 E% L. m& T+ G
  1186. ; http://php.net/mysql.trace-mode
    $ W7 m; [" G2 A& @* Z$ L
  1187. mysql.trace_mode = Off: J5 ]% Y% s% H) y0 j3 p- C7 L; c
  1188. 7 l3 a2 x  e  |; f" e
  1189. [MySQLi]
    : g) t- n" T- _6 j9 E

  1190. 7 J, s! R' X, |; @: R- o, l
  1191. ; Maximum number of persistent links.  -1 means no limit.
    7 {0 m+ P1 G6 ?
  1192. ; http://php.net/mysqli.max-persistent
    : W, c" f  u' ~! d7 c- c( m8 Q
  1193. mysqli.max_persistent = -1
    - g' G. W3 W" K1 `1 Q% o4 R9 p
  1194. ( a% I2 v3 s% u% }+ g. _
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( r1 r7 s1 o1 P7 S, Y& F
  1196. ; http://php.net/mysqli.allow_local_infile
    2 U0 Z" t  B; L
  1197. ;mysqli.allow_local_infile = On
    % Z0 `# X0 z. f9 [4 ^* ]' M0 G0 J" c) H

  1198. 8 d( A5 \2 o0 o6 A. T7 w) [: S, Q
  1199. ; Allow or prevent persistent links.
    - b  A" x  ~( s! ?7 o+ F$ _
  1200. ; http://php.net/mysqli.allow-persistent% ]& J5 b; @2 R1 O5 W9 ?
  1201. mysqli.allow_persistent = On
      o. k. J5 J$ W% c2 @
  1202. # O( H& s9 c$ }1 V4 i
  1203. ; Maximum number of links.  -1 means no limit.
    . w; l1 ?+ H& w
  1204. ; http://php.net/mysqli.max-links8 [4 R  u. p! K6 w0 e& b7 z
  1205. mysqli.max_links = -1
    7 o* P4 }0 Q$ t; B

  1206. 1 @5 O7 F+ O0 P0 h' U7 u- ~
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache& W  \; Y5 ~0 {* g
  1208. ; http://php.net/mysqli.cache_size
    * O& ^% j7 B( K! O: v$ m$ [
  1209. mysqli.cache_size = 2000
    : [' H% y9 {: N% \3 l
  1210. - {0 A$ Z) l3 t6 P' C
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    % S' K/ ]0 S# H( |( e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, R  ?, p& U0 x: v! ?$ Q
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * K% Z9 ?9 t7 M
  1214. ; at MYSQL_PORT.
    & s2 V8 Q" c: }* V2 r
  1215. ; http://php.net/mysqli.default-port4 Q! @: f* d, n! e( b1 h. Q
  1216. mysqli.default_port = 3306
    " N& ?4 T  p8 d& u1 l! c
  1217.   ~, b7 x. _/ o; ^- y- X
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; I) r8 r* h' a; e' S& D5 Y; n
  1219. ; MySQL defaults.
    ! `6 @2 b3 G6 a+ C$ d
  1220. ; http://php.net/mysqli.default-socket
    ' U9 }) P7 V0 ?4 \! Q
  1221. mysqli.default_socket =0 A+ v! Q3 T* a4 x. Z9 }2 z
  1222. 1 X4 h" w' y4 p2 L) [% j% t9 z
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 P0 c( `( P- [6 @! h
  1224. ; http://php.net/mysqli.default-host: d" Y% b* J; |! R$ Z6 T8 _
  1225. mysqli.default_host =) I3 U- K' x  j0 d8 C: ^  C6 [4 c

  1226. : p6 A# m. o) ^
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).. Q: k: f; Y8 B3 M+ O1 j$ p" u
  1228. ; http://php.net/mysqli.default-user
    ' j, W' I/ ]9 l+ J$ @$ r2 l
  1229. mysqli.default_user =
    1 ~3 `. D  P5 ]

  1230. 8 s7 c0 `, }6 J$ N7 e
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 |& B; y) w2 h: g6 A
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.1 z& A0 h4 C  s
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " w% {' s( e* |" a& N/ _
  1234. ; and reveal this password!  And of course, any users with read access to this& x; M1 d8 S! y! N7 a+ l
  1235. ; file will be able to reveal the password as well.
    1 |8 C1 g% |& A1 b4 a, L; R5 ~/ i
  1236. ; http://php.net/mysqli.default-pw! e2 c9 P& a; T/ D( C( F* B* l
  1237. mysqli.default_pw =& z+ @4 u* q0 s; _6 m, S4 a

  1238. 5 {# [- g+ N+ t
  1239. ; Allow or prevent reconnect
    7 N( ?6 d% N! \$ J1 p4 B4 C6 A: a
  1240. mysqli.reconnect = Off7 A$ P+ p. r8 p6 U% |

  1241. ( i3 y7 B% g3 \  \4 h3 N
  1242. [mysqlnd]
    ' ~/ x5 R* N, Q) Q% y6 `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be3 u6 n: y1 \3 G% o' S
  1244. ; used to tune and monitor MySQL operations.. w# ?) j' X# b7 \2 z5 ]
  1245. ; http://php.net/mysqlnd.collect_statistics
    8 p  L( k; l3 i( V6 P- h1 b
  1246. mysqlnd.collect_statistics = On' e# U3 b- _5 |8 s+ o" Q2 Q
  1247. 1 _# ?' u9 A7 G7 n! @
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , w/ K" L' u; @8 M6 ?8 O7 Q  L
  1249. ; used to tune and monitor MySQL operations.
      f4 Z/ [7 P' y) P2 g- w
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ) f6 ^+ P" A, b+ o0 y
  1251. mysqlnd.collect_memory_statistics = Off
    ; p3 t& {$ {" E
  1252. . {9 _+ N9 T" E- A, x
  1253. ; Records communication from all extensions using mysqlnd to the specified log& H, K2 p2 ~. D6 d+ ]( v
  1254. ; file.
    1 R+ T: F, Z) [; a  q0 @
  1255. ; http://php.net/mysqlnd.debug
    0 f7 B8 ^9 M% U4 Q; U
  1256. ;mysqlnd.debug =
    2 L/ S( i1 S7 i! W% P

  1257. . p  H( y- [- _" T; A# }+ W. Z
  1258. ; Defines which queries will be logged.) N' _& }. I& }9 s, T+ d
  1259. ; http://php.net/mysqlnd.log_mask
    - {' Z9 ], S/ k6 z, W
  1260. ;mysqlnd.log_mask = 0, w+ L' H- J- q, \) V3 ]- u

  1261. ( `: w6 v$ K$ w2 O
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " |8 V, U. M2 F; o
  1263. ; http://php.net/mysqlnd.mempool_default_size: F( m& w. v1 n
  1264. ;mysqlnd.mempool_default_size = 16000
    + q& T* u' }% E  E- T4 [
  1265. - T1 f% i" W" u, }3 G, H
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    + M9 V2 ]! [. D' y  \# v: t& ~% k* Q0 P
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size( H) A/ j) _, x
  1268. ;mysqlnd.net_cmd_buffer_size = 20484 Y- z4 ?# D& q8 n* |

  1269. 6 i) e$ a6 f& }. {  J* e. M
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % j0 W6 I- U) _7 M
  1271. ; bytes.
      s6 w. I8 {8 V4 v* l% _6 i7 m& q7 p
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    3 `7 H* w3 N: Y- b8 Q) W
  1273. ;mysqlnd.net_read_buffer_size = 32768
    . `( y1 {6 D( Y0 y
  1274. 5 F0 Z  n8 [' w$ [
  1275. ; Timeout for network requests in seconds.$ [/ r/ D- r0 I7 f. Y- a3 K
  1276. ; http://php.net/mysqlnd.net_read_timeout1 h' m# v% Q- v# K
  1277. ;mysqlnd.net_read_timeout = 31536000
    + q0 p. j1 r, s1 R/ D
  1278. % r: o, J  Y& S" o3 F. H9 `  @0 f
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA( ~: ~2 d( Y) O# o  s, a; Y  `+ B
  1280. ; key.' X" |6 @, T/ o" c8 c( i
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    $ w/ a1 n4 o5 X3 U  D2 _  w4 T
  1282. ;mysqlnd.sha256_server_public_key =
    # i" P  H% d* @8 N' u6 m5 X
  1283. 9 H6 v( A: Z' O  q* h, ]6 \
  1284. [OCI8]5 F" r2 b$ V* Z$ B9 M6 T1 u% A4 ~

  1285. 2 I) P3 T. K. G& D9 L: `
  1286. ; Connection: Enables privileged connections using external  U6 S* U5 V  A; r% c- ^
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    2 `% a9 v4 }; p, n  w! v
  1288. ; http://php.net/oci8.privileged-connect
    ) m2 Y' u. A8 o
  1289. ;oci8.privileged_connect = Off0 j' d* k! i& h* k

  1290. 1 x  t0 f; a% X/ ^' o) k" T
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    : l; c2 h* [- M; {! ?
  1292. ; process. Using -1 means no limit.+ v0 t! W: @6 w
  1293. ; http://php.net/oci8.max-persistent
    + i+ m3 A) Y# D5 H' Y' o2 f
  1294. ;oci8.max_persistent = -1" X8 G: Q7 @" T3 g8 y3 F2 V0 j

  1295. " d0 a: r3 a" }& f
  1296. ; Connection: The maximum number of seconds a process is allowed to' [3 `! }2 f6 p+ ~/ `8 f# L$ R
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ; i* p8 Y9 |7 E8 X- I9 `8 v
  1298. ; persistent connections will be maintained forever.- D0 {  h. \5 Z0 R+ D# J5 A, t
  1299. ; http://php.net/oci8.persistent-timeout: V6 r; Y$ F# U
  1300. ;oci8.persistent_timeout = -1. g7 }5 s. f: k" c4 b

  1301. - r/ J" x& f( o8 u* Q
  1302. ; Connection: The number of seconds that must pass before issuing a/ B# @9 U9 z5 L
  1303. ; ping during oci_pconnect() to check the connection validity. When! h9 f& `9 ^3 i9 D8 Q. Q" a
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ ~8 j8 S* _( M  L/ M! o4 y# t
  1305. ; pings completely.8 k" N5 [- v! C1 M7 a8 m3 v, F
  1306. ; http://php.net/oci8.ping-interval
    " D4 M6 F2 P. C/ s5 D
  1307. ;oci8.ping_interval = 60
    ' t0 R. y9 v8 k
  1308. & Z; H% a8 P/ Y) S$ _$ M/ U* b
  1309. ; Connection: Set this to a user chosen connection class to be used; M' i+ _5 Q4 }4 [! c
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    0 g  @0 t7 K& d1 J
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 G; d! ^7 b2 E
  1312. ; the same string for all web servers running the same application,8 q; Y9 Q$ `' @
  1313. ; the database pool must be configured, and the connection string must
    0 T; ]: j6 {& b# S* J7 p
  1314. ; specify to use a pooled server.
    7 t  R: Q0 t. }- U* {$ j$ l
  1315. ;oci8.connection_class =
    / Z# c% U8 I  ^. o; x- A
  1316. % O* k9 p& {+ A- B
  1317. ; High Availability: Using On lets PHP receive Fast Application
    . D2 I  ]. ~& V4 Q5 @% C+ J+ ]1 v
  1318. ; Notification (FAN) events generated when a database node fails. The  [+ U; g  f5 |7 E* O; ?. I3 }
  1319. ; database must also be configured to post FAN events.! N9 k# d1 A" K# j- V
  1320. ;oci8.events = Off
    7 c6 C. }3 ~# V6 x+ h
  1321. 9 B4 T. u$ w& y& B* {
  1322. ; Tuning: This option enables statement caching, and specifies how
    % @; e+ F! {9 a7 ~$ E0 U
  1323. ; many statements to cache. Using 0 disables statement caching., Z# V* u6 Z. S! V1 P
  1324. ; http://php.net/oci8.statement-cache-size6 h0 K5 V; v5 n' Q8 f
  1325. ;oci8.statement_cache_size = 20) B, Y5 ?! o% [: d7 J

  1326. - U9 H: p8 r- M9 f: B$ r/ T6 B
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    % u8 _( I5 X( J) _
  1328. ; rows that will be fetched automatically after statement execution.
    . U& u* ?/ ?* p3 ?
  1329. ; http://php.net/oci8.default-prefetch
    ' M$ Y; U* ^) I+ c5 P7 r
  1330. ;oci8.default_prefetch = 100
    7 o3 I! R0 u  Y

  1331. 8 B5 z+ p7 [" Q- g* |
  1332. ; Compatibility. Using On means oci_close() will not close3 K6 u& S2 K, }
  1333. ; oci_connect() and oci_new_connect() connections.
    / z# h& ~  n; d" d0 J/ n, Z. {
  1334. ; http://php.net/oci8.old-oci-close-semantics  v) H4 A0 p* ~  \
  1335. ;oci8.old_oci_close_semantics = Off
    # m( W1 L' X# M
  1336. " B0 Q# ^( \  d, `; ^# ]* P
  1337. [PostgreSQL]
    ' x9 p( a4 a! S/ G: Y
  1338. ; Allow or prevent persistent links.1 N$ F: W; q  n6 n; D' u
  1339. ; http://php.net/pgsql.allow-persistent
    6 o8 b. s, U/ _0 |3 g0 k% R
  1340. pgsql.allow_persistent = On( f! Y0 K* v* z" @7 S. Z7 W; X
  1341. 4 a  O! M5 O' q( I( |
  1342. ; Detect broken persistent links always with pg_pconnect().
    % `5 _1 T' e* H" M3 H
  1343. ; Auto reset feature requires a little overheads.
    0 Z2 L8 r+ h# S0 Y; N3 I( t
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ; b+ E+ Z7 Z/ h
  1345. pgsql.auto_reset_persistent = Off  s7 |0 L6 }5 q0 V- e) @

  1346. # l2 Q1 {' g7 Q0 [
  1347. ; Maximum number of persistent links.  -1 means no limit.
    1 Q6 D2 a2 _& ^# s  d; R
  1348. ; http://php.net/pgsql.max-persistent0 F; B; k+ J& d/ h8 R8 x/ N3 t
  1349. pgsql.max_persistent = -1+ z3 F0 ~5 D: j$ G) W/ |6 g
  1350. ' W' i1 B# u. d# I6 J1 b( B
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : ]9 G8 f1 S# B4 @0 j$ N& g
  1352. ; http://php.net/pgsql.max-links, b/ |$ i0 N. F+ Z. ^( C* y# W
  1353. pgsql.max_links = -1: J8 }9 K- @0 b& s2 }  A

  1354. ) Q8 i7 F5 S% J. {, ^& Z8 d
  1355. ; Ignore PostgreSQL backends Notice message or not.
    : B% p2 J, J3 [' S
  1356. ; Notice message logging require a little overheads.% l" d1 Y- H7 R0 `( g6 o
  1357. ; http://php.net/pgsql.ignore-notice& [2 B4 K3 c3 @- u. u5 Y1 T, G
  1358. pgsql.ignore_notice = 0
    ' h  ?) ?' ^2 E' ^7 }

  1359. 3 \- {! Q- `$ _7 s9 N/ @! G) `
  1360. ; Log PostgreSQL backends Notice message or not./ U  H, u5 D. y, p
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* t! u2 x# ]& \9 V# G1 O
  1362. ; http://php.net/pgsql.log-notice" b+ U  ^) X7 V8 o" H  _( R
  1363. pgsql.log_notice = 05 l2 Y7 G: H  m2 _

  1364. + x4 F) N3 G0 _) N( U' q
  1365. [Sybase-CT]
    - Z; p( m8 Z6 k" u  E( R, L
  1366. ; Allow or prevent persistent links.
    . Z: @' g4 m5 \
  1367. ; http://php.net/sybct.allow-persistent. O+ K% z  R) ^+ Z2 ]9 @3 D: N
  1368. sybct.allow_persistent = On: @* G# T( Y2 x$ `$ a

  1369. 6 W5 v8 t9 F% R7 n2 g% t' r+ y  V& C
  1370. ; Maximum number of persistent links.  -1 means no limit.+ ?% S* M/ Y2 _  \, E  }! F& S
  1371. ; http://php.net/sybct.max-persistent
    $ m( Z0 R) Q) B3 t2 P
  1372. sybct.max_persistent = -1; O5 y/ m9 U4 |

  1373. 1 `, O% J  l+ E& Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 @( f/ z8 F# g' d6 N; F0 S$ s# _
  1375. ; http://php.net/sybct.max-links6 i, O+ z, S0 V% [
  1376. sybct.max_links = -1
    . N: A$ m! X: b: L
  1377. : V* l& B( k2 v  P
  1378. ; Minimum server message severity to display.
    3 R, t% c/ Q4 K& R9 s6 P% a& {) X5 W
  1379. ; http://php.net/sybct.min-server-severity
    : [! t  X6 t' `0 k  _6 K2 W0 q
  1380. sybct.min_server_severity = 10
    4 Q, j+ J/ ?4 D- w4 v% X4 u7 [

  1381. / ^/ G# k( u9 z
  1382. ; Minimum client message severity to display.
    8 s7 m0 c0 k5 J: z7 o) w8 j
  1383. ; http://php.net/sybct.min-client-severity
    & l) E& c) i/ W* t8 U
  1384. sybct.min_client_severity = 10
    % M9 j  R" U% u3 w* n
  1385. ) y) U! e% \7 @7 r9 E
  1386. ; Set per-context timeout1 c7 _& R# A+ x& L! u" B' d
  1387. ; http://php.net/sybct.timeout
    3 Z# {+ a4 I, q! v: |8 d( \, k( {
  1388. ;sybct.timeout=
    + X+ D8 ]$ J1 v$ {

  1389. 9 I6 ~2 f8 w% c- W+ M9 ]0 v
  1390. ;sybct.packet_size: J4 F6 Z/ I, y; S1 \& i# V

  1391. 5 m9 i6 m: \  Z0 Y& B( V8 l* U, g
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 ^# i! g& N2 I( X. ]8 }
  1393. ; Default: one minute
    8 }' a+ S( Z# n  @5 s9 _- `, u
  1394. ;sybct.login_timeout=9 |0 }4 q) F( |# m+ E
  1395. & P. U# V0 {/ @- z* y+ _  |, [2 j
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ) T/ ^' E8 G/ \7 S2 X4 E' L+ Y
  1397. ; Default: none
    ) D8 r5 q: i' N* h+ {4 ?+ {
  1398. ;sybct.hostname=' ^7 ?% D+ `" f8 O: b

  1399. : P/ h+ X1 D4 ]( J5 w3 p
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    % a* n, h9 A* q1 G: L" I
  1401. ; Default: 0! P5 U$ y% M3 g
  1402. ;sybct.deadlock_retry_count=
    / u/ o2 h, y- C. Q, V

  1403. " `' ?! R9 [" N2 U) b8 Q5 Q1 ~# ~
  1404. [bcmath]/ _' P& a' T- ]8 K
  1405. ; Number of decimal digits for all bcmath functions.
    . j  X  z  v* t
  1406. ; http://php.net/bcmath.scale  t, v. N4 Z5 ^# L5 `
  1407. bcmath.scale = 09 E/ g, T9 N" z% c  z- a& e
  1408. & X- T# v, ^# u( ~! `. s: d
  1409. [browscap]& n$ O1 k3 y' r+ f; Q8 p# [
  1410. ; http://php.net/browscap
    2 \+ \' F) K- E
  1411. ;browscap = extra/browscap.ini
    0 ]# y. p" `) j

  1412. ) d; Y2 G, P5 Q# f
  1413. [Session]
    / P" n: S/ J" j: A
  1414. ; Handler used to store/retrieve data.; j( u) d+ _! [8 h7 o
  1415. ; http://php.net/session.save-handler
    5 g9 A+ C; H5 g8 l6 y7 i
  1416. session.save_handler = files
    1 d( _* }/ {# J

  1417. ( Z9 D2 n8 o: ?7 p; E0 X
  1418. ; Argument passed to save_handler.  In the case of files, this is the path8 X  y5 l. {# l, p
  1419. ; where data files are stored. Note: Windows users have to change this" }  K/ g  C+ l% w3 C( M1 P' b( t' U
  1420. ; variable in order to use PHP's session functions.6 N9 r+ \4 v/ g
  1421. ;3 F: D/ {' G  |- n
  1422. ; The path can be defined as:
    - z( T$ P; O) ]
  1423. ;
    . Z; h3 T! s) T1 z3 X6 _# s  a
  1424. ;     session.save_path = "N;/path"
    ' U8 Y' V# ?2 Q$ c& p; |& |- ^3 Z
  1425. ;
    ) o9 S$ @1 o3 I' {
  1426. ; where N is an integer.  Instead of storing all the session files in: k8 G0 N, g& r- P) Z
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    1 f2 {# N: ^6 D2 e
  1428. ; store the session data in those directories.  This is useful if
    $ w$ |' t" E9 A) g% g
  1429. ; your OS has problems with many files in one directory, and is
    3 W* N: f5 i; ^( ?
  1430. ; a more efficient layout for servers that handle many sessions.% v! ?/ e5 v  ]  R) G
  1431. ;
    . q2 r; Y4 a- C# \4 ?! Y# a2 y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.9 b( \; t  B! V* g+ j9 ]
  1433. ;         You can use the script in the ext/session dir for that purpose.- `& C, L  P) B
  1434. ; NOTE 2: See the section on garbage collection below if you choose to! p/ l1 S. }7 d. q
  1435. ;         use subdirectories for session storage
    9 @4 B- }9 P* ^; I1 I
  1436. ;  l5 G  q/ C# q- r
  1437. ; The file storage module creates files using mode 600 by default.
    & @: E7 }# b/ W
  1438. ; You can change that by using- c8 a. @9 S+ h) }* I
  1439. ;
    ) G! V3 |0 }# ]  u
  1440. ;     session.save_path = "N;MODE;/path"
    6 e% j. |* ^6 a0 Z0 M. _6 [8 Q
  1441. ;5 }( e  \$ n- K
  1442. ; where MODE is the octal representation of the mode. Note that this
      i! v( n4 z1 s0 Y/ ]5 N
  1443. ; does not overwrite the process's umask.9 P  h# R: J# h& K
  1444. ; http://php.net/session.save-path
    * i) i3 l1 s5 Y* P; l) q
  1445. ;session.save_path = "/tmp"
    4 }9 X; t- o% C' C2 ?1 @
  1446. 8 @/ Q' E) c1 t* `/ w# C3 k5 S
  1447. ; Whether to use strict session mode.
    7 _; B. M& Q* H. q5 [7 }
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 v: F. @  z$ K' c
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + R# s& ]! e5 `6 J; c- q+ k6 a6 a
  1450. ; applications from session fixation via session adoption vulnerability. It is
    : V4 a& s1 j& t( S9 L% K, E  Y. j* ?
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged./ N+ U9 I# N5 Z, G6 g
  1452. ; https://wiki.php.net/rfc/strict_sessions
    . o3 t# v  N# _0 a4 r! @/ O7 r" Q
  1453. session.use_strict_mode = 0) X% C" M. V; B! Y

  1454. ( p  A$ X5 h9 n  z
  1455. ; Whether to use cookies.
    , b$ Q2 r; e7 v# `& m& f! u+ X5 E
  1456. ; http://php.net/session.use-cookies
    ; P( }8 h6 z! R; g
  1457. session.use_cookies = 1
    ' J3 V; A+ ~' _! M; A

  1458. 9 b. J- V0 \7 l4 J
  1459. ; http://php.net/session.cookie-secure
    - T- N! [" h! l0 n# O8 N9 d6 S) _
  1460. ;session.cookie_secure =! ?( S8 Z6 T5 a: D4 q

  1461. 7 v6 s$ [  A4 B; F8 p. Y6 ]# y# j
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - Y$ f/ Z. b. p# S, \7 O
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    & Z4 G$ J- {3 Q/ P
  1464. ; session hijacking when not specifying and managing your own session id. It is
    . q* l4 G% ~) s1 T+ r; G
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.+ n4 ?- Y5 q% h5 g, \
  1466. ; http://php.net/session.use-only-cookies
    7 g: W$ I. N$ R5 D# p
  1467. session.use_only_cookies = 1
    8 v9 s1 X9 ^2 M) e" c; [0 o

  1468. % i0 Y0 x5 u: s
  1469. ; Name of the session (used as cookie name).7 O2 o4 S3 A; i& E0 h# o  x
  1470. ; http://php.net/session.name
    5 M2 N6 l3 p2 L- W, @/ t0 j
  1471. session.name = PHPSESSID
    ) K! x) C! E/ }$ y

  1472. 9 b% B$ V% ^* D
  1473. ; Initialize session on request startup.& V; ?1 Z6 C( p8 U# d. J
  1474. ; http://php.net/session.auto-start2 H8 w! H% i2 f1 u& J0 ]% ]
  1475. session.auto_start = 0
    ! y" I, \/ e4 G+ J
  1476. 1 R, P( \3 Q( V. r% E. T6 `
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* l7 u7 e8 z8 F; K  m
  1478. ; http://php.net/session.cookie-lifetime
    5 _2 L: W+ W! k' A* m
  1479. session.cookie_lifetime = 0
    0 M# X  S' c6 K$ P( f+ B+ M9 ^

  1480. ; |' A' W! E: B4 x0 _
  1481. ; The path for which the cookie is valid.
    " f, B. f  y8 J+ P4 g$ c1 U- ]
  1482. ; http://php.net/session.cookie-path2 {  ~+ K5 M; d! x8 O+ f
  1483. session.cookie_path = /) g2 _! O1 e- a) m, g% v
  1484.   J% ?8 R) e5 ?4 ]2 U3 k# t1 j
  1485. ; The domain for which the cookie is valid.
    ) I9 j. X) _+ @* N
  1486. ; http://php.net/session.cookie-domain  D& V" F6 S. i) }. g
  1487. session.cookie_domain =
    2 @& L3 T) ~. [  H" @

  1488. + j* L% [* u) n1 e* E
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / @% K- r5 x3 U$ q4 P
  1490. ; http://php.net/session.cookie-httponly0 f8 v$ X# A+ [
  1491. session.cookie_httponly =
    + G8 L6 ~0 b8 z. z4 A

  1492. ; D1 n3 _# x! r0 x. c3 s
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 y9 r9 f& z: K
  1494. ; http://php.net/session.serialize-handler: a5 U/ Y/ j8 r5 l! c# X
  1495. session.serialize_handler = php8 j! n5 s$ |$ H4 T" u) K0 w* r2 B
  1496. * D$ t  A1 }% S; z  a% i
  1497. ; Defines the probability that the 'garbage collection' process is started# M7 e- L% e! {1 u( k4 Z3 x
  1498. ; on every session initialization. The probability is calculated by using) J9 [6 W4 S3 I7 p9 ]' n
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 h. e4 _0 l. i4 M& M7 G4 [  e5 y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( r8 T3 l8 V6 a. g# T) N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 q( l6 _% P! T) }. M5 ~5 w
  1502. ; the gc will run on any give request.$ D) k" D2 M# J3 m) W. y: ^% t: a) G
  1503. ; Default Value: 15 ~7 S# c- _$ }% q! @
  1504. ; Development Value: 1; l  D# D3 e8 P% y0 D, S5 D  t/ B
  1505. ; Production Value: 1
    3 V. ~& c9 M7 W' @
  1506. ; http://php.net/session.gc-probability
    ! m+ A" H0 k' v
  1507. session.gc_probability = 1
    $ f6 i* F& e3 H
  1508. 4 V3 W! t' I3 k8 E, o0 m
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ' x4 E1 P5 g1 W$ K0 Q* ~6 u
  1510. ; session initialization. The probability is calculated by using the following equation:
    4 |! a2 x3 h, `0 i, j- p
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; l4 Z+ V+ g+ p1 ~' h
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; @9 v' g: l$ p+ R5 }
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' q0 S. g/ }/ [- R" a! d
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you% U' S8 Q; J* J
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      [% v" P# ]5 t: v# ], S6 Q
  1516. ; this is a more efficient approach.5 k; L$ o4 |" G5 s2 H
  1517. ; Default Value: 100
    & ]* n* |, j1 A0 V! K
  1518. ; Development Value: 1000
    1 X, X# H3 k+ i' m
  1519. ; Production Value: 1000, m1 ?7 w. D, \* U
  1520. ; http://php.net/session.gc-divisor
    + F4 q, ?5 _& a9 L8 I
  1521. session.gc_divisor = 10006 u, c% r7 c, z0 i( W9 F" i# \5 x: @

  1522. 7 U% O. R  P4 A5 f  R. |7 e0 @
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and+ e9 j% {$ X% H. S, S9 N$ E
  1524. ; cleaned up by the garbage collection process.  o0 s) V6 A3 a2 K: Q
  1525. ; http://php.net/session.gc-maxlifetime2 t1 c0 v4 I1 a! \4 k4 t& @0 Y2 h
  1526. session.gc_maxlifetime = 1440( y) o; L4 Y3 S/ f; {# g& g, p

  1527. " z# I. e8 z/ D5 _$ A& w
  1528. ; NOTE: If you are using the subdirectory option for storing session files" m1 m* _9 x4 K( n% c: A$ K- m+ D
  1529. ;       (see session.save_path above), then garbage collection does *not*
    9 w/ l7 Y  l; a4 G2 Z8 W/ J% V( J
  1530. ;       happen automatically.  You will need to do your own garbage
    + D  ^/ Q* B# ?. t1 |
  1531. ;       collection through a shell script, cron entry, or some other method., O$ t% X4 f% h( U: v1 d& P+ p
  1532. ;       For example, the following script would is the equivalent of
    ( M8 ~- C: ~9 e2 J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % I0 ~$ c4 x, o! ^
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 }0 V! s4 [6 ?+ e. i

  1535. ' L4 d# C6 u* L* n4 m, A% k# t
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! C: V' ]% q* z1 R& I+ n( @
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    # K6 `/ s4 Z+ k
  1538. ; considered as valid.5 N; O+ \$ M% Q- X0 |
  1539. ; http://php.net/session.referer-check
    ! C6 ^  F2 H' m5 r+ {7 @
  1540. session.referer_check =
    6 K) S5 N9 T' K# B0 G( _2 ]" t9 ]
  1541. # L8 Q, E) p- W. T0 u0 y3 }
  1542. ; How many bytes to read from the file.
    8 w- R8 `9 b" ?; q' s
  1543. ; http://php.net/session.entropy-length6 l# A' `0 E$ z9 h
  1544. ;session.entropy_length = 327 N& ~2 c4 u# l7 ~0 f

  1545. 5 l, b( h0 B; D3 j1 W; `
  1546. ; Specified here to create the session id.
    ! A5 g6 Q# C5 w( E2 n
  1547. ; http://php.net/session.entropy-file
    2 U9 y, \% O7 O5 d  |- g
  1548. ; Defaults to /dev/urandom
    9 x& s8 ]$ A! V
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    4 {5 A) H: z1 f* ^# H; o/ M
  1550. ; If neither are found at compile time, the default is no entropy file.
    + ~6 L" A% `1 w6 I
  1551. ; On windows, setting the entropy_length setting will activate the
    4 |7 H" ^1 q) D
  1552. ; Windows random source (using the CryptoAPI)
    ( ^. u" c' A$ U6 `. p8 @
  1553. ;session.entropy_file = /dev/urandom
    , i' C$ ?. L- s

  1554. 9 |$ J. c) x: R$ n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects  m6 N/ |* N% g
  1556. ; or leave this empty to avoid sending anti-caching headers.4 P+ T/ B5 y7 z/ m" e5 i
  1557. ; http://php.net/session.cache-limiter, d. E8 S3 M/ M2 C/ h/ r& d
  1558. session.cache_limiter = nocache
    ( L4 O0 F5 s  y( Z; k! G

  1559. : _# h( |6 W) C, K3 b" F' x' G8 D
  1560. ; Document expires after n minutes.8 m/ X7 w4 j& S4 n8 k. S
  1561. ; http://php.net/session.cache-expire
    + @' T. W# U  a, \/ [
  1562. session.cache_expire = 180! l  U* m4 u! |! |# E
  1563. 3 Z: U5 Y: m8 r1 ]: B/ A
  1564. ; trans sid support is disabled by default.+ W1 d! U# H# z3 s$ R  i; ?$ R
  1565. ; Use of trans sid may risk your users' security.* d% {, t$ l7 y/ X  X. {
  1566. ; Use this option with caution.- y  O$ {: }# Z  @8 b! y& d" h
  1567. ; - User may send URL contains active session ID
    + E8 _" I6 e7 p% |
  1568. ;   to other person via. email/irc/etc.5 [7 K% h5 e& `( j
  1569. ; - URL that contains active session ID may be stored- O! R& w# L6 U# `6 X/ S& b  R
  1570. ;   in publicly accessible computer.) z- T: m; q7 e- B, Y3 I* M) B# f
  1571. ; - User may access your site with the same session ID4 A$ B/ n2 b9 X/ V
  1572. ;   always using URL stored in browser's history or bookmarks.
    & F) v/ n2 H6 e0 |; z' Q" h
  1573. ; http://php.net/session.use-trans-sid: E; k5 V6 s2 Y) d+ {/ e- u# j( Y. T
  1574. session.use_trans_sid = 06 x/ p$ p9 |, h
  1575. , S& D- L+ f; |, r" H
  1576. ; Select a hash function for use in generating session ids.% o2 U$ J1 u3 p0 s0 m& e
  1577. ; Possible Values
    8 ]+ S% g, d0 Y7 k
  1578. ;   0  (MD5 128 bits)
    : B( g! f/ K7 U8 K
  1579. ;   1  (SHA-1 160 bits)
    # O2 `$ q9 M4 j" `  R
  1580. ; This option may also be set to the name of any hash function supported by
    # \3 S: _- r: O, t9 e1 }
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()% ?2 }) N& p, H; Y1 A7 T% w: B
  1582. ; function.# L; v$ }6 r7 E
  1583. ; http://php.net/session.hash-function
    4 c# D" {7 r+ w
  1584. session.hash_function = 0% D) E( |4 M4 I

  1585. 5 _: Z+ F  R/ `4 P3 ~: G3 p
  1586. ; Define how many bits are stored in each character when converting
    - r2 s4 a8 n2 z& B
  1587. ; the binary hash data to something readable.( n6 G) _1 b- D# i5 q
  1588. ; Possible values:
    / l. g/ }* X0 R% |
  1589. ;   4  (4 bits: 0-9, a-f)
    7 S; o0 _  m* v% Q
  1590. ;   5  (5 bits: 0-9, a-v). ^3 J& A. f# A# Z- g* K8 L
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 K4 ?; F4 V' h3 }+ U# D) x
  1592. ; Default Value: 4
    / i3 i, v$ P2 O2 @
  1593. ; Development Value: 5. k0 r% r  R% l( I! z  M
  1594. ; Production Value: 57 z' v1 J2 t# R  ?) t" K; A
  1595. ; http://php.net/session.hash-bits-per-character. A: {1 f! @  z+ P# s
  1596. session.hash_bits_per_character = 5+ C, ]4 h/ ~: G9 q
  1597. ' T, n% C& R0 ~2 |7 L3 P
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.  G8 \' V, K0 F" @' g9 n9 q
  1599. ; form/fieldset are special; if you include them here, the rewriter will# e4 [# T1 ^0 s/ C) L/ I% Q9 K
  1600. ; add a hidden <input> field with the info which is otherwise appended; p9 s# F- c4 w9 I( P8 O' a( n
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - z$ v1 L* X( C7 W0 k/ T. }! f
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , v' `' ~, y/ z" x
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% Q/ |6 n# [& u8 v/ Q/ a
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 t% \. O3 k$ e( m; s5 @! j
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 B1 Z# n, t: |/ c2 E" g6 e9 e
  1606. ; http://php.net/url-rewriter.tags8 A0 q6 b% P/ t
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 I. b7 r1 i. @+ T& ]
  1608. 3 w$ Q  a3 L9 H! f0 `9 h6 ~  I
  1609. ; Enable upload progress tracking in $_SESSION
    . `9 L7 v$ }8 r7 ?& a, }9 X
  1610. ; Default Value: On
    # X, q/ M$ h9 E' m  q" K
  1611. ; Development Value: On) N1 L. D# Z5 Q- c% i
  1612. ; Production Value: On
    5 n! d3 E; H( d3 O& _6 _* u6 j
  1613. ; http://php.net/session.upload-progress.enabled9 L. \1 z) G* c( o7 ]. g' J2 @
  1614. ;session.upload_progress.enabled = On2 y+ f% A6 K5 A* l5 E. F7 c
  1615. + V# j+ @! f% B' n/ X
  1616. ; Cleanup the progress information as soon as all POST data has been read; `. R8 E1 n  s, I# e: f
  1617. ; (i.e. upload completed).
    & F; L' v! S& ?3 }; B5 e
  1618. ; Default Value: On
    0 a) m8 W6 ?; D8 \& |
  1619. ; Development Value: On
    $ W1 b; D; Q4 w8 g' y9 h* U
  1620. ; Production Value: On
    + W1 Z* |, e- x# U" n% `
  1621. ; http://php.net/session.upload-progress.cleanup7 V' S; s* d3 f) ]1 J1 j9 f
  1622. ;session.upload_progress.cleanup = On
    5 z! y  w7 _) t8 W, b! L0 L" P  ~
  1623. + b3 y7 X8 b/ Z8 P, p- X
  1624. ; A prefix used for the upload progress key in $_SESSION) G4 \# f, m3 ?) L6 H6 S3 V
  1625. ; Default Value: "upload_progress_"
    % F* {3 E2 G1 m; e
  1626. ; Development Value: "upload_progress_"
    0 Q* q8 U7 w! J% O6 j( _* p
  1627. ; Production Value: "upload_progress_"; e/ o5 a' b7 C3 c9 Q$ M
  1628. ; http://php.net/session.upload-progress.prefix
    0 Q+ q2 m- X' y& d" m: ^$ p) m0 Q) n( t* _
  1629. ;session.upload_progress.prefix = "upload_progress_"
    8 {  T1 Y5 B2 B1 i* x  g$ V

  1630. - v; W/ P/ K1 v; i" g
  1631. ; The index name (concatenated with the prefix) in $_SESSION4 G3 w/ v  X  B, S) f$ D& i
  1632. ; containing the upload progress information
    7 s9 r  J2 o8 D2 b
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( |7 w) y( U  ?
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 S- M& Y% x! V& s. I, _
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS": P, K/ T+ k6 I) p7 |
  1636. ; http://php.net/session.upload-progress.name9 \6 [% h. m) w* ~
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ) ]. I* m, i. E- H7 d% b2 T* k8 n

  1638.   Q9 L. a) D/ p) U4 d( ~
  1639. ; How frequently the upload progress should be updated.
    - C. X, n" Z: n6 k2 T- N
  1640. ; Given either in percentages (per-file), or in bytes
    + j( b* Q' w/ E4 r1 ?# ^, w
  1641. ; Default Value: "1%") T* @3 d; K: U/ V
  1642. ; Development Value: "1%"
    * N! H: J3 U4 l, W
  1643. ; Production Value: "1%"8 I& i$ o( q5 y; j! ~
  1644. ; http://php.net/session.upload-progress.freq
    & d) X' F% `' v0 B
  1645. ;session.upload_progress.freq =  "1%"
    4 t2 ?5 G! O3 ]9 U

  1646. % W9 D- W& B& k$ Y
  1647. ; The minimum delay between updates, in seconds
    4 B) q1 Z! T3 {( G( D5 Z, O( w, W  J
  1648. ; Default Value: 1$ c# _% C' j% P9 Y; Y: o
  1649. ; Development Value: 1
    ; \1 H8 N; {7 k2 [7 n9 q+ l
  1650. ; Production Value: 1/ j) r* ~6 e7 [  s' u* M! p
  1651. ; http://php.net/session.upload-progress.min-freq
    9 T# U' _: x9 ~3 e
  1652. ;session.upload_progress.min_freq = "1"9 A1 |: m1 d- p9 d9 Q, ^* t3 j; _
  1653. 2 t; _2 \. s3 f2 i
  1654. [MSSQL]' ^7 v% T. E# q6 }! b* c+ G
  1655. ; Allow or prevent persistent links.& }9 x/ X$ A% }0 U0 m' R" C# D
  1656. mssql.allow_persistent = On. C* B" P9 e; V

  1657. 5 H5 b& N, \3 a9 Z* E' Z7 t
  1658. ; Maximum number of persistent links.  -1 means no limit.8 U7 F7 B4 k3 ]
  1659. mssql.max_persistent = -1
    $ G7 `0 R" b/ w" `9 B
  1660. % X6 X8 ?4 v, n3 V& E* I  V
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . {# W5 p( m+ y! M0 {- I6 J
  1662. mssql.max_links = -1
    ( D% d" Y* x: M' W
  1663. - J1 ^3 d, r+ s- r' X* k9 g# n7 x
  1664. ; Minimum error severity to display.' W( B" t# w6 }6 b3 T# n9 z
  1665. mssql.min_error_severity = 10
    # a  w9 G, u4 |0 a) ]. Q0 q
  1666. % |2 e& g: C5 z  u: u
  1667. ; Minimum message severity to display.( w1 ]3 p- r& ?0 W/ l
  1668. mssql.min_message_severity = 10
    & J7 R! W  g) U) }& l; n
  1669. 7 w3 ?1 u/ p; f# o& b3 f
  1670. ; Compatibility mode with old versions of PHP 3.0.
    # ?9 U$ n  P" T  A3 A% H
  1671. mssql.compatibility_mode = Off  U6 w8 n% C' f
  1672. 1 e* S# }: @1 z. ?
  1673. ; Connect timeout" e- g. ~, Y* p' g# _7 u
  1674. ;mssql.connect_timeout = 5: _; z. l/ Y' g/ H, P1 T4 j* J) {
  1675. / X9 w) s7 z$ |
  1676. ; Query timeout4 p% O  n' E% G6 D" f
  1677. ;mssql.timeout = 60
    / w! I3 r$ _/ r- a% `4 Z* e
  1678. * o) G$ [" A9 N$ R) `
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    / D; x% X* @' J9 K- \- o4 f3 t- K
  1680. ;mssql.textlimit = 4096
    % {  Q( r6 W& w' ~9 y

  1681. ( f2 u5 h- p9 g4 E7 U# {
  1682. ; Valid range 0 - 2147483647.  Default = 4096.) u; K8 l4 j% f
  1683. ;mssql.textsize = 4096
    - O  M: l" `, J$ L
  1684. $ Z2 ^) i) p' f- g. o
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.* q1 ^+ f( w; L+ H# x2 K0 P( K
  1686. ;mssql.batchsize = 04 t/ ^. @) y0 Z3 j3 E' D3 E

  1687. . J: B% d( P' t/ l: m3 L; _. H
  1688. ; Specify how datetime and datetim4 columns are returned
    ( M8 R! ^) I5 h8 X$ _8 k# K% N, x# F
  1689. ; On => Returns data converted to SQL server settings3 e( n, W. n& Z$ t' C8 ^) l1 `0 U
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    * D% p3 c6 ?! ^: o9 S( P
  1691. ;mssql.datetimeconvert = On8 U" u5 c& M1 P
  1692. ; l# s6 k8 Z3 A4 ~4 I4 I
  1693. ; Use NT authentication when connecting to the server: C3 o) d- Y$ k. D: m/ v7 R. Z- N) \
  1694. mssql.secure_connection = Off
    " x, d& \1 {# e, r

  1695. ; \: O2 @7 Z7 g8 K$ o
  1696. ; Specify max number of processes. -1 = library default
    % Q" s- c9 z) ~; L% R6 f0 ^
  1697. ; msdlib defaults to 25
    , g6 J- N0 h+ [4 o$ @& V+ _! S
  1698. ; FreeTDS defaults to 4096
    7 L" S: E6 m6 C' g6 o- h9 ~4 w
  1699. ;mssql.max_procs = -1) m5 A, a1 w! k# S1 S3 O. _# w

  1700. ; X* b! }- f+ A- A. ?
  1701. ; Specify client character set.* e' w. u& f" G% p' J8 t% L
  1702. ; If empty or not set the client charset from freetds.conf is used, E6 _6 S6 n% x3 i/ m+ s
  1703. ; This is only used when compiled with FreeTDS
    ) [. ^4 v7 {; Z9 y& o5 S9 H  A
  1704. ;mssql.charset = "ISO-8859-1"! V7 R& a- t3 m/ V% p6 n
  1705. 4 a( Z) p5 m+ y$ c" i! ?3 \
  1706. [Assertion]- b: x/ b( S3 s& `9 B4 |+ x" I
  1707. ; Assert(expr); active by default.
    * L) W0 I9 Z, v( v' f8 [4 ?
  1708. ; http://php.net/assert.active
    1 z  P$ h% E" d0 ?/ \; Z4 B, ?
  1709. ;assert.active = On
    * A" H1 B. h; d9 a1 X7 t
  1710. ' D% o; @7 e2 a( H, [* c- u
  1711. ; Issue a PHP warning for each failed assertion.* W6 ^8 |- c0 X' a7 j5 c
  1712. ; http://php.net/assert.warning. v: J, I0 ~( d( ?; Y$ x
  1713. ;assert.warning = On
    1 j1 h5 U* F; @

  1714. : k, h9 k& l9 {2 B
  1715. ; Don't bail out by default.: r3 q! f) Z. I5 w4 b
  1716. ; http://php.net/assert.bail8 S  e' T, M1 X; C, j
  1717. ;assert.bail = Off
    # S7 t+ x1 R- i3 t+ V

  1718. 1 I+ x; \2 s: I( p5 [7 H
  1719. ; User-function to be called if an assertion fails., d0 W$ ~& u9 G3 O& `
  1720. ; http://php.net/assert.callback
    2 l! M& d3 e" d1 V2 |
  1721. ;assert.callback = 02 d: a/ I2 i0 m9 P: L5 U

  1722. % O, D4 M7 ~5 t
  1723. ; Eval the expression with current error_reporting().  Set to true if you want$ L1 w5 O0 ~$ q3 H, h: e3 \
  1724. ; error_reporting(0) around the eval()." k# }: z3 o8 q& k
  1725. ; http://php.net/assert.quiet-eval
    9 h1 I& K$ X0 i& s
  1726. ;assert.quiet_eval = 0
    $ l' Z* \' i1 j$ M
  1727. 2 @5 O2 \# l) w
  1728. [COM]! ?7 u" R( C9 S+ |
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, E: W, l+ M7 q) I: [% ]3 \
  1730. ; http://php.net/com.typelib-file
    6 P4 A  G4 E7 J7 a5 |3 E' b
  1731. ;com.typelib_file =: N. u, a1 Y" s9 P; a2 g

  1732. + }* M" r- {! A6 C; D3 w9 S  i- }
  1733. ; allow Distributed-COM calls' I. F# e% J  _! f2 C6 a
  1734. ; http://php.net/com.allow-dcom
    * T2 f) y# O7 x+ I0 X0 J# {$ B
  1735. ;com.allow_dcom = true
    ! w, X5 ]% \# R: P, l+ y; Y5 C0 U

  1736. # P* l, \2 M/ `) f
  1737. ; autoregister constants of a components typlib on com_load()7 F2 G9 W: M& l- X: V  ^8 ]& |* ~
  1738. ; http://php.net/com.autoregister-typelib
    , L5 h3 P) F( u4 ~6 m
  1739. ;com.autoregister_typelib = true
    # s+ [& s7 X  `: J! b( L
  1740. , }* D" u& S# _5 P5 S6 L8 W) ?
  1741. ; register constants casesensitive! c1 O* x$ k' Y3 k2 r+ _/ c! w
  1742. ; http://php.net/com.autoregister-casesensitive
    " U; D. E- ]- j7 [8 b* ?% v9 P
  1743. ;com.autoregister_casesensitive = false
    % F$ M$ }3 E2 A3 Z
  1744. 3 x3 I: j% q) F3 d7 f* ?: @. g8 P
  1745. ; show warnings on duplicate constant registrations
    & [0 ?* Z1 H5 C/ |- x% p! p/ b
  1746. ; http://php.net/com.autoregister-verbose
    8 X; v6 N. b7 V
  1747. ;com.autoregister_verbose = true
    9 {( y2 G  o' c7 m3 u+ b
  1748. 4 Y: q) J% H+ k4 L& b6 D
  1749. ; The default character set code-page to use when passing strings to and from COM objects.8 [' i9 b6 \% d. D& \% ~1 f9 w
  1750. ; Default: system ANSI code page$ j: t: B5 L' j) w) R1 q. h
  1751. ;com.code_page=
    " j% r, w9 {  c& Z0 j
  1752. ; t4 H4 t7 ^5 A
  1753. [mbstring]0 D/ K( W; q+ ]; b
  1754. ; language for internal character representation.  T( q' n2 c0 l" F- a" j) ~
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 B3 B  S2 T0 j7 z
  1756. ; http://php.net/mbstring.language: q' h5 e. t/ X7 u! T4 f
  1757. ;mbstring.language = Japanese
    * l* m6 A9 t& b- b. ]

  1758.   [. o3 V1 d' E5 s& \- h* K* p
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , m, \& Y$ x9 V, `
  1760. ; internal/script encoding.
    " l3 ~7 d7 l0 l
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). k' _9 Z9 ?7 a; b& E. b0 `3 S
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    2 T( G4 J# f3 O/ v; g! W' l* C+ `
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 L0 @, r( |3 }2 t8 c
  1764. ;mbstring.internal_encoding =
    0 s" f( J- g( K1 W

  1765.   Y7 H7 g/ X5 ^9 E! }! Y8 x
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * S: \$ o" _% o' h  N- M+ ?
  1767. ; http input encoding.
    9 P! |! G. a9 q' {6 M
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % o1 M( u8 e0 P. m% f, V
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    " t5 j& F" c! e
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' ?* ^, E7 Z0 {, D
  1771. ; http://php.net/mbstring.http-input' |/ D% I8 d% L" r& Z. D
  1772. ;mbstring.http_input =
    5 S4 J1 _; I& G! L, D

  1773. 0 ~9 ]8 _2 ?2 C% I. \7 t: u1 I' p
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : C- z* [$ q) Q# Q& l/ G
  1775. ; http output encoding.) z1 @. Z; L+ P. B. S- _- B
  1776. ; mb_output_handler must be registered as output buffer to function.) }+ J/ H, H) S- |$ e  |  ~+ J
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    + H( u( }  f( j% U
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output' }9 E8 H/ {; L" ^2 i# E5 O& d
  1779. ; To use an output encoding conversion, mbstring's output handler must be set  f: q3 C! P0 S
  1780. ; otherwise output encoding conversion cannot be performed.( c* v3 \) K  f& \  n
  1781. ; http://php.net/mbstring.http-output+ f6 D, m/ H$ K+ v& q) C7 J
  1782. ;mbstring.http_output =
    3 J3 G4 w# d; ~3 W( R

  1783. ; N- V; S+ M$ l6 o4 \
  1784. ; enable automatic encoding translation according to
    4 u) E: c2 _, g3 Z2 U) q( w/ d
  1785. ; mbstring.internal_encoding setting. Input chars are
    6 P  W) l3 v+ `; `$ n/ W
  1786. ; converted to internal encoding by setting this to On.
    ; Z$ l4 g7 t; Y8 k. f3 c
  1787. ; Note: Do _not_ use automatic encoding translation for3 y8 F1 J  N  G; R0 ?
  1788. ;       portable libs/applications.
    6 F3 ~7 Z% N7 A; C7 y- H
  1789. ; http://php.net/mbstring.encoding-translation
    ) m; M( v1 @/ \5 v
  1790. ;mbstring.encoding_translation = Off
    . ^3 Y* Z. [, q( Y

  1791. . O/ M$ T( w! E. m! r* s
  1792. ; automatic encoding detection order.; i0 |3 B# h3 @) w; x
  1793. ; "auto" detect order is changed according to mbstring.language
    7 I. B! J8 S3 X, x& b. {2 a
  1794. ; http://php.net/mbstring.detect-order
    3 J* C2 W/ H9 ^/ u8 s- C) p
  1795. ;mbstring.detect_order = auto( C) a# ?7 X7 Y
  1796. 5 t+ I3 W0 s5 m
  1797. ; substitute_character used when character cannot be converted
    2 w( x+ H- X3 D
  1798. ; one from another5 K  M; ]; d. L' W& P
  1799. ; http://php.net/mbstring.substitute-character0 Q3 M7 b6 ]5 U1 Y9 p2 ]1 `
  1800. ;mbstring.substitute_character = none
    2 m7 l3 E" ^* p/ q- e2 b

  1801. 2 @: X. x9 }: |" x- ~. C
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 k2 q8 z+ l8 r8 x
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),( ]; l6 S+ {0 z  W! F& ]
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.9 o5 a& k: S* }# V$ }, T
  1805. ; For example, 7 for overload everything.) N" }1 [9 k( k+ \" u
  1806. ; 0: No overload
    * e9 z' K6 ~+ H0 H5 y- y, J! p* Y
  1807. ; 1: Overload mail() function
    ! B' k3 x: L+ V$ R
  1808. ; 2: Overload str*() functions
    5 i) w0 r0 Q! Y5 f3 e$ ^. ~
  1809. ; 4: Overload ereg*() functions
    ' o& L/ i6 Z* f4 k, K: V4 a  n  G
  1810. ; http://php.net/mbstring.func-overload8 p+ \1 ~. Y: ^* b& [) r. i5 {+ [- s
  1811. ;mbstring.func_overload = 05 H6 H# U  B8 a1 |

  1812. 4 N# x! V# _5 R, t6 p
  1813. ; enable strict encoding detection.6 V6 n4 B" {4 n. F0 D" @
  1814. ; Default: Off( w4 a6 b3 ?# U9 p! j# h; x
  1815. ;mbstring.strict_detection = On
    6 V% |/ r, f  H! F3 D9 H

  1816. # K3 E. |* [; J; g
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # ~0 C6 O2 u9 x  f3 R
  1818. ; is activated.
    + v0 j0 Q, ?5 J$ J; }$ o) g
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)" q" L) o6 [& I% n: ?' O8 Y3 D
  1820. ;mbstring.http_output_conv_mimetype=
    & H# r0 l- M- u% M" P: |+ O

  1821. 5 G& e0 f' y% ]1 a& Y9 A% m
  1822. [gd]. {* ?+ ^' d9 {
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    6 Z5 p" ^9 `* w5 J) L: w8 f* e
  1824. ; a gd image. The warning will then be displayed as notices
      X  k& v, E; q0 R" ~- Q
  1825. ; disabled by default0 {1 `. p1 F7 h' u' `! T1 o9 A
  1826. ; http://php.net/gd.jpeg-ignore-warning
    3 [6 a, k) N, R5 r
  1827. ;gd.jpeg_ignore_warning = 03 Q. @1 ~7 P+ x- M$ C
  1828. 2 o# H8 {. X# `  N7 W! U
  1829. [exif]! y# R0 n* ]' M9 V% K4 Z5 d
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & j# M: i9 n! s* ^$ [  `% T
  1831. ; With mbstring support this will automatically be converted into the encoding" w& Q/ T4 d1 M, W  O, I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    0 M+ V( V  u! ]" [" E
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ) O" @+ J( m) g/ @2 ]
  1834. ; intel byte order. A decode setting cannot be empty.8 z, x- }& m7 `) a' M* O( K* }$ z9 i
  1835. ; http://php.net/exif.encode-unicode  ]$ b& [7 j4 u/ V3 z
  1836. ;exif.encode_unicode = ISO-8859-15* Q; F3 a# |# Q

  1837. 4 b4 p2 S! X0 a( d3 `4 ]
  1838. ; http://php.net/exif.decode-unicode-motorola
    / B5 o6 C- r$ @. _; }: q; x: C
  1839. ;exif.decode_unicode_motorola = UCS-2BE. A9 [' f5 H5 m3 {

  1840. $ `  r( E: K% E0 H8 c7 z2 z) o9 T
  1841. ; http://php.net/exif.decode-unicode-intel+ n3 _5 m# {% y; g
  1842. ;exif.decode_unicode_intel    = UCS-2LE
      t6 ^* G/ ]% ?2 h: X, z
  1843. ) S0 B2 b! [: c& V# C: i- u: H1 G
  1844. ; http://php.net/exif.encode-jis
    + Y! |9 g$ B, a6 \
  1845. ;exif.encode_jis =
    3 Q3 W1 ~9 E5 |0 I1 O4 z% L6 z" U
  1846. * n2 d- Z: A6 D* @* f) N
  1847. ; http://php.net/exif.decode-jis-motorola* Y0 H: D: z4 J( Y5 B
  1848. ;exif.decode_jis_motorola = JIS
    . |1 n- \4 g, n: h' q

  1849. # x% B) |; b- c1 i! {% w0 k0 K
  1850. ; http://php.net/exif.decode-jis-intel$ }2 w* I) q: j( A! N6 K
  1851. ;exif.decode_jis_intel    = JIS
    : G8 I- h7 s2 ?; Y' w  C- p
  1852. $ T! i0 a( p. L2 M
  1853. [Tidy]
    , }  x0 u' v7 {7 U+ L) r
  1854. ; The path to a default tidy configuration file to use when using tidy2 f3 _' F% j2 V
  1855. ; http://php.net/tidy.default-config0 F# N, }  _/ w1 D8 v; I; u4 X; [
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 L$ T  @' g/ D/ B( V8 [
  1857. , A+ J! [  c% W( e; ]# o) l( y" u  E
  1858. ; Should tidy clean and repair output automatically?3 q5 u7 t, D/ ~8 M& k3 O+ u  r
  1859. ; WARNING: Do not use this option if you are generating non-html content" w- t" n% p/ S; A: x7 p' d
  1860. ; such as dynamic images
    $ {, q/ x. c9 U% i& m
  1861. ; http://php.net/tidy.clean-output
    # r& O( s# a- b7 v, {7 Z
  1862. tidy.clean_output = Off
    8 @8 j* \4 y/ i" j) o
  1863. * H+ P2 t* j& L+ ?# t- i
  1864. [soap]' z: u  C1 @- \: h' U
  1865. ; Enables or disables WSDL caching feature.% ]: z; ~5 Y4 `" ~6 Q
  1866. ; http://php.net/soap.wsdl-cache-enabled5 a) l: m1 z1 n
  1867. soap.wsdl_cache_enabled=1# q# b% C& \' u3 s& X

  1868. " ?. @8 F. b- P1 v3 s$ v7 e6 e
  1869. ; Sets the directory name where SOAP extension will put cache files.- @8 O# d" H' u. H
  1870. ; http://php.net/soap.wsdl-cache-dir
    ( t- E+ q, }* h2 o- `3 {
  1871. soap.wsdl_cache_dir="/tmp"; e9 q- H1 ]& I0 s7 ?" t

  1872. * V, [6 C: b$ S( C
  1873. ; (time to live) Sets the number of second while cached file will be used( a5 w5 u6 ]' K
  1874. ; instead of original one./ D) T+ G" g: F6 J1 M
  1875. ; http://php.net/soap.wsdl-cache-ttl1 w0 i0 r8 Y( c, f" S+ D2 [
  1876. soap.wsdl_cache_ttl=86400' [9 a( t5 J) X. |
  1877. 6 {& y* u- ~$ ?7 F. N0 P& s: v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' y1 p: _( v5 y8 u
  1879. soap.wsdl_cache_limit = 5& v' H. w. G; ]( u
  1880. / `0 Y% b4 w% @; e
  1881. [sysvshm]
    ; z. [; C! E% Z  O- ?
  1882. ; A default size of the shared memory segment+ e0 p# G. ?  A7 V5 ~6 ^8 x1 ~
  1883. ;sysvshm.init_mem = 10000& H6 l, [3 w; _+ {8 Q; [4 |

  1884. / [3 U. d0 Z7 u+ }  i2 R
  1885. [ldap]% R* U% |  B  D  M
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ( b- m- {) V3 P0 R9 Q0 y( \
  1887. ldap.max_links = -1
    & c( [/ m+ T/ ?" n' T. \

  1888.   H' V0 O8 r$ v, q6 u; _  r
  1889. [mcrypt]
    ( \- K5 f; n& M/ i4 ^' z
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! A4 o3 M+ g/ T, i6 t4 l) q

  1891. 6 F% B* {- ~2 D% a. c
  1892. ; Directory where to load mcrypt algorithms
    - C/ ~& X; h9 q7 x* O( R* N
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + r; d5 x& l3 O! ^
  1894. ;mcrypt.algorithms_dir=
    5 m- e5 G3 J( V# |. v. r' p
  1895. ! u4 `( M7 n, B1 }, r
  1896. ; Directory where to load mcrypt modes
    / C$ w) h4 m0 o2 v$ x
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( z: v4 d8 t! V0 [/ r1 V( \. H
  1898. ;mcrypt.modes_dir=
    0 L' e  E$ t; D; J  Y
  1899. ( q# Z- F$ _1 i- |0 v4 [* ?5 C- b% d; l
  1900. [dba]! F: F5 D8 [# l; p( }* y' I
  1901. ;dba.default_handler=
    3 r( _2 b4 K( _$ D

  1902. . T$ q3 @! }$ t1 V! A+ G
  1903. [opcache]8 G$ w' g: k1 q
  1904. ; Determines if Zend OPCache is enabled+ |: Z2 R2 }/ F; Z% w" Y
  1905. ;opcache.enable=0/ U. v7 N( S, k9 z; M, r+ C- u2 C

  1906. 7 J) t- G- a  C9 g2 o0 S
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 S% a+ x( G4 |: |
  1908. ;opcache.enable_cli=0
    # |6 ^7 I$ [' |0 \% c3 ]5 C
  1909. 2 R: T2 y( t4 x6 K( }
  1910. ; The OPcache shared memory storage size.
    % q3 K# m2 U& I! p% R  F
  1911. ;opcache.memory_consumption=64
    5 C; O" T* d' s% E2 U1 _7 \+ E

  1912. ; A2 `  D9 t8 \3 E
  1913. ; The amount of memory for interned strings in Mbytes., X2 Z# E' L% e
  1914. ;opcache.interned_strings_buffer=43 \! p0 l/ I1 }/ r* ]( i  B' ]! v
  1915. * d4 @* T; m& v4 h
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.. z3 v6 g/ c4 Y2 B' p# |
  1917. ; Only numbers between 200 and 100000 are allowed.( P+ D" K+ ^# W4 {& a  h7 j
  1918. ;opcache.max_accelerated_files=2000
    2 C. U9 W3 q: b" o$ h
  1919.   G8 s! g& l& g8 a( [; l* A
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% C( W8 ~: x0 x
  1921. ;opcache.max_wasted_percentage=55 m3 g$ p  C5 h( G% O

  1922. 7 d" r) l% J: _2 e) j$ ~( x1 u# B
  1923. ; When this directive is enabled, the OPcache appends the current working# E+ h# Z# z  y0 P1 h* I6 s
  1924. ; directory to the script key, thus eliminating possible collisions between
    % F& {3 ~' z. x! a# |. K8 Q$ k4 f2 x
  1925. ; files with the same name (basename). Disabling the directive improves
    / i1 L2 a7 S0 t% f! ?8 L1 q
  1926. ; performance, but may break existing applications.: G9 d; S% o. W$ V+ A
  1927. ;opcache.use_cwd=1
    / d# l& k# e# J4 W8 x
  1928. 4 q/ y: ~+ \9 k2 D) s8 E
  1929. ; When disabled, you must reset the OPcache manually or restart the% v$ F7 ?/ z, e3 I" ~
  1930. ; webserver for changes to the filesystem to take effect.
    ) N4 O" L2 S+ r7 A
  1931. ;opcache.validate_timestamps=1' U5 v) w! I5 w6 v: ?

  1932. : `+ J- J+ a& }! ~/ c1 l
  1933. ; How often (in seconds) to check file timestamps for changes to the shared% A' n! v/ |% ^
  1934. ; memory storage allocation. ("1" means validate once per second, but only2 N0 H  Y- h7 U. M( s1 V
  1935. ; once per request. "0" means always validate)! j& q! C. Y1 @, Q  T
  1936. ;opcache.revalidate_freq=2# c, C6 g9 H* }

  1937. 1 m; x) }& j0 C: x
  1938. ; Enables or disables file search in include_path optimization
    - ?. W" c! j5 W3 J  h
  1939. ;opcache.revalidate_path=0' n' I4 [/ P5 }! d; i: X0 v
  1940. 9 a; g1 w3 b( M. c6 d/ B" T% u
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ n  t' E2 N6 `7 l  d
  1942. ; size of the optimized code.: W: a% y. Y9 ]- z9 l. u
  1943. ;opcache.save_comments=1
    0 a# k: w6 u: k$ c; P( t

  1944. 3 k6 w6 D% T* n! {
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"6 a8 A' h* ]6 \6 s1 |0 n
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    / q& L4 g" x2 K; L
  1947. ; that don't need them anyway.1 P: c4 z- c+ E8 ]3 D
  1948. ;opcache.load_comments=1
    - w7 `, T& w6 ]2 f  `2 K; P% N

  1949. 8 U" N6 d( b) f4 l% z8 i/ E! |' d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 f: }- }1 l2 j3 d% c* F  ^5 m2 a3 H
  1951. ;opcache.fast_shutdown=0: Q0 }# w. x3 Z

  1952. 3 B% L7 [" d* B$ i
  1953. ; Allow file existence override (file_exists, etc.) performance feature.0 v5 z  ~/ ?( [* v1 L; e6 ~
  1954. ;opcache.enable_file_override=0
    7 o# ^1 B& l9 `" a- R7 {% ~* M

  1955. . i5 a; M- z; K: j' q' ?% }
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    + `4 I/ J: M. Z4 o; V) k' G' c
  1957. ; passes
    ! j# g3 `, \* S5 {* x2 h( G9 m
  1958. ;opcache.optimization_level=0xffffffff
    ) m0 F* J; M/ H  W: W$ c& Q
  1959. $ l  ~8 f* h- r
  1960. ;opcache.inherited_hack=1
    2 U. H% l- ^# O; ^4 r
  1961. ;opcache.dups_fix=0
    8 l$ i3 \  u8 B6 m' c: Z  O. H  U
  1962. # t8 E/ a: B1 Y* t3 J* i
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 Y: {& H# d: V2 E( w' {5 x2 v
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
      k3 {; X* n9 ~: n1 z
  1965. ; that should not be accelerated. The file format is to add each filename2 O! B4 t% U* W0 A. k  a
  1966. ; to a new line. The filename may be a full path or just a file prefix
    # \+ J7 Y! t8 b9 V' ^
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% X! \5 L/ d2 ~5 u) U) G! f
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).7 M( |1 ^! F2 v  \# @* R
  1969. ;opcache.blacklist_filename=2 q3 B' G& d( ]/ x  L8 g
  1970. ! h  k; l4 G) b, V2 ~% ?
  1971. ; Allows exclusion of large files from being cached. By default all files3 y+ B: M  m$ M. ]1 K
  1972. ; are cached.
    7 ?4 @5 d3 M! ~3 d! p% j/ x
  1973. ;opcache.max_file_size=0
    4 l8 [: n7 Q2 m

  1974. + k- C& V3 R. {9 b
  1975. ; Check the cache checksum each N requests./ x* Q4 C7 k# c" y5 J6 j( M( H
  1976. ; The default value of "0" means that the checks are disabled.
    3 o* ]$ p! I5 D
  1977. ;opcache.consistency_checks=0- Y$ q8 d" P- m; S) m0 i: `( y

  1978. # l" H4 a2 x2 i. F
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & Q, O  E* m5 ?& j
  1980. ; is not being accessed.
    0 M/ c+ z) e& B5 V9 n$ y* Y
  1981. ;opcache.force_restart_timeout=180
    0 S$ x# J; I: t. p

  1982. 3 Y& j/ e2 e( M7 A  t
  1983. ; OPcache error_log file name. Empty string assumes "stderr".6 W0 M8 n1 u" ~
  1984. ;opcache.error_log=
    ( Q+ p' s7 G# \

  1985. 9 P, l/ z6 i+ z) O& y
  1986. ; All OPcache errors go to the Web server log.
    # u; o% ~0 l9 I+ N. M& Z" ^1 p5 ?* V& M
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    6 n6 e/ Q4 [" o+ \5 m3 e5 Y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    : p* g. p( w' v! P; z$ q0 D. m
  1989. ; debug messages (level 4).
    ! m: f3 a* m5 H% C
  1990. ;opcache.log_verbosity_level=1' b: X+ I& i6 k( P
  1991. / A( N) [3 \2 z) N( f# w4 p
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- [) E5 ~( S; X, x& c
  1993. ;opcache.preferred_memory_model=& i# H- f" l$ e0 M% G

  1994. : L. m% {) h* P, V, r) o* ^" r
  1995. ; Protect the shared memory from unexpected writing during script execution.
    1 |9 t* L% Q8 Z$ B
  1996. ; Useful for internal debugging only.
    % O6 L) E! K$ [2 w% F+ H
  1997. ;opcache.protect_memory=0& x& R" U& P6 y
  1998. " X6 J; @; y, u3 @/ I8 F+ @
  1999. ; Validate cached file permissions.7 W# `. Z. x6 G$ h  `( Y
  2000. ; opcache.validate_permission=0- F6 H, q+ I1 E) o5 w2 P
  2001. ( _$ M) I: s4 p" b( ]
  2002. ; Prevent name collisions in chroot'ed environment.
    8 R  P6 x5 l# f
  2003. ; opcache.validate_root=0
    3 ]$ b7 b7 D+ ^, |& w' h8 p
  2004. * E$ Q$ A$ s2 ?- z8 @
  2005. [curl]- [- i( ]5 G2 q* T" l5 X
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an' c" c* ]" ?4 U2 M3 x' u
  2007. ; absolute path.
    ) e! T4 ?1 W  L
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    7 K9 }2 j4 ^: s

  2009. 2 Y2 X- [3 }7 G: c& T, X5 f  M  c
  2010. [openssl]
    / x, d8 m# F. Z! Q( v8 L8 l
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
      @- \) ]. h6 W1 `" y* I" `8 B
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should. V* \7 e: C# a' L0 N
  2013. ; not specify a value for this directive as PHP will attempt to use the3 Z  q' d  x; q) `- N, ~3 @, x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    $ c4 V) t- W( y2 p( B  r: b& U- T; T8 X
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context- a3 o3 H& C$ D8 Z
  2016. ; option.2 H7 c. j& J8 H. H+ |% A
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt0 F7 S* W6 F7 v9 x6 @# r. Z' z
  2018. . t% B5 l& n- O5 _  }% Y- o5 B
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the, V( \  V9 [# J. z
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    : W) }/ m! n5 m. E7 t
  2021. ; certificate. This value must be a correctly hashed certificate directory.% E5 B; ?" O( M" \! |4 a; O7 k
  2022. ; Most users should not specify a value for this directive as PHP will3 C4 F+ H- @0 a* S+ S. B+ y
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    / x# K" K. L6 }- T1 e
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    9 g. ]' I( h" F
  2025. ; SSL stream context option.
    ' H0 I% Z7 Z6 {5 X( x
  2026. ;openssl.capath=( m9 i$ R4 Q7 t+ B
  2027. , i: A9 j% F) g/ s$ w# q' V4 V
  2028. ; Local Variables:
    . U2 e* R. ^/ G0 r+ a- u" N3 I  Z
  2029. ; tab-width: 4
    . K; x1 [* a: c+ m6 T% p
  2030. ; End:
    / l) ~+ A; ]% b. n3 v- e

  2031. & l' q. W4 g# O9 \, A) d0 _
  2032. ;eaccelerator
    $ V! m' c' m- ^0 M
  2033. ) p% v  d$ n2 ~( w
  2034. ;ionCube$ p7 ?; G! E4 V. I$ |; ?* B3 q, w$ z
  2035. ! C6 q  Z9 m8 g8 f0 z
  2036. ;opcache
    2 I/ e3 }* r6 t- z, S8 Q  ]
  2037. 1 _+ `9 m& g( `/ z4 Z$ j
  2038. [Zend ZendGuard Loader], Q+ B2 |) N4 j, o, f
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so$ f6 B' `. M) M+ p/ b# @  n* l
  2040. zend_loader.enable=1: t; ]' j5 Q3 P1 Q
  2041. zend_loader.disable_licensing=0
    ' I4 l+ U3 n3 j$ y9 b
  2042. zend_loader.obfuscation_level_support=3
    ( A& y% t9 g9 ], y
  2043. zend_loader.license_path=6 n) E3 f, O& C9 `# S/ B
  2044. : [7 k9 `' U! B0 J
  2045. ;xcache7 j* D. }6 R8 t# d

  2046. " `4 {' ]- H  e2 T! f7 u; Q" K- b
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
! M% O8 a1 w( _  j4 I5 q( f+ S% o5 c3 Q
, o, |. ^0 h3 @- ?8 o( O8 F, y8 ]
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,6 E! I4 b% r8 I. @
. t; n- q6 X2 T) a. V
Discuz!程序版本选择:* {- H1 @0 q% V; }1 x7 e) v
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- W1 u; ?8 D* L* n# b) P
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:7 `+ K" Q# `+ u5 \5 p
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。+ o7 V' @" h# @/ x, l$ U4 J; r$ ]
  Z& }% q3 z6 S7 y. `3 y5 s( L) N9 p  X
Discuz!插件模板版本选择:' f7 ]' p% _; [6 s6 I* t, ~9 d8 j
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,1 n! Y7 N* h! N& h) \- Q
针对这个问题做个统一的普及:
. n& k* g; A0 q5 F0 R1 r: ~X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。5 |6 c; _8 M; K7 `; f' Z
" g, n9 A7 a2 C6 P3 K9 C8 G
所以4 ]" E5 b8 c% q3 ~; u
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。9 M( R5 s9 }2 I* M1 ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
3 }2 v1 o8 n; o7 c) I: V注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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