分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0' C  g2 I9 Y/ y5 m+ M) f4 g
" ?) Y8 f8 ]- \3 L) m
  1. [PHP]1 r8 k% ]+ k3 w# U3 B7 ]/ P
  2.   k+ C+ N+ P: C4 e# D6 ]
  3. ;;;;;;;;;;;;;;;;;;;
    / F. A  V* M0 b9 k2 p0 P+ t- T
  4. ; About php.ini   ;
    ) e( Z2 o, F/ R# I, l7 r# a
  5. ;;;;;;;;;;;;;;;;;;;
    & S( A+ F8 w# H& j2 i
  6. ; PHP's initialization file, generally called php.ini, is responsible for- h" S8 Z4 v0 n. z& H% ?# H
  7. ; configuring many of the aspects of PHP's behavior.
    $ e0 Y- }: E( U1 q/ t% l/ g+ `

  8. , A+ o5 C. o/ A  E3 M+ X
  9. ; PHP attempts to find and load this configuration from a number of locations.. \9 |" f- h9 ]' z+ ^! \2 [0 K( i7 E0 P) [
  10. ; The following is a summary of its search order:
    * z, R+ y! V' y2 x- l/ t
  11. ; 1. SAPI module specific location.$ _  C* U2 D& ^3 V, f. x
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)( A! v! L2 `! ?6 A: O; s" e
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 |3 k6 g+ v0 E6 U4 ^
  14. ; 4. Current working directory (except CLI)  Z* O: h: {' e' y; q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 a+ m& R3 K8 `; H. @; s
  16. ; (otherwise in Windows)" v% _% E* G( q+ O! e% I. O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    1 [5 I( c+ N- Y0 R3 ~. Y
  18. ; Windows directory (C:\windows or C:\winnt)
    3 w) F2 O8 e: T. h" h/ y
  19. ; See the PHP docs for more specific information.
    ! F! a1 i3 k) T5 a1 F/ r# F7 ^, Z
  20. ; http://php.net/configuration.file
    8 t% p* ^$ Q" ~, ?) G$ v
  21. 3 u( W/ c/ z# w6 J* L( Z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines6 C2 p! U3 J3 k5 \+ U" N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! h0 [0 d, |+ H) a' m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) V# o2 z) W9 T# @+ J: g
  25. ; they might mean something in the future.# U0 R& n- M$ i5 P3 Y

  26. * G: B1 C4 K) R. V/ \/ Z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 d4 C7 v# {( h5 R- M2 o
  28. ; apply to PHP files in the /www/mysite directory.  Directives: ^2 X6 f+ M1 t, y* i, c; n7 d/ m6 i
  29. ; following the section heading [HOST=www.example.com] only apply to4 F0 z- p& U0 R! p) h
  30. ; PHP files served from www.example.com.  Directives set in these- \% g( Q; x! \! K5 d0 L
  31. ; special sections cannot be overridden by user-defined INI files or
    9 C) ^/ R9 O! P5 a8 g# d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    9 I4 f+ ]) Z; i+ }( J. d, S
  33. ; CGI/FastCGI.
    $ s; O! B3 L& R8 T5 y3 N5 _
  34. ; http://php.net/ini.sections+ p+ p/ v8 H) N& R& R  V4 w5 d' n

  35. 7 ], C: c( O( b
  36. ; Directives are specified using the following syntax:
    4 E+ F( S5 m' D- W
  37. ; directive = value; p' |5 S  h' u3 _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ( t1 {8 S) l: t4 z- U/ |
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 v0 d' s& F- }! C! E3 o
  40. ; There is no name validation.  If PHP can't find an expected
    / T) P# V. `9 D" Q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 J  N6 c$ H. n" e* l
  42. % O7 A7 Y# h. k6 [) ^: ^" k
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 d) R7 o1 q: p! {# F* e- w
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression9 _! M; u- a& `1 }
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! ~% h3 P. o: C
  46. ; previously set variable or directive (e.g. ${foo})1 n9 r( D* K" c

  47. 6 M1 M/ m! q& G+ d. ^6 P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:- I7 E* l/ u4 u! S  P  v8 l0 E
  49. ; |  bitwise OR
    - A. `, n: `" Y- G/ W  D" s; o
  50. ; ^  bitwise XOR
    ( Q1 f7 p, w0 ^2 L% `; G
  51. ; &  bitwise AND* T$ ~/ t) y5 J. }1 h
  52. ; ~  bitwise NOT
    ( A4 E7 J! k2 r1 t
  53. ; !  boolean NOT7 t9 j6 g* R/ q
  54. & e: Z4 `$ G2 D8 I+ l: n1 W# f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! H# V% r' i% v
  56. ; They can be turned off using the values 0, Off, False or No.
    9 q8 S+ ~3 q) L. u2 b3 Z" k) J

  57. : B! q/ k/ `  O' \8 V
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 c- e3 d$ X( O% g, T$ P
  59. ; sign, or by using the None keyword:7 c& e6 }' ~: J9 E1 o, Q

  60. * N- G3 f3 y. b
  61. ;  foo =         ; sets foo to an empty string6 X3 m: A1 {, k* L
  62. ;  foo = None    ; sets foo to an empty string
    ) Y, T! _/ i* O4 }6 b, T- G
  63. ;  foo = "None"  ; sets foo to the string 'None'- s) T5 o6 |, R
  64.   M  z; [9 T2 }/ q1 p4 P
  65. ; If you use constants in your value, and these constants belong to a3 Q' d7 p( V! k- Y3 O% s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 r1 A+ ]1 z) R) f  A
  67. ; you may only use these constants *after* the line that loads the extension.
    7 G! _; I& A% V3 i

  68. / a: |' a+ p3 r
  69. ;;;;;;;;;;;;;;;;;;;4 B% ]. _& U4 P) E+ Z0 X1 d. y% l; Y
  70. ; About this file ;2 E" t/ B& T& }7 ?
  71. ;;;;;;;;;;;;;;;;;;;: h( c4 l. J/ d4 N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 T5 T, M% S1 U* E6 H6 @1 L
  73. ; in production environments and one that is recommended to be used in/ M5 e7 E3 b; p3 n( D" Y  C
  74. ; development environments.) w( u+ Z; L1 P5 I( S
  75. ' p& U5 G  u/ W
  76. ; php.ini-production contains settings which hold security, performance and
    % ?7 w. n3 [, E, O( [$ A
  77. ; best practices at its core. But please be aware, these settings may break% y% b8 L$ X( h$ e6 Y5 Q6 t1 K
  78. ; compatibility with older or less security conscience applications. We, C0 A( X" l9 H4 Q9 I
  79. ; recommending using the production ini in production and testing environments.) C9 h' v" K1 [4 i

  80. ) M7 y4 p* v  G) e
  81. ; php.ini-development is very similar to its production variant, except it is8 m' _9 Y- h# p0 O9 E; |' _
  82. ; much more verbose when it comes to errors. We recommend using the
    1 {8 S* j+ C* p
  83. ; development version only in development environments, as errors shown to
    $ D6 h. N" e5 P% K% H1 D
  84. ; application users can inadvertently leak otherwise secure information.8 V  }0 Q8 b5 ?+ z& s( L/ j, O

  85. 7 w& m1 Y4 t5 R& q% v+ |
  86. ; This is php.ini-production INI file.8 w( F6 d$ R8 ]$ o2 q+ h
  87. " h; N0 w9 ~, \
  88. ;;;;;;;;;;;;;;;;;;;
    ' P0 x" W8 n- j) Z
  89. ; Quick Reference ;
    * x: s$ I2 H- l3 W" C
  90. ;;;;;;;;;;;;;;;;;;;
    * G  S: Y" l+ G- d( E9 n: d8 n
  91. ; The following are all the settings which are different in either the production
    / D/ G! q  W1 b0 K3 C* h
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    0 Q) E  }$ g. \, t/ S  o! w9 g8 j% {* ~
  93. ; Please see the actual settings later in the document for more details as to why  c, H4 v/ p8 w+ k4 E$ d# g) G
  94. ; we recommend these changes in PHP's behavior.4 N' F6 _2 O$ A% ^6 I

  95. / j0 z1 k) |+ u) `
  96. ; display_errors
    0 y. ^# t' M' V( I4 N+ I# c
  97. ;   Default Value: On6 d, b( `* D8 k6 H% Q. ?& ]
  98. ;   Development Value: On% @* u- d, l! ?+ J# X) c1 P
  99. ;   Production Value: Off4 p# J3 H3 A- {$ I

  100. ; n- \( y/ p$ b% S& S3 R
  101. ; display_startup_errors9 L1 I: `4 ~* f
  102. ;   Default Value: Off, O2 e; u. v) v9 Z; E, S; ?% @$ k
  103. ;   Development Value: On
    ) J. m; y5 k1 f4 ^( j$ H. ~
  104. ;   Production Value: Off. v$ e8 v% w$ g, z  A
  105.   j; S) N' r  w5 U4 ?4 y
  106. ; error_reporting7 G; l$ p( a/ }0 L7 e) r% l9 k
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED6 ~4 p" I: e) D
  108. ;   Development Value: E_ALL3 n( y9 Y  f7 W' `' k5 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; w9 X7 A: o, O( t5 ]8 D' p* `

  110. ; S6 f, L: q5 I& Y/ t. J7 R; \
  111. ; html_errors
    - r) [6 l9 p7 n8 B- Y) H% J- M6 c
  112. ;   Default Value: On5 ~+ C$ y+ @. Q: h) _
  113. ;   Development Value: On1 }; Z5 f! \# {; @' _. |; f
  114. ;   Production value: On* |4 D9 `  U3 \# J; R
  115. # U3 D0 k+ H4 R# A: l* R2 S) f
  116. ; log_errors
    ) s% q0 }9 [1 X4 i8 ^7 A' d% [
  117. ;   Default Value: Off
    1 G: n/ k5 ~+ \- {  P
  118. ;   Development Value: On" S( m% N; x, w! D2 G
  119. ;   Production Value: On
    5 m7 {; G* V7 Q4 K7 U# T* w8 y
  120. " y- s1 k! k. c/ Y+ u& n+ e
  121. ; max_input_time
    ( U- H+ o7 H! i6 r  ~7 Q$ {
  122. ;   Default Value: -1 (Unlimited): R, c8 b' l, S- O
  123. ;   Development Value: 60 (60 seconds)7 R- ]  q* q: A' U
  124. ;   Production Value: 60 (60 seconds)
    ' V, i6 x5 `0 R4 b
  125. " D- @; ^0 T$ }5 z: d- x
  126. ; output_buffering7 i7 O! K7 b$ k+ E( [. L) T
  127. ;   Default Value: Off# L, F5 U6 T/ J- q
  128. ;   Development Value: 4096
    % a6 ^$ l3 [7 z' N$ N$ G
  129. ;   Production Value: 4096) \, v* z" B" l- Z- C! p
  130. ( O' p) K- G( C0 {. L4 ~
  131. ; register_argc_argv
    $ ^/ s: m  n# F" `# H7 o3 Z% ?" e
  132. ;   Default Value: On6 |9 m" k  H/ R- @) k
  133. ;   Development Value: Off& U5 H' B5 [- L9 @
  134. ;   Production Value: Off9 `% B* a  h% {5 G

  135. # U8 c; G9 `% |! ~
  136. ; request_order: F# e% J2 a, c9 y9 m& [
  137. ;   Default Value: None
    7 C- G6 x: y5 E  }; U
  138. ;   Development Value: "GP"
    ( s3 l+ Q, a( j
  139. ;   Production Value: "GP"# m/ \8 m/ T% ]& ^2 r6 i& \# |! i$ h0 m
  140. 8 b: K' Q. d: {/ Z# t2 K8 D
  141. ; session.gc_divisor- f2 H1 h+ h3 r* s( Q
  142. ;   Default Value: 100
    / W6 w: p7 S) F: w$ y# p. U/ A
  143. ;   Development Value: 1000
    $ n- R* w# S% [
  144. ;   Production Value: 1000
    , a/ t0 T  {4 L; y% a
  145. * T8 l: f% I& L- E  r
  146. ; session.hash_bits_per_character
    % _- o" d" n+ Y% t
  147. ;   Default Value: 4, l8 B# ^. Y# |' {: G
  148. ;   Development Value: 5
    1 J) |3 C7 q' e, T- X& `/ O& T
  149. ;   Production Value: 5$ {0 F2 q2 d5 ?- c4 x

  150. ; {. }$ y7 e1 s6 [0 d% V
  151. ; short_open_tag
    : J- I; {- r1 ?! O7 ?9 J
  152. ;   Default Value: On
    % h$ g+ D" N- @7 m& c& V
  153. ;   Development Value: Off0 f$ k0 r* D( R, E" R
  154. ;   Production Value: Off
    / q. |9 J7 l1 }  M! i

  155. ; j+ ?9 v# w9 Z4 t) q% F1 `
  156. ; track_errors
    ' B* a+ Y5 `, j3 d5 A# e. J/ j# R8 `! Q
  157. ;   Default Value: Off' {, g9 S% v" W  N
  158. ;   Development Value: On! J0 I3 n) o# D
  159. ;   Production Value: Off! z1 M4 G* s% I3 K0 Q
  160. - _' J- i' d6 T0 j$ Y1 W% e0 m1 g3 Z
  161. ; url_rewriter.tags
    * l9 g3 _5 b: L3 m3 \& z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) J8 _0 G1 D( C* D
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; p9 l8 P1 U) Z! A% k  u  z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - Z# Y& H# E: ], S

  165. 5 I( a4 r, g" M: \' k! n8 b
  166. ; variables_order4 b% x2 U4 i! q2 U# t$ x/ }# o$ M4 _
  167. ;   Default Value: "EGPCS"
    ( K$ I" |+ @3 Y+ Q. K
  168. ;   Development Value: "GPCS"
    7 H/ ?0 y& a& Q0 h) b" X
  169. ;   Production Value: "GPCS"& L( L; D; U; C. r6 R
  170. # S6 p' V7 \' I" x7 d5 [
  171. ;;;;;;;;;;;;;;;;;;;;
    6 ?  l; U1 N) Q8 H$ }
  172. ; php.ini Options  ;
    % M) l6 N' K8 v$ @- \4 E0 v
  173. ;;;;;;;;;;;;;;;;;;;;
    4 i' ]# F) S) Z6 R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 N% [* c, N% M4 |
  175. ;user_ini.filename = ".user.ini"
    ; o/ f0 F- [- ]

  176. 4 a* P$ y$ W  ~7 K
  177. ; To disable this feature set this option to empty value" o7 t& ^4 \9 h  X3 h
  178. ;user_ini.filename =% j, V. k+ ]& o$ m; j6 N

  179. 0 o& J+ R8 l* B; @' c1 A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), w& O# i# y9 q* q: B; l, q4 E
  181. ;user_ini.cache_ttl = 300; v1 R; W8 K. C9 e5 W

  182. ! W+ G/ t' g4 N) P$ x- J* S
  183. ;;;;;;;;;;;;;;;;;;;;
    ) f4 x7 C2 B* S( c, q) L, j& g4 C
  184. ; Language Options ;' @5 s! z' S3 q; |, u
  185. ;;;;;;;;;;;;;;;;;;;;
    - m- ~8 _. q* |! W0 M1 F1 e

  186. + V2 n/ L3 D) h$ C" H1 V$ R
  187. ; Enable the PHP scripting language engine under Apache.; n" N3 K: f: v0 o
  188. ; http://php.net/engine. Y% x& c$ W1 a2 K$ u: ^
  189. engine = On6 a( E) w3 T8 Y7 a" y9 B. U

  190. " C, k+ P! {: L9 K
  191. ; This directive determines whether or not PHP will recognize code between
    - O% [7 i( e3 y% i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    8 S$ ?1 w& _+ {' L: H
  193. ; generally recommended that <?php and ?> should be used and that this feature. X6 A2 d3 D( x  G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , j- B& M3 a# C3 @0 _4 \! E* q
  195. ; documents, however this remains supported for backward compatibility reasons.' H* F6 p  Y2 c2 Z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be# o9 b* q1 ~. k, _2 r
  197. ; used regardless of this directive.
    % U4 G4 L% n" M! w7 w2 ]
  198. ; Default Value: On
    ' U% d4 T8 H2 u) |, W  [7 o+ C  u
  199. ; Development Value: Off
    " w3 @8 I" p5 C  m2 o/ b
  200. ; Production Value: Off
    9 ?: e: N' R1 M, G9 z4 p$ d: O
  201. ; http://php.net/short-open-tag9 D* W5 w8 l' A9 N& w. X
  202. short_open_tag = On9 }' ^' M2 i3 t! K' {

  203. ; K' R8 b" R  E2 t  h
  204. ; The number of significant digits displayed in floating point numbers.
    * ^" }: W2 O2 {7 c8 ^" T2 \
  205. ; http://php.net/precision
      N, y1 e% y) \8 i
  206. precision = 141 T3 n' G8 y; E6 v% x+ u# @  o
  207. 4 B  Y/ i) z/ K. S; ^. T$ z
  208. ; Output buffering is a mechanism for controlling how much output data
    1 v: p8 ]4 P% \1 V, S
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that1 j' D/ t9 T$ g1 T- ?0 O
  210. ; data to the client. If your application's output exceeds this setting, PHP* T; u' c: f( g5 a
  211. ; will send that data in chunks of roughly the size you specify.
    - z' ]6 a- ~/ _/ p, K4 x& I* i* g# h
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 y: e  ^- S- L, e
  213. ; interesting side-effects depending on your application and web server./ B5 g6 \0 s5 z6 r/ O5 [
  214. ; You may be able to send headers and cookies after you've already sent output  D3 f4 V+ T; S" j
  215. ; through print or echo. You also may see performance benefits if your server is% i5 `& }2 q9 g) g" H% A( J6 Q; f
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    6 ~* V# h) ^+ E; \
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , z5 R6 \$ l/ ]1 D2 Y
  218. ; reasons.
    7 `" j+ O2 b" s; a
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: B# @7 [6 |3 C+ B
  220. ;   functions.. S# F2 o2 c) _/ \' P
  221. ; Possible Values:
    9 i9 y( m. R; K. l
  222. ;   On = Enabled and buffer is unlimited. (Use with caution); w: f6 H8 E4 u, [. D3 L
  223. ;   Off = Disabled1 M  h/ I7 ?$ X3 T. u: J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.% m3 D' b; P( o& b$ p
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
      ^2 ]0 u4 T$ R
  226. ; Default Value: Off
    ; s: k/ P; i  ~( ~, i2 E8 c3 g
  227. ; Development Value: 40965 x9 @% I1 r% Q
  228. ; Production Value: 4096
    / }: p; R" A1 N( u( Q7 t1 b$ H* G
  229. ; http://php.net/output-buffering- o" m, j# P* P" d8 o+ ~
  230. output_buffering = 4096* p6 {$ u' s+ R4 x. p; |
  231. . z; F" K! S) j- [, p( t4 R" q' A, l% ^* `
  232. ; You can redirect all of the output of your scripts to a function.  For
    1 M* h: s7 @1 }
  233. ; example, if you set output_handler to "mb_output_handler", character# P5 ?4 U5 F7 Z- I  Y) ^
  234. ; encoding will be transparently converted to the specified encoding.
    - v: b) J% x5 o9 U! H1 y
  235. ; Setting any output handler automatically turns on output buffering.1 T; m# d6 x$ Q5 t: p" S
  236. ; Note: People who wrote portable scripts should not depend on this ini% u. e5 |/ Q5 c4 l, P
  237. ;   directive. Instead, explicitly set the output handler using ob_start().& g% A* x/ [$ c0 `. X
  238. ;   Using this ini directive may cause problems unless you know what script1 O3 `, `. |  ~
  239. ;   is doing.% s  P9 j' ?/ h' p/ \9 x, ?$ q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( H8 ]9 N" K3 c- J+ v" T4 K3 z
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 @4 @2 K( t* ?! R5 ]" a; O/ Q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    1 w4 v5 q- I2 Q
  243. ;   Instead you must use zlib.output_handler.: a5 q4 o" ^1 N% W% Z. o8 A
  244. ; http://php.net/output-handler
    & O* w: j/ [9 p5 g1 N
  245. ;output_handler =
    % N4 S& K0 P+ F% y2 D
  246. 8 u$ g; B+ _! m4 i. R" t: B
  247. ; Transparent output compression using the zlib library/ S, C4 m" U4 ~$ j( Q' u, ?) f# a! P
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    7 C4 D( O6 j  X& H  F/ {/ _; T
  249. ; to be used for compression (default is 4KB)
    0 D. H* h% s! _/ v0 U) ^' _
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP# u0 ^  ]- C" @& @3 r" z
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 ]/ r. B+ s( I
  252. ;   compression. If you prefer a larger chunk size for better
    & _/ G( G0 \" y! Q% X2 S
  253. ;   performance, enable output_buffering in addition.
    0 @/ O9 ]# l8 V7 R, _! s' v: ?
  254. ; Note: You need to use zlib.output_handler instead of the standard. r  G2 ?; k# o+ K* v5 k. O
  255. ;   output_handler, or otherwise the output will be corrupted.
    - i, J8 K9 _3 b; H; f2 M
  256. ; http://php.net/zlib.output-compression5 Y, n. Z, ^5 G/ e9 \
  257. zlib.output_compression = Off0 [$ V3 r0 x9 `* Q) {. f4 I' l0 B+ x
  258. 0 ~- O! N/ p' L/ x; u  C" ^/ Y3 |
  259. ; http://php.net/zlib.output-compression-level. G2 f4 O- e  V( C; z
  260. ;zlib.output_compression_level = -1- e  |" u8 }, j. T( w) ^
  261. 1 V( t6 C. {- H/ O! c  h' I
  262. ; You cannot specify additional output handlers if zlib.output_compression
    " j  @/ a  }9 H$ x# I! n% J. ]
  263. ; is activated here. This setting does the same as output_handler but in
    9 f' w( \- L% O, R% K% e$ }
  264. ; a different order.1 d( G  q% X( W. i: Q) y
  265. ; http://php.net/zlib.output-handler( [! k9 Z( K6 P" n! b+ P
  266. ;zlib.output_handler =
    4 |8 V# L4 g9 _3 o. A. _

  267. & n8 d: T4 B) \2 ]
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  L) b! t% j$ C
  269. ; automatically after every output block.  This is equivalent to calling the. p  l& _3 Z0 M0 O' D
  270. ; PHP function flush() after each and every call to print() or echo() and each
      g8 b3 e1 i7 f: o8 K, M) f
  271. ; and every HTML block.  Turning this option on has serious performance
    ( W: B5 Y6 N- g; ~1 Z+ n  I
  272. ; implications and is generally recommended for debugging purposes only.
    3 o, G3 I( s: g8 Y! t" d
  273. ; http://php.net/implicit-flush/ B0 k$ n2 ~4 u* J
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 Q1 F2 m, H6 `# n
  275. implicit_flush = Off
    ( L9 Z+ ^. y" l
  276. 0 X' j( T( f2 L% o
  277. ; The unserialize callback function will be called (with the undefined class': G9 w% t8 ^  g# m& q1 M" I2 f
  278. ; name as parameter), if the unserializer finds an undefined class: }' j. z# P, i/ J' p6 k
  279. ; which should be instantiated. A warning appears if the specified function is8 A+ o7 K& m4 S1 p( b
  280. ; not defined, or if the function doesn't include/implement the missing class.
    / I5 z- b2 s# h2 Q# p
  281. ; So only set this entry, if you really want to implement such a
    6 v4 ^  r/ f. U/ x, z) Y0 m
  282. ; callback-function.
    9 E9 b9 x' N6 c  V6 P
  283. unserialize_callback_func =: \0 J8 y3 D/ t; t) E
  284. 1 p5 G3 R. T! N5 j8 O0 c4 R
  285. ; When floats & doubles are serialized store serialize_precision significant. H# J5 P8 S3 \- i5 `, Y
  286. ; digits after the floating point. The default value ensures that when floats0 ]$ U+ ~3 d3 D$ y( c
  287. ; are decoded with unserialize, the data will remain the same.
    5 @7 \8 x: Z" [4 Y
  288. serialize_precision = 17
    ! Z- w  m/ b, g+ Z7 I
  289. / V6 x, C6 W/ Q2 k) G2 m
  290. ; open_basedir, if set, limits all file operations to the defined directory' {. v& A) Q% e5 V1 ?( V8 l0 A
  291. ; and below.  This directive makes most sense if used in a per-directory
    ) Y' s  ~/ L( ?
  292. ; or per-virtualhost web server configuration file.
    # e$ ~% s& Y# H& Z
  293. ; http://php.net/open-basedir
    : [" t$ d2 T7 ]2 J  S
  294. ;open_basedir =6 O, ^8 f4 L, Z  K0 K; K/ G- t
  295. 3 G) O/ O/ }- F5 w
  296. ; This directive allows you to disable certain functions for security reasons.
    $ J$ z, {; ^3 u* Z! i
  297. ; It receives a comma-delimited list of function names.% @- ^3 h9 v0 l. s: H0 t$ k* w1 W
  298. ; http://php.net/disable-functions, u$ X4 A, y, B# U- o0 W0 e
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    2 F# p( T2 X" c& B1 g9 j2 f

  300. 3 [3 T  K; t2 `$ s+ H+ b% O
  301. ; This directive allows you to disable certain classes for security reasons." S2 s2 d* N0 m( q$ M' }
  302. ; It receives a comma-delimited list of class names.
    % A% O& \0 x/ u' R
  303. ; http://php.net/disable-classes
    5 Y3 Z0 w' M3 p8 j! e% }/ b$ e
  304. disable_classes =
    ; k8 X' C" s4 u& n  u
  305. 9 E# e) J/ A. F2 c+ p3 i+ R
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    0 F) S4 _" B  Y: }& b! D1 e' M
  307. ; <span style="color: ???????"> would work.4 q) ^) H; c7 p7 H+ M  R
  308. ; http://php.net/syntax-highlighting
      v$ Q) K) B. a; a* e& G7 H
  309. ;highlight.string  = #DD00000 X( n9 I- [4 A! J) o' Q& e( G
  310. ;highlight.comment = #FF9900& w, u; M) L+ z( Q  \( a
  311. ;highlight.keyword = #0077002 N5 V& w" O- x" [8 q  D; B
  312. ;highlight.default = #0000BB
    ; U$ |- k7 R& \! g' g/ z( t
  313. ;highlight.html    = #000000
    : I  |5 R5 B4 K$ U. b9 f% _8 [9 i+ _4 Y
  314. ; }3 N8 a2 v4 f# Z% j4 U
  315. ; If enabled, the request will be allowed to complete even if the user aborts
      e3 J- a! ^# V' K  }5 M7 [, W
  316. ; the request. Consider enabling it if executing long requests, which may end up' o* N# G& @7 H2 s% s, Q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) B# D# q: j  ~# x) a
  318. ; is to disable this feature.
    : C5 K) t, y- w/ J
  319. ; http://php.net/ignore-user-abort
    . }0 ~' T2 K! B) j; T$ k, x
  320. ;ignore_user_abort = On
    2 U4 _' u1 }+ S8 ?# h7 h
  321. $ W! _; t& R: z- S, A
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    $ t8 Q, q; m% _! n/ t
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ' k- R' x8 w: I6 a! ?, y8 H
  324. ; the file operations performed.
    - \/ H9 q: ?9 ^; a7 U4 C+ d  z
  325. ; http://php.net/realpath-cache-size2 j) O; Y( @  O8 N' F
  326. ;realpath_cache_size = 4096k
    : \0 Y6 {, H5 F6 _4 M( \
  327. * i( J$ a) I' E
  328. ; Duration of time, in seconds for which to cache realpath information for a given! z" y) x- {* l2 S! {7 Y+ _$ \
  329. ; file or directory. For systems with rarely changing files, consider increasing this: `" f$ f* F% l! d
  330. ; value.
    6 a  w; i6 M; v& M( P* N7 {  {7 v! O  ^
  331. ; http://php.net/realpath-cache-ttl
    8 l7 D- \; Y* [+ e
  332. ;realpath_cache_ttl = 120
    , s7 K" Q: P2 A; S1 B
  333. " t" E( g- B/ q: @' \$ `* q+ m
  334. ; Enables or disables the circular reference collector./ f! z: b( ?8 h
  335. ; http://php.net/zend.enable-gc
    3 _6 J" ?+ t5 P* j7 b# T+ Z' J
  336. zend.enable_gc = On
    ! z3 {& I2 F8 B7 N4 w2 W

  337. ; _4 D  q8 Z  X  n7 E
  338. ; If enabled, scripts may be written in encodings that are incompatible with1 P5 A( b& B% ^7 R7 S, }
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such9 a$ `3 S5 M7 @5 Z; K7 U/ K% Z
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    7 m9 `/ @/ ^( z) V' J
  341. ; Default: Off
    ) A# ]% W. u3 b3 D4 i# P1 Q
  342. ;zend.multibyte = Off
    3 [/ B. \% T$ c( l  h1 U( |8 ]

  343. 9 ?4 ]/ Z) S: T3 S0 E3 L6 z0 }$ Y  [
  344. ; Allows to set the default encoding for the scripts.  This value will be used, u  R. q! E  A8 @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.  [# B5 o1 r; g! O5 E) E
  346. ; Only affects if zend.multibyte is set.$ a* G0 C' C5 L% C  k0 f, t
  347. ; Default: ""
    0 K; \/ a; T4 u
  348. ;zend.script_encoding =; U) n, {# E  l7 b0 s: W3 l

  349. 9 w8 {2 `$ H+ e) z! k
  350. ;;;;;;;;;;;;;;;;;0 B% G5 b2 k. f/ U% ~& ?4 O; j5 v
  351. ; Miscellaneous ;; p7 l! b2 C6 n/ a) ~
  352. ;;;;;;;;;;;;;;;;;
    # ]2 j1 b0 B% b

  353. ; X# G2 U, p! O& a
  354. ; Decides whether PHP may expose the fact that it is installed on the server% F. Y0 m9 C9 m  M
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% E& a+ r; A, Y$ C, k' T) f+ t
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    % V1 Q! f  ]$ q  Q% r
  357. ; on your server or not.( M* v, N5 F: B2 ~
  358. ; http://php.net/expose-php
    0 X) ^2 K% e2 d
  359. expose_php = On) ]: ^, H, \. S- K5 Y- d

  360. ! ~  L! _# ]. c: Y
  361. ;;;;;;;;;;;;;;;;;;;
    7 X8 T% `0 \% T
  362. ; Resource Limits ;
    8 B/ _* {/ g  ~/ O  ]$ {
  363. ;;;;;;;;;;;;;;;;;;;
    2 |/ A$ `8 M: d3 K" K( E- j( M! h
  364. " F" G& t  `, K; H3 d8 J; c* T
  365. ; Maximum execution time of each script, in seconds# i! w) G8 n( e& Z  q$ `
  366. ; http://php.net/max-execution-time; m8 g+ r% P5 r+ N9 V9 }" Y) T9 @
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - Y% v- e# }0 y! N  J- Z! U8 ]& Y
  368. max_execution_time = 300
    7 w% P: a! v1 ~  g' k/ B. e7 n6 c
  369. : u6 f) f# D+ d3 c
  370. ; Maximum amount of time each script may spend parsing request data. It's a good, v5 f" P; W! n# M5 ^: R8 G
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly( t4 w/ L  f, e% v3 d7 g
  372. ; long running scripts.
    5 X8 |4 }; r- Z$ {" u) w# N
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI2 E8 U% Z* {. j
  374. ; Default Value: -1 (Unlimited)$ T' G9 J* E' L- Y4 I/ d, l7 x1 G
  375. ; Development Value: 60 (60 seconds)
    * O- ~/ J$ p! f% I5 }5 {
  376. ; Production Value: 60 (60 seconds)
    4 ?, p. c5 @7 I* s
  377. ; http://php.net/max-input-time3 u( _; r- h3 H; x& I' j
  378. max_input_time = 60, N  f+ k9 I: `) ^% O' r  v* o" X2 m) o

  379. ' n. M; j7 x; K5 r$ G
  380. ; Maximum input variable nesting level% U! n; a9 [0 v1 @. S7 ^
  381. ; http://php.net/max-input-nesting-level+ l. S  G! @+ n- ?5 T; M; o& |
  382. ;max_input_nesting_level = 64
    $ Z0 A. E, r) o' o, g; ~

  383. 9 r# X& D  g6 N; i1 y" e# I8 J/ [
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 E' }$ \# w# X9 |) ]
  385. ; max_input_vars = 1000( l& X9 l8 ?$ U& X; ^0 i

  386. 9 c6 E: ?0 B$ D; ^' m$ b' w
  387. ; Maximum amount of memory a script may consume (128MB)0 c, h$ Q" t6 E, Z* i7 p8 W- W
  388. ; http://php.net/memory-limit7 V" G2 P4 z1 f- K  g. c8 u! f
  389. memory_limit = 128M" e4 o( D3 D1 A8 s8 G( \* @
  390. & G* v. k+ Q$ t9 H) [
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * q- H& E, U3 o: U* W( U
  392. ; Error handling and logging ;+ j& Q- N0 U  m1 X1 i
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) f5 T! K' N7 N4 T" A0 z

  394. 8 L( w1 l1 n6 x
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    $ `, C( J  Q# x- k5 R$ M5 ~  H
  396. ; it to take action for. The recommended way of setting values for this! b1 q, t' q. q7 S$ E6 y, @- G
  397. ; directive is through the use of the error level constants and bitwise0 v- g. ?. ]/ e& V" v5 F+ F7 `
  398. ; operators. The error level constants are below here for convenience as well as  H; G$ @5 G; g; V! i9 x
  399. ; some common settings and their meanings.. i. J$ l: `0 H& Z+ q$ J
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% _9 z( f) H7 l* D+ ~
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ! z0 f9 w. S: F) \" l
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    + ^& Z6 b* D: u. E- }4 n
  403. ; recommend error reporting setting. Your production server shouldn't be wasting8 u0 |. F1 {' Z; H. V3 o2 |- c8 Q0 M
  404. ; resources complaining about best practices and coding standards. That's what
    , S0 W' o+ O' D$ {1 w
  405. ; development servers and development settings are for.
    8 K& T2 c0 Y3 A0 Q
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 f2 Q* G: z" C4 b+ o# x9 r
  407. ; means it pretty much reports everything which is exactly what you want during
    7 H3 c8 }8 C; r3 K
  408. ; development and early testing.% A0 J$ ~7 `0 v7 L
  409. ;* ]* v3 O- n6 F% V  ^
  410. ; Error Level Constants:  A! m3 c( j" p5 O7 K
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)% F: _2 Z) J, R1 }7 u0 P- W  e
  412. ; E_ERROR           - fatal run-time errors0 M. Q. F% O" C& D  n# l
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! q9 f9 S9 T+ ^7 I* X1 ~
  414. ; E_WARNING         - run-time warnings (non-fatal errors)) x: {1 W6 g" j' u$ V' k
  415. ; E_PARSE           - compile-time parse errors  h6 x- q% y. b. t; b" c
  416. ; E_NOTICE          - run-time notices (these are warnings which often result6 u* v; B# y  G" @: r% T4 ^
  417. ;                     from a bug in your code, but it's possible that it was  ^0 r3 [. {' F# z* T
  418. ;                     intentional (e.g., using an uninitialized variable and# H& k3 i5 @# |! k6 \0 G
  419. ;                     relying on the fact it is automatically initialized to an
    ) X2 I: Y5 B  ], t5 `- n6 m
  420. ;                     empty string)
    # T8 r3 Y/ U! c. i
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes# z- ~* K. a; P3 {; b0 s) H1 H* O: Q
  422. ;                     to your code which will ensure the best interoperability
    4 t" X' [0 Z$ v, i
  423. ;                     and forward compatibility of your code
    9 {1 u. l* G6 ?4 i
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    - x2 i: ]' e  F& u: I6 B
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & F: N( _2 g* q4 s9 P' Y, g; |# N. o
  426. ;                     initial startup
    5 Y/ U3 G& Z- U8 S1 I5 l9 t8 S
  427. ; E_COMPILE_ERROR   - fatal compile-time errors, {  \0 m& U" d8 g2 }
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  q* L3 i, W$ ^) z6 G0 n
  429. ; E_USER_ERROR      - user-generated error message
    0 I# g( e/ U5 n4 ~/ e
  430. ; E_USER_WARNING    - user-generated warning message5 k8 t0 V1 i7 {, A
  431. ; E_USER_NOTICE     - user-generated notice message8 c3 D4 i0 X5 A6 y5 P1 a
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    " C2 [1 e0 l/ f0 B
  433. ;                     of PHP
    7 D, l$ H6 g! D4 c# B
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    % N2 E4 p1 b3 N: j: F! @
  435. ;
    7 |' ]: ~+ l% G8 w' @$ H: Y
  436. ; Common Values:  v2 q4 ~! r/ [! Q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). k# H4 Y, r1 E0 B/ Z& N' q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' l0 _9 }+ b% `6 l8 G
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  e: x) }, q! d5 x3 ~- Y" w1 w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 }9 h0 t: U% R0 s; I. c
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! k' M: L- W/ V" b$ w8 n! X
  442. ; Development Value: E_ALL% A. s! W9 ~7 I; D- @
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT/ `4 _) p* ^% }1 T/ P) ~5 ]
  444. ; http://php.net/error-reporting
    & c8 h, l' B2 C5 x* J' o* C: P
  445. error_reporting = E_ALL & ~E_NOTICE
    ) y  ^4 R8 g) n$ F" X6 x; o
  446. ! j/ z- B4 ^/ ~5 J: a1 Y! H
  447. ; This directive controls whether or not and where PHP will output errors,
    ! x5 V* ~& Y% O9 o" O5 d, g
  448. ; notices and warnings too. Error output is very useful during development, but* N' Y' Z/ e, t' v
  449. ; it could be very dangerous in production environments. Depending on the code
    1 |( ~& @. z' x* T: \3 u) {
  450. ; which is triggering the error, sensitive information could potentially leak
    3 b% H% n) y8 ^: Y, @# L
  451. ; out of your application such as database usernames and passwords or worse.. J/ N" b! z' b6 _3 o4 s& k
  452. ; For production environments, we recommend logging errors rather than- C  h3 ?/ [7 |6 U  r
  453. ; sending them to STDOUT." _( m# B+ R4 e2 i5 e. B
  454. ; Possible Values:
    7 e) Z& s3 G. T/ O2 R) Y' F
  455. ;   Off = Do not display any errors' R- t# j" N9 S2 R
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 q; U0 j3 J' G% ]0 a
  457. ;   On or stdout = Display errors to STDOUT
    8 x/ K3 r$ x' ~, E. Y5 }( }$ E
  458. ; Default Value: On5 g* `, ^% L" c" r! K
  459. ; Development Value: On
    ( H# q  ^, @4 ]5 }& v9 ?
  460. ; Production Value: Off9 p: _& K- r" ]6 |
  461. ; http://php.net/display-errors) P- _5 z2 v1 r5 P# l/ ?9 S. y  U  l
  462. display_errors = On
    " s6 T" _0 i: \: F( H0 v
  463. % J4 p4 Y2 Q+ d0 S
  464. ; The display of errors which occur during PHP's startup sequence are handled  e$ [9 \2 m7 f1 Q3 w( u8 F# j9 H
  465. ; separately from display_errors. PHP's default behavior is to suppress those$ C+ b6 m: C$ x# ~$ @  h" y
  466. ; errors from clients. Turning the display of startup errors on can be useful in; s$ w; k% y0 }- E- G
  467. ; debugging configuration problems. We strongly recommend you
    - P% D8 Y& \1 q
  468. ; set this to 'off' for production servers./ J" C9 w. B6 W* {* c! }
  469. ; Default Value: Off3 k1 F5 F& u% {# _1 O2 p) T8 O# J2 }
  470. ; Development Value: On
    9 r' r* \* f  Z/ L6 C
  471. ; Production Value: Off
    ; l& G- a  H2 }" P, ]
  472. ; http://php.net/display-startup-errors; r" h1 O/ Z6 d3 S* c% [
  473. display_startup_errors = Off. b$ K% n6 q% E- U) b& ]
  474. , b3 p; q- o  K+ l1 l
  475. ; Besides displaying errors, PHP can also log errors to locations such as a+ r9 I0 ?" x+ K0 Y* C0 O; O) J) N
  476. ; server-specific log, STDERR, or a location specified by the error_log
    " M$ X' f8 d/ y1 F: ]& `
  477. ; directive found below. While errors should not be displayed on productions% _) m9 A( Q9 O$ K
  478. ; servers they should still be monitored and logging is a great way to do that.
    $ z+ y( N  G- V4 U, S9 U* j
  479. ; Default Value: Off
    , K- {' n8 y* C% C+ z) w
  480. ; Development Value: On
    9 h# h2 F. z5 ^& _9 `. k# g
  481. ; Production Value: On
    . \+ v" |2 N4 f
  482. ; http://php.net/log-errors
    . d& R/ \  i' w( @4 I1 g
  483. log_errors = On7 j$ C3 G: ]( U" A
  484. + v+ r. O! O' `! Q* R8 j* k4 C$ Y
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ( R8 w( N  o4 I! B1 z
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.& [/ x5 u/ o9 _8 b+ v6 _8 r( w
  487. ; http://php.net/log-errors-max-len! B: u! o; z5 j( P: u& e4 Y
  488. log_errors_max_len = 1024
    : r+ z, s1 X( l$ R. i& c7 w
  489. 9 @' s4 d: J3 m2 f7 q
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , `7 P/ w0 X3 a7 U
  491. ; line unless ignore_repeated_source is set true.
    " m. z/ D$ S% u( ]- Q
  492. ; http://php.net/ignore-repeated-errors+ J( l( `( Y8 a; ^/ O
  493. ignore_repeated_errors = Off3 o! T9 a, Q, p6 ?4 H8 g
  494. ; H: b  c5 i4 f; i! A3 Z" K- O* }
  495. ; Ignore source of message when ignoring repeated messages. When this setting' @% p1 L$ |7 q3 u$ w8 y( p
  496. ; is On you will not log errors with repeated messages from different files or
    6 k* Q4 }* X6 L9 Y* q5 D
  497. ; source lines.! _5 l8 i4 [  b( z
  498. ; http://php.net/ignore-repeated-source
    ; o" J1 ?# z3 R
  499. ignore_repeated_source = Off
    ) N0 K8 f; V! C2 i* B
  500. , o4 b! n: M9 N9 T% p' W! P
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    + g" ^# I( Q) j- j% Z7 ~
  502. ; stdout or in the log). This has only effect in a debug compile, and if2 d6 S- _! T1 E  k7 Q
  503. ; error reporting includes E_WARNING in the allowed list
    ) i8 f0 H9 T: z4 \% M2 ^
  504. ; http://php.net/report-memleaks, I. @9 _4 X5 l& ~3 X0 E# R
  505. report_memleaks = On% b1 H" ~. ?( a

  506. . m4 D% z9 n2 I" \" X, v- x1 N: B
  507. ; This setting is on by default.
    5 v6 m7 ^$ q, c! W. \
  508. ;report_zend_debug = 01 }9 b* P4 A7 ~" b
  509. - d: W3 o8 B! r" B- S- P
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% L5 t: M5 L! p$ x
  511. ; to On can assist in debugging and is appropriate for development servers. It should# Y- r; E- ?5 `  X# I) d
  512. ; however be disabled on production servers." q* C7 H; V* Q! @9 z
  513. ; Default Value: Off; }; N1 ?  p3 n: q3 d& p) Y" A
  514. ; Development Value: On
    ! l0 X1 a, E1 M
  515. ; Production Value: Off
    2 q% T$ n( c5 U$ A, A1 s- C  o
  516. ; http://php.net/track-errors
    0 u; `8 L  r- v, P, Q1 n
  517. track_errors = Off
    # O; m( g$ O* W# {. E6 A
  518. 5 H  d3 V9 p0 @- Q" f$ N# E8 i
  519. ; Turn off normal error reporting and emit XML-RPC error XML
      D) M9 L& ~- |8 i! y8 S
  520. ; http://php.net/xmlrpc-errors! W6 K4 m; |+ P$ k  D+ w2 Z. M5 u! d
  521. ;xmlrpc_errors = 0% i/ C* m3 ^7 A+ c4 g) s

  522. # O/ [. [# Z% Q4 Q: x- C6 h1 h( f
  523. ; An XML-RPC faultCode7 i% e3 k- y# ^  K# e2 g
  524. ;xmlrpc_error_number = 0
    , T: g3 L" i/ i0 E

  525. 6 T9 [! m# ?# a3 t* ]  I
  526. ; When PHP displays or logs an error, it has the capability of formatting the2 [1 h! O. i  `! L6 I1 v
  527. ; error message as HTML for easier reading. This directive controls whether
      K8 x# F+ _- y  M% z
  528. ; the error message is formatted as HTML or not.
    6 j0 ]/ [$ b' W
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI6 j' A  V% Q- E" u- w/ ]- B. R% E  N
  530. ; Default Value: On
      C: U5 ^% H3 K) f
  531. ; Development Value: On
    $ d) ^' l4 i0 E2 B' G
  532. ; Production value: On( s9 V8 X! o6 [) o: _
  533. ; http://php.net/html-errors
    : a" R8 P, R4 P% r# h& H1 D
  534. html_errors = On
    & s2 p- s1 m- ]; q1 }9 p
  535. ! J# D3 m- E7 x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP) E; y  N2 M! c. X1 }% i! d& O: {
  537. ; produces clickable error messages that direct to a page describing the error" G4 ^( c+ G. [% a4 y
  538. ; or function causing the error in detail.
    % D1 p, c' I0 O. c4 ~0 b
  539. ; You can download a copy of the PHP manual from http://php.net/docs. B: q9 X9 `7 z! f5 |4 s+ i5 e* O
  540. ; and change docref_root to the base URL of your local copy including the
    1 A8 v' e7 x, M$ x- ?9 U
  541. ; leading '/'. You must also specify the file extension being used including
    , w& k9 G9 W9 `2 p2 w7 W
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ) D) }' B& [% F* I/ _; U
  543. ; case no links to documentation are generated.
    % o: X/ {. U2 t+ D" Q
  544. ; Note: Never use this feature for production boxes.9 q% i: ], b$ X6 B4 F1 O- ^, g
  545. ; http://php.net/docref-root) |  L+ S- Y# q7 h
  546. ; Examples
    : B' e! v, \& _( h$ x  j7 u8 j$ m
  547. ;docref_root = "/phpmanual/"
    - o- Z# m7 y5 Z2 b  l. \7 J! W
  548. % P) V; p2 D. C( f# P! ?
  549. ; http://php.net/docref-ext; Z" ^& j2 }. W) H% Q; h1 v
  550. ;docref_ext = .html5 C* h0 u4 D! V- V

  551. 9 z$ {% Q/ k, t$ F4 `, q8 z
  552. ; String to output before an error message. PHP's default behavior is to leave% ~5 i1 _+ w: r# v
  553. ; this setting blank.
    4 r: b- k6 O6 B. G. t
  554. ; http://php.net/error-prepend-string2 L6 D$ ^# p: i7 Y/ V% c, Y
  555. ; Example:2 Z4 |  y4 o( F6 c& m. J% W. v/ p* H- R: i
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( B" {, J& M* K. M5 k/ T9 K

  557. 1 m, ^1 F% G; ?
  558. ; String to output after an error message. PHP's default behavior is to leave
    ; ]7 f% d7 k2 [
  559. ; this setting blank.
    + a, M/ ?$ |* Y  b0 P, G. _) l
  560. ; http://php.net/error-append-string
    + T) m. Q/ _+ g6 F& N& h5 g% F
  561. ; Example:6 [8 |/ H. F( Y1 f7 O8 Q
  562. ;error_append_string = "</span>"
    + Y6 n2 z! K) d1 n; ~
  563. 1 B5 y# B: A. K/ U3 o0 G7 R
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 Q! k# }+ G9 W, j4 o) {
  565. ; empty.! C4 {" \- v1 N5 q
  566. ; http://php.net/error-log
    ( `9 n# B) |8 r+ X# O( ^
  567. ; Example:
    , v8 O! s6 ~" w- H
  568. ;error_log = php_errors.log
    % `. _& @9 m( X- _6 H/ U
  569. ; Log errors to syslog (Event Log on Windows).
    ' D1 Y5 h- i. ^2 Y7 Z" R3 N% K2 K# _
  570. ;error_log = syslog/ O4 p( m6 Q; I9 Y3 i
  571. ' A# ]5 G- \; \, a8 ~7 X
  572. ;windows.show_crt_warning
    9 z( T5 y- r$ h8 E9 Z( u7 n
  573. ; Default value: 0
    9 N1 |2 I' L9 E/ b2 v) e& X
  574. ; Development value: 0/ p) \& j4 P* G1 m# l
  575. ; Production value: 0
    ; [" J. I$ S+ b" F! u7 }* M- ?

  576. 9 g# ?) m4 U5 w
  577. ;;;;;;;;;;;;;;;;;
    # g2 B! ^' @. t' V
  578. ; Data Handling ;
    6 ^' U1 }3 K: T0 c  T
  579. ;;;;;;;;;;;;;;;;;9 T8 {4 A  q) ?# J: ~+ m( Z
  580. ) j1 v8 d( h9 n5 R/ f
  581. ; The separator used in PHP generated URLs to separate arguments.
    4 L4 L4 C/ p0 W5 b/ M
  582. ; PHP's default setting is "&".
    : j  X% M- x" G
  583. ; http://php.net/arg-separator.output" O5 ?+ O4 s5 W! c
  584. ; Example:, E7 a9 v  ?" O1 K. [
  585. ;arg_separator.output = "&"
    7 Q% M. [" r, d7 i3 Q& B8 \

  586. - k- b3 }/ c6 p1 w
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    - I$ q0 [% S3 N& g$ k0 \( ]  B
  588. ; PHP's default setting is "&".
    6 e9 E5 |& k5 `9 j* E2 ?( G
  589. ; NOTE: Every character in this directive is considered as separator!9 G4 e, |: m+ m/ J5 t
  590. ; http://php.net/arg-separator.input6 q, m6 N3 F* ?/ @, ~
  591. ; Example:
    + [3 ~1 q* E% J
  592. ;arg_separator.input = ";&"
    6 {9 o7 S6 K4 Y
  593. 8 Z5 V3 y3 B8 e$ ?1 m
  594. ; This directive determines which super global arrays are registered when PHP5 a6 N  W1 z, ~7 g! Y( F% B2 X! z5 j
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super( P5 v4 ?5 j1 A( M6 f6 o
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . Z! @9 Z, D3 D  S7 {- X
  597. ; paid for the registration of these arrays and because ENV is not as commonly
      r+ T) D  g) s  _9 j
  598. ; used as the others, ENV is not recommended on productions servers. You
      E1 s5 e% q* `7 O
  599. ; can still get access to the environment variables through getenv() should you' I7 o& d. ]7 o2 z1 G; U. c
  600. ; need to.
    7 R$ u4 O; q" A! [' A' v
  601. ; Default Value: "EGPCS"% P/ k9 z2 ~7 u( X9 Y; m
  602. ; Development Value: "GPCS"* R" x8 d, C3 X  k2 G$ M" e  `
  603. ; Production Value: "GPCS";! k) h$ R6 G9 f5 L& Z
  604. ; http://php.net/variables-order. Z( O6 w, C4 G" U& m
  605. variables_order = "GPCS"0 r1 D: W' Z' H1 c" w0 s: k
  606. , o7 C, }+ {- S1 Y8 L; a6 E
  607. ; This directive determines which super global data (G,P & C) should be
    ' ?; ]' U3 ?* K: J) A! V) u
  608. ; registered into the super global array REQUEST. If so, it also determines% |: R  p/ N* r( L
  609. ; the order in which that data is registered. The values for this directive
    ) k4 H& L& w3 P; t' W& Q! t
  610. ; are specified in the same manner as the variables_order directive,. ?# C# z6 B/ b) E, Y
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' ]- f- W) w8 h
  612. ; in the variables_order directive. It does not mean it will leave the super
    1 @# M+ g. h  b' ^
  613. ; globals array REQUEST empty.1 m  N* M! [" W# D  L: o
  614. ; Default Value: None  A( g8 h$ r* B) U) N& y
  615. ; Development Value: "GP"
    % \$ r/ F# g0 g
  616. ; Production Value: "GP"
    1 J$ N$ t0 `0 \9 ~
  617. ; http://php.net/request-order
    9 B! c2 Y0 c9 i/ b8 z
  618. request_order = "GP"
    4 k) x- O7 d8 s, y3 l9 @' q

  619. : t9 [# a6 C8 f
  620. ; This directive determines whether PHP registers $argv & $argc each time it* A1 F& [# R8 b0 H) ^7 y3 U, Z
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script& R* L0 c1 A- n$ }
  622. ; is invoked. $argc contains an integer representing the number of arguments7 I( `6 d' j# w/ ?5 c& x8 H: A
  623. ; that were passed when the script was invoked. These arrays are extremely
    # m% c8 x5 j; Z- U, _% r
  624. ; useful when running scripts from the command line. When this directive is
    ' }/ A; D/ [9 }  Q- }! V- L
  625. ; enabled, registering these variables consumes CPU cycles and memory each time# p) e& U/ o& @) o/ n+ [
  626. ; a script is executed. For performance reasons, this feature should be disabled9 Q$ Z9 y1 k! j/ b
  627. ; on production servers.2 ?4 D+ p, `1 l* f* X
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 T0 A' a' k" v8 w, T% t( x9 d
  629. ; Default Value: On
    9 o. r# ~4 z* g$ v- q
  630. ; Development Value: Off
    9 L' P2 J5 |/ _6 o3 U
  631. ; Production Value: Off" H$ t6 Q" X& D7 w
  632. ; http://php.net/register-argc-argv
    5 ^' U& f7 e% k" C  ?! ?+ |
  633. register_argc_argv = Off# h" R3 F9 J( ~+ {
  634. $ f% z% Z/ C+ c7 A$ {
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 _+ z3 Z; f( r9 E0 c4 l* G
  636. ; first used (Just In Time) instead of when the script starts. If these
    - R4 s5 l9 g( j
  637. ; variables are not used within a script, having this directive on will result
    ' I# X- o( p: k5 E  E. P
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; N, a+ e* @. j' H3 S2 S
  639. ; for this directive to have any affect.6 `: ~8 g( C: j+ W
  640. ; http://php.net/auto-globals-jit
    : C  z& e% l  [' B, H. \; }3 a
  641. auto_globals_jit = On* c% R  s( O9 M( C0 h
  642. % R! V7 |; ~. r
  643. ; Whether PHP will read the POST data.. a2 ^! A" k( S; ~, I) ?
  644. ; This option is enabled by default.
    8 M3 H! `$ T' L' B/ P" p: G
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST( L* P4 Q$ f7 W$ I
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    6 `+ M- t* d; Z# c; e; ?6 M
  647. ; POST data will be through the php://input stream wrapper. This can be useful- D7 D; j3 g( U: q- q" R2 j# D
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.+ P5 l" u+ g( x, c+ u9 [' ?) ~# }
  649. ; http://php.net/enable-post-data-reading$ Z% y  Z' H* r$ r
  650. ;enable_post_data_reading = Off8 c% {; J% ^6 b/ q. O4 }$ S( S
  651. ! q' w, t) ?6 S! h- _
  652. ; Maximum size of POST data that PHP will accept.
    & S) d- Z, v  y- ^1 O
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , T+ y, l( y' o/ d0 q, x) \
  654. ; is disabled through enable_post_data_reading.3 L/ ]- e/ _9 w" m' T5 }
  655. ; http://php.net/post-max-size0 n$ P+ e! X4 I$ u
  656. post_max_size = 50M4 S, \8 ]- Q$ E0 r
  657. 2 N+ ^$ @& ?2 B( F% L
  658. ; Automatically add files before PHP document.+ h" D& y& ^' j- {- [
  659. ; http://php.net/auto-prepend-file
    + h! ^1 T2 b% Y" P5 d4 z) }- O* k
  660. auto_prepend_file =( ^, j3 P* P9 t7 E. S8 f/ H6 Z
  661. ! s" S6 R5 J$ p
  662. ; Automatically add files after PHP document.
    9 @* j* D/ ~2 r$ T
  663. ; http://php.net/auto-append-file
    - _* h/ i- R, ]& o+ H
  664. auto_append_file =/ A% `3 q# t$ {) r/ h, e3 G1 L
  665. ( ~# i% S0 v+ g7 I
  666. ; By default, PHP will output a media type using the Content-Type header. To
    9 l$ o( D6 k9 B) d# l
  667. ; disable this, simply set it to be empty.
    : d9 {6 ?, g' w6 @+ U) i& e' W
  668. ;: k( M2 z2 [5 K7 [  c" r
  669. ; PHP's built-in default media type is set to text/html.; q& U. J( s: D( h- @
  670. ; http://php.net/default-mimetype
    5 t% u8 I0 w- I7 j+ j
  671. default_mimetype = "text/html"
    : X( s0 A8 U" j  r; l/ y  J
  672. 4 ~# d$ t: Z1 E+ t
  673. ; PHP's default character set is set to UTF-8., ^4 e4 p  l: f/ o" y' ^
  674. ; http://php.net/default-charset) |: u4 h, [9 d8 z8 y
  675. default_charset = "UTF-8"
      R2 B& ?8 o# O2 f
  676. ; O: O! \( u$ h: z. [' Y
  677. ; PHP internal character encoding is set to empty.
    $ M0 X! {+ W4 P" P
  678. ; If empty, default_charset is used.3 g$ J& q6 s6 b$ C! h) i% s
  679. ; http://php.net/internal-encoding
    3 O4 G: [: m3 }' u: v# H
  680. ;internal_encoding =4 U& C! Q6 L6 O4 @+ z5 [

  681. 7 Y' G. E+ [' c& U, V  {/ }
  682. ; PHP input character encoding is set to empty.. k, @+ z* b1 ~1 [2 n" N
  683. ; If empty, default_charset is used.0 s9 F) x/ k9 \% h! m5 @9 y
  684. ; http://php.net/input-encoding( Y: n2 _- v: q: M. T
  685. ;input_encoding =1 q/ V7 M4 v' u) @

  686. ! [& F( w0 S$ K) h
  687. ; PHP output character encoding is set to empty.
    $ ^  |  n$ \- }5 M5 K, t) \% P4 V
  688. ; If empty, default_charset is used.$ m% D. x! p' F! q* A
  689. ; See also output_buffer.- D  ]0 n% H5 }; ~8 v4 i& L
  690. ; http://php.net/output-encoding4 o# y, O5 E1 C4 \* ?
  691. ;output_encoding =1 U5 }5 Z# |3 a, r

  692. 6 k- L" g: y& g1 b
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , B9 J( ^. {  r' a2 r/ I
  694. ; Paths and Directories ;% p  m( z3 u% m* `
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ c3 V8 q2 A+ ]% q* F
  696. % k  j( V  r* V# W( [) g, L/ S
  697. ; UNIX: "/path1:/path2"$ c4 L7 p5 @5 S; d; e0 j- b
  698. ;include_path = ".:/php/includes"
    , _9 ~2 j& @4 v0 B2 a& V9 {
  699. ;
    / Y# k" e& c' `( ]0 b/ B+ J
  700. ; Windows: "\path1;\path2"
    * j+ ]; B6 l% f4 D
  701. ;include_path = ".;c:\php\includes"  R6 d  C+ N6 ]* }7 Y
  702. ;
    ! B$ x$ M; B( T2 T2 N8 J3 B" Z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"" g( Z  t- A4 T5 H% G! W* B
  704. ; http://php.net/include-path" H5 O: @* y1 l- n% c: n
  705. " H( h1 u( e) ^$ e7 ]9 G3 h
  706. ; The root of the PHP pages, used only if nonempty./ m# [5 w) h' y: ?- O( u9 |2 a2 _' [! s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    1 G" a+ \$ \1 @0 b1 ?$ S5 Y$ J5 ?4 I
  708. ; if you are running php as a CGI under any web server (other than IIS)8 T$ L" ~% L3 R3 y) i" h2 E3 `
  709. ; see documentation for security issues.  The alternate is to use the
    ' x/ k2 c1 X7 j
  710. ; cgi.force_redirect configuration below
    & A2 y6 A# O+ M& |
  711. ; http://php.net/doc-root+ T7 M3 T5 S* [
  712. doc_root =
    ; g5 h" D# C5 l1 s( `, U( J+ O& V

  713. 3 g1 \% B2 W3 A2 U. r6 e' [
  714. ; The directory under which PHP opens the script using /~username used only
    9 j. y: E3 |8 d7 h' e" c
  715. ; if nonempty.8 q8 r7 ]1 k" h9 Q+ u0 G, g
  716. ; http://php.net/user-dir
    ! a  x: H& B# t+ _( Y
  717. user_dir =& W4 R/ x5 j% K6 c% O, F; P& y: {

  718. & s8 k: f" a& Z! t3 K& v, T$ Z
  719. ; Directory in which the loadable extensions (modules) reside.3 ?% c8 w! A2 M. H/ g, y: F
  720. ; http://php.net/extension-dir
    * w3 n2 F. B! ^0 }
  721. ; extension_dir = "./"
    7 n: a* V5 w( E) l6 {$ w
  722. ; On windows:; I1 o) I% W: y0 a. Z
  723. ; extension_dir = "ext"
    3 A. _& Q! a5 ?; |4 ]
  724. * J# l0 C4 P! Y! v5 n+ w5 @
  725. ; Directory where the temporary files should be placed.: A( X: H  I3 k7 K4 B) o
  726. ; Defaults to the system default (see sys_get_temp_dir)3 d/ k' n+ [% H9 q6 M
  727. ; sys_temp_dir = "/tmp"3 @% F, b0 E8 l' ^5 c) `' d6 K
  728. - D* l" Z6 @7 L+ L
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    % f( j; a9 t2 {( q" U+ s( _
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( q0 B2 ^! M+ A" ]5 B+ I* n
  731. ; disabled on them.; O0 y. H& y  M" Q' |4 T
  732. ; http://php.net/enable-dl" T( v6 t1 n0 C( i+ e4 o8 R
  733. enable_dl = Off& [6 n( [' u: ~5 V9 J

  734. 8 A  D6 z, \* _  x" i
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" @( Q% }- s: U  x: V* |- a' j) W" J) S
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 i4 l! V" _1 h( e7 N, x2 N
  737. ; turn it off here AT YOUR OWN RISK# p- x3 H, t9 j6 t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 l+ b0 m3 u" V" I  Z
  739. ; http://php.net/cgi.force-redirect
    , s7 v* e% F; p$ g3 s  u6 |
  740. ;cgi.force_redirect = 13 Z& T" c- g& ~7 |" l/ h# V
  741. 1 X* {3 u1 M# A' d
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* ~7 g: A# C# A' ?% K& I
  743. ; every request. PHP's default behavior is to disable this feature.
    & l# E5 N' l  [- Z/ J4 T
  744. ;cgi.nph = 14 a/ g( ~9 i5 H, _1 |& _
  745. ) i# n& i6 |4 E7 M
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
      I' L* O7 T. |( k/ o" _
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 i' m9 S( I* o) L  B) S) e# H0 j% e
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 M2 S$ A% V7 |$ e
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' V' |# B6 Z* W$ @
  750. ; http://php.net/cgi.redirect-status-env
    , |( [: T& `% v; V* }
  751. ;cgi.redirect_status_env =% g0 N+ q5 l4 k9 o6 `. }

  752. 2 r- f( N+ C% F- p9 a. q
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ' N. D: w# l& _/ s3 N+ ?" c9 P+ B  w
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 a/ i  Z" Y9 F* S8 f; I
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. t, O# y8 B7 R6 V0 s9 X
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    * p- ~8 L6 c1 ]" m  @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts$ `& d& q( I2 n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED., [  q7 k. ^. F
  759. ; http://php.net/cgi.fix-pathinfo
    - ]& {" p  }& h. A. n/ B
  760. cgi.fix_pathinfo=1/ L9 H* ~0 V: L% T7 Y. T. L; z

  761. 7 ~6 F/ V* ]0 |+ K' b8 V$ V
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 [- F, p3 Q0 K6 t' x6 L  d
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. b8 B5 C; r4 C. i! L* N% v9 B" N) _# U
  764. ; http://php.net/cgi.dicard-path
    * E% R& j$ A. }  D2 F5 b
  765. ;cgi.discard_path=1
    0 _+ r3 a, L) ~& e! [
  766. ) F$ ]* J, ~$ p/ m' c& q4 u
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ s) r+ f: n9 R  @/ F8 g
  768. ; security tokens of the calling client.  This allows IIS to define the
    / C9 J6 ]0 [( Z2 E: ~3 D6 ^0 h/ v4 z
  769. ; security context that the request runs under.  mod_fastcgi under Apache6 a7 D8 `9 h9 Y) [& O6 `5 P3 N  ~
  770. ; does not currently support this feature (03/17/2002)
    ' `7 n! D& ]) Z! H
  771. ; Set to 1 if running under IIS.  Default is zero.& G/ X9 F! U6 R+ M7 E: d( N  U+ l$ q
  772. ; http://php.net/fastcgi.impersonate
    6 P  ?1 h* f# }+ N. N
  773. ;fastcgi.impersonate = 1) N. t+ F+ A& \3 x% A

  774. 7 E4 K% e: s: v) g# m1 t
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- w! i; o/ i3 u3 d) F7 z3 B1 J' o! f7 O
  776. ; this feature.% N* t5 x* W# c3 m1 d
  777. ;fastcgi.logging = 0$ }% A: V) {% G$ q/ N, R

  778. ' K9 z4 Y' H. e7 L% v* A
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    : g( {% O4 s* z4 R" Y- w
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ r' W7 L3 C% B" Z2 i
  781. ; is supported by Apache. When this option is set to 1, PHP will send3 l4 G- o  e5 x$ h1 J
  782. ; RFC2616 compliant header.
    " b3 }# \) z; ?' H
  783. ; Default is zero.
    & t$ `8 l$ }% ~
  784. ; http://php.net/cgi.rfc2616-headers
    ' ^/ ?5 _* z8 j! o( J! L3 W
  785. ;cgi.rfc2616_headers = 0) X# Z6 Y, B( L. l4 ^$ V6 J
  786. , r* V- N0 Q( J1 C! {$ ^
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' n1 Q: }) N# r1 b7 i
  788. ; (shebang) at the top of the running script. This line might be needed if the
    5 p( U4 M. n& v5 ^' u/ o) B; N
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    * }: ~2 e/ M  H, f
  790. ; mode skips this line and ignores its content if this directive is turned on.% \& R: c4 a( J, B% o
  791. ; http://php.net/cgi.check-shebang-line8 e# p6 r" f. {
  792. ;cgi.check_shebang_line=1* x, N1 |, W- p# I- v( J6 `& e
  793. ' f! @4 l% o" N/ G
  794. ;;;;;;;;;;;;;;;;
    6 o: M: E9 ?) ?9 J' M
  795. ; File Uploads ;. B5 X3 Q6 a6 e. Q' W
  796. ;;;;;;;;;;;;;;;;7 i- v: z0 L3 p& i4 X
  797. 9 R: v- \( a# s8 b
  798. ; Whether to allow HTTP file uploads.! |/ [: C' I; d& \% K& S% s
  799. ; http://php.net/file-uploads
    ' i( T/ L/ |/ X6 k
  800. file_uploads = On
    # K  b3 d0 V1 ~# C& i7 l2 k) r7 q
  801. + W, t$ J+ {# U* r2 j4 z: i, h: F3 x2 _
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' l, _2 m' ^+ s2 a* |! i+ K3 o
  803. ; specified).1 J9 z' d$ n3 `6 M7 V4 n1 Y
  804. ; http://php.net/upload-tmp-dir
    4 }2 U% s1 R% x7 w
  805. ;upload_tmp_dir =/ ~' x1 F' S; H% N/ H$ y1 H9 W% R

  806. 0 g0 b( @* [7 j4 K8 ^/ O+ v* S
  807. ; Maximum allowed size for uploaded files.
    + K* E& X  M: Y* g9 v; n" n( Z8 s
  808. ; http://php.net/upload-max-filesize
    ) v! u: A4 }% H
  809. upload_max_filesize = 50M6 [- i& S8 |; J( g- K, Z
  810. - d/ U" f: q7 {% H  C+ L
  811. ; Maximum number of files that can be uploaded via a single request
    4 y2 i9 B2 n  {" o9 `+ m
  812. max_file_uploads = 203 v" j  z* A+ V: |/ ]

  813. 1 o" C2 K# b2 q
  814. ;;;;;;;;;;;;;;;;;;
    5 a3 N% g# n5 V& ]
  815. ; Fopen wrappers ;
    : P- q# j* X& w; i% H- z+ n
  816. ;;;;;;;;;;;;;;;;;;
    , K" g0 c6 T3 _5 W4 V: n
  817. : L3 e% U" Q, z5 w1 m5 E9 B
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) u0 C% Q9 U$ e( Y
  819. ; http://php.net/allow-url-fopen& I; p, q1 w3 o! B3 ?/ E
  820. allow_url_fopen = On; ^! @5 P4 A( N. e
  821. " [, G+ y# }3 L+ H  m
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + a4 d0 w5 L* X" a8 C# f
  823. ; http://php.net/allow-url-include
    / E5 Q' R( f$ T
  824. allow_url_include = Off# @8 B5 b( q1 U- Q+ [7 k

  825. $ p& R5 J) k1 u2 ^8 @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    # K) O# t9 ~, P2 ~$ j
  827. ; for this is empty.
    6 v9 V# p" d3 c" {
  828. ; http://php.net/from
    + \. T, I/ z; J$ B$ \6 F
  829. ;from="john@doe.com"
    * G, ^' H) z. S0 u5 D" g/ o) `' p5 o

  830. ; T+ z& @3 L& T& o! ]( n+ A
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ L) k4 I1 z* r' ]
  832. ; http://php.net/user-agent
      h6 T1 q* G+ j# ]: X% b# u
  833. ;user_agent="PHP"
    ( w. _- R/ \2 q1 k- {$ s

  834. " i4 I, T# |( t; v( {1 W" m
  835. ; Default timeout for socket based streams (seconds); [& _$ K! l1 J* A3 R
  836. ; http://php.net/default-socket-timeout
    ! g- ]- u9 K! w& A
  837. default_socket_timeout = 60
    0 M, d3 O+ }+ V" ]9 g& E" t0 F+ h
  838. / @4 j9 n$ d0 q  _2 G+ d
  839. ; If your scripts have to deal with files from Macintosh systems,: r) k$ B' q8 q  [9 E! _2 `; h0 Y
  840. ; or you are running on a Mac and need to deal with files from
    9 K  `  Y( K4 V+ [
  841. ; unix or win32 systems, setting this flag will cause PHP to" b* f3 o8 Z* K5 p* X
  842. ; automatically detect the EOL character in those files so that
      i* o& w( s6 V0 N2 ~
  843. ; fgets() and file() will work regardless of the source of the file.* c2 b( h! l. L$ u3 _# T3 Q7 b: H
  844. ; http://php.net/auto-detect-line-endings
    ) b  U: C, r+ X: c9 ?0 q7 T. z- s
  845. ;auto_detect_line_endings = Off
    7 B  u3 y, r. M
  846. 3 b7 W# p5 u  T) A2 @. C6 T
  847. ;;;;;;;;;;;;;;;;;;;;;;
    5 k7 }# R7 J- y3 E
  848. ; Dynamic Extensions ;! A) w# Q8 J$ d
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ( m% Q4 E1 \% {0 h0 t- n

  850. * @' L$ ]8 p) e/ {/ K
  851. ; If you wish to have an extension loaded automatically, use the following
    " q6 b5 T9 f: x% n! C/ [
  852. ; syntax:
    3 t& Y1 U9 A: J" S6 y; A0 R
  853. ;8 n& v: x3 ]7 X- v1 R3 w" w
  854. ;   extension=modulename.extension
    7 W9 s( o7 J  K# \2 y
  855. ;
    , l! Q9 v4 q& m2 J% F
  856. ; For example, on Windows:
    + j' J1 n- k: i8 N1 s- i6 i  [8 r) m0 u
  857. ;/ A* c! c( d3 k  j3 Q
  858. ;   extension=msql.dll
    * E+ `  t1 [* r7 U9 K: G. L
  859. ;2 {9 P& b" u" k$ S! ?0 @. L
  860. ; ... or under UNIX:$ S+ z3 z2 H3 f" h9 E$ L9 J' H# j. R. P
  861. ;
    1 A3 k% C* D/ ?# n' a9 o
  862. ;   extension=msql.so/ y! I8 S" @' s% F& f% n6 c
  863. ;
    ; m. ?+ s9 W0 ~' X, e: G
  864. ; ... or with a path:
    ( P0 }" T- N( k* E
  865. ;4 y$ h6 b+ q% j, Q8 m6 a
  866. ;   extension=/path/to/extension/msql.so* K/ D9 q# ~. `9 {; D" h
  867. ;
    ) d! ]0 ^- f: z/ P
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / k( _+ `8 w5 o& w8 W+ `
  869. ; default extension directory.
    1 t6 a/ E! h1 c+ P3 }% ^
  870. ;6 n. {0 x0 ?8 L) a% X6 ~3 p
  871. ; Windows Extensions
    % E! H' A5 X* x: O2 y+ h% I$ K9 H
  872. ; Note that ODBC support is built in, so no dll is needed for it.. ^$ D; k# E* {/ `
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! C, G% ~/ s# d" Y( B$ `
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).! Z4 K0 f# o  |0 f
  875. ; Be sure to appropriately set the extension_dir directive.
    / B7 Y0 D9 e& S5 e& ?
  876. ;
    ) U0 }: E4 F3 p( W8 w) g
  877. ;extension=php_bz2.dll8 `5 F! e* l9 L9 Z% S) Z  T4 B* o  U
  878. ;extension=php_curl.dll* G9 S& t6 p+ {4 [
  879. ;extension=php_fileinfo.dll
    2 z. T* Q* o( }, }) y0 P$ D) R4 J
  880. ;extension=php_ftp.dll
      W' Y$ M) K* {" R/ I8 h" }
  881. ;extension=php_gd2.dll5 C* f) ?$ L5 w  R! H  i5 H- Q+ }
  882. ;extension=php_gettext.dll
    9 ]7 G; K# l  S5 X- Y8 s
  883. ;extension=php_gmp.dll
    $ l6 j8 H& g! h/ d
  884. ;extension=php_intl.dll
    9 b. Q* V. R) y$ F
  885. ;extension=php_imap.dll
    ) z3 x% L4 Q1 \- N0 [8 N
  886. ;extension=php_interbase.dll
    * I, ^& g. ]- C# P5 d
  887. ;extension=php_ldap.dll  l! P% ~8 I- ?! ?# J" N/ I
  888. ;extension=php_mbstring.dll; [) U+ X/ I, ]3 W' S0 E$ |
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. S' v: m" h  [& N! N
  890. ;extension=php_mysqli.dll
    & A& V8 @3 O: Y' W* ?
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 [+ u$ K' P- G
  892. ;extension=php_openssl.dll4 U# v1 Y$ L5 \1 P" a8 P4 Q3 T
  893. ;extension=php_pdo_firebird.dll" O: x$ }7 K6 g1 y& T% ?5 V
  894. ;extension=php_pdo_mysql.dll$ ~; E: I- R% _, B
  895. ;extension=php_pdo_oci.dll( X4 f* w* W2 |- x9 M* e% j
  896. ;extension=php_pdo_odbc.dll3 H3 Z+ ]. Q, j7 A0 Z( F' W
  897. ;extension=php_pdo_pgsql.dll0 x4 ?. h+ R! Z0 X* C
  898. ;extension=php_pdo_sqlite.dll
    ! N# m5 m- z1 }* n. z; x4 B
  899. ;extension=php_pgsql.dll+ X9 ~3 X$ [8 e; L" h0 W1 x, @
  900. ;extension=php_shmop.dll
    $ O, S* e7 Q, ^  L4 `' K8 x

  901. % N1 ]( J: V+ n/ Y3 G- F- ~0 m
  902. ; The MIBS data available in the PHP distribution must be installed.
    . S/ s7 u# v( X  h% O% X8 H
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # Y5 s5 `# O& {+ x" F, ]1 @
  904. ;extension=php_snmp.dll$ z! u: |0 T" K% Z
  905. 3 h9 [  n, |2 q( b8 R
  906. ;extension=php_soap.dll' k! s5 X; O0 A) h. H9 n
  907. ;extension=php_sockets.dll
    : \, D8 X6 c& [; V4 T
  908. ;extension=php_sqlite3.dll
    , e2 f$ Z* T! X
  909. ;extension=php_tidy.dll
    " f' t# I/ N) d" m1 o) |! O- r
  910. ;extension=php_xmlrpc.dll8 Y# G$ W* e" x5 I; f& \
  911. ;extension=php_xsl.dll
    2 c! A9 m) @" K- L0 [

  912. 2 }5 c5 ~! Z5 k7 C! E5 }
  913. ;;;;;;;;;;;;;;;;;;;& V5 ^! }( u# z
  914. ; Module Settings ;4 t) b2 r2 ~2 ~& y
  915. ;;;;;;;;;;;;;;;;;;;
    . g! }+ H, n% C7 f

  916. % @0 k! J+ E5 w" @" \
  917. [CLI Server]' F% S+ G- {( N: _6 L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., {- Z. _5 v2 O/ \
  919. cli_server.color = On
    # j3 a* N+ \5 D, E
  920.   a, C& u/ @0 S, _0 E0 [: P
  921. [Date]
    ! F% q- B5 ^& H- K0 ?9 W
  922. ; Defines the default timezone used by the date functions  X+ V. g; v0 O3 t# L7 g
  923. ; http://php.net/date.timezone
    + s" M$ z5 b8 e8 L6 ]2 L
  924. date.timezone = PRC* q* u4 y: u  H- o& E/ K' Q

  925. ) ^) k' S# {: _5 C& h: `. r8 B
  926. ; http://php.net/date.default-latitude) r, O3 C7 I& W2 P  a6 S* [
  927. ;date.default_latitude = 31.7667
    4 X5 P+ a& Z6 g+ x9 g

  928. ! p' G; z# G: Y4 |. ^
  929. ; http://php.net/date.default-longitude9 ]# w0 i  V4 W* a' B
  930. ;date.default_longitude = 35.2333/ d) F7 M( Y6 j1 }% e6 [3 y0 B7 x
  931. ; P- W' h' R7 v) H0 t% h5 @2 j
  932. ; http://php.net/date.sunrise-zenith+ b5 n" v: L1 F7 n$ u" Q+ J9 A1 e" [
  933. ;date.sunrise_zenith = 90.583333
    " j& }( I7 p' s  E) g

  934. ' r, L0 t- T  L% l  B: u( n
  935. ; http://php.net/date.sunset-zenith# r# b6 B" K# |0 M$ t
  936. ;date.sunset_zenith = 90.5833337 Q. c4 b' p  J: F. t
  937. # M7 |# G0 U* ?6 o- [8 ?
  938. [filter]3 r9 Z" h, [5 U3 h
  939. ; http://php.net/filter.default3 U# L" J# i4 w" ]% w( _+ t
  940. ;filter.default = unsafe_raw7 k0 z% e, k0 `) a5 r1 U5 f

  941. ; r( |; R  e9 c- t6 S
  942. ; http://php.net/filter.default-flags3 y/ \" [/ s+ ^0 d" c4 F. C6 w
  943. ;filter.default_flags =; Q: I) _; o9 T
  944. 2 F( d* A7 P0 q5 g0 K7 ]/ ~
  945. [iconv]
    1 `% d& U) d5 c& n. `5 i
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ F' @; T1 U  |+ l
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.; p' N/ `6 k  T9 A
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 R% s% E2 z( V4 z6 u
  949. ;iconv.input_encoding =
      @4 b. L0 z) ?  b" e: q/ _
  950. 4 u* Z! P  J( N8 R1 C
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! E. a) R9 a4 ~6 [: V, F1 r+ U4 G
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. Y+ f8 e5 [1 p/ p) _4 J
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + T- L! f, t' w7 \, `
  954. ;iconv.internal_encoding =
    0 T; z. w$ a9 D9 a+ I

  955. ; g7 Z: l. W( D# H5 J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.7 L9 g1 T6 n$ E( n" N
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    $ @! F5 v5 c/ E* k, i' }7 D( R4 y
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    / q/ Z5 k; V0 q; M) t
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 c7 O) x, ]4 T) M
  960. ; otherwise output encoding conversion cannot be performed.
    7 E! a6 [/ @6 v
  961. ;iconv.output_encoding =
    ; _# v0 z8 [* q% b- ?( i
  962. 4 Q  q1 G$ F& I6 A
  963. [intl]
    ( i6 g- [/ ]/ P! l
  964. ;intl.default_locale =9 V# J, B: d4 P& m. ~2 g4 ?
  965. ; This directive allows you to produce PHP errors when some error" L5 X4 B5 N* J. G  |4 x: ?
  966. ; happens within intl functions. The value is the level of the error produced.
    ! {4 r4 ]8 K0 R/ I
  967. ; Default is 0, which does not produce any errors.# ^) @; j# {# Q. r8 G
  968. ;intl.error_level = E_WARNING- e( Y& E2 l9 k4 }+ J
  969. ;intl.use_exceptions = 04 J  Q+ O+ D9 p) M
  970. / ]  u7 l7 i8 a; K$ g4 m  o
  971. [sqlite3]
    + H* G; a8 [/ \/ _8 |
  972. ;sqlite3.extension_dir =5 f' X0 ^8 O! K8 e

  973. # k& k. X$ T7 A/ F* g9 x0 d/ @
  974. [Pcre]
    - X& d; {, Q6 \( s, N/ w
  975. ;PCRE library backtracking limit.
      ^! V* O" p( ^  C
  976. ; http://php.net/pcre.backtrack-limit
    , y* U  Z5 ?* s& [! |
  977. ;pcre.backtrack_limit=1000004 d) E2 \+ m  O6 e' |) W# v& A) @, A
  978. % h/ F! p8 ]; s$ V
  979. ;PCRE library recursion limit.
    + v+ l$ T; v( Y
  980. ;Please note that if you set this value to a high number you may consume all' S5 X2 E  {7 a. f
  981. ;the available process stack and eventually crash PHP (due to reaching the
    5 r# l* P, v1 ^* l1 c
  982. ;stack size limit imposed by the Operating System).
    7 y) j) |! D+ y" Y+ d3 e& t3 x  y
  983. ; http://php.net/pcre.recursion-limit: m6 l9 O2 @" O  \& E
  984. ;pcre.recursion_limit=100000
    3 F) f, f' h  Y" \7 I

  985. ! V/ V& ~! N% N& m+ V, q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE3 |3 A- s2 V; K, N* U
  987. ;library to be compiled with JIT support.  {3 C0 A' u& B+ q' I# N: Y
  988. ;pcre.jit=17 s2 V. b6 ~5 V- @2 a

  989. & j( I3 _1 O4 r9 M, D7 N, o# a' {
  990. [Pdo]1 s- B7 J  S" L5 D$ @0 I
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"3 ]% U  R! S, V( T% B" t+ E7 X3 ?  b; x- I
  992. ; http://php.net/pdo-odbc.connection-pooling% |+ A0 @$ \) \5 m
  993. ;pdo_odbc.connection_pooling=strict
    ; k5 M5 Y- ]$ N# H6 H* s! K
  994. ( f! }5 T' j: N% L2 V
  995. ;pdo_odbc.db2_instance_name0 |5 U6 x" ^( T& q
  996. # P$ x6 _( d# U$ }
  997. [Pdo_mysql]- |3 W4 P* r4 H) A+ C# H
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache- w0 c( ]" T# K2 y! B
  999. ; http://php.net/pdo_mysql.cache_size' {. y7 w5 p" M/ D# S6 M
  1000. pdo_mysql.cache_size = 2000
    # x& y+ p. i- T3 a, B

  1001. % @; L+ z& B8 f
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! o; `  G4 `% Z
  1003. ; MySQL defaults., }; O' X! o. @
  1004. ; http://php.net/pdo_mysql.default-socket
    ; R3 c+ E+ E, ~% p" x
  1005. pdo_mysql.default_socket=& {/ R8 |3 l4 e0 n  E
  1006. 4 O: P' \- V3 U1 |6 m' K4 s1 l
  1007. [Phar]
    + i3 Z- E. }* U* T$ e, O
  1008. ; http://php.net/phar.readonly
    ' n. W6 n; H( z$ ?! s  a
  1009. ;phar.readonly = On
    " L, e: X4 C0 N" J/ k4 j! V
  1010. 3 u7 z* }/ d$ Z, y4 G9 ~
  1011. ; http://php.net/phar.require-hash5 Q, d- c3 P) r" M
  1012. ;phar.require_hash = On
    6 @) O' ^  ?$ V9 a
  1013. ) W! O- S* n5 r: D9 y
  1014. ;phar.cache_list =
    5 q  g+ B" D0 s( O4 Y0 E
  1015. $ x  `3 y$ @1 X* i: C( @
  1016. [mail function]
    / q- R1 Z* r1 v+ E$ i" E
  1017. ; For Win32 only.
    3 M, D9 c0 b# S3 m' B% @& ~; P% ~8 B
  1018. ; http://php.net/smtp1 \1 h+ \8 Z+ X# i0 f" o& T) e
  1019. SMTP = localhost
    ( y' V+ v% m* J4 q- x) `
  1020. ; http://php.net/smtp-port
    " b9 g- x9 t, B. m
  1021. smtp_port = 25$ R" e, e% I1 z( z7 A3 a6 b# }( Y

  1022. ' A$ O  g+ {9 s+ B9 q6 k7 |. D
  1023. ; For Win32 only.
    ( E( v5 |& i- d4 J
  1024. ; http://php.net/sendmail-from
    9 i2 g: e. e1 O; }; S& `
  1025. ;sendmail_from = me@example.com- w$ C/ ]5 c8 ]6 G$ O0 Q, ]
  1026. 0 @# f, x5 [% e  G# o" E
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 c1 c! \/ Y) H, Y
  1028. ; http://php.net/sendmail-path
    8 s5 n+ r7 X0 f- d5 u
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    4 b$ I: t' `- ~7 {# G. Y7 @* A

  1030. * }  w( m" S2 A, a+ b' F5 w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    0 d# f8 j$ |8 h+ S  D5 M3 y- I  A! O( n
  1032. ; to the sendmail binary. These parameters will always replace the value of0 U7 c7 v/ t, i  [# x& C
  1033. ; the 5th parameter to mail().3 q6 b, j( W) N9 S' L: C7 `
  1034. ;mail.force_extra_parameters =  j  I5 K& }" v: H2 o" w& e
  1035. 4 A( q1 z' B0 _3 T
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename# d$ G- G9 ], d
  1037. mail.add_x_header = On+ \5 ?7 v6 {9 g" z/ ~# X' o

  1038. 1 j  g8 c0 f( c
  1039. ; The path to a log file that will log all mail() calls. Log entries include2 C, W/ O' s) R
  1040. ; the full path of the script, line number, To address and headers.& p% e  A& o* X: d) ?
  1041. ;mail.log =0 p8 q8 T$ ?% F2 \7 g
  1042. ; Log mail to syslog (Event Log on Windows).
    7 z) p) X! {& N
  1043. ;mail.log = syslog
    0 e% K* y4 j' |* B1 B7 u; t

  1044. ' r0 f6 _( U4 Y6 e: d# P
  1045. [SQL]" V% H, ~' \. }! e. Y
  1046. ; http://php.net/sql.safe-mode
    8 Q& l/ Q0 T- c3 x! y* K) e9 U
  1047. sql.safe_mode = Off
    0 U% }& ^# B- c+ z0 R- z& _2 O
  1048. : G) h! u) _( f; ]
  1049. [ODBC]
    / y- g, i) A& k/ Y7 i2 g  P9 U" v, n
  1050. ; http://php.net/odbc.default-db
    6 H  V7 q! G; S+ a6 o) a
  1051. ;odbc.default_db    =  Not yet implemented
    6 V0 I- {5 ?. H; o( r

  1052. 6 |+ J- p6 c& M, M3 z
  1053. ; http://php.net/odbc.default-user
    - ^8 E% o8 C6 r0 i; |/ ^" {. V
  1054. ;odbc.default_user  =  Not yet implemented
    ) ~6 l1 |( |5 I% G9 @
  1055. 7 [1 {* q( Z# Z8 `$ h
  1056. ; http://php.net/odbc.default-pw' g( S3 N# a1 i' ^
  1057. ;odbc.default_pw    =  Not yet implemented
    # p4 g5 k! k# E  ~1 j: ?
  1058. 0 y- J! i% W/ a% {3 G
  1059. ; Controls the ODBC cursor model.
    # |, G- n- {& ^( A" n+ y2 h
  1060. ; Default: SQL_CURSOR_STATIC (default).4 h/ r  f- E2 p' z" |3 W! X
  1061. ;odbc.default_cursortype
    4 G6 d5 u  u( j+ @6 A- ^& x/ o; |
  1062. 4 `$ k/ Q6 y$ z2 s$ y5 }7 W5 Q( i- P
  1063. ; Allow or prevent persistent links.
    7 E* p) J& }7 ^/ ]  y1 b
  1064. ; http://php.net/odbc.allow-persistent
    ( G/ M- j# Z* j0 n1 J3 e. u' A  N" ]
  1065. odbc.allow_persistent = On
    3 B( W) r( A8 g; i5 ?8 v, V8 N6 u
  1066. * ^+ [; I; X0 g0 b( g  @$ ^
  1067. ; Check that a connection is still valid before reuse.
    " G' [$ i2 L8 Q3 g
  1068. ; http://php.net/odbc.check-persistent
    / O4 @; `5 {- O' Y- {( V1 j
  1069. odbc.check_persistent = On
    6 ~/ E4 q2 f3 o

  1070. + f! k8 X$ W7 T$ M
  1071. ; Maximum number of persistent links.  -1 means no limit.+ [' j$ e0 ~: @. P5 |6 c1 J
  1072. ; http://php.net/odbc.max-persistent  S8 P8 B/ K' d( F! t& v
  1073. odbc.max_persistent = -1
    # G+ w7 O+ b& o1 C& s, S9 s- F

  1074. # o$ K/ |4 @" C$ Z0 y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! j% C% @" f. _
  1076. ; http://php.net/odbc.max-links
    : M* x! S' Q" |2 G
  1077. odbc.max_links = -1. D" _! [, \$ M9 t9 X) v; P

  1078. ) `! Y. l: N: R8 t# e. E, _. B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / G$ f$ l+ N/ c) O' w2 G
  1080. ; passthru.
    : a. j8 M/ U$ ~  x% ~
  1081. ; http://php.net/odbc.defaultlrl* P; Y" _+ ?2 V. i
  1082. odbc.defaultlrl = 40963 g+ d! \0 `* ^
  1083. 3 }* p( W3 z' @. ]5 H5 J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ! P( n* z) F3 h
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation& h7 Z. k+ Y, K+ P' R: S6 ]
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode' F2 v; e  T9 T- @6 K  A3 T* G
  1087. ; http://php.net/odbc.defaultbinmode
    % |, f. F9 ?& ?2 d3 A4 T9 e
  1088. odbc.defaultbinmode = 1
    6 y/ c; ^& [; M0 [3 _/ I
  1089. 7 |" q- o+ _( n8 w0 c
  1090. ;birdstep.max_links = -1
    7 p+ M; ]) J, I+ s& B' s5 E, x

  1091. % d/ I2 W! p2 O- C) Q
  1092. [Interbase]
    ' h  }6 I) b( C# ?' A5 h
  1093. ; Allow or prevent persistent links.3 F% c# y9 ?- X/ b
  1094. ibase.allow_persistent = 1
    . U, g) Q1 g0 a( V2 h7 p  I
  1095. . V) u1 |0 F0 J" y
  1096. ; Maximum number of persistent links.  -1 means no limit.
    : G, ^" f# v5 ]( b# A2 }
  1097. ibase.max_persistent = -1
    & f. o4 ~/ y  f* R7 r+ D

  1098. # g" n& {) E, ~9 \/ H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / {" P  F( ]7 i
  1100. ibase.max_links = -1( u0 w7 `& n! [$ ~
  1101. % n* |& }3 w( n" n4 d  `0 s' x2 L0 P
  1102. ; Default database name for ibase_connect().
    ; {) W; q" }, j1 t6 G& G
  1103. ;ibase.default_db =9 b/ @7 _4 n$ W$ a- Y' I
  1104. + G6 \* d8 o% q+ T+ S
  1105. ; Default username for ibase_connect().
    3 F4 b4 B' E) f
  1106. ;ibase.default_user =
    % J; b. p' A% X0 N# u

  1107. 2 D3 D6 U# P! V* D9 x6 C% Q5 \
  1108. ; Default password for ibase_connect().: A0 Z8 \$ V" q
  1109. ;ibase.default_password =" o  F" V7 g5 S' V: M0 d9 W

  1110. ( a6 u% [9 h/ C3 x% k
  1111. ; Default charset for ibase_connect().
    : m2 S: z6 t7 R) @2 ]
  1112. ;ibase.default_charset =
    % x8 i6 {: j4 `/ B) n6 H
  1113. 0 Z' f* A# a! \  v/ u) c8 f1 m5 }& w
  1114. ; Default timestamp format.& u6 n* F& M1 P7 P3 ^& ]6 z3 ~( L
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    0 u5 O/ \4 P9 V; O" a# `
  1116. 3 U! ]' r& s+ M% L
  1117. ; Default date format.# ]% I# ^0 b; [; `
  1118. ibase.dateformat = "%Y-%m-%d"7 V/ T. D( F9 A- i' N: d% ~

  1119. + ^5 W5 S- V9 T& {( L
  1120. ; Default time format.7 p4 e+ p* `4 Y8 Z4 }, F
  1121. ibase.timeformat = "%H:%M:%S"" r8 x# R, x, [1 ^' f9 m- k& @

  1122. 9 C. F# A) `/ `% N% r
  1123. [MySQLi]6 P1 L" g- X3 }1 a0 \
  1124. ( R9 o+ b+ w( M) A; s: o
  1125. ; Maximum number of persistent links.  -1 means no limit.
    & h# u5 ~3 |" u2 T3 G
  1126. ; http://php.net/mysqli.max-persistent
    , p( j: O$ s. b7 o" |1 B
  1127. mysqli.max_persistent = -1
    5 W5 N. f. [! R! H' v, s4 k  r
  1128. 9 N$ O+ @" D7 D' X- }- Q) c! W
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements" L4 f  A" Q  ]2 O2 @, {
  1130. ; http://php.net/mysqli.allow_local_infile
    ( V8 a0 N. {1 k- N6 z7 K
  1131. ;mysqli.allow_local_infile = On  x' L8 ^' `( O

  1132. - M$ ?6 d5 O9 e" a
  1133. ; Allow or prevent persistent links.
    ! l7 S+ e: Q5 ]/ E
  1134. ; http://php.net/mysqli.allow-persistent
    4 E7 F" m* l8 e  l6 x$ ^
  1135. mysqli.allow_persistent = On9 k) Z! U0 a5 j8 X- Z* a/ Z
  1136. % x: O5 v/ V3 m) S' {8 n4 v
  1137. ; Maximum number of links.  -1 means no limit.! c! T- t* F9 ]2 I0 {: d
  1138. ; http://php.net/mysqli.max-links9 A8 r- E/ u' ^
  1139. mysqli.max_links = -1
    ! _3 a0 V8 f, i% w
  1140. " y1 v0 ~- K( P, [% f0 E0 T
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 U, ?3 {" F% z' U8 C8 w% W2 [! I3 J$ Q
  1142. ; http://php.net/mysqli.cache_size4 c( ?8 Y4 L2 @2 L! ~- \
  1143. mysqli.cache_size = 2000
    ; l8 R( I# G; e& y( s

  1144. 9 D0 M* ^/ {; T7 K6 X; }
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use1 D+ c( `4 Y$ D3 {5 I$ o0 U5 m
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 x6 ^- X) {( R6 b+ |6 n& E
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # u( @) t2 h7 G7 Q( g0 h
  1148. ; at MYSQL_PORT.
    & V! `" U0 Y+ q7 g6 A$ u
  1149. ; http://php.net/mysqli.default-port
    - T5 m' s: Y  h1 X
  1150. mysqli.default_port = 3306! M- D, L% T4 Z1 |# u& _

  1151. , M+ Z1 m, X# M6 c$ @
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in( _9 S* N9 n5 V$ O* V! r  w7 c
  1153. ; MySQL defaults.+ u0 g7 K9 M! a+ |
  1154. ; http://php.net/mysqli.default-socket; w; n( @! [1 [: c4 k+ H" d5 c
  1155. mysqli.default_socket =7 V9 o& t6 s" ?, s/ N
  1156. 8 e2 T) u  g, r7 S
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)., F( V# a. v6 ~' J. Y% V: N
  1158. ; http://php.net/mysqli.default-host
    ; h0 L' x. E6 w% B5 D2 p7 |$ x
  1159. mysqli.default_host =
    & I% S8 D8 l0 J: }3 O
  1160. " |  O% |5 @$ y' {
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).; y3 {- K9 Q8 g7 m4 j' a5 D
  1162. ; http://php.net/mysqli.default-user
      P. @& `. N2 H
  1163. mysqli.default_user =3 d; W$ x( u/ e, g

  1164. : }  q- W0 S4 W! B# b
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 f! W0 ~: m4 J' Y# U+ m; Q. \
  1166. ; Note that this is generally a *bad* idea to store passwords in this file." G; l8 Q* D8 R: N' n. R* x
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " r. ~5 b# i' f  i; l  n4 S3 G
  1168. ; and reveal this password!  And of course, any users with read access to this, H  M3 t. y  `
  1169. ; file will be able to reveal the password as well., x% L6 {* L# ~/ D! ^1 v2 C! e1 ]
  1170. ; http://php.net/mysqli.default-pw
    $ v) P5 P6 O2 i3 M! s1 l8 A  I8 R
  1171. mysqli.default_pw =" L' x' ]0 u7 o

  1172. ! G; i6 t% k' d6 f
  1173. ; Allow or prevent reconnect
    1 x* M! ]- f$ h# O. C; L
  1174. mysqli.reconnect = Off4 E. ~8 B3 ]/ [8 o3 k
  1175. $ x6 D% u6 V4 d1 ^5 L: P/ |
  1176. [mysqlnd]4 r* z) q  i7 u! ]3 r' y% P
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    5 S/ [' m: S) E& U5 s
  1178. ; used to tune and monitor MySQL operations.6 k2 a$ g4 \. }0 X/ E' ^7 w" \1 j
  1179. ; http://php.net/mysqlnd.collect_statistics) M6 M* n8 W: q% G
  1180. mysqlnd.collect_statistics = On. F, V5 W1 B1 e+ z- I6 _0 Q1 M8 g
  1181. ; g: p+ y7 v0 a
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 p% o" [+ H6 E5 Z/ @! {% m; L
  1183. ; used to tune and monitor MySQL operations.
    3 v2 e8 F* T/ Z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ; a* Q6 o% X3 M2 Y- p. o' m
  1185. mysqlnd.collect_memory_statistics = Off
    2 ^3 U8 t) m9 R8 X; Q

  1186. # t( x+ ^% s, S
  1187. ; Records communication from all extensions using mysqlnd to the specified log, p/ \: [& U+ S; Z  a8 |" B0 y) e
  1188. ; file.- w: C9 n- a. D% j  |4 J( U% j
  1189. ; http://php.net/mysqlnd.debug: o7 M3 |: B  z* V4 h
  1190. ;mysqlnd.debug =
    % w: T% O/ S( D2 E$ W$ Y
  1191. . h0 W5 g4 G& F: ~/ t5 d2 a6 r) D! {# D2 @
  1192. ; Defines which queries will be logged." R( @* @6 N; O  Z1 K
  1193. ; http://php.net/mysqlnd.log_mask
    - i+ o9 P5 {/ y  j5 Y/ R) Z& K/ V+ Y
  1194. ;mysqlnd.log_mask = 0
      D0 P  \( a+ C
  1195. + I3 a$ n! j$ a
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.# ~) ?+ q( {, c4 B. A0 Y
  1197. ; http://php.net/mysqlnd.mempool_default_size1 f, `: E+ R9 \, X
  1198. ;mysqlnd.mempool_default_size = 16000# y- I2 B6 g- ?+ h

  1199. 3 Z. n, ]0 i8 g- |4 S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' h  n* f1 L% S
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! ?, ]# l4 t" l. {4 m
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    . w) I! M: K7 d8 C, c

  1203. 8 A7 v% X( N5 V8 [
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" t! c" o- \+ ?" H
  1205. ; bytes.
    ( o0 t$ r/ A! x2 \0 W
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 H: E6 E4 N. z# x' }$ ?/ ?0 ~
  1207. ;mysqlnd.net_read_buffer_size = 32768
    & O' c* i9 K4 Y. D3 |5 m5 A9 s  d* E
  1208. * A9 c& s4 R1 O" e% A
  1209. ; Timeout for network requests in seconds.$ `! I9 P. _, y% B( f2 S
  1210. ; http://php.net/mysqlnd.net_read_timeout
    8 e! C* t' G: F. K5 S
  1211. ;mysqlnd.net_read_timeout = 31536000
    " z" C7 c- @1 W2 M$ I; I

  1212. & O" P8 ^8 d: a& z4 V1 o6 _
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    . a+ R# b& v5 \3 A
  1214. ; key.
    & j5 I( X9 m2 ~) Z6 l, G
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ( Y: y- l; H. g: {  X2 t: F8 F6 D. w
  1216. ;mysqlnd.sha256_server_public_key =/ q7 p( B4 D" X' O. S( J" O8 I
  1217. $ e+ r, I( i# h& s+ F+ X2 U
  1218. [OCI8]# w& `( ^. `4 m( M

  1219. * ^2 Z2 A$ ^9 K, T% P5 q
  1220. ; Connection: Enables privileged connections using external
      a$ i1 d, C. p) R) E, r; }* n2 A/ q! ?
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ) u$ a! ~8 F% c! |* l) N3 ]5 O
  1222. ; http://php.net/oci8.privileged-connect
    % ]* Y3 b, @& T, [% N, |# K% h& q
  1223. ;oci8.privileged_connect = Off
    3 I. b! E/ Y$ U' S

  1224. ' \$ ^0 Q0 j7 Y" a, h+ O$ j) k
  1225. ; Connection: The maximum number of persistent OCI8 connections per8 T& T! r9 N5 {/ y2 U% Y4 A
  1226. ; process. Using -1 means no limit.8 n/ E5 A+ a. R, K% r8 Q
  1227. ; http://php.net/oci8.max-persistent4 V* c7 s' @# F4 u" _1 \+ j9 @
  1228. ;oci8.max_persistent = -12 Q* Z8 Q( O: X! ^% E# D
  1229. 0 u# _6 s) M: [4 H
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 P* R! s. Q& g4 d. o* Q2 }; E; p
  1231. ; maintain an idle persistent connection. Using -1 means idle( @0 N$ c, p( w9 v
  1232. ; persistent connections will be maintained forever.
    . Q, O: d& v3 k2 W: @7 k* b
  1233. ; http://php.net/oci8.persistent-timeout
    . u; H4 R! l7 P' E# J; {, x
  1234. ;oci8.persistent_timeout = -1
    + F$ r2 N  h, o

  1235. ) S# d! _. y4 t0 ?2 M. w1 Y
  1236. ; Connection: The number of seconds that must pass before issuing a5 O7 g* j2 u* b; g6 y
  1237. ; ping during oci_pconnect() to check the connection validity. When8 i" K+ b" |" L# b* E6 a2 i
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables# d8 Q: t4 U6 I" e4 _8 V
  1239. ; pings completely.
    ) i* |. A$ s* @2 G& Z  b& s
  1240. ; http://php.net/oci8.ping-interval- H! h! `5 e, d; W) x$ R
  1241. ;oci8.ping_interval = 60
    $ [* D# R; h8 n, J- u- m# b
  1242. $ Q. N: ~- @$ b5 F
  1243. ; Connection: Set this to a user chosen connection class to be used
    * N) Q6 ?& E0 q# c+ U9 i
  1244. ; for all pooled server requests with Oracle 11g Database Resident
      O0 j& ?3 {, Q9 e
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 N& y% Q; i# L6 g
  1246. ; the same string for all web servers running the same application,
    1 t6 k. ~( ^, Z% p! P, G: }- }. t
  1247. ; the database pool must be configured, and the connection string must' d# M! j3 {9 I0 Y/ S* q  r  c2 I/ M
  1248. ; specify to use a pooled server.
    # R! a1 S' z' i7 E$ F
  1249. ;oci8.connection_class =6 h3 ?3 S3 l. \
  1250. % p5 f; H+ ~1 {) @+ e" l; Y% b
  1251. ; High Availability: Using On lets PHP receive Fast Application
      j+ A; `+ r( W1 E% ~& G" [! `
  1252. ; Notification (FAN) events generated when a database node fails. The
    % P0 U& C9 g% Y. a( N9 l
  1253. ; database must also be configured to post FAN events./ O* t+ s$ s7 h; v& G
  1254. ;oci8.events = Off: k) u4 m3 }+ t0 [- b) p" J% `

  1255. . D0 S. ]- t& k
  1256. ; Tuning: This option enables statement caching, and specifies how4 w8 a9 f3 J* v# K" g! X
  1257. ; many statements to cache. Using 0 disables statement caching.% L3 W  w: [/ |6 p- O, D
  1258. ; http://php.net/oci8.statement-cache-size
    % g; n1 f9 l* R6 R
  1259. ;oci8.statement_cache_size = 20
    4 k4 x6 y9 K  D9 n1 J" P( `  J& s

  1260. 7 d" S; s! y  B# a
  1261. ; Tuning: Enables statement prefetching and sets the default number of0 ]! O+ }8 Q" f3 g% V3 c
  1262. ; rows that will be fetched automatically after statement execution.
    % b2 Y' I# X& {# o& J7 b5 g
  1263. ; http://php.net/oci8.default-prefetch8 l7 ^. L- c( S+ i% a9 G3 v
  1264. ;oci8.default_prefetch = 1001 Q, W' v/ J2 s- F+ s

  1265. , L- ~  W) F( a: N* L
  1266. ; Compatibility. Using On means oci_close() will not close# z1 t) j  _1 W" @
  1267. ; oci_connect() and oci_new_connect() connections.& q! k" `$ i) e1 E1 T
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; J$ P6 p4 o/ L, x2 i5 w: m2 w, i
  1269. ;oci8.old_oci_close_semantics = Off
    : U( W$ ]' A9 z9 l1 O6 H; C
  1270. * `; d. Y; j9 L
  1271. [PostgreSQL]
    ; D$ x- ^# Z: ~3 Z5 t5 d9 X7 E
  1272. ; Allow or prevent persistent links.. |: ?8 f- B* e- E9 x
  1273. ; http://php.net/pgsql.allow-persistent: _3 e$ G) I2 b: M: [
  1274. pgsql.allow_persistent = On
    - k- Z1 E" |. S
  1275. 0 Y% M: w6 _' p! d; x
  1276. ; Detect broken persistent links always with pg_pconnect().
    . V* f/ Z3 M( Z% B6 `0 {+ p
  1277. ; Auto reset feature requires a little overheads.
    , H7 l$ p. z% s1 p: N
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ! N2 ]5 Y4 y1 }7 R7 }4 k
  1279. pgsql.auto_reset_persistent = Off; I5 a- i* p# r8 y% O

  1280. - ?" a, Y: n) {9 Z5 t2 Y# u
  1281. ; Maximum number of persistent links.  -1 means no limit.
    3 Y2 K$ J7 {/ e. `$ [: }
  1282. ; http://php.net/pgsql.max-persistent
    8 c, I3 z$ k# W! }0 v& M) N
  1283. pgsql.max_persistent = -15 G) A. ^/ P  t9 \1 I
  1284. 0 O' `! Z# l0 w9 m
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.# O9 S0 e0 {) s$ z9 ?1 L' X
  1286. ; http://php.net/pgsql.max-links- e! s, ~( u7 b
  1287. pgsql.max_links = -1
    * K* Y1 j$ o$ Q- ^
  1288. 2 P8 N6 R+ K  f$ f! d
  1289. ; Ignore PostgreSQL backends Notice message or not.
    " R- k; }4 Q# S+ R# ?! p4 \
  1290. ; Notice message logging require a little overheads.3 g* F, l+ o) D# K* {
  1291. ; http://php.net/pgsql.ignore-notice+ f, Y; ^4 E+ ~0 Y9 k
  1292. pgsql.ignore_notice = 00 D: A& y) |6 P: L
  1293. 5 z& a, h% j; E) i9 r" y+ q# x, L
  1294. ; Log PostgreSQL backends Notice message or not.& j/ g* i! g/ \+ j5 E0 v
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.0 x9 y& j$ k! r0 X* o
  1296. ; http://php.net/pgsql.log-notice
    4 j: Z& {7 O1 v! o' _
  1297. pgsql.log_notice = 0: e, ^* J' m0 b1 P
  1298. 0 n3 Y* z$ t4 z0 n
  1299. [bcmath]
    5 q/ y' x% @3 f2 D2 Y  q% ]. B1 a: ^
  1300. ; Number of decimal digits for all bcmath functions.
    . A9 X9 N3 y. I7 A
  1301. ; http://php.net/bcmath.scale
    # q% D9 m1 S; H$ d
  1302. bcmath.scale = 0' ]$ r7 g+ U! H3 v* @

  1303. * W# }. N! ^7 [/ Z5 {5 ]3 g
  1304. [browscap], r9 c8 k/ y* O& ~8 |+ P
  1305. ; http://php.net/browscap2 z6 N+ l* _/ I# n  z* \
  1306. ;browscap = extra/browscap.ini- G9 G8 y- \$ R. l8 K6 t' [( m
  1307. + R0 _- y' k" ~# K4 r
  1308. [Session]
    ( j8 I- m* i+ A1 M
  1309. ; Handler used to store/retrieve data.
    5 ^, }, o1 ~- J5 x
  1310. ; http://php.net/session.save-handler% m4 h& _/ [* G0 M7 s
  1311. session.save_handler = files$ G6 y, i* w: E8 \4 u
  1312. : y+ D7 o8 l1 z5 K& t8 s0 A
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 ]6 n# G$ E6 ]9 p: R7 Y- g( i2 k2 i
  1314. ; where data files are stored. Note: Windows users have to change this
    6 a& O% }' k* E. W* F$ x
  1315. ; variable in order to use PHP's session functions.$ B+ r1 `4 J; f, N5 O0 X& n
  1316. ;
    4 N/ U. n2 g& {
  1317. ; The path can be defined as:; ^7 m  I+ E: R
  1318. ;
    9 C( G: d. _4 G2 O
  1319. ;     session.save_path = "N;/path"8 d# ^, e+ M( p9 H8 x' i
  1320. ;8 _- ~, h3 F8 P4 \7 s0 _  J
  1321. ; where N is an integer.  Instead of storing all the session files in
    1 B* n& z8 A5 ~+ Z: h
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    : H, b" t- D0 S+ A0 H# W
  1323. ; store the session data in those directories.  This is useful if
    0 E5 V, k& s1 ~0 S) _( \+ n5 H& s
  1324. ; your OS has problems with many files in one directory, and is9 o: g1 r' x% N) ]
  1325. ; a more efficient layout for servers that handle many sessions.
    / ]8 R. G' V; n! l" _7 r& f# m
  1326. ;  V( c9 Y- H% D1 E/ _. u  d2 R  u" s7 W
  1327. ; NOTE 1: PHP will not create this directory structure automatically.) e5 {! H( T- k, L" d5 {5 A8 x
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ! V* G: ^- S, B6 C* o
  1329. ; NOTE 2: See the section on garbage collection below if you choose to/ W, h6 W4 G9 y0 E
  1330. ;         use subdirectories for session storage
    + K- }' K2 t" j- g5 K0 B
  1331. ;
    ! z$ w' \1 W" d: H9 X
  1332. ; The file storage module creates files using mode 600 by default.
    # z/ p& o4 m' ]+ H0 l/ l
  1333. ; You can change that by using
    2 ?9 V) c: a7 `! x7 O
  1334. ;
    * B* k0 |8 B* i
  1335. ;     session.save_path = "N;MODE;/path"
      |+ g& \% r! P9 e
  1336. ;
    4 G) M( }  o5 I! M
  1337. ; where MODE is the octal representation of the mode. Note that this% u+ q- ~% B) Z* h
  1338. ; does not overwrite the process's umask.
    0 p- ?+ P, M% ?9 Z& l5 h
  1339. ; http://php.net/session.save-path
    ! j) \$ s* x( [: z
  1340. ;session.save_path = "/tmp"
    - G- e! U/ Z6 p$ T* {
  1341. * [. D% }. }5 s+ ^
  1342. ; Whether to use strict session mode.: X0 l' i& o8 ^6 \) }
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! @9 S. p1 k" e8 `8 W% f! P
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects+ m# l8 l+ J6 s8 R) p
  1345. ; applications from session fixation via session adoption vulnerability. It is
    & v9 N6 C8 \+ r3 E. S9 _( t
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    : i, a7 C8 H0 N; C& T; F
  1347. ; https://wiki.php.net/rfc/strict_sessions7 k# }) q) w) P1 G" @9 F  G) ]
  1348. session.use_strict_mode = 0
    + _! T4 B0 [; M, a. g

  1349. 7 }8 S2 K3 r* Z- h, o. V, T
  1350. ; Whether to use cookies.
    . [3 J; G- ~2 P' c
  1351. ; http://php.net/session.use-cookies
    : Y4 \- n8 {; D& \  I8 P+ m; [
  1352. session.use_cookies = 1
    7 q+ D# z: N7 A8 L/ j

  1353. + a0 i* b% \/ K
  1354. ; http://php.net/session.cookie-secure/ c2 V3 g/ i* q4 ^- {/ H( l' c
  1355. ;session.cookie_secure =1 H6 S( {( w, S9 V. O4 e

  1356. , p" ]% r( W( \2 z: ^+ g
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining0 ~( j/ @* A4 [2 w2 B
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    4 A. d- W, n- g3 w4 c% d4 \
  1359. ; session hijacking when not specifying and managing your own session id. It is
    8 x5 ^8 l. d" ]4 _+ J
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    + F* b7 z, o  {) l: J
  1361. ; http://php.net/session.use-only-cookies: b/ O  Y- M$ `% ^  N- {' ?
  1362. session.use_only_cookies = 1
    4 i  p# ~) ]( ]& _8 y
  1363. * v  c" E: X5 c- E. A$ S7 v
  1364. ; Name of the session (used as cookie name).0 G& U- v/ {5 u* r1 m2 H. g
  1365. ; http://php.net/session.name
    0 k! z" q5 a  v8 g
  1366. session.name = PHPSESSID( l: V4 N. G! j' S- z

  1367. 4 |) g) D& P* d! C$ @
  1368. ; Initialize session on request startup.
    $ ?7 G9 z0 k8 u6 u8 P" h! f" E/ r( _
  1369. ; http://php.net/session.auto-start5 }, `2 f+ l% H  q
  1370. session.auto_start = 0% |3 ^! O  W  z" a6 i: l
  1371. % D5 C& C7 o+ ]
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 v! E2 Y9 w1 P4 }/ M" `3 X& I* ?3 p7 B
  1373. ; http://php.net/session.cookie-lifetime
    " f( [, G" K3 t5 }" B) w
  1374. session.cookie_lifetime = 0" g* j* B- t* i# S

  1375. : L) e% {3 j" J+ I+ n% n
  1376. ; The path for which the cookie is valid.
    , B' V- h! }2 l
  1377. ; http://php.net/session.cookie-path) R/ j# z: D2 V6 s
  1378. session.cookie_path = /
      W0 e7 O5 T) J1 c* d$ \( ]
  1379. 5 z5 M2 B8 r& a4 I* l
  1380. ; The domain for which the cookie is valid.
    3 w1 b0 B* s, n9 b# e; H" N# d
  1381. ; http://php.net/session.cookie-domain
    ; k+ ~! I# B- y* m. M+ s; B( n1 W' M
  1382. session.cookie_domain =
    1 ~  {/ T. c6 T
  1383. $ W7 T8 f5 T9 e% \) l: Y9 w9 y' k% t# w
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! F1 M* I6 o" _8 y2 B2 X
  1385. ; http://php.net/session.cookie-httponly& \1 G) ^5 c, y! Y* j# B/ d
  1386. session.cookie_httponly =; a1 z( w9 t% O+ `

  1387. 5 l5 K- Q( a5 V& `* D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP." `# Z; J2 h( Y/ I  ^' G
  1389. ; http://php.net/session.serialize-handler' G1 E% a. o2 u% ~
  1390. session.serialize_handler = php7 E6 o8 l0 [8 g% e7 n5 M

  1391. : T6 v/ s& h# w& E
  1392. ; Defines the probability that the 'garbage collection' process is started
      N* L3 D, t+ Z6 M- e/ B
  1393. ; on every session initialization. The probability is calculated by using3 a$ b6 Q( u" w6 m, a1 s
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator  Y) e0 t+ c! ?' }' R7 S
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 Y6 n* i8 |0 E+ l) `- V0 F
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) v0 S4 e) v; }0 P; J
  1397. ; the gc will run on any give request.
    8 c6 I! v$ E4 K
  1398. ; Default Value: 1& X* `+ Q' b' n1 X( N
  1399. ; Development Value: 1
    ; L# V' |& r% y0 o& G
  1400. ; Production Value: 1
    ' ]: o; {3 b; C* l0 R) D
  1401. ; http://php.net/session.gc-probability  Q4 H1 L1 o8 I6 V, s- t
  1402. session.gc_probability = 1
    ; J0 k. N' U9 Q0 d7 c: Z, z- c. X

  1403. / c, N. J- [4 |$ }/ Y( u6 c
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    # P. V& C! M' M$ ?# c
  1405. ; session initialization. The probability is calculated by using the following equation:
      K. {, A6 d& O: c* X3 _6 N
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) [) u6 _: t3 ^" Q8 x
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # U6 Y9 ?. m2 I+ a' E
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 z" k) G6 H4 c2 S3 Z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you5 ?( @4 f) N9 o7 P6 f
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; a* r7 q* _- i4 I
  1411. ; this is a more efficient approach.
    9 V$ H5 H3 R& x1 [5 a
  1412. ; Default Value: 100
    , j+ ~% @. Q8 G
  1413. ; Development Value: 10003 @/ ]6 i0 U0 d  n5 |, C; b1 m
  1414. ; Production Value: 1000- d4 n- C3 u6 f& Y
  1415. ; http://php.net/session.gc-divisor
      |2 r0 {( D0 n; Q8 @% X9 r" S
  1416. session.gc_divisor = 1000
    0 q  J  w" B1 `5 y4 s# X& N8 Y

  1417. ) s+ c/ `* S/ G; [
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    : ?& D! }% N3 H6 f# c' p# `8 x
  1419. ; cleaned up by the garbage collection process.
    - X! B( ?. ~% h7 ?* J* W8 Y, N
  1420. ; http://php.net/session.gc-maxlifetime
    ; e) G- t. T) Y0 r( k. J2 H! ^1 }
  1421. session.gc_maxlifetime = 1440. ~" e7 y5 `; Q8 S4 x2 Z

  1422. , g% E+ r, j+ s9 a' J
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ! h0 c6 N- s/ J. o( A# \! j2 D
  1424. ;       (see session.save_path above), then garbage collection does *not*
    9 i$ [3 M: F; n2 W. l, V
  1425. ;       happen automatically.  You will need to do your own garbage
    2 Y6 E( \2 M" n% N7 b& D0 k
  1426. ;       collection through a shell script, cron entry, or some other method.
    8 y. u0 P3 U. W/ `7 S7 q5 t
  1427. ;       For example, the following script would is the equivalent of
    1 q& g* _2 _& B; z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % m0 u, U+ o" P7 |* t
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 t) {+ h! ]! \9 w
  1430. ( O% g* U+ \# \" }
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.  i! ]1 G9 Z8 T9 h0 d  U% R2 I
  1432. ; HTTP_REFERER has to contain this substring for the session to be, g  [8 L+ G' R7 i, T1 i: |
  1433. ; considered as valid.
    2 ?8 D& l& e4 o" J8 F; G, _) A
  1434. ; http://php.net/session.referer-check0 L# D1 u& n  O; d
  1435. session.referer_check =
    2 p9 R! _3 G8 A) I$ {0 v) V
  1436. 3 h: ^$ \* J9 T" y$ E  f$ A) d1 S
  1437. ; How many bytes to read from the file., k. K  ]* A6 y* R1 A0 X8 [
  1438. ; http://php.net/session.entropy-length( U8 T% l$ x' \/ K# Z+ s" W
  1439. ;session.entropy_length = 32
    * U* L, g! b* z" s" }+ G
  1440. 2 |9 D! F+ Y$ o
  1441. ; Specified here to create the session id.0 I1 ?: Y' C2 a& O2 L# I$ R
  1442. ; http://php.net/session.entropy-file% b. {4 @' s% s2 q; K
  1443. ; Defaults to /dev/urandom
    & I: f5 P' w" U* y! L6 Q5 B
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 l( D9 s5 [1 s! Y; M' e# t
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! H  {8 d0 O* B$ `, J
  1446. ; On windows, setting the entropy_length setting will activate the
    , h) }4 v" a/ u( J* b  Z
  1447. ; Windows random source (using the CryptoAPI)  A; l) X% F2 D
  1448. ;session.entropy_file = /dev/urandom
    / H- `  z5 l& g: M6 s

  1449. 3 ^* B( |  b" r! W
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 K# `1 M! U, ?. z" A
  1451. ; or leave this empty to avoid sending anti-caching headers.2 l4 h- @" M- _5 v: }1 |  q
  1452. ; http://php.net/session.cache-limiter" N( k1 y: I" H
  1453. session.cache_limiter = nocache
    & _- U. `: g# Z1 C9 C# d
  1454. . u+ R, E9 H. w. y" z: ]; [& _
  1455. ; Document expires after n minutes.% P' }$ ~+ ^7 [) r. n
  1456. ; http://php.net/session.cache-expire& W0 N0 O9 r0 W4 Z, L* ]
  1457. session.cache_expire = 180
    9 b* m: d3 @- G2 }

  1458. 7 K4 @: o9 O% r3 }2 `0 M7 u
  1459. ; trans sid support is disabled by default." N; a5 N5 h# K7 ], N
  1460. ; Use of trans sid may risk your users' security.
    4 W2 v) _" T. Y( v/ w
  1461. ; Use this option with caution.
    ) f; s8 T. m1 r. v4 h! _" F$ K6 t
  1462. ; - User may send URL contains active session ID. x5 A# F+ P4 S# ~5 F* C2 R& i
  1463. ;   to other person via. email/irc/etc.
    $ `2 @7 S  a: l1 ]4 K& C6 \
  1464. ; - URL that contains active session ID may be stored  k$ l$ p  F6 o7 t1 ^3 e" S
  1465. ;   in publicly accessible computer.+ K6 P+ V, J: g& H; B
  1466. ; - User may access your site with the same session ID
    6 B$ h! c- _. k1 D8 _
  1467. ;   always using URL stored in browser's history or bookmarks.
    5 |+ q- I* c; M+ B5 O+ o' ?
  1468. ; http://php.net/session.use-trans-sid5 _, z- h, y; H" B
  1469. session.use_trans_sid = 0
    ' ^! T3 j  A7 t0 @
  1470. 5 N, A+ a1 m# w
  1471. ; Select a hash function for use in generating session ids.; l: `& J' G6 D0 m: D6 x
  1472. ; Possible Values8 ]& ]$ `9 p* G; o/ \. N
  1473. ;   0  (MD5 128 bits), h! v  I4 p" S! ]8 h$ z
  1474. ;   1  (SHA-1 160 bits)
    - p( n' o( t: W5 Z7 {$ _
  1475. ; This option may also be set to the name of any hash function supported by
    ; y6 i4 q9 O) @/ e2 v
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * W  k; I& i$ `1 X7 ?  ?
  1477. ; function.
    : L- G! D9 \& ?# ~: j
  1478. ; http://php.net/session.hash-function3 ^& W. j3 Y1 m! ^" v
  1479. session.hash_function = 0
    " {& a) H% B0 ^8 J1 g
  1480. ' `' j: ]) M% Z' l1 k0 i) L! w4 H
  1481. ; Define how many bits are stored in each character when converting
    8 T5 {1 u0 l4 t; B3 s% x
  1482. ; the binary hash data to something readable.
    ' p/ L5 Z1 M& }: W5 u
  1483. ; Possible values:, A' [5 @- ?. r+ c. _; ?
  1484. ;   4  (4 bits: 0-9, a-f)
    2 J8 }1 r: y! h5 L8 d  h! \
  1485. ;   5  (5 bits: 0-9, a-v)% S, f5 X+ A! @8 g& O
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 a9 Q" T& i$ o( W; f
  1487. ; Default Value: 42 t& c0 J0 J5 W/ H1 w3 A
  1488. ; Development Value: 5
    $ [$ ]# d0 b! w1 A5 L
  1489. ; Production Value: 5, ~! c% J( m# e- C
  1490. ; http://php.net/session.hash-bits-per-character! b9 p& Z1 w- t/ ?, H
  1491. session.hash_bits_per_character = 58 Z/ Y3 M- z  K) W  l7 @3 n

  1492. $ s& a9 E8 Z" M" T3 Z
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ y1 ]7 ~7 z, k  s: n- }0 e# T
  1494. ; form/fieldset are special; if you include them here, the rewriter will' _* d6 I% M# g/ h2 _! }" y# M
  1495. ; add a hidden <input> field with the info which is otherwise appended% j5 h: [( t2 {* X, ~3 V1 V2 z
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.) M& X9 y7 S3 v5 a
  1497. ; Note that all valid entries require a "=", even if no value follows.( |9 w4 k% k+ d$ Q' k; ]: l: S/ s( H
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="0 {, g9 E( A3 U; c( J
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + z2 S) Y0 G3 J, M: Q# J8 Q
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 D4 Q  `' `% N' P, p/ t
  1501. ; http://php.net/url-rewriter.tags: _4 L& r$ I6 n- c8 y. a/ u
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( ?' H, \; B0 s
  1503. % p3 I- a; n, N+ I9 n, l! o
  1504. ; Enable upload progress tracking in $_SESSION
    $ c2 \: l' Z( e5 |: R: ^: @9 p
  1505. ; Default Value: On& ]( G" P$ ?& o: w1 m. W; B- }( N5 D- j
  1506. ; Development Value: On  T7 w  v  @2 i' Z: c
  1507. ; Production Value: On5 \+ x* i. p( J$ x
  1508. ; http://php.net/session.upload-progress.enabled
    4 Q+ r5 C) p  V" j. d( t( n
  1509. ;session.upload_progress.enabled = On6 G+ {2 V5 e" x0 Z: O

  1510. + c$ ]' K) m. t  U
  1511. ; Cleanup the progress information as soon as all POST data has been read
    , L6 H. f& X" V1 d1 f
  1512. ; (i.e. upload completed).# O$ \3 n5 Y1 g: q. @. g" {% E
  1513. ; Default Value: On
    ( s  R4 T8 F9 W) e: ]$ E2 r
  1514. ; Development Value: On
    # f+ h( W$ r9 t) X3 h
  1515. ; Production Value: On
    % P% b: N1 ?8 |1 {
  1516. ; http://php.net/session.upload-progress.cleanup( M* O1 [2 }+ C: Z5 p1 p5 f  A
  1517. ;session.upload_progress.cleanup = On
    6 r+ q% Y1 X8 [+ ^! a* \' g
  1518. ' C9 G. r/ I' O: d) c
  1519. ; A prefix used for the upload progress key in $_SESSION3 T8 `* p' t2 }1 A) x; `$ G
  1520. ; Default Value: "upload_progress_"8 C7 x! Y! d4 ?8 ~
  1521. ; Development Value: "upload_progress_"1 s. ?: m% n4 U7 c$ L
  1522. ; Production Value: "upload_progress_"
    $ n; m7 C* B8 |0 s  U6 j8 K
  1523. ; http://php.net/session.upload-progress.prefix+ s9 Z% D$ j& l) D9 f5 F$ t- H
  1524. ;session.upload_progress.prefix = "upload_progress_"/ i/ E- q& C, D! {& ]3 {

  1525. 9 Q2 U7 l& Y* H: Y
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    - b. V; h6 M& v5 x
  1527. ; containing the upload progress information
      [6 q2 z4 c5 n2 p
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 K$ q) q1 r1 A' \0 Q  @8 z+ o
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 ?( V8 o7 c5 E
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 A9 K6 R5 Y/ A: e. u& H7 V% F# W( {
  1531. ; http://php.net/session.upload-progress.name
    # F1 v0 o' {- }0 T8 a
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- T1 F' X) B$ R  Z
  1533. ; r  m5 H  E# B1 W: b; A! b3 x! E
  1534. ; How frequently the upload progress should be updated.
    . @" g$ n: d5 _/ a  S+ E4 X
  1535. ; Given either in percentages (per-file), or in bytes* v* Z! m  E7 d
  1536. ; Default Value: "1%", j& c8 A) m# d1 i/ g. m
  1537. ; Development Value: "1%"
    3 {- J: O& r7 C9 z3 m" R
  1538. ; Production Value: "1%"8 w( ]5 Z! [$ n: S5 \
  1539. ; http://php.net/session.upload-progress.freq  h0 H& S5 d; g! z2 Q# L
  1540. ;session.upload_progress.freq =  "1%"9 v& Z0 y" k" ]! I

  1541. 9 H3 V. b7 H. v6 f8 f9 Q1 I  l! v, s
  1542. ; The minimum delay between updates, in seconds
    - ^1 h6 \6 W2 T7 I+ O
  1543. ; Default Value: 1
    . H+ ^- A- i) P) S' z! \
  1544. ; Development Value: 1
    , I" {- x+ q) e6 u; L3 M5 q* r
  1545. ; Production Value: 1
    # J6 \3 w& s# k, J" ~
  1546. ; http://php.net/session.upload-progress.min-freq6 w/ `1 f. X8 C: L4 N2 V
  1547. ;session.upload_progress.min_freq = "1"
    ' S" V' S( R, R1 Q, l; E$ B
  1548. 5 h. c, s* i( `" w1 Z! @
  1549. ; Only write session data when session data is changed. Enabled by default.
    + Y7 I+ G5 c& \0 {) {% m- V1 Z
  1550. ; http://php.net/session.lazy-write
    " F$ V, E# |1 z8 ~
  1551. ;session.lazy_write = On
    , U) l+ Y* Z3 H2 F1 P

  1552. 6 @# K* z7 E% z( V% C
  1553. [Assertion]
    ' g) D( f7 z5 f% [: a- ?% d
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ' E9 c  [. C5 y# Y8 G6 g  F
  1555. ; -1: Do not compile at all
      f1 N" F6 E! G$ H. R
  1556. ;  0: Jump over assertion at run-time" _9 z: `$ t3 K5 O5 g
  1557. ;  1: Execute assertions
    9 D! j3 b/ E" c# z/ ]3 k
  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)
    : H4 M. u+ K+ w* U/ z8 K9 i
  1559. ; Default Value: 1% z1 q3 p( |; a# C7 L' l( [
  1560. ; Development Value: 1
      @. Z1 f4 S5 Q$ [$ \8 T
  1561. ; Production Value: -1
    / h# m. f/ l' x
  1562. ; http://php.net/zend.assertions& y* c& ~0 f8 i
  1563. zend.assertions = -1
    6 B! o2 M' _- I2 b9 v4 Z

  1564. 9 v% G) P) i* `0 ]0 e
  1565. ; Assert(expr); active by default.
    3 j3 Z2 x5 T/ s8 o& O/ `' g
  1566. ; http://php.net/assert.active  R. ^- h6 H& E2 r/ B
  1567. ;assert.active = On+ v. [  b1 m0 H  m2 w- @

  1568. ; n  Z/ l6 B3 c5 u8 O2 b
  1569. ; Throw an AssertationException on failed assertions
    + b/ k* j& H+ f) [8 ~- b/ C! ]
  1570. ; http://php.net/assert.exception) q. w! z1 W, L  b
  1571. ;assert.exception = On
    ; \/ o+ R: O+ U% l4 o

  1572. $ F( V  |/ T3 v
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)& E8 Q' ^$ a) g* k
  1574. ; http://php.net/assert.warning
    ) o4 F+ R7 O3 W! W* m0 W! M
  1575. ;assert.warning = On
    , b! z3 z0 N' F  s* b

  1576. " C9 u- m  d4 \; E" }" c
  1577. ; Don't bail out by default.$ f$ d2 L& G) y% H* a
  1578. ; http://php.net/assert.bail
    1 v2 c; }- E1 R9 G
  1579. ;assert.bail = Off5 z# U* [9 {: A
  1580. . E& j/ V  E- @3 D" |( G7 f  ]
  1581. ; User-function to be called if an assertion fails.; e% {  s- E6 ?0 F1 z" N
  1582. ; http://php.net/assert.callback
    . X  t, `) H3 P/ k$ v/ a+ E
  1583. ;assert.callback = 0/ a+ g% x) i/ Q) |3 u

  1584.   }* Y! g" ^; u: q4 Z) J1 I7 X
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    8 m8 @9 C2 X. c( K! w  N
  1586. ; error_reporting(0) around the eval().2 F- b) C+ Y9 k5 ~
  1587. ; http://php.net/assert.quiet-eval! ^& k# t1 y0 X5 ]/ [
  1588. ;assert.quiet_eval = 0! C% g. J$ u) u0 }# x6 H
  1589. % l, h, G: d' I, a
  1590. [COM]0 k; a; M" S# C8 e) M
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; I2 p3 _/ c4 Y) i2 ^
  1592. ; http://php.net/com.typelib-file- M5 Q1 j4 d( b. \3 D8 H
  1593. ;com.typelib_file =0 _5 X# |2 t! Y! R0 S( E6 m' c

  1594. 6 `0 n" `4 u4 {- ~6 ^, x
  1595. ; allow Distributed-COM calls) R- j" f* C& |" I
  1596. ; http://php.net/com.allow-dcom
    % r7 b+ g' x+ v- ~" [* f& S+ z, V! F
  1597. ;com.allow_dcom = true
    6 f) V4 C! s6 {  I6 v
  1598. - |: O5 G! t' `" [2 ?/ }
  1599. ; autoregister constants of a components typlib on com_load()
    # m: Q# N2 b" D( n) Z7 P
  1600. ; http://php.net/com.autoregister-typelib  o- M, `$ t* o# q
  1601. ;com.autoregister_typelib = true
    $ Q  y1 A+ E' z& P$ t
  1602. 2 _. t' n- A+ j2 O- f# T
  1603. ; register constants casesensitive
    & e6 [8 w" H; n) t, R
  1604. ; http://php.net/com.autoregister-casesensitive% N# Q9 W* e) T* P5 r  @5 G' z9 h3 a
  1605. ;com.autoregister_casesensitive = false
    / R2 P4 U5 X4 a; F: b+ ?

  1606. # R( K6 g1 y+ M: k
  1607. ; show warnings on duplicate constant registrations$ J) @; _' ]$ e( C7 `. O4 f, J& h
  1608. ; http://php.net/com.autoregister-verbose' n: [4 @1 ?& r% {; `1 A
  1609. ;com.autoregister_verbose = true4 k4 n7 j! e, q/ k/ d4 i3 X

  1610. % D: X6 j) A$ [' }6 T3 m7 L  F
  1611. ; The default character set code-page to use when passing strings to and from COM objects.! v( Y  L  B/ t0 \) ]
  1612. ; Default: system ANSI code page& X6 o# Z) f$ [+ q) b7 D8 c/ A
  1613. ;com.code_page=
    ! Y6 u& V' M; a  @5 v  m" g- G4 |

  1614. ' Z; \5 ~( \- v' |
  1615. [mbstring]
    / w! Q+ _# L. ~1 V" _6 H; u; e' K  V
  1616. ; language for internal character representation.
    9 ?+ l8 W+ ^% A- g4 z+ T" y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ! |, c0 O1 Z: ]* g1 E
  1618. ; http://php.net/mbstring.language( I* h' z9 ~, D+ T' E2 _
  1619. ;mbstring.language = Japanese1 u  Y8 Q4 S+ I) X& T' m

  1620. 5 \& U% S; j" Y0 X) e
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + @: ~9 ^! M& {; g3 y0 `# x
  1622. ; internal/script encoding., J* m! o7 \* r( U$ F0 l
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ p0 u) g* T0 ?! \
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) ], F1 R( {$ x* A: N
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. m8 Z* ~4 w' @  z- z6 y+ o
  1626. ;mbstring.internal_encoding =
    ' E6 r4 Q2 U- ]0 _8 Q
  1627.   q1 i1 q1 R+ L2 q  H1 s! s4 A6 e
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* d0 e8 G6 q& R) o9 w* t
  1629. ; http input encoding./ `1 [, s) K( K: f# }. y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    " f( J/ O# S: J% ~8 W
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.& v' q% h4 g) w4 o0 T% B
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input/ u: a7 `* f; h7 T
  1633. ; http://php.net/mbstring.http-input
    ) L, _9 Q. S$ L# B
  1634. ;mbstring.http_input =; d, {3 c) r4 G

  1635. + m, N, q) |) M: H( v/ D. v
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.* ]* T1 U; D4 R* V9 S* ?
  1637. ; http output encoding.0 N; R$ g0 f8 r8 B3 r; ~1 }
  1638. ; mb_output_handler must be registered as output buffer to function.1 w' W' R/ S7 V
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # @- w% `( H# z5 r
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & T! C. J% f1 c3 M! A3 ]
  1641. ; To use an output encoding conversion, mbstring's output handler must be set8 L" u) S4 v6 M1 b
  1642. ; otherwise output encoding conversion cannot be performed.
    % \9 i; Q- \9 F; q  @
  1643. ; http://php.net/mbstring.http-output, x1 A; q4 d" `
  1644. ;mbstring.http_output =
    - [" S6 ~# N. Q/ z9 }

  1645. ) I* _+ @/ M6 P6 _2 i
  1646. ; enable automatic encoding translation according to
    " z6 G4 v% V. S
  1647. ; mbstring.internal_encoding setting. Input chars are
    & t3 G- X; }& I6 u. w; s2 s
  1648. ; converted to internal encoding by setting this to On.$ q. m$ N# V% s( f# [! R/ @9 s0 w
  1649. ; Note: Do _not_ use automatic encoding translation for
    ! v. q0 O; G- l6 o) o* D6 u
  1650. ;       portable libs/applications.
    / m; W$ `8 G. `4 e. I4 M7 {. C
  1651. ; http://php.net/mbstring.encoding-translation
    4 I: Q! c$ b5 G# ~4 |% z$ ~8 W/ |
  1652. ;mbstring.encoding_translation = Off
    3 F& E" c) H- ~: \1 H0 I9 v

  1653. ; B2 q% u0 h9 p6 B# x3 s8 u7 M
  1654. ; automatic encoding detection order.
    3 r) o+ \2 M: t. f4 C
  1655. ; "auto" detect order is changed according to mbstring.language8 \! @; C, P& }! o
  1656. ; http://php.net/mbstring.detect-order
    - ~7 J, L0 C# k) v* X
  1657. ;mbstring.detect_order = auto
    - r& b% S" m6 @3 l9 n

  1658. ) p4 C# h+ z+ d& e# a) g0 L; p
  1659. ; substitute_character used when character cannot be converted- r  I$ D* X/ K! F- d4 e. a, X
  1660. ; one from another
    # j6 a9 Y7 X5 ]% |- ]" y
  1661. ; http://php.net/mbstring.substitute-character1 R+ `# R. C- C# ^& l4 d
  1662. ;mbstring.substitute_character = none0 n  \. P2 _# \9 o
  1663. 4 e  c. q1 C5 ~( _9 L1 f5 o
  1664. ; overload(replace) single byte functions by mbstring functions.
    / D9 J& |. X# k: `) G
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- \# @; }2 c+ r, I" v" p) P
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    - M0 @8 P& s% c. x: U. a9 m9 J; N
  1667. ; For example, 7 for overload everything.5 u0 P0 f: c8 s
  1668. ; 0: No overload5 E! O+ N5 N( n4 p' W0 t. b, A1 v* F
  1669. ; 1: Overload mail() function/ T& F" ~: Y6 o0 ^6 N; V" A
  1670. ; 2: Overload str*() functions( h$ L! X9 n! L$ w: U' w# K
  1671. ; 4: Overload ereg*() functions
    . S7 P) c; h" P# _* k/ U
  1672. ; http://php.net/mbstring.func-overload
    ; E& b- s! u$ z, `
  1673. ;mbstring.func_overload = 0+ Y$ N$ R9 z5 k- c: O
  1674. 5 X  a0 \# M% I* i0 d% P0 \- G# ?
  1675. ; enable strict encoding detection.
    8 P5 K9 c) @* w* _" S4 _
  1676. ; Default: Off9 @& K9 ~, }+ G
  1677. ;mbstring.strict_detection = On4 Y* K: `2 |, v7 ]0 m  |

  1678.   @" `1 l' ~3 {) Y& k8 |- c$ D# _
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 L# h0 G" m. f: l$ [5 P
  1680. ; is activated.
    ) W1 ]0 v0 D/ `
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    5 R  [% ^  G. V: l7 X& n$ H
  1682. ;mbstring.http_output_conv_mimetype=# T% X- i0 p( S

  1683. * D! y  m" o: m) k+ D0 k
  1684. [gd]
    . |" J  k8 i# F# M9 ^- D7 r
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    + Q' \1 e# Y' G+ J, a' ?
  1686. ; a gd image. The warning will then be displayed as notices& L3 B- o2 Z% \0 h" K# ^3 m
  1687. ; disabled by default
    % \: b9 B  {6 h9 e, i! |& ?
  1688. ; http://php.net/gd.jpeg-ignore-warning, ^8 `& C. n8 ^6 e6 p1 ^
  1689. ;gd.jpeg_ignore_warning = 0
    + j& X' W3 r/ X3 X* U6 N

  1690. ) M9 F5 C2 c% s, E4 D% N- A6 ^
  1691. [exif]2 h8 A" r, B5 M# ^4 i6 g9 i. e
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    % x5 I1 X, E' K  |8 X+ v
  1693. ; With mbstring support this will automatically be converted into the encoding
    2 Q( D, w$ D, P4 W0 A, n4 T
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding) {- x# r9 }+ L2 D
  1695. ; is used. For the decode settings you can distinguish between motorola and, w: x8 G+ h8 R
  1696. ; intel byte order. A decode setting cannot be empty.
    % l. l3 ?! C8 b2 L5 c
  1697. ; http://php.net/exif.encode-unicode5 }6 E1 `1 e7 E+ |( y% w+ r; |
  1698. ;exif.encode_unicode = ISO-8859-150 s% e4 D" i/ x+ C
  1699. ; ]$ C1 @. `7 |2 Y
  1700. ; http://php.net/exif.decode-unicode-motorola
    + U3 D- B( G7 V* R0 d& S6 C
  1701. ;exif.decode_unicode_motorola = UCS-2BE  [0 [: v) f- D7 M( h
  1702. ! h9 U2 s, G7 n% U
  1703. ; http://php.net/exif.decode-unicode-intel
    0 v9 b8 D  d5 t, L; [0 ]  O( v% k6 l5 c
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ {8 C2 o0 u% _7 ]6 k  t
  1705. + \1 O( q) _- E
  1706. ; http://php.net/exif.encode-jis9 W; O/ I8 E4 M8 Z1 j( x
  1707. ;exif.encode_jis =
    6 Z& V  M4 P: W# {$ U
  1708. 9 d  Y% c) N$ `2 j' t. m
  1709. ; http://php.net/exif.decode-jis-motorola
    - r: U  v; U* ~! R2 R- e
  1710. ;exif.decode_jis_motorola = JIS
    0 x8 ]: t; ~+ o1 C6 E

  1711. ; v7 L$ r6 ?: B, z) J1 T9 Q; J2 R
  1712. ; http://php.net/exif.decode-jis-intel
    & j2 E. Z% ^6 y  ~( n4 f/ j
  1713. ;exif.decode_jis_intel    = JIS! Y) h" _: [/ {; i7 y/ U) D

  1714. 1 b* K% H6 `1 V: t
  1715. [Tidy]# J4 v" T2 y/ K$ A) k) I8 D- f, ^
  1716. ; The path to a default tidy configuration file to use when using tidy
    ! @3 b1 n4 O$ t2 B4 Q, Q
  1717. ; http://php.net/tidy.default-config
    4 O% V6 j: p9 ~( A$ ]/ W$ M
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg( W) a- K5 s9 ?" M" X
  1719. # d( [7 {" ~8 B* m5 S; H
  1720. ; Should tidy clean and repair output automatically?1 [* O2 {$ E6 H0 @3 x& \; k
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # y0 r, q2 S8 J) r4 x9 ~* N
  1722. ; such as dynamic images$ j$ b: W# [, U1 @
  1723. ; http://php.net/tidy.clean-output2 d0 [) _: t7 C& `
  1724. tidy.clean_output = Off- G' U& r& s, l6 O* r. f) F9 b  W/ ?
  1725. ) `$ s  J( j# G2 m% \1 w
  1726. [soap]
    , Q. }$ H+ u+ o' K1 Y8 d
  1727. ; Enables or disables WSDL caching feature.
    5 B4 O  I' O. T" w3 e
  1728. ; http://php.net/soap.wsdl-cache-enabled- n) R4 H7 z: ?" U* u) L/ \
  1729. soap.wsdl_cache_enabled=11 d' d' |9 o7 g* \  v' p

  1730. " X$ d' J1 ~4 N% g
  1731. ; Sets the directory name where SOAP extension will put cache files.7 P$ m" `7 T6 x" T5 _5 c. K7 w
  1732. ; http://php.net/soap.wsdl-cache-dir
    2 L, _) n6 ~/ q1 K! {8 F4 r' f/ H
  1733. soap.wsdl_cache_dir="/tmp"- B: u/ a- s7 @: [1 W8 Q' l$ X

  1734. : B8 X, v* E6 L* e7 |) y& J
  1735. ; (time to live) Sets the number of second while cached file will be used0 S- z7 K& ?% H* i5 [& v  j: m
  1736. ; instead of original one.
    7 l% E4 s3 x, w" C$ ~) |
  1737. ; http://php.net/soap.wsdl-cache-ttl  k' V' D7 i6 s
  1738. soap.wsdl_cache_ttl=86400
    , @9 U4 u. `' `+ ^& R1 x/ e& s

  1739. ) v6 Q/ p7 p1 ~' ]) R) }
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& B5 q" t( x! p! Q7 M, |. A
  1741. soap.wsdl_cache_limit = 5
    # ]. k( u- S$ J# f- ?
  1742. & ~- ~: C7 O4 Y
  1743. [sysvshm]
    - S" G, b4 s" K
  1744. ; A default size of the shared memory segment
    ; B2 j$ q$ C! Q0 L& U# D
  1745. ;sysvshm.init_mem = 10000+ O7 w9 ?1 _( Z: l4 w2 X5 ~

  1746. ! M; ?3 m' |. `2 s/ l7 o; Z% g
  1747. [ldap]
    ; Q2 p" A: w% ^4 o6 E
  1748. ; Sets the maximum number of open links or -1 for unlimited.* E- q6 B2 q- X; H
  1749. ldap.max_links = -1( ?1 {- F: G2 U$ u, k7 _( W# ^

  1750. 8 G  s9 a% N7 {; S
  1751. [mcrypt]
    * W" u( B  N* T* ]! Z9 V9 F
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 ]$ U" z! X: H0 y9 f4 T! {
  1753. ' B& k* _; E( H- }, t8 {  F1 t
  1754. ; Directory where to load mcrypt algorithms9 C# f0 C; G/ V$ n6 Q' V
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) Q# V7 h2 Q7 j' x7 ~
  1756. ;mcrypt.algorithms_dir=
    + T! B. K' v+ R( n+ C
  1757. ( M8 h0 {/ M( \
  1758. ; Directory where to load mcrypt modes3 ~, P) B: a4 {8 _" B' d9 a0 l
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 N7 H. b6 I2 _; ~& T' q& \( z1 z
  1760. ;mcrypt.modes_dir=" V1 V; j! V! B& ^

  1761. 5 `/ n7 P, j0 O
  1762. [dba]$ \* |, L) a6 K
  1763. ;dba.default_handler=- {! U# C4 d" E5 ?' b% {

  1764. : K. B0 P, n! l0 M$ C/ ?& P
  1765. [opcache]
    7 c5 C) _0 ~. K
  1766. ; Determines if Zend OPCache is enabled+ k' i/ U  ^5 a, D
  1767. ;opcache.enable=0
    . c4 v, |5 ~6 c/ n: o. C
  1768. & l% ^' G) V# t% j  G
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 \! R4 C3 ]' ~# d, X2 X: x8 K
  1770. ;opcache.enable_cli=0
    9 ^+ @8 m: A8 y

  1771. / P1 b+ C6 I; `
  1772. ; The OPcache shared memory storage size.
    2 Q+ r! j" ?/ e6 K. z4 q) G# @' n: F
  1773. ;opcache.memory_consumption=64
    0 e5 G) y4 i% G; p

  1774. 0 T; U+ Y6 \! `% y
  1775. ; The amount of memory for interned strings in Mbytes." m  w9 @- I- j& |
  1776. ;opcache.interned_strings_buffer=4
    9 X; l! I# Q. @
  1777. * @4 f4 C* L% K7 q
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    2 i5 I$ _6 H6 l6 P/ {! `! }
  1779. ; Only numbers between 200 and 1000000 are allowed.
    + l2 X2 X& o; Q2 Y9 m: i& U
  1780. ;opcache.max_accelerated_files=2000# B( a7 H/ f* a5 s2 U' K9 y
  1781. , g0 _  c, V% M, p8 Q) E
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.$ ~3 }/ j, Y: {! J- t6 N
  1783. ;opcache.max_wasted_percentage=5
    7 j& i; J! v7 D! D# L8 z6 c6 M. I
  1784. 7 F! W) u1 O' Q
  1785. ; When this directive is enabled, the OPcache appends the current working4 y# M& _3 j- I- L; x, d
  1786. ; directory to the script key, thus eliminating possible collisions between+ F  {" O0 Y+ ^1 N1 I$ |7 i; {
  1787. ; files with the same name (basename). Disabling the directive improves. |, k  K' y8 h: g
  1788. ; performance, but may break existing applications.
    & L/ v" A* j/ ~! v
  1789. ;opcache.use_cwd=19 w  h1 A& Z4 S9 {" L% Y* p
  1790. , \* V1 N! W' L1 ~! G
  1791. ; When disabled, you must reset the OPcache manually or restart the, o1 d" m! I# b( L. K% c
  1792. ; webserver for changes to the filesystem to take effect.
      I- o2 M; x0 Q/ ^, I
  1793. ;opcache.validate_timestamps=1) u5 D8 Q) H( o' h% G
  1794. 9 [# i6 i# P3 Z' F# r
  1795. ; How often (in seconds) to check file timestamps for changes to the shared8 p( B- \3 Q6 P) a8 P$ r
  1796. ; memory storage allocation. ("1" means validate once per second, but only$ g+ C0 ]. C# \& r
  1797. ; once per request. "0" means always validate)8 y+ W* ]! l8 D6 [  d0 k( }  B
  1798. ;opcache.revalidate_freq=2
    + Z# ]1 J% f& L* `0 F) Y0 n
  1799. - X* t( b  U* \
  1800. ; Enables or disables file search in include_path optimization* D- V4 |( `- y
  1801. ;opcache.revalidate_path=0
    ) Q- i# ~) Y6 k3 {5 ^
  1802. 5 s+ {3 F- q" B5 i5 j
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the$ t4 w: q, n: s% o% _: c
  1804. ; size of the optimized code.' {. ]' C- g2 W) \" ^  H
  1805. ;opcache.save_comments=1
    ' w9 B3 ?/ a; D1 _9 \, y0 [& E+ J
  1806. . Z) B2 z' l. i" G) f* M6 x1 i
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code/ t0 s* K6 K5 o9 X: D
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 u0 E. W5 S/ Q/ e6 a* E2 S$ F
  1809. ;opcache.fast_shutdown=01 I0 z$ T1 _  v& t1 b5 l1 L  N7 |
  1810. 9 l2 j$ U0 i# T
  1811. ; Allow file existence override (file_exists, etc.) performance feature.( ?& y! ~, N8 H" s1 m
  1812. ;opcache.enable_file_override=02 ~4 o1 c$ T5 N8 H3 F' R) I# [

  1813. - P( ?' @5 `3 u! o, \' E) \
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ P2 i/ ~0 q5 v* ?# h! n2 `
  1815. ; passes
    9 ^9 V5 X# l9 ]' e, t. q
  1816. ;opcache.optimization_level=0xffffffff
    2 {* j# f2 ]4 v) C! |
  1817. 1 ]0 x2 I3 F1 K
  1818. ;opcache.inherited_hack=1' r- w2 O9 r+ V, W
  1819. ;opcache.dups_fix=0. ~2 F, s, c4 l5 z. ?& H: h' }. \
  1820. $ S4 ~; j2 @- [6 _0 }/ W4 I! m
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 u& `* z0 L$ g# a% s
  1822. ; Each OPcache blacklist file is a text file that holds the names of files; S( r+ V4 c2 Z  H3 |
  1823. ; that should not be accelerated. The file format is to add each filename
    : Q3 U8 ?, _& B0 k1 ]* E
  1824. ; to a new line. The filename may be a full path or just a file prefix; x) o' I$ _! w( p; m( C
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 l# A0 H1 S+ p7 N3 j& h$ Y5 k1 r
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).0 ?# K1 N; Z. G" `2 s. p! x: E
  1827. ;opcache.blacklist_filename=
    9 y: C7 M$ }" `
  1828. * l8 l1 q! F+ E" u7 A$ v8 u' v
  1829. ; Allows exclusion of large files from being cached. By default all files
    / {' }; h3 M$ J4 u% N! |" J
  1830. ; are cached.
    , k" ~/ W3 M5 G7 I% j
  1831. ;opcache.max_file_size=09 S. A. r% _2 W& h) k9 k. v, V
  1832. * Q" ~5 I0 d5 D/ {
  1833. ; Check the cache checksum each N requests.  h3 l; w0 |! q6 F  o
  1834. ; The default value of "0" means that the checks are disabled.5 K' q, L, n, V# y. S- V7 z
  1835. ;opcache.consistency_checks=0
    - Y' O+ g# J# }6 l

  1836. " @- c! D2 v2 C. V% G5 M
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- Y& M+ ]: J; Q+ s( {
  1838. ; is not being accessed.) M" z% H2 \3 y+ Y" x$ u' |
  1839. ;opcache.force_restart_timeout=180
    ( N  R5 n( c0 E# y: n: i# k5 c
  1840. % p5 x& ]8 G: ]9 v$ N9 A5 P
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ) O' Q# |0 n. L
  1842. ;opcache.error_log=
    0 B0 C% r% K6 r  D. `
  1843.   L# x4 F6 w, [6 ~' k
  1844. ; All OPcache errors go to the Web server log.. `4 M' W. H% V0 [( o; U
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 _# C: Y3 c3 }8 U6 M$ U$ c
  1846. ; You can also enable warnings (level 2), info messages (level 3) or* v8 M% M. t: Z& b/ }
  1847. ; debug messages (level 4).$ Q5 x7 K; f* T: f; T5 O( k! n: k* T* L
  1848. ;opcache.log_verbosity_level=1$ S, }3 l1 T" b" _5 w" p

  1849. ! T/ i: t" W" ^5 s* T, E
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.; |1 f; [# ~9 M' s
  1851. ;opcache.preferred_memory_model=9 H* n9 Q2 X. z* }0 j2 T3 K3 z

  1852. 1 N" |% o! m1 x6 C% Y, a
  1853. ; Protect the shared memory from unexpected writing during script execution.7 k4 O$ t6 m- J; v, x
  1854. ; Useful for internal debugging only.
    # U; W" U1 H1 M! Z" R
  1855. ;opcache.protect_memory=0; c: N8 ^3 `( S2 B+ T

  1856. 8 S$ C! K5 x3 a% l) p
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 m/ s7 Q7 G0 ^
  1858. ; started from specified string. The default "" means no restriction
    % w6 }1 j5 {  q0 g# c+ K& D
  1859. ;opcache.restrict_api=
    3 G1 Y' ^4 ^0 n& X% s: U- X; J4 \

  1860. : j" c6 t; E5 o% \5 v# F+ ?6 X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    # I9 T0 V* M, j+ F% H
  1862. ; processes have to map shared memory into the same address space. This
    3 f/ ]# Q! q; b3 f
  1863. ; directive allows to manually fix the "Unable to reattach to base address"3 q. x$ l1 h8 Q* ]* o" r% l& W0 S) d
  1864. ; errors.
    5 S; Y6 j2 L' T! t" _0 I+ o
  1865. ;opcache.mmap_base=5 i  _+ H0 n2 `% ^5 n( J" C
  1866. ( x, j1 s+ M  Q; F- h
  1867. ; Enables and sets the second level cache directory.
    8 w# K4 b/ R/ P
  1868. ; It should improve performance when SHM memory is full, at server restart or! ^8 s  u! ]* @3 d; F
  1869. ; SHM reset. The default "" disables file based caching.2 ~: x9 Y7 v1 i, ^6 W2 q
  1870. ;opcache.file_cache=; o3 j' n9 _2 N! Z& Z

  1871. : y6 p: r, V' G) [9 j
  1872. ; Enables or disables opcode caching in shared memory.
    ; d4 X+ [! q7 G: W# a0 b& U( a7 Z( b% w. ~
  1873. ;opcache.file_cache_only=02 Q/ }1 E  G5 y( G

  1874. % V9 _# k* w( j' b
  1875. ; Enables or disables checksum validation when script loaded from file cache.3 J$ _+ I$ M% ^* f) a
  1876. ;opcache.file_cache_consistency_checks=1
    6 s; u# T8 ^, @" T" @
  1877. 6 {3 J! ~$ @+ h
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to4 z" J% S* m$ s. }6 L  j* `1 i$ T
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" v5 V0 `" ^4 B: h! l; z: ]
  1880. ; cache is required.' H3 B) H: q) s% z4 Y
  1881. ;opcache.file_cache_fallback=1
    . R/ `# G3 H# `. Z: g
  1882. ; F3 y* D' i# |2 f" K
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.2 U) A% ^5 c! s6 b8 I
  1884. ; This should improve performance, but requires appropriate OS configuration.# J+ ^5 j5 s, g" ?% i3 y  ?; v
  1885. ;opcache.huge_code_pages=1, C; D5 X0 @4 A2 E5 x/ F% Q

  1886.   {  ?6 e" ?6 ]) n2 y
  1887. ; Validate cached file permissions.
      b1 N6 Y! Y% e- |
  1888. ; opcache.validate_permission=0
    0 W8 T7 U/ j; k( f% z; F, Z

  1889. . t# p6 q. G3 P- d% _. ^. w/ I0 X
  1890. ; Prevent name collisions in chroot'ed environment.
    1 ~9 i' |) d0 y% [1 }& d( v" D
  1891. ; opcache.validate_root=0
    ' B/ j$ p" U6 k9 c) Q# N
  1892. ( u# ]+ _: a8 ^  W! \7 l- b! ~! U
  1893. [curl]
    9 S, A1 g1 [; `, M3 ?! B$ Q5 a' T8 [0 n
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; Y# F% F2 P6 p8 w1 c0 R4 b  `; [7 x
  1895. ; absolute path.3 b6 O2 j: E# K6 E) J
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    2 ]( u' {4 W, o' a) H

  1897. 5 `, W! C) }1 G! g
  1898. [openssl]! K6 }; @& J/ N+ X3 I( p
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; r, w, E' |  a6 s
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should# @: _; m5 ?1 M7 z% r
  1901. ; not specify a value for this directive as PHP will attempt to use the9 E) a6 q; _# ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still: s( [6 w/ T( k5 U: w" ~" b3 P3 `
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    $ g: o  ]0 a  U- M" s
  1904. ; option.
    9 j! Z5 x+ p4 q5 v
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt" l. D" j& w9 D
  1906. 7 Q* i& m: W  l3 |, x
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the2 q$ W6 [9 C5 l' i  s; T& [
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    0 t$ T1 G  v8 C1 ~: n
  1909. ; certificate. This value must be a correctly hashed certificate directory.8 e+ D( N: D5 [% t
  1910. ; Most users should not specify a value for this directive as PHP will7 H" A9 C& ?: d6 V# ^# w( k
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,# P) d! t$ ?& ?  v1 \' I4 h
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & s6 v* U* n$ m* R# o
  1913. ; SSL stream context option./ v4 K& @8 S: I# R2 ]* A
  1914. ;openssl.capath=0 P" H- ~) ~3 a7 n( Z- o: Q

  1915. ' ~2 l/ V" x$ o% g4 P
  1916. ; Local Variables:
    . k0 P. P/ H2 i8 E  ^, a
  1917. ; tab-width: 4; W2 u( h# o0 d/ Q1 [8 E
  1918. ; End:
    ) J5 `! O# F  K! W" M' r& |" h' M

  1919. $ k) J+ K1 W1 R
  1920. ;eaccelerator5 K' a  P1 e+ J9 J; k: R: ~3 P
  1921. 4 r; p8 ?% g& B3 ]$ D, U4 Z
  1922. ;ionCube+ D' I  ^; ?  J5 l
  1923. , a1 t" B9 r. @. t) C
  1924. ;opcache7 D- S! L6 @# w! i1 H  p

  1925. ) D0 M0 S: M: d6 _$ V
  1926. [Zend ZendGuard Loader]
    1 A( I, I4 m+ f& M6 _$ |( {
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    5 a2 @  o0 w( {7 u; w. l
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    , r1 f0 V/ g) T  d9 Q% a0 z: v/ V/ Q5 \
  1929. ;zend_loader.enable=10 L1 G7 u0 x3 U) l. F" I
  1930. ;zend_loader.disable_licensing=08 g$ z3 {/ x8 h; F& Z
  1931. ;zend_loader.obfuscation_level_support=3
    # S& i5 J, E: P1 j; q8 `) E
  1932. ;zend_loader.license_path=/ {6 }+ S7 ^4 b4 F% z' i

  1933. 2 I7 \8 p" H1 F* X% \/ R" Q" t
  1934. ;xcache
    ' U  b# T3 X$ s- n9 n/ d

  1935. ; G6 B$ a/ ?0 o7 L: S
复制代码

; F  t9 ?8 Q$ A3 ?7 @5 `, ~" s$ F6 a, w: U5 E5 x$ k5 N

8 y, t5 x4 `! N1 V; N$ H$ w3 ~9 ^3 Z% \# }* b4 |1 |% q

& y3 B) L" z2 z' K9 D% C7 p) l' B$ a+ r' _% i

0 `# G% R. ~" `; c+ N4 EPHP5.6版本原始设置
& K8 w6 [6 z' }& q  e9 w! ~9 J
: T+ F4 R/ s  c7 `; g9 B6 d" O6 X
  1. [PHP]
    - o4 u7 o' \% J6 {( ^, Z

  2. 4 K. D6 R5 n& Z# S9 y6 i9 Z! e2 a
  3. ;;;;;;;;;;;;;;;;;;;. B- w( k3 h2 n- J0 t9 Z6 Z
  4. ; About php.ini   ;
    0 i, h- ~- M  N" \( s
  5. ;;;;;;;;;;;;;;;;;;;
    4 d9 f1 x) o; ^. J8 ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    " a% h  U7 ?5 A$ l( n
  7. ; configuring many of the aspects of PHP's behavior.
    ( q, \: [/ {3 y% R+ [  R; [

  8. . m: u0 q) A" {8 ^+ M
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; N  e- s4 q5 X( X  w
  10. ; The following is a summary of its search order:
    : s& n! d+ @$ _8 K7 u
  11. ; 1. SAPI module specific location.3 c3 q. g2 ^! L/ ^: @. V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 \. |8 ~1 K3 V) ^8 ^2 w% a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) b6 f4 G8 a* u" P
  14. ; 4. Current working directory (except CLI)
    ) K. R9 u4 n* m3 ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 b& i$ _2 h- {2 o  v8 M- F
  16. ; (otherwise in Windows)5 L3 v$ \% {. T" U' l2 D
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # k, c3 h* h0 ~0 l$ T
  18. ; Windows directory (C:\windows or C:\winnt)
    / o4 q4 m' ?; x2 f* u. |
  19. ; See the PHP docs for more specific information.
    " F) c6 C1 [3 D) n4 }" _' |5 y9 `
  20. ; http://php.net/configuration.file
    + q; c/ {# N4 \

  21. ; \2 M% L* c1 t6 c3 w8 d
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( m# b( S/ X2 b! L5 p, z* }" N  q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 f3 Z9 G1 x5 M6 T! U: f5 L4 y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though7 S  M+ U; L" x% i% A
  25. ; they might mean something in the future.  q  i, F7 s, Q6 R$ b( V1 _, k- P
  26. & t6 J: |3 z' ^+ i" A9 z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    . e& T# u" O7 k" u: M
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 W( g# s& F* B" J! J$ C& }
  29. ; following the section heading [HOST=www.example.com] only apply to: A2 S1 J8 n5 j* ]* }$ L6 P! S4 S" N
  30. ; PHP files served from www.example.com.  Directives set in these+ x5 `/ c2 @5 B
  31. ; special sections cannot be overridden by user-defined INI files or
    , Q9 U. H/ X* f  {* l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 Z5 ~! I; |) e! A8 [
  33. ; CGI/FastCGI.
    / ?( @' ]2 x7 y5 y7 \+ k
  34. ; http://php.net/ini.sections
    1 i& f  d0 t4 x- T! l; M
  35. % O; c* f0 V7 }; t9 z4 f
  36. ; Directives are specified using the following syntax:
    ; C6 \/ g% k6 }9 Y  {# U
  37. ; directive = value. w3 x5 ]7 c* ]. y+ G9 D* i+ ?! ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' U% I) x0 t# ^$ d+ y# E
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( L5 W- v6 L# Z7 @, `- m* b* A) i
  40. ; There is no name validation.  If PHP can't find an expected
    1 w; [0 i' U: H9 W4 T
  41. ; directive because it is not set or is mistyped, a default value will be used.  s, t) z$ b0 S1 v4 o3 v' d

  42. ' v' M2 L. v/ X7 v4 w8 D  H- B" B
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    & F. Q, Q; k* u( h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    : {8 F. Q- I+ d9 `( r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ) c+ v% m$ M: D1 V, x' e
  46. ; previously set variable or directive (e.g. ${foo})
    4 J! d8 t" q. a6 X. X6 X. w
  47. 9 s: N( `  e" Z- f* Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 }/ f6 E, N% ^7 y. j( }( W
  49. ; |  bitwise OR/ _* ?2 @) U5 {6 M
  50. ; ^  bitwise XOR
      u4 \. [' S, Y
  51. ; &  bitwise AND
    . S3 j* d! @' y  B& z1 c, s' N
  52. ; ~  bitwise NOT
    ( [# Y* Y( b; h7 K" ~! g
  53. ; !  boolean NOT
    ' ^" p6 Y8 l+ v; v/ a( F! `1 @$ P

  54. 8 D; ?- `- A, D, h% O3 s( g+ _
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      z4 w7 h6 @* s3 ?  L$ h- |
  56. ; They can be turned off using the values 0, Off, False or No.
    ' O- i1 x2 P4 T8 \/ w4 v
  57. / |; R/ f) ^6 g6 ^& R
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ k* `  s7 _6 c; l# H8 k* \" r
  59. ; sign, or by using the None keyword:
    # {2 P" r+ K8 o; }9 w8 x. s3 w
  60. & k; V% P0 Y/ Z1 q$ O( N5 U* n
  61. ;  foo =         ; sets foo to an empty string
    7 F5 e6 W/ K& g- G: H5 b
  62. ;  foo = None    ; sets foo to an empty string
    # k  ]' H$ t. M& K+ V) J8 z0 t, w
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % V; N5 D* a) i! \; B0 w! a/ i
  64. / c8 [9 X! R) J( c4 o
  65. ; If you use constants in your value, and these constants belong to a: n' P+ |* h7 @# K+ |2 o& w$ \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 t. P& o) I  ~" i8 Z! t6 L1 |
  67. ; you may only use these constants *after* the line that loads the extension.
    & P' p8 U) z- ~/ x

  68. 8 {0 n3 g0 ]7 q3 T0 L
  69. ;;;;;;;;;;;;;;;;;;;
    3 f$ f& l4 N! ^7 g
  70. ; About this file ;
    ! N8 ?4 U' i- a% h' F- N( @
  71. ;;;;;;;;;;;;;;;;;;;7 ~/ [- O9 v- G# m' [+ v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 K' p* M1 A$ T! }
  73. ; in production environments and one that is recommended to be used in
    : s* f5 l' C5 c; W
  74. ; development environments.
    " [9 R% G5 p, Q. |6 _3 j* ~+ ~

  75. 3 q' j! P( e8 ]# f
  76. ; php.ini-production contains settings which hold security, performance and
    + M0 x4 x  n# E$ E$ r+ d
  77. ; best practices at its core. But please be aware, these settings may break: O- ]( Q- J' j& S- L
  78. ; compatibility with older or less security conscience applications. We
    ; y, j4 @" S  D$ n4 W, `; b
  79. ; recommending using the production ini in production and testing environments.- b0 f+ U9 y' f6 _
  80. " q- U- P# y; _, a
  81. ; php.ini-development is very similar to its production variant, except it is
    3 r2 P' U3 `8 d% E
  82. ; much more verbose when it comes to errors. We recommend using the
    6 I% Z7 p5 P0 I" \4 g' [
  83. ; development version only in development environments, as errors shown to
    / s) i2 y, L! P$ e. H
  84. ; application users can inadvertently leak otherwise secure information.5 s4 A5 g2 x5 p% J: p

  85.   K" R. l2 ?5 y1 C1 t
  86. ; This is php.ini-production INI file., W: v$ [" e. P& ~4 a
  87. : r/ T2 K" L1 I  H/ h
  88. ;;;;;;;;;;;;;;;;;;;
    . o' l  X6 Y0 e4 c$ c0 _
  89. ; Quick Reference ;0 a) B0 U8 k* x7 Z6 [2 A! Y
  90. ;;;;;;;;;;;;;;;;;;;( G% H6 y# o6 r- _
  91. ; The following are all the settings which are different in either the production
    : t! j9 P! l0 e$ G8 i, p
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . ~/ S8 w% b9 k- \
  93. ; Please see the actual settings later in the document for more details as to why' F7 i% P( [9 t' \# d
  94. ; we recommend these changes in PHP's behavior., F. w2 O$ U: `1 t8 I
  95. 9 M5 r5 J$ P3 S) I3 H* Z
  96. ; display_errors. f) `- F, l6 a% w. K
  97. ;   Default Value: On9 ^4 l7 e5 u: O7 a; m
  98. ;   Development Value: On
    ' F: T/ K$ i8 R
  99. ;   Production Value: Off$ x1 t- B7 N' C" w, Q/ F3 |3 z

  100. - I: x6 R3 b6 k2 Z( _! s
  101. ; display_startup_errors
    - N" b. T/ }/ Y
  102. ;   Default Value: Off/ E( ?' Z6 b! p# H
  103. ;   Development Value: On
    / x% ?" b' q# d* n* k: c% V: v8 \
  104. ;   Production Value: Off
    + A  p: x: ~( Z. k' C! ?7 l
  105. # ^9 \  x; h: _) r
  106. ; error_reporting% a3 p% l3 i3 s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 W. ?: `* `# V. [2 g+ @
  108. ;   Development Value: E_ALL
    ! R4 N2 V7 O- @9 T* ~$ z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 B3 o4 M' H7 B

  110. " r4 _/ r" v3 P6 a6 m; t  T
  111. ; html_errors
    8 z1 D6 t6 O* E3 L7 O3 R7 ?6 R
  112. ;   Default Value: On
    / Y0 Y$ I1 k* D% b! x! B; t
  113. ;   Development Value: On. M: s( w& |5 _$ q8 D% l
  114. ;   Production value: On* Q7 G8 G- ~* J0 F+ g

  115. , ?" E" C2 I! b; N/ {
  116. ; log_errors5 o  h) e% \1 r
  117. ;   Default Value: Off
    & N4 r# N: Z8 O) E+ O' c$ N. [
  118. ;   Development Value: On
    0 `5 \5 N7 ]- J0 t
  119. ;   Production Value: On& o- ~4 N7 C3 g4 o- j, Z7 k

  120. 6 O$ _  }# L0 e3 [
  121. ; max_input_time% v# x7 k/ ?" w9 y5 N- v
  122. ;   Default Value: -1 (Unlimited)) g+ \6 D) K$ g2 P" ~. |; j6 h) V& L( `
  123. ;   Development Value: 60 (60 seconds)" z* m7 _+ X; J9 p8 P
  124. ;   Production Value: 60 (60 seconds)( p3 a  w' `( v' F8 j+ S( m
  125.   }' h/ a7 V8 L; j9 v
  126. ; output_buffering& k: w0 P! Z$ B. W& F
  127. ;   Default Value: Off
    ' u: L: a6 a9 }. j
  128. ;   Development Value: 40963 C3 a6 Y$ ]& k: f2 B
  129. ;   Production Value: 4096
    ; S( t% O* t0 Q! b; ?
  130. 3 L* B; \" `: x0 P' i9 y
  131. ; register_argc_argv
    0 r, |  z6 L4 F
  132. ;   Default Value: On
    ' x' g# B. l! T; r* M7 W$ v
  133. ;   Development Value: Off
    ( u5 a- L7 k2 U
  134. ;   Production Value: Off: o6 e. K) r- P: k* d
  135. : ^; M0 m# `% `& c" l
  136. ; request_order
    , m) k# D: U$ I, _
  137. ;   Default Value: None
    : K8 ]8 X5 J+ Y: y: y5 K5 [
  138. ;   Development Value: "GP"  M# k: ^# N7 w9 b1 d* N8 e
  139. ;   Production Value: "GP"$ f, V( Y$ ^1 _) l' W  M
  140. ( {; z/ d0 _, L
  141. ; session.gc_divisor
    % v4 n3 b0 x+ l  f) O
  142. ;   Default Value: 100
    + |% Y( d- g* k: Y9 V! }
  143. ;   Development Value: 1000# |; m- Z. \1 j' q; I/ ?3 V
  144. ;   Production Value: 1000
      A* T* Q; _" c, Z+ D  L* ~, v& [
  145. * i6 K, ^" c- X; c
  146. ; session.hash_bits_per_character0 f& R5 D# A( {0 p& E' D
  147. ;   Default Value: 4  l4 Z6 m& d% K
  148. ;   Development Value: 5
    1 \2 p) w7 H! f2 X, e# M6 v/ ~$ B
  149. ;   Production Value: 5' O( b0 `/ B. y. N) u
  150. 7 ~! B$ o* f# y2 {1 I
  151. ; short_open_tag  d" O! r+ Y& {( O/ ~1 v
  152. ;   Default Value: On
    6 n9 g$ B& @: _5 k' C" h8 V
  153. ;   Development Value: Off* \. k7 H2 j3 C: q% j
  154. ;   Production Value: Off
    * U7 N7 P3 M$ ^) T
  155. 2 U( E1 X8 j1 F7 d" v1 T( d
  156. ; track_errors
    - {6 C5 M( U6 V: Z
  157. ;   Default Value: Off
    4 Q( `. b7 p4 G; ~% {
  158. ;   Development Value: On
    0 Z+ S" R, j1 B$ q
  159. ;   Production Value: Off0 a1 i1 ?6 t) J5 @2 w% p% q- a
  160. ! j" j- U8 p, V6 b5 {+ |
  161. ; url_rewriter.tags
    & Z8 T0 o& J6 [2 B1 r
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - z1 a: Z, l  l% q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' r$ `( C; C: Y: B8 Q- d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " ~$ F: j* i3 p! v! H  ~1 i" [
  165. / Q/ r" e: a' l0 n+ i% d
  166. ; variables_order* I2 N. {& o; D! G
  167. ;   Default Value: "EGPCS"
    % r6 D$ l. z/ |: P- e3 ~
  168. ;   Development Value: "GPCS"
    , `. I/ h( I* r
  169. ;   Production Value: "GPCS"' K7 n4 E6 d( c& F  t  _
  170. & G- }9 n# B& u! @& }! r
  171. ;;;;;;;;;;;;;;;;;;;;6 c3 i$ Q; ~+ c: U* F
  172. ; php.ini Options  ;
    7 L5 E/ F  T% J/ g9 s+ K
  173. ;;;;;;;;;;;;;;;;;;;;5 E& @* A/ k( y4 A, I0 k$ f; r
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"7 M# z5 J# i6 Z
  175. ;user_ini.filename = ".user.ini"5 e- F: w, `3 ?: U/ L' I. V  ^
  176. 1 A! u. Y' z( @
  177. ; To disable this feature set this option to empty value
    , ~4 K! k: n7 e
  178. ;user_ini.filename =! ^; h0 |$ {! Z# w* N0 ?5 y
  179. ! p+ O$ b6 ?; G+ K" @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 \/ O7 \7 O) }4 r7 @7 \+ A1 s. N
  181. ;user_ini.cache_ttl = 300, t, X% J" T- b8 o
  182. " h5 a: R& K! ], ?5 D  q! d
  183. ;;;;;;;;;;;;;;;;;;;;6 ?. t9 l+ `; r$ G3 o, t6 W. d
  184. ; Language Options ;
    9 r8 R, D7 f7 @( J4 ]0 m/ n2 {
  185. ;;;;;;;;;;;;;;;;;;;;  N% k% k3 _' N$ U0 E: @1 ~

  186. * ~8 X& T4 ?" p5 W$ ]* l6 D' y& ^
  187. ; Enable the PHP scripting language engine under Apache.
    . }5 Q$ O, F- N* t/ T  n
  188. ; http://php.net/engine
    2 \  c# t0 R) z% f) V3 _8 \) |
  189. engine = On- M+ e' _; b  B; U( Y6 [/ F

  190. ; w& ~: D! R6 Q% l. |! f
  191. ; This directive determines whether or not PHP will recognize code between
    " g8 K9 v) ?/ \0 J" E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# h% H+ m& u& a8 b
  193. ; generally recommended that <?php and ?> should be used and that this feature; ?# ~. W4 l) U5 j! Q* Q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ( u; k, ~; D6 Z6 r2 n; x
  195. ; documents, however this remains supported for backward compatibility reasons.
    : x( G, G# X( A! c) C3 T3 r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 u1 W$ H' \8 S( G* n& [' y" D
  197. ; used regardless of this directive.; `. W* ]: M2 A" I/ Z2 A, K) z2 K7 ]' @
  198. ; Default Value: On/ G7 M) ^$ Z$ {' ^( E$ v
  199. ; Development Value: Off
    2 `# c2 C: M3 P0 a$ g. l
  200. ; Production Value: Off% h4 d$ g4 M* o8 J9 X
  201. ; http://php.net/short-open-tag
    ; G( A, u2 f' x0 Q
  202. short_open_tag = On
    + M1 k* v, u! k6 B2 z8 ?1 X
  203. ! J. Z1 F/ S5 z) V/ r. b
  204. ; Allow ASP-style <% %> tags.
      l! |8 Z, N3 v: P( K
  205. ; http://php.net/asp-tags
    ' |  p& j0 d  ~* ]1 d
  206. asp_tags = Off  E. |0 x5 S$ X2 y7 A
  207. 1 O( K* g- X# W. _4 T
  208. ; The number of significant digits displayed in floating point numbers.. m; p. s$ _; I/ A3 m
  209. ; http://php.net/precision8 W) j+ E0 F; w
  210. precision = 14* q' g6 ]* L0 x9 Z3 o# E# P' S+ Y* b

  211. ; P) n+ W% m. F! I
  212. ; Output buffering is a mechanism for controlling how much output data$ e2 E% r* Z! G3 m  {4 r% K6 a
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 y0 {' H: A9 p+ o. i, |: V. Q  V
  214. ; data to the client. If your application's output exceeds this setting, PHP# U2 \5 Z' D7 L
  215. ; will send that data in chunks of roughly the size you specify.
    ) z* }1 W- a$ t! N  ^
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    $ B- v: U' ^4 B, l$ Q. k
  217. ; interesting side-effects depending on your application and web server.
    5 \$ f$ f$ Z. @* L
  218. ; You may be able to send headers and cookies after you've already sent output
    5 c9 ^6 t2 `, N
  219. ; through print or echo. You also may see performance benefits if your server is
    7 @1 V6 p$ e- E! r
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    % x$ c/ k  w: \' S1 ^3 Q+ s
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : n1 z" A( s$ m* k' M6 J  L
  222. ; reasons.
    ) ?$ L9 F# S( z, H8 ~/ q% B6 Y6 R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    % G: V2 ^$ a( ^7 T5 N# X
  224. ;   functions.
    5 B+ x5 I# _, _' R
  225. ; Possible Values:2 I) R. \9 b% x& b# o
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # `+ t* d9 e% t; B: B
  227. ;   Off = Disabled
    . N% y9 y( P9 s2 o
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      p6 g* e# ^/ j0 e0 ~
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / I' r: A* c! a" t8 H+ ~3 V0 f
  230. ; Default Value: Off
      a, x& ^7 [# Z5 z$ A7 l
  231. ; Development Value: 4096& |" p8 U' H- o! m2 F
  232. ; Production Value: 40960 ~1 h' l0 b2 W2 ~% n
  233. ; http://php.net/output-buffering
    : B' Z& K* V  ^3 N) V$ g- I
  234. output_buffering = 4096; g9 }! G2 N5 Z& F+ V0 v
  235. ; J0 s0 j1 f) g% L9 h6 y7 [6 s
  236. ; You can redirect all of the output of your scripts to a function.  For
    0 Y* p  U. P) l' x6 b
  237. ; example, if you set output_handler to "mb_output_handler", character0 R' T# u% S' y- g2 b( y
  238. ; encoding will be transparently converted to the specified encoding.
    . f9 J. }1 |0 P: x9 E2 u! h7 I/ k
  239. ; Setting any output handler automatically turns on output buffering.$ G! w$ t: i+ ~8 \. M' V; A% }) d9 }
  240. ; Note: People who wrote portable scripts should not depend on this ini9 q) f5 Q5 S# F5 c3 F/ P; y$ ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start()., G7 c5 n  j0 m8 E8 R
  242. ;   Using this ini directive may cause problems unless you know what script
    . B3 S5 v) k6 h* q  `
  243. ;   is doing.
    & W2 k7 Z7 c: ?- Y+ _3 l
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # d. \1 j& S+ r& N* z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 o/ @% Y/ m7 o7 X$ |7 r
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 s" D3 [# A. L" x7 i9 E2 y
  247. ;   Instead you must use zlib.output_handler.4 e4 ~: |% Y1 |3 P5 [1 u. s  E& u
  248. ; http://php.net/output-handler
    ) v/ ~) j2 T, V; V
  249. ;output_handler =
    3 u% w) |* ]* z& X$ j" K! w

  250. ' Y  x- V8 t6 t( |% t
  251. ; Transparent output compression using the zlib library0 T" U( Y! N2 R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size- q* q* M; t% u8 r7 _/ [/ ^
  253. ; to be used for compression (default is 4KB)
    5 Z: c6 W* G( V: B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # t( _0 V1 H& y( d* S6 y
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ! I& t4 ]% j( D
  256. ;   compression. If you prefer a larger chunk size for better
    0 ]5 [, L2 \' q/ E
  257. ;   performance, enable output_buffering in addition.+ P) b. z: ~0 U& Z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / @. a; Z2 w0 Y
  259. ;   output_handler, or otherwise the output will be corrupted.( I6 b6 Y, S. E5 K( u$ ~( `
  260. ; http://php.net/zlib.output-compression8 s$ p: S! R# N7 d
  261. zlib.output_compression = Off" T, V3 [0 X- k8 _! \- s
  262. : Z8 H1 Z. V3 Q
  263. ; http://php.net/zlib.output-compression-level
    $ H5 x! t4 ^. d$ x2 M
  264. ;zlib.output_compression_level = -1  h# l' A4 T8 G! m5 y+ ?) [: M. f

  265. 0 h7 u$ g( g+ x( z1 `: t
  266. ; You cannot specify additional output handlers if zlib.output_compression
    $ `% p% W. o5 J% I* q" R
  267. ; is activated here. This setting does the same as output_handler but in4 j9 O( R  Y5 b: v  _% G( F2 X
  268. ; a different order.
    / t" B' ~8 |  E( @6 H# M9 S4 X
  269. ; http://php.net/zlib.output-handler
    3 [" T( N# D" A  q. l. j
  270. ;zlib.output_handler =4 l6 v0 A, D& x  L* S

  271. 0 b* I" O" i* S& t( O, c0 t- H
  272. ; Implicit flush tells PHP to tell the output layer to flush itself2 a& o: Y1 m' n2 S1 M4 a
  273. ; automatically after every output block.  This is equivalent to calling the7 ], _& f. ^  k8 l* s4 Q& u2 M2 a
  274. ; PHP function flush() after each and every call to print() or echo() and each
    * ^0 @% e' H# O& f+ H, k2 ~
  275. ; and every HTML block.  Turning this option on has serious performance
    - D3 q5 k1 T- O5 P
  276. ; implications and is generally recommended for debugging purposes only.
    . w$ f0 R7 F0 ^: ~: O: \) g
  277. ; http://php.net/implicit-flush$ r) N# ?2 ^% j6 ^6 M/ ]
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' `1 _8 \( K! X$ O9 Q! G; a5 m
  279. implicit_flush = Off; S4 `, X+ x8 g2 k5 I3 ]- M  h

  280. . x. I: r  z8 Q
  281. ; The unserialize callback function will be called (with the undefined class'4 G+ H/ I" _' \, m+ L
  282. ; name as parameter), if the unserializer finds an undefined class5 f( `9 H: l* e8 A. {+ M
  283. ; which should be instantiated. A warning appears if the specified function is# {& G9 T& h2 d3 y5 e5 n# ~/ I
  284. ; not defined, or if the function doesn't include/implement the missing class.
    . s7 }: d, V; o' {* B; j1 O
  285. ; So only set this entry, if you really want to implement such a
    " z  t  D8 D/ u
  286. ; callback-function.1 Y  |$ j5 C$ t& F+ n/ z" D6 d
  287. unserialize_callback_func =  D1 E5 h( y6 x* D# o/ q, m
  288. % ?5 j5 a% n% s' f0 ~2 H2 u
  289. ; When floats & doubles are serialized store serialize_precision significant
    ) ?( q  |% U/ T/ X& ^
  290. ; digits after the floating point. The default value ensures that when floats
    6 R5 B+ E+ t/ F- I
  291. ; are decoded with unserialize, the data will remain the same.
    + B2 \1 l+ ]2 {' N5 z
  292. serialize_precision = 174 ]* B8 [. H* R2 V( \- e6 |& q# a7 h
  293. 0 v" X" ?. o" M0 G# W
  294. ; open_basedir, if set, limits all file operations to the defined directory( M$ ?! T6 F4 _* N! J/ F+ N/ I& o
  295. ; and below.  This directive makes most sense if used in a per-directory
    ! E' g1 K% d8 n* d+ S+ |* f8 [
  296. ; or per-virtualhost web server configuration file.
    8 r: I8 w' _/ ^# s; k
  297. ; http://php.net/open-basedir% x% Y1 G' m' a
  298. ;open_basedir =
    + L5 l3 I1 e1 {

  299.   E; }6 K4 O+ w5 z, h; K% T6 @# A
  300. ; This directive allows you to disable certain functions for security reasons.4 K6 K# p- a5 w9 _. s
  301. ; It receives a comma-delimited list of function names.
      W2 T9 z: J% V8 ?
  302. ; http://php.net/disable-functions
      h# E* g7 v' j' k
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! G8 A0 `0 o8 Q$ q8 H4 S

  304. $ z6 k% G6 [! M. u. q5 p) K
  305. ; This directive allows you to disable certain classes for security reasons.
    3 s: W8 C8 w: z# o& s9 ?8 t  S
  306. ; It receives a comma-delimited list of class names.
    2 J7 p$ Y& M/ L3 c  n
  307. ; http://php.net/disable-classes' y# g+ d, k4 d# E8 a
  308. disable_classes =
    / y( F% g: F: @+ Z$ T# Z
  309. 1 Y- C4 c3 T! a2 F. j, w# R
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; H  _( V1 Y4 p( l; z2 n
  311. ; <span style="color: ???????"> would work.
    ' e4 Z* v. Y2 z( \# H: s
  312. ; http://php.net/syntax-highlighting
    ' ?8 e3 G, ]1 H$ s
  313. ;highlight.string  = #DD0000/ y* C5 _$ {/ F" h) F+ q2 S7 _; z
  314. ;highlight.comment = #FF9900/ |' r# t* P) ~1 P# `  n
  315. ;highlight.keyword = #0077008 U: t" C5 M& F8 u0 |  p
  316. ;highlight.default = #0000BB
    ( V5 R7 W  V9 d5 o" O6 e: [) o
  317. ;highlight.html    = #000000
    0 w$ y; l9 F% \" Z  l
  318. / d9 H: \: y! @6 W" B& j4 {7 r9 R* _
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    / w5 _7 ?5 e8 m
  320. ; the request. Consider enabling it if executing long requests, which may end up1 z1 }! M. Z$ e1 n' {( ~" l8 S+ H
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior7 j, R# X5 }# Y+ i: T! a
  322. ; is to disable this feature.
    2 \) i: ]: M! \6 }: U
  323. ; http://php.net/ignore-user-abort
    + x( k  o% a3 ~( h+ S- o
  324. ;ignore_user_abort = On
    " V- }4 P0 }- }
  325. + h7 ?. v2 E4 f8 g, a1 _4 w6 Q% R$ X
  326. ; Determines the size of the realpath cache to be used by PHP. This value should( j3 q5 f0 L3 P: @9 S5 M
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    + n, H6 `5 b. ]# S
  328. ; the file operations performed.
    6 }/ y9 l# a/ G
  329. ; http://php.net/realpath-cache-size
    6 `2 n7 z5 [' o" }
  330. ;realpath_cache_size = 16k
    0 F3 L0 C1 U: A) P! {5 r. y1 @

  331. 8 s3 ~, |$ ]; {7 R) F% Z& [. V
  332. ; Duration of time, in seconds for which to cache realpath information for a given; I. X  j% J' [; c% H% F4 B6 L8 ~# X
  333. ; file or directory. For systems with rarely changing files, consider increasing this; t2 h% i; p; J! B
  334. ; value./ {# i8 Q0 b' A5 `
  335. ; http://php.net/realpath-cache-ttl
    9 ?* y4 e4 n& m8 ?
  336. ;realpath_cache_ttl = 120
    7 r$ g8 a6 c$ R- o

  337. / x4 P" P! _1 \9 J4 v$ Y
  338. ; Enables or disables the circular reference collector.5 N6 Q, I5 J" z# u* ]
  339. ; http://php.net/zend.enable-gc: g2 c  o% i, b) Y" A/ a' ]9 m
  340. zend.enable_gc = On# z8 o& j2 C6 w8 w( ^0 D

  341. ' _% f- x5 J* z, l) p$ R
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    4 K; E  U" d3 a7 I# i2 J2 Q
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such$ v4 o# j3 I, F4 C+ j( V2 F
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' [5 L% ?/ ^- J' D
  345. ; Default: Off. Q3 |6 }, g- h) F- ~
  346. ;zend.multibyte = Off
    1 @5 U( F! x, z+ q2 j0 R' \9 r

  347. . J+ Z2 v) t3 }# x6 h' M
  348. ; Allows to set the default encoding for the scripts.  This value will be used6 |, d9 W& G% U6 I5 q8 x/ [8 b% @1 f
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 W6 F( C1 [+ m/ F' e$ z
  350. ; Only affects if zend.multibyte is set.' g$ E( b+ q- A9 D
  351. ; Default: "". b4 s7 S& {7 C# [/ T# @: ?4 C. I
  352. ;zend.script_encoding =$ P! N5 ]0 ~% `* Q% W
  353. $ I/ Y6 o8 u/ y8 ]% J  b" u
  354. ;;;;;;;;;;;;;;;;;
    * Y' ~; a8 U2 I9 D( y
  355. ; Miscellaneous ;* Q, h: L5 h9 O
  356. ;;;;;;;;;;;;;;;;;  J3 e" N4 U3 J: X2 z  T$ `

  357. * K1 C4 y( |, x& t
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    4 Z- Y% F% H- f, E) ~
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    , o! P- D5 {. Q$ I# J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 `  g8 a0 @. h. E. `! u! `* U1 l8 ^
  361. ; on your server or not.: V" b- H* V( f3 u- K, \
  362. ; http://php.net/expose-php
    3 r& Y. B5 m. R1 L+ T% f) Q. T
  363. expose_php = On
    . t' \: `+ h1 ~( h: R2 u. j

  364. 0 D2 h0 x0 T' U* D8 D
  365. ;;;;;;;;;;;;;;;;;;;
    ( G9 N4 I6 X' f# O9 \
  366. ; Resource Limits ;
    : j. @/ x* U: U, F, G+ K3 F
  367. ;;;;;;;;;;;;;;;;;;;5 _! a4 V9 S* H2 w! S# {

  368. 9 }, |0 p3 u5 t/ Z$ F& @" R
  369. ; Maximum execution time of each script, in seconds
    8 {% D' @$ X6 E( ]8 n$ }3 Q
  370. ; http://php.net/max-execution-time1 t* y) v/ D7 P
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    / E) I; r, \9 {9 \, m" z
  372. max_execution_time = 300! Y( p7 R$ o( a+ C
  373. % X2 `& Z  C8 @7 f6 R: w" l0 |
  374. ; Maximum amount of time each script may spend parsing request data. It's a good0 s6 y- G$ k" C) N- O) Q
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly' ]; C) o( F0 q6 i/ W
  376. ; long running scripts." h' ~' k4 c! `+ Z4 r" _4 |
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # U' P. U& L2 c( i9 Z' [
  378. ; Default Value: -1 (Unlimited)
    ) k  z7 n& D2 m& J* C  C, g# V$ T( S
  379. ; Development Value: 60 (60 seconds)& P! E4 ^4 F+ [6 w1 t
  380. ; Production Value: 60 (60 seconds)( z3 P; {! |' L2 l
  381. ; http://php.net/max-input-time( o  r1 G8 X. m, a* \
  382. max_input_time = 606 c, ~4 j9 i2 R* M& p4 l9 U! g+ U. J

  383. 7 F& e" [2 w: x
  384. ; Maximum input variable nesting level
    " }* o) q8 m! Q2 f0 r% ~7 r; R
  385. ; http://php.net/max-input-nesting-level
    - n( {# J2 u5 I) u
  386. ;max_input_nesting_level = 64# G' W$ G; s* }+ ]

  387.   m4 W& ?2 k4 c9 f6 P6 j
  388. ; How many GET/POST/COOKIE input variables may be accepted4 ]( o: m: T7 Z$ D
  389. ; max_input_vars = 10000 p3 U& \9 r3 P" v, K4 S% r) a" h
  390. ( m7 f5 |& ~, b/ S5 d3 N
  391. ; Maximum amount of memory a script may consume (128MB)
    4 M$ ^  M6 g2 p: z% W$ y. _4 @. @
  392. ; http://php.net/memory-limit
    2 _7 Z6 K9 D, T' {, g# O' e
  393. memory_limit = 128M7 n. I/ t& W# G- H. Z; U4 u9 p
  394. 6 G% D- ^$ I" C' ~! I9 l
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% {7 ?9 M: a0 x! C- x* E
  396. ; Error handling and logging ;' o" O1 t5 M: C# v, U8 s( L4 V' ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: u: c* C8 N$ g& R5 a/ j# f1 V/ x3 O" X

  398. : @# l" t  N) @4 Q9 X/ P4 f& C
  399. ; This directive informs PHP of which errors, warnings and notices you would like7 x9 K( @7 C& ^, ?7 ^6 L9 A
  400. ; it to take action for. The recommended way of setting values for this2 V$ Z5 e% [6 p7 t
  401. ; directive is through the use of the error level constants and bitwise
    ( k- J* A+ c) U$ g/ x* }# c4 H& I
  402. ; operators. The error level constants are below here for convenience as well as
    6 [: y2 R; K( K7 K7 G! O) j
  403. ; some common settings and their meanings.
    5 T+ Y# A+ u2 `
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % _: x2 b1 U; C4 H$ m$ T1 {
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and* B1 ^" C* u- Y* h* X8 {
  406. ; recommended coding standards in PHP. For performance reasons, this is the" X7 Q4 m! D! g: F% T
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    - j) o# i0 q, A
  408. ; resources complaining about best practices and coding standards. That's what
    - W0 @* B3 H2 V+ Y" r+ q
  409. ; development servers and development settings are for.
    $ R& O+ ?1 ?% `9 W  t
  410. ; Note: The php.ini-development file has this setting as E_ALL. This; `. f. p' s& z# }
  411. ; means it pretty much reports everything which is exactly what you want during
    ; `* G! O8 E9 X  I& e
  412. ; development and early testing.4 u; R" R! F9 o: w
  413. ;% ?7 c* ?. ?4 p. c  ~+ {3 C* f
  414. ; Error Level Constants:4 ]  i  }9 U4 F1 r! C1 K0 J
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)5 Q7 d8 ?0 W# l
  416. ; E_ERROR           - fatal run-time errors
    1 A5 p) C; N. n+ k
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors! ^7 X+ i; {! o* [' B- L
  418. ; E_WARNING         - run-time warnings (non-fatal errors)9 y9 q# ?, c( b4 I
  419. ; E_PARSE           - compile-time parse errors
    6 S& [2 [+ X) ]& n' h5 ^
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    0 t. P% s# `+ V4 Z. `' {' P; b. D# }
  421. ;                     from a bug in your code, but it's possible that it was8 v  ^, p+ {6 h+ R
  422. ;                     intentional (e.g., using an uninitialized variable and5 l+ w" U3 i2 o7 {4 A
  423. ;                     relying on the fact it is automatically initialized to an- b3 g" r& `# F. o( @& t
  424. ;                     empty string)
    ; E7 t$ K3 P* M4 q* {  H0 b8 j
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes' |" C9 j& D: c# c) l8 J) `
  426. ;                     to your code which will ensure the best interoperability2 q! s9 e  F$ ]8 w
  427. ;                     and forward compatibility of your code
    ( h7 ?3 j5 Z  G+ \
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: p& Q( `  @6 b
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 [9 O4 z9 k1 a: i* g
  430. ;                     initial startup) K9 `6 a) n  j  |3 S; W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    , \# L& t/ r( {( t# B9 Q3 p# Y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 r1 v) v: p$ V& d: e: l
  433. ; E_USER_ERROR      - user-generated error message" l3 ~" q" V: e
  434. ; E_USER_WARNING    - user-generated warning message9 {8 E6 N5 i  f/ p/ v
  435. ; E_USER_NOTICE     - user-generated notice message, _: J6 e0 v* O) ?4 V" x7 ^. |5 u
  436. ; E_DEPRECATED      - warn about code that will not work in future versions; p/ m; E$ z9 ^( J
  437. ;                     of PHP: }1 k  G, d% f, E
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    8 t. `! A/ Y+ L4 {& v
  439. ;
    6 q* J, R7 @# a9 K  P, [; E
  440. ; Common Values:, X& F2 n5 _/ t# @) q' b4 C6 k
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" C3 F* {9 o% \/ L* i
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! {0 \% U& O9 A3 c4 N2 |
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.): L6 N0 v/ d8 a
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ p$ d+ }/ ]: C9 e+ i6 s
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 L- V6 `- C1 L5 U
  446. ; Development Value: E_ALL2 w5 Y5 O/ J+ Q0 A3 B* s" G4 q
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . D3 Q7 x6 H6 s0 _% Z. S8 e0 J( Q
  448. ; http://php.net/error-reporting
    * f: q% P1 f, [9 z/ y! M
  449. error_reporting = E_ALL & ~E_NOTICE" q4 V9 ~: y# }  Z# ~5 T
  450. 0 a& q: p. b. H5 h  @+ F* b  l
  451. ; This directive controls whether or not and where PHP will output errors,
    4 t4 B4 t2 Q& c! v. w/ h3 i
  452. ; notices and warnings too. Error output is very useful during development, but/ y# A" \2 Z  H/ r; {
  453. ; it could be very dangerous in production environments. Depending on the code' I6 p' C. n/ h1 ?- F& @8 H
  454. ; which is triggering the error, sensitive information could potentially leak8 [( h/ m: J) B
  455. ; out of your application such as database usernames and passwords or worse.
    * o! N- Z( Q  ]  i( y
  456. ; For production environments, we recommend logging errors rather than* ~. q9 O# F5 h' I5 X! d$ Y
  457. ; sending them to STDOUT.
    1 w, A( @2 b$ c+ E, e& U) m; P
  458. ; Possible Values:0 L. s1 B, |5 f/ m) c
  459. ;   Off = Do not display any errors
      [% D* _6 G+ l9 x3 f8 @+ U
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 @, ?' G2 }! c
  461. ;   On or stdout = Display errors to STDOUT
    ' v* `3 D1 f* {0 s& m
  462. ; Default Value: On4 k* ?( b! u4 @: |3 G- g' C
  463. ; Development Value: On
    $ }: R; G$ O8 l& W$ c) F. h
  464. ; Production Value: Off
      \3 e3 N" Q! u/ c/ |" H" G
  465. ; http://php.net/display-errors8 w: {% l1 m  X5 G* I
  466. display_errors = On) g" s% V% V- c9 S
  467. ; q! ^5 C3 ]# v# [" K5 V
  468. ; The display of errors which occur during PHP's startup sequence are handled5 u  \+ B7 ?" Z% y2 i6 L7 x
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ! a# {9 N+ x) I
  470. ; errors from clients. Turning the display of startup errors on can be useful in8 N' B, g2 m& t% ~
  471. ; debugging configuration problems. We strongly recommend you
    + k4 ?1 `& U7 d) c" `+ Y
  472. ; set this to 'off' for production servers.) M  U1 h3 Y3 c. u' Z/ p! n8 n
  473. ; Default Value: Off$ N* K: g! W7 v, @3 H2 b
  474. ; Development Value: On5 O" }8 |) e2 c; X
  475. ; Production Value: Off
    5 C- _& i4 E5 Y
  476. ; http://php.net/display-startup-errors' Y* Y9 H" D/ q4 L& l8 D; m$ w6 B
  477. display_startup_errors = Off+ S4 T0 v  K4 m" l/ j; o
  478. 8 W- J1 H% E( c# _( H7 n
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 }* O2 U5 f3 X: F' |  P' z
  480. ; server-specific log, STDERR, or a location specified by the error_log  B8 v& y* ]4 P0 a+ f
  481. ; directive found below. While errors should not be displayed on productions
      P" o0 o- O9 x3 Z9 g0 j; e- X! ]/ E. E
  482. ; servers they should still be monitored and logging is a great way to do that.( }" N' f5 g4 Z9 V; s( p
  483. ; Default Value: Off
    0 J! _7 C+ p  Z' |7 t+ A5 ^2 K
  484. ; Development Value: On. n+ W8 |) G1 a3 W  w
  485. ; Production Value: On# l8 q# a, i( Z4 w, S8 \
  486. ; http://php.net/log-errors
    2 U* \& i: K- ?% b
  487. log_errors = On% o- A& J& j8 V' f) o
  488. $ Q- Z# J9 p4 \
  489. ; Set maximum length of log_errors. In error_log information about the source is: `8 {. C/ m3 ?( z! c6 u+ ]
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / l" C8 e& A$ s4 Q
  491. ; http://php.net/log-errors-max-len
    1 a, m# s+ T  U8 s! i
  492. log_errors_max_len = 1024
    ; `4 ^8 W2 C4 R% y9 `

  493. 8 ?# i% u, @/ v5 t! Q' |* G6 P
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    5 g( a$ b$ C/ @' d" @2 ^; n1 A
  495. ; line unless ignore_repeated_source is set true.
    - g, w4 b. O2 ^2 S/ m
  496. ; http://php.net/ignore-repeated-errors, ^* G1 ^8 D5 V2 O$ E
  497. ignore_repeated_errors = Off
    + ~! t6 N& d9 p6 e$ _( `
  498. ( c9 A, V2 g0 b# E1 x8 R
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    : g. i7 D4 m, R% K9 g* M
  500. ; is On you will not log errors with repeated messages from different files or
    5 Y: Q9 Y; w" w8 z
  501. ; source lines.2 ]3 R( |6 r& b
  502. ; http://php.net/ignore-repeated-source: Y2 C5 I) d9 F* p3 ^
  503. ignore_repeated_source = Off
    1 m1 \* y* l% ]& P' S. p

  504. 0 |( z5 D2 o: @% A, V
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    4 B0 u$ }% w5 x; ]
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + H( ?0 `5 E. ]" Z* W
  507. ; error reporting includes E_WARNING in the allowed list, I( o2 n1 I- C: j( D% v8 Z
  508. ; http://php.net/report-memleaks
    # [. y) V* Y+ i$ H
  509. report_memleaks = On
    0 [: x. j* {6 w4 `8 }
  510. 7 X# ?) v- i* X' R3 ]
  511. ; This setting is on by default.5 ~4 M0 {# C( ?% [" ?/ P! |7 t; Z
  512. ;report_zend_debug = 0. b0 E/ |+ H: v% J

  513. : p5 E/ c) s9 T# Y: m2 t
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; A+ m) c" w$ g& a; E/ e# u6 G
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 \6 q$ E. g( E
  516. ; however be disabled on production servers.# b3 }% `6 e9 Q$ w. G( M
  517. ; Default Value: Off4 f2 O  R4 O& N, ~- s
  518. ; Development Value: On, P9 h1 u+ \; k8 N) n
  519. ; Production Value: Off  \& |1 g# c6 F' J% L: W
  520. ; http://php.net/track-errors5 L2 o* F: {& \3 {' [- n
  521. track_errors = Off* n7 q7 ?% z( a9 G
  522. ! m' A' ^  \$ I1 X
  523. ; Turn off normal error reporting and emit XML-RPC error XML( Y9 d& i6 y  V3 H1 ~. ]1 U
  524. ; http://php.net/xmlrpc-errors' T& k$ F/ [7 {# N6 T0 m# o6 @  L
  525. ;xmlrpc_errors = 0
    : E. N% A, P  P: a  r

  526. ; g5 i7 @3 e) r: g/ m% v# p
  527. ; An XML-RPC faultCode4 H/ K1 ]- {% J- A; P+ P8 Z; x
  528. ;xmlrpc_error_number = 0
    . W0 i$ n% e: q, M$ g6 s; g

  529. $ o+ {! H- y/ b+ U
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    0 R0 e" Y9 h, E5 m
  531. ; error message as HTML for easier reading. This directive controls whether
    ( `. K8 s# S6 g6 i% ~( O
  532. ; the error message is formatted as HTML or not.
    5 X( P: z/ L9 U% h" t- L( P
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / f# Y- ?$ A& F. K& z- `; l/ O- z) r- {
  534. ; Default Value: On
    4 P9 F( _. N0 }1 u9 U2 a0 ?# H) g
  535. ; Development Value: On/ Y% w3 C/ C9 U5 c6 Y8 S
  536. ; Production value: On
    8 @7 [, t& j: q! T, A: f2 l
  537. ; http://php.net/html-errors
      a" h( \2 w# p2 h6 d$ M' K" }
  538. html_errors = On$ z! _# |' g  F6 ~; v' U! y3 z

  539. # T3 Z8 v* T- [- ]$ I5 F
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; x8 V, Q0 _* Z' G
  541. ; produces clickable error messages that direct to a page describing the error
    : r' d  i6 N6 M4 \: e
  542. ; or function causing the error in detail.& W& |# N% V9 Q0 }. a) E
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ; J1 b4 x, ^0 m2 c* m
  544. ; and change docref_root to the base URL of your local copy including the
    # {2 {! K- p* D- _' `3 C" g  p
  545. ; leading '/'. You must also specify the file extension being used including1 o0 j, Z& ]4 v: R
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which1 n9 x0 H) k% Y: s9 O# t
  547. ; case no links to documentation are generated.
    # ?/ |* G) R2 ~1 G- e: Y' o
  548. ; Note: Never use this feature for production boxes.8 Y, G% |( N: \; S8 P/ ]
  549. ; http://php.net/docref-root0 t1 `1 m' T2 a7 F2 ]+ l! I
  550. ; Examples
    % `' h- Y" L% }
  551. ;docref_root = "/phpmanual/"
    ( i2 ^3 a0 K/ V# S" J

  552. - x1 B  r1 p3 p6 h6 G
  553. ; http://php.net/docref-ext
    " Y* q5 y; i/ U+ P! U
  554. ;docref_ext = .html
    % L3 i3 _: E; |* X! d% `. ]
  555. ' i1 j7 F: F/ C; Q' A8 R3 I
  556. ; String to output before an error message. PHP's default behavior is to leave8 z# ?! f& z9 o3 E" p, A
  557. ; this setting blank.
    ' I  [4 U' M- K
  558. ; http://php.net/error-prepend-string
    % N! r- F/ ^0 T& }! d
  559. ; Example:% N1 s5 G) X: s+ G/ w
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    8 [: d! n% g3 O
  561.   M3 w( R2 B. C$ I5 ?
  562. ; String to output after an error message. PHP's default behavior is to leave/ f) D& l) Q9 A$ t; |
  563. ; this setting blank.
    # v$ _/ d# ^% L% f( g
  564. ; http://php.net/error-append-string- d* x! `" \, Q( E
  565. ; Example:& g( D4 P, u6 A& M' ?& \( f0 k
  566. ;error_append_string = "</span>"
    ; F8 d6 y) x+ H2 E7 g! b/ h) i
  567. $ C0 Z/ R, q. O$ N
  568. ; Log errors to specified file. PHP's default behavior is to leave this value1 F4 F1 R! y5 i% C
  569. ; empty.
    ; l0 F' ]: ~4 k: \
  570. ; http://php.net/error-log% T3 o" u9 J* k
  571. ; Example:
    " Z/ C3 [% i, t% d
  572. ;error_log = php_errors.log
    3 ]' r1 R8 t6 y; @& c! U6 {- W
  573. ; Log errors to syslog (Event Log on Windows).8 o: g/ R5 H7 Y
  574. ;error_log = syslog
    ( b+ B, d# ^' V

  575. 7 w  X# v$ }0 x1 t0 ?2 b
  576. ;windows.show_crt_warning
    # B/ e: q$ g# S% X
  577. ; Default value: 0
    " `( S. n) x' D9 S& `
  578. ; Development value: 0
    " {8 i5 |1 a' p9 W% m
  579. ; Production value: 0) c* `9 `! C) W, v# H6 G) Z

  580. * Q' i$ @/ H0 F  G5 h
  581. ;;;;;;;;;;;;;;;;;3 g1 P7 O! P( b6 }
  582. ; Data Handling ;2 v* ]" P7 Y# a+ Y# U
  583. ;;;;;;;;;;;;;;;;;! t7 |1 c: ^& ?

  584. : ?% f+ p" d7 r# k7 Z
  585. ; The separator used in PHP generated URLs to separate arguments.! ~% d& q8 X& [# X  W
  586. ; PHP's default setting is "&".
    : p- P# u4 \0 c- m, Z
  587. ; http://php.net/arg-separator.output/ @  V" V5 l+ m% ]/ w7 c$ `4 o1 l
  588. ; Example:
    6 M" `" e! c' B( d
  589. ;arg_separator.output = "&amp;"4 P8 I! A0 E) t  o5 E* \1 X
  590. 2 Y9 {& P  U1 Q1 O* h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    3 m/ ]+ ]9 n2 ~+ ~9 _* @9 t8 |: a0 Z
  592. ; PHP's default setting is "&".
    9 a+ v% c2 P6 Z# d8 D: p* y
  593. ; NOTE: Every character in this directive is considered as separator!! s: p1 _3 \& c$ i+ m
  594. ; http://php.net/arg-separator.input- X: _( s( p* U: U
  595. ; Example:  W* v6 ?  _& V( Z! ~3 M6 H
  596. ;arg_separator.input = ";&"
    & j8 T6 u9 @7 J

  597. , J# V) H0 z8 w2 S# \! A7 O3 }
  598. ; This directive determines which super global arrays are registered when PHP% f, W( I7 _5 d) M6 {
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    - A6 l5 h* |1 u! }" H1 x1 h
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty/ b0 U( F6 r8 M
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    : s- C2 b% A4 O+ X
  602. ; used as the others, ENV is not recommended on productions servers. You
    , f, r, Z4 M* A! O9 p4 w6 H+ C
  603. ; can still get access to the environment variables through getenv() should you' O, i$ u" f- Q* [* B9 J
  604. ; need to.
    8 N: m6 Y( _, m8 d. y9 c$ \
  605. ; Default Value: "EGPCS"# @! Z) C3 R: b8 j2 H/ X: v
  606. ; Development Value: "GPCS"
    * A- P* V4 W; z
  607. ; Production Value: "GPCS";
    2 k/ F% [6 E6 R
  608. ; http://php.net/variables-order
    2 a6 W. l' M5 X; v! }
  609. variables_order = "GPCS"
    5 M& a# H  ]2 w( V

  610. : B& ?2 t  G1 w/ {- D
  611. ; This directive determines which super global data (G,P & C) should be; s' {- S7 T, f. ~! k8 U0 \
  612. ; registered into the super global array REQUEST. If so, it also determines: u" V& _  ^) q; H+ ~* C
  613. ; the order in which that data is registered. The values for this directive3 p. Z0 j- m- F( @( q& d+ U
  614. ; are specified in the same manner as the variables_order directive,+ l2 j  [3 r/ F) E' t$ o
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ m3 Y+ S; N0 g
  616. ; in the variables_order directive. It does not mean it will leave the super- u* |  O* B% M' f' Q+ z. ]1 A8 P* j: v
  617. ; globals array REQUEST empty.
    % \8 v& A1 M* g' ]* O' y
  618. ; Default Value: None8 i9 M7 X; n: O- s" f
  619. ; Development Value: "GP"" A4 ]9 N9 {- l( P# p
  620. ; Production Value: "GP"
    & j  _2 ?  r; I2 V/ P
  621. ; http://php.net/request-order
    - y! T) r7 z3 p7 V; o+ O
  622. request_order = "GP"
    . D" A' \1 v! _8 i
  623. / _. B4 g9 v/ ]
  624. ; This directive determines whether PHP registers $argv & $argc each time it& ]8 ~7 M! h$ s  `- F+ A
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 |+ n. S; z! Y0 P+ f" m
  626. ; is invoked. $argc contains an integer representing the number of arguments
    : d! T; X1 J! X. y
  627. ; that were passed when the script was invoked. These arrays are extremely- t" G1 R8 Y9 n  m5 R
  628. ; useful when running scripts from the command line. When this directive is
    1 B7 i- w- g0 C. Y* S
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 F8 F6 J- V' m! t
  630. ; a script is executed. For performance reasons, this feature should be disabled
    $ J6 }) h; d1 b2 x8 S
  631. ; on production servers.( V/ ?, }3 b, W% {( m6 c
  632. ; Note: This directive is hardcoded to On for the CLI SAPI& |- X. b+ G5 b. O, N
  633. ; Default Value: On+ J5 G$ y# v; L1 H
  634. ; Development Value: Off9 J; r: I) ~* y" k, |% @
  635. ; Production Value: Off
    5 a: G6 `7 h/ @$ P4 `# y
  636. ; http://php.net/register-argc-argv0 q) N$ O9 j( l6 I2 `
  637. register_argc_argv = Off
    9 F( `& G# f& Z

  638. . O, o+ w2 x" `3 h2 R' i: i3 i7 K2 `
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 S& N6 F) Y2 f0 J  H( _
  640. ; first used (Just In Time) instead of when the script starts. If these- h( T! S' ?" M4 e* n
  641. ; variables are not used within a script, having this directive on will result, l# L6 ]( \& U
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      `  d# R. P8 `) ]! w
  643. ; for this directive to have any affect.. P" N. B2 l5 q3 b' I6 E
  644. ; http://php.net/auto-globals-jit! U! Q8 ]( K4 {8 S9 W8 U9 V7 C
  645. auto_globals_jit = On
    9 v( z; M5 F' H3 J8 L$ @- B

  646. : {3 E, r2 l3 z/ s% f* W
  647. ; Whether PHP will read the POST data.- O! N' j$ k' w: m  K* M! B7 Q
  648. ; This option is enabled by default.* ?' O1 d5 z5 B* N
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST' y) U6 L* F) c$ l0 ^  g. j. s
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ( v0 \. l6 c. U" C5 x
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    / a; P$ M  D( f; {- n3 _! `6 ]
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! n9 x$ k1 I' c( g* N' K4 E
  653. ; http://php.net/enable-post-data-reading
    " m0 ?1 x5 t) S' u5 V. y
  654. ;enable_post_data_reading = Off
    5 Z0 L: W. e# H$ _
  655. ! h. q2 B( E- ?) G" M9 z: [$ \2 J
  656. ; Maximum size of POST data that PHP will accept.% `6 w8 P; f& s% p; o
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading, W- J8 c0 b$ M" a
  658. ; is disabled through enable_post_data_reading.
    . ?5 H$ L& a/ Z$ I1 D2 i" L6 }
  659. ; http://php.net/post-max-size, V. G8 L9 C: H$ {5 Z8 _# C
  660. post_max_size = 50M5 E3 q4 I& ^9 f: B3 l' f. R

  661. + F: ~" w9 w0 n; v9 J; C+ X
  662. ; Automatically add files before PHP document.! M+ n2 @4 _$ L' d7 r7 }3 Z+ X" P% m0 [
  663. ; http://php.net/auto-prepend-file9 e5 ~, M  I, v0 x2 ~7 ~& Y
  664. auto_prepend_file =" s: ]% n* Q: G0 v5 V  C/ P
  665. / Z( f/ E( t; E6 x
  666. ; Automatically add files after PHP document.
    8 F2 f9 V. `/ M; m
  667. ; http://php.net/auto-append-file0 Y1 Y. g) ?6 [1 K
  668. auto_append_file =* D3 d1 w6 z) d1 E* O6 \3 z

  669. 2 S, \. N! |9 S) q8 }5 T' C
  670. ; By default, PHP will output a media type using the Content-Type header. To% f4 N7 E/ F% A% c( N
  671. ; disable this, simply set it to be empty.
    . o8 O( M: L2 q9 ~
  672. ;: V5 X" j+ H0 O6 u+ g* R; g
  673. ; PHP's built-in default media type is set to text/html.
    / b# t% @( n: k
  674. ; http://php.net/default-mimetype
      P) Y4 L/ w5 n$ K! u
  675. default_mimetype = "text/html"3 [9 p: `( l3 W: @8 O

  676. % {# z& ]3 G5 I
  677. ; PHP's default character set is set to UTF-8.% p0 I! K- l- q8 F: j' p, A
  678. ; http://php.net/default-charset4 o$ a5 i6 i; z- e2 L# U6 f
  679. default_charset = "UTF-8"
    ; f# Q: w# q/ L7 Y4 p
  680. ; {! T" i5 ^1 M* Z
  681. ; PHP internal character encoding is set to empty.* H6 `* X$ g! [/ {
  682. ; If empty, default_charset is used.
    8 {* z9 m0 r& |$ K; p
  683. ; http://php.net/internal-encoding9 b+ K# v8 q  i0 R
  684. ;internal_encoding =; U. y" d' F1 \; Q- p( T
  685. / i6 d- O  u2 F1 S9 p% K
  686. ; PHP input character encoding is set to empty.
    & a' K' C( z1 Y8 o
  687. ; If empty, default_charset is used.9 X" ^5 Q1 E9 S" ^; u% c
  688. ; http://php.net/input-encoding
    7 A, A0 l! |* s! R, h) y) n- ]+ S
  689. ;input_encoding =
    5 {# n: m3 u) F& y+ @
  690. 7 S6 v8 p/ N2 D* S$ I' L2 T7 C
  691. ; PHP output character encoding is set to empty.3 k9 e8 d6 v; B3 t9 o4 h
  692. ; If empty, default_charset is used., E5 u6 \  r7 ]; J$ A$ \) Z
  693. ; See also output_buffer.5 U% v6 n9 D6 M; s0 b, E  \8 g% U
  694. ; http://php.net/output-encoding
    2 [1 Y9 H3 N7 P( g7 N4 K6 U
  695. ;output_encoding =& t, B7 z4 {5 P9 w$ u! n( O5 u% N" W
  696. 8 B$ \" q( K3 m9 R$ X- }
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    7 D4 V; U6 I5 k; p: Y9 `& ^: [
  698. ; to disable this feature and it will be removed in a future version.
    3 ~/ [+ R* e- h% m' j! R
  699. ; If post reading is disabled through enable_post_data_reading,
    1 R, _# `( `7 _( B$ n- ^& v
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( ~0 q  q' e' T# a5 R, v
  701. ; http://php.net/always-populate-raw-post-data
    # p1 L7 F0 j7 L1 y" l
  702. ;always_populate_raw_post_data = -1. P6 e  x$ }3 d0 Z) }. M$ D- v
  703. 3 ~/ @/ ~$ G& A6 q2 T9 V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;! E4 O/ Y, u8 T; c& z0 a
  705. ; Paths and Directories ;
    ) B, b4 d5 o% a" s4 l$ B3 A( ?5 I
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) Q9 M- h6 g# z" c

  707. + a  f* m+ d: q3 `
  708. ; UNIX: "/path1:/path2"
    % ]6 V$ v, _* o! A' U: e$ d0 V, _
  709. ;include_path = ".:/php/includes"
    ! J) h. G2 M" g9 m! `  L
  710. ;
    " G2 D. W, {: i, D
  711. ; Windows: "\path1;\path2"0 }5 C% e0 \% t5 G' B0 f2 k3 N
  712. ;include_path = ".;c:\php\includes"8 e1 Y, p) A) c1 G- ?, @' t1 H
  713. ;9 N8 u$ p* I/ `+ B7 i) a  U
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"6 h. E2 x) G% V- g0 |
  715. ; http://php.net/include-path9 T9 Z! w& m1 z( }3 M  J' A% }

  716. 7 q0 z/ h; Q) C* m1 Q
  717. ; The root of the PHP pages, used only if nonempty.5 t2 \! M5 `* R4 Q
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root* d/ s* ~0 y1 S# H, v) Q/ @
  719. ; if you are running php as a CGI under any web server (other than IIS)  c7 s/ G+ C' g8 e7 ?5 q! a
  720. ; see documentation for security issues.  The alternate is to use the( D6 h! s3 t. M$ E
  721. ; cgi.force_redirect configuration below' K( V, b2 z) I
  722. ; http://php.net/doc-root/ n0 a: B- e# N
  723. doc_root =. l/ U! v0 P. a& g

  724. : C# Q7 _2 V- V& y
  725. ; The directory under which PHP opens the script using /~username used only
    4 i+ S9 R0 u. e& U2 k
  726. ; if nonempty.2 Q& r, ~& i4 _9 ~/ w4 o/ f& [
  727. ; http://php.net/user-dir
    . E& Z$ j8 ^# r- S' i, Q: N
  728. user_dir =- b7 k  B' |  R& y

  729. " n7 j4 v% `* @% M5 Q# z
  730. ; Directory in which the loadable extensions (modules) reside.
    ! `' h# |; d& S6 U8 h' y/ k5 v5 ?
  731. ; http://php.net/extension-dir
    6 N  ^* h+ Z+ Q1 D- Q. ^% J
  732. ; extension_dir = "./"  ]2 v' d* t! z0 o. j/ t) A
  733. ; On windows:
    8 X; {: F# |$ D" n" v8 U' N
  734. ; extension_dir = "ext"
    ! k  H* L. g8 u( `# u+ E! `8 w* l
  735. . |! h7 c4 _# c7 M8 ~8 X7 g
  736. ; Directory where the temporary files should be placed.
    . w+ Y0 S. F# W0 P; D" u
  737. ; Defaults to the system default (see sys_get_temp_dir), \4 w' G/ r/ v
  738. ; sys_temp_dir = "/tmp"
    % ~3 p* D5 j( x: q1 W
  739. 0 D/ H( v4 K' {' d- ]5 L
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 K8 o5 E/ c) V  Y
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically/ Y  Q; k6 g8 H7 c4 |, }) r
  742. ; disabled on them.& [1 B, d! M9 N# D" Z
  743. ; http://php.net/enable-dl* B, e4 {8 K5 a5 u6 F1 s) q8 ^
  744. enable_dl = Off: l9 h6 _# [0 ]: ^0 ?  p5 p

  745. 2 q1 K% \9 A# c5 U6 R1 f. C
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
      l( M; f2 E) u- f% Y
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + M% V. G. \% S5 \# Z
  748. ; turn it off here AT YOUR OWN RISK" p: c- n8 s( T% e: |8 v( ^0 C
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 c# S7 r; \8 U( Q7 E# F
  750. ; http://php.net/cgi.force-redirect
    5 A. c0 e2 P; @" l
  751. ;cgi.force_redirect = 1
    0 T9 K, G& o4 ~7 a7 D3 {
  752. - I# ^( P- W7 b( L8 j+ H% k: L7 G
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * [9 B7 n( L; q% D! L9 [
  754. ; every request. PHP's default behavior is to disable this feature.
    ; C# W. h! d: L" M- p9 h, h
  755. ;cgi.nph = 1
    ( d: Z) ]0 [7 k. K) V" b: g# {; @& w
  756. 1 a* a8 i8 I; x: W2 K
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    1 i; y' c; a+ B  q6 @" n5 E' L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    + c% n2 i. ~0 |1 Z8 ?& o3 z! m
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY' _5 @0 ?- P9 t9 f; J! v9 J
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 G  ]8 d7 h; I) @" d
  761. ; http://php.net/cgi.redirect-status-env
    ; G5 q9 H# `: G
  762. ;cgi.redirect_status_env =
    5 y7 d) v5 q5 e/ ^

  763. ! a# x, g" d; o
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" _/ a5 P( S- F) ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok0 y; N3 D8 ]' q' c, Z
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    % N; V7 e1 r$ H$ l8 n- K
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' u: [5 n: y0 F
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    2 x, Z& l4 }. [& `6 T
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) i/ b4 X; v. }, {% R- v
  770. ; http://php.net/cgi.fix-pathinfo
    ( Z  \/ n: P( U% @4 ^" u- ^
  771. cgi.fix_pathinfo=16 J) V5 L( ]6 E8 \/ y
  772. : a) t+ l: c' t
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside. S% S8 y: g+ V8 P% O- t
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    " Z) S$ y7 l/ V5 D
  775. ; http://php.net/cgi.dicard-path3 \2 x1 R$ c0 Q* J* S- U3 u" D
  776. ;cgi.discard_path=1
    . m5 s3 Z2 q; d' B; D
  777. 1 w7 w0 _& ]  r  S6 T9 z. c$ u) g
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ; g3 t% }2 b0 k; U/ Z. X
  779. ; security tokens of the calling client.  This allows IIS to define the+ b  H/ u2 x* [. v/ `
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ) i/ y) K( l% K- P
  781. ; does not currently support this feature (03/17/2002)7 L% c! f, ~- h- L2 K
  782. ; Set to 1 if running under IIS.  Default is zero.
    , v) {9 [3 D. |2 r5 t6 r. l) Q
  783. ; http://php.net/fastcgi.impersonate- w5 l, G8 B) [, H& \& D4 ~! b
  784. ;fastcgi.impersonate = 1
    ; X- M8 f% G2 Y2 }" {

  785. " {# t" W0 W" ^3 Y& q. W
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + u! I: B. n$ w2 M' P$ C
  787. ; this feature.
    2 z0 R+ Y3 \6 i1 n1 a% w
  788. ;fastcgi.logging = 0/ h( E9 x( H; c* q7 o% {
  789.   U# F/ M8 l0 w; j( d: P
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , I, [, x* y+ i4 {  ]0 Q4 k9 _
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ j6 e* H2 E6 z" a
  792. ; is supported by Apache. When this option is set to 1, PHP will send. e2 i5 g% I4 @8 H/ W" m
  793. ; RFC2616 compliant header.4 D6 ^% }! G: R. f5 |* Z
  794. ; Default is zero.. g2 H- G( g7 {" R
  795. ; http://php.net/cgi.rfc2616-headers
      d2 [( c7 Y% _7 P0 ^* Q# p) ]3 P  m, O
  796. ;cgi.rfc2616_headers = 0
    ! k9 V6 ~, K$ @1 y. A. b  }

  797. ) y# y0 y9 |3 {
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: w/ G8 l- Q; h" |: M
  799. ; (shebang) at the top of the running script. This line might be needed if the
      T8 E+ Z* Y# d5 T/ `+ @8 g
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    $ Z8 ^5 D5 ?7 `. k9 _
  801. ; mode skips this line and ignores its content if this directive is turned on.: ?) q- }, b4 o7 O# x( j+ F6 B
  802. ; http://php.net/cgi.check-shebang-line
    $ |+ k0 _4 |. P3 b
  803. ;cgi.check_shebang_line=1
    8 I2 i+ k1 C' D/ U1 l1 _

  804. 3 y3 _6 ^* w" |+ B! @" O2 m3 D
  805. ;;;;;;;;;;;;;;;;
    9 a5 y3 n  }( f+ h' O  P5 w
  806. ; File Uploads ;2 a8 ^+ @9 O  ?; \6 G# F( A$ m$ I
  807. ;;;;;;;;;;;;;;;;
    9 i4 z" O, S* B; f1 x% d0 _
  808. " u1 s! [- H1 M9 _1 }6 l3 v
  809. ; Whether to allow HTTP file uploads.
    * N# @- Y3 |# b6 z# X
  810. ; http://php.net/file-uploads
    5 b9 C: ]/ E% ?# ]6 K
  811. file_uploads = On
    / |9 t3 Z% I. ^$ e/ j* M
  812. : Z, Q8 J) M" P2 l& U( }# K; ?) F  P
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    , }' U5 F! ]9 H8 p
  814. ; specified).
    5 f2 F0 ^8 \  f% g" A
  815. ; http://php.net/upload-tmp-dir
    8 L/ f" r. i( p' z% a' e
  816. ;upload_tmp_dir =% Z. P1 V( O; G) ~
  817. 5 @+ I1 G/ F( e& J4 [
  818. ; Maximum allowed size for uploaded files.7 u9 m( v1 W' Y+ J
  819. ; http://php.net/upload-max-filesize
    : h- ~; Y' P2 x0 E- o: H4 B1 V" V
  820. upload_max_filesize = 50M
    6 s& H1 I$ h1 g
  821. - w3 K5 h( ]9 ?! u) g6 l. a* K
  822. ; Maximum number of files that can be uploaded via a single request% f* e1 S  d( E! ^( T0 r
  823. max_file_uploads = 20
    1 O% R5 c/ p. w8 X" G0 w
  824. + b# N1 e% `" D
  825. ;;;;;;;;;;;;;;;;;;
    / j0 f# o3 I! N0 A8 d) x
  826. ; Fopen wrappers ;9 R6 x( y- f0 n7 p! H" U* c
  827. ;;;;;;;;;;;;;;;;;;5 X6 ?5 ^5 ]3 X) b5 h  F
  828. ) r7 h0 Z- Y; Q& ], e3 ~
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / H* C: M# T4 H! o( [9 @
  830. ; http://php.net/allow-url-fopen3 \5 ~" n6 @0 B' p
  831. allow_url_fopen = On  j$ c9 M* @6 h8 o5 Z
  832. ' h9 j9 H0 O# \& w* I
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  ^7 y9 \  t" o' X
  834. ; http://php.net/allow-url-include
    + `6 G- z" q# n; e$ [+ W
  835. allow_url_include = Off) s6 B! W1 z4 z" c8 l" B, y1 g

  836. 3 _3 V8 G5 S, k! x: K
  837. ; Define the anonymous ftp password (your email address). PHP's default setting# D( u2 x* u* U# r. p! C3 E4 f. g
  838. ; for this is empty.: Y7 o2 B4 @; z* t% Y$ K
  839. ; http://php.net/from
    6 z7 h! P5 R4 W6 m% k
  840. ;from="john@doe.com"4 J2 R5 [) W! q6 V; |/ J! J

  841. . F6 H; i3 @" d0 w3 ~- ~# X
  842. ; Define the User-Agent string. PHP's default setting for this is empty.% C" c$ H- E' g% w
  843. ; http://php.net/user-agent
    + F$ |, y+ P! [2 d6 j) D- @1 B  Q
  844. ;user_agent="PHP"
    1 `  e, d. s' L: ?; Z5 K

  845. 5 Y: D! B7 j9 x2 v* X
  846. ; Default timeout for socket based streams (seconds)' i3 W$ r7 q4 @# c. h4 c
  847. ; http://php.net/default-socket-timeout
    ! Q6 c( D2 e6 l
  848. default_socket_timeout = 60
    9 e( G' m5 i3 L7 ~6 p% a

  849. 3 v! j* ~2 }# i, z
  850. ; If your scripts have to deal with files from Macintosh systems,( z7 d. ]6 z2 o5 E; x
  851. ; or you are running on a Mac and need to deal with files from
    # m3 H: u' _, v2 f
  852. ; unix or win32 systems, setting this flag will cause PHP to5 Z$ k6 h: h' i* m7 R, T
  853. ; automatically detect the EOL character in those files so that' Y$ E/ z+ q1 f" S. V9 q
  854. ; fgets() and file() will work regardless of the source of the file.
    & y% `" a6 t) r5 Y0 |( V0 l
  855. ; http://php.net/auto-detect-line-endings
    " C5 A: N' u  a
  856. ;auto_detect_line_endings = Off
    7 `0 Z% n9 `/ u( [
  857. ( R% q7 G3 ]1 p4 ?2 U& k
  858. ;;;;;;;;;;;;;;;;;;;;;;1 D3 _) [8 h( |% |3 O
  859. ; Dynamic Extensions ;
    $ u. I% @8 o9 ~9 p
  860. ;;;;;;;;;;;;;;;;;;;;;;3 K/ r" N; x$ U! a" I  w" K% d) p

  861. 1 i& b1 O, l; Z5 \. X) d
  862. ; If you wish to have an extension loaded automatically, use the following
    2 H$ O) \& g' e1 m6 c! @
  863. ; syntax:
    / F7 {) R' `! z( }7 g6 S5 J
  864. ;
    ) Y; [. X2 S, l6 {0 f/ e9 k
  865. ;   extension=modulename.extension
    8 V- I! ^  u5 e5 s( b8 f4 i
  866. ;
    ) y* B- Q* a) i1 p! g! [
  867. ; For example, on Windows:" w$ p# m$ E* C4 K3 z
  868. ;
    3 d$ R! B( z' `! Y
  869. ;   extension=msql.dll2 p2 {# i8 n$ F$ u4 P& Q- N, s
  870. ;& z! \  u& E. c  ^( c- w! {7 Q
  871. ; ... or under UNIX:; F4 _( w$ i* X9 b. f
  872. ;2 G# M2 [  I( Q6 f
  873. ;   extension=msql.so
    - y% F$ ^. e) l( K; q
  874. ;
    " q. f2 F* a: v! ]- c5 F2 U, d: k
  875. ; ... or with a path:
    - T3 l( @. P1 B
  876. ;2 @0 X5 Y" \1 c$ Y/ X
  877. ;   extension=/path/to/extension/msql.so
    2 G3 O% X" L3 r8 }$ @
  878. ;" n! N* s+ O) H' t8 w* |! i
  879. ; If you only provide the name of the extension, PHP will look for it in its
    / L) g& O; f. ?; J& ?$ B0 x1 a- B
  880. ; default extension directory.0 B' b3 e( m# l7 l/ D% E# O
  881. ;
    - R- @0 ?- u9 w2 a9 [6 L/ n2 W
  882. ; Windows Extensions8 |; l% [, j" X5 p7 o
  883. ; Note that ODBC support is built in, so no dll is needed for it.6 z! A  ?' P5 ^* y  c5 P
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)( h$ ~' \- C; M
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).  V6 I) z' Q! s1 y) g" Y
  886. ; Be sure to appropriately set the extension_dir directive.7 c3 y* J' J! x8 e9 M! C4 B- p  p
  887. ;# ~  A' X1 f+ x2 |3 Q3 c% z( I
  888. ;extension=php_bz2.dll& C& ^8 P8 f& x& [$ R
  889. ;extension=php_curl.dll
    9 l3 ~4 t% l! k/ W0 ~- K
  890. ;extension=php_fileinfo.dll, |3 d+ {' v# K# g- \
  891. ;extension=php_gd2.dll
    4 g* h3 u/ I; u. R8 `. M% ^
  892. ;extension=php_gettext.dll9 k( f9 G  g2 K0 ?
  893. ;extension=php_gmp.dll
    2 ]: A; x1 T, G+ c
  894. ;extension=php_intl.dll
      p! o' T; x7 |4 t5 V2 y# d
  895. ;extension=php_imap.dll
      j7 B( |0 O# V# i/ Q" s/ C' Y* f
  896. ;extension=php_interbase.dll
    ( |- V8 }! a* t. I' i1 @( m
  897. ;extension=php_ldap.dll( b+ a  s+ R; y- Z& u3 D5 n% `
  898. ;extension=php_mbstring.dll
    $ s$ Y4 K# l, y. r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it+ p/ H3 M6 h7 Z) W. k& p
  900. ;extension=php_mysql.dll
    + D/ @- Z* H. a# g1 m3 X' K
  901. ;extension=php_mysqli.dll
    0 S4 S; V8 u7 m4 j
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- G$ s$ u4 P( L1 v. ~- J) @
  903. ;extension=php_openssl.dll
    ; i8 C' r/ Z: d# c% u  |
  904. ;extension=php_pdo_firebird.dll& o. s/ U/ @/ N. i* o9 R4 M5 U+ S8 g
  905. ;extension=php_pdo_mysql.dll
    $ i, v6 Y4 L7 p5 U) S/ m2 M
  906. ;extension=php_pdo_oci.dll
    , A- R0 o* E7 c/ c  |
  907. ;extension=php_pdo_odbc.dll# q; n8 u# B* O
  908. ;extension=php_pdo_pgsql.dll5 K% U; b9 S" g& }" G
  909. ;extension=php_pdo_sqlite.dll
    2 w  [# ^2 ~% h9 l$ k/ v8 J) W
  910. ;extension=php_pgsql.dll& k4 A$ b+ m6 Y/ \& u4 w
  911. ;extension=php_shmop.dll8 C) X6 L3 Q2 J

  912. 0 i: P& o, F" K9 H
  913. ; The MIBS data available in the PHP distribution must be installed.
      |3 z9 v% ~) ]$ H5 j1 }9 O
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 J% z3 X! I; [5 u& v. l
  915. ;extension=php_snmp.dll9 g5 o) @% \* r6 b$ \/ W

  916. 0 v9 d4 k, {, b1 _
  917. ;extension=php_soap.dll! l, N5 o/ r5 {3 e* S  j3 W
  918. ;extension=php_sockets.dll* D( v8 }6 x: r. O: K$ ^
  919. ;extension=php_sqlite3.dll
    8 T: P: t7 S0 t0 L4 r! \" |
  920. ;extension=php_sybase_ct.dll3 _  a8 N( j6 e2 D3 @; m
  921. ;extension=php_tidy.dll: p0 d7 T# }7 g1 [$ G9 C
  922. ;extension=php_xmlrpc.dll
    ( L% ?4 r. [; A  S+ _; G- I
  923. ;extension=php_xsl.dll  g' X$ B$ @1 X& ]7 B( I$ B7 H

  924. / [' u' p3 S9 Z  D1 f8 k3 V
  925. ;;;;;;;;;;;;;;;;;;;
    ( _  ], G: [, r8 q, L
  926. ; Module Settings ;
    $ U- Z0 L1 a7 `" M' N
  927. ;;;;;;;;;;;;;;;;;;;3 x/ M- Y9 t! _0 B" ^( Y  E( Z1 R

  928. . l% W5 ?* P' V: H) e0 U
  929. [CLI Server]
    9 R8 S& l1 V, _) _5 v
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    . ?: _% N' _! o6 |7 G5 e
  931. cli_server.color = On
    9 D6 d3 o- Z, @% h

  932. * s  k4 {' O. E; ]4 n+ `7 T) F
  933. [Date]9 H2 X8 B3 r/ [, t  K5 N
  934. ; Defines the default timezone used by the date functions# m+ E6 s! J# N$ ]" D0 r; M2 \' M
  935. ; http://php.net/date.timezone. k4 ^" W% l6 k; T! v1 [- ~
  936. date.timezone = PRC( o0 y/ Y+ R0 B6 W+ }; u' n. T

  937. & z3 E; [6 T1 l/ w0 P
  938. ; http://php.net/date.default-latitude# F1 g- |; |; y" N8 N1 k2 f
  939. ;date.default_latitude = 31.76670 q, Z9 x, S0 E# ?
  940. 2 n6 z* b6 N' B: {  ?6 R
  941. ; http://php.net/date.default-longitude" c" N' I  R2 t% q, O! S+ G
  942. ;date.default_longitude = 35.2333
    9 `& V* B7 {- s. a1 E- ^+ T
  943. * x! W8 |- ?! r+ I! x' @) S
  944. ; http://php.net/date.sunrise-zenith$ F: V& v6 d$ P  }9 e  R0 n
  945. ;date.sunrise_zenith = 90.583333
    . V/ d' v% O# W" x
  946. 1 i  M& [) F( ~. P1 g6 q
  947. ; http://php.net/date.sunset-zenith
    + x; P  w; l% D
  948. ;date.sunset_zenith = 90.583333
    . N$ s+ i7 t' \3 S
  949. 9 c% ~$ c" i5 Y0 \. o; ?: n
  950. [filter]; g$ x& Y& N0 @% L5 U
  951. ; http://php.net/filter.default: U: H8 d. J5 C! e& i8 `
  952. ;filter.default = unsafe_raw2 j+ k1 B0 a# @' V2 [2 p, c
  953. ( H: \  e. ?& [+ F
  954. ; http://php.net/filter.default-flags. \  ?( f9 W! D- m1 l# ]4 S" a
  955. ;filter.default_flags =
    ' H9 s' S" J6 R9 @" |4 q0 v9 {; k" G

  956. ' b$ |& u/ ^% Y
  957. [iconv]
    0 r+ |5 m& u2 }* q: Z2 L
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! D% h2 R8 x* H* ~
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    / g" P. I( n' t1 O0 v
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    % s5 x* Q* v) x, b" L
  961. ;iconv.input_encoding =
    ; o' j9 s, i( @* x

  962. : l& |0 q! ~' M9 j
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.* g2 c: f$ c/ L- m" t. A9 |) m2 j
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; J) {  P  ~3 z8 \# w
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 p% q& o) X& U* O
  966. ;iconv.internal_encoding =3 p* Q( V$ O' ?0 ?

  967. 8 d3 U3 U% ]8 ]
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  U2 G6 L* q& [# ?1 e: ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.. ?2 L( T6 e/ t/ {, w9 _/ A: y7 e
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding3 J4 s$ b/ n, P. j* Z0 Y- c, H
  971. ; To use an output encoding conversion, iconv's output handler must be set
    ! C6 f' ^2 _+ F& d1 ?) D3 D  C6 ~, B
  972. ; otherwise output encoding conversion cannot be performed.
    ( m2 o* B7 B* _4 i: _
  973. ;iconv.output_encoding =; x; N, W# O1 Q" e! F1 i/ q4 ]+ [
  974. 7 U* d; L9 ~9 E: T" z
  975. [intl]
    ; l4 m7 }3 ]  I
  976. ;intl.default_locale =
    9 E" A1 _  I+ C4 T; d
  977. ; This directive allows you to produce PHP errors when some error! g3 R1 b7 p8 X: C
  978. ; happens within intl functions. The value is the level of the error produced.
    6 O: O' }6 _% H% [! C
  979. ; Default is 0, which does not produce any errors.# t4 {5 U* P$ R8 ~% e/ l9 N& t
  980. ;intl.error_level = E_WARNING
    - P" M' M; ]* F/ S
  981. ;intl.use_exceptions = 0
    1 V, W/ Z8 F& `. l. [$ [2 G  K
  982. % _9 _8 o% S7 X% M1 m) s8 Y5 i
  983. [sqlite3]5 i/ L% z- T' Q- z2 T% h
  984. ;sqlite3.extension_dir =
    7 r- R8 z9 q2 l; B" a

  985. ( }0 y7 m: q* \5 D7 ?4 n1 c
  986. [Pcre]' \& Q) s  e# j' [: B- [, S
  987. ;PCRE library backtracking limit.
    ; w$ H1 f* g/ p7 {0 D$ x
  988. ; http://php.net/pcre.backtrack-limit
    3 c1 O4 B$ R7 n: Q" q) e
  989. ;pcre.backtrack_limit=100000: f3 o' a  R7 z% d3 r, R$ q1 w/ `
  990. + |( q) ]( \6 B# N
  991. ;PCRE library recursion limit.
      g& N* l- z$ v5 k# a
  992. ;Please note that if you set this value to a high number you may consume all' h* t7 X3 i7 B
  993. ;the available process stack and eventually crash PHP (due to reaching the+ \: {! Y- K1 G+ J. J
  994. ;stack size limit imposed by the Operating System).
    9 u9 B3 n7 \# ?$ d% g
  995. ; http://php.net/pcre.recursion-limit
    / J; A# g: `& o2 J8 c- I
  996. ;pcre.recursion_limit=100000
    # ?6 H3 E' ~) Z& s6 p0 P
  997. % k0 W3 r  f6 {& q) @
  998. [Pdo]
    8 Q. r. F6 R4 p
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 `# V+ ^0 G/ D  d( n
  1000. ; http://php.net/pdo-odbc.connection-pooling
    8 q5 \1 F$ N( E. C# q, R
  1001. ;pdo_odbc.connection_pooling=strict' P) f! W, c  G. x' u1 m1 L5 g% H
  1002. ' Z, V1 m2 X9 p; ]0 p& b
  1003. ;pdo_odbc.db2_instance_name
    , J2 H/ X* I& D+ a. T- ?: J
  1004. $ Y9 m. [4 m) B! |9 k& e- M5 T' O
  1005. [Pdo_mysql]
    : u7 h/ Y( E8 X
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache, c5 a* `( S9 G0 M
  1007. ; http://php.net/pdo_mysql.cache_size
    9 |1 F: ^: V9 C! k- a) j0 ?
  1008. pdo_mysql.cache_size = 2000
    0 Z0 d/ U/ {: s+ |. Y6 s
  1009. 4 H0 k/ x) T$ A5 p4 F8 ^, Q
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * }# s. l# K2 a( c. x- j
  1011. ; MySQL defaults.+ u, `" D8 D. \# ^
  1012. ; http://php.net/pdo_mysql.default-socket
    , ~3 J) _& O( w+ r  D
  1013. pdo_mysql.default_socket=6 l, Q9 J3 z# F' T9 H6 F
  1014. 1 g) O. a( b6 p; q3 a3 Y6 p
  1015. [Phar]7 Z3 ^7 c% @; U9 s/ _
  1016. ; http://php.net/phar.readonly" p( I* z9 c4 z3 i3 P% `+ O$ ^
  1017. ;phar.readonly = On
    5 i. d2 ~0 u) K( G
  1018. % E7 J) f# i: c. j1 p$ X
  1019. ; http://php.net/phar.require-hash( V& s& _) P5 g
  1020. ;phar.require_hash = On
    & b2 H% l9 F0 z7 J* Y/ J
  1021. " Z" x" E4 L4 A* p7 O0 M7 Q
  1022. ;phar.cache_list =/ X; k- S, o+ V

  1023. : ~; i  d, Z+ n. O' G% ~. b' t
  1024. [mail function]
    8 n/ l1 ~+ a* v2 Q# d
  1025. ; For Win32 only.
    - d, E2 e6 d) b7 G6 W0 M; d& @
  1026. ; http://php.net/smtp
    1 k, F9 {9 h/ x  B# D0 D- K+ d
  1027. SMTP = localhost0 G4 H2 W- {7 V( Y" _, u$ Z* P: W
  1028. ; http://php.net/smtp-port9 a8 k# t; |: g* E% y
  1029. smtp_port = 25/ Z( r2 a) m5 r; |, l, E8 U: l
  1030. # f2 o! p9 m5 l( q* _$ Q& _6 m
  1031. ; For Win32 only.- C3 ~, M. o2 {% H' F
  1032. ; http://php.net/sendmail-from
    6 o; `" X! T) O7 ~$ k
  1033. ;sendmail_from = me@example.com
    2 J2 h0 {$ O3 m6 ^) S0 g5 i

  1034. ' B* ]5 h& \4 w# [/ D. C
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    6 K+ ~  }+ c7 a
  1036. ; http://php.net/sendmail-path
    # s  B: R8 p0 i9 D% X! v
  1037. sendmail_path = /usr/sbin/sendmail -t -i' U$ I% A4 Z. d: ~/ L# Z
  1038. & s% i6 v* D/ N* D" r
  1039. ; Force the addition of the specified parameters to be passed as extra parameters) A% H& o( c( Y4 }& ]! s" W
  1040. ; to the sendmail binary. These parameters will always replace the value of+ @; d1 _3 b! i
  1041. ; the 5th parameter to mail().9 G) R8 _( x) E/ S
  1042. ;mail.force_extra_parameters =$ L4 s5 x. X4 t- m) W2 c
  1043. 8 x5 y* i$ m; A* [+ |8 R
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 [9 l/ G2 h% {1 ?4 N
  1045. mail.add_x_header = On
    2 ?6 q$ i( W" {+ W% `
  1046. 7 o0 X6 p7 X7 y: d* _+ t
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + `* G3 }( \" ?4 L2 t% G* ^# f  p, o
  1048. ; the full path of the script, line number, To address and headers.( s3 }/ Q9 k; E1 Z
  1049. ;mail.log =
    0 Q2 H; a( _. \( J6 ], F' f: P
  1050. ; Log mail to syslog (Event Log on Windows).
    3 q( D- c$ M7 H+ r
  1051. ;mail.log = syslog& D9 I, |0 R6 U) c
  1052. $ S0 c& D8 y8 W
  1053. [SQL]' }' @7 l! w, D9 t6 d% k# r
  1054. ; http://php.net/sql.safe-mode
    ' V- L1 ^. C, B( _
  1055. sql.safe_mode = Off" X2 U7 X0 }  j" D. X0 N! |

  1056. ) _& o* W/ }0 c7 f( i
  1057. [ODBC]
    6 W. p% ]. s+ ~- A& p( s
  1058. ; http://php.net/odbc.default-db! ~$ N6 \" d; H. x$ v$ J! r6 m( Z
  1059. ;odbc.default_db    =  Not yet implemented: e# a/ X+ U9 a9 [9 C
  1060. - r# X$ _, R8 j; |. ~. t* D, s
  1061. ; http://php.net/odbc.default-user2 j: |8 q8 ?  x$ J' p( X) K' D
  1062. ;odbc.default_user  =  Not yet implemented
    6 q1 M0 H  Y$ s
  1063. / g5 s, ^- T. Q2 h9 m
  1064. ; http://php.net/odbc.default-pw
    1 r5 |- u- F' X/ D1 ?6 k- Z
  1065. ;odbc.default_pw    =  Not yet implemented7 E, t3 `2 r3 I
  1066. . u$ x+ t; o: H7 w. N+ c, ^
  1067. ; Controls the ODBC cursor model.
    8 Z0 l1 M: `* m9 v3 y' y1 q4 B
  1068. ; Default: SQL_CURSOR_STATIC (default).. |9 Z6 R8 T3 v% H, x4 M/ |% {) a* x
  1069. ;odbc.default_cursortype
    " H% S; D" S4 r! t

  1070. $ h8 d$ ~" z. R4 Z
  1071. ; Allow or prevent persistent links., o( q) }2 M+ v$ k6 c7 M5 a5 s! P
  1072. ; http://php.net/odbc.allow-persistent
    5 T/ c# Y0 t2 X* c! g; }
  1073. odbc.allow_persistent = On* e$ e. ?  e! i$ U0 v: H4 w0 c
  1074. ! K5 u( V- x: A- a; m7 C3 q( i7 a" y
  1075. ; Check that a connection is still valid before reuse.
    ! R( s- I6 g% h) R( F
  1076. ; http://php.net/odbc.check-persistent% w: R& ~  D0 {; ~
  1077. odbc.check_persistent = On$ z+ F8 Z5 v2 A+ r% Y- A

  1078. - q7 [5 }( Z) W/ h0 L* B
  1079. ; Maximum number of persistent links.  -1 means no limit.$ O: h2 H: `7 w9 q. K- ?1 B; x6 A& r
  1080. ; http://php.net/odbc.max-persistent
    ( w( g7 X( U* H$ H5 C7 M! G: e3 j7 f
  1081. odbc.max_persistent = -19 C4 W  \; W# T8 J" `
  1082. - @5 D4 y& \; `+ u  R' T
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * k$ L' W5 e7 ~' e% g% _, S, r# T
  1084. ; http://php.net/odbc.max-links
    $ X- S+ O5 f6 y* p
  1085. odbc.max_links = -13 B+ l$ A3 q4 Q. v/ z. b) S
  1086. # m. o! m, u) o
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ J0 R# R) G9 D) w( l8 \
  1088. ; passthru.  R) e; T1 p! K; _# M4 I, C
  1089. ; http://php.net/odbc.defaultlrl
    7 w" e; q) U1 W) P
  1090. odbc.defaultlrl = 4096
    6 u% {1 ^. e, c
  1091. 8 r: i; n& m+ u: B1 r; X
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  ^  W6 R2 R" h
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation8 M& {' |' H4 G; L: P0 _
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # M% H$ \( G  T
  1095. ; http://php.net/odbc.defaultbinmode+ x& Z2 h* Z, c5 w# L& S+ E$ k/ s. k5 Y  q
  1096. odbc.defaultbinmode = 1$ c9 G1 Z* f9 }
  1097. 9 ^5 u5 ~' e7 _$ a" t" g- O
  1098. ;birdstep.max_links = -1& p; k+ J$ T8 Y$ Q
  1099. 8 n. M3 |* i; _: X
  1100. [Interbase]) b. X  A% I; G8 P( N
  1101. ; Allow or prevent persistent links.
    - W' b2 O0 e% S/ \6 u- C
  1102. ibase.allow_persistent = 1  S! N! [$ ~2 Y6 B8 m, a
  1103.   J; W  S0 f0 d$ |9 E
  1104. ; Maximum number of persistent links.  -1 means no limit., Q/ }0 J5 _* P
  1105. ibase.max_persistent = -1* c& P9 J: ?$ N/ \: ]+ \
  1106. 5 d7 q4 P8 K0 R/ P$ H2 t, J  Q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., P& f& }. U/ Y' t) `8 Z' s
  1108. ibase.max_links = -1; F2 ^3 F* Y# ?0 M% j, w( q- M

  1109. / t9 k$ b! D( j; Y* m
  1110. ; Default database name for ibase_connect().
    8 I) s; J# x8 z
  1111. ;ibase.default_db =
    + A0 ]! c' K8 \( S1 C
  1112. ; m% @7 }/ k" [# t' N2 C/ ]8 q
  1113. ; Default username for ibase_connect().7 J8 S; R+ Z& K4 a
  1114. ;ibase.default_user =, j7 _" b9 t$ Q8 o3 X
  1115. # f( @2 D6 I2 U
  1116. ; Default password for ibase_connect().
    $ M( \  w# E6 I
  1117. ;ibase.default_password =' m4 n  X2 {1 b" O, M, U  A/ o

  1118. - \% Y! w, H) a; w: O
  1119. ; Default charset for ibase_connect().0 b/ A4 j" ~! C+ B; b* f
  1120. ;ibase.default_charset =5 \) {5 g6 |% l: s

  1121. * W9 D; M( a/ A! q* e# l8 a
  1122. ; Default timestamp format.  W% ]  W* |2 o
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; x# ]1 {, K1 p: d" `

  1124. - L5 P* M/ x4 C  X  Q+ H5 b
  1125. ; Default date format.
    0 N! x* f1 S* ]2 c0 p! g
  1126. ibase.dateformat = "%Y-%m-%d", M4 ]* O* X0 c9 y

  1127. 7 l; [& J7 F5 G( X  a: h
  1128. ; Default time format.
    ; X8 ~; U: R# i$ L  P. F' h8 t
  1129. ibase.timeformat = "%H:%M:%S"
    & m& U8 e8 ], R: {( W

  1130. ! F. E) b  [3 @$ ]  L
  1131. [MySQL]/ w- l. T/ r. B; V6 r' M9 t
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' h9 Y# T7 S  _) k6 N
  1133. ; http://php.net/mysql.allow_local_infile7 ?, n( ?0 B, Z5 k
  1134. mysql.allow_local_infile = On
    3 y( p; |; W  B7 D' n1 Z

  1135. ) w$ @, q4 o/ U  L1 Y' V, S$ {
  1136. ; Allow or prevent persistent links.
      R9 ^/ {! l! l' Q; i
  1137. ; http://php.net/mysql.allow-persistent& |7 |4 N) e  a! L" {
  1138. mysql.allow_persistent = On
    $ d6 y% Y5 k9 M7 Q+ P/ ^" {

  1139. # a; C, F+ `  K' P
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache3 Q) n' k9 a+ W! y$ Y$ O9 |) W
  1141. ; http://php.net/mysql.cache_size
    9 R$ R! j3 B$ E, |& T
  1142. mysql.cache_size = 2000
    7 i# I% K1 V, `8 ^2 w, s

  1143. " y, f- L' _' _' I8 `. f+ d& l' n
  1144. ; Maximum number of persistent links.  -1 means no limit.2 C: U6 p6 O8 r9 c
  1145. ; http://php.net/mysql.max-persistent
    " l6 O. B8 D' ~( F/ i/ ^
  1146. mysql.max_persistent = -1
    - a7 W/ A2 L) b2 n- ]" L" q. m
  1147. # `0 A$ w* `. Y! m6 s; @4 B% I
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# `% p# M9 e4 W
  1149. ; http://php.net/mysql.max-links
      k$ ~; S1 U: `
  1150. mysql.max_links = -1- R; o3 }2 L- C9 r  ~( w3 z' i+ R! k
  1151. * w  c) ^" C4 y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use0 D: S, g7 {' C6 `0 E3 p0 K
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the& O" {2 H+ Q+ m8 a
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- |( n9 h! \+ N/ R
  1155. ; at MYSQL_PORT.
    1 m* u2 C) ]$ _4 m1 Y$ C
  1156. ; http://php.net/mysql.default-port% A& Y+ [/ x9 T$ h3 C0 G
  1157. mysql.default_port =# l1 Z3 c- k8 C

  1158. $ }5 X: h& s* }1 f* Y/ i4 h) `
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ l- l( I% K5 e# j2 ~" j' L
  1160. ; MySQL defaults.
    % N+ t8 @7 w7 f, I9 \2 F
  1161. ; http://php.net/mysql.default-socket; h! @4 W" Q# I  X5 L
  1162. mysql.default_socket =! m. I' Y6 b  N; V- }& I9 X4 t+ }

  1163. + j4 Z) d4 j2 \; h9 C
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).2 n5 r/ P$ P2 _" I% l0 a2 F4 q1 p& h
  1165. ; http://php.net/mysql.default-host
    5 v* P  i% ]! W! ?
  1166. mysql.default_host =
    % G0 u, g3 @8 C0 ~1 l7 m

  1167. : d7 c% P8 @1 L+ Y' _" p
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)./ L, D" o8 R8 \/ X: z
  1169. ; http://php.net/mysql.default-user7 _7 [3 M3 z$ q# C6 u5 U
  1170. mysql.default_user =
    7 l% E% C2 [* G0 A, M8 z5 @, T
  1171. - C. B- V4 A, T) y
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).% S: T, S3 U/ i' u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.+ s: [! Q5 S6 l2 ~; n. [* h( p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    , Y, ?' A: e/ G. i
  1175. ; and reveal this password!  And of course, any users with read access to this
    , J2 v6 G- S! M) A3 S& {
  1176. ; file will be able to reveal the password as well.
    7 ~, X* l( q- |& ]# O: y6 L
  1177. ; http://php.net/mysql.default-password
    0 E2 l! F# n3 K1 e: {! C$ K5 a
  1178. mysql.default_password =3 @1 T! u6 W0 l7 P! N8 l
  1179. , P! x& y3 u5 \: I) R! e
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ( Q) i7 A9 P. ]6 F
  1181. ; http://php.net/mysql.connect-timeout
    ) X' \% ~/ n, Z. h; t
  1182. mysql.connect_timeout = 60( x6 }" U- X2 I

  1183. " ]3 t% U4 D8 G
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    9 ]" `/ i) H% l  {8 z7 q* A
  1185. ; SQL-Errors will be displayed.
    4 e8 M# _3 }' ]1 ~
  1186. ; http://php.net/mysql.trace-mode
    " n& ?7 l: u3 ^* M
  1187. mysql.trace_mode = Off+ ^( x" L: P- c. [9 u2 R9 u

  1188. . B& I# N" U# L6 b: S! j) }: q
  1189. [MySQLi]
    . J' A5 x. r3 s) P7 T

  1190. % [5 g* e+ d0 K3 I9 F
  1191. ; Maximum number of persistent links.  -1 means no limit.
    0 e4 D* _6 u% r6 w* d& {
  1192. ; http://php.net/mysqli.max-persistent
    - j) n- f+ H: s4 Y9 W/ j: V) N
  1193. mysqli.max_persistent = -1
    ' s8 j( L% s$ @- a2 u

  1194. ) U% w1 d) g6 J& N
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 m3 B$ g( d9 r, P
  1196. ; http://php.net/mysqli.allow_local_infile! H- l% j% G9 k: o( C; i
  1197. ;mysqli.allow_local_infile = On! q& v' T+ ]' Z5 Q! o
  1198. + c1 C" C7 ^+ A6 r1 g8 Y0 {  p9 F
  1199. ; Allow or prevent persistent links.
    + y. j+ c/ Y: P, [4 J+ k. `
  1200. ; http://php.net/mysqli.allow-persistent
    4 j2 I( X! t$ e( q+ B0 o
  1201. mysqli.allow_persistent = On
    2 Z4 N8 k- {/ w- N2 p8 k. @5 Y
  1202. ; X- k2 b0 I. v5 B3 ?$ J3 v/ u
  1203. ; Maximum number of links.  -1 means no limit.
    ' t/ F% y; q& u# f
  1204. ; http://php.net/mysqli.max-links# k$ P- ]3 r( r- Z% Q
  1205. mysqli.max_links = -1) E8 T; r1 L$ {  W

  1206. 1 q2 l( M4 D# v5 G8 J
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache- _: d1 k8 M8 J9 v  @
  1208. ; http://php.net/mysqli.cache_size1 j( H6 x0 I1 Y! s1 M2 i
  1209. mysqli.cache_size = 2000
    5 s: H! k; b# k+ L

  1210. $ y7 T' A5 W: h& z" B# V& `8 a
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use( E6 c6 _: l3 b4 ?7 s& e& ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the# f& F/ o4 w4 x2 P! ]' Z
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) O0 ~/ t, [3 J5 x. C' c7 N
  1214. ; at MYSQL_PORT.
    / [+ t- s* I, h; c- X9 Z
  1215. ; http://php.net/mysqli.default-port- ~& P; R1 B. s1 G
  1216. mysqli.default_port = 3306
    ' ~; @. [9 w$ A* K1 J3 B

  1217. # I8 G, j$ n' K* M
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 O3 `; I4 Q% M, f  w- o
  1219. ; MySQL defaults.
    : \: _1 ^4 c+ d0 x8 p5 T) `5 |
  1220. ; http://php.net/mysqli.default-socket
    2 c7 |' ^; b" i0 B; l# b/ l
  1221. mysqli.default_socket =
    1 a% s! ~5 G1 n
  1222. ) ]" b' _- y8 a
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 W- _5 U" X6 m( b# x7 d" W( ~9 [( n
  1224. ; http://php.net/mysqli.default-host
    1 r1 @5 l# v! i" F% P
  1225. mysqli.default_host =
    4 Q8 O1 d* p/ K
  1226. , P& i8 q  f! N, F* I( ]" c
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).0 }# k6 z1 a. J" ]& _( ^
  1228. ; http://php.net/mysqli.default-user
    $ z+ c9 L. o8 x- c8 i
  1229. mysqli.default_user =3 y9 z1 r! F3 V% t. j' ]! {; F* ]

  1230. 7 w* Q2 k$ N5 q; }6 b0 _7 y
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) |" z- s2 p5 K7 r: s& R! j. @
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
      ^5 ~% ?3 S7 P+ q" a5 v0 e! f
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( r! Z" V# _" m# ]" _: j: T
  1234. ; and reveal this password!  And of course, any users with read access to this
    ' x% ?( L3 G+ v
  1235. ; file will be able to reveal the password as well.
    # S+ P1 q6 n& {4 x- N. q, l$ x
  1236. ; http://php.net/mysqli.default-pw/ h% F: s# q" T# W
  1237. mysqli.default_pw =
    ( j# E" s- Q+ u$ p/ Z2 E
  1238. * x# W1 T0 l" L+ {& m4 u: E
  1239. ; Allow or prevent reconnect
    6 E& [) U+ n0 v0 J
  1240. mysqli.reconnect = Off' N0 m- P' h( b& }* S( d

  1241. - |7 Z: V% t, I
  1242. [mysqlnd]
    $ R4 L$ ^8 v$ G3 _' o* b
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . j2 \8 p% X2 V
  1244. ; used to tune and monitor MySQL operations.- T) j, S' ]0 |( \$ a9 O
  1245. ; http://php.net/mysqlnd.collect_statistics/ @4 y; ^. ^8 _& y
  1246. mysqlnd.collect_statistics = On
    $ ]; |& C8 u5 J

  1247. $ X* A' Y0 v- t2 H
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be9 V) ~% F0 \: J' ^4 u2 K  ^
  1249. ; used to tune and monitor MySQL operations.
    4 s/ K4 ?' d/ F+ A6 e) K; `
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    5 ]+ z. A3 a, A# `6 H3 x
  1251. mysqlnd.collect_memory_statistics = Off
    6 [% [* F/ g7 ]  \- |
  1252. ( E! T  E/ B( f2 P6 ?
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    3 O; |3 V: I  J$ D3 t( Q- E: I7 B
  1254. ; file.
    * o0 r6 v) {6 C7 O# V# O
  1255. ; http://php.net/mysqlnd.debug
    ! v' ?, S3 s9 \
  1256. ;mysqlnd.debug =
    4 i0 {. h! r9 k1 I9 C

  1257. $ q5 X) D6 O- l
  1258. ; Defines which queries will be logged.
    . ^" J& T( p5 y: @/ A
  1259. ; http://php.net/mysqlnd.log_mask
    / ]2 k5 U: v. s. H
  1260. ;mysqlnd.log_mask = 0
    ' A1 V" S& y9 K$ ]5 }

  1261. ! H9 \# C! U9 z0 F3 Z3 N
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ( d$ G; Q- @- y( L. j
  1263. ; http://php.net/mysqlnd.mempool_default_size) Z3 Z; I8 @0 N/ [. |5 Z1 X& W$ r
  1264. ;mysqlnd.mempool_default_size = 160007 u, ~8 n3 r, f2 W7 i( h

  1265. 4 Y/ O# x3 `$ {, Z/ T+ s$ `
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 m( v6 S# s. @' W8 h
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size) A- t* L6 K1 D: k; `. V, h
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    2 d8 [0 Y+ \: E: y+ g
  1269. ) n+ t. }8 m! ?
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    / w; R) d  }) J& [9 Q0 V
  1271. ; bytes.4 u: R( R$ d, h/ V2 _+ p
  1272. ; http://php.net/mysqlnd.net_read_buffer_size/ J3 ?4 i1 R/ ?
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ' t: o' t! n5 o: X

  1274. 7 \* q) F" K+ l
  1275. ; Timeout for network requests in seconds.
    0 E. {' C0 m, Y+ Q, x. p
  1276. ; http://php.net/mysqlnd.net_read_timeout
    $ w) ]7 T9 Q- J" w# W' `' ?* S
  1277. ;mysqlnd.net_read_timeout = 31536000* B  P) ]4 o- F) `  p4 w) E, E9 {( a
  1278. + s) \9 k0 y. _  Z! i# P
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - J% w, Y& g- Y% \& K
  1280. ; key.
    / E7 S& l6 E0 f) z9 ?
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    5 h1 p+ b/ y/ l
  1282. ;mysqlnd.sha256_server_public_key =1 r1 e( F1 N4 J3 C' [5 F6 V+ d6 n

  1283. * X* F6 c0 A2 z# D" E
  1284. [OCI8]
    7 R7 r2 C" `; c1 a4 r4 q

  1285. 2 x, _& d/ c0 ]( b  ?% O8 O" `- _( W
  1286. ; Connection: Enables privileged connections using external
    3 t: P8 @$ r" Z) H
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 Q. h1 B# H: t" O! \/ ^) I9 b
  1288. ; http://php.net/oci8.privileged-connect
    & c5 _, E* `* P: `/ X  E
  1289. ;oci8.privileged_connect = Off( ~; U0 X: b0 r  J

  1290. . T# I  l( e. U& u" j
  1291. ; Connection: The maximum number of persistent OCI8 connections per* z' K$ @& c/ h0 ?# G+ O* [
  1292. ; process. Using -1 means no limit.
    1 k# H! Q: l1 V: W( T  Q
  1293. ; http://php.net/oci8.max-persistent
    8 H" }( X$ ?8 f( s/ ]  c/ O# ^$ a
  1294. ;oci8.max_persistent = -1* I9 u8 Q; D! l+ X, x4 ?4 P

  1295. " ?$ E( f* x) A4 [
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ' X  c# @9 y' v# N+ d
  1297. ; maintain an idle persistent connection. Using -1 means idle  I, K% Z7 E4 e7 K# ?3 V3 K! @
  1298. ; persistent connections will be maintained forever.  }2 [$ x- @8 e5 x& g: L
  1299. ; http://php.net/oci8.persistent-timeout8 N* ^4 Y: C3 W$ @+ x: f
  1300. ;oci8.persistent_timeout = -1
    ! B& I! `! m7 p4 W* `4 C0 I
  1301. # u# H2 _, e$ z+ N9 T: `
  1302. ; Connection: The number of seconds that must pass before issuing a
    ( J' _% j! p6 t: N
  1303. ; ping during oci_pconnect() to check the connection validity. When, {" w' D4 `  {$ `( B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables1 n4 m- R( I" k3 G- N" V
  1305. ; pings completely.9 I  _: R2 A( Z8 k
  1306. ; http://php.net/oci8.ping-interval
    3 i0 `" Z! U, H3 L" }, A( M
  1307. ;oci8.ping_interval = 60; R+ _. s$ f0 j" p

  1308.   @) r( Y3 e' I5 O% s
  1309. ; Connection: Set this to a user chosen connection class to be used
      s2 S2 w+ `8 T4 D
  1310. ; for all pooled server requests with Oracle 11g Database Resident' M6 S% p* y, f( g
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to! e3 X' I5 k+ o( |3 q! b
  1312. ; the same string for all web servers running the same application,3 `6 o0 j1 \7 M1 D
  1313. ; the database pool must be configured, and the connection string must
    9 n# L7 |2 j+ l
  1314. ; specify to use a pooled server.  O/ S8 j; s9 U3 Z6 ^% ?. Q
  1315. ;oci8.connection_class =
    / k: l8 P$ n6 p* Z  z" ]9 r0 S

  1316. . x+ [) P( C' H# {
  1317. ; High Availability: Using On lets PHP receive Fast Application/ ]( w  @3 m9 s2 C' a3 w$ [
  1318. ; Notification (FAN) events generated when a database node fails. The( W3 a2 @  }6 j5 s  }3 V$ |+ A
  1319. ; database must also be configured to post FAN events.
    ) b$ u9 S& I, {# P( A# Y1 K; |
  1320. ;oci8.events = Off
    " H: c9 Z2 c+ h2 c: o' v2 I

  1321. 9 U- l; t2 {" V, b
  1322. ; Tuning: This option enables statement caching, and specifies how
    & s/ P& _( z; W! p6 i, o# h
  1323. ; many statements to cache. Using 0 disables statement caching.) v, R5 R( g- }6 }) \; l
  1324. ; http://php.net/oci8.statement-cache-size
    ! H/ m% t+ Q# e7 B6 v
  1325. ;oci8.statement_cache_size = 20
    ' d) ]" j6 }# z8 Q$ ^- ^. U# ]
  1326. - B. R: S# c0 z  R1 _& M
  1327. ; Tuning: Enables statement prefetching and sets the default number of/ R9 m6 A/ u4 B5 D1 _6 X2 f: R
  1328. ; rows that will be fetched automatically after statement execution.9 N9 i" \9 L: X7 _/ x
  1329. ; http://php.net/oci8.default-prefetch0 y" W0 D6 h* P- Y4 w% k/ f- k
  1330. ;oci8.default_prefetch = 100
    9 P+ `- g; m/ o% L* w0 O# |  y# n

  1331. - @* ]1 ?3 p/ Y; y: s
  1332. ; Compatibility. Using On means oci_close() will not close
      A4 t" [* J* u: H) _& y6 `! }
  1333. ; oci_connect() and oci_new_connect() connections./ m: w7 d6 F0 n" G
  1334. ; http://php.net/oci8.old-oci-close-semantics! k2 s% `# [6 H4 T! L/ a
  1335. ;oci8.old_oci_close_semantics = Off
    ) m( b. q7 a% i* X2 C5 {
  1336. " i- u" h. [( U4 D9 Q& `
  1337. [PostgreSQL]# J" p7 a3 {( ]1 a. w& q
  1338. ; Allow or prevent persistent links.
    ! y: P: j: h  i8 R9 P! Q- @
  1339. ; http://php.net/pgsql.allow-persistent
    & A0 c$ D1 N5 Y9 s( H! r
  1340. pgsql.allow_persistent = On
    ; X, ~4 F5 j  l- u" A5 j) _( Y9 M

  1341. 1 B9 ]# x2 L9 b- `; _0 E& ^
  1342. ; Detect broken persistent links always with pg_pconnect().
    & S( n  B3 k+ ^1 f: W- J. A
  1343. ; Auto reset feature requires a little overheads.4 \' e* U( N3 T. s: E1 i
  1344. ; http://php.net/pgsql.auto-reset-persistent
    & E& N" Y, r0 a
  1345. pgsql.auto_reset_persistent = Off
    * O% {* F+ u4 ?! W5 H8 k2 q1 ~# a

  1346. & k/ R3 L6 _1 W
  1347. ; Maximum number of persistent links.  -1 means no limit.& M' S  m# i( A/ |4 E6 [
  1348. ; http://php.net/pgsql.max-persistent4 y0 [% m5 r" b' ?' t) \
  1349. pgsql.max_persistent = -1( A- R) h4 x4 k/ i6 W
  1350. 0 W8 n1 V  ?/ R5 S1 z5 n
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 e/ n8 e- c' b- [0 f9 I) r
  1352. ; http://php.net/pgsql.max-links  c5 y2 }  q% V! D) i9 \
  1353. pgsql.max_links = -1
    0 D# T9 R; f6 V, l7 t. E: g& C* `
  1354. & K) I  L( f  k4 S/ Q4 e
  1355. ; Ignore PostgreSQL backends Notice message or not.5 m9 H& B( U, Q  w
  1356. ; Notice message logging require a little overheads.
    $ c/ D2 |" o$ D* [4 t) T
  1357. ; http://php.net/pgsql.ignore-notice
    ! i8 t4 l" o+ a- N+ r" t9 h" L
  1358. pgsql.ignore_notice = 00 m6 q6 e0 T2 L5 B3 ^2 S
  1359. 3 F9 f! Y+ I1 B
  1360. ; Log PostgreSQL backends Notice message or not.
    % `7 K7 `* Y0 ]4 _
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    7 w: ^1 E3 @- Z- ~, X
  1362. ; http://php.net/pgsql.log-notice
    3 P. }- c! P. W/ X! S* g4 [
  1363. pgsql.log_notice = 0; Z; Q; z3 [' i+ c2 F" u0 w" h
  1364. ) k1 {' @% ?% C  w6 [
  1365. [Sybase-CT]; M5 e+ M' V6 R1 X' ^) Y8 _
  1366. ; Allow or prevent persistent links.2 t5 B5 Q- N" ?% t
  1367. ; http://php.net/sybct.allow-persistent
    # y" R  S* _$ t/ Q; N( E# {
  1368. sybct.allow_persistent = On& o- f3 o3 l8 Y7 a
  1369. % R* g. u0 i& @* x
  1370. ; Maximum number of persistent links.  -1 means no limit.) Q" f9 B5 X: E* R, p; f
  1371. ; http://php.net/sybct.max-persistent/ F3 ~, f) c$ S5 L5 U( u
  1372. sybct.max_persistent = -1
    1 h' ~, j/ k, @$ R; V% v% W; M

  1373. 2 O0 e( t" D, i1 J2 c+ V, D
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. [% a; S; D5 t3 J9 V& S2 g: x
  1375. ; http://php.net/sybct.max-links
    2 P9 L6 _7 L: ^7 I# z
  1376. sybct.max_links = -1. O$ ^) l; t4 k7 N

  1377. 4 {* v+ X. i3 n3 i! ]
  1378. ; Minimum server message severity to display.
    % r( F1 h8 v% R8 z) |, k; q# w% a
  1379. ; http://php.net/sybct.min-server-severity
    8 L; E, t# B  W9 y8 I
  1380. sybct.min_server_severity = 102 T! i! H3 x! V. U; b
  1381. % ?, h* _7 Y" j$ F0 m9 q
  1382. ; Minimum client message severity to display.' a8 r) D) K/ p& C: h. t
  1383. ; http://php.net/sybct.min-client-severity
    - N( p6 T+ d6 Y8 ]  \; X
  1384. sybct.min_client_severity = 10
    ) R) {; q" N$ @8 R: Q( B+ K
  1385. 2 X# r. e6 E7 }( V8 o& _( w; ]
  1386. ; Set per-context timeout0 ^# J! e* Y1 }4 V
  1387. ; http://php.net/sybct.timeout/ h5 a; P0 l6 g2 y* p2 z
  1388. ;sybct.timeout=
    : ]" o0 F4 x+ c2 g  g
  1389. $ I4 x/ o  t- ?: m* z; y5 f
  1390. ;sybct.packet_size
    ) n& A3 y& k4 [1 F0 E1 U' p
  1391. 3 I; |5 z( Y5 X2 \
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.( E! P" l% h. f1 ~% e. ]7 [/ T4 ^
  1393. ; Default: one minute* y8 q( [3 G; E* v8 N
  1394. ;sybct.login_timeout=
    " r& q6 D% h5 ~1 J6 [- I

  1395. . `& @: I/ x+ R1 |  ?* f7 e/ O
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.. m5 l+ l  F2 \
  1397. ; Default: none) }3 a' G- O% }; z
  1398. ;sybct.hostname=
    1 `3 u" B# K- Y- ~# ]# \

  1399. 5 v$ K: I) w/ }. c, N* m6 k
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".2 C2 [0 g5 Y3 O& O3 x/ C
  1401. ; Default: 0
    % r" K* Z: x6 W7 e# a
  1402. ;sybct.deadlock_retry_count=# r: Q# Q3 R- u3 x. ]

  1403. 3 E6 V+ I. w5 e* Y; H, H
  1404. [bcmath]5 H% i/ ]) a* O8 ^1 F" q
  1405. ; Number of decimal digits for all bcmath functions.
    ! K- Y- `/ I0 n0 j, ]9 [& t
  1406. ; http://php.net/bcmath.scale+ B& B9 F0 {  z" C" s9 x4 I  F
  1407. bcmath.scale = 0
    % l4 Q0 V5 C! r# I* m

  1408. 1 ~. O8 o, X! Q% p9 c* N
  1409. [browscap]
    + s, w# w. C5 Z" U/ ~% D7 C
  1410. ; http://php.net/browscap
    7 _! L! [: C% }8 A/ i0 E
  1411. ;browscap = extra/browscap.ini+ f6 T" X5 {: p: G$ M% t$ k
  1412. 6 f" j& a$ N6 N( a# @1 {6 }
  1413. [Session]
    / t1 I" a1 N7 Q
  1414. ; Handler used to store/retrieve data.  ]1 [$ n3 T: ?
  1415. ; http://php.net/session.save-handler
    % c. ]9 I3 e( y7 c5 S3 E
  1416. session.save_handler = files/ d, R; U; G& F( B) Y- h* M
  1417. ! K5 v# m  }* i% M7 p& j
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / o/ B1 W. O3 q: b0 @8 W2 a
  1419. ; where data files are stored. Note: Windows users have to change this- q( k) m- t) }* _
  1420. ; variable in order to use PHP's session functions.
    & l9 r  J4 e% l. ?3 L- `3 {* [
  1421. ;2 F, w9 j4 ~1 p9 n, ~+ W  E  e
  1422. ; The path can be defined as:
    & w* C" a1 `0 @' T0 I: a9 N
  1423. ;" K7 I9 a, T' h' d, b+ t
  1424. ;     session.save_path = "N;/path"; o( c; ?1 w# K
  1425. ;
    3 z' w9 C2 t. Y) B& m2 a) c
  1426. ; where N is an integer.  Instead of storing all the session files in
    4 ?2 o3 S1 w2 w* x8 f
  1427. ; /path, what this will do is use subdirectories N-levels deep, and6 V2 J, l8 h& L0 T8 W
  1428. ; store the session data in those directories.  This is useful if% K- [  |' ~1 O% ?
  1429. ; your OS has problems with many files in one directory, and is. N4 c- @3 `0 u, E
  1430. ; a more efficient layout for servers that handle many sessions.+ G# |( d+ y8 o, c5 K
  1431. ;
    7 z- U3 k. \8 E/ M9 Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    - @" n) Q  O2 J9 P: L
  1433. ;         You can use the script in the ext/session dir for that purpose.0 a3 [# W! N! ?+ D. x& T
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ) Y+ r6 X" ~6 X0 d
  1435. ;         use subdirectories for session storage
    , ~; M% p: l% l; g) i
  1436. ;) ^/ ?, c. D( a! J1 @
  1437. ; The file storage module creates files using mode 600 by default.. P  D& C0 H, `" l. Q9 z1 Y8 ~
  1438. ; You can change that by using
    6 |: F$ b5 ]3 g) l, B6 ^
  1439. ;
    3 r5 A6 D0 `, z- d6 r
  1440. ;     session.save_path = "N;MODE;/path"$ @- V9 }# Q0 M
  1441. ;
    / @: ~) M) T. S* F8 a% R+ A
  1442. ; where MODE is the octal representation of the mode. Note that this2 S( q1 a& w5 b' L: G- m- i
  1443. ; does not overwrite the process's umask.
    / z( A0 i  u: q7 m/ G) \5 s" s! d" o
  1444. ; http://php.net/session.save-path8 i( G3 e* H" g1 H: }  T
  1445. ;session.save_path = "/tmp"
    ( H) W* ~$ W( G/ g" c7 O
  1446. ( T( k! m7 S8 a& J5 p& l; F
  1447. ; Whether to use strict session mode.5 F( d- p2 V0 A+ ~' A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate& x, o! q5 C. N5 ?& p' E; l# U) k
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* x4 T# v9 X- G5 {* v
  1450. ; applications from session fixation via session adoption vulnerability. It is; g* _# c' s4 S9 ^" f
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    7 }+ B* d$ e- X! w7 c* Y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    : ]4 J, F# t7 E" A2 ~
  1453. session.use_strict_mode = 0
    1 B9 V  K$ F2 l
  1454. 8 D% e$ t6 E  W% u
  1455. ; Whether to use cookies.
    , @6 p7 D7 t  V7 E5 g
  1456. ; http://php.net/session.use-cookies5 n* o3 g3 [3 d+ H/ j
  1457. session.use_cookies = 19 _/ D7 K% P8 W4 n" ?

  1458. 8 P$ `+ K9 r6 [* ?. P
  1459. ; http://php.net/session.cookie-secure
    4 s$ g( G7 R. ^7 L' `8 R, C
  1460. ;session.cookie_secure =
    6 `8 s2 y& B* i- l, o
  1461. # d: U; V7 V# Q' z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / {" C( @" t, w* O: m) q& U
  1463. ; the session id. We encourage this operation as it's very helpful in combating7 i. j2 N  @# x/ O( s  W
  1464. ; session hijacking when not specifying and managing your own session id. It is
    2 Q; \* N: V1 ~4 o
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    $ e+ G$ ]7 v* c/ G5 F  O4 A$ `
  1466. ; http://php.net/session.use-only-cookies
    + S8 Z' q" N7 B6 d2 T6 i7 j0 N; O8 R( T
  1467. session.use_only_cookies = 13 q9 B7 O" S: J

  1468. ' K/ F$ Z3 G5 U* U: l* \+ y
  1469. ; Name of the session (used as cookie name).
      T% y1 v4 \0 d3 F- Q( C- E! k
  1470. ; http://php.net/session.name
    , ^$ s# y3 J2 |/ |
  1471. session.name = PHPSESSID
    + \) T0 @! F- }+ L  r. Z; p
  1472. ( y* W0 x7 M' s
  1473. ; Initialize session on request startup.
    3 R3 P1 ?) Z# U2 ?$ J" f
  1474. ; http://php.net/session.auto-start* R0 i9 O! F- M+ ?% q$ ]" n
  1475. session.auto_start = 0
    1 H5 V, y4 n' A, \# h) X
  1476. . Q  [6 g: H6 K9 D) ?& S0 w3 E3 j
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 P' J  t) e7 C0 w+ y8 r4 ^
  1478. ; http://php.net/session.cookie-lifetime
    4 n$ y9 V6 ?$ Z) ?. f
  1479. session.cookie_lifetime = 0$ g3 `- K$ A! J  ^$ t9 l
  1480. 8 k& T' R( b/ |( L  C
  1481. ; The path for which the cookie is valid.
    , q" {' I$ H  s1 W" x2 v7 \
  1482. ; http://php.net/session.cookie-path
    ' V. P* H3 L( a# K. ?# H
  1483. session.cookie_path = /" c7 T4 f$ H1 t# [/ A3 j/ l( s

  1484. ! a7 M" [! S/ c+ p, @
  1485. ; The domain for which the cookie is valid.- R# ~/ \6 W' }( n! X' _: _
  1486. ; http://php.net/session.cookie-domain& K" P; C/ y, g0 n8 @6 d1 Z
  1487. session.cookie_domain =
    $ \7 Q6 w# a$ j6 m3 E
  1488. * B+ I4 }5 `2 }9 `( E- K7 [
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    , {# |/ |9 I" R1 I* v7 l' b
  1490. ; http://php.net/session.cookie-httponly! e: {' O1 K+ g" l) G% j9 L! B' P
  1491. session.cookie_httponly =5 w' r+ Z% q; i8 S

  1492. % X7 }8 q" r; i' W: l2 N' ~
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " K2 w2 Q1 d% [) A/ ?
  1494. ; http://php.net/session.serialize-handler
    + U9 u) p: [3 D1 z. [9 Z
  1495. session.serialize_handler = php$ K; @% g& g- o% h
  1496. ) T0 c6 ^4 S3 l8 C3 a: J
  1497. ; Defines the probability that the 'garbage collection' process is started
    * T6 n6 w! C* V( g3 [
  1498. ; on every session initialization. The probability is calculated by using
    ! o4 Y9 u8 ^5 |+ C& r1 l
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    + W. x  U& a! f
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " J; Z7 V. G% q" a! N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( i- }1 Q4 T! H5 S; Q8 i% [: E
  1502. ; the gc will run on any give request.
    ; Z% ?1 R' ~! `
  1503. ; Default Value: 1- G8 N. q" }2 B/ w
  1504. ; Development Value: 1
    . F9 y* M) O5 G; H! A  W8 V) `
  1505. ; Production Value: 1
    / n4 c1 R8 W( a9 N7 [  c* ~' U
  1506. ; http://php.net/session.gc-probability
    . l7 v) E  ^: K- R/ j
  1507. session.gc_probability = 1  G. i6 q! r0 \# j. Y
  1508. 0 A# J1 V+ z/ E- H! q2 Z' t
  1509. ; Defines the probability that the 'garbage collection' process is started on every4 b% O2 m  k( e- a+ J* `9 V
  1510. ; session initialization. The probability is calculated by using the following equation:) H4 g8 H8 n5 u5 C0 N! \
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 D  E/ c) Z% L5 g0 E/ _
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % ]9 y" V3 N2 [0 u2 E& B: w
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 c4 M5 Z" y' v$ ?1 x
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % g- h' F& G5 t; y8 [- x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,- F9 k* O( k$ t" P$ u
  1516. ; this is a more efficient approach.
    # Z  K; @& _, O6 Y
  1517. ; Default Value: 100
    : Q, K8 w3 r: T6 q! l( I
  1518. ; Development Value: 1000
    - _1 U0 t  {  @( r3 }
  1519. ; Production Value: 1000
    ( J& c6 j3 X$ l5 Q( v4 U
  1520. ; http://php.net/session.gc-divisor
    1 S0 q1 J7 j8 @5 E- z9 O& }
  1521. session.gc_divisor = 1000
    - k  }. [$ A1 {, C
  1522. 1 k7 F9 x* U; I5 _4 A) J4 \7 w0 l
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and. D7 m# J+ s6 _. K+ @7 E
  1524. ; cleaned up by the garbage collection process.9 ~$ ^3 D4 k1 ^0 h, ^
  1525. ; http://php.net/session.gc-maxlifetime
    $ z7 \% ?' S5 U0 v: \+ P
  1526. session.gc_maxlifetime = 1440, s2 f& E! `' w3 R9 n
  1527. # x# `. c$ Y0 {, ^
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    * t# K( _! G5 V6 m
  1529. ;       (see session.save_path above), then garbage collection does *not*: H4 E2 M+ w4 X- `5 l
  1530. ;       happen automatically.  You will need to do your own garbage
    2 H9 V0 M+ C$ a' w9 U  T, B5 J; F8 ?
  1531. ;       collection through a shell script, cron entry, or some other method.& H) o$ g( g% E- ^# A9 G, g) W
  1532. ;       For example, the following script would is the equivalent of
    * R) Q; ?& P6 m8 j8 ]% K9 V( \
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      i4 ~7 h& u$ L6 Q$ c- v
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( l% A: t% n8 f! O4 e( v! n

  1535. % `+ K% J4 W8 g7 s( G% B9 e4 P2 G0 K8 A
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.$ t# Y) U! R/ z: G  q
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    3 b6 e! d. J* S7 n  e
  1538. ; considered as valid.
    / Y7 }& E& C) f& S. g+ o
  1539. ; http://php.net/session.referer-check
    ; k' g' R. N' K4 Q  o3 w
  1540. session.referer_check =$ [+ C/ e3 S' s8 F
  1541. * v# }2 l+ Y* u) \( r: g
  1542. ; How many bytes to read from the file.
    & h" x+ D$ n5 q; H. q8 {
  1543. ; http://php.net/session.entropy-length0 u! e& p# R. }, k% f: p- U- K
  1544. ;session.entropy_length = 32
    $ U) N3 u9 ^9 |8 `& |  j+ H

  1545. 3 L# X+ F1 {$ q; g
  1546. ; Specified here to create the session id.8 P" t: T  p5 @. B0 _
  1547. ; http://php.net/session.entropy-file" {3 v$ H  S+ x4 A# ]
  1548. ; Defaults to /dev/urandom
    / G7 [3 J- V6 k' q: G
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 y8 L# h8 k9 h. c
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ Z/ ^1 a: p4 |$ Z* g! R
  1551. ; On windows, setting the entropy_length setting will activate the
    0 F( z* C3 ^$ U! ?9 g$ M" @* V
  1552. ; Windows random source (using the CryptoAPI)$ K. U+ h# h. l2 c4 Y; K
  1553. ;session.entropy_file = /dev/urandom
    . @6 l" Y. R$ P* y% v. |
  1554. 9 e: L# m5 s. L+ W
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects# V4 e/ _- l, I% e% w! {
  1556. ; or leave this empty to avoid sending anti-caching headers.% u8 Y8 k7 h% n+ k8 T4 P
  1557. ; http://php.net/session.cache-limiter/ |: ?, h- _: E* ^
  1558. session.cache_limiter = nocache9 D/ t9 U" M0 A9 s& k( ?3 \

  1559. 4 m* G% Q0 L$ E
  1560. ; Document expires after n minutes.
    ' M+ `' D7 i; ~4 G
  1561. ; http://php.net/session.cache-expire
    , {4 U& x4 t" P* U5 d! y9 b: d
  1562. session.cache_expire = 180* w* M* `+ |8 V6 K  Y& r
  1563. % z; y% M; h4 i4 h) V
  1564. ; trans sid support is disabled by default.
    # o+ ?, m* l1 V( m% m+ f4 f
  1565. ; Use of trans sid may risk your users' security.- \4 Q7 p9 ]$ S% J
  1566. ; Use this option with caution.
    & A3 Z; ?- _4 _' d: }
  1567. ; - User may send URL contains active session ID
    & \% `2 i) @+ v
  1568. ;   to other person via. email/irc/etc.
    ! h; p5 m; l4 d6 }+ A$ a" K2 E; {+ ]
  1569. ; - URL that contains active session ID may be stored
    5 m( X+ I; p- H8 R. T8 [; d2 q
  1570. ;   in publicly accessible computer.7 G. U3 [7 e) n( {6 N0 p
  1571. ; - User may access your site with the same session ID
    # S0 p' u$ V; W; |4 ^
  1572. ;   always using URL stored in browser's history or bookmarks.4 B) v$ M, ^1 Y! N$ `% N+ o: E
  1573. ; http://php.net/session.use-trans-sid  L  d* a3 G3 y' J1 ~6 {/ R
  1574. session.use_trans_sid = 0
    / ?8 U, m- n, [# _7 y

  1575. 5 f% d, {3 M5 }4 _" |" v: B6 ~
  1576. ; Select a hash function for use in generating session ids.
    . h2 k( N5 I* ]: J. Z
  1577. ; Possible Values
    ' [- u" g0 f8 p; h; W- \
  1578. ;   0  (MD5 128 bits)
    0 {# j( Z4 Q* F8 P, }, A
  1579. ;   1  (SHA-1 160 bits)
    3 c! O6 M1 B& B1 b1 R
  1580. ; This option may also be set to the name of any hash function supported by- k6 `( N, \. w; y
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) p+ C* t6 V9 F/ l3 U2 Y1 R  p6 b! D
  1582. ; function.! h9 f4 P2 J! ]4 [6 Z" g
  1583. ; http://php.net/session.hash-function: ?% y- k( y( A- Z' X; M
  1584. session.hash_function = 0
    " u5 y# G5 i( w, T/ z
  1585. : ?* {% e5 ~& S2 d, G. j- |7 ?
  1586. ; Define how many bits are stored in each character when converting
    7 x: M2 H9 Z1 o5 F1 O4 |
  1587. ; the binary hash data to something readable.
    ! x. ^* G+ q. Y3 N
  1588. ; Possible values:4 i1 N- s: F! Q3 q+ F
  1589. ;   4  (4 bits: 0-9, a-f)5 I, G% C. ^$ ]3 @8 U4 f, x
  1590. ;   5  (5 bits: 0-9, a-v)( ?  s2 H5 J) e* b) p$ H, J% s
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); t# N% o7 }- c& L! j& @8 u
  1592. ; Default Value: 4
    * J; r6 Z" Q0 p: j$ t
  1593. ; Development Value: 5- y0 D. @3 A! t7 D& C' f( X
  1594. ; Production Value: 5
    : z: i# {% P; q! U6 H1 S
  1595. ; http://php.net/session.hash-bits-per-character
    & m3 x9 x6 w6 j$ V2 N& k# H* o7 S1 Q
  1596. session.hash_bits_per_character = 5
    3 O$ r1 h) r$ n, d3 K
  1597. & v- ?/ u9 E3 d3 Z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    + q" v. @  o" d. T2 }' m
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    1 b3 c0 o) B# P) ]) i
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ( i  c! U; l+ r+ M# z1 |6 x0 y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.: s( F) b; o8 ?3 J) ?# G. x
  1602. ; Note that all valid entries require a "=", even if no value follows.
    4 |8 z% I+ u  e2 J8 M1 S
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 a7 h, {$ T& i7 s5 p! L! P4 |
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % A% W% K2 m$ ~% F  U( g4 L5 G, S
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- \0 v; O- K" u& O
  1606. ; http://php.net/url-rewriter.tags$ l+ u; {% B! D$ Q' l
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    . ~7 d) D7 b; |

  1608. $ e+ R, A* d. _) J; n. ~! a
  1609. ; Enable upload progress tracking in $_SESSION" i4 J  l3 |6 Q; ?. L. d# r- C+ ]
  1610. ; Default Value: On, r6 I0 |- v  h1 U0 _3 V+ P3 v. Y0 ?
  1611. ; Development Value: On+ K4 D, J9 E5 P" {: n
  1612. ; Production Value: On
    1 U; }" j: a) T8 U- T2 k
  1613. ; http://php.net/session.upload-progress.enabled1 f1 V; n2 ?6 ?
  1614. ;session.upload_progress.enabled = On) E' a2 m* W9 D4 ~

  1615. 8 o; A; H! |' V+ }
  1616. ; Cleanup the progress information as soon as all POST data has been read
    $ Z  d* D# u6 U0 a, j2 y7 k: x
  1617. ; (i.e. upload completed).
    : X! r$ o" x5 C& F& ~( M1 I) L
  1618. ; Default Value: On
    $ \5 @( x2 ~9 i$ L- _/ e# }
  1619. ; Development Value: On/ z/ O  M* R! C  z1 v  _! r
  1620. ; Production Value: On
    4 X: n/ p# W1 c0 x: H, c. ?- i; X) D
  1621. ; http://php.net/session.upload-progress.cleanup$ Q0 Q6 |3 v  e/ N
  1622. ;session.upload_progress.cleanup = On5 Z- b1 p# Z9 O0 q, T+ Q: @/ P
  1623. $ ]; G8 `: k: k$ d- `" P
  1624. ; A prefix used for the upload progress key in $_SESSION) L+ ?. e  T% m6 o! g) c
  1625. ; Default Value: "upload_progress_"" ?+ p' z/ K5 O9 G
  1626. ; Development Value: "upload_progress_"
    . j3 `! ~$ v/ Y! V
  1627. ; Production Value: "upload_progress_"
    0 Y8 ?- s' F. Q8 ]2 Q2 c/ q
  1628. ; http://php.net/session.upload-progress.prefix& R  o" O( K; T3 ?6 X* K
  1629. ;session.upload_progress.prefix = "upload_progress_"% ]0 e$ C9 X1 W. i/ v

  1630. # ~2 O$ F$ F" H; p8 I2 }1 p# d
  1631. ; The index name (concatenated with the prefix) in $_SESSION4 ~- i6 i4 P1 j6 z' y# ?( _0 ^% ~
  1632. ; containing the upload progress information
    & W$ ?( f3 W0 r' b' {. o1 F
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * F! L6 }6 E. e* \
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 e  U* m. y' C/ d
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : u; ?- r( D- z" K+ q  K0 m
  1636. ; http://php.net/session.upload-progress.name
    " e4 H4 L6 w8 R& R3 a4 U
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% C% g  K9 X% o' z1 e; C3 K
  1638. 6 K* ~4 C/ Y6 Q. R: M
  1639. ; How frequently the upload progress should be updated.3 r2 ~: o3 K1 B9 i+ x  ?
  1640. ; Given either in percentages (per-file), or in bytes
    $ {' ]# W, ^; {( H9 U% H
  1641. ; Default Value: "1%". D# D; _) ^( u5 f
  1642. ; Development Value: "1%"  Z1 F2 i' q. ^8 s. U
  1643. ; Production Value: "1%"
    ( P* Y( p$ c7 h  |
  1644. ; http://php.net/session.upload-progress.freq
      {2 D# n% [2 z# D# v) O  _3 Y6 E
  1645. ;session.upload_progress.freq =  "1%"; U2 y- @, o( i/ U* f$ H! i' q

  1646. ; j+ e9 s7 v% Q5 d7 @
  1647. ; The minimum delay between updates, in seconds. r7 k5 t, F) u- D" C% m
  1648. ; Default Value: 1# N( c( u/ E* c* K2 q
  1649. ; Development Value: 1; B8 t1 t: o. l8 E9 j/ D' \5 L
  1650. ; Production Value: 1
    ( X, G8 |. J0 s! b# l" L! q+ s
  1651. ; http://php.net/session.upload-progress.min-freq
      Q: O6 D$ L& C) V# k  V
  1652. ;session.upload_progress.min_freq = "1": ?; X6 A: e' ^; \5 c5 q- @# V

  1653. 3 U8 k5 t6 r( y
  1654. [MSSQL]
    * U: O  {) }7 }' O0 N) n1 Q
  1655. ; Allow or prevent persistent links.
    5 ]7 t( M7 D2 v$ E9 |
  1656. mssql.allow_persistent = On" {, Q1 R. L/ y

  1657. 2 h, e* q& U3 ^( ]9 o* L; r1 U& `: D+ b, t
  1658. ; Maximum number of persistent links.  -1 means no limit.8 l8 H& ~8 T9 g9 }! ~. Y: M
  1659. mssql.max_persistent = -1# R3 W5 b5 b( L, W9 [# A2 f
  1660. 9 t; d' n$ l4 D- z: B6 M9 Y, [- X
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 h4 U! s4 N8 j5 O# B/ q, N* @
  1662. mssql.max_links = -1
    6 W" s. {* \! \. N# [1 a

  1663. ! F3 s- C# J* e
  1664. ; Minimum error severity to display.1 z+ }5 c. G% s
  1665. mssql.min_error_severity = 10
    4 L( C7 h; P  o8 w; D
  1666. ( o  v$ |% X+ W* N& R' X4 r
  1667. ; Minimum message severity to display.
    / y& _8 f/ ]% J& `  M! Y5 U
  1668. mssql.min_message_severity = 107 {) [' w* ~; ^) R) r

  1669. 7 V) _" O- s& _: L* f
  1670. ; Compatibility mode with old versions of PHP 3.0.
    , e  k) f9 R: u
  1671. mssql.compatibility_mode = Off5 [! [" A9 @$ j3 C
  1672. 6 V  I2 }$ y0 N9 v4 k+ V5 i
  1673. ; Connect timeout
    1 i! y+ L6 ]( R
  1674. ;mssql.connect_timeout = 5# ?- d8 a( W) R; n5 e
  1675. - P2 R/ o; S, V
  1676. ; Query timeout
    8 T6 Q( B. H9 G  ]
  1677. ;mssql.timeout = 607 [% ?* d( }: C( A0 X1 ~
  1678. ) s4 l2 g- \2 o) W
  1679. ; Valid range 0 - 2147483647.  Default = 4096." [" X& }) o/ Z& L7 _
  1680. ;mssql.textlimit = 4096
    3 C' c1 Y& r, l0 l  e: k4 b; V
  1681. % x# b, a, v- V5 {
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    8 A+ s9 j1 s: D
  1683. ;mssql.textsize = 4096
    " \; h' z$ s! H3 i" _- Q6 [; f
  1684. - d0 j+ C5 P" S  k: H2 b0 x
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    & w7 ~7 g. l+ D$ i9 h2 N
  1686. ;mssql.batchsize = 0
    % \$ V) `( q3 W8 \+ \

  1687. 9 W+ h# G% L* k5 a' [
  1688. ; Specify how datetime and datetim4 columns are returned
    / y* g- Q% M. ?6 K" v) p
  1689. ; On => Returns data converted to SQL server settings% X) i2 [& L/ ?
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ' s& g. _* B  p: a
  1691. ;mssql.datetimeconvert = On
    ! D( {$ E* P( P" `7 [  X$ n
  1692. 8 _4 p( A) R1 l/ U6 b9 M
  1693. ; Use NT authentication when connecting to the server
    * E' c4 Y+ z$ y6 ?  G
  1694. mssql.secure_connection = Off6 ~; }1 ?2 A' y) @$ X

  1695. 8 i5 E1 _$ o9 [3 w3 ^5 K! ^& Q& F# h
  1696. ; Specify max number of processes. -1 = library default
    # \2 C  K7 [8 A. ?* |2 s
  1697. ; msdlib defaults to 25
    2 N' J( e: ^6 k6 ^! |) `7 T2 J
  1698. ; FreeTDS defaults to 4096
    ! d$ O  X( ?+ X: S! ?
  1699. ;mssql.max_procs = -10 ]  [4 a2 ^# v- N1 N$ ?

  1700. ( U' j6 x6 {; |# x  b# T" S
  1701. ; Specify client character set.
    : B; W8 O& A1 z& u& d  @( J
  1702. ; If empty or not set the client charset from freetds.conf is used
    ; w% d2 [, x* g
  1703. ; This is only used when compiled with FreeTDS0 m( ~8 b  F2 L# d
  1704. ;mssql.charset = "ISO-8859-1"
    - i  m" S  i' @2 `; I  m
  1705. & ~+ d1 Y/ Z/ J5 u8 u- j
  1706. [Assertion]
    9 I! V' W; H0 T) O; \. i7 X/ Q
  1707. ; Assert(expr); active by default.* v7 ^) t! `" a% ]: ]( {
  1708. ; http://php.net/assert.active
    0 v; a7 S/ `4 E! e
  1709. ;assert.active = On
    ! n4 _5 B; |' o

  1710. & [1 A% e2 Q3 e0 k5 N
  1711. ; Issue a PHP warning for each failed assertion.* P! g; p& u! a3 @8 j/ j( R
  1712. ; http://php.net/assert.warning
    : W2 w; y! A" U" b$ \2 W( Y
  1713. ;assert.warning = On
    6 s( }' j+ g/ F7 V3 ]

  1714. ( {: B% D/ D7 t4 Z
  1715. ; Don't bail out by default.  C6 f+ ]+ {# a' N- ^$ ^$ }
  1716. ; http://php.net/assert.bail/ ~/ a+ f5 h' w# Y
  1717. ;assert.bail = Off! C6 e0 Q3 x4 C# O' t) o! k
  1718. 1 T0 C  t3 {' h, D
  1719. ; User-function to be called if an assertion fails.
    : O: Z0 T" {5 |# q. ~+ R. S
  1720. ; http://php.net/assert.callback
    + T. a  J2 d* H  a8 U% D) J7 J
  1721. ;assert.callback = 0; K& x; X# N& ~" Y0 a  K# |
  1722. ! R- K2 \, i4 M* ?# T* ]7 g
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    9 S- ]7 \3 X$ y! j' H& E1 n
  1724. ; error_reporting(0) around the eval().
    9 L  R  w, u1 S) ?! ]$ t+ \& w5 d
  1725. ; http://php.net/assert.quiet-eval
    1 N8 q2 a+ g2 ^5 T) }" a- `
  1726. ;assert.quiet_eval = 0
    & `/ `6 r6 @! K7 m

  1727. ; b& O' m1 V7 {0 V$ N3 j; r
  1728. [COM]8 l' o9 C! i9 E1 {2 M  ?
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs. Q0 E/ e" `: F- P
  1730. ; http://php.net/com.typelib-file
    ! r" S  K: S2 f; e  G. U& I5 N" T/ H
  1731. ;com.typelib_file =* K! z0 Q+ D- _/ m7 m6 }

  1732. # r  x2 W* u4 O! Z: B2 _  ?1 P
  1733. ; allow Distributed-COM calls
    / ~! |& V+ S& I/ U
  1734. ; http://php.net/com.allow-dcom& h. I* `' C/ f5 p) Y. @3 `
  1735. ;com.allow_dcom = true3 ?  J+ J: s% K( _0 c6 U

  1736. 3 ?( t9 D/ x8 G6 a) P3 u( g
  1737. ; autoregister constants of a components typlib on com_load()" [* n3 |  k2 L/ k, f: p. v, d
  1738. ; http://php.net/com.autoregister-typelib% l  r) J$ A5 C$ K' c
  1739. ;com.autoregister_typelib = true
    0 P1 [* L, I& ]; T- U

  1740. 9 l2 k. y) ?; a9 H9 g
  1741. ; register constants casesensitive
    6 E. g! f; J: T) f) V$ K. |- k
  1742. ; http://php.net/com.autoregister-casesensitive
    8 H# t$ P8 v1 t* m; Q9 w. Q
  1743. ;com.autoregister_casesensitive = false# M) T5 O7 v; u; `) L
  1744. 4 C$ i* n) i) \; g
  1745. ; show warnings on duplicate constant registrations* J2 b0 I; R% ?; j7 m5 j
  1746. ; http://php.net/com.autoregister-verbose4 k/ k. _6 l9 ?( V" J2 ^3 r  u
  1747. ;com.autoregister_verbose = true
    8 D$ A+ I( A$ N* C  a$ h( G

  1748. " W+ H2 p. t& j# }. O7 k0 s
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / I8 q. W& K8 ]" C& \; f0 Q
  1750. ; Default: system ANSI code page5 w% ^" X6 y6 P4 w, i+ D& U
  1751. ;com.code_page=. Y; ^8 v7 n/ L$ y6 a
  1752. 5 n- W% e+ E4 n& x, i  W3 f6 Y; `
  1753. [mbstring]
    + ~) n2 i$ |3 i+ k0 @% \& H+ C( N
  1754. ; language for internal character representation.
    ' j  Z9 i% _+ X0 J
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.- k1 y; l3 M  \
  1756. ; http://php.net/mbstring.language
    7 T# c' e4 N; i  }+ Q
  1757. ;mbstring.language = Japanese+ u# w* C. `9 I4 u+ b

  1758. & q  b- j* m4 \" c3 ]; Q- u' w( G
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . s* Y- ^# l9 e, E! ?( _2 U0 m% ^
  1760. ; internal/script encoding.1 x* M+ ]# i8 O
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 u2 w% O' a( x( l; Y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) i: q- Z- B+ K& Q' j
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  l4 I- {4 z' t1 S( K5 D! s
  1764. ;mbstring.internal_encoding =# @9 A; F6 y6 V4 i/ q3 a

  1765. - a- W6 {4 B7 [; T* g/ g7 j. j/ Y9 H
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . z2 T* x* n3 ]- t# U
  1767. ; http input encoding.: [& v7 z4 k; D0 H, w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    3 O+ r/ z5 f+ K5 D9 V' M1 N
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.6 w6 q7 I0 _- Z& Y# B: h
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 ]$ X9 }0 L; O9 V0 E3 q
  1771. ; http://php.net/mbstring.http-input: i# ]' ?$ r, X  M3 {
  1772. ;mbstring.http_input =) ~2 Q$ p' ]: J; @6 }* C
  1773. 5 ?0 u6 [/ V+ i6 ~- K( B! N/ w
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " o: @* F& `3 u& H- U, i! k# W+ f
  1775. ; http output encoding.2 a' c- C  m+ p6 a6 Y0 }! L
  1776. ; mb_output_handler must be registered as output buffer to function.
    6 S- e* m0 `. \
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 s. c, _, k, w- H# z# {' J7 V# z
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    2 w0 T: S* K5 j; Y, f& w, A& C
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 t4 B* n; `7 X* b  I6 f7 }
  1780. ; otherwise output encoding conversion cannot be performed.
    . e. L% p% a, Z$ h" c0 z, Z
  1781. ; http://php.net/mbstring.http-output7 E8 A1 L1 h3 ~1 |/ H1 Q' O1 G
  1782. ;mbstring.http_output =8 ?3 l5 P+ H8 j) l$ T
  1783. 3 a7 a# d, O: i6 P( `4 \
  1784. ; enable automatic encoding translation according to
    / x4 H; j. F* [9 |  y
  1785. ; mbstring.internal_encoding setting. Input chars are
    : ^9 C1 r) R; v
  1786. ; converted to internal encoding by setting this to On.' G5 V3 ]4 Z; J1 U- Z3 C
  1787. ; Note: Do _not_ use automatic encoding translation for
    % Q( L$ K/ y& I5 A3 Y
  1788. ;       portable libs/applications.
    * I% O7 Z. i) J' u1 e, S& b. ^5 M
  1789. ; http://php.net/mbstring.encoding-translation. `8 \, L  m8 u
  1790. ;mbstring.encoding_translation = Off
    & F" Q& G/ K" E/ e) X$ u- P
  1791. 5 C$ X4 E8 @, I6 p! z
  1792. ; automatic encoding detection order.( ]0 s  O2 _' [2 Y' A& o
  1793. ; "auto" detect order is changed according to mbstring.language
    2 W8 c9 n% H. X8 X" h- X6 P4 Z2 a
  1794. ; http://php.net/mbstring.detect-order
    & T# r% e1 @9 X! z  Z9 d
  1795. ;mbstring.detect_order = auto
    1 ]8 p; r0 ]3 Q% v& f  h

  1796. 2 i7 d& I( N$ ]7 A* E
  1797. ; substitute_character used when character cannot be converted8 E6 t  M6 M% U8 i7 b3 |  S
  1798. ; one from another
    7 W! l. O* J. h7 L" J( ^
  1799. ; http://php.net/mbstring.substitute-character2 Q$ W/ G" B7 U; f! b: I& ?
  1800. ;mbstring.substitute_character = none: }( n( }* P+ h, \5 _6 _! f* @
  1801. ' m0 ~/ Q% O3 Q$ {  p
  1802. ; overload(replace) single byte functions by mbstring functions.
    / P; S; ^" [" z8 }
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),% q# o: `1 K: P. S; f4 D
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.# N0 `! S" |, \: g+ _% f8 ~. p/ M
  1805. ; For example, 7 for overload everything.- W4 c3 r7 y2 R) j3 n0 u/ {
  1806. ; 0: No overload  j; V/ Y( i& W; x0 f* W+ @
  1807. ; 1: Overload mail() function9 X# F5 X7 K* P8 ~6 U
  1808. ; 2: Overload str*() functions
    4 ^8 |# X( `, K$ Q9 i/ A
  1809. ; 4: Overload ereg*() functions5 j8 Y$ T: |; x: I/ ?7 I1 I
  1810. ; http://php.net/mbstring.func-overload
    - _$ b" ?' _: X' z* V
  1811. ;mbstring.func_overload = 08 a( A5 B7 u: C& ~& Z& W

  1812. 7 A0 d7 f( c3 a( d0 x% d
  1813. ; enable strict encoding detection., M+ \$ S' s3 y
  1814. ; Default: Off
    6 a# w1 |" X9 h
  1815. ;mbstring.strict_detection = On
    : y1 [( e/ U' w" V( R% y6 G

  1816. - v# s- t% W% N  G
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 A  m0 J- R0 b& A' J9 ?
  1818. ; is activated.5 k' M0 y* f/ `. M% o
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml), ]) v  z6 \& g, M2 w8 U2 K- m
  1820. ;mbstring.http_output_conv_mimetype=
    5 d1 C" O6 m2 t  U9 j5 u

  1821. ( W4 Z' q. J! x$ }
  1822. [gd]& Q. L% r3 v4 L* ]) n
  1823. ; Tell the jpeg decode to ignore warnings and try to create- i( ?. y8 p" [& i- ?
  1824. ; a gd image. The warning will then be displayed as notices0 S4 i$ Z) M3 b/ }7 a" s1 u, i6 f
  1825. ; disabled by default
    0 k$ v, i5 @5 H& L
  1826. ; http://php.net/gd.jpeg-ignore-warning& E; w$ g/ ~5 {3 \+ d9 O9 B/ }
  1827. ;gd.jpeg_ignore_warning = 0' J# }1 o6 O# H. Q8 ~* z$ g

  1828. ( T+ b* _' }$ m6 ?) p$ I
  1829. [exif]
    1 |. q- U1 ^; \- l9 }0 g- T8 ?
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.' T) N$ V4 ?; `
  1831. ; With mbstring support this will automatically be converted into the encoding* l* Y0 ~( Y; H
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding% v# j6 U7 n7 a# i( _  ]+ z: P* W
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + e: `& B6 z: h! U0 M
  1834. ; intel byte order. A decode setting cannot be empty.0 V" X) l" \% ?. L4 `: \7 B8 r
  1835. ; http://php.net/exif.encode-unicode7 s* R: z# d! Z+ z) m
  1836. ;exif.encode_unicode = ISO-8859-15
    4 j9 Z" r! a7 o  ?

  1837. . ~) p4 U( R( m2 I% r, ~
  1838. ; http://php.net/exif.decode-unicode-motorola3 s- V/ l0 t! Z8 c' Y: q
  1839. ;exif.decode_unicode_motorola = UCS-2BE& A; d- v$ o1 X4 a6 R
  1840. 5 D, u$ e, b2 A
  1841. ; http://php.net/exif.decode-unicode-intel  J& D2 S+ M' @8 {$ j! {4 I
  1842. ;exif.decode_unicode_intel    = UCS-2LE% b8 W. P( X5 N6 j# X7 ^- r: Q4 i
  1843. 0 @; d- b/ J9 ^
  1844. ; http://php.net/exif.encode-jis
    ( J. u  F- n2 @# G$ u8 O) N( ^
  1845. ;exif.encode_jis =( l, x$ j4 ]$ _9 S, l
  1846. 2 n1 r5 s% k  r, D$ k
  1847. ; http://php.net/exif.decode-jis-motorola) \; H7 J2 [8 B2 Z
  1848. ;exif.decode_jis_motorola = JIS
    / x1 g/ j9 V1 Z8 {: L) ~9 E1 U
  1849. ' ?: {7 X* s+ F2 c. ?
  1850. ; http://php.net/exif.decode-jis-intel
    ; E7 g, c* Q5 }1 q8 L2 ]% ^
  1851. ;exif.decode_jis_intel    = JIS9 w7 A' u5 T3 c  c# g( C

  1852. + ]  g; F- N! E
  1853. [Tidy]* n' q# C. i8 M1 L# D7 M
  1854. ; The path to a default tidy configuration file to use when using tidy. S: j& b- Z/ m9 m$ v
  1855. ; http://php.net/tidy.default-config* G# @, V) e$ |$ `$ ]$ ~( K$ p! N7 E
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % F" C' ~- v: P# b* p: Q: X$ m% {7 O- s0 e
  1857. 4 `' s/ m. g5 o3 a, k+ p
  1858. ; Should tidy clean and repair output automatically?/ G' K, N5 ~- E: Y7 u1 {  V
  1859. ; WARNING: Do not use this option if you are generating non-html content" y% j# K, W4 ^
  1860. ; such as dynamic images
    ' |; p; ]8 k3 V- ?8 h
  1861. ; http://php.net/tidy.clean-output4 ]. O' j9 w4 \) x- _! H
  1862. tidy.clean_output = Off% `9 O0 F9 B; k7 c" u
  1863. ) ~1 r4 l. D: }
  1864. [soap]
    ) x9 t7 t; j- J  ]- K' {# q
  1865. ; Enables or disables WSDL caching feature.7 x7 P$ ^# L/ r8 y$ E* I9 v5 \$ h; d& r
  1866. ; http://php.net/soap.wsdl-cache-enabled# q/ t4 |9 d3 w' C
  1867. soap.wsdl_cache_enabled=1/ k6 `/ v. }9 L* B& o, x

  1868. ! ~! ?/ A" e! {
  1869. ; Sets the directory name where SOAP extension will put cache files.) A& K2 m0 ~3 O/ k$ a
  1870. ; http://php.net/soap.wsdl-cache-dir4 y+ l" M# ]( e* f
  1871. soap.wsdl_cache_dir="/tmp"
    " p1 ]# f3 `& i8 F  D3 L
  1872. / n8 E2 F! S5 G
  1873. ; (time to live) Sets the number of second while cached file will be used6 ]- E: l! i' r% W$ G) ?+ g
  1874. ; instead of original one.
    " D9 e" K0 ~" e
  1875. ; http://php.net/soap.wsdl-cache-ttl  A/ A! u5 E9 F6 n! [: u
  1876. soap.wsdl_cache_ttl=864002 L% K- K% {6 e0 `6 F

  1877. 7 K' Y. h/ ]# @1 x  M1 T
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) F" Z4 X! a5 i8 J
  1879. soap.wsdl_cache_limit = 5
    ( W- g1 j* [" {

  1880. ) {* E( s& O9 [
  1881. [sysvshm]% m/ f5 x7 [" V9 N  R+ }: F2 M; T) a# \
  1882. ; A default size of the shared memory segment* m3 x) E* q! g0 ~  E5 n% q/ Q
  1883. ;sysvshm.init_mem = 100003 D  J) @: |  w
  1884. . I, E* H8 P8 i
  1885. [ldap]
    ; A4 m; B9 f9 t; A3 q
  1886. ; Sets the maximum number of open links or -1 for unlimited.- Q9 _7 [- g9 j! O% Z/ f' o* e
  1887. ldap.max_links = -1$ s2 H) I5 R9 K

  1888. - K# T) P9 c! [* l9 O! l
  1889. [mcrypt]
    1 ^; Z) `* K, O$ m2 Z% H0 Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    . \+ X' w9 I+ y& }' Q
  1891. * R; O1 j% z& X* }/ h) e6 s; c
  1892. ; Directory where to load mcrypt algorithms
    ; }  v3 f) |8 d' M
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! y: d/ m/ X7 `  i
  1894. ;mcrypt.algorithms_dir=
    8 A% K  ^; z5 k* a$ G+ {: P
  1895. ) t4 K) @2 a1 |$ c" W1 j5 D7 j
  1896. ; Directory where to load mcrypt modes! i0 l5 D9 G: \2 ]4 W2 [# J  B1 a
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) Y$ ~  ?" @' |* u! ~, W
  1898. ;mcrypt.modes_dir=( D/ S+ `! T' V$ B2 k
  1899. " j( {. X& r9 k2 V/ t7 G
  1900. [dba]/ o6 o% I: O8 v
  1901. ;dba.default_handler=
    ! l8 v  x6 K* e- a0 j! C9 y0 H

  1902. ! s7 G( M2 ?  ^! }9 Z) W' G
  1903. [opcache]
    ; w9 y# J/ x8 j" |$ S& n
  1904. ; Determines if Zend OPCache is enabled
    1 U; M/ i1 V% N- o' w
  1905. ;opcache.enable=03 d; R0 ]1 A2 l8 N% ?
  1906. 4 }. z) K# g' i) I8 {
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP  Q9 u5 s1 l' o! {8 }7 Q6 U7 F5 p" ^/ f
  1908. ;opcache.enable_cli=0' j8 d. Z* D8 I( f" ]" U7 a
  1909. + q" }! W2 I' Y4 F2 [
  1910. ; The OPcache shared memory storage size.
    $ T, ~7 r$ D7 T& u8 O
  1911. ;opcache.memory_consumption=64/ U4 d) k9 f  W( D+ u# T$ }

  1912. 0 D9 J4 D+ W6 s+ l
  1913. ; The amount of memory for interned strings in Mbytes.
    + \; C/ p  X3 S* F# O/ ~' t
  1914. ;opcache.interned_strings_buffer=4
    4 h9 {3 a$ P- a0 }* q

  1915. 0 N& o1 W. d6 z2 T3 h' [
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    " J1 L/ C4 V; c; c- j
  1917. ; Only numbers between 200 and 100000 are allowed.
    9 y8 @* G# `4 P
  1918. ;opcache.max_accelerated_files=20002 \* x' z5 j2 C: d! g; ?" Q
  1919. . F8 V8 @1 g; ^
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 n+ ~5 |' o- u3 [' o" o7 ~. F6 Z4 q
  1921. ;opcache.max_wasted_percentage=58 V& v2 ?, U. r$ y' d8 \

  1922. " q1 m) |+ x" {1 v( ]: j
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 a+ M5 U3 X0 F' i! J) y! C. Q
  1924. ; directory to the script key, thus eliminating possible collisions between
    4 Y2 Z8 T; |# V: X7 l) \, p
  1925. ; files with the same name (basename). Disabling the directive improves
    " q; U8 u& p+ K
  1926. ; performance, but may break existing applications.6 _4 a6 p7 a5 N! h
  1927. ;opcache.use_cwd=1: p& h+ A: ~. f, f& U

  1928. 7 w$ Z/ l  H: k" U" n2 m+ A
  1929. ; When disabled, you must reset the OPcache manually or restart the
    3 {# @$ v- X, d% O1 a
  1930. ; webserver for changes to the filesystem to take effect.
    ) B0 z; R& u- h4 ?5 W3 [& z8 b
  1931. ;opcache.validate_timestamps=1: H0 ]4 o: u# O
  1932. 3 V) W6 d, {; `# `3 F9 d/ P
  1933. ; How often (in seconds) to check file timestamps for changes to the shared3 N$ M) Q  D7 M; @( S6 e# I
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 d, p6 X9 H% X6 B. r7 H3 C
  1935. ; once per request. "0" means always validate)
    ( Z- ]/ e9 }) v- ~# x5 m
  1936. ;opcache.revalidate_freq=2
    . c$ k( h9 f# `3 y

  1937. # t+ ^) j( r4 o" K/ T
  1938. ; Enables or disables file search in include_path optimization
    . b" ^1 f. F, m$ V2 n
  1939. ;opcache.revalidate_path=01 F5 f) _) h+ e: D0 c
  1940. 2 F* E- P/ l' F% E' k
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - i6 p( ^$ r5 }: q, V
  1942. ; size of the optimized code.: F0 ]1 F( V0 W& X) Y( c  q
  1943. ;opcache.save_comments=1
      ]) i2 ?8 \) e" g  Z  M
  1944. % a& M  |/ z8 \" r  B& f9 j6 z. J
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    * H& O  l8 D1 N' y3 T) i
  1946. ; may be always stored (save_comments=1), but not loaded by applications7 z3 x4 ]) Q( a0 o7 K& X. u
  1947. ; that don't need them anyway.
    . P8 O6 N7 b8 ?' ?* w% d4 c! a
  1948. ;opcache.load_comments=1
    9 K; |8 h1 f$ J2 D1 Z3 W

  1949. 5 N7 g( v8 G3 h& G5 s
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    3 r5 L$ @1 M( K% K# x  \9 a; m7 D
  1951. ;opcache.fast_shutdown=0' _: V/ A+ X  k
  1952. 9 I1 w/ ?+ E) g: K- e3 p
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' o6 E. X- \/ R# p0 j& d
  1954. ;opcache.enable_file_override=0$ J. q$ `6 j3 _# Z4 _/ p1 r" `( V
  1955. : C( }! d5 |+ E2 d( T% y% k
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    * z3 s2 K. @" I( j4 J4 r8 t
  1957. ; passes% Q0 P+ r0 h+ G" K" |" D
  1958. ;opcache.optimization_level=0xffffffff
    ) h1 K9 P9 }& u" v

  1959. ; F- O  P. h1 K0 S
  1960. ;opcache.inherited_hack=1
    0 @0 j+ ?- C3 _3 ~2 @$ f! N
  1961. ;opcache.dups_fix=0
    * m) Z: n# [# `0 [$ b) Q
  1962. ) w9 M& {/ c! q& o
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / F. q/ t+ C3 Y" i
  1964. ; Each OPcache blacklist file is a text file that holds the names of files& q# `6 A! @/ {/ B- N3 I$ O+ k; W* q4 p" Z
  1965. ; that should not be accelerated. The file format is to add each filename% Y2 S' G" V4 s+ N: E* F* E
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 x/ i- f- H/ X' S9 Y
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# M- `# P( g7 P' E" G  P- S* K
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).6 C; d& X7 v8 M7 n# d
  1969. ;opcache.blacklist_filename=5 x; T7 M; o7 p6 g, a
  1970. 7 q0 P& m! i' b, n, w/ I6 z; c
  1971. ; Allows exclusion of large files from being cached. By default all files
    # K  z+ Z! h9 x% E7 h
  1972. ; are cached.
    9 f1 r  Y; M5 T, K4 I- Q
  1973. ;opcache.max_file_size=0
    + q: O( S' m; ]+ z) D4 Y$ h

  1974. 9 f4 P" t  Z/ e$ S0 F( B
  1975. ; Check the cache checksum each N requests.( z1 c$ {4 O3 I4 [
  1976. ; The default value of "0" means that the checks are disabled.& c# z; Q, o) t
  1977. ;opcache.consistency_checks=0
      ~' Z& f0 ]; t" S3 H- I5 U
  1978. " @) F1 u6 N0 p1 K8 |
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; k( W' V- W4 k3 Y& h$ P( y
  1980. ; is not being accessed./ ~# E' U' Y9 e5 @* M: c
  1981. ;opcache.force_restart_timeout=180' S6 ~1 A3 f% x& b

  1982. : t5 H; v: D/ w- x
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    9 O8 [8 v! j: C, u! Q
  1984. ;opcache.error_log=
    ) Z4 h. }; ^! F9 x3 @  Z
  1985. & Q: g+ l3 Y6 F: H* P; y5 g
  1986. ; All OPcache errors go to the Web server log.
    9 _, p/ }# L6 S+ D& U
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + q6 }6 F7 o0 i+ y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    , m. q& H! n7 i, L# d  {+ x* ?' c
  1989. ; debug messages (level 4).' E5 L# `9 d8 r- Y, o% C, r
  1990. ;opcache.log_verbosity_level=1/ R; x2 s3 s0 {

  1991.   k; U& R) d6 x: J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ! ]2 \) Q0 T1 h, q& Y; U, S
  1993. ;opcache.preferred_memory_model=
    ' ?7 A  t1 o6 G1 d& `+ p9 J2 o: ^

  1994. & X( X8 Z& K; C
  1995. ; Protect the shared memory from unexpected writing during script execution.
    $ C. q' J8 a% }9 O/ i6 ]# o5 X
  1996. ; Useful for internal debugging only.) D* Q2 V1 K+ M% W' i
  1997. ;opcache.protect_memory=0. R: ?. V- g1 c$ G4 B/ _# |

  1998. ; j" K1 l( _/ z2 S* m. ~4 X# d
  1999. ; Validate cached file permissions.
    # m% m. X: u/ P2 z9 ]+ g8 r
  2000. ; opcache.validate_permission=0) O/ y, [7 ]1 w; p4 S
  2001. . O* x3 l; D# U
  2002. ; Prevent name collisions in chroot'ed environment., `6 C, m  T) P6 D* g4 a1 o1 H/ b
  2003. ; opcache.validate_root=0& k; E9 ?- C/ u; q+ x; b+ V
  2004. ! e. {! x! ?* n6 B% x1 g; \
  2005. [curl]
    " C( h' t# T; f9 R9 d' \
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an8 Y" }/ m0 v) ]+ q
  2007. ; absolute path.+ B& r7 [8 Q2 m0 [) I9 Y
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 X" v% ^# ~9 C0 k

  2009. 7 V, y' @& A0 b6 q& m, E+ J
  2010. [openssl]
    3 ^! V5 g5 J7 X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem5 Y/ J' W& [+ i& Z) [5 f* o" E+ C
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should2 L, E: w" w, _0 o4 t: B
  2013. ; not specify a value for this directive as PHP will attempt to use the! g- Z1 {" i0 ^( A% l7 v
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( I/ u! `# {5 ]! H( l5 N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 Y6 x2 \7 z$ f- L8 x* R
  2016. ; option.
    9 p1 |7 x2 |, u" \4 J
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 p! T: i# ^* y% m) c
  2018. 1 l5 I* g# {+ w" O! d) o
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the+ {, B. s$ `8 O) P1 b8 _2 m# V
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ; T3 g. D( \' b# B7 Q
  2021. ; certificate. This value must be a correctly hashed certificate directory.# E9 D* M5 k, t# Y% F
  2022. ; Most users should not specify a value for this directive as PHP will
    - L* u5 z/ _6 M$ j
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    , o4 [0 E6 ^" O' K! ~
  2024. ; this value may still be overridden on a per-stream basis via the "capath"- O7 U# K' ~4 F# T" N& i, _% a
  2025. ; SSL stream context option.
    ' V9 o3 e8 ?' X; f
  2026. ;openssl.capath=
    6 `/ E9 b# B/ E4 D, o2 r

  2027. & Y1 _, [2 w  u' n% U
  2028. ; Local Variables:0 b4 U; s4 {- g) o- u8 O
  2029. ; tab-width: 4
    , a7 c: Y& N) T. l( Y
  2030. ; End:0 s6 T3 A' ~) n
  2031. - E2 _- a& G6 A: Y& ^  h
  2032. ;eaccelerator. g+ F5 |4 o+ M
  2033. ! @/ `9 U- x6 F8 L" Q
  2034. ;ionCube
    6 H* U5 P9 o0 D3 ]

  2035. " L% u2 @' o! [, k+ N
  2036. ;opcache' E( ]& Y  r! {9 T5 S+ [
  2037. : d4 Y) q# ~/ c# {2 l
  2038. [Zend ZendGuard Loader]
    ) g; q+ X% E6 }) E- L
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    : U. k; v1 f$ S& q
  2040. zend_loader.enable=15 [: c) Z4 T  q. j  N1 u
  2041. zend_loader.disable_licensing=0
    ; M7 |# O. i/ Y3 B# R( o
  2042. zend_loader.obfuscation_level_support=35 {$ g$ b# b9 V
  2043. zend_loader.license_path=
    & d: X/ M' E' n8 L6 W
  2044. ! t% T9 r# [; W; r/ P: z! f8 m
  2045. ;xcache8 Z" r2 \/ ?  w! a( t; U

  2046. % M3 U! f& ~8 w9 `( i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ @9 E1 o) Q+ K2 F' {/ T1 E) c1 J1 C1 H0 J- \+ N+ u7 L

  {. S5 A6 k- M6 O7 XDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,, V, s; H9 x5 D+ B: i* W

  J6 ]! k1 P4 z& GDiscuz!程序版本选择:0 o2 v: f' V; h9 |  F; s. x! h$ @
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
! {( U" `, u  G5 \8 Q不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
/ @3 s, G  \! N2 A4 P# d- v+ }4 T$ u0 ]Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
1 {% p$ x( O# k# w
; U, J: b/ L3 A5 F% @/ Z- D& B0 sDiscuz!插件模板版本选择:
( L. ?' S4 L+ a7 i" r9 d; G很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,- B$ G4 Z/ \/ L" X, D' \; A) _( f
针对这个问题做个统一的普及:
) I% D$ Q% u. Y( cX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ p, M# C9 R) `! h. B5 r
9 V+ h  I7 G0 m) e" b& B所以" I3 H: M6 x  x, d5 O
适合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的二级域名。! b: [2 H) s4 q* \; r" M0 J% T
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。% {2 a1 f  F9 I
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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