分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0. _4 U# B% c9 e
7 j, n2 G) ]* @& q+ e  f2 X
  1. [PHP]
    5 y7 G$ E/ n) k4 X' Z0 `9 _- N: L

  2. ' i' ^/ o+ y$ Y* x. `6 Q1 g7 X
  3. ;;;;;;;;;;;;;;;;;;;, d2 l4 @- N1 U0 x4 {$ |
  4. ; About php.ini   ;; d% M3 m9 ~# Z$ W* ]5 J
  5. ;;;;;;;;;;;;;;;;;;;
    7 R& J. U. n. v# ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    : V# f, n7 T2 @% V- B
  7. ; configuring many of the aspects of PHP's behavior.1 ?, W) }; o# t; @; p6 \

  8. ) s; u7 g) u) ~5 i' c
  9. ; PHP attempts to find and load this configuration from a number of locations.- }5 ^" u* v% y
  10. ; The following is a summary of its search order:
    ! T* N9 }! p" `) l# U  F9 V+ {5 M
  11. ; 1. SAPI module specific location.8 m! U3 R: _4 u. ^7 D7 t
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    " Q9 _  J! a' r. w
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 c4 G+ P5 u0 v+ ]& g* B5 i. B
  14. ; 4. Current working directory (except CLI)
    7 b; i4 u5 ^1 s1 ~1 K5 C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 E+ T) T  O8 x
  16. ; (otherwise in Windows)7 |( W4 _! [2 T3 ~+ q& c
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : j: p/ H# z& c( N8 s
  18. ; Windows directory (C:\windows or C:\winnt)3 [7 s3 P" a- x) ?% G9 K
  19. ; See the PHP docs for more specific information.* D" y- l: T2 T( G% q5 i; @1 X% z
  20. ; http://php.net/configuration.file. [8 g2 p1 u% a) h! n

  21. : H' ]. z9 j5 V
  22. ; The syntax of the file is extremely simple.  Whitespace and lines+ I9 R! k/ G- t) X+ j* Z: L! ]
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    # ?. ], I4 c3 y7 v% Y( H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 F. g6 h, B2 W5 p% ~
  25. ; they might mean something in the future.
    0 h! E- k6 s' V; {  ?% j
  26. " ^1 {: G4 B, g0 |
  27. ; Directives following the section heading [PATH=/www/mysite] only! V  \2 {& I- g- w( j
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 E9 P! C* n0 ~* Z" i) [2 T
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 \  Q* u/ M" H( G( `: m
  30. ; PHP files served from www.example.com.  Directives set in these( u5 T8 i& h2 Q2 ~
  31. ; special sections cannot be overridden by user-defined INI files or
    + b4 U" B. _4 p" b7 {$ J0 L7 }
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under$ U# {/ x( C# j" J$ M% O
  33. ; CGI/FastCGI.
    ( k2 b9 v1 H; n
  34. ; http://php.net/ini.sections* p2 z; w6 X  U. ~2 {( a& }. H+ S7 N

  35. 3 l/ W, D2 Z/ U9 Y
  36. ; Directives are specified using the following syntax:
    : m* l  |: R1 e- g5 A
  37. ; directive = value
    8 ]: H$ u5 _  `8 Z6 v) r
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. {6 D3 I6 _# |9 ]# w% C+ b
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " T2 S/ A" t" x+ L; A  ~5 n
  40. ; There is no name validation.  If PHP can't find an expected
    3 [4 x% L7 t, c* M
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 o' e: N5 H) L& u' h

  42. 4 L# M6 n# C& _/ _2 D% p0 D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ ]1 V* V7 v& U# h* ^) q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression& S8 u8 y4 s: e2 ~% Z
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a+ V/ u8 [2 q; ~! K6 E8 o5 }
  46. ; previously set variable or directive (e.g. ${foo})
    " u8 i7 t& F# l7 k

  47. " v5 t9 p$ Z: m- j/ L) L! G; q+ z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:- q. w6 A6 g1 q1 a* X8 C
  49. ; |  bitwise OR2 D" l0 N5 M9 \8 y
  50. ; ^  bitwise XOR* D2 v5 B+ d, P3 `' G
  51. ; &  bitwise AND/ s0 _: {+ T/ j* M) h+ r
  52. ; ~  bitwise NOT
    . P8 D% e( b( E
  53. ; !  boolean NOT
    & t' b# Q$ F& V- \* m! p

  54. & T& W$ c- }8 X* m
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.. I/ N& k& f1 j) w$ ], C
  56. ; They can be turned off using the values 0, Off, False or No.
    ; I5 q: i8 S$ e
  57. # k$ C+ V% @- l! n1 h' q9 L+ `2 o! O) F
  58. ; An empty string can be denoted by simply not writing anything after the equal' q. W/ p' i( k) c6 ]
  59. ; sign, or by using the None keyword:
    2 n8 P! r3 n1 q8 _2 S' z
  60. ! F$ m0 h, a& j
  61. ;  foo =         ; sets foo to an empty string6 M! X4 w( q8 Z( w
  62. ;  foo = None    ; sets foo to an empty string+ ^4 R$ g9 a+ w; ^4 t5 C
  63. ;  foo = "None"  ; sets foo to the string 'None'8 t2 B! f' J. O3 c$ @: C

  64. 4 p- ]" |" t( L
  65. ; If you use constants in your value, and these constants belong to a9 k7 J2 y( j7 d+ ~
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 t9 |$ P6 j% i: G
  67. ; you may only use these constants *after* the line that loads the extension.
    - f" t* |8 {4 z4 Z
  68. , q0 L3 x3 f9 q- j+ j3 M" n- }5 Y
  69. ;;;;;;;;;;;;;;;;;;;
    * x% p* Q7 [- W) m. m
  70. ; About this file ;4 `7 w. K8 n6 D$ c
  71. ;;;;;;;;;;;;;;;;;;;
    * ~( x) C6 F4 y4 v9 X$ h) E2 J+ s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' e/ p5 u: j4 K
  73. ; in production environments and one that is recommended to be used in
    ; m7 @  T0 l  y+ Q# \& Z
  74. ; development environments.
    ( K0 `1 j, s2 u; w/ s
  75. * s& W) n; S1 v
  76. ; php.ini-production contains settings which hold security, performance and" r; }$ F3 _0 O/ Q, Y" c9 M
  77. ; best practices at its core. But please be aware, these settings may break
    0 h. m* R. f$ e) ^3 o9 X
  78. ; compatibility with older or less security conscience applications. We8 P7 {, g6 S" ^" T( w; S
  79. ; recommending using the production ini in production and testing environments.1 K: [$ r, T1 Q( b* U% Y
  80. . O; p: r" {7 c4 ?
  81. ; php.ini-development is very similar to its production variant, except it is
    - H% D- y# ~) n. R$ ?# q8 W
  82. ; much more verbose when it comes to errors. We recommend using the
    , A6 T( u9 }% ^4 S3 Q
  83. ; development version only in development environments, as errors shown to
    . o; |- m( u: k$ q3 Q8 v4 w6 |6 @' X
  84. ; application users can inadvertently leak otherwise secure information.
    & g& l$ W; h$ c; b

  85. / D+ w; c6 C- i3 `' e/ P
  86. ; This is php.ini-production INI file.6 H/ X, F" T( [1 l$ G" {
  87. 7 T2 X4 m: x4 ?- Z7 s
  88. ;;;;;;;;;;;;;;;;;;;
    6 s: s/ b& x. M# o/ [4 r
  89. ; Quick Reference ;6 D* y! H  Z% D
  90. ;;;;;;;;;;;;;;;;;;;0 r+ d4 ]; t; p, D6 h
  91. ; The following are all the settings which are different in either the production( B8 @  i! d* S$ |
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ) a  M3 h  c; L8 w1 }1 ]
  93. ; Please see the actual settings later in the document for more details as to why
    + w' {) F7 A2 N+ u* Z
  94. ; we recommend these changes in PHP's behavior.
    ) K: U( t* I4 t; q6 b( ]3 ~- w! N

  95. 6 F7 z. j* o+ Y, y2 j; H! N* }8 c" i
  96. ; display_errors8 p7 F) H7 d, N2 B) k
  97. ;   Default Value: On4 _, F! K% \1 }/ s* q
  98. ;   Development Value: On
    2 W* k/ Q/ k6 \5 {' d; ?8 \/ Z
  99. ;   Production Value: Off
    7 K5 {; c) ^, T2 z+ e

  100. & z- @" Z2 T7 Y& y% u! q
  101. ; display_startup_errors- |. u# Z7 m! e# E
  102. ;   Default Value: Off
    * E4 [1 z4 E) q" p# x
  103. ;   Development Value: On4 _7 _; ~( D( K1 m/ C
  104. ;   Production Value: Off8 c6 T! ?$ f1 \, F/ y

  105. 4 X( z, a: \1 j' |6 _
  106. ; error_reporting
    # v4 l1 c) y4 u- S  c5 T8 ~( }
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , o3 @+ p% `  V0 l
  108. ;   Development Value: E_ALL
    ' e, P3 H* J7 z. y2 Q4 m/ v
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, j1 v6 G& F$ }" W5 {/ y) J
  110. " ]  `1 [# e6 `; _  r
  111. ; html_errors
    . e+ l7 c: w; x4 G) D2 Y, I4 A
  112. ;   Default Value: On
    5 e9 D3 F2 ]$ X3 N1 `+ K% n& N
  113. ;   Development Value: On
    " m0 v  P- e: }- \2 ]
  114. ;   Production value: On
    1 v2 T3 \- z/ m. Q0 |% z

  115. " ]9 Y9 k5 _# c0 n
  116. ; log_errors
    1 i  t4 q$ k9 j5 B
  117. ;   Default Value: Off- @- K" d0 j0 t! \0 g/ h$ X5 E
  118. ;   Development Value: On
    5 i' I: L& _; {5 f
  119. ;   Production Value: On
    % J* x' B5 ?3 ~( C4 L- x

  120.   b& \- H8 L% z2 L
  121. ; max_input_time5 o' a0 h; Y0 {& W# ?
  122. ;   Default Value: -1 (Unlimited)- i0 p4 N  T- `; Q
  123. ;   Development Value: 60 (60 seconds)/ P) r8 H/ C  E  o( B) u
  124. ;   Production Value: 60 (60 seconds)
    4 i2 l& |9 ~3 E0 j+ g

  125. ' h2 v& ^4 ^, e% F
  126. ; output_buffering
    $ Y, b" c2 ~" o: l6 `9 n+ V' v+ o
  127. ;   Default Value: Off
    ( v" E: u8 U1 K5 t! p
  128. ;   Development Value: 4096' k; y: X; V& x5 R$ o" D
  129. ;   Production Value: 4096
    8 ^+ `4 ?9 N+ v% Y* [7 l' d( W
  130. 9 x0 f! f0 T  v$ B
  131. ; register_argc_argv! n+ |2 @# Q9 c; K$ t$ ]
  132. ;   Default Value: On3 D6 I( n  @- e+ E$ i
  133. ;   Development Value: Off: ]: N* _; l- {  R& k7 k4 ]
  134. ;   Production Value: Off- r# T! V+ D% e3 F; f1 {1 X4 [9 i5 B: S
  135. % A3 O0 ?9 P8 x7 \: U- f
  136. ; request_order* s# q7 @( o' W! I2 L
  137. ;   Default Value: None
    2 d; k1 ?4 e+ r- S; B
  138. ;   Development Value: "GP"- j& o8 `5 q) Y
  139. ;   Production Value: "GP"' K3 _/ s0 b( ?7 w) s, y7 |

  140. 7 }( r& O7 Z: r$ y# m
  141. ; session.gc_divisor: r9 n  O. R' B, Z/ ?& f4 p
  142. ;   Default Value: 100
    $ n! q( I! k% z7 d- s9 q, m
  143. ;   Development Value: 1000
    % T4 Z: v3 o' f0 H2 x( |! ?
  144. ;   Production Value: 1000
    0 H- I: A; b; I0 K* \1 H6 [
  145. 7 P  s- R$ r! r. s
  146. ; session.hash_bits_per_character5 `$ u, H4 X3 N7 v5 Y/ b' q1 I$ @: m. D
  147. ;   Default Value: 47 \, s1 m; J0 w/ c6 `; z$ ^
  148. ;   Development Value: 5' J: K  z  }0 ^: V) o' v* ?$ f* P' y
  149. ;   Production Value: 53 {2 T) |, b7 e+ T
  150. 9 f2 [, H* Z( a
  151. ; short_open_tag$ S9 b" \7 x% @- S1 P
  152. ;   Default Value: On. k7 h( H; \1 p
  153. ;   Development Value: Off
    ; J# Z% V" t  C# J' a2 ^8 j
  154. ;   Production Value: Off2 d+ W# J- C$ w+ u

  155. 7 ^% F+ q: v' D9 r8 z$ ]* [- }
  156. ; track_errors- u5 w! d1 ~2 w
  157. ;   Default Value: Off
    2 {. G. u  x6 |/ P
  158. ;   Development Value: On% ^2 S7 _0 ~1 D2 [- t( Q+ ]
  159. ;   Production Value: Off' Y! R# w! ~6 C! t* Y
  160. 5 i. A0 ^, s; }) ]
  161. ; url_rewriter.tags) n, f; z# g! v
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 u( l7 o; a7 U0 X
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 p( y. l) Y3 d3 U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - w) V' r$ D4 {$ r5 U8 V1 K
  165. 3 h3 Q0 q- @$ r5 ]
  166. ; variables_order
    ) ?6 l/ c- P& k+ d
  167. ;   Default Value: "EGPCS"- S4 i; X) e  p& Q
  168. ;   Development Value: "GPCS"
    2 c4 B7 i" y, ~3 H
  169. ;   Production Value: "GPCS"
    ; S4 s' ?5 d' W# v
  170. " m, J  i; A2 k
  171. ;;;;;;;;;;;;;;;;;;;;3 |% P. _! x% M7 W) o
  172. ; php.ini Options  ;( M# `3 r$ m/ J9 Q
  173. ;;;;;;;;;;;;;;;;;;;;3 n: l# ?$ P% k, \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , `. X9 H3 }. c: G
  175. ;user_ini.filename = ".user.ini"
    , u* m# q1 S' [0 C9 C
  176. 7 l! j. j  h2 v3 Z0 u
  177. ; To disable this feature set this option to empty value9 r+ r* \$ N9 r# ~  K
  178. ;user_ini.filename =# p6 E1 q' V* e4 h+ N
  179. 1 y) j2 g) ^  H6 _$ w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): X: ?( n8 G% v7 y- u  d& t
  181. ;user_ini.cache_ttl = 300
    0 {2 p" L2 v9 O+ O

  182. - s0 Q6 m! ~! S1 C
  183. ;;;;;;;;;;;;;;;;;;;;
      n! O  |  k# V' X3 u2 D8 `$ X
  184. ; Language Options ;
    $ p' P5 H0 L# \5 p* ^. G
  185. ;;;;;;;;;;;;;;;;;;;;
    1 U- P- l2 i3 l7 k1 W8 S

  186. 6 H8 C" L3 m4 |0 q
  187. ; Enable the PHP scripting language engine under Apache.( K. ~) ~5 w- t; _4 M
  188. ; http://php.net/engine, i; l6 h6 ^, E% u- {$ {
  189. engine = On
    ' Q: E  F( D5 X
  190. 4 ]3 e9 Q6 {9 Y& Q8 U
  191. ; This directive determines whether or not PHP will recognize code between
    3 r3 d0 J4 z6 s. I4 N1 E1 U- Y- z* Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% ], a- R9 ^- N  o4 Z* h) _
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & [, r6 y/ h( Y& e" ?/ Y, A& u1 z9 }. o
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . B) S7 t* q2 t- l3 s9 M& W# g
  195. ; documents, however this remains supported for backward compatibility reasons.7 f8 |" l0 F2 {4 B
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " k' k5 ^% I1 J% U. `
  197. ; used regardless of this directive.% U! i3 e% N4 E4 @! ^
  198. ; Default Value: On
    3 \8 C+ ^+ j2 V2 U8 ?4 Q  R) y
  199. ; Development Value: Off
    + ]/ L. Q( P  U7 `
  200. ; Production Value: Off
    ! E/ H& X. G" S4 p, r+ y# Z
  201. ; http://php.net/short-open-tag& Z- B* h  j, j- |$ E- }/ m
  202. short_open_tag = On
    : t+ z5 k% V0 n4 x! U
  203. + h. d& y& `  ?3 x7 F1 N3 k
  204. ; The number of significant digits displayed in floating point numbers.7 U  ^8 V: Z1 x- f8 z3 v
  205. ; http://php.net/precision5 k. o+ z8 s% n% B
  206. precision = 14" ?, e. z0 Q1 Q6 h' w4 X7 a

  207. 0 A* Z! d: T/ H* K
  208. ; Output buffering is a mechanism for controlling how much output data
    - l- A6 A) {' u7 S6 V7 H
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! \4 i  a) A6 {
  210. ; data to the client. If your application's output exceeds this setting, PHP) L) r( T! [/ r$ T: I8 u
  211. ; will send that data in chunks of roughly the size you specify.$ B: N, K/ g/ D2 h! w% Y. `
  212. ; Turning on this setting and managing its maximum buffer size can yield some+ z. \% \, P7 ~: V% f
  213. ; interesting side-effects depending on your application and web server.$ F& [1 C3 Z- q- ?. Z0 K: u/ E; n9 v
  214. ; You may be able to send headers and cookies after you've already sent output
    " N! Q& z* r1 Y6 P. M, g5 e) D- T3 v' j
  215. ; through print or echo. You also may see performance benefits if your server is
    9 ~' O" V3 |. N8 m, S+ K# |. B" |
  216. ; emitting less packets due to buffered output versus PHP streaming the output: R2 n, {2 e1 _8 y) ~( _
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* q3 T. z8 f1 c
  218. ; reasons.
    0 Z; w! X; u( s$ R) M$ S' J6 j
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    : B0 O7 e5 s0 A& X8 ?* i
  220. ;   functions.
    * `! F8 L( c( Q- P  q  ^& }7 x
  221. ; Possible Values:: [& y4 F9 J' @5 `% v# Z2 j
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; ^. R( R& v- ?! l6 J
  223. ;   Off = Disabled
    ( t+ L1 W& A1 O3 q) A, C, i
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , r  [0 H( ~) t; I: ]
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 e6 |. x4 c$ \' v: f8 ^! g
  226. ; Default Value: Off6 L* o9 o- M: L5 h/ L
  227. ; Development Value: 40964 H; t4 U7 d5 J. n1 i/ z3 Q
  228. ; Production Value: 4096
    % d( J$ _2 f- ?- a0 z2 J  t8 _; m
  229. ; http://php.net/output-buffering
    ' ^$ O6 u2 q3 d
  230. output_buffering = 40967 x5 B9 q6 [7 w
  231. ! F) n/ |% j+ o* g8 G; n! q
  232. ; You can redirect all of the output of your scripts to a function.  For7 @  `6 A3 Z  j+ T
  233. ; example, if you set output_handler to "mb_output_handler", character
    ) S5 q3 L& Y5 ?% ?
  234. ; encoding will be transparently converted to the specified encoding.7 F) y+ h4 a, C( V2 [( N
  235. ; Setting any output handler automatically turns on output buffering.4 `# [  ?+ W$ M3 t! A0 J
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ; {( Z, N1 l& A9 q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    . E* U+ k5 U0 h% f/ B3 o# B/ ]( K
  238. ;   Using this ini directive may cause problems unless you know what script
    ) X- o/ }7 }, I( ]
  239. ;   is doing.0 C9 M- R* d3 q. w, y
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    4 C/ p. l) \- M0 R$ A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      M$ q! }& [0 ], N+ B. j6 c
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 ^6 D: U5 i! ^- U
  243. ;   Instead you must use zlib.output_handler.
    % _0 R) k+ b$ Q: Q$ d/ G' X7 Q( ^
  244. ; http://php.net/output-handler; K  `# {- x8 B6 P! e5 f* z
  245. ;output_handler =
    6 n( j. X8 S* T: E6 f# w
  246. 7 S) q: `, y  q7 b2 }* [  n1 H2 s
  247. ; Transparent output compression using the zlib library
    * E7 p5 p/ L; l. y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; k- b* r: g$ j* A- Y' [- @% j
  249. ; to be used for compression (default is 4KB)
    * M& D2 V0 G6 c" A; Z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 |: G4 e# O8 H3 @$ D
  251. ;   outputs chunks that are few hundreds bytes each as a result of2 s4 w+ R. N0 n' I7 V% P% Q9 h
  252. ;   compression. If you prefer a larger chunk size for better, p) I7 O8 V4 @$ Y1 c
  253. ;   performance, enable output_buffering in addition.
    % K+ u( ~; l: G2 b5 B# v
  254. ; Note: You need to use zlib.output_handler instead of the standard" y& K: Q- E' `; B0 l9 s0 {
  255. ;   output_handler, or otherwise the output will be corrupted.% o' @2 G  u- u' O
  256. ; http://php.net/zlib.output-compression
    $ E1 \7 G: b/ X/ X' w, a. E
  257. zlib.output_compression = Off
      o; U! t( i2 L& H
  258. % S1 K0 R% w" x! k. L
  259. ; http://php.net/zlib.output-compression-level
    7 x. _6 Y! R5 w) z5 N- R
  260. ;zlib.output_compression_level = -1! P4 u6 u2 H# w/ l* ~+ z  _, e

  261. 4 n% }/ n9 r8 `4 H( N, R' Y
  262. ; You cannot specify additional output handlers if zlib.output_compression2 ~$ ]/ ~7 B( G- _
  263. ; is activated here. This setting does the same as output_handler but in; O; l( z. B' Y1 B  f( w3 |. b4 G
  264. ; a different order.
    $ [4 S% ]. @7 Z- p, m7 ]# O, j
  265. ; http://php.net/zlib.output-handler
    8 N8 z7 r4 R7 e* i. b" N: ?4 y1 `
  266. ;zlib.output_handler =/ h" e$ _! X7 o' P
  267. ' ]0 T' E8 Y% ?' u, F3 H% L
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    + b5 x( R+ L/ C* {
  269. ; automatically after every output block.  This is equivalent to calling the
    ! \+ |8 y/ D, [2 d) N# W% |2 d
  270. ; PHP function flush() after each and every call to print() or echo() and each
    6 l( S9 B$ r1 f5 c
  271. ; and every HTML block.  Turning this option on has serious performance' B2 V' \! R# t" u& T
  272. ; implications and is generally recommended for debugging purposes only.
    - Z. N  b, n- B# E: l6 t( K
  273. ; http://php.net/implicit-flush( Z$ z6 y5 w% O
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 M  @* m' c  f
  275. implicit_flush = Off
    ) g) a7 Y: z* }
  276. 9 a; c8 c% {: ^! ~$ G& h$ D0 m' L3 v
  277. ; The unserialize callback function will be called (with the undefined class'
    : j4 X* s* K- E* U0 Z# B
  278. ; name as parameter), if the unserializer finds an undefined class
    3 k3 i/ Q, {. t$ F
  279. ; which should be instantiated. A warning appears if the specified function is
    ) ^* ~- T, f3 {. W4 r7 p) L+ F1 L
  280. ; not defined, or if the function doesn't include/implement the missing class.6 x4 o3 [$ S" C3 J2 j- Z
  281. ; So only set this entry, if you really want to implement such a
    % N8 \! C& j5 A3 j2 K6 L
  282. ; callback-function.
    + f  G6 X* x: j6 |
  283. unserialize_callback_func =
    # ]# j4 K7 f& V5 Y2 F6 u$ R, m
  284. * e/ a$ J) R2 A4 D  {3 {( s
  285. ; When floats & doubles are serialized store serialize_precision significant
    % W8 m. p* C! d; G3 j4 e
  286. ; digits after the floating point. The default value ensures that when floats( y7 \3 a& Z/ s
  287. ; are decoded with unserialize, the data will remain the same." K/ x6 @1 o& D0 K
  288. serialize_precision = 17* x- X/ f, ?1 p& m
  289. , X% U( ?$ x' R( w1 {( b
  290. ; open_basedir, if set, limits all file operations to the defined directory1 `( s  _2 z, J+ O
  291. ; and below.  This directive makes most sense if used in a per-directory( @6 B! v# E& {6 s# B1 b
  292. ; or per-virtualhost web server configuration file.
    - W+ Y- m3 \4 S
  293. ; http://php.net/open-basedir
    + A( R4 R' |. @; D& H
  294. ;open_basedir =6 f  M# O+ V. W

  295. * w3 h% |1 H5 ?. w: v  {! D
  296. ; This directive allows you to disable certain functions for security reasons.( g# C. k+ p" s& d- p! U/ s
  297. ; It receives a comma-delimited list of function names.+ a5 b& [7 d+ B* n
  298. ; http://php.net/disable-functions
    " I. H$ ~& x& V( t
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    / Q3 }6 H3 P) z

  300. * A3 a- X& r. Q6 o
  301. ; This directive allows you to disable certain classes for security reasons.
    * q2 w  a0 v1 a) p
  302. ; It receives a comma-delimited list of class names.
    5 A' B! v0 E4 E- O. B5 |# `
  303. ; http://php.net/disable-classes
    ; q4 U2 D* v6 h  C: O
  304. disable_classes =
    1 ~% ~1 j0 ~* s4 H$ I& e

  305. * Y: f, O6 G* n
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
      _" r3 `! ]( H. i
  307. ; <span style="color: ???????"> would work.! S8 j9 ]7 m4 y6 n* f
  308. ; http://php.net/syntax-highlighting- \1 X; F8 Y, \& n) Y
  309. ;highlight.string  = #DD0000# H+ U* [. y* P0 T
  310. ;highlight.comment = #FF9900  ?& U7 ?( Q8 Y. n! S6 ?
  311. ;highlight.keyword = #0077008 P2 s0 `; X5 V2 D: k4 O
  312. ;highlight.default = #0000BB+ m- |$ y, g; g# {2 E( |
  313. ;highlight.html    = #000000- v5 l5 T$ X& j% h8 _: F% ^
  314. , I, x% Q4 @; J0 V
  315. ; If enabled, the request will be allowed to complete even if the user aborts( ~. ~% \/ C9 `- |" M
  316. ; the request. Consider enabling it if executing long requests, which may end up
    - B* d' Z2 p% U' x( t0 p+ C, \
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    1 \( k* W0 _( `
  318. ; is to disable this feature.4 `5 I, ]( M2 l! @
  319. ; http://php.net/ignore-user-abort
    + q* s. C$ I* c$ a6 M
  320. ;ignore_user_abort = On* C( n( G2 M* i! ^* q3 r  B9 P' E

  321. . m: r/ ~1 X" s  B/ z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should! W2 |5 V, ^) I! z  u2 t
  323. ; be increased on systems where PHP opens many files to reflect the quantity of, N6 X& F: e& l+ f/ c
  324. ; the file operations performed.7 K  N3 S* o6 _1 D" u
  325. ; http://php.net/realpath-cache-size
    : n/ W7 F2 ?) K; g6 c5 T  ]
  326. ;realpath_cache_size = 4096k
    / y) m8 e# |+ C7 a& ^$ [

  327. ' N" X; g6 A3 c; w5 E3 [$ a- I
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    * o) _9 U4 I8 ], r
  329. ; file or directory. For systems with rarely changing files, consider increasing this+ {: X1 T1 Z  u
  330. ; value.
    & `4 x( F0 y7 {9 j; U
  331. ; http://php.net/realpath-cache-ttl
      t( c/ a# F  V$ ^
  332. ;realpath_cache_ttl = 120- x# r% d- B3 Z$ g0 m+ b7 S- D

  333. . g+ _. Q$ G& h7 I
  334. ; Enables or disables the circular reference collector.) {7 \) i0 E& G: G8 A$ i
  335. ; http://php.net/zend.enable-gc& \0 p# ]) B# ?9 v4 f
  336. zend.enable_gc = On+ y# p  h, m9 R2 b" b; f
  337. 7 }+ ~- g1 C- m" x
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    / |1 D2 a8 q* `
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( }1 O" p+ g2 l+ |3 [7 F
  340. ; encodings.  To use this feature, mbstring extension must be enabled., k+ @  ?( t0 h8 E1 c$ V
  341. ; Default: Off' X8 F4 G8 K! L# g' H$ M4 z4 M
  342. ;zend.multibyte = Off
    0 w) X, [1 n( f0 K

  343. 9 I" w6 P* _4 `# Y2 M+ G' t5 S
  344. ; Allows to set the default encoding for the scripts.  This value will be used8 S5 ^- H% {" n9 y* A
  345. ; unless "declare(encoding=...)" directive appears at the top of the script./ v1 {1 |$ _# t4 N5 v9 E4 ^1 s
  346. ; Only affects if zend.multibyte is set.2 l  j+ K2 u3 N; S& W6 P5 W7 X
  347. ; Default: ""6 L3 f( V+ ~  B% u" [
  348. ;zend.script_encoding =
    " H4 B: H, y: C) M7 u) ~8 L

  349. 1 S  Y0 ^1 A+ U0 D
  350. ;;;;;;;;;;;;;;;;;- Q& H% J  {# l6 a: e
  351. ; Miscellaneous ;6 _& Y# r* q( ]6 D$ b. f1 J' f
  352. ;;;;;;;;;;;;;;;;;) q* w& @: U9 v1 r

  353. ' n3 Z+ V( _3 n& X  I
  354. ; Decides whether PHP may expose the fact that it is installed on the server% ?4 f, \' ~# j9 S+ L$ J5 H+ Y
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 H" c; y0 Z- y% [4 N7 S: K
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( N' V; g4 y# i$ c$ Y# f+ f
  357. ; on your server or not./ f. y/ B6 I, p) z0 ?% p
  358. ; http://php.net/expose-php6 w2 ^& i& i0 `( T
  359. expose_php = On. y8 m1 y- _0 v) Z% M+ U/ w$ V; ]
  360. % d0 {0 q; w7 C- W6 ~, A: F2 u8 @
  361. ;;;;;;;;;;;;;;;;;;;
    & \; d! {. ^6 u, s7 p& }3 x
  362. ; Resource Limits ;7 W# W" k! ~1 w5 D
  363. ;;;;;;;;;;;;;;;;;;;  @6 f1 {1 }% {* d- \5 b
  364. ( e/ E' G- H! i% r% l
  365. ; Maximum execution time of each script, in seconds
    # z" b1 B! ~6 [! y# o
  366. ; http://php.net/max-execution-time
    0 ~5 D, c* F# X0 L! R
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI. _7 K( p- u, V/ E) a
  368. max_execution_time = 300
    ! p  @1 Q" p3 a" G

  369. 3 x( c" \1 [0 K# s1 M
  370. ; Maximum amount of time each script may spend parsing request data. It's a good# o  Z, F( O( p/ e
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ! Y6 L4 k7 O4 w2 W  I3 S
  372. ; long running scripts./ j; x9 d2 Y. a$ g" u0 F5 Q1 Q4 w
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 t) r4 r' p* u
  374. ; Default Value: -1 (Unlimited)6 q9 i* ]; j" ?: m. U
  375. ; Development Value: 60 (60 seconds)8 |  a4 |* @' J5 ?( k: Q
  376. ; Production Value: 60 (60 seconds)
    3 {* A% n# y+ m9 D
  377. ; http://php.net/max-input-time
    3 a/ h5 m' g$ e8 }
  378. max_input_time = 60, E! [0 b1 D% @

  379. $ x# z8 v4 O- K( W
  380. ; Maximum input variable nesting level
    6 @0 U' l: d+ K5 q2 J
  381. ; http://php.net/max-input-nesting-level
      E7 o1 j+ b9 Z% A; X5 G
  382. ;max_input_nesting_level = 64
    8 U7 B4 q% \) ?4 ~! D
  383. + f3 Y4 H: \# b1 u0 v! H" D
  384. ; How many GET/POST/COOKIE input variables may be accepted8 }& c( m  T2 n. T+ e
  385. ; max_input_vars = 1000+ k; `) P6 h8 J

  386. : l' Q/ v. Z6 R
  387. ; Maximum amount of memory a script may consume (128MB)
    8 O; ?& i2 G- l6 h7 z% p' P
  388. ; http://php.net/memory-limit% N& I7 N* v) |0 ~
  389. memory_limit = 128M
    5 g7 J; d# Q$ ^- o  M1 l2 E  H

  390. ; ^( O8 V7 L1 F2 o5 F
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 n1 ]( B; u! n7 ^/ U
  392. ; Error handling and logging ;$ E  k8 V' O7 @9 X! A9 z
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" I6 ~$ A$ V9 ~. s! w% B
  394. ! b6 W- G* X3 r* L5 X8 U& R: O
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ! ?: d9 p1 E3 S' ?( _& n6 W' A
  396. ; it to take action for. The recommended way of setting values for this  y! X/ f. v! H  z7 f
  397. ; directive is through the use of the error level constants and bitwise
    - F3 Y- r$ M3 x. G" f
  398. ; operators. The error level constants are below here for convenience as well as
    / G8 B- y1 @, S6 S, R6 F
  399. ; some common settings and their meanings.9 ~* U1 Y: ?0 }2 _; a# ?
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % a: ?: D3 X/ _
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  G# ^0 _) C, V: z) r7 S9 m' `  H
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    - s; H7 T! R/ `2 M
  403. ; recommend error reporting setting. Your production server shouldn't be wasting% x0 H( k9 B5 l  P% e9 ^5 g
  404. ; resources complaining about best practices and coding standards. That's what& a: h: W/ k" N- e
  405. ; development servers and development settings are for.
    . Y7 y& d- k. A/ V; ^+ a
  406. ; Note: The php.ini-development file has this setting as E_ALL. This: x% k" g% `* d: k- z$ U
  407. ; means it pretty much reports everything which is exactly what you want during
    - x5 q; @! V0 c2 D/ A+ O! ^
  408. ; development and early testing.# |9 G9 [9 Y( j! a* ]
  409. ;/ J; {$ G9 |  T) @) c% V" V: b
  410. ; Error Level Constants:
    ' M) j: s- E+ O
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)  E- s& Z( v% ~( r) G
  412. ; E_ERROR           - fatal run-time errors. p% H) S& y& n' u& ]9 z& P
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors) D: X( \! B0 M' `  H
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ; ^, J0 u8 c, V3 a, Q
  415. ; E_PARSE           - compile-time parse errors
    7 n- U* r% W0 k* x% `
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    : i1 ~, \, r' T9 G5 h( e
  417. ;                     from a bug in your code, but it's possible that it was
    ! O! U4 C: Z) n1 |- u
  418. ;                     intentional (e.g., using an uninitialized variable and
    0 k( A( `* ?) [1 S
  419. ;                     relying on the fact it is automatically initialized to an& f1 a' |3 J% {' |
  420. ;                     empty string)
    * h& A/ `5 ]5 b5 a7 D/ i2 a7 a3 U+ l
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    # v3 x' ?$ v9 t
  422. ;                     to your code which will ensure the best interoperability
    6 A2 `  a5 [9 Y9 T. w4 D
  423. ;                     and forward compatibility of your code
    ; M3 ?7 p2 x  q" X- z% u! \8 ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( Y- _  s) O* ~9 M& {; B* f
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' |4 o# c& N3 S' r
  426. ;                     initial startup
    3 a4 y2 s1 M* E( v( S3 h- B
  427. ; E_COMPILE_ERROR   - fatal compile-time errors: W, u* D0 @; C5 W% u
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    8 R% h; n$ ~7 f2 ]6 j6 b% W6 @
  429. ; E_USER_ERROR      - user-generated error message# v8 h5 N, _6 p: i' H
  430. ; E_USER_WARNING    - user-generated warning message
    ; t, Y5 j: J& n0 C& U. {. c3 ?# H# s1 m
  431. ; E_USER_NOTICE     - user-generated notice message2 G0 n3 C0 Q7 p
  432. ; E_DEPRECATED      - warn about code that will not work in future versions/ E- }+ g( {$ ~2 I7 e8 [
  433. ;                     of PHP
    * W2 I1 J% F& i% P
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings# B! L0 |8 r6 d8 u
  435. ;
    ! G, p: p- R" g' c
  436. ; Common Values:
    7 R9 F  y& H9 i8 w7 F
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( b- \( [) ?0 h3 j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . y! N* u( s1 |# o
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    0 H& S" U: d4 g5 \) J/ o0 b
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 E( X0 X+ d) h
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 d# B' F6 y( }) Z' H
  442. ; Development Value: E_ALL
    8 N! ~' s1 d& @2 [$ ~
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 B1 i; R7 D3 p2 H
  444. ; http://php.net/error-reporting" G& X/ L6 Q' [
  445. error_reporting = E_ALL & ~E_NOTICE
    & O; |# `. Z+ \1 X+ n/ l

  446. * V  r5 L/ ]5 s. R- {8 I
  447. ; This directive controls whether or not and where PHP will output errors,: g. G0 n( y5 _8 _2 \
  448. ; notices and warnings too. Error output is very useful during development, but
    9 q: L' u8 Z0 W
  449. ; it could be very dangerous in production environments. Depending on the code
    # t8 G% Q1 t: [$ R4 k- P% g
  450. ; which is triggering the error, sensitive information could potentially leak6 }' t, Y3 |9 B, c  \
  451. ; out of your application such as database usernames and passwords or worse.
    $ p7 {9 ^( r8 r
  452. ; For production environments, we recommend logging errors rather than! T' q" F. g+ Q  i% K7 D
  453. ; sending them to STDOUT.. r( m, f' D4 Q  B) h9 h9 i& H
  454. ; Possible Values:
    + b* y) g1 C9 A( l  M( R
  455. ;   Off = Do not display any errors8 \9 v3 e  U: f- \# _* N" b
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 \; C! Z: N: [- }
  457. ;   On or stdout = Display errors to STDOUT1 M0 ]( r/ z' K) `& e% f
  458. ; Default Value: On. b; P( _, _& Q/ {# ~1 A
  459. ; Development Value: On: d& p' _# s" n8 p! n- X
  460. ; Production Value: Off
    4 B$ D7 V% w  D, o2 y
  461. ; http://php.net/display-errors( D) K/ W3 A# i, A/ H/ w
  462. display_errors = On! x. i2 l6 K4 Z& v
  463. 1 S1 Q1 G8 @6 J
  464. ; The display of errors which occur during PHP's startup sequence are handled
    1 h9 W. o1 f1 F
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    3 w- u+ b- x$ e' \$ Z! h! l
  466. ; errors from clients. Turning the display of startup errors on can be useful in2 Z0 X0 q$ P( f1 h6 k  ?5 O+ T9 ~
  467. ; debugging configuration problems. We strongly recommend you
    . @$ ^% D" K7 Y: }
  468. ; set this to 'off' for production servers.
    9 M5 \& L6 P) _8 m
  469. ; Default Value: Off5 Y) J# F) K- D# g! T& R
  470. ; Development Value: On
    " n7 \" s3 c/ s, i$ q
  471. ; Production Value: Off
    ; W1 z% H$ G0 |0 J
  472. ; http://php.net/display-startup-errors7 b2 M* ~! y) e9 o9 i; o, _9 V
  473. display_startup_errors = Off
    - S. }6 C% \8 D9 Y0 i5 O
  474. * E) D1 k# I3 q8 {
  475. ; Besides displaying errors, PHP can also log errors to locations such as a# u$ t& d- x* @% _* z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    3 w+ T0 H. P! g1 v* F
  477. ; directive found below. While errors should not be displayed on productions  \2 c0 |2 |& z) u4 z+ R
  478. ; servers they should still be monitored and logging is a great way to do that.
    . Y7 F* s1 d' D3 D, g1 {! C- [
  479. ; Default Value: Off
    . ?' ?4 N! u0 c2 x2 t; O
  480. ; Development Value: On) |# u' J2 j/ E: M9 f8 F+ i
  481. ; Production Value: On0 p/ A: V, _& D: G8 _7 {- C
  482. ; http://php.net/log-errors
    " \! a& d& o+ g% F
  483. log_errors = On
    9 [3 N1 x: R# e- o5 E

  484. ! r: ?3 `. h% q( m
  485. ; Set maximum length of log_errors. In error_log information about the source is6 d  H$ Y1 U5 m0 P8 b, v* [
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    . L( q3 Y, y$ g3 y* C3 _7 d% ?* P
  487. ; http://php.net/log-errors-max-len' G/ T# y' w: N9 h0 C/ g7 f
  488. log_errors_max_len = 1024
    7 D$ m  c/ H$ |6 P( C. q" b
  489. . s! K8 @5 `9 b0 I- y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same- {: O* L% N5 s) i) J
  491. ; line unless ignore_repeated_source is set true.
    * q3 N1 Z) _9 G; v% u3 Y7 B
  492. ; http://php.net/ignore-repeated-errors! H* d2 w. J* ^
  493. ignore_repeated_errors = Off* w2 Z' z7 a+ K: E3 @

  494. 2 x$ Y1 n- F, J: \, N
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    5 a, [% Y0 o: f4 B
  496. ; is On you will not log errors with repeated messages from different files or; Y  L+ x3 B( E0 o) b. X2 |* t0 g" V
  497. ; source lines.
    0 w% u! I2 B" o2 T9 d# p9 ^0 ?
  498. ; http://php.net/ignore-repeated-source
    # O. @' G1 v$ M' Q4 u" d0 u
  499. ignore_repeated_source = Off
    2 b7 y- w' [/ u0 P

  500. " o2 O! P: i3 Y. B
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : F; z6 Y3 A- b  y
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    - O3 Q+ |, @4 O5 K& v
  503. ; error reporting includes E_WARNING in the allowed list
    * E' K: O3 }' J4 p! z
  504. ; http://php.net/report-memleaks
    2 {) d: o3 r" L: V& \9 s
  505. report_memleaks = On7 z! T% E) }% |& M+ W3 J- N* w* ^

  506. $ a3 Y: |) D& n5 @. M: b) l$ {
  507. ; This setting is on by default.
    , v- u: d  n7 Y# T6 g4 H1 M
  508. ;report_zend_debug = 0; A; ]# }% w5 V, |" b3 d

  509. ' e9 {2 l& P! R6 \
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value* O- B3 [7 c( [7 l2 p
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    # d  O) `5 \8 @
  512. ; however be disabled on production servers.. b8 U, }8 g7 n1 }6 S8 o
  513. ; Default Value: Off- R/ {7 Y/ m0 W, `0 u4 K7 o
  514. ; Development Value: On0 x( J( U) e6 ^0 w' |
  515. ; Production Value: Off
    5 w4 X+ Q& l2 b0 d7 }1 k5 e
  516. ; http://php.net/track-errors" ]/ k' d% B5 s  G7 [
  517. track_errors = Off/ y% w" b+ Z4 _

  518.   W5 P7 M2 |: Z- X! w6 |( B
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    : g- Y( D9 J, y" i6 ~9 U4 ^% W+ w; I/ r' [
  520. ; http://php.net/xmlrpc-errors2 c- j  E; v$ ]" L! r
  521. ;xmlrpc_errors = 02 O& `5 s' z" b0 n( L1 J5 b. ^
  522. ' v0 x- O$ N6 q
  523. ; An XML-RPC faultCode) l8 ~# _. O, D; I$ k* O
  524. ;xmlrpc_error_number = 0( e3 `) S# a) I
  525. - _; ]8 F; \" n, @; r
  526. ; When PHP displays or logs an error, it has the capability of formatting the+ y) R; h  m/ ], s1 `
  527. ; error message as HTML for easier reading. This directive controls whether4 p. u1 G0 M0 V" v8 ^8 j- I
  528. ; the error message is formatted as HTML or not.* s4 G9 R& Q5 s$ o3 {. q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI* i# q6 S( I3 J! C4 |" c
  530. ; Default Value: On! j, _+ G2 u3 B/ X( `4 P! p8 K) a
  531. ; Development Value: On4 ?1 g( j* e/ P' M: \7 b
  532. ; Production value: On  r3 a# F# E) g* G" Q! v
  533. ; http://php.net/html-errors
    5 Y5 v. U( z) e1 p; c
  534. html_errors = On
    2 T: \6 P) B/ g

  535. ) {/ Q' r' F$ J( L: l
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ( a; q$ Z% i! y* N+ C/ B8 L$ |, C" {
  537. ; produces clickable error messages that direct to a page describing the error
    ! C% V% R% ?% U1 g! B
  538. ; or function causing the error in detail.
    0 C7 }6 H. P$ r* b3 E
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; u9 L' f5 P4 w* S$ A) V3 n
  540. ; and change docref_root to the base URL of your local copy including the
    6 g2 H6 f% \  V) O( E" [: h
  541. ; leading '/'. You must also specify the file extension being used including# E$ t8 r' G% A
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which8 F0 T% b9 C" D/ L7 \
  543. ; case no links to documentation are generated.
    ) R, q) C2 n* C
  544. ; Note: Never use this feature for production boxes.$ Z" n/ b( b) _/ f* `
  545. ; http://php.net/docref-root# n6 j) x% O6 y/ Z
  546. ; Examples
    % p# Q3 L+ q6 X
  547. ;docref_root = "/phpmanual/"
    9 c6 Y2 f8 [3 V, H1 r

  548. 2 @" N9 w( O5 J( O8 l& Q6 n/ V( p, n
  549. ; http://php.net/docref-ext$ x2 q4 G2 n; E7 F, D
  550. ;docref_ext = .html. ?5 g6 \# c6 J% s( k+ z3 \

  551. + i7 }3 y( [1 \- U
  552. ; String to output before an error message. PHP's default behavior is to leave
    % N  }( ^! ^+ X) }
  553. ; this setting blank.8 C: e2 b0 m6 m0 ~2 z$ b
  554. ; http://php.net/error-prepend-string. y5 [! c# t" x; y
  555. ; Example:0 \* v! t9 p2 c# R$ a
  556. ;error_prepend_string = "<span style='color: #ff0000'>"6 G; D2 W" k3 x, J6 ?3 E
  557. ; q9 b$ x2 H: c4 u6 \8 u
  558. ; String to output after an error message. PHP's default behavior is to leave
    ; B! w1 f9 n3 P/ o- |- q0 U2 {
  559. ; this setting blank.
    " `( I# w. B7 h5 d5 G
  560. ; http://php.net/error-append-string
    7 }; e! [+ p0 N$ w8 p
  561. ; Example:  J  j- X$ c2 N
  562. ;error_append_string = "</span>"
    - X! C- B5 A; V' ?. @3 v0 `

  563. - _- }5 j/ f8 z2 f* e) O9 H
  564. ; Log errors to specified file. PHP's default behavior is to leave this value- v, _5 @* o( s+ C$ u& @* |0 v$ K
  565. ; empty.
    9 K7 G/ [- e  K' F
  566. ; http://php.net/error-log
    5 j  @9 @% A' [+ Z- F, W
  567. ; Example:: q8 g4 s/ u9 S) y( @
  568. ;error_log = php_errors.log
    ) T& ~& M9 n2 j) f- w# o: p' B! A
  569. ; Log errors to syslog (Event Log on Windows)." q) V4 f' N! ?, L; D6 ?
  570. ;error_log = syslog4 d4 J0 t8 q# \6 s$ b( t3 }
  571. / i/ G# }4 n1 j+ C% ]  _& |, v! d+ q
  572. ;windows.show_crt_warning; B' c8 J+ Z/ E6 Z
  573. ; Default value: 0
    * Y" T2 s" A" J1 b, \5 N+ X
  574. ; Development value: 08 r( b0 @! _: ?9 P  ]: O( l+ T
  575. ; Production value: 0
    6 r) T  H: I; b" [

  576. 3 v; g9 ~5 i1 |4 U1 `
  577. ;;;;;;;;;;;;;;;;;2 G! p1 F/ r, P5 E# g! [. ?( i
  578. ; Data Handling ;
    ' e) b" _6 P# K
  579. ;;;;;;;;;;;;;;;;;
      l3 x. A$ K8 I; ~

  580. , n2 Y9 n4 P! j  N6 v
  581. ; The separator used in PHP generated URLs to separate arguments.
    , ]  q* T. S2 Z
  582. ; PHP's default setting is "&".
    + H- y4 ]' C/ w4 g$ L3 d$ g/ {/ ^
  583. ; http://php.net/arg-separator.output
    - k7 t1 ]' k' u0 e6 K: U* h
  584. ; Example:
    ( r# j% S2 i' g$ |7 a3 R
  585. ;arg_separator.output = "&"9 s4 }3 o0 I5 E
  586. ; w! n& [2 U# h; n3 F( b5 J
  587. ; List of separator(s) used by PHP to parse input URLs into variables.; ?) M2 N1 }+ u$ m# k; M% K2 m
  588. ; PHP's default setting is "&".' u& d4 S8 x/ @
  589. ; NOTE: Every character in this directive is considered as separator!
    ! H& l! j6 P3 H% w3 p
  590. ; http://php.net/arg-separator.input
    8 ?$ Z; U8 v. w1 m- [" K7 E
  591. ; Example:
    3 ~$ m, u3 }- a% a' Z# d
  592. ;arg_separator.input = ";&"
    + }& _# P" [) C) g9 A
  593. ) }, `/ o% v$ F+ n5 l
  594. ; This directive determines which super global arrays are registered when PHP+ s' B* w4 \# X/ F6 B- y' C/ `
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 h) L" f! Z- d2 Y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty. D0 [0 G5 J+ w' q4 I/ {% t1 P
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    : q3 ]8 s; s6 f8 T! q% R
  598. ; used as the others, ENV is not recommended on productions servers. You9 [0 _: m- b& z+ q% j0 O" k8 J
  599. ; can still get access to the environment variables through getenv() should you
    6 c2 z6 h4 h3 J. e7 `3 o% y
  600. ; need to., D' h6 K# q: X; o9 U
  601. ; Default Value: "EGPCS"
    ' c* Y! p. [2 F! T4 w4 N
  602. ; Development Value: "GPCS") N# Z, \1 W5 @4 s6 b9 k- O
  603. ; Production Value: "GPCS";
    9 C% C3 m% u, ]+ P
  604. ; http://php.net/variables-order
    , _8 e3 G+ J( t* d* m9 ~% d
  605. variables_order = "GPCS"
    1 ?3 ^4 @$ m& `/ d. p  o
  606. / |+ U) E% s8 n
  607. ; This directive determines which super global data (G,P & C) should be" K) }2 ^7 F3 V) F, M5 X7 w1 J
  608. ; registered into the super global array REQUEST. If so, it also determines" \# o( U7 Y  A2 c2 J! @
  609. ; the order in which that data is registered. The values for this directive" r& q. |0 O7 v. P" Z5 J
  610. ; are specified in the same manner as the variables_order directive,( d1 {. P8 [0 C
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set9 \# |+ m2 g' w5 n
  612. ; in the variables_order directive. It does not mean it will leave the super
    # r; u( W5 G4 r$ n
  613. ; globals array REQUEST empty.: N% N' L6 C) ~2 c$ K
  614. ; Default Value: None0 w- y. M# g1 K8 w) U
  615. ; Development Value: "GP"  |2 @" ]1 L9 b* p. v$ D
  616. ; Production Value: "GP"2 B( v5 L( T, a1 B% {
  617. ; http://php.net/request-order
    5 K+ Z. A- T' W! T; j- B. }3 }
  618. request_order = "GP"
    : ^: `& r) m2 o1 o  U( B. H7 A

  619. $ H/ y0 ]5 ]' D# Y, \8 o0 E
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    & q* _2 i3 |0 q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 W6 h9 G0 d- V% b9 V
  622. ; is invoked. $argc contains an integer representing the number of arguments0 v( P; M0 u4 l  O: j  i
  623. ; that were passed when the script was invoked. These arrays are extremely, y" l' P  w- C- q  R8 B8 p
  624. ; useful when running scripts from the command line. When this directive is5 Y% @; [4 y+ S3 l5 Y
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 r  c& A7 N4 g, _) Q0 W' @+ i
  626. ; a script is executed. For performance reasons, this feature should be disabled
    - ^0 x& q3 X+ h  b
  627. ; on production servers.9 m% ^; }# [0 ]7 P* m7 E# W, u+ I
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    : U; n+ e1 m! {& G
  629. ; Default Value: On
    $ i2 x; Q3 M9 S( j/ J
  630. ; Development Value: Off  W6 v) N* x$ {( }) l8 X
  631. ; Production Value: Off
    6 y3 K3 U$ p- v1 h/ V% n( H
  632. ; http://php.net/register-argc-argv* r3 n* H2 j- h6 F
  633. register_argc_argv = Off+ S* A* E5 F9 q2 u
  634. % J" m4 u1 h; R3 m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    3 I5 Z: g; y& t" F! O( h+ {
  636. ; first used (Just In Time) instead of when the script starts. If these9 q8 d; [* j7 X, Y3 a. w
  637. ; variables are not used within a script, having this directive on will result
    4 u% q* w) l: Z5 a  V. n6 }
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , P5 i& x8 |' S
  639. ; for this directive to have any affect.0 Q1 ?4 }9 X" ~8 W) l
  640. ; http://php.net/auto-globals-jit
    , A5 J. K) Q3 h& |0 E6 m) `# s( p
  641. auto_globals_jit = On
    : Y6 H- Q  @1 S) c2 @0 z

  642.   {+ f2 f9 S# H
  643. ; Whether PHP will read the POST data.
    & @3 @3 Q9 H! S/ K- R5 b" f
  644. ; This option is enabled by default.) E% z5 |& l8 H2 }& ~: r9 D$ Y( p
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  P- k& O$ B! N+ I) V6 P/ J% z4 L
  646. ; and $_FILES to always be empty; the only way you will be able to read the2 U! h# U/ N3 |: X; P
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & k) z4 K# ]4 q, O8 K2 @
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; D/ a" O3 `" I  a4 r* m$ R+ m
  649. ; http://php.net/enable-post-data-reading9 N% ^. W9 j% m7 W4 ?, K8 {
  650. ;enable_post_data_reading = Off+ l* g; E" ~4 H" @
  651.   q* s, c  ^6 Z% ^$ p& m+ @) t
  652. ; Maximum size of POST data that PHP will accept.& x# i0 d1 b) `) i
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    : x/ @2 {9 R3 G4 e- ]  c9 o
  654. ; is disabled through enable_post_data_reading.
    ; _4 U, t  T9 R1 Z! z8 k. G/ d
  655. ; http://php.net/post-max-size
    ! H/ [  S( e' k4 F
  656. post_max_size = 50M
    9 o( t0 _3 s+ g' }$ n) s

  657. 5 M7 _0 n  s# v" u
  658. ; Automatically add files before PHP document.( a" O: e/ |8 p
  659. ; http://php.net/auto-prepend-file/ z( O! Q7 f; d) d% A$ x
  660. auto_prepend_file =
    1 W' L' h5 ]/ l) P

  661. ' [# Z" |& E' I3 O: L& N+ B. ^
  662. ; Automatically add files after PHP document.
    & y. `2 K- V" ~$ n
  663. ; http://php.net/auto-append-file  r) q% b2 k5 Y' s8 Q9 G
  664. auto_append_file =
    + }3 Y' i  N7 Y7 e$ D
  665. ( B1 r$ h  ?! _* L- h4 s! {
  666. ; By default, PHP will output a media type using the Content-Type header. To$ @4 [+ R8 R' |
  667. ; disable this, simply set it to be empty.6 V/ ~9 x5 W* p( M6 j# V1 ?
  668. ;' F/ C" H' ^* V3 B  u( y
  669. ; PHP's built-in default media type is set to text/html.
    6 v0 x5 D, A" L( v$ M7 M0 h; a
  670. ; http://php.net/default-mimetype& y+ y9 H; N! e
  671. default_mimetype = "text/html") u' T0 d2 n* A8 {  f

  672. 8 v$ B1 @3 {- c: ~! j' s
  673. ; PHP's default character set is set to UTF-8./ Z% @& }# l3 U; z, p4 `) G4 X+ G  ]# _
  674. ; http://php.net/default-charset
      C' E( V! \# ~2 `/ R! e
  675. default_charset = "UTF-8"6 Y3 }4 X3 P( g: A

  676. " q0 N0 {- V* j. q
  677. ; PHP internal character encoding is set to empty.
      l+ a1 Z* O8 f( A% {- u9 l5 f) K( K
  678. ; If empty, default_charset is used.
    / \6 ?! y' O; _: w9 Q& r
  679. ; http://php.net/internal-encoding
    , C. \! @  d2 X. k; D
  680. ;internal_encoding =
    5 o2 s* S1 Z# b7 x, B2 R
  681. " t# M0 x! E1 W- D- [3 ?$ P. d
  682. ; PHP input character encoding is set to empty.# G. O# ?1 G3 k% d: R0 O' U6 j
  683. ; If empty, default_charset is used.
    ! y3 @3 A3 F3 |4 l- }# B+ o
  684. ; http://php.net/input-encoding
    . J2 U( g% ^/ n, l% X  x
  685. ;input_encoding =
    , I" `1 k. l  L( L( E9 ?# u
  686. 3 }1 }* l: e. L
  687. ; PHP output character encoding is set to empty.
    - t3 k% q. l# e1 x/ T
  688. ; If empty, default_charset is used.* M0 p" e1 j  A  c0 v
  689. ; See also output_buffer.% O) V1 z: Z6 i# g
  690. ; http://php.net/output-encoding7 u& k) A& }2 i* N3 \* _) N' }
  691. ;output_encoding =
    ) e% W* M" Z% }

  692. . J5 w( p1 k; y& m6 Z* y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * ~0 W. B! G- |) G; i3 E, ?, }% ~0 m
  694. ; Paths and Directories ;7 ]* W: |$ S( b) w9 T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 ?% F& J" h" X' ]- q4 B7 r3 l9 l; A. G
  696. ) {, [4 Z7 @2 {) ^3 M7 O
  697. ; UNIX: "/path1:/path2"
    3 ]8 [; m7 d6 i- f1 j
  698. ;include_path = ".:/php/includes"+ I$ p  z( v* }
  699. ;
    " Q: `6 ~3 b( ?6 O4 N) t
  700. ; Windows: "\path1;\path2"
    4 Z% L: x2 K5 R; }
  701. ;include_path = ".;c:\php\includes"
    4 y" O3 F& z9 p+ N& Q* S" e
  702. ;1 E  y- B; E( z' f7 W/ e# s. H
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"* o0 l/ l: r+ p" R
  704. ; http://php.net/include-path
    0 i% p! {$ a9 p5 v4 H

  705. # m9 d- s6 u1 f$ \5 B
  706. ; The root of the PHP pages, used only if nonempty.  _, N* i& A$ Q
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ w+ B5 Q7 Y7 ]0 w  M5 a0 {* I! O
  708. ; if you are running php as a CGI under any web server (other than IIS)" R( }9 I: u9 ^4 g7 M) ]2 a
  709. ; see documentation for security issues.  The alternate is to use the
    3 m" z1 l& j$ L  q5 J3 k+ y! p
  710. ; cgi.force_redirect configuration below6 e. i6 o; k+ i
  711. ; http://php.net/doc-root0 w; P3 J% t) q! H7 E" _
  712. doc_root =3 a$ ?( c7 n! k" m9 U

  713. " A; j" t7 F2 J$ \& Z/ T0 f
  714. ; The directory under which PHP opens the script using /~username used only+ D  a$ `% r* F3 S) V  B
  715. ; if nonempty.
    + k/ ~4 P+ p9 C2 B. g. X
  716. ; http://php.net/user-dir
      G- |8 b  u, ^4 z3 j
  717. user_dir =
    ( H4 n  Z* ]+ X$ J3 w

  718. 4 ?. i. R& _* T/ {
  719. ; Directory in which the loadable extensions (modules) reside.
    ; g1 m7 m% X; t% [2 l
  720. ; http://php.net/extension-dir' f/ W5 G: R. y$ ?' W5 n7 y
  721. ; extension_dir = "./"
    6 V6 c( G' k# g8 U" b2 _
  722. ; On windows:
    ( M$ }0 C: B9 G3 z1 w  b
  723. ; extension_dir = "ext"7 R- |3 f( _" |% J

  724. / R; _+ ~( \2 q1 q9 y
  725. ; Directory where the temporary files should be placed.
    5 c/ d# t5 |0 I* k
  726. ; Defaults to the system default (see sys_get_temp_dir)
    $ @& w7 H( k4 Z$ O
  727. ; sys_temp_dir = "/tmp"' l, Y) _7 p9 T) r

  728. 8 t  i9 _" j# c; z7 i4 G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 n( U* N; t4 ]0 a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically7 A: l6 S9 [. H- H/ u# H% V
  731. ; disabled on them.
    . Y, F2 ^7 s$ A" |
  732. ; http://php.net/enable-dl  t, x+ b0 i! I5 Y
  733. enable_dl = Off  d4 L2 Q2 _$ _+ M. q, b
  734. , G& J5 x; u8 V1 n8 g
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under  O3 f3 k- C7 z3 u. R3 ?1 \
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - H2 G: i9 v0 b. x3 J
  737. ; turn it off here AT YOUR OWN RISK
    3 r2 z$ L7 s$ r! t: \7 K
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. t0 e0 c6 {4 c4 u4 t9 h3 x
  739. ; http://php.net/cgi.force-redirect
    1 s% ~5 ]4 H: [. m
  740. ;cgi.force_redirect = 1; ?4 j) ?% k, ?- F9 ^3 l

  741. ; t8 @6 L; i4 i. P  P
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 v3 S9 Z* [& S" q( T* Z
  743. ; every request. PHP's default behavior is to disable this feature.4 c; I  z; i9 }2 d3 D  J. `2 E+ K
  744. ;cgi.nph = 15 a. `# k- j" j# a9 M

  745. / T0 ^/ z: ?! k+ D! Z* f( u4 Y+ X' R
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) f. l# Z. x  A
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    + L: ?( z% ?/ S! t/ u
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 W0 t# z# V- T" x$ Y6 `
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.% M) l: [& I* g- O
  750. ; http://php.net/cgi.redirect-status-env" W- R  Y- X# a3 z, [3 z' E/ {, X
  751. ;cgi.redirect_status_env =. V1 i, O- D/ Q1 }& ]6 T* P1 ~1 k

  752. ' m4 N  G7 `& L/ F5 S
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's! I( ]( z  O+ w; G& O$ `& Y
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* ?. A+ f# p; T& I  i* U' X
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 S9 `. X  o6 L& ^8 c/ Z
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % N4 h' m; l$ N: z/ A/ r
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) @6 v* K5 o  R: k: |6 X
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- g, u+ e/ G5 Y& i' N. B
  759. ; http://php.net/cgi.fix-pathinfo( l  r- J$ P$ v' b* }
  760. cgi.fix_pathinfo=1
    : `( _7 u% _4 n3 O5 l7 j
  761. / c' b, I7 Y& Y7 f
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    8 s7 [% P3 @! s" \: E& B# M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.0 }6 V" L5 p; ~( z( N1 v6 o
  764. ; http://php.net/cgi.dicard-path
    * K) p, a! g6 }2 k
  765. ;cgi.discard_path=1
    4 K. h9 m1 L' N- y2 t

  766. ( r. B4 C: B" U
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / U" ^/ I+ r& G2 w4 s0 A
  768. ; security tokens of the calling client.  This allows IIS to define the3 A- c0 f8 J! \0 K
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    , f9 S" t6 N: {: ]- z7 }0 B4 F9 s
  770. ; does not currently support this feature (03/17/2002)
    4 f& S5 C0 D) z, S# }2 X
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) l; G6 c* M2 k3 @1 B. q  h
  772. ; http://php.net/fastcgi.impersonate9 d  ^! u  v- p- H
  773. ;fastcgi.impersonate = 1
    ' `1 H9 @5 ]) E: f4 D/ N6 N. j- Q
  774. , o8 h$ ]; {2 L- }) G) K
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ' y+ ^" \8 ]  k6 `
  776. ; this feature.
    ) {* e/ R( T+ P  T3 ~. o: j6 G) w) T
  777. ;fastcgi.logging = 0
    - s9 M2 N1 w; o
  778. 8 b- o2 E/ [7 e: I; X
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to3 Y) n8 j! A% @8 e
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& `' F. Y* E6 V3 w. V4 S
  781. ; is supported by Apache. When this option is set to 1, PHP will send: q& M. C* f; p0 g7 H) s$ x/ ~
  782. ; RFC2616 compliant header.2 h+ b5 ~0 n3 X, T
  783. ; Default is zero.
    5 |2 K% C1 y; s: H
  784. ; http://php.net/cgi.rfc2616-headers
    4 c+ t4 e3 O0 b9 Q' r
  785. ;cgi.rfc2616_headers = 0
    $ m) y6 T  G5 H4 a1 o' S3 ]

  786. 4 d! N& h  O- s9 z% ^' s
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!* ~. N# }5 K5 t- `" B  i- Y/ c' S
  788. ; (shebang) at the top of the running script. This line might be needed if the7 m4 C; k) o  u" R" u
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 f. \2 ~! {. Q1 M$ t
  790. ; mode skips this line and ignores its content if this directive is turned on.! Q7 ~9 A$ z) M  C9 Q
  791. ; http://php.net/cgi.check-shebang-line! B, P; w" p6 u: j; S
  792. ;cgi.check_shebang_line=1
    : S" \, w& q0 u2 C1 B. r, M, |
  793. / U8 s" M0 y& m" t* Z2 H+ M
  794. ;;;;;;;;;;;;;;;;8 \6 O. H2 K) R
  795. ; File Uploads ;, I, R" @' i* v* T6 {
  796. ;;;;;;;;;;;;;;;;
    ; d! _! [# ]) F( A- \+ V8 |

  797. 7 k" W$ [8 K9 N8 i4 R8 c4 J
  798. ; Whether to allow HTTP file uploads.
    * u9 Z/ J9 g/ n" c8 T+ I! T7 X
  799. ; http://php.net/file-uploads
    / A. o6 ]1 s6 G
  800. file_uploads = On" y9 X# k! k: E( N" P# ]3 G
  801. 0 U/ [% p! x& d5 G
  802. ; Temporary directory for HTTP uploaded files (will use system default if not1 m, N0 n. {" g' L+ n5 d: Q
  803. ; specified).
    2 j9 F3 r; m- N3 }9 F; T6 Q  W
  804. ; http://php.net/upload-tmp-dir
    + z: V; a) }7 @* i1 l2 @% o6 |6 i  y
  805. ;upload_tmp_dir =# E6 w/ w/ y: a7 j

  806. ! [: m9 }" R3 c1 r/ v+ _6 L
  807. ; Maximum allowed size for uploaded files.) x) g; o- c5 C/ _4 B
  808. ; http://php.net/upload-max-filesize8 }" r$ y6 n; u( P, J
  809. upload_max_filesize = 50M
    9 L0 G8 Z9 d, L7 }4 r9 Q
  810. 2 o) ?3 e2 R3 q6 B/ g/ {# j
  811. ; Maximum number of files that can be uploaded via a single request' D% N' N" ~3 p" k0 ]
  812. max_file_uploads = 20
    ( x& v/ z' [) D) l. Q

  813. % P: p, m& Y  P8 d) w+ @0 S- i
  814. ;;;;;;;;;;;;;;;;;;% q& M% G" ~: x) y. j
  815. ; Fopen wrappers ;/ e9 s1 K4 m% }( E7 J3 c# w1 v; n
  816. ;;;;;;;;;;;;;;;;;;: `: ]( c2 c2 t8 v& F/ F
  817.   J; w6 o" Y3 A8 N- H% d
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    * p/ W) K' ?  w" P+ ~% M+ e
  819. ; http://php.net/allow-url-fopen
    7 ]3 F8 i1 `1 {% N1 t6 M
  820. allow_url_fopen = On
    ! N6 i' S% x2 I& V7 f0 L

  821. 3 r$ A' ?9 f2 {; O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    2 P3 [1 i1 K' c: d
  823. ; http://php.net/allow-url-include; ]8 z% |. P+ W+ p$ I2 _9 |# ?5 p
  824. allow_url_include = Off
    % D' ^5 y( o2 k8 s

  825. 4 Z8 I; `1 N2 g, _; }" Q
  826. ; Define the anonymous ftp password (your email address). PHP's default setting$ A! ?" l  R2 W; m
  827. ; for this is empty.
    6 L, q, P: a; O) O: H5 N
  828. ; http://php.net/from3 Q* R3 }7 O1 V$ F+ U
  829. ;from="john@doe.com"
    6 @8 ~# o% W: X2 `# B! z; c

  830. " U: r$ i  _; r
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 O/ D! `! Y$ c+ U+ ]/ w" j" X
  832. ; http://php.net/user-agent7 o5 q8 U- f/ p& A  y
  833. ;user_agent="PHP": z( S& t; c& N; N1 O. W& i: K
  834. ! W! S, n6 M/ d2 i
  835. ; Default timeout for socket based streams (seconds)
    0 o& w2 w( ^+ f6 l( g
  836. ; http://php.net/default-socket-timeout: z0 F- f# j  m" S# q9 A5 _
  837. default_socket_timeout = 60% u3 I( Z( i' m8 S

  838. ! ?% N' }! d! c, O, E% S
  839. ; If your scripts have to deal with files from Macintosh systems,/ m' B1 Z5 g9 m* [
  840. ; or you are running on a Mac and need to deal with files from. s& T5 z9 o! C6 B0 i3 f
  841. ; unix or win32 systems, setting this flag will cause PHP to# a0 Q- b5 G/ {) q$ ?# A
  842. ; automatically detect the EOL character in those files so that$ S' r# a! h/ j) V! ]
  843. ; fgets() and file() will work regardless of the source of the file.
    ; Z7 `/ f4 {% a( F
  844. ; http://php.net/auto-detect-line-endings  k  a) U3 ~( {7 l' N2 k
  845. ;auto_detect_line_endings = Off1 J, s% e/ o1 [

  846. 8 V& A  |: j4 ?% L
  847. ;;;;;;;;;;;;;;;;;;;;;;
    : z) l3 k% N1 T  r( X. q$ Z7 Z6 Q
  848. ; Dynamic Extensions ;, w! `/ K7 H2 x3 {
  849. ;;;;;;;;;;;;;;;;;;;;;;
      {' ?; D" p  H

  850. , n+ J: V2 t' w* B# h
  851. ; If you wish to have an extension loaded automatically, use the following
    ) ~1 K; ?% ?" a  K3 s7 p% _
  852. ; syntax:
    - [+ k; W/ W+ c" z
  853. ;
    4 P( f: Y6 D: O- G- f2 s! Y- Y$ V! s
  854. ;   extension=modulename.extension
    3 f' F/ q. @, ]5 Q
  855. ;
    - ?' `% N# ]/ s( P# T
  856. ; For example, on Windows:
    ( A3 k( x* P6 v' X& @& w
  857. ;
    8 a6 X' Z: y0 x8 P
  858. ;   extension=msql.dll) r2 R9 O' X2 C( Y7 ^0 o
  859. ;1 s9 ~  q) l- r& P$ e
  860. ; ... or under UNIX:
    7 N  Z5 O7 m+ x& n4 i5 I, H
  861. ;
    6 u# t  S, ?5 m5 ?
  862. ;   extension=msql.so
    ' W* K$ r$ \. j# T; W
  863. ;
    5 W1 T- }' `2 V. X; r5 `
  864. ; ... or with a path:
    8 a* R3 N, ^8 ~* f
  865. ;% ^- q( R! A3 t8 Q) ]
  866. ;   extension=/path/to/extension/msql.so: ^# F0 P& W: @; N5 f/ I
  867. ;0 [# {$ |: p3 M! l
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ! x. V7 `2 m) G
  869. ; default extension directory.
      F/ o: [, v* f
  870. ;
    8 B: D3 ^% M" C: G5 a
  871. ; Windows Extensions3 S4 {) W. K  \9 G9 C
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ( C) J% l8 B7 x8 C
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)! t( O& L4 p! ~, E& c
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).# ]2 |) E  O8 W/ r
  875. ; Be sure to appropriately set the extension_dir directive.
    ; }0 O8 k" p  O6 i9 m" Y' |
  876. ;
    9 C" H" o1 ?3 L; p8 q8 o4 [
  877. ;extension=php_bz2.dll" }  x1 s. X# G3 w2 M7 e
  878. ;extension=php_curl.dll' e  E: t' |, T1 r$ h/ b( L" Y& g5 J
  879. ;extension=php_fileinfo.dll
    ( s0 |  o3 T% Q$ e" ~4 g  W
  880. ;extension=php_ftp.dll# ?1 G/ z! s7 E( v/ }# U
  881. ;extension=php_gd2.dll1 X, K7 _# m/ g! H+ Y  V
  882. ;extension=php_gettext.dll
    & N6 W! C' P) f! d5 |7 n
  883. ;extension=php_gmp.dll
    * D" x0 B* }/ J. g& V
  884. ;extension=php_intl.dll% v0 ?2 r, V! U! p1 N2 l( ~
  885. ;extension=php_imap.dll
    ( Q2 g$ l  k5 G
  886. ;extension=php_interbase.dll5 x4 l) I; q+ U2 `& l
  887. ;extension=php_ldap.dll4 w1 L* m$ G  m( j2 F
  888. ;extension=php_mbstring.dll. m) n# a: P" A5 I, |# {3 ]1 a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ K5 x) ]  H) I- A
  890. ;extension=php_mysqli.dll+ X# w- {9 h! M2 C% Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 l! c! H, B7 C6 E; D2 \  ]
  892. ;extension=php_openssl.dll0 `* T  G/ s3 I" e. ]" o
  893. ;extension=php_pdo_firebird.dll; }3 a- Z1 O" ^. a7 T3 }3 ?# {7 @
  894. ;extension=php_pdo_mysql.dll
    0 d  N3 _- B+ I0 Z; [  a
  895. ;extension=php_pdo_oci.dll$ \  _4 _$ Z& D7 @% r
  896. ;extension=php_pdo_odbc.dll
    ) m8 H4 O6 n8 ]: M* u7 \5 b
  897. ;extension=php_pdo_pgsql.dll
    $ E5 E" A, w( n$ b& I. ^$ `
  898. ;extension=php_pdo_sqlite.dll9 ^3 B  z5 B3 Z, c2 `
  899. ;extension=php_pgsql.dll5 m0 B! `! @1 H7 S) `) T
  900. ;extension=php_shmop.dll* `/ }/ Z1 R& z/ @+ s$ h
  901. & C6 n3 N! t9 Y( l
  902. ; The MIBS data available in the PHP distribution must be installed.
    & e* Y8 [2 s, n6 b0 A
  903. ; See http://www.php.net/manual/en/snmp.installation.php
      j! x/ |$ c( X7 g' K2 \2 ~) P
  904. ;extension=php_snmp.dll
      n$ E% d* j! m. ~# A  P4 c% Y! Q
  905. , ~3 C6 q9 B4 A4 ?# ?. h
  906. ;extension=php_soap.dll/ U. U! ~# S8 w  n$ D5 ~
  907. ;extension=php_sockets.dll
    - l+ L) x) @, e2 \$ Z  ]1 |7 N
  908. ;extension=php_sqlite3.dll9 W5 ]/ t* C. I: T1 L9 Z# Z" Y
  909. ;extension=php_tidy.dll
    0 g% m0 U/ o, Q3 ?, X) ~5 n
  910. ;extension=php_xmlrpc.dll0 N' P' B; @* Z' q
  911. ;extension=php_xsl.dll. `0 V- O9 N& ?; s" R0 {! n
  912. 4 F2 V* ?- m* {2 l( Y: j3 ?
  913. ;;;;;;;;;;;;;;;;;;;
    - ?/ \+ {1 n, S2 ^: z1 ?. ^
  914. ; Module Settings ;
    ; {* X7 {. p. O; j9 c
  915. ;;;;;;;;;;;;;;;;;;;( r: z. @: X, A5 w- T9 \7 Q

  916. & @9 h* d# K& ^6 b- v
  917. [CLI Server]6 Q% ~/ n" e, ], W( _4 D+ E
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 w* h2 |! m& q
  919. cli_server.color = On9 J- d7 A$ K6 d5 I# c/ {) o+ k
  920. 6 t' ]5 L; z0 S. _0 |+ n1 j
  921. [Date]
    : i( u% J5 c+ G( ^
  922. ; Defines the default timezone used by the date functions$ H7 d( Q% }) ^
  923. ; http://php.net/date.timezone3 Q- j! s' c" p  B! N) C- Y7 r! j5 {
  924. date.timezone = PRC
    . `, w9 C' ]4 I- h1 C' }
  925. & M. V. b7 k7 a  R
  926. ; http://php.net/date.default-latitude
      I4 B% r  W+ O5 Z. W% h' c+ S
  927. ;date.default_latitude = 31.7667
      J# o4 O& b, P7 }8 W

  928. % y# X, E2 `$ g( `9 Q! p; K
  929. ; http://php.net/date.default-longitude9 w% |3 ]5 S5 E+ E
  930. ;date.default_longitude = 35.23336 E% ?% ?, g1 g6 M" w/ O' t2 E" v

  931. 3 m1 _( N3 ~4 e
  932. ; http://php.net/date.sunrise-zenith' v4 l6 A. d- d; l. h# b. e
  933. ;date.sunrise_zenith = 90.583333
    ' o* E1 u: _' Z8 o9 k
  934. " p) d3 x( ]) r0 Y. d5 d
  935. ; http://php.net/date.sunset-zenith
    ) _, @. v% I7 n8 T0 O% T
  936. ;date.sunset_zenith = 90.583333
    1 |2 x& [6 m. f) ~+ j& I( `

  937. / e7 f5 X3 d% P$ }; W0 o
  938. [filter]7 ^% f( \+ y# J5 Y4 y
  939. ; http://php.net/filter.default/ M1 `( y2 ^& i. O$ \
  940. ;filter.default = unsafe_raw5 y  J3 _5 ^. d8 D$ G, E
  941. ( i" t; M+ R% m- \6 P7 F1 D
  942. ; http://php.net/filter.default-flags+ R. `3 H# ~5 F
  943. ;filter.default_flags =# D+ K! y, q% h
  944. , x* k: ?2 d1 F# [3 g" Z9 O
  945. [iconv]
    ' s# ~" W) k- D" D
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - |4 ^+ Q6 c7 W, q/ Q! S# R
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 k& U9 o1 U0 n3 T0 N% z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / T' K) K/ P' B8 Q' L
  949. ;iconv.input_encoding =
    3 G' _2 n. E% l8 N' J) I- K6 `
  950. % A5 s2 }7 E# e# q% H; s& [
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! L! y0 S2 w0 \6 V, X; ?- f$ q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# J. m4 N% @% J" p7 Q: ?9 `3 Y
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 N4 L- c) E# @8 l  `0 t
  954. ;iconv.internal_encoding =
    , l3 K' Z+ ^0 b, l" P

  955. ; B' k9 u' x! L) _
  956. ; Use of this INI entry is deprecated, use global output_encoding instead./ E9 t! |! v& O! a( w) a8 q% h
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 F0 C0 q' H0 y# ?$ j+ R* `8 E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    $ }  U6 e( U/ ^' q; ?1 ]% ^
  959. ; To use an output encoding conversion, iconv's output handler must be set
    4 l2 W% a6 v8 \' I
  960. ; otherwise output encoding conversion cannot be performed.
      b. H- t( \  f; N- A% w
  961. ;iconv.output_encoding =
    6 _) X- s, e1 ~7 X2 l8 @! R# \

  962. . w* `6 P: n7 N  O* q
  963. [intl]
    ) ~( W0 G& M/ m3 G9 b0 v
  964. ;intl.default_locale =
    4 @, [/ x* ~* Q& P
  965. ; This directive allows you to produce PHP errors when some error
    6 a  s+ D9 u' t2 G
  966. ; happens within intl functions. The value is the level of the error produced.! i6 V7 I7 s, P) k1 a$ b8 I2 y
  967. ; Default is 0, which does not produce any errors.
    ; P# l# H* D. u' z( [0 T" V
  968. ;intl.error_level = E_WARNING# S& }# a3 N% E& r; S+ [! o
  969. ;intl.use_exceptions = 0( u2 w  u3 j" L* B9 @8 Y) \+ z

  970. 5 X9 K' m9 [9 a5 X* o1 n
  971. [sqlite3]
    / r8 X/ {/ Q1 J! d2 B) c
  972. ;sqlite3.extension_dir =
    1 ^# }8 n" d1 P  ^
  973. - o# q  D0 S; g4 _
  974. [Pcre]( x8 ]( k' |( Y8 e4 N, i
  975. ;PCRE library backtracking limit.. v& l& Z# |+ J' S* W0 {
  976. ; http://php.net/pcre.backtrack-limit
    ' p. S4 i& ]; e: E
  977. ;pcre.backtrack_limit=100000$ I/ o9 U0 y! a4 g+ P, l
  978. 5 l4 C5 N8 f9 L7 l3 W0 R0 v
  979. ;PCRE library recursion limit.
    8 P, w- v- W* k/ E: S% U4 @' `4 T/ X
  980. ;Please note that if you set this value to a high number you may consume all
      ?% |# r! P- W" z
  981. ;the available process stack and eventually crash PHP (due to reaching the
      ^. Y, B$ p7 \: a
  982. ;stack size limit imposed by the Operating System).
    : g& M1 [7 T$ l
  983. ; http://php.net/pcre.recursion-limit
    " _. O) ]2 J; M9 ]# e+ K+ G+ d
  984. ;pcre.recursion_limit=100000. I* o: g5 C4 C3 m) M5 B

  985. / P0 Y/ Z( |" N: \
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    % `1 L0 B& [7 k9 C' g1 [  e
  987. ;library to be compiled with JIT support.0 h* ~1 [$ A) u6 t) y5 @& `% i# Z
  988. ;pcre.jit=1( J7 n4 v% `5 S  ]

  989.   ~% t& n% [0 D; D& d
  990. [Pdo]& S1 b6 w9 l+ Y9 z% ~
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"7 U5 ^2 L; ?4 X" _
  992. ; http://php.net/pdo-odbc.connection-pooling: d8 b; j. B6 \/ p
  993. ;pdo_odbc.connection_pooling=strict7 p! i/ @3 l0 b  G0 d- u
  994. $ p2 a$ T) g; g% ?% A7 d" _
  995. ;pdo_odbc.db2_instance_name  `" |6 ?; J) I# G+ j
  996. $ |: K% f% }3 v  l
  997. [Pdo_mysql]8 b9 S+ v; R% G/ l4 @
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache0 N; ]( J4 f7 ^& {& _6 B
  999. ; http://php.net/pdo_mysql.cache_size' c6 k7 }8 |7 F7 z0 \9 ?
  1000. pdo_mysql.cache_size = 2000+ s9 J5 ?$ T; \
  1001. - s% E! |% I5 }. S) l! o- s" V7 E
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 ]! I& O1 [# q
  1003. ; MySQL defaults.
    : Z  }' S# H, v5 U' A) X
  1004. ; http://php.net/pdo_mysql.default-socket
    . C9 j4 g3 V6 ^! I7 f, c+ Q- X: P
  1005. pdo_mysql.default_socket=. \7 b' f; ]9 Q& `
  1006. 5 O2 h6 p+ `6 j6 {- M) N" o7 A
  1007. [Phar]5 e1 B$ F' S* V- O+ [0 [
  1008. ; http://php.net/phar.readonly
    $ k3 B. {- g& ]1 h
  1009. ;phar.readonly = On" r8 s  i7 b* L- r, e

  1010. / K" Q+ z7 Z) w# d2 t+ b! z0 `, o
  1011. ; http://php.net/phar.require-hash% K$ s" N3 M" I! J3 }  ?, |
  1012. ;phar.require_hash = On
    , ~" H: l4 g  H+ s

  1013. 1 I/ I6 _* e. z' N6 Y
  1014. ;phar.cache_list =
    0 ~* d* D1 o8 {" ]7 U4 R; ?
  1015. + L) _1 F) n5 s' T4 _  s  x
  1016. [mail function]: A/ L2 ~/ ~7 b+ C, a% S" j
  1017. ; For Win32 only.
    # a; ~: A( D+ O8 v
  1018. ; http://php.net/smtp
    ) o7 A* B. t# ~4 W
  1019. SMTP = localhost
    ( Y" N. S. Y* ?$ D& h4 W! b
  1020. ; http://php.net/smtp-port+ K& e& H- A3 D5 \: D
  1021. smtp_port = 25# t: T! ]4 ?: |5 |% B3 p0 A

  1022. : Y/ E& W( T& L8 y/ p
  1023. ; For Win32 only.
    ! G% W; e5 b* q4 l
  1024. ; http://php.net/sendmail-from4 p2 c$ y0 n+ F* M+ j4 j% X& f
  1025. ;sendmail_from = me@example.com; E9 D( C# Z6 m* |' O
  1026. 1 i& i; d4 L2 z; q, C
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    % R8 V" x  P% y, n4 G
  1028. ; http://php.net/sendmail-path0 V. }. F- z4 V$ E  I8 X8 J8 d! H+ N
  1029. sendmail_path = /usr/sbin/sendmail -t -i! ~7 k9 K4 ~; @) p: i6 Y8 C% w
  1030. $ U6 M+ h# M$ I! C- g
  1031. ; Force the addition of the specified parameters to be passed as extra parameters, x. C( U8 f* ]& T9 i
  1032. ; to the sendmail binary. These parameters will always replace the value of
    " x" ?3 G6 G( D- F  ]8 D7 M
  1033. ; the 5th parameter to mail().- k, _8 w' B5 i( l1 c9 |8 y
  1034. ;mail.force_extra_parameters =
    - ?- ~6 @$ A& q

  1035. 4 h' O% \/ D% }( Z; ], G; \
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename! Y( v7 q" A0 l- {) E" Q# n+ ~$ X$ g
  1037. mail.add_x_header = On
    0 I- x: v5 a5 R6 c3 c
  1038. ! z# e0 h5 u8 [/ z
  1039. ; The path to a log file that will log all mail() calls. Log entries include. X: u6 G/ M# D2 v0 [2 I& D% v$ G& j2 f. D
  1040. ; the full path of the script, line number, To address and headers.
    " o7 T. a1 K! p; M( r/ ]0 U5 |
  1041. ;mail.log =4 X9 r/ {8 B4 R! M+ c* W
  1042. ; Log mail to syslog (Event Log on Windows).
    6 Y, V( H( w$ I3 F: G% ]" W
  1043. ;mail.log = syslog
    8 `) [4 g8 L& R2 w4 L
  1044. 6 U1 E' A/ U+ z
  1045. [SQL]
      x; y* R( l8 G1 n6 r
  1046. ; http://php.net/sql.safe-mode
    # q+ ]' z2 \5 b4 [
  1047. sql.safe_mode = Off
    + Q5 h; n( U1 Y0 \: D; P; _: n

  1048. 6 Y% C6 s8 N- K8 j- [) f/ z8 R' ~
  1049. [ODBC]
    - `3 Y' r9 B, L% L
  1050. ; http://php.net/odbc.default-db9 q. D# J8 h. E5 t
  1051. ;odbc.default_db    =  Not yet implemented
    - S9 i1 i" W: x" Q+ ]) H3 @! ]
  1052. % r3 M( M, X& }4 B. _
  1053. ; http://php.net/odbc.default-user, j. A% v/ m' H9 J1 F  r
  1054. ;odbc.default_user  =  Not yet implemented
    # B( Z/ b; h: R$ b0 ?/ v

  1055. - ]8 p, @' B0 h1 z, l) }
  1056. ; http://php.net/odbc.default-pw8 M6 \0 g8 Z4 ~4 T; x
  1057. ;odbc.default_pw    =  Not yet implemented
    - J2 \3 b4 N  K5 s# O$ \0 X5 z( e

  1058. 5 T0 a/ Y0 z) y2 l& s% [
  1059. ; Controls the ODBC cursor model.2 p8 G' N8 `: E* Q8 m
  1060. ; Default: SQL_CURSOR_STATIC (default).+ s6 A" T, m# j' G7 W- m, n
  1061. ;odbc.default_cursortype
    2 p2 s$ B/ K5 Q2 }& i$ f" R
  1062. ( L) ~' R& U! G! Q2 l
  1063. ; Allow or prevent persistent links.
    % P) k! X, f, [% J! I7 R! ~
  1064. ; http://php.net/odbc.allow-persistent  H3 K' P& z) ~( y
  1065. odbc.allow_persistent = On
    + J  u8 @: a! F% i' v
  1066. $ k# D9 ?, j0 y( q3 l
  1067. ; Check that a connection is still valid before reuse.
    $ P2 P9 [  h* L% }- }
  1068. ; http://php.net/odbc.check-persistent
    . O# C" i3 E8 m" p- y2 w+ E. @
  1069. odbc.check_persistent = On
    2 B4 l, i% ?! ]  h# D

  1070. * }* M5 A6 n" `+ v, W  M' L0 e
  1071. ; Maximum number of persistent links.  -1 means no limit.
      g, C+ L: ?* V- @; A" q- w- @
  1072. ; http://php.net/odbc.max-persistent* E" d* S9 E3 P0 N5 L7 b0 G5 s
  1073. odbc.max_persistent = -1& p. W% j% _+ ~
  1074. 4 O$ q: [8 ^5 z7 o( i% e3 B6 d" v  p
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) E: b5 N7 n% ?" D
  1076. ; http://php.net/odbc.max-links
    . k, s8 g' ~  |5 e! A7 a3 A
  1077. odbc.max_links = -1
    2 s: [8 \. Q: w0 n; l/ ?5 c  p' J

  1078. + t/ l( I" l0 f  q0 G- `
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# Z+ o# e. ~6 Z$ M: M) l# y
  1080. ; passthru.
    $ R9 P" l0 D4 i* a) i5 L
  1081. ; http://php.net/odbc.defaultlrl8 v# y8 [/ {7 r/ D& m
  1082. odbc.defaultlrl = 4096
    ; B! k  Y8 e* c  b2 d

  1083. 6 F) k: j  a2 M6 c
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 y3 k, W& Y% @; k
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 _+ M" S* B" M: n& _: p
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode" u" d# ?6 k' \! C5 k
  1087. ; http://php.net/odbc.defaultbinmode
    # ~4 h4 }% G3 t# W, }0 n$ M
  1088. odbc.defaultbinmode = 11 ~: \3 @" p( B3 D+ |5 I

  1089. ! H; x( P3 Y8 ], v" ?; V, J
  1090. ;birdstep.max_links = -1
    . K3 N! v( _$ ?/ y% ~0 }1 F- `# P

  1091. : v- ~1 d' F4 W5 e' n
  1092. [Interbase]& {6 `, M/ D1 p! e
  1093. ; Allow or prevent persistent links., l( [. X( S3 u% J
  1094. ibase.allow_persistent = 1
    % b1 I6 |, ~! a

  1095. * X7 H3 k7 r" K7 D
  1096. ; Maximum number of persistent links.  -1 means no limit.
    * ~; x. [( g( m& Y7 l6 P
  1097. ibase.max_persistent = -1
    ) ?( M  z) }: x7 }& I0 v, b
  1098. 2 S4 f, M9 L) Q! b# A
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * ~6 Q8 u$ E+ I! o
  1100. ibase.max_links = -1; g" g5 @: f% _2 l) j1 P
  1101. 3 I" f$ X/ F/ O, r7 D" c5 j& V
  1102. ; Default database name for ibase_connect().
    : T; U0 r0 F" g. t
  1103. ;ibase.default_db =
    + V8 w& Q6 n1 H. P4 A
  1104. 8 N. i/ ^, B- @; r) T! O
  1105. ; Default username for ibase_connect().
    " v; m+ a3 Q3 L/ b- E
  1106. ;ibase.default_user =
    3 X6 f; s, ]9 z4 x5 \5 B# n
  1107. . U! I& \7 o6 t5 f9 a7 M
  1108. ; Default password for ibase_connect().
    & K8 Y2 y' ]  O2 G
  1109. ;ibase.default_password =) v1 j' {% H; M0 ?3 u
  1110. + J1 ~) L; o2 X6 q& M  W( l
  1111. ; Default charset for ibase_connect().
    ; z% Z) P0 E3 P
  1112. ;ibase.default_charset =6 Z( {7 p0 ^* `/ M$ X; t' ]

  1113. $ [! V4 T" W& ?( ~
  1114. ; Default timestamp format.
    # l  E2 v+ b/ v) s9 J7 O2 n
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    - O% {7 ~' m( f. d+ C: |

  1116. ' p: x. }4 B, R7 K3 S! ]/ r$ Z3 [0 n9 {. d
  1117. ; Default date format.
    9 X: C' j# C2 M# X( D
  1118. ibase.dateformat = "%Y-%m-%d"
    5 N  ^2 X# `6 L) }: L
  1119. . F& S8 i0 j6 ^
  1120. ; Default time format./ g' L6 w9 _! e9 b, a1 c
  1121. ibase.timeformat = "%H:%M:%S"
    ; T) P, f( h  w
  1122. / y2 B, w! a/ p* F8 {0 ?; A
  1123. [MySQLi]2 ~, c, e* b% \# g# m

  1124.   G* Z6 B0 D0 b* P5 T) O
  1125. ; Maximum number of persistent links.  -1 means no limit.
    2 Z# j  p8 ~. A' N' M
  1126. ; http://php.net/mysqli.max-persistent
    & A, G. \( H  u8 _, i4 }' `
  1127. mysqli.max_persistent = -16 j2 j/ I+ G8 S3 s9 Y

  1128. # h; a# }2 I; N' O3 }9 z3 n4 B& ]
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - M! Y# n  |! `) b% |3 \" L
  1130. ; http://php.net/mysqli.allow_local_infile- T! [% b. ]8 k: g; A
  1131. ;mysqli.allow_local_infile = On& h9 S9 r5 a) n% Y- H" h( Q
  1132. & d- [# C( R! N1 t3 o
  1133. ; Allow or prevent persistent links.4 J/ Y% W& R9 p' p4 p
  1134. ; http://php.net/mysqli.allow-persistent
    0 d2 ^( R- z4 N7 d* K
  1135. mysqli.allow_persistent = On! o, M! y' G8 z. Y+ }) T# U& u4 w
  1136. & U! a- v2 {% m0 H
  1137. ; Maximum number of links.  -1 means no limit.
    ) m# _5 V$ O: g( }/ R& p
  1138. ; http://php.net/mysqli.max-links
    , K9 K& W5 b8 v* q  a8 Z
  1139. mysqli.max_links = -1
    ( L1 a% \! e9 O1 L  t
  1140. * F: ^- P2 o- a: G$ i" a# V0 R
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - r0 X9 c, P( m2 w: J
  1142. ; http://php.net/mysqli.cache_size
    3 p( g1 A/ ~5 }: S0 \
  1143. mysqli.cache_size = 2000
    1 q9 K8 |3 B+ S% b

  1144. ( i$ E* D7 U) A
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 V7 M$ o- }1 ^1 q
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! E4 i/ @4 k+ A6 Z/ p! I
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  X7 `( z' S9 o- x' b
  1148. ; at MYSQL_PORT.9 S8 ]% g6 Y5 ?% }3 h4 L4 f
  1149. ; http://php.net/mysqli.default-port7 r  ~+ j* F! m. O% O# U9 H
  1150. mysqli.default_port = 3306
    1 p& F  S: \& p$ T+ G

  1151. 0 a8 {4 A) P4 H" q2 m
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; F* J4 {* o- R9 Z5 a5 v4 r
  1153. ; MySQL defaults.
    * r5 \" U0 k" \* |! }
  1154. ; http://php.net/mysqli.default-socket: q" P5 Q" p8 I6 H7 J1 `
  1155. mysqli.default_socket =& |' W1 ?% {+ ]: u3 v4 |

  1156. # w, _0 t! G8 n$ N& _, I
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / T' q+ s% P% A. B6 k
  1158. ; http://php.net/mysqli.default-host
    . H2 y& g% W1 j& M% N! O
  1159. mysqli.default_host =: @" F7 A8 V  R% y! d$ u
  1160. + e0 G0 A7 i5 X3 _# ?- `+ i1 ?3 W
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).6 |8 ?- D/ D( r. ]: d9 t! y/ z, N
  1162. ; http://php.net/mysqli.default-user
    9 b- M! \! q' z2 ~& T
  1163. mysqli.default_user =- }. O- z1 z$ D/ M0 t) [

  1164. ' C5 a- e( [" e4 C* U' i# M( e1 n
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 q) K/ P& i4 _. C1 a- }) z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file./ x9 q$ `# c' Q  D2 U% |
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ! M% e' }) h; K, k
  1168. ; and reveal this password!  And of course, any users with read access to this
    ) C$ `9 E  Z' _4 A9 I4 [
  1169. ; file will be able to reveal the password as well.7 ]& P( Y0 W1 J+ P6 Y% ?
  1170. ; http://php.net/mysqli.default-pw
    " r) Q2 w" H% r$ X/ y- p
  1171. mysqli.default_pw =; m. ~% j* l& B# ]7 \2 R9 e- r
  1172. , }& u+ p* p+ E  K; ]; V
  1173. ; Allow or prevent reconnect
    8 Z: u* `% j3 g# y1 w2 y, d* z1 `
  1174. mysqli.reconnect = Off
    8 m4 X) n3 @1 e! a) v

  1175. # m2 z9 I) g3 n3 n$ n- a
  1176. [mysqlnd]3 [4 |! L# b. u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be/ q2 z: E/ m! W  j& F
  1178. ; used to tune and monitor MySQL operations.
    : Z- m) M/ X5 U6 c: m
  1179. ; http://php.net/mysqlnd.collect_statistics
    * H, F: ]/ x3 K6 ]
  1180. mysqlnd.collect_statistics = On  l7 N" j5 R1 @5 O7 C
  1181. " d( H0 w) z, w$ `, Z! W
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 \& H- a4 k' I8 s
  1183. ; used to tune and monitor MySQL operations.2 l4 v  I# l" e; I: A+ k
  1184. ; http://php.net/mysqlnd.collect_memory_statistics1 L# C. u/ A7 u
  1185. mysqlnd.collect_memory_statistics = Off5 h( \2 {  g- y

  1186. " @' o# B* i6 n7 J, t6 U8 K
  1187. ; Records communication from all extensions using mysqlnd to the specified log* f- W7 N( V( G/ r# ?
  1188. ; file.
    * ~# K. i1 C. F+ r, I' o
  1189. ; http://php.net/mysqlnd.debug
    9 n' S( ]# U6 A6 V9 N
  1190. ;mysqlnd.debug =
    & a! E2 y% O% ]: W
  1191. , a0 [4 N' |1 k4 W1 I6 [% D7 k7 W
  1192. ; Defines which queries will be logged.. ]2 B2 X0 ~9 O6 X! S
  1193. ; http://php.net/mysqlnd.log_mask: {( a' x# H2 P! D
  1194. ;mysqlnd.log_mask = 07 C: D4 R, A/ ~, S  R
  1195. 5 K6 z  _! ?; l4 Q- \5 y
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    - L7 M- H" w+ ^: o5 a- I
  1197. ; http://php.net/mysqlnd.mempool_default_size
    8 g1 o: Y; j; W& \! x
  1198. ;mysqlnd.mempool_default_size = 16000
    7 t0 o; l. T+ v

  1199. 6 I0 L6 ?* @. X3 R! H
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.! j/ i4 f- x1 A( }1 r' R7 C/ D2 m
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    . Q8 j8 K$ s6 p' k
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    & c7 c% |2 S  |& `+ B* m4 k" C
  1203. 1 D3 W% u0 r8 K1 q
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in- S+ P8 G" [8 h7 G- J! x. I
  1205. ; bytes.
    8 k# M" F9 @% m5 c
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    # m& y& O9 r- R4 ~1 s/ r3 F
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 V  _0 @! ^( R! Y
  1208. 2 S) _) p, ~; l% B0 i% C: n2 ?
  1209. ; Timeout for network requests in seconds.
    % `3 ~' S3 [; r7 w1 h
  1210. ; http://php.net/mysqlnd.net_read_timeout* X; Q2 K5 P! g1 {5 t( v
  1211. ;mysqlnd.net_read_timeout = 31536000+ J* H; E8 S. c2 u7 h3 A( j- l# d
  1212.   U' e3 j% D+ i1 D1 M' W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , ^; s* _9 i9 K- w' @
  1214. ; key.0 `% p* T# O! q% Q3 [  k$ U! m8 D
  1215. ; http://php.net/mysqlnd.sha256_server_public_key9 F8 U+ J6 j: j9 k% Z9 r+ S
  1216. ;mysqlnd.sha256_server_public_key =
    % Y& Z$ C5 a/ Q3 A. G; |

  1217. % a" t  a9 K; v% v, ?
  1218. [OCI8]3 N! O+ L( C+ H
  1219. 8 d  }; Q$ @1 x/ B! \7 W1 x# t5 b
  1220. ; Connection: Enables privileged connections using external
    - h; r* Q: `4 a/ L, Q+ n
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' j' i  X5 f' B) p
  1222. ; http://php.net/oci8.privileged-connect
    ) C) q- \  ^/ I/ b" r4 y( Y0 c
  1223. ;oci8.privileged_connect = Off7 s4 w- K. j$ c8 a' Z6 P( @

  1224. ! ^1 Z* W1 S7 k- G6 \
  1225. ; Connection: The maximum number of persistent OCI8 connections per7 j2 N" \9 @% A5 W! }: C- n
  1226. ; process. Using -1 means no limit./ V4 y( `# L( u% O+ d; O' O- V
  1227. ; http://php.net/oci8.max-persistent2 g  o# {8 t0 S
  1228. ;oci8.max_persistent = -1
    9 v. R* J5 t6 D: ~/ q
  1229. 9 h8 J7 S( e. b7 T1 d5 @9 b
  1230. ; Connection: The maximum number of seconds a process is allowed to/ k% j3 H( ^; a1 B, j/ P/ r; x% m
  1231. ; maintain an idle persistent connection. Using -1 means idle
    $ ?, q! z: p& @  C
  1232. ; persistent connections will be maintained forever.( t& }0 j! l" G) c0 Y
  1233. ; http://php.net/oci8.persistent-timeout* ]% q: I2 O! L# Y2 P( P
  1234. ;oci8.persistent_timeout = -1
    3 b: @3 D! M8 Q* j6 o
  1235.   f. V5 t4 e  c
  1236. ; Connection: The number of seconds that must pass before issuing a8 h4 `2 n! V; z4 L/ {1 \  n
  1237. ; ping during oci_pconnect() to check the connection validity. When
    $ v8 U7 g1 }. @. R6 V* t+ v' F
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    - `; ^  A  W& ~9 `- S5 p4 }
  1239. ; pings completely.
    7 S1 ]6 y8 Z+ m# u
  1240. ; http://php.net/oci8.ping-interval) v3 @4 C5 D; i9 v8 G! p
  1241. ;oci8.ping_interval = 60- d* f' Q9 n, D
  1242.   Q) {( T, z: u- [
  1243. ; Connection: Set this to a user chosen connection class to be used1 X; o3 G# S& q  p
  1244. ; for all pooled server requests with Oracle 11g Database Resident5 Q/ r9 l& {& c8 @: A
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' ~- ?9 f: C% ^
  1246. ; the same string for all web servers running the same application,5 x, e) j4 l  e0 K/ w
  1247. ; the database pool must be configured, and the connection string must/ ~7 n% g5 U8 u9 P
  1248. ; specify to use a pooled server.. v9 O  k. Q( M3 i& Q1 G) T
  1249. ;oci8.connection_class =
    $ K6 j0 C6 T) P% \
  1250. % Q3 Z9 @) r4 W6 L7 j$ `7 U" B! |% K
  1251. ; High Availability: Using On lets PHP receive Fast Application* p: @  Z+ S% E1 ]- n8 ~2 p2 L
  1252. ; Notification (FAN) events generated when a database node fails. The5 E* ^' @) J3 m0 v5 H6 k
  1253. ; database must also be configured to post FAN events.6 A. y+ z! N) a& S3 a* |
  1254. ;oci8.events = Off" }& o4 n' v+ p7 ]

  1255. $ R; n) _" N0 s
  1256. ; Tuning: This option enables statement caching, and specifies how6 P) j- |6 E$ B7 T. D; \
  1257. ; many statements to cache. Using 0 disables statement caching.
    ' t' f/ a$ L" S. ~4 E
  1258. ; http://php.net/oci8.statement-cache-size! s5 _# M0 t/ M; G
  1259. ;oci8.statement_cache_size = 20: T& g: R6 \- x: e" ~8 q
  1260. 9 Q& |# j7 L5 @+ \
  1261. ; Tuning: Enables statement prefetching and sets the default number of* A& Z, ~, b4 X$ [
  1262. ; rows that will be fetched automatically after statement execution.1 R5 R1 K: t& k4 O
  1263. ; http://php.net/oci8.default-prefetch- ]3 A2 P7 @6 x, k; G+ z% s
  1264. ;oci8.default_prefetch = 100" G1 k8 N; m+ f6 c0 P6 p3 D; D/ [

  1265. : e& T- w& I. ?+ P
  1266. ; Compatibility. Using On means oci_close() will not close. Y& h9 m: P4 A5 Y, R2 S, n6 ^1 M
  1267. ; oci_connect() and oci_new_connect() connections.
    # U$ d8 B5 {% ?4 o) `' G
  1268. ; http://php.net/oci8.old-oci-close-semantics* Z# y( F8 j8 D* b  f
  1269. ;oci8.old_oci_close_semantics = Off% K( K: Z! }2 ]1 o$ D! B: ?
  1270. * s* n4 R1 M4 f% z5 X
  1271. [PostgreSQL]# M1 }  l) a, `/ b1 z6 q+ X) S
  1272. ; Allow or prevent persistent links.( t& j7 U/ H. p3 Q3 f7 _7 n% e
  1273. ; http://php.net/pgsql.allow-persistent1 g  O3 z/ e5 t2 y5 d
  1274. pgsql.allow_persistent = On0 O9 q% o' @0 f3 N% Y/ H* Q9 W

  1275. " |: B  C! R& f( M- O! t- I( N! o' s
  1276. ; Detect broken persistent links always with pg_pconnect().
    + o9 I- M3 f% j
  1277. ; Auto reset feature requires a little overheads.
    8 R0 Z( G1 z/ f, p% g8 B
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 ?# K7 e0 j1 E! f( y
  1279. pgsql.auto_reset_persistent = Off
    2 H: d$ C  R6 v0 a- K; Z

  1280. 1 @) N* }8 Y4 o: C
  1281. ; Maximum number of persistent links.  -1 means no limit.2 _6 I; ]; k& F0 _, x& Z% U( E
  1282. ; http://php.net/pgsql.max-persistent8 D3 ?6 B5 v8 ~5 g4 x
  1283. pgsql.max_persistent = -1* o' M, Z) ?0 i; y$ f3 ?

  1284. + A2 N$ y  [1 h. o2 {
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 J. s$ V& n2 t6 I+ L9 ]
  1286. ; http://php.net/pgsql.max-links# m2 E4 X% v- Y6 ~
  1287. pgsql.max_links = -1
    7 }3 L( I$ Q) r  n

  1288. & L# U. w. s. T+ R/ L1 y% i6 ]
  1289. ; Ignore PostgreSQL backends Notice message or not.5 b% S  \+ l8 f7 @" |
  1290. ; Notice message logging require a little overheads.( c7 U" z, N6 A- Z4 o4 A; W) G! n: @3 X
  1291. ; http://php.net/pgsql.ignore-notice7 |7 }: H$ I: A  L+ @0 o* a
  1292. pgsql.ignore_notice = 0
    - ]* e* d+ ?. _6 `+ ~
  1293. * X- d/ q" B7 a( R
  1294. ; Log PostgreSQL backends Notice message or not.* P9 w- V: [  H, O! ~. i" j) Z( i% W7 s
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * p  j9 P/ z( G8 l* c
  1296. ; http://php.net/pgsql.log-notice
    ; {$ V, U/ ~/ f4 L
  1297. pgsql.log_notice = 0. A+ O1 R0 ~! H& r5 s

  1298. * f0 Y1 @  x- A9 W9 V: o, U
  1299. [bcmath]0 k. i/ S" t& |' S# g1 X. q4 `
  1300. ; Number of decimal digits for all bcmath functions.6 x' x1 a- U" S3 y9 ^/ y
  1301. ; http://php.net/bcmath.scale
    * z3 {8 A+ V4 c- o5 E8 R2 R) m
  1302. bcmath.scale = 0
    $ o* I4 {* q+ }  S7 {* W5 c% U
  1303.   p' y# Y) s4 [% v9 p" p
  1304. [browscap]0 {% [8 o. h9 r% B) x2 @, V
  1305. ; http://php.net/browscap
    5 v2 m: |# ?- ?: Z& z
  1306. ;browscap = extra/browscap.ini
    4 y2 I+ n" _- ^, a" H

  1307. " {- {' f' f' E% w4 C, |
  1308. [Session]3 Q% V) G; d/ |
  1309. ; Handler used to store/retrieve data.
    & L) I0 {! w8 Q7 {: U4 v
  1310. ; http://php.net/session.save-handler/ L" t, V5 {6 d& m, M0 p
  1311. session.save_handler = files
    5 e# v3 f7 S) Q& l( O/ a; g$ R

  1312. 6 O0 I: t4 _+ U1 t/ D! O) V5 _
  1313. ; Argument passed to save_handler.  In the case of files, this is the path* _: J4 Y% J3 j2 g
  1314. ; where data files are stored. Note: Windows users have to change this3 O# G) \# |1 [
  1315. ; variable in order to use PHP's session functions.! u) D% F+ ]6 D* t0 u
  1316. ;# N1 E5 k, ]+ N: j
  1317. ; The path can be defined as:6 O2 _; [( J: A
  1318. ;
    2 f5 l4 g( B% Y0 B
  1319. ;     session.save_path = "N;/path"2 d2 k- \4 x& \- ?; F
  1320. ;
    5 F. H9 t4 q. g8 E
  1321. ; where N is an integer.  Instead of storing all the session files in
    * k5 O. d3 J. i5 N4 h
  1322. ; /path, what this will do is use subdirectories N-levels deep, and# U( p# f/ E) p
  1323. ; store the session data in those directories.  This is useful if
    / u& R# \/ M& c3 a# I
  1324. ; your OS has problems with many files in one directory, and is
    " t+ O* [  p5 G- t
  1325. ; a more efficient layout for servers that handle many sessions., f! _! u- k- i* `: D
  1326. ;
    ( z$ P* [6 r* v8 h& {" Y; z
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    : l' m; ~1 l: a2 T3 Z& m
  1328. ;         You can use the script in the ext/session dir for that purpose.! s! c6 I7 m7 b1 I$ {
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' N5 N' R* _% e
  1330. ;         use subdirectories for session storage  n* a0 y6 e: J
  1331. ;
    - Y* R, O" L. T& }
  1332. ; The file storage module creates files using mode 600 by default.6 r0 \/ M6 t0 W' ~% S
  1333. ; You can change that by using
    1 z! H, K* t( q9 I- v
  1334. ;3 s7 _; ^7 A3 Q
  1335. ;     session.save_path = "N;MODE;/path"
    7 F6 p$ E( k- {# n- Q
  1336. ;# R2 `; w3 U( T+ @# o1 R
  1337. ; where MODE is the octal representation of the mode. Note that this4 \7 t( ~! F% T& n( x
  1338. ; does not overwrite the process's umask.
    6 v/ A7 @( Y6 P* n3 n+ F
  1339. ; http://php.net/session.save-path9 O, Y( E  T! C# R, Z& L2 ~+ u9 t- ]
  1340. ;session.save_path = "/tmp"7 O5 l/ u: O7 t# I2 u% ]8 O

  1341. $ b% I8 m& Y/ u7 y; K0 q, H$ }* k6 S
  1342. ; Whether to use strict session mode.4 p# e4 C& A* s( Z6 t* `
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    0 ^' f& Y) r3 T' {7 A# l! ?! k: c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects) p9 }' R/ {$ w" A; t" d  _
  1345. ; applications from session fixation via session adoption vulnerability. It is- r1 o& N% Q! N) V
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 h0 b* K6 i0 f1 \
  1347. ; https://wiki.php.net/rfc/strict_sessions
    5 c" v" ]6 D: r' b
  1348. session.use_strict_mode = 0# j$ |- J. d" E6 u: [) P

  1349. ' [) \% w2 \& \
  1350. ; Whether to use cookies.
    , e% y, O2 M- R: p) w9 E
  1351. ; http://php.net/session.use-cookies; s  }' G9 K+ f; X& }' h
  1352. session.use_cookies = 1
    ( u, z1 g  h9 B
  1353. + G. }. [/ n- F$ J6 ]; x
  1354. ; http://php.net/session.cookie-secure* j; n; B8 q+ @( @* v5 n: P
  1355. ;session.cookie_secure =
    0 G  B1 v. C* ]7 J

  1356. + U7 e2 ~' ~8 C0 }
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! H1 m  I  R. [
  1358. ; the session id. We encourage this operation as it's very helpful in combating8 o+ z4 n+ _% ^5 w' w
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . q) n! c. w. o1 b
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.& f# X" g+ U4 L, d' ~* T% d
  1361. ; http://php.net/session.use-only-cookies. U/ z+ o. [, s5 @: P8 s; t
  1362. session.use_only_cookies = 18 d% A, ^/ H. ^. D- Q( |
  1363. 7 S0 S* Z/ L) v9 V
  1364. ; Name of the session (used as cookie name).( M0 {( a4 S+ Y. D+ x6 ?  n# }7 K- E
  1365. ; http://php.net/session.name$ E6 h* W1 c- ~7 S/ ?( [( I
  1366. session.name = PHPSESSID; @2 k+ w6 e/ a+ ?$ y

  1367. 7 o; }! o; d! C
  1368. ; Initialize session on request startup.' i( I3 H" u' i6 F7 H8 S
  1369. ; http://php.net/session.auto-start
    0 s8 [9 R' e4 N4 e8 q3 r
  1370. session.auto_start = 0
    & o( ^  {. h: j! ]: `  f
  1371. 1 w+ H# C7 B% ~/ U; ?. y. m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted., b! U- `( k1 t" g( \5 W& q8 I
  1373. ; http://php.net/session.cookie-lifetime$ O. y, K8 ^- p7 e0 |
  1374. session.cookie_lifetime = 0
    1 d7 }5 O& n( ]) @: _2 R$ ^# A- e; X

  1375. : t" R6 K! [, I, a4 z9 }; u
  1376. ; The path for which the cookie is valid.9 m0 K7 ^1 |1 Z+ u( M+ ?6 \) |) M
  1377. ; http://php.net/session.cookie-path4 W* E- [: e& m# x
  1378. session.cookie_path = /5 J" Y1 B5 O* L" c- u' {8 X1 \$ P
  1379. % A2 ~7 ^- J! k& |  G1 D  l: _
  1380. ; The domain for which the cookie is valid.
    $ j9 U% P( X9 R$ f
  1381. ; http://php.net/session.cookie-domain) g& p7 s: O' W) `* b3 P& T
  1382. session.cookie_domain =% S1 ~: {) Z4 [7 a8 Y
  1383. 6 z8 p+ V  k9 A& l
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& v+ q/ A7 s  p" Z
  1385. ; http://php.net/session.cookie-httponly
    + S5 o0 E" X5 S; T9 \
  1386. session.cookie_httponly =6 u7 @) @! `' `

  1387. ) B2 r# N* _% }' f; G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.7 o9 q4 |: g! R9 h  b4 O% ^8 e! N
  1389. ; http://php.net/session.serialize-handler- d; y, f4 L1 T3 g( L; v# |  l
  1390. session.serialize_handler = php2 v: [8 N" @8 u' d
  1391. - X7 l: ^2 B0 Y( L1 S- f7 U& g
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 f  k+ }; q7 K
  1393. ; on every session initialization. The probability is calculated by using
    ' d. w1 H! x3 o2 _" N4 X
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 `( l! }3 U& X% x' b
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : `+ f( c) G; D" b; T) N
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 H5 V) k/ w8 R, a) X$ H- u( h
  1397. ; the gc will run on any give request.. P7 z: w1 j% j4 z& O3 S
  1398. ; Default Value: 1  V9 F! D; q8 T
  1399. ; Development Value: 1
    ! [9 @1 n# b7 N- _4 V3 U
  1400. ; Production Value: 1+ S) \, k/ c, t  b
  1401. ; http://php.net/session.gc-probability
    . G: e8 N4 j3 |. i
  1402. session.gc_probability = 18 E' W3 y' N+ x* t% r+ J
  1403. ) w! b$ k4 r& o7 [. V  P
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    9 X& W5 p% E8 }& P5 [$ r
  1405. ; session initialization. The probability is calculated by using the following equation:
    8 z; `! K+ h' W0 J* J, I- K" i
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / @' S! T8 B6 T* b- ]1 ^& q
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 \" a: B- y+ D& B' j; u& u
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- P0 _8 K+ ]& J1 O" a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * f" p2 q# [3 _9 y
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 f8 _* Y" k1 O- `& S5 z% o- j/ a" W' q
  1411. ; this is a more efficient approach.8 J+ a; y& \5 b/ ?6 z0 P" u7 t
  1412. ; Default Value: 100* D5 q' Q' v2 B# V7 O8 r
  1413. ; Development Value: 1000
    5 B7 a+ i; I0 K3 v5 f  b% x" o- X
  1414. ; Production Value: 1000
    " z, n5 |  o6 T! T7 y
  1415. ; http://php.net/session.gc-divisor# O& L2 x; k3 ~! R$ e, s( _- [
  1416. session.gc_divisor = 1000
    * e" a+ P( }% _  \+ m
  1417. : S- y" m+ d- [" X! }8 ?# m
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and& G( _( N  C" i; m5 L& c
  1419. ; cleaned up by the garbage collection process.; x- Y: p1 _, I# ?2 s
  1420. ; http://php.net/session.gc-maxlifetime
    5 {: }" X- L6 P/ \3 ?4 ?
  1421. session.gc_maxlifetime = 1440
    & D2 P0 i( k. P2 g# W; O

  1422. + j, P! `- D/ f: K% v, l, H5 O# D
  1423. ; NOTE: If you are using the subdirectory option for storing session files- `5 d, w4 H+ f- t
  1424. ;       (see session.save_path above), then garbage collection does *not*! H& H/ O8 p9 G
  1425. ;       happen automatically.  You will need to do your own garbage
    . G: P' [; t( u4 x( p$ x$ ]
  1426. ;       collection through a shell script, cron entry, or some other method.$ @; p) d) F& E" P$ [, n
  1427. ;       For example, the following script would is the equivalent of( ~6 o8 t9 D% k" _! X# v
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : r3 i9 k/ p7 r9 S  r1 _
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm" g( b( }% ~- k

  1430. 6 B4 g& `8 W( z/ ^7 b
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 R/ }, X+ \+ P7 N
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    6 Q7 |/ e  N! s5 B1 L+ Y# f% k% ~
  1433. ; considered as valid.
    2 ?" o, ?' t* G/ ]
  1434. ; http://php.net/session.referer-check8 o4 o) W! s) G
  1435. session.referer_check =
      @% V! y0 r) p- y3 B" f
  1436. 6 r% n% v- b+ R" w
  1437. ; How many bytes to read from the file.9 O& s6 ?% S; I, O: ^
  1438. ; http://php.net/session.entropy-length
    ) R3 N( w* F$ m& H
  1439. ;session.entropy_length = 32
    / X! F2 y+ U, L# W) b, ^# L

  1440. 1 |7 j! d  r4 g6 C$ g; a
  1441. ; Specified here to create the session id.
    3 f' O8 j8 C' V9 X) [3 q; l
  1442. ; http://php.net/session.entropy-file! S$ ?3 ^4 `. q9 D1 q! v( {! L
  1443. ; Defaults to /dev/urandom' g6 R$ {$ [: c" h5 Q$ g
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , e" c9 y' c$ m: O( Y. O5 ^4 o
  1445. ; If neither are found at compile time, the default is no entropy file.
    ' m5 ~- I% m$ P! v! z$ z  M$ Y
  1446. ; On windows, setting the entropy_length setting will activate the
    . ~% S/ M& J3 }9 d. }- w
  1447. ; Windows random source (using the CryptoAPI)7 A9 O7 K3 T& ~' g# b
  1448. ;session.entropy_file = /dev/urandom& E4 N4 W4 N3 X2 g' B; z, j3 A! k
  1449. " h  _8 J" }. l/ w1 M
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 V* t! H5 S) a* }) D
  1451. ; or leave this empty to avoid sending anti-caching headers.2 f* l7 g' G1 C; Y: i# p
  1452. ; http://php.net/session.cache-limiter9 f; j+ `* o$ T% V
  1453. session.cache_limiter = nocache1 L- b/ w5 O1 K) @1 l6 U
  1454. # L4 E$ L7 @5 c! s6 L$ I( H- v2 Y
  1455. ; Document expires after n minutes.1 o; e9 v5 ]9 N( M+ X
  1456. ; http://php.net/session.cache-expire* }1 K% d( @4 T/ s) f7 i
  1457. session.cache_expire = 180
    & c4 |7 x( t# K2 }
  1458. , }* \; i* X% r7 D) S' M
  1459. ; trans sid support is disabled by default.# ~. r% y6 x  o
  1460. ; Use of trans sid may risk your users' security.+ ]' C9 ?3 w3 R/ j$ T7 C
  1461. ; Use this option with caution.
    / k! t6 l7 [- ^6 G/ D0 @, s
  1462. ; - User may send URL contains active session ID+ H, a: g. d$ @3 F( O6 ]- E
  1463. ;   to other person via. email/irc/etc.) s& L: b7 G- k  X
  1464. ; - URL that contains active session ID may be stored1 N; z  z/ C% M* R- A: F+ O2 x
  1465. ;   in publicly accessible computer.( l" R. m; P* m
  1466. ; - User may access your site with the same session ID
    ' z/ Y3 s% ^- N8 ?2 M4 x1 p
  1467. ;   always using URL stored in browser's history or bookmarks.4 Y# K2 W" H, {
  1468. ; http://php.net/session.use-trans-sid
    6 a$ F3 ^2 c" Z8 T' \9 C
  1469. session.use_trans_sid = 0/ L  _0 T. y6 {4 g$ u( y

  1470. : u% e8 j# f- J* _+ F
  1471. ; Select a hash function for use in generating session ids.
    % p' [6 }7 F  J' g
  1472. ; Possible Values, u/ Z& j8 N! c1 c, B
  1473. ;   0  (MD5 128 bits)( j+ J+ g/ V% |' E8 y4 ~6 y
  1474. ;   1  (SHA-1 160 bits)
    " ]7 g1 K- ], k' L4 ]
  1475. ; This option may also be set to the name of any hash function supported by
    ' c7 L/ D) e% p+ a
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()9 b" ~1 s! s7 Y8 `# o
  1477. ; function.# n6 n/ V9 c" b8 t5 x' p# }
  1478. ; http://php.net/session.hash-function5 @/ G& ~% S: z: t
  1479. session.hash_function = 0& F% Q- ]2 n0 l- u4 ^" H' \; H

  1480. : M" w: N' ~, [: z$ v
  1481. ; Define how many bits are stored in each character when converting# Z. F# L2 n" D0 Y. i' a: ]
  1482. ; the binary hash data to something readable.
    0 t5 L) {  h2 ?
  1483. ; Possible values:+ I0 W6 i' G- d8 D5 Y% s
  1484. ;   4  (4 bits: 0-9, a-f)  b8 S. r% L7 N) q
  1485. ;   5  (5 bits: 0-9, a-v)9 _+ T* h% V* [6 s6 J/ V) p
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 f% o& r' t  c+ x+ h
  1487. ; Default Value: 4
    9 @8 b/ R( J7 l8 u, I# Y/ X# P
  1488. ; Development Value: 5
    2 g4 |0 v/ B" }$ p8 d
  1489. ; Production Value: 5' x, l* C9 M2 s6 P: Z' W
  1490. ; http://php.net/session.hash-bits-per-character( A% ?2 p8 \" g4 V
  1491. session.hash_bits_per_character = 5
    + g2 g/ V  ^: F7 p9 U' V
  1492. 3 ]5 A( |$ D& K' {5 _- l4 T0 `, b6 v
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags." p" V  C0 |% O9 `# `. {# F
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    7 R" ^3 p8 m% [& C8 f( z6 F" [+ g9 }
  1495. ; add a hidden <input> field with the info which is otherwise appended! R9 b) w1 m# A6 {4 O
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 J0 W: q  [  X2 k2 R5 I  n1 u: Q
  1497. ; Note that all valid entries require a "=", even if no value follows.9 Z5 a; k9 `% w; n: b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% B7 \  ^: _" b) a7 E
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" @; N+ [& J% Z! \
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 z% v# b0 ^; B5 M0 b
  1501. ; http://php.net/url-rewriter.tags
    9 d; a2 b5 G+ y) Q# H7 [
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , B, d5 G; J; }6 u/ P4 y

  1503. ) k7 R2 A( e4 ]1 @6 f# l' r
  1504. ; Enable upload progress tracking in $_SESSION
    : Q' }) X* k0 y0 t) L5 V
  1505. ; Default Value: On; \% Q1 e' B; e
  1506. ; Development Value: On
    + Z$ g! `- ~& M/ X9 s' h
  1507. ; Production Value: On- v/ `6 j" m% K# L; B# W, r+ _
  1508. ; http://php.net/session.upload-progress.enabled
    ! m$ V/ y* o1 A4 Z4 f2 i0 t
  1509. ;session.upload_progress.enabled = On
    1 p! w0 J' l2 Q; ]
  1510. 8 C. D/ ?8 _) y" q. J& T+ ^4 g1 i- q' F
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ; \% B% [( S2 X" y0 E$ Q  ]
  1512. ; (i.e. upload completed).
    2 ~# N, [( e7 [# l, ^
  1513. ; Default Value: On
    $ @! D1 i& A# k  T. e
  1514. ; Development Value: On
    ! J+ S6 _. m7 {/ s$ ^
  1515. ; Production Value: On
    + {: X7 O8 ~2 L" c8 E
  1516. ; http://php.net/session.upload-progress.cleanup- K- O- W5 _4 N0 y
  1517. ;session.upload_progress.cleanup = On
    0 L) X1 K# t- ~; @: I6 n; ]5 ^

  1518.   K1 J6 v+ Y( D7 P/ _$ U( F
  1519. ; A prefix used for the upload progress key in $_SESSION
    ! Q% W  @2 t- A7 G+ h8 K8 t( z
  1520. ; Default Value: "upload_progress_"' ^1 T( m: L4 n, t. A& v
  1521. ; Development Value: "upload_progress_"+ X5 M# i; r/ S% n- t
  1522. ; Production Value: "upload_progress_"
    # l, n4 a8 x$ ^6 ?7 y( A7 ?
  1523. ; http://php.net/session.upload-progress.prefix
    5 I3 B. h; b9 [- |& W- b
  1524. ;session.upload_progress.prefix = "upload_progress_": T' L. A2 c+ |: z5 \) O: R4 O
  1525. ( n* V  x" R: N4 J5 P
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    " Q( Q# D! n/ ^  q) @! s0 N3 k
  1527. ; containing the upload progress information! u5 k7 z  T- G% Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : ~" D' S1 H, E! b
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : U& e( u; H7 o( @/ }$ d, t
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 P% S' x" E0 D- _# v
  1531. ; http://php.net/session.upload-progress.name: g. v6 a, V8 ]$ r5 Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- h9 R0 v+ o+ y8 p5 ~0 s( r1 [8 ^
  1533.   D9 |% d9 c; |* D7 l0 p
  1534. ; How frequently the upload progress should be updated.# n1 g  B- k; ?+ U
  1535. ; Given either in percentages (per-file), or in bytes
    7 N: b7 V3 I8 m
  1536. ; Default Value: "1%"; [  _4 I9 f/ Q1 g7 Y; |: M
  1537. ; Development Value: "1%"$ |. H% M" Z9 }
  1538. ; Production Value: "1%"
    $ d" x4 H/ N- x# f, Q
  1539. ; http://php.net/session.upload-progress.freq
    " K0 c( r' J! N/ k3 J; ~) x
  1540. ;session.upload_progress.freq =  "1%"5 D: b: K) [, i4 P+ l  j

  1541. ) m% ^- e! @2 V' j+ k) `  i
  1542. ; The minimum delay between updates, in seconds! B) z9 p/ H: B& K
  1543. ; Default Value: 1
    6 O/ l1 ]2 I/ d2 e9 k
  1544. ; Development Value: 1
    $ w# x- [/ o9 H4 J
  1545. ; Production Value: 1
    # S" [: u$ T$ u7 G6 \1 {
  1546. ; http://php.net/session.upload-progress.min-freq6 D& w4 b% }6 [6 w0 x3 F
  1547. ;session.upload_progress.min_freq = "1"% w; J$ y$ S) `8 |
  1548. 7 |3 q" w7 w8 @+ B" S' l9 ~
  1549. ; Only write session data when session data is changed. Enabled by default.6 }* Y0 O* G( q* Z4 E/ `5 X$ G
  1550. ; http://php.net/session.lazy-write( }$ A5 A$ @& H4 {% O2 c
  1551. ;session.lazy_write = On+ i" v( W/ P( `8 @
  1552. , |4 }1 X/ x. ]5 x: o1 |1 A3 L" h
  1553. [Assertion]$ A: P  L3 n+ e* S9 Y" i4 ]
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time); B' s" R. {8 s. m3 Y
  1555. ; -1: Do not compile at all( T/ I; A2 B2 [* L
  1556. ;  0: Jump over assertion at run-time* Z. F2 I* e5 `0 b4 h8 w5 y
  1557. ;  1: Execute assertions
    - D( j4 c0 |& ]  u& t
  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)) S2 j" j  D, v3 B; z
  1559. ; Default Value: 1; H0 n3 M, W$ I, I9 S
  1560. ; Development Value: 1* O9 o' @" P2 }0 H5 V* F' P( t
  1561. ; Production Value: -1
    $ _2 F+ f/ [" H' U( ^
  1562. ; http://php.net/zend.assertions
    ; t5 x1 T( A' C; N6 ]! {
  1563. zend.assertions = -10 F" ^  O" R. k' V6 V

  1564. $ K4 {; V) h* g$ `! {
  1565. ; Assert(expr); active by default.
    9 [5 }, V; f' w9 x8 L0 D
  1566. ; http://php.net/assert.active2 G$ Z" q7 U9 [
  1567. ;assert.active = On5 j& U, w, D9 }5 ?) e$ Z- o% H$ X" ^
  1568. 9 h' q# g1 T- ~# o  o
  1569. ; Throw an AssertationException on failed assertions
    8 p4 J" a- W6 _( g/ M8 {
  1570. ; http://php.net/assert.exception
    * b, I' o$ B5 P4 s7 W) @( I
  1571. ;assert.exception = On4 t. v2 `( y5 f6 O4 T

  1572. ' e! m( h5 z1 p$ Z1 V
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)4 X- \4 z( e; [' @
  1574. ; http://php.net/assert.warning3 k3 o8 t1 \9 n# R( ^+ Y' D: D! V
  1575. ;assert.warning = On
    ; j, L5 Q& V5 x4 U4 }' k( A
  1576. ( d2 `: |3 d. @: m4 o: y  s
  1577. ; Don't bail out by default./ O3 e5 Y7 ]. p0 V
  1578. ; http://php.net/assert.bail2 M" K7 L" y9 k! }
  1579. ;assert.bail = Off" K( u, `& ^  g" d  w8 f% k, ^

  1580. 8 g; q0 G2 W/ W* o# Y2 t
  1581. ; User-function to be called if an assertion fails.
    , Z, D( q7 M, X, t1 o% _% ?
  1582. ; http://php.net/assert.callback1 n; y: G# Z2 X4 @! K( Q9 `) ^2 |7 C
  1583. ;assert.callback = 0
    - s$ B% r. X. `/ q6 U
  1584. - N* f$ n6 ~  E( d' s0 M/ w
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    : T* U- i7 E" i( j" j
  1586. ; error_reporting(0) around the eval().5 ^3 C. n9 [; I  i, l" v0 F
  1587. ; http://php.net/assert.quiet-eval
    9 I/ s$ u5 y6 {( c
  1588. ;assert.quiet_eval = 0# m1 r* m" V3 s) U8 |$ c3 K( C9 r" C4 M

  1589. 8 A" o0 y+ z- u9 d/ ^- Q# y5 |
  1590. [COM]
    % ~# w! I+ ^. M/ I
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * |* o/ @! ]3 U+ h
  1592. ; http://php.net/com.typelib-file& `/ U: Q5 J8 h9 Q+ U
  1593. ;com.typelib_file =- m9 x$ ]+ {/ @* f" T6 E
  1594. 7 h6 o$ O1 [+ M$ N! `
  1595. ; allow Distributed-COM calls* c7 \0 S8 R, g; t+ y
  1596. ; http://php.net/com.allow-dcom
    " _$ z3 l% h: E6 Q+ i9 Z/ T
  1597. ;com.allow_dcom = true$ F* @2 V! m' D$ N0 W, y1 [

  1598. 1 o: N. K# L! F
  1599. ; autoregister constants of a components typlib on com_load()' ?( M1 z" c2 @! d
  1600. ; http://php.net/com.autoregister-typelib3 c. O- y7 j2 r6 J5 ~5 o6 D) G* b+ s
  1601. ;com.autoregister_typelib = true! H; Y! _4 ]* t; V

  1602. 1 Z) D- k- h, K
  1603. ; register constants casesensitive
    ( _* l0 z  |' x# _+ e
  1604. ; http://php.net/com.autoregister-casesensitive' E2 H; o1 t3 T
  1605. ;com.autoregister_casesensitive = false8 ]' ^5 ?% n7 p- Q- a: m) |
  1606. 4 t6 F  {9 N9 \* R1 S2 {: ^: t0 J
  1607. ; show warnings on duplicate constant registrations
    ) P0 e. {) x" S% W6 b
  1608. ; http://php.net/com.autoregister-verbose
    0 F0 e$ w% b4 {: L
  1609. ;com.autoregister_verbose = true
    , P. D4 q& g# h0 I( s; {

  1610. & ~2 m" j$ m8 Q' l7 y% ?8 f: G
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ) R* t4 H' y" G( q7 k8 I1 _: r- T( I
  1612. ; Default: system ANSI code page' [2 x) X- \9 H
  1613. ;com.code_page=
    , T$ ]% L' m& U( b3 n2 K
  1614. : P6 F. J/ H8 @$ c% i# j
  1615. [mbstring]& G4 w4 l, K6 E. ]8 l
  1616. ; language for internal character representation.
    + [, b+ F( m3 D# s$ Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.8 n* V% H# }3 S/ ~8 a8 E& w
  1618. ; http://php.net/mbstring.language" V) a1 d% x$ n2 [$ j/ H5 I/ t
  1619. ;mbstring.language = Japanese
    6 M  T% \( Y% s3 Y, a- \
  1620. ) F$ m& X' Y% L( V
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 Y, Y& g3 X5 D, v
  1622. ; internal/script encoding.
    ! {9 A! v2 ~2 d) V% d/ g% l
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 T7 V3 A1 N4 O$ K* M; r! ~0 X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : S+ I3 S, I$ F% K8 E
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : `5 {) O3 Z  o: B2 l" i" p
  1626. ;mbstring.internal_encoding =
    # C* Q* o: w/ {! G+ `( h0 P" x
  1627. % w2 _8 x' l! ^4 d' M: i5 W
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * ?. [! n9 z8 x: _* u7 B
  1629. ; http input encoding.
    * A1 p+ p2 L6 A- V' \
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 K' @, J! i9 D" X
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.& U& [3 h4 w( u0 T& {% X
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% Z- C& h8 S! h# u' p
  1633. ; http://php.net/mbstring.http-input
    ; k2 }2 y0 M+ ^# {: X
  1634. ;mbstring.http_input =5 N5 `6 z8 `4 x/ e+ F0 @

  1635. 5 O' m  q, Y) F/ C& |  b- V
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead., v9 K3 J( g- p
  1637. ; http output encoding.) J, x: }4 E4 g
  1638. ; mb_output_handler must be registered as output buffer to function.
    * q  q, }* f* E0 k  c$ |- k) j
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . f& S5 ?( k- Q& `6 g! s8 h
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ) r4 Q& \$ g$ }$ Z7 ~
  1641. ; To use an output encoding conversion, mbstring's output handler must be set1 ]* u2 y+ _! Q, t" u
  1642. ; otherwise output encoding conversion cannot be performed.! l* ]! i' }* I9 L( C, p
  1643. ; http://php.net/mbstring.http-output0 h& Z" ~& T: q
  1644. ;mbstring.http_output =
    ' c0 C& A0 G3 q8 a' q
  1645. ' G$ U4 e, M; f. l7 P& W7 L
  1646. ; enable automatic encoding translation according to7 G1 T7 @7 a- ^5 u! o4 g
  1647. ; mbstring.internal_encoding setting. Input chars are
    " H7 i1 s. W$ y+ L7 i$ x9 P
  1648. ; converted to internal encoding by setting this to On.! B7 n7 R$ N! j4 i6 i# [
  1649. ; Note: Do _not_ use automatic encoding translation for% C2 {9 \1 }1 O
  1650. ;       portable libs/applications.9 a/ j% }0 f2 m! a4 g, O
  1651. ; http://php.net/mbstring.encoding-translation$ L$ ]0 ^& ]- j
  1652. ;mbstring.encoding_translation = Off
    ( ?% n' C% r4 r0 y* a* M

  1653. 9 ~7 y+ h2 i0 }) s1 k
  1654. ; automatic encoding detection order.: Q( a" }: E5 v0 Y+ U
  1655. ; "auto" detect order is changed according to mbstring.language, y0 J9 G8 X4 D/ ^# Q
  1656. ; http://php.net/mbstring.detect-order
    + \4 D7 G9 ?$ c% L4 f
  1657. ;mbstring.detect_order = auto
    4 H0 q3 O7 v7 q5 n, e0 a. E

  1658. 1 B+ F. a' m) y& A$ `6 `9 A
  1659. ; substitute_character used when character cannot be converted6 J: E. V! E$ @3 w# U
  1660. ; one from another
    . C7 R* J* l& |) R
  1661. ; http://php.net/mbstring.substitute-character& y3 |( d& |7 Y' [4 W! a
  1662. ;mbstring.substitute_character = none
    $ o6 p+ t0 ]( _! X3 e

  1663. 8 J9 }& c  O% G# i4 F" e7 B+ s2 |
  1664. ; overload(replace) single byte functions by mbstring functions.
    8 j" _  {: I. k4 i" K
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 z. P" n7 v& ?9 I- H
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& N9 R5 r  O( }$ R' D
  1667. ; For example, 7 for overload everything.
    9 D- M! U: S) }$ @
  1668. ; 0: No overload
    ( n( {0 l+ i, ]' K: Y. ~
  1669. ; 1: Overload mail() function
    : m7 E2 l  a7 a' F1 b# z5 M( {
  1670. ; 2: Overload str*() functions0 Z! P- I/ g9 L; i
  1671. ; 4: Overload ereg*() functions
    # z+ X) E, ?; X) y% X
  1672. ; http://php.net/mbstring.func-overload+ y$ j/ r+ v, q& N( R3 h
  1673. ;mbstring.func_overload = 0- d( v- F+ `3 K! T, S% @: N/ p  n

  1674. " D8 {8 B4 Q+ H* t, r5 c  @- F
  1675. ; enable strict encoding detection.- C6 D$ L# P6 j) _+ A
  1676. ; Default: Off( i* G. Y6 V% P2 D3 r0 A0 E
  1677. ;mbstring.strict_detection = On
    7 p- W% A3 n/ _9 r4 M/ J
  1678. $ N+ y8 A9 z) o$ O5 }' T
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()% G4 N# N0 d$ t/ \+ n/ ?$ p, R
  1680. ; is activated.4 y  ~+ A) @; E$ w1 \$ V$ J
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)% n+ C5 |4 k; C% C* j3 l1 d! [
  1682. ;mbstring.http_output_conv_mimetype=8 z3 y. R" C! x; Y# B" I5 ], H8 v
  1683. ) C8 C3 o+ ]" M, r, U
  1684. [gd]
    ) s4 D2 ]/ W) S  d0 ]; g
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      ~$ o( D. t3 j. p  d8 x* e% b
  1686. ; a gd image. The warning will then be displayed as notices" H- g3 Q* C* U4 l& J1 ~
  1687. ; disabled by default
    + W0 q  \* q" j1 m. v" p
  1688. ; http://php.net/gd.jpeg-ignore-warning# I, N/ q6 r% l6 \% R
  1689. ;gd.jpeg_ignore_warning = 0
    . X* ~- }& L; \7 l2 m$ ]
  1690. - C+ k  [) b/ Y) G, C) e
  1691. [exif]1 L2 _  G0 ~4 |& `
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! C8 R; W) q6 q2 U
  1693. ; With mbstring support this will automatically be converted into the encoding
    ' ?: Z% K9 p) i3 O
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding" ]! I/ u4 G( H
  1695. ; is used. For the decode settings you can distinguish between motorola and; k( e& I/ k5 N7 Y
  1696. ; intel byte order. A decode setting cannot be empty.
    4 Z1 q4 K# V  J: S; x
  1697. ; http://php.net/exif.encode-unicode
    0 N1 M8 `& A2 |; Z+ r% I8 x
  1698. ;exif.encode_unicode = ISO-8859-15! _! U4 u& k0 [* k4 L5 b# t4 _. g

  1699. , J  w( Q6 F4 ^  Y- ^2 z/ ?& K3 K5 Q
  1700. ; http://php.net/exif.decode-unicode-motorola
    : ?, \* Z  _" z# s2 @9 l5 F2 C
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    4 z: z0 p% r) k' y7 _

  1702. + d8 o8 T, U( E! z
  1703. ; http://php.net/exif.decode-unicode-intel
    $ D/ J( a" J' c: A! P; ~% ^; D
  1704. ;exif.decode_unicode_intel    = UCS-2LE2 v' R2 }+ d* @) v& C% ?4 z

  1705. * u: d3 z: _+ R8 d
  1706. ; http://php.net/exif.encode-jis
    $ r7 \& z6 U) Q9 y6 |* f3 O
  1707. ;exif.encode_jis =1 x- r7 e! e4 S
  1708. & c2 c) g( Y: G8 b% M9 g6 I
  1709. ; http://php.net/exif.decode-jis-motorola
      [& S" F7 g3 m7 ^
  1710. ;exif.decode_jis_motorola = JIS2 Z6 [7 [% \! \5 |* {

  1711. 5 D' R8 _( r2 G/ S
  1712. ; http://php.net/exif.decode-jis-intel: m  ~4 }2 N7 L3 M0 H
  1713. ;exif.decode_jis_intel    = JIS! E; j5 M& [/ A! S+ ]

  1714. 7 ^$ K/ B6 n" B  A' l7 i. D
  1715. [Tidy]5 X7 u' M0 V  s. D( X. V4 p
  1716. ; The path to a default tidy configuration file to use when using tidy( u. k. `5 _( S' O- P
  1717. ; http://php.net/tidy.default-config* {& q, O- D$ y$ ?: X+ M& B) p' t) d& b1 @
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg7 z, T% d% d' H& ^3 @- u3 e! R9 f
  1719. 9 Z$ X+ }, x+ s; [4 O+ x+ N" z
  1720. ; Should tidy clean and repair output automatically?+ b% z& O- N: E. p; B
  1721. ; WARNING: Do not use this option if you are generating non-html content
    , X( _  F' U$ M: H) @3 y. L( Y
  1722. ; such as dynamic images8 G5 e; m$ E) H( f
  1723. ; http://php.net/tidy.clean-output+ \" }2 ~2 I4 H& ]; a, T
  1724. tidy.clean_output = Off2 R- B& S! I& {) s, l3 F- o# O! K: U
  1725. ; Z4 V) B, w" Z( j9 t# B! |
  1726. [soap]
    , |% P- I+ t! _  U9 V
  1727. ; Enables or disables WSDL caching feature.
    . p0 L9 x. ^* q, J2 `  k; N
  1728. ; http://php.net/soap.wsdl-cache-enabled3 u  S2 b" u  j+ q$ [( ]; ~7 p: L
  1729. soap.wsdl_cache_enabled=1
    3 L# M5 ~9 s3 b7 m* s$ F6 }

  1730. 6 `1 ?, d8 \% r1 y. j
  1731. ; Sets the directory name where SOAP extension will put cache files.! n# O! {5 H. s% U7 J/ u
  1732. ; http://php.net/soap.wsdl-cache-dir' e/ n7 M3 j, ?2 s
  1733. soap.wsdl_cache_dir="/tmp"0 v7 T% [2 M8 ^5 g' o

  1734. 6 W( F+ O. Q/ G- y- V( r: f
  1735. ; (time to live) Sets the number of second while cached file will be used; n+ l& W/ u! k
  1736. ; instead of original one.
    * n9 p! b: P/ s1 Q
  1737. ; http://php.net/soap.wsdl-cache-ttl
    & }% H" n( _- {
  1738. soap.wsdl_cache_ttl=86400
    / \* [3 M" Q1 u

  1739. , D3 L/ p* [9 L& q$ d" l. v1 S
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    7 A& g  K3 T# _. L2 \
  1741. soap.wsdl_cache_limit = 53 T$ R. F: S9 W7 C7 o) ?) w3 m- O

  1742. ! {  l& J6 ?# @6 i, h! y
  1743. [sysvshm]* T2 X: l& q2 L- O, m
  1744. ; A default size of the shared memory segment& [: r3 f- P0 J5 u! k9 }% t! A
  1745. ;sysvshm.init_mem = 10000- _' k1 \1 M8 [
  1746. 0 Q- h, I" B" t/ {
  1747. [ldap]" I/ ~2 I8 X6 f( z) o
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    2 X+ ]9 E; V7 |4 k$ `- _# J
  1749. ldap.max_links = -1
    5 w, q1 _1 @& g. f
  1750. & F8 @# V- F6 _" ?
  1751. [mcrypt]
    3 p1 l$ ^; w: x6 L
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open* e  x& J+ B5 f( h9 G
  1753. : _1 W8 I0 x) Z  V* ^+ k
  1754. ; Directory where to load mcrypt algorithms
    " |4 r/ O/ _% K" w9 A
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& ]" T" R: ?  y1 O9 O5 l7 O
  1756. ;mcrypt.algorithms_dir=. T9 _* C% N0 ^, G. e6 B( N: T

  1757. ! a) f& J1 A3 C) b& G8 A' R
  1758. ; Directory where to load mcrypt modes/ d! e5 [5 Z' e5 Z
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; e7 }- B' Q$ h2 y9 G
  1760. ;mcrypt.modes_dir=3 U6 t6 O! t$ Q3 i- P% y

  1761. 6 U8 x) U" K0 o# K9 q3 G$ {0 E$ `( D/ O
  1762. [dba]" f3 i* D+ G3 x$ a
  1763. ;dba.default_handler=
    7 U# L3 \: P# o  o# b( j
  1764. & H# J# _% Y) [/ I! K4 A6 }  x' \
  1765. [opcache]7 t8 x4 o' r0 q9 I. h. I( H0 l
  1766. ; Determines if Zend OPCache is enabled
    : H* t, G4 b! `3 }# n
  1767. ;opcache.enable=0' A! _7 O% q  ~4 Z; `$ B3 I+ W

  1768. + W3 c4 h% M" |/ |* c# K
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP. e( x: v0 s, h( W0 o( |2 d7 z
  1770. ;opcache.enable_cli=03 k+ W$ L# ~& c

  1771.   ~1 ?8 j' F& c$ K
  1772. ; The OPcache shared memory storage size.6 H( Q; I5 B* W: I! c! \4 P
  1773. ;opcache.memory_consumption=64* ]  a+ `- ]/ y4 h- Q
  1774. - ]) t: H" t8 q
  1775. ; The amount of memory for interned strings in Mbytes.
    7 J2 `' M0 I* `$ O
  1776. ;opcache.interned_strings_buffer=4
    2 p! @7 f" x* M1 ]% G+ f
  1777. + S! U7 H) b$ _' C# `
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ! z  c3 z0 y% H: ~
  1779. ; Only numbers between 200 and 1000000 are allowed.8 S" [0 B) W/ L7 o0 E* K5 \! V1 v
  1780. ;opcache.max_accelerated_files=20006 l8 j, s. @; A! U1 o$ y

  1781. 1 k. Z- h6 Q+ T
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.! W0 f/ ~6 D: @4 H+ |; N. @
  1783. ;opcache.max_wasted_percentage=5
    1 `& C3 r9 b% a0 [. p& E# b* A
  1784. * [; |( l; l3 {( r5 ~4 w' w  M( ?. q
  1785. ; When this directive is enabled, the OPcache appends the current working
    4 |) b& ?# v/ Y$ F
  1786. ; directory to the script key, thus eliminating possible collisions between
    3 a1 e7 {7 x. p  ^0 \
  1787. ; files with the same name (basename). Disabling the directive improves, ?, z. v4 j- \3 m7 q, p$ D  {2 S- I
  1788. ; performance, but may break existing applications.
    ) Z: G  |# @8 I$ z$ }& u
  1789. ;opcache.use_cwd=1
      K  R2 |- ^2 i; e( k! s- p

  1790. . E7 B5 k( N9 Y
  1791. ; When disabled, you must reset the OPcache manually or restart the9 g" C3 Y6 P! p" Z1 t( d
  1792. ; webserver for changes to the filesystem to take effect.* [' I$ |/ D' b3 \  w7 @5 Q- q
  1793. ;opcache.validate_timestamps=16 e! W3 f) s0 b4 Y  t  k
  1794. - V  u" d& Q: O- X! ?# E
  1795. ; How often (in seconds) to check file timestamps for changes to the shared4 w; ]5 I% _9 S  x
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    7 i" C9 l1 P5 b; h
  1797. ; once per request. "0" means always validate)6 x$ k$ s5 u, J5 t% u
  1798. ;opcache.revalidate_freq=2
    - _1 ~5 k( |" v( d  |" `

  1799.   L" e  M3 R& O( b2 l$ g3 B
  1800. ; Enables or disables file search in include_path optimization
    ( l2 }  K9 [* ~! Z7 I0 D9 p5 c# u
  1801. ;opcache.revalidate_path=00 U% I' S8 ^; d: \; V9 q, z) O
  1802. 0 f* h/ g4 L* D% ^
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ; W' X9 `/ A/ R( r) F0 x/ ]  B# s
  1804. ; size of the optimized code.
    0 k- Z! G% d* r1 ]
  1805. ;opcache.save_comments=1( ~  }9 A7 [8 d6 `3 N) ~! p
  1806. ) `. R! G. r6 e3 Z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" V, q4 C8 B( H5 }* N
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.5 A) K3 w7 V. P
  1809. ;opcache.fast_shutdown=0
    5 N+ Q8 ~. m7 b- L( D

  1810. ! c4 T! o/ J5 F; }8 o) H4 g
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ) E0 v/ `1 b% u8 K) J0 m
  1812. ;opcache.enable_file_override=0
    + B( Y2 N1 ^' f, R/ }: g
  1813. 7 q! v) [& M9 v6 Y5 y- b2 K
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ' {! |  ]1 Q( J: |
  1815. ; passes
      y' m7 ]! _) a1 ^
  1816. ;opcache.optimization_level=0xffffffff
    0 Y/ H/ H# q/ ?1 ]" {% u( f
  1817. 0 j4 e! O5 z% ^$ K: n
  1818. ;opcache.inherited_hack=1
    1 j( M% k8 T8 K% x0 P
  1819. ;opcache.dups_fix=0: @* x4 z, r" N# ?, L& I+ w: f
  1820. 1 q) b: x1 G5 U7 U; @
  1821. ; The location of the OPcache blacklist file (wildcards allowed).4 B* h% X7 x/ }$ [0 }, S
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    3 L/ T' j; Y& `2 O# }
  1823. ; that should not be accelerated. The file format is to add each filename
    " s4 N2 f4 n; w& ^" ]7 [2 A( d& D
  1824. ; to a new line. The filename may be a full path or just a file prefix
    # W2 ~: f/ _2 h; t' Z  h
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, p7 Q' l3 u# @
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : z' g6 k% W) H% j5 R
  1827. ;opcache.blacklist_filename=6 `+ L0 J  k# m! A3 k& n; A! H
  1828. 9 j! L! K8 |, o
  1829. ; Allows exclusion of large files from being cached. By default all files
      S5 r+ k* p6 d) U- S5 @* V
  1830. ; are cached.
    % y5 N& J# M; S, `
  1831. ;opcache.max_file_size=0+ G* F# ^8 d0 V; {$ b! ^2 Z) A
  1832. : P) f  ~( z$ ]8 n
  1833. ; Check the cache checksum each N requests.
    - ?* v# z( }1 @2 T; Z7 i
  1834. ; The default value of "0" means that the checks are disabled.
    ! E, J  ~* r$ v& Z  V# s6 w3 O
  1835. ;opcache.consistency_checks=0
    , ]+ N. s5 i' i5 O
  1836. 1 {) F. q7 {% e8 x' P% e9 i) `
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; }8 L/ G( y. W1 N5 y
  1838. ; is not being accessed.  d5 j! f: v" e
  1839. ;opcache.force_restart_timeout=1809 B: K, l# b! d
  1840. 9 ]- b  q% s: [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".5 U$ z" B7 l" Y! f$ E
  1842. ;opcache.error_log=$ z( A9 ~0 Z) A$ r6 d
  1843.   R1 U+ s9 ^& P* S$ q
  1844. ; All OPcache errors go to the Web server log.
    1 V$ V6 S' @0 p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 R' k1 q0 n) p( v2 O
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ( J$ n  V6 @% l: h( S$ D
  1847. ; debug messages (level 4).
    9 Y" p# Z- b2 ?- U+ ~, D
  1848. ;opcache.log_verbosity_level=1+ ~2 ]: w; b6 ^3 P$ E( p) i

  1849. 8 p& ~5 |& Q2 a' h. z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * M* C5 Y, M8 c: m
  1851. ;opcache.preferred_memory_model=6 z$ K9 p$ c2 t4 M: ?; U

  1852. 3 _0 S  {% X/ a9 p
  1853. ; Protect the shared memory from unexpected writing during script execution.1 `2 {% x6 p- _; {
  1854. ; Useful for internal debugging only.
    + y, O6 S0 [" S) ^: h
  1855. ;opcache.protect_memory=0: D5 Y7 E" ^- U% X% [2 N0 s
  1856. 2 {( O! A. g& C9 D6 Z$ z
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    9 y+ t+ |$ V+ h$ l* ~) k! E
  1858. ; started from specified string. The default "" means no restriction
    ' w9 u2 n2 k9 `$ a
  1859. ;opcache.restrict_api=
    ' I: \0 f: d5 `& B2 K' S) X: G+ O8 ]

  1860. 3 Z+ r1 {0 _( ^: V4 b+ f% [
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP/ q( U3 B' `% D  Z: s) R4 g
  1862. ; processes have to map shared memory into the same address space. This
    8 M9 j1 {7 p$ |. c0 S$ W3 R
  1863. ; directive allows to manually fix the "Unable to reattach to base address"; P) m" K( d; d* U' r3 V& b. f
  1864. ; errors." f! E0 b$ w7 b
  1865. ;opcache.mmap_base=# S$ ]: i& O, K5 D' x# V
  1866. 4 v5 b& h* Y2 }" p# m6 P
  1867. ; Enables and sets the second level cache directory.
    1 q4 M; b% u" J, }
  1868. ; It should improve performance when SHM memory is full, at server restart or
    . A  A5 x7 U$ S; w0 s
  1869. ; SHM reset. The default "" disables file based caching.
    6 O# @! x% q+ o1 [7 L
  1870. ;opcache.file_cache=
    2 q  H' }0 V. f" E( |# C' w8 Q) F4 @

  1871.   p2 h% \* E2 e0 W; o) c1 u
  1872. ; Enables or disables opcode caching in shared memory.
    " U' F% B: S0 y4 N  \$ b" q; |" z
  1873. ;opcache.file_cache_only=0) Y+ f) Z% ~) I9 {, `$ b0 T* C
  1874. $ s0 k2 ?  b5 R& p
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    1 _# Z* n' S" l
  1876. ;opcache.file_cache_consistency_checks=12 w0 e3 m3 J# S  t0 F' ~

  1877. 1 Y$ @* P6 p  s1 i( n- X8 z' G
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to: Q, y# i/ A$ s( |% Z8 s+ w0 Y
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file+ [  E2 E9 @* w- e; R
  1880. ; cache is required.
    2 `5 p0 K. e3 {4 |  p( Q
  1881. ;opcache.file_cache_fallback=10 G9 S2 V8 c& k/ U+ @! d$ F# l7 e

  1882. - s* k+ I  W: r5 G% L+ Y2 H
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.1 w- t& Z5 ?% @# t4 \" i! [  C
  1884. ; This should improve performance, but requires appropriate OS configuration.  @0 k. D) B. K  H% M, W
  1885. ;opcache.huge_code_pages=1
    0 S9 v8 Q) X9 B, L

  1886. 2 d  M( U$ u* v, @& P. h) f
  1887. ; Validate cached file permissions.* n1 k4 |& \8 v& }, Z
  1888. ; opcache.validate_permission=0( |3 v5 |3 U4 U; a* ]

  1889. % i$ G# s9 A4 {2 R
  1890. ; Prevent name collisions in chroot'ed environment./ O/ ~2 J5 f# \1 O9 W5 Q( v) f/ J$ i
  1891. ; opcache.validate_root=0: `5 C9 z" {; a
  1892. % h0 F1 e( p9 N% E
  1893. [curl]" j' `* n( I6 z; }$ m
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    $ c& K4 p2 W0 j+ B
  1895. ; absolute path.* h; W  H% w  H
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    2 o0 j6 e8 c; O5 ?( S8 D( p

  1897. ( u" G: G+ N" [- @+ T& c: X
  1898. [openssl]: F6 D' M9 w% X, ?2 O
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    , D+ O3 N4 S$ E4 _1 l, }
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should2 x) m- `. @5 Q' H2 h$ A4 N5 g
  1901. ; not specify a value for this directive as PHP will attempt to use the
      B' L6 n) F7 Y( W
  1902. ; OS-managed cert stores in its absence. If specified, this value may still& c5 c5 ~2 a7 {" m4 n
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ A) G9 K7 l. s/ a$ ~) G- I
  1904. ; option.
    2 `; |, a1 Y( H3 G
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt. K% {+ }; a/ y* O

  1906. 2 h  m1 U: o3 q( E/ K7 q8 ]% B' q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    " I+ b2 [6 ]5 m8 T* b, J" l* G( p
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    4 d5 b5 ~; f6 B" @& ~
  1909. ; certificate. This value must be a correctly hashed certificate directory.- O8 |. m8 Y; e3 q6 e5 B1 u
  1910. ; Most users should not specify a value for this directive as PHP will( l$ x7 y7 a! @4 ~# r  n. y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! Y6 K& e; \  A9 |$ g, H
  1912. ; this value may still be overridden on a per-stream basis via the "capath"6 {  O$ \5 T% J; n
  1913. ; SSL stream context option.
    6 I5 e7 Y3 [4 S) i- `
  1914. ;openssl.capath=3 k' ]0 \& K- {# W
  1915. ' H# ]  g( W0 E- \: G
  1916. ; Local Variables:
    " Q. T" ?( K& Y3 C$ z
  1917. ; tab-width: 4
    3 `% a" n# E% A: g. |
  1918. ; End:
      r  i# Q; L$ }, d+ b7 l
  1919. ! @( E0 o3 L; B, b; I
  1920. ;eaccelerator. F& d% o1 _7 N/ h6 n3 B
  1921.   K; o  A+ B+ }0 j9 ^, |: G4 D
  1922. ;ionCube: B0 V# d& W  X; L* h3 t+ j0 `

  1923. # r4 D' v' ]( b
  1924. ;opcache
    ) b: H% c6 W0 Y8 l; `) _

  1925.   M1 c0 p6 V6 z
  1926. [Zend ZendGuard Loader]+ U; \5 C4 r* F* \8 p# H& Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.  r8 @- _9 D5 u9 I5 ~; u2 x& L8 |
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so" X0 o8 H- _( N. p6 `' {9 A
  1929. ;zend_loader.enable=1
    5 u( c9 y* M% }
  1930. ;zend_loader.disable_licensing=0
    + P# h# u7 ]4 a" `4 ]5 C; s
  1931. ;zend_loader.obfuscation_level_support=3
    6 t& X) [8 r: Y! o
  1932. ;zend_loader.license_path=
    ) P* N3 M9 J0 L/ h
  1933. . {" P' x+ t9 x' I
  1934. ;xcache
    . Z7 h; }; l$ f& j! j
  1935. * B. p/ v2 P( Y& }, U2 u8 Q
复制代码

7 ~( T+ Z7 S) |9 ^+ P: j1 Y1 z6 W4 B1 T" }
! H3 n* b& m# |" l) L2 L/ U

5 s# R1 ?$ X1 Z% K9 y4 f; Q& w: N! `2 \# L7 [
- T' ~6 U7 Y" b3 b- N& C( e

) q4 g# ^7 e6 z. Y+ m# cPHP5.6版本原始设置0 j% @4 Q0 m9 A2 B8 ?# Z

, E& h/ [1 ^7 r; f
  1. [PHP]8 h. n1 Y' c% g7 U& ~) B9 Y

  2. * X' T8 A) _0 J
  3. ;;;;;;;;;;;;;;;;;;;
    , r7 u  w2 E9 ^$ ]( Q/ S9 f9 P
  4. ; About php.ini   ;
    3 h( B+ m: b" J' J! g" h6 `) P
  5. ;;;;;;;;;;;;;;;;;;;# K% l. \% U  R3 _  \6 h8 J
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 ~* q$ `5 R/ w9 W! j9 S; K; a7 G
  7. ; configuring many of the aspects of PHP's behavior.
    * s$ ~7 Z- {: U/ Y& m4 N
  8.   j! d! b  H, w
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % j4 g6 U* `4 B! Y
  10. ; The following is a summary of its search order:4 h3 A4 j: W0 E; e3 M6 a
  11. ; 1. SAPI module specific location.3 I! k$ z9 u/ z, n0 {! k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 Y4 l) _' T7 A# n) ^8 E- f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    " o; r9 Y: e$ A7 f! l/ Z* f- Y
  14. ; 4. Current working directory (except CLI)
    , u% N7 J7 x: E, v
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP5 L, V0 Y2 q9 d; t
  16. ; (otherwise in Windows)
    - g# q7 ^, A& _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 i5 f; S: h/ D" W
  18. ; Windows directory (C:\windows or C:\winnt). A# S0 ]" q6 f% w. r- c% _: u
  19. ; See the PHP docs for more specific information.
    " c8 a& }& g- U6 V  F
  20. ; http://php.net/configuration.file
    ! z2 c; C$ `* i  ~# Q9 \8 U# Q( d

  21. . q/ d( Q4 g, I1 g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* e' \4 j6 J8 i+ I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  L4 |6 |* Z/ U3 K* Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though# U9 m6 I  c* s/ l: I, T% w$ X
  25. ; they might mean something in the future.
    ! {, p. G/ v! U0 _
  26. + d- x  q4 g' @4 O; m* J
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 w* Z4 C# v" W) {1 f# @
  28. ; apply to PHP files in the /www/mysite directory.  Directives# B: m* l+ @5 J* u
  29. ; following the section heading [HOST=www.example.com] only apply to$ [) C8 w4 b7 h$ J1 b
  30. ; PHP files served from www.example.com.  Directives set in these
    0 b6 i8 X3 Z: N" w
  31. ; special sections cannot be overridden by user-defined INI files or
    2 h& y0 _; h7 ]; d  a) P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( ?' B* ~# h, z) \; g- u
  33. ; CGI/FastCGI.; [$ [6 X  U( m+ S8 I  W
  34. ; http://php.net/ini.sections
    1 a; |. N" {& S

  35. . v1 j8 o: F- ~! Y7 K9 n4 l
  36. ; Directives are specified using the following syntax:  u. _% q9 l: m+ S) t+ Q( A1 m$ ?
  37. ; directive = value
    5 ]0 q  \4 u" t1 ^# q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' U( \4 c5 w' C7 d
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . @% [# C- O% @( P- }# X' }$ ^9 z
  40. ; There is no name validation.  If PHP can't find an expected
    ' W" }7 }" H3 t! L, ^" O
  41. ; directive because it is not set or is mistyped, a default value will be used., F' G9 I' t! D- d! t: Z& b

  42. 1 o2 }  H. g  E/ ^9 x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( I0 p+ Z0 e: J: c- Z" s% a2 o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! A4 J) e+ r  [' w" M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( x4 ]$ l5 z. q$ u7 }# M- r
  46. ; previously set variable or directive (e.g. ${foo})
    : `) ~, y* Z7 }& a+ k5 {' Y
  47. ( h- \3 \+ O& l# |
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & G+ Q! [/ I. w! ?$ m0 m/ {" z8 Y+ U
  49. ; |  bitwise OR' [# j- s  Y7 A. ]. w# Z6 v
  50. ; ^  bitwise XOR$ f6 W: X, F  n; }; J/ U
  51. ; &  bitwise AND
    2 K7 ^, J1 `& R: t/ N) g
  52. ; ~  bitwise NOT
    . [* F; l# }; h6 _+ E/ r
  53. ; !  boolean NOT# i2 F" W: x) ^4 A. ~; H0 b

  54. - |8 B- F8 e" `" M9 q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    1 ]' ~* Z* D: f& ?. y
  56. ; They can be turned off using the values 0, Off, False or No.7 t/ L3 H" m8 i+ J& P2 f. f
  57. ) d2 U& X8 o0 l8 C. ^& t. ~
  58. ; An empty string can be denoted by simply not writing anything after the equal$ x  n+ b% a' B- I& }
  59. ; sign, or by using the None keyword:
    # J: ^. e# n: Q- h1 _/ M
  60. ; A) i2 B# K6 a) _. j3 n+ F
  61. ;  foo =         ; sets foo to an empty string8 U* V- [% Z! t0 ^# j0 V0 b
  62. ;  foo = None    ; sets foo to an empty string
    6 P5 h9 }; I9 A2 j8 H0 f! b+ `9 ^
  63. ;  foo = "None"  ; sets foo to the string 'None'! Y& Y8 p8 k& y; x

  64. 4 x! t: B7 k4 ~" W1 Y9 A
  65. ; If you use constants in your value, and these constants belong to a( ^; @9 H" B& l/ e
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),4 [0 C! p) x7 z7 r8 X! r
  67. ; you may only use these constants *after* the line that loads the extension.
    0 e4 P$ Q! p6 S8 |

  68. & O! u" ~2 _5 x: {3 \4 J! G
  69. ;;;;;;;;;;;;;;;;;;;
    2 v4 C. c2 g( h+ a
  70. ; About this file ;
    0 n/ Q8 M/ J1 Q, K
  71. ;;;;;;;;;;;;;;;;;;;
    $ E3 X; O8 \5 r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : D8 q5 x" p1 q% G* T6 K
  73. ; in production environments and one that is recommended to be used in
    6 U6 R+ {8 ]3 {/ h9 q
  74. ; development environments.- I& J, u: ^. L$ T8 ?
  75. ; l* k; m6 g- R6 H
  76. ; php.ini-production contains settings which hold security, performance and; b! \4 Z& I( E, ?7 ~1 ^: n5 O
  77. ; best practices at its core. But please be aware, these settings may break
    3 F' R: q2 f: d3 r
  78. ; compatibility with older or less security conscience applications. We" v4 L& j; f& t2 R! P
  79. ; recommending using the production ini in production and testing environments.
    - @6 Q& Y4 D! O% J& E2 d
  80. : W$ O3 W: ~7 H) S1 `' `
  81. ; php.ini-development is very similar to its production variant, except it is& u" O# M$ [  N- _8 e3 o! `; e
  82. ; much more verbose when it comes to errors. We recommend using the7 @& ~1 J) I* r. m' \0 I: S
  83. ; development version only in development environments, as errors shown to, F# ^5 U% B0 U
  84. ; application users can inadvertently leak otherwise secure information.: o9 D5 q4 _4 ^3 S

  85. ( q' f# ~$ L; V" G3 E- g5 ~  V) x
  86. ; This is php.ini-production INI file.
    ' A& ]& a- i3 Q) o" _' O( J% Q

  87. 9 h/ T3 x2 I9 I5 V* c8 N
  88. ;;;;;;;;;;;;;;;;;;;
    7 A, m! a! ~* k5 Z& M& m3 l( V
  89. ; Quick Reference ;# ?6 x- B7 m4 M* H! A: k1 M
  90. ;;;;;;;;;;;;;;;;;;;
    * W' s& b- |3 ~7 n! G
  91. ; The following are all the settings which are different in either the production
    * f& K0 H) {! w+ S0 j7 F# w+ m
  92. ; or development versions of the INIs with respect to PHP's default behavior.  n! x. b) G1 {4 o$ L; p  m7 p8 P* d# K
  93. ; Please see the actual settings later in the document for more details as to why
    . D8 \3 e% X6 X: _5 K
  94. ; we recommend these changes in PHP's behavior.
    + K( S$ m% w) s8 m) I

  95. ' X/ l  F# v$ N: [& J. J! [
  96. ; display_errors
    1 f( H3 X) R% i
  97. ;   Default Value: On
    ( z! ^5 O1 e; {
  98. ;   Development Value: On! f' x7 f3 a* t5 n' u
  99. ;   Production Value: Off
    / X. ]1 O/ W' E

  100. ( U/ X# r1 Z5 d) D; H& b7 H
  101. ; display_startup_errors5 j- M9 H5 B) [
  102. ;   Default Value: Off
    # c5 ?' D/ B* M0 D& N4 _
  103. ;   Development Value: On0 U+ \% ^" j; f" M
  104. ;   Production Value: Off
    9 g/ v: _* _: R$ ^% r. m9 n. V

  105. # J% k0 r$ j3 X0 v$ Y. K* T  r
  106. ; error_reporting- E! O. Z  U* n6 \. B* P
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( ~0 K' C( u" Z$ b/ F" G  `
  108. ;   Development Value: E_ALL
    . j/ Z0 H' f/ K; x: e* Q  ~
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" c. x" `0 W4 ^$ Z: e4 V+ k1 q

  110. - m8 H$ V6 u2 `" h+ q2 Q2 a6 v% |& R
  111. ; html_errors
    ' L' l3 Q6 T" Y8 C
  112. ;   Default Value: On9 ]. v' k3 q4 Q% _- m: G
  113. ;   Development Value: On/ G5 H8 ~8 p  |- V; X9 i
  114. ;   Production value: On$ _0 i- g1 G: X
  115. ( l6 A2 n0 T% p" C4 A' J; b( U
  116. ; log_errors/ T, T# r* K4 ^9 A  G8 J: X% G% U  j
  117. ;   Default Value: Off
    7 H' k3 ?; \8 B, R3 Q0 v" B
  118. ;   Development Value: On
    $ h$ _4 E1 U" c* Z1 {/ z# l* D9 m
  119. ;   Production Value: On. `, P8 g$ V$ D9 r2 l: |

  120. 1 h. N& q* l. t3 u# t; [
  121. ; max_input_time& m8 `, t4 i- E* ?% W- j
  122. ;   Default Value: -1 (Unlimited)% v0 V" m8 M, h* B8 e
  123. ;   Development Value: 60 (60 seconds), \, K# s6 k2 q" o
  124. ;   Production Value: 60 (60 seconds)1 U6 b+ e; T/ _- R8 W6 D; O' t" V& k
  125. ; B5 J* s' \+ T1 d9 ?1 \" ?. I: x
  126. ; output_buffering0 T( G6 P5 F: N; U7 ?9 G
  127. ;   Default Value: Off
    . Q7 g. _0 J; H9 [5 U
  128. ;   Development Value: 4096! t, |& D. G$ V. J
  129. ;   Production Value: 4096% P  w' k( @; H, Y) h8 }
  130. " s6 J/ p  w6 \
  131. ; register_argc_argv
    4 W1 O. I2 C$ d$ ]1 n
  132. ;   Default Value: On
      U) c4 x* ^: U$ L9 F) y
  133. ;   Development Value: Off8 @7 ]) m4 \4 [  }2 \8 F
  134. ;   Production Value: Off
    8 k: a( _4 u. q, d, n1 S
  135. 7 c+ W' x0 }* V$ z& u
  136. ; request_order* `: n$ t- Z" T+ F# _/ L) x3 v
  137. ;   Default Value: None  ^5 _4 W) u# G7 I
  138. ;   Development Value: "GP"
    : O8 J  q& n4 A* @  j6 K  A
  139. ;   Production Value: "GP"
    6 |0 q2 E5 \  ]4 R5 D2 L# N; x
  140. # r* T2 ?' X6 N$ p  \1 Y
  141. ; session.gc_divisor% O& t1 e$ l; V" R3 w: ]- p
  142. ;   Default Value: 1009 W# v& e* K* y6 N6 T* {
  143. ;   Development Value: 1000% }' k) |/ I$ c" b: D& N
  144. ;   Production Value: 1000
    * V! b4 V2 ~' ?' T4 D2 y

  145. 4 r  e% l2 }" D% d$ U  [
  146. ; session.hash_bits_per_character
    $ E* \5 C( ?& B( ~3 y# p( c. }
  147. ;   Default Value: 4
    , }  b9 C# z# E; s
  148. ;   Development Value: 55 S* G! p+ a  A1 r+ C. s) m, W0 e
  149. ;   Production Value: 5
    8 q, s8 a! O- Q

  150. ' u4 B0 P2 j' {$ W: F; |
  151. ; short_open_tag
    # R* Q. g* _# i; L4 [; L
  152. ;   Default Value: On/ Z& V; t' q7 b- _0 N
  153. ;   Development Value: Off
    % h6 z) o5 f- [/ t
  154. ;   Production Value: Off( C' X( |4 J" G* j4 B
  155. ; d& @0 _: j1 S' L8 q% y; L% f# [
  156. ; track_errors
    ' M9 c+ g$ i: x! T% {+ \% {8 a) L7 j
  157. ;   Default Value: Off  t3 T# \" k  }( c( ]9 ~: j
  158. ;   Development Value: On
    , ^' x+ k. S; K$ o- I
  159. ;   Production Value: Off
    " ]0 r0 j6 ?* I3 J2 b( a, Y
  160. . p/ Q" L( J0 k+ U( x
  161. ; url_rewriter.tags- ?( }8 Z5 e1 @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 d2 V* n; }, L6 {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; K# O$ R& Q& u+ N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      O  T6 b  e5 S- d0 N; i/ O1 t
  165. 1 S2 ~) w+ }7 ]9 \2 ]$ b
  166. ; variables_order
    " `2 m: W6 ]: m( ~; n/ B" L/ h+ {% }  F
  167. ;   Default Value: "EGPCS"$ o7 Q7 w9 v; ], X" z4 _, S7 K# V- P
  168. ;   Development Value: "GPCS"
    . k* ?9 B9 G0 C% p& m6 d7 c
  169. ;   Production Value: "GPCS"6 {% k6 E% N" W' a0 Z. S

  170. " `* O  e" i# Q6 o& D7 W
  171. ;;;;;;;;;;;;;;;;;;;;/ A" y2 l* x) l/ z; _) P
  172. ; php.ini Options  ;0 L9 K  `/ K3 [- J1 S  `0 m
  173. ;;;;;;;;;;;;;;;;;;;;
    5 J9 O; C' J& Q) t8 @$ C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    : T0 S& u/ S; O9 A9 a. W8 _9 q1 L- Q7 }
  175. ;user_ini.filename = ".user.ini"3 P0 i9 A- V( q' z0 l

  176. * m2 P+ k5 J) Q7 F* S' E$ [9 N
  177. ; To disable this feature set this option to empty value
    + t; b3 C* H' W0 s
  178. ;user_ini.filename =
    + [1 ~6 u( i9 |9 a& [8 T/ |9 v
  179. # Y- `/ B+ U) N
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 Z$ v4 O. Z" a5 f- T
  181. ;user_ini.cache_ttl = 300: s. `$ m% `- d
  182. ' X9 e3 E0 {, ^
  183. ;;;;;;;;;;;;;;;;;;;;
    1 @& U- P: `8 N& h  p* Z) d3 l" R2 t  E' z
  184. ; Language Options ;
    ' `/ ?3 X. z5 J' [" z. W6 v3 T7 l
  185. ;;;;;;;;;;;;;;;;;;;;
      \: }2 l5 b+ S2 e$ p) u. g

  186. & Q# L, V* o% o! |' U
  187. ; Enable the PHP scripting language engine under Apache.- ^/ z! H# u+ o* Z
  188. ; http://php.net/engine! W) w. `3 B0 A; B4 A4 ]2 l; w# n
  189. engine = On8 X" Z% ^+ }; q. o. O
  190. 7 o( M8 \/ m! _5 @& w# ~9 r
  191. ; This directive determines whether or not PHP will recognize code between% k( x7 C( L& J  q8 \8 l% T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    4 q# J, d; q2 s' b; [* q$ Y! k
  193. ; generally recommended that <?php and ?> should be used and that this feature' K: G- W5 D" [% s* }
  194. ; should be disabled, as enabling it may result in issues when generating XML$ C$ e( d5 K8 D" y  a3 n
  195. ; documents, however this remains supported for backward compatibility reasons.
    * U: s) L, w# W5 Z6 ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be3 d7 K1 |# `: C) C
  197. ; used regardless of this directive.5 l; V# v9 k, w* p9 Q) Z8 q
  198. ; Default Value: On9 u) f3 t5 Y( i% b2 O: {
  199. ; Development Value: Off6 u$ Y8 d  D1 ~3 r* A9 W" w& ~0 a
  200. ; Production Value: Off3 W  y( o* z5 w$ r% u6 o/ X
  201. ; http://php.net/short-open-tag( g4 g8 e8 B/ `: m
  202. short_open_tag = On
    $ n1 f2 _) U6 d6 j( e
  203. 1 K. w, @7 a; s9 h4 {1 q
  204. ; Allow ASP-style <% %> tags.- k. D& o5 O  r* b
  205. ; http://php.net/asp-tags
    0 S9 P4 y' c( i! l' r% S
  206. asp_tags = Off
    - \; H+ t$ ^( J3 e) d4 X
  207. 6 B: k' x, |9 n2 k3 J  R! W) U- {
  208. ; The number of significant digits displayed in floating point numbers.; N0 G' j  z* K9 y1 H# ]
  209. ; http://php.net/precision# @1 K2 Y2 B) w  \, M& d
  210. precision = 14% t! k/ [2 N) c: @4 J

  211. 4 c) L% c7 M; ?( B* B
  212. ; Output buffering is a mechanism for controlling how much output data
    8 R/ q, c; I6 m) J% ~5 Z
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that+ l: {# k1 e+ X( ?& E' a  P( P
  214. ; data to the client. If your application's output exceeds this setting, PHP
    , e& |8 l% H) L3 z4 x5 Z
  215. ; will send that data in chunks of roughly the size you specify.
    ! ~" v2 A& `( H5 r% h2 Q" \
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    * J! ?3 D5 ]9 O7 }% C1 c0 ~( v
  217. ; interesting side-effects depending on your application and web server.
    ) O  X8 _2 t  u# H
  218. ; You may be able to send headers and cookies after you've already sent output
    4 w4 w! X% T7 p  l# P
  219. ; through print or echo. You also may see performance benefits if your server is
    # }  r' Q5 e0 C8 T* g
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    * N+ M' P% ~* W: @8 S  f% a6 i* t& k
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance, i& u+ j, |4 D; D. t+ [% z; S
  222. ; reasons.4 F' c5 B0 e- w9 o* R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control1 I  r% w( B& B; @6 F$ w
  224. ;   functions.$ G. E! N. i$ u! n) I& B2 c) p+ g+ r$ T
  225. ; Possible Values:7 u; |4 M- s' s1 {# A
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)' `1 J5 Z  C8 C0 m' `, A
  227. ;   Off = Disabled, S, ~* s; M, x8 D4 L/ ~$ R
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.! h) I; b" a( `6 x! {0 i$ z( q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , r' M- \% A" u: X
  230. ; Default Value: Off
    " m9 \  X0 m# ]
  231. ; Development Value: 4096$ U0 O" d4 R! X, y' N
  232. ; Production Value: 4096
    , W+ V- K+ `3 h" _4 u5 A7 ]
  233. ; http://php.net/output-buffering& O$ p( {4 i6 K+ k
  234. output_buffering = 4096
    4 I4 Q4 a2 x0 c( ^# v
  235. * [3 {4 R) Y1 [6 ^) o% A
  236. ; You can redirect all of the output of your scripts to a function.  For
    ) R. ~; s# l: h7 C+ K9 ^4 y2 e2 S
  237. ; example, if you set output_handler to "mb_output_handler", character! F, w9 |* Z3 `8 c' V
  238. ; encoding will be transparently converted to the specified encoding.; l, ^1 Y* U8 S; C  b$ d. ?) x3 d4 [
  239. ; Setting any output handler automatically turns on output buffering.
    * |  z; `( n3 F8 I& t
  240. ; Note: People who wrote portable scripts should not depend on this ini
    # Q0 N7 A% _6 d
  241. ;   directive. Instead, explicitly set the output handler using ob_start().2 Q& c$ l! K3 P6 U4 O# Z  Z
  242. ;   Using this ini directive may cause problems unless you know what script
    3 x" D+ U& _$ G, c
  243. ;   is doing.  v' Q. M, U/ Y" g% j' E( ~" e4 S3 A
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
      k, F: ]+ L& U1 G( H
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".& K6 c# @# X! e  B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!4 q0 t7 l* v/ Y6 y/ r$ J8 S7 o* j
  247. ;   Instead you must use zlib.output_handler.
    7 a/ ~( z) K( ~* z/ a" v9 G
  248. ; http://php.net/output-handler! e. V) p" D" s, R
  249. ;output_handler =
    ! G8 h7 Z2 C0 o. {; L7 t- ]- _

  250. 2 u; `0 ~" W& w) A3 f9 [
  251. ; Transparent output compression using the zlib library5 [1 @! N% L' ~* l
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size( ~; m7 Y0 t) ~- I6 ]1 X9 m+ W
  253. ; to be used for compression (default is 4KB)" u! e0 S6 O9 h, S' e
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & I. T5 z3 G# ^# N
  255. ;   outputs chunks that are few hundreds bytes each as a result of8 `6 [1 \3 P0 L5 Q7 }  \
  256. ;   compression. If you prefer a larger chunk size for better3 ~# o, W& ~0 e
  257. ;   performance, enable output_buffering in addition.
    ! }1 H8 Y' W2 w; q
  258. ; Note: You need to use zlib.output_handler instead of the standard, ]) d! A) \3 k: e7 v* H8 R  k
  259. ;   output_handler, or otherwise the output will be corrupted.
    ! b! M6 S3 e6 q  \+ Z; x
  260. ; http://php.net/zlib.output-compression
    3 p  C; g4 t. J/ `
  261. zlib.output_compression = Off
    $ v$ P8 d3 z8 h  e5 p" P8 P
  262. # H7 M) x! {  q- ]4 a4 u2 n
  263. ; http://php.net/zlib.output-compression-level
    / x/ A7 g" P. w3 j$ _7 u$ r' Q9 U
  264. ;zlib.output_compression_level = -11 r0 {! x- j7 x* u( K
  265. $ I! N9 j/ R) i7 o" {
  266. ; You cannot specify additional output handlers if zlib.output_compression1 g$ z# c$ R4 q% Y* `
  267. ; is activated here. This setting does the same as output_handler but in- ?; `& Q/ K) k
  268. ; a different order.
    & @; G5 Z! L& y  l; ~9 c$ V8 V) {. z
  269. ; http://php.net/zlib.output-handler
    4 T3 O& L) Y4 `; D/ s# X
  270. ;zlib.output_handler =$ z; V! {9 @! S

  271. 6 u& j2 a# Z8 C: o3 y! J4 i8 C5 P
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 g. V0 z7 a$ C7 b
  273. ; automatically after every output block.  This is equivalent to calling the
    % }; f- \- b5 U0 D6 s; g
  274. ; PHP function flush() after each and every call to print() or echo() and each
    5 r. x. F" Z' u( i2 s
  275. ; and every HTML block.  Turning this option on has serious performance
    3 ?* j  x; e* c# X+ Z; J# j
  276. ; implications and is generally recommended for debugging purposes only., Z4 w3 f% ~4 Q5 y
  277. ; http://php.net/implicit-flush; F4 J$ E& B4 E0 n# \4 S
  278. ; Note: This directive is hardcoded to On for the CLI SAPI9 O) V% h, ^8 {
  279. implicit_flush = Off
    ( E/ I3 W/ ?  _. k8 ?
  280. 7 A4 M! q' [4 ?/ U# `6 b$ y6 G# x
  281. ; The unserialize callback function will be called (with the undefined class'
    * |# ?4 V" y$ L. F2 v
  282. ; name as parameter), if the unserializer finds an undefined class. l; I5 J3 ]+ T7 R, O, ?
  283. ; which should be instantiated. A warning appears if the specified function is
    ! u' k! Z! ~0 y& B# Q9 u8 B
  284. ; not defined, or if the function doesn't include/implement the missing class.7 Q- m% G% Q3 n+ o, O1 T
  285. ; So only set this entry, if you really want to implement such a
    . Y& w8 {/ P0 J$ B) F2 N
  286. ; callback-function./ l! q: L8 X' M8 j1 r9 @5 I: ]& ]& U
  287. unserialize_callback_func =
    # d% r; c) n9 ]. C, B9 G3 C/ F
  288. 6 ^1 u# C5 |# V7 u; g6 Z
  289. ; When floats & doubles are serialized store serialize_precision significant
    + m9 V) B- O& ?4 A- j
  290. ; digits after the floating point. The default value ensures that when floats% ^7 M) X, b7 _6 b" n, p, O& Y4 Q6 c
  291. ; are decoded with unserialize, the data will remain the same.& C8 Z( m# J! i2 ?/ x) k
  292. serialize_precision = 17
    ; }% S, R- P. p: p: F, m, [, J

  293. 4 T' H: t& G- N* a* Q: U9 H$ ]- `& e
  294. ; open_basedir, if set, limits all file operations to the defined directory
    9 ~- ~$ ?3 }4 Z8 j2 i
  295. ; and below.  This directive makes most sense if used in a per-directory
    , u. `5 h# K5 C6 D, H
  296. ; or per-virtualhost web server configuration file.+ e: `! s5 N9 n
  297. ; http://php.net/open-basedir& T* D2 B+ M  O& e+ q2 r. c( k
  298. ;open_basedir =- m* `/ F' A+ v( T0 v4 S) V

  299. 9 a& ]& o: u8 t' n6 l
  300. ; This directive allows you to disable certain functions for security reasons.
    1 |0 v6 M: q6 e' z8 o! e
  301. ; It receives a comma-delimited list of function names.
    ) h3 S5 G- ]+ K0 F! Q0 W0 D' X
  302. ; http://php.net/disable-functions& S8 l2 ?6 v, V; R
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 W  y! t! \% D8 B+ [, [
  304. 7 B4 D! z/ Q5 q4 e
  305. ; This directive allows you to disable certain classes for security reasons.
    7 p7 d4 b0 T6 t  X$ l
  306. ; It receives a comma-delimited list of class names.) i4 a3 e# ]6 C  V& O
  307. ; http://php.net/disable-classes5 Y, n9 t4 U' ^0 U; F# ~3 x
  308. disable_classes =- k9 Z% L" J$ @3 _

  309. % k- N0 i& P3 Z" G) h  h
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 ^# ]# w1 K4 z& r
  311. ; <span style="color: ???????"> would work.+ [0 B- P" c" D. b' R# z
  312. ; http://php.net/syntax-highlighting
    9 h' P& \4 f' C' Q, n% h1 f
  313. ;highlight.string  = #DD0000! {# I% J3 ^. ~& m" r6 g
  314. ;highlight.comment = #FF9900
    . G; E8 B0 H8 i
  315. ;highlight.keyword = #007700
    7 }  K) u, g5 K( Y! t/ q6 h5 }
  316. ;highlight.default = #0000BB# |4 K7 z. }& ~/ q- I" w
  317. ;highlight.html    = #0000008 c3 m% E& Q7 q; A# N6 R% Y
  318. 4 t$ m' ~* H- I/ a0 m
  319. ; If enabled, the request will be allowed to complete even if the user aborts9 w5 E  p8 |3 X/ v* U; D& q% s
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ) s5 e  q( K' J6 P/ @+ a
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      V. U5 _: B& T3 m8 T, [& q
  322. ; is to disable this feature.9 O0 J6 c: C2 I
  323. ; http://php.net/ignore-user-abort
    2 ?5 ?; s: l5 m" O. ^$ |
  324. ;ignore_user_abort = On
    % y+ c4 [8 \% `
  325. : Q) u+ L+ D  [! q) F% z% @
  326. ; Determines the size of the realpath cache to be used by PHP. This value should% A2 A& R2 L  @
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; ~2 ]) h9 }1 b
  328. ; the file operations performed.( ?+ F' r; U" Y3 X: }* y; x
  329. ; http://php.net/realpath-cache-size
    $ f7 O& `, c, S8 n  S  g& o
  330. ;realpath_cache_size = 16k
    + t3 ~) D4 i# m

  331. ! _6 M3 u7 v! Y; U3 N: m0 X
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ) e+ s9 N. D0 t) J! Q; N  |
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    5 v/ z- K( a2 \% F7 s
  334. ; value.
    ) t8 d) Y$ h8 W/ I! ?! W
  335. ; http://php.net/realpath-cache-ttl
    , `' J& @  m2 f2 `0 N+ h% u2 _
  336. ;realpath_cache_ttl = 120
    + s' m- D& R  I. B) l' J8 K4 E% C

  337. 9 v6 _& ]* @! p
  338. ; Enables or disables the circular reference collector.1 P4 C8 |$ \6 i5 s
  339. ; http://php.net/zend.enable-gc
    $ }$ g0 m8 o' F+ W+ L5 B7 v4 }; H
  340. zend.enable_gc = On5 z2 I7 [0 Q1 h: P5 N7 t

  341. - T4 @, A' r7 t0 B" a6 z" H
  342. ; If enabled, scripts may be written in encodings that are incompatible with* o+ z7 C( W4 H
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ B- q# W2 S5 U& l5 ]
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    * y& O' B6 v& P. ]2 L
  345. ; Default: Off
    % t! G! }. }/ F4 Y, M& Y$ i8 ~
  346. ;zend.multibyte = Off8 v' H5 {% E6 H6 G0 S- g  l8 ^

  347. # c8 ~& d5 ~8 g# V& P
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ( J5 e6 H, m9 i& N1 v" Z, w2 c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.8 Z. ?3 P* F! o* M5 e$ J
  350. ; Only affects if zend.multibyte is set.2 [" `+ Z/ m) E( L/ X5 V  o
  351. ; Default: """ \6 x+ ?: I. ~' N2 G  b1 k; }
  352. ;zend.script_encoding =
    7 d4 u! }: e( a  e6 ?  K! S* d3 _
  353. ' a! O% N+ L( o. S# A. w) u% f
  354. ;;;;;;;;;;;;;;;;;: `$ s$ Q7 g" x: \6 m/ o8 ?
  355. ; Miscellaneous ;  _5 B# h, z, ~. Y" m
  356. ;;;;;;;;;;;;;;;;;
    . E5 V/ Z/ F7 W" [4 w
  357. ( A; e, J7 K) h% \# @
  358. ; Decides whether PHP may expose the fact that it is installed on the server( C7 s5 E4 L$ }5 V
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    . g2 V6 I- K  b. |5 X
  360. ; threat in any way, but it makes it possible to determine whether you use PHP7 ]* s, q' ^5 m
  361. ; on your server or not., t+ ^5 m( Z* }4 O4 w
  362. ; http://php.net/expose-php& G% f' a2 [: z4 {! X) s" q2 F% L. G7 [9 c
  363. expose_php = On* d% t. Y& q( q) T8 N* N1 V. B

  364. + {+ w. L% z3 n) A
  365. ;;;;;;;;;;;;;;;;;;;
    : ^7 X5 q/ N$ r" Z1 q3 |# n
  366. ; Resource Limits ;
      x* `5 e% e2 \
  367. ;;;;;;;;;;;;;;;;;;;. i# P( f4 m$ K/ ?

  368. ' {) o) t3 {  S* ?
  369. ; Maximum execution time of each script, in seconds8 a# R6 k% Z- v( {0 L9 ^. s
  370. ; http://php.net/max-execution-time
    4 n+ V$ n* _$ w! d3 N
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & g# g) V1 A* E& B
  372. max_execution_time = 300; I3 d% A) ~" D3 a9 r" Q
  373. 0 k6 M0 j% l2 j0 a! w/ U
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    0 t$ N1 r$ W) p8 V
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    9 c/ \2 F4 x4 |
  376. ; long running scripts.
    " V; X7 L  i, O5 c4 ?
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) }( D7 O  v2 `
  378. ; Default Value: -1 (Unlimited). r4 d% B* h# B$ J& o  c' h
  379. ; Development Value: 60 (60 seconds)9 J- K7 _7 O8 L
  380. ; Production Value: 60 (60 seconds)
    - U+ G. h  R3 S( b3 Z
  381. ; http://php.net/max-input-time
    ' H4 }1 a) g& M- I$ ~
  382. max_input_time = 60
    - F5 M5 w2 o4 k: u- t1 G0 D5 C& V- v

  383. & I( ~; }4 p+ ^7 n
  384. ; Maximum input variable nesting level
    . f3 w; A3 k# e4 n" _1 u
  385. ; http://php.net/max-input-nesting-level6 @2 Y, G. r3 g; }; k) t+ a
  386. ;max_input_nesting_level = 64
    5 s$ l" x5 J, M' s. y
  387. ) W  V7 g5 `$ p$ C. S
  388. ; How many GET/POST/COOKIE input variables may be accepted* O! w% b0 F8 G& x9 K1 ^
  389. ; max_input_vars = 10003 U% a! O- B0 M. y# u3 O) e
  390. * \& F* Z+ e4 a% t- y
  391. ; Maximum amount of memory a script may consume (128MB)5 D5 Q7 E  q: K6 B) b' l, D$ o
  392. ; http://php.net/memory-limit& w9 `2 v; D, Q! |6 V; W
  393. memory_limit = 128M4 O" r, i* B8 B% T3 R0 w

  394. 5 }- d% R& w, f+ i7 s8 J# i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 o2 A/ U. P; U# s* d
  396. ; Error handling and logging ;
    & x5 V( _& _6 Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1 b( t- m: ]9 v: C6 f4 P7 ~

  398. " n4 j9 L/ Y7 M  ~' G
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    . {" R6 l: Y  j: u  x
  400. ; it to take action for. The recommended way of setting values for this: _! K. ?& h; q( |+ q: x7 W3 K( E; _) M
  401. ; directive is through the use of the error level constants and bitwise
    ; w7 s" m2 P1 W- \: F1 Q& V# i3 K! h
  402. ; operators. The error level constants are below here for convenience as well as4 a1 X( @* c' ^7 g  O" X' E
  403. ; some common settings and their meanings.
    : m1 \# T7 N$ h8 X6 z. N7 V
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    : l9 x! \7 w& h+ H7 p
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 ~6 c" d6 X& q2 u
  406. ; recommended coding standards in PHP. For performance reasons, this is the* y" K9 n7 h  J1 N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 y* Z0 |; \+ C# H  T7 C( v
  408. ; resources complaining about best practices and coding standards. That's what: w9 b- }4 H. e0 v$ p" i! H
  409. ; development servers and development settings are for.
    / k9 s& R3 G! k+ r6 l- J+ B3 ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This$ k5 l8 |6 ~$ g5 L! s" E3 V- n% `
  411. ; means it pretty much reports everything which is exactly what you want during7 B# U: a0 Z9 @( Z
  412. ; development and early testing.. _2 U5 P* V' c" u5 a% }
  413. ;
      i. |; t- t' @8 L
  414. ; Error Level Constants:$ L+ {3 t+ ~3 F* U# G; ]5 a
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# h$ T7 N3 K* S
  416. ; E_ERROR           - fatal run-time errors
    6 F# T3 h/ F: r- {) @6 d+ l: o
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 V  K$ G4 D" d) a) A7 o
  418. ; E_WARNING         - run-time warnings (non-fatal errors)( H$ B0 m& E2 B& D
  419. ; E_PARSE           - compile-time parse errors9 ~# g9 d9 J9 g  R; S9 U: {
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) S; F7 `" W' T1 T
  421. ;                     from a bug in your code, but it's possible that it was
    - v: b0 I4 c& r2 j6 V5 i" Z
  422. ;                     intentional (e.g., using an uninitialized variable and: ~' `2 h( g+ H1 g
  423. ;                     relying on the fact it is automatically initialized to an
    2 x2 D0 J4 O+ |8 b# f% E9 Q2 T( u
  424. ;                     empty string)
    3 ]) }/ V( p) H. \5 S
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes2 i' A3 l& q$ r% K: K6 r
  426. ;                     to your code which will ensure the best interoperability& [4 I2 X! \2 f/ c5 q( H. V5 L
  427. ;                     and forward compatibility of your code1 O2 ~  t) i, D2 Q0 ]
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' ?( w- |" s: H8 K( ]5 K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ p& L3 }3 T+ j2 n% R- G5 ]
  430. ;                     initial startup
    % p  F' E+ {9 [8 [
  431. ; E_COMPILE_ERROR   - fatal compile-time errors# `; r$ i6 V' Y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ' h% I! y4 i9 q* }8 @) X
  433. ; E_USER_ERROR      - user-generated error message( P+ |9 D% Y9 a9 c
  434. ; E_USER_WARNING    - user-generated warning message6 i& ^) X; E5 J! t/ k0 D8 u
  435. ; E_USER_NOTICE     - user-generated notice message$ O( r" X2 m4 S# {7 t( v2 l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions) |+ _* t1 R  V+ x0 g) j
  437. ;                     of PHP3 Z' l! \! m* [" q: f5 B
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 ]- k7 V3 N1 I0 \" p% g
  439. ;
    % ^* d! u  `( R) B1 |4 V4 |
  440. ; Common Values:
    3 V  B. M/ V  k3 ~( @* A/ W; \
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    9 \, N- K0 m4 [; w5 N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 V0 i- w; E4 Z
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    0 O% d/ g8 ^8 q( c
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)$ Q) Y) ?; i0 R% ]( a8 h  L: l
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# F) \  V  h9 d6 @0 f6 _. p! J
  446. ; Development Value: E_ALL3 X. h0 W  b/ `% f
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    , {* f, L3 I- ]# E
  448. ; http://php.net/error-reporting( X* x2 |) Z1 U& M1 s. N
  449. error_reporting = E_ALL & ~E_NOTICE0 M  P1 Z# O6 q9 ], Z+ O
  450. 3 G/ g! e8 q9 {
  451. ; This directive controls whether or not and where PHP will output errors,
    , ]8 \2 F  h4 _9 a
  452. ; notices and warnings too. Error output is very useful during development, but
    1 o9 d$ }: \  P
  453. ; it could be very dangerous in production environments. Depending on the code
    8 @1 y" I$ @; O$ x# a- M3 D% B- b  L
  454. ; which is triggering the error, sensitive information could potentially leak; N% y6 j, ?# Z  T
  455. ; out of your application such as database usernames and passwords or worse.
    2 W9 |3 W% s; }  N  [2 Q) d
  456. ; For production environments, we recommend logging errors rather than6 d, d9 x7 G1 x" H) c6 i3 O
  457. ; sending them to STDOUT.$ c+ F4 x# I; E6 G  m, D& S) X
  458. ; Possible Values:: ]( d4 v3 S, Z0 [7 P0 f8 s
  459. ;   Off = Do not display any errors4 H  K0 Q% p' J3 Y* j8 Y( Q
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ k1 e1 O/ l1 }0 F
  461. ;   On or stdout = Display errors to STDOUT. }2 \( ~& k$ j- H' Y& e
  462. ; Default Value: On
    9 \7 B* e# G) T2 |9 g
  463. ; Development Value: On
    9 S9 Y2 h' z$ ^- u" |. z; ?4 w
  464. ; Production Value: Off
    : m" ?6 ?# r6 Q+ }2 [
  465. ; http://php.net/display-errors
    * _- E7 r- s9 x/ n
  466. display_errors = On
    - B8 o3 I# v% j2 p$ g5 e
  467. 7 N" z8 ]# i( m% \2 o0 f5 |
  468. ; The display of errors which occur during PHP's startup sequence are handled' p7 _* U7 A0 s+ s+ Z! K
  469. ; separately from display_errors. PHP's default behavior is to suppress those; |# ~2 L" ^6 X
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    " l3 {/ {  s" P4 J8 A0 l! y3 }  J
  471. ; debugging configuration problems. We strongly recommend you
    6 q7 z) u' x# n2 A" r
  472. ; set this to 'off' for production servers.
    " n- }1 r" E6 J1 z5 o( e0 k: b' \8 S
  473. ; Default Value: Off
    0 o  q; A; T" M2 O8 o2 q! X. c
  474. ; Development Value: On
    ( N1 {; t* T' d, b2 h8 x1 }4 M
  475. ; Production Value: Off
    % O  H5 r4 P# f$ T' h' m, _
  476. ; http://php.net/display-startup-errors2 D: @8 \) L. ?% R9 ]: c
  477. display_startup_errors = Off
    ; [: |: ~2 j/ j) V

  478. , a) [% s. w, @9 U5 v3 t2 @- G
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ' z: }0 x) P3 C. l* D3 V9 ?# W/ I
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ! ~" ?- j( z9 J8 L9 ?) |
  481. ; directive found below. While errors should not be displayed on productions
    ' |3 U, W" E/ K( J5 [# b
  482. ; servers they should still be monitored and logging is a great way to do that.: b5 `8 M4 M/ f- I# ]; u
  483. ; Default Value: Off. y; Q1 W; i* m
  484. ; Development Value: On2 B- e' q; E: @! f3 A0 }; L
  485. ; Production Value: On* B( w* n. g, P* p
  486. ; http://php.net/log-errors$ D# @8 ]6 l! H8 @
  487. log_errors = On! ]9 j8 I/ q, F0 Q

  488. 8 \  v% u  }: o- F! |( l( x
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 y- F4 q; `$ [" m4 R
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      T6 ^0 g* {# D, p% T
  491. ; http://php.net/log-errors-max-len4 m# }& M  X9 E2 m- u( b
  492. log_errors_max_len = 1024, T7 u! Z+ o2 L7 U* S8 b0 N( y

  493. ! X  w2 ~6 Q* L5 b
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
      j; X' j+ e; z5 |. A8 V- _
  495. ; line unless ignore_repeated_source is set true.
    # h4 O8 U8 }3 f  u5 \1 U( S
  496. ; http://php.net/ignore-repeated-errors
    3 J. ^0 X; m9 x" \
  497. ignore_repeated_errors = Off
    7 @  }% {) O4 T  s$ d6 B4 O7 k
  498. 6 Y8 p7 O# j5 J, |$ K! e# Z) v5 d" Y
  499. ; Ignore source of message when ignoring repeated messages. When this setting  x8 f+ G/ [6 J1 J1 k4 J% c4 L
  500. ; is On you will not log errors with repeated messages from different files or% Z+ u# Q8 \% l
  501. ; source lines.* _- i! S; u1 {6 v% u% k) b& G+ D
  502. ; http://php.net/ignore-repeated-source3 q0 S+ ]" S( C$ n
  503. ignore_repeated_source = Off3 Y% j0 u& u% D' C$ \

  504. ( z% ?: n2 l! [9 m2 Y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on- F6 I: N: L" v+ U$ s- w
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    7 m  Z/ R9 D2 a  R+ r3 B
  507. ; error reporting includes E_WARNING in the allowed list
    ( b  W1 B5 ^0 f1 D9 K# n
  508. ; http://php.net/report-memleaks8 D3 h; y" [4 ^
  509. report_memleaks = On
    5 i7 T7 f: C6 ?- h; R
  510. + ?! W5 q2 j8 P% T  }. o3 Z
  511. ; This setting is on by default.  y/ v- j, X0 H4 \. w
  512. ;report_zend_debug = 0
    / r5 T. S2 e: ]* d0 G! Z

  513. # H+ F" p, k' e2 u3 e, o
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value/ @$ H* P; M! c
  515. ; to On can assist in debugging and is appropriate for development servers. It should+ t3 S. `6 j5 v$ O, X
  516. ; however be disabled on production servers.3 E, X, Y3 z* ~8 C! W' }
  517. ; Default Value: Off
    / h9 ~) Y7 ~  e7 }0 \4 K  e6 k& A
  518. ; Development Value: On# p% g& ~  E6 W/ i% N: h- P
  519. ; Production Value: Off; k1 N  Y% H0 f  E0 l
  520. ; http://php.net/track-errors+ {- O6 M, G+ Y1 a6 @* i4 Y' ^
  521. track_errors = Off3 o$ @3 Q. l) D4 t
  522. 8 u2 j( g' p4 Z$ H& k7 L
  523. ; Turn off normal error reporting and emit XML-RPC error XML' q" k1 ?/ ~" N3 y. X) c% f
  524. ; http://php.net/xmlrpc-errors5 M* i8 o" Q' |8 R- l' [
  525. ;xmlrpc_errors = 0
    * X! v7 E  X3 r8 T/ _3 H+ P7 v

  526. 7 \$ B' z% G* y& z( ]
  527. ; An XML-RPC faultCode
    4 n& @. g: y& i: H7 e; V1 w  M
  528. ;xmlrpc_error_number = 0
    & w3 ]5 E# v  Y0 c% g
  529. 0 V) a& L* q" |- Y5 ^( O
  530. ; When PHP displays or logs an error, it has the capability of formatting the- |6 N/ O; O) E8 w1 J" f
  531. ; error message as HTML for easier reading. This directive controls whether$ _$ ?/ ^, [) P) K
  532. ; the error message is formatted as HTML or not.
    0 g. P  `/ B! I# _5 A5 p
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% h# C2 B% t. I% S7 _0 z$ O( @
  534. ; Default Value: On
      N7 u$ \( U- j+ k$ G! ?% v$ q+ `
  535. ; Development Value: On
    9 m  H0 P* ^9 e" v3 q7 v* T6 b
  536. ; Production value: On+ ~+ |, s1 x# q+ I0 h# M: g$ R
  537. ; http://php.net/html-errors7 Z+ n0 O- b# b2 ?/ y2 M! O3 {
  538. html_errors = On* j- }! F- T  i9 }( e7 `: b& m
  539. 6 f( }. H/ I6 n1 z6 K
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , b- @. q( J5 N1 \: o: X3 V& K
  541. ; produces clickable error messages that direct to a page describing the error7 M% t# V% v6 ]. t; E2 c) Z4 h
  542. ; or function causing the error in detail.
    5 h! z/ z9 `' O- p/ K
  543. ; You can download a copy of the PHP manual from http://php.net/docs1 `' d8 X9 L8 a* ~0 B
  544. ; and change docref_root to the base URL of your local copy including the5 R+ u! O% t3 K) Z$ P
  545. ; leading '/'. You must also specify the file extension being used including
    4 A. ~* _3 N4 a% @0 q, a
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which0 I* K+ @) q+ Y2 C; b
  547. ; case no links to documentation are generated.
    4 V4 p4 M) o* H+ M& H
  548. ; Note: Never use this feature for production boxes.
    5 {& x5 ~* `. A; Z/ g- Z& B
  549. ; http://php.net/docref-root
    , K5 U* _( h6 }, h3 a
  550. ; Examples' s" }$ i8 ~9 K" x
  551. ;docref_root = "/phpmanual/"0 f1 }9 J" V+ [* n

  552. - J" x7 ~0 c* A" b9 ?
  553. ; http://php.net/docref-ext# c: ]- V( ?/ a1 k
  554. ;docref_ext = .html
    : c! @# b1 H( K8 ~
  555. ) A6 v' Z5 F. H' @, h% y
  556. ; String to output before an error message. PHP's default behavior is to leave9 J( q' p9 x6 t8 J+ T
  557. ; this setting blank.& `: K/ ?* {) ~+ Q& M9 g- `
  558. ; http://php.net/error-prepend-string  E) D( `; c, u$ x
  559. ; Example:: Y- @" G& B! i3 H8 M+ p$ @
  560. ;error_prepend_string = "<span style='color: #ff0000'>"  ?) {6 U. {4 Z0 [

  561. 4 Z% w- w0 C: n, u3 c# p+ F; {
  562. ; String to output after an error message. PHP's default behavior is to leave8 g" Y2 K; ~2 ~
  563. ; this setting blank.5 B% {8 r; ^+ x0 }4 L# n1 B$ r
  564. ; http://php.net/error-append-string# q& T) Q3 P5 x( }
  565. ; Example:
    $ }5 D' r7 J+ W: i! z. o  S5 E0 }
  566. ;error_append_string = "</span>"* n& g$ z. {6 Z2 z9 a, t0 k' w) \
  567. 0 k! S4 y. j. j, }! P/ Q" O% V
  568. ; Log errors to specified file. PHP's default behavior is to leave this value" V5 k! s: b5 ]- G+ i( T
  569. ; empty.. F* s8 C# Z! W
  570. ; http://php.net/error-log
    ) @" S- H+ S2 i- n5 F* K
  571. ; Example:
    ! ?+ `, \0 T1 Q
  572. ;error_log = php_errors.log
    ; a& M% c, h" j) q3 J2 y: ]# V
  573. ; Log errors to syslog (Event Log on Windows).
      S  ?1 v$ \& f4 H6 X' Q  ~/ a
  574. ;error_log = syslog; ~, D) e' q' ]* z

  575. 2 j* ]8 p8 Y( i, [
  576. ;windows.show_crt_warning
    / M  ~5 Z" J+ }" Y/ V( j- ^
  577. ; Default value: 04 l& R7 N! y: Z. Z9 z
  578. ; Development value: 03 w) ~) H5 ^1 T' \3 V
  579. ; Production value: 02 l7 B3 A. J5 e1 g4 M- q. u, D! R
  580. " O$ V9 L, b0 t$ r: j$ T
  581. ;;;;;;;;;;;;;;;;;
    6 D. a4 l6 c$ n- L9 I) f
  582. ; Data Handling ;6 H7 _8 i- x+ S3 [* a
  583. ;;;;;;;;;;;;;;;;;
    " B9 t$ J3 {% K
  584. # M! {1 P% `( m9 v3 l: v6 g1 G
  585. ; The separator used in PHP generated URLs to separate arguments.# I, S4 T: ?, U& N+ H$ z- D' c
  586. ; PHP's default setting is "&".
    ! n7 A( a& ?3 c, y, z6 P. O* Z5 B9 `* D
  587. ; http://php.net/arg-separator.output
    - }2 w$ p0 {% p$ t. I5 q8 A5 h
  588. ; Example:2 O6 u7 V7 ?7 H4 {
  589. ;arg_separator.output = "&amp;"
    ; E& d  ^+ ~* [( B

  590. 3 f" y# B- i5 a
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' p5 @! v7 j( n
  592. ; PHP's default setting is "&".
    . j+ V1 L3 U2 D2 s/ H& s
  593. ; NOTE: Every character in this directive is considered as separator!
    : B8 `. }5 J2 c9 x% h( R$ U6 p
  594. ; http://php.net/arg-separator.input
    - f" h5 l! ?- D$ \
  595. ; Example:
    7 O5 D9 S# y5 f
  596. ;arg_separator.input = ";&"3 f! N( Y0 W# B; ?

  597. ( C" L0 f) {8 d' G+ O* X" R
  598. ; This directive determines which super global arrays are registered when PHP
    + p; |6 @/ O5 l
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 D  i! u: G. _+ ~8 N0 Z
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - y/ x6 F4 w8 \" p, X6 t
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    5 m7 G  `# S0 u8 D3 x( H, D9 d
  602. ; used as the others, ENV is not recommended on productions servers. You
    1 ^' k1 v7 Q6 y7 A
  603. ; can still get access to the environment variables through getenv() should you+ d6 w" p" E6 ]
  604. ; need to.
    2 Y  s  Y& V- D0 Q" w; ^  e# j5 [
  605. ; Default Value: "EGPCS"+ k! G! e6 n4 N' i  p3 e! ^
  606. ; Development Value: "GPCS"
    - A9 }8 @2 ^. o% W9 Q
  607. ; Production Value: "GPCS";
    ' b* p, w2 O- N* w0 p
  608. ; http://php.net/variables-order
    * |( m3 o' R* H, G9 q2 `9 N
  609. variables_order = "GPCS"! a* M* J, c* u. a6 }2 O$ }5 B6 j
  610. # |1 o7 R9 M  b% ^# X9 q
  611. ; This directive determines which super global data (G,P & C) should be& `+ K  U) ]; x1 F. E
  612. ; registered into the super global array REQUEST. If so, it also determines3 n# ^; P" Z% _5 o" x/ @9 L  G
  613. ; the order in which that data is registered. The values for this directive, y% l. z4 V+ ?$ P3 M
  614. ; are specified in the same manner as the variables_order directive,. C  q4 ?4 z: r
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set0 d6 b( y" m& J* z: f
  616. ; in the variables_order directive. It does not mean it will leave the super
    / j; \( G, L- D( x2 o' q* g" j
  617. ; globals array REQUEST empty.
    7 F. N) ]. H0 w/ C& J" c, y
  618. ; Default Value: None6 ?& Y* K1 \; X4 l! u) X- t
  619. ; Development Value: "GP"- Y7 z  _& G1 _1 m
  620. ; Production Value: "GP"
    ; i& u( ?# w; Z' g. @% |
  621. ; http://php.net/request-order
    ' w: h4 U. ~7 z$ q  [  B. V
  622. request_order = "GP"* l  C& Q( J3 s9 H) j
  623.   o- b5 }& _% z+ ?% r2 a1 a5 o5 c
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    8 I" U0 B9 D% p7 l$ N
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / ?7 z. P  B  K& e+ O6 V# y
  626. ; is invoked. $argc contains an integer representing the number of arguments: L1 c* Z2 _2 M  o2 q4 g
  627. ; that were passed when the script was invoked. These arrays are extremely
    # Z; D5 g( \+ ~% `  q
  628. ; useful when running scripts from the command line. When this directive is
    0 }7 s' Y. O- d- j* `% r
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    / b, Q; R. h. x/ |
  630. ; a script is executed. For performance reasons, this feature should be disabled
    8 K& ^, S$ V0 b
  631. ; on production servers.
    $ p( O) Y! G( o: E+ C
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; w& y5 i1 B" m
  633. ; Default Value: On8 F/ C  A; q2 e" P! A; @
  634. ; Development Value: Off1 ~1 k# ]. V# g: Y
  635. ; Production Value: Off- e/ D8 |$ I' T4 d! H
  636. ; http://php.net/register-argc-argv
    ; H% ^0 v9 J, F* B$ b8 M- A
  637. register_argc_argv = Off
    1 X* n4 o' C! P7 F. |7 B& p9 h& v

  638. , N  o7 @+ ~, y0 u; x+ @4 l! N
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ k' a! _6 W+ E4 }' Q  B6 |0 C/ l. p% Y
  640. ; first used (Just In Time) instead of when the script starts. If these& A6 {" w) N  E& a+ M4 E0 b  S
  641. ; variables are not used within a script, having this directive on will result; z  _) f5 O; B/ ?+ f
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled: T& j1 C0 I9 b6 A
  643. ; for this directive to have any affect.
    ( T3 N7 l! ~0 `- k: U
  644. ; http://php.net/auto-globals-jit
    ( y6 v7 z- E" f( d# U4 x9 [
  645. auto_globals_jit = On- |3 {8 `  Z9 I( `
  646. & M9 O7 Q4 q% h; q' |' g  ~- u
  647. ; Whether PHP will read the POST data.
    8 ^- s$ q$ |: B; r0 |0 ~
  648. ; This option is enabled by default.
    - i" e; q2 W- d
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
      h3 \& B$ y$ w: b
  650. ; and $_FILES to always be empty; the only way you will be able to read the- X' Y5 n. n" k. O3 E% ?8 ]. H; g
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    2 Y. u* S  x- O
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.3 }4 F* N& G$ C+ [
  653. ; http://php.net/enable-post-data-reading
    ' g$ @. h9 q$ i2 E! q
  654. ;enable_post_data_reading = Off
    ' r! B  t4 b' E5 K+ l, o( d

  655. 7 k( b$ R' W9 u$ v1 V; S9 B$ u
  656. ; Maximum size of POST data that PHP will accept.
    ! N- [7 _7 L" _# z& y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading) }# u4 ^4 S$ s& s$ x- Q( k. U) `
  658. ; is disabled through enable_post_data_reading.
      d) Y1 X+ o/ ?
  659. ; http://php.net/post-max-size
    ; z. ]& X% \2 a9 P4 w. |
  660. post_max_size = 50M9 G  Z/ `  k4 r) v

  661. ' @7 \2 v; J9 G- N, }. ]* x
  662. ; Automatically add files before PHP document.& R' m3 R' @0 {3 I" d. c
  663. ; http://php.net/auto-prepend-file
    - O8 P" L- j% D2 b4 h
  664. auto_prepend_file =1 B% D3 g* N, Y

  665. $ c9 a5 l" a* T0 y4 v* v
  666. ; Automatically add files after PHP document.
    7 F" S0 @& q% F8 v
  667. ; http://php.net/auto-append-file
    ! W- U7 B" }% Y: {. W0 E1 K; d" F
  668. auto_append_file =
    : p" q- B: x0 }
  669. # N- Y! \# U1 ?' h" w  i
  670. ; By default, PHP will output a media type using the Content-Type header. To5 ~$ b$ a" H. [& ]
  671. ; disable this, simply set it to be empty.
    ( I! x- A; C  `/ g) d7 ^
  672. ;
    * g5 y7 L: V, ^. E- a2 l
  673. ; PHP's built-in default media type is set to text/html.
    8 _1 Q0 B% g+ f: o+ C2 i- A
  674. ; http://php.net/default-mimetype
    7 Z1 b5 U+ [: Q
  675. default_mimetype = "text/html"7 u/ T8 R8 G! ^, f

  676. 1 R5 X. X7 ~4 n' l0 Y) h
  677. ; PHP's default character set is set to UTF-8.
    ( V0 V+ j! ?- K6 o
  678. ; http://php.net/default-charset
    3 k9 _& p+ G9 G3 \; Z4 E
  679. default_charset = "UTF-8"  I' d7 J3 S" L" Z+ ^

  680. ) Q6 n0 {/ p1 t6 _0 V5 j
  681. ; PHP internal character encoding is set to empty.
    / ?3 {+ P4 Q/ K8 M  a" {4 T
  682. ; If empty, default_charset is used.* v) }4 e+ q# Q( @: T1 d
  683. ; http://php.net/internal-encoding* T' _1 S, c4 \
  684. ;internal_encoding =
    & \9 P- D6 y" k: v& b( h$ i8 m8 D
  685. ( `& i) s- C7 }4 G+ U
  686. ; PHP input character encoding is set to empty.8 v8 a4 x+ w+ K0 H% D. E
  687. ; If empty, default_charset is used.
    ; B; m+ S: h) N2 o9 ]
  688. ; http://php.net/input-encoding3 E- U* [6 ?; ~- s* M
  689. ;input_encoding =
    " B; Y9 s! q& ?

  690. ! z( W$ k: A3 r) o; j
  691. ; PHP output character encoding is set to empty.
    0 |8 E) l1 v; E% r# B: u$ P
  692. ; If empty, default_charset is used.0 o8 a: v8 _2 l2 K, K2 Z3 j$ k. q
  693. ; See also output_buffer.( S3 k1 V9 A0 ]0 N
  694. ; http://php.net/output-encoding6 w+ m$ V& `  n, m4 I. j& c
  695. ;output_encoding =
    7 X+ m# l( P( z

  696.   K, s1 S, T* Z$ f
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is9 Y, J( b. q! Q" u  i- l3 E1 J
  698. ; to disable this feature and it will be removed in a future version.
    1 P2 I3 p' r& o7 W; @
  699. ; If post reading is disabled through enable_post_data_reading,7 e7 s/ i- Y4 v# h
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.9 @' T& D* [" z' w
  701. ; http://php.net/always-populate-raw-post-data
    - _2 {5 Y% H9 K: n
  702. ;always_populate_raw_post_data = -12 i; `- X+ t& ^' M+ s
  703. / l# `) B- K- B: U
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : ^1 v& }' D2 F- Y9 f
  705. ; Paths and Directories ;
    7 [* w% I' n% z4 \
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ( _8 l3 V; C! F. n% G, ]) Y  T- T
  707.   e+ r- r) Z' ^5 B$ ~
  708. ; UNIX: "/path1:/path2"
    0 O. n9 t+ i! o  v; |9 W8 d
  709. ;include_path = ".:/php/includes"
    % L: S" w& I9 |5 M) x+ @! g
  710. ;3 d( X' m; e' ]. |
  711. ; Windows: "\path1;\path2"
    9 h" n, i# m+ w2 I0 z. V4 u" p# x
  712. ;include_path = ".;c:\php\includes"
    + D7 |* f  T0 V# \
  713. ;& Y8 @. m, @% Z- d& D% U# g8 |0 q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 F/ l; R" S- k
  715. ; http://php.net/include-path
    , ?; W1 V" H3 K' C' U; w) @- F  y

  716. # [  Y2 Z% H, S% C" b, G% I
  717. ; The root of the PHP pages, used only if nonempty.
    # T6 E. b3 \6 |0 j
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    $ {" p" G; [  _9 a# P* m/ [! {# W
  719. ; if you are running php as a CGI under any web server (other than IIS)/ M  ~0 s; m5 \. o4 X( j
  720. ; see documentation for security issues.  The alternate is to use the, ?3 D* d$ ^1 B& V  G, y+ M7 b4 W  M
  721. ; cgi.force_redirect configuration below
    $ j) E2 [, w, m
  722. ; http://php.net/doc-root$ i- G% F* @( }3 {4 T4 ^
  723. doc_root =# \1 ~2 V6 o  r, I( P( {
  724. * b+ {6 t: @" L) S" z  T3 Y
  725. ; The directory under which PHP opens the script using /~username used only
    % j3 D: Q6 s5 U( d1 C
  726. ; if nonempty.5 A6 v- I7 G; _5 U& A3 X
  727. ; http://php.net/user-dir
    ! E, Y8 S9 E+ n" ~' N
  728. user_dir =
    6 P! {. Q/ e% F# Z. x, B4 n$ B- W1 i
  729. - n7 o: ~8 [6 {5 z4 J
  730. ; Directory in which the loadable extensions (modules) reside., O, M( {2 x3 l' n! ~
  731. ; http://php.net/extension-dir
      X  g- V$ F8 [$ l0 b* H9 M* k& `
  732. ; extension_dir = "./"9 w; r: M- j; ?
  733. ; On windows:
    . G# H/ Q) \  b0 x8 o6 r
  734. ; extension_dir = "ext"
    / @8 R0 K: F. s4 X8 i: G' D
  735. , Y5 b4 |0 m9 l, ^' @* \8 Z
  736. ; Directory where the temporary files should be placed.
    . J" c. g# }8 D. Y9 |/ N* @
  737. ; Defaults to the system default (see sys_get_temp_dir)
    4 i  \' J6 A/ K! u; y( W
  738. ; sys_temp_dir = "/tmp"; w7 E% \7 Q8 w

  739. ! y. m& ~8 \% d  q
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work: r0 T  f) x( P- d$ B
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically/ k% H  a% e; G
  742. ; disabled on them.
    % r4 P, j6 _( C* b" \+ u3 D8 f' f
  743. ; http://php.net/enable-dl
    / ]* F" \5 Z8 ^3 f5 t/ B
  744. enable_dl = Off! R4 [+ B  m% l- q# d1 U
  745. 7 Q* s4 r% y2 K# E; O
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    0 Y5 l' e9 F5 O& i0 }- X8 |. W* ]& z1 }
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 h; F, d0 w& h8 u
  748. ; turn it off here AT YOUR OWN RISK
    3 F: P" f0 `( g* b( a
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! H* ~2 I: j: `1 E1 k1 p$ w  c
  750. ; http://php.net/cgi.force-redirect( J! J  T' `1 w+ ~' @
  751. ;cgi.force_redirect = 1- Q+ b% ~9 P" I; y& v, i( q

  752. ! ]' j# H0 f5 T1 C* s
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ! y. w4 j: Q4 Q& q
  754. ; every request. PHP's default behavior is to disable this feature.* B; Q7 z8 f$ _$ ?3 n, N% F
  755. ;cgi.nph = 1
    " H, l, a3 Y: L
  756. 0 @0 q2 u: F- n( y) d. R
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 U7 N1 V9 c4 @! V% E1 I0 n* q; d
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP* T% k' m3 B" U; S, n4 a/ V, D
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    " |+ K9 M0 t: U
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.4 x+ Q" M5 I6 T  c5 l
  761. ; http://php.net/cgi.redirect-status-env6 V/ Q' D) K  M1 B" x( ^
  762. ;cgi.redirect_status_env =* C! y' y9 D! q5 M

  763. & O0 R7 ^6 x3 j2 D+ R) I' B( U
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % c; A" Z6 r' E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 x5 {: g( ?6 m  N! u7 s$ F
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    / W3 s+ d8 O6 q5 S
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + U* a) e+ P3 ]9 C/ P6 h
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% h9 g- n* h% p1 g) j" j
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 N- O4 R1 ~: [  g
  770. ; http://php.net/cgi.fix-pathinfo7 {8 |6 Z  T3 W1 v% c; d6 J
  771. cgi.fix_pathinfo=1
    / q) i; H4 @9 |' V
  772. ; g( q3 Y7 r  g% J8 |
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside# Y- r) q5 N% E8 J/ X# V
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) A( [5 Q, B5 E* ^* o: W# C) [
  775. ; http://php.net/cgi.dicard-path
    % D+ Z7 Q0 b2 ~- i/ p+ J. ?
  776. ;cgi.discard_path=1
    ! k- {! m$ A7 U2 K2 m$ O

  777. ' N; H, P$ h7 O
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : Z- B9 H5 M2 }5 S& c4 U) h5 {
  779. ; security tokens of the calling client.  This allows IIS to define the
    1 }( _, Z" I1 h+ A/ E
  780. ; security context that the request runs under.  mod_fastcgi under Apache( i; O2 T% C( g* G
  781. ; does not currently support this feature (03/17/2002)
    5 o9 n, {  {% |, x
  782. ; Set to 1 if running under IIS.  Default is zero.( b: U0 y( v6 ~3 _0 ~: k4 v
  783. ; http://php.net/fastcgi.impersonate, ^6 |- g6 O" _7 F" m; c2 n1 F
  784. ;fastcgi.impersonate = 1
    9 j6 t1 v' A1 s8 Z" ~7 o* M1 T$ j
  785. 5 w1 q# o; T5 k% q0 D" V. P
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: }5 R: I* C1 t
  787. ; this feature.; z" ]( a1 Z9 V* K8 M2 {
  788. ;fastcgi.logging = 0# p/ S! {  X% J3 Z  k1 J1 l
  789. % _6 t6 x9 ~, X, i- a
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # |0 H, o( L) n% T; x, m
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 S5 O4 C3 S. A
  792. ; is supported by Apache. When this option is set to 1, PHP will send. k. I# i7 f. b' P- ?6 @6 B
  793. ; RFC2616 compliant header.. w" E  K% ^/ ^) t% s
  794. ; Default is zero.' `- c! l- }8 N2 O# ]
  795. ; http://php.net/cgi.rfc2616-headers
    - s2 X, }: T0 n6 m2 n( f1 b# Q; B
  796. ;cgi.rfc2616_headers = 0. H) U/ n+ Z' T1 t# W. A8 t( m
  797. ! u6 p& y. ?: b( o8 m: v) B% D" Y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : y8 i0 |$ S2 `5 ]
  799. ; (shebang) at the top of the running script. This line might be needed if the
    6 g7 G9 \- `8 m
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . e# E9 u+ E# U9 k+ C$ w
  801. ; mode skips this line and ignores its content if this directive is turned on.
    - T3 c) A/ \& i8 C! F( B) T
  802. ; http://php.net/cgi.check-shebang-line
    5 u! x: I& t  I9 N0 U6 w
  803. ;cgi.check_shebang_line=1- _0 _: |1 B  E. a! q

  804. 4 q' C& z8 L. G' {$ F1 r0 H
  805. ;;;;;;;;;;;;;;;;0 U: r2 D; V. F+ j) w8 T* `$ X
  806. ; File Uploads ;& q4 }* n* {- R8 v
  807. ;;;;;;;;;;;;;;;;1 N2 i# @5 M2 s( a; j5 ?! O, W. H' G! A
  808. $ v; ^8 k* ]% ?3 j1 O# P( p
  809. ; Whether to allow HTTP file uploads.6 o3 l. U% W9 a/ f1 ?9 |
  810. ; http://php.net/file-uploads
    / T2 I6 K" f0 q: T/ h: y% D
  811. file_uploads = On
    * P$ l- g" ?/ _  c) f: \( s- {4 V+ H

  812. ! G# i2 Z& c4 }. M5 h
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) r$ S3 n: h$ d+ {
  814. ; specified)., ]/ s6 [! F8 Z- d: m
  815. ; http://php.net/upload-tmp-dir
    & \& W% z& M2 F  k1 L
  816. ;upload_tmp_dir =
    9 B7 a  q; G6 Q: N0 v: [

  817. 2 E& c" m$ p: y5 J3 S5 }$ ]
  818. ; Maximum allowed size for uploaded files.
    : n# n! |# Z! d( F0 g! v7 V
  819. ; http://php.net/upload-max-filesize1 k( j! F0 f5 D6 G
  820. upload_max_filesize = 50M
    ' J5 y$ S) N, y
  821. 2 z2 Z: [3 w1 k% }  U
  822. ; Maximum number of files that can be uploaded via a single request
    1 H0 }! Q) p% A& u5 L( t
  823. max_file_uploads = 207 M8 p" \4 h# E# ]) w

  824. ' A+ s6 g' _+ q3 R
  825. ;;;;;;;;;;;;;;;;;;
    - A6 p5 |+ v5 ^$ Q
  826. ; Fopen wrappers ;
    # P( l+ L. _5 _# ^# J* P
  827. ;;;;;;;;;;;;;;;;;;) \/ Q6 o  U1 K& H8 O

  828. - M: G3 E; M2 @% o! }2 H, K
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.9 t* _4 M: A: M( ]. v% W
  830. ; http://php.net/allow-url-fopen' n0 V# Y4 g4 B6 p# G( s
  831. allow_url_fopen = On
    ; M$ r4 }6 i7 H( _

  832. # M/ w" E* L  S, }' S7 i
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ; x) I0 {; C3 v4 v( H
  834. ; http://php.net/allow-url-include
    4 g9 T; s. ?2 u1 F& a: u
  835. allow_url_include = Off0 K8 t+ f) ~, U; T7 R! k& j

  836. % b. ?; G& y* K; O; Z0 ^
  837. ; Define the anonymous ftp password (your email address). PHP's default setting5 x; ^3 @9 ~" t( i9 N2 f& J
  838. ; for this is empty.$ w( h) u0 B  l4 ]8 [
  839. ; http://php.net/from8 @8 j( E1 y0 X/ i3 q% l4 v
  840. ;from="john@doe.com"  R3 Y5 X! D9 F2 I' |

  841. : F9 o( U2 s: D
  842. ; Define the User-Agent string. PHP's default setting for this is empty.) Z8 X1 i' n" o$ T. f7 d
  843. ; http://php.net/user-agent7 f% S" X3 i; C; E( s& Y! t
  844. ;user_agent="PHP"
    : o' N- O! I! s, a* f4 a9 L% ~$ Z
  845. + h8 \1 E; l+ y) O
  846. ; Default timeout for socket based streams (seconds)
    / {2 y1 _% L1 @3 {4 d
  847. ; http://php.net/default-socket-timeout! R4 a" `$ T+ t3 |! l
  848. default_socket_timeout = 609 }( R, M% H6 `0 N4 c
  849. * `* C, t7 ]$ O  E3 q. B* |2 u5 ~# ^
  850. ; If your scripts have to deal with files from Macintosh systems,
    2 [, j2 x& U3 H+ `# q' A* ~( h
  851. ; or you are running on a Mac and need to deal with files from
    9 u2 N; ^3 C1 X- G3 X2 U
  852. ; unix or win32 systems, setting this flag will cause PHP to0 V6 J2 w/ C" }
  853. ; automatically detect the EOL character in those files so that
    & J9 E8 B' |4 y5 \
  854. ; fgets() and file() will work regardless of the source of the file.5 k$ Y9 Z( q. Z0 `4 L; {! B
  855. ; http://php.net/auto-detect-line-endings1 u- k+ N# e. [& [% B
  856. ;auto_detect_line_endings = Off$ E( p3 \/ f  r7 K4 P
  857. . d3 T( \  o: f6 Q" t, n$ |. t
  858. ;;;;;;;;;;;;;;;;;;;;;;
    " C) R9 ]' \7 i% S7 D$ [/ }1 U4 X
  859. ; Dynamic Extensions ;
    " J0 r) V; V8 ]5 A5 s  q+ x7 Z3 T
  860. ;;;;;;;;;;;;;;;;;;;;;;
    : T5 e, e$ f0 _5 @# B* w
  861. 0 w' K' m* U0 T" |8 A: ~
  862. ; If you wish to have an extension loaded automatically, use the following2 U) U4 _1 C( {* \& ~# H! u
  863. ; syntax:
    ' O& F; P7 i7 O2 Q
  864. ;
    1 I' q1 {- f+ u5 |7 X
  865. ;   extension=modulename.extension5 ]2 }$ c: t! L
  866. ;, N% Y: q5 B) b( e, o1 a) _
  867. ; For example, on Windows:' E. T6 J; A: `4 B* B  J
  868. ;# P: O2 \7 F) H7 k3 ]" [# g
  869. ;   extension=msql.dll
    $ S3 ^& P+ b1 S3 j
  870. ;
    $ q2 P6 [1 k5 L8 q( g" }
  871. ; ... or under UNIX:' g! S6 [  y) g, E6 W
  872. ;
    $ d7 b+ s1 O6 D  \6 `5 X
  873. ;   extension=msql.so
    + B# R. m1 v+ @$ W. v1 [% }6 j" C
  874. ;2 X0 [" p! T2 Z2 ~
  875. ; ... or with a path:0 M2 K, i) M. W3 F6 L) F
  876. ;9 L# k- n- X  w5 Y5 f$ {
  877. ;   extension=/path/to/extension/msql.so0 C4 e8 g4 ~+ d( r2 f5 a. q
  878. ;
    7 B; s+ C0 {& n  ^* i1 I
  879. ; If you only provide the name of the extension, PHP will look for it in its
    4 n; F' }* {# b* {8 K
  880. ; default extension directory.5 \) A# e* O- ~2 f* ?( u0 U( ?2 j$ s
  881. ;
    5 G6 H: c& k3 G# `7 ~$ n
  882. ; Windows Extensions' V& E( ]- ^, B% o2 z9 Z- h
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    5 Y5 j% ~; z, b' s: C2 S5 V7 [
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    5 K' |6 B- m% Y. o0 w
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).' E$ F! o5 S; J/ n* J
  886. ; Be sure to appropriately set the extension_dir directive.2 U! I& ?9 M5 o
  887. ;, S9 k6 M, U3 R$ a) @+ a: H  O+ `6 e
  888. ;extension=php_bz2.dll4 K) J* y: V7 A, F/ o6 M
  889. ;extension=php_curl.dll
    2 F4 i$ P, @, z5 l: s4 [" X* m
  890. ;extension=php_fileinfo.dll' z' y- ?5 A* ]9 q( I3 U' W* n
  891. ;extension=php_gd2.dll
    4 ?* V; T2 ?$ y  I& N5 Y$ w8 C
  892. ;extension=php_gettext.dll
    * F2 r; i1 e6 Q" k# f6 G- D2 V
  893. ;extension=php_gmp.dll, K2 V) I7 p1 \- ?; f
  894. ;extension=php_intl.dll# @7 P9 w) E. R" E
  895. ;extension=php_imap.dll& h) J9 t% n. q! ?4 J8 p
  896. ;extension=php_interbase.dll9 d& @/ i' N+ h- Q2 f" V$ Y
  897. ;extension=php_ldap.dll
    * B& U/ i7 m" M( R
  898. ;extension=php_mbstring.dll5 `2 t4 F/ h/ q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it1 Y% i2 B0 O9 ^
  900. ;extension=php_mysql.dll& p2 M3 X' a+ I4 {3 l) E% ^
  901. ;extension=php_mysqli.dll
    - _+ C) s: V/ a2 b' C% N
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    + u' L7 D. b5 ^9 l; k; I5 @
  903. ;extension=php_openssl.dll) P1 f2 k. X' J3 [+ g
  904. ;extension=php_pdo_firebird.dll
    / y  {8 z# l( Y# |
  905. ;extension=php_pdo_mysql.dll
    : `4 p9 q$ P3 R. B
  906. ;extension=php_pdo_oci.dll2 t- a# \- |# @: {
  907. ;extension=php_pdo_odbc.dll. i! U/ X6 X5 @6 e
  908. ;extension=php_pdo_pgsql.dll
    $ F, `" }$ n8 K) a, T6 T
  909. ;extension=php_pdo_sqlite.dll
    2 a: O/ N: p* G' m" V3 d
  910. ;extension=php_pgsql.dll" T# v4 v) w+ T
  911. ;extension=php_shmop.dll
    7 @/ p, s0 P* n* _- }6 J

  912. $ l) C' m9 a, G) l( E
  913. ; The MIBS data available in the PHP distribution must be installed.
    4 j% n8 K$ f( m) k; l% m
  914. ; See http://www.php.net/manual/en/snmp.installation.php # h& S( }: l2 [
  915. ;extension=php_snmp.dll
    ( m' A. K* x4 S% P) m2 B# h
  916. 6 s3 l: `5 C  l8 B& J( _9 J
  917. ;extension=php_soap.dll8 f* p! O1 p( f+ @# j6 ]: G
  918. ;extension=php_sockets.dll
    . l( b5 P# I2 r7 A4 Y- ^* s/ ?
  919. ;extension=php_sqlite3.dll
    & j4 E7 U9 F/ {6 O0 }# H. ]
  920. ;extension=php_sybase_ct.dll) [6 \5 [: N. d3 z3 e
  921. ;extension=php_tidy.dll
    - W) V7 w9 c( E0 N9 S$ t
  922. ;extension=php_xmlrpc.dll
    6 x; `% U, w( p5 X- L% l9 d
  923. ;extension=php_xsl.dll+ Z: p: y5 S1 d" C& g! i& \

  924. 7 B* W) C/ r3 x/ {1 q  r
  925. ;;;;;;;;;;;;;;;;;;;% @6 L- m, _: ?& _  l+ x
  926. ; Module Settings ;% E$ E' G2 M8 W
  927. ;;;;;;;;;;;;;;;;;;;
    9 y. r1 g9 q& g1 h- P

  928. % _& P# S$ y# C0 k) p% [* A) g
  929. [CLI Server]
    + F% D; X* d1 W* O' s. Q% h
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.+ j. k9 m5 P& ~$ ?% ], N7 [
  931. cli_server.color = On
    - `. ^8 k9 O/ I9 ~6 _$ ~. X( g; \( p
  932. 8 v7 K: M8 Z8 y2 f
  933. [Date]; {$ B: P1 l3 _  d( A3 h
  934. ; Defines the default timezone used by the date functions
      P6 X0 v, x" Q9 `; w* X
  935. ; http://php.net/date.timezone
    ! t; C2 L. M. R
  936. date.timezone = PRC0 i: a+ X/ A2 A% d) ~

  937. 4 U" N' o! M! m  f" ?: W
  938. ; http://php.net/date.default-latitude
    7 l9 n9 {! J8 _& ?* n. Z
  939. ;date.default_latitude = 31.7667
    & y% W1 `, O. [
  940. ; {% t1 s7 U1 a+ C2 _$ a
  941. ; http://php.net/date.default-longitude
    & Q; }9 E4 p4 N7 X- v( h8 B
  942. ;date.default_longitude = 35.2333
    8 y' D/ m' ^' m* R
  943. , D% [* r8 W9 A9 `# ~
  944. ; http://php.net/date.sunrise-zenith9 I( q% M; `4 L" W- I! x
  945. ;date.sunrise_zenith = 90.583333
    : ]' I. q3 W0 C; N

  946. % @: [. p+ X& T3 @  h8 a
  947. ; http://php.net/date.sunset-zenith
    % p" ~: R+ O; a+ R  Q! \
  948. ;date.sunset_zenith = 90.583333
    1 X! P8 ]! y' n+ `; K

  949. / [0 s) L% a- S( M+ L
  950. [filter]( d" C3 f+ ?2 G9 ?$ k5 V6 P
  951. ; http://php.net/filter.default
    $ m" p8 G! B' {
  952. ;filter.default = unsafe_raw- r7 g; J9 K% q) Y
  953. : o8 J* {/ {7 C/ Q
  954. ; http://php.net/filter.default-flags
    ) h" }% `5 B: m; N+ F" I
  955. ;filter.default_flags =
    * S  h! v0 X  G& \+ d

  956. % y& I/ s* T3 @- s
  957. [iconv]
    2 m! b/ I: Q# w- k! R8 {# i0 c
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: p: j! _3 A) \: S( Q" C
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 ^+ I" u* F" U8 R
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* M' ~! k6 }6 Z4 T; |
  961. ;iconv.input_encoding =
    , }1 Y( U( @8 J7 u6 S* k4 {
  962. 2 F, h& @2 [, e8 M; q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 Y  b  L  F, |& U
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; F) M  K/ C. D
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 z' w3 e) G8 Y# s: g) L
  966. ;iconv.internal_encoding =
    . z' A( J" _+ L% o  l& K- ~
  967. 9 m  W1 \* O/ F# E6 y
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.5 j% c0 n. M8 f+ J, Y
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.. t: P; b9 m2 R
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    7 x* `& ?/ b- N' @+ n3 t
  971. ; To use an output encoding conversion, iconv's output handler must be set& V, b& m+ c/ X% a3 b# |
  972. ; otherwise output encoding conversion cannot be performed.
    % B  b* a- C" q7 W
  973. ;iconv.output_encoding =
    ) |3 w- B1 G$ j& p7 d7 \, |( I

  974. 3 X5 |5 T- P" t# p0 ^& \. q
  975. [intl]
    , U- P* `" U9 y- h* H
  976. ;intl.default_locale =" ?. L+ @( P1 T$ m, [7 h2 A- j
  977. ; This directive allows you to produce PHP errors when some error
    : z: R) f& M) L# F; M, M" C
  978. ; happens within intl functions. The value is the level of the error produced.
    + D8 y; c0 H+ `& a) H
  979. ; Default is 0, which does not produce any errors.' l" ?7 {# _0 s& _" B* H
  980. ;intl.error_level = E_WARNING
    : a1 g. {3 H  Z2 _" q  X
  981. ;intl.use_exceptions = 03 r1 w* y9 }1 M& [6 c7 w

  982. 7 m+ z7 ~4 n( w: v; B1 i1 w
  983. [sqlite3]% d8 V' v  J& Z6 s
  984. ;sqlite3.extension_dir =9 O& {' M3 N. t. d$ L; |
  985. 5 X  L! |4 l3 g) v2 k& b
  986. [Pcre]# c& N/ [& X0 [
  987. ;PCRE library backtracking limit.! \2 C) ]9 n4 ?: i3 `; |) ~
  988. ; http://php.net/pcre.backtrack-limit* F( i8 P' i: D* d+ w
  989. ;pcre.backtrack_limit=100000
    . L' a" D! A% v- Y
  990. 5 ?! U6 `! ^6 t' l  r: v
  991. ;PCRE library recursion limit.
    . B) b! \4 S# T4 ~
  992. ;Please note that if you set this value to a high number you may consume all6 a+ I5 G2 W( i  D) Y: w
  993. ;the available process stack and eventually crash PHP (due to reaching the
    0 k4 V1 w- s! A9 R1 r% b
  994. ;stack size limit imposed by the Operating System).
    " S: P) F& P, ~: P. n! W# x5 b
  995. ; http://php.net/pcre.recursion-limit- j( Y6 d; Z; e
  996. ;pcre.recursion_limit=1000004 i; r4 z& o$ p1 c% ~3 Q+ o6 l
  997. - z! l0 @% Y, ^
  998. [Pdo]6 \' b, o8 q- e4 N  H
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"0 F, g( m& n) J2 i) g4 Z
  1000. ; http://php.net/pdo-odbc.connection-pooling
    , k7 t/ z7 t4 M/ Y
  1001. ;pdo_odbc.connection_pooling=strict
    8 ]! ?' ]9 [9 J: e

  1002. # z6 t9 R; }& s6 W  L
  1003. ;pdo_odbc.db2_instance_name" u# ]3 V) k/ d

  1004. - Q2 N- Z# W+ z$ o
  1005. [Pdo_mysql]* {/ h* B) V- l* P) B0 N- c
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 u* J+ l* f: Q' ]7 H' m
  1007. ; http://php.net/pdo_mysql.cache_size2 M" e9 o) d. ]+ N
  1008. pdo_mysql.cache_size = 2000
    . I5 `8 x: [9 p& Q$ g+ S

  1009. / v- w# N- Q  }3 d: C# t. ?) J
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ n% M0 I) e) x$ P+ q/ x
  1011. ; MySQL defaults.5 B6 U, f0 F+ t
  1012. ; http://php.net/pdo_mysql.default-socket
    ) T/ c* t+ c( U+ M1 m& w
  1013. pdo_mysql.default_socket=
    # G1 D5 Y7 o1 O) p
  1014. 4 q* B5 l" d- s8 L7 k2 M. k3 F9 v
  1015. [Phar]% l# c! a- N5 m
  1016. ; http://php.net/phar.readonly* `& |1 D, `6 _
  1017. ;phar.readonly = On* G: P9 _! `8 N" @

  1018. # y! w, B5 C. X! g" e
  1019. ; http://php.net/phar.require-hash
    / H! \7 u; m* p* R9 Q+ M
  1020. ;phar.require_hash = On' D: s$ X, b( G! Q! X) v
  1021. $ z2 U' Z& c" j. V# Y
  1022. ;phar.cache_list =% v2 G0 E( ^* |2 ^1 Q
  1023.   w5 ~% p0 A* H: T& [+ c/ d# F
  1024. [mail function]
    ' h4 E1 P2 Y( N% p1 ~3 }# p0 n
  1025. ; For Win32 only.
    # a/ n/ C/ R2 _/ \5 h' o/ Y
  1026. ; http://php.net/smtp4 E4 [: K8 F% a. k) `3 H. R
  1027. SMTP = localhost' \- g9 C2 v& R( L) Z$ g
  1028. ; http://php.net/smtp-port9 C5 X+ e2 |  H1 C7 _. |" B$ T* r4 `
  1029. smtp_port = 25
    , ~' M" ?; Q9 U/ _3 G
  1030. 0 q7 ^! F6 y" n0 R3 W+ ~) q
  1031. ; For Win32 only.1 N9 T( I4 \- ^9 a; j
  1032. ; http://php.net/sendmail-from8 e0 e* r6 I5 T9 m8 W
  1033. ;sendmail_from = me@example.com+ V* o9 F4 [& x- t! D, `, Z
  1034. % ]+ f: p# U: o' ?0 B
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").# M- S3 W2 V% F$ Z
  1036. ; http://php.net/sendmail-path% o' @- G6 Z2 i+ h
  1037. sendmail_path = /usr/sbin/sendmail -t -i9 N7 p: G4 X4 o& E  d& y
  1038. - s7 Q: h2 V" a; [' V) V
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    : |7 R2 X- o' T; \
  1040. ; to the sendmail binary. These parameters will always replace the value of
    9 i% D+ Y0 J, z8 e
  1041. ; the 5th parameter to mail().
      K4 i; B0 G+ n+ h# j8 h
  1042. ;mail.force_extra_parameters =
    " W0 K# v6 e" Q8 Y% y
  1043. 7 Z# D' @; l2 q# l5 z- a# Q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ J0 C/ ~$ s' W
  1045. mail.add_x_header = On
    * K6 G3 c! h( z' y" S7 S/ y

  1046. & r4 m- @+ F8 i6 R
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    8 N( @' A  Q2 m/ c/ W5 [, z6 Z' P
  1048. ; the full path of the script, line number, To address and headers.
    . F, D8 p/ j# w2 `* G, d" @5 G
  1049. ;mail.log =
    " L! F! h5 f  W+ N) h  b! G
  1050. ; Log mail to syslog (Event Log on Windows).
    ( U! O, `+ }$ z$ x7 o/ {/ s
  1051. ;mail.log = syslog
    ' e# X5 u! v. v$ j" ]. O2 e
  1052. + C; G2 b+ Z# c
  1053. [SQL]
    2 Y/ Z& g% i4 |8 A6 Q" |
  1054. ; http://php.net/sql.safe-mode$ e2 @5 q) E  G" Z  Q; Q
  1055. sql.safe_mode = Off" d7 D# b- Q  c$ X+ l

  1056. 3 v1 [& `9 W# L. E
  1057. [ODBC]
    9 A/ f9 @: }5 M% d% n4 z
  1058. ; http://php.net/odbc.default-db' J/ |1 n! m; W
  1059. ;odbc.default_db    =  Not yet implemented
    + E. `# }% c5 D+ X; _, B$ l8 L! D
  1060. ! h3 G* p2 A0 D, j" }
  1061. ; http://php.net/odbc.default-user8 c3 |6 r+ o/ G: L$ h) c7 X
  1062. ;odbc.default_user  =  Not yet implemented/ P: q5 o: q( j. v5 ~; ~0 {
  1063. ) M2 ?6 B2 X# D7 S6 u
  1064. ; http://php.net/odbc.default-pw( Q- a6 ?9 N( A& i( P  [6 Z
  1065. ;odbc.default_pw    =  Not yet implemented
    & X: ~0 Q2 g0 t7 k' |
  1066. * ?7 y- `/ K" Y6 ~4 Z, {& x2 q
  1067. ; Controls the ODBC cursor model.4 E+ c# H! r# e
  1068. ; Default: SQL_CURSOR_STATIC (default).. ?) d+ S2 b; m6 G2 X" K5 o5 q
  1069. ;odbc.default_cursortype
    + Q' J' }( M1 R+ W. Y3 u1 B
  1070. 7 q. R6 u1 m/ t- \
  1071. ; Allow or prevent persistent links.
    7 N0 M! k8 n3 D! s4 u- R  L
  1072. ; http://php.net/odbc.allow-persistent
    " ~- F. Y3 J  z
  1073. odbc.allow_persistent = On
    : D7 a# |( y- ]  }4 b' V
  1074. ( g6 m9 v6 r& N8 k
  1075. ; Check that a connection is still valid before reuse.
    5 ?; Z+ ?! E, Q$ t
  1076. ; http://php.net/odbc.check-persistent
    ' k6 j0 ^" e7 g. o
  1077. odbc.check_persistent = On
    ) {8 t4 _: E/ t' s5 ?+ `

  1078. # U1 Z, B- ]$ W6 w; x, \/ `' N, n
  1079. ; Maximum number of persistent links.  -1 means no limit.
    - D' E9 k9 ]5 t. P! N
  1080. ; http://php.net/odbc.max-persistent- ?$ D+ r( A7 @
  1081. odbc.max_persistent = -1
    ) ~& U- E$ g9 A: L! P) N) @

  1082. 7 }: d* B7 x4 s. O4 Y& q1 s
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 s: ^( ~( Q1 @0 i! V6 q4 P. V
  1084. ; http://php.net/odbc.max-links0 k; v/ T2 h* Y4 h
  1085. odbc.max_links = -1
    ' S0 [  L1 [& m1 k
  1086. 9 ^. O) A' H+ u% a
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' R$ Z, s. z" Q' g% s
  1088. ; passthru.0 y4 A' j$ E4 A* |' w; E! R4 S
  1089. ; http://php.net/odbc.defaultlrl3 H4 {/ X' B* p" {% i) F
  1090. odbc.defaultlrl = 4096
    1 @7 h8 ]8 w2 s% q6 |- n) x7 F
  1091. & B# ^+ B# j& l  u  d: p" x4 }
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    # ]' v! e/ ~0 X: ^. S5 q" M
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 B2 w$ ~* |! t  ^' v
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 K, y1 \- a8 Y/ r
  1095. ; http://php.net/odbc.defaultbinmode
      }! M, s# c$ ?2 z/ f
  1096. odbc.defaultbinmode = 16 B1 h& a1 l) z- }6 Z
  1097. - g6 ?: b) l; }3 M, }9 S
  1098. ;birdstep.max_links = -1
    1 i9 |( k. J- s8 a9 ^: [4 g3 ?0 _
  1099. ; t/ B- J+ L& x
  1100. [Interbase]6 d/ m; w# b: E2 L
  1101. ; Allow or prevent persistent links.6 W4 Y! b* r8 z
  1102. ibase.allow_persistent = 1
    3 @% ]% b  v$ y0 j: T$ ]

  1103. 0 \4 i) d8 `$ R+ Q4 X+ X
  1104. ; Maximum number of persistent links.  -1 means no limit.( a& a( N+ n9 ^& e
  1105. ibase.max_persistent = -1
    / y6 }) S% \( j0 j6 W% s4 ?' F

  1106. 0 c$ |8 J9 P; [) U) L: [# Y( o, |; E& t, O' b
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 F0 X, N) _, \( d" W
  1108. ibase.max_links = -1, T& M) Q7 o1 E

  1109. " e) n  W+ b2 B4 e8 c( Q6 q
  1110. ; Default database name for ibase_connect().
    # e3 K5 e: o$ d  C) c. a
  1111. ;ibase.default_db =7 N9 U9 @' J( U$ m& d$ `- ~

  1112. 3 H1 K" T6 v+ J% J" {4 j
  1113. ; Default username for ibase_connect().
      t* E3 w6 _+ W1 h" {
  1114. ;ibase.default_user =) D8 W+ f& U9 o1 g

  1115. / I% ~( z- p6 b% v+ ^5 P6 K
  1116. ; Default password for ibase_connect().) [/ I+ X/ @# S. q- j
  1117. ;ibase.default_password =
    7 V6 A+ a$ @7 Q" \4 f( |- j

  1118. 3 G5 h; m5 v' J9 @1 }
  1119. ; Default charset for ibase_connect().2 [% b, I8 D6 Q0 n- A) w2 j- `
  1120. ;ibase.default_charset =
    + o9 M9 C; `: t- f" j, }, p

  1121. " d; U6 y4 J! k" ]
  1122. ; Default timestamp format.6 w/ n* ^8 V; w( q: w3 _4 Z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", s: V8 ^9 E7 L, S. g7 D
  1124. 7 o5 f/ [* u: y& E
  1125. ; Default date format.
    + I* N/ @3 q* I3 X$ a. B
  1126. ibase.dateformat = "%Y-%m-%d"
    - k' o0 ?+ |4 \. }; e
  1127. 4 m/ j: a# f" n/ L4 D/ a
  1128. ; Default time format.! e' @, S: r3 ?$ I- V
  1129. ibase.timeformat = "%H:%M:%S") E' @. k/ G8 ~

  1130. 6 F- A; u. w5 Y. k  a
  1131. [MySQL]. W  f6 K" n5 ]( @; w
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) M2 w  E% D2 [, k
  1133. ; http://php.net/mysql.allow_local_infile" E# ^4 ?* a" G% B9 o1 s5 w, g
  1134. mysql.allow_local_infile = On5 l; o' g$ G+ B# \6 h

  1135. # D$ {/ w7 M, |. J
  1136. ; Allow or prevent persistent links.
    ! T1 \- a: M) y; g# I
  1137. ; http://php.net/mysql.allow-persistent
    ; w2 S4 D0 D$ Z0 `0 b9 z+ \3 }
  1138. mysql.allow_persistent = On7 ]4 k0 P* d9 j5 x' K6 s: b
  1139. 9 B% P# V( |  h
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - B; Z+ r8 T) C$ i5 r$ P3 ?
  1141. ; http://php.net/mysql.cache_size6 S, v( {8 \1 E/ @4 {! T% `
  1142. mysql.cache_size = 2000
    1 q! K( |! N5 z5 b5 i7 c4 S

  1143. 4 `* L8 F! t( ]: C- I; A8 A
  1144. ; Maximum number of persistent links.  -1 means no limit.% y. @  v, @& v7 l6 k
  1145. ; http://php.net/mysql.max-persistent
    " Y7 A% I; |! Q5 {5 w8 M
  1146. mysql.max_persistent = -1
    - @0 r7 @* \6 z& t
  1147. " i. y- w, \* W* b* N
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: \4 ~' ?; _: z8 a& M! l
  1149. ; http://php.net/mysql.max-links/ h. m, u1 l( I
  1150. mysql.max_links = -1
    : z; w/ E5 K. d6 }+ y3 ~

  1151. ) T3 e* a; j' C
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 @. W7 X! j! C" x. e
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 w! v( D; s8 \, L# r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 b) B3 H2 a, }; \+ t! M
  1155. ; at MYSQL_PORT.5 M" A2 z8 S6 T
  1156. ; http://php.net/mysql.default-port& m" h; n* e% R9 b1 i
  1157. mysql.default_port =
    1 Z& \% Q* E- y: w6 l

  1158. * E8 j: N, a+ O% @
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 M/ `! j( c: a2 \) J
  1160. ; MySQL defaults.4 k& ^# L, u% P; q$ Y1 ]
  1161. ; http://php.net/mysql.default-socket
      \2 Y3 J- S3 {
  1162. mysql.default_socket =
    4 K3 M5 }% a& ^
  1163. ' I8 U9 W" U% }! v- i0 Q
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 P& |/ r' v8 S8 K3 G
  1165. ; http://php.net/mysql.default-host
    ' |- m) E# p- I5 h+ e3 a. L1 o
  1166. mysql.default_host =
    - u& ], ~! |' ~3 Y$ l; r: R
  1167. . G1 I6 b: C8 ~( k0 n8 g
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 v3 W1 @9 T$ b1 T2 t9 z) X$ a9 q2 A9 a
  1169. ; http://php.net/mysql.default-user
    + c2 b/ E1 [- W0 P. T" n
  1170. mysql.default_user =
    " J  v6 o8 S! J0 p' g4 }6 `
  1171. + r# o8 s( v3 N2 G; b
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).! Q) Y, j& n/ L" ?, e& u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    / @( K+ q0 ?: W$ J4 X9 t* n
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")# K+ A) f: Y5 u2 Q  u
  1175. ; and reveal this password!  And of course, any users with read access to this
    . @( h0 U7 P! u
  1176. ; file will be able to reveal the password as well.3 c2 J0 ~" \2 u
  1177. ; http://php.net/mysql.default-password
    , C8 ~* \$ K/ r
  1178. mysql.default_password =+ d/ @6 A1 O1 B$ I, |9 q5 J# A6 n
  1179. ) f/ L% ?- T  M7 L( l
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    " P1 z8 b+ f& A4 h8 e
  1181. ; http://php.net/mysql.connect-timeout& q# z* ^& w4 z" |2 e& o7 c
  1182. mysql.connect_timeout = 60
    , M$ K0 p$ I* q; v

  1183.   H9 x2 s6 s2 t  f5 Z8 l) W
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and! X( F! a) r! _$ g' w
  1185. ; SQL-Errors will be displayed.6 R$ S5 @5 E" l6 E
  1186. ; http://php.net/mysql.trace-mode
    1 L9 ]  Y: C3 Z$ P% x9 U+ M
  1187. mysql.trace_mode = Off0 k+ i, J& P0 N9 c
  1188. * {7 U2 Q$ K+ U- D+ x9 X
  1189. [MySQLi]2 z4 u0 L* k5 Q) O
  1190. # y6 \4 d) Y  p, y  \" U- T
  1191. ; Maximum number of persistent links.  -1 means no limit.7 Y) Y2 c% e5 y& f  i7 W! w
  1192. ; http://php.net/mysqli.max-persistent
    ! v9 r5 u+ L% h
  1193. mysqli.max_persistent = -1- j5 N# R& W3 U" ~/ b# p
  1194. 1 s1 k( o! H& M' Y$ ~  E; W4 I
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - ~! q/ r+ U3 g7 R
  1196. ; http://php.net/mysqli.allow_local_infile3 m* T2 D0 @7 i
  1197. ;mysqli.allow_local_infile = On$ h* i+ [+ v0 s( q, C

  1198. ' W7 m. g* ~+ {' b( |5 z
  1199. ; Allow or prevent persistent links.
    % @6 \* g, g$ x% Y: d
  1200. ; http://php.net/mysqli.allow-persistent* e1 Q) a9 ~1 E! S  r) Z* ?: T
  1201. mysqli.allow_persistent = On
    + l, d6 O& I9 C7 a% R+ |3 K
  1202. 9 N' S3 r$ {3 w$ ?9 e7 W" U0 ]9 T$ a
  1203. ; Maximum number of links.  -1 means no limit.
    7 d, ]; o6 q# B; ^! _% k8 c+ u, L
  1204. ; http://php.net/mysqli.max-links
      b) Z$ s, }7 C0 l$ |
  1205. mysqli.max_links = -1$ s) i5 a- s% Z! N1 }, d0 S6 b! G

  1206. * d* l0 Y4 f: N/ D8 D. x3 D
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 K. J3 ?* q9 T
  1208. ; http://php.net/mysqli.cache_size% h' T: X6 [5 @1 e$ {- [
  1209. mysqli.cache_size = 2000
    . {" {- p7 q& B& K

  1210. % R7 ~( t  ~6 t8 a
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use4 [/ ]% M% d3 p" k* o  a/ a
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ H% I$ @' J6 c5 S  f
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% Z6 p+ Z9 ]/ w: @6 c9 j
  1214. ; at MYSQL_PORT.
    8 K& b+ K" I# \7 q9 k, Q
  1215. ; http://php.net/mysqli.default-port" ^( g/ S* g- F; k4 }
  1216. mysqli.default_port = 3306
    ) I6 K3 P& I3 i* J: z: U1 e
  1217. 8 M' p+ f4 w8 w2 R# p. O; d% v
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 Z6 I, t; ]0 G6 d& X
  1219. ; MySQL defaults.
    & `! b) V4 ~4 j# E3 r' o0 J
  1220. ; http://php.net/mysqli.default-socket3 f' U& c- w' s5 u
  1221. mysqli.default_socket =
    * r0 {  o3 P5 I' ^

  1222. 3 K( I2 |7 `) s# f1 D2 U& s1 }
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).4 G! W+ D: b, N. |/ i: E: w3 E
  1224. ; http://php.net/mysqli.default-host1 Q( O9 s% O' R5 a* ?
  1225. mysqli.default_host =
    " w2 w& Q0 r* q5 o

  1226. 5 x" O4 X$ ]& [- J& z' N; v( L
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 M: {% F% C7 ?: a$ D% ^+ F
  1228. ; http://php.net/mysqli.default-user% e  W2 W( ?3 ^( u$ n( a1 u
  1229. mysqli.default_user =% g3 i: F2 ]3 h& C

  1230. 9 D0 w7 S9 t8 F
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : a9 S% V0 ]' w) O; k. c- q' m
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ h5 K, Z' u2 ^+ K0 ~" U* B$ a" ]. X
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 n6 ?) j, Q! s, @3 R
  1234. ; and reveal this password!  And of course, any users with read access to this7 d7 O- g8 m) Q7 |
  1235. ; file will be able to reveal the password as well." W3 D' ~" P* E4 c- b+ J# V" W; Y
  1236. ; http://php.net/mysqli.default-pw
    * Q. N6 v. q% Y& C0 |$ Z' ~
  1237. mysqli.default_pw =) z0 Q& w4 {, A
  1238. 9 n2 v; A$ E) \( B9 q1 @! x) b4 D
  1239. ; Allow or prevent reconnect! X4 R* }' `0 |7 {# v
  1240. mysqli.reconnect = Off
    ' X4 \4 U. O8 W/ p2 ?6 R
  1241. " t( p# \, t3 {) m  n% t2 j* u5 O
  1242. [mysqlnd]
    0 [! p5 V& d& C0 B" o# U4 ]5 v
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be' A* |: |9 N+ P* ^$ i
  1244. ; used to tune and monitor MySQL operations.
    3 i" G# h3 l1 E% {
  1245. ; http://php.net/mysqlnd.collect_statistics9 D: N" S6 F$ ^: I( l
  1246. mysqlnd.collect_statistics = On
    6 t/ `. V& q+ H8 s. {. u3 P  y

  1247. 5 I0 `- V$ `; J+ X& o: L( l0 |
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    # @3 s, L+ |+ P2 _% T+ W
  1249. ; used to tune and monitor MySQL operations.. G% E1 L  l* z- Y3 u
  1250. ; http://php.net/mysqlnd.collect_memory_statistics/ S$ ]& X& w! I) s' m& R* G
  1251. mysqlnd.collect_memory_statistics = Off
    % K6 h0 `0 J( T. _0 r; M. j

  1252. % {, @* e* P) N4 v( W
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    7 W6 A& Z: ?. v2 I
  1254. ; file.
    ) B$ {# M: D' Z( a+ x, O
  1255. ; http://php.net/mysqlnd.debug- n2 b. n5 c+ O  d2 \* T; ?
  1256. ;mysqlnd.debug =. w$ U/ B' R/ q; b) ~
  1257.   \) y% y( D0 G; v" q
  1258. ; Defines which queries will be logged.$ N, ~6 F6 _1 A$ W, L" ~( V' x
  1259. ; http://php.net/mysqlnd.log_mask
    : b$ C5 Y0 s9 j" j4 y8 h( l
  1260. ;mysqlnd.log_mask = 0% E$ c& w2 Y8 x3 c* R
  1261. ( R7 k: v/ y0 e5 l6 U
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.6 p; \. O2 V- M3 M$ j% e* |! z8 u
  1263. ; http://php.net/mysqlnd.mempool_default_size
      Z5 I7 J$ W& @; @5 I
  1264. ;mysqlnd.mempool_default_size = 16000
    , Z6 x8 q& \# x, _0 T& x7 k" ]5 X
  1265. ; c& y3 @0 n1 P
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes., `3 I; i) G  g7 A& z) v
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size5 E3 |! n: Y) _1 b
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    & p8 \/ D8 F- _7 v/ W

  1269. , J! F- {. C! z# L; \& R
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in* ?5 `5 ^: g  Q% x% H+ Z& f3 S0 Y
  1271. ; bytes.5 Y2 k$ ]) [# D. C; B
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    / e: ]! h+ \( l; ~; t
  1273. ;mysqlnd.net_read_buffer_size = 327688 S- U8 }! D+ `& d7 h0 b9 T

  1274. * c% x) D0 I# `  E4 x) H7 G
  1275. ; Timeout for network requests in seconds.2 Q& z- b+ Y' _1 Q
  1276. ; http://php.net/mysqlnd.net_read_timeout: {& M$ |+ G" @- R+ u" H( `' D
  1277. ;mysqlnd.net_read_timeout = 31536000+ c0 T) b# ^- t3 U% B1 @. E
  1278. ' {/ W) T( A8 Y+ v% n
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA8 ?$ h( u2 k0 W9 z+ t2 d
  1280. ; key.
    & h3 Q3 i0 I5 G* `, F) E4 a- q
  1281. ; http://php.net/mysqlnd.sha256_server_public_key0 t: M+ }' o  }
  1282. ;mysqlnd.sha256_server_public_key =
    3 u# d( x9 c7 Z7 F& g$ c9 `* r

  1283. 6 U9 X7 H; X) t/ i
  1284. [OCI8]
    . T7 _  O8 F; q! C8 T3 ^" J
  1285. * A6 G9 f+ z$ h8 [; a3 h! V
  1286. ; Connection: Enables privileged connections using external
    & V' I# ?- |$ y1 P6 w% T
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)% L) Z4 D5 m4 l) v: W
  1288. ; http://php.net/oci8.privileged-connect
    3 Z# g) {$ s7 u/ i) ]) S. q) L
  1289. ;oci8.privileged_connect = Off
      \" |) f. X3 ]9 Y% W) o
  1290. & U( f% |3 {" `' ^9 b( d3 P8 s: u* p
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    % `: m6 B" f5 O; p$ ?- G8 X
  1292. ; process. Using -1 means no limit.
    - s% l( H( j1 [! u0 W9 V
  1293. ; http://php.net/oci8.max-persistent
    / b! T2 ~& L  x; q6 V: M
  1294. ;oci8.max_persistent = -1
    ( ]4 P, m# A+ s( d7 R
  1295. $ X6 _: G9 u, _0 }9 u3 I
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ! C2 T  q& d; ?
  1297. ; maintain an idle persistent connection. Using -1 means idle
    : Y" q" f6 i8 K4 V  l$ D2 n2 s
  1298. ; persistent connections will be maintained forever.2 f/ }( s& p7 W9 f. [
  1299. ; http://php.net/oci8.persistent-timeout
    ) c' X* N3 j+ A: ^( O! `
  1300. ;oci8.persistent_timeout = -1
    4 V! I$ @" Y$ t/ ^/ [6 u
  1301. ( C. E1 R3 S- m1 n- g
  1302. ; Connection: The number of seconds that must pass before issuing a
    % g1 t0 T9 u* E( v* t- ]. K
  1303. ; ping during oci_pconnect() to check the connection validity. When
    * e+ C% n- \$ L5 X
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" u+ H/ F: c3 V
  1305. ; pings completely.9 ^9 D3 s  j# Z
  1306. ; http://php.net/oci8.ping-interval" z: Q  y& K/ n% t/ d( o
  1307. ;oci8.ping_interval = 60, b. }' s" n0 ~9 a3 w; v

  1308. ) e) N6 J! N. @& \
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 o! }3 b; j2 N  Y
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    - B& m: K2 C( z
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to- H5 l: r3 n5 v6 I
  1312. ; the same string for all web servers running the same application,
    " d/ Q' o1 n# d* I8 n7 N' I! E! P
  1313. ; the database pool must be configured, and the connection string must
    $ c8 m1 J5 W  ~1 j, n% ?$ L4 @& v
  1314. ; specify to use a pooled server.
    , I# s( p# f, a. t8 S
  1315. ;oci8.connection_class =6 H# o& ~8 c( i3 K, p
  1316. ! o* Y/ S+ _& |4 e. [! o8 I
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ; v+ `% g. }# f, ?/ ^
  1318. ; Notification (FAN) events generated when a database node fails. The
    / g( i# t7 n9 P# l; w6 x
  1319. ; database must also be configured to post FAN events.
    5 z3 w& s1 _! w2 \6 A
  1320. ;oci8.events = Off4 `0 E0 o' @3 m. g- H% c

  1321. 1 N! b. a" S; o  n3 W
  1322. ; Tuning: This option enables statement caching, and specifies how
    ' h6 K4 O( k* w1 }7 [( G8 L& M
  1323. ; many statements to cache. Using 0 disables statement caching.( _& w( F: w3 X, D) l* E
  1324. ; http://php.net/oci8.statement-cache-size
    : r2 n$ |. m9 j" i) w, c( r, Q( d
  1325. ;oci8.statement_cache_size = 20
    1 ?; N$ P: K: \& i8 ~) r
  1326. ' Z+ L/ y: Z7 c( \0 A' m
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 l. ]( i6 |1 J* ]% ^" o9 C, c. t
  1328. ; rows that will be fetched automatically after statement execution.
    + }% x  i7 T& ?: B  Q9 ~$ n
  1329. ; http://php.net/oci8.default-prefetch5 s8 C* G4 J5 Q+ q# }. C; Y
  1330. ;oci8.default_prefetch = 100
    ; ]6 Y/ b" J- j, ~0 u2 _

  1331. 2 Z: ~, ^: o, \# W% J  c
  1332. ; Compatibility. Using On means oci_close() will not close
    % X8 N1 ?( k2 v' \& ]* K# C
  1333. ; oci_connect() and oci_new_connect() connections.
    9 Z3 p( M- t4 h2 q5 b: ~' X6 P# K
  1334. ; http://php.net/oci8.old-oci-close-semantics
    - s$ z3 w$ ~- V  R3 m; g2 h6 m
  1335. ;oci8.old_oci_close_semantics = Off
    - n2 H" I) A" c" ~, M. h- O

  1336. # T4 W3 f; f9 l/ T+ V
  1337. [PostgreSQL]" |7 e9 R* L( i1 q2 E
  1338. ; Allow or prevent persistent links.
    ; q) x7 v1 p4 L# v
  1339. ; http://php.net/pgsql.allow-persistent
    0 a& x; x' C6 c
  1340. pgsql.allow_persistent = On
    8 {- X+ {' e5 z, }9 @, P! v: L

  1341. 1 y! x& b9 a% [
  1342. ; Detect broken persistent links always with pg_pconnect().9 l; W, V* i1 t# t/ S$ [! W
  1343. ; Auto reset feature requires a little overheads.
    , Y& H2 j: L6 G/ J" Y8 t
  1344. ; http://php.net/pgsql.auto-reset-persistent. k2 d# z# W$ m' L1 K0 A+ U
  1345. pgsql.auto_reset_persistent = Off' j; i' t9 \, L! x

  1346. ( G% t$ S2 i+ o6 c/ k! h0 F4 r$ C; G
  1347. ; Maximum number of persistent links.  -1 means no limit." Y: R; X6 B* Q7 p9 H
  1348. ; http://php.net/pgsql.max-persistent: B1 E) G; `# ~
  1349. pgsql.max_persistent = -1* y! }% W5 f1 m" G" T  `
  1350. " c: T+ N' x) s7 S
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 d& }& v1 N% J# Z" X
  1352. ; http://php.net/pgsql.max-links4 M- z- u7 v% R- u
  1353. pgsql.max_links = -1: B( v& |; p2 O* S' J- q, ~

  1354. 9 K. ?3 t+ c* E2 j( R* _
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ; d6 M' J& ?- [) p7 G( H7 W3 [
  1356. ; Notice message logging require a little overheads.5 i- O, p" K  n0 C; b$ }- H
  1357. ; http://php.net/pgsql.ignore-notice
    ! S  L7 W7 z, k# R# c+ J
  1358. pgsql.ignore_notice = 0
    . T0 p8 A- b, g( v6 Z% Z

  1359. 0 Q: D4 G9 Z8 [6 d
  1360. ; Log PostgreSQL backends Notice message or not./ u0 ^' _) s/ w! t
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' `! @9 D) s* \; k
  1362. ; http://php.net/pgsql.log-notice
    . h' J3 G. l5 M# r
  1363. pgsql.log_notice = 0+ q* W6 d2 q1 E3 ~

  1364. 8 ^, R9 w% R4 R
  1365. [Sybase-CT]6 \# M' U1 i, ?, T
  1366. ; Allow or prevent persistent links.3 F+ v. u  g" h) J7 h& A
  1367. ; http://php.net/sybct.allow-persistent
    9 F6 I* F4 `: S5 N8 a" ?& I
  1368. sybct.allow_persistent = On. f( u$ @$ M' A$ S3 d/ A

  1369. 4 W# j5 b3 j% I' J
  1370. ; Maximum number of persistent links.  -1 means no limit.' U! ?$ d2 h4 y5 S/ B7 F
  1371. ; http://php.net/sybct.max-persistent
    8 }* y+ h% U  ]" |
  1372. sybct.max_persistent = -1& N9 ]* P$ R: R- Z6 R

  1373. $ |, L' V/ N0 e  {% Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * ?! P" I* s( ?2 P* Q2 p
  1375. ; http://php.net/sybct.max-links* o1 v5 \+ ~' w3 [' H& h3 {: k6 r
  1376. sybct.max_links = -1+ s1 L2 B4 `! j: N$ r; [" [, i2 \
  1377. 0 n, f+ Q6 D( e' p1 V7 v+ ~6 A1 z' i
  1378. ; Minimum server message severity to display.! A) m! k% m( z8 n  d
  1379. ; http://php.net/sybct.min-server-severity
    4 c. i* b0 z- |# N- b* y# `
  1380. sybct.min_server_severity = 10( w1 p' V# [: j  }6 O1 E/ \
  1381.   Q# z" Z( g" F
  1382. ; Minimum client message severity to display." V0 V% V9 B& d% ^
  1383. ; http://php.net/sybct.min-client-severity$ ^$ \0 ]1 Q% S# L0 y6 q3 ?
  1384. sybct.min_client_severity = 10
    1 k9 C: y" r- V+ S& l8 I
  1385. ( k$ P5 w# c2 N6 l
  1386. ; Set per-context timeout
    5 k8 Q- D, ?+ f$ W* B
  1387. ; http://php.net/sybct.timeout# z$ ?4 b# _' J  P& E# q( w( z
  1388. ;sybct.timeout=
    ( z2 |& f" v4 j5 }2 |' p4 G/ H

  1389. + K9 @5 B+ v9 E
  1390. ;sybct.packet_size+ z2 g$ z  L( z' i
  1391. 8 b  O, J/ W$ l' ?6 @
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.# P6 \; G* Q6 A3 w/ Z( T
  1393. ; Default: one minute
    : U: x3 }  ?, f% Z* n9 e
  1394. ;sybct.login_timeout=2 u" r/ Q+ E0 Z8 e" B$ C3 m5 x
  1395. 5 o' y0 j$ f6 Y& @% J
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    9 B4 f" X1 v' m; @: d; ~* _
  1397. ; Default: none
    9 A& l" k! X" ~/ [
  1398. ;sybct.hostname=
    ) R: t1 s* t! ]; w* H  G- M" x

  1399. 1 X* N$ W  w9 _( I0 @, v9 L
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ; d# @3 t/ L4 C$ j3 K9 B
  1401. ; Default: 0, K, g1 _! {* E
  1402. ;sybct.deadlock_retry_count=; h% G9 V4 o6 G  D

  1403. ; {. l2 U7 b7 }( `
  1404. [bcmath]
    + v6 @  n2 t' o2 n  r8 n! V
  1405. ; Number of decimal digits for all bcmath functions.( K6 I" c  Z% T- ?5 t
  1406. ; http://php.net/bcmath.scale
    7 U) L& {3 M) S5 n6 w' S
  1407. bcmath.scale = 01 w+ Q% \( G* @( M3 e; w; T+ Y/ X
  1408. 5 N1 @  D0 x3 Y9 x  N( y
  1409. [browscap]
    ; {; }1 L5 M; F# S
  1410. ; http://php.net/browscap8 @0 Y- F  A2 n* B8 o- P* }
  1411. ;browscap = extra/browscap.ini% H0 _9 N! G! v" y6 C% z" \7 l
  1412. # S# @/ D; f$ l5 B
  1413. [Session]
    " U; \- \" c) _4 \
  1414. ; Handler used to store/retrieve data." v7 N- {6 [6 M5 L
  1415. ; http://php.net/session.save-handler
    - [$ g! Q$ L( U( s7 O, w0 I7 b
  1416. session.save_handler = files
    ) d6 `; @) }, X( ], S) l

  1417. ; T, O, W2 ^# y! a( A% `- U( y  r
  1418. ; Argument passed to save_handler.  In the case of files, this is the path% s% }# K& I0 D7 ~/ {4 G5 t; x* J) q6 [
  1419. ; where data files are stored. Note: Windows users have to change this
    , _, O9 n" I  d" `+ A
  1420. ; variable in order to use PHP's session functions.6 V3 R8 p: k& D" Y( X% h& p
  1421. ;, R9 `6 o. M8 f4 h# a) Z
  1422. ; The path can be defined as:
    0 m( B- z, h# |' {5 M; r& I3 e
  1423. ;. u* w  d/ ^4 q1 G7 c
  1424. ;     session.save_path = "N;/path"' G" p3 m" I- h1 B/ h
  1425. ;0 p2 C; ~1 N/ Y. t8 s' {/ D
  1426. ; where N is an integer.  Instead of storing all the session files in
    2 v4 \7 B9 F1 E/ r! `
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    + B/ K" G7 H3 U* s$ w
  1428. ; store the session data in those directories.  This is useful if  W# j* J' y& Q- D' D
  1429. ; your OS has problems with many files in one directory, and is" b" |9 g* H6 l8 B
  1430. ; a more efficient layout for servers that handle many sessions.
    , ?! ^- j$ A& c3 B# t5 B" k
  1431. ;4 A% |1 }* R8 a4 y; B0 u. T, D! c
  1432. ; NOTE 1: PHP will not create this directory structure automatically." D  g9 S. D8 Y! C8 X
  1433. ;         You can use the script in the ext/session dir for that purpose.5 ~0 k$ D7 U% b- g; v
  1434. ; NOTE 2: See the section on garbage collection below if you choose to, S' K1 u# Q+ K% J% e; i9 v
  1435. ;         use subdirectories for session storage7 _6 }9 V% O; Y- Y4 d2 |1 r
  1436. ;
    & a- |" @; Q: T6 c% t) R4 @
  1437. ; The file storage module creates files using mode 600 by default.: v( d* \% f! i- V9 o4 O9 u) A4 s, `# \) j
  1438. ; You can change that by using
    & ]3 _; g, T. D% e3 e
  1439. ;
    : x$ ~, D: T* Z
  1440. ;     session.save_path = "N;MODE;/path"* ~3 O" @/ F$ Z* _8 n
  1441. ;
    + s) I8 I6 x3 x0 e
  1442. ; where MODE is the octal representation of the mode. Note that this
    ; ^! P6 D: j/ H( }
  1443. ; does not overwrite the process's umask.4 K( W; M5 M& O2 T% ^1 R
  1444. ; http://php.net/session.save-path
    0 x# y( u$ |0 X, I" L' Q' G& g
  1445. ;session.save_path = "/tmp"
    * y8 A) p- h) X, w0 e
  1446. ' c1 L/ o) X8 H
  1447. ; Whether to use strict session mode.& D- `2 N5 m) N! c6 F: e
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      U- I% E  z9 d9 h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects" g2 D7 N/ h5 w7 q
  1450. ; applications from session fixation via session adoption vulnerability. It is0 M$ \. J6 ^6 D8 ?
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    & z4 B$ B# V6 d0 I8 E# ]. [
  1452. ; https://wiki.php.net/rfc/strict_sessions( J+ i- f% U6 \: ]8 Y& w1 P
  1453. session.use_strict_mode = 0
    6 c( ^0 d9 i* @" S
  1454. 3 u1 S3 H! f" n+ X! b
  1455. ; Whether to use cookies.
    , a8 O% @% e- ^: }, Q
  1456. ; http://php.net/session.use-cookies- F' r0 z0 p. ~) T/ N, ?. G# v
  1457. session.use_cookies = 1
    ; T8 D! a+ @( K

  1458. 3 x0 p# @* }7 }- m4 @
  1459. ; http://php.net/session.cookie-secure
    $ h# w3 r8 H; O& s' T3 {$ Q( H, _
  1460. ;session.cookie_secure =
    2 K1 `  z2 X, C" S% K
  1461. 2 d, F+ J9 q! d/ T
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! K  t# e. }3 H  `8 ?7 T7 Z, S
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    & C: V8 F) W( S# ^. i8 T
  1464. ; session hijacking when not specifying and managing your own session id. It is
    : w4 {  n2 h$ d9 [2 G3 h
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % W# u& A4 K0 l- }
  1466. ; http://php.net/session.use-only-cookies: G: u5 H8 J0 N0 g! D; q
  1467. session.use_only_cookies = 1$ H8 r0 K& W3 \: h

  1468. 8 L% S( p# @4 @! |
  1469. ; Name of the session (used as cookie name).
    9 N# O+ |0 }/ _* A/ E0 ?0 s
  1470. ; http://php.net/session.name
      [9 e/ }/ A: x" g( l
  1471. session.name = PHPSESSID* w& b" w- {9 V2 ]

  1472. 8 X5 }: |& b4 n( u2 _
  1473. ; Initialize session on request startup.
    % u; |4 f: M! B- X* k" y. b
  1474. ; http://php.net/session.auto-start
    ) i. D2 Y* C- M! N  q5 t
  1475. session.auto_start = 0
    + W& D2 O6 o3 R2 R( j
  1476. / M# Y9 o6 M) k0 ?( E0 f# I' u) G
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.' Q" Q( r8 n+ z! j
  1478. ; http://php.net/session.cookie-lifetime7 R! D3 ]  h) u
  1479. session.cookie_lifetime = 0
    ; W7 r) S: ?+ e+ N4 ?8 _
  1480. 3 R( j5 a& G3 B
  1481. ; The path for which the cookie is valid.
    : D; D& v' H2 Y
  1482. ; http://php.net/session.cookie-path
    & @3 l( Z* ~+ N7 O- y6 u
  1483. session.cookie_path = /  H: b6 q6 f- n
  1484. * q8 ?9 o, t: ?: x' w' l8 o
  1485. ; The domain for which the cookie is valid.
    8 k# J7 j) o* T" s" e; }
  1486. ; http://php.net/session.cookie-domain% ~# w# r' P; I* `
  1487. session.cookie_domain =
    ) H+ O; O- ^2 I: v+ i( ?/ p5 N

  1488. ' }  h& D3 J* Z- c3 V  T  R
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    6 {7 F. @0 _) \/ z1 b0 e/ w
  1490. ; http://php.net/session.cookie-httponly
    6 h6 J( _) ?; e; c* f
  1491. session.cookie_httponly =  @: y4 [5 i( ?' R5 l& n2 K
  1492. - U* Z$ e: M2 \( K( \; r7 L
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.+ L3 c' V% V. t/ i# Q5 a; I
  1494. ; http://php.net/session.serialize-handler) h  S, l* M9 J/ h
  1495. session.serialize_handler = php
    - m) {5 p  ]; W2 s( n/ }! y

  1496. , X: q# v9 H8 ~) ]* \
  1497. ; Defines the probability that the 'garbage collection' process is started$ u/ s1 x& Z; H; C# g7 d& j
  1498. ; on every session initialization. The probability is calculated by using. S  d) {' T. z* v2 X) K
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator4 ~# c3 |+ P) \1 b- v
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # j& o. u3 j. i3 T/ ~+ r/ d  F5 H
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 G/ Z% z4 n) F4 Y6 C. s
  1502. ; the gc will run on any give request.
    , }3 T$ x3 `% w! p7 X
  1503. ; Default Value: 1: [* `; `& s! w; i  U
  1504. ; Development Value: 1  b3 k, j' u  L, \9 K! B& y
  1505. ; Production Value: 1
    3 }( m+ I2 I# o1 x9 t4 a! Z! d
  1506. ; http://php.net/session.gc-probability
    6 N4 |. g$ ^. N/ x. T) N1 H5 ^
  1507. session.gc_probability = 19 |) P1 E' S! l3 f: l: Q
  1508. - G; g: |) T8 G( g- L  ]
  1509. ; Defines the probability that the 'garbage collection' process is started on every, C- A+ P& @3 \# b" j! E& Q2 q
  1510. ; session initialization. The probability is calculated by using the following equation:3 Z& }" _4 g& f* C) u1 o7 p% ?5 S
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ! g7 e" v7 [( \# q9 M; x- ]
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    , j. }' ~, [- M0 L, {  x
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) _* Y: c$ G; E
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you1 g4 }6 @1 A& {3 w5 M; T
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    8 |7 f9 e6 r. p6 H) _' z; c
  1516. ; this is a more efficient approach.6 x. V0 `% c3 x+ @4 s/ M; J
  1517. ; Default Value: 100
    ( w7 ?! {! @% V0 B
  1518. ; Development Value: 1000
    ( {4 A$ I6 i% I9 x
  1519. ; Production Value: 1000
    7 ]3 j# |) r0 N1 Y; |
  1520. ; http://php.net/session.gc-divisor
    1 O5 B5 ~9 {5 G, D9 i! H
  1521. session.gc_divisor = 1000
    $ y7 j6 C/ [1 e9 L4 p6 T5 P
  1522. 4 ]0 ^/ c- T/ [6 c  c
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and0 d9 B  I( C; v" x# I
  1524. ; cleaned up by the garbage collection process.2 @- n( d- ?6 d( t; e
  1525. ; http://php.net/session.gc-maxlifetime
    " p9 K, M5 `5 P/ Q" j( I' y5 J7 ^
  1526. session.gc_maxlifetime = 1440/ {- @3 b' A- e! u: w- s! ~

  1527. ! v$ [. y- K9 q7 a
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ) Y% k6 v5 H2 W' i5 q6 n$ c5 q
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * e! P6 |$ @# }. E0 h" H( e
  1530. ;       happen automatically.  You will need to do your own garbage
    8 ]5 h: p3 O' \& Q; y" O
  1531. ;       collection through a shell script, cron entry, or some other method.
    ( o4 l5 Z# O/ S! C
  1532. ;       For example, the following script would is the equivalent of
    9 T6 r1 }7 f+ I* p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 {" ~$ E' Q" a9 G! f4 M# W* \) S
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    9 C& s& l3 r0 p7 g. Z; J2 i) r# h
  1535. 2 V- V; T, f& U4 t8 B7 h# `
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& F" c( J# p2 e6 G
  1537. ; HTTP_REFERER has to contain this substring for the session to be1 [! P: z8 {& ], [+ Y8 m5 v% D
  1538. ; considered as valid.
    : I* r$ K) |$ o; P- h% g) n4 \
  1539. ; http://php.net/session.referer-check
    4 T- J8 B6 N. v1 M8 q
  1540. session.referer_check =' Q# J2 W* u8 \) a/ a

  1541. 4 O2 p6 A+ R0 l/ Q+ Z5 U
  1542. ; How many bytes to read from the file.7 ?) F/ v& f/ s, M" _0 n$ R& m
  1543. ; http://php.net/session.entropy-length
    7 ~  v- _7 l5 I) w
  1544. ;session.entropy_length = 32) h( I- J7 F* y! `$ A$ d/ b( k

  1545. ! T/ N- t- i' l  l# L( t
  1546. ; Specified here to create the session id.. Q. E" W3 K, z* {. K. {+ F
  1547. ; http://php.net/session.entropy-file1 S! A( p% z4 [0 D+ X
  1548. ; Defaults to /dev/urandom
    0 P& c1 I% H8 V+ Z# `
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / L( l6 R3 f% {' J1 ?6 n
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ P2 Q+ I( b! |$ ~) j- {) a
  1551. ; On windows, setting the entropy_length setting will activate the
    & U0 o2 \! N- F2 L& L, t9 D
  1552. ; Windows random source (using the CryptoAPI)
    + X5 W$ P3 u9 \0 r" E
  1553. ;session.entropy_file = /dev/urandom
    ( w. O% W: z/ D! l# k/ c  s

  1554. 7 d" D) B) n4 X' L0 R. b
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * e$ d" E# B& o+ M9 s  k
  1556. ; or leave this empty to avoid sending anti-caching headers.5 r4 w; V; T1 G- n) Y
  1557. ; http://php.net/session.cache-limiter" i+ G' N0 p# ^
  1558. session.cache_limiter = nocache
    : k5 T4 y2 O  ]5 n1 N) I

  1559. % }0 v4 a: j- ~0 ^$ `) _& w
  1560. ; Document expires after n minutes.; D5 N5 _. y/ _0 N
  1561. ; http://php.net/session.cache-expire
    ) B( x# T% l1 m$ F
  1562. session.cache_expire = 180, G7 B% ?9 K" v1 E; E( O

  1563. " F, q6 P  M; t5 R; M
  1564. ; trans sid support is disabled by default.
    6 N7 S- b$ v8 N3 j3 j- r/ b
  1565. ; Use of trans sid may risk your users' security.
    ; h3 T- Z" e5 P
  1566. ; Use this option with caution.
    + S) P+ G1 b; h" w- r
  1567. ; - User may send URL contains active session ID! U4 Z9 n6 t* o
  1568. ;   to other person via. email/irc/etc.
    / {# A0 `% z3 F9 ^
  1569. ; - URL that contains active session ID may be stored
    " s" ~& ]4 {8 G5 Z2 F  L, x
  1570. ;   in publicly accessible computer.
    + E6 w* p/ n! R8 O' \9 J6 D  [
  1571. ; - User may access your site with the same session ID
    ; ?3 I+ G7 K. }! @6 O; Y
  1572. ;   always using URL stored in browser's history or bookmarks.
    5 v* z3 ~2 C5 q( o! Z- t9 a3 G
  1573. ; http://php.net/session.use-trans-sid
    ( c" U1 p, Z7 E: `) R! \
  1574. session.use_trans_sid = 0
      [/ a* `  ]; ~* _. O3 A4 E
  1575. ' m0 ?/ k' s9 Z8 \5 M: N
  1576. ; Select a hash function for use in generating session ids.- Y% `% S$ v/ N, e$ e" u
  1577. ; Possible Values, E# L; v( H( Q- r5 I# b8 k
  1578. ;   0  (MD5 128 bits), e, q2 _3 s- d8 U" Y% D
  1579. ;   1  (SHA-1 160 bits)
    + E$ _2 C/ t$ d5 q
  1580. ; This option may also be set to the name of any hash function supported by4 u/ ]; S8 ], D& ?: N
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ) k2 w. t6 f( j1 D! Z( W
  1582. ; function.7 L' |  n8 s# J1 }0 }5 N6 z# ]+ a& i
  1583. ; http://php.net/session.hash-function
    1 L8 b4 v7 ^' D$ ]6 N+ |+ v
  1584. session.hash_function = 0
    0 A% K$ j8 W) c9 r0 r
  1585. 5 `8 z8 J0 g. S
  1586. ; Define how many bits are stored in each character when converting
    5 Y& w( u* e2 Z- l9 B' y5 {7 E1 W
  1587. ; the binary hash data to something readable.
    ( v' Q+ u9 S0 d0 G' K
  1588. ; Possible values:8 z* S  k0 q- r* ?. E7 E( w. H+ U
  1589. ;   4  (4 bits: 0-9, a-f): q1 l2 J  m$ a) I! Y
  1590. ;   5  (5 bits: 0-9, a-v)
    # }+ ^; o- a9 `# V  T6 Y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    0 q5 ~* c6 @7 B) [% a* ]
  1592. ; Default Value: 4
    , v) F0 C; ]2 D+ J0 e' d4 y
  1593. ; Development Value: 5" e  _, Q; s: F( e* t  l$ }
  1594. ; Production Value: 5
    5 t( q7 K4 g; m: _- y. a) d4 ~
  1595. ; http://php.net/session.hash-bits-per-character, ?- X) \) q# L4 X3 B- @, W
  1596. session.hash_bits_per_character = 5& e* ], k4 p  M5 l/ A2 f$ M4 X
  1597. % A- r( D) O8 X- [6 }
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . u, H' o( j- {
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    $ l4 E6 H3 c& {
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 g9 U* \, a' ~/ K8 b" U& R; U' _
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    $ K% X* s' @; U' R* m) Z
  1602. ; Note that all valid entries require a "=", even if no value follows., h0 ]: O5 B1 G  G9 v/ Z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 _8 h0 y3 `  @; [  K* b# ^
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 I, M% i* Z/ @* o
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* T3 ^+ t# Z' J1 j( H: F
  1606. ; http://php.net/url-rewriter.tags) `( T2 ^  ^4 l8 B' ]: S
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"4 u) x  V* L0 v) L" ^+ C! j
  1608. ; d* l! R) r* _- r+ q0 ^! \
  1609. ; Enable upload progress tracking in $_SESSION
    $ {! _2 w; p. `# L# X% A0 H
  1610. ; Default Value: On
    7 o  `$ G# Z: }3 _6 \9 e
  1611. ; Development Value: On
    6 Q5 B; W7 e; _) p+ Y; Q$ t
  1612. ; Production Value: On( p) j& `: k0 C$ r" j1 O5 A
  1613. ; http://php.net/session.upload-progress.enabled
    " K; \+ D5 a) P0 u9 ^6 K9 ]
  1614. ;session.upload_progress.enabled = On; P; \; b& E. S
  1615. ! A0 L1 |' E, R' {
  1616. ; Cleanup the progress information as soon as all POST data has been read
    / h2 |9 C. J. _1 V
  1617. ; (i.e. upload completed).1 V% }6 {  i0 ?! a! K  O. `4 V/ C
  1618. ; Default Value: On2 v  G" p% l/ I8 X9 J7 d% y; n& W4 u6 F
  1619. ; Development Value: On
    . ~9 o) J9 ~4 M& r1 k
  1620. ; Production Value: On
    # c4 Y4 L, k; Y' M6 I. a
  1621. ; http://php.net/session.upload-progress.cleanup
    0 d$ |# z# i8 \
  1622. ;session.upload_progress.cleanup = On
    " A% @1 Y5 \4 `: y8 Q4 Z9 Z
  1623. . m' g/ p/ _) P
  1624. ; A prefix used for the upload progress key in $_SESSION& R+ N( ?6 A! E8 ]
  1625. ; Default Value: "upload_progress_"3 i5 M9 V! ?  a% @* \2 f
  1626. ; Development Value: "upload_progress_"& l2 \4 ?- g/ S+ V( U
  1627. ; Production Value: "upload_progress_"1 o& g5 d9 Y( z! Q$ }
  1628. ; http://php.net/session.upload-progress.prefix& A( D9 u  T- `# ?1 `
  1629. ;session.upload_progress.prefix = "upload_progress_"
    3 [6 M" M$ Z3 e( l' R0 I8 o- P
  1630. ( U8 g* g! I7 I7 C
  1631. ; The index name (concatenated with the prefix) in $_SESSION4 O. m+ D2 C- r6 U
  1632. ; containing the upload progress information) Q, S5 Y1 V8 v1 V/ M: F$ b
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , u8 u6 d) R4 R5 D# N; J+ ~
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . H( h7 @7 D+ ]; y# E3 p, W
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS") N9 G8 t% m& ^! k' S
  1636. ; http://php.net/session.upload-progress.name1 {7 |, B5 M( I6 F3 V% ]
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"# c* L" Z4 }1 S+ U( B7 ~, G9 x

  1638. 3 I9 R, V7 f" N, A4 B
  1639. ; How frequently the upload progress should be updated.
    * e- i% L: u- H: i' |  Q
  1640. ; Given either in percentages (per-file), or in bytes
    # i* x; t5 V' ]3 F# J
  1641. ; Default Value: "1%"8 b! U3 m( s2 y, `+ Z* S7 K8 e$ W, x
  1642. ; Development Value: "1%"
    ( X" b- |3 g% r# I) h* n
  1643. ; Production Value: "1%"
    + m: D1 L, E) y( [. b# R: O
  1644. ; http://php.net/session.upload-progress.freq- B0 h& y# w) y* f
  1645. ;session.upload_progress.freq =  "1%"5 \( K* ]/ ], t( h
  1646. 6 a; V5 K6 P4 ]! I8 T
  1647. ; The minimum delay between updates, in seconds/ r- R7 P3 L8 |: W7 r( W1 X9 p
  1648. ; Default Value: 1
    0 K- h/ t; l& J! a" ~3 q0 I" k! z
  1649. ; Development Value: 1
    - V$ \1 q0 H$ Y; d" s/ k- S
  1650. ; Production Value: 18 O+ z# q2 w5 b+ X! b0 z/ R. j2 R+ `
  1651. ; http://php.net/session.upload-progress.min-freq; e$ \# p( j5 R; Z) J5 Z2 a
  1652. ;session.upload_progress.min_freq = "1"7 w# J' M! A0 }5 J1 A: v

  1653. 3 w7 k" t; E5 w3 U: V, K/ j8 g
  1654. [MSSQL]
    & E. i# O1 S, k0 F; S
  1655. ; Allow or prevent persistent links.8 y; e; U5 l5 N  f0 r& H
  1656. mssql.allow_persistent = On6 d) M/ H* K  r

  1657. / p" u; h1 ?# {  j$ p- U1 {
  1658. ; Maximum number of persistent links.  -1 means no limit.
    4 u# u4 a; d! _, I- c
  1659. mssql.max_persistent = -1/ @4 V) l+ f. Q  ~7 q( i) ^
  1660. ' E  I1 h8 E# Q6 \
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 z& q' T- H& H. v* {: c
  1662. mssql.max_links = -1! L5 x, d4 B* L+ B; j& ~! y! z1 R  v$ X
  1663. ) y! R( R, \- K; D% k  E' Y
  1664. ; Minimum error severity to display.
    ' Q* p( K7 l( @. f
  1665. mssql.min_error_severity = 10& h2 X' b8 C) n  g. J7 O' S, |! w
  1666. " R0 i6 E2 \# t: Z
  1667. ; Minimum message severity to display.' m/ M# F7 o4 c2 D: S" Q# E8 w% _) g
  1668. mssql.min_message_severity = 106 c: G3 P$ D8 n4 T0 |3 c

  1669. & O, M8 h3 t- y+ b6 ^
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! G. L1 t& s' [8 B, i; I
  1671. mssql.compatibility_mode = Off& o2 H6 D+ b) }. d
  1672. 1 m  ~: V& S! y+ V, a0 F
  1673. ; Connect timeout2 r. O1 [% ]4 D
  1674. ;mssql.connect_timeout = 5
    ) J+ @, d9 T7 t  l& x

  1675. $ C7 N) g8 |( n4 G
  1676. ; Query timeout) ~& i7 ~/ R/ `2 o& ]% f
  1677. ;mssql.timeout = 60
    7 _$ k' p% F. u3 Z0 H( y- z0 j/ K* m

  1678. : f  Q4 j$ Q2 i0 W9 N
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ; E4 b7 T  I! y/ F7 N
  1680. ;mssql.textlimit = 4096# W' j3 B  z2 S$ w) `3 j0 q
  1681. ) u! v  |: }+ H
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ( i' f7 r- C. W$ ]+ P& E# {3 c
  1683. ;mssql.textsize = 4096( S2 _4 c: H* @7 G7 w& |5 n
  1684. 3 K) T7 _4 A8 I' \1 M- i: Y
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    0 m: C+ v: g7 C
  1686. ;mssql.batchsize = 0
    ' ~  x( D% |; X5 l) O

  1687. 1 ?8 K3 C& X4 A/ A
  1688. ; Specify how datetime and datetim4 columns are returned
    1 w4 ?; B+ t, A0 e0 C# r
  1689. ; On => Returns data converted to SQL server settings7 k) q; j% ^0 L; q. M5 N6 F
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss* {9 W1 S, t& V
  1691. ;mssql.datetimeconvert = On
    0 M2 l$ F1 w6 }% D
  1692. ! g+ \; u3 A( X( E" y( F1 i8 D
  1693. ; Use NT authentication when connecting to the server5 [; n4 @7 X7 s* [
  1694. mssql.secure_connection = Off7 c; P0 B" a$ U; H( g( P

  1695. $ E, A2 n1 I6 R  |9 R9 R
  1696. ; Specify max number of processes. -1 = library default
    6 d3 x! ~% y/ n) F2 ?
  1697. ; msdlib defaults to 25
    / ^: n( Y. o" H! o
  1698. ; FreeTDS defaults to 40961 l: Q' Y! W. E4 Q! L
  1699. ;mssql.max_procs = -1
    8 t" _$ T$ y6 P
  1700. 0 I6 M6 V0 G* Z' W3 P* G
  1701. ; Specify client character set.6 Z0 K8 X( M" V+ O6 d" h4 L
  1702. ; If empty or not set the client charset from freetds.conf is used" f# t& p, J! t$ v# A- K3 p3 M
  1703. ; This is only used when compiled with FreeTDS5 i# b' H$ |0 O6 r/ v% D1 S
  1704. ;mssql.charset = "ISO-8859-1"( K& Z, `$ X6 O! ]+ M3 C' D9 v+ X
  1705. 8 b/ F. l/ c$ J& Q7 W  y9 f
  1706. [Assertion]
    + R3 {) @8 x8 e; M/ i
  1707. ; Assert(expr); active by default.  `0 U- T  h# r4 s, V9 D  A
  1708. ; http://php.net/assert.active
    $ ?: m5 h/ N1 t
  1709. ;assert.active = On  g! j: K. A2 h  W1 q8 }! u/ N# b5 z! p

  1710. / B" ^& a8 @9 `: d5 ]! ~+ e) P
  1711. ; Issue a PHP warning for each failed assertion.
    " j% t. {5 H2 b1 |% b
  1712. ; http://php.net/assert.warning" ~4 D. G0 x$ l
  1713. ;assert.warning = On6 Q9 `: z) f% e
  1714. ( M/ u8 }0 L/ ]( m7 c7 U" P
  1715. ; Don't bail out by default.8 p, B6 E1 t) ?# W
  1716. ; http://php.net/assert.bail
    2 l4 b- t5 f! `  R% ^3 `
  1717. ;assert.bail = Off
    3 a# H8 v  m; h* R: H8 e

  1718. ( o7 ]# c' F, A4 z
  1719. ; User-function to be called if an assertion fails.
    - I" \* N2 L" a# g+ O
  1720. ; http://php.net/assert.callback
    # }+ I) p: g  A* p- ?6 n
  1721. ;assert.callback = 0
    + R! x8 t( _% n- b4 s! g' [
  1722. : T. j; h/ y( u
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ' ~$ B) p" l" I3 U; w$ r
  1724. ; error_reporting(0) around the eval().
    % V+ u! d1 |6 `+ ^6 ~  b
  1725. ; http://php.net/assert.quiet-eval+ g2 Q- R+ X; X$ ?4 _
  1726. ;assert.quiet_eval = 0
    $ t" I9 g2 P# g# ~

  1727. 4 N( q; L2 Z, c  ^: a# `
  1728. [COM]
    0 R3 Q/ F* q# r' s5 b8 X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs6 {* i/ {3 W. g0 h2 t; F+ ~
  1730. ; http://php.net/com.typelib-file
    ( A- D1 X$ Y/ Z0 G
  1731. ;com.typelib_file =
    2 Y8 ]+ G) D" k% E4 x. Q4 m

  1732. 9 l1 s7 \  h8 s* o5 q
  1733. ; allow Distributed-COM calls8 G* e) p" i7 v  ~  S
  1734. ; http://php.net/com.allow-dcom0 d8 m9 [. v/ l4 }) k
  1735. ;com.allow_dcom = true
    : d( D$ q) t6 j1 A
  1736. / z& _) p) _9 i* p9 P
  1737. ; autoregister constants of a components typlib on com_load()/ E3 _7 e9 w  u( d7 ~  w3 Z
  1738. ; http://php.net/com.autoregister-typelib- r: u! i; b+ Q/ M; c
  1739. ;com.autoregister_typelib = true
    ) e0 {3 p8 y8 C

  1740. $ e7 t2 k9 o1 T/ G
  1741. ; register constants casesensitive$ B. X* h: k! y/ i
  1742. ; http://php.net/com.autoregister-casesensitive4 h( G# B. D, A; u, l0 G. {+ s
  1743. ;com.autoregister_casesensitive = false
    ) }) Q/ Q: a1 \$ d

  1744. 0 [) @$ n  P1 T  Y! X
  1745. ; show warnings on duplicate constant registrations! d- B+ ?1 G% G$ Q" f
  1746. ; http://php.net/com.autoregister-verbose
    / j2 u& f" x. M1 k+ U" v  V/ {" ]
  1747. ;com.autoregister_verbose = true
    ( u5 n+ q4 }7 r9 F

  1748. % Q' U0 s" G- X6 b+ a; ]+ s4 `+ D
  1749. ; The default character set code-page to use when passing strings to and from COM objects.8 i* E! y' D0 I+ r" C* G
  1750. ; Default: system ANSI code page
    / V& y+ Y9 }% d* u! D9 a/ y
  1751. ;com.code_page=
    5 c7 t/ k. K5 U( V$ L9 A% d' ^+ a2 v

  1752. - r/ j7 [; F+ Q7 R; \1 X* ^6 @
  1753. [mbstring]) o' v2 k! l; l5 f
  1754. ; language for internal character representation./ m. Q' s' A  K/ r& i1 V
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    , G% R/ H/ v/ }. R7 ?9 |
  1756. ; http://php.net/mbstring.language
    $ N" ]5 K, z! l% Z- B, s
  1757. ;mbstring.language = Japanese
    1 _  F7 @% F4 K5 Y$ R1 K( X

  1758. + O* x" e" Q$ S1 p4 v
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( N; O9 y/ b3 |  M. ^' |
  1760. ; internal/script encoding.
    * ?! {" o5 _0 V4 ]
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 _1 Q7 v2 ?2 B) y' {1 W+ z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( A0 t/ O8 n& P; F5 l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + O1 f# v. `# e) ^. V
  1764. ;mbstring.internal_encoding =5 q) C! A" E. p4 V6 Q: N3 x

  1765. , k/ i+ ^4 h: y1 Z5 j8 P
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 |% c* K' z; S3 ]8 g7 w" ~
  1767. ; http input encoding.
    / e9 c8 Z" l1 ?1 B
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , g5 y0 o9 U8 w
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / @# v& M8 n6 Z% F+ {: \
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input1 k% D4 k# b6 u) }9 M
  1771. ; http://php.net/mbstring.http-input6 X! ^0 U" J  G0 C/ v1 x% w2 R
  1772. ;mbstring.http_input =. K" ~% c2 x/ U. `- Q
  1773. ; B4 I! L% W! y& {" d
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 Z% y) r3 `& g2 O
  1775. ; http output encoding.- f* h7 u0 Q% m$ D0 u. Z
  1776. ; mb_output_handler must be registered as output buffer to function.: q* r" L/ `- g/ f/ E( _( I( K
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 \! ^3 {5 S$ `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! B3 ?! H( O* m  b0 q
  1779. ; To use an output encoding conversion, mbstring's output handler must be set: }2 h& y# Y( O  f. n
  1780. ; otherwise output encoding conversion cannot be performed.
    ( f; p8 d8 @" z) @8 B$ i
  1781. ; http://php.net/mbstring.http-output
    * d9 t4 l% J. j/ Y6 a
  1782. ;mbstring.http_output =, c2 `9 B* N7 ?8 E  B

  1783. 2 A# p/ ^8 `9 E5 H' ~5 ?6 K* V
  1784. ; enable automatic encoding translation according to) x7 t* C4 A- ?; a0 v, Q  ?
  1785. ; mbstring.internal_encoding setting. Input chars are
    7 C& U9 d# t; I8 K- q3 c
  1786. ; converted to internal encoding by setting this to On.
    - L0 `. h- G5 g$ {! {7 N
  1787. ; Note: Do _not_ use automatic encoding translation for5 Z3 Z2 |/ }4 f9 r, k: w
  1788. ;       portable libs/applications.
    9 k* c1 x) W" S4 e
  1789. ; http://php.net/mbstring.encoding-translation
    1 J/ Z, ]  g8 F4 {
  1790. ;mbstring.encoding_translation = Off
    $ D. j8 x" O4 X* w$ f( E9 E# F4 ^
  1791. ! B4 o0 [. ]( K. `& Z9 g% _
  1792. ; automatic encoding detection order.- m& e' a6 [6 O/ z$ O2 f. o9 w
  1793. ; "auto" detect order is changed according to mbstring.language
    5 w5 I# i) c& I; Q4 Q" O7 |5 @
  1794. ; http://php.net/mbstring.detect-order
    " w# _+ k3 ^0 }/ [8 h
  1795. ;mbstring.detect_order = auto
    3 J& ~9 a) U8 Q3 I. `
  1796. . u( D# O; I& }1 t7 _" _
  1797. ; substitute_character used when character cannot be converted
    . n3 t6 X" a, v- \" h- n+ d
  1798. ; one from another
    : o1 h  E5 {9 l$ k
  1799. ; http://php.net/mbstring.substitute-character6 w( J  l7 @- H) U9 B* S7 F- ~
  1800. ;mbstring.substitute_character = none
    . X% H5 T$ p( K1 B7 n% {

  1801. : ^6 j# O! l4 \$ `! f; K8 l0 b
  1802. ; overload(replace) single byte functions by mbstring functions.  }( g. z% s+ i$ \2 F1 T) R
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - X8 i- i& X' [# w9 n3 T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.) ~6 _2 C# P4 r" E" m9 T) ~
  1805. ; For example, 7 for overload everything.
    7 v( K( R$ S" i1 p
  1806. ; 0: No overload& f- P* g$ A+ ~
  1807. ; 1: Overload mail() function$ \6 O  e. M: \( l! d9 _7 s, L' s
  1808. ; 2: Overload str*() functions
    9 C( w$ Y1 [0 o+ K7 K
  1809. ; 4: Overload ereg*() functions1 s& O+ f/ O' Y1 p) |
  1810. ; http://php.net/mbstring.func-overload
    . o1 t+ H/ b$ x7 g5 A- z
  1811. ;mbstring.func_overload = 0$ A  k. |2 D+ C% k: A

  1812. 0 {) s( C& h' l
  1813. ; enable strict encoding detection.- X5 q4 Q8 t) \' \3 L8 k
  1814. ; Default: Off
    ( I# a$ a% R0 q
  1815. ;mbstring.strict_detection = On! W7 O% T4 n. C( N, A9 O

  1816. 4 v6 D* O' C. c* C; x
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(); L  [4 C; y: E% L* [9 i
  1818. ; is activated.
    0 ?9 \* F3 j+ \- L+ b6 b: o- u* q
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 M# m2 J5 ]" p! g  Q
  1820. ;mbstring.http_output_conv_mimetype=
    # u5 W: L) D& R1 O

  1821. ' k# c( F$ l; Q$ m! g, s! ?" _& T
  1822. [gd]5 K; b! f- w. n. g, R
  1823. ; Tell the jpeg decode to ignore warnings and try to create0 K0 z+ X3 s3 H5 \3 ^0 @0 ^" w
  1824. ; a gd image. The warning will then be displayed as notices
    ) d  n5 Z/ v1 t" m. N
  1825. ; disabled by default
    5 [: k* ]& ?7 ~) c1 j& Y
  1826. ; http://php.net/gd.jpeg-ignore-warning9 C! ?: c5 R) i4 p
  1827. ;gd.jpeg_ignore_warning = 0+ ^! c' c3 `+ _! l) j

  1828. $ I. C: ~" Y6 E0 x: e
  1829. [exif]+ c3 _4 ]9 C$ a* {
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : [6 g" U3 E' k6 e. U
  1831. ; With mbstring support this will automatically be converted into the encoding
    * Y( ^& y) X) v& y  R* Z2 ~
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " w" E1 K1 m+ C8 G- x( t
  1833. ; is used. For the decode settings you can distinguish between motorola and' }; Q4 w( v7 U; e
  1834. ; intel byte order. A decode setting cannot be empty.9 V  v# d7 Y1 F  O6 K
  1835. ; http://php.net/exif.encode-unicode
    7 g/ X' y. e8 l9 l) ]' }. v
  1836. ;exif.encode_unicode = ISO-8859-15" w) ^$ C, k& k6 Z- S8 l  D
  1837. 7 N* J, D# k. `/ {
  1838. ; http://php.net/exif.decode-unicode-motorola, B/ V' M! Y3 L, N% u9 e
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    % Q2 Z4 w8 F) ?1 D. J0 g  `4 v0 j

  1840. : }5 X) W* ^, C. F6 K* n
  1841. ; http://php.net/exif.decode-unicode-intel& Y( _# [4 D2 q) m! M7 R& V
  1842. ;exif.decode_unicode_intel    = UCS-2LE' i  a* M' W+ X' m; R

  1843. 8 c& Y9 _" e: M2 S/ O. m. V
  1844. ; http://php.net/exif.encode-jis
    ' v% G, d- e4 k6 _" S# V
  1845. ;exif.encode_jis =4 T% s& V0 ~# G7 O/ c& z5 K( ?

  1846. 2 C- }+ L5 z" i  l  g
  1847. ; http://php.net/exif.decode-jis-motorola
      N4 H, b' h0 t  O+ R
  1848. ;exif.decode_jis_motorola = JIS, d6 O* I0 P$ ?6 m
  1849. 5 I5 e2 T/ l: v9 G
  1850. ; http://php.net/exif.decode-jis-intel) F' t: B& N! x5 G5 Z+ G* J/ s# p) o
  1851. ;exif.decode_jis_intel    = JIS& ?* V% e! h. [( s! Y

  1852. 1 e" S8 q5 A  w+ p- G6 x
  1853. [Tidy]/ P# a! `' g4 z9 X( R
  1854. ; The path to a default tidy configuration file to use when using tidy
    : Y! z* H" J8 V
  1855. ; http://php.net/tidy.default-config& K, I2 [, E7 I/ W5 ?+ u3 l: R
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 L3 K/ h+ ]5 g  q! m- A

  1857. ! N8 d7 S, {; L& N2 e" i
  1858. ; Should tidy clean and repair output automatically?* R! o* f; r- d, V1 c
  1859. ; WARNING: Do not use this option if you are generating non-html content
    3 n1 y* d0 p8 u; }  f
  1860. ; such as dynamic images
    ( t1 d: y9 ?; a  v1 R  c
  1861. ; http://php.net/tidy.clean-output7 C* X! I: _9 O) e
  1862. tidy.clean_output = Off
    # e; B# z3 G1 ^, J! \/ ^
  1863. ; R6 J7 j9 g& v0 K" u; Q
  1864. [soap]+ t- x' I/ ]& y9 e
  1865. ; Enables or disables WSDL caching feature.
    ! j0 I4 r1 y9 D+ u
  1866. ; http://php.net/soap.wsdl-cache-enabled- Q, [6 y. W; w5 ~: a' D* D/ P
  1867. soap.wsdl_cache_enabled=1
    4 X: K* G5 L1 m0 s4 h
  1868. ) E9 k2 h3 z. }( O# W4 O2 ?
  1869. ; Sets the directory name where SOAP extension will put cache files.
    $ R# J3 e0 X8 t! B5 ?0 V  E
  1870. ; http://php.net/soap.wsdl-cache-dir. V+ M# x- T/ j6 c# T( f  t# C
  1871. soap.wsdl_cache_dir="/tmp"7 x/ q6 t; A+ R! q( w0 A1 J( N

  1872. 0 u) u6 p/ R! u1 B
  1873. ; (time to live) Sets the number of second while cached file will be used9 R2 s, |9 _  L8 c
  1874. ; instead of original one.. i4 e2 Z: ~) \
  1875. ; http://php.net/soap.wsdl-cache-ttl3 r* F3 {# t+ x+ e& s
  1876. soap.wsdl_cache_ttl=86400
    & R3 {$ e, y/ q+ X5 [/ ?4 E. P! @& i% Y

  1877. . _- w# x4 F- K" D+ v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    3 y" b  s+ x/ k6 q* p
  1879. soap.wsdl_cache_limit = 5
    % u1 r% Y) Y% L: N
  1880. & n) a) `% Y2 N2 D) ?
  1881. [sysvshm]
    7 v: j8 ]# R3 d
  1882. ; A default size of the shared memory segment
    8 x: b7 _% v, Y
  1883. ;sysvshm.init_mem = 10000
    4 [2 s. u; I6 [  u4 }- L- C
  1884. ' z" ~! n& p2 ]) [- Q) ?3 g6 {
  1885. [ldap]( p+ V* c/ \8 X5 i% w
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & [* _& Z6 ~% _* C
  1887. ldap.max_links = -1  d) j: H3 p8 S/ c; T
  1888. . n9 R* H5 r* T; W# K
  1889. [mcrypt]. y9 ]! C& t0 ]$ _  {4 I! G
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open% }- `% ?, w( c% q4 r

  1891. / _* W9 a) g$ E- o. @  Y
  1892. ; Directory where to load mcrypt algorithms
    7 G8 ^% q4 Z3 U, o& {$ W
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) I# X2 y7 O: e1 {
  1894. ;mcrypt.algorithms_dir=! W. w) g6 Y2 L

  1895. 3 t$ c0 K8 u& [
  1896. ; Directory where to load mcrypt modes
    5 s) `( a- G2 E
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * A9 S7 k2 x  O/ r4 z
  1898. ;mcrypt.modes_dir=; Q/ M# V" P- @- Q8 O  E

  1899. # s6 }5 V+ E0 l; O8 v; z" z- C3 P. j5 J
  1900. [dba]7 Z/ K1 S0 T* S" U( R8 l! V2 C& z) c4 }
  1901. ;dba.default_handler=
    3 N  |3 \0 F5 ^- m  P

  1902. / P4 F' H& |" U7 J# r
  1903. [opcache]
    " B& d: @+ t4 e$ ^0 I
  1904. ; Determines if Zend OPCache is enabled7 ~* P4 _) D  E8 ]6 p: V/ M7 g
  1905. ;opcache.enable=0
    ) L$ m8 G# U! H+ [+ ?1 B$ x

  1906. $ b& ]' j4 X7 P
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP( g9 ~. B3 j7 X
  1908. ;opcache.enable_cli=0
      @2 k& k  g1 P+ D+ b+ K' [7 {
  1909. 8 I2 b' \- x. G! d0 r
  1910. ; The OPcache shared memory storage size.
    # v+ B2 Y/ V9 l  K; N7 f+ o8 |
  1911. ;opcache.memory_consumption=64
    7 \. W/ c6 _7 c5 z
  1912. 5 Q* e+ @6 w+ L* q/ y
  1913. ; The amount of memory for interned strings in Mbytes.
    ( t; Y9 N4 l* o
  1914. ;opcache.interned_strings_buffer=4
    1 g" a  z/ B% R& X5 d) l

  1915. 2 y: J+ g( T" v6 l
  1916. ; The maximum number of keys (scripts) in the OPcache hash table., s4 g; T" r9 Q1 l# \
  1917. ; Only numbers between 200 and 100000 are allowed." ]+ P! a5 Q9 A- \/ N
  1918. ;opcache.max_accelerated_files=2000/ E+ D# A! G! Z

  1919. 4 P, W! Z( l8 a: E
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : R% j0 K( e% @$ b6 ~. X6 S+ Y
  1921. ;opcache.max_wasted_percentage=5
    & d) |9 t7 U3 j# g- o% @' S; E
  1922. + n0 b+ _% x! _( u( ~
  1923. ; When this directive is enabled, the OPcache appends the current working
    - N0 y- d3 J" u
  1924. ; directory to the script key, thus eliminating possible collisions between
    3 j$ M8 U0 k0 a% |
  1925. ; files with the same name (basename). Disabling the directive improves6 r. ?4 H6 z3 L$ T
  1926. ; performance, but may break existing applications.7 B# L2 o3 C4 q9 U$ {% `, }5 o" V
  1927. ;opcache.use_cwd=1
    ( g4 H! }2 i0 \) r1 }" M
  1928. / m. D+ L- \4 F& V# u
  1929. ; When disabled, you must reset the OPcache manually or restart the
    0 Q/ L" f$ W. ~4 ^5 \0 o% G7 l
  1930. ; webserver for changes to the filesystem to take effect.
    5 m% d! E" k1 E( w
  1931. ;opcache.validate_timestamps=1/ O7 Z0 ?; P4 _, t9 @; f! w$ A4 v

  1932. 1 O8 Q  b- k6 I
  1933. ; How often (in seconds) to check file timestamps for changes to the shared+ I4 h* q/ r; _+ b
  1934. ; memory storage allocation. ("1" means validate once per second, but only. [5 }8 z5 t8 J. @
  1935. ; once per request. "0" means always validate)
    " ^' @3 v3 N2 [3 Y  `; D
  1936. ;opcache.revalidate_freq=2/ A1 ~7 Y% `; D' h+ |( V

  1937. 9 r* g! _8 u  a. ~
  1938. ; Enables or disables file search in include_path optimization( o! x) m( J1 u5 x% C6 V) y" W* {
  1939. ;opcache.revalidate_path=0
    % u/ e" q% j# V) l# ~, \

  1940. 7 K& v" h3 `# F- C- h
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    0 M5 G% G* O- M' U& M. U
  1942. ; size of the optimized code.
    " x+ _: G! p1 s& r  X4 ^5 G) n
  1943. ;opcache.save_comments=1
    , A+ h- B% |' P8 v( E

  1944. 2 h( O# Q7 K" M0 d
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"! Q8 i  k5 z% u6 `
  1946. ; may be always stored (save_comments=1), but not loaded by applications; Q' `5 l9 M" |( ~# B" O7 W
  1947. ; that don't need them anyway.0 k" S. H% I. ]9 o* n8 b
  1948. ;opcache.load_comments=16 F5 [2 K& J5 ~+ j6 {7 ?

  1949. ' t+ E9 E2 T3 |: l
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * K0 Y4 L# n- m! L- d4 q: m
  1951. ;opcache.fast_shutdown=08 ]$ Q, m5 X) X$ J

  1952. ) S2 s, L. q. ~; i( \
  1953. ; Allow file existence override (file_exists, etc.) performance feature., n! t5 o1 Q8 z
  1954. ;opcache.enable_file_override=0
    0 b: Q0 d. L$ H3 Y* F
  1955. . K3 P8 M+ b4 H$ g1 s2 k
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 X" e9 F* [: g: F' o' H
  1957. ; passes3 I+ Q& L- t% e' c4 }0 E( u
  1958. ;opcache.optimization_level=0xffffffff- d1 @) Z+ G6 f
  1959. . I/ S- e6 d3 g8 Z) H" s
  1960. ;opcache.inherited_hack=1- G9 Q) w+ T3 u
  1961. ;opcache.dups_fix=0( C( c9 W8 t: b' i9 n

  1962. + ]9 x2 ~4 I  m5 k0 P" d: I
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    5 K1 q9 S& t: Z- i
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    3 P. I/ L' F& o% c0 x* D/ t0 u
  1965. ; that should not be accelerated. The file format is to add each filename
    : W/ p8 r9 S& ]$ [6 \
  1966. ; to a new line. The filename may be a full path or just a file prefix% L% I. @1 D4 v
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' L& e* b  J9 J( N. f; g
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! S' L2 I6 m# C
  1969. ;opcache.blacklist_filename=) Y' a7 E; {6 u  f+ \+ E9 t, a& Y
  1970. - M2 ~  o$ v5 m# S8 k
  1971. ; Allows exclusion of large files from being cached. By default all files
    : |. K. ?) I( {, M8 g
  1972. ; are cached.
    " P6 C  w1 T! Y
  1973. ;opcache.max_file_size=0
    ' m( G' }0 R- g

  1974. - @: j0 x, }2 a! \5 @2 c
  1975. ; Check the cache checksum each N requests.
    " `0 d* Q( H$ L5 |7 b* ^& G
  1976. ; The default value of "0" means that the checks are disabled./ j8 S* P3 I+ t0 @9 R7 e( |. a
  1977. ;opcache.consistency_checks=04 U1 B# r% j, P

  1978. 9 G; u) M( F5 h9 ]) M. o$ z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    3 b3 \2 }5 h5 f* P; J
  1980. ; is not being accessed.
    $ m4 n* H- J& l3 D
  1981. ;opcache.force_restart_timeout=1806 v- j) k2 l/ d8 x( Y, w" _2 `

  1982. 2 W! G" q: D0 n3 j8 k" O" e
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ; B# X  B) l. \/ \1 P
  1984. ;opcache.error_log=9 P. W5 }% E& c2 j# K' w
  1985.   B5 g+ A! w9 f, E
  1986. ; All OPcache errors go to the Web server log., ], m+ A. v- B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    9 ?; F+ B* o3 C" [1 H- o
  1988. ; You can also enable warnings (level 2), info messages (level 3) or" P- E0 ]. M3 |
  1989. ; debug messages (level 4).
    2 Y7 S6 j- t* }. l1 ?5 x. D
  1990. ;opcache.log_verbosity_level=1
    - t  G0 w4 x, R( j9 L
  1991. & X; ?4 a' I& o- {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * J+ k% r# ^& }2 l9 U1 e
  1993. ;opcache.preferred_memory_model=, Z0 O$ ]% B" z* r7 C; v4 x
  1994. + l; G. f1 q9 E+ i; m
  1995. ; Protect the shared memory from unexpected writing during script execution.5 b3 E( }' n; z  ~. ]
  1996. ; Useful for internal debugging only.
    8 E, w( Q5 r1 E( D# a6 ~( C% R
  1997. ;opcache.protect_memory=09 h4 e3 f" p- S$ H
  1998. 7 Z* t- R  O8 E2 O& L  Y; e
  1999. ; Validate cached file permissions.
      W8 G, e6 V9 Y/ D5 M( Y
  2000. ; opcache.validate_permission=0
    4 h1 \: R6 l4 k
  2001. . n# Z3 E0 o/ L/ R8 a3 ~/ d  [( b( z
  2002. ; Prevent name collisions in chroot'ed environment.2 z$ I0 Z, G6 I; f' @% j; Z' W* B' \
  2003. ; opcache.validate_root=0
    ; I; g) D1 A) Y( W4 `4 k

  2004. " z! e% Z4 [' q9 a
  2005. [curl]
    # |8 ?. Y7 h: n! S) s% T9 w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    , A$ v- }, m- }
  2007. ; absolute path.
    8 B5 N- L6 A" i8 q, l, J; H
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* y$ U8 T+ n8 p: V; G

  2009. - J/ K7 V# C. {% k$ D1 E4 G) ^
  2010. [openssl]9 w6 i$ c/ U& n  o' u. e  y7 _  Z& p
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem& t0 a8 m1 h/ }# h
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should! f0 D: K/ E+ g" M
  2013. ; not specify a value for this directive as PHP will attempt to use the7 Q8 a: O3 t$ B. x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ; y7 U! ~. ~0 p7 `) a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context2 x! H+ D! z( f: m7 J
  2016. ; option.9 T6 o" ^8 l  f% z$ i, e
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , y3 U& F7 H1 t- |- p

  2018. 7 Y* a3 @# q5 `7 q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! o8 h9 k0 P- A" A* `7 j
  2020. ; directory pointed to by openssl.capath is searched for a suitable8 `% x6 X; I, z" h& E1 P- \; u
  2021. ; certificate. This value must be a correctly hashed certificate directory.  K1 \2 O! n# z# @* X
  2022. ; Most users should not specify a value for this directive as PHP will2 V9 u/ y& @, K
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 S/ o  h. Q4 C6 Q' W: B
  2024. ; this value may still be overridden on a per-stream basis via the "capath"( F! [7 O) W, x
  2025. ; SSL stream context option.
    7 t5 h+ X! [9 d$ n& M' X( F* D
  2026. ;openssl.capath=3 B* O4 S' W" q" {, t

  2027. ; H! i4 Z4 H/ m& U# {1 `# q/ A
  2028. ; Local Variables:
    * L0 b, J; S2 F1 a
  2029. ; tab-width: 4: g! v# X% Z' b# D
  2030. ; End:
    4 b/ T, E" ?4 e$ p% J! ^3 I/ J

  2031. & X1 D9 R6 ]4 b3 g: O4 U
  2032. ;eaccelerator5 u- i- G4 s' N3 G) M
  2033. , T  n/ o3 N: ]. O7 @$ s+ R% O1 a
  2034. ;ionCube: a# i  p" ]9 n5 k5 q( F1 `7 a
  2035. 6 i& H0 x% X; @" z  K5 z* [$ e# e+ J& u
  2036. ;opcache
    / X! x9 L9 E, s$ O

  2037. . h. _- D5 T! r, b
  2038. [Zend ZendGuard Loader]
    4 d; j' C, f4 o0 `: q: s. q0 B3 O
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' n7 s, y8 s% r
  2040. zend_loader.enable=1
    & O. Z% t. `6 j5 n
  2041. zend_loader.disable_licensing=0
    7 X, \  O) l# Q! L! c* B
  2042. zend_loader.obfuscation_level_support=3
    , B% D1 ]% B8 ^% e; p. E
  2043. zend_loader.license_path=7 R! n- a4 V' e
  2044. 2 m4 |  M# g4 s, N' ^+ {( B- e" z
  2045. ;xcache
    , O5 Z# h2 X) D  W( d0 h! U
  2046. , k& {) Y$ A8 }$ q
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
; q6 T$ o, T* `  e; _5 x' e* L
- w! D9 d/ j+ u( S, F
: v1 f* w2 E) z# T8 mDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,6 K! a$ J6 g/ M/ s0 M0 x3 O
% l( V# P2 n5 X5 W: f) I' S# h
Discuz!程序版本选择:% }) M! v0 V  W, E- ?1 d8 s) }* k
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
. n2 s4 Q* a% `不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:* _6 ^! K6 K% ~3 G# i5 N  ]: x  A- `$ F
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。
) k7 @" J, g$ k$ r) @; s& d, ]; p
Discuz!插件模板版本选择:. f5 I( M! V& W( C2 q& {2 w
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
+ m; Y9 n! m4 R2 T. Z) F. N针对这个问题做个统一的普及:4 M* B: t$ W% f3 F* d9 ~2 a
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
8 _0 H6 D: g! D3 [; _- v, Z! {' b0 D5 s! [& V* `* }/ Q+ v
所以9 r4 U- B+ o& K& t8 ]
适合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的二级域名。, O+ v' l* Y  F) z
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
3 E- C0 m2 r8 e; o1 M0 H, I注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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