分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ @4 m$ |8 @6 W: t* M
5 q* p9 ~8 n0 e+ b# N
  1. [PHP]( N. k# Y9 w$ E4 t" I
  2. 0 Z/ k& Q% V2 a
  3. ;;;;;;;;;;;;;;;;;;;
      l' |( f2 g; o: s3 m7 g8 |
  4. ; About php.ini   ;
    4 ?1 d  n$ b7 \- y
  5. ;;;;;;;;;;;;;;;;;;;* s! z) @8 j2 N! [! H
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 ]3 ^3 w3 a3 ~: i# U
  7. ; configuring many of the aspects of PHP's behavior.
    ; ~; h: O9 ?7 m$ v2 n# Q7 q- r) C5 c

  8.   u3 M9 l- L+ G) o5 }6 _
  9. ; PHP attempts to find and load this configuration from a number of locations.0 {- l& F2 ?) W1 Y3 I
  10. ; The following is a summary of its search order:
    ) j! M0 F  _7 D. s5 J9 T1 a* `3 n5 f
  11. ; 1. SAPI module specific location.+ |! d6 D- L3 Y/ w' c+ p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 Q( N8 K; }) C; v6 x  k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    3 p6 Y% f0 ?% s& u: C0 c& E' p1 Q
  14. ; 4. Current working directory (except CLI)
    5 o: J. k- \! _! q4 z1 \3 B+ A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 l3 [, i: i) r- }4 I" `
  16. ; (otherwise in Windows)
    7 h! o* {* J, @7 y! m9 O! k* }; g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the4 F$ j4 w/ S  C" {+ g( k/ C
  18. ; Windows directory (C:\windows or C:\winnt)$ Y$ ?6 j! N4 o
  19. ; See the PHP docs for more specific information.  E+ T8 D, N$ t) x# z8 X) Z9 j1 e
  20. ; http://php.net/configuration.file# J1 p4 \" L7 A  _; J& @
  21. & r( m7 i  ^+ n" I4 z  T
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: @; x) q$ W- a( R2 T2 Q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).$ k- z% W; U; m# C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ v+ b* @# S1 A2 ^$ n, K
  25. ; they might mean something in the future.
    - y! j1 y) b7 z

  26. 4 p( c% l+ j7 R# Z7 X, N- g' ?
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ Q  w% P* g# g+ l( L
  28. ; apply to PHP files in the /www/mysite directory.  Directives  b. F$ V% V! D" j
  29. ; following the section heading [HOST=www.example.com] only apply to
    - E* h- U: O, Q+ }: T2 s" g5 V
  30. ; PHP files served from www.example.com.  Directives set in these
    9 H: `3 V) _2 b( ~/ G
  31. ; special sections cannot be overridden by user-defined INI files or2 }+ O5 K; [8 b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    9 m& w- v9 Q) N' P: D0 L
  33. ; CGI/FastCGI.
    5 Z5 T9 n$ w) g4 g/ F" G
  34. ; http://php.net/ini.sections( B5 f1 X) b- e- c; G; F
  35. , T2 I  _7 _6 w6 `
  36. ; Directives are specified using the following syntax:# C1 ~( B3 }# t! l% N0 q' J" n
  37. ; directive = value& R9 f. m# l1 J
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 _$ }% P/ ]4 Q$ X6 G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 c( d, s) i2 R% u7 M1 o; s2 u
  40. ; There is no name validation.  If PHP can't find an expected) ?7 ]4 ?4 z' m3 V/ q7 T2 Y
  41. ; directive because it is not set or is mistyped, a default value will be used.
    + r6 C# N" [" f2 u, p

  42. : i6 ?* R# d7 S+ ~1 I
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 a3 p% I/ w% p$ W, F- G& `
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression. k0 h- N* ]) {* o1 j% O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: k* j. y' M, r
  46. ; previously set variable or directive (e.g. ${foo})+ K) u! k! }, k
  47. ) L) C0 L$ o0 S2 H0 k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:- k( P6 D$ _: A
  49. ; |  bitwise OR6 T& ^6 _6 Q1 d$ S& |4 |
  50. ; ^  bitwise XOR
    ; t1 `$ S) a6 C, B
  51. ; &  bitwise AND3 u7 R$ [' A9 G3 w
  52. ; ~  bitwise NOT- @8 J3 M6 X: g/ g. i& l- J
  53. ; !  boolean NOT& k! V9 \5 |2 u9 p0 T4 H6 Z
  54. 9 g/ J/ O) q4 Y9 F4 f) @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& A8 R' H8 t1 o$ m) z7 T( v
  56. ; They can be turned off using the values 0, Off, False or No.
    . h4 D6 u( B* c/ H  K; j

  57. % D8 e" ^) n3 r2 r9 j1 \
  58. ; An empty string can be denoted by simply not writing anything after the equal- _* G' I. D- |7 Z7 @: }: ?
  59. ; sign, or by using the None keyword:& }5 u! M. g2 Z1 {+ J5 D
  60. ! {1 U4 [) S( L* t4 c6 z
  61. ;  foo =         ; sets foo to an empty string
      r' _8 v; K" S6 ^, U
  62. ;  foo = None    ; sets foo to an empty string" P( V# i% l/ e$ D
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 B3 N0 ~9 [8 p. x" W' f
  64. / A  v3 w4 t! R$ |0 f8 l& }" K
  65. ; If you use constants in your value, and these constants belong to a
    6 @( O/ \2 Q* a) U+ @  U
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( J1 a9 x5 d! d; k# Z
  67. ; you may only use these constants *after* the line that loads the extension.
    ; e4 U# L0 O6 q. k( L; I, P

  68. ( y' [( f/ r( E. _4 ^
  69. ;;;;;;;;;;;;;;;;;;;; g2 p( x. e4 R) P4 c- }9 V9 u& b
  70. ; About this file ;& V% k; O8 y; A5 p( \
  71. ;;;;;;;;;;;;;;;;;;;
    / W2 N4 u4 r& u/ G: p
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    6 R! X/ k0 l8 a0 L1 R* f
  73. ; in production environments and one that is recommended to be used in& g5 P" Z2 Y) K
  74. ; development environments.) Z2 O+ z/ C) O8 n8 k

  75. , b+ x, O5 G  |* M' q6 M
  76. ; php.ini-production contains settings which hold security, performance and
    / f$ f/ W. j, ?; M
  77. ; best practices at its core. But please be aware, these settings may break! g6 H6 b3 T2 O3 P$ @# M8 D5 M2 j
  78. ; compatibility with older or less security conscience applications. We9 z  K) }# q" `; s0 \
  79. ; recommending using the production ini in production and testing environments.
    . E" `$ P) P5 C3 {
  80. 2 H$ i  h% z, k0 A" R( H* Y+ [
  81. ; php.ini-development is very similar to its production variant, except it is
    " |% a' i+ l2 z2 g
  82. ; much more verbose when it comes to errors. We recommend using the8 Z4 M# R& D. N, b
  83. ; development version only in development environments, as errors shown to
    ; n  W+ M% x/ I2 z+ \* u0 l
  84. ; application users can inadvertently leak otherwise secure information.% q, P! |( o% W% W3 [0 ^' _

  85. - w% b6 Z( h+ f6 O, ^5 d: S
  86. ; This is php.ini-production INI file.
    2 s# p- R. c) f% }+ ?# A; I

  87. ! R+ m( [* R$ \% N: c5 w
  88. ;;;;;;;;;;;;;;;;;;;) {0 `9 n. K  P* L3 a/ C4 D
  89. ; Quick Reference ;
    8 w6 U8 D9 b$ \7 m( r, g; {3 k5 r. f$ j
  90. ;;;;;;;;;;;;;;;;;;;6 H: t% F0 t. y5 @6 _3 b- O7 q% h
  91. ; The following are all the settings which are different in either the production% k2 p4 W% ^+ `" W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; L4 ?. O4 E* B# J. M5 d8 B$ U
  93. ; Please see the actual settings later in the document for more details as to why, _$ t. O  y+ Z' n3 Z
  94. ; we recommend these changes in PHP's behavior.
    8 j9 U" ?& r7 u9 ?; ^6 u# l# C
  95. ( z+ U3 n( @$ D% f: \* A
  96. ; display_errors4 O3 x4 f4 N9 j' ]! Z
  97. ;   Default Value: On9 @7 f3 f, R" i3 P7 g
  98. ;   Development Value: On
      _. J1 L1 t( N0 S5 X6 ?1 \
  99. ;   Production Value: Off5 {* V6 r0 k$ W) h3 T: _
  100. . N2 @1 r( Q. I1 _) N% c; o5 d8 u/ Q  u
  101. ; display_startup_errors( r1 S  p" U9 n. ]: ]# z4 _3 n
  102. ;   Default Value: Off
    / l/ ]. [6 ^6 p4 o( @+ h: x
  103. ;   Development Value: On
    7 T% c" S6 r4 D7 @+ Q9 ^; K
  104. ;   Production Value: Off8 c6 {7 q. H5 S

  105.   ~/ |% @1 s9 R" F
  106. ; error_reporting
    ( E# ]4 C0 }% L, @. [* J) k
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! Q5 e! s( q4 U0 m
  108. ;   Development Value: E_ALL
    , @; p9 \4 \2 F" T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 d/ Z0 ]' C3 r5 v" }* U- A9 g
  110. % [; E* V8 `* f. i4 H( w
  111. ; html_errors
    ; L+ z; @6 \5 k0 D) d
  112. ;   Default Value: On2 P; e6 Y6 P' K; U+ [
  113. ;   Development Value: On# |+ D# i$ q: X2 G  D. X, L
  114. ;   Production value: On
    + m6 N5 b% @, A& t8 P( w4 `

  115. 0 m0 n8 X& E) n& n2 f* j
  116. ; log_errors
    * W4 @1 h' ]( {0 @
  117. ;   Default Value: Off4 T: t5 o* k$ w& }
  118. ;   Development Value: On% {# g% z$ F; x7 M, m5 t. R
  119. ;   Production Value: On( g8 ^/ l( P; ~
  120. 7 H) U2 _$ d/ }4 J
  121. ; max_input_time
    4 e9 o, Z! v! G. B
  122. ;   Default Value: -1 (Unlimited)
    6 F( T/ l; K" U$ R/ v8 P5 H
  123. ;   Development Value: 60 (60 seconds)' }; k3 L- o5 W6 J1 o
  124. ;   Production Value: 60 (60 seconds), O1 B& W  L$ t

  125. & y( h7 ^0 C0 K& X! h$ O, \& i. H7 J
  126. ; output_buffering# X* K: C, I6 r/ j5 w5 K2 W6 M! Q$ G. l. U
  127. ;   Default Value: Off1 |, a2 T# t" d; F
  128. ;   Development Value: 40960 D  }' T; t& P) H9 y# C# G# _: o, U
  129. ;   Production Value: 4096
    ) a  L. Z, e* M& t- }$ f, N
  130. 1 a( e( q1 t8 I. r. T* R
  131. ; register_argc_argv
    # f/ X2 x* C" N/ ^2 }
  132. ;   Default Value: On
    " S: x  p) D( F1 B" }
  133. ;   Development Value: Off
    / t( |" f$ @$ J( K- c! v' u& k& n
  134. ;   Production Value: Off1 I6 x# }3 Q' a3 M
  135. " O7 H- s5 e% X" v
  136. ; request_order! w$ V1 G# H& k2 U
  137. ;   Default Value: None' ^6 f$ [2 s& `+ m
  138. ;   Development Value: "GP"
    / z8 D3 f9 x3 u
  139. ;   Production Value: "GP"3 }' n1 q0 t9 [/ J" j% W+ i2 F
  140. 6 `* o. I0 }& L5 r" I& e1 x
  141. ; session.gc_divisor1 h) ^( E+ j. H# X" R
  142. ;   Default Value: 100' W" r$ i. u1 W' s) M; ]3 o
  143. ;   Development Value: 10007 k4 X0 K# Z! m. U: ~4 w$ p
  144. ;   Production Value: 10000 g6 n  X7 U/ k5 B
  145. + C! i  n# r  i& p: i
  146. ; session.hash_bits_per_character4 F/ G9 l! \1 _: ~
  147. ;   Default Value: 4
    " c9 s  j% j( P$ F
  148. ;   Development Value: 55 M0 L: X' F( q; r( j
  149. ;   Production Value: 5* R: n9 n2 v# q1 [

  150. ' J6 g9 f. ~: W" l3 c
  151. ; short_open_tag
    / c7 {" Q" x/ g1 {- v4 E& ~
  152. ;   Default Value: On
      l" E$ d4 ~# e1 F1 n
  153. ;   Development Value: Off5 o% h( O9 D: ]& F" u, Y5 b/ E2 E- S
  154. ;   Production Value: Off% z4 A0 ^7 Y5 W. C9 I/ X1 `
  155. ( j$ ?% r, b9 O- H4 I+ v
  156. ; track_errors1 m: D* g  L: S: i( n3 j0 ?1 \3 x
  157. ;   Default Value: Off" [' ^/ i2 ]0 ]0 C
  158. ;   Development Value: On
    1 V' D3 w' b+ m7 g  D. g
  159. ;   Production Value: Off( z% I6 l- M8 Q* T- Z# d, ^
  160. . q1 J* L9 u! E% t
  161. ; url_rewriter.tags8 b# J  E5 e$ l
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="; z. A' O) i" R9 F) m0 I
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 n$ I& V& F& w9 S% q6 d& q  [8 X
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- _. E8 N, |1 T$ a. q
  165. 3 z' h0 W9 j7 _6 z  D4 _7 f
  166. ; variables_order" c7 i; D( I! V* r
  167. ;   Default Value: "EGPCS"
    ( a( x: x/ J6 I) M1 S5 x" ]
  168. ;   Development Value: "GPCS"* k9 c$ v3 j) x+ L* ~: g
  169. ;   Production Value: "GPCS". F+ Z) c. P2 E+ k& J3 E- g* |' ^; g

  170. 7 J$ C: G% m9 e- Z1 p
  171. ;;;;;;;;;;;;;;;;;;;;
    - K& P* L& W5 y$ E3 A
  172. ; php.ini Options  ;
    ( F( N. s5 E1 s$ H- _& L$ d; z7 ]
  173. ;;;;;;;;;;;;;;;;;;;;  U- P6 c# n: L' Y8 L7 v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# E) `# B( D; e& f1 e) d
  175. ;user_ini.filename = ".user.ini"$ C: `: ~* g# y5 P: f

  176. , x4 Z0 Y: J7 U5 [  H0 x! S3 r
  177. ; To disable this feature set this option to empty value7 l8 n9 c2 v1 E5 Z4 [/ J& x& L
  178. ;user_ini.filename =
    * }8 P; t) b2 ~1 K8 e! {1 t* |

  179. 9 h4 ]2 \  Y/ R6 S7 C
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / b) T# H1 e- V; B3 A
  181. ;user_ini.cache_ttl = 300
    - d; Z% ~! |' U& Z
  182. " |5 m0 f( l" ?, I) d% f$ a) F
  183. ;;;;;;;;;;;;;;;;;;;;! q1 K( S- R; B; |7 |
  184. ; Language Options ;$ ^0 V: V" D4 _  f2 f
  185. ;;;;;;;;;;;;;;;;;;;;
    * d) d  F2 v( w" O4 t' P
  186. " L! t) f0 P% S7 W2 S" V
  187. ; Enable the PHP scripting language engine under Apache.
    . p! \# j8 s" x8 j
  188. ; http://php.net/engine' W. l6 H* d/ w$ d( b9 O
  189. engine = On1 W% S9 S$ c6 m/ g8 S

  190. 9 W# r) T0 k1 w& e( a; u8 G( \
  191. ; This directive determines whether or not PHP will recognize code between
    % K; c  T$ z$ S3 X
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 n1 \  V+ t, |; E
  193. ; generally recommended that <?php and ?> should be used and that this feature
    0 i* c& F. D; Z* Q1 Q
  194. ; should be disabled, as enabling it may result in issues when generating XML, ^6 A6 L8 K% P; d! x. `
  195. ; documents, however this remains supported for backward compatibility reasons.
    : y& j7 d1 ^0 B$ l$ e- L
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, D& m' f1 \2 A' E$ p- K
  197. ; used regardless of this directive.
    2 n5 o! N: a& m! ^# ?, }9 g
  198. ; Default Value: On* f# O+ B; E6 Z; R$ O; l+ y9 p6 C
  199. ; Development Value: Off
    * d; y& w0 L0 Q2 F/ F& L/ m! {
  200. ; Production Value: Off1 Y+ ~$ j$ M# U
  201. ; http://php.net/short-open-tag
    ; Q; Y5 v: _9 [+ F7 L% b. B: c
  202. short_open_tag = On- A; u" T1 |: D" J# H: r% q* I6 V
  203. . ~8 v6 `* d' V- I( E6 Q# m
  204. ; The number of significant digits displayed in floating point numbers.
    ! o3 f% @  X5 w6 ]
  205. ; http://php.net/precision# G+ k  E1 i" s% a6 h4 S4 M
  206. precision = 14
    ; \# ~7 A& J7 b2 @0 q& q! M

  207. 7 k& L7 O- z4 _( i3 F+ f2 J# Y
  208. ; Output buffering is a mechanism for controlling how much output data( p2 s2 k" P5 f# }/ ]  t8 I- ~
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 D* U- R- A' \
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ' L' n7 Y3 n3 n& o5 I& ?+ q, ~
  211. ; will send that data in chunks of roughly the size you specify.* C2 y9 C. t( ?3 ]
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    9 V# {1 m: c' W  N
  213. ; interesting side-effects depending on your application and web server.6 I4 M5 ~- m5 i9 W* g5 Y. I
  214. ; You may be able to send headers and cookies after you've already sent output+ M: O7 N. Z' u% L# ^% X- @
  215. ; through print or echo. You also may see performance benefits if your server is, A- G7 p% V5 a2 b! w( j
  216. ; emitting less packets due to buffered output versus PHP streaming the output
      p: s8 [$ {4 |# f1 W+ T
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % A! a* j9 h+ e
  218. ; reasons.
    - B1 Z% V0 F) q" M% D
  219. ; Note: Output buffering can also be controlled via Output Buffering Control0 ]$ L3 v6 H6 I& @: A) k
  220. ;   functions.
    % t4 G& t. z* y1 f! H/ V8 H
  221. ; Possible Values:
    ' C% p4 F8 u) G8 n
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 S# \0 c4 q! F0 O" Y
  223. ;   Off = Disabled+ B- I* t) |. d+ V$ J1 {; C
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    3 O2 h  q! q9 I0 w  W; H3 i# G- ^
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 X  C6 e: H5 L% v+ W: W: ?
  226. ; Default Value: Off
    / ?- p2 K8 r+ m
  227. ; Development Value: 40961 y" b2 S' b9 s* p, f- O& r
  228. ; Production Value: 4096. O0 W3 `; g+ u5 _$ |3 t
  229. ; http://php.net/output-buffering
    , ]% h. k* y2 M" H
  230. output_buffering = 4096
    1 O# T3 k& f0 _. ^: K+ `7 f

  231. ! t6 @# g" k2 N; K
  232. ; You can redirect all of the output of your scripts to a function.  For
    ( U4 Y: U* }. q6 k, ?( t+ \6 R) G
  233. ; example, if you set output_handler to "mb_output_handler", character* F, w  y! r0 X. q- w
  234. ; encoding will be transparently converted to the specified encoding.
    / G& X" P3 L' c4 X; o5 {
  235. ; Setting any output handler automatically turns on output buffering.
    & Z: v+ m3 V7 y! P$ @
  236. ; Note: People who wrote portable scripts should not depend on this ini
    0 K5 F* K# k; g" Y2 v- d5 o
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 j9 }- v2 W( Y9 U
  238. ;   Using this ini directive may cause problems unless you know what script, j1 y! f7 A8 G: d: i
  239. ;   is doing.! l- ?( j1 z- j2 p3 ^
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 w# ^& a4 t+ K# x1 ]
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    , l5 O* [/ _; W( M; t% ^* x
  242. ; Note: output_handler must be empty if this is set 'On' !!!!3 g5 n4 {: D. ]" O) h
  243. ;   Instead you must use zlib.output_handler." N1 Q2 Z# E3 n8 z5 @
  244. ; http://php.net/output-handler& j" [% x  L; O" v, y
  245. ;output_handler =
    4 W# W* Q  o. O% {+ I0 \. k( i
  246. , z% _/ R7 i. N# j5 E8 B
  247. ; Transparent output compression using the zlib library
    & \; G& W9 F2 y! a- N9 ]
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size5 I; R/ b$ `* g4 _" Q* N# P  @
  249. ; to be used for compression (default is 4KB)
    0 [+ S0 u7 D' ~! d  E
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 ~! w9 {% f! S  @4 ]7 [- J0 a
  251. ;   outputs chunks that are few hundreds bytes each as a result of1 T) ?0 Z" g5 Q2 R
  252. ;   compression. If you prefer a larger chunk size for better
    2 L0 j; K3 Z$ x0 a
  253. ;   performance, enable output_buffering in addition.6 ^. L: a$ U) w/ ^& N1 C6 {( X
  254. ; Note: You need to use zlib.output_handler instead of the standard
    7 X) ?3 i5 U3 T6 u* A
  255. ;   output_handler, or otherwise the output will be corrupted.! L, z  n0 Q' d
  256. ; http://php.net/zlib.output-compression/ d/ T- J3 r/ `4 U, S- N: y
  257. zlib.output_compression = Off
    2 z# E3 ^$ W% r. x& ?3 W6 D3 e" R
  258. : T- \! X$ c3 c0 G# W% }
  259. ; http://php.net/zlib.output-compression-level
    * ?) x- M3 w* U' `: f% y
  260. ;zlib.output_compression_level = -1
    : A% F; O$ B4 y9 A
  261. ( ?8 g, u2 n9 n+ w
  262. ; You cannot specify additional output handlers if zlib.output_compression
    + \! p; Z: k% W& b& |% P( Q
  263. ; is activated here. This setting does the same as output_handler but in" k# O+ H! ]5 D" w, E$ m; v- z
  264. ; a different order.
    3 q6 [; \9 a$ }. ^2 c- j9 B
  265. ; http://php.net/zlib.output-handler
    & p6 {' t/ Q$ j: J) a! Z
  266. ;zlib.output_handler =% h6 V, {7 l& y1 z* K2 a& ]

  267. / w& J! X0 z# k' [$ ]
  268. ; Implicit flush tells PHP to tell the output layer to flush itself6 W  N* N1 i! K, p% X4 m
  269. ; automatically after every output block.  This is equivalent to calling the
    . N4 |$ a% J1 P3 f1 u6 k+ f0 {$ R
  270. ; PHP function flush() after each and every call to print() or echo() and each6 V6 |2 q3 N  ?6 T( G
  271. ; and every HTML block.  Turning this option on has serious performance! A, z5 _( P- _( B8 h% M
  272. ; implications and is generally recommended for debugging purposes only.
    8 L5 ^/ L5 R3 {4 [
  273. ; http://php.net/implicit-flush
    : Z9 _6 @. T% s; O2 B! `
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 D* _  y4 T& Y5 z( S9 A* ?& [
  275. implicit_flush = Off: \" P$ W9 c6 R; Q& s

  276. 7 g6 v% k. Q7 k" |- ~' x/ B
  277. ; The unserialize callback function will be called (with the undefined class'
    + n3 D! e: T; ]9 U
  278. ; name as parameter), if the unserializer finds an undefined class# L- y: n6 A. M
  279. ; which should be instantiated. A warning appears if the specified function is9 ?# X+ T: s, K* k' ]/ ]0 ?: |
  280. ; not defined, or if the function doesn't include/implement the missing class.
    $ Y! h$ X, n7 B+ R
  281. ; So only set this entry, if you really want to implement such a0 |0 A6 u( c9 ]+ a( Q( p
  282. ; callback-function.- t" t% m; ^  X( }" ^
  283. unserialize_callback_func =* H5 y/ D) L& Y2 L6 T4 `

  284. / e8 @  p( P6 q4 S; G
  285. ; When floats & doubles are serialized store serialize_precision significant. F0 P2 O/ _3 n
  286. ; digits after the floating point. The default value ensures that when floats
    ' J' S- p4 d2 @
  287. ; are decoded with unserialize, the data will remain the same.! p7 Y4 K- g# j4 l8 E
  288. serialize_precision = 17
    9 T  T+ X. _& ~2 g0 S+ t/ d+ l

  289. : q; O" W9 M* q4 g5 g
  290. ; open_basedir, if set, limits all file operations to the defined directory
    9 l$ a# V1 d( y/ _# e9 V
  291. ; and below.  This directive makes most sense if used in a per-directory% T6 s; u$ y( q7 U) y% h! S
  292. ; or per-virtualhost web server configuration file.5 W3 d: W. ~" {! N) X0 C- E
  293. ; http://php.net/open-basedir
    # V; j" z: Q$ J$ i' B) C1 T, x
  294. ;open_basedir =
    . _! ]" Q8 B5 `

  295. , K! b- Y, z4 ?: G' c( o
  296. ; This directive allows you to disable certain functions for security reasons.
    4 S8 j5 e3 V# d# s- Z0 X% L$ ]
  297. ; It receives a comma-delimited list of function names.& {8 Z/ W, \# U: w
  298. ; http://php.net/disable-functions' j1 K1 H9 `$ ?2 I9 q
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  x, _- P* g% ?1 W
  300. / m* K& N, v8 Z
  301. ; This directive allows you to disable certain classes for security reasons.) M0 Z; P, g/ R8 W2 w
  302. ; It receives a comma-delimited list of class names.
    # k9 |4 M9 W6 S4 v# ]" C- B( v
  303. ; http://php.net/disable-classes( b8 a$ B7 c# ^" A
  304. disable_classes =% ~9 g, @9 O9 F* L7 n: B9 {

  305. 4 C. r, j, a, ]' V
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in: ~( {) X. c7 k3 O9 f# [
  307. ; <span style="color: ???????"> would work.
    . U! X/ |  D" t
  308. ; http://php.net/syntax-highlighting. Y. I/ C6 s2 g  K5 V# c( M! }
  309. ;highlight.string  = #DD0000: W; p* r; o, }% H, o
  310. ;highlight.comment = #FF9900' P7 C- y: E/ K+ l/ n& D
  311. ;highlight.keyword = #007700
    ; f; v$ I( K) Y9 Z# J* a: O
  312. ;highlight.default = #0000BB3 O9 m; \: d7 ]# U$ a$ Y9 _  p0 O
  313. ;highlight.html    = #000000, |1 y- j; p, [& {# l' ~+ ?

  314. 9 R! x9 g  E/ Y1 [* [4 u' P* a
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    3 t( I# k& _( I$ I) ]4 ^& h
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ) g: K4 T+ Q! A/ H0 u" F
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior; q1 W3 l$ y# Z; B) R9 \4 F7 K1 P
  318. ; is to disable this feature.* `4 R$ Z1 _( g9 T  g6 [, i
  319. ; http://php.net/ignore-user-abort& u+ u6 a+ r7 w. Z
  320. ;ignore_user_abort = On
    . V# u3 W) c/ q  C5 P

  321. 1 Z8 Q/ `* ]/ F. f+ N( b
  322. ; Determines the size of the realpath cache to be used by PHP. This value should, d7 a/ @# j7 k2 _2 P
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; n' N! F' |8 i8 H- E2 B
  324. ; the file operations performed.
    6 a7 h% C; d, D! S' D; L
  325. ; http://php.net/realpath-cache-size
    $ g2 V, n0 S9 ]; Z! X
  326. ;realpath_cache_size = 4096k
    2 M# F0 R$ u7 X* K* \# g+ E- }3 O
  327. % S# T/ s; Q( _. S
  328. ; Duration of time, in seconds for which to cache realpath information for a given; ~/ Y' F! L' v6 I$ B; i% |6 Z
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    3 c& ]3 ?/ R' }  K4 ?6 ^7 p
  330. ; value.0 P+ v% H2 E1 B. n+ q( ?/ i
  331. ; http://php.net/realpath-cache-ttl
    - H* `) s% z6 _& |# [" W
  332. ;realpath_cache_ttl = 1209 {- U/ n1 d% H/ [
  333. ' ?, A* x3 v7 |% W  h
  334. ; Enables or disables the circular reference collector.9 y% ^1 ?, m$ I( y
  335. ; http://php.net/zend.enable-gc
    ; z/ Z% V/ r; A7 }$ Q+ J
  336. zend.enable_gc = On/ H- q+ {( h1 t3 n* G, V+ E
  337. ; n, V: _' |' S# e( V0 j
  338. ; If enabled, scripts may be written in encodings that are incompatible with+ t2 ^' ?3 r5 e, b4 m
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" F% q& |8 h5 Q1 m$ W
  340. ; encodings.  To use this feature, mbstring extension must be enabled." P) K$ _, L1 C5 ^/ Y0 ]8 K' T
  341. ; Default: Off) }5 k" y- e5 L1 }! \% F% j
  342. ;zend.multibyte = Off
    3 Z% F  g  `/ v0 h
  343. 7 e. e% s7 K" _$ r# y" m: `
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    1 u9 ~2 w9 w# ]1 m( H, G+ W
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    - a  a# _  h; ^9 N6 V# T2 x4 E
  346. ; Only affects if zend.multibyte is set.3 W$ p" M- L6 K% W% }/ x5 V) o
  347. ; Default: ""/ y$ n& f2 k/ n2 C
  348. ;zend.script_encoding =
    . |: e! {; s3 F. f

  349. 8 A; l* A, R. j) y! \% I. B$ P
  350. ;;;;;;;;;;;;;;;;;- v' c" c, [3 |3 v
  351. ; Miscellaneous ;
    ) K6 A. O1 V$ Q3 w- `( Z+ w
  352. ;;;;;;;;;;;;;;;;;2 v4 L/ ^, w0 h6 y3 Z

  353. 2 s% m, n6 n8 E1 v* l3 V1 O
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    + |6 U$ o0 |9 E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security) V" Q$ {) ]2 i  F! Z2 ~+ m
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) a$ Q6 Y: a# c$ ~, g
  357. ; on your server or not.0 }& l# y* a# N' e9 k+ @/ x
  358. ; http://php.net/expose-php
    ) X' w3 N: V! y& f" u1 k
  359. expose_php = On' W9 t5 C! ~9 J  u

  360. 7 K, ^- O; ^+ i, x5 m% Z9 k1 ~$ h
  361. ;;;;;;;;;;;;;;;;;;;4 X8 e7 }5 d$ U( Z) f
  362. ; Resource Limits ;6 M' d8 Z( K3 U
  363. ;;;;;;;;;;;;;;;;;;;9 W  L/ {6 D5 I) m( b+ [, a8 k
  364. ( F3 ^( Y. L& C0 V1 T
  365. ; Maximum execution time of each script, in seconds0 X9 u! W: h2 `1 m9 G" v9 a
  366. ; http://php.net/max-execution-time0 i2 K; P+ @, [
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI) B3 e4 w2 b5 F% _# A$ L. L
  368. max_execution_time = 300! S& e- T7 `' h3 e; J

  369. / o  T0 w+ O$ u; \( e) m
  370. ; Maximum amount of time each script may spend parsing request data. It's a good; v" r: U1 a- W$ v( t1 p& j
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 r, E5 y' t1 v% I0 Z& }
  372. ; long running scripts.
      w( r7 ]1 u- ]7 Y) k: j: F
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : I; ?( V# T7 u" C0 {# ?
  374. ; Default Value: -1 (Unlimited)) Y9 d' w( e; m4 p! d3 ]
  375. ; Development Value: 60 (60 seconds)* J* V, G& R/ M6 O- B
  376. ; Production Value: 60 (60 seconds)8 E* [. }' N% m% f. K* x
  377. ; http://php.net/max-input-time6 ?' @' h7 w: Q: ^& \" w5 b9 o9 F+ m
  378. max_input_time = 601 ?2 {- I9 U+ g2 o% k9 ~5 f
  379. 4 N' G$ ~: p4 k
  380. ; Maximum input variable nesting level! F3 E  y% y; A! B
  381. ; http://php.net/max-input-nesting-level6 z7 `9 R- z" G
  382. ;max_input_nesting_level = 647 a- X( J: [/ W

  383. , Z3 o1 n" h1 X: |' i
  384. ; How many GET/POST/COOKIE input variables may be accepted
    0 C# W/ u% T. u( o7 ~: t& n: L
  385. ; max_input_vars = 1000
    7 q! @: r0 W3 F- m7 w

  386. # a! Q" m1 G* V0 K
  387. ; Maximum amount of memory a script may consume (128MB)
    6 Y+ Y1 |8 f- \/ w* @1 v
  388. ; http://php.net/memory-limit/ ~( N$ g% S4 |% d  W* t5 t
  389. memory_limit = 128M% f* {* e" y& f) n7 u

  390. & r: e; L. A: K/ h7 n4 P
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( d' z! o# C/ n$ m  O, Z
  392. ; Error handling and logging ;
    8 C. J; j$ n0 P! C. h3 ~$ e! h
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: ^5 g. A, o9 T, ~- B6 Z8 q

  394.   _! ]: w2 G( V0 @. r
  395. ; This directive informs PHP of which errors, warnings and notices you would like7 \5 {' P, ^2 f4 R- T
  396. ; it to take action for. The recommended way of setting values for this
    , G' p" i3 o& s* p, J
  397. ; directive is through the use of the error level constants and bitwise
      w6 F: l) c# |( i! E3 O
  398. ; operators. The error level constants are below here for convenience as well as
    ) ~, p$ ]+ N' d
  399. ; some common settings and their meanings.: y% d5 O4 t5 G( d6 f4 R
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    8 L/ Y$ ~5 z, U
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! _/ M) D9 b3 [1 d. Y6 t6 @
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ! O7 r* O; j' w0 U# j% X
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! d6 A7 `) x! B9 N% L& r' D
  404. ; resources complaining about best practices and coding standards. That's what* T+ a! D7 f& ~  D7 N8 g9 M% u
  405. ; development servers and development settings are for.
    9 H: O' |; j9 u, X+ O7 x
  406. ; Note: The php.ini-development file has this setting as E_ALL. This( {: }+ d6 |/ o+ d+ S
  407. ; means it pretty much reports everything which is exactly what you want during5 [& p6 {6 x9 N& F% N* E2 h
  408. ; development and early testing.  d1 J3 ~( O, Q# s! T+ q$ f/ z2 G
  409. ;. J( O6 d, }9 F6 a$ ]. |" Y$ f3 W
  410. ; Error Level Constants:- h! {2 v/ V& [& r
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 A7 B6 L4 x* T1 I
  412. ; E_ERROR           - fatal run-time errors% K% o' U# O3 }
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    : K# ~  M( ^# g, l( q* Z
  414. ; E_WARNING         - run-time warnings (non-fatal errors)- Z; x5 ^; a( p# ?5 C8 c
  415. ; E_PARSE           - compile-time parse errors
    3 t$ x2 z& O$ V. @
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    $ F. {% }5 m' r, X1 ~  Z7 ?6 D; y
  417. ;                     from a bug in your code, but it's possible that it was* J5 [9 o3 b; t2 X
  418. ;                     intentional (e.g., using an uninitialized variable and% o% c8 _' M7 z. h1 B2 p; i% N
  419. ;                     relying on the fact it is automatically initialized to an7 I! v7 g0 J+ ^- ]! r
  420. ;                     empty string)+ H6 _$ n7 |: x+ E2 G
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) F% u* `& z6 K. K+ n  d
  422. ;                     to your code which will ensure the best interoperability
    & {$ q- Z+ E9 h; M
  423. ;                     and forward compatibility of your code3 }! q" C6 a! {% n7 T3 V- }
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 u# b8 v' |3 m- Q; Q; P
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's0 I$ T- l4 c0 w7 G
  426. ;                     initial startup( m$ Z- U7 _6 ?; L
  427. ; E_COMPILE_ERROR   - fatal compile-time errors' I4 i) h+ Q1 a3 ?2 v, `! x
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : N0 L" {4 c* l! M
  429. ; E_USER_ERROR      - user-generated error message3 t( [" S" G( Z6 ?
  430. ; E_USER_WARNING    - user-generated warning message
    9 ^! t0 R4 c/ _$ e
  431. ; E_USER_NOTICE     - user-generated notice message
    6 K3 L5 t2 a* P. B( W. q
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    9 F, a1 y0 E8 {6 V! s
  433. ;                     of PHP' ^% O% L9 m; G
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings& q/ b! N0 E$ {1 k7 Z
  435. ;
    ' y- ~6 X+ \: M4 A( h! [+ [4 \: N
  436. ; Common Values:
    + [# G& N. x. F; t- I/ u: \2 \
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' l0 F7 S7 _0 z; \# K. t) \6 U
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , G  P& d# `6 T2 ?
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    # B* \& x. ^) p3 H" i( [
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 @! B' N- w0 B! K9 C- @
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & g& e: c: u" I* ~% l
  442. ; Development Value: E_ALL
    0 n. R3 m% q  [6 |, q4 T5 f. o
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 D8 `  u- I4 y5 |1 X  m( q: a
  444. ; http://php.net/error-reporting7 [6 d( c' |+ _' N2 g
  445. error_reporting = E_ALL & ~E_NOTICE3 t3 I, z/ ]5 A0 e

  446. ' u5 X4 Y( \- ?7 a5 Q" k( j
  447. ; This directive controls whether or not and where PHP will output errors,  a9 Z. i% T7 J9 O+ B1 Z; X; V
  448. ; notices and warnings too. Error output is very useful during development, but
    $ }$ s& n( h( _# _
  449. ; it could be very dangerous in production environments. Depending on the code, f. o# `; a  p) Q* s
  450. ; which is triggering the error, sensitive information could potentially leak
    6 h  D# w) W( ]" @( R) E) ^
  451. ; out of your application such as database usernames and passwords or worse.) e9 `) j1 [& @# |6 c& f
  452. ; For production environments, we recommend logging errors rather than+ k8 |( }' V5 G# k) _9 |
  453. ; sending them to STDOUT.
    ; O1 v$ B4 h5 p. e% M
  454. ; Possible Values:; L0 W% G8 L& D/ t/ i$ Z& k5 u
  455. ;   Off = Do not display any errors7 p  T. k6 G( r7 d, D
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    5 o0 Z+ U5 ]/ p9 Z- ~( F' t3 N
  457. ;   On or stdout = Display errors to STDOUT
    ) @6 V! i, V4 d+ P4 _
  458. ; Default Value: On8 W, B5 ~9 a8 P# ?( J. F
  459. ; Development Value: On
    8 x! ~, t: `: N
  460. ; Production Value: Off
    ' f3 u! H# `* N2 b# y# Y
  461. ; http://php.net/display-errors
    # N% q* b. k) k
  462. display_errors = On
    / G* C: E, G2 n( K! n* H
  463. 3 w. ]5 A' C( q& r* M
  464. ; The display of errors which occur during PHP's startup sequence are handled! z5 {5 g! [( y8 C1 @, {2 I2 ]1 k0 K, M
  465. ; separately from display_errors. PHP's default behavior is to suppress those
      X7 N8 c" U& u; o$ I1 Y8 }
  466. ; errors from clients. Turning the display of startup errors on can be useful in- `$ ~, o9 N( `' K4 R' q1 f/ s
  467. ; debugging configuration problems. We strongly recommend you
    + c/ T) h2 c  c0 [- v# {
  468. ; set this to 'off' for production servers.: r! A: N/ \& o, \, o. g
  469. ; Default Value: Off
    5 u5 Y$ {. c- H8 s  P. v* _, ~
  470. ; Development Value: On6 A- a" B  _* G
  471. ; Production Value: Off: Y9 a. m6 H* i- B/ z
  472. ; http://php.net/display-startup-errors4 d5 T2 c0 ~, r" `% O
  473. display_startup_errors = Off
    - c* L( O4 S+ d

  474. + g- [/ W! n( n8 Z/ N0 O5 R
  475. ; Besides displaying errors, PHP can also log errors to locations such as a% l$ u( r' D* d2 }1 m- h- P
  476. ; server-specific log, STDERR, or a location specified by the error_log
    4 F, X' E* z4 [
  477. ; directive found below. While errors should not be displayed on productions: J* E: u+ ?; @2 U% ]( u
  478. ; servers they should still be monitored and logging is a great way to do that.
    / B7 y9 e! r, u# s+ T, {. ~; R
  479. ; Default Value: Off# u0 X/ t- L) ~+ R
  480. ; Development Value: On! U6 I7 m' w. _5 d$ ?
  481. ; Production Value: On3 \; I/ d5 q. ?# I  B7 m! m6 I* W
  482. ; http://php.net/log-errors
    # u, A7 D! e' \4 o, {6 y4 N3 z& i# B
  483. log_errors = On) o2 y/ G( ~9 o) D! n( r

  484. ' R& a  @& S/ K" q
  485. ; Set maximum length of log_errors. In error_log information about the source is
    9 T* x) I. W& C' l: b
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    + \. Q, ]# t. L& m
  487. ; http://php.net/log-errors-max-len
    6 Q+ S0 t+ v: o/ g5 ?7 z+ G4 F
  488. log_errors_max_len = 1024. @2 L+ u" X" \! b6 O3 w. h

  489. 2 ^6 X' F$ v4 h5 Z7 M0 c
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same% b4 }  q. q% _" X" n
  491. ; line unless ignore_repeated_source is set true.* {/ q4 K( g( n) J( q: t! G3 u
  492. ; http://php.net/ignore-repeated-errors8 J6 k. ^! G3 u/ O/ I' P( M# n
  493. ignore_repeated_errors = Off
    8 Q0 V- w2 a5 o5 W9 w# i. N
  494. / x: L* J. {9 @/ V7 t/ X
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ! h; y2 {  W; t  I
  496. ; is On you will not log errors with repeated messages from different files or
    + [% g$ [# V' B% e: T8 o
  497. ; source lines.+ G% W* ]- ]" U6 E" f
  498. ; http://php.net/ignore-repeated-source# [+ j9 s  G( p2 {6 G2 w
  499. ignore_repeated_source = Off
    - D" T" h& p7 r  ]# d# m& |/ n% M
  500. 7 e- Y  S8 h& p) e/ \4 A/ b  X( D
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on, K) R6 W1 g' i. h
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' j$ Y% Y4 Z$ _5 m% |
  503. ; error reporting includes E_WARNING in the allowed list3 o6 x, A# [. |$ X: X
  504. ; http://php.net/report-memleaks* B: N; m5 U# ~  b. t1 v
  505. report_memleaks = On3 j$ \# H, a. `8 E, ]7 [

  506. 4 \4 A6 n8 ]+ y  `: J3 H( F6 V
  507. ; This setting is on by default.
    : e6 o: o& H& }1 |
  508. ;report_zend_debug = 0) v- M  M. t' T" [
  509. 0 P6 g0 L% h! ?" h# Q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value6 R4 M6 ^  T1 W! H3 v: m; \
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    5 U5 `% P: ~0 J- e. o4 p+ U* s
  512. ; however be disabled on production servers.) N- B  u, H7 A! S) V# W' |
  513. ; Default Value: Off! k7 Y6 x! w+ s! f6 m$ P. f- S# o2 I
  514. ; Development Value: On* p$ f. v# c6 A! t' _4 L3 Y
  515. ; Production Value: Off8 Q: p% m' t1 }, B# J+ U2 B
  516. ; http://php.net/track-errors- T/ j$ l, p0 h
  517. track_errors = Off, j% G+ |1 {) `2 ~& j6 j
  518. + R  I* n6 Y" P
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 O! M$ i5 W0 d# a
  520. ; http://php.net/xmlrpc-errors) U8 G& s4 ~) T9 N
  521. ;xmlrpc_errors = 0
    2 F4 W  B8 o2 Y0 Z% {: h+ \

  522. 7 F; Q1 c8 L4 _$ o2 @
  523. ; An XML-RPC faultCode& K  |( ^4 D/ j
  524. ;xmlrpc_error_number = 0
    ! x( T# p6 @! j; P
  525. 4 l' y( t) H9 Y# G- I
  526. ; When PHP displays or logs an error, it has the capability of formatting the  R, g( a+ F! H3 f% @( {! O/ i
  527. ; error message as HTML for easier reading. This directive controls whether) A- J; J7 Y2 q+ B  z3 b/ T
  528. ; the error message is formatted as HTML or not.
    3 q% |+ q  J5 J
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI8 ~6 g7 u8 f) Y1 k7 r4 E1 g
  530. ; Default Value: On
    " o( W3 X! T/ G( k
  531. ; Development Value: On
    ' K( r6 {. e5 _& A: B
  532. ; Production value: On
    / ]/ Z4 l* c5 a& K1 p7 x
  533. ; http://php.net/html-errors  C" P8 }( h3 k4 q( d! _* k
  534. html_errors = On- j2 `1 l" }* l0 |/ @
  535. & |- u/ ]5 K, E9 [" p5 Z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP! A/ e6 x2 n* ], ^7 K/ D2 \
  537. ; produces clickable error messages that direct to a page describing the error
      A9 ]) `( O6 `$ B7 L
  538. ; or function causing the error in detail.
    + {8 J0 y; g/ J3 W/ `
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ; Q3 Y; L, w% T, X
  540. ; and change docref_root to the base URL of your local copy including the7 W) c3 ]! `7 g1 L9 q7 k5 p- P
  541. ; leading '/'. You must also specify the file extension being used including
    / m( @: R, B3 S3 m
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" N9 a% w: o( c  H, R0 Z
  543. ; case no links to documentation are generated.
    % a' b& D) U, _' n% L
  544. ; Note: Never use this feature for production boxes.
    7 Y  p- U3 J( K2 q# Y
  545. ; http://php.net/docref-root3 V9 K8 }, ~5 u3 l3 Z5 Z
  546. ; Examples
    : ?3 e1 f. h$ J: f
  547. ;docref_root = "/phpmanual/"( a+ P' x8 l5 K7 G

  548. , ?# D) U7 S( Q7 R2 ?! Q
  549. ; http://php.net/docref-ext* B/ [: P' U8 U$ |
  550. ;docref_ext = .html
    " f0 P- A8 ?5 `* T& Z# G
  551. ( {1 |  f$ c0 B7 f
  552. ; String to output before an error message. PHP's default behavior is to leave
    : a3 F$ J) ~  y9 ^; F, R
  553. ; this setting blank." `' Q- _- o# R1 G! F% y$ x
  554. ; http://php.net/error-prepend-string. j9 M- {2 B3 W- H0 C3 r0 L
  555. ; Example:) c8 r0 e8 G* D6 ^$ C9 r
  556. ;error_prepend_string = "<span style='color: #ff0000'>"( r% Z! f3 v" x4 G. W

  557. ' @6 G5 {% e. Q0 T
  558. ; String to output after an error message. PHP's default behavior is to leave
    . J# k! E. l: t; O! ?
  559. ; this setting blank.
    . |% C0 y7 T; b1 d9 d9 D
  560. ; http://php.net/error-append-string
    " P% g3 D6 [, a; S
  561. ; Example:
    + u; x) q4 k' C
  562. ;error_append_string = "</span>"5 k& J6 ~+ Q! _% \0 _3 q
  563.   s  R& c7 J" s3 b: l# `1 ~
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ; J( ^! f2 S* @& X* T
  565. ; empty.; k: E( a3 v, b/ T/ j+ k% f6 g
  566. ; http://php.net/error-log
    2 C( L0 g8 ]& \! o& a
  567. ; Example:. t; n2 M4 {- H* C7 D% s7 D
  568. ;error_log = php_errors.log7 ^5 Z- O3 z% Q. F, B' s
  569. ; Log errors to syslog (Event Log on Windows).
    $ m( n0 S# P" P; R
  570. ;error_log = syslog( V% ]2 N: ^% y5 ~+ m9 W1 V

  571.   K; M+ U' y% v  r" A
  572. ;windows.show_crt_warning. k8 n+ D3 M  p5 Z
  573. ; Default value: 0; W: Y/ y* m+ D' L; i$ I
  574. ; Development value: 0: \+ ?3 F: t8 o7 k0 B( v
  575. ; Production value: 0" M5 N! }% x7 O: S  S
  576. - ]1 I5 Z' X- S; A3 d
  577. ;;;;;;;;;;;;;;;;;
    7 `! \" S' Y9 j) P7 a' L  H! z
  578. ; Data Handling ;
    ) G8 D. e# ]% E' r
  579. ;;;;;;;;;;;;;;;;;, Y) A* l' d) T  O0 M- ?% _
  580. # v5 t5 W+ o+ x! B
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 p* s; N- N5 q+ u9 a  v
  582. ; PHP's default setting is "&".
    % r: n' s9 M. A! x% z- r) K
  583. ; http://php.net/arg-separator.output
    : Z1 u- @" H5 W& I
  584. ; Example:! w0 }9 p0 S& ?# q/ P5 @( k
  585. ;arg_separator.output = "&"
    3 e* U4 y5 r% H4 x/ l
  586. - Y8 i* o' D( Q: o, Y/ `
  587. ; List of separator(s) used by PHP to parse input URLs into variables.  s8 C1 F4 I6 `6 p0 J8 w) d
  588. ; PHP's default setting is "&".
    9 o) U1 h1 H1 h
  589. ; NOTE: Every character in this directive is considered as separator!
    & p' d3 M7 i8 w* q7 z% J
  590. ; http://php.net/arg-separator.input
    : \4 r& Y! z; Z/ A- `0 W
  591. ; Example:; }8 q- \) |+ d. J
  592. ;arg_separator.input = ";&"3 L, [0 F, k8 g/ k* C) \, D+ G5 w

  593. / h& |! E' L% v  w6 [4 `4 l* h
  594. ; This directive determines which super global arrays are registered when PHP
    , r( a( s0 m! u$ z. ~8 R7 Q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 [2 G6 J2 F2 H2 ~
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty! O' O- S6 |7 }$ ?* F
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    " L% i& _# o, y" w; V2 e
  598. ; used as the others, ENV is not recommended on productions servers. You
    5 I; c0 J4 ?0 j1 W- d! d
  599. ; can still get access to the environment variables through getenv() should you
    5 ]* b7 x# A6 v* {) z
  600. ; need to.8 a; h+ L6 M5 _4 p
  601. ; Default Value: "EGPCS"
    % D5 k/ w7 e. w/ d. f! J, G% k& I
  602. ; Development Value: "GPCS"
    - ^3 @- }$ H3 k- w' k, E
  603. ; Production Value: "GPCS";! Q% L, J! h. T1 J$ P
  604. ; http://php.net/variables-order/ E7 t$ p- N* v9 V: l
  605. variables_order = "GPCS"
    7 C4 m! Y0 ^) \4 V5 |0 Z0 [% g

  606. ; u+ }& C" S" ?0 v5 \
  607. ; This directive determines which super global data (G,P & C) should be# V2 M7 V/ Y- I+ K
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 Q; r. ?" e' z( m( B5 t4 g4 a
  609. ; the order in which that data is registered. The values for this directive, i* r/ X6 F8 g3 N7 h4 e
  610. ; are specified in the same manner as the variables_order directive,
    $ Z# v1 r. o0 ]% A
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - O3 D' \3 ^: ^. D- _$ [
  612. ; in the variables_order directive. It does not mean it will leave the super
    # d7 A2 g$ j% n8 K: o2 ?" |
  613. ; globals array REQUEST empty.
    : Y, g7 e0 Z8 r' h
  614. ; Default Value: None
    . H0 g) X( _# u, p) T
  615. ; Development Value: "GP"
    : K9 n- R3 W& P
  616. ; Production Value: "GP"6 d: I' K) Z/ a# M7 U# Q
  617. ; http://php.net/request-order) v) H* U* J+ r7 X. u; m$ K: t* c5 o, e
  618. request_order = "GP"& P" K1 b( O/ m: G( X2 N3 O$ f  p
  619. & K; Z, W0 Z% h0 Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ) F3 c& a- B' [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script0 |, K3 H# ?7 K5 T) S
  622. ; is invoked. $argc contains an integer representing the number of arguments; R/ R/ r3 S6 i' ?$ |% I
  623. ; that were passed when the script was invoked. These arrays are extremely$ a: E0 z& p* u* ?1 S0 \4 K/ h: G
  624. ; useful when running scripts from the command line. When this directive is
    : _* G, T9 u$ ~6 e1 B
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    . @( H& }2 p1 r& |* v) v
  626. ; a script is executed. For performance reasons, this feature should be disabled6 d; @8 H' i" E. J( |- J! y2 x
  627. ; on production servers.. b. w) Q  f7 w! w, X
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    $ M  n" ?2 K( a4 m+ s( f
  629. ; Default Value: On
    % d) j; u0 P* q+ U1 V5 ?) D( W2 {
  630. ; Development Value: Off" k$ _5 v7 z# M& E
  631. ; Production Value: Off
    6 K3 j( i* R3 Q+ r) a, v
  632. ; http://php.net/register-argc-argv
      m# ~1 Z; `9 s5 J7 G, ?4 t  e; {
  633. register_argc_argv = Off
    " v) @) T6 D8 a8 F1 B1 `5 [) [, D

  634. $ i( [% @; H" ?. J
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 F+ u- X+ ^1 P9 |  G! ]
  636. ; first used (Just In Time) instead of when the script starts. If these
    1 H2 l2 D4 n+ t! [' K* [
  637. ; variables are not used within a script, having this directive on will result, i8 z  F5 F: J/ `+ _' |$ {9 ^" I* Q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. w6 t  {0 C! R2 {1 s: h
  639. ; for this directive to have any affect.1 z; G; u6 ~, s+ O. t* p+ T1 r
  640. ; http://php.net/auto-globals-jit% b, d/ E! W. G! y+ d: t. y4 o% E( y
  641. auto_globals_jit = On
    ( ~3 H& V. `6 ]0 T" {* t" R# ^% Z

  642. " \; r9 H. h  I0 ~6 T+ u
  643. ; Whether PHP will read the POST data.
    9 J/ j, A& E6 [7 o6 q/ K
  644. ; This option is enabled by default.) ?+ g+ j& f! e
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST6 ~7 M7 n5 V  C' b( S7 r
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ; ~8 Q: k2 K' J
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    % a9 F" g* J( A0 @( X
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) c3 U2 K1 \" G; i( A
  649. ; http://php.net/enable-post-data-reading5 a4 p5 J1 P8 f5 [5 D) q: z( Q- m. h
  650. ;enable_post_data_reading = Off
      S/ c3 u5 O$ o0 j0 ^) ~2 Z1 Z
  651. . }) n- v3 H4 J5 y% \
  652. ; Maximum size of POST data that PHP will accept.  v- o# `  E7 y7 |+ c
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    . J; D$ H  I# w0 R
  654. ; is disabled through enable_post_data_reading.
    $ N0 m  u: e; U" R& Y! L
  655. ; http://php.net/post-max-size
    5 g! p8 X2 }' o" W4 a
  656. post_max_size = 50M
    ) e  _1 c. _' W' M, F* O5 \& o5 l
  657. . W1 @) D6 R2 u% g4 r1 r
  658. ; Automatically add files before PHP document.
    " v" d* z. |$ H; [9 V2 N  J; b. |- g
  659. ; http://php.net/auto-prepend-file1 X- ^3 f$ Z% c
  660. auto_prepend_file =  F5 ~1 ~' O8 a7 e

  661. 0 ?  V3 G6 e7 k1 `
  662. ; Automatically add files after PHP document.
    8 F' ?5 O: p; U' s- W+ N
  663. ; http://php.net/auto-append-file. T: Z! A  J5 O. _
  664. auto_append_file =
    1 Y9 l/ K& J0 N& v+ ^5 \

  665. / `$ `! g7 V( M: J/ r, t. X
  666. ; By default, PHP will output a media type using the Content-Type header. To5 p% H1 v* R6 Z2 b
  667. ; disable this, simply set it to be empty./ O8 s- O, q- Y& y+ l
  668. ;
    & ]: S# r" y" f8 P
  669. ; PHP's built-in default media type is set to text/html.
    ! o, @/ B# L9 r* c4 \% A
  670. ; http://php.net/default-mimetype8 l' ?) j8 @% u6 j9 ]: J
  671. default_mimetype = "text/html"
    / I0 G3 B& T/ D& d% T9 R5 l
  672. ) j1 ~8 B" C9 S/ I, O
  673. ; PHP's default character set is set to UTF-8.
    , L) o. u- S2 R. F% N/ a7 s4 G* P
  674. ; http://php.net/default-charset
    / z3 i% O* W' {
  675. default_charset = "UTF-8") u7 R6 h* W/ D) i
  676. * `. o* g, y0 H( `( r& D
  677. ; PHP internal character encoding is set to empty.
    1 H  Y. N$ ^6 q
  678. ; If empty, default_charset is used.
    6 v$ r1 U) ]- e, q. X
  679. ; http://php.net/internal-encoding
    % @9 P9 ?; }* l, S/ V" Z" g
  680. ;internal_encoding =% T9 q& ?& f% o2 j! J
  681. 7 j7 A$ `5 ^% X, Z9 [! r( R
  682. ; PHP input character encoding is set to empty.
      z6 D# G' y& g' L8 @
  683. ; If empty, default_charset is used.( r9 i/ f( a: p- n6 b5 h
  684. ; http://php.net/input-encoding! m% f# @: f9 L. T  J. n  h- I
  685. ;input_encoding =' j9 C" u6 x$ x+ Z) A

  686. . r: @& G+ D, F6 N% x( a
  687. ; PHP output character encoding is set to empty.
    ) F+ F5 M% G) N+ l/ g% _
  688. ; If empty, default_charset is used.
    . t$ R6 _7 }2 [8 i# B7 [
  689. ; See also output_buffer.; `! k0 N' i2 ^
  690. ; http://php.net/output-encoding
    5 {, \8 M4 e2 Q* ]" B% n
  691. ;output_encoding =6 V0 {+ o! Y- F
  692. ; n- d6 W6 `" H1 \0 a& u
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * K& f; ]# }# U$ a4 q. ]
  694. ; Paths and Directories ;4 M) h, |3 D9 E7 ], S' p
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ a/ M4 x+ ]% J$ N2 z4 c- c

  696. " F# s6 h( d, w# Q1 k; z- {2 l
  697. ; UNIX: "/path1:/path2"  ^3 a8 z! n6 `; t" |' G! D
  698. ;include_path = ".:/php/includes": Q. b& m# ?6 z2 m
  699. ;- x2 {6 L( r& R* p# N' \, {+ b' T
  700. ; Windows: "\path1;\path2"0 _# e5 q- A+ Y! s
  701. ;include_path = ".;c:\php\includes"! E& M" k0 z# F( p+ c! |" V4 y
  702. ;
    $ g' N: V0 x1 \2 [5 S. e
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * w) G. s2 h. e1 ]5 ]# _
  704. ; http://php.net/include-path+ S9 D# s9 S5 G+ U0 @' R

  705. ( z9 q% z1 C% F( L
  706. ; The root of the PHP pages, used only if nonempty.
      f# d& N# Q! N  S
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 n* K  F# f2 u" R3 t7 }$ Q
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ' l4 L: R1 c& @$ f1 p/ k
  709. ; see documentation for security issues.  The alternate is to use the& @: F0 h8 `7 y6 ^% q
  710. ; cgi.force_redirect configuration below
    . h8 _  \+ {# d# R
  711. ; http://php.net/doc-root
    8 T1 B" C5 {& @: x
  712. doc_root =
    + s' @( x- i2 L" W

  713. 0 z6 v8 A3 l+ A
  714. ; The directory under which PHP opens the script using /~username used only
    8 b2 e. X3 c- d; R9 h) [6 V2 @
  715. ; if nonempty.' ]# ?5 m: b- E0 E7 q; T+ q1 V
  716. ; http://php.net/user-dir: i" l: D# K- G* }0 n
  717. user_dir =7 A( H4 ?4 \- j2 X- y1 l# W9 t  ]
  718. 2 _3 _7 Z( S* `, N7 K
  719. ; Directory in which the loadable extensions (modules) reside.( z/ w# t  E! _5 R% q& R7 Y4 z
  720. ; http://php.net/extension-dir
    5 y; h; n- z/ y
  721. ; extension_dir = "./"
    . ~6 P5 ?: U/ O6 F
  722. ; On windows:4 J# h5 Q* _! a4 ^" q
  723. ; extension_dir = "ext"
    : B. a# K: B# ^- A; K
  724. 2 [; K2 n+ F# i" N+ U3 o
  725. ; Directory where the temporary files should be placed." e6 Y1 ^$ O* d9 l
  726. ; Defaults to the system default (see sys_get_temp_dir)" b& h, q1 K, H; x+ f9 r
  727. ; sys_temp_dir = "/tmp", k; W' j9 n4 Z, f

  728. 9 [6 Y* h+ t- e4 @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    " N. F4 l5 e( H% z/ C
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( ?' f6 G! R. Z1 S
  731. ; disabled on them.4 {- r  m( c& _
  732. ; http://php.net/enable-dl9 `. m8 E# {* J. f
  733. enable_dl = Off: v  a8 W0 B1 k( {7 n6 c
  734. 2 y( Z. N; g! T8 y3 t
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, V* V( ]& D& {5 E: s$ Q
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    , R% N9 O7 v; f$ c0 {4 ?1 [  T
  737. ; turn it off here AT YOUR OWN RISK7 j. Z4 ~& J' q) ^& ^
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 W! a! ?' g) G, ~0 k- z
  739. ; http://php.net/cgi.force-redirect4 z& n+ [9 \8 D; z% B5 M
  740. ;cgi.force_redirect = 1
    ; z3 n) ]+ S. w: O' @1 {8 l# ~. N
  741. " w7 V0 V; K. y; o7 U4 l
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' C3 B5 y, w3 J1 P
  743. ; every request. PHP's default behavior is to disable this feature.
    6 w# B+ a/ i8 U# x, L& y( f) ^
  744. ;cgi.nph = 13 m8 s& H% d2 x
  745. ! `; R% `$ m) q; e( J2 O+ i/ {
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' X9 {3 |" c7 y$ K# [
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP7 O; q, E1 ?/ X; [0 O
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' c6 ]5 h) j& x- ~( [* }
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    - p: O- w$ w# G
  750. ; http://php.net/cgi.redirect-status-env3 F! [# p/ S! ~( z, j
  751. ;cgi.redirect_status_env =4 X% w1 q& l3 v. G, D+ S
  752. 9 F9 U& N3 p7 p' t4 g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's! a, |4 u4 Z# U0 N  ~
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( l$ t' U6 C4 c! u
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. V6 {1 R' f" v2 b0 Z! x5 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & L9 A6 W7 L. @9 F# r
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts- R' W0 I) e3 |- b& `
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 e  j3 u# t3 M/ X9 m" _4 P
  759. ; http://php.net/cgi.fix-pathinfo
    ! m2 t/ W0 e: r1 t
  760. cgi.fix_pathinfo=1
    5 X# {/ u$ S8 o1 ?0 X% J

  761. - o- X  H; D9 _; f; Y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; O. p$ l1 u6 ?3 p: M0 Q; x) n8 t  P
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' F0 c  _6 _) ^1 \# o3 }: T
  764. ; http://php.net/cgi.dicard-path' \& F% r% |" A) C/ h+ s8 ?
  765. ;cgi.discard_path=1
    ! l: s* n7 \, K3 x3 w8 U- ?0 q# i

  766. ( V* b; _0 M9 l( c
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    / c2 \: U& `# z- q! w. U0 T9 v6 T
  768. ; security tokens of the calling client.  This allows IIS to define the' x) S0 O/ |$ |4 `
  769. ; security context that the request runs under.  mod_fastcgi under Apache% C/ {& J# N% n5 f
  770. ; does not currently support this feature (03/17/2002)3 ]# p0 T% J; o2 }) ?
  771. ; Set to 1 if running under IIS.  Default is zero.3 m7 h2 v. z+ m: g
  772. ; http://php.net/fastcgi.impersonate5 s, p% a9 ~2 J- z6 }
  773. ;fastcgi.impersonate = 1
    2 G* b) S/ S" F; m
  774. + f% K' o# h% F" s/ j
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 h- {. [2 U) y3 i
  776. ; this feature.! h. ]$ \: W( F( f) H+ A: g
  777. ;fastcgi.logging = 0
    1 v  r8 n- ?5 u8 |5 Y9 T

  778. 1 ^) \+ b% ~7 H: S. \: A5 M
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 b$ d0 d. t* O1 y9 I' Y7 T
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  _! D& D3 a+ E
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' A( N+ _! F6 f4 x- }) t
  782. ; RFC2616 compliant header.
    + O: M0 {7 y2 L: ~! E+ q
  783. ; Default is zero.
    / Q6 W# u3 A, ~* T( C  T# V# M
  784. ; http://php.net/cgi.rfc2616-headers
    " U. I, v' @6 }6 `
  785. ;cgi.rfc2616_headers = 01 u+ \; I5 H# |" S

  786. 1 h  [) I& F. [! F: }1 @8 g
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 W9 K7 T* O+ O; D: o: {
  788. ; (shebang) at the top of the running script. This line might be needed if the
    * X7 k5 f; ~5 S5 ~2 x5 V7 g
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ' E& y% ^/ A5 n2 Y! X2 k& f: f
  790. ; mode skips this line and ignores its content if this directive is turned on.
    0 y  y$ i* G) @7 M; k
  791. ; http://php.net/cgi.check-shebang-line: U( K* A  Q$ H1 v
  792. ;cgi.check_shebang_line=1
    & B1 a$ y: \3 ]' r4 E

  793. : z  _  _" _! V
  794. ;;;;;;;;;;;;;;;;* O3 e3 o% i6 E. z
  795. ; File Uploads ;; C1 c0 Y5 l8 A, D+ P
  796. ;;;;;;;;;;;;;;;;/ h* V. x, Z+ y1 a6 H

  797. 2 q, s  K' [* C" ]4 f0 y% H
  798. ; Whether to allow HTTP file uploads.
    $ c' |& L' c6 k- O) G6 c$ G, R
  799. ; http://php.net/file-uploads
    ; f3 \, H9 [! k+ ?" J
  800. file_uploads = On
    : i8 _: z# Y4 B) N! D, A: t
  801. ! a6 U) m5 p6 X. E( }
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; ?" I) ?( o( H3 H  {; Z( B: g
  803. ; specified).1 Q  i& x9 Z4 p' k
  804. ; http://php.net/upload-tmp-dir% u6 i) _3 _+ k, H; @9 V
  805. ;upload_tmp_dir =
    ' j- K; J& ?8 k1 y2 z6 M
  806. / }* P5 Y7 O4 {1 w$ D4 q) r) X1 U+ \3 Q
  807. ; Maximum allowed size for uploaded files.2 M, v6 ~5 H/ i# z6 P6 j$ m3 d  J
  808. ; http://php.net/upload-max-filesize( n$ j9 H6 I; U$ H* i0 M/ F
  809. upload_max_filesize = 50M/ u3 H+ }& b# K% A0 K+ Y. q

  810. 6 o/ A; g4 K5 z0 T0 K
  811. ; Maximum number of files that can be uploaded via a single request
    7 [, h5 P& A7 ?( N5 G8 G
  812. max_file_uploads = 20
    $ v! W* J: ~8 q! |, v
  813. 9 f' O% ^: m9 E* a7 }
  814. ;;;;;;;;;;;;;;;;;;
    9 n# x+ Z1 Y1 v) n
  815. ; Fopen wrappers ;6 C6 ^. a- [$ j: I% x8 q* j* o) w
  816. ;;;;;;;;;;;;;;;;;;1 a9 l5 T7 M% g5 T
  817. ! ~  K, s7 s2 S; K0 s* g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    - k" [) {) m% m4 W8 r9 K
  819. ; http://php.net/allow-url-fopen
      U/ |3 X- _6 C
  820. allow_url_fopen = On
    . a  m8 h$ C) b' z  P

  821. 3 Y+ N' d0 [7 k4 a* a
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) n8 c8 X0 X0 u; [9 H7 x# B# m
  823. ; http://php.net/allow-url-include( m9 e7 V; A7 [* j* T$ S1 Y" ]
  824. allow_url_include = Off
    % i% T" p1 z+ H5 O
  825. . w! U- y! D* S# h
  826. ; Define the anonymous ftp password (your email address). PHP's default setting% A+ S4 C# R& s2 L( t/ t
  827. ; for this is empty.8 y5 E' N% j3 t7 V" N' V5 u
  828. ; http://php.net/from
    ! a6 |& b6 Q# s1 l/ A* D3 ?) O
  829. ;from="john@doe.com"
    9 s( y8 _  M; B: f8 b
  830. ; h. T' b4 ?; R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ s. g5 p& u& T# Z" U- m4 j
  832. ; http://php.net/user-agent
    3 Y# q! {' c! s3 ]3 z
  833. ;user_agent="PHP"& f5 \! a* a+ _* b) }) A3 D
  834. ( r( K9 |$ L, U1 B
  835. ; Default timeout for socket based streams (seconds)
    $ m3 p5 Y; \. H& R" F
  836. ; http://php.net/default-socket-timeout
    6 I7 r! F3 j2 b8 F! a
  837. default_socket_timeout = 60
    ! F5 |2 l" d, w. B

  838. : O$ Y4 e0 z6 R7 l# t3 `( C
  839. ; If your scripts have to deal with files from Macintosh systems,
    & \$ w, S! S) `+ s. y
  840. ; or you are running on a Mac and need to deal with files from
    , I* t" l" O8 _7 b( B
  841. ; unix or win32 systems, setting this flag will cause PHP to
    - o& U/ I7 P% a' h  O8 ?1 r
  842. ; automatically detect the EOL character in those files so that
    ; x, N# {. X9 `% T$ a. \: f$ C0 h
  843. ; fgets() and file() will work regardless of the source of the file.
    , B9 K) V! C  O& ~3 _0 ?: H0 A+ K; k
  844. ; http://php.net/auto-detect-line-endings4 B8 w( t- I* Q/ Q" d
  845. ;auto_detect_line_endings = Off
    / c: u  _6 k  z, A

  846. ) X* w5 v& ]# `2 x9 a7 A
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ; M: D8 x- a3 r7 T8 m* t& \, v
  848. ; Dynamic Extensions ;$ X! [& m8 e0 T7 a3 f/ b7 g& B
  849. ;;;;;;;;;;;;;;;;;;;;;;
    7 c. q) g1 {' h$ X/ O" h
  850. ; \8 M; O- D5 |$ t+ c
  851. ; If you wish to have an extension loaded automatically, use the following
    ) m1 C( l0 R/ k5 P# s# M
  852. ; syntax:1 ~7 ?. s0 c; m* d
  853. ;
    5 u1 G/ O0 S- ~, ]: g' w- x
  854. ;   extension=modulename.extension
      z1 V# Z) S# s8 S- r
  855. ;! l4 x8 Y3 |7 M$ l) c
  856. ; For example, on Windows:
    2 j: J% j  Y- A. |, t
  857. ;
    " V. |4 H& f" K9 R, ^
  858. ;   extension=msql.dll% u$ h# C* N; z1 x- m, Q
  859. ;% s5 W0 F$ {3 i5 q
  860. ; ... or under UNIX:
    : W" m" Q* ?, G. E& K
  861. ;
    ( ]) f( W# E2 [, |. ~) `6 `. s, O
  862. ;   extension=msql.so. a; E0 |- }* J1 t+ y' i
  863. ;; `2 X7 h" k2 ~! N3 x% U9 n
  864. ; ... or with a path:
    5 Z& f' D9 p5 F& _' j4 L
  865. ;
    ; v: N; V1 u$ U+ I
  866. ;   extension=/path/to/extension/msql.so
    , u' ^$ T0 X* M/ v2 t
  867. ;) h# l) u% b# k+ [
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ! x% M" a& C- H/ D: b
  869. ; default extension directory.  v3 A: L6 P, `' y
  870. ;
    ) [- q: D& J) N+ e3 g1 s
  871. ; Windows Extensions$ L0 `/ e/ p4 q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    2 {& W: L" _$ j- A. g
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)7 n7 z, u0 [0 `
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / F  Q+ y- r6 P: }  H, Q  v6 t
  875. ; Be sure to appropriately set the extension_dir directive.
    ) z+ {/ T" l$ c) e
  876. ;' q  ^' c7 C3 L$ m; I6 Q- ?6 `
  877. ;extension=php_bz2.dll2 ]: e" k- s3 i, z% W' `0 z
  878. ;extension=php_curl.dll" ?3 h1 Z5 F4 Y- ~& R* O* ~" Q% D0 c
  879. ;extension=php_fileinfo.dll; r' u3 r$ K6 J: g7 u3 T5 k: m
  880. ;extension=php_ftp.dll7 }; D" |6 ?3 K% }0 o3 W  D
  881. ;extension=php_gd2.dll& n9 E, C2 m6 O3 V  {
  882. ;extension=php_gettext.dll
    ! X/ R% S4 Z8 |7 r* B
  883. ;extension=php_gmp.dll. Z9 f7 U6 R4 I2 k, r/ t
  884. ;extension=php_intl.dll3 U' a/ A: g# c1 s8 m
  885. ;extension=php_imap.dll
    $ S; A7 S9 z3 t: U5 P) j' E# g
  886. ;extension=php_interbase.dll0 k1 X- \5 f  n7 c
  887. ;extension=php_ldap.dll
    5 |9 W& L" P/ C; T
  888. ;extension=php_mbstring.dll% Z2 d( ~: u+ U+ ^
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ [/ T, Q4 Z7 o! ]
  890. ;extension=php_mysqli.dll, k9 ^% E3 i( S7 ?1 j! [7 {
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- F' m+ c: z- ^9 d5 E
  892. ;extension=php_openssl.dll
    % J4 V0 g9 x' i' @- R; y  W! b) s
  893. ;extension=php_pdo_firebird.dll" p3 [1 S; i: }7 ], @
  894. ;extension=php_pdo_mysql.dll
    3 y4 H- X1 q) s
  895. ;extension=php_pdo_oci.dll
    8 [: h" n! R* Y& }- j5 d# O+ F) z
  896. ;extension=php_pdo_odbc.dll; b; a# Q, V: L/ H, d6 x% q9 m
  897. ;extension=php_pdo_pgsql.dll
    4 t1 S3 L, m0 X! \7 T/ s
  898. ;extension=php_pdo_sqlite.dll
    % [! w6 w' @5 c$ M
  899. ;extension=php_pgsql.dll
      u9 O. ?2 T( t5 `1 z
  900. ;extension=php_shmop.dll8 O- ]4 O, k* j* C3 m* d7 N

  901. 1 E- G# Y4 a( c5 [6 _
  902. ; The MIBS data available in the PHP distribution must be installed.& u% Q! s, x- B' L+ n- ?/ }
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ; F! t' e/ W; K4 f+ e
  904. ;extension=php_snmp.dll
    . o$ `8 O) x1 T1 R8 i
  905. 4 r' T4 i2 e8 ~* h
  906. ;extension=php_soap.dll) z( [2 ]( r% m6 Q, r
  907. ;extension=php_sockets.dll3 o% g! e  b" {4 ?9 }9 K. K
  908. ;extension=php_sqlite3.dll# c7 y2 Z( G. [$ Z5 k9 m) h
  909. ;extension=php_tidy.dll5 Y6 M  A( O+ @) T
  910. ;extension=php_xmlrpc.dll
    0 s7 }' E$ ~* h. I
  911. ;extension=php_xsl.dll
    ' Y; v0 `  U1 ^% [2 e7 {

  912. 6 T2 T* l2 b# Q
  913. ;;;;;;;;;;;;;;;;;;;8 O5 A5 M5 l9 L. T5 }
  914. ; Module Settings ;. I/ _# J7 A4 ^4 c6 ^8 K+ ?
  915. ;;;;;;;;;;;;;;;;;;;' w, g3 T# d6 l: y

  916. $ x8 d" |) O9 F- T
  917. [CLI Server]
    5 |! G6 Y5 X6 U" |4 e! a5 H
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 B: L; q: n' d: H; }
  919. cli_server.color = On/ W9 R6 {/ @- J. J: u' `5 f

  920. # V1 @3 K$ ~' Q: |
  921. [Date]
    . H: C$ R9 ~7 P
  922. ; Defines the default timezone used by the date functions
    9 R/ o  l/ F. d
  923. ; http://php.net/date.timezone- |1 ^  r, z9 ]/ V
  924. date.timezone = PRC
    8 O* b0 m+ X- B9 `' ~% k
  925. 7 Q& a. {6 b/ `( N1 m" v
  926. ; http://php.net/date.default-latitude8 H1 O" q+ d* f- \" Z
  927. ;date.default_latitude = 31.7667
    " @2 t0 u3 ]. _* P4 T3 H2 i
  928. ( `. Y, e4 i& X7 w
  929. ; http://php.net/date.default-longitude/ [7 ?; J! K) o* v- `5 {
  930. ;date.default_longitude = 35.2333" M5 V5 X- o6 x( Q$ P  {  F% E

  931. * y9 H+ o; p  r6 j! J
  932. ; http://php.net/date.sunrise-zenith& v/ d) L8 H- c: ^% Q% @" f/ l) F
  933. ;date.sunrise_zenith = 90.583333+ x( E. @4 k# W) V" W- A
  934. $ _! Y6 j& C$ l$ g8 `
  935. ; http://php.net/date.sunset-zenith
    ; q: j5 Y' ]2 t( |0 S: C6 Y
  936. ;date.sunset_zenith = 90.5833338 q6 M# C7 V* W1 m, k' C
  937. # f! h- [) r! A9 k' T2 D9 v. K
  938. [filter]1 ?3 a1 ~2 d+ S9 A
  939. ; http://php.net/filter.default
    8 r/ `$ ^2 s7 o# R
  940. ;filter.default = unsafe_raw; @7 g  H. n; f5 M
  941. 1 N3 F& k$ B7 ]+ _0 e7 P
  942. ; http://php.net/filter.default-flags# ^: |8 [9 `2 o9 u+ N3 E* k3 j
  943. ;filter.default_flags =
    . k, j9 S0 B- ?* p! j0 x

  944. ( b2 m! j7 ^5 P8 Y8 Y7 n1 F
  945. [iconv]: x0 M) \& J' \: B
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ e* m' E9 l8 d1 v5 t6 ?
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.$ d3 Y4 E. _7 C' V4 {
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, e# g6 k3 K" @5 `/ o
  949. ;iconv.input_encoding =
    4 G; ?& o8 t% w5 ~

  950. 2 {% w! I" H) y7 x/ g8 Z& Y* Z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & F2 b* ]* Y8 x. \6 Q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 I: E4 |3 ]4 p, K
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - l7 y/ C4 D+ R- A6 @% `
  954. ;iconv.internal_encoding =
    1 M7 \6 `1 ~- m
  955. 4 a8 P6 y+ a2 N) Q- M& V' g
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.6 n+ D- k1 W/ x. S) f  x1 i5 A0 A+ I
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." J( x( z# H  C
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 ^7 Y9 P* m) j# `0 ?0 M: W
  959. ; To use an output encoding conversion, iconv's output handler must be set) F1 p2 `! M0 G1 w; R5 d/ k% X
  960. ; otherwise output encoding conversion cannot be performed.
    & B% L6 C% C* t4 o
  961. ;iconv.output_encoding =. L; s4 u+ `& F8 y( h; Z- e  m" [

  962.   b4 u8 z2 J9 K. Z1 X$ i" ~" L
  963. [intl]% Y; M: |( L# o7 g5 m1 e
  964. ;intl.default_locale =* R+ S1 |* ~- g4 ?0 h
  965. ; This directive allows you to produce PHP errors when some error
    1 b" M0 Q" Z  W8 t! u
  966. ; happens within intl functions. The value is the level of the error produced.8 O" n) x" K7 m8 V* b' U: P+ m
  967. ; Default is 0, which does not produce any errors.
    1 f$ [3 C; G2 r- p/ L
  968. ;intl.error_level = E_WARNING
    4 v) f' J. b/ |" H/ [
  969. ;intl.use_exceptions = 0
    3 O3 H1 f( `! H) H/ @9 t
  970. ' T0 M2 a, |' j4 c$ W# e# U6 C  \
  971. [sqlite3]
    # x. B( K. [0 \. S9 ^2 |3 @; E
  972. ;sqlite3.extension_dir =" C; ~' C$ r( }7 m

  973. + p) O. \& Y2 C0 F! C" t
  974. [Pcre]" P' v# K+ R0 s1 K9 \6 [6 B) n- y
  975. ;PCRE library backtracking limit.) q( x+ j& ?$ i3 [
  976. ; http://php.net/pcre.backtrack-limit
    5 W0 _$ j6 x9 |$ B0 i
  977. ;pcre.backtrack_limit=100000) _6 ~; U+ N$ x
  978. , U$ J& r3 V/ l2 w' q
  979. ;PCRE library recursion limit.! P2 M. N8 j" u$ u+ n) G/ I+ j* }
  980. ;Please note that if you set this value to a high number you may consume all
    4 [' J! B3 [- }9 |# Y( ~, Z$ J
  981. ;the available process stack and eventually crash PHP (due to reaching the( `) u% j# y/ ]
  982. ;stack size limit imposed by the Operating System).
    ) ?* A) Q/ F( ]6 y
  983. ; http://php.net/pcre.recursion-limit
    + _! C1 d- w8 j' h
  984. ;pcre.recursion_limit=1000006 s1 `" B8 [: ]6 `

  985. 9 T  J% j! u- X' o- M
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE8 P! S% o% }" `1 ?7 w/ z; z! A
  987. ;library to be compiled with JIT support.( W$ S& [4 y+ n
  988. ;pcre.jit=1
    5 N0 M' N; g8 G; Z! K& G4 X* R
  989. # ~& X& g1 D: q5 H- Q
  990. [Pdo]
    , i9 ]4 d% @& {  h
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    , ?; u* E" R. X; V
  992. ; http://php.net/pdo-odbc.connection-pooling9 q) V- L/ |  {$ \" {  a9 ^) f- j
  993. ;pdo_odbc.connection_pooling=strict4 x4 G8 W) [# x

  994. ( |1 i  U4 Y0 L8 U5 a, d; N
  995. ;pdo_odbc.db2_instance_name
    & ~; G6 a8 K& v4 i, p

  996. * y0 u, h( m: C) i2 u& Z. m- ^8 q
  997. [Pdo_mysql]
    % ~+ l0 u  y% x
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 a0 N: p) a2 B5 h  D) _
  999. ; http://php.net/pdo_mysql.cache_size
    $ _' K8 V6 Y; z. B
  1000. pdo_mysql.cache_size = 2000
    & l/ u& |! E* ]% Y, A
  1001. ! V1 b5 i+ u9 z0 u3 i
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      w8 n* G+ N6 }8 A4 X
  1003. ; MySQL defaults.& R1 G! u) `& C# o( n  k
  1004. ; http://php.net/pdo_mysql.default-socket
    4 o1 v& [$ I( a/ @0 G* ?
  1005. pdo_mysql.default_socket=2 g! ?4 N+ {' ?4 u! ~1 s
  1006. ( r9 U6 o: J& L7 p3 e/ x: W
  1007. [Phar]
    6 E; ^/ o  E& j0 z( g, j4 l8 |. O
  1008. ; http://php.net/phar.readonly1 k9 |8 |1 k0 r, b+ W+ G
  1009. ;phar.readonly = On7 y. `4 l# Y5 |$ l
  1010. * s% `" v, F/ P( v$ F& e
  1011. ; http://php.net/phar.require-hash. }; m' I  B  M9 [0 Z! }! j
  1012. ;phar.require_hash = On- v% G$ y9 o+ y% [

  1013. 3 @# N" p" _9 e+ d
  1014. ;phar.cache_list =; T, g# i2 X$ k+ j+ w% y
  1015. % |+ r9 _4 A. w5 T2 R
  1016. [mail function]% [% _& }6 H0 h! F5 W9 _; S
  1017. ; For Win32 only." f) l/ W% U$ u) A( u5 c: A
  1018. ; http://php.net/smtp! `, h9 \/ X+ s% P# A; m( a- M# `
  1019. SMTP = localhost
    8 J  e* C4 t/ d* o
  1020. ; http://php.net/smtp-port( C4 L9 T+ }, J' z7 P
  1021. smtp_port = 25+ ~+ M6 K- I/ s1 T  I0 q

  1022. " R; O7 ?0 r% C! j
  1023. ; For Win32 only.+ p$ L* y0 D& I) y: j
  1024. ; http://php.net/sendmail-from
    + t$ ^, p! L; U8 b* k$ R( o
  1025. ;sendmail_from = me@example.com
    6 |/ I, F3 s9 `# v8 H, |0 h; J0 N
  1026. % q: N: S( a# C- p) `# w/ e# `1 H
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( R* a- I/ l: D
  1028. ; http://php.net/sendmail-path
    4 h: b& ]+ @  ~, W5 J# @  S
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    1 s% G' h' @4 |

  1030. / \4 D* Q9 U9 A
  1031. ; Force the addition of the specified parameters to be passed as extra parameters9 @: S$ T9 `' w8 l1 u
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ; _4 _: m; H" J: t5 a- u) s
  1033. ; the 5th parameter to mail().2 C) Z7 l. Z- ?- l' Y# Q
  1034. ;mail.force_extra_parameters =9 i  @% o; d3 A

  1035. : T0 Z' D. B& u
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename: g7 e2 U$ H/ l  U1 u' Z* q/ I; ^
  1037. mail.add_x_header = On. H7 e' y' C2 y' R
  1038. ) G+ E' o: O* |8 b" {
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    1 U; m9 F8 Z7 x$ @! V' o4 i  a
  1040. ; the full path of the script, line number, To address and headers.9 z& k" B- e3 ]1 K4 |6 }; b
  1041. ;mail.log =
    : }& e) l+ w' C% v1 e! I
  1042. ; Log mail to syslog (Event Log on Windows).6 Y* p: F! o  d
  1043. ;mail.log = syslog
    / I5 x% K3 ?+ x# o# ]/ \
  1044. 7 Y% A, M6 @% p+ H3 `9 C6 R3 m$ o- K
  1045. [SQL]
      s5 W% q0 N1 s  N' L
  1046. ; http://php.net/sql.safe-mode) c% W1 m2 l9 H; X6 Z" M: b
  1047. sql.safe_mode = Off7 Z6 ^! G0 n2 o# X/ ^

  1048. + A; E* W- M- S. I0 X
  1049. [ODBC]6 S6 V4 K% p7 l2 k& q0 N6 X
  1050. ; http://php.net/odbc.default-db
    3 C* _" O4 r6 ~* X6 G9 L
  1051. ;odbc.default_db    =  Not yet implemented3 [3 s- {3 U1 U  @! f/ B6 E6 I

  1052. 8 t) l, q1 X  b
  1053. ; http://php.net/odbc.default-user
      R* R: H6 T- M& ]/ a& a9 F
  1054. ;odbc.default_user  =  Not yet implemented4 v' S: N1 O) {2 b( M9 W' l
  1055. / `: P7 e, F6 c, v# q0 v
  1056. ; http://php.net/odbc.default-pw
    % @1 Y9 T# F4 y8 ?9 o0 v, C
  1057. ;odbc.default_pw    =  Not yet implemented6 d9 g+ _$ G- A6 Z

  1058. " }3 r& S8 ?5 U5 c/ e/ s
  1059. ; Controls the ODBC cursor model.3 Y6 b6 G4 U# N) E' ^4 V
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 J7 l8 C- L& w% x' S0 J" u( H
  1061. ;odbc.default_cursortype
    0 k7 u. V" a$ [4 x
  1062. 5 X) |# ]2 y9 ~& C% m4 m' t
  1063. ; Allow or prevent persistent links.1 p! b, `% F) Q
  1064. ; http://php.net/odbc.allow-persistent$ `- W% V+ [2 T# Y2 ]6 C7 M& p
  1065. odbc.allow_persistent = On
    1 w: F$ U( s( B2 J' p7 q, O

  1066. 0 M& P5 T4 ]$ Y. R5 F
  1067. ; Check that a connection is still valid before reuse.' [9 @0 ]" w8 Z$ S8 I
  1068. ; http://php.net/odbc.check-persistent
    7 P+ x" W% y3 J3 Z4 C
  1069. odbc.check_persistent = On+ l1 W( l+ `, }) i
  1070. 4 g$ c4 K$ m& C) d
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ' p" K  D8 X( Q! [" v9 R+ z! ]. M
  1072. ; http://php.net/odbc.max-persistent5 S) j: k/ w" i' d! }
  1073. odbc.max_persistent = -1
    0 u2 j) ?4 l8 l  p; Y" b/ ~* j( [

  1074. - V, T# _0 i& \& @( [0 Y% x
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # q! h0 v' S8 x( c/ d- ~) L/ H2 x7 x% n
  1076. ; http://php.net/odbc.max-links
    + A- H+ M& b# i! R% c- d: H$ k
  1077. odbc.max_links = -1
    # C* C# F/ }5 x/ \! H# C; s
  1078. ; q" F4 S5 B: J( R% E
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ( N% P9 J4 y! ]2 ]$ K- m7 g- m
  1080. ; passthru.0 X( M# R  v3 z) X5 \
  1081. ; http://php.net/odbc.defaultlrl5 @  K( x; x; J
  1082. odbc.defaultlrl = 4096
    - Z( m% O6 k# J0 j& }$ H6 k( @

  1083. - G: K. @8 i; J- \
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char., E; `( @! G2 q- ?
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation; v, n2 q4 Y) e2 L
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    0 u9 s4 c: Q0 F' _5 m- [
  1087. ; http://php.net/odbc.defaultbinmode
    . f" t+ ~& i$ r  S% C' w3 `
  1088. odbc.defaultbinmode = 1
    $ l/ ]% R: M8 C: s. _
  1089. + }; b3 B8 m* @2 i( o5 |' L
  1090. ;birdstep.max_links = -16 d% ^: V( j$ B
  1091. " c4 }( |; q& q$ I5 A6 f
  1092. [Interbase]
    ; o8 ?7 L2 ^* z
  1093. ; Allow or prevent persistent links.
    3 W4 Y4 _2 L$ R8 @% C
  1094. ibase.allow_persistent = 1# I1 L' q$ |- x2 s( T
  1095. : d. [& I, }% {% Z& H% p' v) f( w
  1096. ; Maximum number of persistent links.  -1 means no limit.6 |( h9 G( m& o# `! C
  1097. ibase.max_persistent = -17 [$ D1 ~9 P, u4 _  }9 k

  1098. $ Z. h( Y! h$ u
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ P* E6 p% d! `6 N1 Y0 ~
  1100. ibase.max_links = -1/ G% d6 E" Z% X' `
  1101. . A: g: {9 c3 S. G  y" l
  1102. ; Default database name for ibase_connect().
    ' g& ~# I' h' g
  1103. ;ibase.default_db =
    2 z1 [, ^0 C) g& X9 n; A

  1104. / O' t1 [6 n& o8 }
  1105. ; Default username for ibase_connect().* i' b/ e& f3 z. }$ _& K
  1106. ;ibase.default_user =
    6 Z/ [. N0 h" {$ Z
  1107. & P$ Z) F# L- s2 ?3 p1 D/ p
  1108. ; Default password for ibase_connect().. f/ a; _. A8 ~& A- @: ?7 r* j8 I
  1109. ;ibase.default_password =
      \: z( z2 @& P' P! ~/ D# i! V

  1110. 8 R( k. f2 G1 z( V. s
  1111. ; Default charset for ibase_connect().
    1 B" L+ z2 A1 P
  1112. ;ibase.default_charset =
    # o" V, ?/ C5 }$ H  x
  1113. " g7 g  q$ c# X  _
  1114. ; Default timestamp format., n9 T6 T! n2 |2 m6 D4 y$ c* S7 [2 m
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , L9 N: h8 f: p3 h

  1116. % u9 Q. B+ j, |% a, L9 D+ F  j
  1117. ; Default date format.* A. W( Z3 n1 F
  1118. ibase.dateformat = "%Y-%m-%d"
    / F, B3 g& @; |
  1119. & L( S# w8 X* ^
  1120. ; Default time format.+ r& F  B# U/ j- L
  1121. ibase.timeformat = "%H:%M:%S"$ \. z7 G2 l+ b  n

  1122. ; v/ s: G( s5 H+ V
  1123. [MySQLi]
    ! J$ H, f4 M9 }- v! n+ J

  1124. / m& A' k' F5 h
  1125. ; Maximum number of persistent links.  -1 means no limit.. T( D2 S5 J9 i% }6 ^/ ?& u
  1126. ; http://php.net/mysqli.max-persistent
    : v( N; o9 I& n8 G+ i  `' y
  1127. mysqli.max_persistent = -1% _1 h& u4 s" B, p/ F
  1128. : V  ?3 G. K1 H& u9 N- H0 }
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' A* U/ [" N  G6 F
  1130. ; http://php.net/mysqli.allow_local_infile. d' O% Y& `% i9 K
  1131. ;mysqli.allow_local_infile = On0 m. b5 I) c2 z% I& E! r

  1132. ( F# J+ z9 u9 ]
  1133. ; Allow or prevent persistent links.
    5 y" J' u) S  ^) n9 @& S" C/ ]
  1134. ; http://php.net/mysqli.allow-persistent
    ; ?% k+ Q, m8 k. i) |4 C7 |0 r
  1135. mysqli.allow_persistent = On
    7 m8 y8 E; ]7 e) V

  1136. & ^; C- B5 E7 [- T
  1137. ; Maximum number of links.  -1 means no limit.0 O$ J5 S. i+ x! U2 _
  1138. ; http://php.net/mysqli.max-links
    , |* ^% _* i5 l& K# V9 q6 T
  1139. mysqli.max_links = -15 a+ Z* z4 ]* u5 [( Y: j

  1140. / w% i4 a+ o6 u, R# U
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , C( `, ~& V: A8 d4 D) D
  1142. ; http://php.net/mysqli.cache_size
    & \  z  D* m, @0 t
  1143. mysqli.cache_size = 2000
    4 c( E  h9 C: ^* g

  1144. / R; ?6 Q6 [! K" J
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use: ~- P+ d) ~% V3 G/ ~; D
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the6 O; d7 U9 q# f0 k& G; V: O3 k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 p) N8 v0 Q4 r% I7 d6 }
  1148. ; at MYSQL_PORT./ O2 L* `  v/ N% ]. k  I
  1149. ; http://php.net/mysqli.default-port9 E7 {. t1 ?% T# S
  1150. mysqli.default_port = 3306
    2 f, \7 A; ^/ Z' {

  1151. & f* y& ~; g" q  r5 F3 n* j
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in: s8 N, ]6 a; q( ]
  1153. ; MySQL defaults.; E; q/ `- @6 b. ~
  1154. ; http://php.net/mysqli.default-socket
    ) e* A5 V1 W: K
  1155. mysqli.default_socket =9 M* Q7 j5 ^$ b" f: S- q3 M/ P

  1156. " i) r0 j6 I& Y6 H
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / K1 z# O) @5 C; s
  1158. ; http://php.net/mysqli.default-host
    ' W7 \0 }5 U( |7 X, B
  1159. mysqli.default_host =
    . _7 q( L& \6 {+ [2 i
  1160. 5 e, @1 c1 F" I3 ~; N
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 T; Y: S8 x, }; v% h
  1162. ; http://php.net/mysqli.default-user
    * f1 S+ `+ _! r9 E. b$ k& k* v
  1163. mysqli.default_user =
    " G( ^" `7 _- G) l7 {3 b
  1164. 3 y8 P4 ]1 L* o1 ^7 W. L% g
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).; B: l% m3 E& x+ ]5 ~6 v
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.# K7 l1 K& h, T& Y% C8 d4 v' g) ^
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 U; T; B( y0 M9 Z" h; h% f  C
  1168. ; and reveal this password!  And of course, any users with read access to this
      \9 V8 B' z# J* z- `& S
  1169. ; file will be able to reveal the password as well.* g) b* U# T* B1 b5 T' Q
  1170. ; http://php.net/mysqli.default-pw( w# n# p! _8 k1 ]* {6 n5 U* }8 X
  1171. mysqli.default_pw =
    2 }6 y, B! l* Q! g% o6 Z4 V

  1172. , j. ^; B# W. \2 x# P! v
  1173. ; Allow or prevent reconnect
    : o  v, x9 c5 ]& i3 D0 z- W
  1174. mysqli.reconnect = Off, o8 B8 T2 D' p* t% ~
  1175. $ h" }; l) r+ i& {% k
  1176. [mysqlnd]- K& T# V3 F# @; @3 t& l% x* u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 S" n0 @9 @+ V: p% g& i' {
  1178. ; used to tune and monitor MySQL operations.. b1 l3 z) X: J4 Z, x7 K. |$ W
  1179. ; http://php.net/mysqlnd.collect_statistics7 `  l# x% A. p2 b: s0 [
  1180. mysqlnd.collect_statistics = On0 B4 }" w8 o4 B5 ?9 N

  1181. : [5 ?) W4 d7 P- T. I  v
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 {  g0 _8 w) J
  1183. ; used to tune and monitor MySQL operations.
    & x' T( }$ b4 m7 F9 m# {/ `4 H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics' n- o, V- D0 r6 I! h
  1185. mysqlnd.collect_memory_statistics = Off# I4 D4 R; ]; ~
  1186. 2 R! `1 p  R( T& m# s& N' c
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ' Y2 |' t) x  t% `. ?
  1188. ; file.
    % h) J" ]2 U' {) w, e5 J7 u( ]
  1189. ; http://php.net/mysqlnd.debug  [3 P: `+ b; \1 H3 l
  1190. ;mysqlnd.debug =
    & R$ v' g, g. x) _9 d
  1191. 8 i! p) w4 m; ^" a' x1 z3 ~# j
  1192. ; Defines which queries will be logged.
    # W" _3 D* [$ d
  1193. ; http://php.net/mysqlnd.log_mask6 `: a, T2 B/ E
  1194. ;mysqlnd.log_mask = 0
    % ?% z7 y1 l2 ~9 g
  1195. # k( l* I" J+ x
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.9 a( I7 a  z9 F; Y/ _# U
  1197. ; http://php.net/mysqlnd.mempool_default_size2 v, k" N& y9 I. P1 j+ A
  1198. ;mysqlnd.mempool_default_size = 160006 c/ _4 t, S& O2 \
  1199. . M) b1 Z* J4 C: }2 A- {
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    . t1 ^6 n0 g5 ^" z: W3 l$ c
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size3 v# ^$ k# t3 Z. p5 ]9 f: z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    7 p# Q1 q* ]0 G! L

  1203. 6 h0 r& }6 g0 ]2 q3 D$ i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 s( w( v! t3 J9 D0 n' ?4 i
  1205. ; bytes.  Z" c) A" f5 b+ l, N
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    % Z, J/ E, X  q2 k% A
  1207. ;mysqlnd.net_read_buffer_size = 327687 l$ w: \# O! z+ g# e
  1208. % i. a1 d! X1 `4 @" E8 n
  1209. ; Timeout for network requests in seconds.
      X* K$ T  j0 C
  1210. ; http://php.net/mysqlnd.net_read_timeout
      w; m% s( o/ \. t
  1211. ;mysqlnd.net_read_timeout = 31536000
    # J% N, R  q+ a4 c8 U! U: E) _
  1212. 8 W# n2 F4 O4 m- r
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA0 ?3 o  b" A; |8 q* T% O
  1214. ; key.
    ) t* R( _, M& Z& Z, X0 P1 f9 u2 _
  1215. ; http://php.net/mysqlnd.sha256_server_public_key4 p. t$ [" Q0 k) b3 N4 e( D
  1216. ;mysqlnd.sha256_server_public_key =6 q  o- c' u) K9 s1 r+ Z/ i; L
  1217. & n4 E" u+ N4 q' W/ @
  1218. [OCI8]
    ; b. {) q. W0 r& T* y

  1219. 5 s3 k( \) e5 q5 P. P( ?- d, a
  1220. ; Connection: Enables privileged connections using external$ S) N& k% m4 Z: {4 o
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    : F3 A+ J7 _* O% |  @6 _
  1222. ; http://php.net/oci8.privileged-connect
    . a) T; i* [# F8 g5 l% l; x1 w
  1223. ;oci8.privileged_connect = Off
    1 @0 Y  C, C; C

  1224. , m! e  h; i: ?9 T# O; w: g
  1225. ; Connection: The maximum number of persistent OCI8 connections per8 w, {% F  I# _4 e
  1226. ; process. Using -1 means no limit.
    5 _( ~7 P3 R8 `: r& i6 L7 r* e
  1227. ; http://php.net/oci8.max-persistent
    0 F* ?" }8 h5 N2 F! e  S% v% Z
  1228. ;oci8.max_persistent = -1
    5 ]1 w3 g8 v- `+ T$ a

  1229. & \; Z# B+ Y0 @0 Y5 h1 {/ ?
  1230. ; Connection: The maximum number of seconds a process is allowed to8 p7 }* k0 x" }3 J+ j) o1 i
  1231. ; maintain an idle persistent connection. Using -1 means idle+ O& t& L, g0 w7 t% X! C6 h/ ~
  1232. ; persistent connections will be maintained forever.
    ) N; r1 ^% y" R, k
  1233. ; http://php.net/oci8.persistent-timeout# ~8 W. N: `8 v6 d3 ~* }" [% \( m
  1234. ;oci8.persistent_timeout = -1
    : U* u; D7 q  }- V

  1235.   v! v% x: d! Z! C: ~
  1236. ; Connection: The number of seconds that must pass before issuing a
    , f3 ]7 T% A& k  G' ~  x
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # m: i& q1 e' B) F; N; M
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables  g, s" }; Q7 _4 |5 j9 |
  1239. ; pings completely.
    " ]* d) b5 L4 s' y5 O8 o' J
  1240. ; http://php.net/oci8.ping-interval
    1 z8 Z0 ?9 F0 t8 l: e  p
  1241. ;oci8.ping_interval = 60) e3 R% R) ^" |& U" b
  1242. / |9 }9 N: l: u! A  {$ V. o- s9 y
  1243. ; Connection: Set this to a user chosen connection class to be used3 K. q) t- V. [! c6 r  F
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    # o" ]+ A* [% Z, L& l9 ]2 u
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to! Y! B( q4 U. }3 J: i( G- Z
  1246. ; the same string for all web servers running the same application,( }/ \# f1 @% X! \. [
  1247. ; the database pool must be configured, and the connection string must
    % Z" m- Y+ a' G: t
  1248. ; specify to use a pooled server.4 C  J* I: x, A2 {! v) X. F
  1249. ;oci8.connection_class =
    1 H' I# @% h9 A( w$ ~

  1250. % k8 A+ M( e4 n
  1251. ; High Availability: Using On lets PHP receive Fast Application
    . P: @) [8 B/ ?& D
  1252. ; Notification (FAN) events generated when a database node fails. The0 Q% u! I' T2 {) ]: [; O+ B
  1253. ; database must also be configured to post FAN events.
    ) C! x7 d7 Y8 s$ U# w& g- W
  1254. ;oci8.events = Off
    2 {2 Z2 f( y! e, S, O8 r  G

  1255. $ m/ U. d& n9 j3 h0 l4 G1 q2 Y
  1256. ; Tuning: This option enables statement caching, and specifies how
    5 X8 X7 t8 \0 E& P& T! I$ {& d7 _1 d
  1257. ; many statements to cache. Using 0 disables statement caching.
    9 f7 M" z9 b" b* n3 {& |- h9 d
  1258. ; http://php.net/oci8.statement-cache-size: R/ E" h& {2 J. D* U: w+ |8 H
  1259. ;oci8.statement_cache_size = 20
    : k; E; G4 Z$ w% u& b. I/ w3 P
  1260. " \* }4 I1 \" [. |* P6 B1 u$ ?/ ~. ~
  1261. ; Tuning: Enables statement prefetching and sets the default number of
      `$ G5 q6 g+ q/ g
  1262. ; rows that will be fetched automatically after statement execution.% C. d- y# N1 w7 f. g% K
  1263. ; http://php.net/oci8.default-prefetch( D+ H" a4 v! f6 a6 B* ?
  1264. ;oci8.default_prefetch = 100. G  j( D( m' w; t8 {* x3 b+ G8 N. c

  1265. + w+ f# b2 O3 b5 K- q
  1266. ; Compatibility. Using On means oci_close() will not close
    3 a, }; v' `, Q' h) G0 \( }: r
  1267. ; oci_connect() and oci_new_connect() connections.2 z5 q( Y/ ^5 \# V
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + w5 ]1 Z$ Y: m: X
  1269. ;oci8.old_oci_close_semantics = Off
    / L; _$ u. Y) y: Y5 q3 Q/ r
  1270. 0 v; {9 O2 H. }* h  G0 Q
  1271. [PostgreSQL]
    $ y; i, j) \1 O9 k$ M
  1272. ; Allow or prevent persistent links.
    0 C$ `' p6 Z7 ]' V0 v+ s
  1273. ; http://php.net/pgsql.allow-persistent
    2 \* W2 t+ \* k' x- X, m
  1274. pgsql.allow_persistent = On
    7 _( k8 L; Y% ]& O" A- R

  1275. 3 k( n5 ?; \  x  T4 ^
  1276. ; Detect broken persistent links always with pg_pconnect().
    7 X- h, g% @# }- G" _1 }
  1277. ; Auto reset feature requires a little overheads.2 @' T- ]# I9 A; Z
  1278. ; http://php.net/pgsql.auto-reset-persistent
    # v6 c2 z( A6 N9 X
  1279. pgsql.auto_reset_persistent = Off5 b# K8 ~% z) D

  1280. " e* K3 U1 e7 E% {
  1281. ; Maximum number of persistent links.  -1 means no limit.! r& a2 w8 z8 W0 z
  1282. ; http://php.net/pgsql.max-persistent6 R3 _: L/ k: D) L) E
  1283. pgsql.max_persistent = -1
    ; Y; B- z9 }; E- v' a" ^2 h# F4 D: M

  1284. * }3 g) p& E4 A; D7 s, V/ x
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ t: W  U3 v7 `0 v/ x
  1286. ; http://php.net/pgsql.max-links8 J+ j3 m8 t! f- @1 [0 Q
  1287. pgsql.max_links = -1
    % r9 Y, T2 H4 E7 T9 U1 u
  1288. 6 L5 ?  g" M: R9 ?
  1289. ; Ignore PostgreSQL backends Notice message or not.
    & T' b& m  {7 s( a6 ~1 b0 H$ N
  1290. ; Notice message logging require a little overheads.
    ' }" a' H/ [/ e! L; P/ x
  1291. ; http://php.net/pgsql.ignore-notice
    7 s/ V: F7 g7 j* {
  1292. pgsql.ignore_notice = 09 J! c; j) k" c4 _& Z" T

  1293. - b2 D; z3 K, u5 W4 ^; F
  1294. ; Log PostgreSQL backends Notice message or not.+ c9 d6 I- I  H& f: X
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 N: K1 y4 B& s* d0 l. O0 }
  1296. ; http://php.net/pgsql.log-notice3 b7 ^8 h& L# f; [/ s
  1297. pgsql.log_notice = 00 q) j: A' @- m( [- [, m$ g1 f( ]

  1298. 8 ^( O4 j2 f: \) n+ H& G
  1299. [bcmath]7 I9 e+ s+ w' B) y& W
  1300. ; Number of decimal digits for all bcmath functions.: z; i5 C* J! k8 L  \
  1301. ; http://php.net/bcmath.scale
    $ k, m6 `8 @: }1 t( I
  1302. bcmath.scale = 0
      {, n1 `; v- R# Q2 q7 U& b

  1303. ) Z" N$ y( N! Y  n) p- ~1 q* s
  1304. [browscap]' a  ?2 ]1 h. J, n
  1305. ; http://php.net/browscap
    0 w# C+ G( s- _/ ]( y8 N
  1306. ;browscap = extra/browscap.ini
    2 A  w( W! I# B& R; _7 R" x% `

  1307. + i+ R% w7 `, H) I, p& w
  1308. [Session]; A: |1 F: S  U) z
  1309. ; Handler used to store/retrieve data./ T( M: G8 p0 L1 h2 C7 p; k% T
  1310. ; http://php.net/session.save-handler
    4 y4 B2 O+ |/ A5 s, W9 s
  1311. session.save_handler = files7 Y6 e/ |9 q* C& c5 f

  1312. ) w5 O6 ~% D" M0 a9 I' s6 p) V
  1313. ; Argument passed to save_handler.  In the case of files, this is the path  ^& s3 A1 N% r9 }3 k) }) g( {: }7 n
  1314. ; where data files are stored. Note: Windows users have to change this
    8 _7 ?+ r3 r; U2 U
  1315. ; variable in order to use PHP's session functions.
    7 W- G: X3 `, K, `2 R/ b
  1316. ;
    ! F- A+ G# S2 ~/ x
  1317. ; The path can be defined as:
    / f# B5 C1 C0 P' `$ @
  1318. ;, y1 t7 ^  D3 r/ |
  1319. ;     session.save_path = "N;/path"$ p7 I' _+ i, P: L) j9 H2 ^- ]
  1320. ;: u, V4 @7 v4 r
  1321. ; where N is an integer.  Instead of storing all the session files in/ v. e8 W' M* B) t
  1322. ; /path, what this will do is use subdirectories N-levels deep, and! b0 A* F8 }7 G8 e' V# V
  1323. ; store the session data in those directories.  This is useful if
    9 m/ l8 u1 |. V+ p: ^" g  d
  1324. ; your OS has problems with many files in one directory, and is8 n/ s5 Y0 P/ I+ X
  1325. ; a more efficient layout for servers that handle many sessions.
    : x" y7 ]% Z" v4 Y/ C
  1326. ;% Q2 q- r% b6 f5 K2 e' O4 z5 Q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.1 f( ^% u3 }+ w4 p3 w/ b
  1328. ;         You can use the script in the ext/session dir for that purpose.* ~5 k8 _. }' v5 Z# f5 E" A$ j
  1329. ; NOTE 2: See the section on garbage collection below if you choose to( C/ m' U9 f' T3 W8 z
  1330. ;         use subdirectories for session storage
    % R+ e8 |6 t9 p* P% ]
  1331. ;
    : p6 F( Y" j9 \8 ?& z) U
  1332. ; The file storage module creates files using mode 600 by default.
    8 [4 d3 T. P4 b7 V
  1333. ; You can change that by using
    ) W# J1 d2 n: {
  1334. ;
    % C; Z4 k4 x- @. P1 j
  1335. ;     session.save_path = "N;MODE;/path"
    ' a5 p0 p; F( q2 B/ u* `, w
  1336. ;
    9 s0 B: b% d5 W6 m6 M
  1337. ; where MODE is the octal representation of the mode. Note that this
    * I! {: d; y0 W; W
  1338. ; does not overwrite the process's umask.
    7 c7 L) z7 E' @) L: Z3 e
  1339. ; http://php.net/session.save-path  R/ a+ v- ~/ Z$ Z% ^
  1340. ;session.save_path = "/tmp"+ @% k+ h$ b6 I' J' @# P: d2 b

  1341. 6 }6 \+ j1 F; Y! M% j
  1342. ; Whether to use strict session mode.. A1 E  j7 s! E) _' w
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    - _, K! C! u0 p( [+ ~
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + x  P9 \: D- z( i2 F3 P- Z3 d0 }
  1345. ; applications from session fixation via session adoption vulnerability. It is! F$ o$ m0 Q4 \/ C9 Q& c& I5 S
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 r4 e3 X+ ]+ u1 q- E, R  a
  1347. ; https://wiki.php.net/rfc/strict_sessions! _. C( Q/ I" C' G1 F5 x. ~7 E3 I8 j% u
  1348. session.use_strict_mode = 0
    % x  w. F8 H+ x3 i
  1349. ; u. S+ _: ~8 `- z- F$ ^
  1350. ; Whether to use cookies.
    / [3 m$ K# S6 r! }/ b
  1351. ; http://php.net/session.use-cookies
    # e0 q' r; _* o- s
  1352. session.use_cookies = 1
    & M5 C5 a3 k, O. M1 X, W

  1353. 9 h1 d' Z- _) n3 ]6 R* w$ i
  1354. ; http://php.net/session.cookie-secure
    ) V: y2 f# H' G6 [& {* r. \- T
  1355. ;session.cookie_secure =5 D' v+ M2 X$ v

  1356. / Q' \3 K! V) J- M
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 D" a% U) X" Y( e0 M( f9 ]- x
  1358. ; the session id. We encourage this operation as it's very helpful in combating3 p- |- z; o- N* |; j
  1359. ; session hijacking when not specifying and managing your own session id. It is
    " w2 b" w/ M0 U, W9 w& w
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.3 Z' z1 x$ i. V" Z7 G3 P
  1361. ; http://php.net/session.use-only-cookies9 ]2 @6 T% g  q5 t9 `: h1 G* i! H
  1362. session.use_only_cookies = 1; L, x; P9 O/ Y9 u0 r

  1363. 4 K0 x; Y  [, V. A- `( p! [3 i
  1364. ; Name of the session (used as cookie name).
    7 X" ?0 m3 v. K" u+ W: L$ ^
  1365. ; http://php.net/session.name* b$ M" p0 Y: n
  1366. session.name = PHPSESSID
    5 c2 s* L" I& w9 |1 I
  1367. $ n9 `# f% s2 F! `0 \
  1368. ; Initialize session on request startup.
    4 [' x9 K7 r- L
  1369. ; http://php.net/session.auto-start
    , X& n- C- \3 t  s
  1370. session.auto_start = 0/ A3 Y! u6 X# M4 b; v% X
  1371. 8 g% G/ N( C6 z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: T$ c) U. p; ^4 ^- R
  1373. ; http://php.net/session.cookie-lifetime* N  A" p5 }/ H' A
  1374. session.cookie_lifetime = 0
    7 U+ }, R# e" v6 o. ?4 L
  1375. + }: T# f1 g( o- Q
  1376. ; The path for which the cookie is valid.; [0 M! n1 e( h; B' p( R$ m
  1377. ; http://php.net/session.cookie-path
    3 G6 M6 c, J1 J) V+ D- U
  1378. session.cookie_path = /
    " C- j* c( I9 Z  `

  1379. $ J. J: g, D9 H* g2 N- D  g
  1380. ; The domain for which the cookie is valid.
    0 T& ?5 v7 l' ?% k# w2 f; d% a
  1381. ; http://php.net/session.cookie-domain
    9 w. O. s0 a" U+ u6 c
  1382. session.cookie_domain =+ I5 W; u7 H3 U7 ^% }! U

  1383. 1 J' _. g: c, e5 s& l# L
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' r+ u' @- i4 J$ |8 K
  1385. ; http://php.net/session.cookie-httponly& d: C6 i4 A8 q2 Z# Z' {: N
  1386. session.cookie_httponly =
    % M/ o" m2 h- l% S1 x+ D5 v

  1387. ; e# N0 n- l+ f
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # y$ Z. f1 H# g8 [* w2 x
  1389. ; http://php.net/session.serialize-handler
    ) P/ V$ U: f" E
  1390. session.serialize_handler = php
    6 s! [/ h) G: r% A3 {( d

  1391. 6 a; A/ m9 p+ u: V/ c
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 \) W4 R% @% W5 y/ I! G7 n7 Y, b
  1393. ; on every session initialization. The probability is calculated by using
    7 w  X7 l& x% F& m
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! X9 k( S% i! i) I
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % M/ K  N7 H6 L$ h8 a
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " B1 F, y5 p6 x$ y/ R
  1397. ; the gc will run on any give request.
    4 p2 T8 m+ h" V# e
  1398. ; Default Value: 1
    7 L5 a" H3 s$ C. V
  1399. ; Development Value: 15 Y. N3 e0 y. c; ?  C/ i
  1400. ; Production Value: 1# o4 J2 B: e# g  e% D8 A& }- S
  1401. ; http://php.net/session.gc-probability1 S1 }# v! B" F3 ^& Z9 C
  1402. session.gc_probability = 1
    1 d/ U* Z7 }* _8 S2 i

  1403. 2 R8 x/ s1 |$ c. O5 H8 `3 [
  1404. ; Defines the probability that the 'garbage collection' process is started on every! Y& q3 k: D, @. p8 A' b) E
  1405. ; session initialization. The probability is calculated by using the following equation:& w6 N$ h. G! S8 M3 R
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: ]) _6 M2 _/ k0 k
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1: R( D$ ~& n& P2 e  p
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 L, R2 i  S1 H! p
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    " V: a1 K) K& e- W* s
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * B% K5 G; N) I+ e$ Y
  1411. ; this is a more efficient approach.* e) ~4 h* F- w$ D+ U4 K9 t
  1412. ; Default Value: 100
    & P" Y' k: X( e7 G
  1413. ; Development Value: 10006 q* b' {) W% D! a( L
  1414. ; Production Value: 1000
    1 R& u; r5 N: [( t
  1415. ; http://php.net/session.gc-divisor
    3 x" {8 m* A% V4 P' O) V7 T% h8 x7 L
  1416. session.gc_divisor = 1000. G' v7 g, {; q! d
  1417. 4 t6 o3 T6 W+ D& P( E
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
      x$ ]! |% a' Z3 j0 s. z' c
  1419. ; cleaned up by the garbage collection process.
    & n8 L. x" e' V( z% o9 C
  1420. ; http://php.net/session.gc-maxlifetime
    # e5 a7 ~0 u& [: x1 e: H3 G4 I
  1421. session.gc_maxlifetime = 1440! f( g" T4 q5 _6 U0 F

  1422. / Z4 V2 a) k2 c( y
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    5 ^8 k: v8 M1 d0 m5 ?" e
  1424. ;       (see session.save_path above), then garbage collection does *not*
    $ W- U- v! J* B& f# X) b. I
  1425. ;       happen automatically.  You will need to do your own garbage
    9 _8 z: [6 R  u+ V
  1426. ;       collection through a shell script, cron entry, or some other method.- I& ^( {' t' Z  b$ X9 I2 m
  1427. ;       For example, the following script would is the equivalent of
    ) @, `& x- n  ~. J" b( }/ V/ C3 u
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! {3 O) E: f0 b
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    2 d# V' X8 s" J' K. }
  1430. + U( I6 c* z5 t& r2 v0 y
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
      w& q( x  Y' F  F/ }5 u0 ]/ d
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    1 |1 v1 C* W" }/ z
  1433. ; considered as valid.- c( p3 j3 r% e" z7 f
  1434. ; http://php.net/session.referer-check
      a7 x7 G% F4 ~; g* p2 o
  1435. session.referer_check =
    6 O  ~8 }1 Z- c$ v7 C
  1436. 3 R$ y* a! Y. _* E
  1437. ; How many bytes to read from the file.
    & V; d5 o% x$ N; _. b
  1438. ; http://php.net/session.entropy-length
    ; j. i6 r  V7 v0 F- w8 }# I
  1439. ;session.entropy_length = 32+ X# C3 Y$ r7 E
  1440. 0 c+ M" U5 [4 T* b
  1441. ; Specified here to create the session id.
    , \  q: G5 U6 E
  1442. ; http://php.net/session.entropy-file8 {. R: s. H% T/ X5 z1 U' t& v
  1443. ; Defaults to /dev/urandom
    3 Y0 u# o$ L1 o$ d2 {7 U: O3 m
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    % H7 [+ u* V! a5 v$ F
  1445. ; If neither are found at compile time, the default is no entropy file.
    ) {; t% X% J8 }
  1446. ; On windows, setting the entropy_length setting will activate the6 I! X6 t0 D: [9 @4 f
  1447. ; Windows random source (using the CryptoAPI)
    . J, A# U( ^2 `( G; F
  1448. ;session.entropy_file = /dev/urandom
    * F$ g: b* p& y7 T, f
  1449. 3 G( V; K5 ]3 A# s  S" F
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 Y( R% B  K3 j: `+ }, K, |" f# R
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ; P# t( U* \- i6 u
  1452. ; http://php.net/session.cache-limiter5 F/ ^& w) B3 C2 U4 W3 Q
  1453. session.cache_limiter = nocache. B5 k- Z5 P" M  A: u
  1454. 5 P( _" |! a& w" e  V1 A. {  @
  1455. ; Document expires after n minutes.3 T5 ]" ?* j0 l/ w' E
  1456. ; http://php.net/session.cache-expire" k9 k' _" f  u9 e4 C
  1457. session.cache_expire = 1807 T6 T4 S8 q8 _/ P: U

  1458. ( `% m. ~! ~5 Z' W
  1459. ; trans sid support is disabled by default.
    ( f& [: `  [' B& k3 m
  1460. ; Use of trans sid may risk your users' security.
      j+ L8 x$ @0 v- _
  1461. ; Use this option with caution.) b+ t+ U" X1 [0 F/ }$ e1 h
  1462. ; - User may send URL contains active session ID
    , q9 N) ~2 j# S/ Q. A4 [5 L
  1463. ;   to other person via. email/irc/etc." f4 J- H' n9 H; W7 R
  1464. ; - URL that contains active session ID may be stored
    8 K9 n( |! G5 R8 f, \
  1465. ;   in publicly accessible computer./ v: c" N# V! x. p1 [/ N6 Y  C5 q
  1466. ; - User may access your site with the same session ID* |- O6 I( Y# m7 {. v
  1467. ;   always using URL stored in browser's history or bookmarks.
    ! v' t- h( s+ d. K" U: Z
  1468. ; http://php.net/session.use-trans-sid
    ! K+ g$ t/ ]) u
  1469. session.use_trans_sid = 0; e! J0 |! n+ m; ^) u$ N+ u
  1470.   u0 j. ^5 Q- p0 z1 K: J& Q; z
  1471. ; Select a hash function for use in generating session ids.
    0 Q- ]0 k7 c9 w. s
  1472. ; Possible Values
      e' m5 B6 a- e2 t: h8 L. J- C: D
  1473. ;   0  (MD5 128 bits)
    7 U# R/ F3 e/ j! g* l  a
  1474. ;   1  (SHA-1 160 bits)3 U5 C- `) c3 p; T& c
  1475. ; This option may also be set to the name of any hash function supported by
    . {" F2 `: p( _# E9 [& s
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()( K  c* a+ g/ c
  1477. ; function.. p3 l+ B* F+ }0 }! Y
  1478. ; http://php.net/session.hash-function
    " i) U+ y3 g, ], y1 F7 K1 Y( @
  1479. session.hash_function = 0
    * X3 k. P5 S8 y0 s' |1 g7 k
  1480. - h( M  p0 v' k" e2 `' P% q
  1481. ; Define how many bits are stored in each character when converting
    ) O5 O6 l+ }" s) Z
  1482. ; the binary hash data to something readable.1 c# j9 Y6 u1 y5 X" W
  1483. ; Possible values:8 I8 S7 F3 [- |) C$ M
  1484. ;   4  (4 bits: 0-9, a-f)2 z; x+ g/ F% |& v1 O
  1485. ;   5  (5 bits: 0-9, a-v)
    " W4 n0 u& s6 }# e- e; h0 w; a& h3 D
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): u! \1 P% B4 t" _! E* R2 \7 ~
  1487. ; Default Value: 4. ^* p' X* o8 J! t. e7 t& \* v; Q
  1488. ; Development Value: 5; ^2 Y9 t) s: d6 w3 `( r. b
  1489. ; Production Value: 5
    * }7 t1 ]/ @/ `) D4 l
  1490. ; http://php.net/session.hash-bits-per-character
    5 o. l& F/ C9 n7 i, x- a9 P2 }
  1491. session.hash_bits_per_character = 5
    & A" H. l, v9 O- C. K: N7 Y2 ^! `' a
  1492. ' }! L9 O  D  I& a  m- Y2 ?
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags./ T( Y# f3 d6 m+ w4 f
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    3 ~3 Q; `3 A+ B. A- h' K; ?- _9 i4 c% T
  1495. ; add a hidden <input> field with the info which is otherwise appended0 V8 s9 A8 F) Y0 p& n
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - z( W, ^  o+ r$ R  c( K
  1497. ; Note that all valid entries require a "=", even if no value follows.
    + k6 l* ?- C9 c
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="' T  G$ ~, e3 [0 @
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * n1 C( R  F$ T, y3 x/ S9 B2 @
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 g9 r9 `. S2 m" p/ m1 K: H
  1501. ; http://php.net/url-rewriter.tags! p- O3 h9 E& c- x2 u, U
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 D( ~2 G+ I. F* i- F8 ^9 d
  1503. 9 j8 Q% ^1 p4 n- I* b
  1504. ; Enable upload progress tracking in $_SESSION
    & [( f" Y8 k+ E" R8 g$ z
  1505. ; Default Value: On. B8 M+ m8 S) j( P9 R
  1506. ; Development Value: On
    ) v# t( n6 ]' }7 `1 \* n1 z9 X4 n
  1507. ; Production Value: On/ M/ ^; o. k5 ?' n6 T5 t7 F' u6 U
  1508. ; http://php.net/session.upload-progress.enabled
      o; M, i5 f- n' ?, [+ q( ]" }  X9 j
  1509. ;session.upload_progress.enabled = On
    * U" E  j3 y% i) u- ^5 ?7 ^

  1510. 5 `) e3 I$ W! L0 R% _/ Z% w
  1511. ; Cleanup the progress information as soon as all POST data has been read
    # ?# B7 |- Q* }7 `
  1512. ; (i.e. upload completed).
    3 S! E5 p/ N& r: V
  1513. ; Default Value: On5 L4 t' s! |; k4 c1 E, X, u8 L
  1514. ; Development Value: On
    8 h3 X- K& z+ t
  1515. ; Production Value: On
    ( O( c  L5 g6 D& `& S
  1516. ; http://php.net/session.upload-progress.cleanup' R4 l4 R. V+ O) @! }# O4 E# \
  1517. ;session.upload_progress.cleanup = On
    6 t+ D) V9 W0 w/ c

  1518. 5 R& W7 M) ]* P
  1519. ; A prefix used for the upload progress key in $_SESSION
    8 K3 k& M2 z- k; p8 g' g  m
  1520. ; Default Value: "upload_progress_", D4 u' {/ u4 [4 n! L/ W- }5 d
  1521. ; Development Value: "upload_progress_"  u7 v0 b8 @$ S
  1522. ; Production Value: "upload_progress_"
    & M$ _8 ?! j1 T
  1523. ; http://php.net/session.upload-progress.prefix2 z/ K2 L2 P$ G" U
  1524. ;session.upload_progress.prefix = "upload_progress_"
    # Q: ^! K' r% u4 K- Y

  1525. & G8 S# S0 V7 ]# @. Q) o
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    % R/ }6 B* N5 a$ q% z6 i
  1527. ; containing the upload progress information! v2 q6 N3 ^. a% B# X( A
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"2 A+ E5 k# f6 U; V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 x- f. s5 ^/ ]4 I* v. k% r& i) {
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  b" y, p& W) r  n- e' n) }
  1531. ; http://php.net/session.upload-progress.name( ^: k! W7 H! v% {4 r
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % q( O; ]6 [6 y; j4 ?

  1533. 8 q7 v, W" ~1 B( n# |9 N" d* i
  1534. ; How frequently the upload progress should be updated.
    % j. m; J' U" g& R2 j$ Z6 P; O
  1535. ; Given either in percentages (per-file), or in bytes
    / W& Y( Z8 ^: m0 P4 ^7 N
  1536. ; Default Value: "1%"
    0 }3 m; h7 O6 d5 u- k
  1537. ; Development Value: "1%"
    ( h' j! r; E, C4 o
  1538. ; Production Value: "1%"6 @+ t; M; T2 e9 L4 O  S
  1539. ; http://php.net/session.upload-progress.freq
    1 U* k$ a" C+ x1 I
  1540. ;session.upload_progress.freq =  "1%"$ y( r& ^$ z: O( k4 ?

  1541. , r% o  V7 F. k/ i4 a2 Q5 O
  1542. ; The minimum delay between updates, in seconds
    4 T  a1 ]$ R! e& B% d& j  @
  1543. ; Default Value: 16 X8 j5 C$ b$ K( O' o- j. b& I
  1544. ; Development Value: 15 P+ D! f: t4 m' U3 M; e, ^
  1545. ; Production Value: 1
    " ?' c2 M! T1 e
  1546. ; http://php.net/session.upload-progress.min-freq3 F3 {7 E: y( j4 L
  1547. ;session.upload_progress.min_freq = "1"$ A8 |$ V9 u) A! E, J  B
  1548. ( D. K0 T, Z: a/ I. h
  1549. ; Only write session data when session data is changed. Enabled by default.6 M, E! O$ B5 w% V8 W
  1550. ; http://php.net/session.lazy-write
    & S. G5 Q, i; m  I: o
  1551. ;session.lazy_write = On
    " L" ^0 q. N/ ~+ S2 k+ I8 f

  1552. . C- [/ `- m) Y+ l9 L
  1553. [Assertion]
    * p3 V$ m! T2 e9 O+ k/ X, ?# [, R* H
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 j. h9 r" U  Q+ K# o- o4 a
  1555. ; -1: Do not compile at all1 u' h4 S5 N. B% X
  1556. ;  0: Jump over assertion at run-time
    0 B& W, Q! K& K4 H
  1557. ;  1: Execute assertions
    / u! I( g5 ]* e- ^
  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)
    2 ~3 v# Z9 }4 [$ f/ t: w
  1559. ; Default Value: 1
    5 G; q) j+ q2 b# ^, @/ g
  1560. ; Development Value: 1# X3 y3 h; A- Z9 U
  1561. ; Production Value: -1
    - y( ?" m2 m! u" c9 [
  1562. ; http://php.net/zend.assertions6 S4 ]* D. A/ E
  1563. zend.assertions = -1
    ( X) j6 K  ?8 M( m
  1564. 6 [3 S1 S9 M& C' X* k: U
  1565. ; Assert(expr); active by default.- Z& G8 J3 K# f* H3 J' M) B5 f
  1566. ; http://php.net/assert.active
    / `+ j9 c/ Y, c4 ^* i' r* N8 I
  1567. ;assert.active = On
    0 c4 N  f# B, U# C. U! G0 Q0 Z
  1568. 2 Q$ o( |. [4 |1 C- M1 \* E8 b4 _
  1569. ; Throw an AssertationException on failed assertions& v0 Y5 B: j; K5 e, ?" d8 P6 F0 d5 n( j
  1570. ; http://php.net/assert.exception
    ) E  f5 f( y0 P0 }- ?
  1571. ;assert.exception = On
    , S! ?' F- n2 o' L. o: y
  1572. 8 ^4 Q% l4 U# d+ J3 H
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    4 ^; }# }9 t8 `3 P" Z5 K! X! ^; R
  1574. ; http://php.net/assert.warning- q* p. u$ ^0 z2 m
  1575. ;assert.warning = On2 g; H/ c7 Q5 [& O
  1576. + A& u' g* w, y1 n2 \+ L8 K
  1577. ; Don't bail out by default.
    " r9 g& I  D$ b0 M! [. m
  1578. ; http://php.net/assert.bail
    ( Q- \# `6 x+ y5 d  r( H  v# G; b
  1579. ;assert.bail = Off
    8 s& `* n* D* X5 r8 Z, V# d

  1580. ! T4 d$ d0 y  ^, t/ ^
  1581. ; User-function to be called if an assertion fails.
    ( W; o- Y6 B- X% j3 s
  1582. ; http://php.net/assert.callback( E( B4 ?' g# s' u7 T
  1583. ;assert.callback = 0* w0 P9 U$ K- X$ l, Q
  1584. 0 z: I- O1 e% M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ; h( d0 C$ z" K. h3 g- N8 m
  1586. ; error_reporting(0) around the eval().
    & O' ~6 v2 J, _, t( [/ Z
  1587. ; http://php.net/assert.quiet-eval
    * e  Y) x" M: F
  1588. ;assert.quiet_eval = 0
    ' D* s' i2 K+ z7 b' J3 W1 L

  1589. 8 Z* u6 }' Q" A. b
  1590. [COM]
    ) }9 s2 H  @0 t/ n, E$ S) s# \
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' z! o8 |) A, ^/ Y1 P
  1592. ; http://php.net/com.typelib-file% v7 T( ]+ J/ W" i. ~
  1593. ;com.typelib_file =  N1 K8 r8 a: s  {. W4 l4 h  @* Z

  1594. 7 o- }( `, z7 y( g! N; O- U" J
  1595. ; allow Distributed-COM calls2 m( N/ B- O: l
  1596. ; http://php.net/com.allow-dcom& l& z# y5 _" b' i. J
  1597. ;com.allow_dcom = true& N. E% R4 {  g1 w4 C4 B  l
  1598. & f( @! |0 N, E  L# F
  1599. ; autoregister constants of a components typlib on com_load()! ~; k; t2 J& ?) M5 }  f
  1600. ; http://php.net/com.autoregister-typelib2 b, J* ~0 V' e3 `
  1601. ;com.autoregister_typelib = true( e3 }8 F) [3 R% X' T

  1602. # Z6 \+ n' p; `" T! h7 z
  1603. ; register constants casesensitive
    ) u4 f7 m. G% f, o, d6 k
  1604. ; http://php.net/com.autoregister-casesensitive, w, Y/ S1 O# ~6 b  y
  1605. ;com.autoregister_casesensitive = false* z5 X  F* u# j5 S( `4 m) _

  1606. ! v0 R9 P9 }* ^$ D  \$ _
  1607. ; show warnings on duplicate constant registrations7 E5 Y/ ^( @# p( t. t$ W. S) R
  1608. ; http://php.net/com.autoregister-verbose
      h/ ~  Q/ M" z- N2 C
  1609. ;com.autoregister_verbose = true
    / ^, G, g) o" }& S

  1610. 3 N6 c) v: G+ }) E  G/ W! m
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* Y! f! V7 l6 X: D0 F/ @8 x& C
  1612. ; Default: system ANSI code page- g; d+ O9 x) _0 Z& u
  1613. ;com.code_page=: e# Q' z7 y  S- I
  1614. 7 ]6 O$ c0 E, f! i9 m
  1615. [mbstring]% ?4 S  p' Z9 o+ v$ H0 U
  1616. ; language for internal character representation.
    2 S; I+ K& c) @  \# C
  1617. ; This affects mb_send_mail() and mbstring.detect_order.2 }$ ^" q# r5 B
  1618. ; http://php.net/mbstring.language
    4 S5 H( F$ m( `5 j" T$ |, g* K4 ?- k
  1619. ;mbstring.language = Japanese& |; D! P3 a$ B- `
  1620. ' y! n2 L  l2 i9 ^% A  [" Q" f
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.' b9 v6 h6 R4 f
  1622. ; internal/script encoding.
    7 s3 t0 T+ F9 [- J7 ^  n* ?
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# g/ Y7 w. i0 b4 ]6 H
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - \( h" R5 q0 Y. r
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ F; x# H( u2 q; P
  1626. ;mbstring.internal_encoding =0 W  m: y: r" ?2 \0 g. [
  1627. % S6 C8 ]7 _- c6 g9 a$ L( X- P" ]
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead." Z9 P* Z+ t7 ~, T) g9 Y
  1629. ; http input encoding.9 c! T, a1 r$ w2 Q9 h
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    + p6 G, ]1 |! l( S# V
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    $ b: ~" ~) i8 m& s1 I" o2 G
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * g6 O, E/ f' x  H% G( |
  1633. ; http://php.net/mbstring.http-input
    ! C0 b: |. z* S8 m
  1634. ;mbstring.http_input =* d3 ^1 [7 b' J: o6 A1 b

  1635. / i, C& E& D2 U' t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.+ S- u# z) c/ r3 T1 w3 g) {9 }" b& S4 X
  1637. ; http output encoding.9 J9 G1 O9 M# y  k
  1638. ; mb_output_handler must be registered as output buffer to function.
    6 K/ p2 }7 o2 K) L  d
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used." D/ H/ `- \( E/ J- I& m7 F/ M
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    / I5 I2 p% {8 I5 C  s5 F9 K
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ' K; ~  V) t' _# w* C/ q* C
  1642. ; otherwise output encoding conversion cannot be performed.
    : E/ B; u; A; z3 H+ c4 {
  1643. ; http://php.net/mbstring.http-output
    , U3 h1 Z* _! X; N5 m9 g
  1644. ;mbstring.http_output =% x3 x9 H& S- J/ d6 G! j# u1 g

  1645. . Z* e6 L2 T$ ?) u
  1646. ; enable automatic encoding translation according to2 {: J2 `7 [( |  E. |, ~
  1647. ; mbstring.internal_encoding setting. Input chars are4 `* x  ]( u. j! ~+ B6 E
  1648. ; converted to internal encoding by setting this to On.  R  a7 M1 ^' g7 n- g
  1649. ; Note: Do _not_ use automatic encoding translation for( Z/ W! G- E' D+ `9 C9 b. D
  1650. ;       portable libs/applications.
    ; g2 E% G7 U3 s9 @" U- N  q
  1651. ; http://php.net/mbstring.encoding-translation
    , L/ v4 a* S8 c' T: ?. [" h
  1652. ;mbstring.encoding_translation = Off( M& X3 J  J+ Z. ~  U
  1653. 4 J+ t* `/ U5 d* X
  1654. ; automatic encoding detection order.
    # o2 h& q; r4 m9 q( _: G0 ~/ j
  1655. ; "auto" detect order is changed according to mbstring.language
    4 P  r4 ]: _* K5 ~8 S
  1656. ; http://php.net/mbstring.detect-order1 |" a; M( Q# R
  1657. ;mbstring.detect_order = auto5 H4 O7 C; q! o, g2 a7 @/ V

  1658. * f2 I4 x, t) R2 j4 |$ n" t0 z
  1659. ; substitute_character used when character cannot be converted# t3 O9 R6 t- w! T, Q* [' v
  1660. ; one from another; Y1 W" ]+ T# W+ [
  1661. ; http://php.net/mbstring.substitute-character) M1 p, ~- ~+ [) K# U4 }9 o8 L/ [& Z1 Y
  1662. ;mbstring.substitute_character = none
    9 T. p& O3 l& F, Z: b9 p# \% s

  1663. 7 W' o, {) Q% U' S/ t
  1664. ; overload(replace) single byte functions by mbstring functions.
    2 X/ n2 E# j: S
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),  r2 ]4 G* u, p# G  r
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % B. i- C/ \& g$ ?
  1667. ; For example, 7 for overload everything.
    4 \- S; Q5 @6 \# s+ _
  1668. ; 0: No overload
    . J8 }8 r/ S3 C/ r
  1669. ; 1: Overload mail() function+ F- m1 ~! D$ C, g" B! A/ u
  1670. ; 2: Overload str*() functions. `: H5 T& y3 n5 p) ^6 w
  1671. ; 4: Overload ereg*() functions4 W( [# U- C- S( F% N4 y7 }
  1672. ; http://php.net/mbstring.func-overload
    ) f; e3 }9 [, O& Y
  1673. ;mbstring.func_overload = 0% e, K$ u" ~( f! ]9 O' Z& f
  1674. ( P1 |% w4 n0 I
  1675. ; enable strict encoding detection.
    . s) b7 Q8 n. Q" P
  1676. ; Default: Off
    . i8 z7 X* b7 T9 w! K
  1677. ;mbstring.strict_detection = On( [. r# y' h- r3 D3 b5 M$ \
  1678. 8 K; c/ A; J8 y+ S) ?
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    5 h- n  V' ^7 h+ Z5 V
  1680. ; is activated.6 v, }0 f; [) j7 X
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ) [8 {! l  g+ R2 l! c
  1682. ;mbstring.http_output_conv_mimetype=
    % p+ J" P6 S- w& C" E
  1683. ' M- ^' I9 @$ j, k" }2 _# _# ?
  1684. [gd]
    * V0 Y: T3 x6 Y& P9 X5 X  q/ I
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 B7 V, p  o: [* R) s& F+ ~
  1686. ; a gd image. The warning will then be displayed as notices$ V( n2 ?, O; w/ Y
  1687. ; disabled by default) t" ]& ]6 G3 T6 U6 v) I* v& J: ~3 s
  1688. ; http://php.net/gd.jpeg-ignore-warning1 T/ _0 q! t# }: d4 g* ?3 r
  1689. ;gd.jpeg_ignore_warning = 0( B' ~. \' Y3 a; K* p* b' T  a4 i
  1690. ( p- X$ m. r$ ~8 F8 {& ]2 J
  1691. [exif]3 n, Y# l8 A) J2 h$ Y( q: m
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 N6 `- ^$ V2 s1 t! {. h
  1693. ; With mbstring support this will automatically be converted into the encoding
    6 y2 r: C% h5 {! B* e
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , }8 F) f7 \6 Y. z) d
  1695. ; is used. For the decode settings you can distinguish between motorola and
    7 W8 x1 K5 z2 [0 E6 @. ^
  1696. ; intel byte order. A decode setting cannot be empty.7 m. a- N7 b( G
  1697. ; http://php.net/exif.encode-unicode
    ' ^- L% s( P- v$ u! {' r
  1698. ;exif.encode_unicode = ISO-8859-158 ~& C4 Q7 x7 t3 n

  1699. 1 ^6 V8 |. s5 R5 G& U. r
  1700. ; http://php.net/exif.decode-unicode-motorola# Q7 L: {3 U4 f$ s) h1 R
  1701. ;exif.decode_unicode_motorola = UCS-2BE* E3 r5 p; E; j- @& x

  1702. - }) o6 _# {# H( D3 b
  1703. ; http://php.net/exif.decode-unicode-intel0 R; e* n) s, h
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    7 l' g. F" T; j3 }: \( o7 F
  1705. ' ^0 O+ ^, C' R. l! Y5 \0 H
  1706. ; http://php.net/exif.encode-jis
    ! T7 E3 z2 t7 }- r/ t! a# C
  1707. ;exif.encode_jis =5 V* \2 S+ y! n6 C

  1708. * R& u; e: w3 H7 v
  1709. ; http://php.net/exif.decode-jis-motorola
    ' {1 A; e' ^3 |. l
  1710. ;exif.decode_jis_motorola = JIS
    & U$ w% s6 f6 E0 D/ R+ k

  1711. , _7 C1 c" f) A- C4 U+ q
  1712. ; http://php.net/exif.decode-jis-intel1 }# R( @; I6 ?! f$ q) B
  1713. ;exif.decode_jis_intel    = JIS7 [4 U2 i9 D; o! i5 ~# t4 v

  1714. 7 d7 V3 ]  b. X6 A: M$ L
  1715. [Tidy]/ [2 h! ~3 _" X. S6 ?+ Z
  1716. ; The path to a default tidy configuration file to use when using tidy/ ~9 L1 i$ J) ~! A! s' u
  1717. ; http://php.net/tidy.default-config. m  p5 @& X0 e3 D; t
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 D& S3 _3 v* o
  1719. . T9 a* Q/ N/ }1 L
  1720. ; Should tidy clean and repair output automatically?
    5 E: w0 H) w: a& x. @9 k7 _
  1721. ; WARNING: Do not use this option if you are generating non-html content
    - {# q  M% D# u8 u5 i% n# J% a
  1722. ; such as dynamic images* k! x8 z7 p+ t% Z# t* r# w
  1723. ; http://php.net/tidy.clean-output1 Y, Y+ `" m" Q0 r; ]2 _
  1724. tidy.clean_output = Off
    ( o( p) J" C! _( j( ^! Q
  1725. 8 {/ `0 W- i4 z1 b; K
  1726. [soap]
    5 x+ @; Z4 }# g
  1727. ; Enables or disables WSDL caching feature.& w0 K0 ~! ?; F- A: ?
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ! t4 T1 @# A8 V# G
  1729. soap.wsdl_cache_enabled=17 T4 `) O3 R, k3 I

  1730. ( C* ]* O$ W# }
  1731. ; Sets the directory name where SOAP extension will put cache files.' @5 I  L  T- ?5 m0 n( `2 P2 }
  1732. ; http://php.net/soap.wsdl-cache-dir
    : P! j, o8 Z. j8 B1 z
  1733. soap.wsdl_cache_dir="/tmp"
    + i6 a1 d  G/ W, ?3 d1 s) X

  1734. 4 v- x6 Z3 ^. I* ?8 d' z7 l
  1735. ; (time to live) Sets the number of second while cached file will be used+ e" m, l0 c* p$ S
  1736. ; instead of original one.8 c  n+ k( m/ s/ F9 f. b+ ?; W
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 |! k2 b( Y! W# {
  1738. soap.wsdl_cache_ttl=86400
    " p8 P6 j; [  Z! f1 w

  1739. . b! c/ f5 Z/ U3 [# \+ d
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    4 h8 a7 L5 g3 a4 [
  1741. soap.wsdl_cache_limit = 5/ p* Y* Y& `1 @4 l0 I$ V/ w' a

  1742. ; k# ]5 n7 B) i( o7 A1 u  H
  1743. [sysvshm]
    : ?" R  R, c6 L7 }8 Q
  1744. ; A default size of the shared memory segment* l1 P  S( s: m3 \
  1745. ;sysvshm.init_mem = 10000
    ( o% d: n8 o8 @
  1746. 0 K3 A. n, `+ Q4 M& F
  1747. [ldap]
    & d0 ]2 {+ |& R9 [
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    + |8 V( h9 d. e9 B: |5 g" }
  1749. ldap.max_links = -1  W& l0 W& v$ m7 ~" W' a

  1750. 6 F1 t: ]4 z* v9 M
  1751. [mcrypt]
    + a$ i9 ?% y5 e1 B
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 A: g. |2 e7 m0 c

  1753. 6 I" K8 j* I) j/ u9 q, N6 I0 F
  1754. ; Directory where to load mcrypt algorithms
    7 D5 m3 J( j6 ^- z7 r
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)/ q' n( \) B2 Z. k  |" d
  1756. ;mcrypt.algorithms_dir=- _& V. ?8 q9 @, A# H6 M
  1757. 4 R2 `4 b7 F( \7 T  j& ]8 E
  1758. ; Directory where to load mcrypt modes, o; F1 s2 x) x
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    * V$ ]( i1 M% J
  1760. ;mcrypt.modes_dir=2 `1 ~* [) K  V  n

  1761. # M* _; }7 C- ^! r, U
  1762. [dba]- W1 u+ \5 p4 X
  1763. ;dba.default_handler=
    ) A! F% w5 Z, T4 R, A( s5 [7 ~
  1764. . `6 r  b5 w1 B4 x, @: R
  1765. [opcache]6 ^. W& X9 v' }; r! O: D
  1766. ; Determines if Zend OPCache is enabled1 ^4 C( ]5 W. G0 H& l: d; R
  1767. ;opcache.enable=0& g4 k8 I9 s- Z- C1 X
  1768. 6 }( H+ ^. j  r5 \, e
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP" h' Y' R: ~3 A) Y/ q5 @; _
  1770. ;opcache.enable_cli=0
    3 R: z' X* ], u4 s9 }

  1771. " q) s/ b2 D5 S+ |
  1772. ; The OPcache shared memory storage size.
    # y; O6 B* h7 s/ j+ J# I. @
  1773. ;opcache.memory_consumption=64
    . K5 j! g, o7 k; {1 r  g
  1774. : {" k/ n6 G( v7 R/ i7 t( S% q- F
  1775. ; The amount of memory for interned strings in Mbytes.
    7 l* k! |5 h0 Z
  1776. ;opcache.interned_strings_buffer=4* p$ ]* w3 B8 A/ q' N$ g0 Z/ p& v
  1777. , a1 e+ @6 ?9 ]3 k# o" f
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ! O- K2 D6 u+ N3 s7 C) y
  1779. ; Only numbers between 200 and 1000000 are allowed.
    7 j$ g5 J- W" T& S& O) w: J
  1780. ;opcache.max_accelerated_files=2000
    ' b8 w% K$ p5 O& e! a% N  c  d# `

  1781. 3 K6 x1 V/ v- R* r+ K7 t$ P
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ M: D8 U5 f9 W) Q6 b! |( }( n
  1783. ;opcache.max_wasted_percentage=5/ s1 R7 k" O+ Z) l$ y
  1784. 8 Q9 A; d; Y4 [8 B
  1785. ; When this directive is enabled, the OPcache appends the current working
    : _" f1 G, {# T' z
  1786. ; directory to the script key, thus eliminating possible collisions between
    5 [/ \( I: a7 V; `3 W
  1787. ; files with the same name (basename). Disabling the directive improves& o/ h4 X& y; }% D/ o8 o
  1788. ; performance, but may break existing applications.3 u$ H/ i9 C* T! ^4 a6 V
  1789. ;opcache.use_cwd=1' v8 b# m2 `3 g

  1790. / U' E1 H" X$ l/ N0 N: X1 e6 m
  1791. ; When disabled, you must reset the OPcache manually or restart the, i& u/ @. C" |  t, n
  1792. ; webserver for changes to the filesystem to take effect.1 v. O" D& f7 u/ P9 V& Z0 t
  1793. ;opcache.validate_timestamps=18 }. K9 {; h2 H4 i6 |. i9 F2 ^
  1794. + i- r; u1 g. M% G5 k9 C5 [( K1 g% ]
  1795. ; How often (in seconds) to check file timestamps for changes to the shared, ]0 k. r5 i+ c4 M, A
  1796. ; memory storage allocation. ("1" means validate once per second, but only* P: L; A" z2 a. S3 T4 v
  1797. ; once per request. "0" means always validate)
    9 I- I: W8 B: L8 m+ O9 i8 E9 Y$ s, t
  1798. ;opcache.revalidate_freq=2
    ' S( P3 I0 a) k  x+ [; W8 A

  1799. 2 I! B1 d7 V' g
  1800. ; Enables or disables file search in include_path optimization
      Q2 x2 G# U) `! D5 I
  1801. ;opcache.revalidate_path=0, D4 _! W, A5 f' u; X9 w7 O
  1802.   j9 V% X, q$ B& @$ w
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! ]: s5 v' W9 v" e! u" R! g
  1804. ; size of the optimized code.
    : d; y7 A2 g5 Z+ p
  1805. ;opcache.save_comments=15 g* ~% j: t; V  D) C

  1806. 3 ?0 c7 r. c% L( X8 Z9 p, H7 q
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    / z8 ]- P, _& k% N, Q" ?
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.& s' q+ g9 _0 z  A7 L
  1809. ;opcache.fast_shutdown=06 R3 Q$ K. \1 q1 H- B+ W* T) Z9 \
  1810.   R: W/ [& ^/ f" z8 [* z2 ]# K
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    . P8 ~0 {$ ?: {* e
  1812. ;opcache.enable_file_override=0
    7 }9 B/ b; T% J% H+ \( l
  1813. % ?) c4 O2 s4 U8 z, G+ c" O  [3 }
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    8 Y+ f" L  L. M/ i; l
  1815. ; passes9 N' S3 x8 n+ U5 W
  1816. ;opcache.optimization_level=0xffffffff: l- g7 z* G7 J1 _; \
  1817. % O$ j8 ^3 d3 R
  1818. ;opcache.inherited_hack=1% ^5 J3 V; h5 j' |
  1819. ;opcache.dups_fix=0
    0 h/ u# r1 @8 }, T9 K
  1820. % K" y8 \0 c4 K5 _/ J# a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).1 g* |- h6 ~2 ^) x8 g3 W
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ; q! \1 u$ m$ i9 A$ p$ Q- l
  1823. ; that should not be accelerated. The file format is to add each filename1 t8 E! e( Z" _) x% f5 I  M
  1824. ; to a new line. The filename may be a full path or just a file prefix/ N7 w: |- b' k* }
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 K8 j9 U, g$ L; x" E, }1 g: g2 O  Y1 e
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).' c2 q( P7 ?' K' l
  1827. ;opcache.blacklist_filename=
    - f) F; E- ^* _" k' x: Z0 a

  1828. $ c' ^' O; Q; Q
  1829. ; Allows exclusion of large files from being cached. By default all files
    + r2 u# t: g- \4 k+ U# Z5 M& o4 }% [
  1830. ; are cached.
    4 j  [5 z! }9 z: S* p  L6 J# I9 m
  1831. ;opcache.max_file_size=01 |/ {4 |: l1 R/ p4 d' }
  1832. 2 E! z& {! S& v: j$ D2 \. X
  1833. ; Check the cache checksum each N requests.( K. @& v! {1 A# i0 D, W; s1 U
  1834. ; The default value of "0" means that the checks are disabled.' B) |  @+ ]! D- x/ S8 q
  1835. ;opcache.consistency_checks=0
    * n/ S( m7 W# q/ M2 `, F- z) F

  1836. ' q' v- S0 Q# G2 Z9 U
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache0 K6 [/ z6 H# c  \
  1838. ; is not being accessed.
    " E8 c2 J6 c! }) W" H) e" m$ G% Z$ {% O
  1839. ;opcache.force_restart_timeout=180: b4 x& S2 h) B% j5 C
  1840. 0 v; y: x( p1 m: J( T, _7 ~( e
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ( s8 x1 \  X) H2 Z
  1842. ;opcache.error_log=2 c2 J2 g. z0 `. E" P
  1843. / z+ J. m! ^& f; e: }( Z& o
  1844. ; All OPcache errors go to the Web server log.
    0 B. T3 p- e' [$ V
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      M" i% Z: x2 C7 ^# R. A  [
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    % Y# x5 l3 A' l8 ?
  1847. ; debug messages (level 4).
    % ]" l8 i7 L  m+ A
  1848. ;opcache.log_verbosity_level=1
    $ ~) ~: L7 Q9 j( t9 \
  1849. . i" x$ Y5 o8 o) ]! {9 g
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.; r8 b" V$ U; H/ Q% r
  1851. ;opcache.preferred_memory_model=
    5 M) O; r" j9 \4 A# T+ S
  1852. . l. p7 z$ k* y/ \( Z; U4 x6 h1 ~. a
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ a& ]  d7 `, i
  1854. ; Useful for internal debugging only.
    ! r) `4 ?7 F& I
  1855. ;opcache.protect_memory=0
    * \+ \0 A1 Y. M; \

  1856. . S3 [, D4 E* N6 p
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 m2 Z1 V  `" z4 Q$ ~/ u( P& C0 s
  1858. ; started from specified string. The default "" means no restriction
    ' J0 w( u) w+ @7 W$ c- i' g
  1859. ;opcache.restrict_api=+ T" M" D) S  i5 @0 R: _) c5 H( H5 d
  1860. ! Q6 e* D/ H: w3 W, R
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP$ I# K# A$ z% E( G$ F
  1862. ; processes have to map shared memory into the same address space. This0 ~) _! F1 J3 {8 |/ a1 M5 l1 Y
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    5 ]# S/ \# o7 _/ z2 A
  1864. ; errors.
    7 x- f  z. D2 A" g5 ]
  1865. ;opcache.mmap_base=4 L1 I9 J7 Y/ w$ n
  1866. ( M" I' p/ h' g% v; W7 F: Q$ L
  1867. ; Enables and sets the second level cache directory.
    7 G# m5 t. @0 c$ e- d2 h
  1868. ; It should improve performance when SHM memory is full, at server restart or
      I/ z# `. \8 f, t. e
  1869. ; SHM reset. The default "" disables file based caching.( s9 h1 @' K, K2 K( h+ y
  1870. ;opcache.file_cache=
    ! r8 w5 p' C" X! p
  1871.   V6 Q# R  j; K( {7 ~7 T1 D
  1872. ; Enables or disables opcode caching in shared memory.8 B1 R# w- _% r: _) a3 [" C
  1873. ;opcache.file_cache_only=0$ N4 z. S9 L/ M1 d+ a! N

  1874. ; J" l+ p2 x: j" O/ p) g; l% t
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    & P* q0 Y( h$ u* m' i* G1 N
  1876. ;opcache.file_cache_consistency_checks=1
    % j& i5 |! C. ?; c$ c8 v# T$ @) g; \

  1877. : n  F, N/ p' ^0 |! Q: E
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    - E$ \0 |6 e8 i! E* L. g
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file, n# v2 ^& v, y9 _# d( }
  1880. ; cache is required.2 L8 I4 k+ [0 H9 ?
  1881. ;opcache.file_cache_fallback=1$ U4 x- M& a* m1 [+ v; c1 D+ L2 f

  1882. 2 b4 R  W* ~- U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.# M5 X& A# }6 O
  1884. ; This should improve performance, but requires appropriate OS configuration.; I3 j% o0 U/ I9 F6 A/ I8 H6 O" N2 q
  1885. ;opcache.huge_code_pages=1; D# g$ I; s7 T" [5 _

  1886. % C# i) R  j8 P% E# |
  1887. ; Validate cached file permissions.6 L- h+ A  Y; u0 A* `! F+ S
  1888. ; opcache.validate_permission=0/ N: V) N: G7 M
  1889. 8 l- }' l: Q; C5 ~. P8 g. Q. r" E" W
  1890. ; Prevent name collisions in chroot'ed environment.
    ) F4 @2 x+ d1 E# U# G' W
  1891. ; opcache.validate_root=0
    2 {& S6 A  v4 k0 ^
  1892. % B' k/ ]# l' Z! H: y8 H- M6 ?3 R
  1893. [curl]: F+ J% L" l! G, J( B! h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& v$ X. f$ c% p$ u
  1895. ; absolute path.
    & ?! R% C; Y6 g* v) a$ v0 K
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , S- j: m3 B* y2 s% r5 H

  1897. 9 A5 C7 |% Y6 G/ Z) V
  1898. [openssl]$ [7 s/ W: z/ k3 H7 H
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem! Z6 n; v; y+ o
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    6 F% n% A8 \2 c. r1 S( n. ?
  1901. ; not specify a value for this directive as PHP will attempt to use the
    8 P$ i- ^0 z$ C- X& T2 ~
  1902. ; OS-managed cert stores in its absence. If specified, this value may still" c7 m) N7 L6 A, G
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    7 n  M& M( T' J& ~3 n5 A; s  c
  1904. ; option.4 C, l- L" n/ K
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt+ h$ S( K) a5 s! N

  1906. , B8 W0 k4 j& O+ S& N9 ]$ h0 J
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    3 s5 E# e* w; M1 X1 x4 q
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ! S) i8 z, |2 B+ w* ?
  1909. ; certificate. This value must be a correctly hashed certificate directory.! @! c1 l8 C# k4 ^' e# @. f7 [
  1910. ; Most users should not specify a value for this directive as PHP will
    9 Z# C. U# |: B( O2 h8 n. j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ ]  i. x% p3 Y/ U
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    6 s( D  S& g% \6 }' |
  1913. ; SSL stream context option.; r2 x' X+ ^0 u& D' c
  1914. ;openssl.capath=" f3 {6 ^( d$ H9 p$ A! ~

  1915. : [9 h3 F; n/ B5 d1 b* F2 m
  1916. ; Local Variables:& V4 C+ ]8 P3 j; H! o1 ^
  1917. ; tab-width: 4- ^! O& ^+ r3 ]* }! U- H# P( E
  1918. ; End:
    " W( u  l7 s' J
  1919. & R8 I% Y4 q# b& t
  1920. ;eaccelerator# U8 M1 u' g8 M! m% e+ ]
  1921.   t4 `! }# }6 v8 b1 M1 z5 f
  1922. ;ionCube
    , w" \, s5 Y5 N4 l  B

  1923. 2 r: {* G9 H8 G* C) }& z$ J
  1924. ;opcache
    # f4 k& z' `% i3 C# s) C
  1925. 0 s# ~% O5 X' c" ^1 p  d
  1926. [Zend ZendGuard Loader]
    4 B1 b; h  t3 u4 T4 n
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line./ Z3 v0 J9 r- ?/ E4 d9 R* p
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
      ~3 y' c5 s( V7 V* k. Y7 Y
  1929. ;zend_loader.enable=1
    3 H: A0 z$ R  t. j0 \  s
  1930. ;zend_loader.disable_licensing=0
    " J' t. G% T8 K. I  {- _0 H
  1931. ;zend_loader.obfuscation_level_support=35 B# i& {' q9 T4 C/ I$ k
  1932. ;zend_loader.license_path=
    0 _; p( t* t$ o
  1933. ! x4 v) @% w8 G6 T" s1 x/ a2 [
  1934. ;xcache; Z6 h5 ^' h6 l2 E0 _4 [- H

  1935. . D, ]8 k, B* ^9 y3 D# b
复制代码

0 \1 K: L* }" c
( z5 s) h$ w3 z4 X* [( x
1 B2 j: z2 V. w; s0 _- N* i4 q, Y8 h7 o. `
6 @/ a* ^' q9 i: r
# B4 m  g( q3 V
; L+ ?" [- I6 s9 v( u
PHP5.6版本原始设置
9 `9 f, v- j2 U/ q" S6 c. s' x. r! ]/ W& |
  1. [PHP]
    6 o; R/ y2 R/ x! {

  2. . d5 x% }' Z, t' l
  3. ;;;;;;;;;;;;;;;;;;;4 s' U# e4 ^& Z! ~' o
  4. ; About php.ini   ;, C$ p; A' t9 r$ P$ q
  5. ;;;;;;;;;;;;;;;;;;;% s( V* w1 l" f/ [# S
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 {" {7 l9 f$ ~7 U
  7. ; configuring many of the aspects of PHP's behavior.
    ) ]6 y, z3 a  E+ n: _

  8. * u& i* O8 v! z% W' t, W
  9. ; PHP attempts to find and load this configuration from a number of locations." r! n/ W! X2 ?/ j6 \- N: v
  10. ; The following is a summary of its search order:
    / ~* l7 v' l3 z. I: s
  11. ; 1. SAPI module specific location.
    7 q6 y7 a; f, M, Z3 v1 n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - S2 i* w1 ^& S! j6 c% z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 T- C' z5 B3 Y; ^  s4 a
  14. ; 4. Current working directory (except CLI)
    ( K( o" m1 D/ s* p
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% F# n1 B! U7 s9 G- w5 m; j) V
  16. ; (otherwise in Windows)9 t; x" p. I0 Y4 r& U5 Y7 D
  17. ; 6. The directory from the --with-config-file-path compile time option, or the* N1 H3 v& P: r1 x
  18. ; Windows directory (C:\windows or C:\winnt)% r4 [) N  t5 ?) f9 D8 d5 [
  19. ; See the PHP docs for more specific information.% S5 t( s, }1 s( k' v( i* O) ^
  20. ; http://php.net/configuration.file
    , V& f# R' f+ B& v9 F6 v
  21. # z2 ~1 b3 t! P+ T# m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 }& h. A! }6 b
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ( M# X1 q6 ^) g" L) L2 e& ^
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    5 k0 ?+ g0 D" B4 h3 e7 A, C
  25. ; they might mean something in the future.2 L8 T, Y1 G& n  s7 n
  26. 4 A3 i' ^( w% C$ F% f
  27. ; Directives following the section heading [PATH=/www/mysite] only
      R6 k  i" L. F9 I. C3 b! e! l
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 U5 m8 N" R( d* f8 D
  29. ; following the section heading [HOST=www.example.com] only apply to
    9 E* Y. J. T( ~5 G
  30. ; PHP files served from www.example.com.  Directives set in these& T3 W( D% K5 g: B1 I6 O1 s
  31. ; special sections cannot be overridden by user-defined INI files or
    " y2 X$ [4 U- o) `. S; ^7 o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under. p4 W8 b6 `& q* R
  33. ; CGI/FastCGI.; ^; M: }$ W/ Q! g9 a% W8 n
  34. ; http://php.net/ini.sections3 j$ C6 C% d) M9 \+ h$ Y

  35. $ T7 v+ w$ L' d" T4 d  R: i
  36. ; Directives are specified using the following syntax:: G/ X& {0 S& _: D
  37. ; directive = value
    ; @& |! L8 ~1 v) t! P
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 z; b. ]8 o4 U3 A, c# S9 n5 P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    3 x3 |" R! v) G+ l) c
  40. ; There is no name validation.  If PHP can't find an expected
    ' |$ Z- p4 K5 x
  41. ; directive because it is not set or is mistyped, a default value will be used.4 C& E0 [. ~/ u

  42. 0 D) P' M7 \& |0 T( H
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. g) i7 @* j4 I0 q5 V8 L2 e( c( b% V4 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression% I% Q9 V7 u" @" P7 i7 V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) V; R2 @8 V# z  ?* n) Q; w
  46. ; previously set variable or directive (e.g. ${foo})5 C; T* E- o$ B

  47. " y$ I4 \, _0 l2 \7 y7 Z0 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 T, M! w- S; h5 w5 H7 Q4 f/ @+ n
  49. ; |  bitwise OR5 X) F; Z7 \  Q! g6 {- c
  50. ; ^  bitwise XOR/ W# H( s# `9 h8 |. a
  51. ; &  bitwise AND4 h, R' z3 k( \7 \1 V. g
  52. ; ~  bitwise NOT" N+ n1 r1 ~6 K+ G3 x$ O
  53. ; !  boolean NOT6 g" ^2 v- N5 N+ ?0 g* F& Q
  54. 2 D, b- j5 L7 o2 l( W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 _; L7 \$ ]* r; w4 U  r' w* Y( K
  56. ; They can be turned off using the values 0, Off, False or No.2 e& v/ k: u! Y" Q" n+ `. ~5 G
  57. 3 k, ^6 r0 B# T
  58. ; An empty string can be denoted by simply not writing anything after the equal% g. v6 ~0 S7 D5 U1 Q; Y) ?- N
  59. ; sign, or by using the None keyword:' e' B) A5 N) `  t. i
  60. * x, u1 w3 o& R4 Y
  61. ;  foo =         ; sets foo to an empty string
    6 Z- ]$ t1 b/ d, k' H5 H* E/ g" ~
  62. ;  foo = None    ; sets foo to an empty string8 i; I' _4 \2 ]& l: S# s# D, X) @
  63. ;  foo = "None"  ; sets foo to the string 'None'
    0 \3 s4 D) I7 H( J3 N

  64. : e7 M* D% H! R1 j5 w
  65. ; If you use constants in your value, and these constants belong to a
    $ G0 w# z# ?* w
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension)," _* S, B8 ?4 V) H# C+ A8 K
  67. ; you may only use these constants *after* the line that loads the extension.
      d1 S; o4 z  `8 j( w" ^
  68. ! F- Z: Z1 P/ ~2 w) [, i; D8 `* R" \
  69. ;;;;;;;;;;;;;;;;;;;
    - ~# D3 |5 R; F* D
  70. ; About this file ;$ b. `! c; }4 j. L
  71. ;;;;;;;;;;;;;;;;;;;# y; t8 V2 p1 n2 ~) f+ }
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; c5 {* m9 L7 F" L+ @+ C  a
  73. ; in production environments and one that is recommended to be used in
    ! S# z, w% x' Q
  74. ; development environments.% r7 Z/ i9 q  I/ s
  75.   E; R: M! G2 z
  76. ; php.ini-production contains settings which hold security, performance and- @: j5 P  A6 A/ D& p8 }- y5 {
  77. ; best practices at its core. But please be aware, these settings may break3 c$ G5 E- `& G2 b6 G  }
  78. ; compatibility with older or less security conscience applications. We
    $ r8 I8 ~; B3 N: B, `3 H
  79. ; recommending using the production ini in production and testing environments.
    7 V, p- f, R  {' S

  80. 3 w; L" K/ t- b% \/ p0 [+ Y* q
  81. ; php.ini-development is very similar to its production variant, except it is) u& c0 h% S/ b2 V* X2 s8 ^* [
  82. ; much more verbose when it comes to errors. We recommend using the6 f0 t+ M" x, R0 D
  83. ; development version only in development environments, as errors shown to
    ( n* o2 a1 L' j6 F9 a
  84. ; application users can inadvertently leak otherwise secure information.8 b- P" A1 |. p* b

  85. % F4 u  c7 f% [4 g' }7 d/ r+ C! L
  86. ; This is php.ini-production INI file.
    . G# a( Y3 v" s  V6 o

  87. % D: J) u& G0 I, {7 P( W+ r( g
  88. ;;;;;;;;;;;;;;;;;;;
    6 Z/ Q5 a4 Z) G' J$ f4 |8 u
  89. ; Quick Reference ;( |+ M' u" `  ?+ u
  90. ;;;;;;;;;;;;;;;;;;;/ ]% E% a8 B6 I* \) B& L
  91. ; The following are all the settings which are different in either the production
    - ~8 Y, d$ r: l( Q0 L; y5 i
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    3 z- G& S+ A, G9 x
  93. ; Please see the actual settings later in the document for more details as to why
    ! A2 Y( o5 R7 u, x5 R7 x8 z
  94. ; we recommend these changes in PHP's behavior.
    & ?/ v0 t1 r; X4 M/ s

  95. * A4 E+ }$ _8 d) Z# Q8 `
  96. ; display_errors
    2 O, T  C8 S1 ]6 |6 O7 X) _
  97. ;   Default Value: On% {+ e7 O7 d6 P, |$ S! f
  98. ;   Development Value: On
    " m. ]* w4 ?8 g: n
  99. ;   Production Value: Off' I7 g( G, D5 `+ s8 ]7 C; c# M
  100. : h; a# H7 I4 l
  101. ; display_startup_errors$ d8 C, |& `# y
  102. ;   Default Value: Off
    4 ~1 H" G* V% Y) Z
  103. ;   Development Value: On
    / O8 q( ~, m5 W
  104. ;   Production Value: Off8 L9 o- }' E" [( W3 @( n9 p
  105. 2 R& c! R: p/ ]& U6 L6 r. k! h
  106. ; error_reporting
    ; |; s$ D$ V- @. L- Q; B: [1 S( d9 ~
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. `$ f$ ^8 L' a- D! w: ]
  108. ;   Development Value: E_ALL
    " ~* y7 C4 d9 ?" e+ V% J- R" a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 }$ f9 ^+ ^% Q" @
  110. 0 T5 R  J9 j" I' l
  111. ; html_errors9 f2 n- x- y1 D
  112. ;   Default Value: On9 A$ \. r8 Y, g
  113. ;   Development Value: On
    8 _* u% Q" ^( B, f9 E
  114. ;   Production value: On# M6 j) T" l7 ^3 o6 ~# B

  115. # }7 f  b; J  h$ J$ d4 x( R
  116. ; log_errors
    7 D* ]' @4 D; Y; d, N
  117. ;   Default Value: Off
    $ Y, ?7 B; Y/ V: n) S+ o
  118. ;   Development Value: On
    $ Q2 Q( X! H. k, R/ X
  119. ;   Production Value: On
    0 h, |; _( j0 a7 I, E" J/ _9 z

  120. ) y, d% y1 g! b- R3 h+ H+ a7 U
  121. ; max_input_time) E3 O" _7 ~: O
  122. ;   Default Value: -1 (Unlimited)
    . z5 _: c4 w  |
  123. ;   Development Value: 60 (60 seconds)3 t& O. p( j7 P' N/ N- ^
  124. ;   Production Value: 60 (60 seconds)
    * k; }0 ]3 O" _8 _5 y/ g
  125. 0 T0 ?/ X( S1 h. z! J* U
  126. ; output_buffering
    4 Z: H! G# k& I4 D, {( V8 H0 X' @
  127. ;   Default Value: Off
    * C8 f( G3 |* Q- q: Q
  128. ;   Development Value: 4096
    4 n, O# Y& ?# Y  r. |1 ~- V6 p
  129. ;   Production Value: 4096
    6 u" P$ x1 `: S

  130. 4 S0 D+ W3 X. y! s% _: {5 G" c, J
  131. ; register_argc_argv
    5 a# G# X" {  j% d
  132. ;   Default Value: On
    : w  I: c4 d5 j( c' A! N9 {- Y- ^
  133. ;   Development Value: Off$ ^9 z' ]* C! f0 S' d( N
  134. ;   Production Value: Off! H6 @' d4 t3 S" S
  135.   A3 {6 p. Z0 _, {
  136. ; request_order
    , o# _& h: T. Z: U
  137. ;   Default Value: None
    8 k( X# a3 {0 z$ q1 F
  138. ;   Development Value: "GP"
    ! K5 ?' z4 F" J
  139. ;   Production Value: "GP"
    # P) |5 J: k$ |4 Q
  140. 0 L( f0 H/ \7 `  d
  141. ; session.gc_divisor8 @* P: T# {, _" C. G$ H! K
  142. ;   Default Value: 100. x: {) ^3 u* `! z7 Z/ O( {
  143. ;   Development Value: 1000
    ! p: i# b7 g1 Y1 [
  144. ;   Production Value: 10001 o; M. O7 c4 V

  145. $ m& c: X6 @/ q2 ]& Q( H6 z7 ^, y
  146. ; session.hash_bits_per_character' t+ j8 |0 c7 q) K1 D( P
  147. ;   Default Value: 4
    , g; q5 [, K  ?2 d+ t
  148. ;   Development Value: 5+ W  a6 J9 T0 t1 r
  149. ;   Production Value: 5
    $ r' Q" |8 e/ I9 t* b$ A3 [- u% ]
  150. 3 \7 w9 L0 H% G! e3 r0 t) @
  151. ; short_open_tag! J8 @+ r/ `. X/ }% J( B8 y
  152. ;   Default Value: On! a: a$ R2 m1 |) b. k0 L
  153. ;   Development Value: Off
    9 }2 g  [6 B& {8 c6 E: L! b1 c
  154. ;   Production Value: Off
    2 d0 o& P! ?9 C; |

  155. 2 T0 L& e% b% z. x5 M5 w
  156. ; track_errors4 F2 z& P# F2 ?$ z2 `. |* v' o: c
  157. ;   Default Value: Off
    - A3 c( D9 Z+ S7 O( K
  158. ;   Development Value: On4 e0 c& j3 L6 l: N- [, }, \
  159. ;   Production Value: Off- T4 V' X) W; M: L
  160. 5 t" y1 n8 {7 s: }2 l: X4 _
  161. ; url_rewriter.tags
    % m3 `. }9 x& @8 u' s
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 C/ ?# \  `# b4 m- e  t. M6 W) y) t
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" q& Z) z0 A/ l3 a0 M: `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 o; d7 D9 `4 |7 @) G+ S5 m
  165. ' D) \& b% M3 R+ J* S" ~' O% e/ C
  166. ; variables_order$ P+ n0 _8 _& F' \
  167. ;   Default Value: "EGPCS"7 j: c4 v5 N4 i7 p9 Q
  168. ;   Development Value: "GPCS"
    0 q! v; r" W# u. S( d5 _
  169. ;   Production Value: "GPCS"+ D$ @1 }* c8 Q, j/ d
  170. 6 R9 d7 k5 r: t" Z! Q- t5 Q! G
  171. ;;;;;;;;;;;;;;;;;;;;/ p+ @* D! ?+ [$ ?5 ?% x
  172. ; php.ini Options  ;( Z0 |6 P/ G8 c7 g% u( G1 `
  173. ;;;;;;;;;;;;;;;;;;;;
    , Y0 t: c; J6 {2 W! O
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ; i: x3 P( i5 l4 x* r3 X  N
  175. ;user_ini.filename = ".user.ini"
    ! N+ N( u6 e' e2 J
  176. ; h' L8 U* j  G% o# K7 [
  177. ; To disable this feature set this option to empty value
    , o0 S0 ?! O: ?' \! |+ X4 c
  178. ;user_ini.filename =
    & h4 H# u) i+ }3 D

  179. 0 z, H8 s8 |2 p& k
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 i, u8 @% }6 _; h+ [
  181. ;user_ini.cache_ttl = 300
    8 E1 U+ X0 U2 `; m! g

  182. 9 q5 ]( m1 a) @1 q, z: s
  183. ;;;;;;;;;;;;;;;;;;;;
    6 }) y$ @! c4 ?/ R- E. [  w
  184. ; Language Options ;
    1 f* \' X$ K, A% k; z& q: R
  185. ;;;;;;;;;;;;;;;;;;;;
    ; f0 s$ S% i2 N& t

  186. ( V7 |. o3 |  D0 G
  187. ; Enable the PHP scripting language engine under Apache.
    " h% O6 C" K$ o* @; U
  188. ; http://php.net/engine5 ^( L6 u, e, \
  189. engine = On
    : \; I1 f- r7 A, u+ r; ~

  190. $ H4 k' r, V8 w6 g) Z
  191. ; This directive determines whether or not PHP will recognize code between
    ' {) F  U2 z# s; ?/ A0 x% |! N! P8 _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& \9 {- L5 G5 U  Z* A
  193. ; generally recommended that <?php and ?> should be used and that this feature
    $ g* P: z6 Z1 }' r- |# J6 H
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & g# `9 J( d$ S. W1 Z- }9 R
  195. ; documents, however this remains supported for backward compatibility reasons.
    . K3 l8 r4 q- r  g1 \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      B0 r% W; e" u" x/ `% i
  197. ; used regardless of this directive.8 @5 Y9 F+ d' e
  198. ; Default Value: On
    1 \$ C- O5 x: V6 ^* r+ ?
  199. ; Development Value: Off
    ' w. A0 D: S7 L; W/ J5 i
  200. ; Production Value: Off
    " E; f* G7 i$ Y! G- ?$ u7 @1 u% D
  201. ; http://php.net/short-open-tag
    - w" O4 t  ^/ r( J. E
  202. short_open_tag = On0 j1 u9 O/ \! q0 t8 m2 T  p" x' u4 t
  203. ! f- u( J8 O, J: R/ r
  204. ; Allow ASP-style <% %> tags.
    + }% g4 y3 G2 u' v9 E9 S* m
  205. ; http://php.net/asp-tags
    & `$ g# D" @% b9 o1 T2 V+ B+ n+ \
  206. asp_tags = Off
    ! l" L+ \2 S+ d) [7 }) E8 Q. g
  207. + {1 S7 F, K' p2 c) R* ]
  208. ; The number of significant digits displayed in floating point numbers.
    ' L1 w9 N6 h' J  ?9 Z
  209. ; http://php.net/precision
    2 M. m. A4 ]4 W, I3 X* V
  210. precision = 14
    . O5 F$ _: W9 \+ V
  211. ' `* N' N1 {7 B; a! ?
  212. ; Output buffering is a mechanism for controlling how much output data2 i7 J% O1 s- k8 s# Q
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that9 x! \5 O- i6 G) C& h
  214. ; data to the client. If your application's output exceeds this setting, PHP
    % b0 K' t/ ]' x2 U2 `( E" g; a
  215. ; will send that data in chunks of roughly the size you specify.
    ) e; x' H0 N) n" H
  216. ; Turning on this setting and managing its maximum buffer size can yield some  B8 v0 @0 o. r( e2 W
  217. ; interesting side-effects depending on your application and web server.
    5 Z3 @( w" V: @& g3 o
  218. ; You may be able to send headers and cookies after you've already sent output+ h) s8 t1 }/ d. s) y
  219. ; through print or echo. You also may see performance benefits if your server is1 I+ D7 V- q) {; \# d
  220. ; emitting less packets due to buffered output versus PHP streaming the output  {0 z1 c1 ~" P7 x
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 H/ y3 ^$ @. W% g9 \: l
  222. ; reasons.9 A$ x# F) s6 L! r, U" R" ]
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( q% v5 @9 N) A6 w
  224. ;   functions.
    ) w7 z+ l! ~# T' O, D
  225. ; Possible Values:
    0 U! N$ x3 u! q4 |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)+ p  K! [3 `2 K" U. R6 U
  227. ;   Off = Disabled5 Y  P7 o, n! u, U
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.( w1 w% Z/ |: @# U0 L& o# z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 S# Q3 j, t3 S: B
  230. ; Default Value: Off! C- G- a; k/ |" `! _
  231. ; Development Value: 40961 l3 l8 [1 j0 q  B: k
  232. ; Production Value: 4096! Q% k4 H' A* O& U5 I" a+ X
  233. ; http://php.net/output-buffering" P2 ?  ^/ Z3 n& W
  234. output_buffering = 4096. b6 V& _2 X4 \& [

  235. ; u: M1 E  r( K& u
  236. ; You can redirect all of the output of your scripts to a function.  For& U4 D4 A$ \  {! ]& n- |6 d
  237. ; example, if you set output_handler to "mb_output_handler", character
    8 ^5 V5 [0 a/ e5 b  O
  238. ; encoding will be transparently converted to the specified encoding.
    * W3 z' w: n( Z  h
  239. ; Setting any output handler automatically turns on output buffering.0 J( K7 q& w5 i. @5 x3 k
  240. ; Note: People who wrote portable scripts should not depend on this ini( b/ F6 C4 w2 b4 Z/ u  N
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ! H6 m* ~- |1 K5 |4 `
  242. ;   Using this ini directive may cause problems unless you know what script3 C7 Q3 q  m- M0 P
  243. ;   is doing.
    7 P( e% _* [+ `) @; f8 Q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    - y) m* }6 v) |& t4 a
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"." Q5 [' d( N0 _' E% I7 |
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    5 |2 W: O" ]0 I$ l; M0 {
  247. ;   Instead you must use zlib.output_handler.
    % p  j' d- d# w5 R9 Z
  248. ; http://php.net/output-handler9 K9 F# B) o1 }& D" l
  249. ;output_handler =( K: B. {( m3 x( x2 U" ~" ~) l
  250. $ P) I. a6 u; v' w7 H
  251. ; Transparent output compression using the zlib library* g) Z" S4 L( |2 ]; _& u
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size: Q# a# b$ Y7 Q% Y* x# z& I
  253. ; to be used for compression (default is 4KB)# m% u" F& Z1 ~- i. X+ ]/ i  y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # i% u7 m" p- J3 ^# d3 }8 W
  255. ;   outputs chunks that are few hundreds bytes each as a result of0 W( B! y5 ?$ }1 g# y
  256. ;   compression. If you prefer a larger chunk size for better
    6 w) ]( G) Y. U( c3 H4 B
  257. ;   performance, enable output_buffering in addition.
    9 L9 a7 }4 T& o9 a
  258. ; Note: You need to use zlib.output_handler instead of the standard, Y) t: `& ~1 n8 ~) w* O% l
  259. ;   output_handler, or otherwise the output will be corrupted.
    ) G% G4 W6 L4 x& e, E! W0 }" G( p
  260. ; http://php.net/zlib.output-compression
    2 G. D. X$ j' @8 S) }
  261. zlib.output_compression = Off
    1 S" V; k; a- C% H
  262. ' M6 g) k  H5 I: [+ [6 f0 ^8 k
  263. ; http://php.net/zlib.output-compression-level* W1 S( @5 l& z  M# v8 P
  264. ;zlib.output_compression_level = -1# ?. b$ I8 U- A0 S2 j
  265. 9 R3 w$ I8 L$ _
  266. ; You cannot specify additional output handlers if zlib.output_compression- k5 K) P( d# H! y5 @0 u
  267. ; is activated here. This setting does the same as output_handler but in
    8 ^* s9 E) e- r2 T  S( ^
  268. ; a different order.# f- `1 {- I7 h  S
  269. ; http://php.net/zlib.output-handler, o' x" g7 b1 [
  270. ;zlib.output_handler =. v! R& Z1 I! }6 C6 |

  271. 3 K4 k% K  C# U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    0 d8 C4 M; I3 N$ P
  273. ; automatically after every output block.  This is equivalent to calling the
    5 @5 Q5 n# F. k# }, U/ j& K* E
  274. ; PHP function flush() after each and every call to print() or echo() and each
    9 J; O4 J, t# ~5 F0 I5 [; h
  275. ; and every HTML block.  Turning this option on has serious performance
    ; J/ ~1 d2 g+ x5 P
  276. ; implications and is generally recommended for debugging purposes only.
    0 z3 E4 P% U: \1 g
  277. ; http://php.net/implicit-flush
    $ b! A, `! O; i  L0 Q7 V* Q3 Q  D1 Y
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 ~4 b0 h% [+ J5 x( T: b7 q, f1 \% j
  279. implicit_flush = Off
    ' q7 Q' h& c2 d7 l, ]

  280.   V/ d: [1 I) x
  281. ; The unserialize callback function will be called (with the undefined class'
    ' N/ l# [+ y. I, m
  282. ; name as parameter), if the unserializer finds an undefined class
    % y5 v7 V2 {& M* H/ a0 U
  283. ; which should be instantiated. A warning appears if the specified function is' [4 H% p/ P$ a6 s3 U2 D
  284. ; not defined, or if the function doesn't include/implement the missing class./ u! s6 V8 V- |/ A6 ^8 y6 C  ^
  285. ; So only set this entry, if you really want to implement such a5 x  [- i' S* o" Z& A% o8 d% r
  286. ; callback-function.7 r3 {% y( R! b' U! e  r1 f
  287. unserialize_callback_func =/ T( }( f  E$ B. Y1 Y+ N. J' r7 n

  288. 0 |1 e$ c) O" j$ \5 i2 ?
  289. ; When floats & doubles are serialized store serialize_precision significant
    3 m. }8 |8 }4 L1 F
  290. ; digits after the floating point. The default value ensures that when floats' n5 F( e. a4 _7 n& I
  291. ; are decoded with unserialize, the data will remain the same.
    ) C+ T) C7 x0 J' l4 T) f
  292. serialize_precision = 17$ z8 ~& B) |6 _, [! x. B

  293. - [( M2 A) Q( G0 a
  294. ; open_basedir, if set, limits all file operations to the defined directory% Y. c; @) S. f7 u" f
  295. ; and below.  This directive makes most sense if used in a per-directory
    + l0 m! @# S  I) Z% ]5 x
  296. ; or per-virtualhost web server configuration file.
    + J3 j( T0 `! `
  297. ; http://php.net/open-basedir
    * j4 F4 A# \: p2 W# A
  298. ;open_basedir =& e: n$ C$ i4 z1 l  [# A/ b

  299. # W% N1 ?$ P( H) Y
  300. ; This directive allows you to disable certain functions for security reasons.
    * ]* X" F& \* e
  301. ; It receives a comma-delimited list of function names.
    5 ]( P* n# h9 C7 |$ q
  302. ; http://php.net/disable-functions8 p* p' E" a8 L. Q% |
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    6 n; V; O' c1 f+ o) O# t& C, c& e

  304. - T1 P/ D( \' ^2 J9 q9 p
  305. ; This directive allows you to disable certain classes for security reasons.
    8 a3 S  w% h/ P3 T
  306. ; It receives a comma-delimited list of class names.. m- d( f) Q- f: ~0 g% k+ q7 U
  307. ; http://php.net/disable-classes9 ?) T9 z8 @; S& D1 \& D
  308. disable_classes =& h  f3 a7 {+ A% ^" ]. E

  309. / F* S0 a( e6 z
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in* U  h" v0 i% s+ m+ y: Q0 d
  311. ; <span style="color: ???????"> would work.5 y' Q& _+ I; s5 r/ W
  312. ; http://php.net/syntax-highlighting* G8 L+ ^, g! `' j0 i' ]* u" K
  313. ;highlight.string  = #DD0000
    8 A$ s6 h8 @& \2 N1 p
  314. ;highlight.comment = #FF99006 h+ b. [) N) u& Y
  315. ;highlight.keyword = #0077000 L- }& p8 J/ e5 H  q: u
  316. ;highlight.default = #0000BB) ?2 y# H! j7 \* `
  317. ;highlight.html    = #0000004 v" l* m! z8 K
  318. 2 w1 T0 e6 h; ~7 E
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 D6 z3 \8 _. d/ y" j
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 E, Z  w' a8 Y3 K5 ?. q& F1 L- p
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 ]  U" U0 g+ c
  322. ; is to disable this feature.- C! G$ L' P0 m/ x5 |& ^" ~* I
  323. ; http://php.net/ignore-user-abort
    1 q  j" j" J/ Q* m) i
  324. ;ignore_user_abort = On+ u0 ]; ~- s* Y7 d9 x& r+ Q- j  Z
  325. : h6 D$ D0 n# @; I# `
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. P* A+ p* S  r9 q3 g; D6 o
  327. ; be increased on systems where PHP opens many files to reflect the quantity of( l# K1 j9 O% _. w2 c
  328. ; the file operations performed.
      Q! ?3 f' X: Y5 W2 O
  329. ; http://php.net/realpath-cache-size
    7 X5 j' H* Z* ^7 V! w
  330. ;realpath_cache_size = 16k7 ?3 m0 f& g3 e. |8 k4 q. B
  331. ! r! r% q8 O' ~' T8 y  x+ m  q* a
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    $ `/ b: q! }1 J, I4 z; [
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    " V9 d. t  F  V* A7 `& z; X! Z2 a
  334. ; value.
    8 Z3 V% A$ v! M. k
  335. ; http://php.net/realpath-cache-ttl& z6 w) Y  d" N9 H' \& c9 {* c' r
  336. ;realpath_cache_ttl = 120
    8 y$ j- n! n/ J/ _3 m4 @

  337. 4 b; Q  L) Y* g
  338. ; Enables or disables the circular reference collector.
    . P1 @" u( |  U6 n2 Q3 [  t3 E0 l
  339. ; http://php.net/zend.enable-gc
    0 e( O, ]& k8 q, t
  340. zend.enable_gc = On
    6 ?' Q; f: c- c3 o% N/ z! s
  341. , `0 a( ]! ~* V1 d% Q; Q3 V' l
  342. ; If enabled, scripts may be written in encodings that are incompatible with4 y% j# K* y  l5 I+ m
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    $ Y3 X8 ^$ d8 T3 d- ]0 Q. e" \
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    0 p  E+ F1 V" A+ F; w8 V( o  |
  345. ; Default: Off& a- s; k* t* |3 x9 t
  346. ;zend.multibyte = Off
    ; p& d' r4 x" [/ K( s1 N" X6 u
  347. 5 w& b* N2 p4 I* z" e# y8 K, w
  348. ; Allows to set the default encoding for the scripts.  This value will be used* b$ q! y8 Q; i  V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ y- F( `/ q; @% M: _8 v% ^$ n
  350. ; Only affects if zend.multibyte is set., r1 c2 J/ C1 b" Q. n$ v& O% o( ^: c
  351. ; Default: ""
    ( C/ C" g5 ?) F% ^- N6 n  B
  352. ;zend.script_encoding =
    $ i( G# h% W) y/ N0 v

  353. # l: r1 u5 b' P  m
  354. ;;;;;;;;;;;;;;;;;
    & R$ t) d) {1 k0 J
  355. ; Miscellaneous ;
    0 m4 U) D" s& ?
  356. ;;;;;;;;;;;;;;;;;
    2 g/ Y0 X: ^, p2 k6 |+ {: g
  357. # s; ?' \6 v" |4 j' U8 u
  358. ; Decides whether PHP may expose the fact that it is installed on the server, h2 y! z6 i6 d6 a7 r
  359. ; (e.g. by adding its signature to the Web server header).  It is no security8 ^( ]2 A) b/ ~6 G! |: K
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 M# P. }  |* N
  361. ; on your server or not.* m- h& D5 j  w( [4 X) L8 @* n) w3 L
  362. ; http://php.net/expose-php3 \; N: @8 t0 e0 g9 z7 w# w' i
  363. expose_php = On
    . f# u' G$ k1 S) s; |1 V
  364. 0 r4 I7 S4 ~. x+ I* c: ]
  365. ;;;;;;;;;;;;;;;;;;;
    + n% W6 B" k8 Z4 Y+ @
  366. ; Resource Limits ;
    0 n- o* O9 s2 D+ u
  367. ;;;;;;;;;;;;;;;;;;;- _, b' f1 C: |* ]- _

  368. - X  W1 \; d+ z+ g! M9 f% f
  369. ; Maximum execution time of each script, in seconds
    : Y/ x2 w3 n% _1 w; V4 @( {
  370. ; http://php.net/max-execution-time
    # b" k- q% o( K. r' i
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    + n' ?0 v7 q5 G
  372. max_execution_time = 300  E5 @# B# O/ d8 P2 m: Z
  373. 2 r& m% C& V* v0 F
  374. ; Maximum amount of time each script may spend parsing request data. It's a good2 S6 {( t* W( R8 b+ y0 H
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , M, b2 W* j. ^
  376. ; long running scripts.
    + n  x3 F& n3 Q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 N3 j6 u! ?& f' n
  378. ; Default Value: -1 (Unlimited)2 `' ~7 d- A/ Y/ s1 ~0 \) H. j
  379. ; Development Value: 60 (60 seconds)4 ~; W( R+ i: G! W7 ?( V
  380. ; Production Value: 60 (60 seconds)
      a+ y$ B! c7 u  j5 q% [1 Y1 `: `5 I
  381. ; http://php.net/max-input-time
    + b8 M8 P  a2 u7 N
  382. max_input_time = 60
    1 M5 h2 x, p( M0 S, C( J
  383. ; {0 o' q2 Y1 K2 M' o" T' B
  384. ; Maximum input variable nesting level, w8 e, I* Z) j
  385. ; http://php.net/max-input-nesting-level7 I; G" t( l9 f
  386. ;max_input_nesting_level = 64
    ( Q- R( Z) S, |8 A- N  i# n( r

  387. ; W9 d- o5 L" T6 a+ E! e8 q
  388. ; How many GET/POST/COOKIE input variables may be accepted, B' S+ \: q4 Q9 E, g6 Y
  389. ; max_input_vars = 1000
    ( y( z6 j0 J& N
  390.   I- H  Z( _- @0 c* Y; a: D/ ^
  391. ; Maximum amount of memory a script may consume (128MB)
    : E$ O' r5 j8 b' B, Y
  392. ; http://php.net/memory-limit
    : J+ d5 K' f) w+ ]. {
  393. memory_limit = 128M
    / p+ m4 D8 l8 O& f% {

  394. 7 P6 p7 o8 J: s- q* s- w
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % L- b0 M) N# Z) m2 F
  396. ; Error handling and logging ;
    5 \. }& j+ F: \4 v) W
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 d  d% Y) a7 s0 A8 n
  398. 4 X3 M7 u: `+ ]5 p% t# K8 |
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    8 y  u/ d: j8 S( g) U- W0 {# K/ J
  400. ; it to take action for. The recommended way of setting values for this
    & i$ T$ E" a) |, h1 Z# I. c
  401. ; directive is through the use of the error level constants and bitwise& k3 y  B- o  H# k# V
  402. ; operators. The error level constants are below here for convenience as well as$ A7 |6 \& |% p; \2 d3 D2 a1 b2 P8 V
  403. ; some common settings and their meanings.( E" M" ^1 n+ i8 A, b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT. _+ u2 f, B, x# ^+ c7 s( q6 @4 ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 L8 H. Y5 I( n, z2 s. v2 b5 K
  406. ; recommended coding standards in PHP. For performance reasons, this is the7 M& T0 Z' s6 ]  j) M" C  O
  407. ; recommend error reporting setting. Your production server shouldn't be wasting- |) x/ A* E) c8 R: R* ^
  408. ; resources complaining about best practices and coding standards. That's what2 d& i# ?! \( }& m$ |. h
  409. ; development servers and development settings are for.. ]) @0 |5 Q! b& ]* F2 `& V
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; y, C8 x+ ]! V4 E: U
  411. ; means it pretty much reports everything which is exactly what you want during! w% W5 I/ I1 B6 O9 Y3 |* t
  412. ; development and early testing.
    * ^7 O' }% X2 P; _9 \
  413. ;
    , q8 f6 y( g0 S; T
  414. ; Error Level Constants:
    ; X6 K& E& V; N5 G+ V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    # x( y; Q" u6 u8 t/ c  m
  416. ; E_ERROR           - fatal run-time errors
    7 s3 k. Z& z' J( Q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors7 X- ~9 ^7 P/ F0 {$ N0 q5 V: G
  418. ; E_WARNING         - run-time warnings (non-fatal errors)& _" t/ Q0 I, r9 V, k
  419. ; E_PARSE           - compile-time parse errors
    # ?0 Z/ S7 l1 j' u* W
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) u8 m  C1 M% c( X+ x& k- }
  421. ;                     from a bug in your code, but it's possible that it was0 E3 {: T# F- Z+ ?8 n4 g! N' h" W# ]8 M
  422. ;                     intentional (e.g., using an uninitialized variable and
    4 y8 A/ }- c: w! @4 I- L& y
  423. ;                     relying on the fact it is automatically initialized to an' F3 Y: ~2 P+ L/ {. e1 k
  424. ;                     empty string)
    7 t2 w( l. i/ k
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + d  m" F7 v% V0 c: n- G, i
  426. ;                     to your code which will ensure the best interoperability$ _* J- q6 ~- I, D4 n
  427. ;                     and forward compatibility of your code
    8 R& r9 |0 t2 f* S& A3 z
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    # O; H. o8 s  {9 |0 h3 x6 Z
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 D8 s0 r8 ?" H$ C7 T* j
  430. ;                     initial startup; {8 v0 O0 ~  A* t$ `3 ]
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    % o3 P8 h2 _. @7 ]) g/ [: {' a5 z! R
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)6 O4 j: N, r9 h: x* B
  433. ; E_USER_ERROR      - user-generated error message
    3 O7 J8 n: ~8 N  c. Z- \
  434. ; E_USER_WARNING    - user-generated warning message9 M# w( s) j- ~; x, x! @
  435. ; E_USER_NOTICE     - user-generated notice message
    ' J3 l& _: a. c
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' t4 I: W& ^# ~9 J; H+ P
  437. ;                     of PHP5 e2 L: s/ R$ |, ]8 Y# _! P2 e9 l
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) Q6 \8 w* k8 O& M" f. N; s/ ~' M
  439. ;, S4 X6 ?$ K" ?0 |- H' W
  440. ; Common Values:7 D" `& x+ L5 D, U1 X  F+ r+ h
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)/ d0 _: y5 t6 a3 z% y/ Q0 F
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 j$ v& Z  }0 o
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) J+ ~$ t( g7 \+ ?
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 C' c; A# w+ C& V
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; N* l% d3 l- |1 ]; a
  446. ; Development Value: E_ALL
    / Y2 w! i' p4 i9 }* M
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      h5 G& S: d; r: |
  448. ; http://php.net/error-reporting$ X6 z) N" U- m$ V3 I9 ]# J
  449. error_reporting = E_ALL & ~E_NOTICE
      q9 i2 W5 l: z, P4 q
  450. 5 q# V: r% D4 ]: ~3 b: S
  451. ; This directive controls whether or not and where PHP will output errors,
    # y/ W' }1 l. C! B6 f/ k6 c
  452. ; notices and warnings too. Error output is very useful during development, but3 b! O9 z  I$ [# [1 O& @$ A
  453. ; it could be very dangerous in production environments. Depending on the code
    9 M; J* O9 p8 J/ t8 V) N
  454. ; which is triggering the error, sensitive information could potentially leak
    % T# h! ?! I6 w6 D0 J
  455. ; out of your application such as database usernames and passwords or worse.
    + P  p4 l2 N& f8 x
  456. ; For production environments, we recommend logging errors rather than
    + J/ F( U! {* B* y$ f; b
  457. ; sending them to STDOUT." O/ H* Y8 O$ E% I$ `
  458. ; Possible Values:# `; x6 S; Z1 ^* H
  459. ;   Off = Do not display any errors; s2 n4 W- K7 h% O/ ?: A
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& \* z9 C8 m. p" }1 ^
  461. ;   On or stdout = Display errors to STDOUT
    ' A1 e% F3 {) A1 a0 n7 N/ Y* i
  462. ; Default Value: On+ e# U, {% n8 {) U: B
  463. ; Development Value: On
    + r3 V, G! `9 b+ b4 {% \; `
  464. ; Production Value: Off
      v: R$ A9 }, w$ u$ D; j/ b$ U
  465. ; http://php.net/display-errors# p. B" X$ L$ ?4 f  r+ [
  466. display_errors = On
    ' X( Z  D" H  V+ o9 N' }

  467. 2 O  x3 K. m! U2 V
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' h+ T4 \  [, m# G6 U" c
  469. ; separately from display_errors. PHP's default behavior is to suppress those& Q+ t  k" t8 X7 o
  470. ; errors from clients. Turning the display of startup errors on can be useful in: U/ d+ k* F  [
  471. ; debugging configuration problems. We strongly recommend you& G) W- p3 I8 P+ j8 m0 A
  472. ; set this to 'off' for production servers.
    / U( `0 c. X. O  ^- T1 ^0 e
  473. ; Default Value: Off
    6 Q$ F7 Z8 k6 W9 G/ r9 D
  474. ; Development Value: On" f" x+ C  Z8 k2 j$ \+ N. y
  475. ; Production Value: Off# }, N. V3 E) N' K- Z. ~# u0 M
  476. ; http://php.net/display-startup-errors
    - x- F# ^5 P( }
  477. display_startup_errors = Off
    " ]% ^9 P8 l5 S7 r! [" W6 @" n
  478. 9 o9 b" Z. d) h% D
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    2 c- C( ]0 O5 f, k
  480. ; server-specific log, STDERR, or a location specified by the error_log+ ^; x; j5 o: l$ \& M# L
  481. ; directive found below. While errors should not be displayed on productions6 e! ]5 H3 A9 E2 E
  482. ; servers they should still be monitored and logging is a great way to do that.
    ) U" h9 S" a& N3 ^
  483. ; Default Value: Off
      q) e; ?' f4 v8 ]; ?) B
  484. ; Development Value: On5 a" _' b) _2 _( |& ^: m; j( Y' f. g
  485. ; Production Value: On
    4 K+ g0 p- y+ q7 {+ [6 h8 V
  486. ; http://php.net/log-errors
    . U* Q9 W9 Z" C$ p2 d
  487. log_errors = On
    - e6 ]. K- u2 `. T

  488. 3 U" F& |4 u9 Y# b2 o. F) N
  489. ; Set maximum length of log_errors. In error_log information about the source is5 b" l: V: g9 B0 q; w9 Y1 I3 N0 ~8 K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 d: F3 i$ {4 G% C) `
  491. ; http://php.net/log-errors-max-len" p' F8 u& I* H9 l5 l" O' i# i0 ]
  492. log_errors_max_len = 10249 G0 ?  |  |' X) M( d; ]

  493. 6 P+ {0 K4 `  M$ L0 O. Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . \+ E: T+ k4 @0 O, N
  495. ; line unless ignore_repeated_source is set true.$ a- O% q9 k$ E% @+ e" l
  496. ; http://php.net/ignore-repeated-errors
    2 Q. K7 x1 C$ _0 \( M
  497. ignore_repeated_errors = Off3 d- P' a+ z2 C; F8 m
  498. & a6 h7 V% ?: u) |
  499. ; Ignore source of message when ignoring repeated messages. When this setting+ N% E1 u  l0 j8 n
  500. ; is On you will not log errors with repeated messages from different files or
    3 d# b. h* l' z, x% m4 b3 T; D2 z
  501. ; source lines.
    . {6 Q# u  `: V
  502. ; http://php.net/ignore-repeated-source
    . W+ p0 Q9 d9 A; b3 l! A, v
  503. ignore_repeated_source = Off. s$ e) t; ^8 J- t0 D

  504. 0 T, F! D' i9 {0 D6 ]: M2 C
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " \+ J6 T# E/ z: ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if* t1 j/ l0 [% |9 K8 f6 G/ ]
  507. ; error reporting includes E_WARNING in the allowed list
      g9 r' J+ i1 v
  508. ; http://php.net/report-memleaks; E) ^& v- ^) o- h7 W
  509. report_memleaks = On
    , r# Z6 B* w' e

  510. ! O0 \) v, Q4 {. u& m% g8 x8 Z
  511. ; This setting is on by default.
    + n; h6 C% O) Z/ s. ]: K+ x3 l: L
  512. ;report_zend_debug = 0. H2 K' }* r# y( p& Y

  513. . x" }! u9 L- A* [% v4 a
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ G2 Z; w' G- @1 `
  515. ; to On can assist in debugging and is appropriate for development servers. It should) {7 q4 P: ?6 U/ J  p
  516. ; however be disabled on production servers.) J) L$ K  M* C
  517. ; Default Value: Off
    ! t9 B' Z( ]  J7 d' M
  518. ; Development Value: On
    5 {' R5 M6 i/ G; F& e. E( P( [
  519. ; Production Value: Off
    , m# p0 ^6 Z1 z/ o' x
  520. ; http://php.net/track-errors7 I. w+ ?/ q+ f6 S, M2 U" U
  521. track_errors = Off
    1 W- b4 R1 z" ^) r1 a: ~7 d/ d. p8 n; g; y
  522. 8 P" ]: I( {9 h, p: C& e
  523. ; Turn off normal error reporting and emit XML-RPC error XML/ d0 b& w1 {4 c7 y% I
  524. ; http://php.net/xmlrpc-errors
    ( O5 o7 M* p' U! `
  525. ;xmlrpc_errors = 0& {! @# `5 A, Q: W  P
  526. ) s8 j' E% u3 |
  527. ; An XML-RPC faultCode
    : R7 f; `) y+ z3 K1 i
  528. ;xmlrpc_error_number = 07 E( T4 J3 Z4 d4 [
  529. . u- F7 o. R) f: n: Y
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ) h( j+ U. v, ?% }
  531. ; error message as HTML for easier reading. This directive controls whether: @) K* F$ G8 h* W. ^
  532. ; the error message is formatted as HTML or not.7 A$ w4 o" K, l% h0 K( I
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 ~5 D, `9 M1 J5 l' a
  534. ; Default Value: On
    % `- R6 K) ?) n
  535. ; Development Value: On
    2 i( H# B- B1 [# L; b
  536. ; Production value: On$ a/ ^, z; g& j$ p4 @! g% t! q
  537. ; http://php.net/html-errors$ D2 c/ M( z5 Q0 g) s* s0 o6 U
  538. html_errors = On
    % v) [* e$ B, y+ r9 k
  539. 3 r) P; `  i$ A7 Y' R+ o: y2 B$ v
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 D# E% ?* n/ Q& ^
  541. ; produces clickable error messages that direct to a page describing the error
    : o3 F* u' K8 u2 l4 g
  542. ; or function causing the error in detail.
      w( u3 w8 d+ a. W2 O
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    * s- w; I* Z7 Z# I8 Z! s
  544. ; and change docref_root to the base URL of your local copy including the
    2 b/ J2 \# P# z* _9 x5 q& t
  545. ; leading '/'. You must also specify the file extension being used including' n, R# D& ?& Y# ~: V! f; q1 k# b
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which( \. U& j+ f0 y
  547. ; case no links to documentation are generated.
      H( _3 a  k* k8 Z
  548. ; Note: Never use this feature for production boxes.* f7 L1 i2 C$ [
  549. ; http://php.net/docref-root
    2 [4 G7 V+ N! G7 X/ L, s8 H" y
  550. ; Examples$ d2 d: E8 p4 p( ^7 c, T8 C! o
  551. ;docref_root = "/phpmanual/"3 r$ P6 D4 z5 ^. j9 Q/ B7 d

  552. 9 r& V& S. V" ?! x6 B! s% x) X: ]
  553. ; http://php.net/docref-ext
    1 V6 Z& @& X4 c# S- l
  554. ;docref_ext = .html5 V0 `8 k. ~- w* _5 \9 c& F% c
  555. & S! c4 L3 Y  @! z
  556. ; String to output before an error message. PHP's default behavior is to leave7 ^; f8 {1 X! R1 V
  557. ; this setting blank.3 o9 a0 Z5 p( k; J9 H6 ?$ f" I! u
  558. ; http://php.net/error-prepend-string; a% R$ t, L6 O0 M' M* a
  559. ; Example:1 N4 g0 T4 A1 H; H# L8 O
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    3 n+ ^, w1 f. C0 G" Y& w; ?

  561. 1 D3 K* G' K" s
  562. ; String to output after an error message. PHP's default behavior is to leave. P1 q* j9 b) q6 Q# T" k# ]
  563. ; this setting blank.
    5 m. W+ J8 v$ |
  564. ; http://php.net/error-append-string3 h1 g% p; P: K2 T7 F8 q" S
  565. ; Example:
    # C" B5 M3 o  m1 E8 s& d
  566. ;error_append_string = "</span>"
    0 D, K; I. L* I/ P

  567. 4 g1 K0 @' M/ `' v* p
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 i4 M" f! J& v
  569. ; empty.
    1 R0 Y; Z# R9 I/ N. _! Z& I$ Q
  570. ; http://php.net/error-log$ Z* C3 X/ f+ T; q$ l1 X
  571. ; Example:
    + @4 S9 X# J/ k
  572. ;error_log = php_errors.log
    5 Y3 F2 `+ z; j  V' D# @) C1 H
  573. ; Log errors to syslog (Event Log on Windows).
    : d% g$ U. {7 C* Z" i1 R* m
  574. ;error_log = syslog) c$ K4 E7 _: `, p, p

  575. ! D0 n% y7 g# L# j5 C9 A/ c' m/ u9 X
  576. ;windows.show_crt_warning
    ! `7 n9 [5 V& i. ?
  577. ; Default value: 02 t9 H# \" l1 ~! a7 R. ~: T& ]- e6 ?
  578. ; Development value: 0
    & g8 C: Q3 f- `# ^
  579. ; Production value: 0
    3 \# o9 ~3 P, _7 A: v9 G

  580. 3 [, e* h# K+ _. b* C# c( ~$ N
  581. ;;;;;;;;;;;;;;;;;9 K* j& M- L9 t# i  y2 i
  582. ; Data Handling ;
    3 Y4 F; j. t0 ]' }* k* {
  583. ;;;;;;;;;;;;;;;;;6 m% W0 ?& d) q# _) k' u

  584. ) F. p& ~+ \4 {1 ], h
  585. ; The separator used in PHP generated URLs to separate arguments.
    . m# J! Y/ O5 e1 [& q
  586. ; PHP's default setting is "&".# @  H' y0 s6 F% Q0 S6 _0 ^6 w
  587. ; http://php.net/arg-separator.output
    9 i! r( G) W7 n4 H1 |" e
  588. ; Example:4 }" P* |! y$ t
  589. ;arg_separator.output = "&amp;"
    ( E4 `3 U# L' O" y  Q$ j  z% I( d
  590. & j1 s& i0 A" V9 Y( X/ q
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 i8 }& c# \# Q; y3 f. X
  592. ; PHP's default setting is "&".
    # E; V/ P2 u- O2 x# Z6 N" ]9 n
  593. ; NOTE: Every character in this directive is considered as separator!/ s( T( b/ T- ]6 F" S" ^6 a
  594. ; http://php.net/arg-separator.input
    $ v( v- L7 I  z5 ?, h
  595. ; Example:
    7 t+ R% h0 _! N4 {, r3 W' ?
  596. ;arg_separator.input = ";&"4 m7 I  H+ c. T2 B2 _
  597. - L8 Y" b0 |4 `: d6 p2 B
  598. ; This directive determines which super global arrays are registered when PHP
    8 }( E1 Z! B( g, w  V( t$ s& I% i
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super, ~3 }, Y/ T9 z; A
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    : r# I3 B1 x$ N4 a' m8 e" d
  601. ; paid for the registration of these arrays and because ENV is not as commonly' i: _; ]8 f9 Y, |& B
  602. ; used as the others, ENV is not recommended on productions servers. You
    $ ?! d" W" U$ T& y/ u5 s' P
  603. ; can still get access to the environment variables through getenv() should you
    0 n! P: t$ f5 c- E( V
  604. ; need to.4 g: s$ h" A+ Y3 r& `
  605. ; Default Value: "EGPCS"
    5 C3 m8 m9 W* ~. K8 Q
  606. ; Development Value: "GPCS"* [9 a0 j) R" x; S9 y
  607. ; Production Value: "GPCS";
    4 l" o* R5 |2 ^
  608. ; http://php.net/variables-order5 V" E+ ~! {8 K- |$ s. ^
  609. variables_order = "GPCS"1 F2 a9 K4 f8 v0 L, z
  610. 2 ~  v' g9 z2 z, X
  611. ; This directive determines which super global data (G,P & C) should be9 g4 f- x7 N, p* J, ]
  612. ; registered into the super global array REQUEST. If so, it also determines8 M- T/ X1 R" t7 H1 y) q
  613. ; the order in which that data is registered. The values for this directive
    2 v4 O! t; S4 T5 o
  614. ; are specified in the same manner as the variables_order directive,
    / G% O3 ^; G' k
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ! P) k0 \2 }! t. |1 M
  616. ; in the variables_order directive. It does not mean it will leave the super0 G$ u, X' _2 f  G9 }; b! B6 O
  617. ; globals array REQUEST empty., u' G5 ]* i" `  }7 c7 Q
  618. ; Default Value: None
    / ~9 P3 b1 \- v5 t; F
  619. ; Development Value: "GP"- R5 Z' a# |. S
  620. ; Production Value: "GP"
    ! Y* X1 p% D+ o( e1 f, ~6 e
  621. ; http://php.net/request-order( I" D" J; h. L, @
  622. request_order = "GP"
    ( m" o& G' w7 n3 B, P# r+ x
  623. ) `! I5 `! Y9 L. f7 q
  624. ; This directive determines whether PHP registers $argv & $argc each time it) A0 @( Q: W& q- u! a& R
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    + x) h# g2 [( o' c# \8 k8 H1 V
  626. ; is invoked. $argc contains an integer representing the number of arguments6 y* w8 K. ?8 H
  627. ; that were passed when the script was invoked. These arrays are extremely- i/ T; l$ Q- F5 n, \4 q( I/ z
  628. ; useful when running scripts from the command line. When this directive is  v/ z1 N: z0 Y  a! W% A
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 N( F2 R% p' {! Q. J
  630. ; a script is executed. For performance reasons, this feature should be disabled
    7 H8 t/ B$ e# m
  631. ; on production servers.
    5 F( \2 b) [( V8 @3 N
  632. ; Note: This directive is hardcoded to On for the CLI SAPI9 _" r5 Q' c8 s( b% v! S
  633. ; Default Value: On
    ) F4 a$ j/ c* \+ D
  634. ; Development Value: Off: g5 x5 r& v* m; r6 Y
  635. ; Production Value: Off/ k2 Q( B6 J5 N, P8 t
  636. ; http://php.net/register-argc-argv! l  }3 n. Z6 }
  637. register_argc_argv = Off2 l9 O- P3 K: o' |, f- e

  638. 8 U/ y' v3 l, @0 k6 T  Y  b
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    7 S& N" x6 n7 b
  640. ; first used (Just In Time) instead of when the script starts. If these! q& P4 a, s# ]* m' z4 V
  641. ; variables are not used within a script, having this directive on will result
    0 v, s: R! {8 h$ S9 O: t
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled, ]$ l/ Z7 p8 \, y3 P% C
  643. ; for this directive to have any affect.
    0 K4 O6 ~2 G5 H4 e& r0 V
  644. ; http://php.net/auto-globals-jit" A& E$ b2 X* T' E- I2 h  e
  645. auto_globals_jit = On7 m1 V/ D# K9 E

  646. ; c8 ^' |' t  r8 A0 w8 J
  647. ; Whether PHP will read the POST data.$ G7 V" `% W$ h0 M1 N& Q2 Z
  648. ; This option is enabled by default.
    % Y! a7 I! E; f5 s9 ]
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST9 y# c6 f, s0 o8 q
  650. ; and $_FILES to always be empty; the only way you will be able to read the# X/ v$ s$ O7 X1 c* E4 M/ y- Y( v2 ^% f
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ' V1 A5 |) W, f' i# i
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    & }1 A( W5 L! e) R' d
  653. ; http://php.net/enable-post-data-reading% G2 m4 d# C6 q  ^0 b
  654. ;enable_post_data_reading = Off2 y. f! W  V7 @" [- i0 L% Y5 r
  655. . X# J3 [1 G! S/ |* G& |$ T2 _1 s, N5 r
  656. ; Maximum size of POST data that PHP will accept.
    . n8 e8 F& a: m5 x: X
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 k3 C9 g3 Z0 `& W( g
  658. ; is disabled through enable_post_data_reading.
    1 H" Z# z: U. q% z" F; }2 M0 _
  659. ; http://php.net/post-max-size; G# s- m4 K$ V* f( F; n
  660. post_max_size = 50M
    / x  t4 K/ Y4 X$ l! G
  661. 9 ?$ L( ~7 d: e3 a  F5 f3 x" R
  662. ; Automatically add files before PHP document.! r8 N4 o. |8 p7 x% v: S
  663. ; http://php.net/auto-prepend-file$ e+ H$ s- `# P7 G! b2 L1 F6 w/ T
  664. auto_prepend_file =  ?' [& v; J- n; O, N4 f

  665. ' @& w% m) z2 {8 z" J( i
  666. ; Automatically add files after PHP document.
    4 Y  n! F) j+ E
  667. ; http://php.net/auto-append-file
    * H7 e. _7 }, W# [; B% M, w8 b
  668. auto_append_file =/ q/ ^) ^) O7 L- e  d8 t

  669. 7 m( v3 z6 R- K: w; p
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / r' V/ j( K* z3 P
  671. ; disable this, simply set it to be empty.' D0 H. R, F% C: \  M
  672. ;) R- }$ ?; Q4 z+ ^: \
  673. ; PHP's built-in default media type is set to text/html.: [# V; R) `" g0 W
  674. ; http://php.net/default-mimetype+ b6 R0 y! p$ v2 F
  675. default_mimetype = "text/html"2 p( x: [% W2 U8 Z
  676.   ~( }+ P5 C+ R
  677. ; PHP's default character set is set to UTF-8.; N1 v/ |* H/ l0 a
  678. ; http://php.net/default-charset& ^+ ~5 e& ]9 X6 a1 k& }+ h% Z+ L
  679. default_charset = "UTF-8"; l1 R: o9 `" b7 f/ B# x* i: \9 D
  680. ( Q6 s. t" b. p7 ?" u( j/ x; f
  681. ; PHP internal character encoding is set to empty.
    9 t2 _2 H1 a5 ~* n  D4 i
  682. ; If empty, default_charset is used.7 b0 f. |6 m! o4 k
  683. ; http://php.net/internal-encoding
    - N' R, L( Y8 M7 _; L7 z
  684. ;internal_encoding =
    9 J5 L+ I5 D! x( m4 u  U9 i
  685. , y- i( v+ ^% G4 {: T0 ?
  686. ; PHP input character encoding is set to empty.
    9 T& U) l6 I" p% y* q- C
  687. ; If empty, default_charset is used.
    ) [. j( S1 B+ A8 p$ o0 C9 D+ y' N
  688. ; http://php.net/input-encoding7 g9 e7 I+ B; `+ ^
  689. ;input_encoding =
    ) j1 j, ?* ^. q4 `2 I; L) Y

  690. 2 K6 W7 ^+ J0 H- g$ d/ d% I
  691. ; PHP output character encoding is set to empty.* x; z& M. `( ?" F8 P; F% o9 G
  692. ; If empty, default_charset is used.
    1 U6 D8 x6 S, A8 R1 D2 U$ f
  693. ; See also output_buffer.
    7 p6 S) P7 q. c6 O0 `3 z
  694. ; http://php.net/output-encoding  I' f4 S7 c& b/ `8 N0 n+ \
  695. ;output_encoding =
    " B3 \6 E8 A( c

  696. " a6 H8 n. o: o& @
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    - u; e, l  C. `  Z4 W( W$ E
  698. ; to disable this feature and it will be removed in a future version.
    4 h6 K1 q- k7 D+ p: K, b0 ?; E
  699. ; If post reading is disabled through enable_post_data_reading,
      B2 X; M5 Q- @% z( {! t
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.) t- F$ D& {6 d2 ]! n+ z: P
  701. ; http://php.net/always-populate-raw-post-data
    & m3 D' ^$ v8 _! N+ G& R
  702. ;always_populate_raw_post_data = -1
    + }0 s' g* }+ x. R7 p
  703. 8 S) p3 q! x, h( z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;6 A$ R$ |3 F7 n+ w# y" O
  705. ; Paths and Directories ;7 B$ X+ J; [( {" m
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* L2 x8 F& ]5 K( X+ O

  707. ; {. q. Q$ }3 l0 d% z+ M8 A7 H
  708. ; UNIX: "/path1:/path2"8 ?6 |+ {4 T. b2 p5 K; e
  709. ;include_path = ".:/php/includes"
    - y: i. l3 M8 M! z. ?
  710. ;6 A, s- P* G; ]
  711. ; Windows: "\path1;\path2"
    : R, M# Z, C1 S( s# T+ J9 f9 v/ W
  712. ;include_path = ".;c:\php\includes"
    , D; o- z  L; v4 X4 M3 b  T- q
  713. ;
    . b" A+ x" b4 g
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear": T* ]9 t: V1 C. \5 Q( k
  715. ; http://php.net/include-path) Y' r8 r- ^6 \) f0 s& q: ~1 c

  716. $ R% r. c5 Q7 |1 I* p, |
  717. ; The root of the PHP pages, used only if nonempty.
    & w3 R) W: J6 j; }4 c1 W" F1 G
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root* ]; Z  P! ~! ~$ C! m- Y
  719. ; if you are running php as a CGI under any web server (other than IIS)
    8 K1 e! i+ N7 V5 H7 z
  720. ; see documentation for security issues.  The alternate is to use the
    " _: {0 S% I  i3 l& n# w7 ]- h
  721. ; cgi.force_redirect configuration below& g; A0 U1 O* n8 t3 }  y" N1 z
  722. ; http://php.net/doc-root1 }* l) \% ?. L! g
  723. doc_root =% b& F% y7 X$ T1 a. o7 m

  724. " _6 g9 {0 e/ m1 v8 z- m5 e  }. C$ X
  725. ; The directory under which PHP opens the script using /~username used only0 ~7 ]$ H% |; z0 I  Q  ?
  726. ; if nonempty.
    ) X3 C. D4 E' r% I; Q* h# F. F
  727. ; http://php.net/user-dir
    + U+ }( W! {( c# @; W: w
  728. user_dir =
    : [1 ]+ X  X, g, {5 h
  729. 7 h7 h/ ?. A. r6 [- ]
  730. ; Directory in which the loadable extensions (modules) reside.) N, B& h' {; b2 @1 u4 a! }8 s
  731. ; http://php.net/extension-dir
    4 R; v4 M* b) d; n3 n7 z6 d
  732. ; extension_dir = "./"
    . j% ?* P/ M4 s7 L
  733. ; On windows:
    7 A' k  c2 r# [- s1 m
  734. ; extension_dir = "ext"
    ; X& g( w6 c) y2 m, A
  735. ' A% S! A# U1 c. L5 k
  736. ; Directory where the temporary files should be placed./ m& \) l& e8 P( f+ u
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ( S7 n7 r6 y6 i
  738. ; sys_temp_dir = "/tmp"8 {' j; N+ J/ X; C# E" K
  739. 4 `* b" L% U0 p/ B1 h/ r3 U3 G% O# f
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 C  l! a" f. d! _2 Q
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    1 v) J7 U% o$ k6 R# j/ r6 r' n& l
  742. ; disabled on them." O- {3 k5 y' p6 g, }$ K0 u" T
  743. ; http://php.net/enable-dl
    5 |# N7 f# q# I$ o. e" o* C  A
  744. enable_dl = Off
    1 ^: N# j7 j6 [' L
  745. # d' M1 {( d7 u4 g0 F
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 e& r# Q( ?: w! [
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ( w' S, l$ O0 y, Z9 C  N% g: U
  748. ; turn it off here AT YOUR OWN RISK5 K+ U3 ~0 j& r/ K- i
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**  n) F1 h) [# A9 @, z3 Z: U7 B6 P
  750. ; http://php.net/cgi.force-redirect
    ) P& v+ K# W% ^
  751. ;cgi.force_redirect = 13 k( C( F/ p+ l$ r( D: X; [" w
  752. % G& S. P$ A1 X% k$ m+ w; a
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % H/ u# T0 z. N4 |  B
  754. ; every request. PHP's default behavior is to disable this feature.
    8 |3 i$ a9 S! r/ p( ^% H! Z
  755. ;cgi.nph = 1
    ; k1 |* ?! I6 A6 _" H; P7 F( P
  756. 0 p2 [/ F* {, C# C$ l) @
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape: T3 c) w& c2 C) K
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    2 r$ Z/ \' W9 L5 U
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 z* Z" w6 Q8 N2 _0 d: X
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    2 q) ?6 i" c& J6 o. C- D, v$ g5 z& e
  761. ; http://php.net/cgi.redirect-status-env% [3 [2 o9 J7 i
  762. ;cgi.redirect_status_env =
    + ]( U& T+ M" w* h" M
  763. ( h. }% w9 b( a5 \4 f4 l7 R
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    . k; `6 [3 g) x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    " u, h( _  f% n" s& r$ k) T' J: A
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( j8 _8 [/ X3 k
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, R0 t6 o" k5 O3 _  ?! R
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 B$ J% c& y' t" u2 O
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 ]2 _5 V$ B9 f2 _0 p6 s
  770. ; http://php.net/cgi.fix-pathinfo. O2 b2 Y" v: i- _& A
  771. cgi.fix_pathinfo=1
    7 k* h% P1 p" t  A2 i
  772. # J5 P$ `; `% t. s& K9 T) X( k! J
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside; M7 C1 c. o2 j2 K
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! c, L$ [. s& g1 A# Q. C/ b
  775. ; http://php.net/cgi.dicard-path; W) n$ m* O/ A
  776. ;cgi.discard_path=1
    : i4 W$ t8 _* b+ ~

  777. 8 [' @. G( |! S* X% o$ E
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    " m/ w& {9 F) F  @
  779. ; security tokens of the calling client.  This allows IIS to define the
    ! f* U- w3 |4 `7 O
  780. ; security context that the request runs under.  mod_fastcgi under Apache/ h' {& d( d' G8 i) J' s  w6 }% g+ N
  781. ; does not currently support this feature (03/17/2002)
    0 `9 ^- n( P9 K) A; e- k. ?
  782. ; Set to 1 if running under IIS.  Default is zero.
    9 ~/ k9 s5 c1 o6 d
  783. ; http://php.net/fastcgi.impersonate* r; x1 P2 Q' Z+ `, j8 c  `4 X
  784. ;fastcgi.impersonate = 1' \- v) U% _9 R3 U0 O- V/ _1 B

  785. 6 V3 x$ V, z, U8 }$ D- j. F
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . Y( }% Q; t( X4 O( A  B
  787. ; this feature.
    % F1 f- j, x, a. B. o
  788. ;fastcgi.logging = 0
    : C$ q9 R$ l' l# H# G/ d% n
  789. . P4 u8 l+ d& v2 o7 P; Y" D/ `
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( F3 R, x7 d1 ^7 H
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + h1 t0 F) c: A2 v
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    4 L5 C' d- F  [8 l
  793. ; RFC2616 compliant header.
    3 u9 b, ]6 m8 u, K
  794. ; Default is zero.- Q8 L) K: R, I, S1 T
  795. ; http://php.net/cgi.rfc2616-headers
    3 A' [- L2 k  l: A0 J% A3 ]; d" \
  796. ;cgi.rfc2616_headers = 0
    5 K3 Z: R+ w5 N9 {! |: d+ P8 ~: n
  797. ; @1 u5 Y9 D6 s, p: g( w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # r) ]8 c! r7 W- a# \
  799. ; (shebang) at the top of the running script. This line might be needed if the
    $ s0 b" [9 ^, C$ ~% i) c  N
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI, T, Z- x& F) b7 {: H
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 q. z+ t/ K, d! A+ m
  802. ; http://php.net/cgi.check-shebang-line
    0 |2 O2 S; X7 P" C9 z4 C
  803. ;cgi.check_shebang_line=15 J( r0 E  k7 m! K! }

  804. 5 q4 x8 i: G/ E
  805. ;;;;;;;;;;;;;;;;" a1 U' ]# c6 `0 A1 u! }
  806. ; File Uploads ;4 f0 M# V  _% V) K1 N2 }) f
  807. ;;;;;;;;;;;;;;;;9 _: @: T+ @4 K6 W! t' h& Q
  808. ' i$ q5 p& y! O$ q0 i* z7 N& p
  809. ; Whether to allow HTTP file uploads.
    9 X- o6 g' M% ^. q& W( f
  810. ; http://php.net/file-uploads( L' F3 T$ a! p0 ?5 i" Z$ P
  811. file_uploads = On: m* [# l/ J2 {% {

  812. 4 e# k6 I8 O: E0 |- D/ B% ^
  813. ; Temporary directory for HTTP uploaded files (will use system default if not, V; B1 p4 u+ B' f+ ?
  814. ; specified).
    ; F3 q: c$ M6 `  T* N
  815. ; http://php.net/upload-tmp-dir+ B4 ^/ P8 t# U5 p2 D4 ?( T4 v
  816. ;upload_tmp_dir =
    + t. X% J# N( j! F; {

  817. 3 S2 E3 \) u3 O4 N) b) t
  818. ; Maximum allowed size for uploaded files.
    2 M$ [9 m+ \) p$ i7 y
  819. ; http://php.net/upload-max-filesize
    + T# Z" H: }/ W: m& e+ _/ F
  820. upload_max_filesize = 50M% q! ~- o/ A, @9 P; ?+ c
  821. ) j5 V# @% q( v, X$ r* g* D1 L
  822. ; Maximum number of files that can be uploaded via a single request  [$ {  O' P$ ?, k& Y( I
  823. max_file_uploads = 20. W6 \0 X4 t5 p

  824. 0 X# ^3 f& A  k% [: X
  825. ;;;;;;;;;;;;;;;;;;
    ' {$ A% |5 n/ p. ~
  826. ; Fopen wrappers ;
    ( i! y) B  T" V/ T8 m1 B6 K/ h
  827. ;;;;;;;;;;;;;;;;;;6 w- c2 n% j0 |9 O& A3 J

  828. 9 M3 @* t# J' e; i0 |6 f* Y
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    2 n, L/ Z. H& ~, ~7 N5 u/ m. N
  830. ; http://php.net/allow-url-fopen
    3 D% m9 k6 ~/ i; a  x( O0 v. i
  831. allow_url_fopen = On
    " N' ]4 w" p. j$ s2 L2 D+ \% T5 s! R; N
  832. ; L5 a6 }/ e0 G1 B- E7 @
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * r5 M0 [  m! ~& T' d2 x
  834. ; http://php.net/allow-url-include# S% f0 U0 e: W* b, y& c
  835. allow_url_include = Off
    2 p# K- @" w- n& l
  836. % K2 z8 O8 {! E5 m
  837. ; Define the anonymous ftp password (your email address). PHP's default setting1 T7 I6 T9 F1 }; U. v4 @
  838. ; for this is empty.* P8 o% X) P* w1 |
  839. ; http://php.net/from
    $ \3 H% V* ]2 e: B1 S) G
  840. ;from="john@doe.com"
    * }. C: m& Q- {+ D
  841. $ t& t6 k( T. ~0 e* o
  842. ; Define the User-Agent string. PHP's default setting for this is empty.! }" l: f4 D; O; J! {2 B. ?# T
  843. ; http://php.net/user-agent
    ( Y; d! \  A6 G1 [6 I8 C+ }& f
  844. ;user_agent="PHP", S8 X7 N* ]" F: A9 D

  845. - y* O. Y- [5 w5 K! N
  846. ; Default timeout for socket based streams (seconds)
    ! _8 M! Z$ N% [& d7 @+ i# B+ Y
  847. ; http://php.net/default-socket-timeout7 c) U3 Z) A( z/ f2 ~" S
  848. default_socket_timeout = 60/ H0 t: p& c3 P5 [3 z% Z9 j& P

  849. 3 ?; d4 r6 J% K
  850. ; If your scripts have to deal with files from Macintosh systems,
    ! L* c- q' k: t' D
  851. ; or you are running on a Mac and need to deal with files from, X/ L0 G: A+ ^1 @6 V
  852. ; unix or win32 systems, setting this flag will cause PHP to
    3 f$ m8 |) Z( o7 ], g, s, S
  853. ; automatically detect the EOL character in those files so that, x( z/ \& f- h6 @1 c
  854. ; fgets() and file() will work regardless of the source of the file.+ C5 \( L! Y1 J" |
  855. ; http://php.net/auto-detect-line-endings
    3 C! k  \* o4 v) [: u- Z( a( C  g
  856. ;auto_detect_line_endings = Off
    # Y0 T; ~- m8 |+ ]

  857. 4 p: e1 d7 t& G% p) x6 _1 {
  858. ;;;;;;;;;;;;;;;;;;;;;;9 u, Y- s$ \6 x! b; f( D
  859. ; Dynamic Extensions ;
    2 N$ o% m, c  h1 X
  860. ;;;;;;;;;;;;;;;;;;;;;;
    8 J  d- U  J$ j$ e6 I0 _

  861. ' D' ^7 z) n; i% n- s
  862. ; If you wish to have an extension loaded automatically, use the following: T. h6 p- H. N, R( O
  863. ; syntax:
    ' u* z9 {; ?# s( E( u
  864. ;! ~% y9 v8 u7 w- n$ y: N; I* [
  865. ;   extension=modulename.extension. f* E( t& X) k8 |7 K2 K, i# {
  866. ;3 O) T6 s  c( u. Q
  867. ; For example, on Windows:9 V+ |' q* H7 d) _5 r4 t; I, o) R9 e
  868. ;
    - t/ h8 ]) O" e0 {. V7 X) Y4 `& o0 t
  869. ;   extension=msql.dll) G7 S5 G" ~1 o; W. X
  870. ;
    & k* [) o1 k  @$ W- H
  871. ; ... or under UNIX:/ Q/ Y4 Q: ?5 ?0 A. H- K6 A9 A
  872. ;! l4 w4 p! C$ }1 Y( g' o
  873. ;   extension=msql.so
      K3 _* y6 L0 N9 g2 k1 c+ ]. ]: o
  874. ;
    5 x9 y$ @/ A# s8 v1 }
  875. ; ... or with a path:+ A. C7 Q. ^1 X5 {8 e3 P+ R$ @
  876. ;
    $ t! d8 Q$ D/ K
  877. ;   extension=/path/to/extension/msql.so
    5 s6 L* C4 d; V$ Q; o2 z7 o
  878. ;
    ! d- ?( X* u& r2 Q
  879. ; If you only provide the name of the extension, PHP will look for it in its$ r3 ~+ f) f* _/ h; W
  880. ; default extension directory.1 g2 S* l. n+ x2 t2 ]9 R
  881. ;# c' Y- o0 G* R- M2 S3 g4 l
  882. ; Windows Extensions
    7 r1 d: {' m1 J0 `+ b7 q8 e
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ! s, o* b+ T( `2 e2 Z2 ~
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)- ^  m' Z( |. k/ T% q( ~
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    : `0 {. j4 L5 _5 q+ m
  886. ; Be sure to appropriately set the extension_dir directive.) ?. Z5 V' L# `+ o! E
  887. ;
    7 ~6 _( O7 O* e- K
  888. ;extension=php_bz2.dll
    ; [0 h! F5 y: m
  889. ;extension=php_curl.dll7 D7 x) b0 p* A9 O  B
  890. ;extension=php_fileinfo.dll: o: P0 p# O# \* h
  891. ;extension=php_gd2.dll6 q8 x. n8 ]6 C' k
  892. ;extension=php_gettext.dll' W  p9 R; @$ `
  893. ;extension=php_gmp.dll  q6 \* M* C* A( V: P, D3 E
  894. ;extension=php_intl.dll  m; a4 x2 `( |4 a
  895. ;extension=php_imap.dll
    4 |* \4 ^7 X# _, @, O! Z
  896. ;extension=php_interbase.dll
    ( |0 z8 I5 b  v
  897. ;extension=php_ldap.dll5 Z) B9 k* W! ~5 A/ z
  898. ;extension=php_mbstring.dll1 i2 ]0 ^" E2 J
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    5 r/ H0 B& ^0 ~2 w& o
  900. ;extension=php_mysql.dll
    ) R% L! @* s: d, P* {
  901. ;extension=php_mysqli.dll2 S  ^9 Q5 Y3 B: l
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , U" Q& ]) w: x4 S9 z& d4 b
  903. ;extension=php_openssl.dll
    7 v1 l* A; Y7 L. z8 w
  904. ;extension=php_pdo_firebird.dll* }/ \" k" o- ~3 u5 ?( ~0 n- N
  905. ;extension=php_pdo_mysql.dll) S# M* k+ Y  s( G
  906. ;extension=php_pdo_oci.dll
    3 Z% I$ p+ y* v3 c. [
  907. ;extension=php_pdo_odbc.dll
    & t  w2 y; U* h' e# p% r% L& o
  908. ;extension=php_pdo_pgsql.dll
    - h  @1 L# M$ N& y; K
  909. ;extension=php_pdo_sqlite.dll: O- Y- j7 i, ]
  910. ;extension=php_pgsql.dll
    , K) [; N6 H; u. Y+ t& r8 ^. D: @
  911. ;extension=php_shmop.dll
    ; H; H; x. d4 y2 u

  912. : C2 q; _" b- H! r) U: ]
  913. ; The MIBS data available in the PHP distribution must be installed. 5 m* W0 I# g2 j  {/ u: V) J
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    , a4 Z" U& y0 r- ]+ M8 K3 E
  915. ;extension=php_snmp.dll
    $ U4 N+ m( `5 Z

  916. + q1 E0 e/ w( P1 P
  917. ;extension=php_soap.dll
    1 b1 J; i$ T. G& K% E3 r
  918. ;extension=php_sockets.dll' _2 ^* e! V7 E, Z
  919. ;extension=php_sqlite3.dll0 ?9 i4 k0 ^' K' y
  920. ;extension=php_sybase_ct.dll
    # e5 Z3 a" @6 F! T& [( z3 m) N
  921. ;extension=php_tidy.dll+ K* M; `, l% ?3 V
  922. ;extension=php_xmlrpc.dll% b3 O' |* ^% B$ e) E, R9 K$ \- v
  923. ;extension=php_xsl.dll
    : v  G6 s9 H. R0 {8 H- X; \
  924. : q% `+ c" @* d8 P
  925. ;;;;;;;;;;;;;;;;;;;5 ~, i* _+ z3 |7 D  ?+ F* r
  926. ; Module Settings ;: ~& {! a6 l4 r& f# p0 |" p
  927. ;;;;;;;;;;;;;;;;;;;
      f1 `7 E* I2 N1 A' w: d$ S1 y* A" D
  928. ' v" w1 a0 f8 [
  929. [CLI Server]
    / x3 V# D- }# U; ]: O& A
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.( g, A. @' a# D2 d7 a7 u6 k
  931. cli_server.color = On
    : N5 {$ A" P! \2 B

  932. 0 S4 D: T3 B. I2 R2 z
  933. [Date]
    # u" t9 \; i. _3 N) ~  ]) N! O
  934. ; Defines the default timezone used by the date functions
    ; r' H. u& E: O2 l( k
  935. ; http://php.net/date.timezone
    5 l: |. ~6 a- H! P
  936. date.timezone = PRC
    5 V" U, A$ I8 b4 t: x

  937. 7 Q+ ^& I8 ]% e) {* N8 S& f
  938. ; http://php.net/date.default-latitude* u& c- v4 n& v
  939. ;date.default_latitude = 31.7667: f0 D8 I" x( X1 [# a" ?8 J

  940. / E% S  B7 }, q' T. V
  941. ; http://php.net/date.default-longitude$ n& K# D" r  x+ _3 Z
  942. ;date.default_longitude = 35.2333. Z) n8 h/ C- @3 S
  943. 0 \6 S4 \; Z) h
  944. ; http://php.net/date.sunrise-zenith8 m# n0 G8 k. c6 }
  945. ;date.sunrise_zenith = 90.583333- i7 j# `- B3 O0 I  Q  A

  946. # m% M6 k% N2 ~1 x
  947. ; http://php.net/date.sunset-zenith3 {& G6 J' S9 c
  948. ;date.sunset_zenith = 90.583333
    # L$ ]/ l5 ?* S1 H
  949. 4 R- P( V& H1 c* p7 ^+ J
  950. [filter]" U2 _# o3 g. h; E' A6 V0 n4 J
  951. ; http://php.net/filter.default! S/ S  h& g  T, J3 c  y& e. R" Q: \
  952. ;filter.default = unsafe_raw
    5 ^1 d- P" N% m/ l
  953. ! p- w$ b0 T/ Y6 W! Q
  954. ; http://php.net/filter.default-flags
    7 @3 O3 q) f1 {- W+ I
  955. ;filter.default_flags =
    / u! N) V' j+ k/ h' G* W/ D/ G
  956. 4 j# p+ a1 _6 ]- q
  957. [iconv], n& c7 D' ^  Q  J
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.  s! a; ?+ ^  m1 I
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; L5 s! p7 Q; ~" R- ]
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 c& V) O% y. x' V6 E. j3 o$ O8 p
  961. ;iconv.input_encoding =  M! g: K/ K2 S2 ~# Y, b

  962. & G9 Z9 {: E7 E+ G
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' D' g2 j8 e' H& g' w, P$ }" \
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 _0 J1 H3 }, E) A, p
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , x3 J5 \& g/ I) y
  966. ;iconv.internal_encoding =
    1 T; g" N' z: t

  967. - W. a# W# [8 I. [/ z/ Y( E  l
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & i4 z' [% p6 `# q$ K# i( f
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    0 v* K9 J# ?5 Z2 t/ z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- w  U- o. ^; H
  971. ; To use an output encoding conversion, iconv's output handler must be set
    % a$ }1 j2 Z7 a9 F* v& H
  972. ; otherwise output encoding conversion cannot be performed.
    & D" i% }0 e0 {7 o: L1 ?! U
  973. ;iconv.output_encoding =8 l  u% s# `. [
  974. 2 r+ c2 A8 x1 |4 {5 e' O. S
  975. [intl]
    4 V% b' E( B- P) N( e
  976. ;intl.default_locale =
      y. }% U. j* H" e0 S
  977. ; This directive allows you to produce PHP errors when some error
    $ S; v$ q0 G. k5 \: @
  978. ; happens within intl functions. The value is the level of the error produced.
    ! V: p3 s8 M1 [; s9 F1 c
  979. ; Default is 0, which does not produce any errors.
    6 E7 a& v- p& U: a1 ~' H/ M
  980. ;intl.error_level = E_WARNING
    . q9 F, L- u) {7 N( n8 k( V
  981. ;intl.use_exceptions = 0
    ) Z- F, @2 Q- m# v

  982. 0 K5 q. `/ b) i' K/ A
  983. [sqlite3]
    3 S7 s0 `8 _2 q8 w  E/ K
  984. ;sqlite3.extension_dir =9 {2 N) J5 W3 N: c

  985. 7 \' K3 t! i9 j
  986. [Pcre]
    & ~* k$ M6 Z, l  o& U9 w
  987. ;PCRE library backtracking limit.* \' }3 E5 S' \- K9 s( H
  988. ; http://php.net/pcre.backtrack-limit
    ( o/ v" J- I% ~; Z
  989. ;pcre.backtrack_limit=100000
    8 Y8 D$ p6 }" E8 w; T. I
  990. ! H( y0 {! c# h5 K* K
  991. ;PCRE library recursion limit.. l5 `! G, o, A0 j, D% v
  992. ;Please note that if you set this value to a high number you may consume all
    2 d! N6 }; R* D: H& [) v
  993. ;the available process stack and eventually crash PHP (due to reaching the
    3 d/ b  _; G- j1 V
  994. ;stack size limit imposed by the Operating System).
    & t' F: y! z7 L9 t2 H6 B/ f- H
  995. ; http://php.net/pcre.recursion-limit
    " }4 m5 N: {2 V( N  I* @
  996. ;pcre.recursion_limit=100000' g4 Y5 \" \* K+ e# H
  997. " C) a  u6 R/ Y; x
  998. [Pdo]
    . R6 h2 @# ~1 r. ^9 H% }
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", R" m. c; b, l* g# d
  1000. ; http://php.net/pdo-odbc.connection-pooling5 ]) \. @( a- A+ c6 S9 r* e
  1001. ;pdo_odbc.connection_pooling=strict
    % G/ G( H, n+ u9 ?: x% I+ q6 P) W
  1002. 3 x( Q/ O4 L' R# k3 B# {+ c9 Z
  1003. ;pdo_odbc.db2_instance_name
    , }9 S8 o- m- G1 n( M" b8 X4 V
  1004. . a* d: K4 ?& t- u0 Z
  1005. [Pdo_mysql]; G/ G+ _) d4 @: e) G
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      u0 ~' K4 H$ L3 f4 g0 ?! Y0 R4 l
  1007. ; http://php.net/pdo_mysql.cache_size# [0 S" s# t* b; |! h
  1008. pdo_mysql.cache_size = 20002 g( {( H! K! a! B+ e- p- l+ V( _

  1009. 9 z9 H6 c* s1 V; W9 B
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 d! p7 X% L  F4 F1 m! s
  1011. ; MySQL defaults.: ^* N  c" j* J% C) g8 u7 h8 U
  1012. ; http://php.net/pdo_mysql.default-socket( p+ `- t* E: \4 X" H9 E
  1013. pdo_mysql.default_socket=
    7 U  q! p; H. O5 i3 o
  1014. 8 r9 }; _9 z! L& f& p4 s
  1015. [Phar]
    % K" W5 G) k# P# s
  1016. ; http://php.net/phar.readonly4 [8 @' U6 n$ }3 k7 \
  1017. ;phar.readonly = On
    7 r5 [8 [2 d4 R+ c9 T1 b

  1018. ! X* x0 u: l" D$ `, ]
  1019. ; http://php.net/phar.require-hash
    ( @" K* L9 `7 h
  1020. ;phar.require_hash = On
    6 h7 b9 i  ^+ g4 @- x4 V
  1021. 0 r0 ]6 I' V6 \' R& J% {/ I1 g& `0 ?
  1022. ;phar.cache_list =$ c+ k8 I% e7 O) u. P

  1023. % n9 O/ ~! v# k& m- r% u* K7 u
  1024. [mail function]# F% R, @, K- z# b5 v& e) S. x
  1025. ; For Win32 only.# K- G/ v* e  \$ b9 s% }4 ]6 j- L  B
  1026. ; http://php.net/smtp8 r9 x$ O3 b$ \& F' a$ G
  1027. SMTP = localhost0 X% k5 Y3 ^& l
  1028. ; http://php.net/smtp-port
    " s; {1 a1 ?7 z& s6 f2 [/ s
  1029. smtp_port = 25
    9 f; J& j0 q; ?1 a0 `9 J1 ?: k! D
  1030. 9 a. d' k% H% B6 o/ o, h
  1031. ; For Win32 only.
    7 b) ~9 M- k  c& v3 f; @
  1032. ; http://php.net/sendmail-from
    & C6 Q% M' `) K
  1033. ;sendmail_from = me@example.com
    4 B: G' c# V# A, F  Z

  1034. 3 T' z$ [& Q7 V0 A: F
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . @! _! Z) l0 g0 j! I5 i2 W: S
  1036. ; http://php.net/sendmail-path
    # i$ `. W/ y3 X1 p% ?
  1037. sendmail_path = /usr/sbin/sendmail -t -i. y9 _) v  D* v4 ^
  1038. 9 j1 X* j) q# r5 V
  1039. ; Force the addition of the specified parameters to be passed as extra parameters) Y6 ~  q, ^* l( J7 X
  1040. ; to the sendmail binary. These parameters will always replace the value of( y2 g6 T7 L1 C. K3 X
  1041. ; the 5th parameter to mail().3 d0 Y( c4 I6 \- I, k* a$ I
  1042. ;mail.force_extra_parameters =
    ) I0 n9 S$ ?7 u. D3 V+ X# V
  1043. 0 G* o$ g; r7 [, h6 B
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 K9 A3 B4 p9 v( Z* j6 t9 N: S
  1045. mail.add_x_header = On2 M, B# x( l7 ~! y$ a

  1046. / x/ h: g" u/ B8 C. Q
  1047. ; The path to a log file that will log all mail() calls. Log entries include' E) b" _6 W- M) K1 A
  1048. ; the full path of the script, line number, To address and headers., {6 s( ?( }: t1 ]3 l% w
  1049. ;mail.log =
    6 j8 ~: ?: {3 L; V! V' H
  1050. ; Log mail to syslog (Event Log on Windows).4 Y! n, j1 t6 N/ u
  1051. ;mail.log = syslog
    ' o3 g% W0 o9 A8 J4 ?7 j

  1052. * y  H  Z& c0 ?+ N7 c" |
  1053. [SQL]6 L* H  U: `) ]4 Y
  1054. ; http://php.net/sql.safe-mode
    ) u$ a* M/ B1 |5 \
  1055. sql.safe_mode = Off( ^& b( @1 W. o% }
  1056. ' B* }- l0 D; E1 y* _5 _& k
  1057. [ODBC]9 L; K' h) T8 c& s
  1058. ; http://php.net/odbc.default-db- u* D/ M8 D$ P+ v9 [9 p" w
  1059. ;odbc.default_db    =  Not yet implemented
    & P& B' {4 y; Z& A( t* S5 P+ O
  1060. 9 \/ H- j/ w( @# g
  1061. ; http://php.net/odbc.default-user- q" \* E2 _4 z
  1062. ;odbc.default_user  =  Not yet implemented
    * T8 b0 P: N1 n

  1063. & a' g; O- U* b# r# E6 X" L
  1064. ; http://php.net/odbc.default-pw
    + `  t* s; l6 E1 T: c
  1065. ;odbc.default_pw    =  Not yet implemented
    3 }- d* p' {. \( a9 K5 o" |
  1066. - w& V8 G+ t, N! z. r3 _- d  ~
  1067. ; Controls the ODBC cursor model.
    0 k5 _$ z+ N, U, d' a0 z, j
  1068. ; Default: SQL_CURSOR_STATIC (default).0 q5 S0 j% n; ^
  1069. ;odbc.default_cursortype+ I. I& \, z5 H1 o  `" W4 s! [
  1070. ' G3 C0 p' Q' a" l( h/ ^
  1071. ; Allow or prevent persistent links.
    4 {6 u$ u, m9 \0 O: h9 t3 J
  1072. ; http://php.net/odbc.allow-persistent
    ! y+ e+ i) ^- M8 `' z# l
  1073. odbc.allow_persistent = On8 T# R. b* d$ ^. I
  1074. % v0 {6 I% A  @" R; _% c
  1075. ; Check that a connection is still valid before reuse.
    ! |0 P# Z( b/ d! ~6 o
  1076. ; http://php.net/odbc.check-persistent* X2 ?  [5 a8 X0 F! W+ M2 Y
  1077. odbc.check_persistent = On
    , {- H9 z- R4 V+ Z
  1078. ; r- H8 _' E, B8 b: d
  1079. ; Maximum number of persistent links.  -1 means no limit.. f3 G- q# C& \
  1080. ; http://php.net/odbc.max-persistent
    ' n+ S/ f$ J3 n, i' I$ S" b  M( m
  1081. odbc.max_persistent = -17 e# a1 H& D! K0 h3 ^
  1082. " s7 }9 g* X, V1 W- ]; N
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 Z1 d1 Y; n# I& q
  1084. ; http://php.net/odbc.max-links4 p6 y. X4 |- K+ y1 W7 V, U
  1085. odbc.max_links = -1
    ' [3 c6 E5 |& ]- {

  1086.   a9 G2 O' A- B3 Q2 _2 G2 Z& s
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means) _! e. Z4 i$ n, J' L# e: h6 z0 H$ e
  1088. ; passthru.6 E4 W! e$ V1 I9 K6 j1 g
  1089. ; http://php.net/odbc.defaultlrl; g- p* y( G9 O; C. R8 r# n! N
  1090. odbc.defaultlrl = 4096% i, s( K, |4 S1 X; X  m! S

  1091. ) f2 d: n6 P' ]5 y0 C
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.8 D! a2 m5 L8 b, [) G- o, ?
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    : r9 |  u* \- Q4 y% ?+ i
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    4 a* o9 }0 A  u9 [
  1095. ; http://php.net/odbc.defaultbinmode
    3 p* K% W3 w2 Y; ~% B
  1096. odbc.defaultbinmode = 19 n9 i6 @. r  I3 B, L/ f$ c

  1097. ; u* D4 l$ k: x- m
  1098. ;birdstep.max_links = -1
    ! e4 n" x' J2 e# M# z
  1099. : D. a2 ^! O; B) v2 s
  1100. [Interbase]
    1 V- v# c, L. ?) l# S% G) o
  1101. ; Allow or prevent persistent links.
    : |* M3 C$ @. H) L* N- i
  1102. ibase.allow_persistent = 1
    $ B3 f. J  |3 s: c: j" ]  k5 q
  1103. ! |5 a+ K4 i% N8 |; K
  1104. ; Maximum number of persistent links.  -1 means no limit.$ W+ n9 J, S' M" d& ]( C. {5 O8 a
  1105. ibase.max_persistent = -14 Q( ~7 _5 @+ i. |+ n

  1106. " |4 _( E2 |: ~: m% F' X$ p' J
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % b2 @5 t' u& G" G) X; |7 L
  1108. ibase.max_links = -1
    & h5 e: J9 _1 }; X1 f  N
  1109. 2 @0 K3 W, C: K7 P- |5 v
  1110. ; Default database name for ibase_connect().& g8 [6 u% {% u
  1111. ;ibase.default_db =) n! j$ s% l' f; h% Q

  1112. ) q" p5 R& P- V  l6 }
  1113. ; Default username for ibase_connect().6 p5 E' F/ J( X4 [2 Y! ?7 @
  1114. ;ibase.default_user =
    " J3 _2 C  \9 m( A1 E

  1115. ; ]2 W6 @; Z2 k2 X
  1116. ; Default password for ibase_connect().
    5 l- c/ z, _, h+ u
  1117. ;ibase.default_password =* H, J+ Z8 ^- A1 C  {

  1118. + s8 l+ w' Z; a
  1119. ; Default charset for ibase_connect().: {) @0 V' B% Y! O. I  i8 [1 T
  1120. ;ibase.default_charset =
    / c3 ~! {3 }& j$ Q  B, y+ @# K
  1121. 5 ~6 c/ q. z0 Y: D4 X( j
  1122. ; Default timestamp format.
    & W- x% c% ]+ ]- _7 Q
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 q, I; ~* n/ _* W

  1124. ! _- {; H4 a& `$ P! ^8 {& q
  1125. ; Default date format.
    , T2 F/ ^" e% Y. K
  1126. ibase.dateformat = "%Y-%m-%d"9 C) j3 z5 d/ f* N

  1127. / ]8 N2 ~# A' Z) r, x4 q5 q
  1128. ; Default time format.
    ' A6 ~+ u3 Y  D9 h) Z( h1 D/ l
  1129. ibase.timeformat = "%H:%M:%S"
    2 q2 ]/ n6 v' Q. K% J1 G# b# u/ c- x( [
  1130. " q' H2 ]& f6 V! S
  1131. [MySQL]
    ( P5 d8 S0 w3 Y
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; Q+ G0 l7 q$ Q1 ^
  1133. ; http://php.net/mysql.allow_local_infile
    1 |: |  |2 v* u. t
  1134. mysql.allow_local_infile = On; h0 [( E, D; a8 E2 ?

  1135. 2 M' c2 ^! {# y* D: V( C
  1136. ; Allow or prevent persistent links.( m' A0 h$ {; d) j) g
  1137. ; http://php.net/mysql.allow-persistent: U; K3 s! Z  j$ \
  1138. mysql.allow_persistent = On" ]. S+ r. O; V8 K1 Z# q2 d2 x
  1139. ) P6 x  I. V$ U& U2 W' L
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache& ?3 g$ J6 ~1 h" `
  1141. ; http://php.net/mysql.cache_size
    4 z5 f- J4 @$ b3 j1 o7 V
  1142. mysql.cache_size = 2000: Z. W. v$ Y) r' c# |/ P9 w
  1143. 7 [; P' X3 E3 a/ T! V
  1144. ; Maximum number of persistent links.  -1 means no limit.
    % I% m! v9 F% [1 j  ~
  1145. ; http://php.net/mysql.max-persistent- e: j) G3 a0 t: E
  1146. mysql.max_persistent = -1
    7 I9 S' z7 i" ]
  1147. 8 ^$ J" c, ^! b" F
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 j: F( D, q* _2 ]( D9 b; w
  1149. ; http://php.net/mysql.max-links2 s7 h- T7 E) R
  1150. mysql.max_links = -1/ S9 m- \: T' l; _  C2 w
  1151. 1 @: m' _1 R1 A5 b0 n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use4 n+ r+ W0 a% Y% }" P
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the7 l: c: @7 C: q6 [; e  Y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ o2 U/ q2 l& V0 I# J8 e! i
  1155. ; at MYSQL_PORT.
      z: y& T8 h" t9 y' h" c  R# e
  1156. ; http://php.net/mysql.default-port
    4 C8 ?8 l2 x) d* k5 ?( W% ?/ R
  1157. mysql.default_port =8 v" c: r5 t6 |7 [
  1158. 3 v( ~! O1 `/ R. |$ D
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in  L0 p' y6 H7 E7 p
  1160. ; MySQL defaults.% n' y9 o3 R. q! z+ v
  1161. ; http://php.net/mysql.default-socket
    1 }: d1 V6 `4 d
  1162. mysql.default_socket =
    % V! X: }6 w/ v" {7 M
  1163. 1 a! H- ]$ o, b5 \6 W
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . x# b! l/ B# J2 A- P% Y
  1165. ; http://php.net/mysql.default-host3 u$ u5 O' T6 q9 P1 ?. X- N. N7 l# E
  1166. mysql.default_host =
    6 y/ H( c# ~4 ?3 I+ E
  1167. ! y' ~9 ^0 f) {
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + p0 j  M; b% w' ^$ N7 `
  1169. ; http://php.net/mysql.default-user
    ( }! W! S! ^3 c+ Q5 a0 [6 i
  1170. mysql.default_user =0 h2 x' M5 g9 @1 v  j

  1171. # D0 d6 k6 s- o. }
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ' P1 K$ k5 y9 {
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * ^5 V8 A4 }6 D" G
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
      {+ x9 H! T1 P/ W
  1175. ; and reveal this password!  And of course, any users with read access to this: D! d3 U# f# p+ h- ^
  1176. ; file will be able to reveal the password as well., j' Y5 k9 s# T) Y  i7 b- z. z
  1177. ; http://php.net/mysql.default-password+ Q+ |2 t: v4 U, i
  1178. mysql.default_password =& [  B2 Q+ }4 T+ P1 x4 k
  1179. 9 r% b  k/ N) [5 X4 _
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit# Z  k! `" ~# P! J
  1181. ; http://php.net/mysql.connect-timeout
    / T, Y7 Q9 W) P. n. W
  1182. mysql.connect_timeout = 604 _. a: Z4 T/ f( C4 K$ [8 d* Y6 }
  1183. 3 x. w9 O$ ]1 Q* P/ |& ^) d
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 `& B& b$ ?$ O" v! I
  1185. ; SQL-Errors will be displayed.
    , G9 c3 s# |7 x/ E! Y! X7 e7 ^
  1186. ; http://php.net/mysql.trace-mode" W) C! W6 m' j; k7 T4 b9 `6 f
  1187. mysql.trace_mode = Off& O; E, b: o  l7 G
  1188. " w$ c  m3 v# t' x% e& E+ T3 u; z
  1189. [MySQLi]& Z* a. S$ a4 D. Z

  1190. # Y! v- [4 W& j9 h) b; K# Y
  1191. ; Maximum number of persistent links.  -1 means no limit.5 r4 w3 V: Y# m7 b
  1192. ; http://php.net/mysqli.max-persistent* W; x9 B4 Q# O$ K& `
  1193. mysqli.max_persistent = -1
    2 A/ V* k0 ]" u- `( Q

  1194. $ O0 I% S, Z1 q9 z) o4 I
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 Z8 b& @6 t3 {
  1196. ; http://php.net/mysqli.allow_local_infile
    , q% O; V1 `( M+ h
  1197. ;mysqli.allow_local_infile = On
      N) ]1 r2 l4 b# u6 {
  1198. ! U* ~) y) F2 W# y) W; c5 T3 m
  1199. ; Allow or prevent persistent links.
    9 q8 ~! `9 ?7 y5 F1 l  N
  1200. ; http://php.net/mysqli.allow-persistent6 ~1 O8 E8 L2 o) u2 n1 n( ~/ ~
  1201. mysqli.allow_persistent = On5 @: j0 ^( z0 v$ [' O8 T+ S
  1202. - H- U0 E# k1 |4 E
  1203. ; Maximum number of links.  -1 means no limit.
    $ n: @) Y3 y+ `8 g! B  `% a
  1204. ; http://php.net/mysqli.max-links
    5 Z) t& n6 v& j3 W9 e; [. s5 i
  1205. mysqli.max_links = -1
    # G# p# i& i/ Z+ l3 G

  1206. 0 r; H, j* ]* i6 E* c
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache: m- z+ v4 \, E$ L% Z
  1208. ; http://php.net/mysqli.cache_size
    1 P! M" a1 R# l( }, g5 |5 k  ]
  1209. mysqli.cache_size = 2000
    : \2 }( b8 D/ j  H% P* p' e# j

  1210.   F0 E  W0 A* d# q5 ]4 ]+ R
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 s- S# L6 S+ T. P- V) y1 U( K
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: i5 L% E2 ~4 }' {7 Z
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 L) F! t: H" m" [% p5 y3 G
  1214. ; at MYSQL_PORT.
    0 m2 G; P1 Q' X# d# {
  1215. ; http://php.net/mysqli.default-port* G5 f3 j; Q3 e3 P1 w/ e
  1216. mysqli.default_port = 33063 g& b6 `) G. D1 h) @* W8 ]  ^
  1217. $ B2 e) U3 ^: c% Z$ k4 B  k8 E
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in+ c! s8 C) x$ h( B* [) O8 ~
  1219. ; MySQL defaults.
    3 G  J$ [) P0 Z/ Q9 ^9 @  C, a7 U
  1220. ; http://php.net/mysqli.default-socket
    4 s* j2 U8 A+ z2 r
  1221. mysqli.default_socket =4 X9 H, T1 ?# v
  1222. # x9 r- W' G( \6 u( J
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).& F" s" R$ X# G3 U' U! _# D4 b1 _
  1224. ; http://php.net/mysqli.default-host
    1 F7 N, ]$ u  Y; M5 l* H
  1225. mysqli.default_host =
    0 ~% j; {6 q% j. z4 Q

  1226. % t+ ^! q: X# t$ S* s* Q* [; X1 |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).: Q  l4 J% W2 C' S/ e
  1228. ; http://php.net/mysqli.default-user
    ) j4 Z) F; B5 }! ^
  1229. mysqli.default_user =
    - t. j3 m/ E; I  y
  1230. 8 z# p* k  `, f! `
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ( i9 p: w0 z8 m6 V( }
  1232. ; Note that this is generally a *bad* idea to store passwords in this file./ g* M( O4 N/ X
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"). c4 \6 {3 |4 @. W0 i
  1234. ; and reveal this password!  And of course, any users with read access to this
    0 e+ U5 Q+ e9 h  N& w
  1235. ; file will be able to reveal the password as well.
    2 b& C' \! C6 ~9 m- E
  1236. ; http://php.net/mysqli.default-pw
    & B. w, ^, Y3 |/ Y
  1237. mysqli.default_pw =5 r7 I# n# ]3 H& n4 F5 ]1 n

  1238. " O+ r2 F/ y+ ^2 ?# d$ ~7 g
  1239. ; Allow or prevent reconnect/ t4 |4 R/ d) l3 t) \2 |/ W
  1240. mysqli.reconnect = Off. ?+ h9 d" s9 E, k. U
  1241. 5 M8 y# k  T  O' ?! I7 C* u
  1242. [mysqlnd]  V/ k) J! v9 S( U
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 Y/ a  z/ A7 [: w" K% F
  1244. ; used to tune and monitor MySQL operations.
    7 t# }: `6 ^4 s
  1245. ; http://php.net/mysqlnd.collect_statistics
    / B( I, Q9 Z3 \- L
  1246. mysqlnd.collect_statistics = On, {0 Z& g5 a- c* c
  1247. % `0 B: n3 B9 N, z' P" ~
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* s, b6 H1 ?: u  ~2 S2 d
  1249. ; used to tune and monitor MySQL operations.. }! N1 e$ I! ^8 t; F) H
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    $ H: x/ d3 j" U' {- V' F5 a/ K  [
  1251. mysqlnd.collect_memory_statistics = Off. c6 m4 N5 j5 R- g3 b, D
  1252. ' R$ H: C4 m' E% ]+ p' \; Y7 ~0 N
  1253. ; Records communication from all extensions using mysqlnd to the specified log# s& b, F  |5 \4 O
  1254. ; file.
    ( X! @, D% d* D7 t* M: U/ q
  1255. ; http://php.net/mysqlnd.debug
    ! t# w, b' p. }0 y  T5 Q
  1256. ;mysqlnd.debug =" d) ]- d' H: ?: w. K6 s
  1257. , |$ \& t+ u: n7 I; r8 v' u
  1258. ; Defines which queries will be logged.
    " ?% X! e* h( D2 `1 j- H% V) i$ K
  1259. ; http://php.net/mysqlnd.log_mask5 |. |6 l3 s6 z5 R% J$ L  E/ h
  1260. ;mysqlnd.log_mask = 0" O5 v% q0 m6 }# y) t

  1261. # f8 w3 L+ g; G  I9 w  {! ^  Z) c& Y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.- k% m, m$ t+ a$ r- b; x
  1263. ; http://php.net/mysqlnd.mempool_default_size3 U1 s# ^  C* I) Y
  1264. ;mysqlnd.mempool_default_size = 16000
    8 |9 ^+ U( f9 f" D1 @4 W( v
  1265. 1 D; M  b3 A* }0 ^% M4 q$ N0 j
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! h6 h! c3 M0 b" E( `  ~
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size1 Q. _# K7 R& C2 D" X6 O
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! H+ u. B3 k4 a( r. d6 _7 v
  1269. " q4 q% F- x" r/ N
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in. w! O  J: m+ ?5 f
  1271. ; bytes.
    7 b! h& D$ X0 B* d; ?' `9 y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size  j3 C1 p, U: N" ~# r
  1273. ;mysqlnd.net_read_buffer_size = 32768
    * T5 g% ?" a9 t) ~: L1 s5 i9 I
  1274. / a; Z3 N8 e3 ^5 X6 N3 P$ Y7 N0 F
  1275. ; Timeout for network requests in seconds.  q# p* n# a  H2 {
  1276. ; http://php.net/mysqlnd.net_read_timeout* s% ^3 M" [# K( `4 U& I7 P& v- `) y
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) @* U1 Z2 D: D9 x  j: {* w  G
  1278. * T% ~/ t/ R5 \. d7 q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA6 y7 I% f/ p7 V& t: E
  1280. ; key.+ V: ~. _* B3 X& ^
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    + ^5 F% k5 b( Q; T
  1282. ;mysqlnd.sha256_server_public_key =0 g: \( j$ z1 t& j4 v

  1283. ! A$ M6 \' S+ |! i( y
  1284. [OCI8]/ j: Z! h- e( v1 j
  1285. - r/ @" ^% b0 J. }
  1286. ; Connection: Enables privileged connections using external' s' {9 e2 d4 S  S5 z1 x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA). G" o: {+ ~1 f
  1288. ; http://php.net/oci8.privileged-connect
    - H: ]8 y2 x* U  u% M9 Z
  1289. ;oci8.privileged_connect = Off' ]3 t; m1 A- `

  1290. $ Z4 z/ w: {. Y. [0 u
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    + x+ V5 H2 z) e
  1292. ; process. Using -1 means no limit.: B+ `- V! i7 g( p! q" @# T) H
  1293. ; http://php.net/oci8.max-persistent
      Q8 S& b; S" |  N( A6 K  u
  1294. ;oci8.max_persistent = -1
    4 t  i1 c+ \# s6 C8 G

  1295. 0 ^" z2 ]- u# J+ t; q
  1296. ; Connection: The maximum number of seconds a process is allowed to
    , j3 O' |% P0 N) R5 z7 y
  1297. ; maintain an idle persistent connection. Using -1 means idle8 @  w6 Z- K- ^+ o* t/ U
  1298. ; persistent connections will be maintained forever., l4 c$ s! m. Z3 p4 j% O
  1299. ; http://php.net/oci8.persistent-timeout( `' U/ K" ?# @; p1 D% D5 K
  1300. ;oci8.persistent_timeout = -12 e6 S: H/ v1 B1 ~% ^) h

  1301. % V0 k: C2 t, p5 S
  1302. ; Connection: The number of seconds that must pass before issuing a
    6 U& O7 p. T) q7 i& M
  1303. ; ping during oci_pconnect() to check the connection validity. When: X  K- V8 N/ Q$ t, j
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables6 b. |: \. f" V3 J
  1305. ; pings completely., \, _$ _5 u4 l
  1306. ; http://php.net/oci8.ping-interval
    ; z+ }% |& R  z- k! p9 Y3 a
  1307. ;oci8.ping_interval = 60
    : Y% _& b6 Z; A/ M1 p
  1308. ; N* F% }$ S/ v) A
  1309. ; Connection: Set this to a user chosen connection class to be used. z4 X7 L8 p- F+ p2 f
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    9 k. q3 N9 |2 @5 I/ m
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  n; ^- w% Q& W$ L, }2 ]
  1312. ; the same string for all web servers running the same application,1 H( V3 [6 g2 Y- W  i9 e
  1313. ; the database pool must be configured, and the connection string must
    : ~8 P! d" I) A
  1314. ; specify to use a pooled server./ J: }7 f9 y2 q% y" G& Z
  1315. ;oci8.connection_class =
    & l* i1 ]  u" X$ e5 \
  1316. 4 t, m. r! J4 B! o% I
  1317. ; High Availability: Using On lets PHP receive Fast Application
    . V1 P1 m5 E- y+ R8 O6 D
  1318. ; Notification (FAN) events generated when a database node fails. The
    0 y/ O! a# O" K% A) c6 J( L) j/ a
  1319. ; database must also be configured to post FAN events.
    8 c7 [- L. J5 Q4 x) @
  1320. ;oci8.events = Off
    ; p, }% x* w- h- c# S& _

  1321. 4 I# ^6 R. E4 g4 y  B4 [* m4 _
  1322. ; Tuning: This option enables statement caching, and specifies how
    & m! H, {: T2 E+ f
  1323. ; many statements to cache. Using 0 disables statement caching.
      P9 [  ?: T. y  U3 r
  1324. ; http://php.net/oci8.statement-cache-size
    4 \; t* I: C6 e: Q+ V( m9 n* C
  1325. ;oci8.statement_cache_size = 20% U  Q$ s, H/ o" ?& l. E

  1326. # b' h" z1 Q+ [; z3 ~. t4 m
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 T% U* ^2 Q  v8 M
  1328. ; rows that will be fetched automatically after statement execution.) ^% f6 Q  h1 D7 w
  1329. ; http://php.net/oci8.default-prefetch( [+ F1 j8 g8 M2 @8 T/ V
  1330. ;oci8.default_prefetch = 100
      A# e8 |8 h5 A7 U& Q1 V  W% z# }8 E

  1331. " O# B1 Q1 c1 {: q
  1332. ; Compatibility. Using On means oci_close() will not close
    : G- o5 A* i6 x) k$ e' g
  1333. ; oci_connect() and oci_new_connect() connections.0 E- O) l- a5 X  c
  1334. ; http://php.net/oci8.old-oci-close-semantics) ^! D8 C7 f5 b/ @3 ?, y
  1335. ;oci8.old_oci_close_semantics = Off/ u! D3 S- {2 ^+ r6 y
  1336. ; X' p. {  k  L5 D9 u" ^
  1337. [PostgreSQL]4 E& T. j4 S+ \5 G, k7 f8 m4 j$ L
  1338. ; Allow or prevent persistent links.
    / z* P% y5 q( P; @) R
  1339. ; http://php.net/pgsql.allow-persistent& @# P: y" |+ x/ \$ z; Z. E( z
  1340. pgsql.allow_persistent = On! r: ?9 G* h% n+ C% j8 M

  1341. + k* O, j( q5 u  v/ Z1 e
  1342. ; Detect broken persistent links always with pg_pconnect().
    2 k6 e$ l. s$ r' c" B# s7 v0 Y
  1343. ; Auto reset feature requires a little overheads.# t. W1 G# E' |$ b- w$ h, O
  1344. ; http://php.net/pgsql.auto-reset-persistent- e7 N% m! p: e$ X. w# g9 [
  1345. pgsql.auto_reset_persistent = Off% y1 Z# T* Z+ K  g) J1 a  R

  1346. % Z* I7 X. e0 r
  1347. ; Maximum number of persistent links.  -1 means no limit.8 [1 i! D% }% A" G9 x
  1348. ; http://php.net/pgsql.max-persistent
    : m2 y; C: `$ Q, n
  1349. pgsql.max_persistent = -1& H5 k' |- Z4 a) g8 ]
  1350. 2 N1 a9 U! u6 A; j! |0 N2 e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; {$ G! \8 B; b, t, P- W
  1352. ; http://php.net/pgsql.max-links
    ) @6 b6 U) F9 a6 G6 j3 `6 H
  1353. pgsql.max_links = -1
    % M: Q8 {/ }8 {
  1354. / j; P# f* [; j' A0 ~' w
  1355. ; Ignore PostgreSQL backends Notice message or not.9 u9 C' Y5 Q5 d3 _4 U- L& s
  1356. ; Notice message logging require a little overheads.
    5 ^, Z& ]' T8 h3 d3 c! T! a
  1357. ; http://php.net/pgsql.ignore-notice- P( o# @& x. i( V
  1358. pgsql.ignore_notice = 0+ O4 m0 @1 p- H7 x% a+ a. s2 |
  1359. 2 R4 Z% N7 Z; ]; v. P
  1360. ; Log PostgreSQL backends Notice message or not.) ^  ^# ], @& k* N
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    9 x* X, q. ~/ v' {9 P# ^9 c8 ]( R$ G
  1362. ; http://php.net/pgsql.log-notice
    ! x' C5 G6 y& H% `1 [: a
  1363. pgsql.log_notice = 0
    3 K7 f+ x5 y' ?* f2 U- C1 E

  1364. - m  ^7 x. O! K- P
  1365. [Sybase-CT]
    9 y( J: p, D0 s5 b* c( N
  1366. ; Allow or prevent persistent links.
    3 b  t/ k/ t2 J- h
  1367. ; http://php.net/sybct.allow-persistent4 v  R1 ^0 Q) F
  1368. sybct.allow_persistent = On
    5 I' a" t0 v) j
  1369. 9 A+ F9 c, e8 ^5 O: D
  1370. ; Maximum number of persistent links.  -1 means no limit.3 O4 o  S1 t( V$ `. h$ I
  1371. ; http://php.net/sybct.max-persistent
    & Y2 h5 `7 n8 K; }' T% F( \0 Z
  1372. sybct.max_persistent = -1; ]7 I% b$ F) b* ]

  1373. * E- h% h$ A% [
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& {4 }/ |( ]5 X$ c: M, l. e7 O4 Z
  1375. ; http://php.net/sybct.max-links
    - I8 F0 T! m8 L
  1376. sybct.max_links = -1
    7 s1 c  A# _7 y; ^' m6 j' w$ s
  1377. ) p. t3 s. f9 r
  1378. ; Minimum server message severity to display.( B' j! b& G/ I) z
  1379. ; http://php.net/sybct.min-server-severity) D+ {* y8 I% v3 o3 G7 F; Z! K  E
  1380. sybct.min_server_severity = 10' c4 J& k3 S) m1 m/ p3 T. t' n2 u2 C  e

  1381. 6 u5 i& M3 \; x4 @$ M9 s
  1382. ; Minimum client message severity to display.; b9 J& B- e+ s4 ^6 }
  1383. ; http://php.net/sybct.min-client-severity+ w7 D: W8 W6 t0 I# `" Q8 J
  1384. sybct.min_client_severity = 10  |! h$ D3 d. r/ `- c
  1385. : p. C' K! ]( p- t
  1386. ; Set per-context timeout9 g( [2 D' ]1 ?1 p
  1387. ; http://php.net/sybct.timeout
    6 J. R( a1 ~& u1 p8 ~
  1388. ;sybct.timeout=
    & n3 l2 i! \% t1 }5 }1 q. U! ?
  1389. 9 t3 C1 \" K" u, {$ k! s
  1390. ;sybct.packet_size8 W% O: ?0 a0 }; c( N) H
  1391. ' h+ l6 z; h7 _* z; Z! }# D6 \" x
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.( M6 f: |3 p& s
  1393. ; Default: one minute
      a1 ]6 ?( k; M( j9 w  N
  1394. ;sybct.login_timeout=$ F0 N+ P: s9 I" f) @( K7 e/ L4 q* N7 o

  1395. ; P9 G1 ]  E- G# K$ T% b
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.8 A  l, b  {5 ^' B5 D* U  t
  1397. ; Default: none
    % B2 I# j! C; {8 R
  1398. ;sybct.hostname=
    5 U% ]8 D8 e0 ~3 T
  1399. " J& A  V% r) R4 M7 s
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".- |0 P8 z$ A- j/ I
  1401. ; Default: 0
    3 J" \4 ?* v7 k4 q# Y; [
  1402. ;sybct.deadlock_retry_count=
    6 I; U  l0 K, z% r; M4 B

  1403. $ Y* q& E* D6 w& T
  1404. [bcmath]
      Y" G6 o  e, x$ {" Y* ]% ]  G6 U/ a3 X
  1405. ; Number of decimal digits for all bcmath functions.
    3 a. Y" Q  K' A" V
  1406. ; http://php.net/bcmath.scale
    * R4 ~$ J9 O: G6 {, {/ v/ E
  1407. bcmath.scale = 0
    " k$ O0 @% o: d8 n- M# ?9 I
  1408. % N( `" C  A- g6 I* B3 x, X
  1409. [browscap]& f# q/ W/ q; i7 I1 [1 \9 w
  1410. ; http://php.net/browscap
    6 `9 }  a& v: {7 o& j% D) G
  1411. ;browscap = extra/browscap.ini
      H" _) g( z* a0 p1 W2 q
  1412. - @/ \2 {( `/ b; k! z4 E! Q
  1413. [Session]# E0 J. `+ E( x* q7 c6 T9 H
  1414. ; Handler used to store/retrieve data.5 x& D4 M5 O$ ]
  1415. ; http://php.net/session.save-handler
    " u  O/ m" }' W& A
  1416. session.save_handler = files( T: _! P! {" b) ~$ o* b4 ?9 }
  1417.   ~7 `6 i$ }, I1 ^  L0 A; ?, a
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    # `/ w7 P; Z% K" K
  1419. ; where data files are stored. Note: Windows users have to change this; A( O9 M) b8 F- R9 G# U
  1420. ; variable in order to use PHP's session functions.: q9 H2 Z& h, F8 i8 u
  1421. ;) F& U' t# J' k1 b$ i! }
  1422. ; The path can be defined as:, }' M5 q# ?8 j$ q3 K) ^
  1423. ;: d( U- Z: L; z( R2 {
  1424. ;     session.save_path = "N;/path"4 v2 v4 D6 P8 g& S, D  y8 V: C8 X
  1425. ;
    ; _7 H# [. U5 c, K
  1426. ; where N is an integer.  Instead of storing all the session files in
    0 j% X- ~* e6 a& q/ A$ s& [3 O
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    6 S: V8 |  R$ z
  1428. ; store the session data in those directories.  This is useful if; u2 i: i+ y& }
  1429. ; your OS has problems with many files in one directory, and is
    0 E" l0 @) A; `$ N
  1430. ; a more efficient layout for servers that handle many sessions.
    & V$ P& i+ c1 O1 z
  1431. ;
    1 w4 E3 Z/ C. Y$ i5 X
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    3 X+ ?0 p6 v* Y+ f1 M+ Z6 H
  1433. ;         You can use the script in the ext/session dir for that purpose.3 j% W# N6 S) s/ g! E
  1434. ; NOTE 2: See the section on garbage collection below if you choose to) p. a/ s6 `4 n4 Y& K- `! X
  1435. ;         use subdirectories for session storage- B& m4 U+ p1 A. ~+ J2 X, d3 [
  1436. ;
    ' E0 {& c8 O5 x& N  g
  1437. ; The file storage module creates files using mode 600 by default.
    $ D7 Y2 K9 v6 {: w, m
  1438. ; You can change that by using
    , r  A! [5 Q/ i
  1439. ;- m* M/ f  T3 j5 z# l
  1440. ;     session.save_path = "N;MODE;/path"
    ' ]$ ], E0 N/ j( R+ e  I6 l$ i9 m
  1441. ;9 D4 E" {5 C+ M. s% v5 d
  1442. ; where MODE is the octal representation of the mode. Note that this" `4 @9 d: u% r* c, P5 a- `
  1443. ; does not overwrite the process's umask.+ ]" B4 r/ N& k7 |9 `. ]; }' W
  1444. ; http://php.net/session.save-path
    7 X" ^* x9 \6 O  I6 d
  1445. ;session.save_path = "/tmp"& T* y$ r+ V+ V
  1446. , t# l3 F; @/ I; N
  1447. ; Whether to use strict session mode.
    . h! l" V9 i0 R% R
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate8 l, d; ]  ?9 P
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects- K0 r& C- \" t5 Y$ R  c
  1450. ; applications from session fixation via session adoption vulnerability. It is
    - Y  r' F$ U  _2 v. o( h
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' U& S6 C, J" U8 w. B
  1452. ; https://wiki.php.net/rfc/strict_sessions
    * i& B+ b$ H6 Z1 Y4 r, u* S4 \2 I
  1453. session.use_strict_mode = 06 }& s. A2 e5 W$ Y1 l3 v% L1 i
  1454. - y7 }9 o0 u5 x( V* w
  1455. ; Whether to use cookies.+ q% @, ?' M  q6 B, L6 N1 \
  1456. ; http://php.net/session.use-cookies, B6 {0 `6 w% y
  1457. session.use_cookies = 1' W' h" R1 p/ ~  e7 R$ u

  1458. * r$ e% V/ h5 v6 O. ^
  1459. ; http://php.net/session.cookie-secure
    + {, J% y( H$ ^4 B
  1460. ;session.cookie_secure =! G7 I+ ~$ H. f) v: l& o
  1461. , q- C* B2 V+ b1 f
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining% d4 F! E7 @. F. E' j; j! K
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    $ B# J$ b2 b; u  N) t; j; Z
  1464. ; session hijacking when not specifying and managing your own session id. It is- `5 P5 ?/ m; K
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 b6 s2 m+ o! V4 N% l
  1466. ; http://php.net/session.use-only-cookies% M3 u4 a/ |% P% C+ A5 ^
  1467. session.use_only_cookies = 1
    1 I7 \% W: S2 y# A) {; f
  1468. 4 N4 K6 P3 f6 J. F
  1469. ; Name of the session (used as cookie name).8 N5 x1 {* f1 ~1 y
  1470. ; http://php.net/session.name
    : @" D1 v: ^/ D& q8 O. U/ _
  1471. session.name = PHPSESSID9 h+ ^9 q$ b% X* r" f% J  D: I2 Y

  1472. ( [. q5 s9 ]& `, C- R% X& r$ u
  1473. ; Initialize session on request startup.
    - p- D) W2 X, X. ^- h
  1474. ; http://php.net/session.auto-start( |  a) N0 y% X1 K/ `
  1475. session.auto_start = 0& i- r- Z8 v% A6 [) Q
  1476. 2 N0 ]& A5 k+ ^
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    5 E, E5 M7 D3 T  K0 [  U
  1478. ; http://php.net/session.cookie-lifetime2 E1 a& i- m1 b7 _
  1479. session.cookie_lifetime = 0
    5 j" n- }' _6 z

  1480. : _8 c! u. G- p4 r: Z
  1481. ; The path for which the cookie is valid.
    % f5 n0 A& ~( h, M2 H. s: o$ f( |
  1482. ; http://php.net/session.cookie-path
    + D9 I' Y6 F' D/ {
  1483. session.cookie_path = /3 l: H' s, y3 G

  1484.   I5 `) H+ Z  m$ g( Z8 ^
  1485. ; The domain for which the cookie is valid.% v, h4 X' j0 P7 `  y$ ^6 G. Y! S
  1486. ; http://php.net/session.cookie-domain, u$ A" Q9 z) u+ {
  1487. session.cookie_domain =7 D/ Y2 |  n3 V9 o- g" W
  1488. - O) I$ B. f$ H6 S2 ?2 @
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' q( z" h+ w7 n& ~& Z
  1490. ; http://php.net/session.cookie-httponly, [7 C! O2 i* ^- J% S1 I) l* H* a
  1491. session.cookie_httponly =* R$ O, F4 w' ]% D) J
  1492. $ d( l; v! k, w2 i
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP." A, T4 R3 u, ~& v" Y9 o8 I
  1494. ; http://php.net/session.serialize-handler
    0 k6 F: t+ _# H) M4 H$ A
  1495. session.serialize_handler = php9 Q) K- m4 B) I6 I
  1496. ) K& ^8 {% I. H
  1497. ; Defines the probability that the 'garbage collection' process is started$ y; q5 E% L2 a$ s. u
  1498. ; on every session initialization. The probability is calculated by using2 U# K  O- t! o( B8 Y5 {
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    % D; D" v& q+ E0 D
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1# b" h7 @6 e. f3 r
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 w+ p: D5 B3 U
  1502. ; the gc will run on any give request.
    9 y/ U7 C, ?% D# j9 a, A  C
  1503. ; Default Value: 18 b% F9 g( _2 H4 ^
  1504. ; Development Value: 1
    0 [" f8 O' L5 m+ p) g
  1505. ; Production Value: 1. v. r" s; M) }
  1506. ; http://php.net/session.gc-probability
    . ?0 ?, o. ]- x; t* V
  1507. session.gc_probability = 10 y$ C. @; G/ f  k1 V+ @

  1508. 0 _8 j' q  e) v7 h9 T
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 x: z" W2 R% E+ T4 I0 C. Y
  1510. ; session initialization. The probability is calculated by using the following equation:4 X# ~- u. t  N$ H4 H, ^5 F0 G9 O
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    # V2 L! a) `0 k. d4 Z9 }3 b/ h) I) _) v
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - ~' G! _2 `  y' x6 w: J
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 \4 r  @6 L8 p; M
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you% X$ t; @4 |+ u$ a
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 ~" S# G0 q$ t- ^/ X, i# f) a
  1516. ; this is a more efficient approach.
    1 j& k: E1 l% f, s; z9 Q
  1517. ; Default Value: 100
    . z' E2 G. ^& E, B# N6 L
  1518. ; Development Value: 1000  g( V1 M: N1 ~& P; ^  z
  1519. ; Production Value: 1000
    8 k3 K+ h. @5 O1 s, E0 |
  1520. ; http://php.net/session.gc-divisor
    $ v/ Z3 g# q/ \, {9 }4 @
  1521. session.gc_divisor = 1000
    + a, X. X) ^2 P& g( ~/ \
  1522. / x5 L6 q; c) ~. `8 N, u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 ~# F8 z6 p9 y7 ?( q
  1524. ; cleaned up by the garbage collection process.. a, t+ A, m4 g& h! T. R- h/ }
  1525. ; http://php.net/session.gc-maxlifetime
    7 d% [% z  N% f% Q) r+ @
  1526. session.gc_maxlifetime = 1440
    + G$ \$ u2 J' w9 ~1 m  p4 x  R

  1527. + W* f. C4 V2 K: x
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 O4 N& {% B0 @" r% ^% h- E
  1529. ;       (see session.save_path above), then garbage collection does *not*
    4 {' a* V- C( ~) I+ t
  1530. ;       happen automatically.  You will need to do your own garbage
    ' V7 N: e; O0 e( r8 i) e
  1531. ;       collection through a shell script, cron entry, or some other method.
    5 D. i5 [3 n5 i  U
  1532. ;       For example, the following script would is the equivalent of
    . s; _" d; z, q& x# h
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; S9 P3 C# p' _# [! _
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - G: m6 R1 q, v7 y
  1535. 2 h. ]) j2 x. I: x6 F/ s5 p
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 u$ L7 s' P9 R( r6 ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be: N2 G  k& ^' Z4 T$ P7 A
  1538. ; considered as valid.7 N$ a8 s1 N5 h
  1539. ; http://php.net/session.referer-check
    ( h) P& W- G7 t5 _
  1540. session.referer_check =) k2 E6 v* m) S6 {8 n1 Z

  1541. & \6 \8 {3 a- G
  1542. ; How many bytes to read from the file.' S5 J) \/ x) Q) J( a7 }0 i( E2 t0 q% l5 H
  1543. ; http://php.net/session.entropy-length5 f0 j8 [6 A7 R8 K
  1544. ;session.entropy_length = 32, k8 D+ A& p) i: V+ y" n

  1545. $ Z  g+ T, v; E+ m/ O
  1546. ; Specified here to create the session id.
    " A& Z; R6 m/ H8 O
  1547. ; http://php.net/session.entropy-file
    ; X' ]: Q5 B8 f8 n3 k2 G  S, P
  1548. ; Defaults to /dev/urandom
    + t) N$ x6 v( |9 @& T) O+ D
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 J8 R) W8 K  \2 f4 L
  1550. ; If neither are found at compile time, the default is no entropy file.: M# h6 _" }" T8 w7 m5 l0 X; X1 Z
  1551. ; On windows, setting the entropy_length setting will activate the
    * R7 j$ i6 Y0 ?+ P9 y
  1552. ; Windows random source (using the CryptoAPI)$ \. [5 [2 k: F2 N' \
  1553. ;session.entropy_file = /dev/urandom
    7 f, Q6 ?1 l2 Y( q

  1554. ( C7 }3 b7 S7 F& i/ ]
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 H2 z  c8 D9 K6 c# X+ F
  1556. ; or leave this empty to avoid sending anti-caching headers.
    5 V5 q4 y, u, g
  1557. ; http://php.net/session.cache-limiter
    % t4 C8 i& _9 E7 |- _4 }) U
  1558. session.cache_limiter = nocache
    7 d) A- X0 Z1 _6 c# Q- V

  1559. : z9 c* a! a% q5 ~
  1560. ; Document expires after n minutes.4 R: w* P+ w% ]* c: d5 U6 I
  1561. ; http://php.net/session.cache-expire
      `/ q/ l. v& h# d# \6 a9 l" R
  1562. session.cache_expire = 180
    3 k; U3 y3 T" v8 a% w; t5 y7 P
  1563. 6 A9 |4 r3 j/ z* N
  1564. ; trans sid support is disabled by default.% A& O+ F" t# A
  1565. ; Use of trans sid may risk your users' security.+ U# M) w, R  i- b) k  @  {
  1566. ; Use this option with caution.
    & g+ f* |* ?4 i2 u+ m' M3 k
  1567. ; - User may send URL contains active session ID
    " d2 j( `6 c1 ~" d# T+ {$ ?" p) D7 X
  1568. ;   to other person via. email/irc/etc.
    2 T9 a0 j& v1 \1 l$ l: i
  1569. ; - URL that contains active session ID may be stored3 t# H7 n- M( A' R
  1570. ;   in publicly accessible computer.
    0 P! K4 i+ T  E2 N% {8 F% Z
  1571. ; - User may access your site with the same session ID
      v( b5 o7 c7 ~( I- n/ V
  1572. ;   always using URL stored in browser's history or bookmarks./ X7 }* z: t8 u! Y! u: ?+ l- K
  1573. ; http://php.net/session.use-trans-sid/ @6 a4 h' e$ D- ~2 l  |
  1574. session.use_trans_sid = 03 `) d* a) @* |1 h

  1575. ; j3 _1 l1 u3 E+ U# A* n% C
  1576. ; Select a hash function for use in generating session ids.8 K: z0 @& M( v1 U. i
  1577. ; Possible Values  ?; q  ^& H9 k6 `8 I
  1578. ;   0  (MD5 128 bits)& c+ f" T1 A: a: t8 ^9 F
  1579. ;   1  (SHA-1 160 bits)
    8 `' L3 T# u: J; q
  1580. ; This option may also be set to the name of any hash function supported by& r( Z' J) e; X* {1 |
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    1 m! ?1 e% L* y6 h! l% ]# R
  1582. ; function.
    - J& a6 e; N0 ~3 U% h1 g
  1583. ; http://php.net/session.hash-function
    3 q; `' {+ D5 @& ~* A
  1584. session.hash_function = 0
    3 J8 R/ n) P1 t; @8 v) {1 G

  1585. ) E0 q0 A% a$ N8 _  s
  1586. ; Define how many bits are stored in each character when converting7 a2 o  Q* g' E
  1587. ; the binary hash data to something readable.
    & v# n5 G, z$ k  q
  1588. ; Possible values:
    4 W8 V! e8 i2 l: H( t  s" l+ V& k0 @$ ~/ s
  1589. ;   4  (4 bits: 0-9, a-f)
    2 R& [$ C% \: ^3 i, F' `9 X
  1590. ;   5  (5 bits: 0-9, a-v)
    ) H: h& ^- L! n8 |* j: }
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% v. a$ Y: W2 B8 O$ H/ e5 e6 N3 r
  1592. ; Default Value: 44 U; B+ m' r4 a+ t) O
  1593. ; Development Value: 5
    ) e9 H1 g" p8 ?# M# p8 }1 |4 L
  1594. ; Production Value: 5
    ' P& ~6 T9 h! n5 v6 l7 y
  1595. ; http://php.net/session.hash-bits-per-character
    0 Y* t$ D. F& w! q  H3 \! Y
  1596. session.hash_bits_per_character = 5
    % X6 s2 E& u, D! v( z

  1597. $ f6 i2 [* W+ c( [4 {
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags." A  l1 o1 z7 y1 Z$ D$ h# K) [, H
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    7 k) H+ ^* v- W% P3 w- R9 |
  1600. ; add a hidden <input> field with the info which is otherwise appended6 X. S1 V* i0 V9 f4 d
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 h% i% G( U, _6 W3 O5 [
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ; i4 ]' j9 D3 `# [5 m7 Z9 h
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ R+ R4 e! C  O
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . |( t- b+ j) X8 d0 r
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 M  Y( V4 h# u3 `, o$ T
  1606. ; http://php.net/url-rewriter.tags
      [% l# w0 C# ~
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". @" Y4 p* d- C

  1608. % }" H6 _( H- M. X9 ^
  1609. ; Enable upload progress tracking in $_SESSION
    0 C+ L9 Y4 \$ o/ z0 E1 f1 h
  1610. ; Default Value: On) r* n/ e$ E& j+ [" x
  1611. ; Development Value: On) f3 H* ~) x1 j2 `# C1 E
  1612. ; Production Value: On% c/ n& I# J: h; Z
  1613. ; http://php.net/session.upload-progress.enabled9 x: ~6 @+ d, c( R) G# i* }
  1614. ;session.upload_progress.enabled = On$ G3 o9 |, g9 Z1 X
  1615. & S1 O1 P; L# |7 ?
  1616. ; Cleanup the progress information as soon as all POST data has been read% I8 q0 E% b8 ]) ^- y; R2 L
  1617. ; (i.e. upload completed).* C, }/ A5 W- ?3 q, i: g- K$ X
  1618. ; Default Value: On2 c' F1 b1 c) G, D' m! V
  1619. ; Development Value: On
    + Z& i+ C# l  f4 l
  1620. ; Production Value: On
    2 [. w3 p8 V- D! r* l- F1 J
  1621. ; http://php.net/session.upload-progress.cleanup
    . R: M$ g& K% R7 \& ]" R1 [
  1622. ;session.upload_progress.cleanup = On
    0 w+ {! c* F2 e# _

  1623. 8 U/ b& U3 F7 ]* o6 L
  1624. ; A prefix used for the upload progress key in $_SESSION
    , x/ C8 k; I6 \) k4 @. x) l& Y( Y
  1625. ; Default Value: "upload_progress_"
      M! Y$ v) V7 t( z( n3 b
  1626. ; Development Value: "upload_progress_"9 h/ W" o/ \- T% w+ ]* \7 i' Z
  1627. ; Production Value: "upload_progress_"* k7 Y  m; ?# i; d/ P8 s: Z* m
  1628. ; http://php.net/session.upload-progress.prefix2 M: i( z% i+ O! Q0 {
  1629. ;session.upload_progress.prefix = "upload_progress_"- T2 L9 g8 y9 w5 j' P; ~- m9 g

  1630. 7 K+ n: C- {; b% G  G) E: {
  1631. ; The index name (concatenated with the prefix) in $_SESSION2 P5 `- {( b# C; ~+ M* ]6 ]0 ]* w% |
  1632. ; containing the upload progress information: |" K- `$ U+ H3 r. p) X
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / d! d5 O% k& i) d/ \" E# L
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"4 h: }4 g, o3 l/ F
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : i0 x4 q( v" X) G" d
  1636. ; http://php.net/session.upload-progress.name8 S  `  v2 C8 @3 a1 H5 Q2 y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % v. s# o. v2 J

  1638. ( v* K" D% J/ E( k0 r
  1639. ; How frequently the upload progress should be updated.
    - O1 @6 I6 h& H9 d2 @& b; {
  1640. ; Given either in percentages (per-file), or in bytes# T: r6 q; S( h& n/ S, n  e6 E8 m
  1641. ; Default Value: "1%"
    3 ~2 }( P5 C3 ]2 c% {; h4 c
  1642. ; Development Value: "1%"
    ' `( H1 P! I( X2 p. H
  1643. ; Production Value: "1%"
    * S: U  E9 b+ q+ l: W2 k1 O& y
  1644. ; http://php.net/session.upload-progress.freq0 f  _8 L: Z* B7 I! A7 K. K# r$ ^/ G
  1645. ;session.upload_progress.freq =  "1%"; t; S# _7 N6 ?+ ?8 f* @! I" L

  1646. 8 x4 o9 J. e! b1 B8 d! Y4 @& |
  1647. ; The minimum delay between updates, in seconds3 c$ C; k7 d  E8 s
  1648. ; Default Value: 1
      {- P; Q9 M7 V* X
  1649. ; Development Value: 1
    ( U9 \! T7 z: X2 Y) U  [( X/ X
  1650. ; Production Value: 1* K" r0 s2 f  p7 L
  1651. ; http://php.net/session.upload-progress.min-freq
      u7 P: |' Z$ G$ `( w. b
  1652. ;session.upload_progress.min_freq = "1"1 R) _: t4 w: y9 m& B

  1653. - g' Z' y  I" l
  1654. [MSSQL]" ?+ y! b0 E9 U, A' l: @* h: w8 A
  1655. ; Allow or prevent persistent links.
    7 b. g8 \7 v9 K+ u1 w. F- Z6 {0 K
  1656. mssql.allow_persistent = On
    ( J7 P- x2 V, H1 R: Q9 I
  1657. $ F# v- Z8 {2 T; W% d
  1658. ; Maximum number of persistent links.  -1 means no limit.7 _, F" s; C4 y7 W
  1659. mssql.max_persistent = -1) K$ ^' S3 C4 V8 c6 W. Q& ?
  1660. 4 w; a+ L0 s% M% |- `8 A" {  p' L  d/ H
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; `$ J1 c/ [, S$ {; o7 _. W2 Z$ C6 t+ W
  1662. mssql.max_links = -1( w$ c* s. X5 @- l% l4 k3 i

  1663. ; t# [3 v# P" A! O( y
  1664. ; Minimum error severity to display.' l( D. _2 p2 U( g( a
  1665. mssql.min_error_severity = 10
    # R* c# I  a* @- t! p1 c. A- }- C, {
  1666. 4 a% l8 E# t0 T; c/ ~* \7 N% i3 l6 p
  1667. ; Minimum message severity to display.
    4 b, v% z) G* B! A+ M) @8 v
  1668. mssql.min_message_severity = 109 `, |2 q  s: x1 m8 P" q
  1669. % l6 t+ Z2 q6 Z6 v
  1670. ; Compatibility mode with old versions of PHP 3.0.& M  S; Z" `. t6 O7 l6 j
  1671. mssql.compatibility_mode = Off( }6 e0 _3 M2 G- @) W& I* M
  1672. 6 f  c; J3 s# O2 H; \
  1673. ; Connect timeout
    4 {8 M7 n& u- Y& V. ]
  1674. ;mssql.connect_timeout = 5
    8 c, I7 E1 z2 N

  1675. / d8 y2 o2 y, h6 ]) X$ i6 {& C8 m
  1676. ; Query timeout
    + ?6 A1 B7 C( k" X, L4 \
  1677. ;mssql.timeout = 60
    % h+ x; x" P6 A% c9 ~
  1678. 4 Q( b% P+ x# b% K
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- F9 H! y" I; H6 O& V) F
  1680. ;mssql.textlimit = 4096
    : c0 _7 J: Y  @' L4 O8 Y

  1681. 9 H# d6 I- s9 X) D" F/ y; m9 M& c
  1682. ; Valid range 0 - 2147483647.  Default = 4096.- U, ~7 [: L- d  b$ [5 D9 q
  1683. ;mssql.textsize = 4096
    1 Q2 j" e7 P' o" {/ F5 o
  1684. " |! k7 Q1 o9 Z2 c$ \+ w
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 w3 |0 Y, j8 N# e
  1686. ;mssql.batchsize = 0
    : s9 K6 F6 S0 q
  1687. 1 K1 Z( g' n& [4 U+ i
  1688. ; Specify how datetime and datetim4 columns are returned8 [0 V9 u+ [/ E  ~6 _3 _$ }
  1689. ; On => Returns data converted to SQL server settings5 x" s  G- q; Y% [9 @
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    , G' Q" N* ^8 g
  1691. ;mssql.datetimeconvert = On
    " w0 p5 f, Z0 L5 H7 U, Y
  1692. 1 N/ U1 p9 t) t7 ]& e+ T; ]3 r5 q5 l/ ~
  1693. ; Use NT authentication when connecting to the server( s) K7 n2 _9 @+ N- w
  1694. mssql.secure_connection = Off
    # R- Z6 s9 A1 U- W" x# c+ D5 b" T' U

  1695. ' V/ A! v: p, I6 S  k
  1696. ; Specify max number of processes. -1 = library default
    ! m/ q) S- X5 ]1 }3 \, o# p! }
  1697. ; msdlib defaults to 258 q0 b5 S" e* p
  1698. ; FreeTDS defaults to 4096; l4 D/ w' u( l* D6 P8 O
  1699. ;mssql.max_procs = -1
    " _4 j( {8 C& ~+ W
  1700. 4 E* ^: j, ?% a% w
  1701. ; Specify client character set.
    + L8 i8 B- g* W3 L6 K: D# A
  1702. ; If empty or not set the client charset from freetds.conf is used6 p% t1 r5 B4 r% y
  1703. ; This is only used when compiled with FreeTDS
    0 S8 }; |  p' ~) J7 W" T
  1704. ;mssql.charset = "ISO-8859-1"
    $ H9 `; d6 d: {  A: _/ G

  1705. % y5 Z- l' \9 G0 h1 j
  1706. [Assertion]( [6 n& S4 C, C3 R7 |8 T: i
  1707. ; Assert(expr); active by default.3 X; D# Y2 C3 q/ [, \8 \, z
  1708. ; http://php.net/assert.active
    3 o. ]- B, p# h: i# |! O
  1709. ;assert.active = On
    0 O5 q  d" i  {( ]6 V

  1710. 0 F  N2 J7 n- B# {
  1711. ; Issue a PHP warning for each failed assertion.
    % w" r0 A3 J; r9 C4 n8 I3 m) ^( u: I
  1712. ; http://php.net/assert.warning
    . I1 ?$ e0 h) B6 E1 Q, P
  1713. ;assert.warning = On6 @" N, j( b' t/ i/ o0 b) a
  1714. . D' ]2 }2 ]- z
  1715. ; Don't bail out by default.
    4 z9 D3 z. q) L, i: `; X  l
  1716. ; http://php.net/assert.bail
    6 Q5 o' Z/ h# d; V! T
  1717. ;assert.bail = Off* j; `" C: N. z9 P. \! E. `$ c
  1718. # q$ T; s( t$ d% R8 f
  1719. ; User-function to be called if an assertion fails.
    - B8 D8 `4 ~: n
  1720. ; http://php.net/assert.callback
    6 m" L* J5 l- c: o: `$ I
  1721. ;assert.callback = 0
    9 g/ G( c' I4 E
  1722. ( Y6 ]4 U/ Y' @* `! ]' ~
  1723. ; Eval the expression with current error_reporting().  Set to true if you want: ?; u8 W: |& n2 S0 ~
  1724. ; error_reporting(0) around the eval().7 N5 ^0 N0 m$ P( J4 \
  1725. ; http://php.net/assert.quiet-eval
    " F* d) x7 x5 {  J4 d  I
  1726. ;assert.quiet_eval = 09 q8 Z# P" j  o) ^
  1727. * D$ ~/ J) u5 ?& z. O: O
  1728. [COM]
    ) S0 g! Z* [7 V. X2 h
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs+ y5 P+ `5 s9 {) V6 d- `
  1730. ; http://php.net/com.typelib-file) A9 H' Z2 r( {8 ]8 o
  1731. ;com.typelib_file =0 }- f4 m' @  Z/ C
  1732. * `" [4 H, z/ K& B- D
  1733. ; allow Distributed-COM calls
    3 i9 j2 s( C0 f, C3 E; F
  1734. ; http://php.net/com.allow-dcom  Q. I2 j( D* q3 g4 p
  1735. ;com.allow_dcom = true
    $ H9 L8 a  Y4 l) _$ x) B* K
  1736. # v2 W# @! t2 ]
  1737. ; autoregister constants of a components typlib on com_load(), |: U3 L; {$ ^9 N
  1738. ; http://php.net/com.autoregister-typelib
    0 \. l4 q8 o! `& z9 l+ @
  1739. ;com.autoregister_typelib = true
    ( _6 A& C& `6 ?9 o% \4 a

  1740. 7 c& w" U& ^- V% a& o: g
  1741. ; register constants casesensitive
    / _% b" q( E" ?& c# C5 w. R
  1742. ; http://php.net/com.autoregister-casesensitive7 d1 M" g! ^9 K/ C3 Z5 v0 U
  1743. ;com.autoregister_casesensitive = false0 z$ W8 ^+ M/ y& J' V0 X
  1744. 7 f4 p0 I) ^5 S7 J8 Q: [- O! g
  1745. ; show warnings on duplicate constant registrations. }( `' p; D( R) e3 J* C; K
  1746. ; http://php.net/com.autoregister-verbose* d5 h& j% F: r+ Q$ r. B
  1747. ;com.autoregister_verbose = true# C% _/ F4 y" U8 U* v3 _3 R" A
  1748. # A! i0 X. ~! W3 k) e% e
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    , F- A& q8 `; V( r0 O
  1750. ; Default: system ANSI code page
    4 R+ e# C. O$ _; I. f
  1751. ;com.code_page=
    5 \- K; Q; n: H3 G

  1752. : A' x; l  A+ b- k* F6 t9 y3 `
  1753. [mbstring]/ ]( B2 {0 k0 w6 g* Y
  1754. ; language for internal character representation.
    4 x" F0 `3 Q! Z9 u4 l
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    3 b0 k" M* b* K( R* m5 S
  1756. ; http://php.net/mbstring.language
    0 G# j+ _3 Z4 H( q3 W. O  h
  1757. ;mbstring.language = Japanese
    7 [% g5 }2 L% A4 A  e

  1758. ' ~" }3 `5 F' h! ?0 `: o
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead., p- s& R$ c7 ^8 ^0 Q) @, X
  1760. ; internal/script encoding.4 V$ |% s0 W9 r% M3 A8 i8 g
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& |/ x: Q% o* S+ t" {
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 U% c4 p( R5 i! u7 V* ^/ z' o7 r/ R
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" F0 b+ U1 o. Y2 m
  1764. ;mbstring.internal_encoding =0 t) X8 q% ?( E/ G/ N
  1765. ' g& t8 A4 {* S$ u' j5 M' G
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.5 c0 @5 J" X# r( A0 p+ v7 z6 @
  1767. ; http input encoding.
    * F8 Y5 ]( s! \  h
  1768. ; mbstring.encoding_traslation = On is needed to use this setting./ g( R! o  ?" {& p- V( J4 T
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 B' Z/ M* \: e2 b. R/ N& y. }
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: D( d0 S' u" i0 f9 k
  1771. ; http://php.net/mbstring.http-input
    , f: I( D. L  p8 r
  1772. ;mbstring.http_input =8 w# i3 H; E# A* Z/ _( |5 h8 h
  1773. $ Z  @+ d9 u$ R4 w; L
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
      |& d/ p0 \" j+ A
  1775. ; http output encoding.6 e# J% T5 z3 [9 f$ B  g) |* y
  1776. ; mb_output_handler must be registered as output buffer to function.
    $ l/ S7 H9 t- J
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 B% c" g* N9 z7 M  a! |! ]) c9 }
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output( ]' m* C2 f# _8 R/ Z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    2 ~& k' r. Y' d- G0 ~$ f
  1780. ; otherwise output encoding conversion cannot be performed.
    & f! W% J& ]5 W9 W  F% H* [
  1781. ; http://php.net/mbstring.http-output* A8 J0 n3 _: ]$ {7 i8 @5 V2 A
  1782. ;mbstring.http_output =
    3 t8 p( a; d: f
  1783. 9 O0 h5 c2 S2 \  z* f% v
  1784. ; enable automatic encoding translation according to
    , N% X, |/ m  @
  1785. ; mbstring.internal_encoding setting. Input chars are, s9 t6 F: s9 t' r) X1 d
  1786. ; converted to internal encoding by setting this to On.9 m0 s! ^9 Z: m
  1787. ; Note: Do _not_ use automatic encoding translation for
    * i# M2 j5 V( v8 @- T2 E
  1788. ;       portable libs/applications.
    0 z$ [1 N* _8 I) a+ `1 M
  1789. ; http://php.net/mbstring.encoding-translation- ]( N! S: u! e7 |$ }
  1790. ;mbstring.encoding_translation = Off
    # E; t9 L, R. u7 B+ y

  1791. 7 E2 d# e/ o7 A5 f/ u3 Q
  1792. ; automatic encoding detection order.; ^+ I! U8 h) Y: A9 q  ~  u
  1793. ; "auto" detect order is changed according to mbstring.language
    3 W( J8 }. ^$ s' O7 o6 @" o2 w
  1794. ; http://php.net/mbstring.detect-order
    6 d  t6 R/ W% c
  1795. ;mbstring.detect_order = auto
    2 r' o  {# X  e) L

  1796. 9 y& u: y3 t: s
  1797. ; substitute_character used when character cannot be converted
    ' C. p% G3 o$ K
  1798. ; one from another
    8 t! S: X0 H# Y7 r3 n5 m: o1 d
  1799. ; http://php.net/mbstring.substitute-character
    + o& l. o; M4 [+ [* g# y
  1800. ;mbstring.substitute_character = none
    ; P5 {/ x6 Y% G2 Y3 [

  1801. : m) Y& b/ u/ D! Z3 Z
  1802. ; overload(replace) single byte functions by mbstring functions.) ]! p, A5 A, G6 Q1 y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 }. k$ P4 x) `  `) ]
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    : ?9 Y4 M  ~) f
  1805. ; For example, 7 for overload everything.1 a9 [% ]5 I4 H  I0 D1 C5 n; k
  1806. ; 0: No overload
    : H8 o0 W5 j: f
  1807. ; 1: Overload mail() function
    % z2 `6 ^0 }3 [% Y
  1808. ; 2: Overload str*() functions! e) J/ F/ A  d; U1 Q( j1 z; W
  1809. ; 4: Overload ereg*() functions: |( J' k. L2 y% c
  1810. ; http://php.net/mbstring.func-overload
    : J, p( B6 q- w8 }+ S8 m8 ]. ?
  1811. ;mbstring.func_overload = 0
    5 \0 H" k3 Y9 [" ~4 {" T; D
  1812. ' p& t  G" F3 q
  1813. ; enable strict encoding detection.
    9 a- ?" X( K- [4 j' n* ^- y- z; x
  1814. ; Default: Off
    ' x: b! o& f/ |/ l% C$ P
  1815. ;mbstring.strict_detection = On
    0 d# J' v& g& Z8 o( G5 v

  1816. 7 e1 ~4 k% z* G3 _
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()* v1 w2 ], {% M
  1818. ; is activated.1 ?  v3 D; V) j7 X
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)/ u) p9 z# l, U3 c. F- h
  1820. ;mbstring.http_output_conv_mimetype=1 S; K0 L8 p7 }, T

  1821. ! r$ c9 i( e! ?; C; B
  1822. [gd]
    9 w9 [( Z- R1 T4 M
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    4 |) @& T) G' J
  1824. ; a gd image. The warning will then be displayed as notices% u  {% N) O* B: y" m  ?; V
  1825. ; disabled by default8 c/ {" i9 V! L% U
  1826. ; http://php.net/gd.jpeg-ignore-warning) ~+ V( D0 l# @' N% b# M
  1827. ;gd.jpeg_ignore_warning = 0
    ' P. E- O+ ]( H* G' A; s9 `

  1828. # O0 j& Y5 j5 H
  1829. [exif]7 J! O1 k# K) S, C; m
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' Q% ~6 G" j. Z/ X8 I6 W+ ?2 E
  1831. ; With mbstring support this will automatically be converted into the encoding% g: Z; q7 m3 \) }* I5 p" ]' J' ^
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " I/ _6 N( G& P3 |# V" T
  1833. ; is used. For the decode settings you can distinguish between motorola and
    $ E( Y) D; O6 i9 N$ C- U) F( `' y
  1834. ; intel byte order. A decode setting cannot be empty.; w4 b- K' A4 x0 Y) o
  1835. ; http://php.net/exif.encode-unicode
    / ]8 [  L0 u6 J$ |* n* L# d
  1836. ;exif.encode_unicode = ISO-8859-15  Y5 W$ N' x: @1 s7 u
  1837. 0 Q6 W1 M, j! W
  1838. ; http://php.net/exif.decode-unicode-motorola
    ) ?4 X0 c4 }6 u9 M7 X. W! l& F: K
  1839. ;exif.decode_unicode_motorola = UCS-2BE) [5 \8 T' h' H5 M

  1840. & J) O- y7 A, n1 g- o( i
  1841. ; http://php.net/exif.decode-unicode-intel5 P& |4 C' J1 a$ v. B& h; X
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    - _. T) b% y8 M" u5 R+ w
  1843. 4 k, r7 s# s; d6 T
  1844. ; http://php.net/exif.encode-jis
    9 s7 Z. q9 e" {3 G  x; k
  1845. ;exif.encode_jis =, k; y( ?1 N) h0 R

  1846. . m2 e0 e) B) X! K0 D
  1847. ; http://php.net/exif.decode-jis-motorola
    8 h" f! a, V8 \) ?( [1 w( e
  1848. ;exif.decode_jis_motorola = JIS
    % n# J: V. V0 D" a
  1849. 4 j5 O3 o  G+ q
  1850. ; http://php.net/exif.decode-jis-intel5 R- ]( t6 R4 G
  1851. ;exif.decode_jis_intel    = JIS
    ( e/ H' Q: \" M" Q6 i3 G
  1852. ' @9 U9 @) d$ A: [* }  Q
  1853. [Tidy]7 X# O' x& B" k
  1854. ; The path to a default tidy configuration file to use when using tidy
    ' Q( b. _; ^% x5 \4 O' ?  F' |
  1855. ; http://php.net/tidy.default-config
    ! ~) z) E" u; X$ Q  Z9 p
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : G. c2 U1 ^  b, Z- y* c4 E/ S: D5 W" z
  1857. % s) n' B9 D8 O  l( J; u( W
  1858. ; Should tidy clean and repair output automatically?8 h$ h' D5 x4 q- z) Z/ p
  1859. ; WARNING: Do not use this option if you are generating non-html content
    9 y0 S! z! M& \0 y1 K, U- A
  1860. ; such as dynamic images
    3 w6 y" p4 O, I0 ]5 C/ _
  1861. ; http://php.net/tidy.clean-output! E6 ?7 b8 h6 q/ V- d: \" }
  1862. tidy.clean_output = Off
    % ]+ e! r, {9 ?

  1863. % l- c" T# u4 ]3 I) Y* B
  1864. [soap]
    3 `/ c) b1 j# {5 @8 g+ D8 H* W4 g
  1865. ; Enables or disables WSDL caching feature.
    ' Q6 Q/ |* }: z( e+ B5 B
  1866. ; http://php.net/soap.wsdl-cache-enabled
      z$ ]1 R/ d! e0 k* r+ v
  1867. soap.wsdl_cache_enabled=1! k! i5 \2 k9 A

  1868. - L/ W1 e( h; |1 O& y& ~
  1869. ; Sets the directory name where SOAP extension will put cache files.
    : z$ u+ i  D7 T
  1870. ; http://php.net/soap.wsdl-cache-dir3 M4 E% I7 H) [! Y- z7 {; ~3 u
  1871. soap.wsdl_cache_dir="/tmp"9 X) T2 X$ A2 n( K- H

  1872. / o1 }8 Q' L0 v
  1873. ; (time to live) Sets the number of second while cached file will be used
    - X) a- {8 [* I6 v0 Q5 M6 Y: X8 b
  1874. ; instead of original one.
      s1 o, ^* w1 V! n0 K2 m
  1875. ; http://php.net/soap.wsdl-cache-ttl! h; @1 h( \9 `: M" H( X# D
  1876. soap.wsdl_cache_ttl=864000 w5 c9 K: I( \& z

  1877. , d* w' F* c( s5 {# u- a4 B1 D9 R2 g. z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % A( w& t. a6 s; u4 k" k1 p  B- W
  1879. soap.wsdl_cache_limit = 54 E3 A$ f+ ?) p' V4 c' R% S

  1880. 4 a6 y' ?7 g, n2 x
  1881. [sysvshm]
    9 ]/ g* n) P* Q, ]- M( p7 r
  1882. ; A default size of the shared memory segment
    ; Z+ J0 H9 f5 I0 q! M$ ]
  1883. ;sysvshm.init_mem = 10000
    3 \4 r# b/ t& y1 X% v  l  y
  1884. , i! m, f" R, o4 q6 D) C6 r/ m, i
  1885. [ldap]- q0 E5 a0 {  w3 s$ \
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " r2 f, {7 B) s5 \4 x3 B
  1887. ldap.max_links = -1
    6 [# l% N: b: @/ R0 M6 [4 I, A; [
  1888. ! ^" _" ?7 ]3 a2 I% c
  1889. [mcrypt]6 v- O2 |0 S) ^8 ^! ]
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open8 D5 M/ T3 V6 v; }0 H5 y
  1891. 5 E( y4 s0 Q( Y$ k
  1892. ; Directory where to load mcrypt algorithms! G8 j/ Y! \, p' o6 n( d4 s
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), j. G8 G: {7 X+ i" Z; S  R  q) r3 B
  1894. ;mcrypt.algorithms_dir=  j2 z+ U/ Z3 c6 A% r1 F

  1895.   k( a! }9 ~8 F
  1896. ; Directory where to load mcrypt modes
    ; h; `# `0 i0 R
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 {3 D$ ~. P, g! n: M- t3 S
  1898. ;mcrypt.modes_dir=$ v& k9 P, [0 ^
  1899. ( {% k! ?: V. r
  1900. [dba]
    2 G' O: O3 z1 t3 }* f; L' ]
  1901. ;dba.default_handler=: l) B; X; o, U; y' a8 T
  1902. , P. B; |. s! U- d* J* a3 _, e
  1903. [opcache]
    - T$ _4 c/ {6 h  o5 |4 I$ A6 |" A
  1904. ; Determines if Zend OPCache is enabled
    9 S. H: B. ^0 S" U; ?- w- a
  1905. ;opcache.enable=00 x4 H$ f+ b7 G
  1906. + a/ N8 X) |& z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
      e1 Z) p8 k; b/ J# p; C
  1908. ;opcache.enable_cli=0
    5 y% M* ^) P, Z7 O( B9 R
  1909. # Q" [  O! b2 k( N: C+ R
  1910. ; The OPcache shared memory storage size.1 O6 g  F* B% T
  1911. ;opcache.memory_consumption=645 Q' N) q( w8 Q% d! o/ H1 k3 s; \
  1912. . i4 n8 ~' q9 M$ f  w/ ~
  1913. ; The amount of memory for interned strings in Mbytes.
    $ j* H1 l# m$ x
  1914. ;opcache.interned_strings_buffer=40 D/ h" ]% K; T0 [+ p
  1915. + p- _! C  ?! M: e
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) m1 N1 \* M+ _# n+ G
  1917. ; Only numbers between 200 and 100000 are allowed.
    2 k4 M3 U9 k6 P+ i7 {2 M
  1918. ;opcache.max_accelerated_files=20001 Y  l# m, D$ Y/ H, H& k, `

  1919. 0 }* P7 l! ?  y6 f# A! d$ \7 W
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # k! H: G, Q  S
  1921. ;opcache.max_wasted_percentage=5; b% |9 m% m4 z9 i* j
  1922. 5 I; T  R$ K; I0 M) t
  1923. ; When this directive is enabled, the OPcache appends the current working
    5 r- s: B" {, H: y6 \! K2 R& q
  1924. ; directory to the script key, thus eliminating possible collisions between
    4 [! D) d8 V9 t8 P2 a# V7 U! u0 Z6 n
  1925. ; files with the same name (basename). Disabling the directive improves, ?* R' u$ y/ r( X
  1926. ; performance, but may break existing applications.
    7 u4 t' n; x' h1 n4 Z- D! P
  1927. ;opcache.use_cwd=1
    % c' X: y- a) V) v
  1928. 9 z3 p" C. a! Y) w; o3 B) p
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ! k2 c$ D/ ?" j$ ?7 H6 E
  1930. ; webserver for changes to the filesystem to take effect.2 _7 s5 ^+ `0 V. c; a) S: l7 |
  1931. ;opcache.validate_timestamps=18 g6 g% T0 q4 K2 J" p$ y, j
  1932. & e3 b  w3 s5 s6 Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 v$ ]# o; s9 [) u( m8 A
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    $ X' J3 R9 E2 m5 l! K
  1935. ; once per request. "0" means always validate)+ p( m* A4 G; g% {2 w
  1936. ;opcache.revalidate_freq=2( B3 M; n4 ^# b/ {5 z

  1937. % c0 t) p& B& U( z( v/ M: w
  1938. ; Enables or disables file search in include_path optimization
    % C& h! g3 o+ t& n. Y
  1939. ;opcache.revalidate_path=0
    8 W% h+ X" u: [5 ~  F2 v

  1940. ; r3 H$ L7 D0 z) \. I7 `
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. R* A  S% V3 c% [/ d
  1942. ; size of the optimized code.$ ^# v$ w3 k7 q% L! u; @, r
  1943. ;opcache.save_comments=1
    ! N7 I! V# t  \" `  S9 D
  1944. 4 @6 v; l# W8 a, ^2 ]1 x: J
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"% n' p. d. H: W
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    + |" d: G! |9 `# Z
  1947. ; that don't need them anyway.
    5 p# j, x8 a' h& P# |
  1948. ;opcache.load_comments=1
    6 [! D3 j7 g4 E

  1949. % T9 B6 ?( y  y8 N* j2 y
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    , k: I% ]$ P! [
  1951. ;opcache.fast_shutdown=0
    + f6 i( }( p5 g& C, o: B0 J. s1 G

  1952. - n) z' W1 R: L/ |
  1953. ; Allow file existence override (file_exists, etc.) performance feature.1 Q; P( Q, T- [- i( u( ]
  1954. ;opcache.enable_file_override=0
    5 e9 L6 v6 q) a# v/ x
  1955. $ R2 e1 W, [* Z* F/ {
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    3 b1 K- h/ R4 c6 Z
  1957. ; passes
    # C1 b. h5 Q! ]+ T& Z
  1958. ;opcache.optimization_level=0xffffffff
    7 O8 {6 @! Q% R) V
  1959. & L- N  R9 r& I7 Q9 o. e  R
  1960. ;opcache.inherited_hack=10 \+ x. z& J0 X' |
  1961. ;opcache.dups_fix=05 `$ J0 s0 T0 p) t9 G

  1962. 2 M7 f  V7 ]6 S1 ^: u: L6 g
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    9 y* p; p4 ?  d2 i' @( L% f7 I1 u/ o/ _
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    2 m3 v4 i  |* m$ |8 f( G
  1965. ; that should not be accelerated. The file format is to add each filename5 c+ \- ^5 F9 o' U8 l! z
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ) P9 T/ F. F  B& n7 u) T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    : S' f$ Z8 m3 M: h
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! p# A) l+ }: x- I8 b% T
  1969. ;opcache.blacklist_filename=" I9 E& U& N. X" ^7 v* o* [

  1970. ) R- |0 r# {: f& `' {
  1971. ; Allows exclusion of large files from being cached. By default all files
    # I* Y- w# l9 E' M" [4 H
  1972. ; are cached.
    $ S( Y7 y8 a3 k. o3 P" H: S( b
  1973. ;opcache.max_file_size=0
    ) V, e/ ]1 B1 }5 \* g
  1974. - g8 S. X+ n8 y; ?, c7 H
  1975. ; Check the cache checksum each N requests.! j7 `; l* `& C
  1976. ; The default value of "0" means that the checks are disabled.+ ?/ ~. _1 k2 M0 w4 Y9 c
  1977. ;opcache.consistency_checks=0
    9 t2 {. k4 @+ H! ^; ~5 ?

  1978. ' m+ y' f  |! K. M' o$ Y
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache! V6 x- v/ ^6 n5 b
  1980. ; is not being accessed.
    . I) k# d% N0 {3 b
  1981. ;opcache.force_restart_timeout=180
    % g, O( `; ?" J* T; U. q. `
  1982. - j& L! [, z4 I7 a5 O6 O  B- L
  1983. ; OPcache error_log file name. Empty string assumes "stderr".( ]" d" H4 V/ ?( y5 P/ \0 f- H; p
  1984. ;opcache.error_log=; i; {: |# N9 |9 b- Y' N

  1985. " V; O: s1 i( O" p/ _5 I
  1986. ; All OPcache errors go to the Web server log.
    7 G8 f* F2 X* N. B; K% ~' y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged./ C. }/ z# c/ z5 |% S
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ) ~. a! W9 r3 z6 a) D5 q% p
  1989. ; debug messages (level 4).
    / K/ {  S3 B# d! F- a0 b( A4 F/ C  r" h
  1990. ;opcache.log_verbosity_level=1- c$ A' t( g  z6 n2 e. u
  1991. . v* o! J! t. Y; q0 V5 C- j: l
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    7 A! o! }, y/ x2 P+ A
  1993. ;opcache.preferred_memory_model=1 ^: F6 Q9 c8 `% D1 T) i

  1994. * z( ]1 P5 Y6 {; V) u
  1995. ; Protect the shared memory from unexpected writing during script execution.
    3 Y6 X( F/ L- d3 `: C, K+ e# \( K& v: s
  1996. ; Useful for internal debugging only.* Q# q- J/ |5 }+ ]# G- G" S3 H& V
  1997. ;opcache.protect_memory=0. Y, x- d- L6 ~/ l( ?. G

  1998. $ q  x1 O$ y1 `, V+ n6 I6 B& k
  1999. ; Validate cached file permissions.: F8 j/ z- N, V+ D" k# j+ j, Y
  2000. ; opcache.validate_permission=0
    : j% D8 |; f5 d* q
  2001. * b1 S# d. E8 m9 v# F
  2002. ; Prevent name collisions in chroot'ed environment.% y, C) e! n  E9 e: l: G9 f* ]& H- M- y
  2003. ; opcache.validate_root=0
    % H# G- B! B, C7 Z, y

  2004. $ C6 `" E; K3 D3 B0 j
  2005. [curl]
    6 q6 l1 [# k: F5 l* a/ [" Y
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 @2 X2 d' u) H: I- k
  2007. ; absolute path.
    $ j1 U& H$ N" L$ V, ^; P7 D3 t
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    8 [! I, z  z' D9 [3 m4 \" B

  2009. 1 C/ {. E% G+ w) q0 r
  2010. [openssl]( ?" x, F& U% N1 [0 m
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem& Z: R0 f3 [, ?. p2 i
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ' Z9 R3 O# u% s; Q* i0 o
  2013. ; not specify a value for this directive as PHP will attempt to use the4 b# b2 f1 k$ O, X& Y
  2014. ; OS-managed cert stores in its absence. If specified, this value may still0 _& z, \& H5 B  I! _: D: |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context7 P# A& M  i" m
  2016. ; option.
    ; Y; Y' X9 y+ L( {* P1 O' _
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 o+ O# t# v( B, W7 H' r) c3 U) l- z
  2018. & C9 G0 u% U* D6 E, ?: b* M
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    2 z( A& C4 M3 E- B0 c: R. t
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    : h( T( o; X/ p8 l+ T6 |$ h' g
  2021. ; certificate. This value must be a correctly hashed certificate directory.  I+ k$ g! u5 n# M5 ]1 K
  2022. ; Most users should not specify a value for this directive as PHP will! p: h3 n* j4 K6 [, R1 K( _
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,: D7 f2 c/ A& ]$ n
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % P0 T; @4 E& t* }- \: u
  2025. ; SSL stream context option.1 L$ u6 q/ e# f+ U. [
  2026. ;openssl.capath=
    . b+ p/ A) Z4 y) a4 q; e2 @
  2027. ) a4 V" m" O# ~1 @9 p+ @
  2028. ; Local Variables:8 Y4 W  a$ \+ G/ v2 f: |: x! N
  2029. ; tab-width: 4+ A$ n/ `3 q1 u/ S- W( P+ u
  2030. ; End:  f$ ~  g6 M- w( J
  2031. & D! C3 l- [7 Q8 }' ~
  2032. ;eaccelerator
    - `  j6 x6 l  J/ |+ z. d
  2033. : ?" X/ r4 V" l- S: G5 y% A5 C0 U) \
  2034. ;ionCube" R7 M: _& h$ B# g9 m" B1 d
  2035. 2 O7 A. E: K% {& f
  2036. ;opcache5 c3 e' O3 \6 h/ y1 H
  2037. 9 L) K1 E1 Q, ~8 R
  2038. [Zend ZendGuard Loader]
    ; l4 W9 b* g5 N$ o
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so% K/ @# o5 M% P4 g- V8 X5 n5 j
  2040. zend_loader.enable=15 s, r, e' Y: H6 ?
  2041. zend_loader.disable_licensing=0
    5 r2 V5 y+ q3 N7 l; {/ V. J
  2042. zend_loader.obfuscation_level_support=3% y) r% ?6 T/ k. b! u: R* p4 R  X* F
  2043. zend_loader.license_path=% Z" M) l# q9 y$ ]- s/ R+ J: S

  2044. * `5 f6 {+ N9 Z. }" w! z
  2045. ;xcache
    6 ?$ Z$ @& t2 ^! ^
  2046. ; u/ Z7 D9 R2 E' G$ r4 v
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
* x  R1 c) M5 @
4 u  I7 m3 \9 h: l# L4 X# o4 C# U( L. W+ R; ]; P9 |
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,: X& D7 l' X7 O8 A  T

& a. u% U* x& pDiscuz!程序版本选择:; Q, }9 |7 @9 ~- c  l
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,& i# h5 i# W; B- _' u: o1 j' O
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:3 T7 l& X5 Y( }2 K( K
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。: h1 z0 h0 Z2 n0 O8 s  c% ^/ {' c

! l3 ~# n, ^; jDiscuz!插件模板版本选择:
8 }) A- u' l8 r- F很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
9 e; U* }9 b2 W( v- U  |针对这个问题做个统一的普及:* \3 k6 v2 f: {# i% I0 Z  q
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
: D  D& H# z& B' {9 K0 W
& [0 J1 B1 ]0 _6 Q0 w: f$ R% b所以
5 R' D& \/ H6 C  t5 y4 |. q+ J( n适合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的二级域名。3 D- v) l+ u6 G, F5 N. C9 b& \5 X
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。/ F4 ?4 [6 V1 L
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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