分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
. \7 e) B7 D' u8 \
+ n+ d+ i9 _) N. j+ ?. R% U7 d. U4 }( z
  1. [PHP]
    ; w( M3 ^6 ~' X" b( f0 V" T* p7 T

  2. 6 w3 I: j* ]$ ~2 U
  3. ;;;;;;;;;;;;;;;;;;;
    , G# U3 S2 x% w( Z: C
  4. ; About php.ini   ;$ `4 {9 f, J4 F  g. B" {( Y7 i- N
  5. ;;;;;;;;;;;;;;;;;;;2 E5 }( p( M. d! X
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 j; h, g# K6 Y1 g6 a
  7. ; configuring many of the aspects of PHP's behavior.
    7 _. v  N) Y$ [- g. h' ^! D/ H

  8. ; p) G, Q  ?  h! i7 T
  9. ; PHP attempts to find and load this configuration from a number of locations.
    / _5 @% a/ U: L, K' q
  10. ; The following is a summary of its search order:
    " y- Z, Z* h0 s+ q
  11. ; 1. SAPI module specific location.
    0 W, ~% @$ {7 T% u  Q0 }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    4 R+ D9 ]+ R2 o) [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)5 c/ j; ]: Z' \# D5 b
  14. ; 4. Current working directory (except CLI)" J+ E# \* y/ A5 w1 k  c8 i5 d% G. C0 L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ( Q# K+ ~) F' Q4 Y+ }: m  j
  16. ; (otherwise in Windows)+ l. k. s# m% N) _/ Y* R) b5 z  U
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- F& T( E% ?. J1 w2 W, {, E* _. \% Z
  18. ; Windows directory (C:\windows or C:\winnt)
    / `. d, s# z4 }
  19. ; See the PHP docs for more specific information.
    + f! u! P5 N* \7 Q5 n3 z5 O
  20. ; http://php.net/configuration.file
    9 D- M8 J* B0 y5 \# I9 p

  21. 8 Z5 U: K1 L6 J" J: N; S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 ?- M2 y% r# g) b; _7 x
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).. k5 v+ \! w$ Z- Q. [1 N1 J6 g3 H3 S
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) R7 |9 z5 d6 N, C- ?
  25. ; they might mean something in the future.
    $ V: |' {0 B; W( {  `" L
  26. " I1 a; _$ q$ H
  27. ; Directives following the section heading [PATH=/www/mysite] only9 a# S. J  |- d! f! t  ~* j
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ( Y1 j, A& \0 G; S) a- a9 E
  29. ; following the section heading [HOST=www.example.com] only apply to( ^$ u* N8 N% j7 x& n! [! C
  30. ; PHP files served from www.example.com.  Directives set in these+ F" M8 u9 ]: i7 \/ O! S% ~: `
  31. ; special sections cannot be overridden by user-defined INI files or
    ) m/ P, Q0 V4 D% Q( }* L$ C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    4 g/ x$ h# `2 Z+ x
  33. ; CGI/FastCGI.- I. I% M# e2 L9 D: F7 v
  34. ; http://php.net/ini.sections# M' `- X/ Z/ |! a) w4 {& m8 `
  35. 6 ?4 i2 H# y4 `6 C4 A7 W  ]. t
  36. ; Directives are specified using the following syntax:' W2 {& B' ]4 D% v
  37. ; directive = value
    $ L( y( d0 s. L, U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : |( F; W2 I4 [/ H% [
  39. ; Directives are variables used to configure PHP or PHP extensions.5 |" _0 y  a; C! e
  40. ; There is no name validation.  If PHP can't find an expected
    8 C% x, {, P% a1 p1 F3 Y2 s
  41. ; directive because it is not set or is mistyped, a default value will be used.2 s- R( `* _/ m* a: o5 H2 A' N  t

  42. / W. f* I6 N* c. y  m: s/ H
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 |4 j4 _1 J& z0 n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ) w: A% B3 U& g
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    - W) V- X* g0 Y; ~
  46. ; previously set variable or directive (e.g. ${foo})
    , \& k$ M5 E$ ~* q9 @  R4 D4 T
  47. ( s/ g$ H9 G8 X6 {7 z" e& b3 R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # `/ Z$ W3 B: t( |; m
  49. ; |  bitwise OR, D" Y. Z7 o( P) z1 L- o
  50. ; ^  bitwise XOR
    5 T& [  ~2 v& {8 e1 i4 @
  51. ; &  bitwise AND* d; f7 N; F6 N8 g$ t
  52. ; ~  bitwise NOT, Z, C9 m; Q7 F$ X* N
  53. ; !  boolean NOT; }! D# Z% r. [

  54. $ |0 u4 J7 w/ U$ H9 M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.( [+ g: l% [) d" _( M3 V
  56. ; They can be turned off using the values 0, Off, False or No.. _7 l# R% a8 z* s& z

  57.   f( m* B$ ~5 e
  58. ; An empty string can be denoted by simply not writing anything after the equal3 M8 ~) U- Y: a3 b1 V
  59. ; sign, or by using the None keyword:
    , S% \! F% W& E4 m# d) l9 B! z7 w% o
  60. $ O$ h  [3 {8 g/ {$ f# J
  61. ;  foo =         ; sets foo to an empty string0 o( _  h2 n. k6 I4 [: q# i8 A" \
  62. ;  foo = None    ; sets foo to an empty string7 R: M4 f8 }9 H( @
  63. ;  foo = "None"  ; sets foo to the string 'None'4 D, e: S% H; D
  64. * k9 O0 z0 I" z: S
  65. ; If you use constants in your value, and these constants belong to a) X/ d  c, n- O7 @7 g( J$ R1 K
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 |2 j7 ?9 X9 J& A  y; I
  67. ; you may only use these constants *after* the line that loads the extension.0 G* f7 Q2 }8 Q7 }( }0 b
  68. * S  ^/ J& i7 J/ S  b: k% S0 d
  69. ;;;;;;;;;;;;;;;;;;;/ C! b& m6 e5 ?+ _+ b( e. g4 g) B
  70. ; About this file ;1 o. e5 c- `" i+ a5 N( J
  71. ;;;;;;;;;;;;;;;;;;;
    - J0 y# T+ G2 F: k6 l; T
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! E  v8 X4 g7 @1 k
  73. ; in production environments and one that is recommended to be used in' n8 h3 x$ G( @; k( ]& y0 c7 Y
  74. ; development environments.) Q) l5 L. F: m/ c4 t  ^
  75. % q( {5 j  ^4 w5 C: B
  76. ; php.ini-production contains settings which hold security, performance and
    ! J# t. ?* t3 w2 W  c
  77. ; best practices at its core. But please be aware, these settings may break/ i( i# M/ N1 \( Q- {
  78. ; compatibility with older or less security conscience applications. We) T  ]& Y) W9 @
  79. ; recommending using the production ini in production and testing environments." F. ]8 S% ?7 V( v* v

  80. ( N/ L9 |) S! q' {$ X
  81. ; php.ini-development is very similar to its production variant, except it is
    * j( _5 E" A2 T3 c4 r/ M
  82. ; much more verbose when it comes to errors. We recommend using the, j7 W$ l( X8 X# d, Y( m
  83. ; development version only in development environments, as errors shown to3 s0 I* W2 ^" k5 F! g, v
  84. ; application users can inadvertently leak otherwise secure information.
    * l! p: Y0 T: A% |, f
  85. % d7 }4 p3 m4 U/ O
  86. ; This is php.ini-production INI file.
    2 k7 M7 k' m2 d9 R2 t, S
  87. 2 t3 P, w1 O; q) ^
  88. ;;;;;;;;;;;;;;;;;;;
    & V; B: p% e4 X* ?' G- C
  89. ; Quick Reference ;
    6 V5 f& C; S9 M- h0 H7 }. h
  90. ;;;;;;;;;;;;;;;;;;;
    2 Y) R3 A0 O- B0 k. K: z" ]
  91. ; The following are all the settings which are different in either the production# Y5 X$ ?1 t( W' K% h
  92. ; or development versions of the INIs with respect to PHP's default behavior.; T( x1 p! _$ N( N
  93. ; Please see the actual settings later in the document for more details as to why
    " i5 I, m+ p" j! x7 f* ]
  94. ; we recommend these changes in PHP's behavior.! Q3 W0 A+ F3 N
  95. 8 |+ [0 ]5 H* w  G/ F
  96. ; display_errors; v9 z* h( F+ k5 S) n
  97. ;   Default Value: On
    - O  r6 U, Z" I1 z4 V5 E8 Z( ^
  98. ;   Development Value: On1 {2 Z1 G( p% C* R6 x2 g
  99. ;   Production Value: Off
    3 V" M* W+ H# P/ {  l

  100. % t7 x( c& f5 G' d  W! N
  101. ; display_startup_errors) I2 V: F8 w& n8 k& Z
  102. ;   Default Value: Off
    6 B5 H: A: ], @( C7 E1 E
  103. ;   Development Value: On
    ' `- G/ ?# v- d: c6 k
  104. ;   Production Value: Off
    4 t9 L, R; z& e0 Z3 u, T+ K% y
  105. 4 G: ^& ^& s! H% ?# \- b
  106. ; error_reporting7 I8 D3 P  u9 ?! W" l2 K4 Y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : ]% V8 A2 g8 h$ Q) f5 K: g
  108. ;   Development Value: E_ALL- q) ?. u2 b3 Z$ ~8 `% @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 j9 V' P3 R, a4 x+ M
  110.   J) c) _' A% E7 B1 B
  111. ; html_errors& ~; v0 L# l, C
  112. ;   Default Value: On
    . m' U) o  h- w# Q' v& ]
  113. ;   Development Value: On" L$ Y+ U/ t" i" H/ X
  114. ;   Production value: On
    - z1 ]+ O7 H9 \8 b  G2 ^
  115. $ u8 L- R% N; H
  116. ; log_errors9 n4 D+ `5 p0 F2 ~, P
  117. ;   Default Value: Off
    : B; U+ `; {# g. k% \
  118. ;   Development Value: On( }3 g/ K' d6 ^  v# V3 M- B" c
  119. ;   Production Value: On
    % t3 f2 Q9 h. \% a+ F. I
  120. % U" w+ M# I( R7 U1 V
  121. ; max_input_time% w7 l7 i1 {; L) o# p) `
  122. ;   Default Value: -1 (Unlimited)
    " H3 G4 Y6 p! Y6 Y; s
  123. ;   Development Value: 60 (60 seconds)
    8 d' N6 v" u/ N; _7 m
  124. ;   Production Value: 60 (60 seconds)! q# E$ n" M! P! s0 T: g

  125. * t! w! V* a. V+ O
  126. ; output_buffering
    8 l  k  K; D1 D% Q; i% v
  127. ;   Default Value: Off
    : E+ M5 [. T: e5 @& m
  128. ;   Development Value: 4096- L- h" G, [6 q
  129. ;   Production Value: 4096
    " [3 q. z3 Q3 p  H

  130. 4 \6 R$ n8 v9 K5 z9 T5 ^3 d4 e
  131. ; register_argc_argv
    " N+ a) D! j( g5 p' n
  132. ;   Default Value: On1 o6 G% G: X9 u& n3 v9 T8 B
  133. ;   Development Value: Off, D3 ~+ v/ f2 Q3 ]6 S& e- b
  134. ;   Production Value: Off0 f$ l. i8 I; k4 C! K

  135. ; H2 \8 t9 ]5 V7 K% R$ B- [, d
  136. ; request_order
    . s. A4 m- c7 u6 i0 A
  137. ;   Default Value: None
      d; |" s9 w, `2 B4 |2 G6 O* R8 X
  138. ;   Development Value: "GP"& b1 [) k7 a; Q; I. T
  139. ;   Production Value: "GP", T! Y% A5 L- T" k! P9 U+ o! H# Q
  140. 5 ?8 J$ l, O- K7 m
  141. ; session.gc_divisor
    1 a# `, h& _4 n0 a- R
  142. ;   Default Value: 100( F% t5 L' I$ m, C& B
  143. ;   Development Value: 1000
    . a7 i5 L/ E- X
  144. ;   Production Value: 10004 ]9 E: M9 _# j* ?  i8 ^2 m

  145. 6 M/ x3 c5 V4 n' O; o2 ~0 M
  146. ; session.hash_bits_per_character& K6 x) {9 h: N1 l0 |  t
  147. ;   Default Value: 4
    - {3 w) w+ u* U' Q8 }
  148. ;   Development Value: 53 z2 {! b4 ?2 ^8 P9 ]* u% ~
  149. ;   Production Value: 5
    ) T1 k1 Y- k1 c, A. O0 q4 o

  150. 6 C1 {2 k3 f- |$ p% Q
  151. ; short_open_tag1 L. F* G. n9 c0 o
  152. ;   Default Value: On6 d1 Q9 `6 U4 f: n/ A6 {2 p8 \
  153. ;   Development Value: Off
    $ t  L1 p, V" w9 ~% F' r5 N" Z$ r: J
  154. ;   Production Value: Off
    & g( _2 d4 O" ]1 ?) V/ f

  155. , `$ }& h5 e  _% s6 B9 M6 d& q
  156. ; track_errors) f0 a( ~6 p8 A- G
  157. ;   Default Value: Off( n. ^- n& K' O8 n" H
  158. ;   Development Value: On3 q) [3 U8 Q. E, T. V) K
  159. ;   Production Value: Off. T, U6 R1 k/ t! _- j! |

  160. & Y; p0 I1 i8 `' q
  161. ; url_rewriter.tags
    2 ~* w) v2 i/ l' T6 W
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 n$ l, X. j! q; y
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * i" ~# k2 q& a
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 x7 ?4 k0 y9 Q7 Q1 g0 V
  165. 1 i1 k3 a$ c) P6 U. K
  166. ; variables_order* q+ c9 |5 q. f+ o; k8 N
  167. ;   Default Value: "EGPCS"
    : p+ e; f/ r( n
  168. ;   Development Value: "GPCS": Y' ]- e. d' T6 ]6 A3 Z
  169. ;   Production Value: "GPCS"3 p6 R% H3 i5 d3 e" J  A0 Z

  170. : U' s9 X9 `) j- V5 R
  171. ;;;;;;;;;;;;;;;;;;;;
    ) k- Z' l7 Y! v
  172. ; php.ini Options  ;
    / M/ i9 z& v' w
  173. ;;;;;;;;;;;;;;;;;;;;3 j: D% T8 T2 B: a  E% g+ [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" t# v$ n3 I# }$ N/ [4 E
  175. ;user_ini.filename = ".user.ini"
    9 e; ^: [2 i" y. n4 G" p
  176.   @( i* k8 V- U+ d3 r
  177. ; To disable this feature set this option to empty value+ d4 O5 U: I# ^* W
  178. ;user_ini.filename =& {' r& M* {9 ^7 U- {3 S7 [

  179. ! V& m$ T  l$ Q( \2 w1 G; z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 s+ E. Q: H& }! W8 w4 o9 v  t& V
  181. ;user_ini.cache_ttl = 300/ L, n  ?. I1 `, _5 R+ V* w

  182. & h8 x& ^& V" X/ i2 J
  183. ;;;;;;;;;;;;;;;;;;;;- w3 _. q2 ?, a, y4 K& P* f) `
  184. ; Language Options ;( X; S# U" b' e
  185. ;;;;;;;;;;;;;;;;;;;;2 w- s& f7 \3 H

  186. , c6 ~1 H* l  o4 r3 ^$ g; o2 {
  187. ; Enable the PHP scripting language engine under Apache.
    # C/ _* j# K  i3 M* T) ^
  188. ; http://php.net/engine
    0 f4 e/ @  L( M! D7 g1 ]5 G
  189. engine = On
    ' U, R/ U( B+ j
  190. ( d  a5 {* {% q7 i
  191. ; This directive determines whether or not PHP will recognize code between( N2 T% h/ d9 F  L8 @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is: g9 X3 c: U' U" m! \: b* H: p
  193. ; generally recommended that <?php and ?> should be used and that this feature
    $ j* z) u4 f1 v7 _
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ' j5 R# J2 w+ L# N! d
  195. ; documents, however this remains supported for backward compatibility reasons.9 G+ X4 X# H$ }# u
  196. ; Note that this directive does not control the <?= shorthand tag, which can be7 Q, \% O* |) K, q7 J
  197. ; used regardless of this directive.
    ! V1 C! y* D8 L1 Q
  198. ; Default Value: On1 v7 g# K2 B- D/ l, z$ \. a
  199. ; Development Value: Off/ ~7 B% q# }  [/ F
  200. ; Production Value: Off
    / U+ q" z# P! t% L. k' A
  201. ; http://php.net/short-open-tag/ U3 ~4 ^# l! G3 B/ D% [" q
  202. short_open_tag = On
    # \; z, l" k, H1 q) L+ ^
  203. - O! R0 [0 b$ j+ ?4 x$ y! w4 k
  204. ; The number of significant digits displayed in floating point numbers.
    6 o5 a3 |) G; d8 H5 y& m5 y
  205. ; http://php.net/precision
    + P  k% j& Z( G! A; D* I. _! W
  206. precision = 141 M1 }/ ^7 A$ Z6 r

  207. % \" l# h0 K5 S/ n, m8 g+ y
  208. ; Output buffering is a mechanism for controlling how much output data
    6 v  Y2 B# ~% Q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 [0 l. t# e7 I. G+ p& m
  210. ; data to the client. If your application's output exceeds this setting, PHP0 g+ K. |( o; H2 o5 ~# d# A
  211. ; will send that data in chunks of roughly the size you specify.
    : U" h( a# X1 S( X* X
  212. ; Turning on this setting and managing its maximum buffer size can yield some& z& c/ H& Q6 W8 g: h6 M
  213. ; interesting side-effects depending on your application and web server." }* t) ~/ k1 ?5 l: T: A; P
  214. ; You may be able to send headers and cookies after you've already sent output
    1 u) J) D6 G$ d; J" _
  215. ; through print or echo. You also may see performance benefits if your server is
    ! w4 J" p" U3 N7 F& `$ v" z
  216. ; emitting less packets due to buffered output versus PHP streaming the output- H' c' {; _) h$ c# B
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance& |* n0 ~- T/ V1 T/ Z( D
  218. ; reasons.
    - \, N& K# c3 {0 Q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    % _7 D1 r) v- {+ I9 i+ q+ T
  220. ;   functions.5 ]7 f; q7 N% \7 c; b
  221. ; Possible Values:+ F1 K$ _1 w% B, r- H
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 ~4 z) f( t5 R* H; w1 G1 H( m
  223. ;   Off = Disabled
    : O0 e% V$ _) X# g1 x' q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    1 w9 Z2 B5 H# ~  t8 ~
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 y! z" `) n0 H( G! D) t
  226. ; Default Value: Off- M, l- P: B* [
  227. ; Development Value: 4096
    6 }7 F0 N1 s; d4 q
  228. ; Production Value: 4096: L0 r/ D7 Y, J) [1 E1 v+ U7 @
  229. ; http://php.net/output-buffering* l/ W6 N9 y5 t% P# b
  230. output_buffering = 4096* j5 J' L' t3 @2 r/ p, J+ {8 E

  231. 8 y+ ]; X" ~) Z; S! k! e
  232. ; You can redirect all of the output of your scripts to a function.  For3 r8 j9 m; |( W) M, h! L7 c2 N! S& I
  233. ; example, if you set output_handler to "mb_output_handler", character
    9 M* @3 V+ B+ w: J1 E! |
  234. ; encoding will be transparently converted to the specified encoding.
    2 M) ]8 C( o  E
  235. ; Setting any output handler automatically turns on output buffering.- y& n  _2 v$ A; b& [
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % K3 U4 N0 B1 i6 L* S: [9 b
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 R# L( {7 l  l" P5 m2 A* r
  238. ;   Using this ini directive may cause problems unless you know what script
    % p; {& E/ W% I" s& I: _; f
  239. ;   is doing.( h+ y  E( G9 w
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"% Z! X1 _( ~+ Y8 x7 h+ Z
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 p) {$ u  B6 L' C
  242. ; Note: output_handler must be empty if this is set 'On' !!!!4 ?* s% `' z$ z6 E/ W
  243. ;   Instead you must use zlib.output_handler.
    , w  e# N# P0 i
  244. ; http://php.net/output-handler
    " T. s+ f) C& w3 _1 a1 l
  245. ;output_handler =' L6 O% w5 k3 T/ H& L  n- T# `# l
  246. " R, y2 C# i7 M
  247. ; Transparent output compression using the zlib library3 v& T% h9 c3 M* a' L) L! R, z
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
      ^1 ^5 V  h7 g2 s0 a+ t9 q
  249. ; to be used for compression (default is 4KB)- ]3 T* G) V$ L# z* o% W
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ v9 b/ n5 Y- B5 {/ j
  251. ;   outputs chunks that are few hundreds bytes each as a result of& c3 S% d( c5 F! W' e/ g; j
  252. ;   compression. If you prefer a larger chunk size for better+ U: A6 m4 a9 u% Q  y
  253. ;   performance, enable output_buffering in addition.
    $ B6 C  z' N. L9 |
  254. ; Note: You need to use zlib.output_handler instead of the standard5 }0 `- S# R4 R9 w3 ^# L% @/ t& b
  255. ;   output_handler, or otherwise the output will be corrupted.8 v; A) k% }  B! n0 y5 u( S
  256. ; http://php.net/zlib.output-compression3 Y, T- s  k- P3 C/ g
  257. zlib.output_compression = Off: e& l, [% y' c
  258. ( `; X/ e' P% _& C' F& x% A
  259. ; http://php.net/zlib.output-compression-level
    " n4 Q! O- ]/ F
  260. ;zlib.output_compression_level = -1/ {3 c& H5 `; g# r* E( g5 x

  261. ; C9 T/ T, A1 Y1 W
  262. ; You cannot specify additional output handlers if zlib.output_compression
    * M4 Q, K; I* A. T3 }0 `( e" S4 ?! ?% [
  263. ; is activated here. This setting does the same as output_handler but in1 y/ }+ v; P# O) v+ O9 |
  264. ; a different order.8 a; E5 A( I2 ]& z! {
  265. ; http://php.net/zlib.output-handler
    9 P' C' O( w. u+ C
  266. ;zlib.output_handler =
    4 n# C( }$ e6 X" N) N: c, t
  267. , C3 b9 [! E$ S5 G! U6 A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself- k* [' O) P9 ?2 f' Z" f" y& q
  269. ; automatically after every output block.  This is equivalent to calling the8 n/ N- }0 F# J2 m# h# J5 ~
  270. ; PHP function flush() after each and every call to print() or echo() and each
    + s  }, c" A+ y3 U5 I
  271. ; and every HTML block.  Turning this option on has serious performance
    2 H" o+ r$ X7 \2 \2 y$ {
  272. ; implications and is generally recommended for debugging purposes only.
    8 r: A  ~" I+ D
  273. ; http://php.net/implicit-flush
    ; |$ `6 X/ ^* s5 J
  274. ; Note: This directive is hardcoded to On for the CLI SAPI' T5 h: V$ m9 S& Y9 G, g
  275. implicit_flush = Off$ u2 t8 V; q2 M3 H, h
  276. 3 ^3 a5 Z9 g  D* k, A8 _
  277. ; The unserialize callback function will be called (with the undefined class'
    & k# n6 w7 O9 V- I6 v
  278. ; name as parameter), if the unserializer finds an undefined class" e3 o( ]1 C, [/ w- F$ H" [! t
  279. ; which should be instantiated. A warning appears if the specified function is
    9 f6 E5 G1 j' [: ^/ _
  280. ; not defined, or if the function doesn't include/implement the missing class.# j6 p7 a2 q! t; Z
  281. ; So only set this entry, if you really want to implement such a
    6 N2 j4 Q5 j0 ^1 f8 G) L7 b
  282. ; callback-function.1 x8 ~8 K4 i$ M; B$ Y2 v: i5 w" w4 Y
  283. unserialize_callback_func =' |) j. M/ T' c3 U* P

  284. ; b3 C, {0 J7 T0 x5 u, a
  285. ; When floats & doubles are serialized store serialize_precision significant
    6 l* m+ H) }2 c- j8 f2 [6 o5 n
  286. ; digits after the floating point. The default value ensures that when floats
    + J% z; T! F9 ^9 X) D' L
  287. ; are decoded with unserialize, the data will remain the same.
    ! p- o7 K* {/ ]$ v' f4 B
  288. serialize_precision = 177 M5 H  H/ d% a; V. T
  289. 5 E* [4 s. }3 h+ t$ s1 l+ p8 n
  290. ; open_basedir, if set, limits all file operations to the defined directory1 L  G3 u2 D; e5 ^
  291. ; and below.  This directive makes most sense if used in a per-directory/ C  }9 h3 d5 G( l  j! |* }; j0 A
  292. ; or per-virtualhost web server configuration file.# a" m3 Q8 T2 T- \6 I5 b
  293. ; http://php.net/open-basedir6 T& a/ N3 @+ v3 L" K7 b
  294. ;open_basedir =
    " A% Z4 n; p4 u  b2 x+ S

  295. * Q& J* x# w; {7 P' f
  296. ; This directive allows you to disable certain functions for security reasons.* e- }  f) T% Q0 u2 w) k3 ~
  297. ; It receives a comma-delimited list of function names.! n- T7 i9 X2 @+ m* ^) q5 U, F
  298. ; http://php.net/disable-functions4 ?: a; {6 F6 f8 O% [! Y, c
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : _) D- ^% ^  K
  300. ) p+ R0 V* f1 O6 T! b# `
  301. ; This directive allows you to disable certain classes for security reasons.4 L6 v7 e5 [9 p) `
  302. ; It receives a comma-delimited list of class names.
    0 B( Q9 h- e; m5 q2 k- C
  303. ; http://php.net/disable-classes
    6 t7 D+ h6 t+ d
  304. disable_classes =
    ) W. z5 R# S+ g
  305. ' y% V' k6 `: ?7 ?! q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 @! c" N- M" w3 D% {
  307. ; <span style="color: ???????"> would work.
    - R' P. K4 c* `. q
  308. ; http://php.net/syntax-highlighting7 p5 o$ h1 X# }! @
  309. ;highlight.string  = #DD00008 z& i$ F" K" Z% T! B8 _7 L
  310. ;highlight.comment = #FF9900
    : w, a% w% w; g. R- k! N: t2 K
  311. ;highlight.keyword = #007700
    . t# Z- K! m+ y4 w' r0 O
  312. ;highlight.default = #0000BB: F, Q0 w' S6 }  |* O6 q4 u
  313. ;highlight.html    = #000000
    ) `1 x9 w3 H& q3 X9 H/ T4 `4 o
  314. 4 O  T5 k! O# |4 |6 }
  315. ; If enabled, the request will be allowed to complete even if the user aborts5 G7 j4 S* o* v
  316. ; the request. Consider enabling it if executing long requests, which may end up4 F* J4 V9 U2 S& @' ~: W* a: [, l6 i
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # f; t3 \1 [" V# q" `# r7 x/ B6 p7 C
  318. ; is to disable this feature.
    # V0 X% u' V* H4 y
  319. ; http://php.net/ignore-user-abort3 V8 r, C& `3 g0 b9 o7 h9 ~5 J9 U
  320. ;ignore_user_abort = On
    & x6 ^; k; Q( p# \) B% M& g

  321. ( s* x: d" \2 A) P
  322. ; Determines the size of the realpath cache to be used by PHP. This value should' r6 K- N/ c) B* ?! N
  323. ; be increased on systems where PHP opens many files to reflect the quantity of3 P# h; u& B0 U) R" Q
  324. ; the file operations performed." g" p( i( K2 }, k7 k8 t: z6 N
  325. ; http://php.net/realpath-cache-size7 t% G1 n# N8 h6 O3 g; N: P: K3 c
  326. ;realpath_cache_size = 4096k
    # p" {4 q3 j1 i. E2 s3 }4 f
  327. 8 x; i3 I% |7 X
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    & h$ ]1 }% q. S% Q/ \% K
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    " `) S# l. X$ X/ l
  330. ; value.
    " m: q) f" }9 c: l3 x0 q
  331. ; http://php.net/realpath-cache-ttl
    ) n5 S; x+ U8 b  d. ?! n2 g
  332. ;realpath_cache_ttl = 120: _2 x) B5 N' H+ R
  333. - U9 p9 A+ M3 Q* ]
  334. ; Enables or disables the circular reference collector.8 B. ?4 u# y. p+ e' Y, M
  335. ; http://php.net/zend.enable-gc: J+ y# }' I. h( k1 ^1 ?% g! |
  336. zend.enable_gc = On) y; ^! B/ {# m* h* \" u
  337. 7 d4 m* @& i8 q
  338. ; If enabled, scripts may be written in encodings that are incompatible with" H' E8 g0 A  g* r3 e% }2 X& I( l
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 l) b$ B% L+ t: X5 d" U
  340. ; encodings.  To use this feature, mbstring extension must be enabled., ~. U2 h1 {  M" Z" D
  341. ; Default: Off
    1 p5 f, z& P: V& X# ^" M0 }" {; _# X
  342. ;zend.multibyte = Off( e9 L, \$ Z1 t0 W
  343. . o, M# ]0 y; }6 H6 v( W
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    * C" P* ]4 N% m" h: R
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ! n9 X$ [' O3 H
  346. ; Only affects if zend.multibyte is set.
    3 G: I) q# Q* T0 |
  347. ; Default: ""
    % C: ?+ ]+ q" d
  348. ;zend.script_encoding =* A# s- f  ^0 E! w! p  i! l

  349. 5 f0 y4 ?5 V1 I$ s: d3 [7 d# [  w
  350. ;;;;;;;;;;;;;;;;;
    ' h3 u  O# a' Q0 w
  351. ; Miscellaneous ;
    $ ~/ P1 W) }; Y% l3 ~+ H# r  N& N
  352. ;;;;;;;;;;;;;;;;;
    8 h1 p9 |) K8 Q( P
  353. ' |$ X* ^, e  u8 g/ o2 O" b0 w
  354. ; Decides whether PHP may expose the fact that it is installed on the server# r5 P( q  n5 C9 q5 ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 G/ [0 I/ d# V
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 A+ U: w% q% L, f6 s2 O7 J4 N
  357. ; on your server or not.
    9 B6 L& [+ N5 m- ~& Y/ s
  358. ; http://php.net/expose-php  [* K6 |% j% K% L: W
  359. expose_php = On) d" _9 V1 U; o7 [

  360. 1 N) g  d+ o* L. U! `1 ]
  361. ;;;;;;;;;;;;;;;;;;;3 @9 H9 j: j; k* J% t3 u+ f
  362. ; Resource Limits ;
    # i. W- K! f0 `+ u% {  k
  363. ;;;;;;;;;;;;;;;;;;;' H& w7 W8 U& }8 U9 f6 h6 g2 H) g& i

  364. ! y4 n2 ]7 l) O) h, ~# l
  365. ; Maximum execution time of each script, in seconds2 K2 w5 A0 L$ L6 J% `6 H" f
  366. ; http://php.net/max-execution-time
    : d/ j/ z: _& U1 w- X  n( B
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! x: P9 u  _. s' `' u; x" [
  368. max_execution_time = 300
    ' b1 e* Y- [, s% b4 G

  369.   Z% ]- z# d5 ?- r7 ]7 Q
  370. ; Maximum amount of time each script may spend parsing request data. It's a good# z- b; y  Y4 x/ F9 j$ N
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; e6 k- w0 G8 Z* o( W7 a
  372. ; long running scripts.% R2 y% o( C5 _4 x8 K- R
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 t* M5 F, n7 t# b1 d& a
  374. ; Default Value: -1 (Unlimited)" s, w7 \) r4 Q- X7 M
  375. ; Development Value: 60 (60 seconds)
    ( h8 G& Z! S. V: `# ?: S
  376. ; Production Value: 60 (60 seconds)# D: C6 w( f( E2 q% q
  377. ; http://php.net/max-input-time
    4 C$ M, U# q8 t% ^4 C
  378. max_input_time = 60
    ( C2 \' B) d0 t
  379. 6 x. p9 ]( @* G& e1 Y
  380. ; Maximum input variable nesting level
    7 W  N9 a2 Z1 o( i3 ~2 I, r  o
  381. ; http://php.net/max-input-nesting-level; t7 n/ f4 q) ?" j% u  T7 v6 Z
  382. ;max_input_nesting_level = 64- A* O, L6 ~" B3 E- p0 ~
  383. 7 m0 z% R' f4 [! N! v& D" H
  384. ; How many GET/POST/COOKIE input variables may be accepted
    4 u7 ]( v$ C  T; G
  385. ; max_input_vars = 10006 i, T* l4 y- J$ C
  386. 5 X7 W4 S( h+ |( B( w, S
  387. ; Maximum amount of memory a script may consume (128MB)
    2 o: B; @2 t1 }9 {( O
  388. ; http://php.net/memory-limit- a8 h1 q, r  b0 D4 T* o
  389. memory_limit = 128M
    0 u+ h0 n: ]! z0 q% S& l' q
  390. ) Q/ M3 M& e+ v/ W( [
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % Y7 c# A. y- r5 t: S
  392. ; Error handling and logging ;
    8 E: x0 n/ ]1 G7 y8 U
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 s. H$ T- D5 y2 b. H+ F- I

  394.   J  G( L2 k5 |6 i& ^, _. q4 G
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    0 h" g# b6 w& g, }1 X
  396. ; it to take action for. The recommended way of setting values for this6 ?4 X; r7 c0 j0 d
  397. ; directive is through the use of the error level constants and bitwise
    . D3 l# O; I# S0 @+ Q4 v; }
  398. ; operators. The error level constants are below here for convenience as well as
    % P, J0 }8 ]9 x
  399. ; some common settings and their meanings.
    7 v! W" u! b5 n9 }2 g9 D* c
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 i4 M$ j3 Q) R  d' S- |( }
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and# z" Y  _9 ~- S- C: [9 \) @
  402. ; recommended coding standards in PHP. For performance reasons, this is the6 {0 w: \7 O- g4 c. m8 R
  403. ; recommend error reporting setting. Your production server shouldn't be wasting3 y* F2 p" _* H' I! U: ^
  404. ; resources complaining about best practices and coding standards. That's what
    & {: k1 @9 J9 `4 x# R6 ^2 d  f% }' L
  405. ; development servers and development settings are for.+ z2 a, x/ [5 }/ K- j
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    . T9 T: C: V8 t
  407. ; means it pretty much reports everything which is exactly what you want during
    7 P6 M. Q6 p( b1 g) h; t% `! U& b
  408. ; development and early testing.
    * K: C2 [) W: h9 y# j  [3 U! l
  409. ;
    1 ?5 G* |/ U! {9 T( @; H1 j/ C* U
  410. ; Error Level Constants:
      K) J. X/ z( O* C* p
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! S9 |2 k0 N8 G& {. _! b
  412. ; E_ERROR           - fatal run-time errors
    , D% n7 |3 i9 G+ |3 j8 g
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors; S2 X( B( i( J
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 |7 l; S2 T, |* k5 k2 a7 u9 x
  415. ; E_PARSE           - compile-time parse errors4 O  h1 D3 \* i6 e" D- H  i
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    " ^- L- T  \5 M$ F7 m7 `" w% r' r
  417. ;                     from a bug in your code, but it's possible that it was
    : R7 f4 r- g, t
  418. ;                     intentional (e.g., using an uninitialized variable and
    - I  S  p) A* i; W0 f3 f6 F* {
  419. ;                     relying on the fact it is automatically initialized to an6 G. t* {- q/ q* f# s: Y! v4 r
  420. ;                     empty string)
    : v+ D2 M# q+ h
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # R+ Q) _5 X2 z0 L7 T& i
  422. ;                     to your code which will ensure the best interoperability
    # G# r" K) K5 S0 n8 N
  423. ;                     and forward compatibility of your code
    $ ~7 Q4 p9 M0 k/ Q3 }
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup- \( m  n2 Y) W6 H6 M
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. l0 H+ V: q) C# k
  426. ;                     initial startup
    8 E) i" t; I: y& ?1 E" [! [# e$ E
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ; B# f' ^) c3 e$ f% u. G
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 K2 H3 r/ }0 {0 N
  429. ; E_USER_ERROR      - user-generated error message( d+ A+ i; N/ Z; T0 J
  430. ; E_USER_WARNING    - user-generated warning message3 k4 O1 L& W. o( s8 z
  431. ; E_USER_NOTICE     - user-generated notice message
    5 Z& H: N1 g& }' Z& v
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
      m) }& P- S! y
  433. ;                     of PHP8 [) [: n2 L2 t1 ^7 U
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    % [6 M2 j9 I& f/ f
  435. ;
    1 j: g( [! I; R' U
  436. ; Common Values:
    - T& w) x8 L- r7 }+ ]' F' U% q& q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    9 N! v# j1 V: ]6 i' G
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' J4 U+ Z/ G: u' P; B4 R1 d9 n
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ L( F& p9 V- [5 w( \: F
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 [* B/ b( g. ~; c2 b( Q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + s& ^+ x( H: p% M3 N
  442. ; Development Value: E_ALL2 Y5 k" e# Q2 K. v  C
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  t, W- I* \2 B+ J7 V/ w
  444. ; http://php.net/error-reporting
    ! z( d  h1 n; p! J' X8 V( H
  445. error_reporting = E_ALL & ~E_NOTICE
      J/ \% J& X, a! q2 Z
  446. & b! m! j) j" M" d6 [) R  k
  447. ; This directive controls whether or not and where PHP will output errors,
    5 V" m% P* x) o1 d
  448. ; notices and warnings too. Error output is very useful during development, but
    1 D1 F4 Z8 ?7 j# g% E: b
  449. ; it could be very dangerous in production environments. Depending on the code
    8 u2 P( o+ g3 _, u" c7 V
  450. ; which is triggering the error, sensitive information could potentially leak
    3 y; N: w2 z0 ^  G% d# _6 |
  451. ; out of your application such as database usernames and passwords or worse.
    6 B0 Y8 U* F5 J9 a! N* j
  452. ; For production environments, we recommend logging errors rather than" S2 Z) m3 `/ p/ H( {6 {
  453. ; sending them to STDOUT.
    / t' ^& W% D) [7 K/ m- m1 d0 A3 H
  454. ; Possible Values:
    * w% K4 [$ i& e7 [0 c, ^. d( E
  455. ;   Off = Do not display any errors5 `+ Z& X# T* X( Q( e5 d  g, B. k8 g
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ X) e8 p( L1 p5 C  J3 r
  457. ;   On or stdout = Display errors to STDOUT. ]+ `( e# H, V. V- V1 h
  458. ; Default Value: On
      k, S" A: A' f! W  K- E
  459. ; Development Value: On
    / k4 Y' O( o: T3 ~" f6 ~5 [
  460. ; Production Value: Off8 [3 H8 E' `2 S. s
  461. ; http://php.net/display-errors+ T2 K" s) z# n- y
  462. display_errors = On7 J& U4 @, c/ l$ `% t
  463. * u8 A/ m0 F8 y4 _4 S3 }' S
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 w1 F& J) L4 Z3 z7 U
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    7 k0 Y& r& T7 s4 D
  466. ; errors from clients. Turning the display of startup errors on can be useful in* T5 s7 }* Z% A, ^- ^3 X3 j7 b( B" ?
  467. ; debugging configuration problems. We strongly recommend you8 T0 D; B4 G, Q" C/ ^; v/ l
  468. ; set this to 'off' for production servers.
    4 y7 K% ?" m: o9 O0 I
  469. ; Default Value: Off1 Q0 J& e7 d5 ]+ Q% r5 q
  470. ; Development Value: On
    " L( A4 B4 A- B8 I6 |( ]3 m
  471. ; Production Value: Off. _3 `! h/ ]  G( u4 @1 a
  472. ; http://php.net/display-startup-errors
    " \& Z7 @- }9 ^. e6 g0 c2 a9 M
  473. display_startup_errors = Off4 s" p7 L+ X6 l% v: l$ k1 E' g
  474.   q9 l* u3 [  H, b
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    , ^! p; v' y. @" ~2 Q0 Z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    2 c. ^/ {4 r4 a, M8 P6 g# D
  477. ; directive found below. While errors should not be displayed on productions
    - m$ o- e8 N5 d# y
  478. ; servers they should still be monitored and logging is a great way to do that., o  R2 J. i& w9 Z' q
  479. ; Default Value: Off9 t* q3 m! B2 v  x+ t6 i, b
  480. ; Development Value: On
    7 p' l. p# b3 E0 c; b& e, e+ m$ ?8 |
  481. ; Production Value: On
    ' X, O- m) o0 p5 \+ R! ]
  482. ; http://php.net/log-errors6 b* ?9 m7 y/ H
  483. log_errors = On: k  A  b: v/ g+ s" ?, {+ L8 {- ?

  484. ) w& d5 b$ b* X" J" U
  485. ; Set maximum length of log_errors. In error_log information about the source is: E9 T5 @; c8 y3 M  m
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    % y8 k, n# z7 _
  487. ; http://php.net/log-errors-max-len
    7 I6 Q0 B% Z# l$ W+ o$ E7 X* a# H
  488. log_errors_max_len = 1024
    7 n( H: k; J0 L* |6 }# ^, i- P+ V0 J
  489. 2 _6 y! r6 [9 \# P
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same, U# y  _) O+ @1 l1 Y# @8 W
  491. ; line unless ignore_repeated_source is set true.- {0 R6 B" ~! ^
  492. ; http://php.net/ignore-repeated-errors
    0 \2 k0 `" u) V- b& l. H" X" L
  493. ignore_repeated_errors = Off
    & G7 X; P$ J( k5 ^

  494. / h4 r) u3 K  D9 |. h+ p; |% [
  495. ; Ignore source of message when ignoring repeated messages. When this setting) w+ Q: x9 p2 R# |! D! M, p
  496. ; is On you will not log errors with repeated messages from different files or
    % A' M4 w( g, n$ Y) E; A# @- J
  497. ; source lines.
    * g) e, ~+ T7 o( ]
  498. ; http://php.net/ignore-repeated-source
    4 m; P/ s4 @  S1 M5 K9 a: x7 @8 {
  499. ignore_repeated_source = Off. A" b( V+ l/ ?
  500. 8 Y% f# @2 A0 n4 n. {1 k' m/ r
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on4 W+ R) U. z# {. R& L; ^
  502. ; stdout or in the log). This has only effect in a debug compile, and if( y% S6 l5 G0 ~0 d; m
  503. ; error reporting includes E_WARNING in the allowed list) a- ~: |( Z) ]/ ?7 |
  504. ; http://php.net/report-memleaks
    7 [1 |4 J3 v/ o
  505. report_memleaks = On
    1 v' A# D5 j5 Y% U! I0 U+ V3 a# y
  506. - o- V, Y" w  c" h# ?" K8 ^  D
  507. ; This setting is on by default.
    # f7 q4 X4 ^- s) ?
  508. ;report_zend_debug = 0
    2 {6 @$ J. Q* f0 K: c

  509. ' b; K: z2 `. I: ?
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value+ _2 o: F  y& t9 D
  511. ; to On can assist in debugging and is appropriate for development servers. It should8 T7 m$ {  `$ k8 L( [
  512. ; however be disabled on production servers.
    , v3 I: o+ b9 Q# }
  513. ; Default Value: Off4 \8 _, n" t# j& \$ g1 e
  514. ; Development Value: On# b0 T9 l5 `6 m' V7 O
  515. ; Production Value: Off, Q& u0 d3 n0 I
  516. ; http://php.net/track-errors
    / o( z8 B: l: o: k6 P
  517. track_errors = Off  Y' x+ Y1 e( V: J2 y
  518. % |. e! o4 F, j, T
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    # [  s9 M- g4 U% |6 I" v9 E
  520. ; http://php.net/xmlrpc-errors
    9 R6 I8 t; n" H/ [7 c, ~8 m
  521. ;xmlrpc_errors = 0$ A6 H/ V' M$ b

  522. 4 c" D- k3 i! L/ w, U- U
  523. ; An XML-RPC faultCode3 |/ V1 t3 _8 n! s* q1 z' Z$ `: @
  524. ;xmlrpc_error_number = 02 l0 H. f5 M$ `3 T! u; m- E

  525. 6 U( G; k6 [; Y+ J
  526. ; When PHP displays or logs an error, it has the capability of formatting the( N3 l+ _/ n* K: n7 \. A, v( d
  527. ; error message as HTML for easier reading. This directive controls whether
    3 k6 d: h1 Q8 A' c) j  W
  528. ; the error message is formatted as HTML or not.
    7 t  o: u1 q" \* ?' N( r% a
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 g6 T! i3 z. ?7 G7 ?. Y- _7 T
  530. ; Default Value: On4 C4 j4 D  B! i
  531. ; Development Value: On
    * N2 a4 Y& `& V
  532. ; Production value: On
    # u/ y$ I; D4 ]4 k% {; \/ C8 L
  533. ; http://php.net/html-errors7 X. N. \/ Y9 W  ?9 g+ z
  534. html_errors = On9 o( t* Y" m1 [3 B& K3 ~/ N

  535. 9 Y& {9 y7 U. ~7 _
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . X3 e/ P$ {% V8 C) |% {! `
  537. ; produces clickable error messages that direct to a page describing the error7 l+ Y3 L( x7 p6 Y! _; {* ?: U  w
  538. ; or function causing the error in detail.1 Y6 V% F* Y! Q" x& \
  539. ; You can download a copy of the PHP manual from http://php.net/docs7 t; @$ N7 @# B4 Y" {% f' g
  540. ; and change docref_root to the base URL of your local copy including the$ s6 S: O- s0 s* _( Y
  541. ; leading '/'. You must also specify the file extension being used including6 C2 D! l5 F$ g
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( c% ]! S* C2 K/ |: |3 @
  543. ; case no links to documentation are generated.( \. ]! r0 D! ^- H$ F/ F+ t& O7 r
  544. ; Note: Never use this feature for production boxes.) y! e. ]+ }2 q- a, J  i& E
  545. ; http://php.net/docref-root3 e1 v9 t. z/ d0 N' e. ^" n, U
  546. ; Examples
    , ~" Z  ]/ v9 G
  547. ;docref_root = "/phpmanual/"
    2 f! Z# B: N/ w! g
  548. 7 V* d# v* t) s& ^9 y. A
  549. ; http://php.net/docref-ext: t  H% r% m2 P) N, q: |, g
  550. ;docref_ext = .html
    % @! l+ D; q+ r# Q
  551. : i2 Q7 j% C, p. z: s9 n7 s
  552. ; String to output before an error message. PHP's default behavior is to leave
    $ ^2 B& A# W7 G/ E  e
  553. ; this setting blank.
    / Q7 @2 ^7 D% P. S
  554. ; http://php.net/error-prepend-string
    ) F4 S+ r/ k/ E6 @( S; K! _2 g
  555. ; Example:5 g' W) A3 b% m) i1 T
  556. ;error_prepend_string = "<span style='color: #ff0000'>"0 I- c+ l& ]0 A5 X# j1 P5 ]

  557. 4 F+ r; i1 f$ ^0 Z8 V% X6 f1 d
  558. ; String to output after an error message. PHP's default behavior is to leave: x- ^: N0 P  o/ U6 N/ Y
  559. ; this setting blank.
    % ?$ L& P) Q% j" c1 `8 ]% n/ ]
  560. ; http://php.net/error-append-string# [3 N" C: E7 J( O9 S
  561. ; Example:
    : t6 {- j; g# q4 F  M5 F
  562. ;error_append_string = "</span>"
    4 X4 `( R4 x) u( E9 W

  563. + Y, g- t  y# T
  564. ; Log errors to specified file. PHP's default behavior is to leave this value: S! ^6 b$ V3 y& O
  565. ; empty.( w0 P$ y9 G1 ?4 R% ^/ L  I6 E
  566. ; http://php.net/error-log
    * T% s5 t& z4 _  a  k7 {
  567. ; Example:7 d) Q% m/ T7 C9 X
  568. ;error_log = php_errors.log+ b" z/ I/ L; r" I9 P6 d! f
  569. ; Log errors to syslog (Event Log on Windows).8 {4 c3 _' Y8 ~6 M7 I8 H& ^9 ^
  570. ;error_log = syslog
    8 |$ l" H$ S8 {
  571. ! e% [. ~" q  o5 N# V1 U+ D
  572. ;windows.show_crt_warning( y3 r  W! P8 a+ r* e! P% T+ s& P
  573. ; Default value: 0; {9 E" ^2 Q: o$ p7 a) `( g
  574. ; Development value: 0
    ) b2 }7 U. t" V7 \& [
  575. ; Production value: 0" M/ z% r  W* f; P  ?! e

  576. & ~1 c' t# ^  y9 [" @6 x: f
  577. ;;;;;;;;;;;;;;;;;
    ! Z/ ~2 B9 ]/ d9 `1 R
  578. ; Data Handling ;
    ! e$ Z" }0 p  s9 p$ s% i  U
  579. ;;;;;;;;;;;;;;;;;
    : R, o9 ?% r2 }1 J0 G  r  l3 R

  580. / y- i1 f8 }4 g( a2 t& z
  581. ; The separator used in PHP generated URLs to separate arguments.
      r/ i. Q& Q. n1 I: Q* f2 o, C# h/ Y
  582. ; PHP's default setting is "&".% r" ~- }( z) M
  583. ; http://php.net/arg-separator.output! B5 s6 W" ~7 Z1 ^6 D
  584. ; Example:9 [) S% G1 u! K) i0 @8 B) K
  585. ;arg_separator.output = "&"' n0 N0 W& {* B8 J2 P

  586. ) o4 i& f7 k$ p+ H. z; N* l
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! S8 q4 s6 G# h3 `5 {, t
  588. ; PHP's default setting is "&".
    7 P8 H' U4 l: t5 D! w5 w
  589. ; NOTE: Every character in this directive is considered as separator!9 Q! ~% Z0 m+ O0 Y$ l" ~
  590. ; http://php.net/arg-separator.input  h% Q% F2 n4 @& D! w) I
  591. ; Example:
    7 D3 a$ w1 \. i' F; |
  592. ;arg_separator.input = ";&"
    3 G; `+ `* u/ x/ L, Z* R7 H

  593. , X6 a. m. m6 }" `$ \  J
  594. ; This directive determines which super global arrays are registered when PHP
      F6 A& j9 f1 `$ P4 T" G
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super. E5 Q9 }( l. y& S6 k( w  j
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % I& Q) ]# Z9 C8 J3 j
  597. ; paid for the registration of these arrays and because ENV is not as commonly% w3 L! E; S# ]# x
  598. ; used as the others, ENV is not recommended on productions servers. You5 e' y& s& E$ \% H6 b# c) n
  599. ; can still get access to the environment variables through getenv() should you
    % e6 N9 p& z+ D; |- Z/ s4 U
  600. ; need to.% C0 W0 P! i) j) Y( h, N8 E( P9 `
  601. ; Default Value: "EGPCS"  H% J9 Z- [; q
  602. ; Development Value: "GPCS"$ k2 @/ j9 U9 ?- J; t
  603. ; Production Value: "GPCS";0 o0 \% [- F9 y' I% N# {
  604. ; http://php.net/variables-order* c6 `, B* p( q7 a; }
  605. variables_order = "GPCS"5 g* s4 U3 T0 |( L9 q9 @' k
  606. 2 ]% x3 T; W$ Z8 h
  607. ; This directive determines which super global data (G,P & C) should be
    # s: d- N: F% m, i- _2 c
  608. ; registered into the super global array REQUEST. If so, it also determines' o. J9 l; i2 i" _" V! n! a& p! A" ]
  609. ; the order in which that data is registered. The values for this directive
    ) d  M0 C1 I/ y7 {2 {1 ~3 S# j
  610. ; are specified in the same manner as the variables_order directive,: s" L; o% A6 l9 j- P$ T+ C! w! J, c
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& v5 c( d4 T7 \* b" r, S  B
  612. ; in the variables_order directive. It does not mean it will leave the super! i! {2 A/ v4 E
  613. ; globals array REQUEST empty.
    9 F- W% v% i8 P1 i- ?) K
  614. ; Default Value: None# J! N! Y0 \7 H5 q
  615. ; Development Value: "GP"
    2 A, T% j" j) H, ]) a( o5 q: Y
  616. ; Production Value: "GP"
    $ S$ g+ g7 i# U2 z6 Y: D" Y! O4 H& }4 C
  617. ; http://php.net/request-order
    0 d, u. \/ n7 Z. F0 W% F
  618. request_order = "GP"
    $ ^  W7 F  W( g2 D/ |$ E
  619. " u4 H- H% v& J9 S7 W, W
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    - n8 }: ?: H5 L( c
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 T: ?$ x% X: ~' z! ~
  622. ; is invoked. $argc contains an integer representing the number of arguments
    5 F; ~5 U" v' Q/ h5 p; u1 w: Z
  623. ; that were passed when the script was invoked. These arrays are extremely1 A5 B# m# {1 B8 r$ J1 _6 v- d8 Q
  624. ; useful when running scripts from the command line. When this directive is
    - c" ~8 D& n( N, @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 T/ u2 O1 D+ r: n3 D5 a/ a
  626. ; a script is executed. For performance reasons, this feature should be disabled8 T$ Q! V9 n- \" o9 K9 z
  627. ; on production servers.1 L' r/ H$ {* b3 B
  628. ; Note: This directive is hardcoded to On for the CLI SAPI1 m: M/ }( @' i6 i/ X/ G* h' _7 @
  629. ; Default Value: On" Q* ^4 r  q6 `- R3 F, I8 p
  630. ; Development Value: Off0 m% R$ K; i3 W! d9 Z2 _: Q" x" G: b
  631. ; Production Value: Off
    ' y0 A: \. D# B% u1 o9 h
  632. ; http://php.net/register-argc-argv
    * v5 P. `) Y' Y  r. \7 e& z
  633. register_argc_argv = Off
    : [4 v: Q& Y1 @

  634. / C7 a. b1 Z2 O; i& h, a
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' @5 }! x1 @9 J3 l0 c
  636. ; first used (Just In Time) instead of when the script starts. If these
    - W- n6 Z, E8 F2 Q/ T% G5 p) O) n
  637. ; variables are not used within a script, having this directive on will result; m7 s( R) C' S& L' d2 N6 j- b
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    : Y0 i3 k0 t2 H6 C" u
  639. ; for this directive to have any affect.
    * _8 e7 H9 f( h% q) Q
  640. ; http://php.net/auto-globals-jit
    ! B2 a: X* {( P+ X$ q* ^
  641. auto_globals_jit = On$ d! g1 {# [( o. v2 Q
  642. 5 P) u+ ~- [& p6 o6 u
  643. ; Whether PHP will read the POST data.# a1 L: Q2 m5 X) ~- ^7 r
  644. ; This option is enabled by default.
    8 r% Z3 U- A4 P1 j" x
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! d# q0 B, \9 X( f
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    2 q# f: f( O; G1 K9 w
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    " t; o& P, r( `8 o  L. A! z
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    * H) V2 r, N- P' O; H( W# y
  649. ; http://php.net/enable-post-data-reading: _+ ]6 h1 a  t5 q' }
  650. ;enable_post_data_reading = Off. I/ Y8 M. b% B5 R. w- x: i& F- f
  651. . C" _# H9 W3 A3 [
  652. ; Maximum size of POST data that PHP will accept.
    9 ^( i8 o- R) t/ b1 v/ T# m
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading) A1 E: s/ d) }, }) k& [$ Q
  654. ; is disabled through enable_post_data_reading.
    " j9 ^% g3 i6 y5 p  @: k  ?
  655. ; http://php.net/post-max-size; k, a3 P; l* ~
  656. post_max_size = 50M
    & f" h  }3 I% M

  657. & C: u6 ~& R; v+ X" P
  658. ; Automatically add files before PHP document.; e# x% T% t! W+ p8 p" {3 r2 ]
  659. ; http://php.net/auto-prepend-file+ {& L$ O, |& @, M
  660. auto_prepend_file =
    0 b& N+ ~+ `- g9 k
  661. + c. a0 _5 k: a* P2 D. V6 ?
  662. ; Automatically add files after PHP document.6 i3 h8 ~1 b$ @7 t& ~4 n4 r" U8 |
  663. ; http://php.net/auto-append-file9 ?( E, f5 i  S; W6 X; v0 X
  664. auto_append_file =
    : y- P! U, B' k$ }) [% w9 W! I
  665. / L+ T' g! s/ H& r& a: s
  666. ; By default, PHP will output a media type using the Content-Type header. To- F" Z( p& w& E) n. m/ v9 G. ^
  667. ; disable this, simply set it to be empty.
    . V" X  O8 n' K- l
  668. ;7 J3 z1 q$ a% l& j# y1 Z' d; N0 p9 B% R
  669. ; PHP's built-in default media type is set to text/html.
    * V9 k& T; k  }7 p( i7 q
  670. ; http://php.net/default-mimetype
    ' J! ~% Q( k$ t) \4 u
  671. default_mimetype = "text/html"
    * i9 q: V5 x) T& n: M" P: w3 K
  672. - w0 N" }- I* D
  673. ; PHP's default character set is set to UTF-8.
    % W6 Y% P* o' e; @* {0 S& P
  674. ; http://php.net/default-charset5 d5 S5 d: s  J2 P, D/ G7 V1 J) @
  675. default_charset = "UTF-8"" P: v0 l' T' Q6 a
  676. & P7 O% |2 z; j( w: C3 n( y
  677. ; PHP internal character encoding is set to empty.7 l2 \& y! r) ]" C, Y: C7 Z- b
  678. ; If empty, default_charset is used.
    4 a/ k9 C) V" p9 _
  679. ; http://php.net/internal-encoding
    9 u! @5 W+ |' h" y5 o0 g
  680. ;internal_encoding =
      s. P# U- D, i' p

  681. , [* Z( n/ o' Z3 Y; t) _
  682. ; PHP input character encoding is set to empty.% @7 l% p9 [! c  l! G5 U
  683. ; If empty, default_charset is used.
    * f# D: |+ m7 E' e
  684. ; http://php.net/input-encoding* ?1 a6 V/ L+ f; `$ T8 x5 y
  685. ;input_encoding =& n5 z! u) h2 b) ?6 A% V, R

  686. 5 L; X5 \. ]  [
  687. ; PHP output character encoding is set to empty." C3 o' d- f, ~
  688. ; If empty, default_charset is used.; b7 L& P0 g, @& c( d  s  i+ m
  689. ; See also output_buffer.# {/ \/ g1 j' Y5 n# \7 Q3 ?
  690. ; http://php.net/output-encoding
    $ T& F$ p) {8 q( s( R  R0 O
  691. ;output_encoding =
    3 X& \) n# i$ u

  692. 2 O$ m& |4 c: S4 b9 L( A, ^5 C
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    0 Z8 K" Z' h  U# @4 C
  694. ; Paths and Directories ;
    & _1 r. M: z7 K2 G3 W! A
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) r7 c- [# y" F( r/ X3 W
  696. - `# D* K( _; W' T% f$ i
  697. ; UNIX: "/path1:/path2"
    : G2 u* F) j( b5 ?, U1 k$ E
  698. ;include_path = ".:/php/includes"- `) {& a  Q" _# O
  699. ;: i( V6 s; n1 k" g' T4 i$ Z1 s8 x
  700. ; Windows: "\path1;\path2") I' H# P5 \+ j2 v! i
  701. ;include_path = ".;c:\php\includes"; m1 B" |; Z3 g3 v  ?
  702. ;
    ! b  m$ l+ ]. K# D
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ _. J, R: @' U# v# `0 r1 r; Z. r, I# \
  704. ; http://php.net/include-path# W3 O/ F# W- ^/ B
  705. ) \' F7 Y2 E* e+ x: y" t* L
  706. ; The root of the PHP pages, used only if nonempty.
    9 b. F( R; @- p  d0 u. }0 J
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 G/ |! c5 ?/ a/ y9 e$ W
  708. ; if you are running php as a CGI under any web server (other than IIS)
    2 `) }* Z; Y9 Q5 i
  709. ; see documentation for security issues.  The alternate is to use the+ I& I+ {- _# w! R3 j& ]& ?3 p& p
  710. ; cgi.force_redirect configuration below
    8 |; Z5 A2 w/ M2 {5 }) X/ L+ e
  711. ; http://php.net/doc-root
    7 ]: Z4 u7 K3 n7 p
  712. doc_root =
    7 ~, Z. q) i! s$ ?' G2 g2 i
  713. " O; m" D7 V% V
  714. ; The directory under which PHP opens the script using /~username used only# ]9 W9 z: s& C7 H( _  t
  715. ; if nonempty.* H7 L2 I; q) m8 V
  716. ; http://php.net/user-dir; t: I) H& b  c/ Z4 u" S5 _
  717. user_dir =
    ' b0 R( }3 w+ R* l

  718. ( |8 L) ?7 U6 f
  719. ; Directory in which the loadable extensions (modules) reside.' f% {) {' m: [
  720. ; http://php.net/extension-dir
    8 d% h+ C6 v% [$ O
  721. ; extension_dir = "./"' ]2 q4 p+ q8 w' m( y
  722. ; On windows:
    " `8 v3 ?: O& y/ L+ V
  723. ; extension_dir = "ext"8 F9 T2 C7 N8 [+ d+ t9 l
  724. . B3 C' A. u8 x: |2 O
  725. ; Directory where the temporary files should be placed.. E% [1 t' p$ _, T! Y) D
  726. ; Defaults to the system default (see sys_get_temp_dir)+ G, v9 v6 O" g. g  L
  727. ; sys_temp_dir = "/tmp"4 y8 C/ O6 Q4 Z5 r) c4 S
  728. % L" e& M, j) W8 f+ v8 E
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - X7 a9 w2 X( m7 S, H  `# U3 F
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    : @2 K9 y1 M* m- x3 E# `
  731. ; disabled on them.
    . \; v3 s) L: l
  732. ; http://php.net/enable-dl# W1 [# E, w3 v* r, R  I/ }/ i
  733. enable_dl = Off
    7 y7 H/ |: u+ t0 k" H* E7 k$ F
  734. 1 ~* _. z2 {# S4 a8 n5 \$ h% U3 b
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 G$ h! M6 }3 k( }2 A. u& L; f
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can9 q$ [5 J# q4 Z) ^3 a; n4 A  m1 o$ F
  737. ; turn it off here AT YOUR OWN RISK, y/ ^) @) g7 c% O" j6 t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**2 R# N2 r- A, J6 \2 P
  739. ; http://php.net/cgi.force-redirect" e1 B$ S' r' M0 X2 k
  740. ;cgi.force_redirect = 1) P) l( ~) }1 Z6 h, s
  741. " R% ]0 M2 j3 f( e
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* B! g1 |, G+ i# Q( m, D
  743. ; every request. PHP's default behavior is to disable this feature.' c$ U* R. d- C* B
  744. ;cgi.nph = 1
    ' B; @& a+ X' w7 R* B: w5 ]- ~

  745. 3 y( p& x* k9 r
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    : D& L% A8 d9 [1 V2 {! B* a4 w
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    1 w1 J9 D$ [8 @# O
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: d2 a6 ?8 Z# n$ P1 `) [9 I- L) l7 Z
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- b4 q& i' q+ n- j" ^7 @5 @
  750. ; http://php.net/cgi.redirect-status-env! |7 j7 l1 ]' `1 y+ F6 }6 M
  751. ;cgi.redirect_status_env =- Q/ q+ N9 J0 W! E
  752.   q$ x" B9 V1 A; J4 @' c, \
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " l* C  F1 i0 Q" m/ z+ T+ l1 D
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) f5 s( N: [6 i* S
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 t6 h. O4 i* Y* R0 n2 z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting* ]+ D1 ~; O, [- O5 D6 o6 Q: o+ Q
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# o4 I/ V7 P; L( m, z5 A5 s' Z& W: f
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # f! Q8 F: d* N- |  {. m; G
  759. ; http://php.net/cgi.fix-pathinfo: O! x( n$ J; S6 U
  760. cgi.fix_pathinfo=1
    , m2 K) @' \2 v4 C

  761. + A& s; o/ a7 C$ u: ]% c
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside" {/ c% K7 b5 Z) F0 ]$ n8 O3 ?
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    3 ?$ V6 ^# ?' o/ C! r( v
  764. ; http://php.net/cgi.dicard-path& s/ x  B8 |  P. [* O& f  _& T0 j# L
  765. ;cgi.discard_path=12 w- w* T* [' N! y2 R6 h: O2 i
  766. 0 K: j& k# P" T1 O4 d# k( h( ]
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - N7 M/ B& c% i5 ^# k
  768. ; security tokens of the calling client.  This allows IIS to define the  }& W+ z) f3 C8 c
  769. ; security context that the request runs under.  mod_fastcgi under Apache9 W4 m9 F1 |4 H
  770. ; does not currently support this feature (03/17/2002)
    1 K! c; C+ s' ]3 O
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) X" c, |$ y2 z. d
  772. ; http://php.net/fastcgi.impersonate
    $ {7 M/ Z  |- U6 B3 [6 z# ~' h2 b
  773. ;fastcgi.impersonate = 1' `; c5 @7 A  O7 A

  774. 3 N- Z4 E* _& k, @% H
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 n* I! H* `, N3 A6 M9 k" T9 f
  776. ; this feature.
    + l; x' j* [" |& p' i$ u. l
  777. ;fastcgi.logging = 0
    , V% a5 Q* O, G0 H$ k- p

  778. ; a( k% s+ x4 `2 {& g( u
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 M- u; i& {0 B, t
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    $ z( G# o. }6 g( m+ [+ P, c
  781. ; is supported by Apache. When this option is set to 1, PHP will send: ^( `# v$ L) |9 x& H1 |
  782. ; RFC2616 compliant header.
    , H% ^. }+ S7 y6 S
  783. ; Default is zero.
    3 a/ B) ~' G# H$ l
  784. ; http://php.net/cgi.rfc2616-headers$ K; z8 s% _, Q/ J
  785. ;cgi.rfc2616_headers = 0
    " d+ k3 {# p1 N1 H# w( t5 x

  786. ( P/ K2 o; {+ w' F
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ' A) c& A) E6 U
  788. ; (shebang) at the top of the running script. This line might be needed if the
    7 T* A6 p4 O7 e' x# F" a( c! Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 P# M& `6 H8 }1 C. m. ^- X0 q
  790. ; mode skips this line and ignores its content if this directive is turned on.8 O: F$ F+ @  R& F9 g
  791. ; http://php.net/cgi.check-shebang-line
    9 Y$ S, S( L0 ^# c- ?
  792. ;cgi.check_shebang_line=1
    ! z* F# _+ U! E+ H% G
  793. 1 B0 w$ N& o" f5 }5 P9 X5 i
  794. ;;;;;;;;;;;;;;;;
    ; a! R0 \* l' |2 \9 T
  795. ; File Uploads ;
    ! w8 m5 w6 ]( t2 O7 b
  796. ;;;;;;;;;;;;;;;;6 t& ?3 S$ p9 s; j, G/ P
  797. 9 u4 e/ O; `( I# c! @' t. }
  798. ; Whether to allow HTTP file uploads.4 ?% m6 v$ |7 F4 A- \5 o/ X
  799. ; http://php.net/file-uploads
    # _  V: q: y6 R. Z9 ?0 ?5 d
  800. file_uploads = On4 @- Q9 w% j1 K  ?% V9 a

  801. 6 b& M. r8 ]4 M% p& E6 m& y5 A. ?  }
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ( {# ?! ^; E2 F; C
  803. ; specified).  {& Q( F7 l! @: f
  804. ; http://php.net/upload-tmp-dir
    ' y- o/ F9 q' L
  805. ;upload_tmp_dir =9 B+ w/ k  Q$ s% y% u

  806. 4 e1 Q/ k0 O8 d3 n- T4 t0 W
  807. ; Maximum allowed size for uploaded files.1 n* ], T' @% r5 |/ C
  808. ; http://php.net/upload-max-filesize" l! J* N) _. w$ u
  809. upload_max_filesize = 50M) x0 ]% f/ e% ^4 D# c) O
  810.   y2 V9 @3 @( N, U, o; _' J
  811. ; Maximum number of files that can be uploaded via a single request
    2 ^2 z6 z0 b& \' V/ U  o. S% \  A
  812. max_file_uploads = 20
      S" Y, C# n& Z' h2 ?7 Q

  813. ; c5 c( h1 |# J9 y6 Q' ^- T
  814. ;;;;;;;;;;;;;;;;;;5 x' S7 x7 a, X$ x' ^
  815. ; Fopen wrappers ;
    ! F, V  L: l# t1 Q$ h2 i5 V2 u
  816. ;;;;;;;;;;;;;;;;;;
    3 S. V# h4 G$ z3 F
  817. 8 @9 k3 a0 e2 e+ e; }9 K1 N/ j
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.4 U) L/ T, G5 Y# F
  819. ; http://php.net/allow-url-fopen
    ! V9 K. u: R6 [: ~$ T
  820. allow_url_fopen = On: ]. ]2 |" t+ g) }( {2 m+ N. c
  821. ! ]1 Y( |4 M4 }" }6 [; ^
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; ?3 G7 m) e. p: b9 [; @: D. H
  823. ; http://php.net/allow-url-include# c  o1 t8 M) j% G
  824. allow_url_include = Off
    2 V0 }" {$ [7 ?

  825. 5 W3 O/ p) V8 g* |2 z+ A  p6 S
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    1 d0 M2 G  g- W' f# Q% @2 q/ a
  827. ; for this is empty.' h  N! P& A5 I# I) n
  828. ; http://php.net/from
    4 N2 l: d; r* l0 j# D, G8 {( t6 U
  829. ;from="john@doe.com"
    # C( e5 h1 H% f7 Y" o5 c

  830. % [- _$ E# o4 @
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    + ~% p6 o/ y& l' Y; c
  832. ; http://php.net/user-agent
    $ V9 P/ W) r4 A2 z  j
  833. ;user_agent="PHP"
    - p2 ]2 [1 `. V

  834. ; H: j* K/ y& {
  835. ; Default timeout for socket based streams (seconds)3 t2 J- @- S( b  L& J: u# `
  836. ; http://php.net/default-socket-timeout
    9 D5 J) Y8 `+ d/ ?
  837. default_socket_timeout = 60& c8 C: Z8 T$ l% L, p. D1 x

  838. ' d# ~4 v0 L' s
  839. ; If your scripts have to deal with files from Macintosh systems,
    - T- t; p; @6 N. T# l3 C3 ^
  840. ; or you are running on a Mac and need to deal with files from% s. Z: d: `  M4 B. r( f0 w
  841. ; unix or win32 systems, setting this flag will cause PHP to
    + a! m9 U2 O# F+ Q+ v
  842. ; automatically detect the EOL character in those files so that1 @# b7 u5 r  L6 C/ \7 R2 k
  843. ; fgets() and file() will work regardless of the source of the file.
    / l& ?1 i& m7 B" @9 B  s0 K6 j
  844. ; http://php.net/auto-detect-line-endings% b9 X- C8 A  H. ]9 w# J
  845. ;auto_detect_line_endings = Off
      d( ?8 W6 ?2 D8 w  `0 Y

  846. . Y8 d- Q0 O; \2 p
  847. ;;;;;;;;;;;;;;;;;;;;;;
    , B. f  t, v: {$ h2 e
  848. ; Dynamic Extensions ;9 @3 Y7 V+ X, o
  849. ;;;;;;;;;;;;;;;;;;;;;;
    : C4 `8 q! m+ m+ b+ Y2 d

  850. ; R& c, o# f" A
  851. ; If you wish to have an extension loaded automatically, use the following
    1 S$ ]- P4 C  i. J7 o) I8 t
  852. ; syntax:8 S! l7 U% ~5 Z3 T8 @* X( J+ V
  853. ;2 f* F8 U& Z2 P& i7 y
  854. ;   extension=modulename.extension2 x4 A. P7 G7 q% _0 R
  855. ;$ `' y$ M( G  E% Z( E; x0 q
  856. ; For example, on Windows:6 M5 R( @9 {& N! l7 O4 y, x4 \. b  b
  857. ;
    , C2 p" @% F9 v# R$ H3 u
  858. ;   extension=msql.dll
    % W+ U7 b+ b1 u
  859. ;
    ( L# o3 j* x; s4 p1 W
  860. ; ... or under UNIX:4 s+ o: ?/ [' r2 v4 }( E- p
  861. ;
    & V& o  B" i- u$ V; ]; s. i
  862. ;   extension=msql.so
    3 K3 U6 B9 e& s4 |
  863. ;$ a  d# B3 k. \6 d5 q
  864. ; ... or with a path:5 u0 d  q: o* s/ a
  865. ;
    ( Z9 s7 o+ T/ u5 b0 s4 k# b$ C, c
  866. ;   extension=/path/to/extension/msql.so5 h3 M0 V+ p" m' h+ J
  867. ;2 z8 K" ]1 c" C  c, u
  868. ; If you only provide the name of the extension, PHP will look for it in its6 `4 o/ ~. X. ^% K
  869. ; default extension directory.2 V; o8 y7 l& j9 G$ {1 B/ e% i
  870. ;
    - z. o. ]* `& U8 Q, \8 r2 u% V
  871. ; Windows Extensions# k7 r2 o: C" ^  O( L  ^
  872. ; Note that ODBC support is built in, so no dll is needed for it.3 t: q1 W/ P& q
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 F7 s' ]: [( ]' U& q
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).! q: s- f2 m7 T% |: c3 m1 L" r
  875. ; Be sure to appropriately set the extension_dir directive.
    1 v/ c4 D6 u% V# y
  876. ;$ a/ |/ H5 E  `, ~4 I3 i/ n
  877. ;extension=php_bz2.dll; [' I' X/ q* U. U5 u9 l
  878. ;extension=php_curl.dll
    4 l6 {: z7 n, t) }' \7 E
  879. ;extension=php_fileinfo.dll" t. C' x. p4 }
  880. ;extension=php_ftp.dll
    2 f/ |1 x$ a6 o
  881. ;extension=php_gd2.dll$ k; p0 k: n' _2 z% }4 D+ ~
  882. ;extension=php_gettext.dll# A- j4 Q# z  B/ G; U
  883. ;extension=php_gmp.dll
    2 c  R. P: {% D6 m  ?) }
  884. ;extension=php_intl.dll
    3 R$ C0 l6 E9 F! D
  885. ;extension=php_imap.dll
    3 E. n% i9 E$ ]% P1 L9 @& e
  886. ;extension=php_interbase.dll
    . ^7 z( K3 r, t
  887. ;extension=php_ldap.dll
    3 a, q+ W3 G5 e& l2 P4 K) w- G- S
  888. ;extension=php_mbstring.dll
    # h& N$ @+ f3 w5 Y7 j+ V5 i
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it8 B* L6 k* W3 T2 P0 O7 r; [6 B, v
  890. ;extension=php_mysqli.dll
    : ^, c8 G, `) {
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 \) c! ?/ {; A3 Y( r. v8 C
  892. ;extension=php_openssl.dll
    * d( ^0 A: S% W0 [
  893. ;extension=php_pdo_firebird.dll
    ( ]0 M' f8 M/ r7 L: p
  894. ;extension=php_pdo_mysql.dll
    * d  m  ~: y$ k5 V: O% s& Y
  895. ;extension=php_pdo_oci.dll
    " ?0 o2 E- m  R; N& r
  896. ;extension=php_pdo_odbc.dll
    ( D/ z3 p( c! w0 @& i4 \
  897. ;extension=php_pdo_pgsql.dll
    ! p8 I2 ]' q; E0 S$ n+ m( D! a
  898. ;extension=php_pdo_sqlite.dll( a6 ~: F( y- W) W3 J5 R
  899. ;extension=php_pgsql.dll
    , Q! d+ M5 g2 m- s# p4 s2 i1 s
  900. ;extension=php_shmop.dll+ F4 s: l2 x5 a5 V

  901. $ n0 J+ B6 `. L5 L: U3 S
  902. ; The MIBS data available in the PHP distribution must be installed./ z8 A' \- r- C  r2 ]
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    " `+ m1 t& q3 @0 P" A$ p( M1 v0 M5 y
  904. ;extension=php_snmp.dll' ]1 X: v- B; O" t! V% s
  905. + }1 V$ y+ w' \$ G. _; [2 X
  906. ;extension=php_soap.dll
    1 x% y' _" Q: ?9 e; a
  907. ;extension=php_sockets.dll
    $ W/ S" F: ?! Z6 D+ P( M2 |
  908. ;extension=php_sqlite3.dll- R: g0 ~) t! F4 Z* c( j
  909. ;extension=php_tidy.dll
    , u' I2 j4 F  G4 k! G) m. v! j4 D
  910. ;extension=php_xmlrpc.dll
    ) H( o5 w/ M2 j% N' y( A
  911. ;extension=php_xsl.dll
    1 l5 r  v1 P8 T1 w/ r1 j2 i/ @

  912. 2 ]( F, z  E+ X1 q
  913. ;;;;;;;;;;;;;;;;;;;( S: a+ O# m, v  r0 E
  914. ; Module Settings ;
    ( }0 u4 H/ H  B% G
  915. ;;;;;;;;;;;;;;;;;;;: N1 K6 f- P# [1 q3 G) Y+ T

  916. 3 r1 x* p) T' i& X+ G' U: Q
  917. [CLI Server]/ X1 h! P' {6 h" x, i6 P* L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    3 ?0 w  b: j( U# T: b/ c# G
  919. cli_server.color = On
    . T4 c" w- L. d/ o  a; [/ y

  920. ) b2 d1 {4 ^& @# {% D2 i3 K
  921. [Date]
    " N8 Q5 x5 ?. u; T4 [
  922. ; Defines the default timezone used by the date functions
    1 ~) w# C9 J% W. o
  923. ; http://php.net/date.timezone2 I' t: b' j: u' r9 \
  924. date.timezone = PRC
    # k# Y% G7 [8 W4 d" |) \& k& M3 [. h

  925. + ]$ p+ K7 U  l
  926. ; http://php.net/date.default-latitude: c3 g5 T' U! x5 r
  927. ;date.default_latitude = 31.7667- y) ~: p9 V5 A9 P

  928. 1 E; H& G3 U5 W2 m8 C. k
  929. ; http://php.net/date.default-longitude. w, g3 G, Q- g7 Z6 K% h
  930. ;date.default_longitude = 35.2333; l- q# i) r6 Q; ]5 w# W# a

  931. ; O' u. z* X) R7 B. o( u/ d4 n) S
  932. ; http://php.net/date.sunrise-zenith5 `) g* p% A$ w0 S% l* C2 d& q
  933. ;date.sunrise_zenith = 90.583333
    / h( G& l- x% z" `- E  H9 w

  934. : Q" E5 D5 v! z) s- l6 x: k
  935. ; http://php.net/date.sunset-zenith
    # h% I  _4 W4 i% m! ^# m) E, Q3 G
  936. ;date.sunset_zenith = 90.583333
      l0 ]/ Y& G" o7 A/ }

  937. 5 ?5 [" h& `1 X: R2 i4 j  {7 a
  938. [filter]
    0 c1 y8 O0 r2 m. O. X
  939. ; http://php.net/filter.default
    ! R* n/ K6 z$ M
  940. ;filter.default = unsafe_raw1 i- m+ J% r, g3 g6 C: `

  941. 5 }0 L) J9 V/ T+ G2 |; V
  942. ; http://php.net/filter.default-flags
    . a5 |# |- ~$ F2 D* `
  943. ;filter.default_flags =& D- o& `+ \: V. m3 j8 |

  944. 1 n% ^: V. G: q* h9 w
  945. [iconv]
    . B0 S* S# T" F) ^
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 |) g9 }. _7 B7 K$ H6 j7 i# I
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    . r3 M9 @. `' M; d& M' E
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- n3 m" Q7 L5 r% y; o( x- E5 _2 G
  949. ;iconv.input_encoding =+ b! a8 }8 Y; i5 R; O
  950. . [+ a! H, K" l( o
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 t. Z+ w# a6 T; C" t
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' w+ o' g" B/ s/ T3 D: x2 D
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding5 i. {( y/ i4 U5 ~8 B
  954. ;iconv.internal_encoding =8 f5 q# Y3 o7 ^6 G& \
  955. 8 J2 B  \. Y+ t! _6 _
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ; o8 o- A" I* u# M
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / g0 E9 ]) e( E, }
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! R% ^5 a3 A2 Y: x: m% u
  959. ; To use an output encoding conversion, iconv's output handler must be set- A( X6 i" M# L8 g& Y' C
  960. ; otherwise output encoding conversion cannot be performed.
    ' @' X% D3 U8 @4 y
  961. ;iconv.output_encoding =5 H3 Y) Y: C$ }4 s. a" n

  962. ; d" b2 w+ }3 N  e/ {
  963. [intl]
    , s6 r+ p, {3 d; w9 |& |' i, Y" N5 T
  964. ;intl.default_locale =4 f( |) D9 F. D, l' q& U* m  {
  965. ; This directive allows you to produce PHP errors when some error$ G: K: |6 [+ i6 K' F9 l4 V
  966. ; happens within intl functions. The value is the level of the error produced.
    1 m. y3 u# `+ M/ r* v; X
  967. ; Default is 0, which does not produce any errors.
    % D3 F9 B! }8 }) k3 i
  968. ;intl.error_level = E_WARNING
    - o! L4 ^$ I" k3 j: e
  969. ;intl.use_exceptions = 06 i7 D- y0 L! L. s- `+ Z/ @

  970. " V7 s* s7 H4 J
  971. [sqlite3]
    2 c6 K8 d! |1 ]4 m- i4 V- R" }
  972. ;sqlite3.extension_dir =/ i# ~7 Y% p9 I

  973. + r  ]% v+ K# }
  974. [Pcre]2 S" I1 L+ ~* w4 U# s  d
  975. ;PCRE library backtracking limit.9 I! T- H# g& b: s  `' T% m
  976. ; http://php.net/pcre.backtrack-limit
    + n; O9 [. f5 H. s! I5 G
  977. ;pcre.backtrack_limit=100000* o( G1 T: t$ e0 a% U
  978. 5 h% e; R2 ~* j+ m  R
  979. ;PCRE library recursion limit.
    / F, T* s9 t3 G! L
  980. ;Please note that if you set this value to a high number you may consume all
    + o5 L4 x; {* j, Y% f; S. j
  981. ;the available process stack and eventually crash PHP (due to reaching the. [$ m) X2 @, y3 V
  982. ;stack size limit imposed by the Operating System).
    + M) [) j  W, m, V  U9 ]3 f
  983. ; http://php.net/pcre.recursion-limit# u. l) ]! p/ N: ~7 Y$ P$ J
  984. ;pcre.recursion_limit=100000
    ( Q6 _, g6 e9 x' D% s* Y$ i' U
  985. . @6 [/ m& J8 z6 t
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " v! a. H  `$ j
  987. ;library to be compiled with JIT support.
    * f' y( o# j2 P7 c
  988. ;pcre.jit=1+ d- y0 @6 w+ p7 W% c

  989. 7 x+ |+ T+ U: b$ T
  990. [Pdo]
    1 i: y' B/ \  k) T
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    " U. V& O6 i( I: |8 {4 M1 I' E
  992. ; http://php.net/pdo-odbc.connection-pooling+ `5 [4 k9 O" h
  993. ;pdo_odbc.connection_pooling=strict
    5 S2 Q2 |% i1 B  ~
  994. 6 `2 a; Y* [4 p, E5 D
  995. ;pdo_odbc.db2_instance_name8 ]+ u; b3 ~8 t. ?; u( X9 s9 y
  996. # g* x. Y; `8 n, {4 @$ W( a
  997. [Pdo_mysql]" ~' A! L2 d" s9 i. y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ G. s. E: ]# l; n7 d& k
  999. ; http://php.net/pdo_mysql.cache_size
    * x" |2 |. b, W
  1000. pdo_mysql.cache_size = 2000
    # X. N* i% E: A, l0 u% O
  1001. 9 x2 y. L* ?! @
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / ]4 S4 ^$ @/ X* w& l
  1003. ; MySQL defaults.
    6 S5 B0 t4 \$ V" }+ X5 b' J
  1004. ; http://php.net/pdo_mysql.default-socket
    2 m2 g& ]8 m' s
  1005. pdo_mysql.default_socket=9 m4 i9 J* @: d$ z0 w& Y. i; v
  1006. ) \/ q9 p& I( U: r- t2 H$ ?  s! w
  1007. [Phar]$ L7 O" T6 N% R6 o+ W6 ~5 U
  1008. ; http://php.net/phar.readonly
    & _7 R* t+ Q7 z$ S
  1009. ;phar.readonly = On" s7 v9 m; w* m! f

  1010. 1 o" B) [3 W( i3 d, ]3 n4 P
  1011. ; http://php.net/phar.require-hash
    7 r) |! x1 t, V- r4 v- }0 \: x
  1012. ;phar.require_hash = On
    , Y3 u; h" N6 x7 y: t& C

  1013. 7 q# ?' S# B4 ^. B* H  r& n
  1014. ;phar.cache_list =
    $ P- |* Q6 m7 b6 B! S3 p( `
  1015. $ I2 q* |5 V- h+ w
  1016. [mail function]
    0 p7 z% j. h7 s& J- a" j; h3 G; |
  1017. ; For Win32 only.
    8 l' P3 _/ n. e+ t
  1018. ; http://php.net/smtp& |2 Y3 x3 @# ]4 W. B7 T" L5 O
  1019. SMTP = localhost- m! l! ~4 y: D4 j
  1020. ; http://php.net/smtp-port& Z5 z' M% r5 Z7 m% `
  1021. smtp_port = 25( f6 V' @- m" e; u. q# b* e

  1022. 6 e. v0 n+ i' X! t- D3 v5 Y
  1023. ; For Win32 only.
    $ N$ p5 J4 U3 I. \) Z7 Q8 _
  1024. ; http://php.net/sendmail-from
    ( }. D" I- [# _; Q' D( p- @
  1025. ;sendmail_from = me@example.com
    9 `9 k7 s( C: P
  1026. / d' O0 w8 B$ G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / J8 k9 F/ v8 p3 s; ~
  1028. ; http://php.net/sendmail-path1 d% W$ s( D* M/ h$ w, G$ D
  1029. sendmail_path = /usr/sbin/sendmail -t -i8 v! }* Y# r4 C$ z8 a9 X% ?1 k

  1030. % b( J7 b' K) A% g# ]) ?$ W
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 s% \  x! w" k! \9 P
  1032. ; to the sendmail binary. These parameters will always replace the value of
    - h, L, t# D, j2 E+ P- s, a
  1033. ; the 5th parameter to mail().
    # h- w5 A3 W' k+ \& T: c
  1034. ;mail.force_extra_parameters =
    ) M- R; c" w4 t. E) }) N+ |
  1035. 0 F6 b# h) T/ P% _% O+ `" V: U7 O
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" ]7 {6 M' V( y. e
  1037. mail.add_x_header = On
    0 J$ y+ h4 ~4 _: n: p/ d

  1038. 2 D# ^- g5 ?  T
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    & s0 z/ v4 B! {+ u$ K
  1040. ; the full path of the script, line number, To address and headers.$ e4 z) j1 m$ T- q- r# v" u
  1041. ;mail.log =
    ; M7 }3 e6 J& a4 l: h! I- i1 I
  1042. ; Log mail to syslog (Event Log on Windows).
    0 h( `2 S2 k4 l8 |5 I" A
  1043. ;mail.log = syslog% D4 s/ v" |; X* O0 |( z
  1044. % l( q! y) C" B+ D6 F
  1045. [SQL]/ W/ S6 L4 T  E! P
  1046. ; http://php.net/sql.safe-mode
    6 {7 d: i. J* X2 K- C
  1047. sql.safe_mode = Off( m7 X/ j. F2 T, `0 Z

  1048. ; j9 g" H% V7 ?0 k3 h
  1049. [ODBC]6 E& T, u) V, b) x
  1050. ; http://php.net/odbc.default-db, S$ E1 V5 b; r+ }
  1051. ;odbc.default_db    =  Not yet implemented
    + y$ c& b: v4 Z8 ]8 b  S0 W  ~

  1052. , {% G1 I' t, x$ l6 f
  1053. ; http://php.net/odbc.default-user
    , L! K5 c5 L; Y9 }, Y2 e4 ?
  1054. ;odbc.default_user  =  Not yet implemented
    1 |& H4 {% ?0 v9 z; [4 l- B: `- u6 u
  1055. * u" I; v( V8 x2 ?4 n
  1056. ; http://php.net/odbc.default-pw  I$ V6 }( t+ ^9 J4 p% ?( {  U, I( Z. u
  1057. ;odbc.default_pw    =  Not yet implemented
    $ A8 e6 ^1 e7 t% N7 N

  1058. ' R9 O4 {3 y( L4 G1 ^
  1059. ; Controls the ODBC cursor model.
    ' U7 Z) }6 g! x
  1060. ; Default: SQL_CURSOR_STATIC (default).2 G3 @+ `- k" Z: j. i4 y7 S
  1061. ;odbc.default_cursortype
    5 f6 H: I. k7 {$ n# o5 ~' v

  1062. . l+ Q9 ?1 L6 R' w8 S
  1063. ; Allow or prevent persistent links.
    + H/ E" ~- ?) b5 u' ?
  1064. ; http://php.net/odbc.allow-persistent0 J% X% c$ k' J, s0 x# e0 \* Y
  1065. odbc.allow_persistent = On/ |( \7 ?/ j  T- w# {
  1066. 0 P  u2 \3 }+ j5 C, Y
  1067. ; Check that a connection is still valid before reuse.# A4 j: u! P: N- @# ]) J( C9 M
  1068. ; http://php.net/odbc.check-persistent4 `: N5 \: O  Z* e, \
  1069. odbc.check_persistent = On( {* X2 y, u4 u; R$ x6 W- E

  1070. * K8 a, u- [" r) O4 R
  1071. ; Maximum number of persistent links.  -1 means no limit.* ?: y: u! s& w/ F2 |
  1072. ; http://php.net/odbc.max-persistent
    + |) u5 \  Z' f0 x8 M7 |1 E
  1073. odbc.max_persistent = -1
    % u8 @9 Y- Y! b+ d4 i

  1074. 4 I. j8 q2 O" c% ~* Z3 A
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 T: K% t, F  x+ _) p7 v
  1076. ; http://php.net/odbc.max-links, [1 q' J: m% E3 O& Q3 L3 o. x, H+ G
  1077. odbc.max_links = -1, ]& \+ p1 W8 d( N. j$ I/ b# l
  1078. . u$ t. i2 V7 D) m, z
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    & j* s7 z8 R- G8 @" u
  1080. ; passthru.
    * p) Y( A3 }/ p. @* @
  1081. ; http://php.net/odbc.defaultlrl6 s5 K% u- x. S/ x$ |' F
  1082. odbc.defaultlrl = 4096* h. d+ q7 c( |' I( ]

  1083. 2 k1 ?; q2 ]9 S: W, c4 w
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.3 F% p- ~7 c3 N% i9 J2 i
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . u* E9 p0 R: |/ ]) Q" q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    3 u6 T/ G+ s3 p8 V! [0 m) T
  1087. ; http://php.net/odbc.defaultbinmode% k: l/ F5 m! G" \1 a( U# X: _! F: }
  1088. odbc.defaultbinmode = 1
    7 J; I4 e; L3 Y" F) K; k6 M
  1089. , x  A- o; }) u. ~: S6 A% `
  1090. ;birdstep.max_links = -12 S$ b& N7 M( f$ V

  1091. ' s' E- C, w+ A4 L
  1092. [Interbase]: h5 J* `5 T- ~/ O$ `% k! j
  1093. ; Allow or prevent persistent links.
    & y, L- l6 N" Q$ m6 s. D" V
  1094. ibase.allow_persistent = 1
    * y3 Y8 H+ ~, y- m$ n4 m
  1095. 4 M7 a6 s3 t: u/ y6 y( [- k' ~! l
  1096. ; Maximum number of persistent links.  -1 means no limit./ Z5 \  ?2 S3 J; Y: X$ j( ]6 j
  1097. ibase.max_persistent = -17 q6 U$ H5 Z" B& {7 z; w
  1098. / D/ r6 o8 X7 T
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 ~2 L' ]1 t# @" o9 F
  1100. ibase.max_links = -16 w0 P5 ?4 m" X: e; a5 n" S
  1101. ; w* ^& x% D/ g2 t5 I, I
  1102. ; Default database name for ibase_connect().
    ( v, C* L3 S$ }/ `9 R+ C- u$ g# W
  1103. ;ibase.default_db =
    ! M0 d6 |% b3 P2 O$ A

  1104. $ C9 k! T; Q  A- D- `
  1105. ; Default username for ibase_connect().
    4 E, S+ w) N/ D$ |
  1106. ;ibase.default_user =& z1 d, c( \& p
  1107. / v% w+ u. h4 N  c) J
  1108. ; Default password for ibase_connect().
    4 z0 M/ y+ u3 f
  1109. ;ibase.default_password =3 F) D9 A& P  d- [

  1110. ( Z$ ?* Y/ S. ~$ R3 f0 \
  1111. ; Default charset for ibase_connect().& d5 ^( I: M' A
  1112. ;ibase.default_charset =9 t+ b- C" E3 e* P* z

  1113. ( M$ ]  b' S* b5 ?9 y* ^
  1114. ; Default timestamp format.3 Y& A" B( i9 f& U5 d
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * J2 C) C* B. A1 y
  1116. 6 G7 g/ d6 [4 Q/ }
  1117. ; Default date format.
    , v% s. o2 x- \* W
  1118. ibase.dateformat = "%Y-%m-%d"
    2 J$ z& B" N# v6 ^1 T7 y) k
  1119. 7 |3 s5 F* G$ A3 ~, m- K( L# C( n
  1120. ; Default time format.1 f; T" H& [# j2 v0 d2 y
  1121. ibase.timeformat = "%H:%M:%S"
    : t4 J1 X' s4 I: j  S

  1122. / @/ }+ i: J3 M9 p7 G# J8 {. D
  1123. [MySQLi]- n% j; S' A, t6 c& C& ?& A  G
  1124. 6 F) E0 d' Y2 l5 F: M7 x6 O
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( N7 X- h! S" Z( F+ o# q& E  I
  1126. ; http://php.net/mysqli.max-persistent
    " S3 w( M7 o$ H
  1127. mysqli.max_persistent = -10 a3 l: _; ^. h. Q9 B
  1128. 6 @, I! u, o2 n3 d
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    1 O* h# }: a5 \3 B! B
  1130. ; http://php.net/mysqli.allow_local_infile
    . Q2 \) u# M# r
  1131. ;mysqli.allow_local_infile = On
    " L, a0 ]0 v& f/ n) k
  1132.   K; t6 D& g8 v' |0 F: ^1 Y
  1133. ; Allow or prevent persistent links.
    , e' L2 i  p5 c! r1 A
  1134. ; http://php.net/mysqli.allow-persistent* F  A5 Y7 l, k% t7 F8 B1 p
  1135. mysqli.allow_persistent = On
    3 ~8 k1 g7 {( g+ S) N
  1136. 5 b0 |& B1 A% ]+ U, c
  1137. ; Maximum number of links.  -1 means no limit.
    ; B! S4 ^9 m. z+ s
  1138. ; http://php.net/mysqli.max-links
    % i! q! `4 t" r; E" a2 s) }/ o
  1139. mysqli.max_links = -1) u1 W0 O' r% V, y" J! o" }
  1140. . Q9 s' ^  b8 M3 Z- d% ]4 G4 Q  e, l
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 i* f( |" K; v% c7 ^4 u5 ^
  1142. ; http://php.net/mysqli.cache_size
    & A9 W9 A4 w1 J- c( K& }
  1143. mysqli.cache_size = 20004 e  c- x( ^; b! |4 b& l

  1144. / S1 G) r, F% ]. v/ u4 o
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    7 H) }0 t  @) U  T6 _
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 K0 B$ \8 A: H
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + B  z! Y/ g  ~& }
  1148. ; at MYSQL_PORT.- o- k- ]& s* n4 \
  1149. ; http://php.net/mysqli.default-port* N) `, O- _0 ?: w. V
  1150. mysqli.default_port = 3306' t5 S! _" @5 |6 l1 B5 B

  1151. ! N9 _+ p0 u# l$ ~" A7 Y' ^& P3 {
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ n6 ]  i/ m) p1 h
  1153. ; MySQL defaults.; s$ _# Z! A% {# G( l
  1154. ; http://php.net/mysqli.default-socket# b3 I6 z0 L- f  |6 k! j8 K
  1155. mysqli.default_socket =) ^' Z% k! \% T
  1156. 9 w! d9 H( ^! T9 A
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : `; ]8 O- r4 n) l: c" L
  1158. ; http://php.net/mysqli.default-host
      R4 j# K" v* `  e4 `
  1159. mysqli.default_host =
    % Q6 O7 O, @' @. S
  1160. 0 o: M/ ]6 y, \4 E, ?4 A
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 N5 e1 m2 k5 c  B. h
  1162. ; http://php.net/mysqli.default-user
    6 D  k. Q+ |1 \' z  H
  1163. mysqli.default_user =) m0 {  v7 b, f6 p: D
  1164. # t5 z4 l  O8 m% R; M$ V6 `8 i: l
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. {. R2 x4 e8 ~& g4 R; `
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    * z8 l+ C8 Y( T) M3 v
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    * u' Z7 e2 T, v5 ^
  1168. ; and reveal this password!  And of course, any users with read access to this
    ; u! G: m- u) F8 @  C
  1169. ; file will be able to reveal the password as well.
    $ Q- b* \$ k# `0 `& K
  1170. ; http://php.net/mysqli.default-pw
    9 v3 G) j: i4 S3 }) K
  1171. mysqli.default_pw =
    ; R: u8 S* r  q5 A/ x1 n* O

  1172. 6 ?3 T: j6 ?; X$ K5 ~, L
  1173. ; Allow or prevent reconnect
    7 g& Y2 m( K; n
  1174. mysqli.reconnect = Off8 J# @+ q9 n% p

  1175. + }$ y$ z5 Y! H
  1176. [mysqlnd]' T6 F7 r7 S3 c5 S9 E. b
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 b! [5 u, t2 r& S
  1178. ; used to tune and monitor MySQL operations.8 _2 k! y# w8 ^/ }' s
  1179. ; http://php.net/mysqlnd.collect_statistics2 Y7 D" ~* X8 n7 O6 ?% I3 H! P
  1180. mysqlnd.collect_statistics = On, a% L- y7 c- s$ q( i$ u' m' w4 G& S' U
  1181. $ `1 V& w5 a9 c# ?6 A$ a
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    % f2 d, j) z2 b8 ~( v
  1183. ; used to tune and monitor MySQL operations., H( L; A1 O# Y. N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    2 \) n5 J  w6 T/ ^7 ?3 h
  1185. mysqlnd.collect_memory_statistics = Off
    9 D$ X7 y; o+ ]3 L# N

  1186. 8 k8 c7 n5 G3 ^5 ?* U% Z
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ( C/ d% ^/ A! K7 m$ b
  1188. ; file.
    ! U  K8 @& [" ^4 D8 X
  1189. ; http://php.net/mysqlnd.debug- B7 @0 T7 \8 j( d
  1190. ;mysqlnd.debug =  {2 X2 h! G, d

  1191. 4 b; K  l, b/ ~0 O
  1192. ; Defines which queries will be logged./ q( I8 H6 V. o
  1193. ; http://php.net/mysqlnd.log_mask' v, E- U! L* X
  1194. ;mysqlnd.log_mask = 0
    ' c' U$ \- H8 Y

  1195. ; K. k! F6 W4 n' m8 B& |
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    2 p* R: Q2 y  y7 `4 p( x9 v5 m
  1197. ; http://php.net/mysqlnd.mempool_default_size
    / u4 h9 Y) [% ^8 w" Q! }
  1198. ;mysqlnd.mempool_default_size = 160001 E. y& A  V! Z. g  _
  1199. 2 V+ l  k+ p/ }6 `
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 d% K8 g/ C! p
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size& }! S% ]; F3 O  S0 i% u' I, g
  1202. ;mysqlnd.net_cmd_buffer_size = 2048" H; h6 d! [! r% [

  1203. % t0 T3 E, f4 D3 [6 M1 H
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in7 ?. g) Z% t: k
  1205. ; bytes.
    % M4 c) ~' ^+ ]+ a. [
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ; v* O: }, T( F* [
  1207. ;mysqlnd.net_read_buffer_size = 32768
    / S% y7 ]1 _8 ~" Y/ A

  1208. 7 F$ f) w" b4 r( |8 L
  1209. ; Timeout for network requests in seconds.
    : [, G+ x- h7 P6 s4 i
  1210. ; http://php.net/mysqlnd.net_read_timeout2 m$ t  j: s$ L3 D
  1211. ;mysqlnd.net_read_timeout = 31536000
    ) G' |$ v) l; i( Z! p3 W" p
  1212. " j1 S2 r( E3 H# E9 t
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 ^! f2 ~7 D1 U8 }' C) @# Q( }: g& A
  1214. ; key.1 [* Y$ ?8 d5 t* k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    # Y$ O5 @" G# F! ^" K6 }
  1216. ;mysqlnd.sha256_server_public_key =- F, U0 c  L! }. c

  1217. 7 v4 j% y( ^/ T7 H* i0 o
  1218. [OCI8]( p! B5 m; M# b2 B. S; w+ ]

  1219. $ [# G7 J$ p, X
  1220. ; Connection: Enables privileged connections using external
    $ ?9 d1 ?( @! H8 k9 Z$ `
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 S/ a. D1 ~5 K( M+ ?
  1222. ; http://php.net/oci8.privileged-connect
    ! _$ k/ A2 o! t* U( ~. w- K: D0 H
  1223. ;oci8.privileged_connect = Off
    . f; m8 p! y" U9 d8 c  s

  1224. . T3 n9 K0 d+ B
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    + S. d7 G: `/ Y5 e9 K& S
  1226. ; process. Using -1 means no limit.$ ^: m/ I6 E6 x
  1227. ; http://php.net/oci8.max-persistent& F$ x! I5 m$ ^# p6 r6 I: T' N
  1228. ;oci8.max_persistent = -1
    1 @) T% o' i" U3 S, J1 {

  1229. , ]3 h3 L% R  {  a
  1230. ; Connection: The maximum number of seconds a process is allowed to9 D* t( x1 n$ Y& ^: ~  F  W  q! B! p
  1231. ; maintain an idle persistent connection. Using -1 means idle
    / l( ^& r& H! x% X0 i* d+ v: y  R
  1232. ; persistent connections will be maintained forever.+ e; M9 k1 R; Q3 P$ p* C
  1233. ; http://php.net/oci8.persistent-timeout0 E1 ~) A0 R% v$ ~
  1234. ;oci8.persistent_timeout = -1
    ) k  ^+ j3 n3 c0 ~0 }: E- I9 ]

  1235. * a* |7 C; [+ y1 \. o
  1236. ; Connection: The number of seconds that must pass before issuing a
    6 P5 b  v* u* ]7 o- ^6 m
  1237. ; ping during oci_pconnect() to check the connection validity. When
    . J7 H; X. P  V
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; z8 `/ s% l) \* ]
  1239. ; pings completely.1 G5 A$ m# U! T: p' B, h# i4 I
  1240. ; http://php.net/oci8.ping-interval+ q2 M0 Z" k2 [8 j+ q
  1241. ;oci8.ping_interval = 60$ u; ]6 e& |5 Z
  1242. ; w" M  {- u: t7 W- ^# L4 P% M; P6 P
  1243. ; Connection: Set this to a user chosen connection class to be used' {, F8 ~7 o  w$ N
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    3 W' i- A7 W1 N2 F
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to/ h% t5 P1 I7 O7 z0 G; h
  1246. ; the same string for all web servers running the same application,
    ; s4 }+ C0 F$ o. Q. c
  1247. ; the database pool must be configured, and the connection string must- v( Z7 ]1 D- J- p$ Z8 D8 D
  1248. ; specify to use a pooled server.
    $ j5 X; |* v" c) q, c
  1249. ;oci8.connection_class =. E9 K& h4 t  G. B2 g! W" ?
  1250. 2 Y1 W. S1 o% P
  1251. ; High Availability: Using On lets PHP receive Fast Application( e" }, Z+ b6 b/ z# \: q
  1252. ; Notification (FAN) events generated when a database node fails. The
    " ]( e# \- Y1 x* }: u7 O
  1253. ; database must also be configured to post FAN events.
    8 Y! m8 z9 t5 r1 D9 z4 W$ N
  1254. ;oci8.events = Off
    / y, B/ \+ n0 L
  1255. , d6 n9 @& P5 u) L3 v
  1256. ; Tuning: This option enables statement caching, and specifies how
    # d4 {  h! F: U- m2 }) o
  1257. ; many statements to cache. Using 0 disables statement caching., w5 E; ^6 o9 l) d9 R+ y" S
  1258. ; http://php.net/oci8.statement-cache-size
      @% |* B; {/ p# Y7 a& x
  1259. ;oci8.statement_cache_size = 20* f2 q0 l* j6 M3 X

  1260. 4 Z  [- d- e. ]# A) e0 D; }
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    4 w1 }$ ?( K! t6 V( f6 Z) p
  1262. ; rows that will be fetched automatically after statement execution.* ~4 Y! o  @% w; j
  1263. ; http://php.net/oci8.default-prefetch
    ( _1 O2 \5 ]3 {+ |: P/ t( D
  1264. ;oci8.default_prefetch = 100# V* y0 Y8 U1 |( t+ y+ U; h# g, v

  1265. ! [. f* \  A* r0 {. y
  1266. ; Compatibility. Using On means oci_close() will not close
    8 Q* m" _% K, Z, ~% y: E6 z. s. ]
  1267. ; oci_connect() and oci_new_connect() connections.
    5 k. |3 h, G/ T. v# q
  1268. ; http://php.net/oci8.old-oci-close-semantics- F+ h0 H) C" ~8 c8 ^: [8 [" F
  1269. ;oci8.old_oci_close_semantics = Off
    & q, P* `& J& X+ ^3 F: }/ g) n
  1270. 9 |. G  a4 r0 b( E! Y4 b5 n
  1271. [PostgreSQL]! E' M2 y; p, O9 Y6 X
  1272. ; Allow or prevent persistent links.
    # }" x- ~# `- e1 U+ p
  1273. ; http://php.net/pgsql.allow-persistent+ r; s8 i6 D& ^+ ^8 \, Z; v( v
  1274. pgsql.allow_persistent = On# Y8 t( j& L8 h( l* J6 l3 Y
  1275. ; v$ q8 w/ g/ R1 @, ]6 v
  1276. ; Detect broken persistent links always with pg_pconnect().# Q5 Z( N2 A$ _" X7 h0 F+ {
  1277. ; Auto reset feature requires a little overheads.
    ' V" S1 K1 }7 d. n8 Y! o+ B
  1278. ; http://php.net/pgsql.auto-reset-persistent4 Q. ]0 O3 ], L1 F0 t" h& ~
  1279. pgsql.auto_reset_persistent = Off& ]+ i% l* u7 |7 @- P+ Q, [; q3 i" G
  1280. . G7 T, c8 \' z; Q/ }5 Y+ `
  1281. ; Maximum number of persistent links.  -1 means no limit.! W, w) _  E9 P6 \" d0 V
  1282. ; http://php.net/pgsql.max-persistent0 o: k8 N7 W: S0 K3 l% d
  1283. pgsql.max_persistent = -1
    1 a9 F( E1 G/ ~4 A$ N" F6 ?

  1284. 3 x( p) X2 ?$ L# x: }- x* e: B
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! i$ n  m. `4 M% b) s' v
  1286. ; http://php.net/pgsql.max-links4 @( p: E+ X' b4 ]+ ]* t7 r8 T
  1287. pgsql.max_links = -1/ L" z- q" c0 |5 U# N: v: i
  1288. : x6 z/ F. H$ _' ]9 F# W
  1289. ; Ignore PostgreSQL backends Notice message or not.8 o/ E( o$ G+ U; Q6 ^8 q
  1290. ; Notice message logging require a little overheads.
    1 b# j, _" t! j3 k. J
  1291. ; http://php.net/pgsql.ignore-notice- t/ `( l# ?0 Q- H; H
  1292. pgsql.ignore_notice = 0
    # ]( ]& }; N! @/ q% o9 k8 y
  1293. 1 f+ _( B# n% ?( J6 J2 d# Y
  1294. ; Log PostgreSQL backends Notice message or not.3 Z  @- |. N$ C9 v
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % V8 i: ?+ S5 l) ?
  1296. ; http://php.net/pgsql.log-notice
    6 t! C8 h4 @2 m' e; a) E7 r
  1297. pgsql.log_notice = 0
    0 D% ?  x8 G9 n1 b( Y9 U9 l

  1298. # g; z* X; N% ]# C
  1299. [bcmath]# s) [7 _- F: h* ]9 }% l; ?2 a$ T
  1300. ; Number of decimal digits for all bcmath functions.$ M+ i5 j; V2 l5 r+ S8 l
  1301. ; http://php.net/bcmath.scale8 y" v$ T0 w) n) L
  1302. bcmath.scale = 0
    % R3 N6 a- K9 i. \, i
  1303. & |! s6 g0 D% U/ @, E4 s( P3 l
  1304. [browscap]
    : X2 Z/ {' A5 q( g  w( T
  1305. ; http://php.net/browscap" G2 d! r  D1 h6 A7 n! i
  1306. ;browscap = extra/browscap.ini4 O* P3 i1 [6 \- j- x

  1307. 9 `; ~: c. ?0 D
  1308. [Session]& s$ H, N) _6 T0 x  W; C
  1309. ; Handler used to store/retrieve data.
    % V9 v' G5 m! q
  1310. ; http://php.net/session.save-handler8 E& O" }2 D) |* Z% X: E& [
  1311. session.save_handler = files) P0 z# d5 x2 o1 Z

  1312. 3 I6 V# w5 p) P/ V) v  ~$ h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path* n, G( `: S2 v$ H4 M
  1314. ; where data files are stored. Note: Windows users have to change this
    6 t; ^( U5 B. Q# _8 r* h, e
  1315. ; variable in order to use PHP's session functions.
    2 ?( f9 y1 x- ~: N
  1316. ;) W/ p) x; b" E) s5 p/ b
  1317. ; The path can be defined as:$ Z. L" I8 G* }+ ^
  1318. ;6 t( ]0 }5 K9 ]- S. p
  1319. ;     session.save_path = "N;/path"1 K  v1 \8 r5 d5 H/ s
  1320. ;' \! G, D3 n0 ]% c! i
  1321. ; where N is an integer.  Instead of storing all the session files in; f& P! s! ^2 h# f; F1 R# B, f
  1322. ; /path, what this will do is use subdirectories N-levels deep, and! e/ V1 R# m: u3 K7 M+ X
  1323. ; store the session data in those directories.  This is useful if+ u9 D1 X5 e& b. T6 C' ?4 x, }& Y
  1324. ; your OS has problems with many files in one directory, and is/ U. p. @, L5 F) E0 E% @
  1325. ; a more efficient layout for servers that handle many sessions.4 d, E, J8 Z5 ]( x
  1326. ;- h5 z% F3 b& T& i
  1327. ; NOTE 1: PHP will not create this directory structure automatically.4 Q3 l8 y$ T3 }6 e6 O
  1328. ;         You can use the script in the ext/session dir for that purpose.9 |) [3 {/ C/ }  x6 }. w  u
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 G' _5 a, c( a8 Q4 N
  1330. ;         use subdirectories for session storage6 V) M& ^6 `+ e# \6 y0 ]! N3 E4 a
  1331. ;
    . Q% N6 m1 i3 |1 R# A: X$ a0 W* r
  1332. ; The file storage module creates files using mode 600 by default.4 c( w8 Q5 I" r8 @  e. D
  1333. ; You can change that by using
    # w# p  ^% u8 \; B0 I
  1334. ;2 E( I: ?5 l$ B4 x3 J
  1335. ;     session.save_path = "N;MODE;/path"* T6 _) r4 y9 D, u. _
  1336. ;
    ( ?1 `: {- w* K! e  y
  1337. ; where MODE is the octal representation of the mode. Note that this
    " c: P0 H! w$ {, w3 q1 m  M
  1338. ; does not overwrite the process's umask.5 [( D7 h6 ^+ R+ @5 F+ ^- l
  1339. ; http://php.net/session.save-path
    8 @8 N9 z3 Z# I# o/ Z* |" G. [
  1340. ;session.save_path = "/tmp"( H( U. a3 v- r

  1341. / u8 J% \* D4 P- m/ J' ~
  1342. ; Whether to use strict session mode.
    9 D( w5 n4 Y/ _/ a3 t  A
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate, `  L: q6 |" r$ ?, ]
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects, \  G* a. v! z, [: G" t) k- i
  1345. ; applications from session fixation via session adoption vulnerability. It is
    / U* r& ^& H" `3 s" y
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ) l, N% I7 X" h  _
  1347. ; https://wiki.php.net/rfc/strict_sessions; R1 |; u* H& H. C
  1348. session.use_strict_mode = 0
    ) n; e/ g& s5 d; j: A) G- o
  1349. # x' k" G) |: A3 Z" x
  1350. ; Whether to use cookies./ M0 V1 }8 s* U. Q
  1351. ; http://php.net/session.use-cookies4 Q. d* N1 x+ j' {9 S* @
  1352. session.use_cookies = 18 K& n, d0 A! @3 x4 j6 o5 D
  1353.   M% ?% G' I$ o
  1354. ; http://php.net/session.cookie-secure5 f1 M4 D3 y1 H- y
  1355. ;session.cookie_secure =5 D4 F& z9 `: o+ E5 V
  1356. 6 h0 R  N6 |0 b6 |7 j
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 W  ~6 L. D! q1 p* v2 d' x
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    / \  p0 X$ j1 k, F" c. |: i) u, ?" j
  1359. ; session hijacking when not specifying and managing your own session id. It is
    7 l. o+ j) ?( S$ V& k4 l" N2 H
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.% g3 J  o( u* ?# X& i! r4 n8 p: E3 Z
  1361. ; http://php.net/session.use-only-cookies
    1 I! ~/ v& q3 q. M
  1362. session.use_only_cookies = 12 }* _( f9 _$ x7 o- ~
  1363. 8 o0 E- h$ u3 [! G$ W+ U7 B
  1364. ; Name of the session (used as cookie name).
    1 X: B. J8 I# _* p3 l3 p# I
  1365. ; http://php.net/session.name, q, Q  a7 o1 t# b/ e7 Z
  1366. session.name = PHPSESSID
    $ r7 n1 `7 [2 J% s+ t* b& ^
  1367. ) w+ R7 S6 T6 l- n
  1368. ; Initialize session on request startup.; G- J% z" E6 q' _& ^
  1369. ; http://php.net/session.auto-start
    - g* G/ r9 M) M; V  `. Q
  1370. session.auto_start = 0
      B6 m4 [  H0 i: l" I

  1371. 2 P. ?6 |0 O) N4 _! S8 b9 ]
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 I: P9 ]8 a* T% ]: ^) ?
  1373. ; http://php.net/session.cookie-lifetime% \: ?. n7 h9 I6 r" J- `9 i
  1374. session.cookie_lifetime = 0
      J. J# j' A. \: g- g  g# I

  1375. * h7 X' |4 O4 r4 ?
  1376. ; The path for which the cookie is valid.
    8 m7 y/ q# Q* A) F! Z1 k
  1377. ; http://php.net/session.cookie-path
    5 J% K; H1 y9 \9 t
  1378. session.cookie_path = /3 Z, j+ I* p! n5 a7 t; t% t2 A

  1379. ; Q6 b+ l' ?& v! H
  1380. ; The domain for which the cookie is valid.
    . w) O! [/ ?% w, E7 @
  1381. ; http://php.net/session.cookie-domain, P, Z3 Z* \- M2 q3 x$ w! @& X
  1382. session.cookie_domain =
    1 e! O2 S* [& s( F, Z3 E5 {
  1383. 6 [+ c% S; l& r" i4 A' v# B
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.% j, N+ ]% ^- `: y* }: z
  1385. ; http://php.net/session.cookie-httponly
    7 N; @8 k6 W& G
  1386. session.cookie_httponly =" W* E/ v% j0 \- Q

  1387. : e0 k' m9 D! H" V
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.# y5 {: J2 o  a5 x
  1389. ; http://php.net/session.serialize-handler
    & b( [- b8 f5 R+ A$ h) t/ R4 k
  1390. session.serialize_handler = php
    * @) C) d: T( D" c) Y7 f

  1391. 2 ?3 Y# ]' ~5 ?4 Z# [
  1392. ; Defines the probability that the 'garbage collection' process is started2 ?0 V" h% H$ W
  1393. ; on every session initialization. The probability is calculated by using! K* B8 h% w1 [5 A# `
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( N& E8 `. _' x7 t, R
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1) b4 e/ W2 M3 \" t6 A  L
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* p+ Q% D( Z$ x3 g1 b- P9 b
  1397. ; the gc will run on any give request.
    7 `! y( Q0 S/ x% }% M1 }
  1398. ; Default Value: 10 e( T. O$ [- V' E' L6 {$ m$ [
  1399. ; Development Value: 1+ o- J8 w; `( I3 C$ h
  1400. ; Production Value: 13 t" n% W; N, c" T
  1401. ; http://php.net/session.gc-probability
    8 _" n) J0 l; L: g6 Y4 T
  1402. session.gc_probability = 1& {( z+ H0 c0 F

  1403. 1 C" |5 a3 g/ |6 q4 l( t$ B2 H
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    , `1 n$ d& @$ |6 ~/ r9 c9 l* t+ z
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 E% J9 i3 W% i% h/ R+ y& l0 ^1 K0 \
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: R* m! {  W/ m- U/ x6 o# F* N
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 J; S9 C9 {1 e0 g5 R+ N
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 f. X! ^3 b( k) c# C
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    : _! g4 ?& p/ H; Z, C1 Y# h8 R
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 S2 G1 ?/ y, Z7 m
  1411. ; this is a more efficient approach.# f7 m4 |6 w  t6 h: z: ]1 n
  1412. ; Default Value: 100! H* |5 {2 ~1 |9 Z$ u
  1413. ; Development Value: 1000: I# ?& @- J' l/ q, }
  1414. ; Production Value: 1000" q8 M) w% F* W( a- e
  1415. ; http://php.net/session.gc-divisor6 [! _; {8 R2 p. q
  1416. session.gc_divisor = 1000
    ; n' e# ~+ _& v
  1417. 9 F. J7 z2 y5 s# e) Z8 e9 z' _2 v
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    3 @* B6 C" o% Z/ k+ {
  1419. ; cleaned up by the garbage collection process.
    # j1 _1 r4 U  i4 m* t: @
  1420. ; http://php.net/session.gc-maxlifetime
    & J7 |% K6 N9 Q" z, w
  1421. session.gc_maxlifetime = 14403 ]7 i, q6 ?2 I# M& [% `

  1422. 0 v5 D5 Y9 |0 M( z* _9 \. r7 t2 u
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 P' B% i  ^) \! L; m9 M
  1424. ;       (see session.save_path above), then garbage collection does *not*
    3 `4 f/ s; L6 A! o8 E
  1425. ;       happen automatically.  You will need to do your own garbage1 o5 h5 u% u4 I# B" V3 H4 N
  1426. ;       collection through a shell script, cron entry, or some other method.
    : ~0 C# Z7 [5 c6 i) i
  1427. ;       For example, the following script would is the equivalent of! M6 ]9 h/ T3 n4 ?: V1 m+ |
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):# J3 M3 [9 f  q
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
      [0 g9 N2 _+ M% L, [

  1430. 7 ?3 z3 D0 {& N4 z2 G6 ^3 j! M
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% d7 V% u8 L" ]0 X- i( D
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    . I. ?( i, W3 ~6 _6 e
  1433. ; considered as valid.
    9 f$ [/ d1 Q* ^
  1434. ; http://php.net/session.referer-check
    # Z- }- \: C# ]5 w
  1435. session.referer_check =
    4 u5 g, [/ M5 W6 N
  1436. , p: H" N6 v5 H& ~: s
  1437. ; How many bytes to read from the file.: k- V4 c/ Z- p, V
  1438. ; http://php.net/session.entropy-length9 H; ^5 \# q0 I$ Y0 r, I* ]
  1439. ;session.entropy_length = 326 c: q' Q; Z3 V

  1440. 0 Z, O0 {$ a! V) `. S) j
  1441. ; Specified here to create the session id.
    , U3 [. L3 F+ O  c/ N: u
  1442. ; http://php.net/session.entropy-file
    ( z$ _: _. A6 N
  1443. ; Defaults to /dev/urandom2 B! Y6 o/ b6 L! f' y
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom; Q3 g- Q: B6 N" s
  1445. ; If neither are found at compile time, the default is no entropy file." I& t# f( Z* \: g& r, o
  1446. ; On windows, setting the entropy_length setting will activate the
    4 d% c$ s4 R+ h' a& b* Y& T" m, f! }
  1447. ; Windows random source (using the CryptoAPI)
    / r6 l3 m* }: K& j
  1448. ;session.entropy_file = /dev/urandom( j4 Q$ o. ?; u) T

  1449. " Y+ S1 ?3 l, M& q1 b  i. N+ d
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 a  t; {; d' D5 o
  1451. ; or leave this empty to avoid sending anti-caching headers.; E4 c( z7 ]' Y
  1452. ; http://php.net/session.cache-limiter
    1 \( d4 S2 W' @+ S
  1453. session.cache_limiter = nocache* c8 e' T7 V& m+ l2 n$ w

  1454. ' [) r  o3 b4 N# E$ F  w$ o  ~
  1455. ; Document expires after n minutes.3 `8 _  S1 L  i) R
  1456. ; http://php.net/session.cache-expire
    & M8 \' E- W' S# R" E  u8 X6 M. |
  1457. session.cache_expire = 180
    ' c3 x( k8 B9 L4 V7 N7 N/ k
  1458.   p2 s% K( f$ j4 B* F- w& m& r
  1459. ; trans sid support is disabled by default.
    $ y) a# Y- ~+ [  n0 l. Z
  1460. ; Use of trans sid may risk your users' security.* h4 N0 M7 c. I* N: \' w- R
  1461. ; Use this option with caution.8 T8 r" H* w( b2 J
  1462. ; - User may send URL contains active session ID
    , C6 }0 Y* g9 v
  1463. ;   to other person via. email/irc/etc./ t; h! g/ Z6 w; z
  1464. ; - URL that contains active session ID may be stored* g& c' M6 q) ?
  1465. ;   in publicly accessible computer.
    + C+ z" W" [8 Z( l8 k! l! p, A/ H
  1466. ; - User may access your site with the same session ID
    & L! z- B, I, j  `" b
  1467. ;   always using URL stored in browser's history or bookmarks.
    " N2 u7 t/ l/ A6 Z9 L0 K0 X0 e
  1468. ; http://php.net/session.use-trans-sid0 N. X! z' ~& e6 ?( k7 y& T3 i
  1469. session.use_trans_sid = 09 x& g& T$ g& ?# D

  1470. 3 q# }+ h" V/ e; a7 X( d" e4 m
  1471. ; Select a hash function for use in generating session ids.
    ; Y8 Z2 U4 x0 j' `7 }
  1472. ; Possible Values2 x; b5 E1 i, [* x; Y7 O  _, ?
  1473. ;   0  (MD5 128 bits)
    - B0 e; k) {/ H+ H. m# Z
  1474. ;   1  (SHA-1 160 bits)) G+ D# K$ d* @
  1475. ; This option may also be set to the name of any hash function supported by
    7 ^) |% O" d/ ?3 T5 f- [
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
      g5 b9 `1 U  o, Z5 y3 B, t& t
  1477. ; function.* ?* H7 P4 K6 v' D! Q4 G
  1478. ; http://php.net/session.hash-function
    * z! Q$ c) @# p  }: A0 A" j' W
  1479. session.hash_function = 0
    6 w. u5 F) u0 D
  1480. 2 m5 m. ?+ k! y, N' s0 e! r
  1481. ; Define how many bits are stored in each character when converting) y. d; J' j6 \/ B& h( V2 U
  1482. ; the binary hash data to something readable.
    5 `  W3 Q8 y" [* n6 ?2 P/ s
  1483. ; Possible values:
    ; _) I8 x  r* I
  1484. ;   4  (4 bits: 0-9, a-f)
    / w* q: p( w. |; `
  1485. ;   5  (5 bits: 0-9, a-v)
    & ^; e8 f1 H0 B+ q/ W$ z! K- c; r
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & S# `, W) R. R* b2 v% a
  1487. ; Default Value: 4
    ; B$ z0 L! S7 \; L, k. Y8 y3 E
  1488. ; Development Value: 5
    1 f; K: f. D# G
  1489. ; Production Value: 50 H  V: W% r5 R" f  V
  1490. ; http://php.net/session.hash-bits-per-character
    ) x3 G8 B0 ?3 d8 R! d) ?
  1491. session.hash_bits_per_character = 5) J8 j$ z& F1 `5 l

  1492.   I/ _* H/ y3 c( g0 \2 P$ i' `; |
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( K6 B' I5 V* h
  1494. ; form/fieldset are special; if you include them here, the rewriter will% w6 V2 X9 e* W
  1495. ; add a hidden <input> field with the info which is otherwise appended
    4 T* Q; F7 p3 \' M" @& s) f5 r& f9 W
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.- `$ o/ U0 g2 v$ x9 m7 j+ y$ }
  1497. ; Note that all valid entries require a "=", even if no value follows.7 j4 I( R5 K- g1 ^7 t
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="( Z9 ^+ Y7 v5 t1 v, l
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' g% z& N1 [, N. }% b* Z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 }9 a: f* y& d1 i! {0 b9 Y
  1501. ; http://php.net/url-rewriter.tags: |1 Y2 m, ~2 }7 M0 R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & o7 [5 j' A: w1 n

  1503. ) {+ ^1 E; e" C3 ]
  1504. ; Enable upload progress tracking in $_SESSION% O4 t+ l+ C) \) t4 R
  1505. ; Default Value: On
    & t; y9 W8 p( o8 x+ a! I# K
  1506. ; Development Value: On. L5 c$ t7 |- Y4 Z6 a5 F3 t
  1507. ; Production Value: On
    ! q2 ?; G' R* o7 L# P& d
  1508. ; http://php.net/session.upload-progress.enabled
    4 B+ |3 |4 Q, r/ V4 D
  1509. ;session.upload_progress.enabled = On
    , v3 z- s+ j8 W/ Y) ~- G
  1510. 6 t9 x8 z0 b& d) M# |. u5 i* [' |
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & o. z8 L+ }+ v, ^
  1512. ; (i.e. upload completed).
    - C! G: I3 A7 e4 h: {, }- C
  1513. ; Default Value: On1 U* [+ a6 l& ?) N7 u- X
  1514. ; Development Value: On
    & n5 l4 O+ y( H
  1515. ; Production Value: On
    " s) H2 }( j# A7 a7 A, J
  1516. ; http://php.net/session.upload-progress.cleanup
    ! X" {8 P, g( h( z, D# S  o2 g/ i
  1517. ;session.upload_progress.cleanup = On; e7 c3 C) G! v( U6 T( L
  1518. ' y6 V5 k* L3 r* C* c7 `4 o( A
  1519. ; A prefix used for the upload progress key in $_SESSION
    6 x) W! ~, ~% M% \# Q
  1520. ; Default Value: "upload_progress_"
    6 R) H7 Q+ _0 i
  1521. ; Development Value: "upload_progress_"
    + m2 f1 a' k7 R! x% I. i
  1522. ; Production Value: "upload_progress_", p- O8 ?- [0 U( h
  1523. ; http://php.net/session.upload-progress.prefix
    + Z- @9 j8 b0 f0 ?
  1524. ;session.upload_progress.prefix = "upload_progress_"
    0 p& v" O% I7 E! z
  1525. - b7 |% M6 ?2 b" w
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    : z, V1 T; t# P
  1527. ; containing the upload progress information
    ; R; a4 X  u0 W2 [1 x) D9 T
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ E% `5 n# f5 w9 \* ^
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 `8 ?( l) H( o6 c
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 j  H; c0 M# k  T
  1531. ; http://php.net/session.upload-progress.name
    + ~4 s% [: ]6 J' l8 }3 n
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"6 q+ ]: G* b% a! L

  1533. 4 Q  j4 f# ~8 P! W
  1534. ; How frequently the upload progress should be updated.) `/ [: f. E" N5 ~5 u, I  O
  1535. ; Given either in percentages (per-file), or in bytes
    2 i' y( M4 p* B$ a7 H+ E9 N. `: h$ P) d
  1536. ; Default Value: "1%"
    ( b9 a& Q' R* n) G+ A& r" B, M; o
  1537. ; Development Value: "1%"6 q# y4 y. b$ U) U1 K
  1538. ; Production Value: "1%"
    ; r; q0 K8 ]$ d9 x. J1 I
  1539. ; http://php.net/session.upload-progress.freq0 S' G8 E! z( k3 ?  `7 V) f# j  `
  1540. ;session.upload_progress.freq =  "1%"
    ( b3 F7 m* S) J: J# S1 R) s, Y
  1541. 8 e1 X+ C' u% X+ o: Y/ `. V# K
  1542. ; The minimum delay between updates, in seconds
    ! i$ a$ {. x" r! {
  1543. ; Default Value: 1! b6 l6 N; Q. F) p- u) l3 b1 G
  1544. ; Development Value: 1+ q+ o' _# ^* `3 b! Z
  1545. ; Production Value: 1" r# \3 c& C& q
  1546. ; http://php.net/session.upload-progress.min-freq$ x! J+ f5 Q- n' D' k
  1547. ;session.upload_progress.min_freq = "1"+ `( k9 J$ B+ ^. \8 N1 H# w

  1548. 4 F. v$ c' q8 o* ~6 {3 P
  1549. ; Only write session data when session data is changed. Enabled by default.
    # ]; e1 L0 R! a
  1550. ; http://php.net/session.lazy-write: F* h9 X+ s/ r2 p3 E5 I1 @
  1551. ;session.lazy_write = On& E( ^1 t/ D/ }% S- u, a9 A
  1552. + g7 |4 B1 {4 Q. n
  1553. [Assertion]7 h9 c. @$ C- D! p
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    $ T9 l, ]* g5 S) }$ J
  1555. ; -1: Do not compile at all
    - G7 o9 V: r2 ^3 y# _
  1556. ;  0: Jump over assertion at run-time6 E) J2 Z0 d, w* f
  1557. ;  1: Execute assertions9 [  s3 K" @  _: w
  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)/ h) c- i$ o; _, z2 `' u# @
  1559. ; Default Value: 1
    5 N% W. T( K8 L& }* H0 m0 o" A
  1560. ; Development Value: 1
    - e1 f, G6 d/ K& I6 ^/ ?8 q3 }
  1561. ; Production Value: -1
    0 C" {2 z4 L5 B% v& `+ l3 W) |/ o0 u$ B
  1562. ; http://php.net/zend.assertions4 G1 d1 m2 f1 M6 H
  1563. zend.assertions = -18 E0 K) A- G4 Q& W& B: E

  1564. 0 p" _' e! Z& H& A
  1565. ; Assert(expr); active by default./ b% T* U: N# w1 B+ n
  1566. ; http://php.net/assert.active
    ' Z$ S7 }5 n) g5 `2 K
  1567. ;assert.active = On% G6 L) L0 l" @

  1568. 2 o0 j8 Y  U# z3 O& }
  1569. ; Throw an AssertationException on failed assertions
    * N) Q1 R) y3 `8 j0 X3 ]5 p& z
  1570. ; http://php.net/assert.exception
    - B( P" D# {/ D# k$ c
  1571. ;assert.exception = On
    ! y, c7 T8 i1 X- _) O
  1572. 0 I; Z1 ~# C: m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ' g6 _+ Y& f! O# K, f$ N+ i$ J3 _
  1574. ; http://php.net/assert.warning2 J4 {( f7 ~. r& N
  1575. ;assert.warning = On. [) B- D* q* ?
  1576. $ h; S6 o5 \% a" S
  1577. ; Don't bail out by default.( l: u/ \+ f- `; e& {( u3 l3 D$ @
  1578. ; http://php.net/assert.bail
    * b3 R, {" N! n; E( B& K
  1579. ;assert.bail = Off
    * f' q, M4 @4 L. A- J9 [4 _

  1580. ; s- T* K% t( g$ U' t
  1581. ; User-function to be called if an assertion fails.
    ' f: G6 A: E& T0 B/ b
  1582. ; http://php.net/assert.callback. Q; w+ f2 ^- K6 y9 n
  1583. ;assert.callback = 0" `. `' A/ X* B" o5 R% ^& S

  1584. ' {- m0 x( f6 |- n) L7 |: U
  1585. ; Eval the expression with current error_reporting().  Set to true if you want0 R) J; C8 T6 G7 b9 k$ F2 z
  1586. ; error_reporting(0) around the eval().  Z  U; g0 @& {& J
  1587. ; http://php.net/assert.quiet-eval4 A+ k2 ]# j: m& j
  1588. ;assert.quiet_eval = 0' ?1 m* n: ?6 Y0 _% j- _0 K
  1589. * Q& O% L% P3 u: {# G6 `) K) x
  1590. [COM]
    : I& p* T9 o! k3 ^) w
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ l4 x! r! L; ~2 Z
  1592. ; http://php.net/com.typelib-file' {: F* P4 c9 m3 j' x/ o
  1593. ;com.typelib_file =
    ; n! b1 k- p1 ~+ n6 H

  1594. 6 @8 a, G+ W* A6 H4 v0 W7 W$ G) b
  1595. ; allow Distributed-COM calls( Y3 B% U& j' u- Q8 a4 y3 P
  1596. ; http://php.net/com.allow-dcom, J' Z0 ?) u& Y! J) v3 x9 l* q- R
  1597. ;com.allow_dcom = true
    ) [) S+ u+ k& n) ~. o2 n
  1598. $ z5 h* L" n2 q) q
  1599. ; autoregister constants of a components typlib on com_load()) \+ `; T/ y' w9 b' ]8 d
  1600. ; http://php.net/com.autoregister-typelib$ D4 y0 d4 o+ ?
  1601. ;com.autoregister_typelib = true
    3 {5 u. v! k! m0 n# e9 ~
  1602. ( d) e. W4 X$ ~& O9 h( j
  1603. ; register constants casesensitive
    5 R" H+ K7 }5 {' y' U
  1604. ; http://php.net/com.autoregister-casesensitive  i% b7 x* v5 t0 S
  1605. ;com.autoregister_casesensitive = false
    # |& \1 I/ Y, m% f; V

  1606. : _/ o0 y! s6 E& ~4 K
  1607. ; show warnings on duplicate constant registrations& {3 r0 N- r2 S
  1608. ; http://php.net/com.autoregister-verbose
    - t* I, w% a" U$ e" t
  1609. ;com.autoregister_verbose = true
    8 z6 v3 o4 T# x

  1610. % q" A) R' R" D7 u
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ! |4 P, x/ G0 W4 I0 ]3 ^
  1612. ; Default: system ANSI code page
    : |# w5 ?& j3 S1 z. G4 l
  1613. ;com.code_page=: r# t3 i' E. h4 S9 p( F5 a

  1614. ; v" `0 p* ?. ?$ F
  1615. [mbstring]- J6 s, x7 c$ {0 u
  1616. ; language for internal character representation.4 l+ u* ]% c% e
  1617. ; This affects mb_send_mail() and mbstring.detect_order.% b% ?' d, K1 }& ]1 V2 s
  1618. ; http://php.net/mbstring.language
    ' q# \/ d3 g6 H$ w5 W/ B
  1619. ;mbstring.language = Japanese
    3 \0 ]3 s% b. s: I7 B3 L
  1620. ! p: g% U. _) H1 ^0 _3 e
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 z) W. q) j, y0 w7 j7 {4 u
  1622. ; internal/script encoding.
    8 @! j: r3 h' S7 w' p
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ! J3 X! O6 A6 _/ D6 {
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! q6 w% T9 w/ e7 C7 G, G
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    6 I* ^$ _+ t( S8 [
  1626. ;mbstring.internal_encoding =2 b2 e* `; @! O. Y
  1627. 4 p7 s- ~2 }" R7 @
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    3 q$ S. h: t3 L" V
  1629. ; http input encoding.
    ( Z$ `% @5 J% F' R7 T
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.6 R0 o" t$ P' u2 G7 ^* A
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.4 w8 x0 S2 k" K
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      o* d0 B, K% h: ?8 I
  1633. ; http://php.net/mbstring.http-input6 Y$ j; W) _8 f* g0 `
  1634. ;mbstring.http_input =2 Z& g  g! T" A6 }; v# G5 Y

  1635. 5 H( L9 Y, I7 b2 L2 K
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead., E& R0 o& J, Z6 o+ _  S
  1637. ; http output encoding.
    * B' V, L, I+ o5 \! G$ \
  1638. ; mb_output_handler must be registered as output buffer to function.- b2 j4 u. N; f  `4 k/ F5 C
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 f$ g" I7 C) t0 Y6 S" F/ x
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ O. g' R9 A7 D
  1641. ; To use an output encoding conversion, mbstring's output handler must be set6 ?' [1 P! T6 P; b5 E3 P0 \$ F
  1642. ; otherwise output encoding conversion cannot be performed.( j* s8 c4 x# h0 X( h. X+ K: ]
  1643. ; http://php.net/mbstring.http-output0 Q  z* `/ t  s# y" g( ]6 `
  1644. ;mbstring.http_output =
    - S% E* y* K8 e& [# J7 [  \5 u- X% r; h

  1645. 3 G6 d$ q4 C8 [
  1646. ; enable automatic encoding translation according to# k) k9 y3 u  X% q; m" z
  1647. ; mbstring.internal_encoding setting. Input chars are
    - P! t' W! I( u( P
  1648. ; converted to internal encoding by setting this to On.; m0 [( g* U6 E& Q* N0 H( n
  1649. ; Note: Do _not_ use automatic encoding translation for9 ^* r5 q! E/ m* ~2 [
  1650. ;       portable libs/applications.0 s7 C0 [0 P5 f  M) m
  1651. ; http://php.net/mbstring.encoding-translation
    % o8 y1 y" W) U% n* t* n3 o, z1 o- ^
  1652. ;mbstring.encoding_translation = Off
    % ~: F. a3 v' O8 r" ?3 ~  B

  1653. & w/ O# p9 S: }& {  F! f
  1654. ; automatic encoding detection order.$ g. U' l/ @! g4 s3 C) s( ^
  1655. ; "auto" detect order is changed according to mbstring.language
    6 e& B( j% a, E* [% B4 K
  1656. ; http://php.net/mbstring.detect-order
    0 W! R" c1 t( Q1 ~' u
  1657. ;mbstring.detect_order = auto
    / f5 Z" }5 X7 k+ n
  1658. " {% R- o& X3 g/ e
  1659. ; substitute_character used when character cannot be converted1 ^$ R' U8 T1 t4 U+ a% C; W' Y
  1660. ; one from another+ X# X" s7 l+ k  F$ r3 Z$ e) A0 g
  1661. ; http://php.net/mbstring.substitute-character
    5 o/ b' y' e1 _& l4 @+ }
  1662. ;mbstring.substitute_character = none* E2 a# H6 h: O) I1 {/ L
  1663.   M' m8 j: |& y3 c+ \
  1664. ; overload(replace) single byte functions by mbstring functions.
    3 p0 z6 c  {. e/ l( K/ ~# @
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! c; M& P% H( p  h- P! z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.! L$ P  o% P6 ]: P) d9 l% q
  1667. ; For example, 7 for overload everything.+ T0 V- l4 M$ |7 `# `6 [; E7 M
  1668. ; 0: No overload
    : Z0 B3 R5 h0 D2 S0 y! k
  1669. ; 1: Overload mail() function; s; w: }! G0 p8 R7 T
  1670. ; 2: Overload str*() functions
      |6 A& P! R  V2 \  e
  1671. ; 4: Overload ereg*() functions
    , e& r8 ]3 j8 C' _
  1672. ; http://php.net/mbstring.func-overload! w( @2 z8 }! e
  1673. ;mbstring.func_overload = 0
    3 M- ]4 F5 N0 ]. F4 b5 m5 a
  1674. % ^, n) S- x4 W" N8 s
  1675. ; enable strict encoding detection.
    / F1 y8 `- a( \9 j: s. C# M; H, C
  1676. ; Default: Off2 X& O( o0 }7 d; T, D9 Y
  1677. ;mbstring.strict_detection = On' @3 P0 L# G( v
  1678. + o" q0 s0 Q: b: [9 g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()7 ]- Y2 k( m0 u1 _4 T% N2 Z
  1680. ; is activated.: \6 Y2 z& u' y+ K7 e3 A6 A
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- i3 z$ Q6 H1 g( T( S: [: d
  1682. ;mbstring.http_output_conv_mimetype=; k3 J" H( b) \% _
  1683. ; Z2 ]. V5 J* b# @: o8 b
  1684. [gd]6 u2 q$ g" V$ `
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 U; i5 u7 @. X! H" s7 `$ [2 w8 z
  1686. ; a gd image. The warning will then be displayed as notices! B& i- L4 `& e/ Y
  1687. ; disabled by default
    ! n# ]* S1 J/ W& _2 O
  1688. ; http://php.net/gd.jpeg-ignore-warning
    4 u! j2 E9 |5 i, [* C3 m8 M
  1689. ;gd.jpeg_ignore_warning = 02 f6 t- [3 f, h" _- J% n/ W! z

  1690. ; m3 ^8 K! V% [2 {6 x) {6 t
  1691. [exif]7 r: b1 {% Y* {/ g, U; M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 d5 R* I7 h4 |& }# _' D9 F* S, ]# U
  1693. ; With mbstring support this will automatically be converted into the encoding: o8 H1 }# O; x! p9 d. N
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding: c- u3 X' c4 E& y
  1695. ; is used. For the decode settings you can distinguish between motorola and9 T+ Y9 b7 }0 r7 `
  1696. ; intel byte order. A decode setting cannot be empty." [' K8 ]& P0 E, R
  1697. ; http://php.net/exif.encode-unicode, q$ n5 [. \5 T& f1 z3 L7 X- w' v/ G0 }
  1698. ;exif.encode_unicode = ISO-8859-15
      _. l& E6 V! A/ A

  1699. $ V& d: M5 _* n. S
  1700. ; http://php.net/exif.decode-unicode-motorola
    0 @- k9 Y3 Q! w5 M0 F; `
  1701. ;exif.decode_unicode_motorola = UCS-2BE+ `- x9 q( p+ U; K6 Z; [: l9 D

  1702. . a( G% w: l0 P  C( C1 |0 y+ s8 t
  1703. ; http://php.net/exif.decode-unicode-intel# w# ~. p0 B: U3 J
  1704. ;exif.decode_unicode_intel    = UCS-2LE/ D+ X8 g( ^$ K4 A! X- G4 Y9 x1 v
  1705. , Z( g! |8 y+ L  T; `$ O7 U1 I
  1706. ; http://php.net/exif.encode-jis
    5 F, r: t  Y, u
  1707. ;exif.encode_jis =
    / q! g. {# M9 {# r5 I8 y6 [
  1708. ( }2 ^) a; f/ B! H6 {- b
  1709. ; http://php.net/exif.decode-jis-motorola
    4 m  A4 I; q+ b1 d/ R" D. U
  1710. ;exif.decode_jis_motorola = JIS
    3 o5 T( D6 i2 O$ w4 i
  1711. 5 X6 \  j6 m4 T: H8 Y2 s& e) P/ V6 x5 `
  1712. ; http://php.net/exif.decode-jis-intel
    2 k* e; K% M# V' b
  1713. ;exif.decode_jis_intel    = JIS1 ~5 J' r% f8 i
  1714. ( Z1 A. E; c9 o) D# ~
  1715. [Tidy]* s) m2 {+ T; h: k6 M% \
  1716. ; The path to a default tidy configuration file to use when using tidy
    $ a) a5 i7 {' X0 N4 ~# b" n
  1717. ; http://php.net/tidy.default-config
    ! H' @5 y3 y0 M: k
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 ^! l4 W  r$ ]# w: m8 q% y
  1719. - [$ i) o6 q( I4 P* d3 V
  1720. ; Should tidy clean and repair output automatically?0 m+ b3 e$ {- u/ g& \" L
  1721. ; WARNING: Do not use this option if you are generating non-html content4 ~5 G; B/ p( ?8 ?
  1722. ; such as dynamic images
    4 }: M* j) v3 F' h" p/ H
  1723. ; http://php.net/tidy.clean-output7 U2 C* W. d: G1 X7 ?( C, F; X) N
  1724. tidy.clean_output = Off" z" \, A& T4 V0 X; w
  1725. * M' j3 e" a' N1 p0 |+ v
  1726. [soap]' U; u- ^9 e) S( T5 l8 ?  Q. c/ [( _
  1727. ; Enables or disables WSDL caching feature./ s; y* V' O( }" ]. J
  1728. ; http://php.net/soap.wsdl-cache-enabled# a! m7 k" I  H) o1 P5 g
  1729. soap.wsdl_cache_enabled=16 u8 r& R8 c/ F- n2 p3 J
  1730. 7 _3 \4 J% B+ M- e6 c, q' m
  1731. ; Sets the directory name where SOAP extension will put cache files.+ d* b! C. g  [. S& `( G) e# ]
  1732. ; http://php.net/soap.wsdl-cache-dir3 h7 h8 A' t" W  Q% B, B- B) p
  1733. soap.wsdl_cache_dir="/tmp"$ A9 L# _: D2 v0 F# Y2 l
  1734. , Y) {( w2 g1 q: t: e' e
  1735. ; (time to live) Sets the number of second while cached file will be used
    * D; q3 @6 Z. w6 h
  1736. ; instead of original one.
    0 u! ]) @6 {# {: F6 ~
  1737. ; http://php.net/soap.wsdl-cache-ttl
    . P4 t$ E: E1 g2 E, t; R5 D  r5 d# \; }
  1738. soap.wsdl_cache_ttl=86400
    ! Y8 p8 w8 x1 S( g9 q% l4 c; t. S

  1739. ' O" [0 ], A$ b8 t8 m
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ [! q( |& Q3 ]8 Y' n6 J
  1741. soap.wsdl_cache_limit = 5! N1 O% \8 W4 R. _( {; X9 v

  1742. - B, B: t7 U3 t4 T, f' w
  1743. [sysvshm]
    7 Q3 d9 Y$ K4 P! U) i* f# Z
  1744. ; A default size of the shared memory segment* K9 M7 A  ]- C3 t) t
  1745. ;sysvshm.init_mem = 10000
    * O7 c: d6 |4 H% b, g
  1746. 1 O; j  a0 r$ ?7 v* I7 t
  1747. [ldap]9 ]) h: E4 r1 }4 M; \2 c
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ l( {) v' T2 y" H( a. z. R+ r
  1749. ldap.max_links = -1
    $ D8 C9 }3 v' I- U3 r
  1750. 5 n2 M' n4 f0 U: [5 d( P0 s. g% @
  1751. [mcrypt]
    6 d" d# I2 s, ]8 o' F" J
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    2 v. S' t. y/ L

  1753. ( C1 z) Q& I5 B7 i; S( h. e* D
  1754. ; Directory where to load mcrypt algorithms# u+ E! y$ v. t9 B
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( v1 L1 _2 C7 c3 W: C! S! l( ?
  1756. ;mcrypt.algorithms_dir=
    " I& i) [3 P- `1 U! C% m7 _# V

  1757. ) Q9 [1 d3 H6 Q2 s% a/ V
  1758. ; Directory where to load mcrypt modes9 L% ?4 Q6 b3 j- X) |0 z
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): ]# e8 R: C3 ^# d0 ~5 }  x6 n
  1760. ;mcrypt.modes_dir=
    , z% ~! [( J# p  m
  1761. % M8 S% J+ K/ Z/ Q" G! |$ R3 G
  1762. [dba]
    / ~: @" \: D2 W: r! H
  1763. ;dba.default_handler=
    ( _! n  D2 m: `( `
  1764. 0 ]+ G- `7 @; t$ m! y) z+ w
  1765. [opcache]5 D7 Q, F& g3 K0 V
  1766. ; Determines if Zend OPCache is enabled( N$ j3 r- T  w$ [7 Q8 D
  1767. ;opcache.enable=0
    / b$ v  D4 C, O; m' A
  1768. 1 `* Z7 O; P& D  s. i' L1 Q9 m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 I3 S3 M! ]3 N- a
  1770. ;opcache.enable_cli=05 A" Q# r$ z! i" R0 F
  1771. ' W/ E6 l  A$ m3 s
  1772. ; The OPcache shared memory storage size.0 s( F, v1 l) O3 ]; X
  1773. ;opcache.memory_consumption=64
    8 \# P, k4 ]6 i
  1774. 7 J! [- s+ E2 `
  1775. ; The amount of memory for interned strings in Mbytes.% A- H) F+ m, V: Z* X
  1776. ;opcache.interned_strings_buffer=4
    7 q" @$ ]' ]% e" X

  1777.   R; ~% C- k: s0 K! D( B
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : g: f( e+ G2 u% C1 C0 V
  1779. ; Only numbers between 200 and 1000000 are allowed.
    % f2 E0 b7 p) E( o. C1 B
  1780. ;opcache.max_accelerated_files=2000+ n! g* X# [$ z# I

  1781. 3 H' M' I0 q' q7 m1 A) Q7 v
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.$ F+ |# S6 V+ r" o" Z$ p
  1783. ;opcache.max_wasted_percentage=5
    , W# d, y; p" J' D, W+ y
  1784. 0 \: B* \1 x& w0 J
  1785. ; When this directive is enabled, the OPcache appends the current working
    : S1 n" k9 n4 R- Q; d5 L
  1786. ; directory to the script key, thus eliminating possible collisions between3 A( |, i5 T0 t2 T5 V" y
  1787. ; files with the same name (basename). Disabling the directive improves
    5 W0 ~. b- {4 U& }: O4 C
  1788. ; performance, but may break existing applications.; u9 L6 m" t* I+ X: I" C, w! P# p3 t
  1789. ;opcache.use_cwd=1( d! l1 f( Y8 f9 V* f
  1790. 1 Y5 g8 u  b# o
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ; I- _" B& b' d2 o  e+ x0 t, s) B
  1792. ; webserver for changes to the filesystem to take effect.
    7 b/ [' x, Q# x
  1793. ;opcache.validate_timestamps=1
    / D: j& v6 X8 p6 i3 C/ F9 a3 }
  1794. . Z& ?" M, @  {' ?% P8 h& f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    * `. i/ o& Y0 u& T  N  k! X
  1796. ; memory storage allocation. ("1" means validate once per second, but only) w) W" {9 k7 a
  1797. ; once per request. "0" means always validate)
      k7 S9 f! ~9 d) L& y
  1798. ;opcache.revalidate_freq=2: g- [2 Y. L+ W, P' S

  1799.   j5 b8 x* ~) ]- X6 r' m
  1800. ; Enables or disables file search in include_path optimization
    0 m; y6 C7 h# ]8 h) A
  1801. ;opcache.revalidate_path=03 N4 k2 ?2 P& I+ Y+ ~5 p5 l, ~
  1802. + Y1 h* b8 u/ C3 i: D5 F
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    $ |) {4 c4 W: V0 S$ K
  1804. ; size of the optimized code.; Z  m1 h: H& M- Q
  1805. ;opcache.save_comments=1
    8 A0 t, L( A2 i5 Z$ c( z0 D

  1806. & C6 D  \+ t7 Y! `
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code( Q- }0 T) h) q/ p/ E+ V
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ; H- t% j1 y+ d0 M0 ]
  1809. ;opcache.fast_shutdown=07 M9 e& k" n+ Z3 i$ d) S

  1810. ! p, j9 O6 Y; j8 V0 S/ ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.9 e( L/ x! q  U* t
  1812. ;opcache.enable_file_override=0
    3 d; z& K4 z, E& G
  1813. , J$ O- p% }7 |8 K8 [$ P
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache4 O3 t2 q/ v( V7 ^' s# O; A  h& B
  1815. ; passes
    " p# J; C8 r' `( q; g
  1816. ;opcache.optimization_level=0xffffffff
    5 |" ^# k& q) p* v! ?7 t+ y2 l  Q
  1817. ! s+ S6 x- `, k
  1818. ;opcache.inherited_hack=14 \; Q# W4 g5 Z+ }# |+ [9 Y
  1819. ;opcache.dups_fix=08 f% H+ f2 Q  D5 |+ i

  1820. 5 K: |7 p- ^: k! U/ L: K# a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    8 F7 j! z" V+ c! w+ u
  1822. ; Each OPcache blacklist file is a text file that holds the names of files1 C, _0 F& D1 X  D$ {! _
  1823. ; that should not be accelerated. The file format is to add each filename& }" K- q( M/ r6 X
  1824. ; to a new line. The filename may be a full path or just a file prefix
    1 r& h+ N' x1 O& o9 U
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www. K9 D. D* N$ A4 p$ K6 _
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    7 ^% p- g+ A& ~0 \# c7 ?
  1827. ;opcache.blacklist_filename=
    $ \! c$ f2 g7 p( i! z, }6 s
  1828. - ~9 Y! Z! o# B5 |" e1 V! d0 s
  1829. ; Allows exclusion of large files from being cached. By default all files
    - D: H4 _* [3 w( y1 Z. T# F
  1830. ; are cached./ r+ s2 R( p9 d
  1831. ;opcache.max_file_size=0) n5 v# O5 _" l% W- u" x2 |
  1832. 0 R6 C/ [7 {4 v: V& e' s0 G
  1833. ; Check the cache checksum each N requests.9 P3 ^: a2 V. a4 Y, C& P
  1834. ; The default value of "0" means that the checks are disabled.) ~9 J5 C- |5 e6 h9 y: k; s% O% w
  1835. ;opcache.consistency_checks=0) y' S- f* O$ ?8 E
  1836.   [" J# t1 g4 V$ J% i5 T
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- R5 I: I, y8 d% s! H% C
  1838. ; is not being accessed.
    5 f* i# @- I9 O) H
  1839. ;opcache.force_restart_timeout=180# S5 v# }# f9 c) F
  1840. 0 w! S* t# U9 }8 W" c( y" U, z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".+ l0 I- X. ~* q
  1842. ;opcache.error_log=
    ; @) \0 t( @! |6 b4 n

  1843. $ s- B# Q$ M- n3 s
  1844. ; All OPcache errors go to the Web server log.' G! d. ]3 v+ N7 i/ u& L/ Z
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.: i' \* s8 L3 \' F$ q8 u  k9 n
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    0 P0 d# d: l4 ^
  1847. ; debug messages (level 4).
    + t" l  e0 P. J9 q- {7 g
  1848. ;opcache.log_verbosity_level=1
    + V. d9 G$ C; n3 Z1 r& A" k

  1849. " p. K1 s  w5 T; k2 T0 y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& _8 [1 ?( i: ?. i3 x
  1851. ;opcache.preferred_memory_model=
    + e/ `7 ?) Z4 o0 D

  1852. & i, R- o0 N6 B) W5 m: Z1 v4 {0 {
  1853. ; Protect the shared memory from unexpected writing during script execution.& _/ ]% F% A- ?" F! k; m* Z) G
  1854. ; Useful for internal debugging only., `$ d' g2 f/ ^. E4 h" X' W
  1855. ;opcache.protect_memory=0
    % m' ^+ e4 M3 d, q( V- }! q, x& n
  1856. 2 a7 _9 s. b' \  Q, _& v
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ; P& s, s4 f) @5 g
  1858. ; started from specified string. The default "" means no restriction0 j) s1 z( n9 R* _% s8 p
  1859. ;opcache.restrict_api=6 I1 b6 I2 j7 t/ |: k1 C( |9 |; @

  1860. * Z3 q: m1 u1 N- _
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    % g( T! X7 o3 j. [  Q, u8 F8 V
  1862. ; processes have to map shared memory into the same address space. This
    4 t! J& f3 D* r2 y, C, B- z9 U
  1863. ; directive allows to manually fix the "Unable to reattach to base address"+ P1 |: ^& t5 X5 Z
  1864. ; errors.: z- C. j/ X( ^- W
  1865. ;opcache.mmap_base=4 e, N9 e) x) S& Q! m

  1866. % o: H; U, c" _, Q0 }3 A
  1867. ; Enables and sets the second level cache directory.
    + C' N; l# O1 K
  1868. ; It should improve performance when SHM memory is full, at server restart or5 ~  F( i. d% y. g& y1 i
  1869. ; SHM reset. The default "" disables file based caching.. K3 K+ ]+ I( I3 I
  1870. ;opcache.file_cache=( k, ~" x7 r8 V. r! j. r
  1871. & n$ p' \  f1 p8 `1 i6 H% E
  1872. ; Enables or disables opcode caching in shared memory.
    $ `$ O0 X1 ^) W$ _6 ~8 ]
  1873. ;opcache.file_cache_only=0) E) Z  S# R8 e/ |) C% T

  1874. 4 I" `4 h2 \# H4 f9 |
  1875. ; Enables or disables checksum validation when script loaded from file cache./ g5 s  R. Z% o2 O  ~
  1876. ;opcache.file_cache_consistency_checks=1
    3 ?, F8 [) P# Y' ~" n7 e% M
  1877. 0 `2 f& J) k; s$ i! R% W
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to3 E& V8 p0 Q- W$ x7 l+ g) m
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    5 n9 n0 b$ l4 ?
  1880. ; cache is required.
    4 v/ b( l* q1 `' E+ d6 p% C( ~1 `0 D
  1881. ;opcache.file_cache_fallback=1- M% j( D* P1 R) N3 l
  1882. / V1 l' m  x7 @/ u: i
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.: v$ d! ^8 q& \4 c2 H" o% C5 I
  1884. ; This should improve performance, but requires appropriate OS configuration.
    - ]& h6 T1 x3 l7 ~6 D
  1885. ;opcache.huge_code_pages=13 B3 d7 M! d7 K

  1886. $ X" J9 M$ y6 ?+ ^  }0 r
  1887. ; Validate cached file permissions.
    9 d" R) Y* t% H2 l0 E
  1888. ; opcache.validate_permission=03 i5 ?9 p0 F) q) I2 @" S* j! ]  d3 n

  1889. 9 }* D7 F- ~) O0 _
  1890. ; Prevent name collisions in chroot'ed environment.
      c- ^4 m4 ^7 X
  1891. ; opcache.validate_root=0
    + A- v0 @6 }3 Z8 P/ X
  1892. * n' ?6 W+ r- J/ r& t5 o. E
  1893. [curl]1 G& Q" W0 u/ a) g+ u0 u5 \
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    " O2 _2 s+ ~  ]; x/ h. Z7 d" V
  1895. ; absolute path.  }. \3 M. z2 e5 ]1 i& E# W  ?& Y" l
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + m7 x8 R7 j8 D$ ~. L

  1897. " _; w7 J5 K/ ?7 r6 F
  1898. [openssl]5 r4 f0 O1 c2 k  t& Q3 x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) Q) i4 [+ |7 S4 Q6 x6 }4 p7 i& _
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 V' ], Z4 y$ Y( a
  1901. ; not specify a value for this directive as PHP will attempt to use the' {# |3 _: _; t0 ]
  1902. ; OS-managed cert stores in its absence. If specified, this value may still' {- d: G: _7 ]. I( N% ~' K3 @
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context* \9 @5 f+ C  M& j' \
  1904. ; option.
    8 |) s- u, d: C( w& l7 ^! p
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ! ]* w* L% m+ c# B
  1906. ' h) x7 c& _7 q! m: k
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the( d% Q3 S3 [5 J% H5 B; m
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    4 S4 V. P, s" q' Y8 p0 f9 t
  1909. ; certificate. This value must be a correctly hashed certificate directory.2 o4 m/ m# ]0 s; c9 x' m6 F
  1910. ; Most users should not specify a value for this directive as PHP will% f  K. W! F5 e, q8 p1 j7 b
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ' A: F- X  R, z# ^
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    - A8 Z: c8 m& n/ U4 V
  1913. ; SSL stream context option.
    ' R$ b; }) ~* x
  1914. ;openssl.capath=: j. W9 b2 b7 j3 [7 }( e1 B! N! F1 ~) M

  1915. 2 L& R+ e8 t9 k# o* D' y7 ]/ Q
  1916. ; Local Variables:
    ' p( k* G! b2 u9 r6 N& e
  1917. ; tab-width: 4' E/ W, O8 C! s' y4 f
  1918. ; End:/ u" V2 j/ n) C5 s& `

  1919. : C& x& E" W) c. M, Y! A
  1920. ;eaccelerator6 Z& o8 D+ [5 A

  1921. 5 B% ~. V, U9 k* G& }7 i; @; a5 H
  1922. ;ionCube
    * |- q0 b7 K, J2 G
  1923. - }5 t8 q5 t9 w' |$ @7 ^
  1924. ;opcache7 d  {0 h$ L( `; a! X

  1925. 2 ]7 B4 u* D' d6 h: p/ M
  1926. [Zend ZendGuard Loader]
    9 m& N6 [8 x9 ]9 P
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    : x+ ~" r2 _9 F/ B  F2 t( c9 \
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    : y1 Q8 p- I, Y) Q* K. Y
  1929. ;zend_loader.enable=1
    ) n/ e; M/ e9 b, x) |6 Q' q
  1930. ;zend_loader.disable_licensing=0, }6 F# Q( m% W! I* q
  1931. ;zend_loader.obfuscation_level_support=3
    ! M' Z2 e9 M+ ~
  1932. ;zend_loader.license_path=4 V$ f8 N( \/ A, T4 \6 J

  1933. 9 ?. `4 t% S5 G3 T! Q
  1934. ;xcache0 h" s: {% M- ?6 j' |* {; Q" u
  1935. 8 r  D* K# i1 V7 V! k/ w
复制代码

# U: v* |5 }$ L0 ?7 J
" ^, `; a% {$ P2 x$ Y- `
( Q# a  D0 J+ {& F: K* P& z/ g% I0 v0 `" M

2 v1 |3 z+ m" Y' v0 p1 q; f3 k1 ~. t( q) Q3 m
2 W, V. U" \' T( t" B. G
PHP5.6版本原始设置. v2 Q- o% G$ [# w/ l
& ]% O  y) \4 k! m
  1. [PHP]  [7 t( x/ K  P: v; v, m! u
  2. $ u7 h7 x  m- F, i4 n% A
  3. ;;;;;;;;;;;;;;;;;;;
    7 j6 l4 S2 C% M, Z& c( ^- |- ?
  4. ; About php.ini   ;  r, n/ q- k( _
  5. ;;;;;;;;;;;;;;;;;;;' e9 Z$ a& G  s# V* N* T
  6. ; PHP's initialization file, generally called php.ini, is responsible for) a" `4 m4 z* @& r5 Q
  7. ; configuring many of the aspects of PHP's behavior.
    3 j) ^( I) e/ ], Q  k3 V9 |* u
  8. 8 ]3 S' k" W, Y# ^
  9. ; PHP attempts to find and load this configuration from a number of locations.6 g3 n: ]. r3 b6 u
  10. ; The following is a summary of its search order:
    8 s6 r2 b. v: l. Z; z
  11. ; 1. SAPI module specific location.
    & H( k6 W( S2 `  G2 y# i) ~# e" p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 z4 G# E) n7 f4 n) k+ n+ j
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)! I: B7 N. l- y+ V: ?4 t* g( s
  14. ; 4. Current working directory (except CLI)1 T& \* @  x) d: d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP) y4 h7 m1 ^. H4 ~5 I
  16. ; (otherwise in Windows)
    . K- K1 y! C1 L& _, H% }% n; `& F
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 H+ p! l. }9 Y. _8 x
  18. ; Windows directory (C:\windows or C:\winnt)& y" f9 P% f* ]8 p# b7 b
  19. ; See the PHP docs for more specific information.  |7 H" C$ \% o" f1 c5 F9 n" b
  20. ; http://php.net/configuration.file
    ! ^5 f7 ], f0 N  n$ \; n
  21. 3 b* P3 v$ L7 O4 K
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    9 d2 I% n1 m. ]7 t& S; v; V
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
      V- A: M" A0 O9 H# M- M
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# h- {/ I: ~$ f1 |6 [& W/ j
  25. ; they might mean something in the future." q& {2 A/ I1 S. o+ o3 W4 @/ U

  26. 1 ?2 E" S% @7 [3 I$ m% {
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! {  S3 o! o( |8 t( G7 l
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    * B' X3 b9 \+ i2 J+ \1 T5 u) i
  29. ; following the section heading [HOST=www.example.com] only apply to, T4 D. ]" A* s+ s1 R# b
  30. ; PHP files served from www.example.com.  Directives set in these
    ( j! i3 {4 z4 R1 a9 G% H. H; L
  31. ; special sections cannot be overridden by user-defined INI files or$ A5 m$ X7 M+ M; i
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 s5 I6 s2 z# V0 A2 c
  33. ; CGI/FastCGI.- S: y; R" s% q& t8 s# \
  34. ; http://php.net/ini.sections
    8 B7 z$ h# J8 `- k! d4 D; T

  35. : }' t' `- {6 @
  36. ; Directives are specified using the following syntax:7 @' G# D2 j: R
  37. ; directive = value! C; S$ d8 Z) b+ ~; @* I3 W. F0 t2 O
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar./ t" t4 R4 `2 l- y; S  Q
  39. ; Directives are variables used to configure PHP or PHP extensions., |# ^6 N$ Y4 J3 I
  40. ; There is no name validation.  If PHP can't find an expected/ ]% t+ ~1 U! ~- J
  41. ; directive because it is not set or is mistyped, a default value will be used.
    8 D9 _2 `) x$ q
  42. + B# |1 T. O5 j7 n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' S, \) N8 }$ L0 |. W2 b& e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" v' ]1 z1 w5 g- A" B
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % L3 f7 [, x4 g
  46. ; previously set variable or directive (e.g. ${foo})) J9 h+ I1 k% y3 J6 E; W

  47. 1 n0 b) K3 Q6 _+ F
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # m: V8 {# r4 C( w3 k. ?( e) d5 `
  49. ; |  bitwise OR( C0 n0 D/ K  o! `
  50. ; ^  bitwise XOR2 k, a, w7 M% T8 [6 {) W0 }
  51. ; &  bitwise AND) t* F, N6 M" ^' z0 L
  52. ; ~  bitwise NOT. D& @+ [  ^1 I1 s4 \
  53. ; !  boolean NOT
    . L9 N# ]& ?. L; i# k- A* N. y$ D
  54. - d( A9 J1 E0 \: M' m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 V: r, P1 n/ z
  56. ; They can be turned off using the values 0, Off, False or No.
    0 p9 E' w% }0 Z  o) \& x
  57. , |4 v4 \: ]# l; V) o  q
  58. ; An empty string can be denoted by simply not writing anything after the equal9 X( [; z  ^" E' }$ ]3 Q) v: p
  59. ; sign, or by using the None keyword:7 W- g( H1 E  ?9 A4 k( |
  60. 8 [  ^# f! |( f! ]
  61. ;  foo =         ; sets foo to an empty string
    7 I/ Z' R' J1 u+ y+ p$ g  }6 q
  62. ;  foo = None    ; sets foo to an empty string
    1 D: n9 P; m& I/ q( R  ^) T! k
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ' P& H9 x4 ^3 Q& Z+ c8 Q, }
  64.   \3 B, Z! H  Y# J8 i
  65. ; If you use constants in your value, and these constants belong to a2 b: E' X( a) v$ n" A# K. `
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 c+ H. U' ]! B$ j& c) \
  67. ; you may only use these constants *after* the line that loads the extension.' H# y- D- a  k4 s( G# g
  68. ; u8 l" d: {: p2 w0 t5 t6 V2 g
  69. ;;;;;;;;;;;;;;;;;;;  n4 s) s8 C9 B; f( X0 ]! j
  70. ; About this file ;
    , |8 V8 q) s. S: z7 Q3 J
  71. ;;;;;;;;;;;;;;;;;;;4 L$ q+ V( l. z
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! t; s* d9 e  |+ c" V: x4 t
  73. ; in production environments and one that is recommended to be used in/ [6 y  ^) N# [7 j1 H
  74. ; development environments.
    7 S2 S. r& \) }$ K% f- e
  75. 8 f, k' V1 ]1 I0 [/ _3 N1 E$ U
  76. ; php.ini-production contains settings which hold security, performance and
    - L: L' k+ b8 H
  77. ; best practices at its core. But please be aware, these settings may break- B5 ~0 O6 Y" m; q; x9 S
  78. ; compatibility with older or less security conscience applications. We
    5 ^- c" E+ B0 x. J
  79. ; recommending using the production ini in production and testing environments.; a' ]+ G: |( _; o3 s, A' Q/ A
  80. 2 \# v7 S" R1 K# f3 y
  81. ; php.ini-development is very similar to its production variant, except it is) M; v3 k" q! a$ K
  82. ; much more verbose when it comes to errors. We recommend using the
    ) q8 f. Q: v4 [- l" a, N* ]) O
  83. ; development version only in development environments, as errors shown to) z' ?. }0 r6 Y% z5 p- F
  84. ; application users can inadvertently leak otherwise secure information.
    5 }  O$ \6 n( |  Y0 |7 ?
  85. : ^2 G& ^1 M7 N8 l/ S  q' Q
  86. ; This is php.ini-production INI file.
    , Y& u3 s% k+ m: l) n3 b
  87. ! G6 X5 C7 y) o1 \6 {" O; B
  88. ;;;;;;;;;;;;;;;;;;;$ A& y* n  y: S* {6 H
  89. ; Quick Reference ;7 D$ d+ A# s! J
  90. ;;;;;;;;;;;;;;;;;;;/ S# i1 g( [+ V/ d7 U
  91. ; The following are all the settings which are different in either the production* z+ |  G2 w) Z! H5 y6 v) z* h, o
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - _* f1 b3 U4 C) F& o" c2 T
  93. ; Please see the actual settings later in the document for more details as to why
    ! z% M1 z5 f5 L& ?
  94. ; we recommend these changes in PHP's behavior.0 Q0 }8 h2 W$ V6 w

  95. 5 W! [% w7 u% C  c% ]4 `9 E7 [( P
  96. ; display_errors! [# k# X0 S+ D# A
  97. ;   Default Value: On
      b# m  e7 r. f9 M
  98. ;   Development Value: On
    , W7 J7 t( Q8 h* q9 F: @
  99. ;   Production Value: Off
    - \4 T1 P5 O4 P  W
  100. 0 L* r8 f. n9 e! |% o3 z' B% |
  101. ; display_startup_errors
    5 m" U8 j/ A! b! Z% {) M# |7 Y3 I
  102. ;   Default Value: Off, r/ Y5 o& a  Q9 ^+ A6 ]6 y
  103. ;   Development Value: On
    4 z" E' l3 l% B  e& t$ z
  104. ;   Production Value: Off8 Z/ w$ ^7 D% W+ @% S! T3 e
  105. ! ?$ {9 n( j7 R+ W  Y& {1 D
  106. ; error_reporting
    # o2 F" }" N  p5 c1 v0 U: r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 D5 ~6 p7 V8 R7 O
  108. ;   Development Value: E_ALL: Y* ~# {8 l8 u& ^+ y+ b% O& ]
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 m2 P6 l2 d5 W( R6 Y5 ]+ ?
  110. 4 z( q4 O8 E5 {! B. M. Y  J
  111. ; html_errors
    $ p# m# X3 v. |" r2 a- [, f% r' F
  112. ;   Default Value: On0 I; E# e' M2 e; \/ r0 L- Y! q
  113. ;   Development Value: On
    & H, i3 g, N% J2 N3 i/ I+ I
  114. ;   Production value: On
    , P2 ?% j0 E# E' `: H* `

  115. ' S/ z! t% _) x
  116. ; log_errors
    6 u' S2 X2 d2 z5 p7 v' L4 D8 f
  117. ;   Default Value: Off
    % V! K; E  B; ^9 o8 Z" u* U
  118. ;   Development Value: On9 J3 r7 }* }0 q3 t8 b
  119. ;   Production Value: On
    ! O* p- [9 b- ]( e: y8 R

  120. ( m3 {5 R$ J5 ~
  121. ; max_input_time
    9 p# @: t0 p* ]9 x
  122. ;   Default Value: -1 (Unlimited)
    8 K" L( \, A% {6 f0 U% _  _0 I
  123. ;   Development Value: 60 (60 seconds)
    4 P& F- ^- u- p0 J. o4 l
  124. ;   Production Value: 60 (60 seconds)
    ; B: o2 T% b2 H( [4 C7 f

  125. : C2 p, T  C# _4 x+ J0 B/ X
  126. ; output_buffering. A1 X5 K6 D% ~# {9 U- y% b
  127. ;   Default Value: Off; J+ [$ |2 [1 a: D( V& c' g
  128. ;   Development Value: 4096
    0 R4 V5 Y/ E3 T- S9 M8 K8 X
  129. ;   Production Value: 4096
    + G" v, W: Z! K
  130. 2 M+ i0 S/ ?7 Y3 w7 D( A
  131. ; register_argc_argv
    ' R: n9 K* U; n" b% v$ W8 V
  132. ;   Default Value: On
    6 v+ k0 H8 i9 Q- Y# x5 Y
  133. ;   Development Value: Off
    - W  O! W( Y% p4 T8 @% o
  134. ;   Production Value: Off
    2 Z! M, G6 @2 Y! N' Z9 u- w- i6 L
  135. : W" p1 `7 R& H0 o2 E
  136. ; request_order+ ?7 h& U$ m" G& k
  137. ;   Default Value: None; K) D/ {" G$ S9 m) p$ t; S
  138. ;   Development Value: "GP"
    8 ^, j" s% U* w% }+ B
  139. ;   Production Value: "GP"
    " G4 T* l3 Y8 O' b2 a

  140. / E: Q. t8 e2 G. C, O4 ]2 o
  141. ; session.gc_divisor
    4 a6 `' v" T& Y/ d! p; [
  142. ;   Default Value: 100
    ; L8 q# {+ q& H5 m/ {
  143. ;   Development Value: 1000
    1 \5 ?+ n7 e- D- e9 S
  144. ;   Production Value: 1000
    - Q$ @! `: G4 h/ V2 ?- f% R0 f; T; B: X

  145. : m- L( X/ o! A' x3 [2 f4 J* V
  146. ; session.hash_bits_per_character$ t% G) u5 W- r9 [/ ?9 x/ u
  147. ;   Default Value: 4
      U4 T) ~* x6 M
  148. ;   Development Value: 5) _9 J; Y" I7 V0 A" [' r
  149. ;   Production Value: 57 n) y1 x$ G8 r
  150. ( ]6 d; a2 v3 {
  151. ; short_open_tag. r2 ?2 A$ ]7 ~0 q( |
  152. ;   Default Value: On# v0 v1 `( v' Y" `7 n
  153. ;   Development Value: Off# M9 ], b; ]) G% D2 [! q7 T; z
  154. ;   Production Value: Off0 ]) M; l; @' E$ f

  155. . P0 A% i' r1 k- |6 }: W& m
  156. ; track_errors
    , _4 @2 \, v  J& Q9 C  p% s" M
  157. ;   Default Value: Off
    ' u1 A% I2 M8 P; X4 Y( T
  158. ;   Development Value: On+ N' V1 }$ s+ ~& Y7 z
  159. ;   Production Value: Off0 y! N4 R! u" ^# [! b" _$ v

  160. - q; e' R5 g* J3 s
  161. ; url_rewriter.tags; o7 x" Q8 L9 Q+ E: g* _9 a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": ^* ~" D7 b: q, k6 C, V$ @$ g
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 j' r' H% @; w! K7 s: H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! v7 {/ L: A: T) D; S

  165. " ~6 O9 i$ [8 k% K+ K- y& n' T
  166. ; variables_order
    / j, G# C2 M4 i  t$ ]5 w& b, ~
  167. ;   Default Value: "EGPCS"& N) O, G4 [* E  @# h  D2 p
  168. ;   Development Value: "GPCS"! f7 Z) F. Y: ~( f, t% a" J: p+ Q0 h
  169. ;   Production Value: "GPCS"( B; H2 C# m# K2 B1 I' E
  170. 6 s2 B# c! e" h# X5 x( l( D
  171. ;;;;;;;;;;;;;;;;;;;;  P; O" @* ?1 p1 Z8 z6 w$ [' V4 m
  172. ; php.ini Options  ;
    ( V0 o& U) O/ U0 m
  173. ;;;;;;;;;;;;;;;;;;;;
    # u2 J8 g* W! `0 C: ?, e
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"* O- {9 I( J; x9 j
  175. ;user_ini.filename = ".user.ini"
    8 \% v3 g; b" ~* }! e

  176. 4 C+ k) u% h* i3 ]9 A, @% s) C% U9 J
  177. ; To disable this feature set this option to empty value# v, `) n/ N; Z& @% F
  178. ;user_ini.filename =) ]. `2 H! F& U! ^
  179. ; {: W. O3 f* Z2 @4 l
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    7 `- B5 I( Z1 B( m& ^2 U
  181. ;user_ini.cache_ttl = 300
    : R2 s/ N" n2 [& _$ r6 A: T  j

  182. 3 B2 B1 C; o! p! T9 W! J7 k5 }
  183. ;;;;;;;;;;;;;;;;;;;;
    7 N" O, v/ F" O) H- D
  184. ; Language Options ;
    / L7 v1 A) e$ C' v5 O0 e9 K. g/ D
  185. ;;;;;;;;;;;;;;;;;;;;
    / a/ {3 `% M$ u+ X" ^) G: m% R

  186. 1 U. g' T& U# J
  187. ; Enable the PHP scripting language engine under Apache.
    7 T7 G/ X7 a( _) |
  188. ; http://php.net/engine
    ) n. N1 v5 p$ w) I7 Q7 d
  189. engine = On
    0 n9 L6 M* [2 u1 |
  190. 3 @' J  `, q% U: h6 X: s
  191. ; This directive determines whether or not PHP will recognize code between
    7 M. Y  A! y. t: a
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 H9 h" O% Y( o. q- O! Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * C" }/ p3 h1 w- D5 M
  194. ; should be disabled, as enabling it may result in issues when generating XML+ D7 K1 f2 o4 X
  195. ; documents, however this remains supported for backward compatibility reasons.+ K! e  z0 {' J) z  t
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    $ ~( |, O* }9 Y
  197. ; used regardless of this directive.
    . C5 d# [/ r6 V2 V8 }# @
  198. ; Default Value: On
    7 |/ I, t! L) S( L- g4 L' ^
  199. ; Development Value: Off+ S4 D! t* l2 \0 _  k* a6 r
  200. ; Production Value: Off( p- t/ N" X' V& Y6 Q6 F
  201. ; http://php.net/short-open-tag- M& {) i% A& ~# `" }. F
  202. short_open_tag = On! i4 Q/ O2 G# f$ H$ t- x

  203. & X5 g; c* p- _0 ?8 }9 z) K7 f
  204. ; Allow ASP-style <% %> tags.
    / x4 h. k: d; c) _  A1 W* s
  205. ; http://php.net/asp-tags! [" O! }* Z2 w1 |
  206. asp_tags = Off
    $ j# ?) a! ^* Y0 B, W/ @
  207. % w, E/ v' J# j) V6 h) u
  208. ; The number of significant digits displayed in floating point numbers.; j* u- ^8 R' q) o: h% g
  209. ; http://php.net/precision" z5 E) K- r# m
  210. precision = 14
    " {% f. z; A& z
  211. 9 U- h) `: H9 A' n, l
  212. ; Output buffering is a mechanism for controlling how much output data# Y1 [) E9 A/ U# l% s- k* k6 k
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : P, V2 L& F7 ^$ r! W
  214. ; data to the client. If your application's output exceeds this setting, PHP
    & `* \' s+ y/ Q& C# D
  215. ; will send that data in chunks of roughly the size you specify.$ R0 B: Z0 H/ ?1 E( D* B
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ! @/ Y8 N1 d/ R2 i1 P% @
  217. ; interesting side-effects depending on your application and web server.
    0 D7 j' m: q: }# r
  218. ; You may be able to send headers and cookies after you've already sent output
    ' P. R" ]+ {' }9 g
  219. ; through print or echo. You also may see performance benefits if your server is+ d, [  x, u/ P9 B% D7 q
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ( \) k5 D$ V8 t# f# w# D
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 t# @! l4 P0 X  [1 r
  222. ; reasons.9 }" G9 S$ x9 x6 Y, p# }( Q
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    / ?4 X4 G0 e8 m2 q: |9 W
  224. ;   functions.* m" V! `+ k! S: n% c% M
  225. ; Possible Values:
    & d' w( P0 t. v& |) T3 R5 j  A* r0 j
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    - `- V" A- {) W' q2 i+ a- R
  227. ;   Off = Disabled
    . e1 h' i% `! f1 g1 R( t
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( ?. I0 t) ~  s
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 N1 @) \% i2 f& o" R! B
  230. ; Default Value: Off
    + T2 a0 Y" Y1 v5 l" z4 h5 j1 I
  231. ; Development Value: 40962 W- c8 f7 f2 o9 J& C+ |: H
  232. ; Production Value: 4096
    % y% M5 a0 {3 I: b) x
  233. ; http://php.net/output-buffering
    ; t1 F/ l# |& m4 l% O* s( R
  234. output_buffering = 4096
    # ?' d- l6 R3 |% f' b
  235. 6 s- r1 S4 j; C0 N# Y( }. v
  236. ; You can redirect all of the output of your scripts to a function.  For/ ]/ ~: |5 K2 y4 p- k  Z6 v7 A
  237. ; example, if you set output_handler to "mb_output_handler", character) m8 \" P, O# S4 K; i
  238. ; encoding will be transparently converted to the specified encoding.$ A5 b& f$ G9 P9 m5 G3 [8 \
  239. ; Setting any output handler automatically turns on output buffering.
    9 l7 M/ H' Q) P" j0 [
  240. ; Note: People who wrote portable scripts should not depend on this ini
      C% P- h6 M3 ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; M" H4 A8 D5 n1 ?7 V
  242. ;   Using this ini directive may cause problems unless you know what script
    ! \" V, d+ e1 q$ t5 ?& T( A$ P
  243. ;   is doing.
    ( x* f; [0 p/ m1 [
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"4 O- |! ~; |" e: P6 p4 P' J
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    0 N" D3 R' u: K1 ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!6 ^* X7 S& M( I" i# P
  247. ;   Instead you must use zlib.output_handler.( N5 f( T3 @: G
  248. ; http://php.net/output-handler
    3 z: m- V  R5 X5 q
  249. ;output_handler =3 T4 D! ^) P; j" w* E/ c

  250. # U7 v% x7 Z$ g- R8 r' {) E2 a" r
  251. ; Transparent output compression using the zlib library
    9 ]7 i: a- {/ ~
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % [/ Q" ?; z1 \) n2 s
  253. ; to be used for compression (default is 4KB)  F2 G# |4 F# G$ q% L7 A7 [) V
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & F: Z8 d) ]- `  \( r
  255. ;   outputs chunks that are few hundreds bytes each as a result of0 O: D! f3 I; W
  256. ;   compression. If you prefer a larger chunk size for better
    5 C& |' i2 z2 \6 f* M4 G
  257. ;   performance, enable output_buffering in addition.0 a& M0 F" R  C5 S; U+ I; G2 S
  258. ; Note: You need to use zlib.output_handler instead of the standard
    / i! \6 r- }4 B0 g3 @0 [" i
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 w6 V# W/ i  d# P/ O( U1 ^
  260. ; http://php.net/zlib.output-compression$ Y1 @9 ?0 h+ [
  261. zlib.output_compression = Off1 }7 F5 g, O8 P5 Z  s$ j% p' b8 C1 k
  262. ; v3 t3 M: d0 M" i
  263. ; http://php.net/zlib.output-compression-level# T# J- ~* \+ T# C& {) y" ^
  264. ;zlib.output_compression_level = -1- {0 _; U& K+ a& o2 M5 k; U

  265. + E' h/ c$ W( Z; r" o1 }! i
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 ?& ~9 t. ~9 H4 \; h. W3 m  }2 j
  267. ; is activated here. This setting does the same as output_handler but in) Q3 J+ y2 r& O* w/ O
  268. ; a different order.
    5 {# h- c3 M; H6 Y6 P% j
  269. ; http://php.net/zlib.output-handler0 m+ Z9 y4 a) x% d# u
  270. ;zlib.output_handler =6 h6 K3 V3 E2 K, C# I$ I

  271. 8 i! `" M9 `3 O+ ]- J
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    4 E7 K; A  g$ a' y! c8 p$ ^
  273. ; automatically after every output block.  This is equivalent to calling the
    ! Y. t4 P% d$ E9 p, c* l
  274. ; PHP function flush() after each and every call to print() or echo() and each: o, V5 `) S% n+ I' y1 U
  275. ; and every HTML block.  Turning this option on has serious performance
    + \0 J# Q5 K/ M1 k! h5 _4 V- b7 P' l
  276. ; implications and is generally recommended for debugging purposes only.
    5 [, b9 _4 h3 R' V
  277. ; http://php.net/implicit-flush
    $ y% o; D7 ]4 ~* ?1 l3 U
  278. ; Note: This directive is hardcoded to On for the CLI SAPI* r' D' @% y5 ?/ f0 ~; Q' q
  279. implicit_flush = Off% n5 ]. O1 D% \' C  q( w) d% D

  280. ( j- A0 U- j' M  _' D* n, k, E
  281. ; The unserialize callback function will be called (with the undefined class'
    1 s7 B, r; a- x( g
  282. ; name as parameter), if the unserializer finds an undefined class* }5 f6 z  W6 U7 G7 l; U
  283. ; which should be instantiated. A warning appears if the specified function is1 x! R- D6 G$ n' F! m( _2 M3 J# ~: c
  284. ; not defined, or if the function doesn't include/implement the missing class.
    4 Y: n& }4 [# z5 ?  n
  285. ; So only set this entry, if you really want to implement such a, D; I" y/ I6 ]+ r2 ]
  286. ; callback-function.  M! Z! ~4 m$ C
  287. unserialize_callback_func =
    : t$ E* M0 x$ U. E' i, u

  288. 3 U2 H6 E' f2 E  C
  289. ; When floats & doubles are serialized store serialize_precision significant
    8 G' T* B/ u2 O
  290. ; digits after the floating point. The default value ensures that when floats
    ) B; @  [* a! u+ l$ J
  291. ; are decoded with unserialize, the data will remain the same.
    - u' k# E2 f$ |3 F9 A4 c
  292. serialize_precision = 17/ c) K# M, l# @; h& h- s7 C+ W

  293. ! o, `  z! Q$ E- i( q# j0 @
  294. ; open_basedir, if set, limits all file operations to the defined directory. Y+ q3 H) b0 \$ U/ b! l- P: ~
  295. ; and below.  This directive makes most sense if used in a per-directory: Z! b7 [9 c9 R& {7 Y
  296. ; or per-virtualhost web server configuration file.6 `/ w3 G% t, _) p4 Q2 }7 }
  297. ; http://php.net/open-basedir
    8 V) A& R# ]# @, F" a& a. c6 h
  298. ;open_basedir =( T3 a) a, `: [. R+ V8 y
  299. / k4 @  Q9 U: {3 R
  300. ; This directive allows you to disable certain functions for security reasons.) q1 O! P( g* w/ k7 P8 @! ~0 J6 o3 R
  301. ; It receives a comma-delimited list of function names.
    ' t' C. K8 ~) X' A: h
  302. ; http://php.net/disable-functions
    ! y' t2 l/ _: R
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 u  f) T6 G/ O( p; B7 K7 v
  304. " e3 N8 b, u2 g2 Z
  305. ; This directive allows you to disable certain classes for security reasons., l/ l  A" o* n
  306. ; It receives a comma-delimited list of class names.) G2 W$ z& x' h1 ^" j+ s7 @" i) l
  307. ; http://php.net/disable-classes9 l" @7 G/ T3 `3 |, o! a+ y
  308. disable_classes =
    / h# t, H. c* V; I. ]
  309. 8 q# U) o/ }4 B: A
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    - T8 R8 Y' Z# T. E/ e  }9 |
  311. ; <span style="color: ???????"> would work.
    . g* }, [; W4 ~
  312. ; http://php.net/syntax-highlighting# E8 ^. ~7 G: O! e
  313. ;highlight.string  = #DD0000
    1 r' ]8 {  @5 O# L3 S4 u
  314. ;highlight.comment = #FF9900: C; I) M. T6 W
  315. ;highlight.keyword = #007700  z/ p9 d; P/ P" T: ^8 {7 M0 m
  316. ;highlight.default = #0000BB/ ?+ V; A% K) h( G+ s8 j+ ]
  317. ;highlight.html    = #000000
    / X' U. S( Z" o  Q( j7 g5 a. G
  318. & `# O/ B" I, T$ p/ b4 _* R1 ]
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ' V  m, X( H; U, h* S
  320. ; the request. Consider enabling it if executing long requests, which may end up- B! X( S+ f! _
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior: ~4 `4 T/ t* c, ~
  322. ; is to disable this feature.
    7 h" y6 l- V/ I+ ?2 B8 H- ]' {5 t
  323. ; http://php.net/ignore-user-abort
    # E' [4 i; o1 w5 l
  324. ;ignore_user_abort = On9 M( \/ A3 ?6 _) u
  325. 0 k/ ^( V1 K8 k; g+ E" R
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* z6 F2 X- E( C: v
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; T% Y2 L4 ]5 ?& X7 U5 y
  328. ; the file operations performed.' s5 X1 U; d4 _# q; Q  d, P+ [8 C
  329. ; http://php.net/realpath-cache-size
    $ [* Q1 x. k/ z' s) q- Z# ?+ {( O7 G
  330. ;realpath_cache_size = 16k
    . V$ I+ g8 @! l
  331. ) Z8 T' w9 M% d, z* l- K( o9 c
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 k2 y8 a4 O7 B" W0 L
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    - z- z- I4 S8 T" ~$ Y4 T. j3 `
  334. ; value.
    2 F! Y3 W6 ~6 m$ d
  335. ; http://php.net/realpath-cache-ttl
    1 N: k+ I, X- h' u% s
  336. ;realpath_cache_ttl = 1209 i+ x9 B1 P6 J8 d
  337. & c) L& v) Q5 e' [- y
  338. ; Enables or disables the circular reference collector.9 `: ^6 E7 y) O3 a5 @7 x9 G/ X
  339. ; http://php.net/zend.enable-gc& Y. B. a& |- N
  340. zend.enable_gc = On
    + b4 |; b4 U7 m5 }! K: h4 w. p

  341. * Q& P3 W: s2 {6 i/ X
  342. ; If enabled, scripts may be written in encodings that are incompatible with' I# L5 q( X7 W1 e* D, I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such  M+ J% e' g5 {5 B
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    : Z3 O. d# h- k3 X  g  N
  345. ; Default: Off6 P. \  C. j/ u0 h
  346. ;zend.multibyte = Off
    ; b) ]6 e% n7 n: B' T. T! D6 |
  347. / L  N4 y! h; G$ N
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 Z3 K; }0 F8 E' \8 j
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.% ^) G. f: `( J+ S
  350. ; Only affects if zend.multibyte is set.
    9 x& N6 u9 x1 j
  351. ; Default: ""
    8 s7 T; c# W0 F/ b! W- d% g& _6 v) s7 v
  352. ;zend.script_encoding =
    % y3 j8 I/ I: K. g5 Z: A- {
  353. 6 b0 m3 s! F" A! E1 Z' M+ }0 F: B' R
  354. ;;;;;;;;;;;;;;;;;
    ; Q- N! Y' p+ t( I
  355. ; Miscellaneous ;; T" P0 A7 ~- n
  356. ;;;;;;;;;;;;;;;;;
    2 j$ v+ `: U. I: T; m
  357. / P, ^" e1 o& A9 ]8 Q0 @
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    * N  {4 S0 [" `5 m+ G1 H/ s) p, h
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 S0 t4 ^* P/ x2 y
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    " {5 z, ?/ _" i& O" [
  361. ; on your server or not.
    % T7 W# t7 ?+ _; h* F* K9 k
  362. ; http://php.net/expose-php
    : u6 h: Q0 Z: {" |* Z# ^
  363. expose_php = On
    9 V* K, L' f8 n7 N5 p1 V9 _- K  @/ p

  364. / T- Q, u4 ?' T9 _" l" U
  365. ;;;;;;;;;;;;;;;;;;;
    : x$ @2 _9 D3 O% k- {4 F  Z
  366. ; Resource Limits ;
    # a7 _$ u7 W1 K5 N" V
  367. ;;;;;;;;;;;;;;;;;;;
    ' H  A2 q, B3 X9 m. j8 i+ B

  368. " j" t0 d0 N( \- ~( z! o. Y
  369. ; Maximum execution time of each script, in seconds* d# X3 A, W2 ^( i. g
  370. ; http://php.net/max-execution-time) ^8 J4 f/ o- `8 g! S' p/ S: O
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI! B0 @+ P6 t0 A( M5 N
  372. max_execution_time = 300
    ) D* J5 V6 A! u6 X1 o

  373. / K' M. y4 Z. H! q- u
  374. ; Maximum amount of time each script may spend parsing request data. It's a good9 t9 F  I- ?- L' J3 I" y
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 T* T7 E! F/ x$ x- ]; ]* d
  376. ; long running scripts.
    1 @- P4 [7 [4 A: ^
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    6 e: {) B5 t8 L0 ~2 Y3 n) O9 W' |% P' p
  378. ; Default Value: -1 (Unlimited)
    . K  W: U/ ~8 d/ F, |
  379. ; Development Value: 60 (60 seconds)  m# y$ h6 d( c" f- S- @6 V
  380. ; Production Value: 60 (60 seconds)
    1 K! S& ^) D/ d4 [0 S7 X& J5 u
  381. ; http://php.net/max-input-time  t$ X/ t% e/ t; e+ t$ ^
  382. max_input_time = 60
    , P- N; o- O4 |3 C' N0 z

  383. # K9 g, r( r6 g# t8 B: ?
  384. ; Maximum input variable nesting level
    / }7 E6 s8 I0 ]0 e7 {% H( @
  385. ; http://php.net/max-input-nesting-level) q: u8 ?5 `+ w4 u
  386. ;max_input_nesting_level = 64, j" [3 A- w+ M/ [7 r

  387. / U( s6 s2 O! A) E/ m0 M
  388. ; How many GET/POST/COOKIE input variables may be accepted
    , b, h* H8 u% c
  389. ; max_input_vars = 1000! Q1 `1 S& P+ O  F9 S
  390.   j! L% V1 G, S0 C' e/ O: @
  391. ; Maximum amount of memory a script may consume (128MB)
    , X+ C2 H0 I, F# e# G. |! q! D% J# T! I
  392. ; http://php.net/memory-limit1 v  @4 s* s% O- m# j) v- S9 I" v
  393. memory_limit = 128M9 i% g2 w; k/ J8 n- i* U2 c

  394. # j( O% }" g4 f. E) ~
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 L! n% _7 i, H4 B1 e6 h
  396. ; Error handling and logging ;
    ) k/ ~7 V2 }: k6 M9 [
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. T5 I5 Y2 ?) }! S/ b: P

  398.   {, }' }" ?+ D6 O1 H
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    / P: M/ |- p+ Z5 g4 I9 u
  400. ; it to take action for. The recommended way of setting values for this
    4 k# y" o: w) Y; K
  401. ; directive is through the use of the error level constants and bitwise
    & T' f8 x7 M3 u+ `7 U* m) B
  402. ; operators. The error level constants are below here for convenience as well as
    9 N  Y7 J: |3 y1 k3 \
  403. ; some common settings and their meanings.
    # r  ^; d. w% u7 z' y4 s+ [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 |; U$ [) C8 \
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 }) h, @2 o( y! f  ~9 c
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 Z* k: S) Y( a+ O- s  E5 ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 e- z9 y/ r2 L# \
  408. ; resources complaining about best practices and coding standards. That's what3 h3 b2 H" h7 }
  409. ; development servers and development settings are for.1 S+ U: o# a( A, h: b6 V4 W4 P; s
  410. ; Note: The php.ini-development file has this setting as E_ALL. This* W4 D; F! o; a6 M: m: M2 b
  411. ; means it pretty much reports everything which is exactly what you want during
    1 @# c5 [, g7 `) w6 C; C7 |
  412. ; development and early testing.' O  r9 a9 H6 K4 F) ]1 N1 K
  413. ;8 Q: W8 I. f4 w1 B* C
  414. ; Error Level Constants:6 F/ Z! c( U' u% U+ [1 O( Z) J
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 L' m# I" v- t9 C
  416. ; E_ERROR           - fatal run-time errors
    ' L7 m/ D- {$ T9 `: D# h
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 e1 T' f2 s/ r! c! E
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    8 A, N2 s! T: h" Y2 M: m% k
  419. ; E_PARSE           - compile-time parse errors( N3 [  M( n8 s* h7 x4 b+ h
  420. ; E_NOTICE          - run-time notices (these are warnings which often result. j, @! n3 G* O% M" v: O
  421. ;                     from a bug in your code, but it's possible that it was/ ]8 i" T4 I! V) |; }4 Y. T
  422. ;                     intentional (e.g., using an uninitialized variable and1 H6 c8 h8 R$ ^. ?. e2 [
  423. ;                     relying on the fact it is automatically initialized to an/ G6 {9 I5 B+ D& {7 ^
  424. ;                     empty string)
    # p2 K+ o2 I& J8 T
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    8 \# g1 H4 H* Q# i. E0 X3 k& z
  426. ;                     to your code which will ensure the best interoperability6 @' f* ]$ J+ K2 x. s
  427. ;                     and forward compatibility of your code2 e; p  ~% ~3 ?- c8 k
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup; P. @- i( ?; W2 a. w
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 N2 Y$ C+ w, X; |
  430. ;                     initial startup+ b& f3 q3 ]) H/ u! {
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 y6 V- N. l7 P! H. d7 \3 B
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 p8 p1 `0 q0 N% k
  433. ; E_USER_ERROR      - user-generated error message' ?9 P3 h3 P+ V. B  u
  434. ; E_USER_WARNING    - user-generated warning message6 T/ p  c; b5 [* d( U  U
  435. ; E_USER_NOTICE     - user-generated notice message
    ' E1 [- Y/ N3 `4 B+ \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions" C9 R' e; R% [' r
  437. ;                     of PHP* M$ V/ S8 B& U! f6 }
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings, A$ O* i1 I. o4 L
  439. ;
    ! T6 z- d) V* P5 g: X& K9 T
  440. ; Common Values:- k; u# `, [7 t! q8 O
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " k% W6 G; K' ?! M, s. V( T6 r0 h
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 |% Z6 T% u7 u" O2 g
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) g+ v; ?9 G. B
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)) M/ i" z# t- A, B9 `# Q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' M$ r" R; x6 c  P8 k0 X( g
  446. ; Development Value: E_ALL# M9 @( D" o6 Z% ^" R
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* u/ B" T+ w# c7 P5 L1 H
  448. ; http://php.net/error-reporting
    4 i3 V$ n& H' v" a
  449. error_reporting = E_ALL & ~E_NOTICE
    9 P" l& g5 f2 s* A" b' b6 u6 U

  450. 8 ?, n! m$ Q1 O
  451. ; This directive controls whether or not and where PHP will output errors,+ |  g0 S* B# }! O" {
  452. ; notices and warnings too. Error output is very useful during development, but
    ' L* ~8 ?& e9 X, F& l
  453. ; it could be very dangerous in production environments. Depending on the code
      i0 J3 Z. N* S6 ~* Q
  454. ; which is triggering the error, sensitive information could potentially leak( j6 h8 W' d( j% y7 i
  455. ; out of your application such as database usernames and passwords or worse.8 m: v/ }0 B& ]! k% R, ^9 D. X
  456. ; For production environments, we recommend logging errors rather than
    : n& L  L+ u+ p! q1 h" q. S8 D4 x" u3 w; b
  457. ; sending them to STDOUT.- x2 C9 T& l- L: I, L) k
  458. ; Possible Values:
    % A# R. D# z- u  e. b! @
  459. ;   Off = Do not display any errors
    ( m' z; ^, b) k* m" m+ D
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)4 K9 z6 [0 }' u; e( C7 J4 |5 A5 e
  461. ;   On or stdout = Display errors to STDOUT+ t* U! ~% j# z  P/ m+ A5 V" |
  462. ; Default Value: On
    " ~) a3 a/ u( W- Z" u8 K7 B2 m3 x+ p# u
  463. ; Development Value: On
    6 y/ W8 q& b( P$ d% P
  464. ; Production Value: Off
    9 I0 ~6 w" j5 R# i* Y0 H9 n$ b9 I
  465. ; http://php.net/display-errors9 t- e$ g, }/ Q9 K+ {
  466. display_errors = On/ O! a6 C9 X3 n% S* M, [1 }

  467. 6 H, R( P% s& G* s2 e+ W
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ( w, U4 J( n# U3 z& _- p
  469. ; separately from display_errors. PHP's default behavior is to suppress those$ x# @& J% d1 B& L# }& W. ?0 k
  470. ; errors from clients. Turning the display of startup errors on can be useful in1 M. X5 D& c7 r, I+ x7 @4 E
  471. ; debugging configuration problems. We strongly recommend you% D6 x! j2 D% _+ i1 K& v- s7 @, K
  472. ; set this to 'off' for production servers.
    " @# r9 D4 g* q5 |3 F) A  H
  473. ; Default Value: Off) X: g* [4 V% Z6 Z! I( k. D" N
  474. ; Development Value: On1 v6 ]7 Z$ B( `' d7 P" T7 R* y! a
  475. ; Production Value: Off" {  C# B$ d# K  @& F- N1 M
  476. ; http://php.net/display-startup-errors
    * J5 M" E& {& o6 E8 n
  477. display_startup_errors = Off
    * h$ A* o4 s: R! I. ^
  478. 1 e+ Y# h4 c; {1 H
  479. ; Besides displaying errors, PHP can also log errors to locations such as a1 m. ^" S4 S8 ?% M/ L+ n
  480. ; server-specific log, STDERR, or a location specified by the error_log& W$ }6 z1 z, k" @8 I* d
  481. ; directive found below. While errors should not be displayed on productions
    0 U+ [6 I  N2 ]  B, q" a
  482. ; servers they should still be monitored and logging is a great way to do that.# B7 T- K) ]5 t
  483. ; Default Value: Off
    ; L0 s& q7 q3 |, L6 N/ ?4 {7 p
  484. ; Development Value: On- R0 h2 C* m! p2 |' F0 d; R
  485. ; Production Value: On
    , o: \) x3 N7 Y% J# H
  486. ; http://php.net/log-errors
    % G# E4 {( ^3 q! b, n
  487. log_errors = On+ r- b4 M3 F7 r7 \! j, ]

  488. * I; [& D! |( E* B% G( z
  489. ; Set maximum length of log_errors. In error_log information about the source is
    + }/ m  B- b& Z# Y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.: k/ |  S% O0 Y
  491. ; http://php.net/log-errors-max-len
    : y7 u# D8 g1 f+ F/ j' ?- {/ |' m2 ^
  492. log_errors_max_len = 1024
    ; U# X; F" G8 E' S/ O
  493. 9 V: D" q: W  U9 F. E& b7 X1 k/ Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / g# W/ `9 [6 \6 i5 b5 D& U
  495. ; line unless ignore_repeated_source is set true.
    ' `% K: q" o5 t. |& \
  496. ; http://php.net/ignore-repeated-errors0 @& Y3 c  X  t5 I% ~7 z
  497. ignore_repeated_errors = Off$ @3 Y: C9 x+ ^/ b& n& l9 z

  498. 3 C/ M6 [7 m$ B7 L2 b3 X6 W
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    8 f2 o) M6 c! g1 A% a$ l
  500. ; is On you will not log errors with repeated messages from different files or! F  u, @2 R, _  G
  501. ; source lines.
    2 G) Y. y' U5 O/ Y/ T1 [4 `
  502. ; http://php.net/ignore-repeated-source
    % D$ v% `3 g3 M  o
  503. ignore_repeated_source = Off
    ; r  y; d  @/ u; X

  504. " t+ c& k- t' E
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on5 B  O% w: I! i3 {: l- E8 }2 Y
  506. ; stdout or in the log). This has only effect in a debug compile, and if/ [2 v8 \; p1 s0 K
  507. ; error reporting includes E_WARNING in the allowed list
    $ D6 D: S# `$ B3 A+ \* u# E
  508. ; http://php.net/report-memleaks4 n6 J/ ], A# X" E
  509. report_memleaks = On
    , f, `  b8 m: m) m" s0 v% n
  510. % p! N$ W) i2 q4 ~8 `
  511. ; This setting is on by default./ i: W& A4 x- d0 h$ f
  512. ;report_zend_debug = 0
    9 W0 c! M1 O! g

  513. ; \2 v3 S9 \2 \; I
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    / ]. ?+ c: R& w4 g3 z
  515. ; to On can assist in debugging and is appropriate for development servers. It should, n( u+ q: J, e
  516. ; however be disabled on production servers., j5 ?9 p3 T# E7 B8 j* A
  517. ; Default Value: Off8 Q+ J& R& y  p' p
  518. ; Development Value: On
    1 d: F8 T3 B0 D8 B! y- X
  519. ; Production Value: Off$ m- x" ]) J! M! n
  520. ; http://php.net/track-errors
    3 a- w; `" e) l1 ?; O
  521. track_errors = Off# o  D; w' t1 G2 z
  522. : R; f) R. G# L/ B, n
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    0 o7 {. p# ]' R1 T% j3 [0 q4 c
  524. ; http://php.net/xmlrpc-errors1 {. o" M( z0 c2 q- l% a7 n( h
  525. ;xmlrpc_errors = 0
    2 f* o! g6 O5 g8 L
  526. ( i) c7 d) R% ~. T- ^5 D& y$ y
  527. ; An XML-RPC faultCode
    4 h6 E; W8 u7 C- ^0 k& l$ `/ n
  528. ;xmlrpc_error_number = 0
      I9 Q( }4 O! J% n+ b3 z

  529. 6 Y+ M% j( F0 X: b
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    5 Z) o+ i  w; ^1 ?7 Y, R: W  ^/ A
  531. ; error message as HTML for easier reading. This directive controls whether' \" ?" s& b7 P8 \) B/ o3 V! {, P  `: c
  532. ; the error message is formatted as HTML or not." z* I. {5 m5 q: I5 ^
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI  U4 U% n/ @3 U6 l5 N6 a
  534. ; Default Value: On
    : G+ m( t% ^( C8 j7 ~
  535. ; Development Value: On
    3 }" \5 ]1 R* f( _* G2 H7 ~9 O
  536. ; Production value: On" n' v3 T$ J" j" M; m) Z3 l3 o0 ?
  537. ; http://php.net/html-errors
    6 D! C4 S8 E! E# Z+ |
  538. html_errors = On0 S" V+ ]0 d9 ~7 B% `# u
  539. / p8 {1 W* @7 D8 p4 p% u' X: \) X
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP' v. t( E) q" g% H; H
  541. ; produces clickable error messages that direct to a page describing the error
    $ T6 Q3 J- d& a1 }% D* }
  542. ; or function causing the error in detail.' k2 h, |0 i; n3 o1 S( j/ h
  543. ; You can download a copy of the PHP manual from http://php.net/docs: c5 M% h3 l# q+ V4 R
  544. ; and change docref_root to the base URL of your local copy including the/ X& q; D/ v8 m9 a
  545. ; leading '/'. You must also specify the file extension being used including
    : B+ n( T% H9 Z3 ?8 p0 w2 |  O+ C5 c
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ c$ Z# ]) C! d: N5 b8 V
  547. ; case no links to documentation are generated.
    ' L9 K. e& T  {# ?! {! j5 h* `1 r: j! l
  548. ; Note: Never use this feature for production boxes.: k) e0 b% [/ i, O2 \
  549. ; http://php.net/docref-root
    0 u- ~; H' ]  ?( q- Q, R/ p. J
  550. ; Examples
    ! z$ p- q/ T/ V0 D2 s
  551. ;docref_root = "/phpmanual/"
    7 ]" Y, D# g. J

  552. + `, `- m% Q9 @9 @: F# ]% h: ~
  553. ; http://php.net/docref-ext, B! _8 r9 Y. k6 R2 W# C
  554. ;docref_ext = .html6 A' d# S- `/ w4 n7 }

  555. , U/ p$ h8 V: y5 h* q; n$ I
  556. ; String to output before an error message. PHP's default behavior is to leave
    . Z- w, S2 \  U" I9 Y
  557. ; this setting blank.
    + g% p' c+ e& o, w  b
  558. ; http://php.net/error-prepend-string
    . W% R9 }; ?' G8 O0 f. K. h0 W' [
  559. ; Example:
    1 P5 |0 d# i) k. N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"* ~8 w. F& f) E( M) y- U8 F7 W. J

  561. 2 u& L  y# z7 E% u/ x
  562. ; String to output after an error message. PHP's default behavior is to leave
    ; K; r4 F5 Q2 ^" ^! ^3 n3 l2 i; w
  563. ; this setting blank.
      R0 C2 e0 J; d- W( X  q* h
  564. ; http://php.net/error-append-string1 I3 j( [7 W, ~- K& z7 s* R
  565. ; Example:: I6 S5 ]% A% o  K2 T$ M! a' @
  566. ;error_append_string = "</span>"0 [3 u8 a) ^' y

  567. 5 M/ w' `% l- \$ Z
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    2 z' g# F# G* i
  569. ; empty.
    " o# ?1 N  J8 G2 S5 i7 g" y& x
  570. ; http://php.net/error-log
    ! i  c) x# y0 g  Q* b8 N/ {- E
  571. ; Example:# m/ @, C5 _+ b' O, Z0 x
  572. ;error_log = php_errors.log$ A! z2 H4 h% \: a+ N# `; P
  573. ; Log errors to syslog (Event Log on Windows).
    ! h/ {4 k) {4 o* ^. c& J* `+ ~
  574. ;error_log = syslog& w( O5 W3 ^4 c! ~( d% q
  575. . C) L) k# B! [- _; P
  576. ;windows.show_crt_warning
    2 z% q! W3 F( D/ X- T, E) n4 {/ E
  577. ; Default value: 0
    + F. @5 _: I, B" z4 ]- U
  578. ; Development value: 0  N0 _8 |  v& V
  579. ; Production value: 00 v2 S1 S6 b: g* `0 n/ }

  580. 4 [( G1 C+ y. s2 r
  581. ;;;;;;;;;;;;;;;;;
    # C1 {/ b* D8 ^# X: O9 U0 j
  582. ; Data Handling ;/ Z, a8 ]/ ]- q9 j
  583. ;;;;;;;;;;;;;;;;;
    - Y+ O0 I% s  x, i
  584. * U  W8 K7 i2 |% f& Y  T& ~
  585. ; The separator used in PHP generated URLs to separate arguments.
    $ f8 a+ Y' k3 r/ y" y
  586. ; PHP's default setting is "&".: H! G$ v" a- L& G+ x* t) J
  587. ; http://php.net/arg-separator.output
    : u0 B$ z7 N  V* V: `% Q
  588. ; Example:
    5 h' G0 i$ X/ S8 H/ p
  589. ;arg_separator.output = "&amp;"8 {( K7 f( m8 T/ n- h5 w6 A& T
  590.   B5 y2 b' T3 e( k% i0 `9 _
  591. ; List of separator(s) used by PHP to parse input URLs into variables.5 O- W0 o) m6 f, e4 ~, P
  592. ; PHP's default setting is "&".6 t6 t) A# }( L
  593. ; NOTE: Every character in this directive is considered as separator!4 _, j* H2 i1 Q7 f$ }9 }( j! x
  594. ; http://php.net/arg-separator.input
    6 r, \% u7 t3 r% M, `
  595. ; Example:
    1 \6 b8 q7 o2 z4 ^. X
  596. ;arg_separator.input = ";&"
    7 W! L- }# m: j

  597. 0 X0 @8 k! o& a8 y: i
  598. ; This directive determines which super global arrays are registered when PHP
    4 D" Q# y0 m$ I2 n( m* ?& ]; ~8 B, n+ U1 A
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ; A% ?: A1 d+ V8 d8 o; X8 K* c
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & W, n/ E/ p( o: z2 _, C
  601. ; paid for the registration of these arrays and because ENV is not as commonly/ L- `) g( p8 L1 M- m5 d
  602. ; used as the others, ENV is not recommended on productions servers. You
    - z; Z* k2 \! K' c( t% q( k
  603. ; can still get access to the environment variables through getenv() should you
    " s! l' o2 E, n
  604. ; need to.
    : ?! }& o1 D* r4 {2 q9 m
  605. ; Default Value: "EGPCS"
    1 J: ]7 m9 i; _( U& X
  606. ; Development Value: "GPCS"
      O. r% a0 _6 e
  607. ; Production Value: "GPCS";: {" Y! b4 I9 i' x: ~% E
  608. ; http://php.net/variables-order4 T8 l1 f7 Z( @
  609. variables_order = "GPCS"
    # a1 ^" X' U' r

  610. - c$ J7 `5 I, j! G' \
  611. ; This directive determines which super global data (G,P & C) should be. Y5 C$ i! Y' k
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) [. D3 r  |& P9 M
  613. ; the order in which that data is registered. The values for this directive
    0 J+ c5 {: @; K( ^9 `% X
  614. ; are specified in the same manner as the variables_order directive,
    ; @  ^' G6 v# \/ p
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    / r/ B6 J" P% v: ~4 v8 U
  616. ; in the variables_order directive. It does not mean it will leave the super
    & m6 S8 u! `3 [* I
  617. ; globals array REQUEST empty.
    1 b, v( v- J! e
  618. ; Default Value: None
    6 \) [+ g) D0 o) }+ F5 F+ W* y: q
  619. ; Development Value: "GP"! `) O* ?. J; o7 L/ J' q
  620. ; Production Value: "GP"
    " R. {1 l+ K) h3 V, I
  621. ; http://php.net/request-order9 {7 G$ S6 ^+ w0 ~: D% G
  622. request_order = "GP"
    ! s* f3 F$ _; e% H

  623. % ]( A6 S* [7 l5 t8 e  z
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    - U+ r3 U9 Y& F* u1 Z! X" i  K7 Q
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script$ U8 D. B& y9 b- V: D. q
  626. ; is invoked. $argc contains an integer representing the number of arguments1 T0 [5 ~) T/ a5 v  L) E5 Z7 d* `
  627. ; that were passed when the script was invoked. These arrays are extremely3 D# ^, A, d7 \+ ^6 _
  628. ; useful when running scripts from the command line. When this directive is
      E- N  i* {0 P5 [4 Q# {' P
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    + w9 G. g" Y0 J  G
  630. ; a script is executed. For performance reasons, this feature should be disabled/ F: u. q) x0 e
  631. ; on production servers.& Y, N# q# n6 J* H
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
      G: F: d* L, ~4 M; A8 {4 m2 l
  633. ; Default Value: On
    % H& Q5 C) i8 y7 g( e
  634. ; Development Value: Off
    % B* q+ A1 F2 q3 v& U1 \
  635. ; Production Value: Off
    . ]5 Q8 t, p" K
  636. ; http://php.net/register-argc-argv& A( X, n- m. L* B
  637. register_argc_argv = Off
    ) u; {5 x, E- V' T
  638. * A3 C/ n4 _7 ?0 k0 I
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    + Q* e. m1 G& _# P* S
  640. ; first used (Just In Time) instead of when the script starts. If these
    % ~0 B" b9 \. R
  641. ; variables are not used within a script, having this directive on will result4 I* A- Q; W3 \' u
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # d' a& u" X8 f- c" J
  643. ; for this directive to have any affect.
    6 ]; C& m/ o; t  z8 y5 ^
  644. ; http://php.net/auto-globals-jit
    . W: s0 A" K7 B3 k! @
  645. auto_globals_jit = On, K, f6 o  g: v5 o

  646. 0 c: i+ u: a( Z( P1 s
  647. ; Whether PHP will read the POST data.
    5 C, v5 L. j( g3 l
  648. ; This option is enabled by default.9 ~) {+ j, M( [
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + {+ t1 f# {* r, z9 r) R
  650. ; and $_FILES to always be empty; the only way you will be able to read the. S  T$ v# Q, x1 `+ Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    4 W+ T3 S( _0 e" f- Y9 a
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 o8 D, y; I( o8 G5 u3 E
  653. ; http://php.net/enable-post-data-reading6 x) p3 `! A2 H) G( K9 o
  654. ;enable_post_data_reading = Off
    9 N3 b& y$ m' C5 C

  655. ' n# o/ m( w) T5 p5 B8 \6 Y  i- @
  656. ; Maximum size of POST data that PHP will accept.
    ! a2 W* Q" C3 b9 S# a8 W7 Y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " K0 Q+ D$ a' T( l- S, @# }
  658. ; is disabled through enable_post_data_reading.
    ) x' a1 ]8 s. w  {4 `& s
  659. ; http://php.net/post-max-size6 }+ f5 x+ M3 n- Y& P5 U
  660. post_max_size = 50M; M% p/ [. G4 A* U" s& L
  661. " A3 j) ~) l- r* v6 \7 ]! [
  662. ; Automatically add files before PHP document.
    / S3 L$ @- ~5 l. \# U* _0 ]- w+ v
  663. ; http://php.net/auto-prepend-file
    # s. u  q- w: ~* [
  664. auto_prepend_file =
    $ u5 ^- M; V# L6 p

  665. , E2 j' c! t( K6 B- |
  666. ; Automatically add files after PHP document.2 L/ y; Z; }6 s7 K. T
  667. ; http://php.net/auto-append-file
    & u% P4 n! j0 J+ P% z& z+ }
  668. auto_append_file =
    ) p! Y1 e$ R' R1 P

  669. 5 z# ?1 X. c$ R$ G
  670. ; By default, PHP will output a media type using the Content-Type header. To! o. L4 _& l0 ], Z* Z6 e  l! j
  671. ; disable this, simply set it to be empty.
    3 x: _; q; F2 U: u2 r
  672. ;1 `9 [* y' T+ A/ l& u' h
  673. ; PHP's built-in default media type is set to text/html.% U) d# I+ X+ h' a9 M
  674. ; http://php.net/default-mimetype$ y5 i7 h; n. _
  675. default_mimetype = "text/html"
    + v" o! E' B, k; z- F2 O
  676. " R# y; [" A! i: I7 }: T5 @
  677. ; PHP's default character set is set to UTF-8.* p$ R5 c- s8 {9 I" ^" n
  678. ; http://php.net/default-charset) w! F# P$ S& Q  g) M4 m+ u! m
  679. default_charset = "UTF-8"5 \( {! }$ s3 i4 L# c9 X+ K

  680. ! s" R2 }, q) W# B
  681. ; PHP internal character encoding is set to empty./ }1 [) }9 D! v) b0 _+ _$ _- E
  682. ; If empty, default_charset is used.
    ! V& X( u0 e/ n1 k
  683. ; http://php.net/internal-encoding
    ! }& f8 d/ n; e" P4 _/ w4 T& O+ f6 H
  684. ;internal_encoding =
    3 s4 W8 O6 v5 L4 e( G; W
  685. / ^1 |: J8 c0 }+ M
  686. ; PHP input character encoding is set to empty.
    / Q5 e- b' V' o: g$ K& E
  687. ; If empty, default_charset is used.
    " ?) a$ I: P9 N; c" {) `
  688. ; http://php.net/input-encoding" w4 m  y. H, j
  689. ;input_encoding =
    0 F+ u& j- _# ?3 ]9 |* C
  690. 3 E2 s, E% i+ x7 L0 M+ o% I! q' a
  691. ; PHP output character encoding is set to empty.! A! a! f8 h/ G9 b( R$ W  ~3 l  I$ [7 M
  692. ; If empty, default_charset is used.2 ?5 Q4 ^: e  x
  693. ; See also output_buffer.. `5 l2 \. a" V8 ^/ {8 b3 t, F
  694. ; http://php.net/output-encoding: a, L2 b, Q) k8 r! z# J
  695. ;output_encoding =
    8 `& W& M. ]( k4 w2 F3 f
  696. 5 @* S/ T$ h7 K8 G( f9 B
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is6 @4 z+ q3 z( q: c' p6 P# l
  698. ; to disable this feature and it will be removed in a future version.
    ( S+ w# o" ]: U9 a9 V: }  a
  699. ; If post reading is disabled through enable_post_data_reading,
    % L& a+ ?6 H  {7 y# r8 K
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.' `6 r' G4 ?4 q. U( \! k/ l. T" C
  701. ; http://php.net/always-populate-raw-post-data
    + r' m) P. R! h' B, P
  702. ;always_populate_raw_post_data = -1( d, x% f' t$ i$ z" A
  703. - X# ?9 e2 g4 ~  D
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # e! E/ \' w/ B7 P/ c
  705. ; Paths and Directories ;# f/ f0 `  {5 n+ K  y
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;$ P* S* \2 m$ [# I: }! x

  707. 9 a) J$ w: o: F
  708. ; UNIX: "/path1:/path2"4 A# ^. I' F+ A2 \  Y
  709. ;include_path = ".:/php/includes"0 @* p  c$ @) ]5 L7 L+ R
  710. ;9 ~. H! S5 }' T( h6 w
  711. ; Windows: "\path1;\path2"1 `( a  u% A) p1 n$ [) z; J
  712. ;include_path = ".;c:\php\includes"7 |  v' {: D" ~6 V: `& C8 r
  713. ;' E1 H' k: D7 W4 ]* ]  ~
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"' u' ]1 i1 X' c. Y/ n) m
  715. ; http://php.net/include-path
    ( Y8 q: v4 L6 U- b& t: U  A

  716.   f# B3 P7 A$ E9 E% r/ Q2 M
  717. ; The root of the PHP pages, used only if nonempty.
    : ^# d' W6 p* \: \
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    4 }0 n* r. `# w( m! T7 b9 D
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 _' i6 A% D& g& l% u
  720. ; see documentation for security issues.  The alternate is to use the
    6 v& a; D2 x$ K8 |7 j7 Z% h
  721. ; cgi.force_redirect configuration below. P$ y, _2 u( z6 v
  722. ; http://php.net/doc-root4 a# ~2 I; u1 B3 i% s
  723. doc_root =
    ( V; Z% M& C& O$ S% y' [
  724.   j/ f- e$ D9 R2 \' I+ |
  725. ; The directory under which PHP opens the script using /~username used only
    & a7 z! k+ \- q/ d. T! Q
  726. ; if nonempty., i. I* S  C4 {3 v! X# j, f9 Q
  727. ; http://php.net/user-dir. b4 v! ?$ e  M5 q8 w" Z
  728. user_dir =
    1 ?* L0 U5 a' T) K+ f! v

  729. : u3 @' |7 C3 i/ k/ M
  730. ; Directory in which the loadable extensions (modules) reside.
    3 E3 R& X8 ?9 b8 t- j" Y4 ], [
  731. ; http://php.net/extension-dir, z; K7 i$ }* ]/ Y
  732. ; extension_dir = "./"7 F1 K5 d1 i, k7 d6 r, b
  733. ; On windows:1 T1 l7 H1 c7 }! _
  734. ; extension_dir = "ext"
    6 I) A8 {$ p, y8 m" P6 W0 a

  735. 0 r: ~& m4 C! r: k. A, M2 \) ^
  736. ; Directory where the temporary files should be placed.
    ! g9 z# L5 X/ i. l
  737. ; Defaults to the system default (see sys_get_temp_dir)$ a9 i* O5 u4 h) @( a7 G# |
  738. ; sys_temp_dir = "/tmp"+ g6 Y; M) R% q, _( l
  739. 3 i7 X* S- r- N
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * b, \2 r( P8 M- v. O
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically6 I% N3 N6 ?8 x& I
  742. ; disabled on them.
    ( ^* t) x$ f1 P
  743. ; http://php.net/enable-dl
    6 R! z1 R3 K' ]
  744. enable_dl = Off( ~- E  _% p2 r. r

  745. 2 {. t7 U# z: r) j5 L0 z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    % G& {5 M" C8 h
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + I2 l0 k) J; T5 F4 }) e2 u) o
  748. ; turn it off here AT YOUR OWN RISK! x9 c$ H9 c2 m9 i  {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**# Z; ?  Q. f! p
  750. ; http://php.net/cgi.force-redirect2 A, a& O* s$ o
  751. ;cgi.force_redirect = 1
    ' o6 o' y# E! l7 x3 v4 _& j1 d- h

  752. 2 S. y+ C2 @6 n1 E+ S$ \% z3 n' H& l
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 Q& n) q. w8 O
  754. ; every request. PHP's default behavior is to disable this feature.
    7 W' k% {5 x  ?8 v* H' n/ \
  755. ;cgi.nph = 1
    1 q1 q- H' V7 s  B( \+ h
  756. 7 f8 B3 x! C9 ^2 Z7 y
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " V. C+ u$ i, o* |: K% d8 l# D1 B
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ! n$ U' |! l4 q3 ^( P  q$ w5 |% c
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      W: J* B7 p& z+ r& B, f
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- v8 \6 p0 C2 X' t( Y, @
  761. ; http://php.net/cgi.redirect-status-env
    & T/ R# x, ^6 ]6 |! {
  762. ;cgi.redirect_status_env =
    7 R9 v! |9 e4 P- g

  763. ) k; X9 I; J7 ^/ y. P5 a
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
      n% T+ B  u' U8 Y3 [4 Q
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    : }9 X' q5 k  D7 M/ j% J
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 R, |* K) k& W* W7 h( V  p# |( m
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting( ?; ~4 F  J( R+ E
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    4 N' p) Z1 ^. W6 K8 u! E
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 Y% M5 M% b$ I
  770. ; http://php.net/cgi.fix-pathinfo  y$ ^8 i" t# `5 M
  771. cgi.fix_pathinfo=17 y) k: P5 L' W6 ^+ P) q( Y

  772. 1 i* G1 ?1 E, Q& {) W4 M  s' j/ ~
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  A4 C2 |8 G' K/ V5 z$ \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    " p; \! M# k1 v6 s6 B" l
  775. ; http://php.net/cgi.dicard-path9 A2 [- z8 U+ N7 R  e; v4 Q& @7 C
  776. ;cgi.discard_path=1
    ( q* J* p7 Z! B3 c; |
  777. 9 W5 {2 l$ D4 \6 E5 x) y+ y  v
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
      m* S( w4 O# i  S8 _* ~1 Z+ z) \
  779. ; security tokens of the calling client.  This allows IIS to define the' A* L1 e( I% R& v
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    8 `9 }( C8 s3 d  u2 @" a# [
  781. ; does not currently support this feature (03/17/2002)
    ' \# d3 T3 O) N7 o6 h8 R8 @
  782. ; Set to 1 if running under IIS.  Default is zero.
    + \" `+ r1 k$ f* R$ L
  783. ; http://php.net/fastcgi.impersonate
    ; `8 {; Y& m8 {, C  H2 b
  784. ;fastcgi.impersonate = 1: `6 ~& |6 q6 Z( g! z. }- c

  785. $ I& `2 L( @& Z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . ?" e8 k" W0 H9 r. e
  787. ; this feature.: W$ E/ ]' e, {" O! r# _
  788. ;fastcgi.logging = 0
    9 ?2 J& ~+ Z1 k

  789. ! \+ _+ b6 `8 w0 C/ ^1 R* U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 s" }* g* K1 @% y/ t: c# s, g
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, y0 F( H& {+ z; U% W0 l1 q0 C0 Y
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    7 V$ n% d: H" @2 ~
  793. ; RFC2616 compliant header.& `3 m$ x# _5 E, \0 o; W
  794. ; Default is zero.
    3 `" x" ~' C, z" ~' |3 L, ?; K# L
  795. ; http://php.net/cgi.rfc2616-headers
    4 a4 j) i. o* Q* j7 ]( I! e" d
  796. ;cgi.rfc2616_headers = 0
    - f3 U* s& ]# J0 B, O
  797. % m& F% u( I7 C! ~$ L
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 G4 T+ c, Y% r: G' j1 K0 v( D# l6 a
  799. ; (shebang) at the top of the running script. This line might be needed if the% F7 s, O8 V( A$ f9 E6 U
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ) D) _2 `4 d& C7 O7 q& L3 b8 H! R
  801. ; mode skips this line and ignores its content if this directive is turned on.
    # |  X* k6 J( q. c: `
  802. ; http://php.net/cgi.check-shebang-line( r9 \6 d( N/ A9 Z, o( g
  803. ;cgi.check_shebang_line=16 L# a1 h6 `( P& n* {) M: l

  804. % [. n0 [! q& Y% q2 ?7 r
  805. ;;;;;;;;;;;;;;;;+ P/ I0 Z; a5 l
  806. ; File Uploads ;
    : A1 p8 k! W2 `1 y
  807. ;;;;;;;;;;;;;;;;
    + Z. W$ [# _- E
  808. : W9 o0 g1 f9 ~: M$ o; y/ h+ f
  809. ; Whether to allow HTTP file uploads.! u; Q+ w# o8 R, W' `9 J7 q! u
  810. ; http://php.net/file-uploads
    4 l# H% @* B% H$ R  O4 y4 Z! w
  811. file_uploads = On
    $ x( [4 |2 ?, Q

  812. ( b) u9 W- y5 e# ~
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; l$ p2 s& J: b+ P! Y, R1 g
  814. ; specified).
    $ [! p+ o8 ~: g: v; `
  815. ; http://php.net/upload-tmp-dir# t  @+ z. R9 Q8 A3 d/ _0 }
  816. ;upload_tmp_dir =
    6 m# ]  j, k  _' L

  817. ' B+ E8 m4 ~& Q4 i. e* Y
  818. ; Maximum allowed size for uploaded files.1 M! N* J% f, W2 ~9 B. b, g" C
  819. ; http://php.net/upload-max-filesize* o# x4 A( G& X( c  C3 T
  820. upload_max_filesize = 50M
    & O+ k2 a5 p# Z( n: `) @: y
  821. 4 s* K" i$ T9 z
  822. ; Maximum number of files that can be uploaded via a single request: B5 K7 r2 p8 ?$ y% Z6 Y/ X
  823. max_file_uploads = 20
      @1 w) ?' I5 B: R6 N* m8 f
  824. ; I% k# N/ @9 T% D3 m0 a
  825. ;;;;;;;;;;;;;;;;;;1 M, E1 t- L5 w8 r4 Q+ \! F8 {
  826. ; Fopen wrappers ;
    ( F- F- ~: _: O% E
  827. ;;;;;;;;;;;;;;;;;;
    * s' m( T# ~1 z# w' U

  828. ) t; f. V! p3 J: h6 u! ^9 c" O
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 H) n! Y1 c# t0 W* \0 H+ h' m5 `
  830. ; http://php.net/allow-url-fopen
    7 q; u4 i& o& N6 O
  831. allow_url_fopen = On- ]8 A$ U) H) h0 W7 F. i; C
  832. / B  g6 i: p% v) `
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    # C4 k& Y3 F# a5 `2 }
  834. ; http://php.net/allow-url-include& j  w$ P( ~7 }
  835. allow_url_include = Off, }; M+ v" |+ X  w& M0 Z

  836. 2 T: r' ~. P1 ^( z9 h& u
  837. ; Define the anonymous ftp password (your email address). PHP's default setting- n0 D( o8 D) Q. w; x
  838. ; for this is empty.3 [* ^5 g; X# w7 H
  839. ; http://php.net/from
    3 _5 `# G* S! X
  840. ;from="john@doe.com"
    ; y( G/ {, T: V- m$ D- j1 \
  841. / _! U0 w5 f0 t
  842. ; Define the User-Agent string. PHP's default setting for this is empty." h7 ~$ F1 V7 F1 H
  843. ; http://php.net/user-agent
    4 [. T: x  u7 Y9 V
  844. ;user_agent="PHP"% x7 g" `" Y# y' `; [7 ?" i* p5 e
  845. ; H# e0 z" v9 W7 s
  846. ; Default timeout for socket based streams (seconds)* Q3 ^& b2 T- E9 l
  847. ; http://php.net/default-socket-timeout
    5 k5 ^# x/ D  J5 V; x" \" ^
  848. default_socket_timeout = 60
    ; o/ w& n& H  V; l1 s" }2 e. i0 F

  849. / Q$ l( P; i/ x$ y) L! o9 n
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 M6 A% Z. R" m
  851. ; or you are running on a Mac and need to deal with files from. Z! d( K* i8 T1 F& {% \
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 M, F0 y6 m" u$ {5 q& [9 @
  853. ; automatically detect the EOL character in those files so that. I. O- l! R8 v; n8 M( y) z/ l9 x
  854. ; fgets() and file() will work regardless of the source of the file.6 a$ ]4 t  t6 ]2 [1 K/ r/ z
  855. ; http://php.net/auto-detect-line-endings6 @% a" b0 _# W; _- |1 C+ v
  856. ;auto_detect_line_endings = Off& R( M& y" j/ n- \! D5 q

  857. : `+ P" w$ Z: Y, B1 {2 a
  858. ;;;;;;;;;;;;;;;;;;;;;;
    - O' |2 Z) Z- r# D! s
  859. ; Dynamic Extensions ;
    : y( |" S- ?& h. d, y4 B
  860. ;;;;;;;;;;;;;;;;;;;;;;) U% h$ E, [# k( g& n/ W6 I

  861. 4 Z9 i$ N1 k& d% E. \
  862. ; If you wish to have an extension loaded automatically, use the following
    & T9 L, I, u% Q
  863. ; syntax:) j6 i* ]( r! b3 l, w6 P
  864. ;5 T8 b) e3 d) u7 f+ F2 F
  865. ;   extension=modulename.extension
      N" b* s/ E) ^0 N# }6 L
  866. ;
    0 t( u1 u$ j4 u- ~. e
  867. ; For example, on Windows:
    ' X: }+ Q/ L) P0 j1 c/ C
  868. ;
    4 |5 ~2 a' R, ~/ i
  869. ;   extension=msql.dll: L. K1 G- g+ A7 m
  870. ;
    & U/ p% K' k+ T  N9 q0 A
  871. ; ... or under UNIX:
    ! c" {4 i& f; `( G( m
  872. ;" |; n$ j( l; I" D
  873. ;   extension=msql.so, m8 |. h6 F% t3 U
  874. ;
    9 w% a) D7 Z4 ?
  875. ; ... or with a path:
    8 L/ {5 N2 j% q& u- p
  876. ;
    0 v! L4 O8 f) d! Y; k/ F. j
  877. ;   extension=/path/to/extension/msql.so2 y% W  C/ \& z  W! @/ i! X
  878. ;& A- k: ^9 w9 k/ W
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ! x2 Y- S3 A. O( O" [( }% w4 m
  880. ; default extension directory.5 m2 A' |1 d& r3 w
  881. ;; V+ L0 ]% f1 K) n; O! P9 y5 N+ ?
  882. ; Windows Extensions/ w) b/ P7 `2 C+ t; d8 f4 M
  883. ; Note that ODBC support is built in, so no dll is needed for it.$ t, A0 Y) D1 ^$ j# n
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)# Q3 l% G$ O% Y# u" K6 G
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    + \* i: K8 F  H9 T4 z/ g. G# H
  886. ; Be sure to appropriately set the extension_dir directive.
    0 o5 c6 P7 I3 L8 T4 l  O! ]3 [
  887. ;* v3 z- y( f# l$ X9 W2 x, F
  888. ;extension=php_bz2.dll& ]; N) {! Q: f% z+ H# o; c0 s9 \
  889. ;extension=php_curl.dll
    . Y5 Z% W4 P+ }: i! D& |; e9 A+ T% f% o4 n
  890. ;extension=php_fileinfo.dll
    ( z" f/ z+ u# M5 C8 E2 _
  891. ;extension=php_gd2.dll) }! Q" {, T- n; |: Y) c
  892. ;extension=php_gettext.dll( Y/ M0 M3 I7 ^9 z: H8 z
  893. ;extension=php_gmp.dll
    9 O6 {- s1 N# h3 C2 h& }2 Y
  894. ;extension=php_intl.dll, c; u8 q* A. Z9 \8 X9 \4 ^
  895. ;extension=php_imap.dll
    $ |8 _1 \# e. \
  896. ;extension=php_interbase.dll# s6 {1 o$ X5 p0 i8 S6 ?( S- N
  897. ;extension=php_ldap.dll, ~- |9 ~1 |6 {
  898. ;extension=php_mbstring.dll
    , Y9 C) t3 Y' H& U3 E
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it7 J- ^; A1 ~7 u- E* h& f; w
  900. ;extension=php_mysql.dll
    $ t  ?' ?8 w1 w- P
  901. ;extension=php_mysqli.dll1 Q9 i9 I% m, j+ g+ g5 B. A2 z
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client5 D& o. g9 O6 Z) i( ?
  903. ;extension=php_openssl.dll+ N0 f5 U. W1 V) u3 [
  904. ;extension=php_pdo_firebird.dll
    ' R7 r$ t5 X' k- a9 Q2 M* `+ _
  905. ;extension=php_pdo_mysql.dll2 r# u# q5 @2 x
  906. ;extension=php_pdo_oci.dll
    1 R7 n' t! ^9 h/ B! u5 G) {7 F2 {+ m
  907. ;extension=php_pdo_odbc.dll: G* t: E3 Z" l! P& J: c5 R8 j7 X
  908. ;extension=php_pdo_pgsql.dll# {) s' Z/ o2 [3 P( C+ X
  909. ;extension=php_pdo_sqlite.dll
    & ^1 I4 j2 y+ o' c. i2 \5 X& J
  910. ;extension=php_pgsql.dll2 Q# u/ n3 i. {0 j' `: |
  911. ;extension=php_shmop.dll
    # N7 n0 L- g- p2 C! _2 X2 e

  912. , m$ p$ d& ?6 I+ k2 i+ c  m7 w# z
  913. ; The MIBS data available in the PHP distribution must be installed.
    + z: m0 J3 Y4 g+ g" |  r, n
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    2 g& S/ p4 K4 P1 O: R
  915. ;extension=php_snmp.dll
    + f( S+ p' }' @5 U" B( y( z9 T2 K

  916. * }& F6 C: c4 d/ U% `! j1 L
  917. ;extension=php_soap.dll; g: Y  r8 ^& e9 o5 s. y
  918. ;extension=php_sockets.dll/ m5 X0 {) o3 J
  919. ;extension=php_sqlite3.dll+ A1 r0 g2 u% m' W8 Z
  920. ;extension=php_sybase_ct.dll) \" S# q6 W4 h% Y
  921. ;extension=php_tidy.dll
    5 B8 L) U2 v0 z
  922. ;extension=php_xmlrpc.dll! _' b) `+ _, L( x# j* R8 c
  923. ;extension=php_xsl.dll
    / Q8 _/ l# Y3 Q$ q, H5 {% Z( U1 i

  924. # B: o( `: L  A3 t
  925. ;;;;;;;;;;;;;;;;;;;0 _8 f, [6 E, d7 d
  926. ; Module Settings ;" T" v) f' r' p; P; a
  927. ;;;;;;;;;;;;;;;;;;;: R% D, @+ `( t5 E, w7 U: p

  928. " t" q5 n, b+ B1 P  l$ @0 Y
  929. [CLI Server]
    ( Z' o7 g: O  u
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      g5 ?" l0 x6 z7 R
  931. cli_server.color = On- V2 {: {% a7 ^

  932. 2 O/ F& v3 M8 F+ ~- K
  933. [Date]
    ) ?; r/ i: U) P3 k/ v
  934. ; Defines the default timezone used by the date functions
    / H- N: b% J8 }' G! f$ v  Q
  935. ; http://php.net/date.timezone
    & V' _$ t1 V( ^+ M" T4 m
  936. date.timezone = PRC
    5 l1 m$ a# i- J
  937. " f0 e& F- j) r
  938. ; http://php.net/date.default-latitude- H. w! f) r4 }0 g" X$ G$ T
  939. ;date.default_latitude = 31.76672 D% _/ k& B( f

  940. % @1 m# R# U- X  U
  941. ; http://php.net/date.default-longitude) Z7 o& y: q/ _7 ^7 c* x  h1 N: r
  942. ;date.default_longitude = 35.2333! n6 Q5 H& |% |% y* R
  943. / y" W# U  `' _9 K1 F: v  w
  944. ; http://php.net/date.sunrise-zenith
    ; T* ~6 W5 `6 G+ u; v! v
  945. ;date.sunrise_zenith = 90.583333; N* {+ J3 ]  }6 ^+ o
  946. ; d: J1 Q4 m+ J0 h) D% _
  947. ; http://php.net/date.sunset-zenith
    - c9 t( a9 b2 V; V- A
  948. ;date.sunset_zenith = 90.583333' G6 s- o4 W% W( r1 U  G
  949. ) X! e/ Z' U7 E) Z% h, k, B
  950. [filter]
    + N5 _( U$ k2 k4 Q3 E
  951. ; http://php.net/filter.default4 Q0 T2 ?! u& q; ]
  952. ;filter.default = unsafe_raw
    / N+ v. W- b% J( w' M9 z
  953. 1 H4 F6 r5 c# \7 K, H! R
  954. ; http://php.net/filter.default-flags; y) I$ Q% g4 z5 c- W
  955. ;filter.default_flags =' f  b5 x5 v9 y! W/ D0 u  C
  956. % j) \% S( y* V; Y
  957. [iconv]
    & d% _: C" m0 J. w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / T: F" z7 u4 z% ^2 L/ l, k) {+ m
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( X+ W0 L- [1 g3 F
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    - H5 e! h( Y: ^; U9 F
  961. ;iconv.input_encoding =3 m; z! B5 X% e5 |% I1 z$ f

  962. % J) k1 s7 ?8 p' `) [6 D# @$ \
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . L5 k: P- W. \  z
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 J: y. _$ [. D  ^2 w* q. A- H, I
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! [/ s4 b* q3 r/ S* H: W2 Z
  966. ;iconv.internal_encoding =4 Q' n: }- T5 ^: H1 i$ P) K7 B

  967. $ j2 j2 w/ D+ H" p( y; O2 X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead." P8 u6 s7 X# P7 O( {. F
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' ]) y' F! v, ~: x+ c
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ! g9 E7 j8 m' i% i( A
  971. ; To use an output encoding conversion, iconv's output handler must be set' C$ U7 o) d7 v( k5 n* w
  972. ; otherwise output encoding conversion cannot be performed.
    ! f8 \. ]6 @) \
  973. ;iconv.output_encoding =
    # L( |  q$ [8 C& d& S, N0 x0 }

  974. & K) k  e, k, Y' _" ~) R& W
  975. [intl]
    ) M  J# `( I5 D* p
  976. ;intl.default_locale =
    : u. d3 [5 Z. G/ k5 T1 d" {  }2 S( P/ V: ]
  977. ; This directive allows you to produce PHP errors when some error
    5 T9 c: _: s1 Q1 T; L
  978. ; happens within intl functions. The value is the level of the error produced.$ P" a$ y( V9 z, @7 ~* ?
  979. ; Default is 0, which does not produce any errors.
    0 T( b; w# ]+ I) U& J) f7 q
  980. ;intl.error_level = E_WARNING3 t, r5 q8 l" {/ ]! g
  981. ;intl.use_exceptions = 0
    8 i% p& d! p6 j9 _/ O5 z

  982. : }: N' g% Z+ e+ Z; }
  983. [sqlite3]+ p8 s2 E0 f; K$ K8 c
  984. ;sqlite3.extension_dir =  `; w4 V: g5 s3 M6 ]
  985. - e6 ~' b% I% B5 m# B& Y/ X
  986. [Pcre]
    % [/ E2 K$ X( C' ?( g  ^0 y
  987. ;PCRE library backtracking limit.: p$ Q% M4 e( E2 `% r1 m# H5 y
  988. ; http://php.net/pcre.backtrack-limit! k1 I" F  ^/ S+ u! G
  989. ;pcre.backtrack_limit=1000002 q5 C% G7 n5 X  ]

  990. + d  s% J4 Q0 c" A: R
  991. ;PCRE library recursion limit.1 T3 n$ \* X* y" G! g: R
  992. ;Please note that if you set this value to a high number you may consume all4 R: d7 c' Z6 l+ M! h5 w7 o
  993. ;the available process stack and eventually crash PHP (due to reaching the
    9 }0 V( @+ i7 C& E
  994. ;stack size limit imposed by the Operating System).5 J3 e4 W9 o+ U
  995. ; http://php.net/pcre.recursion-limit
    ' V- B& \. a$ A8 G- p( b* P6 k5 i
  996. ;pcre.recursion_limit=100000
    5 D5 w+ v4 {$ g9 d/ ?

  997. * W- `3 z+ I& q9 J5 j, j
  998. [Pdo]$ d' i, ~- d4 }; l
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    4 r7 `$ V  E$ Z# g9 A, w6 Y
  1000. ; http://php.net/pdo-odbc.connection-pooling
    + A' G3 T% ]8 U5 t9 N6 g4 h
  1001. ;pdo_odbc.connection_pooling=strict" O/ I# E+ m( j1 e2 w/ {; }" M, c

  1002. - X4 w5 x4 X% K. K7 `
  1003. ;pdo_odbc.db2_instance_name/ R3 ~9 C5 ]5 ^" Q4 Y/ R; @
  1004. # U2 R& W. L5 q- h
  1005. [Pdo_mysql]- `6 T% _# ^' L% B+ @( w- Y7 T
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 Z; d+ _# O: y6 Q- Q% V
  1007. ; http://php.net/pdo_mysql.cache_size
    7 J; ~! Q# `2 a9 b
  1008. pdo_mysql.cache_size = 2000
    5 h+ ~- i2 y3 q; Q7 g

  1009. * e' e) w+ [: g
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 j8 k) p2 p3 E* }% g  `
  1011. ; MySQL defaults.
    5 ?9 v9 S- a7 S, J+ m
  1012. ; http://php.net/pdo_mysql.default-socket
      r) o, S9 z. W, Z8 H- |3 @
  1013. pdo_mysql.default_socket=( E: k  K: V: c0 n
  1014. 4 m9 W/ ]( `# D- c4 h4 e" R
  1015. [Phar]( F# ?! }+ F; D, p- C4 _0 {
  1016. ; http://php.net/phar.readonly- E1 K# q6 M4 |* e& n
  1017. ;phar.readonly = On4 \. B3 w( N! F4 v0 S4 R" R7 B8 E

  1018. . u9 y+ K$ {" G4 x
  1019. ; http://php.net/phar.require-hash
    4 U: k$ g4 N: S* [  g
  1020. ;phar.require_hash = On- @$ B4 f' D( S, q7 N
  1021. ! z0 h3 v0 f1 W! ?. a2 h" n; f
  1022. ;phar.cache_list =
    ! C/ z% U9 ~. Y' H5 M% A% f
  1023. $ }7 P2 H6 R. l: U6 w* I: v
  1024. [mail function]0 E0 c& z/ j5 J2 D( d; w; k
  1025. ; For Win32 only.
    5 K3 b3 L2 ]* H% o
  1026. ; http://php.net/smtp
    ' H2 i0 C# }. q: W
  1027. SMTP = localhost
    : m  n+ X; Q0 n
  1028. ; http://php.net/smtp-port; c4 a& |7 b7 F
  1029. smtp_port = 25
    0 m' K/ {: M) A8 P% C9 B7 e

  1030. * `+ u! e3 k; `9 {2 Z$ A
  1031. ; For Win32 only.
    " e) G' A8 J8 _& y7 V! Y
  1032. ; http://php.net/sendmail-from
    " i4 K0 n" T1 M" D
  1033. ;sendmail_from = me@example.com9 K( S/ a9 E% k; s

  1034. 6 U3 B/ a5 B8 y9 K4 x# a. Z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    4 N4 N% a2 ~4 ]: m4 S/ X. r
  1036. ; http://php.net/sendmail-path
    ' [6 E/ W8 J( d% r- v& t0 d
  1037. sendmail_path = /usr/sbin/sendmail -t -i6 ?% S8 F8 k. u: J6 c

  1038. 4 X* {; N1 D$ d9 Z& [4 @
  1039. ; Force the addition of the specified parameters to be passed as extra parameters, E: Z* m. g5 Y
  1040. ; to the sendmail binary. These parameters will always replace the value of+ R) Y+ P" s9 x
  1041. ; the 5th parameter to mail().
    1 e" e! ^! x4 W  p% J
  1042. ;mail.force_extra_parameters =$ g- r1 Z% V" s: _3 n: u. p6 S' U
  1043. * b$ E$ t( [8 r: U# s
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . B4 W# c; u) a6 I
  1045. mail.add_x_header = On( p5 G4 S6 s0 X8 M3 C8 j
  1046. & B5 `2 p0 l9 M. \: ^" J
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + r7 R. n1 s, c% d0 r9 T$ d2 E
  1048. ; the full path of the script, line number, To address and headers.9 n' J! v  `; w9 W* a$ h; I
  1049. ;mail.log =
    4 t5 ~; w, o3 [7 S7 P
  1050. ; Log mail to syslog (Event Log on Windows).- R# y  Q& C, ^4 |/ f5 `8 g
  1051. ;mail.log = syslog$ @% n1 s/ H! j8 z7 t. m! [
  1052. % r6 K8 M! U6 p( j/ ^. }2 `
  1053. [SQL]: k  ]3 H0 ~$ N  w! Q
  1054. ; http://php.net/sql.safe-mode5 K' ]8 }$ Z. d" Q0 @
  1055. sql.safe_mode = Off
    ; _5 G2 y3 O3 A  z8 Z
  1056. " D' l7 s( l  G8 p: S3 }5 i
  1057. [ODBC]6 j) Z4 O+ ]  D; @
  1058. ; http://php.net/odbc.default-db$ B: I  B2 v3 K9 p
  1059. ;odbc.default_db    =  Not yet implemented+ {1 u8 C' l1 x8 N# K# [2 r, u# F
  1060. / R; t9 w6 r! Y; Q
  1061. ; http://php.net/odbc.default-user' h5 @$ H2 o% e# }/ `
  1062. ;odbc.default_user  =  Not yet implemented
    1 s) X& l$ H5 E8 V; h7 G8 P$ V9 G

  1063. 4 j# A+ D' u. ~9 d2 Z
  1064. ; http://php.net/odbc.default-pw% g* {& b  h8 L0 w
  1065. ;odbc.default_pw    =  Not yet implemented
    6 W; Q( Q9 [  Y& n$ a7 T' X

  1066. 4 @  h# w& l8 ~5 g- v6 u. ~' L& b
  1067. ; Controls the ODBC cursor model.
    + u9 F# \* }# U' s" Q) W/ o; I
  1068. ; Default: SQL_CURSOR_STATIC (default).
    7 A' t* y1 U# s1 P0 ]3 p
  1069. ;odbc.default_cursortype
    * W; g' b8 |: W0 `$ L% g
  1070. 2 R$ S  b" D/ X5 {$ J
  1071. ; Allow or prevent persistent links.7 |- M+ u9 y, y7 E- V5 v
  1072. ; http://php.net/odbc.allow-persistent/ \! m: C4 S( a8 _6 }& L6 E
  1073. odbc.allow_persistent = On" R6 t, R8 w* i# ^2 U7 U

  1074. * K3 w6 G7 C- P) S# d! e
  1075. ; Check that a connection is still valid before reuse.
    7 l8 c0 |2 n9 Q$ M; i
  1076. ; http://php.net/odbc.check-persistent
    ! @9 q" C+ W' J5 ~) Y; a3 K  R
  1077. odbc.check_persistent = On
    2 L" l2 d! V, k! n  `

  1078.   ^+ y1 a, R# X7 G
  1079. ; Maximum number of persistent links.  -1 means no limit.# N0 ]5 X" v$ R
  1080. ; http://php.net/odbc.max-persistent2 L! n4 E" n5 w
  1081. odbc.max_persistent = -1
    , R. J& L" U9 A5 \8 j- `, |" @0 X
  1082. ) G$ ?  |0 X7 |1 s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , }6 W* D4 S8 }7 I
  1084. ; http://php.net/odbc.max-links/ v0 T4 @' n: B
  1085. odbc.max_links = -1* L: i: c5 c# e) \$ m

  1086. 7 Z) q* K: e! n
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 g- F1 O& P* A  x+ Z# W7 H
  1088. ; passthru.0 e8 M1 P7 D( p* G& ]5 o
  1089. ; http://php.net/odbc.defaultlrl; b$ i1 C' o& T
  1090. odbc.defaultlrl = 40966 t, j  C# ~7 l! U( r& k- R5 f- C
  1091. 6 _% c$ V, q5 l. i
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& `5 K7 {0 m5 J. s5 m2 E
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . q( ]$ F- P: q
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    & ?$ f) y9 z1 J6 }: g+ K/ D; F5 n
  1095. ; http://php.net/odbc.defaultbinmode
    0 [( {7 h7 Q+ f8 v3 ?/ K
  1096. odbc.defaultbinmode = 1
    6 A- c2 z7 R3 W6 f

  1097. ( r7 ?7 N4 _4 E) c% @
  1098. ;birdstep.max_links = -1
    ! y- ~7 s: g& j

  1099. ' W  _7 Z9 {$ Y9 r  u4 k
  1100. [Interbase]
    : c$ g3 x2 o  P3 B6 h+ i% w1 j# U
  1101. ; Allow or prevent persistent links.
    0 j+ P" E' u% g" l) G/ s
  1102. ibase.allow_persistent = 10 G6 f5 `9 \& K2 F, p+ ?

  1103. 5 N  r* u  ~; l+ l. o) |6 G7 ?
  1104. ; Maximum number of persistent links.  -1 means no limit.( V7 N* u& p3 ~( r  V5 ]/ q$ m
  1105. ibase.max_persistent = -1+ i2 |, E+ Q1 p- H' F. G
  1106. ! v6 T9 l5 X7 K& `: M) z: D7 ]
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 r2 Q9 g7 k* b& M6 c8 R+ o. w
  1108. ibase.max_links = -1
    " U" l- h% m3 n
  1109. 9 I4 x- w% b3 V% N. e0 J
  1110. ; Default database name for ibase_connect()., S; G1 Y1 E% v) X1 [$ ?
  1111. ;ibase.default_db =$ a9 u/ T2 a; i8 w

  1112. $ S& q6 m, D7 r. l9 p
  1113. ; Default username for ibase_connect().
    ' q6 x$ L  q" s9 _
  1114. ;ibase.default_user =5 ^/ v* p8 y; T' t  M0 A# U9 T
  1115. ; d9 }5 L% H/ J$ ~6 Q" B1 x
  1116. ; Default password for ibase_connect().
    7 T1 g6 c! n1 K: x4 o
  1117. ;ibase.default_password =  O, F+ Y1 Q0 u6 K+ ^: X

  1118. ! v, I3 L8 L9 C
  1119. ; Default charset for ibase_connect().% H- y( ~: e* b; o
  1120. ;ibase.default_charset =. I! {' ~3 R( \( {' u0 H
  1121. / L9 u. y6 V4 g4 E# c$ p
  1122. ; Default timestamp format." ^" }* m. k0 _( T
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    - i% h+ ^. z2 t. t
  1124. / Z. Y7 B. E: Q- g) a  x. g4 P
  1125. ; Default date format.
    " a4 B9 `9 x; ^, a7 r$ |
  1126. ibase.dateformat = "%Y-%m-%d". ]1 b$ l% Q+ n+ Y5 B& H/ @4 ?, k

  1127. # x1 d% L% |; Y( |+ X: W0 _- _
  1128. ; Default time format.( N+ K% Z1 {$ S' \2 b+ H6 U6 I
  1129. ibase.timeformat = "%H:%M:%S"9 W6 i8 z4 J' r* d: I7 P$ L1 x/ z
  1130. & }$ H- J/ H" h  X( C3 C! ~
  1131. [MySQL]
    1 V& C9 F+ o$ h, J( u! C* `
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 y6 X, E5 n( _! L
  1133. ; http://php.net/mysql.allow_local_infile4 N! ?2 N, ]3 k& P* R7 r0 Y
  1134. mysql.allow_local_infile = On. l1 W1 o! |. A( J" m' A, t. i

  1135. , T5 N0 Q! j4 m1 o* D  i
  1136. ; Allow or prevent persistent links.! V! T5 X# s( P( N
  1137. ; http://php.net/mysql.allow-persistent
    2 Q8 z% t# [" B( D/ D! W" y: V4 j
  1138. mysql.allow_persistent = On2 s0 x# s: [  s; w* B

  1139. $ \( g1 k3 D' e  n! n
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 j6 ?9 t9 e% F8 c6 P; i! k
  1141. ; http://php.net/mysql.cache_size
    ) V1 J) P9 k$ ^( T& f! [
  1142. mysql.cache_size = 20002 D$ z( u! {0 D) a' G

  1143.   v9 i3 b' F& z' P" C  E4 L
  1144. ; Maximum number of persistent links.  -1 means no limit.
    8 T9 A! n6 y, M' }( q1 l
  1145. ; http://php.net/mysql.max-persistent. T2 Y2 I' h9 {. v" x( z2 I
  1146. mysql.max_persistent = -1# c. P. F( x- D

  1147. " y/ ]8 b9 m) ?' k# r, i
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      b0 |' m8 r1 e4 e
  1149. ; http://php.net/mysql.max-links
    ) L3 k" q4 e/ l: N/ U
  1150. mysql.max_links = -1  e* a- h8 l/ e9 E! N( A0 {9 b

  1151. * F, ?7 [/ X' B
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use2 u9 @+ s  k: ^. F3 _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
      r# B' z% k6 Z, f! b/ @
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 a* u8 l3 a1 }4 P8 m
  1155. ; at MYSQL_PORT.
    2 E) u. E$ }: T; R6 |
  1156. ; http://php.net/mysql.default-port
    : x# P# r/ A4 v' J7 k% q4 x
  1157. mysql.default_port =3 `3 c. S& {6 v; S+ n% z  s! F
  1158. % V9 X$ I' K2 d4 |5 P! n
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * ~5 R. w; K- s2 |) a; _8 G9 Z
  1160. ; MySQL defaults.# M! }* W2 j6 b& e5 W, p
  1161. ; http://php.net/mysql.default-socket
    6 u4 l( `3 \" i
  1162. mysql.default_socket =2 J( J' L! _8 H  F
  1163. - \7 |2 Y! ~# x' b
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + ~8 f( L, T& P7 N0 \6 r) u
  1165. ; http://php.net/mysql.default-host
    # b& R; E( |/ G% f6 b( v
  1166. mysql.default_host =, `6 _2 N1 `6 B. [4 R( n! a
  1167. 8 ?$ M9 ?  N/ B* e! l8 h3 t+ m* f
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ) \$ T8 n! e; \" o! `2 b
  1169. ; http://php.net/mysql.default-user2 z$ P0 N* W9 E5 X
  1170. mysql.default_user =
    5 ?2 f. u7 b  m
  1171. $ [5 F/ y! ?8 c( Q, d1 c$ z8 Z9 {
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    5 g0 L7 M" Q, }% r# c
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.5 W; U, b# Q9 y+ q- `
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")+ o2 G# k9 {! g; o: A
  1175. ; and reveal this password!  And of course, any users with read access to this- E  S) j5 g# e6 N1 i
  1176. ; file will be able to reveal the password as well.
    " i& Z; \* c1 x1 D$ P
  1177. ; http://php.net/mysql.default-password& L' ~, Q! a: B& j! g( N4 R& F
  1178. mysql.default_password =( o7 n8 x% g/ ^& p
  1179. " e/ R' m" J, O3 e9 n
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit3 N  Z1 R0 d( j8 F3 ]
  1181. ; http://php.net/mysql.connect-timeout
    ; ~, G  J$ f6 A5 E4 M
  1182. mysql.connect_timeout = 60
    " B) Y4 B7 M/ P" A2 [8 L+ g" F6 o% ]6 u

  1183. ; _9 P. Z: S$ U5 ]  l# A4 E
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ) r7 t$ E. T3 j2 [* x
  1185. ; SQL-Errors will be displayed.
    & p, B, g" c+ c0 _1 e9 p8 @
  1186. ; http://php.net/mysql.trace-mode
    * e& `8 X7 I; i5 f
  1187. mysql.trace_mode = Off# S. b, r: d0 c0 \5 E6 A
  1188. / h! W8 P' }, n8 |; }
  1189. [MySQLi]
    / O, D5 i) [5 l1 {) T( \  |8 f
  1190. ! O- m  Y+ `, e2 I+ G- b% [
  1191. ; Maximum number of persistent links.  -1 means no limit.. w) C- g. e1 C7 a/ A4 \0 E
  1192. ; http://php.net/mysqli.max-persistent
    " H5 f0 {9 i% B2 f, l, c( r
  1193. mysqli.max_persistent = -1# K  K! U' }* F; i
  1194.   I# L9 H7 X: M, O& e
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 S. b- h6 ?! h. X
  1196. ; http://php.net/mysqli.allow_local_infile
    # j" R; o+ Z* r% [6 E5 e. Y
  1197. ;mysqli.allow_local_infile = On
    ; j& k+ D5 `3 H0 L" b1 A4 F

  1198. * ^- ~& S, a+ m+ J5 g$ ]
  1199. ; Allow or prevent persistent links.1 p, [; ~1 Q! d% J( ^! h, u
  1200. ; http://php.net/mysqli.allow-persistent
    : j! }- K8 g1 D. |( R$ n
  1201. mysqli.allow_persistent = On
    % f9 O% z" L6 P0 q/ @

  1202. ( q3 K: v8 J0 e
  1203. ; Maximum number of links.  -1 means no limit.  p% p: X' L0 \8 f# ~5 S+ ^
  1204. ; http://php.net/mysqli.max-links0 z! w, w* Y/ @* K+ @1 }& W
  1205. mysqli.max_links = -1% D- C* Q& Y8 E7 Y: r
  1206. ) e! p* k+ O( M  l5 u4 d- p) X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache% ]! `7 l2 g, b0 {4 G
  1208. ; http://php.net/mysqli.cache_size
    $ T4 D, l/ [- T4 l
  1209. mysqli.cache_size = 2000
    ! R4 G+ o- r' Q" j, ~6 P

  1210. , F3 x2 s; I: Q4 e" {7 ~7 p& N
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; l" x6 V! V! J2 E% B
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( Y- n/ w  p0 ]: j+ s
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 A, E& @% E7 f* y5 m
  1214. ; at MYSQL_PORT.
    % n. J# Y& ~2 l8 D
  1215. ; http://php.net/mysqli.default-port) y+ @+ t8 z- @7 P  n. ?5 d& G. {2 l
  1216. mysqli.default_port = 33060 z# D  `0 F# B

  1217. 8 {* q; E1 s+ ^% s7 l' o3 d
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * E. _% X; A, H2 {$ x
  1219. ; MySQL defaults.
    6 o; ^( A6 F3 Z# k/ O! A" U: f
  1220. ; http://php.net/mysqli.default-socket
    & [$ F. G3 m+ }4 y
  1221. mysqli.default_socket =1 d( U# y& {& d
  1222. 8 k) O0 _1 _7 j, e$ U6 S
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).4 f. ?2 |8 l- g& v
  1224. ; http://php.net/mysqli.default-host/ C% _. g' E; j9 h
  1225. mysqli.default_host =2 ~8 O1 h5 n5 F2 h

  1226. ( `! ~8 r+ X; i+ j1 S
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 w& t/ v4 [) h
  1228. ; http://php.net/mysqli.default-user; ~; ~* @( N# V/ h
  1229. mysqli.default_user =  a1 L1 R* P. }

  1230. 4 S, M2 x0 I$ i, L6 I/ N
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) `% C+ K. L, ~1 ~, N
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.% Y; M. I# l9 u
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 M+ `( V8 D: J/ x& M! G: L: M) z
  1234. ; and reveal this password!  And of course, any users with read access to this
    4 C# |2 n+ r" ]/ }1 `4 D# i
  1235. ; file will be able to reveal the password as well.
    0 `1 r0 M; n! ~' L- O0 t
  1236. ; http://php.net/mysqli.default-pw
    ' p- W, x* i6 E' w4 S" s3 l3 c1 x
  1237. mysqli.default_pw =
    ; w% g- V, F: p% p$ O0 F7 }
  1238. 5 G. ~9 M& T. f2 d$ E; R8 D+ g
  1239. ; Allow or prevent reconnect
    + W3 h& p! j: q, Y$ ^
  1240. mysqli.reconnect = Off% F8 n% k; H* [
  1241. ) {0 O% |- c# h8 q/ U
  1242. [mysqlnd]5 ^2 I8 T+ q2 }1 G4 s/ d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / V% b1 i8 H- l3 Z
  1244. ; used to tune and monitor MySQL operations.+ v0 ?: y, J  e$ `: x# Q1 c: ?
  1245. ; http://php.net/mysqlnd.collect_statistics; C: Z) {& A( ~6 o7 l) l
  1246. mysqlnd.collect_statistics = On) J/ ?# k3 g  k
  1247. 2 Z+ ^! E: s' R+ v  B+ {, D
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , A) i, b; d; D) C7 u
  1249. ; used to tune and monitor MySQL operations., H/ r$ K  A- m! J
  1250. ; http://php.net/mysqlnd.collect_memory_statistics" w2 U' i$ ^- A5 p! b
  1251. mysqlnd.collect_memory_statistics = Off
    9 X- F0 l) o: |! U

  1252. 9 P& G, ~. h: H
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    8 n: v  [/ D$ _$ h. T/ N1 |% P
  1254. ; file.5 t; N% t. H6 v& f
  1255. ; http://php.net/mysqlnd.debug) v8 r" p3 L0 O1 e( @
  1256. ;mysqlnd.debug =8 b+ l2 E# b. V. g
  1257. # v8 f% Z* ]* h* i: L# N, ]8 D
  1258. ; Defines which queries will be logged.2 `* ~! A. o2 L* @
  1259. ; http://php.net/mysqlnd.log_mask
    ! X. D8 Y. |) S/ S% R$ A  F& ]
  1260. ;mysqlnd.log_mask = 0) z" W! a( J  J/ [" w

  1261. ( x/ S. }6 V+ k7 r9 Z' S0 d
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.- ^8 a; l$ b9 s, z$ l! t
  1263. ; http://php.net/mysqlnd.mempool_default_size
    $ q5 [& U4 g4 s
  1264. ;mysqlnd.mempool_default_size = 16000' m6 O- e0 z: O; g
  1265. 2 ]% K8 f0 y5 R  L* v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    4 F; b+ L2 G. T% n* G, a( B" E
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    % Y: w2 m2 `- f
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! A* W  N' W3 C5 X/ T  ~3 a/ l

  1269. ) b, B5 C' c- ?) Y
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( Z, R' t. s3 k. @; x; o
  1271. ; bytes.
    ; l2 M7 A; |/ y5 B) `
  1272. ; http://php.net/mysqlnd.net_read_buffer_size7 _1 X" M, P/ k3 [/ W
  1273. ;mysqlnd.net_read_buffer_size = 32768
    2 w0 ?1 i/ ]9 n1 U5 @1 h
  1274. . L$ p) G7 |; H/ f
  1275. ; Timeout for network requests in seconds.$ i: @% V. N' k% }( D
  1276. ; http://php.net/mysqlnd.net_read_timeout- {8 A  o& S9 `+ l/ o- q
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) I, k0 F) Q% X3 z1 N- A
  1278. 0 K7 w) e0 h4 g+ z: z! y) s$ B- i
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 V$ l6 L5 s6 P3 e3 @$ `6 r+ c
  1280. ; key.. {0 e0 l, x- @
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    $ b7 L" f1 o; Q0 L5 @
  1282. ;mysqlnd.sha256_server_public_key =& y# y5 D; t+ j* ^$ `1 ~0 A, J
  1283. - t7 q! R* P* H$ Z
  1284. [OCI8]
    ) p- X8 {7 \, W

  1285. , n. K1 [/ Q5 f; G8 F2 B$ P' z
  1286. ; Connection: Enables privileged connections using external+ ?  G2 @! \) I% ~4 }7 [
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)% x0 P! Q3 |3 |) n
  1288. ; http://php.net/oci8.privileged-connect
    ; ?. f+ k/ @: H3 O0 b, n
  1289. ;oci8.privileged_connect = Off. j( |0 j# U. u. U3 N! u, `
  1290.   v. v2 \3 K. w
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    - \% ?" L0 K; J" Z6 b
  1292. ; process. Using -1 means no limit.
    % J& |8 b# b( h8 K  A; C
  1293. ; http://php.net/oci8.max-persistent
    : X% T8 ?1 t( o
  1294. ;oci8.max_persistent = -1
      ]' F; {# v- B! W5 n  m, K

  1295. 4 A& ^! K: F: c# V
  1296. ; Connection: The maximum number of seconds a process is allowed to6 V! h4 n' s& c: @! ]: N4 m/ Z
  1297. ; maintain an idle persistent connection. Using -1 means idle# \7 g* v/ j5 ]# S
  1298. ; persistent connections will be maintained forever.
    6 i1 Y, Y; B3 Y& L, v3 Q3 f1 \' s
  1299. ; http://php.net/oci8.persistent-timeout
    + M; C1 a* j0 I
  1300. ;oci8.persistent_timeout = -1
    + F* x$ Y  T+ X1 B

  1301. , I, [# L. }/ d8 T, u' i
  1302. ; Connection: The number of seconds that must pass before issuing a
    % e* c" d2 O8 K' t( Q, Z  |, V2 `( _
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 T( C" U* P4 E4 L' m1 \6 z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; o: U$ U4 Y5 A# y% ^4 \6 k
  1305. ; pings completely.
    . a5 ?' l4 ^" ]; D) |* V* x
  1306. ; http://php.net/oci8.ping-interval
    " R$ g. t5 K6 p% F* e" n
  1307. ;oci8.ping_interval = 604 J- F2 u' ]' z' T

  1308. % b. k% \+ a* A1 w, a/ E$ T, }. u" y
  1309. ; Connection: Set this to a user chosen connection class to be used
    , v5 Z& `* u7 F) M7 o3 e# C, W
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . F; b6 H- Z- w  X, X- n0 n8 h( [- A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. F- @2 _8 h6 s' o
  1312. ; the same string for all web servers running the same application," T7 l. i8 \4 X) k. h
  1313. ; the database pool must be configured, and the connection string must
    ( \4 d# t$ D7 _" q6 {5 m
  1314. ; specify to use a pooled server.( c  s% n0 p. j2 J1 U
  1315. ;oci8.connection_class =
    . ]: X7 Q8 b1 S6 _2 {. G
  1316. / N. |- e0 J; r
  1317. ; High Availability: Using On lets PHP receive Fast Application+ `# T5 o) D$ U8 Q' e4 ^
  1318. ; Notification (FAN) events generated when a database node fails. The
    ! Y# P* y" i( Q% F" g; A$ B
  1319. ; database must also be configured to post FAN events.) E& |3 e2 v/ F. U
  1320. ;oci8.events = Off
    . ]! l. U5 Q5 I9 b6 m* k

  1321. " i5 e" J3 Y# f$ Y' x' O
  1322. ; Tuning: This option enables statement caching, and specifies how  B& P5 ^# t2 t- E3 _6 x1 i: E/ \7 T& Y
  1323. ; many statements to cache. Using 0 disables statement caching.
    / ~# |0 Y+ H2 S9 W
  1324. ; http://php.net/oci8.statement-cache-size
    7 b/ c, R) d7 R6 |: e, e( a
  1325. ;oci8.statement_cache_size = 20% b+ c5 w% \. q1 I0 l: q$ P! Z2 B

  1326. 8 o- {1 k# J  O1 {8 ^% j) h. ^
  1327. ; Tuning: Enables statement prefetching and sets the default number of
      X0 ^' L: H4 z8 o
  1328. ; rows that will be fetched automatically after statement execution.2 j2 V) O/ q, }$ n5 Q" t
  1329. ; http://php.net/oci8.default-prefetch# T7 L: M6 I+ M2 b
  1330. ;oci8.default_prefetch = 100
    4 I5 ^% G3 V9 u  \
  1331.   M9 P0 V: v0 K' u1 k! k& y" B0 M4 U
  1332. ; Compatibility. Using On means oci_close() will not close
    7 M7 w: o( r, J' c5 e, ]9 f
  1333. ; oci_connect() and oci_new_connect() connections." d, M" _6 ^& E% l9 @, U, A. A+ B
  1334. ; http://php.net/oci8.old-oci-close-semantics# c% }3 C0 d5 I$ ?. M3 G. y/ d; c
  1335. ;oci8.old_oci_close_semantics = Off
    3 z# h* T0 A7 u4 `4 T/ |+ y

  1336. + u2 [0 \8 A0 c4 X% w; i$ R
  1337. [PostgreSQL]2 \3 {, [2 \- _. |% m( h
  1338. ; Allow or prevent persistent links.3 z: f" O2 @% m5 p8 R- D% u
  1339. ; http://php.net/pgsql.allow-persistent
    & G0 l/ ~( W6 |) r. @/ f
  1340. pgsql.allow_persistent = On7 N: T1 p6 [. I  y: \) o5 V
  1341. 2 r0 a# ?( E0 c$ J
  1342. ; Detect broken persistent links always with pg_pconnect().
    3 l8 \; f) v6 d' w5 r
  1343. ; Auto reset feature requires a little overheads." x; c5 u3 b0 @  X8 S. J  T
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ' `  B+ T- y, M/ l) g! {- E
  1345. pgsql.auto_reset_persistent = Off6 Z# z- t7 X* q" D
  1346. / |6 Z( a: ~$ |
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # d+ i, ?6 x" E# x
  1348. ; http://php.net/pgsql.max-persistent
    4 Q3 v( B, n" S/ {
  1349. pgsql.max_persistent = -1
    . K+ |$ m5 @- O) E; k4 K1 ^3 {
  1350. 3 F- X2 l- ]8 l1 t3 r0 m
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit." _& d' E+ \& {6 b. }( s; k
  1352. ; http://php.net/pgsql.max-links& P0 e: e. O3 a. ?9 ~# {8 c) F
  1353. pgsql.max_links = -1
    - x' J/ U; P6 q- Z( [
  1354. " A5 m( \9 S/ ]6 w# S" Z. z' A! L
  1355. ; Ignore PostgreSQL backends Notice message or not.& J" c- @8 C% z  Y; u8 K# B
  1356. ; Notice message logging require a little overheads.
    + b$ [" B5 ?* J
  1357. ; http://php.net/pgsql.ignore-notice6 v; }# _; ~9 l) }' H
  1358. pgsql.ignore_notice = 0
    & ]3 W& B1 m4 ^, q, \# j

  1359. , b) o# w- s; R- v" E& Y" m6 L; m
  1360. ; Log PostgreSQL backends Notice message or not.
    0 A* E( @" f" H+ ^4 X; c
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 N8 e; y. F. q# ?( E6 [; h
  1362. ; http://php.net/pgsql.log-notice
    - H& c5 }$ `% x! x; [! W6 F: ^
  1363. pgsql.log_notice = 0! N( J: ~0 [' S+ @( @

  1364. 2 c! ?/ w7 Z& @0 H/ Y6 _& O1 R2 {
  1365. [Sybase-CT]+ f0 ^# R) Z: Y, A9 M/ j
  1366. ; Allow or prevent persistent links.1 V5 }/ _2 `. j& D: o6 v
  1367. ; http://php.net/sybct.allow-persistent5 I2 I+ O" w1 J; o( \1 W2 m
  1368. sybct.allow_persistent = On
    4 U% T! ]7 O! C) w

  1369. + o: C# w1 w2 r; e
  1370. ; Maximum number of persistent links.  -1 means no limit.
    $ u& \0 q3 _3 a) Z
  1371. ; http://php.net/sybct.max-persistent
    % n" y% r0 t- ~, b3 _' }9 e0 S
  1372. sybct.max_persistent = -12 o5 O0 y' f  C+ _: k% N$ }

  1373. 3 F* |8 w$ D6 U3 R4 @
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 U, _# T0 `! D7 @
  1375. ; http://php.net/sybct.max-links
    # v% C1 ?* y0 n+ x: d5 N
  1376. sybct.max_links = -1
    ' ?/ h6 O+ M% x) U% p) E

  1377. * w, M5 V4 z7 J4 \' h/ M
  1378. ; Minimum server message severity to display.7 P$ B. b- f( h* J/ }4 T* D# }
  1379. ; http://php.net/sybct.min-server-severity2 a/ \. ~$ s- }+ r
  1380. sybct.min_server_severity = 10& [% A+ Z0 C5 w2 J# i- `0 k6 ^
  1381. # s8 M% c" x; j
  1382. ; Minimum client message severity to display.
    7 M* z! L" s: }2 Q3 E, R! s6 T! ]9 O
  1383. ; http://php.net/sybct.min-client-severity1 O7 N6 ^0 B; G* e; z) Y
  1384. sybct.min_client_severity = 10; i4 d* o% `3 j) j" H1 u& R
  1385. 4 d, C* w; {0 P" `% f. O
  1386. ; Set per-context timeout
    + b/ v6 {, u$ E: v+ W0 N6 k/ C
  1387. ; http://php.net/sybct.timeout
      W- ~1 Z. n* W, a8 p, }
  1388. ;sybct.timeout=
    + ]( s- B, c* c% q
  1389. : N9 q- q% k; r1 T) f( X/ [2 F' J
  1390. ;sybct.packet_size
    8 W7 U  U, e4 o: Z- y/ T2 l
  1391. 6 [! D* U# ~) E' B. g6 d* q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.2 X7 N1 ^( l( p% D
  1393. ; Default: one minute5 f# V% e2 j5 d2 O  @
  1394. ;sybct.login_timeout=
    / j) W  F/ f5 ^9 P& F1 ?+ l/ D) \
  1395. * |  K* }, @& R; B. n1 j
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    + y; e3 Z/ @/ p5 j1 T
  1397. ; Default: none; m9 A0 H7 c  G6 A- @
  1398. ;sybct.hostname=
    0 y+ y# l( k; M9 {
  1399. ) ~" |) n, L. B' H. }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".: z, p0 A( U  L: M
  1401. ; Default: 09 [! e6 m9 f4 g2 Q
  1402. ;sybct.deadlock_retry_count=( ?1 u1 K+ o" J0 N

  1403. 2 @, `$ i4 ]( X8 k# |
  1404. [bcmath]2 k9 ~! g) b7 b% V# ?& y! k! M
  1405. ; Number of decimal digits for all bcmath functions.
    , g5 Z1 A1 ~" \  L3 P$ G
  1406. ; http://php.net/bcmath.scale
    : m2 z" }5 A- l
  1407. bcmath.scale = 06 I/ _  O! _, J# Q( u2 a. M7 z

  1408. 2 N% l! p' v+ a9 O5 R* F& A6 v0 A
  1409. [browscap]
    9 X0 g! L) U- c4 k
  1410. ; http://php.net/browscap
    ; Q* Q5 ^: G- z
  1411. ;browscap = extra/browscap.ini* B+ j9 }* Z- ]/ D9 B) h2 X# x
  1412. ( K9 d9 s, t9 h2 H4 t
  1413. [Session]
    8 w& H; ]3 R5 s3 f' K
  1414. ; Handler used to store/retrieve data.# S" c/ R# {  Q4 j
  1415. ; http://php.net/session.save-handler
    ! `, v  i2 s* u# @: y" M
  1416. session.save_handler = files3 ?3 C" g# n6 q; I/ r
  1417. 3 K/ K- e2 p" W+ Z% b
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    1 O$ }& _: X! W
  1419. ; where data files are stored. Note: Windows users have to change this
    ' a" B: X! }3 N' k; d" T5 p
  1420. ; variable in order to use PHP's session functions.
    8 H' Z9 k9 Y* {  h0 T7 N. o" D- Z
  1421. ;; Q1 z7 Z9 E$ ~- w" i2 S
  1422. ; The path can be defined as:! _7 m. Y5 F/ h) ^
  1423. ;
    7 i2 W. K# e) O0 ]3 u+ F% v
  1424. ;     session.save_path = "N;/path"
    - B) x. a  r+ x' X
  1425. ;
    # S( j: n& _( z6 S" F; L5 Z4 E9 A
  1426. ; where N is an integer.  Instead of storing all the session files in
    + N4 K) ^$ q  F% _: X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and+ M  k# l+ d: O$ K* r, z
  1428. ; store the session data in those directories.  This is useful if# ^# p7 L& U1 |6 P4 \3 m
  1429. ; your OS has problems with many files in one directory, and is1 q; z/ n" r0 T4 s* Q$ o
  1430. ; a more efficient layout for servers that handle many sessions.0 @  n1 S; O* q
  1431. ;
    0 G( [7 p, S. m9 M8 w+ T
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : ~* e/ \4 \7 z* Y# Z* u7 J: g
  1433. ;         You can use the script in the ext/session dir for that purpose.9 X6 V8 C+ Z5 I+ `$ ~
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    0 m% C% ^, c, L7 ]0 k
  1435. ;         use subdirectories for session storage+ H5 ~+ I2 s" H: y, l' H
  1436. ;: Z" O& |, \# @/ ^9 T
  1437. ; The file storage module creates files using mode 600 by default.
    + X% ], l1 R4 U5 |( E2 M! D
  1438. ; You can change that by using$ k& D1 I/ E: B5 _1 ]( [1 K. H9 S" u
  1439. ;
    % K  m8 Z0 {$ s9 `" r& P
  1440. ;     session.save_path = "N;MODE;/path"1 ]: {7 P* w8 S1 o! k! b) _
  1441. ;
    ! R; O& G9 ]5 g
  1442. ; where MODE is the octal representation of the mode. Note that this. P2 Q3 x/ _' L2 Q
  1443. ; does not overwrite the process's umask.& N2 c! A" d( V+ ]0 h  K8 Q4 t
  1444. ; http://php.net/session.save-path% n4 L# M& f0 _9 x0 x9 b) m
  1445. ;session.save_path = "/tmp"
    # C9 [6 D" D; E) l) g; ?, _

  1446. ) J' D9 ~) A" ^8 B
  1447. ; Whether to use strict session mode.$ N8 ?+ q% I" X3 U
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      `$ D- W& y  M' {$ i4 B
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    . P. X) h0 B! k8 a
  1450. ; applications from session fixation via session adoption vulnerability. It is4 X3 X2 x) e" R; H
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& c) M/ H6 z; i$ L
  1452. ; https://wiki.php.net/rfc/strict_sessions9 ^0 Q& x+ [# q7 k
  1453. session.use_strict_mode = 05 a$ G! B' {: L8 m/ r

  1454. ; Q! d% p" _0 y! c( G3 w
  1455. ; Whether to use cookies.' A1 H+ I' R8 c: _; m
  1456. ; http://php.net/session.use-cookies# b# V3 o; Y0 d$ \- X/ m5 j7 h
  1457. session.use_cookies = 1
    9 ]! _& e( `- S3 X
  1458. 2 W/ Z7 x# y" U& A. {
  1459. ; http://php.net/session.cookie-secure
    6 }5 y9 Q6 F9 }( `7 C
  1460. ;session.cookie_secure =: g7 e, Z2 t! A

  1461. 3 Q% f+ z* O7 o$ l
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining2 P; s4 X5 `: o6 d+ i- ~/ ?: h! J
  1463. ; the session id. We encourage this operation as it's very helpful in combating, ^* {7 \7 U+ q7 z( j1 M
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ! Y; h; w" ^9 w* F5 H. r* e  `3 W0 g
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 s  G9 K8 w& _+ E7 O* W9 I' a; i/ r
  1466. ; http://php.net/session.use-only-cookies, C( @$ b- I' G+ \/ f) \0 `
  1467. session.use_only_cookies = 1/ U. E( O" z6 k) E7 _# r

  1468. 1 P3 u) ?5 h1 @7 }5 W" H: {% ]
  1469. ; Name of the session (used as cookie name).7 @0 D6 V& t0 z& P
  1470. ; http://php.net/session.name+ y6 w3 n- c! S) `3 C8 q5 Z
  1471. session.name = PHPSESSID
    3 Q# F0 l: w8 z: R

  1472. 8 v% p# n, g2 E/ H* [; B  O
  1473. ; Initialize session on request startup.6 r5 [% z0 S& O/ s
  1474. ; http://php.net/session.auto-start
    & h# _  s4 v+ ~6 l- b' d8 S1 i4 k
  1475. session.auto_start = 0! o1 s  E- {( d' N/ Y

  1476. 4 a6 t0 M, N( g5 b/ E) v
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    # _7 v( f( Z/ i) H) Z1 P3 o  k  e
  1478. ; http://php.net/session.cookie-lifetime* Z  O0 r/ ^; E$ Q4 f/ N# c
  1479. session.cookie_lifetime = 0
    + e, y$ r& n- Z$ V9 ~) W

  1480. # B7 n: u9 a; M+ G# _( J
  1481. ; The path for which the cookie is valid.% U/ O8 J1 \% ~% B7 S
  1482. ; http://php.net/session.cookie-path  W/ n+ i8 \$ b' A  s9 ]
  1483. session.cookie_path = /. h/ G2 h, i3 j

  1484. 7 F: p+ V9 m) R# R% g, V6 c0 S5 P
  1485. ; The domain for which the cookie is valid.' R7 B4 U$ X, }/ W1 O
  1486. ; http://php.net/session.cookie-domain% `: |9 u0 d2 ?4 m
  1487. session.cookie_domain =6 {7 z$ v, b' k2 k3 r
  1488. " ~1 M6 r6 u5 ?) X4 f" x
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* j1 r' E1 f& Q9 l
  1490. ; http://php.net/session.cookie-httponly2 U' b  k5 E5 g- `
  1491. session.cookie_httponly =
    & I0 M3 b% W: }, {3 e% X: l2 C

  1492. - a5 [, t4 M& B1 J
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 ^" Y& P* S% x: J7 c5 C
  1494. ; http://php.net/session.serialize-handler5 o% m9 h1 S0 \) H7 I5 q
  1495. session.serialize_handler = php2 _9 c# k( }5 K
  1496. . D4 i# R3 W* @) k# J$ @
  1497. ; Defines the probability that the 'garbage collection' process is started
    4 M; U2 M) q# u, g7 y5 e2 h$ D0 w
  1498. ; on every session initialization. The probability is calculated by using" m* m! M6 I. \7 [& s7 A. M
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    / z$ P% F( X' h; {" C, }
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1. _- I1 ^  e$ Z0 V- m
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 Q3 K  |; V. W# w) X& n2 K
  1502. ; the gc will run on any give request.& C0 `2 p, _# c4 O+ |( i. [& ^, e
  1503. ; Default Value: 1
    ( L, d' n/ E) l. k/ `0 s3 Y& o% f8 @- r
  1504. ; Development Value: 1: j) y0 ~9 f- h! ?9 x4 Y7 w
  1505. ; Production Value: 10 A6 r. m: ?& B; `
  1506. ; http://php.net/session.gc-probability
    3 m/ w) t! [0 x0 m( ~: E- o
  1507. session.gc_probability = 10 C0 v4 W& L* d1 }/ v. ~
  1508. 5 W: Z- z% E2 v2 Z
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    ! A5 p+ c) {! b
  1510. ; session initialization. The probability is calculated by using the following equation:
    / R( p1 Y; ^0 i; `! E( R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 E6 F' W5 \+ X- N% w# }
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; Z8 r$ M& K. [9 s% j6 u
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( }) H; |* t2 M  z5 h; I0 ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( J3 p8 z/ S# t/ y) Q3 g3 `
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 G/ a7 j7 F0 c0 o+ `# e8 m9 \2 S
  1516. ; this is a more efficient approach.3 [. U  C" d0 x
  1517. ; Default Value: 1002 j1 X9 F: u3 K' K
  1518. ; Development Value: 1000
    " t# a$ c- b# x' @: A6 c
  1519. ; Production Value: 10000 |3 E* X0 p1 c4 J9 `. h
  1520. ; http://php.net/session.gc-divisor
    8 s( Z+ S: n" E( k
  1521. session.gc_divisor = 1000) `2 @$ d5 A3 M0 q
  1522. 3 s7 i1 g8 o  D' B0 U/ \! B# [
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
      |, i5 A& x" q+ _9 r0 v6 T/ B7 z
  1524. ; cleaned up by the garbage collection process.1 f9 n2 u+ ^8 M" J1 _. a! ^: I
  1525. ; http://php.net/session.gc-maxlifetime
    . L7 k4 O2 V) J8 L# `/ R4 t, K1 s
  1526. session.gc_maxlifetime = 1440
    & q( `  B' o( ^2 H
  1527. 8 J0 f# A. \4 u3 [* O. N) J
  1528. ; NOTE: If you are using the subdirectory option for storing session files+ ^) w" o" Q1 k' r* Y/ O) ^  z% Z5 w  l
  1529. ;       (see session.save_path above), then garbage collection does *not*
    / o! U7 q6 O& U% ]. t4 a
  1530. ;       happen automatically.  You will need to do your own garbage
    / i* Q# P6 L) d; L6 }
  1531. ;       collection through a shell script, cron entry, or some other method.4 U9 d( W7 C* S7 O2 I! @
  1532. ;       For example, the following script would is the equivalent of- _: t4 I" \) ^( c$ M3 w, G) d
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / k( [* x  J8 U( V- z; m) @1 Q" k1 W: ~0 n
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm8 F9 |0 x7 P% G' @* n- C
  1535. 3 f! {7 K" A& x% G/ z! h' ?
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # n6 u2 Z3 l! s! Z
  1537. ; HTTP_REFERER has to contain this substring for the session to be0 A2 Q2 m- \! p, X
  1538. ; considered as valid.
    ! y; A5 z0 d3 c3 v
  1539. ; http://php.net/session.referer-check* K* [+ H1 A3 {) o  t) N
  1540. session.referer_check =
    2 d) U) d; l7 [" X. u/ B+ }

  1541. ' {  [4 m" J; _2 ^9 c
  1542. ; How many bytes to read from the file.' y9 t9 [) x! u
  1543. ; http://php.net/session.entropy-length
    8 V5 s5 y9 P/ N# L6 h
  1544. ;session.entropy_length = 32% M5 t% K. }* g
  1545. ' g9 n, Z) G8 w. X$ K! `
  1546. ; Specified here to create the session id.2 H" v$ o9 ~( n$ K6 O
  1547. ; http://php.net/session.entropy-file
    8 g) `5 R8 _0 H  A6 U( \
  1548. ; Defaults to /dev/urandom
    . K: k7 n( u# }8 d
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom  u: E6 u; O* c$ X7 _* [/ H/ }
  1550. ; If neither are found at compile time, the default is no entropy file.
    ! G2 Y& V4 P  F: ^/ R8 h/ Z
  1551. ; On windows, setting the entropy_length setting will activate the
    1 `- j/ G8 R% Y% ]# z% e% _3 x
  1552. ; Windows random source (using the CryptoAPI)2 E) e& y6 w3 @; \7 s! Y( K
  1553. ;session.entropy_file = /dev/urandom
    % u& l% v1 s! |. |6 m0 h
  1554. ) k; H% ^/ `4 m2 S1 X
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 `& o# i, x' k1 p- A% l5 \
  1556. ; or leave this empty to avoid sending anti-caching headers.% P2 e9 \5 f0 m$ l2 U
  1557. ; http://php.net/session.cache-limiter  K/ r& n1 C& [
  1558. session.cache_limiter = nocache9 L) ?5 H( y: \; Q9 u7 }

  1559. 3 S+ Q' O. Z. z* e9 F  Q5 J
  1560. ; Document expires after n minutes./ V4 G$ c$ r  w# v. v2 h; \+ A, S
  1561. ; http://php.net/session.cache-expire3 ^7 S# X* k, b! n
  1562. session.cache_expire = 180
    0 C( A2 l4 ]. e; z

  1563. & k) [/ u. `$ O4 k+ l$ N3 J0 ~
  1564. ; trans sid support is disabled by default.: x3 y3 W6 m% p- |
  1565. ; Use of trans sid may risk your users' security.
      ^0 \+ e0 ~3 h
  1566. ; Use this option with caution.4 p2 U( c8 K* d: `* D
  1567. ; - User may send URL contains active session ID' d/ @8 d8 l! M, h! H$ l
  1568. ;   to other person via. email/irc/etc.) r$ L# [% y. u2 k
  1569. ; - URL that contains active session ID may be stored+ g( ?+ h5 M7 w( b7 d) P) Z
  1570. ;   in publicly accessible computer.
    " x7 s5 r; L3 \
  1571. ; - User may access your site with the same session ID3 u1 _6 s  [: \/ D% |, |! A* Z! v% l* L
  1572. ;   always using URL stored in browser's history or bookmarks.# B- T$ a9 y! S: r7 F
  1573. ; http://php.net/session.use-trans-sid
    : w( G* x# }3 B
  1574. session.use_trans_sid = 0
    - I( [6 \5 F0 m( W# O4 b
  1575. ; x: V8 u9 |& m* w
  1576. ; Select a hash function for use in generating session ids.% y$ E' X+ n" q
  1577. ; Possible Values% W2 p0 J9 ?- p( b) i/ E1 ]$ {
  1578. ;   0  (MD5 128 bits)
    ) a" F. D. D& K7 j( s
  1579. ;   1  (SHA-1 160 bits)
    ) t; |6 g3 }7 z# }4 s# \6 {
  1580. ; This option may also be set to the name of any hash function supported by
    - m' X0 O' o7 A3 S
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()& g: h- F  J4 P3 M9 \# C! E
  1582. ; function.8 ^3 Z; \; h4 p8 o
  1583. ; http://php.net/session.hash-function
    , }6 j8 N- f5 o: v
  1584. session.hash_function = 0
    $ j/ D* I( d- s' y1 g
  1585. 6 m& K0 y- }/ f" Z, N( H
  1586. ; Define how many bits are stored in each character when converting0 r8 V; Z$ I/ Q, \+ c6 F# G+ [
  1587. ; the binary hash data to something readable.$ J- P% T/ |$ D$ q
  1588. ; Possible values:
    ( j/ U: h4 P6 T* {9 |# L4 X
  1589. ;   4  (4 bits: 0-9, a-f)
    ' q" H( c' U2 n$ I, E6 R
  1590. ;   5  (5 bits: 0-9, a-v)
    . J& j* q! Z, i4 r; q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 T. U: T9 s7 e* V
  1592. ; Default Value: 4+ c7 z1 [0 _. L. O" ^) i, p4 ~4 S
  1593. ; Development Value: 5
    . x9 M8 _6 i. ^
  1594. ; Production Value: 56 ]( }3 @8 x# G( N6 h  h7 ~  k
  1595. ; http://php.net/session.hash-bits-per-character
    # G5 ^( W. K" L. j) w, x
  1596. session.hash_bits_per_character = 5  r& c; s7 _* L0 \$ X6 C
  1597. 7 L, g' P. N7 J1 S* A
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 s6 S1 F) X. q& P, z1 X  X
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    * W5 n; c! e- J: s
  1600. ; add a hidden <input> field with the info which is otherwise appended' j/ O4 L3 p% {' C* f
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 h* \2 `1 S9 a# s, q# T) B
  1602. ; Note that all valid entries require a "=", even if no value follows.5 s2 v- s" U4 y' {: y
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , O. N* c4 u" v8 t/ Y
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 u, s1 R5 A) B* Y3 n7 C8 k: L  _
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ C' g: O$ ^9 e) z: M0 m! h8 |
  1606. ; http://php.net/url-rewriter.tags
    2 p  n7 B3 L8 r) P3 l
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 ?# w5 Y+ A! V4 B

  1608. # [9 @; v! s* d7 e% U
  1609. ; Enable upload progress tracking in $_SESSION: G7 j. @; ^' J4 z! L; A' B
  1610. ; Default Value: On
    " {! a& j3 x0 f" [# V: _& r
  1611. ; Development Value: On& s4 i! H+ }/ E- c: R
  1612. ; Production Value: On
    1 W, V& x& {2 G+ h6 V5 j# b
  1613. ; http://php.net/session.upload-progress.enabled
    , h; X4 [( k' q
  1614. ;session.upload_progress.enabled = On9 ^* X. E8 ~# t5 G
  1615. ' o1 t3 j, H2 Z2 o
  1616. ; Cleanup the progress information as soon as all POST data has been read& K7 u0 a2 a0 R' g5 x+ H/ h; b- L/ B
  1617. ; (i.e. upload completed).. \' e, O& t0 S6 E5 v# v+ x
  1618. ; Default Value: On# y; m, T- s. p
  1619. ; Development Value: On
    ) e* x; l. h( v1 v: c# f, k: X" Q
  1620. ; Production Value: On- B0 Y2 r9 L" D3 K" h: i! T9 P$ p  }  |
  1621. ; http://php.net/session.upload-progress.cleanup
    5 J* _2 }2 s5 n
  1622. ;session.upload_progress.cleanup = On9 e0 u# l$ f6 M! o% J/ x
  1623. : l! [% V6 G. C" C+ U5 k" ?
  1624. ; A prefix used for the upload progress key in $_SESSION
    : _' V- a8 l# h( p) j% U0 a5 r
  1625. ; Default Value: "upload_progress_"
    - S/ F( v7 D6 C2 d/ G
  1626. ; Development Value: "upload_progress_"9 Z1 u& G6 p) }! y6 r
  1627. ; Production Value: "upload_progress_"( w- ], B' L7 M* i( n! S
  1628. ; http://php.net/session.upload-progress.prefix5 t) S; e/ L+ r+ b) N: r. _; o
  1629. ;session.upload_progress.prefix = "upload_progress_"
    7 O8 k* D  L/ |- s! y# I% x. ?$ L
  1630. 0 F5 _3 L/ T& Y* R, r
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    , I. k, w$ p, s9 [. U. {7 g
  1632. ; containing the upload progress information$ M' V1 F. T) ?' C# `' }1 V6 _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " W% h2 i- X  g9 x( u
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 i+ T& y( l. n& x8 X7 G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 r5 w% S, ]" s  D1 M4 u2 d
  1636. ; http://php.net/session.upload-progress.name, x9 }' m1 B( q) k+ \: Z
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    9 C& `/ X- S+ }& I3 D# C+ c9 _4 K

  1638. . f9 G! P9 o* ~9 Q/ N7 y+ u) ?
  1639. ; How frequently the upload progress should be updated.
    8 q, U. }. Z3 Z5 q
  1640. ; Given either in percentages (per-file), or in bytes, z- R* ^6 |, e4 p7 K
  1641. ; Default Value: "1%") l$ D2 ]7 B& K. m2 G
  1642. ; Development Value: "1%"! F' m  H  g1 }
  1643. ; Production Value: "1%"9 w1 n4 _2 `) W6 y. F& U
  1644. ; http://php.net/session.upload-progress.freq" B& M- f, J% B% [7 p
  1645. ;session.upload_progress.freq =  "1%"
    1 G. D$ T# _9 W7 Y; G

  1646. $ Q0 ~0 Q3 C& Z) w
  1647. ; The minimum delay between updates, in seconds
    ) J( q6 d+ ~, u  p; \9 T
  1648. ; Default Value: 1/ [" X0 i; N2 S5 U
  1649. ; Development Value: 1
    / q! `4 q6 V) o/ U" A  e9 `
  1650. ; Production Value: 1
    ' i9 }& Q' @1 H
  1651. ; http://php.net/session.upload-progress.min-freq
    9 f2 s7 A" M1 f% x! ^
  1652. ;session.upload_progress.min_freq = "1"" x& c$ b/ H1 D

  1653. + G- a/ X. U" X$ D0 {; a" B
  1654. [MSSQL]
    ( c$ @3 a7 U; y! G8 B$ O. m! _
  1655. ; Allow or prevent persistent links.
    , \* L& |' Q1 Z) ~3 r+ t
  1656. mssql.allow_persistent = On7 H: w0 b2 d  k7 `+ I' b9 I

  1657. # s6 K- Z% U6 `% ]
  1658. ; Maximum number of persistent links.  -1 means no limit.. P0 H6 y# ?* s* Y& e
  1659. mssql.max_persistent = -1
      R; ?' C& K% @5 f/ N

  1660. 2 L# v- k, Y8 ]6 S
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 W; H7 ~* i& c) @# e6 a# l! {
  1662. mssql.max_links = -1
    & \0 z& C* @% W4 I
  1663. # v  f8 r& M  X6 S7 ?4 k' [
  1664. ; Minimum error severity to display.1 r& g/ u$ ]! O/ T! T, Z" g9 h  ~" D  w
  1665. mssql.min_error_severity = 10. R3 [) F0 i; b" g9 N+ F3 w3 r
  1666. # }( q: u& F0 S& V
  1667. ; Minimum message severity to display.
    ( M. c. L1 b7 X8 j
  1668. mssql.min_message_severity = 10
    " L) l5 g- B" \
  1669. 7 x3 z, A  F' ?2 E9 C% e
  1670. ; Compatibility mode with old versions of PHP 3.0.( M! P( }# I% c) i  t$ o& J0 p
  1671. mssql.compatibility_mode = Off
    0 B6 O8 O& J! o4 l2 t5 m5 I
  1672. # Q% ~# j3 E( C- R8 a# f
  1673. ; Connect timeout7 }( J6 |5 s! m* h
  1674. ;mssql.connect_timeout = 5
    7 a2 C2 L' Z$ \/ L3 {! C
  1675. ' t  C9 `: u: |) D/ J
  1676. ; Query timeout; R& r+ x" ?6 w' s9 D  d" _( k! P9 {8 v0 F
  1677. ;mssql.timeout = 60
    9 `2 n) a! `) S/ q5 z

  1678. 6 ?$ ~0 P' |) R5 R0 x7 C- r' F
  1679. ; Valid range 0 - 2147483647.  Default = 4096.8 j# e8 o5 y. r6 Q& f) `: b) b7 H  W
  1680. ;mssql.textlimit = 40966 ^: m+ `/ H& I; q$ ^& H

  1681. ) |8 r- C+ \5 c0 P1 t6 j
  1682. ; Valid range 0 - 2147483647.  Default = 4096.0 S5 n8 _, h1 D4 T* P: K: i
  1683. ;mssql.textsize = 4096: @' V: w* A. i0 L

  1684. 8 y5 ?0 v5 g" i  V$ p! O
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    / n9 P! a2 w/ I; r
  1686. ;mssql.batchsize = 01 w/ M1 W& u/ ?( M8 i# D+ E

  1687. 5 Q% F! i. G+ K0 U; M6 `
  1688. ; Specify how datetime and datetim4 columns are returned
    ( j5 _- k/ i3 T2 F! ]; ~
  1689. ; On => Returns data converted to SQL server settings3 F- q3 J: a6 r/ k) g5 @
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 \' ?1 x4 Z  l/ |) V; T/ y8 B) a
  1691. ;mssql.datetimeconvert = On! m% C8 A" a3 I
  1692. * n- I; l  R& e" x$ [
  1693. ; Use NT authentication when connecting to the server- |3 }+ z1 M8 Z( b; j* I
  1694. mssql.secure_connection = Off
    4 E) g2 j+ u7 ]/ P
  1695. $ l8 m! X5 g, C
  1696. ; Specify max number of processes. -1 = library default
    8 G- Q; J! W6 {. s
  1697. ; msdlib defaults to 25
    * s: [$ `: G( j9 S
  1698. ; FreeTDS defaults to 4096% [9 Y+ G; c0 ^$ r' C
  1699. ;mssql.max_procs = -1: B, `' O2 E& f  J5 W3 Z7 S5 \1 [5 S
  1700. ! W* n) c' w. o2 k6 M, h
  1701. ; Specify client character set.
    1 k; H6 M0 m6 f) @
  1702. ; If empty or not set the client charset from freetds.conf is used
    9 b/ T4 g+ _/ g
  1703. ; This is only used when compiled with FreeTDS
    4 ^' {6 b4 |# }" F9 y! Y& h
  1704. ;mssql.charset = "ISO-8859-1"" Y4 g* f& ]  b' C: c; B
  1705. 2 {5 D  u/ ?; m6 l" s* v* ~
  1706. [Assertion]
    2 [/ C6 q3 k0 I9 V' a- ]: B" Q: \
  1707. ; Assert(expr); active by default.$ C% K' y9 l" D* Y/ ^+ ^3 ^$ z+ O
  1708. ; http://php.net/assert.active
    $ w3 G3 o  ~% N6 G' }
  1709. ;assert.active = On
    % z4 f2 s4 d; @. I8 {  Z

  1710. - k! h/ J# H2 R1 h" v$ d
  1711. ; Issue a PHP warning for each failed assertion.2 R- _! P7 f" P
  1712. ; http://php.net/assert.warning, y7 f. `" t4 f# ~+ ~3 |
  1713. ;assert.warning = On
    7 K1 {$ j/ x+ w, ]# h

  1714. , h! h( q, ~; T: m5 S  m# C
  1715. ; Don't bail out by default.
    ; V1 H: r! L8 T4 u7 _$ b( M
  1716. ; http://php.net/assert.bail8 k  e& W9 `2 [% E' q* D
  1717. ;assert.bail = Off
      B, E4 g/ e( t

  1718. , _6 r0 o9 c2 O. p" e1 Q1 Z
  1719. ; User-function to be called if an assertion fails.2 a. m' ?  s3 N$ p( h3 s3 v
  1720. ; http://php.net/assert.callback/ E& Z4 t& |# h
  1721. ;assert.callback = 0, Q6 _% X9 R; o+ c* l! M4 R# w% C( O+ }
  1722. ! T. p1 U: _+ F5 B$ H: }
  1723. ; Eval the expression with current error_reporting().  Set to true if you want# ?, x$ t0 n, A8 G6 R9 }
  1724. ; error_reporting(0) around the eval().
    % g; m" d" m, B6 n- O/ y
  1725. ; http://php.net/assert.quiet-eval
    2 O1 y( m7 S6 y9 `  y5 ?) l' {
  1726. ;assert.quiet_eval = 08 M7 w: @' E6 [1 F, L& P  y
  1727. ; \& Y, W) O. J: Z% g' ?2 S
  1728. [COM]
    ; z" U! V  |( u! ~* q3 P# s
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs  Q' N: O: e; z, m- b( s" s: P5 b
  1730. ; http://php.net/com.typelib-file) ^+ K8 g# e( O+ Q# c" j
  1731. ;com.typelib_file =
    0 F, ]. {% l3 m' Y$ \0 v2 Y

  1732. 5 v9 i! q( p5 {$ ~$ O4 ?
  1733. ; allow Distributed-COM calls- r" b# P- f$ F7 s. f$ Z
  1734. ; http://php.net/com.allow-dcom9 B$ ]* G  l2 b0 X& T! ^  o
  1735. ;com.allow_dcom = true
    3 D7 i: H' [2 n- b, @0 ^! D; m

  1736. " @* p+ o+ i5 r6 V0 v+ V" I2 C- R* n! k
  1737. ; autoregister constants of a components typlib on com_load()
    . U2 L' E* n+ Q
  1738. ; http://php.net/com.autoregister-typelib4 _, f! r3 y1 H) {
  1739. ;com.autoregister_typelib = true
    1 l' `  a& _. Q+ z

  1740. " Q! g) t0 I: ~' K2 y4 M0 L/ i
  1741. ; register constants casesensitive
    . ~; L$ \: y. Q7 Y/ I  o) E, w
  1742. ; http://php.net/com.autoregister-casesensitive, P4 a& \) m" f
  1743. ;com.autoregister_casesensitive = false: E% Z* a3 p4 Q9 o/ C

  1744. 6 ^$ F* u9 M" T9 }
  1745. ; show warnings on duplicate constant registrations8 Y3 Q1 j. U4 z- g2 A5 l
  1746. ; http://php.net/com.autoregister-verbose" b. }/ q$ k0 O1 M
  1747. ;com.autoregister_verbose = true
    0 M( n8 M4 V# M2 n# l0 |0 J& U

  1748. 5 w( h* i7 L/ s1 z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    & B* P) g* j  V$ s+ D5 J9 q
  1750. ; Default: system ANSI code page* W6 J  R$ a; }
  1751. ;com.code_page=6 {* k" S- R/ H, ?

  1752. * Y+ P% {5 s) z$ t( ?. i5 B% L
  1753. [mbstring]
    ) N6 w+ b+ e' W
  1754. ; language for internal character representation.
      y% f. N, h& t5 n& d5 b
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.$ I! ?5 |  D. C& e' [
  1756. ; http://php.net/mbstring.language
    - D+ v' ~1 E4 H) L; U# ]% i0 [
  1757. ;mbstring.language = Japanese/ }" Y  ?: p" E/ x" c. n
  1758. ; z5 B5 a+ M0 R" |' ~( X2 F
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 K8 _* ?% S  G* U7 W6 r& e9 D
  1760. ; internal/script encoding.
    5 ~  q. P7 }* S" T3 U
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)3 R! l: O2 ^9 e, h2 L$ |7 i1 f
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : U( b4 R/ |: j" U# U, P
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 z4 g4 t: D' }8 l+ d3 a! a
  1764. ;mbstring.internal_encoding =' E+ b9 u& g5 H7 a6 U* T0 u

  1765. " b8 h! e' b- b. [8 n$ ], b
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.0 a3 Y0 n  p! Q
  1767. ; http input encoding.. y' a* F$ h% |* e, E4 t6 P' G
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.1 u+ [6 ^* Q) b! W6 s
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.% |( b) ]4 ^( B) y
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - r, D% s1 Y9 s$ y% ?% `
  1771. ; http://php.net/mbstring.http-input. k2 [6 B" f3 j& t/ {2 y
  1772. ;mbstring.http_input =6 o& y9 n' T. ?

  1773. 2 i: _4 ]' x( }' z+ A
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " X$ Z/ c% @* ?& P# K8 u2 F& N
  1775. ; http output encoding.
    : K1 v+ G+ ]. I! s
  1776. ; mb_output_handler must be registered as output buffer to function.
    1 M5 H' d9 }, m
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    / x' n7 l3 ^. I0 U6 J
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output; B7 y6 Y5 v8 z% b
  1779. ; To use an output encoding conversion, mbstring's output handler must be set2 u9 j7 X6 ?5 `, T4 R! e
  1780. ; otherwise output encoding conversion cannot be performed.
    4 I8 @  \' e+ e( Y6 g1 g
  1781. ; http://php.net/mbstring.http-output
    0 u" |; O9 j- h3 d$ {# f* T
  1782. ;mbstring.http_output =# {9 g. Z8 n, R. ~6 |

  1783. ! e) ]) Q: b2 _5 F; P+ m" {
  1784. ; enable automatic encoding translation according to
    ! [9 p7 r+ d% F
  1785. ; mbstring.internal_encoding setting. Input chars are
    # L# ^4 k/ s9 G& N) t: d
  1786. ; converted to internal encoding by setting this to On.- e$ Z3 }' s: y/ D8 w4 x* d
  1787. ; Note: Do _not_ use automatic encoding translation for) x2 L9 I- i" V3 m  h$ B' o
  1788. ;       portable libs/applications.% S, u3 O* f6 y
  1789. ; http://php.net/mbstring.encoding-translation" e% N, E8 d, W7 R; ]5 ~. x
  1790. ;mbstring.encoding_translation = Off  B( a0 p* c. k5 x, }3 \

  1791.   M2 F/ a2 K$ p* I: a0 W5 C, q
  1792. ; automatic encoding detection order.+ p/ }: J$ t9 a
  1793. ; "auto" detect order is changed according to mbstring.language
    " f+ H. k  I( `0 I. H8 {
  1794. ; http://php.net/mbstring.detect-order. Z7 ~2 {' C1 K: p  P3 b& w! f
  1795. ;mbstring.detect_order = auto
    # F8 {5 a9 G2 H/ h) b/ r/ N
  1796. + `6 Q8 r- z7 L$ R  ?
  1797. ; substitute_character used when character cannot be converted/ E1 k' B" {6 H0 ^
  1798. ; one from another3 c3 p6 F1 G5 f: ^0 |! u  A+ R; Q
  1799. ; http://php.net/mbstring.substitute-character* X+ W' {+ ^6 J) J9 s: a* i
  1800. ;mbstring.substitute_character = none
    # \3 s  Y6 k# ^5 f# H
  1801. - l0 b6 Z- L# _. t4 h+ o- N
  1802. ; overload(replace) single byte functions by mbstring functions.+ A# q0 X: Y3 [, m1 V8 I
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 Z' D% `  i; K0 z
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.. h$ k7 U2 O" {$ _' T' q. c9 B
  1805. ; For example, 7 for overload everything.* m  M; S0 I$ y7 d
  1806. ; 0: No overload
    $ E5 S  w0 o$ P/ _( E/ J8 {
  1807. ; 1: Overload mail() function
    ( o2 a, d. W, N) G8 K$ `4 Z0 U
  1808. ; 2: Overload str*() functions
    1 p; e5 i$ c) [8 D
  1809. ; 4: Overload ereg*() functions6 `$ Y* @$ \* i* x4 j% e  H
  1810. ; http://php.net/mbstring.func-overload  v" e2 U; S+ `3 J4 i. A
  1811. ;mbstring.func_overload = 0/ z, Z% m0 Z  o2 E6 e% ^/ q

  1812. 4 ~& b! m% U. n
  1813. ; enable strict encoding detection.
    / o3 P) ]+ D# {& e
  1814. ; Default: Off/ ]! s7 e, v, l
  1815. ;mbstring.strict_detection = On/ [, v4 w2 f1 W4 |0 T* g8 I) M

  1816. 6 }' x: d$ z  d! S
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()7 p( z- I* Q+ F' T0 J* g: y
  1818. ; is activated.
    , s+ r" j8 v: n0 B) @0 l  l- W
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ) s7 [$ T; x( V
  1820. ;mbstring.http_output_conv_mimetype=% M2 _5 V% V* x: N5 v& R; b

  1821. ) y; p2 M" H+ R0 L
  1822. [gd]" ?7 N) l& J, n
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    , n2 F+ I' n- _: @
  1824. ; a gd image. The warning will then be displayed as notices- [, z. D5 ]  z* P
  1825. ; disabled by default
    " G8 {! `2 Z, y" Y# s
  1826. ; http://php.net/gd.jpeg-ignore-warning
    $ S7 d, W4 c6 n- A) o
  1827. ;gd.jpeg_ignore_warning = 0
    % {0 _; f5 E6 e  t- }6 s9 ]
  1828. 0 ?9 @8 \0 a1 B
  1829. [exif]& z$ ]- I) [2 v- f8 t- E. C
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    0 \7 ?6 U- u. t. l! S/ A/ S
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 ]; A1 ]) q4 x0 S! y1 L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 k$ i3 ^7 u1 H( y% R1 E/ E* ?
  1833. ; is used. For the decode settings you can distinguish between motorola and' L& Z3 E! T. h' E  r, n+ _/ |/ J
  1834. ; intel byte order. A decode setting cannot be empty.# E0 n8 \# ~: R1 l# L
  1835. ; http://php.net/exif.encode-unicode
    ' L6 ]" ]2 R$ ?+ F- W/ B. |
  1836. ;exif.encode_unicode = ISO-8859-15
    8 c6 W$ Z3 E  i7 {# i! `" N0 G" P
  1837. ( Z$ o+ s# K7 j
  1838. ; http://php.net/exif.decode-unicode-motorola
    1 u/ r# }# O6 X5 ^: d9 E! ?+ ?
  1839. ;exif.decode_unicode_motorola = UCS-2BE$ v, W3 y0 z: h2 P

  1840. 2 M, q' _8 F1 z
  1841. ; http://php.net/exif.decode-unicode-intel3 w+ M# X, R: {, D' _
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    7 x1 G5 Y; I& m8 d
  1843. 2 e  I7 T, s: L% t  P* {: P& S
  1844. ; http://php.net/exif.encode-jis
    ! o3 _" ~7 _! _9 z  E
  1845. ;exif.encode_jis =
    9 ^" H$ X1 R9 v) }

  1846. 6 B: [# V' T1 K9 f1 Z
  1847. ; http://php.net/exif.decode-jis-motorola
    4 E+ W3 F5 p- n1 y- e& c5 w  h0 e# B
  1848. ;exif.decode_jis_motorola = JIS, ^; x; B0 `7 ?# F: ^0 h- R/ l

  1849. 5 y; K! G. U6 t& x1 [
  1850. ; http://php.net/exif.decode-jis-intel9 w" |; S$ T3 u+ s
  1851. ;exif.decode_jis_intel    = JIS" C8 B$ I! T& h8 o8 L

  1852. + z; \: r5 P  c2 g' Y9 A. q$ O4 W
  1853. [Tidy]
    % _3 `$ y. Y0 l: v# k  @5 I
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 y9 m3 T7 f: o4 ^# o7 h
  1855. ; http://php.net/tidy.default-config8 v0 w; ^9 }0 {! }9 X
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 D  P% S% ^2 a% t6 H2 x# I; h% t' S5 L

  1857. 5 z; J; z: ?- x8 V' @
  1858. ; Should tidy clean and repair output automatically?
    * h9 r1 D2 h% O6 `+ _4 c
  1859. ; WARNING: Do not use this option if you are generating non-html content6 v7 u3 e$ C7 V* `* t9 J& q8 ]
  1860. ; such as dynamic images
    9 O! @$ `( o  |/ P) o& d" {! u( V! G9 E
  1861. ; http://php.net/tidy.clean-output
    ( ?6 F1 E! `1 S9 z- y
  1862. tidy.clean_output = Off
    : B+ ?* E" G9 q1 K/ k6 m

  1863. ' b: H& ]5 O  U# A7 q
  1864. [soap]3 l9 j. R8 `( ~) V0 O9 E4 k# T2 b6 @; l
  1865. ; Enables or disables WSDL caching feature.) K8 O6 b3 C7 M# @) M7 ?
  1866. ; http://php.net/soap.wsdl-cache-enabled# R2 A, Q( A% V2 Q; k- u: ?
  1867. soap.wsdl_cache_enabled=1
    1 a& I: M; W5 n; v' o% }. \$ N3 v
  1868. - Z% Y7 H# Z* n
  1869. ; Sets the directory name where SOAP extension will put cache files.: Z3 w) s% w- [
  1870. ; http://php.net/soap.wsdl-cache-dir' G5 q" m" o; Y% d% a
  1871. soap.wsdl_cache_dir="/tmp"1 t, w" r" [* F! b! S( i/ B
  1872. * Y& r# _$ e1 c2 @/ J
  1873. ; (time to live) Sets the number of second while cached file will be used* _6 O' S0 w9 b, M4 ]
  1874. ; instead of original one.
    # P% R8 V; u5 ^! \: |
  1875. ; http://php.net/soap.wsdl-cache-ttl* \' b; j; c$ T
  1876. soap.wsdl_cache_ttl=86400
    4 p! u3 L: m1 E" g5 X  s7 i
  1877. 9 j- [9 ~; J9 a( N. S0 ?. e
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' Z( k9 ^) n3 V1 r
  1879. soap.wsdl_cache_limit = 51 h# H# Y( I+ M8 X

  1880. " W6 V# `7 J* m* Y
  1881. [sysvshm]2 B5 |2 O* ~# @- v6 O
  1882. ; A default size of the shared memory segment
    * g6 U. Z4 y, v
  1883. ;sysvshm.init_mem = 10000
    ; w6 F- K4 W$ o

  1884. / p, g9 |9 X: S
  1885. [ldap]9 O# ^9 b1 A1 H1 [3 k% ~
  1886. ; Sets the maximum number of open links or -1 for unlimited.+ T* q) Z: V2 m9 R9 l
  1887. ldap.max_links = -1
    9 J. f, k1 q: ?1 V5 h

  1888. / B6 d* A8 Y# G2 ^0 V) ~2 u- i' _! ~
  1889. [mcrypt]
    . r+ `' T$ |. s' ^6 ?9 M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 Q  G* |* `0 n- f* Y, i$ D

  1891. 1 D! ^5 E. |9 t+ }4 X; N
  1892. ; Directory where to load mcrypt algorithms
    0 A( f& v0 u% r/ O6 _$ z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 y6 }2 V  R6 X
  1894. ;mcrypt.algorithms_dir=8 Z5 [5 s; x1 i* [& S
  1895. 0 u. Q2 r$ L9 q4 f; D/ O3 {
  1896. ; Directory where to load mcrypt modes
    2 i( T! B6 E9 I* i8 E3 \1 Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! B9 }+ ]& `. C; Y, T. C
  1898. ;mcrypt.modes_dir=
    3 f# ?( B! r( k
  1899. . i% ~% o8 t8 X! L: P
  1900. [dba]
    ; Z+ [9 }4 v8 t. Q6 o
  1901. ;dba.default_handler=
    : a% [- b: E5 I1 ?
  1902. - e  b1 {5 ?! |3 S2 F" G+ ]
  1903. [opcache]' t7 g1 p: w, f4 C, P
  1904. ; Determines if Zend OPCache is enabled7 w* C' R/ k' Q
  1905. ;opcache.enable=0
    / w) L; j$ @1 U$ {7 ?  V3 ^
  1906. # z9 [% m5 V; L) f1 u* ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 k9 O) B7 U3 H/ e3 e9 a
  1908. ;opcache.enable_cli=0) P" G. b/ ?$ j/ C- F
  1909. 2 K2 L9 U1 C8 a2 |' w0 \! J3 H
  1910. ; The OPcache shared memory storage size.& w( P' o; m# T8 ]; l
  1911. ;opcache.memory_consumption=64
    $ [2 P! V) L, J# Q# P: w
  1912. 1 D9 ]+ m0 C, k
  1913. ; The amount of memory for interned strings in Mbytes.+ ?, z, X% \" u3 K
  1914. ;opcache.interned_strings_buffer=4( u1 a2 f, |6 s# g( X. b! U
  1915. 9 v4 v6 B- I2 e2 Y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
      s# L+ o) ]/ s5 g/ R$ M5 a- [
  1917. ; Only numbers between 200 and 100000 are allowed.
    $ A0 T2 J; a- q
  1918. ;opcache.max_accelerated_files=20004 S+ Z! H2 v8 G( A* J
  1919. 7 J7 \- p7 \. A4 N; B: I# w0 t
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! R% O6 V; q7 e( N  {
  1921. ;opcache.max_wasted_percentage=5
    # u# U9 e' P9 I* c" q

  1922. ( A, e$ S0 f: O
  1923. ; When this directive is enabled, the OPcache appends the current working
    ) F+ ^, l* c. C5 u0 n+ S
  1924. ; directory to the script key, thus eliminating possible collisions between
    6 Q9 ?8 q+ B* T# u1 \* }' C3 q4 u
  1925. ; files with the same name (basename). Disabling the directive improves0 C. H4 s9 `/ l2 m. L  T- _$ T
  1926. ; performance, but may break existing applications.
    6 M7 M: W6 }0 \+ j( I; y' e* }- Y
  1927. ;opcache.use_cwd=1
    ; o5 X/ h6 a7 W

  1928. % {7 P, b5 H, K$ S0 @* y' K
  1929. ; When disabled, you must reset the OPcache manually or restart the
    : k$ G& t" p; {  v0 ?
  1930. ; webserver for changes to the filesystem to take effect.
    " Z* q% {( }6 l* d: W2 b; y; a
  1931. ;opcache.validate_timestamps=1
    " q6 H+ s. D! e: Z" ?2 ~
  1932.   ]/ S: c. L/ s# @
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    4 o. Q& s6 T: l  e& c) `, b
  1934. ; memory storage allocation. ("1" means validate once per second, but only( K+ a/ }! `( e
  1935. ; once per request. "0" means always validate)
    % I( \9 o/ P$ Y; k. K: `. J
  1936. ;opcache.revalidate_freq=2! ]1 U" x" {  o0 E1 L4 _
  1937. ' Q7 t7 A) e; g* x1 t1 x' n
  1938. ; Enables or disables file search in include_path optimization! {  G- y8 [( _
  1939. ;opcache.revalidate_path=0
    1 v$ k8 \" t" p/ W& @4 |7 g3 V8 U$ E
  1940. / X8 U' r: Q. Y6 ?/ e/ x
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the$ a9 }4 p+ i0 i. v# i$ g# e
  1942. ; size of the optimized code.
    ' U# x. N& A: e& {( f
  1943. ;opcache.save_comments=1- ?+ Z  x, O* B% L& A7 U

  1944. ) _: B) l6 t9 g/ T1 |
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      v9 r$ a. n/ `2 B
  1946. ; may be always stored (save_comments=1), but not loaded by applications3 C$ D2 l+ ?  a( f6 H7 ~+ r" q
  1947. ; that don't need them anyway.- g4 G- P- L" ~$ k" @; V7 |
  1948. ;opcache.load_comments=1
      H* O% C3 a9 A( D; h

  1949. 5 R5 r, j. B5 N" S. B7 N
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # U* X9 g* Q7 {; B+ a
  1951. ;opcache.fast_shutdown=03 ?# |7 x: _2 b5 ?: I8 l0 \

  1952. 3 K; z0 r. d1 f" [2 T
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    3 t9 g5 {# e$ e) u, e+ i
  1954. ;opcache.enable_file_override=08 s" Z) s6 {7 q7 ~' |: N! g( T

  1955. / |" e9 ]6 y. \" \' u8 s
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    4 |' d6 |, F: L# a+ W& \8 {1 S! m
  1957. ; passes
    * S) {# g' j* {  G# y; M# }
  1958. ;opcache.optimization_level=0xffffffff
    1 n. g+ C# q% ~/ H1 E
  1959. ' M1 Q9 |% w/ c4 X# i2 |! R8 e7 E
  1960. ;opcache.inherited_hack=1" ~( s6 `( Q* u/ U& v, O
  1961. ;opcache.dups_fix=0+ U& o2 O0 M- H

  1962. , @" t# ?6 ]+ |& M" I$ w2 q/ T4 X
  1963. ; The location of the OPcache blacklist file (wildcards allowed).# t" v' l2 h- R7 [1 `5 V
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    6 M. ~1 d2 _! f6 |" [) C. H/ E
  1965. ; that should not be accelerated. The file format is to add each filename
    : }: q# X& ?6 Q" P6 j5 S3 t
  1966. ; to a new line. The filename may be a full path or just a file prefix
    / E# }/ Z5 S; {7 W9 E
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www3 w) g0 F7 f. W$ x3 S3 J
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ ^( B6 g: X& A* l# f
  1969. ;opcache.blacklist_filename=
    ) E7 a/ f4 ^8 D$ z6 f/ c! y- N& U# M- \
  1970. % S$ _: k- F5 m. ~/ w; b# @$ {' r
  1971. ; Allows exclusion of large files from being cached. By default all files
    * x% \- d9 d. x: k% j
  1972. ; are cached.
    9 m( G* F5 l- ~- {  M4 Y
  1973. ;opcache.max_file_size=07 ^: n0 e& z5 ?- G
  1974. 6 p. o9 j$ T, Q5 z# C* M
  1975. ; Check the cache checksum each N requests.
    ; t  B! u$ I1 C; L2 S* i
  1976. ; The default value of "0" means that the checks are disabled.# P- k- h5 L% u1 T
  1977. ;opcache.consistency_checks=0# g- e* t4 W7 j& f
  1978.   A* c/ M0 \) U2 d) F. w1 X" |' C
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ! s8 T: F* O  d& j. ~6 \! G
  1980. ; is not being accessed.
    0 P, T  D' Y0 b9 L
  1981. ;opcache.force_restart_timeout=180
    ; ]2 O& |4 o( n. h+ Q! }

  1982. 0 @/ ^( `& X7 b" w0 }2 G+ o/ u
  1983. ; OPcache error_log file name. Empty string assumes "stderr".  t5 [. T2 a+ _
  1984. ;opcache.error_log=& o+ ?% W% K' `7 _9 l
  1985. ) F# `  k6 h( p! }# x
  1986. ; All OPcache errors go to the Web server log.
    6 [/ Y! v  [  f7 m5 i' f/ V
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    / ?# a! p  t4 h2 b8 C
  1988. ; You can also enable warnings (level 2), info messages (level 3) or0 z, V% E0 G: v- U9 I# e% M
  1989. ; debug messages (level 4).  |* }. ~0 K4 t. W  [) I
  1990. ;opcache.log_verbosity_level=1
    # n6 L. b5 e( `) B7 t+ m$ I
  1991. % v5 E8 Z4 |, l$ o' v  a% j1 z9 M
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) n: h0 c% ]. x7 u: A) E* e
  1993. ;opcache.preferred_memory_model=0 |( b8 x8 B$ W# c. [; q

  1994. " V5 W4 |) |2 _. B6 x" O  [& ]  p
  1995. ; Protect the shared memory from unexpected writing during script execution.
    % l; O$ c, x/ x1 f+ Q" a( }5 p
  1996. ; Useful for internal debugging only.7 L/ _7 G- g4 ^* A
  1997. ;opcache.protect_memory=0
    4 x+ ]5 P& f: m$ F6 s/ ?2 {
  1998. 0 Y0 I3 ]7 F1 u& ~7 x( ?6 ?
  1999. ; Validate cached file permissions.
    : M! ]$ W4 f* n
  2000. ; opcache.validate_permission=01 x) R* T/ e+ ], q4 m: q: T

  2001. , [# N5 s4 p( j2 h
  2002. ; Prevent name collisions in chroot'ed environment.2 C) q& g! }' p# ~1 {( O- ^5 Z
  2003. ; opcache.validate_root=07 Z$ {0 O3 d6 g4 U

  2004. 9 X  n+ R2 E- u* ]! r+ F
  2005. [curl]
    + f- K4 q! c+ j6 y
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    9 N4 X) e  w- h/ H, u+ g
  2007. ; absolute path.
    ) W; k# p5 S9 T- Q7 B, ]9 ~; l6 p
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt$ l! {. E6 |% Y) ?
  2009. $ Q- v; z8 ~5 h8 b% K& e
  2010. [openssl]
    : o  x# W7 y% c) J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem% s5 L+ W8 e/ r1 e$ a
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should% t" p( x) Q5 I$ b
  2013. ; not specify a value for this directive as PHP will attempt to use the
    & @, `' W8 `* _* z) x5 S. f4 N
  2014. ; OS-managed cert stores in its absence. If specified, this value may still' v0 A7 ^$ p& a, [0 Z4 h  D- |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; v9 _1 y: f! k
  2016. ; option.$ N$ [; j$ Q; V# a+ P
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 D3 x. ^7 R# s1 L4 j: ~) a
  2018. - o5 H3 j8 J' ]0 f" C: O
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the- u& d; R( t8 O
  2020. ; directory pointed to by openssl.capath is searched for a suitable& Y2 J; y; f1 O: q  e
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 \& i. f0 j" S: Z" c
  2022. ; Most users should not specify a value for this directive as PHP will
    % ]  O+ e" \" l+ d% j$ c' d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    6 |. K8 o. p9 W( s
  2024. ; this value may still be overridden on a per-stream basis via the "capath"9 y3 F! m# R. V0 |
  2025. ; SSL stream context option.
    3 P. n! ]- Q" a9 ^  ~; m, ~
  2026. ;openssl.capath=
    7 W  e8 ?; d2 Q" ~4 h1 L7 |

  2027. / V, R0 J: _/ n$ T
  2028. ; Local Variables:' x: K% _1 n  e9 ]
  2029. ; tab-width: 4
    ; Z! y* o1 x; f% D' I9 `) a$ G! l& f
  2030. ; End:. V1 ?7 o7 Z3 K$ o
  2031. ; `2 R" V" v& v& P0 [+ j4 N3 }) Y% Y
  2032. ;eaccelerator0 \4 j& x. ?: U$ k: m

  2033. ' G6 Y) |* ~4 {! v
  2034. ;ionCube7 M" m% \( A8 c( ~0 {
  2035. 5 b+ q" v" l4 t1 |
  2036. ;opcache
    & t- |6 v: i+ E: @0 B

  2037. * R2 M; ~; K0 |4 \  A
  2038. [Zend ZendGuard Loader]
    & n$ Y# I' h# E; |) W
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so/ M0 I1 B# @" X5 p* o
  2040. zend_loader.enable=1
    # \0 I) E% j$ c7 P( \" s+ t+ k% ^
  2041. zend_loader.disable_licensing=0
    4 Z6 H8 [+ @6 Y% _* S2 q
  2042. zend_loader.obfuscation_level_support=3; ^- B  G" L9 U
  2043. zend_loader.license_path=3 ]7 f! O$ @0 ]5 ?3 Y+ `

  2044. + x, T; [% w) \- L% P9 o
  2045. ;xcache
    ) T  E) I4 a* L' B7 q# v

  2046. + ?4 U1 F) U4 I: ]; z) |
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146921 }' R& p4 }- {" _

3 F7 i- m1 k5 x4 Q7 ?; E5 `8 F" m. B3 [7 l: l5 O
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 t: V) R) ]) Q5 k
9 R6 D, O; G6 o9 z1 E$ [% g( _
Discuz!程序版本选择:1 i1 n3 O+ D1 W: f/ P- ~1 R
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
8 M9 q6 q3 `8 i* D' X% U1 e不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:' ]8 S/ X- w+ P. g% P* w$ h
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。
  t2 y& e% X: r$ ~' T7 @4 E2 T- q7 E, Q5 B
Discuz!插件模板版本选择:
- l( O; B5 {# u% h( a很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
) w" x7 y- T! c1 ~6 K针对这个问题做个统一的普及:
' D. Q, O9 Z4 u; Y8 N' BX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。/ @( J( B( a6 L9 T9 S

' d+ `" y" U( [所以
( x& |3 l5 Z& H" {/ D适合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的二级域名。
7 y- @3 X& o1 y6 \7 Y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。$ S3 ^7 Q: c8 ?& o5 }( j% d1 T
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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