分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
9 k0 z8 c: Q) Q; A4 k: m4 p8 ]3 J; S, |7 @- S3 ~5 @
  1. [PHP]
    " ]# e" K$ l/ m5 p9 [

  2. " u: \+ E( m* K! ]! y+ O
  3. ;;;;;;;;;;;;;;;;;;;0 _' R6 o( @& @. c1 P3 K; {
  4. ; About php.ini   ;" z1 A2 W: l, n4 x3 j4 U
  5. ;;;;;;;;;;;;;;;;;;;$ c% E3 p* y" W) \
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) _" ^, J# S0 g, r, R, X- w
  7. ; configuring many of the aspects of PHP's behavior.3 k" C" Q$ q" ^! j6 t9 _6 C" {
  8. / X; A4 P  ~2 N5 O7 J
  9. ; PHP attempts to find and load this configuration from a number of locations.# ^: t0 @' v: S( L8 q- K
  10. ; The following is a summary of its search order:
    & F/ U: o5 w1 m8 B% ?  q
  11. ; 1. SAPI module specific location.% _  I( S. K; r! [5 z2 e$ [* H
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" j: x8 w& x/ ?, N6 f3 ?8 C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( Z9 W8 k2 Z- `4 D: {9 C3 u) B" s
  14. ; 4. Current working directory (except CLI)
    . Q; y! m+ e' n1 X5 L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* E( s8 u' K& ]8 u) e* I' r
  16. ; (otherwise in Windows)
    ) l! z7 y; {* z, |# B
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 F" w3 S& M. q5 z0 o: _
  18. ; Windows directory (C:\windows or C:\winnt)0 P/ S; p: A, q/ Y! a
  19. ; See the PHP docs for more specific information.
    - k  |6 H& b. u9 w/ B
  20. ; http://php.net/configuration.file
    2 s+ k8 y* J1 E; Y
  21. 2 z9 Q, ?1 W" G4 V' W  f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines! F6 W. [9 s+ f$ {$ j& l
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    2 \" R9 `, s. w5 b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 c! L& f$ [( x1 u
  25. ; they might mean something in the future.5 u) h# Z- |. [4 o/ X- w. F
  26. 7 `/ Y' ~! z6 ^7 X/ Z
  27. ; Directives following the section heading [PATH=/www/mysite] only  x! C+ T8 [  d# c6 X
  28. ; apply to PHP files in the /www/mysite directory.  Directives& c; P' D9 E7 O- ?' y
  29. ; following the section heading [HOST=www.example.com] only apply to; [- I& t  w6 ~+ u$ W5 Q# p
  30. ; PHP files served from www.example.com.  Directives set in these3 N+ U& z2 y- y' t
  31. ; special sections cannot be overridden by user-defined INI files or8 c5 Q5 D& w! x. n6 J4 ~$ O
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 U+ |% a9 Y# d% E
  33. ; CGI/FastCGI." C+ D- g  F% l$ u
  34. ; http://php.net/ini.sections: h2 O4 h. }1 l$ g
  35. & ~# B$ ~. @% ?5 _1 I6 D
  36. ; Directives are specified using the following syntax:( K: @1 m0 L/ o* e
  37. ; directive = value- \  Z" F+ z3 R' w" ]& M2 m4 f1 e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 C7 ^. Q  D1 D5 M$ J" B
  39. ; Directives are variables used to configure PHP or PHP extensions.7 q0 c9 M: \. a6 N
  40. ; There is no name validation.  If PHP can't find an expected
    % L2 [; A- ~8 J* h5 D/ E
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! V' o3 U; b' P% i
  42. - u* f, \# S9 G% b% P( D* h
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # l9 |& A& G9 u5 y  P% ?
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    8 R- v/ Q% F: |. g: \% T8 Z$ g! H
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    + g$ c2 N! g2 E" d4 ^+ E. Q* B3 H
  46. ; previously set variable or directive (e.g. ${foo}); o* Z/ Z1 [' a7 n  \

  47. . {, d! e; H' u+ L* E" }, y' w) ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 G9 E4 g( U2 `/ d1 R5 h9 `2 w
  49. ; |  bitwise OR
    & b. Z9 P4 P7 _+ h1 {$ |
  50. ; ^  bitwise XOR+ x5 I) h6 X  f
  51. ; &  bitwise AND8 `7 x/ r. H* [7 j# u7 c; \" o
  52. ; ~  bitwise NOT! O- l( n4 m, M
  53. ; !  boolean NOT! t* c( ]# C3 ^" E2 K( V* H
  54. 4 R0 ]9 \* ]* w  d$ F4 {
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 H0 A. d. P. V$ D3 _
  56. ; They can be turned off using the values 0, Off, False or No.
    ' G4 `* \+ b0 o) V# I; p

  57. ) y6 B2 E! Z6 t; |. A
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' P2 d9 n# K" t: B/ `9 _
  59. ; sign, or by using the None keyword:# s$ W  ?6 H* q" c
  60. ' d* q% l7 t- i1 i3 k" b% m% K
  61. ;  foo =         ; sets foo to an empty string/ X$ h) z$ Q* O: H$ H
  62. ;  foo = None    ; sets foo to an empty string8 q6 B1 M# W. d, {
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + O: `2 k) x1 l$ N0 }

  64. ; O1 a" c6 p, F4 p- P
  65. ; If you use constants in your value, and these constants belong to a% W) q# d4 s! U# Y1 ?( p1 F/ S
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 O, A# a1 P( O, @, T
  67. ; you may only use these constants *after* the line that loads the extension.
    . A& |5 B5 w9 B+ S  r) b

  68. " |3 d0 k, R7 U" N4 w+ h9 y
  69. ;;;;;;;;;;;;;;;;;;;
    2 a  ~2 H6 C& d8 Z8 P) K
  70. ; About this file ;
    - K5 g. @: |; D8 f1 x3 i
  71. ;;;;;;;;;;;;;;;;;;;' e/ n: r  F/ f- ~7 l# \9 e
  72. ; PHP comes packaged with two INI files. One that is recommended to be used" u1 ?8 T$ z* ]$ c3 r( ?$ \6 W
  73. ; in production environments and one that is recommended to be used in: ]9 W/ E0 E$ ^0 Y# S: L# ~3 e
  74. ; development environments.  N% M* ~% o4 V% w: B4 b
  75. ! Z! U6 Y- r) }" \" V2 L9 N& {
  76. ; php.ini-production contains settings which hold security, performance and7 v" c+ k, x& B0 l& l
  77. ; best practices at its core. But please be aware, these settings may break
    9 o9 b8 N5 Y9 S6 a9 Q9 X' _
  78. ; compatibility with older or less security conscience applications. We  S: j7 g) B( m$ J2 O# p  b
  79. ; recommending using the production ini in production and testing environments.6 r' [; p! M2 H6 K3 B  E

  80. 2 U# P! s; h* I* Y3 O3 H
  81. ; php.ini-development is very similar to its production variant, except it is
    6 o& R/ w" y2 z! ?
  82. ; much more verbose when it comes to errors. We recommend using the
    ( Y" B: A- k+ ^3 i
  83. ; development version only in development environments, as errors shown to
    $ o$ k% {8 S2 ^! P
  84. ; application users can inadvertently leak otherwise secure information.
    . d$ Y7 W8 i. k. ?3 n$ j& O

  85. * I) t0 b  U3 z2 r
  86. ; This is php.ini-production INI file.! E8 c+ R+ r1 V+ N8 F1 j- B% K
  87. 0 K& }; Z' a+ C* y8 A
  88. ;;;;;;;;;;;;;;;;;;;
    ' n& o, t5 C* P0 F7 l# {
  89. ; Quick Reference ;
    * Z9 Y2 U, q) l& S
  90. ;;;;;;;;;;;;;;;;;;;9 v: p) O  G! C+ x
  91. ; The following are all the settings which are different in either the production
    3 d) C- O4 j, u4 d* D5 n) A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    $ O; n% X& Q7 b& j3 j% Q
  93. ; Please see the actual settings later in the document for more details as to why
    # D) w+ O# c( B4 `) v2 v
  94. ; we recommend these changes in PHP's behavior.# U) o- c+ B6 a/ B1 P
  95. 0 T8 [9 t. D9 x5 `4 l5 B
  96. ; display_errors
    + D$ H% {! {- Q( Q! b
  97. ;   Default Value: On+ n2 ]6 Q- P# O4 v2 M# w# c
  98. ;   Development Value: On
    ) B9 S6 U1 {4 f; V
  99. ;   Production Value: Off
    ; l7 A/ B+ ]! h+ e, M
  100. : Z: u5 n# ~: U8 D0 s
  101. ; display_startup_errors
    & f+ A0 ~) q( a/ c/ `
  102. ;   Default Value: Off
    0 B, H4 c5 R' d& P& c
  103. ;   Development Value: On0 P4 E! G- k8 ~
  104. ;   Production Value: Off6 y* q& J! R8 q, F! ?' t

  105. * n0 U* C; I, I/ v- P
  106. ; error_reporting
    4 |% P( r1 o3 N
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! ^* q9 c" V: O: X5 H& E3 D
  108. ;   Development Value: E_ALL
    ) u9 u7 N3 H. P: A7 M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. V- x8 J* E1 b4 @
  110. ! U2 w" Y# C( `, U' r+ C5 M
  111. ; html_errors
    9 r3 u1 ^4 m& k: P% n  e! _
  112. ;   Default Value: On
    " |! Y) j8 D4 N1 m1 S2 L7 m- Q
  113. ;   Development Value: On
    # ^1 v+ E* Y' ]5 F/ R
  114. ;   Production value: On
    $ \& l* r) l- L, T
  115. ! c$ e* r/ G- H1 u
  116. ; log_errors, p' T% \* R! m' b3 P" Q$ @$ q
  117. ;   Default Value: Off( C1 W8 v+ ~0 b; d' j; F( A* D
  118. ;   Development Value: On: _( A5 Z$ V. |& P" a+ V9 v& ?/ |
  119. ;   Production Value: On5 I- _6 r9 i# j2 X
  120. , z4 g% x2 P) i% ^
  121. ; max_input_time9 U8 a' {5 n6 O7 Z6 L; J
  122. ;   Default Value: -1 (Unlimited)
    ) r5 }$ T8 T! J' C/ g2 i* l
  123. ;   Development Value: 60 (60 seconds)7 ^8 L" u: S+ V3 d  Z) F
  124. ;   Production Value: 60 (60 seconds)8 D$ s. I! O1 v1 z
  125. 3 ^; `' |! C" P5 a; {) s
  126. ; output_buffering. }4 Z5 n" x/ c$ G  _' V
  127. ;   Default Value: Off
    . }2 e# V5 s+ a1 U
  128. ;   Development Value: 4096
    6 a, q0 ?  A  \
  129. ;   Production Value: 4096$ w7 r9 n3 W( i& g6 i+ `! z9 N% T' Q
  130. 9 W- O1 O' g8 e/ A
  131. ; register_argc_argv# h& ~' K& @+ O9 H' Y
  132. ;   Default Value: On7 O& y% A( h% U' O, ^, [
  133. ;   Development Value: Off
    0 o* k% i7 \2 Z# |, \
  134. ;   Production Value: Off$ u5 r( b2 Y7 s6 ?" z& m

  135. 7 C2 Z+ w+ |' y, @" P, E- D! E6 g
  136. ; request_order
    3 {4 N- h4 v4 F1 d/ h* S. ~# @+ t
  137. ;   Default Value: None1 o2 d( i9 c% _4 S
  138. ;   Development Value: "GP"
    9 |% g% N! _) D/ N5 C3 ?, P
  139. ;   Production Value: "GP"  S- ?* g, f$ I- Z1 O
  140. 8 q0 @: m  T  z6 y8 F' y8 Q
  141. ; session.gc_divisor
    8 E/ {+ p0 q2 t, F6 o
  142. ;   Default Value: 100
    9 @& r+ W  W9 ?
  143. ;   Development Value: 1000" s1 t( ~4 n# D
  144. ;   Production Value: 1000
    ; |: R. @/ h2 Q- A/ u$ r
  145. # u' H: u! B" ^9 H9 J, A
  146. ; session.hash_bits_per_character5 f$ j- R4 V+ ~. y* a. Q0 _! @4 R
  147. ;   Default Value: 4
    + c+ W( ]3 H+ G$ x. r1 ]
  148. ;   Development Value: 5
    0 _0 c8 X" L$ V+ z0 N
  149. ;   Production Value: 5$ I2 ]/ E8 t1 b( w) H- O

  150. * s% {1 I0 v$ q- @2 e" Q' Y: }; f1 e2 z5 \
  151. ; short_open_tag- T, p4 P1 p) k+ ?9 m
  152. ;   Default Value: On# ]9 a' W! q% T! b0 a- b1 |
  153. ;   Development Value: Off" |9 t/ L3 x( ~
  154. ;   Production Value: Off! T- a# r9 w" o* A: h# Y+ R
  155. ; z; N* }+ U: M% f* Z. e
  156. ; track_errors
    8 n1 U+ s- A/ \5 d6 _% W
  157. ;   Default Value: Off
    , ^# p8 p% T$ M7 e
  158. ;   Development Value: On: j) K! H) E9 F0 q0 S2 l
  159. ;   Production Value: Off. |3 D! D6 J! d4 V& ~
  160. . P- z, @/ L! {, y4 c
  161. ; url_rewriter.tags
    3 m9 F; s- p) k1 [: J- A+ |* K: _6 J
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", d- ?; L$ u; \7 O! b
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 L' [$ {4 \5 ]. v$ }% K% e8 {
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & M  r% C5 S" m7 u  {

  165. : h  I  {; c) ?& o9 B  C
  166. ; variables_order6 N7 E* q( _( A) k' U0 M
  167. ;   Default Value: "EGPCS"
    6 {6 n' Y* B& w
  168. ;   Development Value: "GPCS"" o) {# ]0 J3 a' h8 ]# u. G
  169. ;   Production Value: "GPCS"
    " H! f: W& b( a1 B8 l7 }6 \! d
  170. , f. u. k( |* U/ l: T1 Z
  171. ;;;;;;;;;;;;;;;;;;;;
    % y$ `) S  o) e9 }* ]7 [
  172. ; php.ini Options  ;. N+ [) B# t5 l( c, v+ \" r
  173. ;;;;;;;;;;;;;;;;;;;;
    . a4 ~5 c& i  Y* d! a, Q: E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 R. C; u8 n6 h& P: \
  175. ;user_ini.filename = ".user.ini"
    ; K% ]  ^& Z. e0 o; @; B
  176. # y7 l6 ]! o# B4 U
  177. ; To disable this feature set this option to empty value8 Z! X) ~, L) m: M6 A' c
  178. ;user_ini.filename =
    ! e2 s( W9 K# X: I. r
  179. & N1 e. N( z$ l1 z' d& P" A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! T8 S# ~1 f2 w7 O# F( O& u( C
  181. ;user_ini.cache_ttl = 300
    9 S! J% z0 H) D& J' M7 b
  182. : P$ u5 p- ]4 ~6 M
  183. ;;;;;;;;;;;;;;;;;;;;0 e" s4 @$ V* m' F8 C8 m9 D5 r3 J
  184. ; Language Options ;
    ( _  A4 j, R7 a0 Q$ v: f% X
  185. ;;;;;;;;;;;;;;;;;;;;5 G; J  _5 p. t: y& }' [8 T. g' [

  186. 1 d3 v8 P1 X, E3 I6 v# o) l" L( m
  187. ; Enable the PHP scripting language engine under Apache., x# g: f4 Q* y+ x; f( e, `- Z+ M
  188. ; http://php.net/engine" R4 b! o& d- P
  189. engine = On6 b' N( P+ Y6 j; \+ D
  190. 2 c' E4 w: X/ S
  191. ; This directive determines whether or not PHP will recognize code between
    # _7 |1 D9 J* i* t* c1 j
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    & `9 c( W$ ?2 L$ l
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ( m4 w3 U# h7 C" Q! f+ t
  194. ; should be disabled, as enabling it may result in issues when generating XML! g& i/ F. g0 q9 t
  195. ; documents, however this remains supported for backward compatibility reasons.- `: q' d7 {) p5 @$ f
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! y; ~) [. i% p) {  \( s4 S4 ~
  197. ; used regardless of this directive.- _" S8 B* T4 D7 h+ E
  198. ; Default Value: On
    ) d' y5 p* `1 u8 ~
  199. ; Development Value: Off
    ' c9 {5 T7 }* w$ @
  200. ; Production Value: Off
    # `. T& W. B+ l* Z+ E6 f# z
  201. ; http://php.net/short-open-tag
    ! {; K! C9 X! x- G8 ^( \
  202. short_open_tag = On: d3 |2 x  s$ }) R7 x3 j

  203. / g" G+ `3 E7 g" o$ }! `# W
  204. ; The number of significant digits displayed in floating point numbers.* t) g3 u2 P* v# N) n, h& w
  205. ; http://php.net/precision0 S& x( U6 O0 }+ T) d8 l3 X
  206. precision = 141 V8 M* e1 o, M+ N) Q9 P: R0 a; e7 l

  207. 8 p2 y4 w8 p6 t* r. B9 ?, ^' z
  208. ; Output buffering is a mechanism for controlling how much output data$ d! A* I7 _; k, X. U* P
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that. k! n& c1 D2 y( l7 B
  210. ; data to the client. If your application's output exceeds this setting, PHP6 e. K; N, Q8 w; s! z1 h" z
  211. ; will send that data in chunks of roughly the size you specify.
    & `# d/ H$ I! u, F  J1 s
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    # w( k' [5 k6 ?% a6 k  Y; P
  213. ; interesting side-effects depending on your application and web server.
    # s0 O7 h* L$ b. K5 _  }# Y1 O# P
  214. ; You may be able to send headers and cookies after you've already sent output$ N8 b" N+ d" H6 b
  215. ; through print or echo. You also may see performance benefits if your server is
    9 S+ K, T9 R) L- W! L4 h0 P2 S
  216. ; emitting less packets due to buffered output versus PHP streaming the output/ E8 a: Z% E* T  E8 k3 g
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / O0 }/ ]" B+ c
  218. ; reasons.* y+ }8 {5 O8 d
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ j; v/ n" ?" M' `; q7 H5 @
  220. ;   functions.
    3 f6 z' r; j) r# ?0 `6 K
  221. ; Possible Values:
    " m" n. i7 J/ g) F4 `9 L7 w* w
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)" v" y1 w+ {8 T% P# }( ?
  223. ;   Off = Disabled
    3 z9 ~4 Z5 g; l. \
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 y7 o0 X7 i, g
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 b: L% P7 Y: z1 t: {
  226. ; Default Value: Off4 Y6 q( |! k& `: P
  227. ; Development Value: 4096
    ( S5 f9 f: X) A0 _# N
  228. ; Production Value: 4096
    ' ^* X( @! k" K8 Y
  229. ; http://php.net/output-buffering! f; {2 X$ ~8 I( A  ]* l, y
  230. output_buffering = 4096, ?# v6 @0 S7 P: g! E

  231. & _) y. S( G# R- n) X* u
  232. ; You can redirect all of the output of your scripts to a function.  For
    7 }' a; \+ C0 E/ c1 {
  233. ; example, if you set output_handler to "mb_output_handler", character
    & Q9 z8 f! P! G8 }
  234. ; encoding will be transparently converted to the specified encoding.; c; D) {0 H' u# e; [& K5 h
  235. ; Setting any output handler automatically turns on output buffering.
    7 L. o6 J/ _$ R1 v7 a  O" S
  236. ; Note: People who wrote portable scripts should not depend on this ini! }& j3 f# u3 d1 V7 ^% r6 y
  237. ;   directive. Instead, explicitly set the output handler using ob_start().- X; s/ M# u% D! z0 ~2 T
  238. ;   Using this ini directive may cause problems unless you know what script
    7 S+ P2 ]$ V2 V% {: A
  239. ;   is doing.6 e4 d1 e" _3 r( c8 h
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    % f) Y5 W: G5 k7 n# M
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 x% T6 k: M( D; R6 z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!" z3 S. u2 Q  `1 }3 ]% B2 s* c* [, W
  243. ;   Instead you must use zlib.output_handler.
    2 Q) Q* V/ }5 K0 H
  244. ; http://php.net/output-handler9 U9 u- P# @4 R8 l6 ~
  245. ;output_handler =4 U2 V9 t" b! F1 ]7 V9 Z. S( M
  246. 9 y% k: `" F# K2 V% M6 B
  247. ; Transparent output compression using the zlib library/ M9 f: \' }, J  m; {- @& n7 l7 |
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ b$ R' q' ^9 d# t5 y" o% m; l
  249. ; to be used for compression (default is 4KB): N5 A0 P7 v4 s2 a8 u1 g
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP- l1 A2 s, _! |, H0 m
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    1 n0 E( v( b, E6 R- f
  252. ;   compression. If you prefer a larger chunk size for better
    * w8 ?2 E' z# k: }; w
  253. ;   performance, enable output_buffering in addition.
    1 z8 u: H& |) }2 ?. d
  254. ; Note: You need to use zlib.output_handler instead of the standard8 r% n7 t3 q9 T
  255. ;   output_handler, or otherwise the output will be corrupted.
    7 ]) l, }2 a8 h" F
  256. ; http://php.net/zlib.output-compression
    ; ]2 T) h4 p# v. Q' q" U, R
  257. zlib.output_compression = Off2 w. J6 c9 n% e3 {; t9 o* v, X
  258. 6 w. B- i! Z1 U  K" G) K3 i
  259. ; http://php.net/zlib.output-compression-level  M( a+ f0 c) N& y6 T* K
  260. ;zlib.output_compression_level = -1
    9 n( O: l. V# E* A: h
  261. , F/ N" M3 F9 S- Z, h) Z
  262. ; You cannot specify additional output handlers if zlib.output_compression2 W& ], B: Q+ K. B: G" S+ C; \
  263. ; is activated here. This setting does the same as output_handler but in" _8 |9 H  H5 P1 ~& \! ^5 v$ `
  264. ; a different order.
    9 r1 h- d3 D! Z. I+ T0 p5 e
  265. ; http://php.net/zlib.output-handler
    & b: G; C. R: y5 J, r
  266. ;zlib.output_handler =6 J. z# e- Y/ r

  267. & f* ?/ s& [/ T3 z! g
  268. ; Implicit flush tells PHP to tell the output layer to flush itself! Y6 s  `& Z- K
  269. ; automatically after every output block.  This is equivalent to calling the
    + L5 O; h+ d: K9 _' q# U
  270. ; PHP function flush() after each and every call to print() or echo() and each# H& @$ i6 s3 o$ k9 d7 ~
  271. ; and every HTML block.  Turning this option on has serious performance
    1 [/ g; e0 m: P
  272. ; implications and is generally recommended for debugging purposes only.
    " W3 s0 [* K5 j
  273. ; http://php.net/implicit-flush
    ; Q: Q' E" t, _% Q! o
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    & Y8 }) C+ v9 G/ j
  275. implicit_flush = Off( Q9 e; i: |. e- A9 L6 w

  276. % [- }# L5 _3 X; X" b  I
  277. ; The unserialize callback function will be called (with the undefined class'
    4 v! [) D2 X8 {5 U( m
  278. ; name as parameter), if the unserializer finds an undefined class# z2 M2 J+ a7 D+ I
  279. ; which should be instantiated. A warning appears if the specified function is: q) C* e9 V2 @+ y+ Q
  280. ; not defined, or if the function doesn't include/implement the missing class.
    & l# N+ T* }* V  z
  281. ; So only set this entry, if you really want to implement such a
    ( {6 D" O& u# i7 g
  282. ; callback-function.
    ; d9 v3 Y7 k4 F' W3 D
  283. unserialize_callback_func =6 H" r* h8 x2 ]
  284. ' H" p* P3 f! E6 a
  285. ; When floats & doubles are serialized store serialize_precision significant
    6 m3 ?* }# f# a. }7 Q! z; p, U' l
  286. ; digits after the floating point. The default value ensures that when floats
    : a0 }+ R, F- F& a# ~9 I
  287. ; are decoded with unserialize, the data will remain the same.* b' O# ^5 F0 J9 f4 @
  288. serialize_precision = 17
    5 z) _" \! d( x6 g! D: K4 g

  289. " p( P' h% \4 \- p
  290. ; open_basedir, if set, limits all file operations to the defined directory7 b0 s; X' b7 {6 }! o1 G
  291. ; and below.  This directive makes most sense if used in a per-directory& ]* R4 H( y% S  K4 `  s6 X; G- R; \
  292. ; or per-virtualhost web server configuration file.7 \* {) z$ A# ?  w1 J  G
  293. ; http://php.net/open-basedir* Q0 A2 T3 c8 F! h) a6 U' w# v
  294. ;open_basedir =( {9 K# r5 t/ X* U
  295. 1 ]  t' x9 b3 s2 x' }; x7 k
  296. ; This directive allows you to disable certain functions for security reasons.
    & l* r3 z9 w% b& @; R( m
  297. ; It receives a comma-delimited list of function names.- x3 D( T0 H0 c) r' K' p
  298. ; http://php.net/disable-functions
    " C$ n5 i3 O; ]1 j- t  U
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 ^( T3 a  u) i: s" F9 f4 Y! W0 b

  300. 8 g) c! Y$ k5 k& a; Q
  301. ; This directive allows you to disable certain classes for security reasons.
    : Y' D( b) j  w3 E1 x
  302. ; It receives a comma-delimited list of class names.
    4 C; [$ E0 _- ]1 y" R
  303. ; http://php.net/disable-classes
    4 G+ l# o4 q# W3 z- w9 y! {5 e! ]5 E5 H
  304. disable_classes =
    + L3 ^: x. I8 D6 R1 z4 |* D

  305. + i& i* ?  T: D4 M' j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / v- Q0 x- X# X- u+ \
  307. ; <span style="color: ???????"> would work.; n( ~% {: A& H. [
  308. ; http://php.net/syntax-highlighting
    - E3 G4 T9 T* ~
  309. ;highlight.string  = #DD0000
    ; _/ U7 n" _0 u2 O
  310. ;highlight.comment = #FF9900
    ' y9 i' P" R1 U6 Y. K) ~4 D
  311. ;highlight.keyword = #007700
    1 }: q( ]8 L2 ?
  312. ;highlight.default = #0000BB' B3 U2 Z3 @& \
  313. ;highlight.html    = #000000
    6 P3 ?0 C; w) L
  314. # S7 A+ ?* [8 h4 R
  315. ; If enabled, the request will be allowed to complete even if the user aborts; \" f1 n% [% E" n7 p8 D
  316. ; the request. Consider enabling it if executing long requests, which may end up
    % d* ]7 |% A: h2 I* C0 S3 N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior( j- u1 V. L. |, q# w' A. ]8 j+ k5 h
  318. ; is to disable this feature.
    , \2 Q* A& Z2 z- q. X/ z4 ]
  319. ; http://php.net/ignore-user-abort3 R5 r/ a* T# }1 U
  320. ;ignore_user_abort = On
    $ z1 `9 {. G2 _
  321.   v& s* I% v5 k1 S) J
  322. ; Determines the size of the realpath cache to be used by PHP. This value should0 o0 Y. T! l' j7 p3 I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    + I. s7 @5 Z' Q1 J9 ?& J+ ^/ e
  324. ; the file operations performed.
    , k6 o9 h. k: L
  325. ; http://php.net/realpath-cache-size' @4 k4 S* Y7 N2 o, U4 W3 v. K
  326. ;realpath_cache_size = 4096k2 Q: x- j- \5 ^, X7 ], e
  327. 6 D/ _/ i( M; h- Z3 Z
  328. ; Duration of time, in seconds for which to cache realpath information for a given8 {" v9 ^- _" Q
  329. ; file or directory. For systems with rarely changing files, consider increasing this2 {$ B$ d7 Y4 z7 ^
  330. ; value.
    0 d3 c' w. ^& s+ h  P9 e
  331. ; http://php.net/realpath-cache-ttl
    " `5 |2 `5 K! e- M( g
  332. ;realpath_cache_ttl = 120
    0 w4 Q3 S8 j+ C; J0 y
  333. * P, g. ]- M$ m
  334. ; Enables or disables the circular reference collector.
    7 O& n- \- O7 C+ h# s7 \9 |) l
  335. ; http://php.net/zend.enable-gc: v# @% k2 Z9 B. r
  336. zend.enable_gc = On
    % J* i: x. d( ^! s2 p' `

  337. # G$ H# a' C1 v# y# K( q/ r4 M, Q2 y
  338. ; If enabled, scripts may be written in encodings that are incompatible with; F. X* v6 ?* F4 U6 `2 M1 p# t
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    - f. k6 Q9 x0 C; e
  340. ; encodings.  To use this feature, mbstring extension must be enabled.5 ~6 D4 k# }  K- u9 t2 r
  341. ; Default: Off8 c# t$ V" }7 h1 h! r
  342. ;zend.multibyte = Off
    2 ~* L7 j  T# Y0 r2 E

  343. ( m3 K" F) u7 I( c
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    : C' j) R2 o' V
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.. a7 L( Y. w: z4 n  z
  346. ; Only affects if zend.multibyte is set.
    , n  v: f2 c+ i
  347. ; Default: ""
    % e7 X& f  @0 z3 M1 E/ q. E
  348. ;zend.script_encoding =
    * p( o2 C, \- N$ B# y8 o; f
  349. 5 H* C9 s( d! P. G& t
  350. ;;;;;;;;;;;;;;;;;% W% A2 K: d$ m7 ?0 p
  351. ; Miscellaneous ;
    4 l) i/ \( N4 g: F* c  k
  352. ;;;;;;;;;;;;;;;;;
    8 i6 F: E6 z8 a% \

  353. " H5 v2 E! G2 w0 a4 z
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    8 _3 g: O. F: p! A
  355. ; (e.g. by adding its signature to the Web server header).  It is no security# r7 e; |7 ^( D
  356. ; threat in any way, but it makes it possible to determine whether you use PHP) R1 o7 j( |$ @
  357. ; on your server or not.
    " e$ f1 z% F3 v- x; n. `- G: Q( X' `
  358. ; http://php.net/expose-php
    . J# f0 j  T* {: o+ N4 M. a$ F
  359. expose_php = On; h' }5 k7 t; h$ t

  360. ( ?/ ?8 E+ e& ~" \6 Y. R
  361. ;;;;;;;;;;;;;;;;;;;* U, E) Y, i4 g7 t/ ]& B
  362. ; Resource Limits ;
    3 s2 j% `# g/ P  _% v* ^7 R  Y
  363. ;;;;;;;;;;;;;;;;;;;
    & A) X. Z3 ~! x# U5 D' `
  364. 5 z2 J3 R; Q0 M, a* n8 h
  365. ; Maximum execution time of each script, in seconds* Y7 _( v7 U; v
  366. ; http://php.net/max-execution-time0 ]) u/ G" [8 ~/ |  c' x$ p
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI" U# L5 ?  [) ?/ b: c
  368. max_execution_time = 300
    $ y, k+ A3 _: f$ I3 @( X
  369. ) v1 I0 z# ~' i2 x3 N
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) ~$ f4 Q; Y; u- N8 L! D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly; }1 u& E( W: Z. f( L
  372. ; long running scripts.
    4 ^8 _+ C8 P2 k  N' Y; |3 H
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI" {7 k( b( \# ^& A
  374. ; Default Value: -1 (Unlimited)  I$ }$ U+ D9 C" _9 ^
  375. ; Development Value: 60 (60 seconds)$ v7 ^; X6 P% a9 `- g
  376. ; Production Value: 60 (60 seconds)$ M" Z  \; ]# T
  377. ; http://php.net/max-input-time
    5 s* N, @% U9 f- Q1 A: L
  378. max_input_time = 60
    # x9 t" t* g* C; `7 M6 h1 o
  379.   s3 h( `9 w/ B5 L) U7 A- v- @
  380. ; Maximum input variable nesting level
    / T7 m) b/ l. b0 X9 b2 ^
  381. ; http://php.net/max-input-nesting-level
    ( b# s" ]! s. @; u
  382. ;max_input_nesting_level = 64( Z. I& l- E  `, m0 C! r  M
  383. * R' w# X6 m( k$ ?+ m$ O0 H8 h
  384. ; How many GET/POST/COOKIE input variables may be accepted
    + z! k4 f9 {2 A0 i
  385. ; max_input_vars = 1000
    # d( Y/ K4 _' R1 s
  386. 8 o* X0 C( F! A' ^' a/ h3 l
  387. ; Maximum amount of memory a script may consume (128MB)
    8 N+ D3 ^  q; c' I5 K5 |
  388. ; http://php.net/memory-limit
    : f1 e0 i% z+ |# U0 J) B4 n
  389. memory_limit = 128M# m# O8 g4 U9 `. u$ n: e% f

  390. , Y" q+ d) ?  ?* ^9 b
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 F! Y, c% ^  p% g6 H
  392. ; Error handling and logging ;
    ! a9 ]) e, Z, z' r  y3 f
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# a: R* A1 s/ h% C
  394. 9 c+ o; }- A2 F6 B, n5 J5 k
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    - b1 X  ~6 O- }: P: N
  396. ; it to take action for. The recommended way of setting values for this
    * k# z9 o# _6 w: f8 L
  397. ; directive is through the use of the error level constants and bitwise) ~7 p1 ^6 B* K
  398. ; operators. The error level constants are below here for convenience as well as
    4 [/ W$ A- T, y' [
  399. ; some common settings and their meanings.- y& H9 h# ^2 P6 \* N' g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    4 d# t5 K3 J5 o, M
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and: x: w6 b- X3 T& r- e" T% s
  402. ; recommended coding standards in PHP. For performance reasons, this is the; V) N- ]+ ~/ L( X3 A- Z
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ {  r1 e9 S6 _
  404. ; resources complaining about best practices and coding standards. That's what1 Q$ [: U8 X+ F) H2 L1 e/ f4 m
  405. ; development servers and development settings are for.
    7 K2 @" ]9 @2 ~
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    - w  A+ X% A# c: o* X& r  |
  407. ; means it pretty much reports everything which is exactly what you want during& _4 q: u9 |/ x. B
  408. ; development and early testing.
    / E7 i- E) {+ D6 i9 j
  409. ;% q% |5 F* @4 C, M2 g. z
  410. ; Error Level Constants:( z4 `- c1 `' n) p* V2 t( q: g
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# Y6 k* W1 v* w& ~+ n
  412. ; E_ERROR           - fatal run-time errors
    % u: |4 o2 E+ J$ q9 w* e5 C# A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 Q6 O! ~* w( R# y# s# U$ R! F+ p, X
  414. ; E_WARNING         - run-time warnings (non-fatal errors). o' i7 n; U  o8 Q6 ^
  415. ; E_PARSE           - compile-time parse errors4 G3 t( U! m: o
  416. ; E_NOTICE          - run-time notices (these are warnings which often result: k  H4 ]* I6 y
  417. ;                     from a bug in your code, but it's possible that it was
    : B  S2 w$ j& r* h' i
  418. ;                     intentional (e.g., using an uninitialized variable and
    " d' a0 W: F$ ]8 a: M8 Q) _. B
  419. ;                     relying on the fact it is automatically initialized to an4 i4 |6 n9 b0 N8 r
  420. ;                     empty string). W0 X1 D- X0 f
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    - R3 f" ^) c4 B1 S7 P; K" z" ]
  422. ;                     to your code which will ensure the best interoperability
      c, c# J$ {/ m0 r2 W
  423. ;                     and forward compatibility of your code: E+ J# c; N, {* i: _0 @" E. c
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    - i2 N/ f, s* i
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    # ~# u/ N8 J; l9 r% |
  426. ;                     initial startup
    + P8 K3 q. \) L6 g# n
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ! w! T7 K% D5 E7 ~3 _5 N
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 Y/ ~& e8 E* {* A; z- C
  429. ; E_USER_ERROR      - user-generated error message1 ]( B3 b& L! L5 ?
  430. ; E_USER_WARNING    - user-generated warning message
    ; Q) [+ c2 G5 Z6 o
  431. ; E_USER_NOTICE     - user-generated notice message
    8 h' n6 M3 U4 q, g/ h
  432. ; E_DEPRECATED      - warn about code that will not work in future versions! `$ g3 H% s8 I' e# B
  433. ;                     of PHP7 s( q0 k. |7 o8 B2 [
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings' @! q8 v9 M. Q
  435. ;
    4 Y! V/ p6 e4 t- i
  436. ; Common Values:* |/ Q% W$ @9 p* G/ Q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 ?: P- S5 t8 B9 w; b6 ]+ [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    - }2 J3 j% ]+ H
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)( m; s. \) x2 t# N0 n/ ~- k
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 ]6 h; L+ \# [
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ l7 u% [6 q9 a. p  q1 I
  442. ; Development Value: E_ALL$ V6 Q6 C" f% e4 ~/ Y9 Q  X9 }( ?
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " l2 o: f7 x3 O! m- S; a
  444. ; http://php.net/error-reporting% [6 z% R% I6 T+ S" I, k2 {' d
  445. error_reporting = E_ALL & ~E_NOTICE  H6 `) R; E6 l% W5 n- g

  446. ! Q, t" `0 J1 E% s# @0 C
  447. ; This directive controls whether or not and where PHP will output errors,
    4 Y/ F8 a+ Y% S2 u9 w
  448. ; notices and warnings too. Error output is very useful during development, but0 L6 c' V: r7 R
  449. ; it could be very dangerous in production environments. Depending on the code
    4 q1 b# x7 O- E& R: X
  450. ; which is triggering the error, sensitive information could potentially leak9 \+ ^- e1 o$ m( p; h
  451. ; out of your application such as database usernames and passwords or worse.( n0 z6 u! K; r; f, |
  452. ; For production environments, we recommend logging errors rather than: [9 d& k' ~! y5 c
  453. ; sending them to STDOUT.6 r* u' i9 `" f/ Y/ B
  454. ; Possible Values:
    : l: T2 S0 W  G1 d/ P% b5 I
  455. ;   Off = Do not display any errors$ B/ y2 y0 w+ i( ~
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : ^: M% }) S. M( v% S3 s! ^
  457. ;   On or stdout = Display errors to STDOUT8 A; d$ H- E$ P0 @
  458. ; Default Value: On
    5 W# P0 q8 q- }6 `: M2 d% o, _6 i
  459. ; Development Value: On
    ) v$ g! {# m( J$ J$ B% ^) j: j
  460. ; Production Value: Off
    & w3 J; a3 R- I* o4 X; u+ \% E
  461. ; http://php.net/display-errors
    3 m: V: B4 A- g# V+ [  _/ [: f
  462. display_errors = On
    % V, @: j6 D- t* J- J( S

  463. # ~8 G3 q9 K$ J0 A9 s
  464. ; The display of errors which occur during PHP's startup sequence are handled( b: @) n( ?; {" p2 U. C
  465. ; separately from display_errors. PHP's default behavior is to suppress those1 b# U( r' l& A' Y
  466. ; errors from clients. Turning the display of startup errors on can be useful in  g* J  O3 T6 F; p
  467. ; debugging configuration problems. We strongly recommend you0 G3 N# j0 ^6 r9 W6 M5 X4 h
  468. ; set this to 'off' for production servers.
      Y+ s( y. M/ t% T
  469. ; Default Value: Off- ^: C/ R3 S5 Z2 y1 T4 k% z, |8 ~
  470. ; Development Value: On
    4 a: M6 W% G5 Q/ _3 \( J
  471. ; Production Value: Off
    0 |7 F6 a6 X8 H) D7 O0 M
  472. ; http://php.net/display-startup-errors
    - m4 r( F: y, d5 T- u& K
  473. display_startup_errors = Off
    6 h) g) R: G/ h2 G+ p3 d
  474. 0 u1 ~3 g( ?& M7 V2 n* x8 d* r- G
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 ~8 T  K* c; |3 _4 P# M' T: G
  476. ; server-specific log, STDERR, or a location specified by the error_log
      c5 |* {/ g4 O( ^4 l
  477. ; directive found below. While errors should not be displayed on productions
    / Q1 y, h0 y% p" N5 C8 }4 h
  478. ; servers they should still be monitored and logging is a great way to do that.! M. G1 ^- }! |9 A
  479. ; Default Value: Off
    " t0 Y: w1 G6 b7 k1 c* y0 K$ r
  480. ; Development Value: On2 z. o" S& G5 M- g" {4 S, M
  481. ; Production Value: On* N8 v9 F6 J8 \* ~9 H) T; l
  482. ; http://php.net/log-errors
    ' i1 l0 j( i& K: r5 g0 H  F5 C1 B
  483. log_errors = On% G6 U% r7 i  E

  484. 7 E. w) ]8 i+ j( u0 n
  485. ; Set maximum length of log_errors. In error_log information about the source is6 c" m0 M4 W, G. n2 `* A
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! g' z; [. r: u: W& G5 F* z. C$ y5 h% H! {
  487. ; http://php.net/log-errors-max-len
    # e) I, |1 X' M; e
  488. log_errors_max_len = 1024
      h- K1 x+ b' _& Y) T! N! z
  489. . Q; O. n* S3 k% ^" c, ^, @' [. W
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same" c+ O6 S4 n# x6 v! ~  `( Z# O' W
  491. ; line unless ignore_repeated_source is set true.
    8 j  N- {  I0 {
  492. ; http://php.net/ignore-repeated-errors  H$ s% }% c1 v+ k7 [( V' t( |
  493. ignore_repeated_errors = Off
    - s  W3 L% Y: I7 D) Z; z
  494. * E& l% `0 S6 @% `1 f4 L, ~5 ]8 N
  495. ; Ignore source of message when ignoring repeated messages. When this setting! r+ Q2 I# [% D7 s1 x
  496. ; is On you will not log errors with repeated messages from different files or' X8 N+ [5 @2 C3 d5 ~) ^3 L, x
  497. ; source lines.
    0 \( q4 x' R" O0 `3 x1 ?
  498. ; http://php.net/ignore-repeated-source. z+ d" `3 n) M; G7 }
  499. ignore_repeated_source = Off
    $ k% J3 G8 O$ Q8 T8 ^
  500. 4 N2 Z9 t. z: _0 U$ b( C& t7 N
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on: n* A) r4 S8 N% N+ H6 B
  502. ; stdout or in the log). This has only effect in a debug compile, and if: r6 ^+ z" {% t4 y  \0 d6 Q5 M
  503. ; error reporting includes E_WARNING in the allowed list0 [" {  P% j! V% |! J
  504. ; http://php.net/report-memleaks
    " C0 `; r1 X  q2 D$ g& a1 a
  505. report_memleaks = On
    / p8 e/ T+ k$ i- X; J9 p6 `5 c
  506. / I% i: K, z# w/ u* |' M
  507. ; This setting is on by default.
    ' \$ Q0 V) D: }7 Z6 b
  508. ;report_zend_debug = 0
      W" w/ m! L4 F' V5 v4 c1 u2 g

  509. " r6 |. |- t* S# o$ k" u
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ) j) i# N" g) m$ I3 G5 k( w. \5 l
  511. ; to On can assist in debugging and is appropriate for development servers. It should- _8 n% q' g! l( {
  512. ; however be disabled on production servers.
    / d9 D, t& X6 u( M# n7 H* b" D# b0 N
  513. ; Default Value: Off
    ! a: x3 ~# R  C6 v
  514. ; Development Value: On
    $ B2 o- |! m6 [" u" f
  515. ; Production Value: Off* o5 m5 T" }0 o( }0 h0 F6 E$ z
  516. ; http://php.net/track-errors% e" C; _6 E2 ]2 [
  517. track_errors = Off! G6 b9 Z2 q. t" g- P, j0 T

  518. 1 g* M) }( ?$ C: Z# U1 Z  E0 y
  519. ; Turn off normal error reporting and emit XML-RPC error XML9 O0 J7 D+ v: J7 T$ k" {
  520. ; http://php.net/xmlrpc-errors
    1 Q. k: I' X" _
  521. ;xmlrpc_errors = 0* i  I1 B4 }4 K# l: T
  522. . G; }$ B- Q6 y
  523. ; An XML-RPC faultCode' K# w. L% `) z: \
  524. ;xmlrpc_error_number = 0: A" ^) T! w7 J

  525. * B8 v, H6 }3 d5 C1 V
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    : E1 x7 z: l; |5 p
  527. ; error message as HTML for easier reading. This directive controls whether2 j# M. u& u! M: s3 M
  528. ; the error message is formatted as HTML or not.; t& J$ E$ t; V2 P4 p7 d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' J4 ~2 I& p- o& a, n5 M
  530. ; Default Value: On
    - ^8 Q' P; ^$ S9 l
  531. ; Development Value: On" K; ^" u2 T. M
  532. ; Production value: On+ n8 E9 V9 O6 D" p& B, u
  533. ; http://php.net/html-errors, q0 X% V+ q- o! @8 f; H
  534. html_errors = On  M' M1 J: d9 Y

  535. 2 D; _, S, e: u) p. |- M
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    # [4 J9 q3 m) C& v" t4 W
  537. ; produces clickable error messages that direct to a page describing the error5 I. [; n( b2 r( Y# `* T3 v# ^$ @
  538. ; or function causing the error in detail.
    $ t! f7 l1 m' k8 r* i& p- M4 w
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; T# |1 J2 x1 b' e. a& Y
  540. ; and change docref_root to the base URL of your local copy including the
      _) j4 z, A7 x- W( h
  541. ; leading '/'. You must also specify the file extension being used including5 V$ r/ U3 }5 [
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / F5 r; q- S4 ?! V
  543. ; case no links to documentation are generated.
    # J: q: u1 E2 p
  544. ; Note: Never use this feature for production boxes.
    7 |* h; a7 t0 t6 V5 z2 A
  545. ; http://php.net/docref-root! f  m; K' g0 j7 \, c* K" r* r
  546. ; Examples
    1 W: h6 i+ O$ ]( a
  547. ;docref_root = "/phpmanual/"% h6 E6 K- M3 w- c7 E

  548. & E6 l3 `, [- k
  549. ; http://php.net/docref-ext5 o1 |  V; O" |& k2 P& B( }# Q# R
  550. ;docref_ext = .html
    + X. v  Y2 K3 O  h
  551. * ^' L( }! A. E1 w
  552. ; String to output before an error message. PHP's default behavior is to leave( J( P1 @7 ]& U8 o# \
  553. ; this setting blank.
    ! _/ n6 i: `- O4 V/ |: N
  554. ; http://php.net/error-prepend-string
    & g* T5 o$ j3 l* n% R
  555. ; Example:+ y/ O/ ~" L5 Z2 c% H) y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"- x1 R- a3 a. o9 L, B. H
  557. . X4 q: X! n$ l; y* E
  558. ; String to output after an error message. PHP's default behavior is to leave. {5 J$ X1 t+ a% E) z
  559. ; this setting blank.0 Y- c4 t0 T9 l, M) l7 _
  560. ; http://php.net/error-append-string
      E1 Z+ D# F6 p% Y, T
  561. ; Example:  i8 B8 y3 V& Y
  562. ;error_append_string = "</span>"
    7 b+ ]9 f1 z5 a" y9 t7 D
  563. # H) U- i! Q; b7 s0 {
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; ~7 o6 x4 d3 d. z2 u% H) k  Z: m
  565. ; empty.
    9 \( @' F* v2 _: w* K
  566. ; http://php.net/error-log
      i/ E. O% c7 A  p
  567. ; Example:8 h# H" D6 C' f) y5 V8 S' \' s
  568. ;error_log = php_errors.log: u! ^* H* O( ?9 m" S, S' E
  569. ; Log errors to syslog (Event Log on Windows).4 D% h1 j; w$ z" j6 I1 X
  570. ;error_log = syslog
    7 l4 q" c* }6 s+ b/ ~3 I" j  U3 X
  571. " ~; g1 Z% _, D, o+ Z
  572. ;windows.show_crt_warning
    & T3 D' J0 ]* w: u2 y
  573. ; Default value: 0+ F1 |. ^+ C3 g8 r
  574. ; Development value: 0/ T+ H* F5 G2 }  q4 [$ H
  575. ; Production value: 0
    ) e. G% A9 y5 l" z" [; A1 F8 a

  576. ( q: q! V7 }, h" {4 N
  577. ;;;;;;;;;;;;;;;;;6 t/ p! G* @6 o9 v1 D9 r( b9 [# n
  578. ; Data Handling ;
    / u) }# O. P8 ]* |0 L1 i) f/ a
  579. ;;;;;;;;;;;;;;;;;
    # f& d5 B) ]5 M& v; L% V

  580. - C% f! b  G9 O! C
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 m/ u8 P8 @  L$ D8 W
  582. ; PHP's default setting is "&".+ z9 V- A4 p) M) Y$ s
  583. ; http://php.net/arg-separator.output4 I" S7 m, ~! d
  584. ; Example:1 y1 Y7 S  z5 K5 a, R
  585. ;arg_separator.output = "&"! \+ q2 X! n6 O# Y' X' `, R

  586. 7 I* g# e( u0 L
  587. ; List of separator(s) used by PHP to parse input URLs into variables.5 {- o+ z( K2 f+ e3 \
  588. ; PHP's default setting is "&".
    1 F5 H* u  [- I7 p8 x
  589. ; NOTE: Every character in this directive is considered as separator!
    6 W* Q+ Q; o0 r9 E0 H% e
  590. ; http://php.net/arg-separator.input0 z  l% @* U% S0 k8 V
  591. ; Example:
    + N; l0 n* b' z+ v! R
  592. ;arg_separator.input = ";&"
    9 n: X! e* t" R! W

  593. ) m! s/ I# I& t$ X0 ^5 Q- s0 \6 \
  594. ; This directive determines which super global arrays are registered when PHP# w6 b4 E* t/ B" D- q8 A) ?
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super2 X- M, Y/ }6 H+ t2 `- Q) M* r+ F
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    # j. g& t+ N$ U1 c! E: }# @3 @
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ; C' f$ A* r5 ?* e/ l  X0 X* b  E
  598. ; used as the others, ENV is not recommended on productions servers. You
    7 Q7 l* ~7 t1 t4 a0 r* V3 L3 a0 s
  599. ; can still get access to the environment variables through getenv() should you5 Y9 c/ y3 _- M3 V% c0 x0 e* r
  600. ; need to.
    7 |, F7 U* @+ a) _; L# V7 d7 ^0 ]' t' V
  601. ; Default Value: "EGPCS"$ ]& Z) X* s6 W6 c
  602. ; Development Value: "GPCS"
    / y! S0 `5 n& o6 o3 R# h
  603. ; Production Value: "GPCS";
    ! `; M( U+ b' x
  604. ; http://php.net/variables-order
    4 j: L+ s- H2 R. V. {  o
  605. variables_order = "GPCS"
    % h; w' S" D' m* z
  606. & N2 S) N5 _1 x1 Q" E& j
  607. ; This directive determines which super global data (G,P & C) should be! f& V' G0 b. \$ H. q
  608. ; registered into the super global array REQUEST. If so, it also determines  O7 Q4 `( F4 z% |( w' ~
  609. ; the order in which that data is registered. The values for this directive
    4 O# G* V! A+ i$ Y
  610. ; are specified in the same manner as the variables_order directive,
    . M, ~9 `0 j: y% L( o/ Q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, r/ L, n5 S( r. s
  612. ; in the variables_order directive. It does not mean it will leave the super
    5 |) M# G" \  @
  613. ; globals array REQUEST empty.
    ; I( X# U5 B2 F7 E: w
  614. ; Default Value: None3 s( q- J* s+ {/ |; R! z: a
  615. ; Development Value: "GP"
    6 V3 ?5 u+ I* e- C/ h! O- |
  616. ; Production Value: "GP"% Y7 j; X: l0 B* _% z( Y8 _
  617. ; http://php.net/request-order
    7 ]& ^" ^/ k' x6 T4 s" b
  618. request_order = "GP"  J8 I0 J" |; O
  619. ' V, b1 r( ~% m4 g' |
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    4 a* {! O5 ?6 t, k/ a0 b1 [5 \
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 N( @! n4 V, a+ X* `& l
  622. ; is invoked. $argc contains an integer representing the number of arguments7 q' t1 U4 @  R7 o
  623. ; that were passed when the script was invoked. These arrays are extremely& A* W  O' M. _) a$ ?  O
  624. ; useful when running scripts from the command line. When this directive is
    / @" Y+ Z& r8 W/ R6 @8 ]0 |6 c
  625. ; enabled, registering these variables consumes CPU cycles and memory each time* h, m. l( i2 E9 l$ e
  626. ; a script is executed. For performance reasons, this feature should be disabled2 _' V  d, ^5 T" Z
  627. ; on production servers.
    , h1 P! l1 P6 J% D4 r
  628. ; Note: This directive is hardcoded to On for the CLI SAPI: s( q. M9 n5 W0 N9 c: D8 T; t
  629. ; Default Value: On
    * n4 ]2 d) O# V9 H
  630. ; Development Value: Off1 c5 Y1 a: }4 K" Y
  631. ; Production Value: Off
    , i* ?3 A: E8 d4 I5 d+ t; d: B6 F
  632. ; http://php.net/register-argc-argv
    * q7 N+ U: P2 x: E) f9 a# [
  633. register_argc_argv = Off- H! B0 O- y' L2 b$ R

  634. # g& c. q, Y7 h  P2 w6 {  {
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 O( P& a6 M2 v, q5 M" o8 l8 J* n
  636. ; first used (Just In Time) instead of when the script starts. If these
    * L% X) ]- q3 d$ z6 Z8 b
  637. ; variables are not used within a script, having this directive on will result6 j% d6 \2 e6 w6 C& E# h' a
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. ?  S& z4 i2 N3 q$ W+ j
  639. ; for this directive to have any affect.
    7 J& n! Q+ s6 w1 e# V7 ~8 [
  640. ; http://php.net/auto-globals-jit
    7 e% @' j& H" L
  641. auto_globals_jit = On
    ; G% D. ^2 {/ B
  642. # h% |- W2 ]2 X; P: h
  643. ; Whether PHP will read the POST data.) j& A' ~' h+ I- i) j
  644. ; This option is enabled by default.
    & t) T, f: _9 }  j* k, c
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 w6 ?4 h% x$ d/ r+ P- R
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    + n; H+ Z$ K* N# ^! s. p
  647. ; POST data will be through the php://input stream wrapper. This can be useful7 L4 t* A$ S2 L5 n
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.& U9 [4 c& ~; ?5 J$ k
  649. ; http://php.net/enable-post-data-reading4 x9 A5 y0 d0 H; v# _$ B
  650. ;enable_post_data_reading = Off# c& v; R- P1 I6 b" O4 `! M
  651. / s4 Q  x5 P6 \9 T
  652. ; Maximum size of POST data that PHP will accept.
    7 i$ X/ N% J* ]6 {- a
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# a" P" U# @5 k7 [4 h
  654. ; is disabled through enable_post_data_reading." t% s* E+ B# |! D& e9 Y9 M, k
  655. ; http://php.net/post-max-size
    ( C  q& d, M9 h3 l! J- ?
  656. post_max_size = 50M
    , _; T5 f5 m( _5 e0 {

  657. 0 t  a6 W$ [  w
  658. ; Automatically add files before PHP document.
      L  h# Z  m7 T
  659. ; http://php.net/auto-prepend-file
    " Y: v, J, v/ z0 A& D. f% ]
  660. auto_prepend_file =* Z, k8 J) r/ m; e
  661. + |' `1 B' g3 z0 h' r
  662. ; Automatically add files after PHP document.
    9 {0 x3 ?  p$ O6 u
  663. ; http://php.net/auto-append-file
    8 c; r1 a; X. p/ l
  664. auto_append_file =, k& z+ Z: h! [: H( g7 |6 I
  665. * z7 y, `" v% V2 o9 J6 O1 M9 b
  666. ; By default, PHP will output a media type using the Content-Type header. To
    / b9 f" O! l$ W$ O; u. t
  667. ; disable this, simply set it to be empty.
    . B5 R( _5 M7 m# c
  668. ;
    5 v# `' q$ ?2 }, m
  669. ; PHP's built-in default media type is set to text/html.
    9 z. p. t0 i- Z' I$ k
  670. ; http://php.net/default-mimetype
    ; `. ~: ?, X1 k6 j) {! ?. b
  671. default_mimetype = "text/html"$ C0 `. m$ G, G& [) Y0 _. y+ S
  672. - `; o! ^0 [5 H1 W1 {1 u
  673. ; PHP's default character set is set to UTF-8.& ]3 a8 W! Q& ~1 ]/ ?7 H6 B
  674. ; http://php.net/default-charset( y0 l- F  S% I
  675. default_charset = "UTF-8"
    4 l* t% Q9 e) z1 u. A2 t

  676. . B2 B8 ?5 v9 [: U
  677. ; PHP internal character encoding is set to empty.5 v+ D- x2 s1 M, G
  678. ; If empty, default_charset is used.! r* b- Y2 T1 p+ _2 n4 X( |
  679. ; http://php.net/internal-encoding" H  B9 X7 M. z; a: r9 v1 n6 m  J
  680. ;internal_encoding =
    + W8 c' E0 I# I/ Y6 @! ?9 w9 y; O; I

  681. 7 x% b+ j$ f& U
  682. ; PHP input character encoding is set to empty.
    / j4 w8 b- U* h+ Y, d9 ]
  683. ; If empty, default_charset is used.4 p  ^7 Q$ J" V, A# a) b* b
  684. ; http://php.net/input-encoding% _  \0 u0 B% ~
  685. ;input_encoding =
    4 ~+ }2 G$ p; ?9 R3 S* G' E" ^

  686. . ]5 L" o, ~6 n4 ~1 i( v
  687. ; PHP output character encoding is set to empty.! Q. H+ {% m# V# F2 G  o
  688. ; If empty, default_charset is used.
    % `# p' e5 Y/ l( w+ Y+ U! q! L
  689. ; See also output_buffer.; c) `: g: i5 ^
  690. ; http://php.net/output-encoding
    : F% d+ s: `* B: L) ~
  691. ;output_encoding =* _$ y1 f! X8 B1 N3 h- x. O; f# d2 d

  692. 3 ]# U/ {! C2 q' N+ Y9 q: q+ @
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;+ v+ m' @+ f: N
  694. ; Paths and Directories ;' j7 P* a8 J) \$ l! H% a
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 H) S' Q- F7 x6 v$ r
  696. ( J9 l  ^3 T) |/ H2 N
  697. ; UNIX: "/path1:/path2"8 i/ o0 M8 |1 N4 G% Y
  698. ;include_path = ".:/php/includes"5 A8 z* r- _! w, K3 G
  699. ;+ X1 t9 A7 r9 }' B
  700. ; Windows: "\path1;\path2"% b( g  e2 a# }. Q' _
  701. ;include_path = ".;c:\php\includes"
    ' w8 ]7 A7 I0 Y! ^) G
  702. ;
    * c" {0 S" x, G2 P5 N
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear") o& c7 j& \2 k, I( i
  704. ; http://php.net/include-path
    ; |$ K9 o! S( b8 R# I  \

  705. 4 N% D1 z' h6 p! ~  {$ w% I! q
  706. ; The root of the PHP pages, used only if nonempty.1 K# J, l! |" V/ U
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % @9 a" U$ p) c  ]9 y
  708. ; if you are running php as a CGI under any web server (other than IIS)5 P) t6 k, F' g9 {* V! Z
  709. ; see documentation for security issues.  The alternate is to use the) Z3 g0 D4 ?! S3 p' l  `
  710. ; cgi.force_redirect configuration below& c; w; B3 G" h
  711. ; http://php.net/doc-root
    7 j2 h/ E  K- S! O
  712. doc_root =: M4 C  I% d. a5 t

  713. ; {# t- M9 u; V) H0 @
  714. ; The directory under which PHP opens the script using /~username used only; i3 ^9 c& X9 p$ ~+ v2 U0 Q
  715. ; if nonempty.  P! O' ]  ^, }4 J+ ?/ B4 a
  716. ; http://php.net/user-dir$ P6 h- A; o% V0 O! i! n
  717. user_dir =
    4 q. o: Q& O. h" e  J
  718. ! d4 f/ X- R; f& b9 d
  719. ; Directory in which the loadable extensions (modules) reside.
    & k' y0 i$ H' q- u; y! @8 P; T
  720. ; http://php.net/extension-dir
    + @) A6 d( T# N# Z: M. y
  721. ; extension_dir = "./"& T& R2 N$ g- J+ {$ Y5 V; e0 s! X$ K
  722. ; On windows:
    9 }3 M; s' A! H5 m% Q2 k2 i
  723. ; extension_dir = "ext"
    6 Y% y$ h- ~/ `2 Y

  724. 6 ]( p! a( y- X" a
  725. ; Directory where the temporary files should be placed.% K2 B3 P, N/ m7 X
  726. ; Defaults to the system default (see sys_get_temp_dir)5 Z! A. W5 Y* N. _
  727. ; sys_temp_dir = "/tmp"
    6 }$ o1 y. A; B  S; I* o

  728.   K! R& W$ A: T- T1 E! l
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ _7 s; h8 v# @$ q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - B- V) ]: ~8 V* _# \; e
  731. ; disabled on them.+ z. Z4 a9 K4 o# w2 l* M4 \( H
  732. ; http://php.net/enable-dl' a2 q1 z& Y+ N9 [. p: d1 t
  733. enable_dl = Off
    1 S' A8 V/ [0 V% M5 i- R" P! V

  734. / n, l5 t! r/ ]& ]+ K. E
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + h& q9 V2 N. S$ H) X) k  N4 N- I" _2 J
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 \* m, s* }" a0 Q" p1 Y7 D* H
  737. ; turn it off here AT YOUR OWN RISK
    # I3 ?$ @1 h$ g" {, N( j1 b
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 D; b7 Q6 S  f7 Z/ `3 j% v' _
  739. ; http://php.net/cgi.force-redirect
    - ]* p% }  W* z
  740. ;cgi.force_redirect = 1  R# d# C6 R) f; i
  741. - `; }! o' x; r8 q, b  m& n/ g- ^
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ m& p. Z$ o2 X4 x5 y! @
  743. ; every request. PHP's default behavior is to disable this feature.
    & C& }7 a" Q, ]  t* r
  744. ;cgi.nph = 1
    5 i: z$ l3 V9 P0 b
  745. % M2 v9 y4 e5 T/ U" k5 P  \2 s$ _. C
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + a$ y& I& Y2 K8 Y) g  t
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( X. z  w7 K2 U9 {0 k) a
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY! W, D; o# b' L! B; v  |
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) Y& t4 d' h' n3 P
  750. ; http://php.net/cgi.redirect-status-env" [' q7 Q6 H7 L3 M0 K/ |- l$ b  q
  751. ;cgi.redirect_status_env =
    2 p$ {9 `; t/ t3 A* r! u4 C

  752. 2 ~4 S8 K1 o- D! ]0 n' ^: o* R* H
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . i6 G3 I0 s7 _! H
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# O  u- W" d6 i$ B& B: W& z6 x
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 p9 M6 p& _4 a3 g+ R* \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting0 q. B3 }- g+ y+ Y9 P! @. M2 V
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: d  d6 F3 ]4 d* m/ l
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! U$ X- A& S! |4 i6 m% K" m
  759. ; http://php.net/cgi.fix-pathinfo
    7 p5 P  d8 G- E1 E; A
  760. cgi.fix_pathinfo=1- O  Z: M$ c6 u

  761. + P. ~- ~3 X" T9 j! @7 v. E
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 o) n4 X0 h- J+ A
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    " I' v) y6 w: t8 s4 e2 W- ?
  764. ; http://php.net/cgi.dicard-path4 ^4 _) L# x. G0 Z# W
  765. ;cgi.discard_path=1' u; s* U: k4 f/ U3 e: h
  766. 4 U& b/ K- F8 t* K* Z; _2 |$ U
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate) s& i9 u/ d/ {! {6 n2 |4 t
  768. ; security tokens of the calling client.  This allows IIS to define the
    ( I" n4 u, n% a- o2 D# h; X6 `
  769. ; security context that the request runs under.  mod_fastcgi under Apache+ T! g' T' H- T7 U8 h  r4 L
  770. ; does not currently support this feature (03/17/2002)# k# \" \. M% u) g" x9 v# a- s8 `
  771. ; Set to 1 if running under IIS.  Default is zero.& {5 m$ T5 P. C' v" R- @
  772. ; http://php.net/fastcgi.impersonate
    ; S9 p! ^0 a: J3 C
  773. ;fastcgi.impersonate = 18 r" j' `4 h9 f8 V

  774. 0 h- u0 j% C3 X# V, V+ v
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / B6 L  u5 E6 C; C0 n& ]
  776. ; this feature.
    ! [+ Y5 i; `" b
  777. ;fastcgi.logging = 0
    ) p. l* G, }, n" N0 ]. j

  778. ( L  E! E" X* B2 p# {% K3 _& t
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to5 b5 u  ^9 h  E" P
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 c  T) X% H& ?" {1 N9 L( H! t
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    " Q: ~# y4 U, k
  782. ; RFC2616 compliant header.  @, I, u+ f6 D0 p% Y$ h( u. }1 P
  783. ; Default is zero.8 G" F! R% ^% c( G* B
  784. ; http://php.net/cgi.rfc2616-headers
    $ h$ k$ v- r- n/ V
  785. ;cgi.rfc2616_headers = 05 Y; I6 b1 |5 Y' ?

  786. + H  b+ ]  S" x' S6 h
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    - c7 H' k/ s2 i. D+ }, U8 F% R4 R6 z
  788. ; (shebang) at the top of the running script. This line might be needed if the' E: s% p4 W1 \7 Y) H
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    - @4 ?8 H, {* Y! l+ C
  790. ; mode skips this line and ignores its content if this directive is turned on.
    5 w6 }0 _3 K, j' q
  791. ; http://php.net/cgi.check-shebang-line  [3 t* g: S# s
  792. ;cgi.check_shebang_line=1
    + N" l+ i+ Q& ^5 @1 ^# }

  793. 1 x# _$ E& K0 k% T
  794. ;;;;;;;;;;;;;;;;
    6 D, x1 g" _7 [$ M2 o
  795. ; File Uploads ;
    ( Z- k5 Q6 J! p6 ^- f5 |
  796. ;;;;;;;;;;;;;;;;
    & k* e  L/ o6 J+ y; i, y

  797. 2 j6 x* m% q4 |) t9 I+ e& P
  798. ; Whether to allow HTTP file uploads.
    & `$ c) O( N* D
  799. ; http://php.net/file-uploads
    . Y! ]2 j* e( q0 q
  800. file_uploads = On
    3 v) \6 m- ?' f- G* F- \3 ?

  801. 5 N2 k- w3 n% w0 p* R; A
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 L+ G$ p1 v  ~3 m. X
  803. ; specified).
    ( p: Q3 ]& N1 T5 J
  804. ; http://php.net/upload-tmp-dir
    " i) n' W- D0 W: n
  805. ;upload_tmp_dir =, |* Y! [. n" J: Q

  806. 5 e$ `+ m4 z  _' |- [8 B4 s
  807. ; Maximum allowed size for uploaded files., J- p  g9 c8 l
  808. ; http://php.net/upload-max-filesize
    8 m2 ?7 i# t: x. C% D# {( P
  809. upload_max_filesize = 50M
    : D+ B1 H" r! X

  810. & N: I; q) [' n" o' f2 b) @
  811. ; Maximum number of files that can be uploaded via a single request7 r$ A; X: t: _% r) k
  812. max_file_uploads = 20
    8 Q1 W9 [. z" }8 |4 U$ M! l

  813. : e; C9 K% S/ e) f* P5 Q, p" }
  814. ;;;;;;;;;;;;;;;;;;1 E1 U5 S) M4 }3 h3 [) K( ?( m% C3 T
  815. ; Fopen wrappers ;% o. N+ ~" E" v" G; ~/ W& |* t
  816. ;;;;;;;;;;;;;;;;;;
    6 v! C( m" a' z
  817.   A) F# N. o( q: g/ I$ S  F  n
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 u' o: N8 E8 r7 l
  819. ; http://php.net/allow-url-fopen5 v4 l! @% N* R0 |
  820. allow_url_fopen = On
    5 i5 M/ B: s, J! b! Y
  821. - {+ o' d% a8 \3 n
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 p$ M& b( b# l- s  e3 c! A$ H. S" C
  823. ; http://php.net/allow-url-include4 q/ w7 T$ S! E6 S# g
  824. allow_url_include = Off- N; V! o$ U- G0 s4 A
  825. 5 e/ c+ }' r% A) l4 p4 [& V
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ; k" G' G# f3 \% F& s
  827. ; for this is empty.3 s0 ~- I! c1 d$ ^3 l/ e
  828. ; http://php.net/from" s  K6 F+ Q* G) G3 c5 a5 N
  829. ;from="john@doe.com"6 R+ G  s! x( p* }& M

  830. # w7 W5 f; M9 [  {/ S2 L/ t# `
  831. ; Define the User-Agent string. PHP's default setting for this is empty.; ]2 J. ~3 `. `, f) e4 y9 |! t
  832. ; http://php.net/user-agent
    ( r0 Y# R5 U) ^4 l2 g; K/ x' b, O
  833. ;user_agent="PHP"2 v' {( U6 E: w) @' V3 h

  834. ' ^& y, _8 \3 t' [' b
  835. ; Default timeout for socket based streams (seconds)- w1 L) C3 l% X  k
  836. ; http://php.net/default-socket-timeout
    " R$ R8 v8 r" n$ J4 D9 ^
  837. default_socket_timeout = 60
    8 a* }& k  q9 D7 B# `# V( n

  838. 9 N/ g! p+ k/ @5 A; O8 n; E6 Y; c% Y
  839. ; If your scripts have to deal with files from Macintosh systems,; c, T7 L; c- w2 `7 l0 \- q
  840. ; or you are running on a Mac and need to deal with files from% B8 T* W9 `. }& L
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 [: N$ p2 x8 v+ f9 o* F
  842. ; automatically detect the EOL character in those files so that, k3 E" s) o7 E6 O  P* y, s
  843. ; fgets() and file() will work regardless of the source of the file.
    # ~% f  N! q8 o' ^& ^+ V7 R
  844. ; http://php.net/auto-detect-line-endings
    2 k1 i" B: ?6 U+ Y8 [
  845. ;auto_detect_line_endings = Off1 b% I+ h3 W* ]9 i  ^

  846. 2 v& _% H9 G: ^! i
  847. ;;;;;;;;;;;;;;;;;;;;;;; v1 Q7 {3 B  l& w5 s
  848. ; Dynamic Extensions ;5 ~# x* I+ {; \" a: m; g
  849. ;;;;;;;;;;;;;;;;;;;;;;0 e( C8 N) p' G
  850. & Y) P) ]: v1 `1 z
  851. ; If you wish to have an extension loaded automatically, use the following# ]/ f  C9 `( }4 E
  852. ; syntax:5 b, e3 |& C# k8 C+ o: A. m6 U
  853. ;; N$ [* D1 j/ {
  854. ;   extension=modulename.extension
    : j* Q, P0 f( k6 i; R$ o
  855. ;9 y* e" h1 {. R7 `/ l
  856. ; For example, on Windows:
    ; o( e3 m# f( S. V
  857. ;
    + |; G. {" {% U/ w: v
  858. ;   extension=msql.dll
    3 @# N$ l" }/ z4 ~2 H* h, b
  859. ;/ H8 a* g( s# j- b9 d) N
  860. ; ... or under UNIX:
    % }2 l- B' ?" m9 m  N; J
  861. ;
    . V2 X4 [: |; H9 g( E$ `
  862. ;   extension=msql.so/ X4 J. O. [6 d( W% V
  863. ;+ ?; Z* k8 j( @8 z/ F) x
  864. ; ... or with a path:7 ?7 u. a! s8 w5 z  m6 ~4 n
  865. ;
    4 h& G) S) Z/ x- r. v3 y& b" X
  866. ;   extension=/path/to/extension/msql.so
    & V6 H# K" l9 i: @% |* z* K! `/ Z
  867. ;0 \, U2 @( R3 h/ X( T4 J0 }$ ?! q! @4 u
  868. ; If you only provide the name of the extension, PHP will look for it in its5 m! Y2 s- m) [. w3 a; e/ L# r9 U
  869. ; default extension directory.
    : o% p) v/ n9 [' Z2 e# g
  870. ;  P. H! G5 `! M% A3 ]& p8 n6 ?
  871. ; Windows Extensions2 z4 B- U% |5 V  Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    2 `* N& B; m7 r0 |2 E
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)" A/ a+ u( z3 ^! r
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    " _$ o' b9 s+ j  R& }) }
  875. ; Be sure to appropriately set the extension_dir directive.  S5 Y) k' x9 u3 \
  876. ;
    . a7 Y) G( L, B7 ]4 S1 `; Z
  877. ;extension=php_bz2.dll
    / p( ]: X4 J- {6 C- o  q" z8 `
  878. ;extension=php_curl.dll# K' b( i/ p  O, e; T( t- e: I) O
  879. ;extension=php_fileinfo.dll2 [3 q8 U2 e: [8 Z
  880. ;extension=php_ftp.dll) S6 j' z2 g# ]2 j
  881. ;extension=php_gd2.dll" Y( c4 |4 B' D
  882. ;extension=php_gettext.dll
    * [. S2 Q2 D: w1 S4 {0 K; Q7 }
  883. ;extension=php_gmp.dll
    7 }9 Z9 b; H; I$ ^1 P
  884. ;extension=php_intl.dll
    3 R) M- e: o$ K+ X% x0 x
  885. ;extension=php_imap.dll
    ' p4 ~1 t  ?3 t. K( l" f1 \
  886. ;extension=php_interbase.dll
    7 d0 ?4 o1 `- _
  887. ;extension=php_ldap.dll7 g; a, y3 F  h& |5 e6 f  b
  888. ;extension=php_mbstring.dll+ B1 _. J8 b9 v# c# u
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    , M' s' h; s  l% P$ j) Z7 O0 W" h
  890. ;extension=php_mysqli.dll+ e$ E+ n7 d" q5 k8 _9 C9 t
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    % |' T( R( k  x2 K8 ?( g" I
  892. ;extension=php_openssl.dll
    : `' \7 v' I# B# c9 B( y
  893. ;extension=php_pdo_firebird.dll
    * s+ @. `$ w; c7 A% i; p
  894. ;extension=php_pdo_mysql.dll
    8 |: e) y$ B1 P5 s5 G
  895. ;extension=php_pdo_oci.dll' Y- s8 j8 m$ s. x% d. ^1 y! v
  896. ;extension=php_pdo_odbc.dll/ }! j  E4 l1 {. N- q1 `
  897. ;extension=php_pdo_pgsql.dll$ o- y: F* u* J# L+ Q* N4 I; B) Y/ I
  898. ;extension=php_pdo_sqlite.dll+ E$ {. U' y+ K& E9 J6 s+ f8 H
  899. ;extension=php_pgsql.dll
    ; i+ y  ^# R5 N: [3 p; w8 t0 l& h& J
  900. ;extension=php_shmop.dll
    % e3 x% {- U" r! T( F

  901. ! Y2 t: k- D1 k) O7 E
  902. ; The MIBS data available in the PHP distribution must be installed.' E" S0 ]; m5 s& D. g/ I8 Y
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    6 K- G. @" P4 a' \. H6 j
  904. ;extension=php_snmp.dll" k8 N+ Z% W, h* }4 c7 {
  905. 6 b$ y" y" B3 n1 y
  906. ;extension=php_soap.dll
    ) x: v$ X$ p+ d, p2 v& v+ y6 b
  907. ;extension=php_sockets.dll8 w6 q- R. ~9 p
  908. ;extension=php_sqlite3.dll
    : \+ ]/ L/ g9 l) l( Y) ~
  909. ;extension=php_tidy.dll
    # \9 h. |- ?* {# i9 K- ^7 m
  910. ;extension=php_xmlrpc.dll
    , e. ?1 x. m% W- X- r
  911. ;extension=php_xsl.dll; ^7 c) T  O" [/ B) o& }. y9 X

  912. % i8 P. s3 s% y3 J5 X
  913. ;;;;;;;;;;;;;;;;;;;0 C' `( b, g8 k7 ~) T9 D( r
  914. ; Module Settings ;
    8 r+ V$ f$ E" M
  915. ;;;;;;;;;;;;;;;;;;;+ U6 B* M, S! C- `7 v  M

  916. 1 \, J: }4 d8 G# m& |2 v; r
  917. [CLI Server]
    0 w/ t* x7 X* }7 ?; H+ \+ _. W
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ u7 p8 H9 `, j6 l- O
  919. cli_server.color = On
    1 V, v1 v5 L! @
  920. ( n. D& u  D* y' a. K/ A5 c$ m
  921. [Date]
    ( F5 E/ m, J1 R6 R( y
  922. ; Defines the default timezone used by the date functions  _% |$ c) H, l" Y) ?/ o
  923. ; http://php.net/date.timezone& d+ L0 t0 Z" V3 b
  924. date.timezone = PRC  s" c! s0 e: r, d; g0 V' _. w7 F

  925. 9 G0 r! I2 s" r, m2 R0 c
  926. ; http://php.net/date.default-latitude3 K. n+ Y1 p) v6 Q/ w
  927. ;date.default_latitude = 31.7667
    * h- e! ]/ s* ~, ~4 v
  928. $ ?3 r3 G" `' z) V" q
  929. ; http://php.net/date.default-longitude
    % B$ n$ m- A- y0 P
  930. ;date.default_longitude = 35.2333
    8 ?& j& W7 N! w6 x. D9 M' z
  931. 2 x3 [+ Y& V4 q9 Y2 V( v
  932. ; http://php.net/date.sunrise-zenith5 w4 K2 o3 f+ i  s- D& B; M
  933. ;date.sunrise_zenith = 90.583333
    / K: P4 i2 O9 _8 l
  934. . v% ~/ E# h0 v' F% Z0 o1 @( Z( u
  935. ; http://php.net/date.sunset-zenith
    1 Z0 {* b% J9 h( G0 f
  936. ;date.sunset_zenith = 90.583333
    4 c6 Z4 z2 v8 p2 b" h- f5 p

  937. ; G8 c$ `* r% {, _; V
  938. [filter]* d  i: E2 P/ `9 O, }+ S9 v5 M
  939. ; http://php.net/filter.default; t' K- h. w$ L
  940. ;filter.default = unsafe_raw
    - G/ S7 c* T/ h+ ]' r2 L

  941. 6 E7 m% g# x9 R. N+ A
  942. ; http://php.net/filter.default-flags& s3 {6 X, V" [  f( g7 H/ E
  943. ;filter.default_flags =
    : E& E% `8 @% {$ o( i( L0 J  y# V

  944. 8 S2 l* L/ T$ F( d
  945. [iconv]
    7 t7 z  o$ c- ?7 n+ M9 b! }
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.% d+ r7 t' x) `/ \3 V6 D1 Q
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.- G; |9 Q  Z/ |' N* o
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" Z( g; |& a% q9 C/ j4 }5 u3 C
  949. ;iconv.input_encoding =
    + Z" f" W6 K# P3 S$ k$ e- [5 m7 f
  950. * \# l5 e& I' e6 _
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.) h  ?! ?- m3 ?/ ^5 F
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., ]# F7 u1 W( U3 g* h& q
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 v- g2 h: f% \9 _
  954. ;iconv.internal_encoding =
    ; B. n+ f  e2 S, a( I! N5 {% [

  955. 1 Q0 ]' w# k9 v  h5 K
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 b4 }6 C/ U4 I% d6 h
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    . P, u3 r* ]' }# l3 m" k: s- o
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      V/ n. L! m+ r3 s8 `: a# v6 _
  959. ; To use an output encoding conversion, iconv's output handler must be set
    % B! y& W; G. U- p; V; T7 _, d; `6 Y
  960. ; otherwise output encoding conversion cannot be performed.
    & A# l6 w" `/ [7 Q9 n4 b; A: Z# i  s# k
  961. ;iconv.output_encoding =2 g- f) G3 _( ^/ A9 l2 x5 C
  962. 4 V+ G8 W0 q' K6 r
  963. [intl]
    . b, a4 F4 i0 S- s7 f
  964. ;intl.default_locale =+ c: H, i8 R* f9 b) g- k- j
  965. ; This directive allows you to produce PHP errors when some error
    / B( R! d3 e8 \5 b9 h4 O) m
  966. ; happens within intl functions. The value is the level of the error produced.
    ) }+ f2 Z; e  z7 s
  967. ; Default is 0, which does not produce any errors.2 F2 t4 d1 t- _2 b; z
  968. ;intl.error_level = E_WARNING  B6 C, I1 v1 o
  969. ;intl.use_exceptions = 0
    + I/ d# Y" x  b0 d  r

  970. $ q! S, B! I' Q5 E
  971. [sqlite3]
    & r. m2 W- w  ?, \! z3 d
  972. ;sqlite3.extension_dir =
    * R$ F2 n- C3 B3 X# _% Q

  973. $ y# J/ ]/ u  d! U# S
  974. [Pcre]
    + j8 B# R3 V) Y! E4 a
  975. ;PCRE library backtracking limit.
      B6 R0 }; V4 [6 @/ ^  G) L0 j
  976. ; http://php.net/pcre.backtrack-limit: }5 u' J& [, F$ G& T
  977. ;pcre.backtrack_limit=100000
    4 _5 C. H4 ~3 p9 A7 W4 z% x" U: G
  978. ! N* v0 z* O6 T- o/ ~
  979. ;PCRE library recursion limit." @0 K* B" X1 L+ k# x5 w  |. y+ o6 q/ K3 A
  980. ;Please note that if you set this value to a high number you may consume all
    % L- x. x- m1 |
  981. ;the available process stack and eventually crash PHP (due to reaching the+ X+ b7 q& p7 M# v; F8 @4 ]- ^3 ?$ k
  982. ;stack size limit imposed by the Operating System).
    : j( E8 y7 e$ e( C3 o9 e; q5 D
  983. ; http://php.net/pcre.recursion-limit, @. P- G2 r% o/ U$ R' V
  984. ;pcre.recursion_limit=100000, c: Z! \& y! V+ R7 O8 |, u$ k

  985. 6 C+ B! V0 c! g
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    0 q, c4 |8 v: J$ l- o) R
  987. ;library to be compiled with JIT support.5 L' m* p2 S( [. r+ v' l4 A
  988. ;pcre.jit=1
    ! m  x7 U( e& j0 F

  989. ; P& o& {# N) f: @. ~# P
  990. [Pdo]) \  k4 U9 N8 B0 j
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"$ b* a* \: q4 q/ ^$ z
  992. ; http://php.net/pdo-odbc.connection-pooling8 O+ `$ R0 V1 i' v2 v
  993. ;pdo_odbc.connection_pooling=strict7 ?0 Q2 H) u) v4 o- L5 y
  994. 3 M! x; l+ ?: R3 q8 G" H; J+ L
  995. ;pdo_odbc.db2_instance_name0 h" a/ b$ b  X- U1 C3 l
  996. + u, {) y  X9 d$ o/ u8 `
  997. [Pdo_mysql]7 m; @9 L* r6 D
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ a% R, X- y9 b* ^2 G& V, I
  999. ; http://php.net/pdo_mysql.cache_size
    2 N# ~- T6 L+ A" a( u9 h0 O. ~
  1000. pdo_mysql.cache_size = 2000
    + i3 r2 |0 f8 b  t4 J
  1001. 9 {, u9 F1 @2 N" {
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 ~8 T5 z3 y8 N# j9 H3 f
  1003. ; MySQL defaults.9 ?9 N6 e% u4 M# M% v
  1004. ; http://php.net/pdo_mysql.default-socket
    ' h6 d( g4 N9 Y! Z" V) n) P
  1005. pdo_mysql.default_socket=
    # T( |" g2 ]+ Y, n. F5 H# O) c

  1006. % g/ t% ~- a8 [' W- I
  1007. [Phar]! p/ m: r+ R! f% b9 ?
  1008. ; http://php.net/phar.readonly
    , g* v# `. h" I! {
  1009. ;phar.readonly = On
    1 R$ i, R* b* |9 \" ~  ]! {& y5 o
  1010. : V* A' e" G. G4 N" ~$ G
  1011. ; http://php.net/phar.require-hash1 M2 _+ D) D5 f' h+ u4 P3 I
  1012. ;phar.require_hash = On; H, \0 J' v5 ?: V- ?8 V- Z
  1013. 3 P- q# J. ?* l
  1014. ;phar.cache_list =
    8 D3 H; o" E7 i7 I$ K" q

  1015. # Q9 X8 A- y$ B) U, W& ]4 }
  1016. [mail function]9 F2 X4 K, b% n' w2 R8 [) {
  1017. ; For Win32 only.
    ! H3 H. g! g$ d+ ^: p6 d
  1018. ; http://php.net/smtp' ^* l5 d- f, X  C- ]- B6 T
  1019. SMTP = localhost
    $ ^& ~; K& c( ~4 w% e+ X3 H
  1020. ; http://php.net/smtp-port( H+ C4 I  I$ o% a& [2 n6 ~
  1021. smtp_port = 255 D. H0 l- b' ?$ u9 }, {

  1022. 2 o& y+ o" b& Z1 x9 e$ x7 Y3 W# J
  1023. ; For Win32 only.! W& K+ ^. q; K: a0 c
  1024. ; http://php.net/sendmail-from$ i( c5 C0 e9 d! {1 c) ?
  1025. ;sendmail_from = me@example.com
    $ Q6 m) ~0 n/ r: s/ _
  1026. ) o# Y* X; a1 w5 z0 T
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    + L" U& t: U+ A* C( J# W  v
  1028. ; http://php.net/sendmail-path
    . r- ~! I: j4 Y6 E
  1029. sendmail_path = /usr/sbin/sendmail -t -i+ u. Y4 s/ K1 ^' K7 L$ j
  1030.   R+ D! E+ w7 s$ G  k+ l# X
  1031. ; Force the addition of the specified parameters to be passed as extra parameters) i; I) a. p8 a  {
  1032. ; to the sendmail binary. These parameters will always replace the value of! t% m! @# v0 T1 o. n% _( X
  1033. ; the 5th parameter to mail().( w/ c& O# ]- h$ ~. m7 h* q6 ~
  1034. ;mail.force_extra_parameters =# O; o2 a" }9 z' u9 U0 m; _7 @/ |" X% J

  1035. / {1 l" M7 ^9 }: c& I; [$ z
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ F8 T* t" G, Y! l
  1037. mail.add_x_header = On3 C' ]; o* ]8 J: y' h2 A% H' |
  1038. * f4 O, l1 I0 o+ _* ~" A
  1039. ; The path to a log file that will log all mail() calls. Log entries include- u1 z9 z& z# i' u) e6 J5 a# \
  1040. ; the full path of the script, line number, To address and headers.
    : c# B/ `+ j9 L; P  k2 a$ P
  1041. ;mail.log =# |; S+ W2 z/ h" ^# q* n- A
  1042. ; Log mail to syslog (Event Log on Windows).
    - y: x4 C( W1 k& y' s3 \
  1043. ;mail.log = syslog- ^. h7 _+ H6 ~
  1044. ; R% W5 o- K) H  v
  1045. [SQL], ~6 ~2 t4 O; R3 [# w: s+ ~" C
  1046. ; http://php.net/sql.safe-mode/ M: d+ S' X: ?/ q* q: o( j% \
  1047. sql.safe_mode = Off: q) @1 q6 N( Q; k
  1048. 2 O0 R7 I2 m& _5 A, N
  1049. [ODBC]
    , [; D7 n9 N! }" W+ O) z" V& s
  1050. ; http://php.net/odbc.default-db: q, |' `1 s9 I# g
  1051. ;odbc.default_db    =  Not yet implemented1 ?; b1 X& @, ]
  1052. ; x$ O) L* @1 \6 \5 D, ]1 q& @
  1053. ; http://php.net/odbc.default-user- f& E) P- z& {% S8 T& B, G# M
  1054. ;odbc.default_user  =  Not yet implemented( i: M' X' c, @' O8 W

  1055. , L; [, c4 W% S$ d4 W- B: _
  1056. ; http://php.net/odbc.default-pw  o% U. p) r8 @+ x: ~
  1057. ;odbc.default_pw    =  Not yet implemented
    ; ~7 p8 j0 c3 [% z+ z

  1058. 1 o( G  D2 q9 Q
  1059. ; Controls the ODBC cursor model.* _3 L. Z6 i' Z- O+ I
  1060. ; Default: SQL_CURSOR_STATIC (default).
    $ g- T' u, e3 x
  1061. ;odbc.default_cursortype& @/ @  H! z0 ^% }% f* f, a* Y

  1062. % c0 }& |# M- _9 c7 v! @
  1063. ; Allow or prevent persistent links.
    ! u" \4 v7 J1 G% r9 A$ X7 a
  1064. ; http://php.net/odbc.allow-persistent
    7 l. U" J# x0 c- I2 B
  1065. odbc.allow_persistent = On- I" P  l" J0 Q6 U3 K4 C! W( v

  1066. ' x, Y  U8 r$ Y  k% [% y& @
  1067. ; Check that a connection is still valid before reuse.
    4 g. S2 ]5 M0 K9 b2 E$ l
  1068. ; http://php.net/odbc.check-persistent
    6 n! S+ Y4 b- {# V. Q$ J1 k
  1069. odbc.check_persistent = On
    $ b$ |: I2 z$ R% l; f

  1070. % L$ ^; |  H7 E* I" I/ [
  1071. ; Maximum number of persistent links.  -1 means no limit.
    6 r& {8 ^$ L! m" [% {, w) J+ _
  1072. ; http://php.net/odbc.max-persistent
    2 L4 L% W; T* M
  1073. odbc.max_persistent = -1. u' a( {) c. l$ s
  1074. 1 g7 R' G4 _% ~; |
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., D& E; L( C( Z$ ~
  1076. ; http://php.net/odbc.max-links6 i0 T% g* I! L7 D( |; t: R4 S
  1077. odbc.max_links = -1; O& w* {8 d) K- E) ]8 S+ w

  1078. 8 |1 Q1 D3 T1 U% x7 ]# W6 V4 O
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    0 G/ g* X9 |+ c% Z# J" R+ \( `
  1080. ; passthru.
    3 T9 ~2 n2 x' b6 d
  1081. ; http://php.net/odbc.defaultlrl
    2 B! ~6 Z% y: j% z& ]
  1082. odbc.defaultlrl = 4096
    # q; }) S7 v& m5 }! ~/ H/ K

  1083. 9 I4 z, c* |) j! N( H- s& J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 ]9 b8 _& |3 ?  G* e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + b! ]0 |, P7 w; `9 S7 X
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode( [4 r: s0 u8 U6 q( [% m
  1087. ; http://php.net/odbc.defaultbinmode9 t3 z  l0 x" |5 C% b: I4 @
  1088. odbc.defaultbinmode = 17 r7 @$ P$ ~5 D, i' r! ]  G5 \

  1089. 9 B7 A2 o  h$ ]) y8 e- F  N, m0 n
  1090. ;birdstep.max_links = -12 G$ {8 R- U) z8 [5 ^) \) t
  1091. 2 V8 U1 P4 ^4 M0 T, ?; o
  1092. [Interbase]
    9 H6 _! S# q3 w7 N3 o* U
  1093. ; Allow or prevent persistent links.
    5 t7 e( x6 E' O) M1 \6 L6 r, ?9 _
  1094. ibase.allow_persistent = 1
    ( y% B$ D: i! k3 k4 x

  1095. & m) q3 P5 n; k: |$ {
  1096. ; Maximum number of persistent links.  -1 means no limit.3 t$ [7 N: h5 o, q, s
  1097. ibase.max_persistent = -1" o) ]( r) U! x1 M
  1098. " h. d+ g" ]3 l- L
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : o" q, I1 G- _6 |4 }
  1100. ibase.max_links = -16 z$ ?/ D3 r' \5 K2 j
  1101. 8 Z1 Y. v; i$ @( C- G1 f8 d/ x
  1102. ; Default database name for ibase_connect().
    7 R9 c/ _0 V- w% O/ {
  1103. ;ibase.default_db =
    9 S* }$ o0 m. B5 J% h3 p+ W7 }

  1104. 5 u% s' m9 {# |1 [$ A! l
  1105. ; Default username for ibase_connect()." v1 q/ x4 C& ?9 X' x3 x; X5 Q; h/ a
  1106. ;ibase.default_user =
    + z, N* I3 ~% ]

  1107. ; m( [0 L* V# b3 \/ L
  1108. ; Default password for ibase_connect().8 ^  @9 D- o" n! w" B3 k6 t
  1109. ;ibase.default_password =
      P' a- Y% {5 P, i& Z! L! ^

  1110. ; p% |/ O6 d: N( n# m0 ?
  1111. ; Default charset for ibase_connect().# d+ j" D  C$ u4 C; p- f
  1112. ;ibase.default_charset =
    * h% w* [8 i: [* L
  1113. * |$ v2 p: R4 P; f( z# I! `
  1114. ; Default timestamp format.
    - T' S" J; {' B4 J9 S
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    # r4 g8 x6 m* e5 F0 x+ v

  1116. ; B4 {' {' S% c1 I: e6 s2 v6 A! R
  1117. ; Default date format.
    $ ?# S1 R, I1 k# `/ h& t
  1118. ibase.dateformat = "%Y-%m-%d", _1 G9 Y& i: a) G
  1119. 6 d; L3 X; e! r
  1120. ; Default time format.% v4 I& Q# ?5 e( Y$ b
  1121. ibase.timeformat = "%H:%M:%S"
    . Y! o9 `" c* Q. v& ?, T

  1122. - w) x! J  K+ u# ~) ~' P' w9 v/ X
  1123. [MySQLi]* @& n5 Y0 M6 K% Z

  1124. " I$ i$ W. W1 g- d8 z2 l( f
  1125. ; Maximum number of persistent links.  -1 means no limit.
    3 q9 u1 x5 x8 D9 B
  1126. ; http://php.net/mysqli.max-persistent. U6 g* ^. R. W3 u- |4 U& }# @
  1127. mysqli.max_persistent = -1
    . f9 J1 U) h7 t. p/ }
  1128. 7 B: V" U0 t2 A1 [) f1 w  u
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) B( }; T' t# u: ^% _; t4 E9 o' M
  1130. ; http://php.net/mysqli.allow_local_infile
    ; L9 x4 x* |$ Z
  1131. ;mysqli.allow_local_infile = On
    3 k$ Q, [$ m- |* k- u! Z7 R

  1132. 6 F# x3 ^" b& z4 o/ F# [1 M  W
  1133. ; Allow or prevent persistent links.
    2 h6 G% e  n( B  b
  1134. ; http://php.net/mysqli.allow-persistent8 y% B+ g, {! {+ g
  1135. mysqli.allow_persistent = On4 `% }; G0 @2 R" u4 M8 ]
  1136. * n5 I$ {) c" U' J$ d) Q: Q
  1137. ; Maximum number of links.  -1 means no limit.8 _. A0 K+ y- P1 ~5 Q: u
  1138. ; http://php.net/mysqli.max-links
    9 Q( S4 D2 z0 }2 T2 `( f* F% N- \
  1139. mysqli.max_links = -1
    8 I% f% D. R( W

  1140. 2 b+ m$ B$ s: o1 E
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 m0 h! _3 f: C: V7 D  Z6 l
  1142. ; http://php.net/mysqli.cache_size
    " j5 k* A3 G" ]1 B: X
  1143. mysqli.cache_size = 2000* H: ?8 C' z3 y  v1 C5 d8 w

  1144. : n+ n! [0 v7 x( [
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! U. X1 j1 q8 e! v  N5 p
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 Q, q  C& H8 ]# @" ^* O# B
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " ?6 X, m2 }* Z! [/ {* \$ a
  1148. ; at MYSQL_PORT." P: [' O4 s+ y# K# L0 q  A& Y
  1149. ; http://php.net/mysqli.default-port
    / k8 E& R- J' m' Y. j, e5 K
  1150. mysqli.default_port = 3306( g' r4 O! u6 [% \

  1151.   G0 l. y( R. W
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in# Q! b) j+ {) M: j
  1153. ; MySQL defaults.4 x, z3 U4 m0 v9 x
  1154. ; http://php.net/mysqli.default-socket
    # V6 f0 `) q/ z; |+ \; U
  1155. mysqli.default_socket =  j) H6 J! O0 ^, v4 N
  1156. 9 H# ]) C, n; e3 E$ z( Y6 j
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ) d' }3 [  ]* [+ z4 J
  1158. ; http://php.net/mysqli.default-host& a5 Q& l+ ]* N$ u1 S% E
  1159. mysqli.default_host =
    " H3 x: m5 `6 c

  1160. $ u: B. N% r1 a5 [' l
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)./ b! ~( Q; y) o: V/ R
  1162. ; http://php.net/mysqli.default-user0 W! O' M+ Q( D# t: M* t* Z  G
  1163. mysqli.default_user =
    - H) O3 n9 m* E; p. S7 J0 \

  1164. ' ^1 d, R" g4 m" f' {! S
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. ]0 F- D$ D2 R) a3 S, \. d
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.! v) |2 L5 h* O# Y* U
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")# C0 f; e8 z# J8 I: V6 b. O7 y
  1168. ; and reveal this password!  And of course, any users with read access to this
    7 C! I2 p6 I/ E' m) d
  1169. ; file will be able to reveal the password as well.
    1 J" s" i6 b* m$ _6 L1 a! u
  1170. ; http://php.net/mysqli.default-pw
    8 N; |' Q0 V$ Y8 m! x% r; S9 X
  1171. mysqli.default_pw =  O3 p1 J4 p- a$ h- r9 j
  1172. / v6 |3 _  V. z% |
  1173. ; Allow or prevent reconnect
    ( N3 ?( E5 E8 g. s: T( p7 D
  1174. mysqli.reconnect = Off& N% i! @1 L" f9 j

  1175. 3 {1 @- l0 b# w" V- X
  1176. [mysqlnd]# v/ g9 g0 L& G- R8 M  Q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : A5 z3 Z' ]& Y# N9 [2 D
  1178. ; used to tune and monitor MySQL operations.
      O- u; z9 P* l, g* _: l
  1179. ; http://php.net/mysqlnd.collect_statistics3 e$ y2 a& w7 ~7 a( A" ]  S
  1180. mysqlnd.collect_statistics = On
    & |" I& R3 e, Q, _! ]8 ]$ W
  1181. 7 t0 g8 e  ]& |3 Y7 Y
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be2 }2 \: U, L2 {9 |
  1183. ; used to tune and monitor MySQL operations.' @" p' n% S% _9 U* s* N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 n8 f5 S- f6 x$ z2 X- Y
  1185. mysqlnd.collect_memory_statistics = Off% {' K) Q, `* Y, m4 _2 ?
  1186. & g: ^! a. T' Z* q" ]1 O/ B
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ( i( g8 ~% t9 J0 \
  1188. ; file.& |% k! o0 ?* @4 j4 D. _9 _7 c* J
  1189. ; http://php.net/mysqlnd.debug
    ( E6 w) z8 X) B
  1190. ;mysqlnd.debug =+ P; P. Q3 I4 ^" J; W( Y

  1191. . G6 B) n7 ~9 S( s6 F
  1192. ; Defines which queries will be logged.  R+ o6 r9 a! F" [8 K
  1193. ; http://php.net/mysqlnd.log_mask
    7 p( h% K, I+ J% Q$ U! B' r% m
  1194. ;mysqlnd.log_mask = 0
    ( J7 U% `2 g4 W; H& v$ R. D9 V$ E

  1195. $ [2 S$ t4 A3 W9 l8 ~! @7 `) T! q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    . p6 Z5 `8 E8 b* D
  1197. ; http://php.net/mysqlnd.mempool_default_size  O2 C/ h6 ]# D  `% _1 ^% D, g
  1198. ;mysqlnd.mempool_default_size = 16000
    # Z* }, L' Z% D$ i. `

  1199. $ M. }, h/ ^, I4 o
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.$ z) }$ T& h5 ^# J5 J' r2 |# q7 b
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size3 L" I  B& Y, e( a  k5 i
  1202. ;mysqlnd.net_cmd_buffer_size = 2048/ @% E+ v; l2 F  M4 N; b6 X
  1203. 2 z* @' {0 d# D5 @3 X: D7 C, y; U8 s4 g
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! p* D9 u5 r5 U: G
  1205. ; bytes.
    , Z" b3 A8 ?4 ~6 M. \
  1206. ; http://php.net/mysqlnd.net_read_buffer_size4 N$ y8 I3 a( c, D) r
  1207. ;mysqlnd.net_read_buffer_size = 327680 Z# C0 O2 v# L" n6 _
  1208. & v) E+ W: C5 n6 p
  1209. ; Timeout for network requests in seconds.
    4 [; E8 w& p' Z
  1210. ; http://php.net/mysqlnd.net_read_timeout' @1 w) j* l8 P
  1211. ;mysqlnd.net_read_timeout = 31536000
    + m! ]- w( y# o0 z0 R

  1212. + m# h5 p: h. g
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : H9 M! Y9 t! q0 c1 k! w" d$ t7 `7 `' f
  1214. ; key.1 B5 D3 W! _9 }) }" Q( x
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 h& ^+ U$ E9 s8 y2 r0 _" J
  1216. ;mysqlnd.sha256_server_public_key =
    6 ^5 K9 a$ |+ R- z0 A) D/ k- j

  1217. $ N; y3 q  H3 m; H0 e# ]
  1218. [OCI8]" h; _( Z, o4 @# _' C' c' f: [9 l
  1219.   L- W; h8 Y% W
  1220. ; Connection: Enables privileged connections using external
    - D1 m" S3 t+ n
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA), a3 _+ `( B, n. n: o. T+ U, t
  1222. ; http://php.net/oci8.privileged-connect* W- p8 ^! z/ j6 w
  1223. ;oci8.privileged_connect = Off
    + ~' f, l+ e: {$ G0 O% m8 q

  1224. 0 |9 \$ M+ W  \
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    5 O8 ~% m2 h5 r9 m( `' K
  1226. ; process. Using -1 means no limit.+ b: o" d% q/ P
  1227. ; http://php.net/oci8.max-persistent
    5 |7 b0 w- [) M
  1228. ;oci8.max_persistent = -1
    9 r  S) T2 [3 J! F. Z5 I
  1229. + Q1 I: y  B* v7 O9 a2 }
  1230. ; Connection: The maximum number of seconds a process is allowed to  y5 h' T2 k$ B
  1231. ; maintain an idle persistent connection. Using -1 means idle
    , r: v; v( x% P& Y$ ?/ p) }
  1232. ; persistent connections will be maintained forever.
    $ E' E$ E) M) f6 N, ?2 v
  1233. ; http://php.net/oci8.persistent-timeout  j2 d. F( v# a' ~
  1234. ;oci8.persistent_timeout = -1
      g: e" _( y5 X% ]4 y4 {
  1235. . ], a, D4 [5 j: V
  1236. ; Connection: The number of seconds that must pass before issuing a2 s1 H# V. S. m, n
  1237. ; ping during oci_pconnect() to check the connection validity. When: Z; Z" q+ C2 r  w6 \; H  T: X7 W
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 c) ?$ w! p1 d5 x& |6 Z# b
  1239. ; pings completely.
    ( s: s" V3 M7 o/ H0 H+ E
  1240. ; http://php.net/oci8.ping-interval% X" Y& q. s& E8 O, P& q7 \$ J* f' J
  1241. ;oci8.ping_interval = 604 i0 I; G6 v! J( W+ e$ T' x# [

  1242. $ m9 N$ M: r* o2 C
  1243. ; Connection: Set this to a user chosen connection class to be used
    ! Y  A) S0 h1 G9 V2 f
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ( d$ |; R0 K" T6 n
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to# S5 B6 J+ D" ^& ~: k1 L
  1246. ; the same string for all web servers running the same application,4 [' o( i$ m6 P3 ^7 V
  1247. ; the database pool must be configured, and the connection string must3 l: _# `. y/ h3 Q$ _4 @4 P
  1248. ; specify to use a pooled server.. ?! j4 O: G% y/ r; R8 e& @
  1249. ;oci8.connection_class =
    ) y2 b# a9 `& l+ F0 b. S: R% ~

  1250. % n# d: b4 o# N! y  `2 S
  1251. ; High Availability: Using On lets PHP receive Fast Application8 l. W; G- @" r8 h$ g/ t, Y7 R
  1252. ; Notification (FAN) events generated when a database node fails. The
      T2 X) ^: U3 \! f
  1253. ; database must also be configured to post FAN events.! H( h( c" [1 s) B2 o
  1254. ;oci8.events = Off& U( e. ^/ T. O% _: l+ o/ ]

  1255. , @. M# p" m8 l% ^, Z% q, y
  1256. ; Tuning: This option enables statement caching, and specifies how
    8 A  X6 o1 e2 Z- S" n
  1257. ; many statements to cache. Using 0 disables statement caching.8 C0 j' e* m, f& ?
  1258. ; http://php.net/oci8.statement-cache-size
    5 q3 V, t# ~! v. x) M% K' w
  1259. ;oci8.statement_cache_size = 20
    ( z( P; P/ x  F: t2 S! w; A
  1260. # U) U  k7 ]6 r0 g
  1261. ; Tuning: Enables statement prefetching and sets the default number of8 R/ a& D$ t5 f3 d; [( ^/ T
  1262. ; rows that will be fetched automatically after statement execution.
    2 B6 u8 ^  t& S6 g. W
  1263. ; http://php.net/oci8.default-prefetch0 l, X6 r5 z* h+ H/ X# n
  1264. ;oci8.default_prefetch = 100$ W+ m6 F# }2 I( r- g, E
  1265. # O4 u2 t6 s; U: w, y
  1266. ; Compatibility. Using On means oci_close() will not close% Q7 s" m- ~' F; ?
  1267. ; oci_connect() and oci_new_connect() connections." W9 P% M+ {! j; z6 W
  1268. ; http://php.net/oci8.old-oci-close-semantics
    0 `2 h5 z! f1 Z) n  G
  1269. ;oci8.old_oci_close_semantics = Off) ~5 Q) x7 |" U, A& E  C/ o
  1270. 2 l7 g9 X1 {  K" L
  1271. [PostgreSQL]0 P- q/ G. _6 C! D* v4 S, f' Q
  1272. ; Allow or prevent persistent links.
    9 g8 G4 T. ]& N8 ?2 C3 A
  1273. ; http://php.net/pgsql.allow-persistent2 j( l$ g+ \5 y8 V  }4 F0 p. N
  1274. pgsql.allow_persistent = On
    4 a& H) N6 I: x
  1275. ( U- R4 ?' G* i9 }0 Q
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 q8 ~7 U- \; h+ S. P+ X8 j
  1277. ; Auto reset feature requires a little overheads.
    9 b; E; g9 P7 e2 j  N
  1278. ; http://php.net/pgsql.auto-reset-persistent* W  b0 T$ r3 G3 h, |7 ^
  1279. pgsql.auto_reset_persistent = Off
    3 n/ Q6 D8 |4 x1 ^. m3 p5 [9 _: \
  1280. ( d, G. B7 D7 J+ [; i
  1281. ; Maximum number of persistent links.  -1 means no limit.; W0 r, T4 C7 n; u. E* [7 f
  1282. ; http://php.net/pgsql.max-persistent; D9 I; {' K7 G! U' {9 T* a* g3 @
  1283. pgsql.max_persistent = -1
    * x( R" Z$ ]( ]" @/ G" w* u2 u
  1284. ( R# _% P' Z( F/ t/ j
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ S' @2 _, i$ R  P
  1286. ; http://php.net/pgsql.max-links; o+ p" ?+ {4 Q& `: N
  1287. pgsql.max_links = -1! j4 |* y( r+ G, F. z0 ^- f% x' \

  1288. 1 i' Q; l& B) h, w! s- P
  1289. ; Ignore PostgreSQL backends Notice message or not.
    3 f9 j% i5 l" y
  1290. ; Notice message logging require a little overheads.& r$ \4 ]% v; ^- k; r9 I
  1291. ; http://php.net/pgsql.ignore-notice
    ' n( U! Z0 D5 z1 S9 A3 i6 J$ Z/ |( i
  1292. pgsql.ignore_notice = 0- ^: z' p/ M: q5 f: Q
  1293. ! ]+ c. W" m6 a
  1294. ; Log PostgreSQL backends Notice message or not.
    % q  M1 ?; ~& Y( F3 v& p
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    0 F; x9 l6 R' [6 E" M: F4 z9 @3 V
  1296. ; http://php.net/pgsql.log-notice, T' P6 Y7 u: j9 ~, P
  1297. pgsql.log_notice = 0
    & T% H) j$ U+ x5 s1 T
  1298. 7 ]) y) S1 D- `8 |% }
  1299. [bcmath]5 o- C0 ~. f3 t: E/ A7 f
  1300. ; Number of decimal digits for all bcmath functions.
    4 s4 Q3 _: X* {6 t5 d- a
  1301. ; http://php.net/bcmath.scale" J' [& O( y1 V* q  Z" u- @- ?3 d
  1302. bcmath.scale = 0# `2 K: z6 i. r3 e- g3 \% B# k% o/ t
  1303. " u9 |$ M. I9 f/ L! c8 a
  1304. [browscap]
    # L6 o  M$ V# O* K* X' N
  1305. ; http://php.net/browscap( f% z% ^) A. ?; j! s
  1306. ;browscap = extra/browscap.ini
    ) ?4 `1 k, F) ], R1 a" b: Y

  1307. ; A: b6 n$ ]+ `% ]  S
  1308. [Session]
    " J" ?" A/ H1 `+ g) g) j  m
  1309. ; Handler used to store/retrieve data.
    & V; j/ y  u/ L3 o3 W* y
  1310. ; http://php.net/session.save-handler
    % Q! M/ e/ Z+ ~
  1311. session.save_handler = files
    0 U0 y3 a2 i% a; Y& X! B/ D
  1312. 0 _  t) ~9 X4 P5 j9 S
  1313. ; Argument passed to save_handler.  In the case of files, this is the path, J0 m1 x  s9 L
  1314. ; where data files are stored. Note: Windows users have to change this/ |. `: _+ K7 h
  1315. ; variable in order to use PHP's session functions.# ]9 w* _0 b/ I( S: I8 E) y, }; q
  1316. ;6 _: s5 q! {, l* F4 v
  1317. ; The path can be defined as:7 [& _7 g  i$ x( A; q' f
  1318. ;
    + b) ^% n: g( K
  1319. ;     session.save_path = "N;/path"
    0 \# ^7 A( F  o$ B
  1320. ;
    ; o. M6 x+ q3 `2 a3 s$ }+ m
  1321. ; where N is an integer.  Instead of storing all the session files in
    , h% ~2 V" r; g- e! r* f2 i9 k2 L
  1322. ; /path, what this will do is use subdirectories N-levels deep, and) R" O! O' J: R& O& \
  1323. ; store the session data in those directories.  This is useful if
    # g8 y4 O5 `* q$ \- ?, C
  1324. ; your OS has problems with many files in one directory, and is
    0 }3 K7 |3 w5 ~' C/ B* K# ?: T) i& D7 ]
  1325. ; a more efficient layout for servers that handle many sessions., i* B: F9 X! D7 h, O' `' U* @
  1326. ;3 B" U0 ~% w. _: u# y
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    2 I) o# f9 A% k
  1328. ;         You can use the script in the ext/session dir for that purpose.+ Z1 K. W8 S' v+ h
  1329. ; NOTE 2: See the section on garbage collection below if you choose to2 u' i& {  W4 L5 \
  1330. ;         use subdirectories for session storage
    - U# b6 @" i/ I  [. H" [* e7 L
  1331. ;8 Y. u7 H0 V; L+ t  }, `
  1332. ; The file storage module creates files using mode 600 by default.
    ( A! G% t- G; }: a" T* `7 _
  1333. ; You can change that by using
    # j; X" i% O1 I* D
  1334. ;5 O6 ?, b, k+ T
  1335. ;     session.save_path = "N;MODE;/path"
    / x% Z' }7 G" }. b
  1336. ;/ t2 v* J6 l1 \  m( M& b- O5 \
  1337. ; where MODE is the octal representation of the mode. Note that this
    3 i$ @6 w$ i5 k; y1 p
  1338. ; does not overwrite the process's umask." A) p2 H# I3 q% K
  1339. ; http://php.net/session.save-path7 Y# T. x; F4 K
  1340. ;session.save_path = "/tmp"' `8 U! E& y9 |

  1341. / A1 ^" Q$ c7 q6 I3 Y
  1342. ; Whether to use strict session mode.
    3 b$ o1 u0 X. v" \. w1 z# D) M
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    & X& G& J! J7 d5 G
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, W7 i' O" O# l! w( l6 |
  1345. ; applications from session fixation via session adoption vulnerability. It is
    . [  K$ f9 k+ o' n% ^! m  I
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 Z1 {  ]1 [  _7 P9 C
  1347. ; https://wiki.php.net/rfc/strict_sessions+ `, N( Q8 t5 P, B3 s' e
  1348. session.use_strict_mode = 0( N3 `) J1 j( M% O# o1 R. L& o# ^
  1349. 7 K8 A7 N3 O% k3 @6 X5 H
  1350. ; Whether to use cookies.  b' C2 G1 r- m: {' ?. k# k  z
  1351. ; http://php.net/session.use-cookies
    7 z+ N5 h( }2 n; h
  1352. session.use_cookies = 1% J3 K0 E) V" _" B/ r! [

  1353. 0 {# {( w  Q0 X" f2 @7 S1 c* R
  1354. ; http://php.net/session.cookie-secure
    ( Z8 T7 n9 X0 W! `) J  U
  1355. ;session.cookie_secure =; L0 t) |1 S/ W  ^1 I4 K

  1356. . a9 j; o/ E; ^9 R
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 E5 _: t1 C8 R: G3 L
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ j5 r8 F1 f$ r8 S
  1359. ; session hijacking when not specifying and managing your own session id. It is$ ^: _: z* u+ V. Y* i% `* v1 V
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.; Y4 d: Q  t  K3 |% y) w- I
  1361. ; http://php.net/session.use-only-cookies
    ! ^5 k: B& S- S: j" y, }, N
  1362. session.use_only_cookies = 1
    6 ?- ?) i- _$ \+ }2 X; z
  1363. 4 A, z2 q  D* g/ o
  1364. ; Name of the session (used as cookie name).$ w- j% Z' ?# x  z! \6 b, S8 a( e
  1365. ; http://php.net/session.name# f2 S# }3 I( G8 s* [# T9 r) `6 U; q. M3 k
  1366. session.name = PHPSESSID
    0 v; f! f# t7 u

  1367. * F4 n4 o8 x' h! Y1 c. u! \
  1368. ; Initialize session on request startup.% l' `8 N0 C& s1 N. P1 K
  1369. ; http://php.net/session.auto-start* S: H4 _4 C9 Z; J% P
  1370. session.auto_start = 0
    . ~6 d/ b. A5 j' W

  1371.   _$ G+ I5 ?6 r& p5 @7 L
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    % b0 V/ }$ _; A% J
  1373. ; http://php.net/session.cookie-lifetime7 |, v2 ?/ E( Q; u
  1374. session.cookie_lifetime = 0
    / x; h3 I2 E1 L/ B
  1375. & Q+ p0 R3 X( I5 m. r
  1376. ; The path for which the cookie is valid.
    , w3 f* j1 R& v
  1377. ; http://php.net/session.cookie-path
      ]& l- V4 F7 k, U4 D
  1378. session.cookie_path = /
    $ }9 M1 j) g9 d" R

  1379. 9 ~3 f1 L4 Z9 j7 L
  1380. ; The domain for which the cookie is valid.- D6 B* C# R, g) H
  1381. ; http://php.net/session.cookie-domain3 m! q, b# h! Z9 F
  1382. session.cookie_domain =1 N% F. _, P" `7 {) w4 A
  1383. 3 I& c8 q: D/ l$ L6 v1 H( H
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ z% X) Z! C. o7 @, W7 W
  1385. ; http://php.net/session.cookie-httponly
    2 H- {7 m; q; m1 E3 |, I5 w2 ~$ _
  1386. session.cookie_httponly =
    ' y: X7 f, O6 v/ K

  1387. ; ]2 ]! \& W( V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.: Q* J. B' u. t( \+ I/ {
  1389. ; http://php.net/session.serialize-handler- A, C  n: S: `, M
  1390. session.serialize_handler = php
    6 k2 y4 o1 H* y% g3 Z. R
  1391. $ i1 I2 F# `  k) k3 i) E
  1392. ; Defines the probability that the 'garbage collection' process is started- B' H& j) V) Q  B4 ]
  1393. ; on every session initialization. The probability is calculated by using
    ; `6 p" k3 J: v- Y; x7 s& M
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# w) v  e( K  N9 h0 w7 E" V$ R/ {
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ' Q# e3 d! e) }
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 g4 Z  p* W0 f' g( b4 R
  1397. ; the gc will run on any give request.
    * W3 a" B/ v9 p3 s+ L
  1398. ; Default Value: 15 a% m# Z0 u( n2 e4 v% R! O3 M: o7 l
  1399. ; Development Value: 1! y& l8 Q( a* i4 R( ~& ^
  1400. ; Production Value: 1
    1 G& I1 E; B" @% r1 n. Q
  1401. ; http://php.net/session.gc-probability( q4 I- B6 c4 K, d( Y
  1402. session.gc_probability = 1  }+ k  z1 t* o, C

  1403. ; b) Y) H5 h6 l) T
  1404. ; Defines the probability that the 'garbage collection' process is started on every" O8 F( z; T$ {" I8 a/ D: q
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 r# S: Z- U5 q+ d9 r6 H; b# D
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and# `* P* d( ]* |& d8 p( b
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    3 T5 u! ^, f; b2 u+ J+ V
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- X& E$ p7 T( I! o1 [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 D2 u0 j0 q& w  s# @% }. E- Y( o
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
      K. h  q, c) }1 N+ h4 S1 X$ X6 z0 k
  1411. ; this is a more efficient approach.) u& l, G# @2 t7 f+ v7 V! F
  1412. ; Default Value: 100: @/ f( ~5 q8 f  }0 P' o  P
  1413. ; Development Value: 1000; |2 Q3 @/ ?1 n+ Y% g
  1414. ; Production Value: 10002 @* H9 P: [. k
  1415. ; http://php.net/session.gc-divisor3 q9 z: w$ {* j7 l! c3 N3 j
  1416. session.gc_divisor = 1000
    + _: V" d  e  b, H( a. s

  1417. , u( Z% U$ L. Z7 \- J% }% l# H
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( P# L& ]* P: k4 ^1 }2 t$ K
  1419. ; cleaned up by the garbage collection process.  B# {6 A8 s' R. E
  1420. ; http://php.net/session.gc-maxlifetime
    # t: r! l3 R6 o) O
  1421. session.gc_maxlifetime = 1440  f1 C1 b$ L" I# d' r6 l
  1422. ; t3 ~3 z) c) W5 d6 c9 q% F9 `/ _
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    % D) C5 d; W/ {- M1 I8 P- P, G) \9 m5 u% N
  1424. ;       (see session.save_path above), then garbage collection does *not*, g$ }) Y/ S) ^5 E4 A0 j3 V# J0 S
  1425. ;       happen automatically.  You will need to do your own garbage
    - |1 N8 w$ b# b0 \! c0 M
  1426. ;       collection through a shell script, cron entry, or some other method.
    9 b; ]* X6 r$ G8 m) k
  1427. ;       For example, the following script would is the equivalent of3 Z4 ?; b/ a$ q9 P, C
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):- ]2 r9 I; w/ s+ D9 c
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, Z. a' i5 |" r1 b* U2 x! q% Y

  1430.   i+ S8 m  i2 e* M" e7 X
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    / F0 \# l; ]0 ^" W8 T
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ r3 }$ z  }  G3 q# f
  1433. ; considered as valid.
    ; V) e4 {8 j) G) O+ n! C9 o1 X+ E4 Y1 r
  1434. ; http://php.net/session.referer-check" d6 b  }8 S# i- U1 d" Q
  1435. session.referer_check =9 R" \8 X' h6 l: ~  J: S) a

  1436. ) W4 j, |+ j; H6 c4 g
  1437. ; How many bytes to read from the file.
    * X/ m0 C7 x+ S! q- a! u8 ]
  1438. ; http://php.net/session.entropy-length
      W7 i+ l* N2 V* f# ?
  1439. ;session.entropy_length = 326 K; j8 |% p4 }  T# x4 J3 j- L9 _+ e$ c
  1440. " p8 a, y5 d* ^7 W
  1441. ; Specified here to create the session id.
    5 Y7 F6 p( S. y4 Z
  1442. ; http://php.net/session.entropy-file2 V; }8 u/ h5 Q
  1443. ; Defaults to /dev/urandom! l/ J1 m- t8 f2 f. d6 j0 n' B
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
      `: a2 i# a, M3 j9 r- p- h- s
  1445. ; If neither are found at compile time, the default is no entropy file.
    " f/ E' p: Y; D
  1446. ; On windows, setting the entropy_length setting will activate the/ k% M; S1 G$ m* Y! y
  1447. ; Windows random source (using the CryptoAPI)
    7 }6 c/ H$ J+ T0 h
  1448. ;session.entropy_file = /dev/urandom
    5 p+ U) C! S9 g& n- \! W' a

  1449. # }5 {1 c3 B/ s7 S
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) C' s- T2 |. c/ \; [* b
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ( m& P6 s% B; [! I
  1452. ; http://php.net/session.cache-limiter$ C0 o8 i& Q" j+ Q* S6 h% f" L
  1453. session.cache_limiter = nocache
    0 ~, r/ z  p! ?) V9 M/ a

  1454. . U  u& z* _8 Y
  1455. ; Document expires after n minutes.
    8 H7 A! a$ A3 S
  1456. ; http://php.net/session.cache-expire3 f& l" V: Y  T' L& D
  1457. session.cache_expire = 1803 C4 k, m( S5 J5 X
  1458. & j7 X. X2 i5 ], c. G0 C0 k4 a( F0 N
  1459. ; trans sid support is disabled by default.; ~1 |! N* U- m2 H4 |
  1460. ; Use of trans sid may risk your users' security.
    , d( L  C+ g9 F1 d' U; a' |
  1461. ; Use this option with caution.
    2 M2 S5 j7 `2 h# }; }# E- U1 [+ `
  1462. ; - User may send URL contains active session ID6 e0 A% x+ i1 [# f5 i  Y$ W
  1463. ;   to other person via. email/irc/etc.! t! S. k6 k; [& z' [
  1464. ; - URL that contains active session ID may be stored
    ) O; D$ _# w5 Q
  1465. ;   in publicly accessible computer.
    - _5 o+ y  _% b+ J9 b& k( B
  1466. ; - User may access your site with the same session ID
    : t( R6 `% H" l) `' {
  1467. ;   always using URL stored in browser's history or bookmarks.
    $ X. z7 @$ v/ O) H6 q* q& X
  1468. ; http://php.net/session.use-trans-sid
    0 B1 R6 n/ \1 a1 \- b9 ?
  1469. session.use_trans_sid = 0
    # h1 h# r4 m# h8 w6 e
  1470. : Q0 F  C' d* W4 c
  1471. ; Select a hash function for use in generating session ids.- x* Y. {( @2 x9 F# V) Y
  1472. ; Possible Values
    " X8 @1 G, T& [
  1473. ;   0  (MD5 128 bits)" B4 t3 m; V! Q+ ?1 D% E
  1474. ;   1  (SHA-1 160 bits)6 \6 z7 H' q; v! K( p6 ?
  1475. ; This option may also be set to the name of any hash function supported by
    # G% N/ n- Z; u3 m: }9 }
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()9 ?  B, J3 t: i4 F5 t9 r5 B8 J
  1477. ; function.
    * W1 V% {9 j, }& r3 j0 h
  1478. ; http://php.net/session.hash-function& x# r5 j4 R' G6 Q
  1479. session.hash_function = 0: |% l& f0 U2 m

  1480. 2 O% u' N* D8 @
  1481. ; Define how many bits are stored in each character when converting
    - \6 f* X2 l7 d# Y8 d
  1482. ; the binary hash data to something readable.
      N! t6 o: Z; a, t' M
  1483. ; Possible values:
    9 a0 l; I( Y/ b  j& D3 y6 K  K
  1484. ;   4  (4 bits: 0-9, a-f)
      E% G9 ~2 n" V7 {
  1485. ;   5  (5 bits: 0-9, a-v)
    , N7 P  K' S+ f
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 G. }  x9 k4 D9 r, [
  1487. ; Default Value: 4: ?% _2 v2 T* c0 ^1 s) L3 w$ v2 B
  1488. ; Development Value: 5
    0 l( u0 n2 k4 T2 T" h; `) @
  1489. ; Production Value: 5
    1 T  P: N  C. U, c/ ]8 o5 v2 d8 }7 E
  1490. ; http://php.net/session.hash-bits-per-character, A; G- d5 H3 u9 Q% j% |# g
  1491. session.hash_bits_per_character = 5- h; O6 i  F  ]; Q* ~( x3 g
  1492.   W6 G  k  u+ t) z3 x* {
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.% q0 }; I7 ~0 o& U% S
  1494. ; form/fieldset are special; if you include them here, the rewriter will! I* T0 e, I& Q6 G) K  H
  1495. ; add a hidden <input> field with the info which is otherwise appended6 a$ V& u, r' b
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.' C" d, s5 f3 t4 D
  1497. ; Note that all valid entries require a "=", even if no value follows.; N: R; Z3 [; p0 O9 I# G5 {
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ A; P5 W" r; m' Z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* ^2 D+ _! E) u
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", c+ D( y  ^0 J' j
  1501. ; http://php.net/url-rewriter.tags
    * @1 E- f$ a7 H/ \
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 d4 B, ]# k4 n9 M, M/ \' p' b

  1503. , p6 O& G% _3 w6 q
  1504. ; Enable upload progress tracking in $_SESSION7 k3 `5 y: q- u2 r4 D! W5 Y
  1505. ; Default Value: On/ `6 p" w! K% E
  1506. ; Development Value: On
    + M% U7 E- Q! D
  1507. ; Production Value: On: i- F0 g$ M$ [2 J6 C! T" r$ @. U" ]4 D
  1508. ; http://php.net/session.upload-progress.enabled
    7 t/ }% k9 o! ]& u) J
  1509. ;session.upload_progress.enabled = On( b' L6 ^+ s8 ]

  1510. ) b) p! l* s; t# |6 e
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ) r2 X  [0 _/ t$ q2 ^9 \& \
  1512. ; (i.e. upload completed).
    3 |. j4 N) B; Q$ i: A9 R
  1513. ; Default Value: On. {* ]! N1 U7 m- u- e! X
  1514. ; Development Value: On* ]% g: L3 @9 v) V# ^' V5 a# V! m
  1515. ; Production Value: On5 w- }! U! H9 N# C1 E& {% t. w- [8 [+ q
  1516. ; http://php.net/session.upload-progress.cleanup( u, k# M9 b& H: G8 g
  1517. ;session.upload_progress.cleanup = On
    , u  ^7 D0 V1 g4 E% W0 H
  1518. ) `8 g% ~- ]- _4 f9 P
  1519. ; A prefix used for the upload progress key in $_SESSION
    9 ]# p2 p4 E# G+ v/ Z
  1520. ; Default Value: "upload_progress_"3 g. s  m9 k; j1 y
  1521. ; Development Value: "upload_progress_"
    ! `, Y$ s3 ~. y" F5 N8 i
  1522. ; Production Value: "upload_progress_"
    : s; P1 y( V/ O# c5 D
  1523. ; http://php.net/session.upload-progress.prefix
      F2 j( X' _* W! K+ E- p5 C7 ^
  1524. ;session.upload_progress.prefix = "upload_progress_", W+ P% f5 ?& R8 `
  1525. % g, b5 @7 o( \+ `4 Y4 y4 S
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    3 f" Y/ X# n; ?5 D0 ]  i
  1527. ; containing the upload progress information
    ' ^( _" u) S, A" s9 Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 [, X5 t6 B7 h- n8 ]; v
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 T, R% |) h5 S3 ]
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ ]  a( Q: @7 @
  1531. ; http://php.net/session.upload-progress.name
    - m- k4 l6 d6 U: w
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- p9 ^6 ~2 w. ?5 c( i7 x

  1533. ! D0 }5 v8 h$ _; [0 a, o5 j
  1534. ; How frequently the upload progress should be updated.
    $ X$ i' w9 y4 ^
  1535. ; Given either in percentages (per-file), or in bytes) V- x6 C3 Y+ F; O+ ?- O
  1536. ; Default Value: "1%"7 X; E' K) v0 z' j
  1537. ; Development Value: "1%"
    5 h# M5 K' M8 L+ n
  1538. ; Production Value: "1%"
      d; ]" u: i- ]! j
  1539. ; http://php.net/session.upload-progress.freq
    2 |) t% |8 t0 h# x: e: s8 `8 X( K8 B5 B+ B& s
  1540. ;session.upload_progress.freq =  "1%"
    : T1 ?2 I. c) |# e) ~( c0 Q
  1541. + q+ I4 Z! r; u0 ^9 c" k
  1542. ; The minimum delay between updates, in seconds/ f, @, t! X; D
  1543. ; Default Value: 1
    ; A" [" n) z% h, Y
  1544. ; Development Value: 1
    % s* Q0 M' K' O8 E1 B; \# i
  1545. ; Production Value: 1
    7 i: a3 g8 e+ I5 Q# V4 i" U% _
  1546. ; http://php.net/session.upload-progress.min-freq
    * H/ f0 i5 N& h. Q  c6 N' D% y
  1547. ;session.upload_progress.min_freq = "1"
    2 M+ V* Y! W( j/ p; o) M

  1548. + Q8 t; h# x. R3 g
  1549. ; Only write session data when session data is changed. Enabled by default.  M, o" H# q* K; X7 F- e" U
  1550. ; http://php.net/session.lazy-write
    + g& e  H, n6 I# y, |' k7 ^
  1551. ;session.lazy_write = On
    9 ?9 {4 G7 R+ P* K

  1552. 8 y. A- d* m4 J9 X7 t# G
  1553. [Assertion]* k' h* T  X( G1 K" @
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
      _9 M% e3 ]; {2 e" Y
  1555. ; -1: Do not compile at all" ~" f  h. d: y
  1556. ;  0: Jump over assertion at run-time
    ; a3 S5 `+ m4 ~# P8 |
  1557. ;  1: Execute assertions" P! e+ _- i# ^& J! V! N3 o2 \
  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)+ e( B0 k( \! U! d  c1 }/ B0 c
  1559. ; Default Value: 1
    2 w3 w! ^$ d, n6 f
  1560. ; Development Value: 1* o3 q# M1 K9 w3 j) p# w
  1561. ; Production Value: -1
    $ }/ j+ z; r: z
  1562. ; http://php.net/zend.assertions
    * F2 E( I8 `5 f
  1563. zend.assertions = -1
    2 x. U! ^. W/ c3 k7 T0 J! `

  1564. 6 E$ n1 ?' J# E) ?
  1565. ; Assert(expr); active by default.
    9 o0 i8 E6 C0 g! m: q2 T; J
  1566. ; http://php.net/assert.active
    ) T& t6 G2 V( b% O4 n5 \0 F; g
  1567. ;assert.active = On
    4 Y( f+ g2 l; h
  1568. # p! D9 f* \; D/ h. W
  1569. ; Throw an AssertationException on failed assertions& v9 h5 }" ^/ j3 O
  1570. ; http://php.net/assert.exception
    , l8 F" y0 p* ]$ ]$ R
  1571. ;assert.exception = On
    $ h2 c7 }, m6 M; U6 w
  1572. 9 R, ^8 c6 _1 |$ g
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    - t; h7 C8 g3 i2 f, c
  1574. ; http://php.net/assert.warning
    3 W! q5 t8 ^7 e) g( T
  1575. ;assert.warning = On
    ; U3 w4 Q4 R$ H% L' p5 `; e
  1576. 6 M  O* p. ^5 p& G4 i7 D
  1577. ; Don't bail out by default.( ?3 k; Z1 E5 k5 Z! g: y
  1578. ; http://php.net/assert.bail+ ~8 j  C4 m  s1 ]" {+ H. j
  1579. ;assert.bail = Off. J8 G1 D4 h* T* K5 d7 s- L9 z4 e
  1580. 0 X1 K+ ~+ Y# |/ n4 X* l6 L
  1581. ; User-function to be called if an assertion fails.
    3 V& G( D- Z( J2 c- ?1 c0 k, ~* ?
  1582. ; http://php.net/assert.callback
    & p( d4 h  g" M
  1583. ;assert.callback = 0* {  Y- Y4 R" F1 M; m9 R; U3 _

  1584. 1 X' C* K' B- p3 U0 h# l3 s& ?* C0 }
  1585. ; Eval the expression with current error_reporting().  Set to true if you want, [  g; X' _# U" z. l" C
  1586. ; error_reporting(0) around the eval().& Y% h3 K! r9 Z+ M. w' u$ b
  1587. ; http://php.net/assert.quiet-eval
    7 ~, n) J' `. |6 O' j# L' O: P9 N" |
  1588. ;assert.quiet_eval = 0! F8 p5 @6 f& A8 I( x. S4 D1 H
  1589. + ^5 |6 B1 ~1 v! s% N' a  @
  1590. [COM], [3 _8 r9 f# r, x' l7 O9 p
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 O3 w0 o8 ~0 {* W- ^. E- \! ]
  1592. ; http://php.net/com.typelib-file" F1 s2 l: E9 u( A/ `: y
  1593. ;com.typelib_file =
    ; A- X& n1 X) u. i! s

  1594. $ {# T6 U: f' q8 N- n' b! G
  1595. ; allow Distributed-COM calls
    7 S- p* g, c5 H) w! ~" V) c9 k  i0 M3 C
  1596. ; http://php.net/com.allow-dcom
    * O/ E/ h0 I: y% B
  1597. ;com.allow_dcom = true$ L- }+ \+ K( X
  1598. ; X9 U/ q9 Z1 T) n+ I
  1599. ; autoregister constants of a components typlib on com_load()
      v  S' Q8 X* N5 U- d; n# {
  1600. ; http://php.net/com.autoregister-typelib; J8 h4 M9 M$ U( i
  1601. ;com.autoregister_typelib = true
    . d/ Q5 S3 ^" n1 U" M6 I- e
  1602. 7 p0 j! ]4 H7 Y! _4 j$ v
  1603. ; register constants casesensitive
    ) x: e# Z/ c2 F# H
  1604. ; http://php.net/com.autoregister-casesensitive8 r* C8 ]2 M, }1 T/ h$ M
  1605. ;com.autoregister_casesensitive = false8 J- F  Y. A: x; ^- n: x

  1606. ' N7 [3 @6 f. K. N0 O5 {" Y
  1607. ; show warnings on duplicate constant registrations
    9 ^' R9 v+ J* N8 ]
  1608. ; http://php.net/com.autoregister-verbose( ^7 J* t: o" q& l
  1609. ;com.autoregister_verbose = true
    8 V! e5 M3 H" P0 Q" W2 }) ?

  1610.   ]' M) c- p, `- e- ^) m9 t- {
  1611. ; The default character set code-page to use when passing strings to and from COM objects.! M/ K/ r4 A+ f& D& j7 i6 ~. C
  1612. ; Default: system ANSI code page
    , ?7 |& F: _$ I0 r
  1613. ;com.code_page=' r! I5 r% L- o6 ^% Q

  1614. 0 `# ]4 \) D. C5 t, u& E5 Q( A
  1615. [mbstring]4 k6 T8 j/ X) q5 g+ l
  1616. ; language for internal character representation.
    " \* Y7 {" c& W# Z  A
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ g0 p, ?& J  S8 Q1 i. v
  1618. ; http://php.net/mbstring.language4 e8 c/ q" c: K
  1619. ;mbstring.language = Japanese
    . B5 d, Y4 D( u$ h6 c. T' F

  1620. ' i; ^% S* f& K5 L
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 U' |" g/ i5 H
  1622. ; internal/script encoding.4 V$ a3 D& m7 N5 D/ V
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    $ |, X: V9 U% N
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! {5 `" ]4 O4 q6 r- H
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 y: u; c5 O- B- X
  1626. ;mbstring.internal_encoding =
    4 M3 K" M% C& V. K0 G+ ^7 }+ v
  1627. % V# W. R* g" o" s5 z0 \* M3 {
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : m# N: U' v" j: V- [
  1629. ; http input encoding.3 p; c7 ~. u  m' c3 J+ y# @# k
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.; a# x! n8 L' s  p$ l. O
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.5 x0 y8 w- _: _( }
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 b9 B6 H5 }; A8 U1 m
  1633. ; http://php.net/mbstring.http-input1 N: s1 ], @8 U6 R# [9 C6 b$ W. m( j
  1634. ;mbstring.http_input =: N, d. u  `5 B  O( [* N* L* D
  1635. $ ?9 W0 a, b( P7 \( ?. h/ m
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , ?, c: s  y. p% g
  1637. ; http output encoding.
    8 d4 U+ ]% w% H5 P1 [' [
  1638. ; mb_output_handler must be registered as output buffer to function.
    ! n- |: m9 u# ]- y/ h2 t/ M0 ^. {
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.+ W+ ]7 b5 J5 O; r$ t# f/ m: d, m2 U
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 p# I* d- [9 y7 {
  1641. ; To use an output encoding conversion, mbstring's output handler must be set* F- y" N* ^& Y# W$ B, T
  1642. ; otherwise output encoding conversion cannot be performed.
    2 i/ W* x# ]4 ?4 P
  1643. ; http://php.net/mbstring.http-output
    5 O$ h. T. O7 s* ?( {5 g
  1644. ;mbstring.http_output =
    6 b! i: S0 {1 c% K6 o& U% T; u

  1645. ; X) Q5 g& A/ W1 S) p; S* n
  1646. ; enable automatic encoding translation according to
    / X7 \7 e& b/ y$ H# ?+ _
  1647. ; mbstring.internal_encoding setting. Input chars are
    1 R8 {2 K7 \# L$ I% w
  1648. ; converted to internal encoding by setting this to On./ a$ I+ a2 C# ^) }% C& k1 r; Q
  1649. ; Note: Do _not_ use automatic encoding translation for
    0 b& U0 j/ C" @4 k- c  u. T5 k
  1650. ;       portable libs/applications.0 N# T9 s# y4 Q0 h+ b9 a( I
  1651. ; http://php.net/mbstring.encoding-translation9 \4 M6 ]9 @, t1 A* f* k7 ]
  1652. ;mbstring.encoding_translation = Off5 I  S! H- G% @

  1653. * x. g% D7 J( e, s/ ]! b! a
  1654. ; automatic encoding detection order.
    + @2 \2 k5 l5 _& D& U
  1655. ; "auto" detect order is changed according to mbstring.language
    ( Y( Y7 V+ [# {& c4 X
  1656. ; http://php.net/mbstring.detect-order% u% A9 O5 C$ [+ z3 ?& E
  1657. ;mbstring.detect_order = auto
    : j$ N5 z* P- ?  ^- Z7 w/ w* [8 \

  1658. 7 a5 ]6 X1 l$ ^+ _$ c( l+ M# {) \
  1659. ; substitute_character used when character cannot be converted
    7 t; M' M6 w: y: I  {( x
  1660. ; one from another
    6 K/ v  t9 Y% |& K
  1661. ; http://php.net/mbstring.substitute-character" ]/ F% }, X8 E' V2 r3 q2 ]) F
  1662. ;mbstring.substitute_character = none/ N, J4 _6 [( C6 Y% Y# N: |( t" |) S
  1663.   b6 r) @" `4 U. j
  1664. ; overload(replace) single byte functions by mbstring functions.
    , d8 d+ n6 s* J2 {. ~
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! Y0 J- p; v" L+ q' h% Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.* |4 Y; @: D0 R% @
  1667. ; For example, 7 for overload everything.( w5 j0 U7 y- ?. Y) ?
  1668. ; 0: No overload
    9 {: \  L+ J2 K. Z+ v8 ?6 t
  1669. ; 1: Overload mail() function
    4 ~6 B" Q; ^+ ^$ z. f4 U
  1670. ; 2: Overload str*() functions! [1 Z' j% y6 k0 a
  1671. ; 4: Overload ereg*() functions" s, V* Q0 \) X& G. J
  1672. ; http://php.net/mbstring.func-overload$ o1 e. l# B& `# R
  1673. ;mbstring.func_overload = 0
    & _5 j0 T* `) e
  1674. . a1 e( e- i4 e6 u* D8 B. V
  1675. ; enable strict encoding detection.
    / }; T6 {& q$ d* x
  1676. ; Default: Off- @$ N. [9 ~6 V. D# B) `5 g7 R, y- m
  1677. ;mbstring.strict_detection = On! V! q/ q3 I4 P1 t$ b& ?
  1678. ! c5 r: w2 n0 A# O& \+ g1 _
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    + b: d+ @7 E6 a- c  [' g, T
  1680. ; is activated.
    + g: v2 a0 P8 g6 |9 ^
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    3 H' V/ V7 S+ s- Z) a: W( u
  1682. ;mbstring.http_output_conv_mimetype=
    . C* w' u5 m$ b3 Q0 U
  1683. " m3 H7 P& T; Q" {
  1684. [gd]4 o: \- N( J1 T6 w
  1685. ; Tell the jpeg decode to ignore warnings and try to create5 b+ J/ ?1 B1 y- t
  1686. ; a gd image. The warning will then be displayed as notices- x! B0 g. i9 y+ Y. e1 a
  1687. ; disabled by default- O0 H9 F  Y1 O$ s5 R5 C/ Q
  1688. ; http://php.net/gd.jpeg-ignore-warning$ [+ ~7 A1 c; z0 k7 A* o: E
  1689. ;gd.jpeg_ignore_warning = 0
    1 q* S) M8 K- m, l' J

  1690. 5 ^: B" S9 V1 t  `4 A
  1691. [exif]4 P8 a4 x* z* M: f/ u
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.$ P& d- ^3 Z- ]
  1693. ; With mbstring support this will automatically be converted into the encoding
      D) z- w# o5 C! M
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 r4 h# w/ J+ \6 \
  1695. ; is used. For the decode settings you can distinguish between motorola and' h. c% h5 t, K# a) J$ s, ?
  1696. ; intel byte order. A decode setting cannot be empty.
    * S! X" u8 \/ ?: z2 M
  1697. ; http://php.net/exif.encode-unicode/ E' J% z3 d0 \; N& D
  1698. ;exif.encode_unicode = ISO-8859-153 v$ m+ M- Y% V  _  Y7 {

  1699. + F2 Y5 R* P5 ^! D4 @9 q7 K7 f
  1700. ; http://php.net/exif.decode-unicode-motorola
    1 k# R: |; _- j/ u: @* T
  1701. ;exif.decode_unicode_motorola = UCS-2BE
      h- r" ]: ^% m. z+ w

  1702. 5 X6 }3 `9 T" P- c7 [6 [& }9 E
  1703. ; http://php.net/exif.decode-unicode-intel
    $ b, w: B( c3 t- ~  ~% w9 z9 i
  1704. ;exif.decode_unicode_intel    = UCS-2LE0 X$ j' y5 ]3 \+ i& w- t
  1705. ; J9 x) t" G2 C  i. q6 z
  1706. ; http://php.net/exif.encode-jis
    * N. H* ]8 [, N% d
  1707. ;exif.encode_jis =
    ' U) \0 t  F9 o6 o2 t
  1708. & W" C4 d4 |: ]1 q! }  w; Q
  1709. ; http://php.net/exif.decode-jis-motorola& ]$ v( `/ F( _# I8 m' r$ i
  1710. ;exif.decode_jis_motorola = JIS
      b1 N1 [7 f" u4 A

  1711. ! U6 k, \0 q3 e% o, t' n$ X
  1712. ; http://php.net/exif.decode-jis-intel
    ; u& f$ C* {5 ?6 T6 M' Y
  1713. ;exif.decode_jis_intel    = JIS+ M8 C% ~- j2 j0 t9 d' N
  1714. 4 h- h, E; y8 w$ w$ o/ n
  1715. [Tidy]
    * w& Q8 w% z& y/ b$ L8 n
  1716. ; The path to a default tidy configuration file to use when using tidy
    ! u& D7 Y1 t' ?, T* c% _
  1717. ; http://php.net/tidy.default-config
    + @. o1 R/ q! \1 y; M, ^) J! H  U
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 \3 A# E' V( H; k/ y5 k- t
  1719. 2 s# y/ T( Q$ P
  1720. ; Should tidy clean and repair output automatically?# {7 U8 G, l, N0 k* f' F: F. {
  1721. ; WARNING: Do not use this option if you are generating non-html content; M8 B, S0 h9 |& ~3 k
  1722. ; such as dynamic images3 l3 n& d, w; X6 f+ K; m6 }
  1723. ; http://php.net/tidy.clean-output
    ) D2 w2 h& U5 ?4 {: W- P
  1724. tidy.clean_output = Off
    - P$ M2 B: m, @# z; z7 O7 H
  1725. & C/ g/ P9 r- |* z( w0 [1 \
  1726. [soap]) h, q1 v3 Z( J4 F
  1727. ; Enables or disables WSDL caching feature.5 Y0 Y: f8 I0 b& h# R
  1728. ; http://php.net/soap.wsdl-cache-enabled
    5 N6 A1 ]3 O( X
  1729. soap.wsdl_cache_enabled=1
    ( ?! |6 H7 |+ J5 _

  1730. ' M+ I$ u/ Z% S" y$ B
  1731. ; Sets the directory name where SOAP extension will put cache files.
    % K- @8 E; X0 ~' I  G3 x
  1732. ; http://php.net/soap.wsdl-cache-dir
    8 V5 Z+ s1 h' R5 I: U' W: T
  1733. soap.wsdl_cache_dir="/tmp"8 n5 H$ F. \/ t3 v

  1734.   A, y8 U, ?" e8 e. ^
  1735. ; (time to live) Sets the number of second while cached file will be used
    ! x3 j7 ]: W- R' M, @! O
  1736. ; instead of original one.) \) |* q% Z% K  i9 u
  1737. ; http://php.net/soap.wsdl-cache-ttl
    9 V9 N  r( d/ a" o* a
  1738. soap.wsdl_cache_ttl=86400
    " z5 h3 s- I9 Y5 c
  1739. 6 }% q! ]* i. ?& u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % \( R2 z4 _1 k0 D5 U. [# S6 }
  1741. soap.wsdl_cache_limit = 50 M4 L/ V6 s. ^: R& r8 h: T

  1742. 5 W2 v% B3 X% F; r+ f+ R
  1743. [sysvshm]. d; D) r" S5 o0 O9 l  U$ A  t: w3 @
  1744. ; A default size of the shared memory segment
    0 Z6 I+ J1 y% e$ w1 \
  1745. ;sysvshm.init_mem = 10000& s- X5 r9 {  Q$ F
  1746. ) t% W) H6 O( W/ L2 C
  1747. [ldap]
    6 t; p' \4 |" Y7 ]
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 j4 Q( [) Y6 f4 k* ^
  1749. ldap.max_links = -1% \4 E1 Z+ v' ?- S' i# \

  1750. / X) O- \& C: f& T, @. w5 F& L
  1751. [mcrypt]$ W# D$ E# L4 n8 w! l- I0 [
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / t& |: [3 b  a8 l% n9 z' v# \
  1753. 9 z  O! G/ N8 [' |" ^. u
  1754. ; Directory where to load mcrypt algorithms
    ! U1 o, A, b0 f) t4 [
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' G2 s" ~1 E; N! V, }0 b
  1756. ;mcrypt.algorithms_dir=( T% K$ x' V$ j0 X

  1757. : p; h/ s) y- }  I
  1758. ; Directory where to load mcrypt modes% h5 b/ K. J' n5 p( w3 N5 q
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; `8 ^+ n8 \! u: `, W1 s$ b
  1760. ;mcrypt.modes_dir=" p$ z* U, Q. \2 x7 D+ b

  1761. 4 u/ C* j9 ~6 e5 r; r% ]
  1762. [dba]
    ! V9 D+ r1 Z6 c" y% u
  1763. ;dba.default_handler=& g  D+ P& a3 [9 l2 T) [3 I$ Y/ p
  1764. " F- a- t6 \5 D2 @4 {' A2 m
  1765. [opcache]
    - A; ~+ O& I$ K. s6 X# ]3 h6 @, I
  1766. ; Determines if Zend OPCache is enabled: t+ i+ t! d) O' }- D
  1767. ;opcache.enable=0
    ) B  A" [2 J# e

  1768. & W$ `$ R( H# S$ \
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    5 Y) p, @6 W# a3 J
  1770. ;opcache.enable_cli=0
    9 M4 o8 h) P1 q$ F/ w' R

  1771. 1 ~4 c4 @0 `* E' g6 D4 B
  1772. ; The OPcache shared memory storage size.
    - l+ m5 a2 y; P$ z  ]5 w& L2 V
  1773. ;opcache.memory_consumption=64
    ( ?. n" C; e1 J2 Q; U
  1774. # i/ _9 _% g  ]" a) O7 y4 z( @% g: H
  1775. ; The amount of memory for interned strings in Mbytes.
    3 A/ a8 T; B4 g, M/ M; F
  1776. ;opcache.interned_strings_buffer=4
    0 Q' x& D3 v7 X/ E8 \8 k1 k3 C# o1 z

  1777. . [2 _5 _! z' `$ D4 H
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.* p7 z. i9 ]/ ^( Y$ b2 u
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ; L* T8 j, b. z9 d4 b5 p0 ~/ @
  1780. ;opcache.max_accelerated_files=2000" z7 L2 o, ]5 S. I0 ~, C
  1781. 8 U9 R* l: G6 k+ G* E
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    * h+ O9 j' r# |! r! I6 B
  1783. ;opcache.max_wasted_percentage=5! S* C" h* n5 O0 L/ W" m
  1784. 1 ]' t; @. @2 d6 g5 q9 w- _0 S
  1785. ; When this directive is enabled, the OPcache appends the current working
    0 o5 N1 ]' j' ?2 m" [7 c
  1786. ; directory to the script key, thus eliminating possible collisions between
    7 i: S' ~% a8 U; T$ s
  1787. ; files with the same name (basename). Disabling the directive improves/ M1 {0 D$ l, A/ g  b
  1788. ; performance, but may break existing applications.
    * O7 m; }6 s# A& P" C& J
  1789. ;opcache.use_cwd=1
    ! T% d: K) r3 g* k7 C* \+ p9 V, K

  1790. $ L. _3 Z* k2 \+ M& k
  1791. ; When disabled, you must reset the OPcache manually or restart the
    / r! ^- Q( _+ ~; [2 E
  1792. ; webserver for changes to the filesystem to take effect.
    ' \' G2 ]. c# c7 T# v  _# v. _
  1793. ;opcache.validate_timestamps=1
    ' Y% Z% R, J' y& r2 G( t" \3 G
  1794. " p' n' r% W5 e5 q6 }) |+ S/ V
  1795. ; How often (in seconds) to check file timestamps for changes to the shared. ~  S% f: R/ O, R9 W, F9 e5 ~/ D8 a7 C
  1796. ; memory storage allocation. ("1" means validate once per second, but only& h. ~/ a, d9 d7 Z3 k
  1797. ; once per request. "0" means always validate)6 v* O1 }6 k+ ^# X# t4 B- @
  1798. ;opcache.revalidate_freq=2
    4 _$ @; U5 H! _$ N
  1799. , T1 i$ s% H3 N4 @2 S, Y0 n
  1800. ; Enables or disables file search in include_path optimization
    % f( C( U# Y1 r4 J: y6 N& Y% B
  1801. ;opcache.revalidate_path=0
    0 M0 G; q# f$ |, \6 q
  1802. 4 {  x! |& Z. f; F& N
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ t: C. _" [; @
  1804. ; size of the optimized code.0 i7 X) \/ c- U- P1 m
  1805. ;opcache.save_comments=1- K& o+ Y7 p+ Z, U/ B8 r/ u
  1806. 3 }' f4 v; T3 U" Y
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 |) J) a! h7 ?$ b5 x6 l$ v
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    8 p- M4 v" R3 v
  1809. ;opcache.fast_shutdown=0
    : r3 G8 j; f$ p1 y- `

  1810. 1 j6 l) \! ]. M% Y7 ?
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ( c, t( Z7 Y7 K: \" A- U
  1812. ;opcache.enable_file_override=07 w) k  `& Q3 x3 o+ u, {+ o' [

  1813. 4 x: x: E1 G# R. z& i- S
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      e0 B6 b7 T! {  L4 e! g6 A& l: d* W
  1815. ; passes* Y9 Q, p; t2 u* }5 q! S
  1816. ;opcache.optimization_level=0xffffffff
    - o; @- g2 Z% b
  1817.   ~' N) s4 N$ N* d2 u. E6 r# S
  1818. ;opcache.inherited_hack=1
    2 Y8 \5 i2 H) ^% W& f. |# k
  1819. ;opcache.dups_fix=04 q, J$ V% q& ~  h
  1820. " m1 M+ C  v  J- r  j- x- [
  1821. ; The location of the OPcache blacklist file (wildcards allowed).5 G/ n% Z* \( Z( B, R+ f5 c
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    " {  D) e4 o, K9 H
  1823. ; that should not be accelerated. The file format is to add each filename0 E. s$ L' V; S
  1824. ; to a new line. The filename may be a full path or just a file prefix0 h9 H  d! T1 T, M) K' b  i
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    # [2 \6 j1 b) K0 L) E0 t
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 k& }: k; z. G( y9 W: D9 M7 \. X7 B
  1827. ;opcache.blacklist_filename=# g* a3 g$ ?8 A" {" @3 \
  1828. 5 c, E& \! g$ J/ y4 l3 d8 L
  1829. ; Allows exclusion of large files from being cached. By default all files
    7 l; K2 y  _6 `9 D
  1830. ; are cached.# m( [1 v' {: J9 T2 K+ [
  1831. ;opcache.max_file_size=0  l0 V: f! j# B- k  H4 t2 T
  1832. # \5 r$ a0 a+ \# m$ G0 O2 Q. I8 [
  1833. ; Check the cache checksum each N requests.9 J- q9 u; r3 Q+ @
  1834. ; The default value of "0" means that the checks are disabled.0 g% n0 M- @# D/ y+ r+ |& B7 L
  1835. ;opcache.consistency_checks=0) ?. A) E( I7 W+ Q6 l7 q0 d

  1836. 2 U  B0 W8 }) l
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + C1 S+ S/ d6 a! W9 A
  1838. ; is not being accessed.
    2 t! O9 W7 C) R
  1839. ;opcache.force_restart_timeout=180! Y! t) t* g. I- [4 w7 i
  1840.   v# e3 J$ P/ M1 Q* l9 @
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    % ~- V! f" P1 {
  1842. ;opcache.error_log=" f0 V% Z: e9 ~6 ?5 h7 F
  1843. ! q4 D" E; I3 }
  1844. ; All OPcache errors go to the Web server log.
    $ W( T+ T; Q* W
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    $ k- r, `4 ?' I# G
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    1 `: u. }0 M# B1 I& F% Q
  1847. ; debug messages (level 4).4 v4 ]; ?5 H% V0 G9 r- A& l& `
  1848. ;opcache.log_verbosity_level=16 g1 C  o: q! i- _6 m6 r2 V

  1849. 4 \; N5 a+ a) @  s2 S
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . |  T- @2 Y5 L3 X4 B
  1851. ;opcache.preferred_memory_model=
    + ]/ k. x- R6 h8 w
  1852. ! @4 L& q0 d2 \- E) H5 H
  1853. ; Protect the shared memory from unexpected writing during script execution.
    8 u7 |7 C4 j$ h+ M+ Z1 F# m3 Q
  1854. ; Useful for internal debugging only.8 r( R1 ]3 Y2 k0 N
  1855. ;opcache.protect_memory=0
    " Y$ o8 N3 N* R, a

  1856.   W. g% c2 A1 N8 B& X
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is# e# L  x3 j7 ]8 J; c
  1858. ; started from specified string. The default "" means no restriction
    ; g- x. P# p0 a- g8 C* w0 |
  1859. ;opcache.restrict_api=6 L) ?- F3 T- P4 |& `

  1860. + k! E7 i2 H: k# F4 T
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 S* Z1 y' f' T3 Z0 g4 W9 X
  1862. ; processes have to map shared memory into the same address space. This
    % A( e2 m. j( P. B6 ]( T6 Y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    # _  D) L5 e) c2 a4 D7 U: Q+ v
  1864. ; errors.  v8 `4 y( P- u# h3 ^0 {* X, i
  1865. ;opcache.mmap_base=+ a& H: p3 n6 W1 A5 g3 M8 S8 A
  1866. ! V( K: `6 g  \. X& W
  1867. ; Enables and sets the second level cache directory.
    9 f- a4 w8 {9 l/ d) O
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ) }8 v$ V! b& x, O
  1869. ; SHM reset. The default "" disables file based caching.
    ( F; Q5 l: g! K4 ^/ ]! t
  1870. ;opcache.file_cache=/ {+ L( r8 T% Q2 `7 l
  1871. ( e+ v5 I; A; N+ z$ S/ M
  1872. ; Enables or disables opcode caching in shared memory.
    3 S% Y+ c  i; x2 S
  1873. ;opcache.file_cache_only=0
    # @8 ^* R: `% o& _( c
  1874. , g$ p7 d7 B9 d9 D4 x2 H2 A6 X
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ( I" C6 t+ j! O. ?$ M5 j# d
  1876. ;opcache.file_cache_consistency_checks=1* G/ d8 b  w( M: e7 j

  1877. & K$ _) V4 M) c$ w4 I- Z/ @: p% I
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / J$ D% g; b2 a! Q7 \
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    3 w$ ?5 J: N, ?* ~! _7 C
  1880. ; cache is required.
    * n" l' U7 k; _
  1881. ;opcache.file_cache_fallback=1
    % r0 r5 M$ }7 W3 `* S

  1882. 5 F5 q1 S9 s8 m4 o: ~* x9 x
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    / ?. ^' Y4 {% E5 x4 y9 X
  1884. ; This should improve performance, but requires appropriate OS configuration.
    . X4 J1 S7 X* U/ ~
  1885. ;opcache.huge_code_pages=1, @* ?2 {& c$ t& p" T
  1886. 6 z' y7 J1 x9 Q* `$ u
  1887. ; Validate cached file permissions.5 V+ I7 ^2 f' h; n0 A/ T
  1888. ; opcache.validate_permission=0
    . R; ~' I7 Z' Q3 i
  1889. 5 ?0 Q$ n& R  @9 h  p) i
  1890. ; Prevent name collisions in chroot'ed environment.
    : M. @6 D. F! Z& S
  1891. ; opcache.validate_root=0
    ) K. a/ g! z, c6 V% \0 ]0 ~, s# H; ?' @

  1892. / p8 ?; c& m/ V/ x# \* N
  1893. [curl]* ~' J% X: _, ], Z6 S3 B, T
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    7 V; \, \/ P: O
  1895. ; absolute path.
    % o- D/ G% y* z; }( n
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ; p8 ^/ \+ G3 I8 X& f

  1897. 6 }7 i9 h1 r( u, e; u) Q
  1898. [openssl]0 b* J, e. |) h3 a- p  j
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem5 S! F. f* e  @" P" I' ~+ @
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 y$ a/ [. }. P; }
  1901. ; not specify a value for this directive as PHP will attempt to use the
    8 r$ w5 u% k! t, n
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    9 H" F. ^* E( g+ D3 y' V8 I* Z* y
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 o* w! b; `$ n; j8 t7 E
  1904. ; option.
    ' W$ M: e9 J; g9 {, l8 L) {- {# c
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* n5 O: `- m) n6 d
  1906. 8 X' t) X3 g4 T9 h  e( j. S2 S
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 F7 N; r% ]* Q: P
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    " b" w& i3 ?6 ^: J! z3 b* I1 S0 m
  1909. ; certificate. This value must be a correctly hashed certificate directory.2 o% G$ Q# ~7 S5 x& Y# c4 x
  1910. ; Most users should not specify a value for this directive as PHP will
    4 A; C5 R" K" x  N$ s
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,. B# K, M7 _8 I5 U3 N
  1912. ; this value may still be overridden on a per-stream basis via the "capath"! w' j2 x& Z# z! `5 j0 s4 @* x
  1913. ; SSL stream context option.
    ; G4 D! K/ c! N+ m  z
  1914. ;openssl.capath=
    % c- K$ {" C/ O) O1 V! [
  1915. 4 v$ |0 f  k3 f' D
  1916. ; Local Variables:& ?0 Z' r& p% m9 l7 x" \
  1917. ; tab-width: 47 @% e# k# p+ D4 z3 D4 _  \6 m
  1918. ; End:* ^1 T# [/ X- L9 {1 ^. \

  1919. - p- M, v. Y" S. E
  1920. ;eaccelerator2 m: \8 e% C/ a1 v9 J' W
  1921. % x) ?9 Q0 h7 [& }' f& O
  1922. ;ionCube6 ]% g3 M$ V7 b9 X4 \

  1923. & A4 G4 t8 b# ]
  1924. ;opcache. _" L: F, ?! X# g( {2 A$ G
  1925. 7 L6 v9 T  o9 e+ q
  1926. [Zend ZendGuard Loader]. r3 X. v2 b! q& \' h
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    . i" z* b! f' N: x0 _3 J
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so  h$ Y5 a# [" o4 B8 N9 e" F4 Z0 L
  1929. ;zend_loader.enable=1
    5 c4 c( J; M/ A- X7 W- G* U. g
  1930. ;zend_loader.disable_licensing=0: z% A0 O8 u+ Y0 P% q  {
  1931. ;zend_loader.obfuscation_level_support=3$ }9 ?: N% Z5 |. D& g) ^* |! b  b! J; i
  1932. ;zend_loader.license_path=
    9 V& L- X- V# U. z$ s1 w

  1933. $ n0 D5 a( F! k- ~9 b, g
  1934. ;xcache
      o* t- D7 u' S: p* G

  1935. % A: q! e5 F* ^! }5 L* v9 H3 c
复制代码
$ V. V7 b8 O5 m. w

2 `5 m4 F, U, ^8 \6 C, p* n- w* S5 S7 h. x2 L

# A; ~6 }7 A) K* E0 x' T
: F; x: t- z" u! O
0 F7 J$ n$ V0 x! {1 j' M$ M; @; ^
' h, G5 b  W1 L3 n5 D: B5 MPHP5.6版本原始设置
# u  ^! L3 f- E) ~) L+ w
+ @8 z# x: G$ F+ x" a1 k5 k: P: ^- h
  1. [PHP]7 d' B7 z0 T5 C5 M+ ~' v8 `
  2. 2 _& d/ P& l% E( Q1 n6 v0 @0 U
  3. ;;;;;;;;;;;;;;;;;;;8 Z; R/ i* d+ k* |3 ?+ z
  4. ; About php.ini   ;
    ' G* d" M8 V3 [* L' l4 d
  5. ;;;;;;;;;;;;;;;;;;;
    . [- M# t& T! I3 J
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; ?( B5 _/ O. |' K; t! O
  7. ; configuring many of the aspects of PHP's behavior.
    6 Z& t  Y- E7 I
  8. 2 R9 Y: s! n6 J$ Q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 K, X; J5 u4 |
  10. ; The following is a summary of its search order:
    4 ]/ ^' U  Y2 S- _# q) i
  11. ; 1. SAPI module specific location.- a5 f9 Y5 E# ]" S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)6 d( L3 v8 E$ g5 j& \9 W
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 q* \" S& V. x5 V/ w2 Z4 e
  14. ; 4. Current working directory (except CLI)
    ( B# D7 Q6 h! f0 m- }+ b; A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    3 o0 u/ C) x- }' j! [/ j
  16. ; (otherwise in Windows)
    + i3 d% u) o5 W4 v) S2 l
  17. ; 6. The directory from the --with-config-file-path compile time option, or the. W5 i; q2 @0 \! L
  18. ; Windows directory (C:\windows or C:\winnt)0 F- s% l& H- G( l, |
  19. ; See the PHP docs for more specific information.
    : d9 S: w' L: X% J3 ~- o+ @
  20. ; http://php.net/configuration.file& Q( l$ \! j+ ~5 e! q3 U, s, A

  21. ( G7 O: K. Q- y' l4 B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
      L# E7 @& D) p
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    9 H; m) a$ y# m9 n
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; ?& v! ?' ^% H" X' c5 {/ I
  25. ; they might mean something in the future.
    7 Q5 H/ M+ j- \: ^& h

  26. 4 h/ L! t9 c2 {
  27. ; Directives following the section heading [PATH=/www/mysite] only/ g( C1 u+ R# u# D. p1 Y+ K
  28. ; apply to PHP files in the /www/mysite directory.  Directives4 F' u5 ?- J& Y) }! {
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( y4 c* F' c' t4 _. S1 l: k
  30. ; PHP files served from www.example.com.  Directives set in these  R+ Z9 J2 X( |* A
  31. ; special sections cannot be overridden by user-defined INI files or
    & T8 g' y+ w8 U# y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ |$ J6 u/ J. e4 J/ [
  33. ; CGI/FastCGI.7 N0 ~% e) Q! `/ B
  34. ; http://php.net/ini.sections6 t/ j* ^, R  {2 `6 G- }6 s: E
  35. ) O- Y0 q3 C1 t8 e! v$ `( ~
  36. ; Directives are specified using the following syntax:
    - ]+ I( @/ \2 v- i$ v& O
  37. ; directive = value
    : X+ H: g% J: {" j, I% ^
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 R0 W  {7 z' s* Z/ A1 o; b
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . F6 v. Q" K8 h# Z
  40. ; There is no name validation.  If PHP can't find an expected
    7 i9 y- o% q" w5 j
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & y" q. g  D5 u8 ]* t& n
  42. ( s+ v, I6 C8 c  N& S/ Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) ]& x- h( Y, ?  o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    6 W8 y; W  Z. p' h( I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- I1 N2 u9 \9 C# ], C
  46. ; previously set variable or directive (e.g. ${foo})
    % h/ H/ a0 a1 {% t1 f
  47. " v  Z9 e5 R  F& Y( e8 j( A
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 E" l2 ~  ~0 n7 q
  49. ; |  bitwise OR2 v9 @4 H6 ?! o
  50. ; ^  bitwise XOR
    7 a, h1 `  |: W% @
  51. ; &  bitwise AND
    1 y/ f- _1 r) t+ u
  52. ; ~  bitwise NOT
    2 V1 a& n; l) z7 J4 {
  53. ; !  boolean NOT+ }3 c- x0 x1 e& e4 ~
  54. ; e0 N8 [; v+ p+ o$ C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    , S! ^. z8 l5 b. _' M
  56. ; They can be turned off using the values 0, Off, False or No.
    2 g1 [  C9 y5 L7 m

  57. . R3 P! N: o( }# [: O2 C
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ! t: R8 p; B8 n) y
  59. ; sign, or by using the None keyword:7 T; r2 W* N6 t" y
  60. ' ]# u$ a) b. D, {6 D
  61. ;  foo =         ; sets foo to an empty string
      Z. \9 P/ @4 M& t$ }, F4 ?- M
  62. ;  foo = None    ; sets foo to an empty string
    ( p9 O1 q  ]0 j
  63. ;  foo = "None"  ; sets foo to the string 'None'
    # P! x9 n% b$ E6 {0 R
  64. ) b. L+ h+ q+ p' E5 Y5 w; i
  65. ; If you use constants in your value, and these constants belong to a
    3 w2 D1 E0 T$ q4 D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 W7 Z/ U# k- N& E  o
  67. ; you may only use these constants *after* the line that loads the extension.
    ! h) H8 O6 }# e* Z; \+ h

  68. " e8 ?$ c7 G" |2 f- g8 a
  69. ;;;;;;;;;;;;;;;;;;;
    & u* u/ i& M: _% V
  70. ; About this file ;
    & |% @' L, G  a% u3 L, Y
  71. ;;;;;;;;;;;;;;;;;;;3 Q8 D. K% C* `9 k9 g# S# r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! \% K8 \; n. y9 F3 F! d  k
  73. ; in production environments and one that is recommended to be used in
    ( i3 [* Y: f* t4 x2 m
  74. ; development environments.8 T+ j  I, j& _; B( @8 v9 d3 `" s
  75. 9 b$ Q7 r" t. u2 N; q9 n
  76. ; php.ini-production contains settings which hold security, performance and
    3 \. I5 q* K! X4 b+ x
  77. ; best practices at its core. But please be aware, these settings may break
    - _( t( s5 v& V1 L* \
  78. ; compatibility with older or less security conscience applications. We
    ) O3 y2 L3 [/ W4 N" k' I% J+ F
  79. ; recommending using the production ini in production and testing environments.1 F  U6 [; C7 t6 [7 s
  80. ; [; R' q1 Q3 L! a
  81. ; php.ini-development is very similar to its production variant, except it is9 I9 ~0 L2 \( N, Z# p3 ~$ |
  82. ; much more verbose when it comes to errors. We recommend using the
    - i0 ]+ h$ T# O$ s
  83. ; development version only in development environments, as errors shown to! k7 p; w$ _7 F2 s- [& k! `, ~0 `
  84. ; application users can inadvertently leak otherwise secure information.
    - G/ m: |5 n) y
  85. 9 P7 Y9 s1 o9 Z* D
  86. ; This is php.ini-production INI file.
      s6 O" X" N- Z

  87. 5 p# ^) S! R5 Y; K2 j
  88. ;;;;;;;;;;;;;;;;;;;1 @% o- A* V0 i1 u* E: i
  89. ; Quick Reference ;5 e9 E" N! @6 C: I. u
  90. ;;;;;;;;;;;;;;;;;;;' f) b8 G2 Q# |. Q5 Q3 m
  91. ; The following are all the settings which are different in either the production. i& q/ S! o" |8 i( d! K
  92. ; or development versions of the INIs with respect to PHP's default behavior.2 e" ?8 Q; i3 e+ R+ U7 `. [/ H
  93. ; Please see the actual settings later in the document for more details as to why; C: Z+ x2 m+ O
  94. ; we recommend these changes in PHP's behavior.& p" k* S1 [$ l0 z
  95. ! _& f- O9 n, ~' e' Q+ m; n
  96. ; display_errors: z1 t" g- g4 O. i. ^
  97. ;   Default Value: On3 E( C+ p# H7 }) c2 a
  98. ;   Development Value: On
    5 t" ]0 V, z$ G- o9 ~
  99. ;   Production Value: Off
    - P$ v- x( h. I9 W& [

  100. 9 r7 L( ?, q3 r5 S9 c
  101. ; display_startup_errors
    5 n6 }! C, L/ e5 V4 p4 l4 m
  102. ;   Default Value: Off; Y+ G$ m) s" @7 O& [2 `( _
  103. ;   Development Value: On9 S# O$ Z9 D0 Y! d5 b
  104. ;   Production Value: Off
    ' p8 z$ j1 m. Z& [9 i% a
  105. ) O! j7 X$ |3 o. {5 u' _
  106. ; error_reporting+ q! p3 a8 ]- b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % i) Q, p- y$ Y5 g7 h
  108. ;   Development Value: E_ALL! b' t$ }+ T; T" e7 V; T7 m
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 y5 B% {3 y1 S* e/ W- W, E4 g
  110. . x( q  a7 t! k, ?
  111. ; html_errors' i  M5 I  s$ S( C
  112. ;   Default Value: On% P9 ]& E. H- @( Q4 z8 x( i- Z
  113. ;   Development Value: On
    5 r9 u6 p6 N& b, V
  114. ;   Production value: On) M- x& I% s7 l% D

  115. ' o7 c, k! g( Z
  116. ; log_errors
    $ E. `1 U$ C% p5 z& G
  117. ;   Default Value: Off
    9 ?' r$ a6 |9 B9 s9 K
  118. ;   Development Value: On
    6 I. V% g  i* n3 b: A0 Z
  119. ;   Production Value: On
    9 |. B' Z  R+ i6 T5 Z( e
  120. / z! O/ Q& k. {$ P; N
  121. ; max_input_time
    , w' d' d  T3 T- y- R+ ~8 q7 e
  122. ;   Default Value: -1 (Unlimited)
    ! E$ e2 x2 {* A: V- R$ H! m8 H
  123. ;   Development Value: 60 (60 seconds)3 h/ i, e: S/ d2 s. V
  124. ;   Production Value: 60 (60 seconds)
    2 I# M( s$ z& w# D6 ^, u

  125. . Z" e5 ~0 a- }7 I
  126. ; output_buffering
    1 \9 {; I" C* E7 U3 r8 }  ^/ w9 Y
  127. ;   Default Value: Off" z" h( Q2 X' G/ Y* q
  128. ;   Development Value: 40966 l4 j0 h+ w( r- ~4 N2 \! E
  129. ;   Production Value: 4096
    0 u# d) {/ n. h4 _3 J1 o! K5 I" A

  130. , X4 X. m. ~' I% U5 ^( R
  131. ; register_argc_argv
    ! I2 P, Y0 ^- U0 f& s
  132. ;   Default Value: On* |7 N- X# j" |2 G$ b8 X
  133. ;   Development Value: Off" v" S0 T) g6 `; z
  134. ;   Production Value: Off
    ) R$ K4 X% a' z+ L! ]1 C( {( z

  135. 5 W9 ]7 _  L5 E9 _9 O
  136. ; request_order3 U  E7 _" p. n( S! P5 H
  137. ;   Default Value: None* h; j* E. @! p: Y
  138. ;   Development Value: "GP"
    * `5 \- m$ _9 A% B, C
  139. ;   Production Value: "GP", m& r( ~2 @6 z) Q* a
  140. 8 `( G7 X7 X9 T1 n- ^! g
  141. ; session.gc_divisor
    : z' y( C2 M8 Z; d) a  m
  142. ;   Default Value: 100" A3 `+ x1 L; `' X' u1 T% S2 L
  143. ;   Development Value: 1000
    7 P# y! V3 d3 z4 |# o$ u
  144. ;   Production Value: 10006 o3 C* X; r2 W) L, X5 G7 A( l) r4 Z7 b

  145. 3 H' T2 o$ v1 b
  146. ; session.hash_bits_per_character3 c  \9 U2 S8 @9 A1 M; e
  147. ;   Default Value: 4
    9 B2 r" R3 M: y
  148. ;   Development Value: 5% P% E( x' d5 g
  149. ;   Production Value: 5( q  u- z2 Z2 P$ r4 a% H. c: T

  150. 3 ^  i- [7 v# \8 M, `2 s
  151. ; short_open_tag
    # d$ R8 i5 q( @3 `+ J
  152. ;   Default Value: On
    : o8 Z( b3 T; x. y; w# P" b
  153. ;   Development Value: Off
    , Q* g+ a4 c/ v7 o  @/ E$ J
  154. ;   Production Value: Off9 E7 p( W, a  @: W$ P& x$ K

  155. 8 _7 }0 \0 O$ M2 A
  156. ; track_errors
    * a' ^0 R4 S; W/ [
  157. ;   Default Value: Off- e- N! ~5 ]0 E! G3 @
  158. ;   Development Value: On/ u) v4 P5 [6 z! e' y
  159. ;   Production Value: Off
    % ~8 I0 O8 X  T- Z9 k9 V
  160. : f: c9 B$ ]7 s8 v- E# p2 k5 w
  161. ; url_rewriter.tags
    ; }  U. ^2 ^9 ^. p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="- D5 n$ h3 ?$ F) A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' j% b0 U7 Y) j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") Y" }9 j) R9 `; K( J1 A
  165. 4 m' X2 `9 u+ D- e' s
  166. ; variables_order
    / K- V! Z5 }$ p# \: [$ H' {
  167. ;   Default Value: "EGPCS"- I/ j8 R8 L2 a; ]; F
  168. ;   Development Value: "GPCS"
    # |% |4 F& a2 ]+ ]
  169. ;   Production Value: "GPCS"
    * H! ~( q" w1 q! P6 _
  170. ) q1 j7 V# S" q6 i
  171. ;;;;;;;;;;;;;;;;;;;;
    ! \2 X- u0 d' J! R- Q5 U
  172. ; php.ini Options  ;
    ; c+ E1 k0 O3 K/ S7 j( p& a
  173. ;;;;;;;;;;;;;;;;;;;;
    " ]* [( s0 P: E) m9 t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& q1 d8 J, t! R  M- F; u! Y, @
  175. ;user_ini.filename = ".user.ini"
    4 g/ b. ~" D/ Z6 m4 z

  176. : w0 p3 g# ]/ C  ^; R
  177. ; To disable this feature set this option to empty value) C5 u9 Q) s/ O4 x; f+ c
  178. ;user_ini.filename =
    2 A% ]7 @5 F! T  p2 C9 |5 x

  179. ( K# L, y# b. R. a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)% n) Z3 ~3 ]3 M% Z" \
  181. ;user_ini.cache_ttl = 300  l6 ~' f! C' Y0 @, T1 {# Q: A
  182. / g0 P0 l+ |1 @9 v6 E% ~9 o% Y; \
  183. ;;;;;;;;;;;;;;;;;;;;
    ! t+ h, k6 ^5 {  G; e
  184. ; Language Options ;
    + b' L) H5 U9 V( M0 g% V% v
  185. ;;;;;;;;;;;;;;;;;;;;- g/ g! a" M6 w2 @) n

  186. $ U% s5 J- j% v2 I( w* ?' k( a
  187. ; Enable the PHP scripting language engine under Apache.# m9 E  T+ q" B7 y4 [  o. z
  188. ; http://php.net/engine
    " L4 c/ Q6 l4 s) g: Y
  189. engine = On( i" ~& Z' I) y5 R( Z

  190. 3 Z) i* e- O) n' E6 U6 f
  191. ; This directive determines whether or not PHP will recognize code between
    / A' a3 E* i* z4 g! i! n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ) I9 i1 |5 s+ y' H& ?2 ~
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ; }9 T: d9 e3 B8 o4 c. b
  194. ; should be disabled, as enabling it may result in issues when generating XML* {# y& [, r  a; J2 Y# V0 i9 {* h
  195. ; documents, however this remains supported for backward compatibility reasons.
    ; [: h3 M& i+ M3 ~: ^, W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    6 J; ?- u8 j+ ]. S3 {+ N
  197. ; used regardless of this directive.
    ! j8 @6 D3 H0 C0 L; R. e+ ]( R
  198. ; Default Value: On2 v5 i+ u$ {/ |4 t
  199. ; Development Value: Off! A& O' o& w* G$ j# s
  200. ; Production Value: Off
    / ]  F* y; @' E% P$ w
  201. ; http://php.net/short-open-tag
    2 r: f. ?7 D& {" V1 ?- B/ Z
  202. short_open_tag = On" J; D, w6 y1 q9 h+ F3 F( t! U) J
  203. , s( K- E' h; c; c7 g3 p
  204. ; Allow ASP-style <% %> tags.( j7 V$ t8 P) h7 E/ ]
  205. ; http://php.net/asp-tags) i& J% u. G, I4 |
  206. asp_tags = Off
    / {8 d; a" L+ a  _

  207. 0 K% D7 c+ W3 {
  208. ; The number of significant digits displayed in floating point numbers.+ z5 l6 A* k0 N* Z; _- v
  209. ; http://php.net/precision
    1 P7 A/ H5 S9 t- `, ^# Z
  210. precision = 14- P; x% l5 b7 ?. |' V- d
  211. % |" g4 |7 B- ]8 C8 Y. I% u6 _
  212. ; Output buffering is a mechanism for controlling how much output data2 p$ @3 L1 a, x: v" _3 q8 T" O
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    8 }# i1 E. K3 U+ F% z; x
  214. ; data to the client. If your application's output exceeds this setting, PHP! Q0 g7 |! I+ z0 s
  215. ; will send that data in chunks of roughly the size you specify.
    " v2 U/ j) q2 g1 h$ I) m% [. }( B8 _9 s
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    9 m" S* F  G" O5 T0 @6 E/ _
  217. ; interesting side-effects depending on your application and web server.
    : f2 U/ e5 `: q0 Q3 ~& \
  218. ; You may be able to send headers and cookies after you've already sent output+ Y1 ?/ u. B& g1 ~
  219. ; through print or echo. You also may see performance benefits if your server is
    - w8 m$ W) u. m
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + }. d- i) y; f) N! x3 M
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    + V, @% q, c2 X5 D3 r8 Q
  222. ; reasons.
    " J4 O, k9 S  T; A" o. g
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    3 S! d& T) X$ Y1 Z; I
  224. ;   functions.2 G$ O) T( x2 G% L4 f; _8 [
  225. ; Possible Values:
    2 N4 r# b! O- a  h; u( w
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / }% [0 u  n; ~
  227. ;   Off = Disabled+ `  @- C5 Y2 C8 m8 k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' p5 B( c* M  P/ g3 X" J9 r) |
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : ?8 r- g) r/ b' p* n) w- {
  230. ; Default Value: Off# ~1 {& u# t9 X& O) z7 q: W
  231. ; Development Value: 4096- N  l) k& t; M
  232. ; Production Value: 4096
      O2 G8 M+ x* H" y" r
  233. ; http://php.net/output-buffering: a3 _3 ~  H# r8 P9 l
  234. output_buffering = 40969 V9 b: W2 d; E- t

  235. 4 y- \) w7 l' @
  236. ; You can redirect all of the output of your scripts to a function.  For2 c% U/ R1 @) d( z' d
  237. ; example, if you set output_handler to "mb_output_handler", character
    # Y) |3 c) V* J" g' }
  238. ; encoding will be transparently converted to the specified encoding.
    ' m8 U# r  F, g( K
  239. ; Setting any output handler automatically turns on output buffering.
    ' I  a7 i* V+ L+ h4 r
  240. ; Note: People who wrote portable scripts should not depend on this ini6 ~9 Q5 Q: ^, C  v! k. J, x
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    + Z) ]* _( o. ?( r/ T& q. _2 G
  242. ;   Using this ini directive may cause problems unless you know what script) E+ D2 O7 z8 `
  243. ;   is doing.
    3 j: J. n. E$ y# F+ ~* |5 {
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ( I6 C* D6 q. c- B
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".4 K1 {6 y& Q+ Y3 }* |) A9 N0 U: ^
  246. ; Note: output_handler must be empty if this is set 'On' !!!!. r3 m, M1 x7 V4 y2 ?
  247. ;   Instead you must use zlib.output_handler.1 j+ j& ~: I$ p+ l0 e7 a
  248. ; http://php.net/output-handler
    ' M+ M1 l# P& d+ M# T! t
  249. ;output_handler =
    ) l; l0 e1 K4 ]1 d  E' j
  250. . x, r( `+ l7 \( |9 T) y/ }
  251. ; Transparent output compression using the zlib library
    ! m+ d" |# u9 R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 P$ o: n( f! ]# u/ E
  253. ; to be used for compression (default is 4KB)) ]+ U5 E  s- z1 X0 n% U! k2 a
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    / u3 P9 X1 K6 [9 V
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ) O) Z8 M# h9 I0 ?% c! p
  256. ;   compression. If you prefer a larger chunk size for better, R- x* x5 j9 O& e8 }8 B: T# ^
  257. ;   performance, enable output_buffering in addition.
    : a5 ]: X, W/ q7 B" x! L3 ?
  258. ; Note: You need to use zlib.output_handler instead of the standard
    6 q8 H; Y1 w2 V8 x
  259. ;   output_handler, or otherwise the output will be corrupted.1 v- N5 M. ], h) l! K1 R+ i
  260. ; http://php.net/zlib.output-compression
    4 ~; I$ r6 ^3 b4 e
  261. zlib.output_compression = Off
    * }7 d" R% v0 w) s! k
  262. ' x) e) `! ~) |$ \1 H5 ], _. `
  263. ; http://php.net/zlib.output-compression-level
    % W8 d6 }2 W/ g' c0 S
  264. ;zlib.output_compression_level = -1
    % V+ C. G$ K, H' b3 ]  \3 H
  265. " \+ L- p$ v+ |; I+ a& ^
  266. ; You cannot specify additional output handlers if zlib.output_compression
    5 {3 {7 o% }- j- A, F2 [& V6 g. E; n
  267. ; is activated here. This setting does the same as output_handler but in, z: f, T# c7 r" N$ U) W1 j! ^6 x! E
  268. ; a different order.
    # z+ J' ]- H4 n( i# _
  269. ; http://php.net/zlib.output-handler
    - M0 S3 Y+ x8 g1 T
  270. ;zlib.output_handler =
    5 R, b: B' t1 B5 @

  271. & l- U* D9 b: i: e2 g
  272. ; Implicit flush tells PHP to tell the output layer to flush itself: D; x3 e8 ^5 Q+ B1 }- t1 J0 f8 y
  273. ; automatically after every output block.  This is equivalent to calling the
    0 s3 k- i, _9 K. c. G0 a) i. L
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ; g& v, e: G! H, m. D
  275. ; and every HTML block.  Turning this option on has serious performance- }! w$ f, o4 D8 g, ~; ~  B9 [
  276. ; implications and is generally recommended for debugging purposes only.
    $ \. X# G; s( a4 l) |" O
  277. ; http://php.net/implicit-flush; U" a8 o) h- n
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ J* v* q; \+ S8 k! E: [
  279. implicit_flush = Off" H/ ~) D1 M9 H9 Z" j
  280. ( Q! E6 \* J" H  M# o" `9 Y
  281. ; The unserialize callback function will be called (with the undefined class'* v3 ]  h3 Q2 G. t
  282. ; name as parameter), if the unserializer finds an undefined class1 k3 `2 ]  P3 z# X" d) q
  283. ; which should be instantiated. A warning appears if the specified function is
    : m' G; h" |1 @" x0 @
  284. ; not defined, or if the function doesn't include/implement the missing class.5 r1 {  K5 v& K7 H4 _4 }
  285. ; So only set this entry, if you really want to implement such a3 }, x. r  ~. h7 y& d2 {5 {
  286. ; callback-function.
    ! B/ m0 M9 c2 D, f) F1 _
  287. unserialize_callback_func =
    # U% H  q6 ?* J# l/ C9 h

  288. - q  f* R/ P# y# R1 O% z6 t
  289. ; When floats & doubles are serialized store serialize_precision significant- S& s6 ^0 ]1 _4 s# c
  290. ; digits after the floating point. The default value ensures that when floats
    * H* s+ Z  R5 u2 @5 F
  291. ; are decoded with unserialize, the data will remain the same.
    : z% V6 O7 {( }, h
  292. serialize_precision = 17
    & K  {" K6 q9 z, s  x

  293. 2 l$ D! K8 m! q9 B
  294. ; open_basedir, if set, limits all file operations to the defined directory: _- [8 X) A' i" [- M6 Q
  295. ; and below.  This directive makes most sense if used in a per-directory
    ) k2 q3 w5 R; Z. B9 o, s. r
  296. ; or per-virtualhost web server configuration file.
    1 H* W3 _8 s* N6 U
  297. ; http://php.net/open-basedir
    & o$ P8 B- B3 R) W5 t* G  x: S
  298. ;open_basedir =* B2 v% z0 ~. k" A) i% n* ?, C
  299. ! p, w, z5 O7 a# q0 y1 r/ {! E) R
  300. ; This directive allows you to disable certain functions for security reasons.+ |% O, m" N* M$ [/ w
  301. ; It receives a comma-delimited list of function names.) ^5 W7 n3 [; n( J0 C  q
  302. ; http://php.net/disable-functions" W. j! t, l. Q1 N3 ~2 U
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! R5 V% L( N2 b/ |$ s
  304. 6 ^9 @0 _6 H5 Q( q3 z
  305. ; This directive allows you to disable certain classes for security reasons.# B  I1 r3 {, [  {5 j
  306. ; It receives a comma-delimited list of class names.% H5 P6 W9 D6 `& K4 N2 z
  307. ; http://php.net/disable-classes
    2 c2 I1 L: w& q) a
  308. disable_classes =
    # A2 T0 }0 k3 s7 R

  309. / c: Z# C. S: S+ U; ]! B8 |
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : a8 C1 j+ H2 X: m& g. P
  311. ; <span style="color: ???????"> would work.3 e( H% x6 n$ I# o$ l+ S
  312. ; http://php.net/syntax-highlighting
    ) ~7 s. m1 m- J1 b& Y( A
  313. ;highlight.string  = #DD0000/ F% H) d2 \# m; ^/ W2 W
  314. ;highlight.comment = #FF9900
    & I% m9 U8 P; h
  315. ;highlight.keyword = #007700' ^" m, v& f; _% u2 ?
  316. ;highlight.default = #0000BB6 Y8 |% V& P8 R) A! j6 a+ g6 e
  317. ;highlight.html    = #0000003 {( \$ C2 |/ D
  318. : D: d. R7 f* {
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    6 z) l0 r/ S0 ]3 x& ~( [- b! q  U
  320. ; the request. Consider enabling it if executing long requests, which may end up: C# e5 M) h7 W( r+ s% U  y! }
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. K  X/ I# `: e. Z- M
  322. ; is to disable this feature.
    ' c( o4 H; A8 @$ ]+ z9 K7 x
  323. ; http://php.net/ignore-user-abort) ?* u5 b( a: e$ {/ T7 b/ _+ ^" Q+ l
  324. ;ignore_user_abort = On* c3 v5 U1 B1 ^" b

  325. ( `" \2 g% F+ L4 ~! n
  326. ; Determines the size of the realpath cache to be used by PHP. This value should1 S+ g4 k5 V/ r
  327. ; be increased on systems where PHP opens many files to reflect the quantity of/ A$ A/ }: W. N( W; J1 @; J" X
  328. ; the file operations performed.) R' ]) c3 w9 @
  329. ; http://php.net/realpath-cache-size
    / @& \% J3 {3 H. B( k( K
  330. ;realpath_cache_size = 16k
    ! n8 z* d  B& w5 y  ^/ J

  331. 3 i: b/ m; q7 R
  332. ; Duration of time, in seconds for which to cache realpath information for a given' t+ ^! @3 I- Y) l- H) ^
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    3 L* H' m* D8 }5 r/ v
  334. ; value.' j7 l( _9 q# z# m: S9 _9 Q0 i
  335. ; http://php.net/realpath-cache-ttl
    6 `: A6 y( y: _2 o/ f' P0 f) ?
  336. ;realpath_cache_ttl = 120* f5 r+ t: q4 H& v/ j
  337. & F2 u  K# h" q
  338. ; Enables or disables the circular reference collector.
    ) I/ [5 F. [. D4 N2 Y% c. i
  339. ; http://php.net/zend.enable-gc
    2 x; l& `) X3 \7 W
  340. zend.enable_gc = On
    % d( b/ H5 D' F3 g( N! U' Q

  341. % u, O3 N! ^  {7 r- @5 N7 m* [3 s
  342. ; If enabled, scripts may be written in encodings that are incompatible with1 P1 I  ]  V4 `3 y9 y7 t% U3 T
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# {/ j7 K) K1 v$ E9 l* l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    6 n( A' |5 P. W" D! q) G5 j  y# A
  345. ; Default: Off9 g! ~1 Q# _; j/ f$ b# R! J: ?
  346. ;zend.multibyte = Off. [5 d4 f+ L! s7 f* p

  347. : S6 |2 N  F, q% h5 P" n
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    + Y; D1 g3 G, S2 s7 ^5 t" Y% O
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    - V/ v6 _9 Z" Z  Y/ G
  350. ; Only affects if zend.multibyte is set.
    , I. z; z, @/ G1 y$ r; Y- u! Q
  351. ; Default: ""- {, J* W1 z) v: V: t- P
  352. ;zend.script_encoding =7 H/ Y0 J3 W# {6 Y
  353. 2 [% F6 H6 B5 l+ c5 z. f8 l
  354. ;;;;;;;;;;;;;;;;;& o7 M8 Q: o9 i+ I7 w
  355. ; Miscellaneous ;
    ' L3 q0 J. u+ Q
  356. ;;;;;;;;;;;;;;;;;
    1 b) X3 Z& h$ W3 ^/ s) |4 ~
  357. ' J5 m, U# |& q5 I* Y$ C  o" c( m
  358. ; Decides whether PHP may expose the fact that it is installed on the server1 F* ?5 A( U: E1 f4 n
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) e, ?: N* q; l, ]* J2 o
  360. ; threat in any way, but it makes it possible to determine whether you use PHP* r% ?# e' v1 p8 W6 ?+ ^
  361. ; on your server or not.5 ^* {! Z: @( U+ a/ E1 R
  362. ; http://php.net/expose-php
    . Q3 O% ?1 V, o5 T$ o; x: v
  363. expose_php = On
    ; s& j7 z4 m! W1 a! X) Q
  364. : \* Q: [9 N; l" Y, t& M' [7 ]. N
  365. ;;;;;;;;;;;;;;;;;;;% j% Z& \6 m. z6 j
  366. ; Resource Limits ;9 f& u. ]. v5 @
  367. ;;;;;;;;;;;;;;;;;;;/ s$ e- v' ~5 Y4 P% p

  368. % i# F. {- s; m
  369. ; Maximum execution time of each script, in seconds+ T% a: L/ b. j4 L* M6 {6 }/ C
  370. ; http://php.net/max-execution-time
    % R. e% k+ e7 s9 a
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    % p9 y- l* i1 k1 u( r
  372. max_execution_time = 300
    ! D6 T4 t) w7 L( H+ T% Q
  373. ! y6 F6 s5 j/ M  r9 ^  t. U
  374. ; Maximum amount of time each script may spend parsing request data. It's a good# i: j* ?. j6 S% P
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ( m! s& T' B. t) F( m! C$ t  [! K
  376. ; long running scripts.
    5 j6 Q2 c; V1 m% X, q: a" o( t$ T9 g
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , f3 ]0 w, z" C& L# V/ s
  378. ; Default Value: -1 (Unlimited)* F  g( k9 j6 m/ [* N
  379. ; Development Value: 60 (60 seconds)) a) t$ r( o, x) a6 i. p1 V* E
  380. ; Production Value: 60 (60 seconds)
    % f* G# `" s/ T$ \5 P0 x
  381. ; http://php.net/max-input-time/ U2 _+ m) E5 N4 V0 V
  382. max_input_time = 60
    9 Z% `2 D- r/ ]* p, `3 G
  383. , L. h) a" J7 y0 a; m
  384. ; Maximum input variable nesting level& c  ^$ x$ J7 X' e( p+ p$ S
  385. ; http://php.net/max-input-nesting-level  h4 f; c! X: H
  386. ;max_input_nesting_level = 64
    5 Q- m% j' K: n% l, C
  387. 2 J' W# \( O" _5 F4 f8 c0 F2 n
  388. ; How many GET/POST/COOKIE input variables may be accepted" `% I/ G2 K! W! r5 d
  389. ; max_input_vars = 1000
      ]; f8 ~6 x$ K' T# \  _2 A

  390. 7 a7 f6 S% j4 O. W! T
  391. ; Maximum amount of memory a script may consume (128MB)
    4 I0 i5 f) k1 I' ]8 [  k+ w7 ~
  392. ; http://php.net/memory-limit
    8 |) o6 `+ d) r( c
  393. memory_limit = 128M
    % m& V# |, d  V# {

  394. 2 O0 {5 x5 h# }) n. M  Z, g  \4 x
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* H9 H  v8 N: D, K" \8 i
  396. ; Error handling and logging ;7 b" [' g; D7 C2 m
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. A- R* }' i( b

  398. 2 b# ?" e1 r; z+ _( X
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    6 H5 b' _- |( @2 c
  400. ; it to take action for. The recommended way of setting values for this
    8 A+ d* f: m2 C9 V
  401. ; directive is through the use of the error level constants and bitwise. B; L+ j1 A; n$ h
  402. ; operators. The error level constants are below here for convenience as well as& s2 W" A) {$ x0 z
  403. ; some common settings and their meanings.
    0 g' ]1 {: @: r
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 g/ _( d- }2 E' z
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 U1 e, z7 U% q4 r! G7 K" M: S: c6 P
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    5 g( Z4 z) P- Z; R3 c* B
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    - K1 X8 ~' N1 k1 U) \
  408. ; resources complaining about best practices and coding standards. That's what2 J1 T# ?* b. b# A& g
  409. ; development servers and development settings are for.0 {8 h" t' z6 j+ ^
  410. ; Note: The php.ini-development file has this setting as E_ALL. This# ^) C7 I0 g/ E, Y4 B. d! n* Z0 k6 [
  411. ; means it pretty much reports everything which is exactly what you want during
    8 x3 b$ ]5 J! L2 ]- U3 I6 U& t5 S
  412. ; development and early testing.
    / Q, r# w0 K( Z4 ~/ o  \
  413. ;8 D7 \; i  b+ p3 K& F
  414. ; Error Level Constants:
    0 V$ g5 X# {( @- @
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    4 ^1 \3 x( d! Y
  416. ; E_ERROR           - fatal run-time errors5 f( T) M% d5 [+ q, f9 u" B( T/ K
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : l2 n, {' f8 [+ c+ ~* `9 X
  418. ; E_WARNING         - run-time warnings (non-fatal errors)8 w; J" ~' @! s2 K/ [) B* F$ Y* K
  419. ; E_PARSE           - compile-time parse errors1 q. Y' h: B5 h. Z( W
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) x' V6 Z6 T8 E- M+ j) s
  421. ;                     from a bug in your code, but it's possible that it was" y- F2 m$ n: C& w
  422. ;                     intentional (e.g., using an uninitialized variable and
    6 Y- L9 d  G+ w' V, c
  423. ;                     relying on the fact it is automatically initialized to an
    0 K) ^* O8 X  U- K
  424. ;                     empty string)3 r6 c% j% Z" i% H8 H
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ! o% n) w  B9 _9 ~* z7 P. g' B
  426. ;                     to your code which will ensure the best interoperability% s) t) L* p- o5 M8 X% C7 y* `- ]
  427. ;                     and forward compatibility of your code
    / ?) Z. Y' I- p7 b: ?
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" C4 b. t8 e2 Q0 o+ F, U& q9 t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's: k3 j+ l4 ?6 x1 E5 S
  430. ;                     initial startup& N4 N  d) z8 m5 ?7 y1 Z8 ~, ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 R2 z, I3 x, J9 ?, ~
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    1 G7 L. x  l# i$ k8 d& M
  433. ; E_USER_ERROR      - user-generated error message: H0 @  l7 E9 ]& X6 r9 F
  434. ; E_USER_WARNING    - user-generated warning message
    ( X% C( y3 o2 B: r& s3 P. Q, ]% o* x
  435. ; E_USER_NOTICE     - user-generated notice message
    9 Y. a2 {" R* o% v. H! ]/ R
  436. ; E_DEPRECATED      - warn about code that will not work in future versions# B; \2 o& |, o: \3 i, H4 G
  437. ;                     of PHP
    + V" D; d9 _' j
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " e+ M! w& L' ?
  439. ;6 l6 D% L8 Q: y2 b" L
  440. ; Common Values:
    ) A7 M8 a! t: n& r& s6 {8 D
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    9 o& v2 k- r4 B( }% Y
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! D6 y: H  G/ o$ C1 R# l, ^  _/ W
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) l6 U$ F' G5 j: g  W
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)' [1 Y8 x2 _. t$ r4 @* l" l+ Q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % O# I  r4 a/ P0 ^+ B
  446. ; Development Value: E_ALL
    / g9 [7 q4 n/ ]; H" X' w
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; b- [/ y4 Q* r: y5 T2 b# w
  448. ; http://php.net/error-reporting; R- O# \! F/ y* V( O
  449. error_reporting = E_ALL & ~E_NOTICE
    - J0 g" o9 K2 q. k8 i3 p+ |6 g
  450. - J0 U2 E% I9 j# E( |# |) C6 p7 t
  451. ; This directive controls whether or not and where PHP will output errors,
    2 h. t/ r/ w$ c" I
  452. ; notices and warnings too. Error output is very useful during development, but
    # b7 r, S! @) B1 X! S  E
  453. ; it could be very dangerous in production environments. Depending on the code
    8 j4 P: p6 B3 i: _+ g
  454. ; which is triggering the error, sensitive information could potentially leak
    - P! R( `, m5 v; K1 i5 `. A& J
  455. ; out of your application such as database usernames and passwords or worse.
    ) ]% u8 f! t8 y+ }; p$ m
  456. ; For production environments, we recommend logging errors rather than
    ; B$ h% x- N1 m' Q9 k5 E* P
  457. ; sending them to STDOUT.
    . |% ?4 N/ w. k: {
  458. ; Possible Values:
    * l2 H& H7 A, m) ]$ z
  459. ;   Off = Do not display any errors
    4 L+ C  l9 W$ y( }0 k
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): K" e# i" H5 ]
  461. ;   On or stdout = Display errors to STDOUT
    $ W' z$ P3 ]) I5 W3 m0 p
  462. ; Default Value: On+ J5 V8 q5 S4 u. ^7 k  V1 M
  463. ; Development Value: On& _6 K7 s5 S& M! H
  464. ; Production Value: Off* R1 |# y6 @2 @$ D- V4 @$ f- y
  465. ; http://php.net/display-errors
    . N* \+ y, V. T3 s, k4 B
  466. display_errors = On
    ) e8 d. K* a8 f, v3 p6 ^

  467. & N0 ^- s* M1 E) {
  468. ; The display of errors which occur during PHP's startup sequence are handled
    + y& N3 e8 ~, n9 r- q- z* o
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    0 x; T* A3 D8 t/ u- Q8 T
  470. ; errors from clients. Turning the display of startup errors on can be useful in% X- U+ S8 z8 M+ o/ N8 E$ L  G$ l
  471. ; debugging configuration problems. We strongly recommend you
    4 T, A9 h, C* l' B0 _2 B( s
  472. ; set this to 'off' for production servers.6 s' t) g; ?0 k! K7 d$ T3 A: `: G
  473. ; Default Value: Off
    5 B- H! x" H* M& V6 y
  474. ; Development Value: On
    8 Y+ l' g/ Y* T% }8 C
  475. ; Production Value: Off
    " p: _3 O4 w$ u
  476. ; http://php.net/display-startup-errors
    5 H) w7 q4 n7 a  e. V& Z' S$ s
  477. display_startup_errors = Off! f% K% G2 }, `. j1 m. }+ z

  478. 6 `) {7 P3 {' V7 [- I  w
  479. ; Besides displaying errors, PHP can also log errors to locations such as a4 A* ^3 e: G6 W$ r) ]! ]
  480. ; server-specific log, STDERR, or a location specified by the error_log+ M, S7 K7 ^* o+ O# u
  481. ; directive found below. While errors should not be displayed on productions
    , Q- a8 |6 Z% L% s" {% c2 E& H
  482. ; servers they should still be monitored and logging is a great way to do that.- ]  w. c( J: Z% a& m5 l6 N  U1 L! _
  483. ; Default Value: Off' l) n+ P  M  b
  484. ; Development Value: On
    # ]4 j8 m/ D8 |; A" i; W# F
  485. ; Production Value: On. C/ ~- w9 h6 L* V
  486. ; http://php.net/log-errors" A6 Q6 @2 e$ O. Q* R# p
  487. log_errors = On/ q) o9 ]; ?2 t: }$ g  }
  488. 0 N7 w) [9 n, ^, q9 I0 N9 O
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 x9 \, b' I# P5 Q3 I
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    + Q- e; M. F- ^1 u4 G
  491. ; http://php.net/log-errors-max-len. |. y+ u, x5 a5 j9 h( D
  492. log_errors_max_len = 1024- I! w( O; A! p

  493. ; |$ A9 Z7 n( x3 u: B+ o
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same. Q; O6 J8 B+ T% x/ x; `
  495. ; line unless ignore_repeated_source is set true.  Z& n5 d! B9 j& v& N
  496. ; http://php.net/ignore-repeated-errors# g" h- B- Y  f: ~& ^* i
  497. ignore_repeated_errors = Off4 m& f% p' F: M; N. l, M
  498. 0 W( `. u" K6 {0 r! }
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 g# A. `" S/ D+ s: l
  500. ; is On you will not log errors with repeated messages from different files or" [  d0 R2 h# R4 ~0 H
  501. ; source lines.9 z' q+ ?' E; f" ?
  502. ; http://php.net/ignore-repeated-source
    - y3 `8 W' d! T
  503. ignore_repeated_source = Off
    ' y, I& h7 E( [8 \  o
  504.   c, U% F3 C' i( k8 v" C
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , c/ c* {1 S# x# w, z0 ~7 L
  506. ; stdout or in the log). This has only effect in a debug compile, and if( d/ U' Z- c9 ^- M3 r. o- M; X
  507. ; error reporting includes E_WARNING in the allowed list! j1 w8 t1 Z' c$ c+ s
  508. ; http://php.net/report-memleaks
    4 l# t" r$ j+ }
  509. report_memleaks = On
    2 L$ x% G* G- L% x
  510. 4 r3 c0 s- J8 J4 K
  511. ; This setting is on by default.
    $ W" _% V6 P, ~1 t
  512. ;report_zend_debug = 00 Q! X2 b5 O4 y/ x; G' R, t: ?
  513. ; B1 X; Y& G/ c
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value) c) C5 B; @$ s; w8 n/ [# ]; s+ i" k
  515. ; to On can assist in debugging and is appropriate for development servers. It should) ]9 b/ \1 }7 h6 ~: U
  516. ; however be disabled on production servers.
    7 v4 e% l5 c2 Z+ @) n5 n& \
  517. ; Default Value: Off
    * c6 |4 p8 a! |, a* Q7 F% Q
  518. ; Development Value: On
    2 a5 B& c  w, G; O5 l- C
  519. ; Production Value: Off' K4 q6 I( s6 y$ P* A
  520. ; http://php.net/track-errors
    # T) F/ Z  S: `  \
  521. track_errors = Off" m$ E1 n0 B" r/ ?
  522. + F; Z, X# |% d7 U/ y, s  L# h
  523. ; Turn off normal error reporting and emit XML-RPC error XML2 C) T# s+ X" ]5 l5 H* K% ?
  524. ; http://php.net/xmlrpc-errors
    5 n: w6 ?& ?& [& Q9 j3 b
  525. ;xmlrpc_errors = 0" |; q. h6 c0 v# ^
  526. # n. M% j7 b5 P/ V* h% n9 z
  527. ; An XML-RPC faultCode
    - E" B/ Q0 l# F! l6 i4 w
  528. ;xmlrpc_error_number = 00 b: G) Z6 J: l% F* H. q

  529. 0 q; {  y0 o7 Q% x1 u8 R) x
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ; _  `$ }3 @6 f/ ?5 Z+ p. X9 g8 K
  531. ; error message as HTML for easier reading. This directive controls whether3 \6 y: Z# \2 ^  P7 t$ y9 I7 p
  532. ; the error message is formatted as HTML or not.  G9 I! @' n4 |! z$ C8 M: N9 o; V
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI- p) |( @* r' l+ `5 D+ W
  534. ; Default Value: On
    5 S( t7 _- Z( Z5 y  R! o
  535. ; Development Value: On; M, u" T' Z( c  }
  536. ; Production value: On
    0 F, E& _; j8 b2 }( n6 X) y
  537. ; http://php.net/html-errors
    9 L: S/ v) V4 S3 I
  538. html_errors = On6 w$ U2 |5 G4 L0 T4 w
  539. 5 [3 ?% L3 |. ^8 V. I) |
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  J6 e6 _: X3 F: t. N; O8 h
  541. ; produces clickable error messages that direct to a page describing the error3 y; m% ~7 u, t, w
  542. ; or function causing the error in detail.# ^6 e1 r( L$ ^( [1 Q& k) e$ @
  543. ; You can download a copy of the PHP manual from http://php.net/docs0 X) C; ^0 p7 [" L
  544. ; and change docref_root to the base URL of your local copy including the
    ( P& i. B- i. `( h+ u( n
  545. ; leading '/'. You must also specify the file extension being used including
    $ X6 u* d  U$ e; W7 O# |. X9 o4 C! P  F
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    , d! Z! a6 O. R( m5 F5 i6 u1 Z' r( z! ~. s
  547. ; case no links to documentation are generated.
    3 e4 w" l4 W. Q* M
  548. ; Note: Never use this feature for production boxes.) l  {: Y6 e7 q! M* _/ m' W( P
  549. ; http://php.net/docref-root
    6 T% [( }3 O" f( [& V- `
  550. ; Examples
    . M9 E9 O$ g* K0 ]4 I4 n, f
  551. ;docref_root = "/phpmanual/"/ V9 E  n" ?, T, j5 F+ V; I

  552. ! ?4 h9 E7 O$ y
  553. ; http://php.net/docref-ext0 ]) }7 z, J; z8 l/ b) n
  554. ;docref_ext = .html/ `5 \1 |, V: U9 X+ H& C) s

  555. $ {+ g0 S% ]1 i; X. B! R
  556. ; String to output before an error message. PHP's default behavior is to leave$ m7 e7 S" ?4 q3 l! j0 ]
  557. ; this setting blank./ Y# n+ `6 f; a0 Q! b& ?$ P6 p" _
  558. ; http://php.net/error-prepend-string& l; S; t3 @. n; K% U6 C* a
  559. ; Example:
    3 c" T0 S' o! T- y* r
  560. ;error_prepend_string = "<span style='color: #ff0000'>". [+ j8 y2 U' C: S0 Z: m) r' N
  561. ) _0 p" f2 A% z' i- S1 P' q
  562. ; String to output after an error message. PHP's default behavior is to leave
    4 L$ U9 B) v; p# Q4 X9 p2 k. ]- ]
  563. ; this setting blank.
    ( ]: i* Z+ |* h1 b  I2 x* d
  564. ; http://php.net/error-append-string* v3 J4 y4 N7 |3 C% V# C
  565. ; Example:
    . l$ |1 q- W+ Z
  566. ;error_append_string = "</span>"2 {; B6 r; R4 s& o0 X( z

  567. 6 l& r8 P2 f) H5 l0 d
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    2 o9 t1 L9 p9 S4 o, a7 t
  569. ; empty.' \. W$ ]5 h3 ?* n$ F- i
  570. ; http://php.net/error-log
    1 n7 s( \' ^: k
  571. ; Example:
    ) w" n9 E! S6 T1 M9 z+ ^
  572. ;error_log = php_errors.log; Q- S# r9 }2 w/ y/ m6 J
  573. ; Log errors to syslog (Event Log on Windows).
    " k9 L; K  V7 L3 C! q/ s8 j* J
  574. ;error_log = syslog
    , k. f4 `( [7 W8 ?0 g

  575. % o& |& g4 \" X) U+ @7 s
  576. ;windows.show_crt_warning
    8 w1 l, l( d% z
  577. ; Default value: 0# x) w1 K8 _! n3 Y$ ]- h
  578. ; Development value: 0
    ! s) [) _# l0 C% f1 ]
  579. ; Production value: 0
    ; o) C# _3 r) `) w

  580. , ]3 K1 B3 w/ F9 R# ]
  581. ;;;;;;;;;;;;;;;;;2 K9 F% x, P' Z( S" m" j: P+ s; M$ n8 l
  582. ; Data Handling ;
    & ^) e. v! l! ?' @6 t  M6 `
  583. ;;;;;;;;;;;;;;;;;/ h& t, l! u/ @
  584. ! ?/ [% f% e5 f0 [3 X- r# {& M
  585. ; The separator used in PHP generated URLs to separate arguments.
    , I" m7 T+ a( c( ^) \
  586. ; PHP's default setting is "&".
    5 W% N! e* p0 e
  587. ; http://php.net/arg-separator.output/ u3 [; d, A* o
  588. ; Example:6 k6 E2 C2 _% f( Q+ t
  589. ;arg_separator.output = "&amp;"7 i% M2 f; p$ p4 K: w: M0 \

  590. ( H! i, v8 d- @9 w6 G
  591. ; List of separator(s) used by PHP to parse input URLs into variables.2 d; ~0 W% m4 a% j
  592. ; PHP's default setting is "&".$ ]: w6 ^5 N/ s
  593. ; NOTE: Every character in this directive is considered as separator!1 t1 h2 u, c. u- p# g
  594. ; http://php.net/arg-separator.input
      w6 g# ]6 W, l0 {' V, x0 p
  595. ; Example:6 \+ Z$ K9 H: M; C4 y% X) @; N  y5 S  Y5 H
  596. ;arg_separator.input = ";&"
    ' n  c# b( i9 ]& H

  597. 8 z1 `. g6 s4 B, i) N' t0 q8 Y
  598. ; This directive determines which super global arrays are registered when PHP* T5 w( w, B* b
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    8 k; p5 \6 |7 {7 m- r+ O) x: D
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 r0 z, _* Z& X: V: B. ]& W: y# T
  601. ; paid for the registration of these arrays and because ENV is not as commonly% A/ v$ @1 ]! y' ]3 m0 Z
  602. ; used as the others, ENV is not recommended on productions servers. You' R: `4 m. k" P9 i- X5 {
  603. ; can still get access to the environment variables through getenv() should you
    * Z+ G# N5 Q- X$ K
  604. ; need to.
    4 i1 {) d5 H4 t* m; T8 ~" n# g
  605. ; Default Value: "EGPCS"5 Z0 ^% b3 J3 Y9 N
  606. ; Development Value: "GPCS"
    ; {5 J& q% p! g6 h4 L! _! D# Q
  607. ; Production Value: "GPCS";% |6 g) }) s5 _9 F
  608. ; http://php.net/variables-order
      t; a; F. y1 w0 S7 [4 ~
  609. variables_order = "GPCS"
    . q( P4 }+ F, X, G; d! @% R

  610. ( u, s# S/ {5 i7 x, W. [
  611. ; This directive determines which super global data (G,P & C) should be
    * V& V$ |! H4 I6 E1 N
  612. ; registered into the super global array REQUEST. If so, it also determines
    . h/ i( t0 i5 l% E/ D
  613. ; the order in which that data is registered. The values for this directive
    % q- L9 Z5 t( O- n5 z4 @
  614. ; are specified in the same manner as the variables_order directive,% e/ i1 {/ B/ b: f0 Z3 d
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    & D* I& M- h7 W* A; H  }. i4 O
  616. ; in the variables_order directive. It does not mean it will leave the super
    # y+ {0 V* s8 n7 x% C7 M
  617. ; globals array REQUEST empty.
    ; T! {1 p( u- G
  618. ; Default Value: None
    / P& ]3 K# R' q' Z/ ^  z- N( j; c
  619. ; Development Value: "GP"* {* ^* Y) s  U% {1 r) a$ [2 Q) O
  620. ; Production Value: "GP"# C+ ]1 Q3 d* w6 c/ g) \
  621. ; http://php.net/request-order$ a( O' G: ]6 q6 h
  622. request_order = "GP") M. e; u8 X: Y' _( Z$ J

  623. ! H6 Z+ ?) H$ `& Y
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / {& M6 E! s6 e0 @/ _2 N' ^
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 q( M, m/ V" k9 h2 A
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ; I7 \& t6 @6 f1 o0 h8 [
  627. ; that were passed when the script was invoked. These arrays are extremely
    - p: D7 D1 c" ]) K; F) P
  628. ; useful when running scripts from the command line. When this directive is
    ; @6 A3 ]  q0 N$ `9 I. u
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 }9 N- z: L$ U/ U* ^* b- |
  630. ; a script is executed. For performance reasons, this feature should be disabled, J' z* K6 o+ e; V. N
  631. ; on production servers.0 Z5 N3 |1 O" c6 M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI( a& z6 L4 h  Q" T" f3 q% z
  633. ; Default Value: On
    " V+ w$ e0 O; Y
  634. ; Development Value: Off+ W! g0 }+ {$ h; p& X4 k- H( B
  635. ; Production Value: Off
    5 a0 K; n: }, Q5 S
  636. ; http://php.net/register-argc-argv" A+ I; f1 r/ }& G, Y4 R
  637. register_argc_argv = Off
    - l2 g( ^) ], a% E* b% s
  638. 6 l6 E; }5 B0 T9 i, U* k- h
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're% A! V. \$ U, V" ?
  640. ; first used (Just In Time) instead of when the script starts. If these1 Q4 Q, V+ c8 L+ E' k1 d/ H; H4 m
  641. ; variables are not used within a script, having this directive on will result
    ! F4 H0 w& p7 m" D7 Q
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled' s. \" A% T, ^8 y' \4 w, K' c% _
  643. ; for this directive to have any affect.# k7 B0 B0 Z# m# @* o8 }
  644. ; http://php.net/auto-globals-jit
    9 @3 }# w1 z8 o' S1 |
  645. auto_globals_jit = On
    1 G  d  z' a# I
  646. 1 J, K& n* P  K) e2 L) \
  647. ; Whether PHP will read the POST data.- @( H3 d% Y' p4 s6 _" R
  648. ; This option is enabled by default.7 a4 V; P0 b' C3 l! o
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 g* H! H2 X* f; T9 q2 [' Z: H
  650. ; and $_FILES to always be empty; the only way you will be able to read the% U, `: Z) h1 D2 C0 ~
  651. ; POST data will be through the php://input stream wrapper. This can be useful% R! A0 \% _9 K1 V' H
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 V. k  r6 f4 {+ i, F
  653. ; http://php.net/enable-post-data-reading0 G1 m: L2 Y- G6 m
  654. ;enable_post_data_reading = Off4 C( G' F9 N4 ^) u2 }$ j

  655. , f/ T0 p5 q) \$ g+ _
  656. ; Maximum size of POST data that PHP will accept.6 B8 T6 ^# A9 j
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 \$ h! |2 f$ X# ?0 q+ r
  658. ; is disabled through enable_post_data_reading.
    7 b/ K! M  F6 s- C! P; ~" i
  659. ; http://php.net/post-max-size( U2 k* }: ^6 \; u2 S3 Q
  660. post_max_size = 50M! P0 P) W1 _. z- ?7 ^7 H  _/ F

  661. * `3 ^1 l0 p8 Y3 N0 b; S
  662. ; Automatically add files before PHP document.
    1 I1 Z6 v3 s' e- ]& x2 Q3 v
  663. ; http://php.net/auto-prepend-file
    2 V% O9 S- g8 ^' f
  664. auto_prepend_file =
    ) a: \+ L# ?) B4 E" O

  665.   d9 y4 m  C% M. ?( r
  666. ; Automatically add files after PHP document.0 u1 S2 n" N) w; X, N
  667. ; http://php.net/auto-append-file
    - k. u1 o# F' g+ J* G8 {) C
  668. auto_append_file =  x% q4 a' V3 `* _. `/ ]

  669. & C* ]5 {8 T! z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    & {' I0 A  c8 Y' u$ ~8 n
  671. ; disable this, simply set it to be empty., L* h+ ]5 `9 ^; N2 d5 S+ j4 V: D
  672. ;
    3 N  Q( C% r7 f4 d
  673. ; PHP's built-in default media type is set to text/html.
    - F/ Z# Q' [$ g/ s- R  }
  674. ; http://php.net/default-mimetype
    ! ~# [7 a! Q% ~
  675. default_mimetype = "text/html"% p* y- W5 _* |; S" c, X( Z
  676. 3 g$ I, d) Q3 X4 f( f3 G" q! F' {0 N
  677. ; PHP's default character set is set to UTF-8.$ S8 P* c. \6 l* Z+ V8 \, R
  678. ; http://php.net/default-charset% N5 s* }. q1 {& ]6 g' C
  679. default_charset = "UTF-8"- ^6 h1 [) |# C# @3 J9 M

  680.   ^. |* Z4 i! L2 e
  681. ; PHP internal character encoding is set to empty.
    5 d, [! v  Q, T: M. w( I+ J- F0 F
  682. ; If empty, default_charset is used.
    ! I1 B+ \* z7 }) i" h! Z2 v. Q8 j
  683. ; http://php.net/internal-encoding  L* V: g. G" w3 @) i/ e. P
  684. ;internal_encoding =
    ' X: I6 N+ U! m

  685. : M" l9 Y& `/ l1 S
  686. ; PHP input character encoding is set to empty.1 Q* d. `- v# j% A, a; U  o
  687. ; If empty, default_charset is used.
    * u+ o* k9 [3 @' ]
  688. ; http://php.net/input-encoding9 v' Z) F* J6 {& G
  689. ;input_encoding =
    : W# l' r$ I' @- T; o

  690. & p' r- U0 V& n( {* q' O3 t- E
  691. ; PHP output character encoding is set to empty.+ }* ~: ^/ o( u9 Q
  692. ; If empty, default_charset is used.
    $ b! q2 L. O3 l9 j0 p+ ~
  693. ; See also output_buffer.
    + M1 O" b4 ?9 _6 F" O
  694. ; http://php.net/output-encoding
    0 L, }6 s, x- I6 i1 D0 Q# u" b, f
  695. ;output_encoding =
    2 }$ X  e2 E; d! y# V9 j

  696. $ Y2 c0 ^) \' H, ]$ U
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is$ O' I. E2 U' u/ I- {
  698. ; to disable this feature and it will be removed in a future version.8 f& }  w. Q! V; I: X+ P
  699. ; If post reading is disabled through enable_post_data_reading,
    . }6 h: k/ \/ P6 u5 K& E
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.% p' \( A- r  L, }
  701. ; http://php.net/always-populate-raw-post-data
    4 e' K3 M! O/ N. B5 o" |* |$ s7 T
  702. ;always_populate_raw_post_data = -1
    4 v5 d, A: T/ N  b: L  B
  703. 7 D9 x# [; ?* R8 r3 {% J
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & b. ~  c9 Z7 v
  705. ; Paths and Directories ;5 [/ F/ ]+ \3 h
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % E' V/ ~5 N1 D1 S

  707. 8 m# |* O) }$ G" m
  708. ; UNIX: "/path1:/path2"
    8 k# a2 S5 r, V* `$ ?& x
  709. ;include_path = ".:/php/includes"
    % d4 A0 X+ }/ E. |0 w  Y
  710. ;/ n1 L% X. c) }! h$ }
  711. ; Windows: "\path1;\path2") W2 P1 W5 g( h( y. A  ]3 E5 m
  712. ;include_path = ".;c:\php\includes"
    3 w0 o6 J9 ^! j' P. k* V( R
  713. ;: B) P" x- N" K0 R7 r3 A. a6 ]
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ h, \) R/ r: W% o
  715. ; http://php.net/include-path, `; d' ]8 ~5 Z; L9 b4 p% J
  716. / p7 Z0 F% i7 K: C; T
  717. ; The root of the PHP pages, used only if nonempty.1 A) t7 p% A. h! z& u) ~" s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root7 k: a$ O3 {9 N) ?- e
  719. ; if you are running php as a CGI under any web server (other than IIS)* ^& N  s; F/ k. E9 N. _3 F
  720. ; see documentation for security issues.  The alternate is to use the
    & V* L3 V9 i3 X- m. y3 U8 V
  721. ; cgi.force_redirect configuration below6 ^8 n( `5 j3 N' ?' m0 O. [" I
  722. ; http://php.net/doc-root
    " F% g0 O  ]; A' U7 s8 v  x& }
  723. doc_root =, ]9 K4 \0 l' Z- q  M" v
  724. 0 m  ^" e  N3 R! y& D  |
  725. ; The directory under which PHP opens the script using /~username used only! P$ E: K/ g3 ]' f' m
  726. ; if nonempty.
    # h4 ]/ _- ?# j
  727. ; http://php.net/user-dir
    . k7 b4 m9 n5 A9 ], x4 v3 Y: L& f
  728. user_dir =
    1 c# A! i1 n+ i' Q7 D

  729. * O* V  b( \( d2 D: V6 s
  730. ; Directory in which the loadable extensions (modules) reside.
    5 |/ |4 Z& F3 g. ], [( h
  731. ; http://php.net/extension-dir
    ) D  X; c9 U! ~1 z0 A/ I; ~3 C
  732. ; extension_dir = "./"
    6 S" U, Y: B6 I/ _5 n6 d( t
  733. ; On windows:' P" Q+ k) }9 H/ H! K
  734. ; extension_dir = "ext"$ p, R  Q7 b3 x  \! W4 D

  735. % Y! h0 `; S% ~1 J7 L- u) Y$ x- n- R
  736. ; Directory where the temporary files should be placed.
    / P5 r, [$ f- Q" T- f
  737. ; Defaults to the system default (see sys_get_temp_dir)
    0 s/ |$ X3 {, m0 _1 t
  738. ; sys_temp_dir = "/tmp"
    . ~& z, r7 u7 h$ U

  739. 9 ]6 S2 u- z5 j
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 H2 `) d, V- ?- R( ], {! h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - ]) }9 M+ g3 I  b6 G, f; ~) @
  742. ; disabled on them.
    # c8 V% B% }3 K" a3 R3 x6 v
  743. ; http://php.net/enable-dl) x. z: a2 k9 e3 Q5 R1 M- Z3 \. X
  744. enable_dl = Off
    $ u  W! P* J4 }) Z# a, [3 U9 x
  745. . _; I0 k- t" X! Z! }
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 n/ t) T" U: c+ F
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 L3 c# X2 i8 y6 l2 f
  748. ; turn it off here AT YOUR OWN RISK
    % O) h* s9 Y8 b
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 N- J2 S8 W3 ^, N# Q! r0 O8 M
  750. ; http://php.net/cgi.force-redirect4 i- P- ]" g9 c: o# E- W) {+ v' u
  751. ;cgi.force_redirect = 1
    ( e9 n! o, W3 K/ ~

  752. 8 m% d6 J) K; m5 u6 g6 j* v7 k
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    7 V% Y2 R9 u% H3 u
  754. ; every request. PHP's default behavior is to disable this feature.
    - s; X  t) M6 @7 _5 x
  755. ;cgi.nph = 1
    $ ?2 f3 n8 ?( Q  A5 Q
  756. 8 C- ^- I# q; e; H. T* X! t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ! W0 p3 F% T1 D1 r4 z1 F. t" |5 W
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 d% D4 b! [  E0 K
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 |3 f! h- ~3 h6 ^; V! X  U
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . c  y% |$ M- o: H5 Y: A
  761. ; http://php.net/cgi.redirect-status-env
    - g0 G3 @) M8 _- o9 j) G
  762. ;cgi.redirect_status_env =
    5 x1 W% l, |7 l5 O& J4 M1 ?5 m
  763. : d# v0 K% X5 z% d
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& R4 R+ t1 T5 ?# U
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    6 W: t: P. d0 s0 M! q0 ~
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 W% H, ~* Q' @* `2 [
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ ?' r( h7 N; J# |$ v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ P- H8 ^: k6 @6 x4 y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 v! i' p/ E1 h; l7 \
  770. ; http://php.net/cgi.fix-pathinfo" k- V2 e1 ?3 e
  771. cgi.fix_pathinfo=1" \* W) }$ ~) G$ ~! S  n
  772. % s: x. G) @; j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 P( S: w* O; }9 g- J
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    6 j. }; F; y6 c# t! c
  775. ; http://php.net/cgi.dicard-path
    1 r0 t# A2 z2 _( B: D: c
  776. ;cgi.discard_path=1, R" c% `2 K$ u) ?9 g, f& l

  777. 6 X) v8 G" D% `. \
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    . D' I/ E4 P0 ~: O6 r" z4 _1 r, o) u
  779. ; security tokens of the calling client.  This allows IIS to define the, l$ P& m" y0 n# C8 B/ z' G
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    # ~, L7 S$ c& p6 I$ L$ ?1 {# z
  781. ; does not currently support this feature (03/17/2002)
      @6 z, O1 W4 w. u9 A0 R1 W1 U$ q
  782. ; Set to 1 if running under IIS.  Default is zero.) t) l9 d4 S8 Z: b& P
  783. ; http://php.net/fastcgi.impersonate
      F- e2 z; t$ Z/ `- |; S! z7 r
  784. ;fastcgi.impersonate = 19 ]7 Q1 F4 i, h; J% l& T
  785. 6 e7 i0 ^6 }1 m/ Z" d& z+ w. b- F
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      e  ~3 S2 U! _$ `# O
  787. ; this feature.  w/ b+ x2 p5 z
  788. ;fastcgi.logging = 0
    ' Y( C1 `: o+ R  v9 A. A8 h& `
  789. " J  U0 @0 H# Z) k) U2 p
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to3 P* l, C$ {8 Z( c
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    8 A+ {' b( f4 `* g! E' x
  792. ; is supported by Apache. When this option is set to 1, PHP will send5 ~! ^7 e) f  k; V( x2 T" b' L  S" o
  793. ; RFC2616 compliant header., k) V* H. q7 R
  794. ; Default is zero.
    ; P8 w# P6 J9 e7 T+ y+ f, C
  795. ; http://php.net/cgi.rfc2616-headers' X0 M7 Z, v" J! L$ l
  796. ;cgi.rfc2616_headers = 0
    ( J5 h1 O1 U5 j$ B$ _2 j
  797. 1 Y( V+ C: w& f9 r4 d" z! o, E
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    - E# R$ y; u' ]. ^$ y$ U
  799. ; (shebang) at the top of the running script. This line might be needed if the6 W7 n- Q3 H' S9 h
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    9 q  L6 W, t& v
  801. ; mode skips this line and ignores its content if this directive is turned on.
    " U3 B7 e8 g+ X" S0 e& Q8 t: ?3 d
  802. ; http://php.net/cgi.check-shebang-line" `7 t" Q6 U# N; t
  803. ;cgi.check_shebang_line=1
    / |) O) V, b& z: Q% r

  804. 9 y# l: r0 f3 X( m4 M; t- z
  805. ;;;;;;;;;;;;;;;;
    , J( S) Q% i' Z1 F6 }0 J
  806. ; File Uploads ;/ w+ R! _7 V5 q! H
  807. ;;;;;;;;;;;;;;;;1 P) _4 I' U% O" k
  808. 7 o% @; z; G  {% U0 [2 Z% c$ o
  809. ; Whether to allow HTTP file uploads.
    & O& u& F9 v) H% G4 N7 j
  810. ; http://php.net/file-uploads
    2 D; i, O9 h( V& V' @" ]5 f
  811. file_uploads = On
    8 @% k. J" e/ T
  812. 7 ]3 s7 w! X( z% y! A+ L0 a! P& p
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + p7 l; w$ N2 ~" ^/ s( A, ^/ q
  814. ; specified).
    & K% X) v  H. @7 @0 t# f: u+ s
  815. ; http://php.net/upload-tmp-dir! C" f. u2 n# I' b
  816. ;upload_tmp_dir =
    0 S# E1 Q' o/ o. Z
  817. 6 F) M2 j7 f( }0 N, T1 }  T3 |
  818. ; Maximum allowed size for uploaded files.
    3 M, R; J5 f  s( S
  819. ; http://php.net/upload-max-filesize" @9 C5 R7 J/ D+ z& i$ J* x
  820. upload_max_filesize = 50M# M9 I. l! Q' d6 J

  821. 9 g; [; r6 e. L4 L
  822. ; Maximum number of files that can be uploaded via a single request4 W4 h7 v" d. R; l+ J: p% \
  823. max_file_uploads = 20
    & l) T) L7 G) @/ _9 |' V/ {, X
  824. . P" q; Q) d. L, L0 }1 c
  825. ;;;;;;;;;;;;;;;;;;
    , T7 k8 m7 I0 F8 p, g& y) Q
  826. ; Fopen wrappers ;
    " x1 l1 ]% f; {. o0 g1 A
  827. ;;;;;;;;;;;;;;;;;;' M; b  E7 c- m; H) y

  828. 0 Y. k2 X* f% x. \3 I& \
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.3 f) Q+ h, r6 [7 a+ f
  830. ; http://php.net/allow-url-fopen
    5 o# s! I7 N! \  G: V: N
  831. allow_url_fopen = On
    - d9 _9 f  g- p/ y
  832. $ b9 R& j  J1 r3 [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.! r6 u4 j, b/ O
  834. ; http://php.net/allow-url-include& D6 x5 F6 G% b3 ?0 j1 W/ I
  835. allow_url_include = Off' V1 T% L+ O  ^4 n' ^; I

  836. 4 z: C% S0 T6 F7 `3 D
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 ~- I% y6 y4 o& M7 f6 \
  838. ; for this is empty.
    % i* F$ y4 s4 e# G+ z
  839. ; http://php.net/from  K( U8 @+ \2 D+ r# _
  840. ;from="john@doe.com"
    " u: s7 z" M9 j& z$ M) r+ {8 s

  841. 5 g) G' Q6 Q9 g' K
  842. ; Define the User-Agent string. PHP's default setting for this is empty.2 V& L* p4 k6 P
  843. ; http://php.net/user-agent
    , G8 e" t; v  E9 p
  844. ;user_agent="PHP"/ c5 W) R0 M% q! p1 `$ z9 ]9 r, H( x/ d

  845.   u5 t" o0 Y% t* M; ~
  846. ; Default timeout for socket based streams (seconds)
    0 |3 C: P: w/ O/ P, d3 j  {
  847. ; http://php.net/default-socket-timeout6 Y% M2 G/ @" S% c; Z: Q" k* A
  848. default_socket_timeout = 60
    ) c& H. y! \! }2 b
  849. 6 o+ c' `" l( w) w4 }; f
  850. ; If your scripts have to deal with files from Macintosh systems,
    6 b% {8 c0 y- p+ L$ s
  851. ; or you are running on a Mac and need to deal with files from
    - @) K$ Y2 }- [2 }. p! [
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ! l8 n# s6 U6 c2 g0 i  L
  853. ; automatically detect the EOL character in those files so that. m. L6 m" T2 A
  854. ; fgets() and file() will work regardless of the source of the file.
    - r" z: R  M# |- q
  855. ; http://php.net/auto-detect-line-endings
    % \0 ?& y$ Z! k+ s1 C# ^2 _0 ?  x  W
  856. ;auto_detect_line_endings = Off
    , N) g" T* ^5 f! {1 f( J& E4 i

  857. 4 m$ T0 p; `+ x
  858. ;;;;;;;;;;;;;;;;;;;;;;4 F, _3 _. Z5 [7 K. ~( r: E
  859. ; Dynamic Extensions ;
    # Z( v1 G! B% o! w$ D
  860. ;;;;;;;;;;;;;;;;;;;;;;! p0 {4 Z1 E( r

  861. , [7 }" m( u1 j% O( O; `
  862. ; If you wish to have an extension loaded automatically, use the following
    ; @* C# Y% k% Y1 s8 x
  863. ; syntax:  s/ z# J/ h) @
  864. ;1 v9 m3 ~+ B, j( y7 C) p. z& `8 o
  865. ;   extension=modulename.extension) Y9 @- i* v4 k8 v6 U8 M( o: E
  866. ;
    " n8 `0 L. E2 Z" i
  867. ; For example, on Windows:6 D% N. Z$ ^  R/ G+ }( g
  868. ;
    . e3 h' k2 Y1 W, C2 O
  869. ;   extension=msql.dll& t' y) K% M8 i2 ~$ w  e0 e' L
  870. ;
    , Z4 F4 N8 U9 _# Y5 H& \
  871. ; ... or under UNIX:7 p8 d# d1 y) z# c1 t& O/ d7 t
  872. ;0 U  L9 C8 u/ k
  873. ;   extension=msql.so- ^9 o- C8 z9 h) ]
  874. ;
    ! y% X! d( f$ Z- N
  875. ; ... or with a path:$ Y% m& i& k/ A) p
  876. ;
    , `; S; d  g' T8 H
  877. ;   extension=/path/to/extension/msql.so2 P: i4 r. U1 a  x0 t
  878. ;
    5 _* v2 u& [2 K  Y
  879. ; If you only provide the name of the extension, PHP will look for it in its4 V- T  ?. Z" e2 b6 |3 _
  880. ; default extension directory.7 u: C/ e4 q0 ]7 ^6 O7 |- A
  881. ;
    ' E4 U0 p! x% {
  882. ; Windows Extensions8 h. j4 [( W% u0 c
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    4 J% N. o( N/ j9 t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)2 O  P. m$ }# U
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).9 Z3 G7 y, t- T0 E6 b* i5 b5 r- a
  886. ; Be sure to appropriately set the extension_dir directive.; t+ j/ O& d$ G& I
  887. ;) d$ }9 \$ X2 [+ c' f8 }" b9 K9 g% F* ?
  888. ;extension=php_bz2.dll6 s7 ^7 [$ F  ^) |! O
  889. ;extension=php_curl.dll
    1 s# ]2 Z+ F" M' r0 Q! _
  890. ;extension=php_fileinfo.dll
    0 P. P; H, T* C9 K
  891. ;extension=php_gd2.dll
      s/ c: Q9 }3 @9 n1 N
  892. ;extension=php_gettext.dll1 K7 {& e" w6 x0 q5 j. Y
  893. ;extension=php_gmp.dll& h, S" [2 k3 j6 j+ R# z' `' M  X0 |6 a
  894. ;extension=php_intl.dll% f; y. m/ q# S' l4 G8 X7 P
  895. ;extension=php_imap.dll
    ' W2 t- ?% |8 B  X3 ^- }4 p% Z
  896. ;extension=php_interbase.dll6 h# O' B: o  R1 S
  897. ;extension=php_ldap.dll% A& d' T3 }1 x' c
  898. ;extension=php_mbstring.dll
    * m% {, e( c; j2 c
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' `5 `! h9 W  B3 \% Q  |% [9 C
  900. ;extension=php_mysql.dll
    ( S2 e3 s! k4 [" R- V
  901. ;extension=php_mysqli.dll
    : `! ?6 r; n* W
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 S2 }4 u4 c- l1 ?+ G' H9 m+ e1 i! o
  903. ;extension=php_openssl.dll
    4 {3 @! a- d5 O5 R# o# E: X
  904. ;extension=php_pdo_firebird.dll$ r) W) X4 u- f6 F6 r2 x# P' w
  905. ;extension=php_pdo_mysql.dll
    ! t3 c( X$ w; P# R- q2 S3 s
  906. ;extension=php_pdo_oci.dll
    + f. Y4 ^& k3 |2 {; w! O( L* D
  907. ;extension=php_pdo_odbc.dll
    / C! U" U! A3 g( k5 y1 e
  908. ;extension=php_pdo_pgsql.dll
    & T( @! N9 e) k6 b2 B; j4 S
  909. ;extension=php_pdo_sqlite.dll
    " B0 ~9 x; e- F5 h& L
  910. ;extension=php_pgsql.dll
    # J# V/ F  _2 w# O  J
  911. ;extension=php_shmop.dll
    2 m! ^/ U1 Q0 Q6 h* o: H- q
  912. ) }( t4 \8 w5 v" M) I- \9 V# p
  913. ; The MIBS data available in the PHP distribution must be installed. 9 z/ ?' j' I" Y, j
  914. ; See http://www.php.net/manual/en/snmp.installation.php ! {6 w7 N" W3 V3 s
  915. ;extension=php_snmp.dll% G/ j# s7 h: p: m& k* t! m
  916. # n+ A/ s0 H7 m8 F
  917. ;extension=php_soap.dll9 h$ d9 x" t8 n0 e# m% l* d
  918. ;extension=php_sockets.dll
    , [8 ^7 y, h; Q3 i7 u6 M; L* u/ S
  919. ;extension=php_sqlite3.dll, s' G7 |: s) `3 T- B4 t
  920. ;extension=php_sybase_ct.dll! s: k( G: t4 y, z% }0 X& r. e2 M% I
  921. ;extension=php_tidy.dll3 @& a3 B+ @( g7 w
  922. ;extension=php_xmlrpc.dll
    % L) ?* j: g" m; k4 @% `
  923. ;extension=php_xsl.dll$ D0 C& j. k: {/ U

  924. 0 I1 S$ h+ |: S  K) W
  925. ;;;;;;;;;;;;;;;;;;;- J# D6 J; U! {; w
  926. ; Module Settings ;) N9 d8 ?4 @/ H* b: {! X
  927. ;;;;;;;;;;;;;;;;;;;0 u8 t0 T% I; e& q$ H
  928. * _- P- E+ _0 `+ J+ R# t! G8 }
  929. [CLI Server]
    1 Q! R  K+ I$ M/ O+ s4 u$ X
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.) E; b1 [) N( @# ~
  931. cli_server.color = On& w- |( f' @# |+ S

  932. ; N. I  M* |4 Z7 W: F" s
  933. [Date]9 `  E+ I5 C" v8 x5 F5 b- D1 `
  934. ; Defines the default timezone used by the date functions$ m. T0 v/ p" s9 Z' u! ~/ O
  935. ; http://php.net/date.timezone: F, I; V$ G1 @5 E% p! d/ p
  936. date.timezone = PRC
    8 ?3 i' W4 n# ^( c$ T
  937. & c& k8 Q* t& t1 d, A' o
  938. ; http://php.net/date.default-latitude
    / B% U$ w% I% L0 X' }& w/ i
  939. ;date.default_latitude = 31.7667
    1 ]" i/ e* b: W' k* [8 L
  940. ! K$ Z7 t1 S% l) C
  941. ; http://php.net/date.default-longitude3 k6 r" _) b; l: I7 \
  942. ;date.default_longitude = 35.2333: [" Q: T: }9 u

  943. ( d: X0 S7 ?. v8 T
  944. ; http://php.net/date.sunrise-zenith
    1 ]1 [* S' g5 c7 c, Q( A
  945. ;date.sunrise_zenith = 90.5833331 D9 T1 C2 m) g7 I- l' F9 M
  946. ; h7 ~3 G3 r0 b3 r3 e5 l  z
  947. ; http://php.net/date.sunset-zenith6 l, N+ d' d* V3 x6 F
  948. ;date.sunset_zenith = 90.583333; L8 x) Q8 v! s: g4 J8 `1 a

  949. / `* P& s) q9 I" x1 {
  950. [filter]& P& H( M( `' r" e: D8 t
  951. ; http://php.net/filter.default, T. x) I; q+ Q' V$ p! {* _  T
  952. ;filter.default = unsafe_raw& l! u8 `( q( C  o  e5 ~

  953. 3 P' w* J6 a) o" M0 o' x3 b- y
  954. ; http://php.net/filter.default-flags, c$ L& C  B$ a+ v; y- G
  955. ;filter.default_flags =
    * T8 L+ z; I9 N; Q2 a7 u5 c& c
  956. ! D# Y5 v* V% R# T% N
  957. [iconv]% O$ t* O" L  r0 o! z+ W6 m9 p- c
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 j( }8 f* A' \9 |/ y: P$ P3 X
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & J" w+ p5 n3 s! D8 D5 j$ t
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* r! F* G) s; X% K
  961. ;iconv.input_encoding =
    , U. v) f8 I+ l7 U
  962. , c- g) _3 D: Z5 s  t' S& V1 Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 s% S2 k5 L( m' h
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " G! z$ ~2 _- b  B# ]) F6 J
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 [5 }" e6 r4 V. I8 I
  966. ;iconv.internal_encoding =
      |& z  N9 ?" V% |" O; Q9 w
  967. ) Z6 e8 e9 t$ C( B' x
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.+ e& P* \% J4 f4 K* r; w3 o
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 U* l6 B9 c, s, M
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' ~9 B( T2 X1 J2 V$ K- q
  971. ; To use an output encoding conversion, iconv's output handler must be set
      D$ E) Y  Q- V2 ?
  972. ; otherwise output encoding conversion cannot be performed.
    # a. v! P1 ?1 }6 t2 `0 H! g; q
  973. ;iconv.output_encoding =) J+ y5 ~" K( t4 L* J5 H1 `
  974. ( W0 o/ U- j4 t+ s9 B9 }0 D
  975. [intl]
    , d$ J% t8 U1 x3 f
  976. ;intl.default_locale =* d; i4 {4 ~! E8 M" }
  977. ; This directive allows you to produce PHP errors when some error
    * Q# d8 L" r7 C- p5 ^
  978. ; happens within intl functions. The value is the level of the error produced.- ]$ h: p' `1 x; k$ m1 F9 R
  979. ; Default is 0, which does not produce any errors.* }4 N  g8 O  M& a
  980. ;intl.error_level = E_WARNING
    2 k, t# Q1 ~1 A' T
  981. ;intl.use_exceptions = 0
    : s0 B! v" K7 b) ?

  982. * b0 ~  x5 t& l5 o7 L
  983. [sqlite3]
    5 [) P. }% b/ Y& p6 G
  984. ;sqlite3.extension_dir =
    ! d8 a* y/ A/ o: `- w+ v
  985. # O1 Y/ r9 M  ]% a% M. ?9 `
  986. [Pcre]
    . Y0 b3 K9 ]4 S, ~+ w$ A2 ~
  987. ;PCRE library backtracking limit.
    " v3 i- T; l& M9 C3 F
  988. ; http://php.net/pcre.backtrack-limit
    ! W1 t* [' ]" S5 `) \; ]) S
  989. ;pcre.backtrack_limit=100000' y9 o9 ~4 @4 }+ ~' m1 |4 ?9 y
  990. & h( ?- \% d' R5 f* F6 V# s% P' f
  991. ;PCRE library recursion limit.: L! [, B2 v$ ^0 V
  992. ;Please note that if you set this value to a high number you may consume all! b. N" x# g6 O) H0 m( C
  993. ;the available process stack and eventually crash PHP (due to reaching the4 V; n" P, [8 e0 f. s: v  e# X& L
  994. ;stack size limit imposed by the Operating System).
    $ h0 h3 i* d- b  L
  995. ; http://php.net/pcre.recursion-limit
    " m5 B0 v9 P% \1 ~
  996. ;pcre.recursion_limit=100000$ ?3 I/ y& F) u2 O7 J% t
  997. ' V8 d9 E& }! @6 c0 L4 i$ ~
  998. [Pdo]4 S' R$ J3 K" p7 @
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") [/ {8 E! l) [9 x
  1000. ; http://php.net/pdo-odbc.connection-pooling; a8 K( t+ }$ }0 H# T: P; ]  W" C
  1001. ;pdo_odbc.connection_pooling=strict1 o( l  w6 \: O  X$ A  }
  1002. & Q& y. {$ a' A9 t
  1003. ;pdo_odbc.db2_instance_name% f( x. }8 R( M
  1004. , ?% L  ]/ d( ], E! m- @6 `
  1005. [Pdo_mysql]8 K* s8 k6 H+ k! a1 r6 y
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( S/ ~8 ]1 f8 ?) _# ?
  1007. ; http://php.net/pdo_mysql.cache_size, f, j) T" g* ~- w$ p7 F) B  N7 v2 Z
  1008. pdo_mysql.cache_size = 2000
    / {1 e: d, I! H

  1009. 7 [3 x2 ?& d; J8 M5 s/ T
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in: T% B8 D* {; K( R3 W2 G3 M. a
  1011. ; MySQL defaults.
    $ i$ h5 h2 J4 X  r$ x$ T
  1012. ; http://php.net/pdo_mysql.default-socket
    $ C8 \& `. W! D: u2 E$ B4 c
  1013. pdo_mysql.default_socket=
    0 N- y5 F( N+ x. w! u
  1014. 1 J5 H" u3 W* A' T: V$ O( r
  1015. [Phar]
    4 _& D7 g; \! E! t
  1016. ; http://php.net/phar.readonly) `+ {1 W& e  j7 B, P/ N6 C
  1017. ;phar.readonly = On2 H3 V# R; [6 o9 f5 C' D( L
  1018. $ n  H" P  r" W# z  ^0 Y
  1019. ; http://php.net/phar.require-hash
    4 p7 ~' [; T8 P$ ]2 }/ q
  1020. ;phar.require_hash = On
    9 p: o( g5 K* y. z5 F

  1021. / o% r8 t  i( k) P. E
  1022. ;phar.cache_list =. H1 [0 D1 v( F5 @

  1023. 6 h! Y3 @% i3 _+ J
  1024. [mail function]& g' ^$ r; O% l/ y( W5 B6 Z
  1025. ; For Win32 only.
    ) T( T( T$ I9 Z, X$ _
  1026. ; http://php.net/smtp2 M; f/ b6 J9 N4 n" p6 O
  1027. SMTP = localhost  z" }% Z: S' h4 `
  1028. ; http://php.net/smtp-port# ]6 V( R1 ~' }  Q+ |) b6 r; J
  1029. smtp_port = 25
    , [7 R3 |# }+ y, p6 [  B

  1030. + u9 b1 J4 i7 Y+ ~2 z! h
  1031. ; For Win32 only.4 g+ u3 y; N/ i9 K+ S- G
  1032. ; http://php.net/sendmail-from0 O! K  D/ j! i  j+ X4 l
  1033. ;sendmail_from = me@example.com
    9 V$ R, o7 |, H9 @0 P

  1034. . v+ r6 ~2 f! C( R2 p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").+ V4 M, R" {6 `# c& R3 ^
  1036. ; http://php.net/sendmail-path
    : [1 E$ x) P( H( }
  1037. sendmail_path = /usr/sbin/sendmail -t -i! S0 h+ ]' Z! O/ Q2 L4 w
  1038. * t) [/ M8 w; j. c9 h0 g
  1039. ; Force the addition of the specified parameters to be passed as extra parameters& y! d! B: \5 g
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) _( A3 S! R/ s) M/ k" J
  1041. ; the 5th parameter to mail().3 N$ q1 q4 y) A
  1042. ;mail.force_extra_parameters =
    ; r6 b/ k( R5 B1 @7 M+ C
  1043. . u# p4 C( e4 L4 S  {
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 Y; q$ ]% u% a* ?, z4 ?0 ~/ A6 h5 O
  1045. mail.add_x_header = On6 B/ F/ u5 B0 I. ?5 W; F' @
  1046. + |5 s+ M8 o; L; ]. t! E
  1047. ; The path to a log file that will log all mail() calls. Log entries include3 t1 Y* B5 T- P; R
  1048. ; the full path of the script, line number, To address and headers.
    0 e) L; U( D' `$ C. b1 {3 W
  1049. ;mail.log =
    ; b8 V. T1 ?8 ?" Q% w1 {: f
  1050. ; Log mail to syslog (Event Log on Windows).- L  I# F4 o% t5 Z
  1051. ;mail.log = syslog+ w  K* ~. x3 f8 j
  1052. . a$ X  U% R  v' B7 u
  1053. [SQL]
    3 G! \  B# C, t- L
  1054. ; http://php.net/sql.safe-mode
    - G- q, E4 C: y) a4 A  S0 G' x
  1055. sql.safe_mode = Off& p+ w5 f7 |/ K

  1056. 4 o& u( h+ R- n% B; L' Q' i) h; z8 w
  1057. [ODBC]
    $ [9 E% i, R# v
  1058. ; http://php.net/odbc.default-db
    $ W5 ?! g4 X& A
  1059. ;odbc.default_db    =  Not yet implemented7 `# v4 U4 f% m0 |5 a% j7 n, Z

  1060. 2 \$ W5 ?( J% B. @# H: E
  1061. ; http://php.net/odbc.default-user
    8 D$ \# V, a3 D
  1062. ;odbc.default_user  =  Not yet implemented' x, g6 ]. ^; w% b$ m6 M4 u

  1063. 8 K$ t0 w! F/ H* `5 V9 H. L8 x- p
  1064. ; http://php.net/odbc.default-pw
    ; y" L+ \1 [3 W' W* x9 _
  1065. ;odbc.default_pw    =  Not yet implemented3 E: h6 B5 P" z6 D$ T

  1066. % S; o" j9 M& h4 _$ L4 i
  1067. ; Controls the ODBC cursor model.3 v0 o. l% W( T% c9 g1 k  n3 e
  1068. ; Default: SQL_CURSOR_STATIC (default).
    4 q) J! u8 y% C% U( C) t8 k
  1069. ;odbc.default_cursortype
    ) m1 g* R. K$ {+ G

  1070. ( L2 J) ]6 s: S# k* ]& |
  1071. ; Allow or prevent persistent links.$ z# t& Z1 R" R% a
  1072. ; http://php.net/odbc.allow-persistent4 ]4 G1 [  x& Z! H' t; l
  1073. odbc.allow_persistent = On
    , o; o, p. Z7 M2 a% ]" D; m

  1074. + {; y! v- Z3 L) M' j7 @
  1075. ; Check that a connection is still valid before reuse.
    9 n5 U  E% C1 y7 R: x
  1076. ; http://php.net/odbc.check-persistent
    0 \( j/ b! u& c) s" K
  1077. odbc.check_persistent = On7 `+ N1 n5 V. G! C0 C- A

  1078. - I) R: e! [( }# ^
  1079. ; Maximum number of persistent links.  -1 means no limit.+ K) j* P0 K* }; G
  1080. ; http://php.net/odbc.max-persistent
    ' A( w! U6 }5 \0 l2 E" R& P
  1081. odbc.max_persistent = -1
    - H/ I  X5 K# y, D4 L# W4 t

  1082. : {: F) H/ ^8 Q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 B$ T! A: a6 V! C. T! L
  1084. ; http://php.net/odbc.max-links
    # R2 F+ b" r) k5 T" H( ^
  1085. odbc.max_links = -1
    * k2 D6 M2 r. x

  1086. 6 i& N( t% j  D: \, _- a4 Z6 Z
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- O' r7 ~' {% R
  1088. ; passthru.
    % Q( l5 t. z- f  g) X7 f: F. v
  1089. ; http://php.net/odbc.defaultlrl- x2 l0 e3 b0 Z8 A0 ?! R0 \
  1090. odbc.defaultlrl = 4096
    3 a" }. o9 R1 _8 Y# I# F
  1091. 4 `9 m3 q0 I+ d: S0 S0 x0 e
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* f8 l& j% q  }+ h9 y/ N. o
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% m- I1 Y  ?. e/ @' b0 O, F/ J2 V) H
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 s% E' @4 U3 s2 B) ]- H, U
  1095. ; http://php.net/odbc.defaultbinmode& s$ G8 V( V- u9 D( E/ @, R  H, Z
  1096. odbc.defaultbinmode = 1
    & R1 z: X% _6 S3 [

  1097. 8 y- L( C$ z2 y, }
  1098. ;birdstep.max_links = -1" ?& X9 _4 e5 Q9 z

  1099. 8 o* I) r* w; p- `# w# Z
  1100. [Interbase]- H* j" j, |* O, Q6 K$ ~" b  ?5 j
  1101. ; Allow or prevent persistent links.) G! [* w, A0 ?; U  O0 ~9 V
  1102. ibase.allow_persistent = 1+ D8 t3 \6 D- y7 A0 O

  1103. ; l$ U0 M7 @( u: L3 N) j
  1104. ; Maximum number of persistent links.  -1 means no limit.% ^8 z7 ^0 `; |3 \  m0 E
  1105. ibase.max_persistent = -1% @$ g$ A+ i5 W( O; _& B
  1106. / z& q  `$ x- h; Y4 |
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % ]: m. Q% R% {  K# [
  1108. ibase.max_links = -1
    & @' \! X) x% Z. b2 l5 B! ]
  1109. : n) [% K: z+ p+ K! A
  1110. ; Default database name for ibase_connect().
    * Y. _3 g8 N) f% u8 j
  1111. ;ibase.default_db =& B+ m6 L1 ~( z1 a0 G, |
  1112. 2 g" a+ g( S* }5 h9 P
  1113. ; Default username for ibase_connect().6 T5 O4 {8 `9 s) o; v. \0 }6 w6 T
  1114. ;ibase.default_user =! r: o: a" c8 {' A! W5 k

  1115. 2 M; H& |  s# a! S  D% i) Y
  1116. ; Default password for ibase_connect().
    # Y1 F: I( [4 ?* u
  1117. ;ibase.default_password =
    - x6 }6 o$ U- k$ k9 ~& R; {6 [  r
  1118. " v5 h/ c/ u( S/ K: c
  1119. ; Default charset for ibase_connect().
    8 J0 ~% H0 s% A- s0 M4 i% @. L! s. `
  1120. ;ibase.default_charset =
    " t; ?0 E9 V: E
  1121. & `' u" |8 G! ^: J: l" t
  1122. ; Default timestamp format.7 b+ j' ^" I: B" L8 O$ z9 G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 K  N) j7 Y. ^4 i* k
  1124. 8 i3 r( F5 u, _& X! L9 ]
  1125. ; Default date format.: Y" W- e) l! s
  1126. ibase.dateformat = "%Y-%m-%d"
    % E8 h; e5 R$ C# t$ P8 v

  1127. - A# H" d! z" v
  1128. ; Default time format.0 z& H' e+ c1 Q$ r
  1129. ibase.timeformat = "%H:%M:%S"( O  c" X. r9 T9 x6 h$ a$ U- W
  1130. % ?! p7 J7 M, L3 j+ F: c4 F3 U
  1131. [MySQL]- M* f" F. j. p5 [+ |! u& }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - _% R7 g  h5 H3 a% h' Y" G& }
  1133. ; http://php.net/mysql.allow_local_infile
    5 Y. F/ G& M( R4 w+ L) a* B
  1134. mysql.allow_local_infile = On
    " |- i2 b& u9 S& X0 O2 |
  1135. * v% M" n9 I( n4 p7 W
  1136. ; Allow or prevent persistent links.6 N) h' }+ F$ W* z8 X0 |
  1137. ; http://php.net/mysql.allow-persistent
    3 c7 [$ f; c, y0 E2 I* }
  1138. mysql.allow_persistent = On  s/ w1 L! L& [

  1139. * R0 t( E; x8 G) c% @2 y
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ o6 X7 Z# {% E/ P& z
  1141. ; http://php.net/mysql.cache_size
    5 r: M; a; E- u- H
  1142. mysql.cache_size = 2000- n& g9 ]' U5 m2 |9 t4 W

  1143. 0 u$ @( N* F* `9 d( z$ L
  1144. ; Maximum number of persistent links.  -1 means no limit.0 P' {4 p- g; Z2 c$ {( M
  1145. ; http://php.net/mysql.max-persistent# M+ b* R. l) K; j. j4 e1 S
  1146. mysql.max_persistent = -1+ n/ J1 j7 |- z& m- ]$ p
  1147. 4 O/ Z& j5 e+ Z0 H3 c! ^
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      |/ l7 s3 A5 W" R5 a
  1149. ; http://php.net/mysql.max-links
    + d' x3 F; d; a
  1150. mysql.max_links = -1/ Z- C" _: s0 N# h

  1151. 5 S7 W; }' j" t4 t- q) [: J" C
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use) J' N! ~( V, Y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 S  f( Y' w4 Z! l8 k8 g2 f
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 J" s8 ^1 ~  h: c# T7 G  S( B& r
  1155. ; at MYSQL_PORT.
    6 y* e, T: m# k$ n
  1156. ; http://php.net/mysql.default-port# W/ G; Q/ G7 H4 m/ V: H8 [
  1157. mysql.default_port =* {* f1 X6 g' r# \4 E2 m& }
  1158. : L6 X- v! }# ~! F
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in) J/ O5 x* X6 b$ ?4 J
  1160. ; MySQL defaults.
    , V) d( b! m" H: \- x. }
  1161. ; http://php.net/mysql.default-socket6 R+ ~% Q' w9 H) K3 V
  1162. mysql.default_socket =" E4 {( X- w7 N
  1163. 5 ~/ `! c4 G2 B; V% u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)., c5 ]( f8 z% L/ u# D3 C9 p( M
  1165. ; http://php.net/mysql.default-host
    - G' l6 i7 @7 \# r3 n9 T
  1166. mysql.default_host =* q* U: v1 g1 Y- a. o
  1167. ! k8 @; G5 d, ~4 l# F, B: v
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' k& O4 P$ Y+ U% _; J( p
  1169. ; http://php.net/mysql.default-user: M1 \+ ?: P  I; ?4 Y
  1170. mysql.default_user =$ S+ C8 V$ |- S# f5 v- R" t3 ^

  1171. $ j$ A) t9 S; E* g+ D9 V, Z. X
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    * g4 n" Z6 Z. v5 L  @" I9 ~
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.0 [5 k6 ]" e6 v% Z2 r
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    * r: F* u8 f7 c3 d/ n; X& i) }+ k
  1175. ; and reveal this password!  And of course, any users with read access to this; K& s8 }8 @2 B8 E4 U2 w1 C
  1176. ; file will be able to reveal the password as well.
    * s2 C* t' U- G* `" h) a
  1177. ; http://php.net/mysql.default-password! k1 `; x0 v2 s, \& C. X! ]
  1178. mysql.default_password =& F, q1 C( o  b8 n

  1179. # j5 {5 ^2 G' B* Y/ Z) R  P
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ! n3 ]3 p% z+ C) z
  1181. ; http://php.net/mysql.connect-timeout
    * f3 r0 B3 d  t7 X6 y. G
  1182. mysql.connect_timeout = 60
    . v, r8 ^+ g1 A* B. y" {/ J
  1183. $ N& }5 g) p1 K) [! d) D
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and0 [/ H, D8 p+ x1 S/ c
  1185. ; SQL-Errors will be displayed.
    0 D7 n  |- E* |! `' A
  1186. ; http://php.net/mysql.trace-mode& n6 @" E0 p9 o  M
  1187. mysql.trace_mode = Off
    / P+ V4 l5 G# a' k. D( R% u

  1188. # ~& Q) l* Y  z5 E  a) ~4 i, e
  1189. [MySQLi]
    5 c; w0 I8 L: K* K
  1190. 0 }2 s3 i# d) ~. q+ n
  1191. ; Maximum number of persistent links.  -1 means no limit.6 j5 x. H8 H5 v( I. i
  1192. ; http://php.net/mysqli.max-persistent
    . s0 _# A. ~& `
  1193. mysqli.max_persistent = -15 j' J" e1 W$ r6 K
  1194. * y/ O; p8 A! @
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 w, ]% |1 r+ j2 T$ c. s5 g
  1196. ; http://php.net/mysqli.allow_local_infile
    * U/ t, |# r* @8 {
  1197. ;mysqli.allow_local_infile = On
    ' V8 S7 \+ E9 G9 i
  1198. ; A1 ~/ r9 X. l
  1199. ; Allow or prevent persistent links.2 U6 s( v& Z  C9 ?; M
  1200. ; http://php.net/mysqli.allow-persistent2 Y3 h4 z, |+ _
  1201. mysqli.allow_persistent = On
    * S  G/ J) C; d  V6 |" `* Y
  1202. ( P+ N1 ]; J0 o
  1203. ; Maximum number of links.  -1 means no limit.
    8 h4 Y4 `9 |0 c5 K; g
  1204. ; http://php.net/mysqli.max-links
    3 X4 p! ]/ H& R* W+ O) s
  1205. mysqli.max_links = -1- ?4 G: e- E( p& D2 n+ K5 ~5 y
  1206. " C& g! g" O" `% w9 [
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 F4 m" l3 i: Y7 m
  1208. ; http://php.net/mysqli.cache_size
    2 X3 `% O1 a7 C- K$ M: [
  1209. mysqli.cache_size = 2000
    / q% X( w& A3 C6 ~4 P
  1210. ! j0 E; e6 Z8 ~$ V6 o
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ h" b* r3 V+ H/ A+ [
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ ^" z9 y& u. O5 s+ j  p: C
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look5 g$ \8 [5 w6 z2 ?" M
  1214. ; at MYSQL_PORT.1 _& A% u! p: p% Y% c
  1215. ; http://php.net/mysqli.default-port$ X; ?" g8 J/ ~. K+ I  [) V5 e
  1216. mysqli.default_port = 3306! L: L- c. m8 }9 b! ?

  1217. 3 C3 @  a& K' z
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + E4 ?; H( M5 y) ?# Y5 ^
  1219. ; MySQL defaults.
    $ n9 K, t, S  e* ^
  1220. ; http://php.net/mysqli.default-socket, C, X" [0 k$ @- }. Q4 H% z. z
  1221. mysqli.default_socket =2 b& U8 D; N( C" Y
  1222. 1 y9 W' [2 N7 i. Q4 F5 Y7 `
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).8 t2 N9 N0 F( j8 U2 q
  1224. ; http://php.net/mysqli.default-host
    - w2 Z( W' K# Q4 D2 H& t" y
  1225. mysqli.default_host =3 ?2 S4 l( {. R( q
  1226. ! g! f$ Z8 N' }8 h+ o
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    - X; {6 l9 ^; r# h
  1228. ; http://php.net/mysqli.default-user3 G8 N8 N7 |5 A) C% h  t
  1229. mysqli.default_user =* _% C0 ~- P, h7 [- w! r: J* d5 S
  1230. / H3 a7 C) j, R+ E) Z: g. w
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 P5 U' @: m9 A7 j9 x5 U& }; ~; {- w
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.: i- |" ?; j& @; w6 y
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): z+ z  r. l2 S# d7 [% g
  1234. ; and reveal this password!  And of course, any users with read access to this1 ^. {) U1 A7 Z" n
  1235. ; file will be able to reveal the password as well.
    . ^6 ~- E, Z) d) {" e
  1236. ; http://php.net/mysqli.default-pw% A4 p3 }$ v. O1 c7 _) u
  1237. mysqli.default_pw =
    3 w" i% }) H7 u
  1238. 6 u# L- b5 q4 x" A
  1239. ; Allow or prevent reconnect7 \% x! Z- h2 H, S0 b
  1240. mysqli.reconnect = Off
    " U# \, W$ W# [5 T, j4 ~4 F( V
  1241. , u7 n: r8 B3 ?, [; o3 J
  1242. [mysqlnd]
    5 E1 u! H$ ]8 W- l  |
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be5 R9 E2 K7 ]& t/ ?& I
  1244. ; used to tune and monitor MySQL operations." x- p7 S  p: K/ v' A. w5 _* A
  1245. ; http://php.net/mysqlnd.collect_statistics
    6 j. b, e$ p7 m  H/ P
  1246. mysqlnd.collect_statistics = On# P: Y7 \/ Q4 F- l
  1247. * ^, X' w+ d, O) n  ^
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* F: x5 j/ |' G: s" }
  1249. ; used to tune and monitor MySQL operations.5 S- j) l. M0 [4 q( }; q; R. }
  1250. ; http://php.net/mysqlnd.collect_memory_statistics: r, n: g$ Y! w: Q; H# M$ q
  1251. mysqlnd.collect_memory_statistics = Off. ~/ T1 g+ |  ~- q  s4 P& D

  1252. ' ^( w4 G6 ?9 a
  1253. ; Records communication from all extensions using mysqlnd to the specified log, f2 ?; ~" _3 M* i
  1254. ; file.) F; e7 b) B: I7 K9 R" b
  1255. ; http://php.net/mysqlnd.debug+ z* b7 K1 K: F9 R4 C
  1256. ;mysqlnd.debug =3 N5 r( D/ {0 ?5 C6 e+ s% f+ _$ N
  1257. : M6 M) P% ?& p, g; q8 w: t
  1258. ; Defines which queries will be logged.9 T  _: B8 a1 O1 X, ]8 }
  1259. ; http://php.net/mysqlnd.log_mask0 @& I/ F6 s4 N8 [, M. v
  1260. ;mysqlnd.log_mask = 05 N! b7 ?2 h) d% L% @0 t. ?
  1261. $ J% O2 Z6 ?! c+ o+ S
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.; C+ r& R: p5 y0 \+ ?+ T6 t' ?& a
  1263. ; http://php.net/mysqlnd.mempool_default_size# Z, r/ `) q/ e+ V- ^3 A
  1264. ;mysqlnd.mempool_default_size = 160002 o( ^* C. @9 s  \  Q( N/ r5 S
  1265. ; u: \+ q9 ?, n$ H* M
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.3 x- F) p! F! a8 D, W6 S
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size( g4 V5 ]* P' M0 R! m2 t7 e- L- ?4 U
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    2 M- z; C  D3 |8 p

  1269. , i, l0 y+ I  D* h8 ?8 d
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in: m( Z$ \& H) v3 h
  1271. ; bytes.- q, k/ F6 r2 Q, U
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    % `. z( H' G: t5 T4 X6 h( M
  1273. ;mysqlnd.net_read_buffer_size = 32768" b! j# ^6 i1 m2 V9 b6 W5 ]: y: _

  1274. 7 v7 j9 g% @' K* v( ^
  1275. ; Timeout for network requests in seconds.4 n" R4 }$ M% j, K; R6 u8 e2 i
  1276. ; http://php.net/mysqlnd.net_read_timeout- m) N2 F$ l: G+ Q; V, r5 h
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) I) h! \( m; d

  1278. 4 L/ m$ P; H! q* {( [8 [3 u8 X
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 K8 B5 r* B* c" w. a
  1280. ; key.+ m6 W. @5 _0 q5 Q$ l6 W  x
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    6 L: ?: ?9 u, N8 h
  1282. ;mysqlnd.sha256_server_public_key =; J' ^; ]6 o  A# l

  1283. 4 x( k9 B9 F: b
  1284. [OCI8]
    . _. `' q7 w. j: y3 P" t; E% r
  1285. ; b5 z8 Q2 N/ h: E, `: ?
  1286. ; Connection: Enables privileged connections using external
    " h& i9 i6 d; _1 j3 _  z$ q
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)* ?0 j8 ?- x8 q4 T
  1288. ; http://php.net/oci8.privileged-connect* q5 i2 z( |) Z2 B
  1289. ;oci8.privileged_connect = Off
    8 j* l7 l7 M- o  N5 U- O
  1290. 2 q2 {$ M; {' C0 X5 i! v# c
  1291. ; Connection: The maximum number of persistent OCI8 connections per) o* v4 t% A2 x7 O' I+ K% g5 h0 ^3 Z
  1292. ; process. Using -1 means no limit.. ?" a+ C2 u7 Y, N' _* X. {
  1293. ; http://php.net/oci8.max-persistent
    2 I+ L' P# R# s" C! w
  1294. ;oci8.max_persistent = -1( ^; i* k6 U; a0 v/ \! {1 o/ S& y
  1295. # w$ b& s( {. {: p0 }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    6 F# J: {; h8 D1 ]! D0 Q1 T$ N
  1297. ; maintain an idle persistent connection. Using -1 means idle9 o% v/ b0 H% S8 a
  1298. ; persistent connections will be maintained forever.
    . ^$ |: T8 @$ y, d9 g
  1299. ; http://php.net/oci8.persistent-timeout
    4 g: O* j# h/ [2 s/ ?( y
  1300. ;oci8.persistent_timeout = -1
    / B  V6 S7 Q$ }9 C. `; {, `

  1301. - Q+ j. B( G  \' {# Q: b
  1302. ; Connection: The number of seconds that must pass before issuing a8 R; u4 a2 X! K0 U5 c9 m" U
  1303. ; ping during oci_pconnect() to check the connection validity. When
    - T1 R2 y' O/ _0 i( ~
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables- ~7 [3 a& h+ D! F* F2 z; |% w& a8 m. }
  1305. ; pings completely.7 Y( R7 J* K  x, M1 n: x
  1306. ; http://php.net/oci8.ping-interval( N8 l$ v3 l9 l' z
  1307. ;oci8.ping_interval = 60: _  ~6 X0 {" L
  1308. 9 z& I& C- u' `
  1309. ; Connection: Set this to a user chosen connection class to be used( Q+ i! y; |; m& d" F" d+ J
  1310. ; for all pooled server requests with Oracle 11g Database Resident" C1 g, _5 s1 P& Q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' N* I7 H) X( d5 u3 x) U
  1312. ; the same string for all web servers running the same application,
    ! ~* s+ S7 }: n
  1313. ; the database pool must be configured, and the connection string must
    + ]. W; b9 }" A$ r
  1314. ; specify to use a pooled server.: z6 L" r! m: P0 V2 _7 N' A) O. i- @' p
  1315. ;oci8.connection_class =. u# P' h- a5 ?* n' e+ f
  1316. ; ?: ~# m% y( l: Y" x. O2 s& O* a
  1317. ; High Availability: Using On lets PHP receive Fast Application
    : K1 l1 ~3 H# `0 ]- q
  1318. ; Notification (FAN) events generated when a database node fails. The% ?2 f  f1 n" q
  1319. ; database must also be configured to post FAN events.5 z0 _  m% Z/ M2 a
  1320. ;oci8.events = Off
    - l+ i- d5 d$ p, a7 U- P2 P. p

  1321. 0 d, L$ @# z0 ^- a( T; X
  1322. ; Tuning: This option enables statement caching, and specifies how1 R! v1 k1 U5 u& H" C
  1323. ; many statements to cache. Using 0 disables statement caching.7 [+ C! v, \4 x2 `$ m+ v8 W+ Z
  1324. ; http://php.net/oci8.statement-cache-size% y) T$ q8 q, t
  1325. ;oci8.statement_cache_size = 20( z1 [1 E* `1 t" Y* e3 [
  1326. & L2 R2 p7 h. a1 I# Y
  1327. ; Tuning: Enables statement prefetching and sets the default number of  [7 Q. N$ O7 l: M8 V5 _0 H2 b
  1328. ; rows that will be fetched automatically after statement execution." V0 t/ S2 n2 j: ?2 C+ y: C
  1329. ; http://php.net/oci8.default-prefetch. X9 C5 s7 a; M; v
  1330. ;oci8.default_prefetch = 100# Y* b: m! |: a) I# h5 f4 g1 O
  1331. + ]8 h/ [8 t8 X( k
  1332. ; Compatibility. Using On means oci_close() will not close9 z  ~* P- H; {3 m# s
  1333. ; oci_connect() and oci_new_connect() connections./ _+ j8 P% _9 J* w' j1 l
  1334. ; http://php.net/oci8.old-oci-close-semantics' i$ f  [. v& [2 q0 {( V
  1335. ;oci8.old_oci_close_semantics = Off/ R; K" u- o: x* t! f$ M: N
  1336.   N3 s- Q: q: h8 l2 V
  1337. [PostgreSQL]0 b/ c# O( X+ s8 `
  1338. ; Allow or prevent persistent links.: |' t( i9 Q! s1 f% r2 O/ g* e( d1 `
  1339. ; http://php.net/pgsql.allow-persistent
    ; e( a7 b9 |: G2 ~! f; I2 \
  1340. pgsql.allow_persistent = On" \* B' m! x/ ?1 C0 Q- U( _
  1341. ) o; I3 \! p. o; X' T5 y
  1342. ; Detect broken persistent links always with pg_pconnect().* H9 ~5 ^6 D! ~6 H
  1343. ; Auto reset feature requires a little overheads.; c! G& S8 o/ K0 m$ o$ c
  1344. ; http://php.net/pgsql.auto-reset-persistent
    + N! z/ X* y4 p3 u5 W% W, \
  1345. pgsql.auto_reset_persistent = Off3 c% I4 ]6 `& k/ R- `

  1346. ) M, ?  m0 t' I" M  G5 x
  1347. ; Maximum number of persistent links.  -1 means no limit.
    8 q& m) I( _+ c" S6 `. Z  P7 }
  1348. ; http://php.net/pgsql.max-persistent3 i0 I6 L6 A  L2 Q8 i0 `  s
  1349. pgsql.max_persistent = -1; k$ E% r! l" t( V) i- H9 L

  1350. 7 O" @0 Q: C! p5 a- o, v" k% V
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* \6 a( R, d7 Q8 t( q. g$ ~) [% Y7 M
  1352. ; http://php.net/pgsql.max-links
    , }1 l. E7 K" C2 E5 z5 g% Z
  1353. pgsql.max_links = -1! R4 k" H+ h! f5 ~1 y8 s

  1354. + e0 N( F- K  x- S
  1355. ; Ignore PostgreSQL backends Notice message or not.- p% A  {5 [/ J) G
  1356. ; Notice message logging require a little overheads.+ u+ R% |1 e, A2 K
  1357. ; http://php.net/pgsql.ignore-notice7 J5 g! C' F0 q, y$ _
  1358. pgsql.ignore_notice = 0' ~+ V: t0 l+ `

  1359. % u" [* E- ^  W5 `# X' _
  1360. ; Log PostgreSQL backends Notice message or not.3 |( f( X7 D5 o5 u
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - q6 o7 }$ N8 V4 T
  1362. ; http://php.net/pgsql.log-notice7 [; g% N" ]* J
  1363. pgsql.log_notice = 0
    ' C5 {. E1 s9 c7 A- c, T

  1364. " ~' B7 D6 \8 [1 S
  1365. [Sybase-CT]) W) g* ^+ {$ H$ g9 B2 n/ \
  1366. ; Allow or prevent persistent links.
      a$ Z. j0 ~6 u" a
  1367. ; http://php.net/sybct.allow-persistent- K" V1 E4 L: y
  1368. sybct.allow_persistent = On
    3 V8 g( \; L, F4 @/ m/ F7 \; B+ P

  1369. 9 e  W5 t" x6 g
  1370. ; Maximum number of persistent links.  -1 means no limit.! u! W: q2 w) O& X/ [2 f
  1371. ; http://php.net/sybct.max-persistent
    : L) {/ t) k2 J% ^; I# d6 @7 b
  1372. sybct.max_persistent = -1
    % g5 B5 u( {+ k5 \+ P( E" ^
  1373. 2 \9 p5 o& ?% ~, C$ J' q% ^* P% d6 J
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., |( B7 }* \- M9 O
  1375. ; http://php.net/sybct.max-links' G, v$ O8 Z# O! H3 J
  1376. sybct.max_links = -1
    ' ~6 K  J7 @4 b5 U) r
  1377. 3 Y" O7 G0 H& ?
  1378. ; Minimum server message severity to display.
    ( c8 I) o) V3 ^7 z. n
  1379. ; http://php.net/sybct.min-server-severity" @2 H5 ~3 S2 {1 U5 J2 {1 x
  1380. sybct.min_server_severity = 10
    7 k4 b" E& V& l# J0 @; }2 y( k

  1381. & n- X; l3 V) S6 R3 S% Q. e
  1382. ; Minimum client message severity to display.2 w0 V' G% z0 y( V
  1383. ; http://php.net/sybct.min-client-severity
    ; C; R$ W& E: T, `
  1384. sybct.min_client_severity = 10
    % d( s4 B& _3 b9 J) {
  1385. 8 Z9 \2 n7 d: B$ s# f) y3 Y
  1386. ; Set per-context timeout
    0 F3 C5 i( m. D. r
  1387. ; http://php.net/sybct.timeout; L# [6 Q' T9 Z* o( v+ [2 M
  1388. ;sybct.timeout=3 k0 s5 A0 ?5 p  ~; N
  1389. ; `% n/ ^8 M3 Z4 g0 J& I3 X( Y
  1390. ;sybct.packet_size+ |9 `6 r$ j' C- t4 ^; j
  1391. 6 e1 e% O  j' E' V7 [( L
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    5 J- b7 C3 A. v9 v5 r
  1393. ; Default: one minute4 j+ l- i. k/ f
  1394. ;sybct.login_timeout=6 W& U# c7 L( @. e
  1395. * K, C4 Z" J+ n% l: L8 M
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    & A( M' Q. ?6 @3 M( _* n
  1397. ; Default: none
    ! F7 S/ }* P) \" w
  1398. ;sybct.hostname=. y% P5 j! N( E9 V  O

  1399.   o$ H+ e; z/ B( q; ]) [6 H
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".# q# C& j9 K/ e9 o+ e& @0 B) c, I
  1401. ; Default: 0
    8 v8 ?1 y% ~# L
  1402. ;sybct.deadlock_retry_count=
    & F( j  W- @; ^3 C# ~( s
  1403. ! v1 T6 V" u  P9 W# b
  1404. [bcmath]$ }. w2 F7 ?% d2 ?5 v" f6 m; G
  1405. ; Number of decimal digits for all bcmath functions.+ x: w. d2 t& h4 e: X2 U
  1406. ; http://php.net/bcmath.scale
    + T, f3 }+ V8 t5 m3 ?1 L4 \
  1407. bcmath.scale = 0
    7 \/ Y; u" b6 I, |+ G+ r
  1408. , W5 [  v  m, X0 P7 R& U
  1409. [browscap]
    $ {( `- C# J, y0 p5 f4 o4 w" s
  1410. ; http://php.net/browscap, x5 f; n. G/ W) ^. s; k+ `$ }
  1411. ;browscap = extra/browscap.ini! `' i+ f: l- h5 N9 D3 b& q/ `" S

  1412. $ ~8 u9 M) a/ b( `6 z7 I: l1 k0 \
  1413. [Session]
    ) i' ?- f7 }  X1 F
  1414. ; Handler used to store/retrieve data.5 h2 p* y7 D) x3 D
  1415. ; http://php.net/session.save-handler
    - @6 m( Q$ F1 W" D. M" U  H' Z
  1416. session.save_handler = files9 c2 H" I9 J) V2 m" z1 n# x9 n

  1417. % U  K& U* v+ c
  1418. ; Argument passed to save_handler.  In the case of files, this is the path5 o8 [8 y" R' x. C8 P% k7 t
  1419. ; where data files are stored. Note: Windows users have to change this! l# [4 [0 g- _6 V# _
  1420. ; variable in order to use PHP's session functions.
    / q* Y; q6 o! D* x) h# f: ?
  1421. ;
    6 {. G% y. m: R/ ^* w
  1422. ; The path can be defined as:$ @+ c& o5 Q- G8 _6 }/ Q0 Q/ @
  1423. ;; a, b8 k  `: N7 _8 d* v5 g! i
  1424. ;     session.save_path = "N;/path"2 a8 {1 Q  E* U  Y% K, }
  1425. ;, u& n! w4 o$ F: C% M
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 Y+ A: p5 q5 L  ^$ R8 r2 F
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    8 k5 j3 X2 o. |; b
  1428. ; store the session data in those directories.  This is useful if: l1 ]/ o8 s2 C
  1429. ; your OS has problems with many files in one directory, and is$ a( |' j2 j& x( P# N# N+ I- k
  1430. ; a more efficient layout for servers that handle many sessions.
    5 }1 W8 K2 u( C; b3 H
  1431. ;
    1 u" L) k# i4 X/ I
  1432. ; NOTE 1: PHP will not create this directory structure automatically." B4 k+ u2 i! F0 e
  1433. ;         You can use the script in the ext/session dir for that purpose.! P* P# y. D8 B
  1434. ; NOTE 2: See the section on garbage collection below if you choose to3 m- y" D8 W# `  H; G0 u5 K3 z
  1435. ;         use subdirectories for session storage/ C- S6 X; J+ q. u% K
  1436. ;
    . L) i0 R1 ~, G* i% g% `2 u
  1437. ; The file storage module creates files using mode 600 by default.. ?* p7 X8 |% J  P+ s  v
  1438. ; You can change that by using
    ) p% y6 ?6 Q* k- p0 B$ C6 _
  1439. ;
    & V% t! |" `, s$ \, O4 a
  1440. ;     session.save_path = "N;MODE;/path"3 m, W  L2 H, T3 h. F
  1441. ;
    ! O1 N: Z% ?* y6 |: b1 l
  1442. ; where MODE is the octal representation of the mode. Note that this7 _$ D2 t/ l8 a; o6 ?, S( Q
  1443. ; does not overwrite the process's umask.. d) q: F, c/ ?
  1444. ; http://php.net/session.save-path
    6 T$ c& F2 }0 J2 S2 I
  1445. ;session.save_path = "/tmp"5 L  n6 f! ~( z

  1446. 9 g1 D7 Y) X% ]9 L( Y
  1447. ; Whether to use strict session mode.! F; x/ w( h, r9 R
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate7 u4 G, g* b& i! k; v5 q7 u$ J* r
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects3 O7 v# W' y# y  g  Z
  1450. ; applications from session fixation via session adoption vulnerability. It is# j" F+ f% C% }5 s' w- E* x
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    $ u! t5 B1 `, C# [. u7 H4 s
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ! v: p% f6 ]$ K3 l/ N
  1453. session.use_strict_mode = 02 f8 Q0 K( I# s$ c4 a. |# b

  1454. 0 z, H$ W! {4 c. R% X
  1455. ; Whether to use cookies.% |# p' N) L; {. g( ]( g; u1 [
  1456. ; http://php.net/session.use-cookies
    3 P. u8 g: B# j5 D3 z
  1457. session.use_cookies = 1( }. {) {& g5 q

  1458. . g) b6 M. Z3 H' N' I9 y- [  W
  1459. ; http://php.net/session.cookie-secure
    ) H+ H& e, @6 Q. T9 e' g  p
  1460. ;session.cookie_secure =
    . z+ ?" V  \  Z
  1461. 1 _& s1 v' P' T. r$ m# J, o7 L
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    & z' T0 G7 M1 k3 x6 e5 s3 d
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    % X1 Y  m/ E- S7 L3 y% K: ], H
  1464. ; session hijacking when not specifying and managing your own session id. It is6 e' e  H/ C( @& m# C4 @& d$ T
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 }8 v2 X, Y, q2 o
  1466. ; http://php.net/session.use-only-cookies
    9 p% b6 f' C/ _9 Y6 ^
  1467. session.use_only_cookies = 1/ _4 [* K4 _% [0 F" j/ z' B" y3 ]
  1468. 1 L' L) k/ z# R& V6 A: A
  1469. ; Name of the session (used as cookie name).
    1 E: k" L: ]2 {7 \2 `5 J5 H% s
  1470. ; http://php.net/session.name
    % ~2 E) \4 [; g4 Y) M
  1471. session.name = PHPSESSID7 m7 m' L& T4 H3 y) }, a3 L
  1472. . i0 N( o2 B8 v% C
  1473. ; Initialize session on request startup.
    0 a& k" e6 z$ T% y% Z7 b
  1474. ; http://php.net/session.auto-start$ q# U' Q" i4 P0 d/ g- N- U
  1475. session.auto_start = 0
      W% R0 R6 l' M
  1476. $ z8 a- J( H. Q8 m
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* C3 f6 s! r( t- q5 P2 _: w
  1478. ; http://php.net/session.cookie-lifetime
    / ?( n; d4 z) G& f) Y
  1479. session.cookie_lifetime = 00 N& C+ n/ }7 n9 r
  1480. % G7 O, P+ b+ m5 j
  1481. ; The path for which the cookie is valid.
    3 c* ]8 S, x1 X; y5 d# z4 e
  1482. ; http://php.net/session.cookie-path
    3 b2 I3 W8 S/ f$ o  l) Y
  1483. session.cookie_path = /
    7 P4 s+ h" I4 u- Y

  1484. 2 M: Y' D6 O) j7 i2 l$ S& D
  1485. ; The domain for which the cookie is valid.
    ; ~! q: X! ?8 j
  1486. ; http://php.net/session.cookie-domain
    - B0 D( @$ l/ i2 k7 @6 a1 ^- {# e, n
  1487. session.cookie_domain =
    2 p' d) K) o( s3 @% E: L( ~

  1488. & y, k0 E! Q" g! J9 ]) l
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    , X" G, O3 g3 T1 G* E! P1 M; e
  1490. ; http://php.net/session.cookie-httponly
    ) P; J4 V# e0 r, E$ _" s$ E
  1491. session.cookie_httponly =9 a* w# @: v7 X' [2 h% C

  1492. # P4 j* K9 k" C) S# O4 U
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    0 Q- u8 N4 V' g1 q- g9 H6 X0 n
  1494. ; http://php.net/session.serialize-handler
    4 p! J% ~3 N( t. w4 P
  1495. session.serialize_handler = php% Y% z2 N& J; u
  1496. 6 u8 Z4 _& M' y
  1497. ; Defines the probability that the 'garbage collection' process is started
    3 y6 G# e1 X5 X; r' N2 ?
  1498. ; on every session initialization. The probability is calculated by using# d6 v  ^! \" {" V7 S
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! M# E. @/ ^# h6 \8 p$ b: I
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1& k& W' u- \& ]) o
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 e$ k; R8 E& K2 |/ i
  1502. ; the gc will run on any give request.
    . v& {- Y+ D. B4 G1 c8 M; U/ V
  1503. ; Default Value: 1+ @' _9 L  J: B. p% G* t3 B
  1504. ; Development Value: 1
      r* z2 i2 l" `! R5 n+ N
  1505. ; Production Value: 13 m/ E$ r4 j) b: V, }
  1506. ; http://php.net/session.gc-probability; B6 U5 A* F1 @# Y9 [  o
  1507. session.gc_probability = 1
    ( Z1 h! s: F  Z4 G7 |

  1508. * w" R! E( z- ?3 q8 J0 U! s9 i: c( F$ R
  1509. ; Defines the probability that the 'garbage collection' process is started on every4 o- ^# ]/ r3 z8 o6 f8 e, y' j; }
  1510. ; session initialization. The probability is calculated by using the following equation:
    , x7 v4 l* X5 i5 l/ C9 z( |9 \
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' Q; j, u1 x! e6 z7 Q
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1+ d% ]$ B$ W& z6 X. y3 G
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 }! J' ^0 z8 p" Q1 x7 U* p, o
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    + a: q1 J+ `+ Z% Z1 }
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,% _) g3 g; L7 @) ~
  1516. ; this is a more efficient approach.
    3 Y, w% @( g% G! a8 V9 w0 |
  1517. ; Default Value: 100/ f! B9 W/ V' K
  1518. ; Development Value: 10008 p1 f  n% i$ g, P. ^/ i
  1519. ; Production Value: 1000
    4 X" _5 l7 R5 M4 t" J! f
  1520. ; http://php.net/session.gc-divisor, ^  `5 q' x; y( T, ^
  1521. session.gc_divisor = 1000( n" L0 G& o$ ]$ ]$ M
  1522. $ q# v3 h/ f3 Y+ X. G4 H4 |+ d
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and/ i7 [6 {; Q. Q: l4 o. w' s# q; r
  1524. ; cleaned up by the garbage collection process.% \# g, Q1 D% N& z) @9 A
  1525. ; http://php.net/session.gc-maxlifetime
    ' {( Y0 h8 L5 s
  1526. session.gc_maxlifetime = 1440
    ; A- s' ^0 L7 d6 n5 @+ k- R5 g2 t
  1527. 2 \9 O9 `; P  `5 K( {, _# S# U
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ; H  R/ \% y# s3 C5 N" e- J( {
  1529. ;       (see session.save_path above), then garbage collection does *not*' g& C: A/ s# k% y
  1530. ;       happen automatically.  You will need to do your own garbage) d5 o" W' ~2 D( t
  1531. ;       collection through a shell script, cron entry, or some other method.
    1 x! T, Z' f8 q1 ^6 i
  1532. ;       For example, the following script would is the equivalent of& Z% u7 I4 Y4 C$ t. U" s$ p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! v( [, P; [( |# _/ a* e3 [" S
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 h& b' |: j" `9 C
  1535. $ V5 a6 [+ x* R$ I
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " B: V7 B/ {' v
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    6 k4 Z- O6 ~" [' a4 Z+ p
  1538. ; considered as valid.
    & z2 t1 K# S4 c  F) J2 k
  1539. ; http://php.net/session.referer-check
    8 |- P  N! _" p: {( D8 Y  n
  1540. session.referer_check =
    1 H( g# e. C3 X1 B* z. {8 p+ W1 n
  1541. ! H8 D( s9 ]1 u
  1542. ; How many bytes to read from the file.9 m9 f4 h/ z- U3 o6 [. Q
  1543. ; http://php.net/session.entropy-length
    ; L6 A: v2 U5 u1 X  @) ^) D
  1544. ;session.entropy_length = 32/ u. \5 T% T8 B

  1545. & w- b" q1 k2 W" B
  1546. ; Specified here to create the session id.' U9 R4 e) T& ~  C4 I0 W% j) D& |
  1547. ; http://php.net/session.entropy-file8 l; g7 O4 _* l
  1548. ; Defaults to /dev/urandom
    * m, d; S9 Z7 u. M& ^5 r
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( n) c7 F$ ?+ a. G3 O
  1550. ; If neither are found at compile time, the default is no entropy file., x. w4 Y6 N7 Y2 @2 {  L
  1551. ; On windows, setting the entropy_length setting will activate the3 b( ]3 h1 y, W6 k9 i
  1552. ; Windows random source (using the CryptoAPI)1 n& O' R: J! P! O( j
  1553. ;session.entropy_file = /dev/urandom
    & C4 _# u% \& o! |) q$ m1 u

  1554. 4 K/ r+ G$ `# ]; `( U9 H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% ^0 I/ Q2 }* L. ^1 L
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 j; S9 O7 F9 Y
  1557. ; http://php.net/session.cache-limiter5 ]1 g9 w# Z6 t) `1 B
  1558. session.cache_limiter = nocache
    , u7 Y% ]1 x, q! I' B+ |

  1559. & W1 u" O# n7 \' b. o6 ^
  1560. ; Document expires after n minutes.) @+ e& b) C# h' M
  1561. ; http://php.net/session.cache-expire* h4 D1 T' p3 G- Z" z
  1562. session.cache_expire = 180# ]! K$ S* N- m/ l

  1563.   M- J% R& X/ }: t$ {
  1564. ; trans sid support is disabled by default.
    & L  A4 _% {7 K  W! \  T! d8 J; o
  1565. ; Use of trans sid may risk your users' security.5 j2 _: f4 _: g. U
  1566. ; Use this option with caution.
    * ~; {' W9 Q+ J5 S  H
  1567. ; - User may send URL contains active session ID+ o7 ?* @3 {$ @0 N, m" L
  1568. ;   to other person via. email/irc/etc.0 ?  ^4 D! Q' T0 K, }' I
  1569. ; - URL that contains active session ID may be stored2 R' ]. l1 q' k2 y- k5 N( y
  1570. ;   in publicly accessible computer.! r. j/ w( W$ {/ m
  1571. ; - User may access your site with the same session ID7 A3 ?' ]  J/ z: U
  1572. ;   always using URL stored in browser's history or bookmarks.7 H0 L) w4 f2 D; a4 C5 V; [& N- @$ D
  1573. ; http://php.net/session.use-trans-sid
    8 a9 k) \. x0 @9 Y
  1574. session.use_trans_sid = 0
    % @" ^+ E" z- g4 x& E( z" E

  1575. 3 F) \3 W' t$ F" S
  1576. ; Select a hash function for use in generating session ids.4 |7 l8 `. I/ ?" ?. k% O+ ?5 W* p
  1577. ; Possible Values
    / T/ F' C$ A% G7 {7 f
  1578. ;   0  (MD5 128 bits): X$ A/ C) U! S" F. f& M
  1579. ;   1  (SHA-1 160 bits)/ Q; Y9 W% U  w0 t+ R/ |9 i- m; u
  1580. ; This option may also be set to the name of any hash function supported by
    # a7 V( @  ?4 v1 D
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    7 @6 r2 _  _4 S* N; K- N1 T- _
  1582. ; function.  f  n: r7 l  k2 j  d9 A' {/ t* t8 m# L
  1583. ; http://php.net/session.hash-function6 u+ l% A1 w- M7 L
  1584. session.hash_function = 0
    $ u2 Z! X1 L3 V
  1585. 7 ]# E9 G' D8 V( W( B* w4 A
  1586. ; Define how many bits are stored in each character when converting1 L' d0 r5 N$ U# U
  1587. ; the binary hash data to something readable.( b: w* g6 L0 x& t
  1588. ; Possible values:
    % m! A' r- t. Q: I
  1589. ;   4  (4 bits: 0-9, a-f)
    3 e7 y& I0 |; U  A5 v' `, t
  1590. ;   5  (5 bits: 0-9, a-v)1 _. S2 p2 G& s0 v5 {" A- O
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 f* ~4 Y+ j, z! L
  1592. ; Default Value: 4
    " E9 k2 b' I! v& D. A, ~
  1593. ; Development Value: 5
    * P2 b* w+ N* S7 ~, m9 ~. u, S3 e
  1594. ; Production Value: 5
    3 c1 v+ z/ Z* {) Z4 X; ?
  1595. ; http://php.net/session.hash-bits-per-character% {: ^. }" V% d4 G0 r# G+ z
  1596. session.hash_bits_per_character = 5
    9 d0 @  [$ R% ~- @
  1597. 6 ^& ?9 Q  b  K% d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 g- ^/ R2 }8 g% k3 w+ a2 L
  1599. ; form/fieldset are special; if you include them here, the rewriter will! w2 ~! M* I8 G  [/ {3 E" g3 i
  1600. ; add a hidden <input> field with the info which is otherwise appended3 t0 G2 @% C4 ^6 ~' N5 i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.6 D4 w6 x. {& Z3 Y9 q
  1602. ; Note that all valid entries require a "=", even if no value follows.
    $ U9 k. ?) M4 g* U) K
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": z  d! m. N: `$ f: N8 w
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 J& Z: S% U$ s# z, J
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 n# @& A, Z1 e; f) z# V7 h4 ~
  1606. ; http://php.net/url-rewriter.tags
    ! T5 x: ~) P- o
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 h3 c8 S+ m( q0 ]& e6 P7 @( u

  1608. & S; `9 C" P, Y8 d
  1609. ; Enable upload progress tracking in $_SESSION
    ! l: g; A. ]9 T. [0 ]
  1610. ; Default Value: On, A& S  G& U* z5 N. D
  1611. ; Development Value: On0 C0 _- [8 \: B/ Z
  1612. ; Production Value: On
      H; m# q( e7 C- x* M' l9 }* J1 J
  1613. ; http://php.net/session.upload-progress.enabled5 L; G* M, _2 U
  1614. ;session.upload_progress.enabled = On9 Z+ K1 \5 F  f* b% A: q

  1615. # D. P% ?9 M" Y8 y
  1616. ; Cleanup the progress information as soon as all POST data has been read
    7 m! ^6 g3 x0 E! ]3 X& y
  1617. ; (i.e. upload completed).
    9 w0 a5 f5 v+ p
  1618. ; Default Value: On
    + ~* S+ |. U( s5 k
  1619. ; Development Value: On" ^2 ]# r2 y* q, E7 [8 v" B/ j
  1620. ; Production Value: On
    1 h7 o3 X) U: b* D' s
  1621. ; http://php.net/session.upload-progress.cleanup1 w! q6 Z5 f! W& V, M
  1622. ;session.upload_progress.cleanup = On
    0 O  |1 s/ X/ F9 X+ V
  1623. 9 s  i! O% L% ]9 p/ ]
  1624. ; A prefix used for the upload progress key in $_SESSION* o' g, C$ G, U) Y$ ?
  1625. ; Default Value: "upload_progress_"
    & K; c. J+ S+ |4 p
  1626. ; Development Value: "upload_progress_"
    9 {+ @: X1 j0 p/ q, F. w+ w
  1627. ; Production Value: "upload_progress_"8 C5 `, o+ ?5 z- B: c
  1628. ; http://php.net/session.upload-progress.prefix
    ( }& J- @4 ~& n' [
  1629. ;session.upload_progress.prefix = "upload_progress_"
    + L' A% r3 [# ]( N- J0 F

  1630. * c  h; n+ G9 i4 g( @7 L* o
  1631. ; The index name (concatenated with the prefix) in $_SESSION6 ]+ e1 A" d( u5 s
  1632. ; containing the upload progress information" k$ ]% G! `4 G1 j; s, m. O
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"9 t4 T* T5 z6 {* Z* Z2 n" P
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & m$ O: g/ K) Q! x. |8 I
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; A' N0 H$ ~6 M2 b7 G
  1636. ; http://php.net/session.upload-progress.name
    : y  M0 U# E6 R( y3 G
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* @$ p7 S0 F6 {
  1638.   t3 p  |1 v# T
  1639. ; How frequently the upload progress should be updated.7 _% R3 G) N) D' ]+ N
  1640. ; Given either in percentages (per-file), or in bytes
    ; Q/ v( h1 [% w1 s$ v9 b  m6 t
  1641. ; Default Value: "1%"
    8 u2 d5 s* ]& u$ ]0 e5 |& c) F
  1642. ; Development Value: "1%"
    % n, x3 g2 j" i/ l
  1643. ; Production Value: "1%"1 h# e) J8 M# C  U' X  k
  1644. ; http://php.net/session.upload-progress.freq5 x% ?# |' p: X1 y
  1645. ;session.upload_progress.freq =  "1%"2 M; ~% m+ @$ l, ~
  1646. / P' a% Y  H4 K  d8 G3 w( U9 m' V5 s
  1647. ; The minimum delay between updates, in seconds" i6 H7 V8 f5 M1 Q4 X
  1648. ; Default Value: 1
    - }' Q$ D" E$ C3 x
  1649. ; Development Value: 1
    8 f3 U" c. Q( V& [. N
  1650. ; Production Value: 1: u7 Y  P1 r- |4 ~
  1651. ; http://php.net/session.upload-progress.min-freq
    1 e3 ^' V8 C3 R) T( g4 L
  1652. ;session.upload_progress.min_freq = "1"! T4 R8 J! r; ^
  1653. ; h, x. Z- X1 J# C6 d
  1654. [MSSQL]
    - ?1 j& J/ w) n1 U/ P
  1655. ; Allow or prevent persistent links.- }3 G# m/ l( V; B
  1656. mssql.allow_persistent = On) ?3 r3 q) g, x! D) R4 R& d% u
  1657. 3 P0 W' |/ f% b$ p
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ) m: x' b" `' o% s) E
  1659. mssql.max_persistent = -13 E" k3 T  q% k; ^) J
  1660. 2 E1 A" R& }6 K# f7 h1 I
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ v0 Y( J$ C- _( R
  1662. mssql.max_links = -1# S0 f. p& I9 B) `! n
  1663. 2 m3 ^* |8 R6 W+ Y' @( p
  1664. ; Minimum error severity to display.
    , n, k/ J' v3 p5 w$ K
  1665. mssql.min_error_severity = 10
    * \9 M0 k+ |9 D, \2 ?& @; ~# @

  1666. 9 L) x0 S8 n( g8 Z* M
  1667. ; Minimum message severity to display.' S  H3 ]8 O: s+ G/ u+ a0 |
  1668. mssql.min_message_severity = 10/ a8 j8 y- [5 q; g) D* i3 V

  1669. ) u9 l* c) R* f! n/ Q
  1670. ; Compatibility mode with old versions of PHP 3.0.
    2 L, ?8 P+ c' |/ T* j/ M
  1671. mssql.compatibility_mode = Off
    7 D1 C3 E# J! j

  1672. & Q# A4 |: ]0 O# e& Q) ^
  1673. ; Connect timeout: `' w) v8 ~5 q
  1674. ;mssql.connect_timeout = 5
    8 s$ g" ~6 r* _* u3 t) i2 P
  1675. 7 ^4 U! {0 g% v4 d; O, e
  1676. ; Query timeout# u, [6 x9 L% F. n8 z9 p
  1677. ;mssql.timeout = 60
    6 I* P0 W) J7 v# o! M

  1678. 7 v& N+ A' D3 e% ]' y
  1679. ; Valid range 0 - 2147483647.  Default = 4096.  ^. k/ W% b4 G; Z$ @7 ]$ t; x
  1680. ;mssql.textlimit = 4096
    3 M9 G7 S0 }. Q# l3 D
  1681. 8 @- A9 x- B. `8 x; K$ j* `! Q
  1682. ; Valid range 0 - 2147483647.  Default = 4096./ I: ^2 b9 t% z3 o3 y4 d7 ]
  1683. ;mssql.textsize = 4096# a! h& F, O+ ^# |+ o
  1684. 4 K* `5 r+ l3 x9 q6 ^' u/ O- _
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.! I: k* g' T9 |! g6 J1 P
  1686. ;mssql.batchsize = 04 ?6 ]8 N8 G- K+ `9 h
  1687. # [+ }0 P( B4 d: ]
  1688. ; Specify how datetime and datetim4 columns are returned
    0 Q+ C3 b9 Q. X1 y; x8 v  ]
  1689. ; On => Returns data converted to SQL server settings
    3 @) b. F- K* h* p: H- V/ J3 e* I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss% F# ^( s) W2 M7 V0 o8 j0 R, g  I
  1691. ;mssql.datetimeconvert = On% I  N) K9 J7 Q. x# F5 H, T6 r
  1692. 7 J) ]$ W4 c# ~$ Y) H  C
  1693. ; Use NT authentication when connecting to the server8 w- k$ W, Q6 L0 d; j; Y: u4 m9 g& f
  1694. mssql.secure_connection = Off& m3 @: @' n5 \; A2 L8 m& g
  1695. . C6 G" o: G/ L; z5 h
  1696. ; Specify max number of processes. -1 = library default' ^- U  \# d& Z$ O3 n  M
  1697. ; msdlib defaults to 25
      ^' O3 M9 S: y4 K' A
  1698. ; FreeTDS defaults to 4096
    4 r0 `' v6 L6 A" E, R
  1699. ;mssql.max_procs = -1
    + h, S: T% q. C. r/ N; b

  1700. 9 T- Y) r- A& P6 S
  1701. ; Specify client character set.
      M1 w$ k5 j" W. Z! e8 Y# x4 ]
  1702. ; If empty or not set the client charset from freetds.conf is used5 F2 ^, D5 P2 E- X) _, U4 C
  1703. ; This is only used when compiled with FreeTDS
    0 t4 b" H! a, g6 x$ J
  1704. ;mssql.charset = "ISO-8859-1") T* a4 n3 p! B
  1705. ! T+ [. Z6 n: l0 R" u
  1706. [Assertion]5 O' M2 C- f" C% d2 S) W
  1707. ; Assert(expr); active by default.  ]3 m8 g) j% l* Y2 ?
  1708. ; http://php.net/assert.active
    2 @6 m  E$ M# T0 F" O& d+ X5 Q5 i" }  y- ~
  1709. ;assert.active = On
      w2 k7 G. O" g( z) x5 X
  1710. 7 q2 P8 N: C; M7 T" Y
  1711. ; Issue a PHP warning for each failed assertion.
    1 R0 N4 c! s/ H3 H: s  R- j
  1712. ; http://php.net/assert.warning
    ; [' e' x* y0 ~
  1713. ;assert.warning = On3 Z1 b: x0 }9 R/ b; k; f0 L6 f4 V

  1714. 7 [$ P" ]2 Z% {* |, `! e( J
  1715. ; Don't bail out by default.
    ' N' l/ ?; U8 X( L, H" m
  1716. ; http://php.net/assert.bail
    2 F8 ^1 A% N1 q% {
  1717. ;assert.bail = Off
    4 R: y) F( i! V9 J) F4 L
  1718. - z0 U& A4 @2 K
  1719. ; User-function to be called if an assertion fails.
    , ?: `8 X$ m# B, C1 Q
  1720. ; http://php.net/assert.callback
    $ P2 U+ ?) i7 K, f
  1721. ;assert.callback = 0( n+ s! g% G" W' T# O
  1722. & o; s' P" A: `7 B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    0 I: ~- ?8 s+ }4 g$ m- C. g0 \
  1724. ; error_reporting(0) around the eval().- w0 K; T) s: N- y& z: B8 ^
  1725. ; http://php.net/assert.quiet-eval
    % Z6 z7 [! B0 Z3 c# M
  1726. ;assert.quiet_eval = 0( M8 k% {4 X5 Y( a1 H3 x1 z/ @9 b
  1727. $ W6 z( z8 q0 [% a: n/ u
  1728. [COM]
    9 n% ?  h! G1 F
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# ?/ G2 i- i5 d$ M- l( l9 G
  1730. ; http://php.net/com.typelib-file
    . h3 A* _. p4 e* Z' V: v4 V: [
  1731. ;com.typelib_file =
    2 {1 b3 H% |& [1 [3 ]1 m) W5 U0 M
  1732. 4 S( T4 M4 q- V+ m
  1733. ; allow Distributed-COM calls, m1 ?; e2 w4 B1 s
  1734. ; http://php.net/com.allow-dcom
    & v* Y4 X' m1 \* N
  1735. ;com.allow_dcom = true
    & I% M- c8 J& N, a% E. q1 t0 J( W# Y
  1736. - n2 u3 b! j3 Q. v1 F5 n$ }; b
  1737. ; autoregister constants of a components typlib on com_load()
    , v7 U# \" W) h' X! a
  1738. ; http://php.net/com.autoregister-typelib6 y- W- P1 h# p( o( r. A# k8 i
  1739. ;com.autoregister_typelib = true- \7 V  |8 w1 j' I: u# Z: P, Q

  1740. 2 b3 R7 c: Z+ x& X1 j7 D0 g, y
  1741. ; register constants casesensitive& d) j" E7 G; @
  1742. ; http://php.net/com.autoregister-casesensitive
    ' q$ h, h4 V# M
  1743. ;com.autoregister_casesensitive = false+ Z% i( x! t! y4 `9 ?4 Y4 `
  1744. # ?" W( d' J* J$ h5 C: e% F
  1745. ; show warnings on duplicate constant registrations1 b2 M  Z$ y2 h& p7 B2 r
  1746. ; http://php.net/com.autoregister-verbose/ |1 N# k9 p9 W1 o
  1747. ;com.autoregister_verbose = true8 ~5 u) I3 Y% `( k5 q6 w
  1748. $ L4 w& X9 y0 w  n5 d, H
  1749. ; The default character set code-page to use when passing strings to and from COM objects.- D3 M- i. w" E( H0 \  J" R6 E
  1750. ; Default: system ANSI code page
    ; i* t- U: V: @9 _# J! z' M$ s, y
  1751. ;com.code_page=
    9 ]2 B4 K) K0 h5 [4 A* M% H1 O

  1752. * G$ v. K. X! Q  l1 }8 R' z
  1753. [mbstring]$ y9 I+ ?4 z- N# D  B9 R" e
  1754. ; language for internal character representation.4 v$ K5 N6 R2 ]. h
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ( r, v0 a! |. @% n( b+ s. [
  1756. ; http://php.net/mbstring.language
      V9 U- k9 h: _, b+ f" m
  1757. ;mbstring.language = Japanese
    2 G: t2 T- u$ U

  1758. ; V4 y# ^# ~3 Y  C7 T
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 W5 K; K+ t4 U% n
  1760. ; internal/script encoding.# P. w# ^( f" v0 T! D" G
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)6 }4 [+ M6 M5 \) R& b5 [" K' o5 p
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- B2 s' C1 }7 X
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . T* E2 G6 A( |1 e% T, t
  1764. ;mbstring.internal_encoding =
    : r& [8 v4 U8 k2 d

  1765. ) {1 O6 g! ]- n1 g& A
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 r& o! v& i3 W; ~! a* }  L
  1767. ; http input encoding.4 |$ e( J7 K- c( B/ l# a* c% }, s
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.+ H/ U4 T( E+ e* N1 K
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.4 x, x, `/ K) }4 g( ]
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 d  D  F4 f: ~3 D' ^6 Y3 w
  1771. ; http://php.net/mbstring.http-input. R& {+ m* n, H) S$ g% S' K
  1772. ;mbstring.http_input =9 p8 O6 X+ p# q0 r

  1773. " k) \( d& `6 T" }/ I5 \5 Z" W
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.$ i) N  c4 U& P$ q( H8 w
  1775. ; http output encoding.% A# }& V/ e: ~6 w1 `3 a* p8 _
  1776. ; mb_output_handler must be registered as output buffer to function.
    ! A0 Q( S# R; j1 Q' [2 N% |
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.5 i8 v8 n3 h$ x" _
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output5 K* j2 S7 ?2 c- }5 j8 b
  1779. ; To use an output encoding conversion, mbstring's output handler must be set6 q: F4 i  q8 q; m) u
  1780. ; otherwise output encoding conversion cannot be performed.
    3 |' U+ W1 l8 `7 }5 x
  1781. ; http://php.net/mbstring.http-output
    % L) \6 m0 D9 R+ ~) R8 X
  1782. ;mbstring.http_output =
    . u6 u% x& o' T& Z/ n, L6 F
  1783. ) ~0 m2 u) f' {% W( [$ u1 b) H
  1784. ; enable automatic encoding translation according to
    ; N* ^; S) S1 e) Y) f
  1785. ; mbstring.internal_encoding setting. Input chars are0 _0 q( m2 w# W" A& J
  1786. ; converted to internal encoding by setting this to On.
    ' d! F+ A' m* G8 Q" t9 a
  1787. ; Note: Do _not_ use automatic encoding translation for7 A9 b1 S# O( ?$ q1 y
  1788. ;       portable libs/applications.4 [, T, M( o/ `
  1789. ; http://php.net/mbstring.encoding-translation7 V( k' c# e0 O% O
  1790. ;mbstring.encoding_translation = Off8 N/ {4 c. C' \6 n4 D, q' d

  1791. 6 V/ ~$ x0 L$ P0 U
  1792. ; automatic encoding detection order.
    4 D7 K- ?* j+ M2 \
  1793. ; "auto" detect order is changed according to mbstring.language+ B( S+ n) r$ W+ l! i( G
  1794. ; http://php.net/mbstring.detect-order3 N3 S* [' g2 S$ A6 O; R
  1795. ;mbstring.detect_order = auto
    7 U% J; z# P" j& b" g
  1796. ( m" w! @8 D# r7 Q: `: m, M
  1797. ; substitute_character used when character cannot be converted
    $ k4 f" i  j7 _$ E. G% Y0 }8 q/ J' L
  1798. ; one from another! F( N& H4 [  l. `% N3 @3 m0 Q
  1799. ; http://php.net/mbstring.substitute-character
    / {1 J2 p* k- \9 ?& D. f
  1800. ;mbstring.substitute_character = none7 @( w+ ?5 u0 y# w7 l) B
  1801. . O0 W: X4 d6 F4 w4 {. k
  1802. ; overload(replace) single byte functions by mbstring functions.
    ) V0 J2 k: |  @3 \; `5 j
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- [, f& D9 F0 J- O  v: ?
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.# J! Z& W( T* q
  1805. ; For example, 7 for overload everything.% S" o6 s7 W( N% M: ^6 p
  1806. ; 0: No overload8 w6 ^1 t2 D6 X6 C0 H& l' Q
  1807. ; 1: Overload mail() function
    ) }8 n' I7 U' C1 H! t4 _
  1808. ; 2: Overload str*() functions; e2 L* q1 E, X& x
  1809. ; 4: Overload ereg*() functions& |) j- s9 P' I" W0 N
  1810. ; http://php.net/mbstring.func-overload
    * Y7 T1 ^" c$ W0 I# K4 x/ r
  1811. ;mbstring.func_overload = 0
    # g) B( S+ K; i& m

  1812. 9 ~$ d' @& c  y) }1 V
  1813. ; enable strict encoding detection., C1 v$ I5 d8 R1 J# T0 O* ~, g
  1814. ; Default: Off
    ' q: ~, O) x8 s+ ~9 u5 \& T; k9 G
  1815. ;mbstring.strict_detection = On
    ) R/ j9 i  F# L. W
  1816. & Q7 h$ y3 y2 d' m4 O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(); x4 Z1 i; b/ L; ]2 O
  1818. ; is activated.
    " p' ?2 c8 v- n# |
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    + o( q" f7 Y/ c7 }
  1820. ;mbstring.http_output_conv_mimetype=9 ?, j- c8 Y2 y3 w% o8 b7 c

  1821.   h. e6 y# W. r) }' d) E2 ?* [
  1822. [gd]
    ! J6 O3 \) e. h- c& A- P
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    , I/ [) C0 g+ e" j; Z
  1824. ; a gd image. The warning will then be displayed as notices
    * t5 L7 h7 x8 q
  1825. ; disabled by default
    : p5 O: |5 ?8 n% P* S
  1826. ; http://php.net/gd.jpeg-ignore-warning. b1 ?* \1 w5 \3 K2 I  w7 E0 K
  1827. ;gd.jpeg_ignore_warning = 0
    : V+ r8 z/ V8 q+ [0 j+ n

  1828. & H6 s4 k8 E/ ]. W' d8 r( O2 Z
  1829. [exif]& k# U, K& D0 J) E, |- w
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.& i2 G0 l7 m3 Y
  1831. ; With mbstring support this will automatically be converted into the encoding0 W2 V4 i9 V! P- j- D& f2 S
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 j5 Q# ?; w4 i1 A
  1833. ; is used. For the decode settings you can distinguish between motorola and- j, j/ b4 d: m
  1834. ; intel byte order. A decode setting cannot be empty.6 x! g" f: R; \, m" A4 p
  1835. ; http://php.net/exif.encode-unicode; p0 K6 R5 g* K8 i  G. ]9 D- D
  1836. ;exif.encode_unicode = ISO-8859-15* ^8 t4 h. Y0 {( x0 r, D# }
  1837. ! a! v- u' E3 j
  1838. ; http://php.net/exif.decode-unicode-motorola
    9 d) K4 E& E2 t3 _5 b+ F
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    9 G& W" K& l) P( Z/ V1 ^; {
  1840. + g! R' P) Y: ]1 S) }9 T
  1841. ; http://php.net/exif.decode-unicode-intel# W1 A4 u' k6 W) }4 s% S
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ) [. Z6 U% K2 Q( l  p

  1843. , t# |* I* p' {! R: z4 n: K
  1844. ; http://php.net/exif.encode-jis
    9 Y1 A" \$ t. B8 o
  1845. ;exif.encode_jis =
    8 }" V# V# a$ Y' e

  1846.   a8 r: R! S# h  [
  1847. ; http://php.net/exif.decode-jis-motorola
    4 _4 _" b. ~* D: |
  1848. ;exif.decode_jis_motorola = JIS* D2 q6 |& X1 G$ z# G% |
  1849.   S4 ^3 W: ~5 |6 S3 A0 _
  1850. ; http://php.net/exif.decode-jis-intel
    % {, a  s9 D* z0 ^% P. b
  1851. ;exif.decode_jis_intel    = JIS
    ; x' p4 ]+ z6 D$ f
  1852. + [( r9 ^+ c7 N
  1853. [Tidy]
    & e# [# ?- G- N- e
  1854. ; The path to a default tidy configuration file to use when using tidy6 W; v1 h$ {& F# o7 f
  1855. ; http://php.net/tidy.default-config
    1 K" `0 O0 r  I
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg0 X' D( y1 Y0 `; @
  1857. - w, z. I) b' }* S. c: A$ U% q
  1858. ; Should tidy clean and repair output automatically?0 U2 t  g( Y4 Z
  1859. ; WARNING: Do not use this option if you are generating non-html content& N. [9 y9 _6 X; R8 M5 J
  1860. ; such as dynamic images: i/ ?, _6 n# B( ^
  1861. ; http://php.net/tidy.clean-output
    , U; @- ?1 y6 W, k; @# Q
  1862. tidy.clean_output = Off
    0 w5 ?6 Q$ t: ^8 G  @6 a3 ^
  1863. ! a5 }6 ?5 w2 y+ y6 Q
  1864. [soap]
    : h' B! M0 C! ]
  1865. ; Enables or disables WSDL caching feature.6 |( h9 z/ c* M
  1866. ; http://php.net/soap.wsdl-cache-enabled
    & U* A( u0 {8 F
  1867. soap.wsdl_cache_enabled=1
    # J9 K: z3 }: q+ ]+ X
  1868.   ]+ t  h# J1 }+ X2 D& f
  1869. ; Sets the directory name where SOAP extension will put cache files.( u3 f, T: ~. p! W+ t, o
  1870. ; http://php.net/soap.wsdl-cache-dir2 b( y9 G$ v5 _0 F) f* J3 x% G
  1871. soap.wsdl_cache_dir="/tmp"
    7 N/ d; H& }5 \) G, G$ C
  1872. $ F; K, }6 w+ I  T, k
  1873. ; (time to live) Sets the number of second while cached file will be used! M- c, h' S4 U& g
  1874. ; instead of original one.
    2 p# a! k+ G2 j% {6 c9 l0 ^- k
  1875. ; http://php.net/soap.wsdl-cache-ttl
    5 N: R+ J, f, j
  1876. soap.wsdl_cache_ttl=86400
    $ ^5 _' C. _3 `$ f: d: I

  1877. 2 S. Y, L2 X9 V# r2 U- i- Q; ]2 L
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    8 D8 K- p0 K: |- Z
  1879. soap.wsdl_cache_limit = 5- p7 d- Y6 s' L; d1 b
  1880. ! p' j# B4 S9 ]4 L1 ]
  1881. [sysvshm]
    4 B- H: W( d7 n; K6 T! x6 M" A
  1882. ; A default size of the shared memory segment5 O( c1 c  f% b
  1883. ;sysvshm.init_mem = 10000" N0 i% |# ^' f

  1884. 2 T- M& U8 q3 C  h2 b3 a- n+ d
  1885. [ldap]
    3 D% T; A. F) ?5 n
  1886. ; Sets the maximum number of open links or -1 for unlimited.5 b( v0 f" M) L! z. a* i9 t- x
  1887. ldap.max_links = -1
    / x- v5 a3 e% w

  1888. 8 C2 U3 H9 u) h6 a; Q3 M
  1889. [mcrypt]% X+ R# Y; z6 ]- i* n. {
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 G, A6 O8 x0 V6 }
  1891. 4 p3 w! C% A6 M* u" I
  1892. ; Directory where to load mcrypt algorithms9 z; ^9 t, S+ k/ V4 c+ _% N; Z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 {5 R; C* K" h* L+ h4 R
  1894. ;mcrypt.algorithms_dir=2 U) i: V/ P# J" k4 j. J, r

  1895. - U  K0 a4 I: q
  1896. ; Directory where to load mcrypt modes6 u/ U6 f( A: r2 Q% `
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . N1 S6 J* W% L1 }
  1898. ;mcrypt.modes_dir=* S$ V: C6 b/ x& Q+ ~! y
  1899. 8 k/ L" l/ J" f( g  L& F0 N
  1900. [dba]2 e- u, t7 T! I) A( E, D
  1901. ;dba.default_handler=$ E4 E! g2 U, y- J9 h  `- I
  1902. & K. e. r8 O' G8 Y0 W
  1903. [opcache]+ l& m( v. P. r; h5 y- {+ t5 u
  1904. ; Determines if Zend OPCache is enabled
    . N7 v8 o) y3 z3 x% f  I
  1905. ;opcache.enable=02 X. y; t* d' t; L3 ~& ]

  1906. 1 [! i9 n4 n9 b
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ) `: O# `) c' L( ?3 a, f( M
  1908. ;opcache.enable_cli=0  U$ }  o: a' T& N; f$ \3 a

  1909. ( H: L( [) W2 e7 l6 N- _
  1910. ; The OPcache shared memory storage size.5 g( @) C+ Y5 a, G9 Y  |
  1911. ;opcache.memory_consumption=64! t5 o3 v& G& s1 y  r) q# e/ s7 C

  1912. ; N, t; h% J% G8 d$ ~
  1913. ; The amount of memory for interned strings in Mbytes.% [7 B: K+ L1 z. q5 r' b  V6 h
  1914. ;opcache.interned_strings_buffer=4
    - Z$ \: }. e; l3 F

  1915. 6 s0 @7 u" [' W6 f; N8 U
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.- e: R3 D  y# ~
  1917. ; Only numbers between 200 and 100000 are allowed.
    & q7 K9 V$ K! b! Y
  1918. ;opcache.max_accelerated_files=2000
    7 _% X! s* b8 @* e9 ~: {) D( U

  1919. ) [3 B4 l' q- d. X' e
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ n5 r1 X, |8 k* ^$ J0 y' n
  1921. ;opcache.max_wasted_percentage=5
    . {; m/ h2 H/ K6 P% L! ^/ R

  1922. 7 @, z+ l& V+ k2 t* x1 N' a
  1923. ; When this directive is enabled, the OPcache appends the current working( _3 N: U; H9 b: x: n' u: a
  1924. ; directory to the script key, thus eliminating possible collisions between" V7 X- p6 \2 B; D: V3 b8 M
  1925. ; files with the same name (basename). Disabling the directive improves  q( a0 x8 @" ?" t+ R
  1926. ; performance, but may break existing applications., c; {6 H% K5 f' f1 A& o
  1927. ;opcache.use_cwd=17 s3 z+ _) i3 r" _4 q/ n+ n" ]0 \
  1928. . L0 q0 C8 s/ x  f+ C1 ^
  1929. ; When disabled, you must reset the OPcache manually or restart the
    # ?7 x& {  S5 w4 e+ o) c
  1930. ; webserver for changes to the filesystem to take effect.  J( W2 _3 x1 d  Q0 K" W
  1931. ;opcache.validate_timestamps=12 D$ q$ e- j' U1 B
  1932. 7 g9 q: o7 q2 x9 p
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    8 N3 e9 M8 Q. W8 A
  1934. ; memory storage allocation. ("1" means validate once per second, but only0 Y  _8 o  z1 y
  1935. ; once per request. "0" means always validate)
    0 ~; q1 n6 C' ?2 S/ O
  1936. ;opcache.revalidate_freq=2. M1 ~# R' l5 S! v- P7 R
  1937. 4 {. d. V. ?/ @# ]
  1938. ; Enables or disables file search in include_path optimization+ U* L4 z% h, S0 H- A
  1939. ;opcache.revalidate_path=0
      n& q& S! z; O& ~7 y( S

  1940. ; f6 e6 n3 a6 g) `
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ( F7 K' n( L0 B; J/ }5 O% l2 t; E
  1942. ; size of the optimized code.
    9 {3 x1 Y% K+ @1 P2 Q) i
  1943. ;opcache.save_comments=1
    4 Y. d9 ?8 d0 l" r: o" _; M9 I

  1944. 4 C- P. R+ B$ i* m- E" O
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    * l! T6 x& E9 z, p( q: y- c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ; a! }3 H. f4 ^) ~0 c2 U
  1947. ; that don't need them anyway.& h$ `- x3 j$ K) Z. E
  1948. ;opcache.load_comments=1
      Z2 _' x) G1 q# x3 H& b

  1949. 0 R- r: F: e. u8 }
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    + j7 t! E4 f' r0 ]6 m1 k( ]# b  q
  1951. ;opcache.fast_shutdown=0
    $ z0 `% q6 `) P5 ^

  1952. + p. i9 }  C0 ?, M) k6 r! `* ~
  1953. ; Allow file existence override (file_exists, etc.) performance feature./ p6 b! N- w/ l# k; o; t
  1954. ;opcache.enable_file_override=0: S# Y( G6 [3 k! E! E9 U0 @
  1955. ) ~1 S) |" E+ q; O8 d8 w
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! H# P! ~$ H' I
  1957. ; passes& L, V1 Y  B1 w+ `' Q
  1958. ;opcache.optimization_level=0xffffffff( k: E4 O+ g" Y" b( d1 ?# R
  1959. ' D" D* m2 H/ F1 v$ ~5 x
  1960. ;opcache.inherited_hack=1
    " j3 S$ l6 u! _! f9 i$ W  R4 E
  1961. ;opcache.dups_fix=0
    % K# k: B. f) j* a: g+ Y- l

  1962. , \5 u& w+ J! \) R7 p
  1963. ; The location of the OPcache blacklist file (wildcards allowed).+ Z) h, n+ K7 I, u9 L. `/ Y6 S; f
  1964. ; Each OPcache blacklist file is a text file that holds the names of files' w% n! G3 x% _$ i7 Y
  1965. ; that should not be accelerated. The file format is to add each filename, `4 k1 j% U  r! H+ i
  1966. ; to a new line. The filename may be a full path or just a file prefix
    2 U$ R0 U- g5 X5 J# b6 s
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    2 G# j, A3 w& O  ~
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ( d+ I# L8 D- F$ O
  1969. ;opcache.blacklist_filename=# R" C4 A3 x, [2 ?% R
  1970. ' w, F5 c- U% e. }7 @0 [- b. n
  1971. ; Allows exclusion of large files from being cached. By default all files0 h) a8 Q9 ]3 i4 ?  O$ Q# o1 t5 x
  1972. ; are cached.2 Z! H. E: o& @. w( ]
  1973. ;opcache.max_file_size=0
    + z) [. [7 q+ F' k- W$ g8 O1 `

  1974. 6 Q; E8 T1 Q- `- @, e* `4 x
  1975. ; Check the cache checksum each N requests.
    ; F! J$ ~4 j8 z) U' k. I7 u; d1 W2 ~
  1976. ; The default value of "0" means that the checks are disabled.
    4 j( ]6 p4 b) K( Q! S
  1977. ;opcache.consistency_checks=0
    # p+ k- c6 h, L4 ~$ f& _
  1978. " v) N/ L; @& S8 Y5 v) w9 h: H
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache1 M7 u9 u$ Y6 n0 }9 ]
  1980. ; is not being accessed.
    3 L0 I# s' Z) T
  1981. ;opcache.force_restart_timeout=180. a& X6 {/ H, @) Z7 l# b, F) U

  1982. $ u5 F5 N+ O% t: p
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    $ h3 k3 ]1 L( L/ H, p
  1984. ;opcache.error_log=7 t3 D7 }- N% i  b$ f. ^8 D; F5 Y) I

  1985. . D2 b: t5 F0 Q
  1986. ; All OPcache errors go to the Web server log.! k# V1 u( j1 [' @* g7 K
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# ^9 }# n0 n" {. y9 I: F
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    2 L. H: U3 H1 u8 p' e
  1989. ; debug messages (level 4).
    1 B# r7 ~0 d# n8 H  g
  1990. ;opcache.log_verbosity_level=1
    6 I  c* ~9 m1 _" O/ \. e2 h
  1991. 5 m/ [1 h) @9 P) l+ m7 p2 J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 J' [' D: _9 o8 t
  1993. ;opcache.preferred_memory_model=
    ! T: p7 C( k' a1 e5 l$ W, d! T0 s
  1994. $ {# Q. U- F( D9 c
  1995. ; Protect the shared memory from unexpected writing during script execution.
    8 b1 U/ I9 Q0 ~( R
  1996. ; Useful for internal debugging only.
    * t8 t( k, D, h
  1997. ;opcache.protect_memory=0
    ( C+ H5 q: W' i' D: \, X) W2 D
  1998. ) @2 ]' J0 A7 b
  1999. ; Validate cached file permissions.7 ~7 r$ G- j3 Q5 z3 t" f" s
  2000. ; opcache.validate_permission=0
    9 k+ M! W) ], B& H3 b
  2001. 5 ^2 C; }( r# H: d4 t' r0 O/ j
  2002. ; Prevent name collisions in chroot'ed environment.
    ( k2 M# O: a: N; e# S# ~
  2003. ; opcache.validate_root=0
    4 ]2 R# {3 n2 ?# H

  2004. + y% u, U( u* w9 L" _
  2005. [curl]
    5 n! w% D9 g  l) \  ?. u
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an% \5 f% a  R- u+ \; i' Y# ~* Q
  2007. ; absolute path.$ P" @/ m$ E( A
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( E6 Z! d; P6 r& e5 @

  2009. , _/ y  Y- ~7 z( k0 @1 Y% s3 X) }  |* |; p
  2010. [openssl]
    " r: _# r" |/ e  ~8 W
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 E* _# ]  s% \3 X/ e& T' E% {8 m
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should, w& I2 E4 L+ F
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ' |: d# n* z' O% Y
  2014. ; OS-managed cert stores in its absence. If specified, this value may still2 f! S: G$ u4 \" p
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context7 g! z8 G  o9 l( z. \
  2016. ; option.
    & y. |- D5 x, p4 E; l: K
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 G9 h. }0 z, W) B8 Q
  2018. ; U) K, S! O$ l
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the6 z# O5 i2 M# n% }- n
  2020. ; directory pointed to by openssl.capath is searched for a suitable. F$ V- S9 ?2 t. j5 }  K. ^# |
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    $ _" m6 }+ }3 T" P( G0 S- F( o
  2022. ; Most users should not specify a value for this directive as PHP will# B9 J0 V% M+ h! P! M+ C% Q$ f
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,9 X" R) |& ~+ H# e1 x
  2024. ; this value may still be overridden on a per-stream basis via the "capath"+ h6 F, C. a$ y9 {. ~  \0 w! {
  2025. ; SSL stream context option.0 s' X8 g! K7 S: W+ u8 R( X
  2026. ;openssl.capath=
    ' R" d6 v$ ]; f) G- q6 ]8 B

  2027. 1 ~$ ~& A- r7 C* y9 K3 |
  2028. ; Local Variables:
    $ s3 A: f$ p9 Q1 i  H) p: b5 V, p
  2029. ; tab-width: 4  S4 v/ R4 b  N( E
  2030. ; End:2 w4 m" b  E% B; q, Z5 }* _( e

  2031. % t, K5 ?* `7 h& P, J- B4 R) @
  2032. ;eaccelerator+ R  T2 r' v9 Z& c9 ?. k
  2033. & a7 a0 H- z% I$ u- M
  2034. ;ionCube4 B9 B7 e: J  `0 `2 v# N
  2035. 4 `8 t( o& ^6 U* _4 U7 ]0 u  y: i
  2036. ;opcache
    ' F& ]. u6 P. \

  2037. ) L; G& W# z. H$ i; J
  2038. [Zend ZendGuard Loader]
    & N$ b- T3 z) _2 T% V( K
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    4 |' X! y/ E% b1 g6 ~" {/ l
  2040. zend_loader.enable=1  P0 a6 T+ B: g1 N6 m5 h! E9 _% e
  2041. zend_loader.disable_licensing=0
    * J; _+ \! ]- b1 [5 `
  2042. zend_loader.obfuscation_level_support=32 y+ @9 k1 ]" T/ I! h7 k
  2043. zend_loader.license_path=# ^( d9 e) o& y/ P% @$ H9 X6 V. w% y" C
  2044. 4 e( L1 J) q+ Z* F2 o; b
  2045. ;xcache' {1 U5 g7 x7 P) G* m! @
  2046. , z) t5 @2 `: ?- ]/ ^8 P) Q) h
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146929 z$ y" i6 W, w6 ^6 c3 H1 ^

5 s2 V7 d5 l* i4 a! j% s" W9 q+ ^, W
- b0 A9 |' I" H6 ]% KDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,% Z" }* h! F- S- O

) {; h; x0 M: E4 F1 FDiscuz!程序版本选择:
5 h0 d& q5 I1 L6 ]! O2 S1 Q, ^9 ^2 n站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- V& }9 \, I* f" O
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
' y9 n1 G# t& A' V: M/ d# qDiscuz!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。; D/ H+ K; ~* ?7 U3 a: w& A. e

- H6 j) Y: i6 R0 {Discuz!插件模板版本选择:, E$ o: y, q) }+ t
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
. f+ ^- J' z# @* b8 H% b9 ~5 y" D2 g针对这个问题做个统一的普及:
0 ~/ t' q* x, E7 z" R$ i  \X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。- h" M2 Z% I; g* ^4 L$ h
3 E  k& s' q/ G" R& [$ a
所以
& g  `% G) {! n: h  K适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。) @5 [4 L3 x2 e* r
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
2 C5 f* r& e4 b# V. b& G注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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