分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
, ^- L, x/ {4 @/ r5 P6 V" V) Z# b1 N9 @8 y( O. }& E% l
  1. [PHP]9 t0 \6 o% h6 t0 S/ d- F! X* F
  2. 5 g3 g% T* o) B, j# B
  3. ;;;;;;;;;;;;;;;;;;;( t5 ]) s2 j3 H1 d9 F7 Z0 g
  4. ; About php.ini   ;
    # U2 m2 j4 x7 L
  5. ;;;;;;;;;;;;;;;;;;;
    + W9 z6 w8 u0 u6 o. P0 ?; b
  6. ; PHP's initialization file, generally called php.ini, is responsible for% Q4 H1 z2 {/ a7 y0 @0 e, P
  7. ; configuring many of the aspects of PHP's behavior.8 y. @$ [/ T9 v9 j& |
  8. 8 y) |9 R1 ^6 O4 ~& p) W( L
  9. ; PHP attempts to find and load this configuration from a number of locations.. a% ]$ W( ^4 n
  10. ; The following is a summary of its search order:' v( F7 W" w* @3 ^. D
  11. ; 1. SAPI module specific location.
    / I2 S, `8 g" L1 I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - y" m6 ^; U  b6 ?6 _. L
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 c3 a# V( y1 k* }7 g
  14. ; 4. Current working directory (except CLI)
    ( |% B: c" u: u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; S) o% `3 l( N' C% E1 R
  16. ; (otherwise in Windows)- L9 @0 `7 e0 b0 e6 }* o
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' R& @3 _0 z: j
  18. ; Windows directory (C:\windows or C:\winnt)/ A) B4 |. b+ U/ u3 p
  19. ; See the PHP docs for more specific information.3 s7 e  W! R' K7 q& P2 g. \. ?# u
  20. ; http://php.net/configuration.file4 c% G% F9 {. }: f

  21. 4 O9 ~0 `# s: S* K. e: |
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 [5 ], n( d5 n/ e: @
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: t1 ~8 I! b9 M, g
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 X) {, `8 g8 n0 _1 M% @- s# M6 ?
  25. ; they might mean something in the future.
    0 B+ T* h9 r( D+ Y. v  O; `9 e

  26. 8 D1 H# b2 Z  B: |
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ( F5 W) c# o$ C" A& T
  28. ; apply to PHP files in the /www/mysite directory.  Directives# Q, M! E# y! S
  29. ; following the section heading [HOST=www.example.com] only apply to& ^, F4 p& M1 t) m0 W( k
  30. ; PHP files served from www.example.com.  Directives set in these
    / j' H6 L4 M3 M
  31. ; special sections cannot be overridden by user-defined INI files or
    - h4 W0 C# X2 V. s
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ) [2 s- v; y7 X5 X2 L
  33. ; CGI/FastCGI.
    * F, |# P" ?. X1 B! V/ f
  34. ; http://php.net/ini.sections- Y. F" t0 ]9 h) P; |% F
  35. 2 O+ [5 ]$ o/ x2 r  {
  36. ; Directives are specified using the following syntax:
    & T3 k$ ]0 |+ ^/ U7 _) k( r7 `8 P; S
  37. ; directive = value" d. Y! P/ ], c  P0 v% B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    * }5 }  }1 L$ B$ ^  W
  39. ; Directives are variables used to configure PHP or PHP extensions.
    * ?. F; f% G- u7 U- I
  40. ; There is no name validation.  If PHP can't find an expected; _6 w3 D# C. E2 @; q' q
  41. ; directive because it is not set or is mistyped, a default value will be used.5 K; O: r3 v- l& W& J9 i  M/ w

  42.   Z+ L! w  t7 R5 r' S/ k# V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / g' V! A: @+ Y. L: m  w
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( E$ F" j( b1 d6 v9 L$ ~+ |$ v* `8 e% N
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a, ?  E& A) z) L5 ?& g+ z4 d
  46. ; previously set variable or directive (e.g. ${foo})8 j! D: M9 r/ q: ?, c7 I2 B
  47. ; d; a; }7 p# N1 e+ K
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    % g3 J0 i- P% d' f
  49. ; |  bitwise OR
    % _: H4 z3 |8 K" {! O) {
  50. ; ^  bitwise XOR
    1 f4 ?" _; y+ B/ U# d
  51. ; &  bitwise AND
    7 v6 F9 C+ q, s3 r- m
  52. ; ~  bitwise NOT
    " Q" J) F9 [" W* K* R5 e( x- H. `
  53. ; !  boolean NOT
    " v. N* u  Q: |5 E2 j) ]0 N

  54. ! P0 J; p4 s! E- s. S" U5 [6 S
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    8 ^; V. a; S5 [' _. L* S3 u- e
  56. ; They can be turned off using the values 0, Off, False or No.. P' z* h0 V7 e/ Y  h3 d7 i
  57. - l4 B8 b9 W) }: _' N7 Z; x+ j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & \3 @# l* r- }  f9 o
  59. ; sign, or by using the None keyword:
    $ {- Z" q( P/ \0 U. ?$ N

  60. 3 r1 ]) u) O# q) ^
  61. ;  foo =         ; sets foo to an empty string
    1 E; G4 m/ x- X
  62. ;  foo = None    ; sets foo to an empty string
      n& A8 H3 C; [$ C6 O: A
  63. ;  foo = "None"  ; sets foo to the string 'None'
    1 ?3 w- v7 x/ Q2 Y: \
  64. 7 }( g) b) ?: g% J# \, [( ?2 w( w$ A
  65. ; If you use constants in your value, and these constants belong to a4 E* o$ W  R* A, A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    / [% r) s: i7 _% Q" L
  67. ; you may only use these constants *after* the line that loads the extension.
    1 _+ w+ o7 j0 }: A/ `, ]
  68. : `/ K, [6 t0 I
  69. ;;;;;;;;;;;;;;;;;;;% w* |$ w! t5 F
  70. ; About this file ;/ T3 {+ h2 ^  v& N! s
  71. ;;;;;;;;;;;;;;;;;;;
    * s4 i/ M. S3 r- o; w( \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! p7 L: h; e/ J1 M  E( M  }$ E
  73. ; in production environments and one that is recommended to be used in' c0 Z9 ]( A1 u6 ]6 Y8 \  a
  74. ; development environments.  k1 B9 N+ j( M4 v8 C

  75. & f2 d$ x1 k& K( Z; H, e6 Z4 K  J
  76. ; php.ini-production contains settings which hold security, performance and" p) U" P6 g" p
  77. ; best practices at its core. But please be aware, these settings may break
    : m4 B* m- b  A4 R
  78. ; compatibility with older or less security conscience applications. We
    1 p/ r' b' `+ r4 j& M7 \
  79. ; recommending using the production ini in production and testing environments.4 Z# X! u6 m5 Y  [; A+ }

  80. , c1 S# y, S3 C$ v
  81. ; php.ini-development is very similar to its production variant, except it is! P& {/ |+ j- C4 b# ?
  82. ; much more verbose when it comes to errors. We recommend using the
    - }6 w  h- a2 ]% ~& @
  83. ; development version only in development environments, as errors shown to
    4 V1 u) e- g" A2 ]) D$ I3 ?5 M
  84. ; application users can inadvertently leak otherwise secure information.* U& N( \+ @! M1 B! C
  85. 6 O8 @3 ]# L5 m9 m7 Q
  86. ; This is php.ini-production INI file.; x( ]' x9 s# J6 l, f' ~
  87. . Y2 E$ z/ l- J% I) r, U
  88. ;;;;;;;;;;;;;;;;;;;
    & G; Y# X* {- L7 l! W& F( S
  89. ; Quick Reference ;6 M2 J  D" `8 g2 C5 k
  90. ;;;;;;;;;;;;;;;;;;;
    + J" P) b# M7 b+ t& y) I% j7 X
  91. ; The following are all the settings which are different in either the production/ A- m* o8 n' s# D$ ^" M
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    $ O/ Y* ~" t/ r! B1 P6 k8 ]" M( e- x
  93. ; Please see the actual settings later in the document for more details as to why8 F- M2 V1 L  n# c
  94. ; we recommend these changes in PHP's behavior.; @" m3 G& N! s, r- \$ a

  95. * Q/ ^* s  ]2 E- h4 A/ C$ G* L: a
  96. ; display_errors$ W8 x# z, n7 M; [# G* w4 b- [9 l
  97. ;   Default Value: On
    ) O5 N3 w3 {9 g* E
  98. ;   Development Value: On6 _9 E  \( z' o# h' }6 B
  99. ;   Production Value: Off
    ! }; @) s+ T$ D: U% ^
  100. 9 {3 |4 H/ _" Z0 r& N) ~
  101. ; display_startup_errors
    ! z; d8 r2 X0 o2 N
  102. ;   Default Value: Off
    7 f5 \9 `$ G" r1 X9 p
  103. ;   Development Value: On* e# R# O( Q' L3 n% V& C$ r
  104. ;   Production Value: Off6 i2 j* O% V3 E& @" g" v- G% ~

  105. # z$ y6 ~% s! J+ P9 w; V8 J
  106. ; error_reporting* N, _( F  h. `& b; G6 ]6 `0 F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: `* E) [: X' N: b8 U8 f
  108. ;   Development Value: E_ALL
    3 `' D5 r5 P6 S4 s% l6 F# ~9 A8 S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 b9 i8 }+ m" u

  110. ! I8 X" z' L& q1 I
  111. ; html_errors
    % r& u" ?, J7 ]0 p& s
  112. ;   Default Value: On( R* ^5 f+ X8 R
  113. ;   Development Value: On
      k* T" y& |* ~! ]; i( O
  114. ;   Production value: On
    * `6 D4 ~6 ]: d& D
  115. 1 E5 J$ S# P( l* u
  116. ; log_errors; p7 B5 i2 L; t7 x/ ~8 I
  117. ;   Default Value: Off' v. r/ x$ F. t! S- Z1 I
  118. ;   Development Value: On
    9 N+ ]0 |8 r8 ]
  119. ;   Production Value: On
    1 \5 O6 ^. K  S3 g, W% A

  120. + c# ~( @4 T1 V& `4 V! Z
  121. ; max_input_time
    1 y6 Z+ s' |; T0 O0 J
  122. ;   Default Value: -1 (Unlimited)% e3 f" s! M6 m' `: Z) j7 w
  123. ;   Development Value: 60 (60 seconds)
      v) J1 }! C* g& n. J
  124. ;   Production Value: 60 (60 seconds)
    " d( K3 z* ?: i5 w) m

  125. # B3 U& o8 {, h( u. E- w
  126. ; output_buffering
    6 V6 l& e/ L) r
  127. ;   Default Value: Off
    6 A0 M. v8 y& z9 F7 K8 E& p! C
  128. ;   Development Value: 4096. n9 `6 E3 ^4 j% y4 m' ^
  129. ;   Production Value: 4096
    2 Q- A  f' q) d

  130. 7 k, _, C- \6 J
  131. ; register_argc_argv
    * R/ i* j4 c" Y/ `' J2 l
  132. ;   Default Value: On. y: ~( Q2 ]  X6 Z  ^. E
  133. ;   Development Value: Off
    . c3 W6 I: Q; e$ I
  134. ;   Production Value: Off
    * R' r; j3 A* K

  135. 2 D, e% ^2 S5 Z7 k5 W+ w; J7 G
  136. ; request_order+ S$ P. U! Z8 {8 k
  137. ;   Default Value: None( {4 w! z$ B' B0 G( D3 I7 _# H. B0 u
  138. ;   Development Value: "GP"
    . a; H  \. c- b! k; j
  139. ;   Production Value: "GP"
    ( Z) i) k2 _2 p3 j

  140. 2 @  ?* w1 b+ r# S" ?7 L5 t# f
  141. ; session.gc_divisor
    ; a+ C' o4 J: W# O& g2 W9 }. j
  142. ;   Default Value: 100; F4 a- B0 J. r2 D
  143. ;   Development Value: 1000
    % C9 Q1 N2 m! h
  144. ;   Production Value: 1000* b) \7 K1 t3 F: P2 ^* C+ f: Z3 E% U+ j
  145. 5 {, R- ]  z# |( ]/ m
  146. ; session.hash_bits_per_character2 k9 m3 n. _2 N* d/ Y" u
  147. ;   Default Value: 4
    9 [8 Y% v( K1 O3 y1 J" s! x
  148. ;   Development Value: 5
    # Z0 K, y7 h1 W; |. W  b
  149. ;   Production Value: 5
    : m' i* y$ j3 q5 L6 a% I6 Q: o8 X

  150. ' n4 F8 }" d# t; z' c, h# C& n
  151. ; short_open_tag
    ' Q7 |, p. E8 |2 s* j& \3 U% ?
  152. ;   Default Value: On# \5 W' D: Q/ j! p
  153. ;   Development Value: Off
    ' W: f% V) J* T9 v6 h+ C
  154. ;   Production Value: Off
    0 X. C; i. V7 U8 W0 D5 q

  155. * n# |' t) h3 s  Q1 I
  156. ; track_errors
    & G1 g; `. |' U  u
  157. ;   Default Value: Off
    0 Q  U% z' c- z- T+ F$ G7 d
  158. ;   Development Value: On
    ' l' C# {2 J  \/ h+ f5 [# `) L
  159. ;   Production Value: Off% l; L9 H) U7 E! [; K2 V5 W

  160. + j* q6 x% D; ?  P* o& c
  161. ; url_rewriter.tags
    : J' s9 F; W: m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 u$ a" r2 u' ?% q3 b  x6 Q$ |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 j1 G  ~/ ]1 l5 f2 U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  `" O' n: T" x+ a

  165. 4 Z1 C" [1 E9 X
  166. ; variables_order
    2 d) H4 M% J9 S& d$ I
  167. ;   Default Value: "EGPCS"' [9 ^5 N: u7 `0 b9 q
  168. ;   Development Value: "GPCS"
    : N& O1 G3 @, B! J
  169. ;   Production Value: "GPCS"% B' t* J# t: X" @) i% \3 b/ q

  170. $ r2 W5 d; ?# G( R/ o+ j  U1 ~
  171. ;;;;;;;;;;;;;;;;;;;;
    8 g1 M; U1 w# J/ d7 r
  172. ; php.ini Options  ;
    7 \* x# S9 Y' x8 ~
  173. ;;;;;;;;;;;;;;;;;;;;
    ( t1 j2 }# g  i' b, k* j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# O7 \  o3 o* Q! U: A
  175. ;user_ini.filename = ".user.ini"# e9 n2 V; n& O% U
  176. + Q6 ~1 b2 k) g6 L+ k
  177. ; To disable this feature set this option to empty value
    5 ~1 B& O# g, z7 E# N' G' H" k
  178. ;user_ini.filename =8 @# C, M; K# B$ d) f% J' i
  179. $ v, ~( o0 ]0 H& @+ a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      U6 L8 U3 z( A7 o, ]8 Z. r
  181. ;user_ini.cache_ttl = 300
    " t7 C* v% Z5 w

  182. ' R, }2 A' g0 h, l- g" z1 b
  183. ;;;;;;;;;;;;;;;;;;;;
    $ ~5 Y6 Z% l7 O, a
  184. ; Language Options ;
    # c" w$ L2 Q5 h5 m% d* ~
  185. ;;;;;;;;;;;;;;;;;;;;$ }8 a$ U% y6 N6 s6 w

  186. % |8 L  t) v$ e' V1 n5 ~, B
  187. ; Enable the PHP scripting language engine under Apache.
    ; r0 p% g7 v; ^4 B0 i
  188. ; http://php.net/engine
    , E/ q" Q6 U, [1 Z$ ^5 |9 h
  189. engine = On7 `( T3 Q4 N; e
  190. 8 }- B# Z+ c( b
  191. ; This directive determines whether or not PHP will recognize code between
    8 l% N' \+ G+ p) y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* f3 p6 K1 q' i8 a7 n  _! N
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 F/ F. Z7 p1 ]. d9 q& z3 |
  194. ; should be disabled, as enabling it may result in issues when generating XML
    * P8 A* t0 _+ v9 U+ D9 ?' ^
  195. ; documents, however this remains supported for backward compatibility reasons.2 q6 k  U0 L: _! {! M' a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 P3 x/ B8 ~- [5 O9 z  Q
  197. ; used regardless of this directive.
    $ O6 _4 q+ y8 e) K( p8 H
  198. ; Default Value: On4 }# ]9 h) i" j; e6 C
  199. ; Development Value: Off
    6 o: t8 U3 r5 q8 u" T
  200. ; Production Value: Off
    % h$ P, G* j3 {  D9 x0 y
  201. ; http://php.net/short-open-tag+ e5 s( b3 h* z: S+ y5 u
  202. short_open_tag = On2 h: @; b/ v$ U, f7 z4 o0 F/ H# \
  203. 2 z: x; U5 }- x5 u. P
  204. ; The number of significant digits displayed in floating point numbers.
    5 v: {; O$ f  }* }: x
  205. ; http://php.net/precision
    1 p3 M9 Y  }# M
  206. precision = 14
      e7 S# o. d$ Y' ^- p

  207. ( ]6 S' G6 T. l; D# t* b
  208. ; Output buffering is a mechanism for controlling how much output data
    3 X* r  {  o& Q6 |) ?
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that+ p) I. c' Y! S7 x
  210. ; data to the client. If your application's output exceeds this setting, PHP
    9 p$ R3 Z2 v! q7 P+ `
  211. ; will send that data in chunks of roughly the size you specify.
    ) n7 |# Y0 z7 m4 b' R6 j  S
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ' O( r, U( P7 z7 t, H0 L' q5 v) g! ~
  213. ; interesting side-effects depending on your application and web server.' R$ l/ k5 @* z- f  {9 L
  214. ; You may be able to send headers and cookies after you've already sent output6 }5 a) i9 R- H, M, k6 ]* |$ G* M, _
  215. ; through print or echo. You also may see performance benefits if your server is
    3 I5 ~/ N+ i( z
  216. ; emitting less packets due to buffered output versus PHP streaming the output& W  k7 ~8 K! @! y# g% Z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    1 a; |$ Z" u. l5 C1 h# d3 |+ g
  218. ; reasons.
    8 d9 R3 H! I$ S9 L
  219. ; Note: Output buffering can also be controlled via Output Buffering Control. [$ Y- T2 b& `& T. [8 y* }
  220. ;   functions.- W( z! D% s) `* X! Z/ J4 S
  221. ; Possible Values:4 O" C0 s/ A" J
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( C1 \$ @( Y; ]" |
  223. ;   Off = Disabled
    3 ~) D- l1 {3 C1 n! h
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    4 V" X0 a5 ?! A5 i& v  @4 N/ Z* r  p2 v
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; g* @  o, q9 U+ i  L
  226. ; Default Value: Off
    " a5 K$ F3 _: C$ m
  227. ; Development Value: 4096; F( [! }& q( Z! R+ W3 ~* |4 ?4 v4 X3 }
  228. ; Production Value: 4096; h5 S. _* O2 C* T) S. {# E
  229. ; http://php.net/output-buffering9 E- ]& r' w1 n# G
  230. output_buffering = 40963 ^& i, z6 U5 M% N: E
  231. 4 X9 ~% E; y5 }: {+ k
  232. ; You can redirect all of the output of your scripts to a function.  For
    4 {( F  F; P* b
  233. ; example, if you set output_handler to "mb_output_handler", character: e$ E% q; \/ O" m$ R
  234. ; encoding will be transparently converted to the specified encoding.
    * M$ J! m5 G! s3 Y2 z
  235. ; Setting any output handler automatically turns on output buffering.& p4 m# q1 z( _4 J3 K# M
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ) E4 }' O4 A# J2 M0 L& j  a7 Y
  237. ;   directive. Instead, explicitly set the output handler using ob_start().( h4 V$ u3 J1 T  j' }3 Q* _3 O7 I
  238. ;   Using this ini directive may cause problems unless you know what script
    2 {8 ]. c% d" I! Q
  239. ;   is doing.3 N$ j) w8 `& B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( h4 U4 i2 w3 ?% W. c9 X0 R9 x6 M
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    # J+ B* j& D* \" T" C4 z9 N
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    * S# d7 a6 s1 M* w
  243. ;   Instead you must use zlib.output_handler.( p* d4 E6 j: @7 ?6 e8 c0 A
  244. ; http://php.net/output-handler4 n; Q; Y3 U" U6 e) V0 _. n
  245. ;output_handler =
      C5 G  T- _# A- J( G
  246. 8 k- h2 R) D9 l! |+ D
  247. ; Transparent output compression using the zlib library1 W5 c: i9 n" v. C: Y# A" d0 i' U; x
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size# H+ x0 O3 Q2 x. {/ D6 I5 [
  249. ; to be used for compression (default is 4KB)
    . R, j" T8 ?8 I: l* d- E
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      ?9 x3 V. k7 A8 `* E
  251. ;   outputs chunks that are few hundreds bytes each as a result of. U( {4 O+ m) `  o9 e- ~4 g
  252. ;   compression. If you prefer a larger chunk size for better
    1 E, ]" Y5 W1 \! P
  253. ;   performance, enable output_buffering in addition.+ E" z) d* L- f/ ~6 `$ D
  254. ; Note: You need to use zlib.output_handler instead of the standard# I1 A: ]: q% s/ \& r. S# _
  255. ;   output_handler, or otherwise the output will be corrupted.
    " e6 j  H4 K8 p$ a4 Z) H( l9 T# Q
  256. ; http://php.net/zlib.output-compression
    5 f& F* B2 k2 K! x" E
  257. zlib.output_compression = Off1 w0 `# k7 F! f7 s
  258. , S% r) R* t1 ^
  259. ; http://php.net/zlib.output-compression-level
    : ^. i5 r( s6 ?! v: S
  260. ;zlib.output_compression_level = -1+ @% n: [) N3 ?3 f$ g$ }9 q
  261. ! G% c2 z1 |& M! p' |
  262. ; You cannot specify additional output handlers if zlib.output_compression
    5 F. n$ b/ Y8 \& y5 [' R4 U8 j
  263. ; is activated here. This setting does the same as output_handler but in2 m  o" ]  r, f( K, w
  264. ; a different order.! O! m- Y9 v9 J0 H$ U- z1 t8 E
  265. ; http://php.net/zlib.output-handler% a* w4 r) ?3 r) P) g* R
  266. ;zlib.output_handler =8 y- J+ W& \  Z+ z/ Y/ |8 T
  267. 1 G) r  G- p+ ~* ^
  268. ; Implicit flush tells PHP to tell the output layer to flush itself* E6 z% K2 k7 O
  269. ; automatically after every output block.  This is equivalent to calling the1 D' ]; i* w& k8 u) t
  270. ; PHP function flush() after each and every call to print() or echo() and each8 q1 s1 x9 V# v( }5 g
  271. ; and every HTML block.  Turning this option on has serious performance. _3 f, E: A5 J# e5 |* ]. q
  272. ; implications and is generally recommended for debugging purposes only./ \0 M2 p1 v( o/ R) h" d2 x* q
  273. ; http://php.net/implicit-flush
    % Q5 L* b0 |" z) {
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % t/ s5 \! D1 m* v5 a6 x5 f
  275. implicit_flush = Off% m# |; ]9 v# \% Z  D+ G5 d, O

  276. " z! T* H! n$ `% A7 I
  277. ; The unserialize callback function will be called (with the undefined class'
    7 s6 a9 k7 M- g) j* U7 M
  278. ; name as parameter), if the unserializer finds an undefined class
    & t/ e! `9 V9 q* F( l5 j$ O- d' Y
  279. ; which should be instantiated. A warning appears if the specified function is
    - f9 |( ?" l, S$ }" x0 P
  280. ; not defined, or if the function doesn't include/implement the missing class.
    $ Y6 ?% g5 e$ M8 [
  281. ; So only set this entry, if you really want to implement such a
    ' h' i% `2 l! c- _& \0 J
  282. ; callback-function.2 o8 w5 l9 N2 p) ]& m" ?
  283. unserialize_callback_func =
    - I( v# V2 X- j% i5 s
  284. " k. a6 ~" w' U' f
  285. ; When floats & doubles are serialized store serialize_precision significant* I6 O' l% |/ \! w
  286. ; digits after the floating point. The default value ensures that when floats1 d9 j' i& E3 H( t8 N3 b
  287. ; are decoded with unserialize, the data will remain the same.
    8 V; I4 G# _0 U! W8 v; b! U* k
  288. serialize_precision = 178 v; r  E% `0 W0 ^' I6 H

  289. & A/ U4 x/ c) m- v/ [7 h6 ?+ i
  290. ; open_basedir, if set, limits all file operations to the defined directory
    6 b0 X3 u; ~' a0 x8 ^
  291. ; and below.  This directive makes most sense if used in a per-directory
    / w9 E, J$ Z% H5 ~
  292. ; or per-virtualhost web server configuration file.) j9 w& U; q4 W; a% G% I' z$ \
  293. ; http://php.net/open-basedir
    6 w- ^; v* N! h! Y
  294. ;open_basedir =
    : B5 G" _# }2 f4 v" b5 q7 ?' C

  295. ! L% E# M  u! x- i7 f$ y2 \; L/ Y
  296. ; This directive allows you to disable certain functions for security reasons.$ W- u$ |" E, N
  297. ; It receives a comma-delimited list of function names.; s4 b: e* L9 g! n
  298. ; http://php.net/disable-functions% q% w$ D+ c$ n, x; J# b% m
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 z0 A% `5 d$ x& p" b+ ^$ U: }; z
  300. ) M9 g% h, ^5 V( [: Y
  301. ; This directive allows you to disable certain classes for security reasons.
    1 |$ R  x1 u3 s' P" W. ^' E: ^; j
  302. ; It receives a comma-delimited list of class names.+ `4 h+ a5 x, j9 J
  303. ; http://php.net/disable-classes
    & j5 Z5 A1 O0 }; J
  304. disable_classes =  R& b; d; K! p& h/ Y( O0 S; y. _
  305. + [/ H6 z; U/ N7 N
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ U* G' @* S1 N$ s4 ~1 a. G
  307. ; <span style="color: ???????"> would work.
    - s% l+ p1 i  k- L0 K6 d
  308. ; http://php.net/syntax-highlighting
      s. m, U7 `/ r
  309. ;highlight.string  = #DD0000
    0 \# k6 K9 B+ b6 M5 o' l
  310. ;highlight.comment = #FF9900
    / i1 V& _5 ]# X3 o) H' @
  311. ;highlight.keyword = #007700! i6 j( B, m7 K- w; g$ l
  312. ;highlight.default = #0000BB) X, b9 f# T3 z0 w
  313. ;highlight.html    = #0000000 H7 M+ H$ ^3 p
  314. ' e1 z3 o+ J1 r' N' t/ g
  315. ; If enabled, the request will be allowed to complete even if the user aborts
      P  j: j' ?4 a) f" G
  316. ; the request. Consider enabling it if executing long requests, which may end up( m& b4 @$ q( ~- \2 Y
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 c0 c0 b+ i  f2 [- d) @. E- x4 ~
  318. ; is to disable this feature.
    * F& r* B3 u6 X
  319. ; http://php.net/ignore-user-abort* P9 f7 x4 H& S! x  y6 v/ i
  320. ;ignore_user_abort = On
    3 e2 D# |$ Y3 u

  321. % E, z3 b7 g; _1 H$ X* ^% G
  322. ; Determines the size of the realpath cache to be used by PHP. This value should4 V: v: X1 H! b3 `
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . E0 ?7 C9 n5 m
  324. ; the file operations performed.
    " {$ o* U7 v+ V1 p1 X9 g
  325. ; http://php.net/realpath-cache-size
    % U% c+ Q% ~0 o7 L' M2 e
  326. ;realpath_cache_size = 4096k+ S! o/ U+ `8 \2 z. e

  327. : r  f5 m: F; T5 l' q: M
  328. ; Duration of time, in seconds for which to cache realpath information for a given+ G" N/ O7 S+ N1 I- }1 j
  329. ; file or directory. For systems with rarely changing files, consider increasing this$ u  g% [/ V9 X4 b$ ~* |- i
  330. ; value.
    " }3 A8 L$ B( H
  331. ; http://php.net/realpath-cache-ttl2 R& i9 t7 W* D5 M" Q% B
  332. ;realpath_cache_ttl = 120& L0 K* M. v# ?6 Q, `

  333. . j) o; V0 Y2 A. f
  334. ; Enables or disables the circular reference collector.
    8 p; ?& P- N1 M2 E$ g+ f# c3 [
  335. ; http://php.net/zend.enable-gc' X) X7 v) ?7 r
  336. zend.enable_gc = On9 c# D+ H% ^' M' K$ b. `! w

  337. 6 t% R/ O4 r( ?( ~- d
  338. ; If enabled, scripts may be written in encodings that are incompatible with5 r" h% X. h9 S! Y
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    3 T# w1 i, D3 x* |3 X
  340. ; encodings.  To use this feature, mbstring extension must be enabled.$ r2 X) [* W# C1 H( U7 Z# b
  341. ; Default: Off
    ' {- t/ a- f0 n1 O$ a
  342. ;zend.multibyte = Off
    + x- b1 r+ c% F! _
  343. ) p4 }. x: J1 p/ c: k
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    % p' K) L2 u  m7 w1 X) c- y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.5 l6 V: `8 B) `9 w
  346. ; Only affects if zend.multibyte is set.; ^. R: N, ^# ?* P! T
  347. ; Default: ""& J0 p7 S! U7 V2 l4 O
  348. ;zend.script_encoding =4 Y) K  f, G2 |, z& W1 _/ F5 b
  349. & _" Y2 ^# {7 w& Q6 W3 g
  350. ;;;;;;;;;;;;;;;;;
    1 {2 ]0 @3 E$ r
  351. ; Miscellaneous ;
    6 U2 c* ~9 j1 m+ r/ d( z
  352. ;;;;;;;;;;;;;;;;;
    2 o6 o1 G' u" W6 j8 x  ]" ^3 r
  353. 1 _1 _2 G5 P% k
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    8 T/ B/ x' l& F4 s
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    1 g9 |, ~. K- q! U  C9 t- {3 j
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & |& \# ]( R& D' \% c4 K1 f
  357. ; on your server or not.& Z" `; b) Q/ L4 j, F& `
  358. ; http://php.net/expose-php
    + M9 n  E1 i, t+ a5 @5 B
  359. expose_php = On
    ( a$ @' l$ p7 U, Y/ G+ J3 r
  360.   I3 h9 y! K0 n- P# {
  361. ;;;;;;;;;;;;;;;;;;;
    ! Q* [/ `  L% m. z
  362. ; Resource Limits ;
    9 u# a; {1 R0 b8 j7 }
  363. ;;;;;;;;;;;;;;;;;;;
    ! w0 i, |- _- a' v8 k- f0 x* p3 j5 M
  364. ) W. Q( A( s' K2 _
  365. ; Maximum execution time of each script, in seconds3 A3 A5 Q+ q8 o. q
  366. ; http://php.net/max-execution-time3 N3 X1 J" _- ]# t4 O
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! [! y" l; `$ ]( r
  368. max_execution_time = 300' k3 m- |. E5 P+ T

  369. 5 }: d8 ^) ]& Z. j$ G. P& n
  370. ; Maximum amount of time each script may spend parsing request data. It's a good  g& C5 |% D8 o# U
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly# Y) R! `# W9 _
  372. ; long running scripts.
    3 B0 T& {, D) h, E1 y% |: X
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    0 ?9 B) k( @: ~) q  f9 z' I
  374. ; Default Value: -1 (Unlimited)7 U& c0 C. G$ ]* t6 m* l% F6 l
  375. ; Development Value: 60 (60 seconds)
    5 i; ^: M. q; y( o4 [: I# S
  376. ; Production Value: 60 (60 seconds): }: H4 W: J) q" W$ `, Y* b
  377. ; http://php.net/max-input-time
    % m6 t2 D, }3 O, u+ P: r
  378. max_input_time = 60- z: H  L8 R8 B5 Y$ F% H4 O; r0 M. H' s

  379. 7 p5 w+ f3 x/ [- i
  380. ; Maximum input variable nesting level$ H, [. v. j6 ?1 P
  381. ; http://php.net/max-input-nesting-level2 T5 C) \7 ~7 a
  382. ;max_input_nesting_level = 64/ l  z3 u( B6 B2 G) X; \% y
  383. + I5 Z. s3 a! r7 w3 _
  384. ; How many GET/POST/COOKIE input variables may be accepted& U2 N6 |# n' }. l; P0 b3 A$ c
  385. ; max_input_vars = 10003 j! u5 t; A- u# Z# |  s6 E
  386. ( a. d' [6 v+ {1 N: ]# w
  387. ; Maximum amount of memory a script may consume (128MB)
    $ T/ _" n5 E7 W# \
  388. ; http://php.net/memory-limit
    : n; H' _/ i! P& n7 V# |7 P, E
  389. memory_limit = 128M5 J/ m6 L7 T$ [$ ~

  390. 1 k$ Z3 ^' w' t3 O8 s) W6 j4 r0 A
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # p  C+ p/ l6 F9 G& `
  392. ; Error handling and logging ;, t4 a" y/ Y$ f- p( E" ^" D. D
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # r' F- }+ }3 H9 ~& V
  394. # A: X6 H) {) M. l% A
  395. ; This directive informs PHP of which errors, warnings and notices you would like: r: h6 ]* M4 f, m% O( @
  396. ; it to take action for. The recommended way of setting values for this6 r7 \2 _8 Y1 {; a7 H
  397. ; directive is through the use of the error level constants and bitwise
    ( Q7 ]2 v  y7 Y
  398. ; operators. The error level constants are below here for convenience as well as+ h" V6 [* R5 p# E' l! {6 ?( [4 j' \
  399. ; some common settings and their meanings.; ^# O! A; V& u
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT6 Y7 p% q# w( P1 q# [* ~# k& f" G4 E
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # P0 y- ^8 J! n; w) N
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    / e# o/ M# |- |
  403. ; recommend error reporting setting. Your production server shouldn't be wasting" J% a8 Y% e$ |7 [  k
  404. ; resources complaining about best practices and coding standards. That's what9 K0 u, @4 k, A; V2 t9 C6 A% N% T
  405. ; development servers and development settings are for./ y9 r3 {3 o" a4 N
  406. ; Note: The php.ini-development file has this setting as E_ALL. This9 R% [% Y5 i6 a% L' t# {2 u9 F
  407. ; means it pretty much reports everything which is exactly what you want during5 x3 v* X. k# q+ J/ e2 k' Z% Y' n( T
  408. ; development and early testing.
    * {& J$ O8 |/ Z
  409. ;9 j! ~& e, r/ K2 x) S
  410. ; Error Level Constants:
    ! e5 {* S' l# X2 @: f$ u$ `# x
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0); K& |. Y# K, b8 L+ ^, E1 g$ N6 v
  412. ; E_ERROR           - fatal run-time errors; ]& S2 H4 p' _  ]1 w* P
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ _4 X, a( n0 w& p/ v; v* z
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    * a1 Z$ r2 M$ Z5 h7 o2 l7 c
  415. ; E_PARSE           - compile-time parse errors% L3 |; q$ n6 r+ @5 B
  416. ; E_NOTICE          - run-time notices (these are warnings which often result' s" K/ |8 Y/ P4 m1 d, A
  417. ;                     from a bug in your code, but it's possible that it was
    7 b: u* @+ ~8 k6 d3 O
  418. ;                     intentional (e.g., using an uninitialized variable and- L( G8 M; k! g1 u
  419. ;                     relying on the fact it is automatically initialized to an+ j. j( ]# L, d+ z  S% M
  420. ;                     empty string)! H- s! K. v7 Z! _6 O
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes, A$ o; U$ v+ L8 a5 b: Y
  422. ;                     to your code which will ensure the best interoperability
    - L* H2 @4 h: L5 }% S
  423. ;                     and forward compatibility of your code
    ( |4 o1 W. n& {' \
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    4 g- \% m& E8 v/ H
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    7 Y% ^+ q' \; j
  426. ;                     initial startup
    0 d! |& W1 o  ?" g0 O
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    % B+ V$ e# o. ~& l! u8 B
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' r; m" B, v5 F2 ]
  429. ; E_USER_ERROR      - user-generated error message
    & Z3 M/ I. D5 `
  430. ; E_USER_WARNING    - user-generated warning message& q2 b/ p% A9 W
  431. ; E_USER_NOTICE     - user-generated notice message, g5 `$ {# n& V. X5 Q8 L
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / Q$ M- q$ g% ?. \! H
  433. ;                     of PHP9 w, a. X" o+ `- s1 o
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings, q" G7 e; m" \: Z. ]
  435. ;
    4 F: d. M% e: ^& j( \' f8 V
  436. ; Common Values:0 O5 |1 F. ~, b# N' W+ V6 @- h
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)* R3 O, w5 [9 @/ L0 v* v
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# `1 E: j' C; L$ V
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % n; n' K8 L( ^7 ^/ l, K" g* m, w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 U* S. y- z5 v+ Q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  u& ~% g# |% I+ }- f
  442. ; Development Value: E_ALL0 _: q# [( I0 W! C
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! Z" l+ ]5 t- Y, q5 N! G
  444. ; http://php.net/error-reporting
    ' `5 ]1 H  g. ^2 ?* u- }
  445. error_reporting = E_ALL & ~E_NOTICE0 E) N9 |- d' b/ g6 N9 z$ r

  446. - E/ W5 e* A5 P# N& z) N6 T% m
  447. ; This directive controls whether or not and where PHP will output errors,
    ) b: s( B# B9 p# z2 d; |  B
  448. ; notices and warnings too. Error output is very useful during development, but( U% s# j6 ~+ C) R6 E, ?% @
  449. ; it could be very dangerous in production environments. Depending on the code
    8 O/ z7 l# e- ?- K
  450. ; which is triggering the error, sensitive information could potentially leak7 o. h1 j# ?2 N' A- O
  451. ; out of your application such as database usernames and passwords or worse.
    4 m. u" w0 Z5 p$ C7 Z: @
  452. ; For production environments, we recommend logging errors rather than3 o) Z7 a7 r, s* ~) x& `
  453. ; sending them to STDOUT.
    ( v1 S+ @% ?% M, J9 x( J9 a( y4 m
  454. ; Possible Values:) C0 g2 m1 p; l. ^5 s
  455. ;   Off = Do not display any errors; d8 t" v% o; M
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): d' X: g. T/ Y$ \) e/ p# t
  457. ;   On or stdout = Display errors to STDOUT) O0 Y4 }" u* v
  458. ; Default Value: On
    - J! `6 d0 T& M/ U+ g' x
  459. ; Development Value: On. B4 i$ g# f% r2 B3 Z' p
  460. ; Production Value: Off
    9 ~2 I7 W6 q8 X
  461. ; http://php.net/display-errors
    6 i6 t, z' [8 Y! y+ J$ K
  462. display_errors = On
    0 N0 `$ {3 U! M4 O% n4 p7 _7 m
  463. : s4 p1 F+ H8 p( s9 y6 V
  464. ; The display of errors which occur during PHP's startup sequence are handled- z* v; y7 ?# X& x+ x5 U
  465. ; separately from display_errors. PHP's default behavior is to suppress those2 G# ^' B8 Z) h1 A# h
  466. ; errors from clients. Turning the display of startup errors on can be useful in/ g' C$ z" \1 l/ ^
  467. ; debugging configuration problems. We strongly recommend you
    # I% m& W( Q, Z
  468. ; set this to 'off' for production servers.8 @) }1 ]' W6 j* V" M
  469. ; Default Value: Off: u. ^7 m; g4 O/ u' Q
  470. ; Development Value: On) ]- }. U- g" k" B/ @) Q* h! d( p
  471. ; Production Value: Off0 J2 F7 T0 \* [/ I+ E4 ?7 j! ?
  472. ; http://php.net/display-startup-errors
    + Y1 P! [. P5 T, D7 m1 c% @5 I# ^
  473. display_startup_errors = Off* A' f! B* T* v% C+ N( P: d
  474. 4 y4 r7 I) N5 v7 o& j5 Y
  475. ; Besides displaying errors, PHP can also log errors to locations such as a5 K# p, t$ F% a+ V
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - m/ r- F: q* v
  477. ; directive found below. While errors should not be displayed on productions$ I* u& s) V/ w6 k* ~
  478. ; servers they should still be monitored and logging is a great way to do that.
    0 x& L. K5 Z5 s' Y+ Y( @/ E
  479. ; Default Value: Off& B# {( A, I) A$ L5 V5 X* \
  480. ; Development Value: On
    1 V* z5 J/ }5 P) G' M# t
  481. ; Production Value: On- i* ~; u/ Q- ~4 M' v
  482. ; http://php.net/log-errors
    ! I$ h+ X0 W6 m9 v8 \- f
  483. log_errors = On/ }5 b* D- C2 D
  484. : }' S4 {* H1 g3 K4 C% _, Y! T
  485. ; Set maximum length of log_errors. In error_log information about the source is
    . e4 \+ P* B5 ?( d9 J2 m& E3 ~
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , O: E4 }% _9 E
  487. ; http://php.net/log-errors-max-len! V4 t6 h! I; |! N3 L4 j7 L: h
  488. log_errors_max_len = 10241 f3 h7 Q* M# a( U

  489. . \- n  X0 [5 d8 [8 n5 \& E1 y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same+ @- S: B7 R7 {; [
  491. ; line unless ignore_repeated_source is set true.
    # c6 i: U7 L% i, Z' J
  492. ; http://php.net/ignore-repeated-errors
    , b$ r8 h. L, B" b
  493. ignore_repeated_errors = Off' e  X/ v" Z0 E' A
  494. + D8 T7 c/ o1 {7 a1 O" A
  495. ; Ignore source of message when ignoring repeated messages. When this setting! |6 k  x- C8 E; K/ B9 F
  496. ; is On you will not log errors with repeated messages from different files or
    + X2 m) B6 O) a- `. ?
  497. ; source lines.4 p; {6 j4 m6 g, N
  498. ; http://php.net/ignore-repeated-source5 r& j/ X' [& i1 r, X" A$ r
  499. ignore_repeated_source = Off/ _/ C% n, J! E* F, \' q$ I3 V
  500. ( |  K) x( H( L
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on! ~+ x: k4 V0 I9 T+ I- p; z+ [
  502. ; stdout or in the log). This has only effect in a debug compile, and if$ J6 D2 w3 Q% n
  503. ; error reporting includes E_WARNING in the allowed list% `) c; M0 W5 V' g/ @. U
  504. ; http://php.net/report-memleaks5 R3 G5 q( G% U5 I2 U# `- W/ [) z9 i
  505. report_memleaks = On. a- g3 I2 b8 ?# c# V8 E: O
  506. # c% [* H$ g" `* ^' g9 w
  507. ; This setting is on by default.1 S% }& o8 f$ Q! s! d
  508. ;report_zend_debug = 05 A2 ^0 T9 ?4 c4 [" a
  509. ) j/ @) s0 A$ Z2 f" H. H  d; C
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value: W4 }0 H4 f" T" Z! t- n
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 b3 B) h) Z6 {" M  P" y: w- W
  512. ; however be disabled on production servers.& _& h; i2 U  |" O9 \: M
  513. ; Default Value: Off
      d. S2 n' V% |* E+ ?  Y
  514. ; Development Value: On
    / {* B, q! N- c" W
  515. ; Production Value: Off
    , z# e4 \9 Q  p: Z  z! P: k
  516. ; http://php.net/track-errors# F( x9 E# h8 U2 M% V/ a7 Z
  517. track_errors = Off# h# B5 t5 W4 V. N6 i3 }. S

  518. 0 {5 T) n' X0 s6 k) |' \
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    8 h$ H7 s9 l8 X+ u' Q6 S
  520. ; http://php.net/xmlrpc-errors2 w, [" k! |4 v6 {1 @1 @
  521. ;xmlrpc_errors = 0
    ) ^% |) A& R1 }0 G& c. ]

  522. ; J- ^3 r( J; {4 {
  523. ; An XML-RPC faultCode
    , a0 {/ u# k5 W* s: i5 S0 F
  524. ;xmlrpc_error_number = 0
    * }0 a( q5 M/ B  u1 y$ l

  525. 1 }, u. F0 g, M/ u4 W
  526. ; When PHP displays or logs an error, it has the capability of formatting the$ ^5 I) U+ q' y' c: q& {9 F& l
  527. ; error message as HTML for easier reading. This directive controls whether
    3 [7 a7 \4 {6 b4 z2 _# x8 u5 C
  528. ; the error message is formatted as HTML or not.0 J  f' Z4 E9 k5 K9 d+ A" g
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * f& n/ b- |, j" i# g% r
  530. ; Default Value: On+ g% j# G1 V7 E0 Z1 X: D
  531. ; Development Value: On
    ! _2 [, p$ g7 A" n: \% [
  532. ; Production value: On$ ~( M5 l3 r8 {1 {; l" E
  533. ; http://php.net/html-errors/ @8 t# t7 J# R2 A* g
  534. html_errors = On: d5 b( X% p3 @. L

  535. " \( Y+ n- m: w
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP  X. @  V- N: C+ P, r, h0 j+ J1 S2 b
  537. ; produces clickable error messages that direct to a page describing the error
    ) E' o* b5 H5 K, h! q1 E
  538. ; or function causing the error in detail.
    6 [6 a- c) N0 N* Q
  539. ; You can download a copy of the PHP manual from http://php.net/docs( l( e8 h. h. B! \! _$ e# M+ Y
  540. ; and change docref_root to the base URL of your local copy including the
    9 X, y( B: z# u( d. o; w- G
  541. ; leading '/'. You must also specify the file extension being used including8 A# l/ Y& K3 R/ ^$ N, o" k
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    " w% J8 C7 Q( v+ N  e5 J
  543. ; case no links to documentation are generated.
    8 H* E9 B+ ~7 [$ @# `0 u
  544. ; Note: Never use this feature for production boxes.4 a$ T3 o. |# c8 x& z# `5 {
  545. ; http://php.net/docref-root
    1 T0 r. j" O( g* Q8 T3 g" ]3 Y
  546. ; Examples
    7 b! U1 T% ^8 r6 b3 J5 w3 _8 V2 g5 A
  547. ;docref_root = "/phpmanual/"
    3 v2 s# n5 B0 n6 W( c5 M1 l+ _

  548. : b1 X# P6 {/ h/ \% X) P
  549. ; http://php.net/docref-ext8 b! S3 L# s( {, l. s, B0 W3 W
  550. ;docref_ext = .html
    5 i8 f. P  p$ P  p$ j
  551. $ ]# N+ u5 o. P3 b' Y
  552. ; String to output before an error message. PHP's default behavior is to leave
    & X; h. f9 x' ^6 j. \/ L
  553. ; this setting blank.+ `6 m/ e, ?' g- A1 V$ g; f, [
  554. ; http://php.net/error-prepend-string
    ; K. w9 `! U7 c5 l" U( _
  555. ; Example:0 O! R5 U  y1 q8 |
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    6 n3 U. |/ d; Y/ l% s. p# G) C( ?& \
  557. / d3 M0 ~& m! @8 K$ i  E8 e1 i
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 ?0 q( B- x0 ~; @, H( j( w0 s
  559. ; this setting blank.
    : h1 k2 a- }! P. w. \" l
  560. ; http://php.net/error-append-string% o3 R& h" H# D" n# N; i
  561. ; Example:% M6 G, D( [8 m$ D( O
  562. ;error_append_string = "</span>") {  x' m6 j3 j' V

  563. ' I4 @1 b+ Y' @5 m  }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value; X9 ~8 l3 O2 q3 y0 Q
  565. ; empty.
    * t& a: L: v" e+ f
  566. ; http://php.net/error-log2 F6 `4 x# g% ~' Y8 K; ^" U
  567. ; Example:* p; ~  q$ s0 N8 r
  568. ;error_log = php_errors.log  y9 b7 a$ y; _
  569. ; Log errors to syslog (Event Log on Windows).- H- y  ~8 r3 h0 y$ [4 ~' h4 Q
  570. ;error_log = syslog
      n, A+ Q% B+ T. F

  571. & D6 K2 e2 a  ]% A  s& ?
  572. ;windows.show_crt_warning) S6 J2 @! I0 T0 [
  573. ; Default value: 0
    % c1 g" F8 {3 {6 M/ b
  574. ; Development value: 0) X+ f3 o4 y* Z6 Y
  575. ; Production value: 0. u0 {* u+ r8 h. O6 n/ z

  576. + ~4 C& d4 `! \. g# K
  577. ;;;;;;;;;;;;;;;;;5 u6 w4 v& l" q3 T- {/ w
  578. ; Data Handling ;
    9 `2 B! Q0 m4 y6 Z2 A
  579. ;;;;;;;;;;;;;;;;;8 V! F. r/ v5 z6 V0 j1 ?

  580. $ A( u3 r0 [* p9 P5 @3 Z
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! {; t3 z" U; b/ Y& m5 D+ m
  582. ; PHP's default setting is "&".7 r" B  X4 G8 X- z8 v! h6 e
  583. ; http://php.net/arg-separator.output
    8 j- ?; h8 H* x: S% c
  584. ; Example:
    ! m1 o6 P0 g  T, u0 P! a% r
  585. ;arg_separator.output = "&"  A, D1 Q1 Z3 d# I9 F
  586. 5 n/ y8 i4 p6 @9 c$ T5 M4 g' I& x
  587. ; List of separator(s) used by PHP to parse input URLs into variables.. C8 p/ u% U7 c+ \7 K, j- y
  588. ; PHP's default setting is "&".+ z, A8 u4 Y$ z3 i" S/ }/ W
  589. ; NOTE: Every character in this directive is considered as separator!! [# K" P+ U3 {& S6 I
  590. ; http://php.net/arg-separator.input! _( ~1 V  F& k: M# W
  591. ; Example:# w4 `% I, J, [; ^# ~0 W
  592. ;arg_separator.input = ";&"
    - u9 t+ }) f9 ~7 d9 X9 O

  593.   u' A6 Z( _- O2 e
  594. ; This directive determines which super global arrays are registered when PHP
    2 \/ {& Y& ]* h' W, a
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super# k/ C0 @0 o( F/ M
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    * s/ n# U! X% l, f/ L7 P0 l
  597. ; paid for the registration of these arrays and because ENV is not as commonly, S( e" `  S4 \
  598. ; used as the others, ENV is not recommended on productions servers. You
    ' {! k5 T4 |$ z9 G& ^5 e5 x, D
  599. ; can still get access to the environment variables through getenv() should you
    , ^& G+ R0 {) B3 {
  600. ; need to.# W% ]& Z3 N" n& X7 @  ?
  601. ; Default Value: "EGPCS"/ |# `8 m# I, h- `2 a8 V0 O
  602. ; Development Value: "GPCS"* x. Z/ w" w6 |- o+ V
  603. ; Production Value: "GPCS";( [9 Z/ _7 @9 W
  604. ; http://php.net/variables-order+ @" {! H1 f. l/ W
  605. variables_order = "GPCS"
    2 ~2 G: a8 H$ [
  606. 0 K' _6 L* K; G5 v* j4 H3 X
  607. ; This directive determines which super global data (G,P & C) should be* [! A+ U& I  L5 p- d% R
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 F) W$ Z/ t2 O
  609. ; the order in which that data is registered. The values for this directive
    : x( O9 p& {+ f! w- L: h, k
  610. ; are specified in the same manner as the variables_order directive,
    / P6 F" p8 a* V
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 j% Y7 ?: c* Q1 `( O
  612. ; in the variables_order directive. It does not mean it will leave the super
    & ?) C# G0 i$ V1 {6 b# s
  613. ; globals array REQUEST empty.0 W1 s4 R$ Q# ?. y  u( L1 O6 u
  614. ; Default Value: None7 s7 h  h' G" U# l' Y: V7 q6 _
  615. ; Development Value: "GP"
    . s7 {7 T1 v% X0 Z2 s, Q
  616. ; Production Value: "GP"
    . X! n; b8 _8 V% @2 t/ ~
  617. ; http://php.net/request-order0 r* U9 N  B' z
  618. request_order = "GP"  C$ F$ I( n% g4 `

  619. " I- t2 ?  t: g; g6 @( {( Y2 F. ?
  620. ; This directive determines whether PHP registers $argv & $argc each time it' b2 ], j# A+ k4 h0 L8 [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script& v; X3 l2 x5 V# V. e) ]4 P
  622. ; is invoked. $argc contains an integer representing the number of arguments( C! `: z! Q9 S2 r- `6 Y5 p  n1 @8 h
  623. ; that were passed when the script was invoked. These arrays are extremely, i! K5 e- |" l" g4 j
  624. ; useful when running scripts from the command line. When this directive is+ @" I- }1 R/ ?# k) h. q# B
  625. ; enabled, registering these variables consumes CPU cycles and memory each time5 p. a$ f6 t8 K8 k
  626. ; a script is executed. For performance reasons, this feature should be disabled8 Y, G% \9 L. s/ G. m* [
  627. ; on production servers.0 R) }) W* L6 Q% R# ^$ ^
  628. ; Note: This directive is hardcoded to On for the CLI SAPI3 b  D9 E% w8 q5 ?; r( ^
  629. ; Default Value: On6 ^! z; b# w0 n2 M* g
  630. ; Development Value: Off
    ) F; d& z1 P4 a) x2 ?! Y2 s
  631. ; Production Value: Off* ^7 n$ w+ q, G2 Z
  632. ; http://php.net/register-argc-argv
      h6 O; c9 f9 o  n- ^8 m
  633. register_argc_argv = Off
    " f6 j, h1 c1 ?- g+ u
  634. ( w! u- U' r  k% T3 k$ U
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' D8 S  h! j( S; p9 a" e; h0 c- X5 ]
  636. ; first used (Just In Time) instead of when the script starts. If these
    2 {9 Y2 n9 P8 s5 Y5 v
  637. ; variables are not used within a script, having this directive on will result
    8 y, N4 Y0 M4 h+ e8 ~$ }7 K
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; k0 d- L1 p1 N1 B6 b! N. b
  639. ; for this directive to have any affect.
    " s; s9 ?8 W  f4 `# }) g: u
  640. ; http://php.net/auto-globals-jit$ j/ Z) O" ^' G5 G
  641. auto_globals_jit = On
    7 e. @* ]  g: O* z

  642. - V% ]" m3 V3 L5 x% p
  643. ; Whether PHP will read the POST data.% x! d7 j4 k8 v. ?: \, `
  644. ; This option is enabled by default.
    # f' G4 e$ w3 {; ]. F
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  x+ k. Q, T: O9 V8 m( ^
  646. ; and $_FILES to always be empty; the only way you will be able to read the8 G& I7 d) L: x3 d# c$ M4 R
  647. ; POST data will be through the php://input stream wrapper. This can be useful* W0 @) e% F1 g" A; f
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.& P1 `3 ?9 p1 Q/ H; F' j
  649. ; http://php.net/enable-post-data-reading
    . ?' p2 ^$ X8 B. |1 n* Q
  650. ;enable_post_data_reading = Off( L0 `: o- {; o' P/ u% R1 C1 o

  651. + b3 I, h, |0 v1 ]4 p4 @2 i; i; f
  652. ; Maximum size of POST data that PHP will accept.8 K( n" \% H; S
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( T; ?8 g6 @- O8 s/ F
  654. ; is disabled through enable_post_data_reading." _# v  z9 [5 e1 w# B( W" ?) j, g
  655. ; http://php.net/post-max-size- ]1 ^3 l7 k# C) D& }1 q
  656. post_max_size = 50M$ ?& \# [# H! F
  657. 0 U, ]* @  ?2 t: W7 Y
  658. ; Automatically add files before PHP document.- O( B/ K, C. X% O
  659. ; http://php.net/auto-prepend-file- Q# ]3 A0 K1 o, N) d" L' E' D, K/ o* u
  660. auto_prepend_file =
    4 f7 ^, V5 w0 Y+ i
  661. $ C6 ]* ~' J5 e1 J7 C# B
  662. ; Automatically add files after PHP document.
    # s4 m8 W  @. q, n: j+ P1 [
  663. ; http://php.net/auto-append-file
    0 M5 F  p* }  ]0 d- M
  664. auto_append_file =
    ' `% f" u8 I/ a) F) u- f

  665. ' b' }4 W  @7 w- r9 A
  666. ; By default, PHP will output a media type using the Content-Type header. To
      Z! i1 r) l; q, _9 p: d
  667. ; disable this, simply set it to be empty.
    ( T; l& k9 Q" V0 Q4 y
  668. ;# g! Z- r0 Y) I' K; L1 }$ x
  669. ; PHP's built-in default media type is set to text/html.0 |0 N  a% _0 w
  670. ; http://php.net/default-mimetype
    7 Z. p# n; m; n
  671. default_mimetype = "text/html"
    2 t( G& k' U% m6 k8 j

  672. : Y! F3 Q* h, [0 }6 o7 s, k) ]5 [
  673. ; PHP's default character set is set to UTF-8.6 Q1 N; `0 o& Z
  674. ; http://php.net/default-charset
    2 v( a: [1 h" h& s# E; f4 m
  675. default_charset = "UTF-8"" y, {' [  c4 Q6 c! M* T

  676. # M% K  X" u) f5 h7 m
  677. ; PHP internal character encoding is set to empty.
    % }9 d' i' O4 Q, q& k  v
  678. ; If empty, default_charset is used.% \  U% `1 h, K
  679. ; http://php.net/internal-encoding
    ) b) O8 j; V7 S- A3 s+ \+ ]
  680. ;internal_encoding =$ W* A2 \6 T% p
  681. " `( T( \" Y  P, F: ~0 A+ _# [' }
  682. ; PHP input character encoding is set to empty.; p. M" W; A# @! y
  683. ; If empty, default_charset is used.9 u  k' O6 t' b0 O- s
  684. ; http://php.net/input-encoding
    9 A8 i. Q& W/ G3 ?7 f9 ^
  685. ;input_encoding =
    7 D4 }- Q8 k' h' M9 q: _: s4 a
  686. ' L1 `0 r- j/ o9 E' M
  687. ; PHP output character encoding is set to empty., h  [8 q* k1 c  |$ T5 N* ]
  688. ; If empty, default_charset is used.
    # ]# Q( i7 l. k: H
  689. ; See also output_buffer.* R0 k" |$ e5 [9 g
  690. ; http://php.net/output-encoding4 o6 Y' ]. Y! b$ j
  691. ;output_encoding =
      I' ?" s3 K$ V/ P  u& A
  692. ' t+ F$ C, M0 T- A  r) s) b9 _: `
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;. x7 g2 q, W; X0 \8 [/ d; x: m
  694. ; Paths and Directories ;( Z8 y/ ^; f. v6 o
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;5 R9 N4 x- |+ r* A
  696. * J, V4 \$ p0 }9 h3 V- d
  697. ; UNIX: "/path1:/path2"+ K/ T; m$ \% Y/ j7 M$ U6 X
  698. ;include_path = ".:/php/includes"6 O9 x4 B- r& @  O" |4 Q
  699. ;
    2 q. s# K! E. m7 W
  700. ; Windows: "\path1;\path2"
    2 b7 f6 Y+ K- v1 T7 h
  701. ;include_path = ".;c:\php\includes". ?2 ]+ e6 N$ K# E. G! T) ~
  702. ;$ X/ g: q% L0 V( k" e
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    - r* E" Q9 K; t' \: \) J- E
  704. ; http://php.net/include-path7 a/ Y* e% f& A' \6 `
  705. $ O. @  V; b* P5 p
  706. ; The root of the PHP pages, used only if nonempty.
    6 [, \% L( @( j! e# ?4 A6 M
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + B; x' N5 n6 E  o
  708. ; if you are running php as a CGI under any web server (other than IIS)
    4 `- n7 d+ y2 G* Y* S
  709. ; see documentation for security issues.  The alternate is to use the
    4 ^8 D& ^3 I3 A* u4 L, X: O
  710. ; cgi.force_redirect configuration below0 r/ _! l: P& [& w3 X
  711. ; http://php.net/doc-root3 E, \& N5 D# F( D) U# u1 |: y
  712. doc_root =$ ]3 J, E+ O! O/ o- x5 S

  713. 7 U- I  ^" r- O0 z
  714. ; The directory under which PHP opens the script using /~username used only. [- Z' v! m7 h% x
  715. ; if nonempty.1 \+ _: c5 q7 V
  716. ; http://php.net/user-dir
    . ~1 ^4 [# m8 T* n0 }' B
  717. user_dir =) f+ C5 I" f( f9 u$ h
  718. $ a3 J2 r8 l! E
  719. ; Directory in which the loadable extensions (modules) reside.
    " v1 v9 g7 [2 {  W4 m$ J. F; x: ~
  720. ; http://php.net/extension-dir
    & C5 R2 `: K: p$ N: b* p+ j
  721. ; extension_dir = "./"
    6 G# [+ o5 D. o- o3 T
  722. ; On windows:
    . \% @" m( r7 c
  723. ; extension_dir = "ext"
    / E& h0 _6 C: A1 Q) L# ?
  724. 2 ^' U; M8 B+ W( {
  725. ; Directory where the temporary files should be placed.2 t% V) f8 m3 h  w3 V7 U
  726. ; Defaults to the system default (see sys_get_temp_dir)
    , ?/ d' o( T8 X4 v5 U% }# K
  727. ; sys_temp_dir = "/tmp"" V- o. F9 I) {; X( h/ K5 a
  728. ( y; i$ S9 e0 K. m% g
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 d& B* q  ^, S1 z) a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 s! I& N& X, e3 J/ ?2 O+ E
  731. ; disabled on them.
    * h. `+ A- ~4 j8 }
  732. ; http://php.net/enable-dl
    ' s0 ^! ], `" @  M6 w3 s
  733. enable_dl = Off( s. [% O7 \: v) l, I1 w

  734. 9 h: @" \- K# K; W
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. q/ g) Q1 q& s" d; A' x2 g
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! d) c: U* l2 `% n! i$ f# ?3 _
  737. ; turn it off here AT YOUR OWN RISK7 }! P: |2 N9 ~* b' q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 [4 c% k( A1 p) B- [4 `7 K
  739. ; http://php.net/cgi.force-redirect
    $ c6 T* k' W: D& p! c% ?! F4 H& h+ {
  740. ;cgi.force_redirect = 1
    . H1 L4 q( ]( H! w+ E) D0 I

  741. 9 F+ |/ W2 O5 j, t1 s1 @' @
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; m# w7 l- M; i* O+ J* c8 V/ A1 {
  743. ; every request. PHP's default behavior is to disable this feature.
    0 ], b. B6 A  w1 Z% \0 `
  744. ;cgi.nph = 1
    - e( p$ O. ]' f+ f9 _1 p3 M

  745. 3 i/ j, ~$ _; ?) o
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' d6 {) S" \3 T9 i0 c* U" [( C
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 B+ D. a  g! l$ R
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY( b+ M! |2 j2 C. I3 r
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 h/ n' _4 Z) F3 T( b: ~' i$ O0 w5 N
  750. ; http://php.net/cgi.redirect-status-env8 r! C9 i4 T$ f$ D' K/ t# i, B
  751. ;cgi.redirect_status_env =
    ( h8 d1 P9 D, W( v. Y- Z

  752. + y. L( r3 p3 t, I% m9 @3 K
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* K3 _6 Y( x, P
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    1 W, h, K6 f" ~1 r! M  j
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & S5 p9 \3 Y. [1 ]2 Q' k. Y: L
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ O0 _3 f- P% D0 P/ X4 }3 }; T
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts+ H. A' z( @' Y6 I
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ |, X, u9 a% l% n1 |; W
  759. ; http://php.net/cgi.fix-pathinfo
    2 i* v8 s/ v# D8 L3 d  L
  760. cgi.fix_pathinfo=1
    5 D& [; K( z* o: a+ l; k  i; P
  761. 6 x% b! U; ]- ], y0 L6 C8 ]1 T
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + }  I4 j7 ]. X; |  u8 }" y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
      r1 E2 M0 |: O" T# v" t
  764. ; http://php.net/cgi.dicard-path2 `" i( T9 e3 A" p- k" @9 s1 Q1 n+ v
  765. ;cgi.discard_path=1
    & x6 e1 [4 B+ b( P% d
  766. - y3 ^8 W3 q% ?, {) n, g
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate5 Z- j5 [4 t. A
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' t$ }0 d1 b. \( o& t4 g0 y
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % E" h, P8 t1 N# S+ _' r
  770. ; does not currently support this feature (03/17/2002)) v. F) a& i( p! [7 _
  771. ; Set to 1 if running under IIS.  Default is zero.
    ( |9 s  f  f9 C* \" K- u
  772. ; http://php.net/fastcgi.impersonate( z( E& [7 N5 u' Y
  773. ;fastcgi.impersonate = 16 _5 _4 {# C! q% o- s5 N' B
  774. ( G% U# S/ F, ]$ T) c
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable& F6 ]2 G1 l1 k3 Z& r
  776. ; this feature.! L' A, Q3 c2 O& G
  777. ;fastcgi.logging = 0/ ?8 o4 G0 g: V9 Y, K! D

  778. + d, E( X0 {8 p+ g! A
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% _: V& R$ q4 C: Y1 b! n, ~& O
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that5 j! B. {1 F7 o, C4 l3 c/ N8 K! F
  781. ; is supported by Apache. When this option is set to 1, PHP will send- m8 C- [. P+ n! f3 [
  782. ; RFC2616 compliant header.
    + j0 ]6 j! p) q+ z4 G1 D- z$ ~2 T
  783. ; Default is zero.
    * r# \& d5 s$ h/ Y/ f, u
  784. ; http://php.net/cgi.rfc2616-headers3 f2 K2 {# B( u0 [  ]
  785. ;cgi.rfc2616_headers = 0
    # s0 M& o9 d, z* S" w) `% \
  786. 4 Y% C# ]! }! @8 Q+ j
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    / l1 O) B1 }5 Z
  788. ; (shebang) at the top of the running script. This line might be needed if the7 c4 \+ J* E& x
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . a  l/ J1 ]8 I
  790. ; mode skips this line and ignores its content if this directive is turned on.
    $ O7 R* v: w' z% c
  791. ; http://php.net/cgi.check-shebang-line; @8 U! v6 B8 T7 g1 |
  792. ;cgi.check_shebang_line=1
    0 m! C/ E  C; A1 F- a& ]4 ?$ q6 q
  793. 4 \3 f1 ]) }; D5 Q" [2 W2 F
  794. ;;;;;;;;;;;;;;;;
      I( x* |0 L$ n0 R, q
  795. ; File Uploads ;2 b0 A! `. \3 w3 }1 C
  796. ;;;;;;;;;;;;;;;;
    / y+ @+ s3 b  m9 \( M
  797. ; k! ]- ]# ^5 t- {' c, L& p3 S
  798. ; Whether to allow HTTP file uploads.1 q: ~: q. A8 S, P4 B# d9 X- L* [
  799. ; http://php.net/file-uploads
    1 u" k& i; v! J& `+ I' Q- E1 b
  800. file_uploads = On0 t5 Q& Q- j8 M/ r
  801. 0 x; d, J, Z  x! Z, V. G" z, i
  802. ; Temporary directory for HTTP uploaded files (will use system default if not. h5 F- ~, K5 h9 m4 }( y
  803. ; specified).
    4 L6 f4 F  T9 G4 E9 T) A  w
  804. ; http://php.net/upload-tmp-dir
    9 C/ x0 C! e4 i* u# P9 ?+ V* W
  805. ;upload_tmp_dir =
    ! H4 Y! p6 P! D) w2 d4 S' x! n

  806. 3 a$ {8 H. M4 q* P
  807. ; Maximum allowed size for uploaded files.6 G; T/ w' I6 ]5 m
  808. ; http://php.net/upload-max-filesize8 V4 X# i6 c( }0 L
  809. upload_max_filesize = 50M/ T/ G+ `, l, ]" v' z9 K# o8 a
  810.   V7 `5 C& w8 D) K& F$ A
  811. ; Maximum number of files that can be uploaded via a single request
    ' Q+ w) o3 K3 g  i
  812. max_file_uploads = 20
    $ P4 U+ T4 I6 }/ F7 `, _9 z* O
  813. 6 I1 l. u8 v! S: R' c. V
  814. ;;;;;;;;;;;;;;;;;;) O# E* @+ q7 O6 j+ @
  815. ; Fopen wrappers ;
    3 X7 A9 n) m. j# \4 z0 p
  816. ;;;;;;;;;;;;;;;;;;
    7 n* S" D: p1 J4 R$ I

  817. . B) V' C, l& c
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    7 n* _4 a4 f2 S2 e
  819. ; http://php.net/allow-url-fopen
    : J5 u1 n* j! J6 b4 o, b! P
  820. allow_url_fopen = On
    2 e' A+ ?5 q. `7 S- p

  821. + M+ ]8 `% ~% X" n0 i$ f0 K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) B; T; m' {! z1 R
  823. ; http://php.net/allow-url-include
    8 W# ^+ O4 D! e; u
  824. allow_url_include = Off5 g$ P1 ?- U# a* p1 D. j# m
  825.   U, K- R; ], u: k: r5 p
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ; M3 J: k5 e( V! g6 @
  827. ; for this is empty.
    3 R5 g  t# y3 a
  828. ; http://php.net/from1 I8 k9 w# t! `' ~" Q0 m
  829. ;from="john@doe.com"
    , U+ B0 }7 ^( C2 k1 ?* k

  830. 0 m2 q1 C9 r1 ]  ^$ r& ]5 B6 _
  831. ; Define the User-Agent string. PHP's default setting for this is empty.8 Q) A" {4 [0 A* I  X: b
  832. ; http://php.net/user-agent
    " X. P4 {& l1 ^+ l
  833. ;user_agent="PHP"
    " G  U4 z7 Z  `" D$ T( l2 r$ b

  834. # Z! y0 r* _% _& o& G2 `
  835. ; Default timeout for socket based streams (seconds)) X4 S3 `! o& @# c& {3 b- S0 L  c
  836. ; http://php.net/default-socket-timeout
    " n) U+ q8 P, \5 O! C
  837. default_socket_timeout = 600 V6 E8 [5 c  U) Z4 d
  838. % P+ o2 }2 c' N1 H/ k& F# B+ P
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( T. H  Y* K6 l4 y
  840. ; or you are running on a Mac and need to deal with files from) c/ Q* z0 W" E( A& a, q+ R& f
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ( [( e: R* m9 o8 B+ M
  842. ; automatically detect the EOL character in those files so that
    6 ]8 ]# x) d2 o9 L8 X+ e
  843. ; fgets() and file() will work regardless of the source of the file.4 L* i3 I6 k+ ^3 V9 I1 Z2 S! c
  844. ; http://php.net/auto-detect-line-endings( \0 T1 \, g/ N  i
  845. ;auto_detect_line_endings = Off' P' l- [0 B2 w

  846. 2 l+ j& D% j! q3 \
  847. ;;;;;;;;;;;;;;;;;;;;;;
    * B) b" J6 v; B! D3 G/ w
  848. ; Dynamic Extensions ;! t1 B3 q- P8 F3 P
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ) f! c3 `; [9 P+ `' L! q/ w

  850. / h2 b5 Z+ X. j& |
  851. ; If you wish to have an extension loaded automatically, use the following
    4 U: }. T8 P/ @, i* I7 X3 w& e
  852. ; syntax:
    - D. e( k. l% p3 F0 d$ a
  853. ;* P/ c& h# O1 ?/ C
  854. ;   extension=modulename.extension
    ; y; f. \+ B1 @( l
  855. ;
    " o- I1 G! ^2 u+ e, h* `
  856. ; For example, on Windows:
    9 m6 Z# @" B. U$ D0 }
  857. ;* S5 U! w- }$ h
  858. ;   extension=msql.dll- v% v' |7 g+ Q: [0 F5 I# t
  859. ;
      h! n6 r( G. |
  860. ; ... or under UNIX:1 K4 ~2 d; w# p, ]1 h/ W& ]! O( i0 A
  861. ;9 i9 n, S) J( b# J: N/ E
  862. ;   extension=msql.so) g% f- H3 D) i; A5 c4 @/ G4 v
  863. ;
    ; ]( o, [2 Z$ v3 `3 y$ n
  864. ; ... or with a path:
    ; a- c% k% s' j- c  D
  865. ;
    ' p# f) c  C# J: C
  866. ;   extension=/path/to/extension/msql.so, w4 @0 }/ E% }) {% ]
  867. ;; n2 [. Z& u1 v: F4 F9 t" ~
  868. ; If you only provide the name of the extension, PHP will look for it in its
    , Y+ w, P+ X9 V% w- B3 n
  869. ; default extension directory.
    ! e; ^- `6 ^7 h. t, o
  870. ;
    ) E2 _: ^% D, P
  871. ; Windows Extensions- O* `4 ~" r8 `" Q0 u
  872. ; Note that ODBC support is built in, so no dll is needed for it.1 u' z2 ~6 I) v/ ]( G1 W
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
      K" s( p# v  u6 [  e' H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / L/ c- a+ c3 N( m5 g
  875. ; Be sure to appropriately set the extension_dir directive.  I# _: e5 o5 E! S, [
  876. ;
    ) T  [1 T9 \" _
  877. ;extension=php_bz2.dll
    & V5 [% L; _& G  [" c/ I  d
  878. ;extension=php_curl.dll5 H4 i' R1 B& j
  879. ;extension=php_fileinfo.dll
    . w/ L6 C5 R( X( [6 R; W' Q/ ^
  880. ;extension=php_ftp.dll
    ! m; S6 {8 h' B$ h1 j5 m- v
  881. ;extension=php_gd2.dll3 \# G  @( x# _. C% A$ q
  882. ;extension=php_gettext.dll- P& z& j, M( s9 Q
  883. ;extension=php_gmp.dll
    " w- D4 V- I0 B, F% f, O
  884. ;extension=php_intl.dll9 B& ?5 a7 j1 G& C# v
  885. ;extension=php_imap.dll, O2 q3 x1 A# _# y( j
  886. ;extension=php_interbase.dll* r6 e" ?& M3 U' g5 r7 p
  887. ;extension=php_ldap.dll
    ) f6 f4 a9 t1 V+ W$ A+ t
  888. ;extension=php_mbstring.dll
    ! g7 F% [6 X0 A& F
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % h" H( E; G/ A8 B
  890. ;extension=php_mysqli.dll# A6 P9 A" J. H' _% r' j
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ M5 j0 d3 v. @0 j, \8 Z! F( s
  892. ;extension=php_openssl.dll; L) }2 w9 Y: C2 Q: h, n( Z
  893. ;extension=php_pdo_firebird.dll; W( r: j6 D  k
  894. ;extension=php_pdo_mysql.dll
    ; N' M6 G7 v3 x
  895. ;extension=php_pdo_oci.dll
    , r. K8 [$ z0 M3 [+ s5 `
  896. ;extension=php_pdo_odbc.dll
    " r0 P' ^7 M5 {3 C
  897. ;extension=php_pdo_pgsql.dll- }# [* P; I3 u6 L2 g. c) ]  m
  898. ;extension=php_pdo_sqlite.dll& A* p9 t7 `  V) t- ]- P
  899. ;extension=php_pgsql.dll
    ! w4 V$ @& X" B9 i( y. k
  900. ;extension=php_shmop.dll7 ?/ \0 u9 }* E; w; r" h

  901. ) }0 q) @( i  ?' ^5 T
  902. ; The MIBS data available in the PHP distribution must be installed.
    6 [# F& T# ~% A# r
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    $ b6 C6 [+ t" O( k; w: v! c/ ]
  904. ;extension=php_snmp.dll/ w8 Z5 ^. i4 z
  905. & N5 V2 `5 L$ l% Z2 C$ s
  906. ;extension=php_soap.dll
    4 [! W+ _8 A' j1 q- ~! a2 T
  907. ;extension=php_sockets.dll
    5 A0 `0 b) Q1 ?8 t& V  x. O9 p
  908. ;extension=php_sqlite3.dll
      k; f& X3 \& e. r, D; @
  909. ;extension=php_tidy.dll
    * H  f$ T: [' @
  910. ;extension=php_xmlrpc.dll" G( x# R* z/ j2 K/ k5 r: s% s
  911. ;extension=php_xsl.dll
    - ]1 }: Y+ t3 M$ J

  912. / Z) e/ ^' \/ ~; A4 F" a
  913. ;;;;;;;;;;;;;;;;;;;
    ; [% y4 s* g6 Z& [
  914. ; Module Settings ;
    3 \% j$ f. }( I; m1 A* m. u: ?
  915. ;;;;;;;;;;;;;;;;;;;
    / G! c( O7 S/ [5 e& e- F
  916. ( j. b8 i, N' X# @$ a5 D9 j
  917. [CLI Server]
    ; b+ c/ x% h# V$ J& j4 I
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.( ~7 U% b; J1 F1 U8 W- Z
  919. cli_server.color = On: F) N' v' |1 H* t
  920. " r" P* X% T+ D8 p* l% L
  921. [Date]
    * K# V' \( }1 a. v
  922. ; Defines the default timezone used by the date functions
    + z) i# F  f$ T" e5 Y
  923. ; http://php.net/date.timezone" N0 W/ b1 n: \: E
  924. date.timezone = PRC
    9 r5 Y# ]+ T- Q

  925. - ]: H+ R1 z# Z3 @* m) k
  926. ; http://php.net/date.default-latitude
    1 m! L" N. j7 G' B# ]! H
  927. ;date.default_latitude = 31.76672 \. J2 o' g' V$ I! C

  928. * f; e9 z+ C; d7 Z9 q
  929. ; http://php.net/date.default-longitude
    " Z+ p, t6 ~  }* j' x/ d, j
  930. ;date.default_longitude = 35.2333* T4 l2 e$ ?! Z) a2 X& I) P
  931. * U2 ~; R) t* A& l: t0 F: y
  932. ; http://php.net/date.sunrise-zenith2 I( B& w# V# a# ~- n
  933. ;date.sunrise_zenith = 90.583333
    9 f' c: c6 h* X! l( V
  934. , B& M5 x# k% w% Y
  935. ; http://php.net/date.sunset-zenith: t- _- F5 a, W* T; \
  936. ;date.sunset_zenith = 90.583333
    0 W. i0 C; R% x- O" J4 a
  937. 5 {( A- F; T$ A" @. _$ ~5 i# g, m
  938. [filter]! `& }! ~1 X8 r! G& w# e
  939. ; http://php.net/filter.default$ k  f- p  X7 A% }( w
  940. ;filter.default = unsafe_raw& R: b4 L8 L" p7 p
  941. ) I- Z/ w5 K1 h" y* F! H
  942. ; http://php.net/filter.default-flags
      J( @  e1 T: w* b1 e
  943. ;filter.default_flags =/ U! G1 a* c$ X

  944.   w: ?7 U2 M. V# U8 R8 H
  945. [iconv]
    0 W1 P8 T0 G2 c$ ~& V
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.7 a) y  D4 E3 ?2 u
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      Q  U, |7 Y0 @. G
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding0 h) N  m& M6 M* d4 D$ {1 y
  949. ;iconv.input_encoding =( M( L6 P( U. C# @1 \  k2 k# e
  950. / d- Q3 E& @8 v& A2 m7 A4 q
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# _1 Z: a& a" b
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 r7 S. ]+ t& X) p; }
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) h0 F( T  o6 D, K1 t
  954. ;iconv.internal_encoding =
    7 h: D2 `4 b/ R7 Q1 U9 h. i1 r9 B& k

  955. 0 ?" G* x6 O# I
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.1 i6 ]4 J6 k; X- t
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + y) U0 K& ?  B& p
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 K4 ~- {+ S/ o* [. o3 S' U
  959. ; To use an output encoding conversion, iconv's output handler must be set
    7 @9 f4 A* a. X7 v8 p/ P
  960. ; otherwise output encoding conversion cannot be performed.7 B5 C. a" V4 C7 T  o
  961. ;iconv.output_encoding =
    0 X# d: w. C; l7 c; k( m. J
  962. 2 f) p5 i7 b1 w2 p9 ~6 ~* A2 N% H
  963. [intl]9 K6 E9 b! r  |- m: U$ m4 S
  964. ;intl.default_locale =
    3 {4 `8 V% V# u9 g4 k8 y
  965. ; This directive allows you to produce PHP errors when some error, S, X) m: ]3 b( G7 m
  966. ; happens within intl functions. The value is the level of the error produced.& [0 u# y$ `$ C
  967. ; Default is 0, which does not produce any errors.
    0 E4 h8 O% G0 N+ [5 e  F" G
  968. ;intl.error_level = E_WARNING( i( o2 {& ?0 i" f. h; O( ~
  969. ;intl.use_exceptions = 0) _# U. D3 Y! L+ i/ t  }

  970. . P! Y- a8 k5 k( A& W0 a& z
  971. [sqlite3]
    8 J: h$ v' C' T& }
  972. ;sqlite3.extension_dir =7 d' l0 j8 Z6 p1 j  b# ~

  973. ! U/ i9 N) I4 R
  974. [Pcre]! @" H' P, a# i5 N
  975. ;PCRE library backtracking limit.
    ' \. c5 V5 w' ^. l# D
  976. ; http://php.net/pcre.backtrack-limit
    0 E" Z$ s6 J. b1 E; M; V
  977. ;pcre.backtrack_limit=100000
    8 G! e  k4 z( ?" r

  978. 6 d6 O5 o4 y, q8 S4 s
  979. ;PCRE library recursion limit.: X- ~; t2 O6 m) p
  980. ;Please note that if you set this value to a high number you may consume all4 `" e+ G0 t7 `" W
  981. ;the available process stack and eventually crash PHP (due to reaching the
    . _9 ^, V: U2 o6 Q2 V
  982. ;stack size limit imposed by the Operating System).
    % Z- z+ Q: Y0 j7 m1 P% T
  983. ; http://php.net/pcre.recursion-limit1 @) E8 g$ S% C- U+ z
  984. ;pcre.recursion_limit=100000
    + Z# C4 N( j' s0 `; d1 _& s( k5 }
  985. 7 \) T$ j3 Q2 P$ v
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    4 `# j8 r' E  [$ O  `. y) g
  987. ;library to be compiled with JIT support.
    ) {0 n2 b$ \. p* T5 f
  988. ;pcre.jit=1
    4 x8 e! L. ~% k2 R  R3 L
  989. 7 p: {; U# N* d9 R8 G
  990. [Pdo]
    1 ^( _+ D0 T. o, L6 ?  y/ |& d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; v2 J4 X' a2 w1 G4 p
  992. ; http://php.net/pdo-odbc.connection-pooling1 }0 l% ^# [/ b6 D% Q
  993. ;pdo_odbc.connection_pooling=strict; J1 F- y* j6 F

  994.   o. e% m( N0 ~  R% O, _+ e
  995. ;pdo_odbc.db2_instance_name1 B* |( e6 R- b7 G+ t% s
  996. # h0 `- G0 B3 g) C1 u+ B/ f6 O5 z& P
  997. [Pdo_mysql]9 y$ [  o5 {+ Z1 p/ K5 K
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 {2 ?/ f$ y- e# [$ J9 `7 R
  999. ; http://php.net/pdo_mysql.cache_size7 b8 w. b% m" Y& ^" U
  1000. pdo_mysql.cache_size = 20000 u3 d4 P4 M( e$ U& R6 R( K  I1 m
  1001. 1 a5 ~) h3 y4 s4 k
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in- x5 X$ L/ ]  U# b& X# t
  1003. ; MySQL defaults.
    0 g: @  g* o5 M% |  A9 y
  1004. ; http://php.net/pdo_mysql.default-socket' m8 `% M, O- i, _( l; L
  1005. pdo_mysql.default_socket=- @' w9 p: b' m: l1 }0 J- j

  1006. " H, ]9 Z0 M' N+ T
  1007. [Phar]
    3 f% Z0 a! |4 k; m
  1008. ; http://php.net/phar.readonly5 N# v. \* D, @$ P& I9 I; ?: z8 f/ Y! T
  1009. ;phar.readonly = On% ^9 p  o4 F" ^) g1 w, H; m
  1010. 3 t, l# _1 B' ^) |# h
  1011. ; http://php.net/phar.require-hash
    3 q3 m. F) N; S+ q; x
  1012. ;phar.require_hash = On
    + w8 j* q) {+ w3 a# f5 L8 t0 N! [
  1013. / t; U& d) r/ j
  1014. ;phar.cache_list =
    9 W* S, I3 i3 H9 z
  1015. 5 h8 Q9 a* T7 f3 P
  1016. [mail function]9 W. R6 r1 t0 f$ z
  1017. ; For Win32 only.
    ! @$ s/ W) e1 \
  1018. ; http://php.net/smtp0 A" g  R: C6 G/ _
  1019. SMTP = localhost
    ; H9 y) X0 J' ]- `) w: O  B
  1020. ; http://php.net/smtp-port5 P. ^7 E0 c7 n, a" d2 ]8 v
  1021. smtp_port = 25
    ( F5 h+ u  T+ o
  1022.   H% {0 `3 _* S, ?; L" @3 S4 R
  1023. ; For Win32 only.; J& B2 _0 j) h
  1024. ; http://php.net/sendmail-from$ a5 W0 q5 ~+ o: {% @$ D
  1025. ;sendmail_from = me@example.com# G% |! P, I5 g- v2 }9 \+ U( D

  1026. : V" S. G0 x4 x" u6 n8 _0 u' q
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").9 K3 ~* l  Q( T8 g( ?
  1028. ; http://php.net/sendmail-path! p/ R. O+ ]- ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    7 @0 m3 H# O6 Z1 c

  1030. 4 C& a8 I) A9 ?- L5 y/ {
  1031. ; Force the addition of the specified parameters to be passed as extra parameters( B" w+ g: n" L
  1032. ; to the sendmail binary. These parameters will always replace the value of
    5 @. E5 n& A# U6 M0 Y$ ^
  1033. ; the 5th parameter to mail()., e0 @7 o  v9 Y" f5 m5 N1 g# [, |! J
  1034. ;mail.force_extra_parameters =+ ?; m: e  S& w( K7 Q+ d! U

  1035.   Z. X: x7 G6 u! }$ S5 j5 b; x
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    : u2 h5 ^1 b9 E3 x& w! M
  1037. mail.add_x_header = On
    9 }6 k3 G5 |) v2 A8 h
  1038. ) G' \! U; ^/ R: Y3 w  X
  1039. ; The path to a log file that will log all mail() calls. Log entries include) q& t( Z' Y. M& {
  1040. ; the full path of the script, line number, To address and headers.& j; t& u% P3 \% m" ^% a$ B
  1041. ;mail.log =
    2 n1 ~; l; j+ i: N' z
  1042. ; Log mail to syslog (Event Log on Windows).
    % o; X0 b" z8 l% J; h: \
  1043. ;mail.log = syslog) E! T: ~' I0 x) t- p3 W
  1044. $ B. j! h1 O! I( h* ^& [3 A$ p) {
  1045. [SQL]
    ' c5 C/ t) v4 s/ U
  1046. ; http://php.net/sql.safe-mode
    $ F! Q: P# p5 i5 P6 o- K/ V6 ~) `
  1047. sql.safe_mode = Off
    * Z5 i* X+ X& \4 l& E  Z# C
  1048. ; T2 C6 K7 t2 p0 ?: @: l
  1049. [ODBC]' T# z" h2 L/ Q1 e
  1050. ; http://php.net/odbc.default-db! L$ |5 H/ c. w8 T+ ]
  1051. ;odbc.default_db    =  Not yet implemented
    8 L$ H3 ?: {6 h6 ]0 s
  1052. % i( L1 x0 H0 J. e5 B* \( S
  1053. ; http://php.net/odbc.default-user, t9 t: v  w+ F4 E+ H$ N' f, ^
  1054. ;odbc.default_user  =  Not yet implemented9 G/ s0 O* J( M3 V0 t5 z
  1055. ; X' K) u, ?4 A) y# F. u8 @
  1056. ; http://php.net/odbc.default-pw' h$ R, C8 y( k7 a' y1 G# p; ]2 V! d; A3 r
  1057. ;odbc.default_pw    =  Not yet implemented4 x2 }1 z2 R8 P$ N" i

  1058. % Q5 Q3 \3 J: L
  1059. ; Controls the ODBC cursor model.6 T3 F( t6 ]. a& V6 ]' k* T3 m+ t
  1060. ; Default: SQL_CURSOR_STATIC (default).# I! x/ a, k2 ^
  1061. ;odbc.default_cursortype
    " ^) O* I( _. @7 R) V

  1062.   E6 S1 D4 |( o- @  d0 l4 \
  1063. ; Allow or prevent persistent links.
    / _% d- S" R6 G4 L" i
  1064. ; http://php.net/odbc.allow-persistent/ [  W% z# P" I# R- I
  1065. odbc.allow_persistent = On+ G5 [% ?8 K. o7 ^
  1066. & ^/ h4 Z/ T9 `: C: g
  1067. ; Check that a connection is still valid before reuse.
    ' L7 C* J9 a; l" V
  1068. ; http://php.net/odbc.check-persistent
    * L/ K' j6 r. S3 Y/ d
  1069. odbc.check_persistent = On9 _; v, y5 O) d8 ^- g# ~0 g

  1070. 5 `5 T; ]2 }0 z9 |
  1071. ; Maximum number of persistent links.  -1 means no limit.
    % Z  E% l3 g% O; P
  1072. ; http://php.net/odbc.max-persistent
    . Y; J* s- S1 E+ R- y. w% b
  1073. odbc.max_persistent = -1, f! `7 L; t) P
  1074. + Y4 A6 O5 ^8 ^' R* F7 K
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; w! k2 V" D$ {6 a- c: f
  1076. ; http://php.net/odbc.max-links+ Y. b! z' b" o$ \6 M5 F6 A; N
  1077. odbc.max_links = -1) ~- I2 ^8 \7 w% y3 `

  1078. 9 n" h* f3 f8 `% c+ m1 W/ k
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ K9 d" |8 g. G1 F; M1 z0 u, K
  1080. ; passthru.
    4 W. W# q) Q6 C5 R6 i) G' V
  1081. ; http://php.net/odbc.defaultlrl4 G! b  J* b) L3 `$ F' g6 N
  1082. odbc.defaultlrl = 4096$ H0 _' K3 Y4 `
  1083. 9 E/ N4 D5 w9 e6 ]% R
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 d" x, S2 F; P' |& @
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( S" p' g8 L7 b! q
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 G1 o1 Q; L* N0 R  W! w0 u' V
  1087. ; http://php.net/odbc.defaultbinmode
    ' j5 L( P7 S5 H, ?
  1088. odbc.defaultbinmode = 1
    $ O- `( l+ t" h

  1089. % t4 Q  I2 C  h& S& D
  1090. ;birdstep.max_links = -1
    3 q4 v+ w( y1 \
  1091. 1 i  x3 n) Z. t5 }6 |/ `
  1092. [Interbase]2 o7 G% k  e& z# y" d* A
  1093. ; Allow or prevent persistent links.  x6 J& ^" t0 Y
  1094. ibase.allow_persistent = 1
    7 H9 t! d5 G; O) r+ \- T0 X
  1095. $ a( ~8 [3 C) s7 E. t* c
  1096. ; Maximum number of persistent links.  -1 means no limit.. V1 O; m4 x8 G  J+ u0 A& B
  1097. ibase.max_persistent = -1' P5 U. y' B$ `) k

  1098. $ T7 }, ?3 C: I
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ F) m" t- i# M* Z7 S/ I# T
  1100. ibase.max_links = -1
    7 ?! l3 [, \9 W$ q

  1101. 0 I4 K- M5 Z4 ~7 B) H
  1102. ; Default database name for ibase_connect()." F3 Q) ]& O/ T. `
  1103. ;ibase.default_db =
      C! b# V% p' k$ J; A; u6 u

  1104. 0 q) F1 N2 f# b
  1105. ; Default username for ibase_connect().
    6 d4 z/ b& U0 @" f
  1106. ;ibase.default_user =: h$ o! y* G8 B1 R) z* [' Y! W" ^

  1107. , M3 \" k. q' W0 L# A% S
  1108. ; Default password for ibase_connect().
    # _, q  ]. P* n0 y! F* ]
  1109. ;ibase.default_password =
    . l0 k/ a, [" y# S
  1110. 2 m+ v  C: p* V% Q/ I, [
  1111. ; Default charset for ibase_connect().
    ( e& p8 z& w6 J9 Z* E( Y6 a
  1112. ;ibase.default_charset =
    6 ]1 J9 n: [! E- G. b4 \

  1113. 9 O* j2 V; D: q% S2 F
  1114. ; Default timestamp format.! V* t4 F0 K3 E! A7 [' a$ g
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") _8 u# t8 E' J; N. D& {

  1116. 0 s/ _; L% ]$ a, ?( B  F
  1117. ; Default date format.
    ! U! u! s' f$ s$ g  _! m" I
  1118. ibase.dateformat = "%Y-%m-%d"
    $ {  w) T& x& D& c* ~

  1119. 4 N+ W: E! Y2 f- a! P
  1120. ; Default time format.) u% m$ d; y$ c  W
  1121. ibase.timeformat = "%H:%M:%S"
    2 G6 u% x. u4 S7 ?" i! g6 l. |
  1122. 9 K, }& ?% `( K5 `+ q# o+ n
  1123. [MySQLi]
    , ]; R" ]# ?4 N& M
  1124. ) E3 y# _' V! ^) g
  1125. ; Maximum number of persistent links.  -1 means no limit.! G) {) F. G, Z7 d" g
  1126. ; http://php.net/mysqli.max-persistent, T8 h1 ~) [' l2 E; x3 o5 Y. G
  1127. mysqli.max_persistent = -11 G: S; R; ~2 U9 b& s

  1128. 0 |' c6 J9 K9 z, d+ `+ U- Y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . ^% g- s: b4 m1 A0 t/ @' g( T
  1130. ; http://php.net/mysqli.allow_local_infile$ R$ F( Z. w& y+ o  Q% W* {9 D1 `
  1131. ;mysqli.allow_local_infile = On2 H% e2 H  ?: U0 _; T9 J

  1132. 3 e, G, D! u8 r) ]/ S
  1133. ; Allow or prevent persistent links.
    . h: S2 }1 K  B  e3 d
  1134. ; http://php.net/mysqli.allow-persistent
    * d2 \. O* G5 _4 c; t
  1135. mysqli.allow_persistent = On
    4 F& Z3 I- u& Q
  1136. / b; I# f8 N& t, k9 c& A8 R
  1137. ; Maximum number of links.  -1 means no limit.
    1 m: I( |( p4 g( C2 I7 }. p( e
  1138. ; http://php.net/mysqli.max-links: n5 _: @5 J5 B$ Y
  1139. mysqli.max_links = -1
    ' w  F: I0 L: @* g6 J6 Z
  1140. % e' C& p: b6 C! V9 P
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # q8 A, a: a' U# E4 O* |7 e0 k
  1142. ; http://php.net/mysqli.cache_size
    7 \& R3 k: W* N
  1143. mysqli.cache_size = 2000
    6 g/ D6 }$ A+ I9 }1 ]% E
  1144. / _& E$ P+ Q+ `1 ^
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    6 k3 S  p9 s. K
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! ?6 r' \! u: `- _5 k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look* B/ ?/ O$ C" G  ]7 g
  1148. ; at MYSQL_PORT./ T$ Y& M4 ~# j* e
  1149. ; http://php.net/mysqli.default-port
    0 G8 j: p/ j" ?) t
  1150. mysqli.default_port = 3306
    8 Y, k7 ?2 }5 B& H( _8 g$ g

  1151. 1 m. U7 n8 O, j, E, p7 ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " E  ]7 o& r& s9 I7 v4 ]* r
  1153. ; MySQL defaults.. s5 x% F! Q: Q+ a
  1154. ; http://php.net/mysqli.default-socket6 c1 m  ^6 E9 Y
  1155. mysqli.default_socket =4 a6 w4 |7 I5 x/ l

  1156. 8 v3 d/ i, _0 {! X% H
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 n" Y2 \& q) u3 o& z0 @) Y' m
  1158. ; http://php.net/mysqli.default-host4 W$ l# g- ^2 l& |6 ^
  1159. mysqli.default_host =
    # I6 |; c$ G2 z. q; Y, h& P) {
  1160. $ B' O# X- g" y' m+ K- x
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).8 e, Q6 D, b+ V$ G. [$ i
  1162. ; http://php.net/mysqli.default-user
    2 D( w5 s! w! [! m# S  I! E- B
  1163. mysqli.default_user =" P0 m8 Q, v+ x9 `8 O; L

  1164. 5 E* O5 h+ t" p6 `* r& z2 z, ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 S2 Q3 W, T2 {0 a
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 ?$ U" H! U& V+ ~: @" ~
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 R& ?# r1 `% y$ j0 U
  1168. ; and reveal this password!  And of course, any users with read access to this2 C% a& ~' R' Y0 b( k* S& Q7 i( Z
  1169. ; file will be able to reveal the password as well.
    / V; W' j! y3 z) }1 R1 {  Q: E4 m
  1170. ; http://php.net/mysqli.default-pw& F4 e/ j7 n( M2 q/ A- ?
  1171. mysqli.default_pw =
    ) y; M0 U$ E. @. U& _% Z

  1172. / }) }% e# m+ A- O! n4 ^$ e( e3 S
  1173. ; Allow or prevent reconnect8 P9 y0 f$ w! Z3 m
  1174. mysqli.reconnect = Off
    # j% c) L# S+ W9 T, j: U

  1175. + J4 q" A$ n5 e& D
  1176. [mysqlnd]  ?! d) [, s' a# {) O
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( Y0 j- {! N( X+ [& o
  1178. ; used to tune and monitor MySQL operations.
    9 z9 P/ K, O$ W
  1179. ; http://php.net/mysqlnd.collect_statistics
    . e: v2 s6 k9 e7 u& }4 I& M
  1180. mysqlnd.collect_statistics = On
    . F( P: K& `" {
  1181. 6 N, Q" c1 T- A  l/ ]& Z
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    9 P& L; w( G8 P3 X
  1183. ; used to tune and monitor MySQL operations.
    4 ^3 G. J9 e9 |: w6 U
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 i4 p9 C' w) i1 u
  1185. mysqlnd.collect_memory_statistics = Off
    " |! b+ F/ \3 H4 P
  1186. 1 N2 W! E5 S6 q: [4 m) Q9 {6 f, n
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    4 b7 r; S' Y" t
  1188. ; file.  _3 K8 [+ P% r: `
  1189. ; http://php.net/mysqlnd.debug
    ' S3 C: p. J; j( Y
  1190. ;mysqlnd.debug =( x4 {0 q( A' i/ f
  1191. " G: t$ G; O9 C) u) O
  1192. ; Defines which queries will be logged.+ C9 O/ Q4 U( M" q$ W
  1193. ; http://php.net/mysqlnd.log_mask
    , D0 p( L) ]+ e" C2 b5 R" P+ Z8 y
  1194. ;mysqlnd.log_mask = 0  I( D' z* J8 X" j" \2 x
  1195. . u* _0 E% I' b. s2 U
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' o+ C- W0 L3 q3 k: U
  1197. ; http://php.net/mysqlnd.mempool_default_size' l; I. T$ t* b1 F6 N' p
  1198. ;mysqlnd.mempool_default_size = 16000
    7 _+ s# q" [% V! B( L! U

  1199. & Y7 q* U3 E; Q$ V& \
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    & M% Z* t3 z, U2 d) \* q
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    4 D* ^8 `! s) @/ y! C0 u
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ) Y' E: h6 g2 G# v+ s: \
  1203. ; g# h% ?0 y8 N# A
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in3 j: T" ]! r/ m' V1 B$ ^# B
  1205. ; bytes.
    * ]: N3 P% M2 _; {
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    $ S- N5 }! G" z9 m5 H/ S
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ( ^3 u  b, j% B
  1208. - H& W( O3 j7 ~8 G
  1209. ; Timeout for network requests in seconds.) y" F/ s+ _3 E1 `, ]2 L; U
  1210. ; http://php.net/mysqlnd.net_read_timeout
    - C# w6 M6 x/ M6 `
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 _4 H  ?# A  d8 g8 X3 z5 I/ A0 u
  1212. 0 [, n& y1 |, Y" f: I
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA3 L( V/ ^2 v3 H9 w7 D
  1214. ; key.' _) r" S' R8 T( x& a/ t
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
      p' i7 l' g- {; f
  1216. ;mysqlnd.sha256_server_public_key =9 P6 E8 I0 L; {, M; V" Q7 u$ P

  1217. " a+ a+ V; y+ h3 b  j* Y& r: ~
  1218. [OCI8]4 G9 ]- r  b; K$ A# t' e
  1219. % _2 F2 e2 o3 `+ \- K. n/ ^
  1220. ; Connection: Enables privileged connections using external
    6 c, O3 q, J! y
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA). r, p' W3 J3 Z1 c( p
  1222. ; http://php.net/oci8.privileged-connect# ~' C, R' `4 U$ J7 l. k1 k: X
  1223. ;oci8.privileged_connect = Off& z2 ?2 B, H8 p" A

  1224. 0 Q) Z* P- t9 F5 x& t
  1225. ; Connection: The maximum number of persistent OCI8 connections per3 n" ~8 U# [# a: q
  1226. ; process. Using -1 means no limit.! B! i  X+ K/ Z+ }- S2 l% U
  1227. ; http://php.net/oci8.max-persistent+ Q4 B! {/ I, L. W  C
  1228. ;oci8.max_persistent = -1& t$ r, D0 `% i3 U1 i$ f

  1229. + H& A& _5 c' W& T# t/ K" z
  1230. ; Connection: The maximum number of seconds a process is allowed to$ d% U# p" o7 ~
  1231. ; maintain an idle persistent connection. Using -1 means idle! v: W" e& Y$ ]& F9 f
  1232. ; persistent connections will be maintained forever.; A2 C9 M8 S5 m; X
  1233. ; http://php.net/oci8.persistent-timeout
    # A' ~$ A% L. `% _% ~
  1234. ;oci8.persistent_timeout = -1, J6 p8 y% i  f# S1 h" l1 q% T

  1235. 8 Y; t, g& B: d4 r3 W* X5 l
  1236. ; Connection: The number of seconds that must pass before issuing a+ m, b3 c( }; G+ v$ [
  1237. ; ping during oci_pconnect() to check the connection validity. When
    , Q( M  q4 N7 Q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! t2 Y. |# H, f8 Z6 m  y& y4 V
  1239. ; pings completely.: M; }0 L1 D, Y1 }* S( H; S
  1240. ; http://php.net/oci8.ping-interval1 T; ~. N5 V  X
  1241. ;oci8.ping_interval = 60' c" L; ?# f- B' _! H5 O

  1242. 1 b/ M( Y: F$ @- k
  1243. ; Connection: Set this to a user chosen connection class to be used
      m0 g' ~1 B6 h. g- S+ o2 N& B' H
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / A/ G$ r& l4 O8 b0 W
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 {3 @% {+ _  Y
  1246. ; the same string for all web servers running the same application,
    . O  E  y4 t; P+ a# ?' Q
  1247. ; the database pool must be configured, and the connection string must/ V. Y3 `5 X# S; x: X  s
  1248. ; specify to use a pooled server.
    ; [" Y: k+ w; d" s, c) P9 s+ k
  1249. ;oci8.connection_class =6 z  h6 x# l/ B' R% O7 K

  1250. $ S: Z( w2 {$ i% n
  1251. ; High Availability: Using On lets PHP receive Fast Application  [1 T8 B; M" c" X, f! ?1 Z/ Q
  1252. ; Notification (FAN) events generated when a database node fails. The3 N# S$ V$ p$ H* ]( W5 u6 Y$ j
  1253. ; database must also be configured to post FAN events.
    / J) V/ T/ Z6 W0 j% P
  1254. ;oci8.events = Off
    " H1 L) R: |+ ]" m4 b* v3 o5 N
  1255. 8 E" w& s: I2 D  i
  1256. ; Tuning: This option enables statement caching, and specifies how% M' A( z. f+ A1 g% K
  1257. ; many statements to cache. Using 0 disables statement caching.1 }- c+ G" {2 V
  1258. ; http://php.net/oci8.statement-cache-size, \/ w  P; @  f4 U' i; H% z
  1259. ;oci8.statement_cache_size = 20
    . I# ?8 o% U" l+ p- e  u
  1260. . a7 O- W! |# _* v# r( [
  1261. ; Tuning: Enables statement prefetching and sets the default number of: z2 \3 t1 a& e" i' @& Z
  1262. ; rows that will be fetched automatically after statement execution.
    $ R- L& N6 L( C. H, X% l- `
  1263. ; http://php.net/oci8.default-prefetch
    9 H" `8 ]5 N- C$ z  n& S5 F" p; m
  1264. ;oci8.default_prefetch = 100! [; h$ n8 X6 J1 t( B

  1265. ' L0 n' C* Q# ]( a( w; u
  1266. ; Compatibility. Using On means oci_close() will not close* [" L+ F3 j- b. S2 U5 b
  1267. ; oci_connect() and oci_new_connect() connections.
    & K. w2 \! O  P2 a
  1268. ; http://php.net/oci8.old-oci-close-semantics
    % B+ |! v  U7 x5 j1 w. H
  1269. ;oci8.old_oci_close_semantics = Off
    6 ]3 X. H4 d: Y
  1270. 0 z) [) a; U8 [$ H
  1271. [PostgreSQL]
    6 K5 T7 }; x' G
  1272. ; Allow or prevent persistent links.( p# ~# E7 r4 u% ~' p
  1273. ; http://php.net/pgsql.allow-persistent
    6 S* ]. \' ^9 T' L: m
  1274. pgsql.allow_persistent = On" P3 ]2 l0 {" E

  1275. # S- `. d, q- E! D( G% x$ P& ~2 ]
  1276. ; Detect broken persistent links always with pg_pconnect().$ o" U0 n; c" h) k
  1277. ; Auto reset feature requires a little overheads.
    9 a. s' P. j! B/ ~& I
  1278. ; http://php.net/pgsql.auto-reset-persistent! m1 @5 l6 t& l# _  j' D
  1279. pgsql.auto_reset_persistent = Off8 h/ g& ~* c+ }1 n+ @

  1280. ( n3 ^' {, C" J! B
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " \" }/ z$ A8 ?" f  S3 ?$ `
  1282. ; http://php.net/pgsql.max-persistent
    4 q" N( L" G$ G1 z
  1283. pgsql.max_persistent = -1
    - b2 L+ y8 K: P& T: z5 [. Y

  1284. ! d# ?0 U/ O. S* u  f# P
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.  f- L* b6 k4 K* P
  1286. ; http://php.net/pgsql.max-links
      F3 u% r3 H/ M) X$ F: u* m( G
  1287. pgsql.max_links = -17 H2 U, \# {0 I( k- x

  1288. . ~; c% r: g) b# m
  1289. ; Ignore PostgreSQL backends Notice message or not.; O3 g, ~: M, N# a) X* C
  1290. ; Notice message logging require a little overheads.
    - H8 H. L: u# j' F' j: A
  1291. ; http://php.net/pgsql.ignore-notice
    ' h2 V0 U( P, w8 U! Y, }
  1292. pgsql.ignore_notice = 0& ]+ s! D  w7 U0 v+ }2 X' ~) X
  1293. 7 v, }  Z; f6 N! r- A8 b
  1294. ; Log PostgreSQL backends Notice message or not.
    2 `3 k/ L- H; J1 S( j5 O9 H
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    : q0 e0 y# u! \2 e* L% J" A1 O
  1296. ; http://php.net/pgsql.log-notice- \! y/ c& O) J: H% O1 G
  1297. pgsql.log_notice = 09 u* |+ r- u9 d" ~
  1298. : g! g. {9 T# y9 B
  1299. [bcmath]
    0 T& E0 K( _5 M/ M
  1300. ; Number of decimal digits for all bcmath functions., ?; M% [/ \/ n0 _6 w* e
  1301. ; http://php.net/bcmath.scale
      \6 _2 t7 }' O: ^# Q
  1302. bcmath.scale = 0
    $ F4 r" }. X) a. }$ R

  1303. " a# `- L& S$ x, C8 G- e
  1304. [browscap]
    ( i$ X$ a5 X( |8 Z( m3 v
  1305. ; http://php.net/browscap1 U' F4 Z4 y* [
  1306. ;browscap = extra/browscap.ini
    3 Y( ^3 i5 j6 b; h. C4 ?$ |) k
  1307. % i- _" s2 Q4 W
  1308. [Session]
    3 w2 C$ d1 |, c/ k' Y% L
  1309. ; Handler used to store/retrieve data.! ]$ y' [4 Z. k. h  \" D. A. @
  1310. ; http://php.net/session.save-handler
    8 L0 v% ^. L: p) j  D: O+ S
  1311. session.save_handler = files( o) \8 m; ~, q% I2 ~% j1 U
  1312. + a1 Q/ N8 l! Q- b5 f& J2 P/ l' k0 K
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 W$ \5 s/ ]. r  J: C
  1314. ; where data files are stored. Note: Windows users have to change this
    3 y5 x9 o" N- N" x: \; {2 w4 j: k- g* f3 N
  1315. ; variable in order to use PHP's session functions.
    $ O0 g1 @4 [. U
  1316. ;
    ' H* A/ ^7 [2 {8 y3 W
  1317. ; The path can be defined as:
    7 f$ m9 J; s% `& x$ p6 z8 ^
  1318. ;; \) s) B/ F/ r* d6 g; s- ]
  1319. ;     session.save_path = "N;/path"
    7 j; N" {; O# g- g
  1320. ;2 p8 X, A4 r& S6 F6 O; S
  1321. ; where N is an integer.  Instead of storing all the session files in
    7 @3 M' v2 K# {/ ?. I8 t
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ! n! ^! V! l, k4 N& P
  1323. ; store the session data in those directories.  This is useful if$ B$ t3 R+ I# U6 v$ Y7 p
  1324. ; your OS has problems with many files in one directory, and is( {, C/ t$ D0 I3 o6 x+ o
  1325. ; a more efficient layout for servers that handle many sessions.
      l- s. Q( Y# a  I
  1326. ;
    9 [  @9 q0 |. v& P3 b0 ^
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ' P: E1 f; \. A, t% b2 B
  1328. ;         You can use the script in the ext/session dir for that purpose.3 |% i' }3 b! s
  1329. ; NOTE 2: See the section on garbage collection below if you choose to$ B9 Z$ N$ x" r; T: ]5 |: I" ~
  1330. ;         use subdirectories for session storage
      U6 y7 Q  B( L/ U
  1331. ;
    , v4 f0 d3 ~$ m9 p3 N, T$ E
  1332. ; The file storage module creates files using mode 600 by default.; }  I$ h7 z0 C! b
  1333. ; You can change that by using
    " p3 l. l1 a, ~9 E2 M4 w
  1334. ;
      X4 F1 }7 j( a  W
  1335. ;     session.save_path = "N;MODE;/path"1 e& y8 ?! f6 j+ T# V2 c4 g" F5 x
  1336. ;
    : J; {4 a* C2 s, Q  t
  1337. ; where MODE is the octal representation of the mode. Note that this% G% e5 r8 K" B3 _+ @& H0 [
  1338. ; does not overwrite the process's umask.
    3 [! K1 s/ Y' m1 C1 b0 O1 F
  1339. ; http://php.net/session.save-path
    # e! D' z/ N8 S" ~$ z
  1340. ;session.save_path = "/tmp"
    / B- u+ L5 b4 G  }
  1341. - B% h9 j+ F  H  o5 @
  1342. ; Whether to use strict session mode.) r% \8 P/ }* ~$ M: C! l
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ) F* A  R7 z/ |6 o8 x4 ~
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects4 z) r+ o8 N, k! R  K& X2 U
  1345. ; applications from session fixation via session adoption vulnerability. It is0 [5 A  x* t* ?# a- n+ o$ u
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.% ~% [* u$ b  g3 x6 L
  1347. ; https://wiki.php.net/rfc/strict_sessions
    0 ?9 I/ H, y8 M) Z  o2 |) {: @. s
  1348. session.use_strict_mode = 0
    # F( Z# x% \! s9 e, |+ E
  1349. " a3 E2 j% y: n
  1350. ; Whether to use cookies.
    2 Y% j7 ~, J. g) c6 A" _
  1351. ; http://php.net/session.use-cookies  n+ J7 A6 g) Q# L, T6 `8 q. u  l! F
  1352. session.use_cookies = 10 u) R5 ~! d3 U0 G9 x( m

  1353. 4 M4 k2 `7 A0 O
  1354. ; http://php.net/session.cookie-secure
    , g; e* a; P; \
  1355. ;session.cookie_secure =8 U1 ?* M/ w' ^' j- a% z! U

  1356. 8 @2 x: y) a6 Q4 ]2 Q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! k0 ?0 z( ?8 S% ~, B4 y' j4 D2 q, K
  1358. ; the session id. We encourage this operation as it's very helpful in combating& S% j* m( x/ w8 [2 C
  1359. ; session hijacking when not specifying and managing your own session id. It is
    5 K  O+ `( t( w1 L: r& p. ~5 V
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start., d' p) N" b$ d' H! A% u
  1361. ; http://php.net/session.use-only-cookies
    ; ]- p% X# N3 M5 r1 F7 Y& O2 T
  1362. session.use_only_cookies = 1
    6 K/ z) V; g2 A5 X
  1363. + r' y4 Q3 f0 x
  1364. ; Name of the session (used as cookie name).
    ) P/ f5 z9 V! B! m
  1365. ; http://php.net/session.name/ _) t# N6 k/ W+ y5 R
  1366. session.name = PHPSESSID
    : I' k' c5 l% }

  1367. 7 f! X0 o  ]( F
  1368. ; Initialize session on request startup.6 D' F' v. M8 z5 Q7 o" k* G& u
  1369. ; http://php.net/session.auto-start% m- ^8 k+ z8 `! ~& ]
  1370. session.auto_start = 0
      v/ h8 }4 |: t
  1371. 3 I6 g0 p7 h. F: c! w
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: t2 b2 _0 L1 L1 u
  1373. ; http://php.net/session.cookie-lifetime
    , D1 E+ `8 t; D7 r6 S' C
  1374. session.cookie_lifetime = 0& \# p1 _/ d( F' M
  1375. # W3 S7 y' Q7 [4 L& o+ `
  1376. ; The path for which the cookie is valid.
    ' V3 o* t9 X% _
  1377. ; http://php.net/session.cookie-path
    2 E- U, Q/ r( F( v  I
  1378. session.cookie_path = /
    7 ^+ _9 u! A7 x, E3 p$ m. q1 [9 N+ V
  1379. # t6 ]5 A2 Y/ F
  1380. ; The domain for which the cookie is valid.7 |1 [, T* P/ b' i( r, C0 n& ~) J
  1381. ; http://php.net/session.cookie-domain0 m" v2 {' a3 J. O
  1382. session.cookie_domain =( n) |3 g+ z6 A/ A" p/ X6 f2 A
  1383. 6 ^. @$ o" g. Q8 G: D5 d$ H5 `7 v' I; K
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    : j* O; a* p5 ]/ b. c# d
  1385. ; http://php.net/session.cookie-httponly7 N- T0 W! b0 t. s
  1386. session.cookie_httponly =2 [- A9 q: w. E* q3 l  W
  1387. ; ~" Q% c9 Q2 p' }/ V7 |
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.  n( ^, e  M; X3 C, g7 X9 J/ a3 |
  1389. ; http://php.net/session.serialize-handler$ V0 M5 n* q: r$ d  r& ?
  1390. session.serialize_handler = php4 l9 t3 j. O( k

  1391. 7 n2 d. b' T; S/ j3 B6 h
  1392. ; Defines the probability that the 'garbage collection' process is started
    ; L6 K/ D$ d4 ~3 m) {, b. U3 c7 _
  1393. ; on every session initialization. The probability is calculated by using* Q3 n" f1 M* H) y" Z* I! V' [+ A
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    3 z6 W. `" G; `+ I4 X' r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1/ e8 I9 |$ M0 B- ~/ u, A2 N& K
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 s4 Y, ]- t) j: B6 l) |# F; [
  1397. ; the gc will run on any give request.4 ?8 K9 g$ I2 C6 p* Y9 m
  1398. ; Default Value: 1( `5 u2 z+ K: d. }3 S
  1399. ; Development Value: 1& |- R  [& y) A2 M  E+ B8 e
  1400. ; Production Value: 1+ W# W1 S: B) t; i$ P+ H- o
  1401. ; http://php.net/session.gc-probability
    : s5 V' _- n# d7 u4 V0 }2 {7 b
  1402. session.gc_probability = 1* D- \  S6 q5 _  m3 A9 @$ N% j

  1403. ! {) t4 d  T4 E5 S) V, g  \+ H) D
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    5 v- T  ~" |# N# ~! ^1 f, {' y
  1405. ; session initialization. The probability is calculated by using the following equation:4 n  V; X" Q2 q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  w# _1 x" E  g, W; p6 O9 |1 y
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - ^7 L5 W7 b9 H! ~+ N, w# s
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 d$ ?2 N+ _4 A: P! S1 N8 [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you3 t/ N7 O5 m/ A! g1 U2 M
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 S' @6 u9 [" W% F2 b; F8 N
  1411. ; this is a more efficient approach.
    " i; Y' F3 q$ ^$ ]6 E
  1412. ; Default Value: 100
    $ u6 a/ u* Q' m0 e5 G+ T  I$ W
  1413. ; Development Value: 1000
    9 w$ O. \  }% p
  1414. ; Production Value: 10009 A/ t- `" ]" r9 }
  1415. ; http://php.net/session.gc-divisor
    # I* `* M, g5 h7 Z: E, ]
  1416. session.gc_divisor = 1000
    ; m( {2 D7 x* x6 u6 H
  1417. % Y9 {  y2 i8 z% y- n5 ~; x
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    9 \9 y+ e- v7 |# p
  1419. ; cleaned up by the garbage collection process.
    . D# }* H6 _2 K; e: a: O
  1420. ; http://php.net/session.gc-maxlifetime
    , h1 C" W% b( L& {7 {
  1421. session.gc_maxlifetime = 1440
    2 {/ R) N: u  f5 Y& ^' K

  1422. $ q8 Q/ [$ U0 x8 Q4 d
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    % F) c$ j& S1 {( V. i5 k9 c3 K2 I+ y
  1424. ;       (see session.save_path above), then garbage collection does *not*
    8 f6 x0 w3 v, B, _2 D1 z: n/ I5 ~- D, o
  1425. ;       happen automatically.  You will need to do your own garbage
    9 j& r0 E9 s3 j5 F: K/ N4 j
  1426. ;       collection through a shell script, cron entry, or some other method.
    9 h# N9 X! u. G/ M' F
  1427. ;       For example, the following script would is the equivalent of5 o4 K( }- C; T
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 s2 Y+ V  @: P; T- b3 G! s- t
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 V* P+ {3 p- ]4 A
  1430. & @  U- H1 w/ D8 E) F. @1 ]
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    $ K) v. k. C" |& P" p! w1 i
  1432. ; HTTP_REFERER has to contain this substring for the session to be" A  k% d- h$ k2 J# l0 w
  1433. ; considered as valid.
    / j2 s7 u% B( J( t
  1434. ; http://php.net/session.referer-check
    ( E+ j5 A- y# i/ p% j6 _+ X( A/ w7 F$ O
  1435. session.referer_check =2 A7 Q* M+ B, v% u, F6 c
  1436. / r+ r' o) S+ M) V: @9 q+ d  d
  1437. ; How many bytes to read from the file.% L5 r2 A7 ]& c) K# p. v" |% }
  1438. ; http://php.net/session.entropy-length/ M2 a' u  b& N2 i
  1439. ;session.entropy_length = 32- Q9 |; F" p7 l3 p% S4 O

  1440. ( h8 s! r0 D8 C. J
  1441. ; Specified here to create the session id.
    " t5 `4 _2 T5 h1 r% r" @
  1442. ; http://php.net/session.entropy-file
    ) @( x' }% c  t% s
  1443. ; Defaults to /dev/urandom
    6 s, @6 O; K. A0 Y& D$ g8 J8 ^
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ! V* l8 O" L; V
  1445. ; If neither are found at compile time, the default is no entropy file." ?+ q; }* o$ f: A7 q7 g
  1446. ; On windows, setting the entropy_length setting will activate the
    5 S# b4 Y% I% F3 I
  1447. ; Windows random source (using the CryptoAPI)! o, M; C; [5 _7 y% J5 F- ^
  1448. ;session.entropy_file = /dev/urandom1 ]6 }& e' D) L/ n$ |6 }' P: C

  1449. 3 @! c' k$ ]. r
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    # W# {9 H, g* r# Q: ]4 {8 K: D" m: _
  1451. ; or leave this empty to avoid sending anti-caching headers.
    4 a* O5 U: p5 j9 _
  1452. ; http://php.net/session.cache-limiter( b- v4 x4 m6 X3 c8 N2 a- B  c& P
  1453. session.cache_limiter = nocache" v- |. S+ r! _5 \" I. H
  1454. 5 x/ a) k7 b+ y) B! Y2 N
  1455. ; Document expires after n minutes.) g8 q, _0 }2 m- O$ Q3 h( C& t- q
  1456. ; http://php.net/session.cache-expire
    4 y% `; M) B6 K
  1457. session.cache_expire = 180
    9 |0 Y# R3 M) J( a
  1458. . ?0 R' R( N8 T/ o; Z  P3 C
  1459. ; trans sid support is disabled by default.8 d' ]8 Z8 y; U! X0 c
  1460. ; Use of trans sid may risk your users' security.7 Z6 y7 X/ m& q
  1461. ; Use this option with caution.) O. i& u8 ~) u! ~. f! L" V' w: Q
  1462. ; - User may send URL contains active session ID; {9 K7 q4 O1 s5 G% J+ D
  1463. ;   to other person via. email/irc/etc.
    5 t- E9 [. A3 U5 w8 p3 x
  1464. ; - URL that contains active session ID may be stored
    # ]) J0 {# o0 \! ~9 ]
  1465. ;   in publicly accessible computer.
    / y: ]1 |: v  ^& M( ~$ T
  1466. ; - User may access your site with the same session ID  _* f! Q$ k* [. @% E% A1 C
  1467. ;   always using URL stored in browser's history or bookmarks.
    " [2 R8 m& T5 u3 e
  1468. ; http://php.net/session.use-trans-sid
    $ S; J  w; ~  v+ y
  1469. session.use_trans_sid = 0' X2 n; n" m# d1 N  ]3 T  r3 K; E
  1470. 9 Z/ p, f) O# B% W  p" w, L
  1471. ; Select a hash function for use in generating session ids.# ^+ G8 i3 i% H1 m
  1472. ; Possible Values2 Y/ p+ a. _- @, U) Z
  1473. ;   0  (MD5 128 bits)" }  D! H$ R! `8 U
  1474. ;   1  (SHA-1 160 bits)
    0 k6 l  X/ e( \- B+ s0 ~1 p
  1475. ; This option may also be set to the name of any hash function supported by8 E3 C5 I# r! ]8 T
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / q4 S! g6 s" @" X! {
  1477. ; function.
    * V. Y! W& Q/ z
  1478. ; http://php.net/session.hash-function
    2 V8 s8 y7 b7 \$ J5 e
  1479. session.hash_function = 0
    ' {2 N2 [! t% Z3 q5 i- w
  1480. " b% h1 q1 p, k% U
  1481. ; Define how many bits are stored in each character when converting4 W: Z5 K$ ]' m/ u
  1482. ; the binary hash data to something readable.
    , c! n; y6 J( w1 v
  1483. ; Possible values:& p6 V6 y/ [0 h9 Q0 k% P3 i- Z2 Q
  1484. ;   4  (4 bits: 0-9, a-f)
    : e+ V- ~5 _! y5 y% m3 S8 v4 ?
  1485. ;   5  (5 bits: 0-9, a-v)6 s" V1 r" M4 f& J: e: d+ W# T
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): z3 S7 i- ^$ u7 R$ }5 M
  1487. ; Default Value: 42 v8 D" ^$ Q) R9 C
  1488. ; Development Value: 5! }% ~7 j  A' u3 c) ~2 S* \6 P2 D
  1489. ; Production Value: 5
    * O' R' e2 \8 q6 X% I  L
  1490. ; http://php.net/session.hash-bits-per-character
    / ?# d8 g1 I+ |) r3 B6 \4 ], Q
  1491. session.hash_bits_per_character = 55 d2 u/ `; [+ C7 w' z. V$ _9 y) w

  1492. . G7 @1 l3 j" W  m1 \% P
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    $ \: e& C4 r: i% ]5 w
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    * O) i) u' B4 W
  1495. ; add a hidden <input> field with the info which is otherwise appended
    " j, ]3 s* d: K( o6 O# M
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    . V8 F2 g4 M/ Y! A) C( p  r) ^
  1497. ; Note that all valid entries require a "=", even if no value follows.$ n  }5 d+ h0 t7 z5 {) r' n7 t
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : w) M* W1 O6 C2 n
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 Q2 U% m, a" O1 m2 ]
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ r$ ~( H" ]; K: `$ i, m. j
  1501. ; http://php.net/url-rewriter.tags
    4 @( [" g- O4 E, n7 F  K/ C" v6 Y
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 H6 U% `4 w* h+ K4 Y; A. q
  1503. 2 [, L, F( a8 i7 o4 s" U
  1504. ; Enable upload progress tracking in $_SESSION* t' i! i6 r; E) p  s1 J+ u
  1505. ; Default Value: On: ?+ ^+ B& S  ~8 H
  1506. ; Development Value: On( ~& b% C+ ~! i* i- X4 S
  1507. ; Production Value: On: \8 F8 ~0 D5 G' X( l* G/ ~6 E
  1508. ; http://php.net/session.upload-progress.enabled. N0 I" H/ @( G* F
  1509. ;session.upload_progress.enabled = On( P  q& I, |. v' W8 \# e4 B0 U$ L& n

  1510. - q% r5 a; ^4 r& `' g
  1511. ; Cleanup the progress information as soon as all POST data has been read0 E% F+ H6 o* N! E
  1512. ; (i.e. upload completed).
    8 u/ D. F  w% Q# I: b0 I9 U( E# u
  1513. ; Default Value: On- \) S1 \$ C/ g1 _
  1514. ; Development Value: On4 m7 M" E1 v+ ~( e! n! v; u
  1515. ; Production Value: On
    # o* o, [( T$ t9 R
  1516. ; http://php.net/session.upload-progress.cleanup: M2 d# b- l( E7 K; ^( j
  1517. ;session.upload_progress.cleanup = On
    9 }. q( N/ w7 s& g6 P

  1518. ) x* g$ X7 t0 S! d' V2 T6 E" u* d% E
  1519. ; A prefix used for the upload progress key in $_SESSION) D( k" P% Y5 |& l! W
  1520. ; Default Value: "upload_progress_"
    ( r6 u; w6 p1 s* B6 l7 W
  1521. ; Development Value: "upload_progress_"
    . e( e' J8 Q8 a2 a5 J" y# C! d
  1522. ; Production Value: "upload_progress_"
    - |3 j5 ~& b9 c# _- E2 e
  1523. ; http://php.net/session.upload-progress.prefix. f- G9 l* A! o' }4 w
  1524. ;session.upload_progress.prefix = "upload_progress_"" I6 W# f- T2 J6 m7 b+ b- f

  1525. & y6 d% F$ j7 J" p! {* ?
  1526. ; The index name (concatenated with the prefix) in $_SESSION, O6 H. M$ z4 v& Z. \; ]
  1527. ; containing the upload progress information! P/ o. P' z, R8 ]2 D
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". a, K8 X- Y9 `; m0 ?/ r- l! r
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", I# A; E/ F8 {" c1 p' [) F1 c  G
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 c* a& n5 I/ N
  1531. ; http://php.net/session.upload-progress.name
    6 j+ w( A$ O, m1 L5 U& Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( r( e+ T# J& l2 b
  1533. & l  u; K5 ]# h: ]
  1534. ; How frequently the upload progress should be updated.& K: W, g1 L# Z: o
  1535. ; Given either in percentages (per-file), or in bytes
    4 `/ z4 h; ?% l( P
  1536. ; Default Value: "1%": b( D0 c" k( _3 n0 r7 i" D: n" z) f# n
  1537. ; Development Value: "1%"
    & m* {* q0 S+ L  _4 V+ a" {& w
  1538. ; Production Value: "1%"8 q- g  O" F( X; S& I6 O! J9 X
  1539. ; http://php.net/session.upload-progress.freq: f- A# E6 f1 K/ i! e
  1540. ;session.upload_progress.freq =  "1%"# i3 X$ b' w4 O8 |/ m4 V4 o

  1541. 0 p1 b& v' N: U  q) \) @
  1542. ; The minimum delay between updates, in seconds
    - B2 |- T# b  P9 \2 x
  1543. ; Default Value: 1
    ; x! G: c! x( d* u
  1544. ; Development Value: 1
    ) X7 C3 B6 W6 C- A+ t2 r1 L: ]) w% \
  1545. ; Production Value: 1
    9 O: U, P1 ]- C8 i- s0 T- @
  1546. ; http://php.net/session.upload-progress.min-freq. V( K9 a* W% ]% E+ x7 Z
  1547. ;session.upload_progress.min_freq = "1", f- P+ m% a4 g0 M+ }

  1548. 4 R% e/ |; j8 C9 {, W& U
  1549. ; Only write session data when session data is changed. Enabled by default.
    9 t! R5 }) ^6 y- G5 B
  1550. ; http://php.net/session.lazy-write
    7 \' \" K, \$ b2 `
  1551. ;session.lazy_write = On
    % g% ?' _# b4 b  Y# x, _! t* f

  1552. ( h( i9 a* O7 i, _- |- E$ w
  1553. [Assertion]
    : L0 A" Z  h7 J
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - t* Z8 A& J; M9 R: ]4 ]
  1555. ; -1: Do not compile at all+ H9 R" D2 E5 ?
  1556. ;  0: Jump over assertion at run-time
      R( l) R7 `3 U" Z
  1557. ;  1: Execute assertions. v, i) E4 _) K9 j0 L! S3 A
  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)
    : ?4 ]! E- V! h- U
  1559. ; Default Value: 1
    + `7 N  b) R) k/ f% R' u0 V
  1560. ; Development Value: 1/ I( {0 a' |8 C; R6 v: A
  1561. ; Production Value: -1
    4 J% s( x, B" a! w  I% b8 m- Q- D  ]
  1562. ; http://php.net/zend.assertions+ w! x* g: r# g! o0 i' j
  1563. zend.assertions = -1! K% K! ^; i+ ?4 W

  1564. 6 N; s" {$ _0 E7 c
  1565. ; Assert(expr); active by default.
    # @! `: O9 e3 D7 q
  1566. ; http://php.net/assert.active- |3 g& g4 k- R/ o0 z' h$ [
  1567. ;assert.active = On$ C$ Q- N8 o3 l" t
  1568. 7 Q# x; i( k+ S0 r) G" B" i
  1569. ; Throw an AssertationException on failed assertions
    " m& d8 ?* `1 t, m0 e& ]
  1570. ; http://php.net/assert.exception% t1 ~; G% U) q
  1571. ;assert.exception = On/ v& l2 a* h* Q1 w
  1572. , |5 _& g% M1 _/ P' c
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    5 n4 O7 {. r: l5 O4 ^% z
  1574. ; http://php.net/assert.warning
    ! E6 h, h2 J3 ~) l
  1575. ;assert.warning = On* Z2 |( b, x; g1 w8 p$ V
  1576. ) {8 Z4 w' C4 t/ G, J
  1577. ; Don't bail out by default.
    . q- \4 e+ q8 V$ Q
  1578. ; http://php.net/assert.bail4 X! L0 K  }% w
  1579. ;assert.bail = Off5 O- G, E2 g2 R) \% y
  1580. * ]0 K8 K& x" l1 j0 Z6 e
  1581. ; User-function to be called if an assertion fails.
    0 ^7 U4 `/ S9 i( c5 L: i3 j
  1582. ; http://php.net/assert.callback
    ; \. K: }3 k7 }; [' P! Z
  1583. ;assert.callback = 0
    ( z4 V9 K1 \* m

  1584. ; }' F; I# ?1 A  f+ G
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    - ^1 a0 Z! E8 P( R! t+ k5 ?# @
  1586. ; error_reporting(0) around the eval().
    + Y, S+ g+ \; N
  1587. ; http://php.net/assert.quiet-eval
    8 Q% G- S, E" h
  1588. ;assert.quiet_eval = 0
    " Q8 \% y! Y* u8 r3 w3 t1 e5 H, D
  1589.   R3 O/ c0 s; Y% P
  1590. [COM]
    ; t/ y% o0 ^' N: a0 t2 Y$ X3 d7 P
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , T& ~, v5 {4 P4 {8 q
  1592. ; http://php.net/com.typelib-file
    7 }7 W2 G. B: D7 v' r2 a
  1593. ;com.typelib_file =
    + m9 M& W- u% D1 u7 W+ t0 P

  1594. 1 a2 p5 P0 v3 M! i; G
  1595. ; allow Distributed-COM calls
    & ~; p1 u+ x! u
  1596. ; http://php.net/com.allow-dcom3 Y  L- H6 {* I. z3 b$ q8 u! P
  1597. ;com.allow_dcom = true% _. t& t$ d" B
  1598. + c1 B4 Y0 m0 K/ G
  1599. ; autoregister constants of a components typlib on com_load(); R# Y/ L0 C$ n( }; z$ S
  1600. ; http://php.net/com.autoregister-typelib
    ( Y8 s- F; z' r
  1601. ;com.autoregister_typelib = true
    2 B, U7 T) [5 M$ q) J- z

  1602. 8 A* s3 y! x' c9 s
  1603. ; register constants casesensitive7 B# q0 b( t/ S' g1 \
  1604. ; http://php.net/com.autoregister-casesensitive' G3 x) W1 M# D- M8 N* u' C
  1605. ;com.autoregister_casesensitive = false
    2 K2 Y. ], O9 \

  1606. 5 F( d/ {. P! a6 O* N( G' h8 H
  1607. ; show warnings on duplicate constant registrations( J6 |) S1 ^* W' A- L+ q
  1608. ; http://php.net/com.autoregister-verbose0 u  g- w, ^& @! h: q; t9 ?
  1609. ;com.autoregister_verbose = true) F4 y6 d8 [: @6 _$ ~- k6 w9 B

  1610. % W" B0 G2 Z: X0 x: k
  1611. ; The default character set code-page to use when passing strings to and from COM objects./ v" R- |) E$ |# T* k
  1612. ; Default: system ANSI code page7 }5 i- K6 E8 U2 _
  1613. ;com.code_page=
    7 v0 }6 ?$ U+ l9 I
  1614. : V$ d# n: v/ w" ~4 Y
  1615. [mbstring]6 h+ o/ _# c( B  U1 i" g8 D& Q; Y
  1616. ; language for internal character representation.# N* M) ?3 p$ v5 y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.0 C5 A! E% Q& o# w4 W+ ~
  1618. ; http://php.net/mbstring.language' D- i8 F0 x6 `' [: J9 v
  1619. ;mbstring.language = Japanese
    9 U8 y: j. t/ e* U/ D! Z* l' K
  1620. . {' |" [1 ~9 U6 S
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.# v6 `' V$ s3 X3 o  s
  1622. ; internal/script encoding.
    6 A9 w$ R$ f! y% |8 @7 _  U
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 x0 a' c9 ^/ ~$ f* y; v
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( N. K: B' v) R) N0 k# u
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; M. L( X9 |% d( {
  1626. ;mbstring.internal_encoding =
    / q3 i# x# F( G4 m. n

  1627. ! w) z- u2 \% h. P+ A4 p4 \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , y  ~% N/ s: O$ p: }, }. c
  1629. ; http input encoding.
    0 o# m4 k3 y$ W9 O' B7 R9 A
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.* m3 m) Z9 c; N, W8 X$ Z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.5 N& l; B4 U+ l/ C
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 ~, o* E/ K8 b  ]0 K; k* T- X
  1633. ; http://php.net/mbstring.http-input
    7 S  h! a; l/ i3 _! C
  1634. ;mbstring.http_input =; I" H' p8 p- F- [! ]4 {) D& g

  1635. 6 V9 z8 x2 ?; n& p" t4 e! R# X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# n  v7 S' o; t
  1637. ; http output encoding.# L  G4 G6 T; e7 {( }  U; S' ^& J
  1638. ; mb_output_handler must be registered as output buffer to function.
    3 k) @: D6 l8 I
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. _4 [& z  u" B# Z- ?& I% S
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 h! s+ K# t; A( T3 Y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set6 ?1 l4 Y/ q6 n* w7 x$ J+ W; a
  1642. ; otherwise output encoding conversion cannot be performed.& H2 {+ C3 s6 K. b8 i% G1 V1 |+ S5 E
  1643. ; http://php.net/mbstring.http-output
    # K% i+ j7 }7 c! N" _5 b
  1644. ;mbstring.http_output =2 h6 ?% q& f' y

  1645. ( V6 k( T- P# Y
  1646. ; enable automatic encoding translation according to$ p: |& D# k! P+ k1 {, F
  1647. ; mbstring.internal_encoding setting. Input chars are/ U+ o$ k% ^) A5 e0 X1 L
  1648. ; converted to internal encoding by setting this to On.
    ( S' ^7 G, Y& d8 V0 E
  1649. ; Note: Do _not_ use automatic encoding translation for
    4 T# t5 W1 A3 i) I* ]
  1650. ;       portable libs/applications.
    1 H) f6 @5 u  k3 h' h  H, ?
  1651. ; http://php.net/mbstring.encoding-translation
    3 Z! a+ O- Y& E) r6 |
  1652. ;mbstring.encoding_translation = Off8 z9 A( [* c* e# c( o! k* g8 Q" T! L

  1653. ) S4 E$ s0 [0 o9 q6 P
  1654. ; automatic encoding detection order.% s$ {# F" m$ @, @: |' |
  1655. ; "auto" detect order is changed according to mbstring.language
    2 I" U' \2 T2 e
  1656. ; http://php.net/mbstring.detect-order
    - o7 x  M! {0 K9 r: G! R
  1657. ;mbstring.detect_order = auto3 A6 d6 W8 ~  |7 Z' f* s# n

  1658. + l+ R4 W$ r5 N9 X) F+ J; m: ]
  1659. ; substitute_character used when character cannot be converted" M* h- {6 j6 o1 d$ X
  1660. ; one from another1 P* L6 {9 Q# @+ h% r
  1661. ; http://php.net/mbstring.substitute-character
    ' O, Y. X- C1 q! H1 W
  1662. ;mbstring.substitute_character = none0 V; k' H; O- h0 S, l) s3 C

  1663. 7 ]" l* z" i$ i7 l
  1664. ; overload(replace) single byte functions by mbstring functions.
      K$ p! }7 ]4 k7 R" y! a; T0 W
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! }% t1 u% H. R8 {$ }0 |7 a
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.4 n- a1 D* }2 E; O
  1667. ; For example, 7 for overload everything.
    * O9 A& e8 c. b! Y
  1668. ; 0: No overload
    : f+ n+ |: J( I. f0 Z
  1669. ; 1: Overload mail() function
    6 E) ]/ U) _8 ?0 m
  1670. ; 2: Overload str*() functions
    0 J) u, w1 Y% h. p4 {
  1671. ; 4: Overload ereg*() functions4 Q& Y2 r5 J$ @
  1672. ; http://php.net/mbstring.func-overload
    * X: p5 d+ j- [; L, P
  1673. ;mbstring.func_overload = 0) \: b+ N+ T% L; p4 K. e; V

  1674. / l* m& p2 w- ]- h  e4 K& I6 l! k
  1675. ; enable strict encoding detection., P9 u; x. J7 L- v* o
  1676. ; Default: Off$ d; f, V' \  G. n
  1677. ;mbstring.strict_detection = On
    9 D2 |& H/ c$ O6 u

  1678. + b5 J2 c  a- Y$ s: w6 F0 u9 u
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()* F4 R+ z# C& H$ N# i
  1680. ; is activated.0 z5 |/ @" f( H! _  b' @6 i
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    + X! x, D3 j, _0 r  c  z" I
  1682. ;mbstring.http_output_conv_mimetype=0 Y* t0 |' s- [, B7 J* g. r9 R
  1683. . @: c# r9 c4 F  H: G2 s$ a
  1684. [gd]
    + m$ M* @- `& b& t, Q- @0 \
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    $ O; {  i& F9 @/ I- `
  1686. ; a gd image. The warning will then be displayed as notices
    - `6 X9 C% A: V. t5 v
  1687. ; disabled by default# `7 r+ d+ y, r/ r) Z5 x% d3 G
  1688. ; http://php.net/gd.jpeg-ignore-warning( l% `) E- W4 e; q  W
  1689. ;gd.jpeg_ignore_warning = 03 \* l; _( h( c, |' z$ Y
  1690. ' ]2 C! l- ^8 [+ l& m  W
  1691. [exif]
    $ }* O+ J) q5 H( B
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      `+ L( G& E$ X5 u
  1693. ; With mbstring support this will automatically be converted into the encoding
    7 C. U3 U0 E, I" ]% N9 G" k- \3 |; T; l
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding! u3 M5 L: R( B- y) d
  1695. ; is used. For the decode settings you can distinguish between motorola and
    . ]9 d6 U- F, q, t8 |$ M
  1696. ; intel byte order. A decode setting cannot be empty.! ]! g0 }3 O2 ]1 W, b- D
  1697. ; http://php.net/exif.encode-unicode
    ) Q8 w6 b# @/ j' U) G& W, t
  1698. ;exif.encode_unicode = ISO-8859-15
    - w$ W& z) ]4 v7 J
  1699. / d, ]: v% r) R# D7 H' L
  1700. ; http://php.net/exif.decode-unicode-motorola+ f+ m1 |8 ?, v2 g% Q4 C  j; W
  1701. ;exif.decode_unicode_motorola = UCS-2BE, Y* C4 p. `) V3 j/ F

  1702. / A8 j; q; Q+ j9 l1 A
  1703. ; http://php.net/exif.decode-unicode-intel  ~+ t8 k" X( T: A4 N
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 N. O  I* C+ g# {. o

  1705.   l, ]7 J0 C0 I0 Z! j  O
  1706. ; http://php.net/exif.encode-jis
      m: T$ E% `  l1 }) Y' L& y. o& \, Z
  1707. ;exif.encode_jis =
    8 c$ c0 p3 Z' {$ ~4 }! W( i* A

  1708. , r. v" ^- k9 }9 `
  1709. ; http://php.net/exif.decode-jis-motorola! n% f& f8 }8 W% u$ N) E5 t
  1710. ;exif.decode_jis_motorola = JIS+ I; C! n: b! N! S) ]

  1711. 9 W6 E3 F1 ~) ~8 S& o
  1712. ; http://php.net/exif.decode-jis-intel
    ' [* y( V1 {. ]" V. b4 h$ o5 V
  1713. ;exif.decode_jis_intel    = JIS
    & X1 `- n7 i  B" m& u+ \
  1714. / U1 p) Y# ?7 u! V( p
  1715. [Tidy]) \& [7 E0 X5 H
  1716. ; The path to a default tidy configuration file to use when using tidy
    ' q5 F% e1 J- l3 h3 L( d; x( u
  1717. ; http://php.net/tidy.default-config
    5 L& r; x+ J  g: ^" v
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg- r: l3 S5 ~2 W; X
  1719. - D( W: h5 }- }6 [
  1720. ; Should tidy clean and repair output automatically?0 m6 E/ E1 Z( y" N" _) W
  1721. ; WARNING: Do not use this option if you are generating non-html content
    & ~+ l4 C6 S+ ~
  1722. ; such as dynamic images+ {. t1 }( n: n  k9 i
  1723. ; http://php.net/tidy.clean-output3 }, R9 n' p4 s' m+ L" w
  1724. tidy.clean_output = Off
    9 c6 g! ?( ^; H& i6 Z$ [
  1725. 7 m' i  |) _$ e, P: E& o) Z
  1726. [soap]
    - n  B8 w0 a5 I$ d
  1727. ; Enables or disables WSDL caching feature.
    - E* ~& W( V6 W7 m0 t$ j8 \7 N
  1728. ; http://php.net/soap.wsdl-cache-enabled
    * R; O% K/ Q3 q1 e, R4 O" H, J8 y
  1729. soap.wsdl_cache_enabled=19 C% \" O. }, T  Z
  1730. * x8 q/ B  E0 F, X" e* ^$ \0 ~+ [$ ?
  1731. ; Sets the directory name where SOAP extension will put cache files.7 ~$ V. u6 J: @/ \& T  `
  1732. ; http://php.net/soap.wsdl-cache-dir0 [9 X2 x- i+ |- ]. g* x
  1733. soap.wsdl_cache_dir="/tmp"& Y9 H1 l" _. X  [( j
  1734. ' G2 i5 |5 p  L$ W! k' f3 y
  1735. ; (time to live) Sets the number of second while cached file will be used
      [7 ~) u+ E3 q! w
  1736. ; instead of original one.% O8 M9 m7 J  F) K5 B: g
  1737. ; http://php.net/soap.wsdl-cache-ttl
    8 B  C/ [0 l5 F+ G3 r/ m4 T
  1738. soap.wsdl_cache_ttl=86400
    ; H- U- n0 m$ G. Y7 a( m5 d- a5 Z2 U

  1739. " _6 g% V: Z0 Q3 m. q1 T' ~( u: R
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % r( k* @& r7 H. [0 n/ Q
  1741. soap.wsdl_cache_limit = 5& u+ y0 U6 B. {8 Z

  1742. / S8 R5 B: {- C3 G, q6 v
  1743. [sysvshm]
    . W" v  \3 P) u* L! k
  1744. ; A default size of the shared memory segment
    # E: z, N/ |' \. U
  1745. ;sysvshm.init_mem = 100005 J' k! X% J, `5 X4 U: h8 j
  1746. . e# u0 C7 Q" }; j+ j: n& V
  1747. [ldap]9 `6 K7 k7 z" ^, U
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & S- `5 `( ~1 C5 w; R1 L% a
  1749. ldap.max_links = -1: c4 ?+ f/ s) o' o
  1750. ) w. m- R  v0 L% Q6 q8 t% g. t0 i
  1751. [mcrypt]# G; m) m$ O" u, p9 w, c" \; O1 h
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ' w/ {/ T$ f6 H% q% z
  1753. 5 K. u. N! A& M2 i2 y
  1754. ; Directory where to load mcrypt algorithms& }$ U2 O2 K+ v: k# h0 e
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ k% p+ \8 w0 }4 j" T( A/ Z' q
  1756. ;mcrypt.algorithms_dir=& r9 ^9 R5 v- m" a1 j: J# e! N

  1757. 4 O  k- F9 ?4 U8 `2 ]  \
  1758. ; Directory where to load mcrypt modes* l) p* c" A; a4 N' n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): P+ [  E+ i& K: W9 p4 }
  1760. ;mcrypt.modes_dir=3 U: E4 u- E9 i* |& d2 E8 V

  1761. 5 Z- v. M# d/ B3 f/ B
  1762. [dba]% _8 _* r9 n# I( W
  1763. ;dba.default_handler=7 Y7 x4 T6 E) ~, L0 l
  1764. 8 f) U& v8 h/ J6 |* {
  1765. [opcache]
    " o; r  s2 e: B9 [' h, c
  1766. ; Determines if Zend OPCache is enabled2 Z! H6 f8 f: U8 l
  1767. ;opcache.enable=0" j, U7 }* {4 ^! i7 ~! [
  1768. 4 b. R) J0 W& x
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , O& a  |1 c8 c
  1770. ;opcache.enable_cli=0( H# j2 E8 C- }5 B/ O: ]  l
  1771. & h6 |; _' `. v" I& u% l+ P1 Y
  1772. ; The OPcache shared memory storage size.
    / G1 e" b' b, \+ r9 f+ m
  1773. ;opcache.memory_consumption=641 K: u/ ?# a) z/ x8 y% E% E; q

  1774. # j  w: [" p3 [. p2 ]- ^
  1775. ; The amount of memory for interned strings in Mbytes.8 S( J6 @) X! ]
  1776. ;opcache.interned_strings_buffer=4
    5 y3 a" W; ]$ v! p

  1777. + u5 p  r/ E. e) e% Y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    ) d9 ~4 U( B0 w6 J# V- D' Y! S
  1779. ; Only numbers between 200 and 1000000 are allowed.8 }) n4 ^! u! C2 G7 M$ Q3 ~+ ^
  1780. ;opcache.max_accelerated_files=2000
    ) m: u# a% s- {! v, {& E

  1781. : X- v3 T# o/ b" g  u/ [
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled., N( O; s+ L. r0 `0 l% L6 R
  1783. ;opcache.max_wasted_percentage=5
    & X- L) O' U7 U5 N7 G
  1784. 9 d& W( q$ u! S" y
  1785. ; When this directive is enabled, the OPcache appends the current working& d# P" h" Q0 P* [4 C- q. i- F
  1786. ; directory to the script key, thus eliminating possible collisions between
    9 p  K& }8 U- K$ Q# c+ F5 L& D
  1787. ; files with the same name (basename). Disabling the directive improves# k2 i2 f8 k2 M% {( q5 O2 [4 T1 x
  1788. ; performance, but may break existing applications.) F& d* |; z5 p( o4 e; u) I- h
  1789. ;opcache.use_cwd=1( _/ B$ N- a  O% e
  1790. 7 p0 _* J1 Q- P! `; [% f
  1791. ; When disabled, you must reset the OPcache manually or restart the
    7 D0 _  H5 f/ z( C$ c! s
  1792. ; webserver for changes to the filesystem to take effect.4 x) z2 C  K! J( I
  1793. ;opcache.validate_timestamps=1( }& u  i* _& O

  1794. 3 b6 a; Q0 X4 k/ N1 d8 O. y% F8 p/ p
  1795. ; How often (in seconds) to check file timestamps for changes to the shared! w) m1 |- X' [, \! H7 K' B
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . N. e5 g5 T8 B7 }7 D
  1797. ; once per request. "0" means always validate)! Q# [0 y% E  F; }6 h6 k; Y9 i
  1798. ;opcache.revalidate_freq=2
    ! d( r3 M2 _0 E5 x6 l

  1799. # @0 D4 Q0 g. _" u0 f8 l! Q) Z. g
  1800. ; Enables or disables file search in include_path optimization* |) x* _3 }  m) N& @$ W
  1801. ;opcache.revalidate_path=0
    / q# I) T/ f- {: U  k* A; ^

  1802. ) l) B8 h# w. [2 \7 f
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 M& C* Y6 y5 A" M$ Z! v; Y7 b
  1804. ; size of the optimized code.
    + t1 F% V" w5 Y  ?9 E" |  {
  1805. ;opcache.save_comments=1+ m/ D0 w4 q$ k; I$ }6 I% }" C7 B
  1806. 8 r% c! w; }0 ^: x! Y
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code2 g$ V" f2 V5 h9 \, C, \
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.3 @# p7 K+ P+ Z: A+ I$ s5 R5 S
  1809. ;opcache.fast_shutdown=0
    - {# F( E8 p% O% Z( w9 I( t  W( @( U

  1810. + I% Q' o/ d" N, t' b8 M
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    8 i. o3 A9 b0 v* k
  1812. ;opcache.enable_file_override=0
    1 \, k+ M; `2 P# N" W2 j

  1813. : l/ v* h4 M, e
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    $ X9 {) E2 x2 K7 t$ D1 w/ s
  1815. ; passes3 z% n7 J3 O' y+ h& v% T
  1816. ;opcache.optimization_level=0xffffffff
    * T/ K- E+ G$ n4 S6 A6 j
  1817. 1 I6 f! H% l7 {
  1818. ;opcache.inherited_hack=14 x" Q7 D/ e, d8 T5 m( \1 u+ I% p
  1819. ;opcache.dups_fix=04 |+ t' A4 ~: U  ]3 B
  1820. ) o8 a& N# r# f5 F; N
  1821. ; The location of the OPcache blacklist file (wildcards allowed).: l0 R4 X+ h$ k! o4 N: E
  1822. ; Each OPcache blacklist file is a text file that holds the names of files  ?/ x+ o( s0 P/ L5 Z
  1823. ; that should not be accelerated. The file format is to add each filename
    9 @9 b% }+ h9 L( L
  1824. ; to a new line. The filename may be a full path or just a file prefix3 R$ b6 x+ {& K9 @, A: g
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# g8 U% C& I' N: G; H  x! M1 F
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    / C* R: ?/ r- o
  1827. ;opcache.blacklist_filename=$ h1 C. s! R; C6 ]. d

  1828. . X1 m! G: L2 n0 `0 w3 h  E
  1829. ; Allows exclusion of large files from being cached. By default all files
    3 Y$ l4 O& `1 Y9 I4 D1 d
  1830. ; are cached.
    ! d* J2 _- E) X) C* o, V
  1831. ;opcache.max_file_size=0/ N/ l0 J/ M8 Y+ M2 Q
  1832. # i+ ~2 u; i5 O- c9 Y3 I) f9 {0 q  e" R
  1833. ; Check the cache checksum each N requests./ B* T- [6 C) n, s- S% m
  1834. ; The default value of "0" means that the checks are disabled., j1 ^7 c) |) c3 C3 m6 P. M
  1835. ;opcache.consistency_checks=0
    7 G2 q) w0 j& m

  1836. 4 t2 G2 J7 U1 x# h5 T3 m
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, k+ r- T( c" Y. c8 w& o" L  o
  1838. ; is not being accessed.3 W, d1 i+ R' P4 m& {- I1 K' k9 c
  1839. ;opcache.force_restart_timeout=180  @' A3 z- ^$ ?# X' x% @
  1840. 5 [7 G! h5 [  Q6 s. S9 z  m
  1841. ; OPcache error_log file name. Empty string assumes "stderr"." n3 T, a9 k- Q) W  D/ k+ o8 N; A( l6 A
  1842. ;opcache.error_log=
    ( T. |3 H" r# j6 e- |: b2 Y/ Z% O

  1843. & ^3 M6 ]- b1 `/ L: e5 L  O
  1844. ; All OPcache errors go to the Web server log.
    6 l! ~( L- q0 k. _: N- T
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* h# X, Z% ~8 e# ?+ z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or, P( I$ ^: _* f, i( A1 i  P% C- `
  1847. ; debug messages (level 4).$ Z$ I% x2 E4 j# s& R
  1848. ;opcache.log_verbosity_level=1
    # o* z/ H/ G8 Z" W1 l

  1849. 0 F3 r4 v4 O3 a! O$ A0 l$ A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " j# i" r7 F4 r5 u0 H, _
  1851. ;opcache.preferred_memory_model=
    1 O, X, t5 j* s3 [" F. U' q
  1852. " @4 O/ L% {4 u6 D% r
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # C4 p! o% w0 p* v9 D
  1854. ; Useful for internal debugging only.
    0 \$ w8 N# j! X( J9 h4 k
  1855. ;opcache.protect_memory=0
    * k$ O5 c* G0 c# X

  1856. 6 y5 n6 c: w# T( k% c) I
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 M. u1 Z, }7 Q8 D, [
  1858. ; started from specified string. The default "" means no restriction
    + r+ s% }8 g1 Z7 p5 X% {  h4 ]4 r( ~
  1859. ;opcache.restrict_api=; w' u3 k' x  s% ^( M9 F

  1860. 8 G6 ^8 N. Y6 r7 y! S
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP5 S/ ?/ R, u/ R2 u7 z; v+ I5 F; r) p
  1862. ; processes have to map shared memory into the same address space. This
    + O( ^: |" c( L; T; Y. L
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    / Z+ j; V" v( t# n3 ]# A/ @
  1864. ; errors.
    3 {) |2 w& C1 H! i
  1865. ;opcache.mmap_base=
    7 t, s% W0 {. O: K/ l2 X( H
  1866. , y8 O0 F2 p% X( y- _4 d" _
  1867. ; Enables and sets the second level cache directory.
    1 C2 e0 D4 d; b, ]- E
  1868. ; It should improve performance when SHM memory is full, at server restart or( Y+ F" q) T8 e* Q. X1 s# M
  1869. ; SHM reset. The default "" disables file based caching.% [. _1 D2 S& u: |& ?
  1870. ;opcache.file_cache=4 ^3 M9 |% ^; u# P* ?% X& m

  1871. % l( Z9 {( @& b& z/ q  j
  1872. ; Enables or disables opcode caching in shared memory.' `- m6 R8 C% O7 {
  1873. ;opcache.file_cache_only=0
    . j8 K4 C) }& q* T0 c: h( r: Q

  1874. 3 d0 Z4 [' {9 @
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ' b2 X6 D$ [5 C0 F- t+ c
  1876. ;opcache.file_cache_consistency_checks=1
    / {& S& n( n5 K

  1877. , {5 W- ~8 N' t% l
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to) X" _- z( Z4 [# L) J* e
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    * @* x: M" _& q9 `. I
  1880. ; cache is required.
    ; l" d0 g, c6 |  Q" C
  1881. ;opcache.file_cache_fallback=1% ~( c% m4 e$ d7 H

  1882. ( ^: j+ G+ x  \  Z# r* g. s
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.- @' W0 O2 G9 v9 S4 Q
  1884. ; This should improve performance, but requires appropriate OS configuration.; ]& e: ^9 }3 _, A% Y5 ]# v
  1885. ;opcache.huge_code_pages=1$ w2 Y7 _( Y  Z3 B. u

  1886. 8 Q" V" s# h- f! |- e8 Z; S
  1887. ; Validate cached file permissions.
    0 g1 V+ S+ T9 j3 u: D" c1 v2 ?
  1888. ; opcache.validate_permission=0( `7 C$ n4 R3 {1 A7 R
  1889. ) E, K! M( C: l$ n0 U- b' A
  1890. ; Prevent name collisions in chroot'ed environment.) u( |( j/ R+ {, A' q  Y3 @, ]
  1891. ; opcache.validate_root=08 r0 N# \& f! A4 p9 `* k

  1892. * O. T0 n. j1 h+ x) J
  1893. [curl]* a( k, z$ ^. a+ ]8 u) d) a
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an$ Y, {+ q' F* d5 U/ _5 x
  1895. ; absolute path.
    4 w) i& [. R+ ]
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' `. G+ V1 l( f  _

  1897. 9 t( |$ Q: L* ?5 ^6 f
  1898. [openssl]6 |9 D" H) z5 z0 C) y- Q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; d6 ^  M3 D8 f4 k) E! e2 O
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should1 E3 ~. E. }! h% f/ ~; {) S8 [& a/ i
  1901. ; not specify a value for this directive as PHP will attempt to use the1 A0 u) t2 E2 @$ ^  n/ {# p9 V
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % D9 e7 h% |; D$ s4 z
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ C. N  ^0 i& x9 o/ o7 k
  1904. ; option.
      s5 j* I) Q! N! G7 e/ `
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    + Q2 P2 Z( N) k7 N+ \$ u

  1906. # |$ a/ t* F  @+ `8 Y. b
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ h8 R; ]+ H( H/ X5 q
  1908. ; directory pointed to by openssl.capath is searched for a suitable8 k/ c+ c7 W/ U8 F5 F
  1909. ; certificate. This value must be a correctly hashed certificate directory.: V' @5 c3 ~" m+ R
  1910. ; Most users should not specify a value for this directive as PHP will( b9 t- ~& K- I
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
      e- R* S+ _. O; c9 b
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ! K+ P$ v& M' n/ G
  1913. ; SSL stream context option.5 B/ {' @, w% \( o8 c  G# `/ X
  1914. ;openssl.capath=
    7 W1 V/ [$ M+ h# p# n

  1915. , d6 p7 I" a, y" _7 S; Y! h4 W
  1916. ; Local Variables:
    " R; a2 S$ e! {! x
  1917. ; tab-width: 40 q$ o: f' a; Q
  1918. ; End:2 [5 A2 x, t7 J4 j0 X2 ]6 n

  1919. ; F5 ]. }* s$ D" E, {
  1920. ;eaccelerator
    5 b1 K+ a) o* z$ G  `

  1921. / \) D; i$ L8 ]$ _. y
  1922. ;ionCube
    " O. G7 u* _/ g$ f! {) i: f
  1923. 3 l  E: s4 @! ?
  1924. ;opcache
    : u9 D! J" g" c5 G. v0 d8 q
  1925. ; i8 H! z$ q: q4 Y0 N8 r! y4 K/ E$ G
  1926. [Zend ZendGuard Loader]
    % s: [8 v1 w$ a4 t; p
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.1 B8 p: ^  j  y5 z. Z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    $ }: u1 `' @! o
  1929. ;zend_loader.enable=1$ w- |' x$ w+ ]6 Q8 K6 u
  1930. ;zend_loader.disable_licensing=0$ S$ h8 I) r( W
  1931. ;zend_loader.obfuscation_level_support=3
    9 I) R( c, h+ Q* v; O; B+ P7 |
  1932. ;zend_loader.license_path=
    # Z# _6 g* Q' \0 c* e
  1933. 7 Q' i- Y! D. y8 v3 _
  1934. ;xcache
    , c) M0 a8 R& U6 I, d+ ]

  1935. " n! e2 v- m) s* t
复制代码
5 n* h7 o3 w' Y, a2 H: a

+ y# p, i9 R2 h: R: i. B; u; U' U& s9 O' A$ f& P
* U! K1 h- z9 V

" ?. A* b9 U3 t* M0 I. y5 m: _' M2 w; y4 v$ h( x

2 a9 ?* W2 T- v+ A" o% G/ p) y( lPHP5.6版本原始设置
( p! g0 ?* T* x! ]. G1 {/ r% h; k% P. K) _2 ]
  1. [PHP]
    - o. S) f& v- K9 o
  2. 7 G% K  {; W1 N4 v% M$ n
  3. ;;;;;;;;;;;;;;;;;;;- V) l/ L+ d  B+ D1 Y" M
  4. ; About php.ini   ;- y" F: J+ S: \$ }4 {+ ^
  5. ;;;;;;;;;;;;;;;;;;;9 X! L; y) k! ]( L/ Y  G2 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ' d0 p; P1 \0 ?( G+ _$ r
  7. ; configuring many of the aspects of PHP's behavior.
    5 P+ K1 O! x) c4 r
  8. 9 `# \& c0 x; f$ s1 r; l! Q+ H
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 H7 T5 V2 f, F3 Q3 N9 u) j
  10. ; The following is a summary of its search order:8 X: _- \% r; x, i% b* ^
  11. ; 1. SAPI module specific location.
    ' O9 A3 r& K- @. N% y7 W: }& o( S
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    " U& [4 c2 m$ r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)6 \2 }2 V2 \! p% |% S
  14. ; 4. Current working directory (except CLI)
    . F9 e/ d4 {0 D$ p0 S/ }5 g- h% W: x
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 L1 I1 u5 K% g1 \3 [& {7 m% W
  16. ; (otherwise in Windows)
    3 w0 o& @2 ^3 v7 [5 F/ i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ; i3 w# G1 C9 \6 H) A
  18. ; Windows directory (C:\windows or C:\winnt)! `2 d* B% R8 T% X7 `5 |0 q
  19. ; See the PHP docs for more specific information.. [! e0 ]8 v5 V. \/ x8 z" |* ^
  20. ; http://php.net/configuration.file7 t; Z" D2 f8 `9 H8 c
  21. , i* k1 r# p$ `9 A
  22. ; The syntax of the file is extremely simple.  Whitespace and lines3 D1 y0 i" T& Q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).5 [1 g  I2 I# h5 N! E& n8 @- I. t
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    : I* d0 X. A3 j& Y! T
  25. ; they might mean something in the future.
    ' Y. p9 @6 |, {

  26. / y4 n% Z2 o# D2 |1 A: l* P
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " N; e3 p( @! n4 p
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 @$ F# k8 ~2 o$ D/ K5 G
  29. ; following the section heading [HOST=www.example.com] only apply to7 g$ F' i: d" Z4 E2 y
  30. ; PHP files served from www.example.com.  Directives set in these
    ) J7 L4 Y% |5 d5 B9 n, F5 h, i( f
  31. ; special sections cannot be overridden by user-defined INI files or
    7 i9 \2 z. g4 @9 k; z
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ! }, |- N" R/ a& \' }& z
  33. ; CGI/FastCGI.
    + ^5 Z( f3 {0 J4 k
  34. ; http://php.net/ini.sections
    8 H" S  a2 U" y# v+ J) I

  35. / E% r! @' V9 d
  36. ; Directives are specified using the following syntax:
    , J! R, x6 M, i
  37. ; directive = value. h, v' L0 O0 {- t  p
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) M( J3 p4 L1 O
  39. ; Directives are variables used to configure PHP or PHP extensions.
      ?8 V7 R1 _' |
  40. ; There is no name validation.  If PHP can't find an expected
    * M/ b( k' \% g3 `
  41. ; directive because it is not set or is mistyped, a default value will be used., _. R# f) }( q$ }, v+ W
  42. & A7 D' L; T. ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one! G2 J2 n1 ]" E- u3 Q" s
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression. I$ Y" I" R  ?# a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ( @& h# r: _1 \- g- I; ^
  46. ; previously set variable or directive (e.g. ${foo})
    ) r& u* j1 w0 L7 ]" ?

  47. 1 ]" ~; m: `* m6 {$ r3 U
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 G+ I5 c9 q8 e8 J# R& k
  49. ; |  bitwise OR
    : K8 i6 u; `6 L
  50. ; ^  bitwise XOR
    " e* n) F& r9 m
  51. ; &  bitwise AND
    * @5 u0 s+ l9 I
  52. ; ~  bitwise NOT4 S; q% g( o% V; f: X0 r; K
  53. ; !  boolean NOT4 e; H6 l* c: i- H

  54. " X8 s5 ]/ u; d; y/ z  h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 B- A! c/ a$ x+ P" e4 t0 h
  56. ; They can be turned off using the values 0, Off, False or No.8 p/ M( Y! ^) q* T8 K5 r, U  H8 \

  57. ( X- D0 t/ M" }. j/ J4 t! @
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 I! Z" S6 U/ n. I5 K
  59. ; sign, or by using the None keyword:% c: S- D) @  p2 J
  60. " f+ r5 Q$ R) s9 c# o6 B7 C# B: E2 |: N
  61. ;  foo =         ; sets foo to an empty string
    ! \) o0 [2 g) x  q
  62. ;  foo = None    ; sets foo to an empty string
    % P7 V9 O+ K. e7 B
  63. ;  foo = "None"  ; sets foo to the string 'None'8 p3 K! r9 \6 e  ~. I
  64. 0 q4 T" z1 l/ D5 Q7 W$ W& ?
  65. ; If you use constants in your value, and these constants belong to a
    8 J0 W4 l, I. a+ j# S
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
      M8 M0 d" B% ]6 {* F0 l' A3 K
  67. ; you may only use these constants *after* the line that loads the extension.4 J* K. s8 t. F$ T; H. d+ V/ v! [
  68. ! S8 u- B0 V$ j% J
  69. ;;;;;;;;;;;;;;;;;;;
    , n0 D+ ]! h3 D! s* T- R: Z
  70. ; About this file ;
    5 s( k/ R- v( ^) n* ?2 _- w
  71. ;;;;;;;;;;;;;;;;;;;  C6 \/ m8 p9 m# z" g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    + N' t% l1 s5 S' V5 h
  73. ; in production environments and one that is recommended to be used in8 p3 p. z0 x+ y0 K* d" ]. w
  74. ; development environments.
    0 N! q& w$ Q9 s  J2 {  `
  75. 8 E  R' c& S3 e" U! k! T7 {
  76. ; php.ini-production contains settings which hold security, performance and( T) f4 z; s! A0 k& \
  77. ; best practices at its core. But please be aware, these settings may break
    5 k  v% u* N& B5 C" X! B! v6 t
  78. ; compatibility with older or less security conscience applications. We& t  D! k$ R5 P4 m+ E: g# j2 r
  79. ; recommending using the production ini in production and testing environments.
    / r* o2 g) D7 u( q/ X6 a
  80. 4 b5 _+ ^5 h0 i
  81. ; php.ini-development is very similar to its production variant, except it is- u5 `0 D; i/ P3 {' r/ @; c
  82. ; much more verbose when it comes to errors. We recommend using the3 I  u  E' R* z- b1 S" a. c
  83. ; development version only in development environments, as errors shown to4 p2 m+ U# r# @7 ?
  84. ; application users can inadvertently leak otherwise secure information.
    2 n+ i: z( z- j7 W* e, L

  85. 6 E1 C% j7 w6 |1 n
  86. ; This is php.ini-production INI file.8 R. w8 G4 y* C8 ^

  87. / {% L! q7 k, k
  88. ;;;;;;;;;;;;;;;;;;;' k9 p9 b) c) i5 ?( D: J
  89. ; Quick Reference ;7 k) d' T  Z" A9 g* R7 F3 q
  90. ;;;;;;;;;;;;;;;;;;;
    2 n0 i6 v" X* B3 B
  91. ; The following are all the settings which are different in either the production# K5 o: Z" H  h+ K
  92. ; or development versions of the INIs with respect to PHP's default behavior.2 n! F2 i- a5 H/ U
  93. ; Please see the actual settings later in the document for more details as to why  n1 }- u4 S  A% K7 ]* i6 L- Y
  94. ; we recommend these changes in PHP's behavior.
    & L3 \. A9 P' B# A. Z' n
  95. $ A6 ]: K8 y* f; v
  96. ; display_errors
    0 T6 q* @) }4 S1 b. c; R! g
  97. ;   Default Value: On
    8 u$ n% |- I7 a9 k" t! @
  98. ;   Development Value: On
    . y3 \/ I- d  m/ o+ {3 ~
  99. ;   Production Value: Off
    # t. Y8 D6 O" Q% v' S4 z/ ]+ p4 e
  100. ) A* w! w' a9 y+ ~5 t# I# K% v
  101. ; display_startup_errors! s4 A0 Z# K! j, z
  102. ;   Default Value: Off4 j' ^3 G8 |, E2 T0 \$ V
  103. ;   Development Value: On
    $ ?; m, a" g- k1 j
  104. ;   Production Value: Off
    1 N9 f& C, k# ]: U; {
  105. - n3 |9 n1 T# ?8 `3 \# n
  106. ; error_reporting
    ! T1 s7 t9 Q4 F2 U# \- Z
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 D1 S  ^) r' f2 h
  108. ;   Development Value: E_ALL3 x/ j% W1 e0 [
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) o  y5 S7 M5 {2 [( y* h
  110. 3 z- j4 u7 T* s' \' k1 o
  111. ; html_errors$ s: L$ w2 ?1 [% i7 e
  112. ;   Default Value: On
    # R4 [# F5 B3 O! J7 B
  113. ;   Development Value: On5 }# H/ |2 a- s8 B
  114. ;   Production value: On6 f7 s$ z# z5 y9 h% U( y" [2 C
  115. * L- u1 |, @* v+ }' ~' Y
  116. ; log_errors
    ( j; G- W* g' z: E3 L
  117. ;   Default Value: Off
    2 ^0 p* g2 m9 S: Z# |* f
  118. ;   Development Value: On/ B, Z! C1 m5 P+ n: Z  |# f- a
  119. ;   Production Value: On
    & N: G# a- \' [4 ~' V* ^( x8 M
  120. + k) S, m2 L2 G5 n: p5 f
  121. ; max_input_time0 _1 X$ }  t9 x% l1 y* N- w+ n
  122. ;   Default Value: -1 (Unlimited)
    # w' \' m3 h# b: S( `3 H
  123. ;   Development Value: 60 (60 seconds)
      w5 Z# Y5 Q; t& R: V7 t) s
  124. ;   Production Value: 60 (60 seconds)+ U7 j  ]/ d' r3 L4 c
  125. # d! M- t5 U# ^7 c4 f4 I1 M
  126. ; output_buffering, J" c0 n( C% j! [& G5 Q
  127. ;   Default Value: Off6 i5 z8 d5 g% j3 |: x
  128. ;   Development Value: 4096) x- e) v3 e& A, P' r' f" J1 ?
  129. ;   Production Value: 4096- D8 `9 w& _5 X* q
  130. - _5 a2 ]* {* b3 q9 x: Z* k6 D2 B
  131. ; register_argc_argv3 L4 C2 l) d5 Y9 w) S7 p
  132. ;   Default Value: On
    - w  Y% P6 l! k: t0 H+ _  d+ w
  133. ;   Development Value: Off
    ! _: e) @- H' l9 i
  134. ;   Production Value: Off
    8 @( i/ P, K4 I/ O4 B: c

  135. $ [0 Z+ d1 w' w% @" y  u( s$ G
  136. ; request_order1 C( J& l! B% s' J( g$ ]
  137. ;   Default Value: None
    6 u5 t4 n2 p4 E
  138. ;   Development Value: "GP": ?+ k# Y1 P) ?4 @  H
  139. ;   Production Value: "GP"9 H$ _6 i5 s6 s# i/ i

  140. 7 T( z/ e: q' \- Q( R7 f2 W
  141. ; session.gc_divisor
    % `2 M/ a% j( F9 s$ O' ?
  142. ;   Default Value: 100
    % E' f2 q% ?- \& h# z2 P  a
  143. ;   Development Value: 1000
    7 D% J8 y( E* M6 p4 G) O
  144. ;   Production Value: 1000
    - T) |) Y2 m7 X! n' ~

  145. # L* t5 o9 j) R+ ^( ?/ F* q$ @5 G9 ?* j
  146. ; session.hash_bits_per_character
    & c* i& P" ?. l# e! d, [4 v
  147. ;   Default Value: 4
    - `; p% p8 M2 p* U& c! G
  148. ;   Development Value: 5  |; X1 q! R3 w& o
  149. ;   Production Value: 5
    5 g+ L8 `( t+ W. e' V9 A- @

  150. 8 [! d0 r( }$ Y- c. l
  151. ; short_open_tag
    . n5 B0 U" z3 C& f4 h$ F
  152. ;   Default Value: On3 C: y  Y0 k) E2 v- U9 }
  153. ;   Development Value: Off  h+ M4 p- o7 s- _
  154. ;   Production Value: Off. a1 ~5 ^  |6 `
  155. + r7 y) h# u& Z/ u" b6 l) e
  156. ; track_errors
    ! B3 |2 g$ Y  y
  157. ;   Default Value: Off
    ' X& a( T1 y! Y# `% N3 K
  158. ;   Development Value: On
    3 i: O% M, s2 ^% g# k& ]* ~
  159. ;   Production Value: Off6 r' H  W4 ]1 f+ o  ^
  160. : w: p) Z( K9 I
  161. ; url_rewriter.tags
    ! {3 g" t5 `0 \8 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 u6 M1 B  i3 Z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' \& e7 Z1 h3 A. Q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% ~' C5 a( T% J, F! H* b7 {

  165. " r, I/ A5 ]' K! ^& k# b* _1 W
  166. ; variables_order
    - o; K8 S- f+ T9 g: Y8 c( N
  167. ;   Default Value: "EGPCS"" l  L5 S( d2 T: H
  168. ;   Development Value: "GPCS"
    + A/ }/ }" j, a% \/ K# e% ?
  169. ;   Production Value: "GPCS"8 g$ `' O) ^7 S9 x1 Q- d

  170. ; @& D6 l8 T* q" I
  171. ;;;;;;;;;;;;;;;;;;;;
    1 s, v+ h; n% d" s8 m5 G7 q
  172. ; php.ini Options  ;, n1 s5 S- d! y: b0 n5 v
  173. ;;;;;;;;;;;;;;;;;;;;0 J) v1 Q; U* e/ N0 U
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 s8 D3 z7 k- L# @
  175. ;user_ini.filename = ".user.ini"
    # z6 @9 h. D0 \5 V
  176. : c$ P% V: \4 w$ v6 a
  177. ; To disable this feature set this option to empty value
    ; P4 g: e/ }5 I1 P( B& R
  178. ;user_ini.filename =
    ! p7 s4 ~2 s# k
  179. ' f. ^/ \& D7 Q/ H: H8 ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    - S2 B; @4 f" Y
  181. ;user_ini.cache_ttl = 300
    , e3 ]% v4 u! c- G8 g  a
  182. ' ]2 J) Y8 J7 x7 n) |
  183. ;;;;;;;;;;;;;;;;;;;;  x5 _* G& ]% n
  184. ; Language Options ;
    7 {+ A0 n" @7 A4 U7 V) v
  185. ;;;;;;;;;;;;;;;;;;;;2 ~4 e$ f) m" P9 B8 ~
  186. ( f& A) \) M8 U; m$ r: E
  187. ; Enable the PHP scripting language engine under Apache.
    6 e3 [# }1 d$ \2 w
  188. ; http://php.net/engine1 b8 {) l/ X  [+ t+ Y
  189. engine = On# g: \' b( \! n/ Q7 d* H

  190.   n0 _  a. ?8 T3 M* S
  191. ; This directive determines whether or not PHP will recognize code between
    0 e- v  V7 d' `$ _- F  a- d2 |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 D$ M$ z- {% w' w/ p) S- a$ Q
  193. ; generally recommended that <?php and ?> should be used and that this feature) V& l/ ?- g: w: U% }
  194. ; should be disabled, as enabling it may result in issues when generating XML$ b$ K: A- y& I% h8 k/ j- M
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! A. A  E7 E% p2 a+ [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be9 a, B. `: [! L7 z
  197. ; used regardless of this directive.7 I1 q& j, c# K4 k4 R. s, K' p
  198. ; Default Value: On  k, g+ k+ f; B, [. ~% L; U" }
  199. ; Development Value: Off3 y7 _2 Z5 L. A/ ~( W, X/ K/ _
  200. ; Production Value: Off8 K8 W! }5 |# b; t
  201. ; http://php.net/short-open-tag8 o5 S5 r) [8 D( X/ H. B, y) {( E
  202. short_open_tag = On5 d& @* p  A/ E) P

  203. $ ^% A2 l  B* v7 h" \! ]2 h9 r
  204. ; Allow ASP-style <% %> tags.
    " k; ?, r0 |  `  \/ S- R
  205. ; http://php.net/asp-tags
    / {3 a0 `9 r7 N
  206. asp_tags = Off
    # u% R* d/ v; [, P; L& o6 `

  207. % X' [8 {- o0 z: a8 [
  208. ; The number of significant digits displayed in floating point numbers.9 X5 C, i" L# t
  209. ; http://php.net/precision. }/ N5 Z. ~- w1 H' c
  210. precision = 14% W3 o& Y  ]3 [9 T

  211. $ I6 [" @" }' E9 r' x
  212. ; Output buffering is a mechanism for controlling how much output data7 P6 A" V+ p7 R+ e
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that& |. Z8 g2 F4 V/ h
  214. ; data to the client. If your application's output exceeds this setting, PHP% O; a: e7 Y$ `5 H: k$ U
  215. ; will send that data in chunks of roughly the size you specify.: z; g, e7 \4 ^5 l
  216. ; Turning on this setting and managing its maximum buffer size can yield some( y1 W% ?' y# _* U* ^
  217. ; interesting side-effects depending on your application and web server.
    3 g# ^+ Q) b) x
  218. ; You may be able to send headers and cookies after you've already sent output
    + w1 i' L; ?( x! k; a' w9 y  g) Z4 [
  219. ; through print or echo. You also may see performance benefits if your server is; k1 u7 y1 W8 w& ]* P( R$ w; P
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ( D6 J9 J' H* ~* I5 }
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance+ o/ ~& ]5 l0 q* B1 S, s
  222. ; reasons.6 F2 E; Q" [0 _: p: R* i
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; A* G1 k, a8 K4 j, V
  224. ;   functions.
    0 Z% b, k! u& k+ u. Y) S) M" \( A
  225. ; Possible Values:
    1 Q# A) l  ~" Y' ?/ N/ i) m
  226. ;   On = Enabled and buffer is unlimited. (Use with caution). p, Y% Q) B# R# T; l8 W# A6 a  V
  227. ;   Off = Disabled$ X0 h3 O% @  n$ t5 x
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : X5 B: K( f5 m, k8 L
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI) [* X$ a3 g( R8 H; d* y
  230. ; Default Value: Off- k# W. L. l7 t% F. {- t
  231. ; Development Value: 40967 `. x5 ^6 V& @  k$ C: M
  232. ; Production Value: 4096
    9 c, G9 c! R$ K0 M6 l
  233. ; http://php.net/output-buffering
    4 a' T, N5 O) k
  234. output_buffering = 4096
    + m6 G# s9 d& l8 o
  235. 4 O4 Y4 a3 s% T5 i
  236. ; You can redirect all of the output of your scripts to a function.  For$ f/ D5 o: n6 M5 Y
  237. ; example, if you set output_handler to "mb_output_handler", character5 \6 Z: Y+ F. n1 `- v$ @* F2 s
  238. ; encoding will be transparently converted to the specified encoding.
      q' R  }1 N: e/ v+ N* D
  239. ; Setting any output handler automatically turns on output buffering.
    6 p: F7 P- ]! W0 O, x
  240. ; Note: People who wrote portable scripts should not depend on this ini
    5 \! K' A# A/ F
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    8 X1 F( r7 r2 m
  242. ;   Using this ini directive may cause problems unless you know what script- g/ [1 M$ \9 F( x% A& ^1 @
  243. ;   is doing.
    " E7 w! D! Q- k' U# ~$ m! B+ R
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    0 z6 z+ S  M! l# z7 z5 B) V
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    9 ^( \4 ?  y  U7 d) C$ N3 M
  246. ; Note: output_handler must be empty if this is set 'On' !!!!; W$ _7 ?- m8 B9 Z. X) K' R  P
  247. ;   Instead you must use zlib.output_handler.$ `* ~0 H# P; f) ~: ^, m
  248. ; http://php.net/output-handler
    3 c6 Z' t) x8 C
  249. ;output_handler =5 ?3 i% U5 e' K* U0 D1 e9 U) ^
  250. $ _" I7 ?8 L0 `8 L2 }! b! |4 k
  251. ; Transparent output compression using the zlib library
    7 ~6 W3 ~; T, u
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    & F1 Q0 D& V, L6 c, C
  253. ; to be used for compression (default is 4KB)
    ( g3 v( }/ e3 S( o* h/ o
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    1 p3 G! G) R) [0 V9 n, p
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    ) p4 Y0 R5 P6 L5 l
  256. ;   compression. If you prefer a larger chunk size for better
    # R; l! C$ d$ r2 w
  257. ;   performance, enable output_buffering in addition.
    9 Y* L3 q* O9 L: b6 M: i% `7 d1 H
  258. ; Note: You need to use zlib.output_handler instead of the standard; \9 O/ B# l, c5 U, Y8 d/ ~6 C
  259. ;   output_handler, or otherwise the output will be corrupted.  U/ ]" i. ^3 j6 n9 c* U2 t
  260. ; http://php.net/zlib.output-compression
    + {& I! m/ o/ _1 \$ i
  261. zlib.output_compression = Off
    & P9 w& n+ T2 T- J7 ^
  262. 8 J6 y% z- M! r, a
  263. ; http://php.net/zlib.output-compression-level
    / i5 w. E: I$ P8 E% K
  264. ;zlib.output_compression_level = -1
    5 r% o' j1 o7 }/ o# x# M
  265. 8 @; _, d% w) N$ U; T
  266. ; You cannot specify additional output handlers if zlib.output_compression
      F$ A4 O, G* U, p7 |1 S$ _
  267. ; is activated here. This setting does the same as output_handler but in: |9 ?" [& n9 u% ]! ?0 k* {
  268. ; a different order.
    , C( z9 j* `, B; t$ t
  269. ; http://php.net/zlib.output-handler5 g/ i2 I' ?) l: U4 A
  270. ;zlib.output_handler =& f! Q  {+ w* `1 y2 a

  271. : A5 V4 k$ ?* W2 X. Q
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    % Y" K: J% T! ~4 e2 q8 t
  273. ; automatically after every output block.  This is equivalent to calling the
    2 h, N0 J2 Q/ P3 q0 V$ b( E
  274. ; PHP function flush() after each and every call to print() or echo() and each; H+ t7 T: I8 l1 h6 e6 m
  275. ; and every HTML block.  Turning this option on has serious performance
    , K! h; }7 Z* m  @+ Z' S
  276. ; implications and is generally recommended for debugging purposes only.
    " u4 Q) S1 ~5 p9 w
  277. ; http://php.net/implicit-flush
    ; ]2 t2 D2 p, d: v  |" z
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
      i* d- n5 s6 x% s5 Z; R
  279. implicit_flush = Off$ X6 N& E& x- B
  280. * S2 D; G) F. `, v! {
  281. ; The unserialize callback function will be called (with the undefined class'  o+ V5 ]* E  a4 z" ^. i: t
  282. ; name as parameter), if the unserializer finds an undefined class( ?  W: B4 w4 @0 S' a
  283. ; which should be instantiated. A warning appears if the specified function is) M! u) M& Z) ]+ s
  284. ; not defined, or if the function doesn't include/implement the missing class." k0 I! e# O% p6 r
  285. ; So only set this entry, if you really want to implement such a4 i! t& G% N( E: Q8 L$ z9 _
  286. ; callback-function.
    3 |1 L1 F5 p. }9 P/ m
  287. unserialize_callback_func =0 r8 M; G7 X: f
  288. 5 k; @1 r2 F& i/ o% p
  289. ; When floats & doubles are serialized store serialize_precision significant% M# R' N# ?! M2 B/ u$ Z1 Y+ C
  290. ; digits after the floating point. The default value ensures that when floats/ c1 k  }- N& i# P9 D
  291. ; are decoded with unserialize, the data will remain the same.
    * S( }# u. [7 f1 ]9 h3 N8 @
  292. serialize_precision = 179 i/ z6 p' H2 H4 }  y" k7 A% t
  293. ; s. X2 V1 Q; s  u5 \
  294. ; open_basedir, if set, limits all file operations to the defined directory9 m* {# }9 u; y
  295. ; and below.  This directive makes most sense if used in a per-directory
    6 H9 e' G5 f+ }, a- j; {; M, m
  296. ; or per-virtualhost web server configuration file.5 L" K1 d- G. v8 o5 m9 F( C1 _. A
  297. ; http://php.net/open-basedir& r, ~7 `8 t9 N2 C
  298. ;open_basedir =
      ^+ t1 u1 v( I0 m

  299. 3 c: t, j% \1 R
  300. ; This directive allows you to disable certain functions for security reasons.. j, A9 c! o: z: u& K
  301. ; It receives a comma-delimited list of function names.; ^8 W: }3 t+ n/ u
  302. ; http://php.net/disable-functions
      x5 C: L, }- ^" [2 Z" w, V% v) u
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 x/ `# M) f; r3 Y

  304. + [5 \( v8 |1 p- j
  305. ; This directive allows you to disable certain classes for security reasons.9 |1 @* s, Z/ [4 @; E, x$ D
  306. ; It receives a comma-delimited list of class names.9 @$ V8 h1 U8 X' q  \- `& t: C
  307. ; http://php.net/disable-classes' @; g9 T- P1 e$ h. H; A) x
  308. disable_classes =
    ) J/ L3 v0 o- G5 |! c

  309. # s( s$ c& l3 G
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" ]. \/ z# A' W- Y  Y
  311. ; <span style="color: ???????"> would work.
    # w& q0 B7 w. V6 ?2 K1 }
  312. ; http://php.net/syntax-highlighting
    $ Z( C0 n4 r4 h$ P, f: R1 t
  313. ;highlight.string  = #DD0000
    & c  N* A) c' X; R) A! T- }
  314. ;highlight.comment = #FF9900  ?8 [0 W# E' c2 K0 ^+ e" X( V. b
  315. ;highlight.keyword = #007700
    ' I" B9 k* `# T$ |1 ^$ G; m
  316. ;highlight.default = #0000BB
    : ^. R3 m9 h$ p  Z
  317. ;highlight.html    = #0000009 Q0 ?% p" h  D9 h) g

  318. ! w+ z& I# a, p: Z
  319. ; If enabled, the request will be allowed to complete even if the user aborts' s5 w9 g9 [/ ~
  320. ; the request. Consider enabling it if executing long requests, which may end up; M8 k5 T1 z! k7 I5 R! x
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior/ Y6 C- o7 ~, i
  322. ; is to disable this feature.
    ! r+ ?7 T. ]2 T8 w+ d
  323. ; http://php.net/ignore-user-abort4 A( B1 {. C* A
  324. ;ignore_user_abort = On  ~: L7 A& {: L! ?( G  r

  325. 3 A- I! E1 c, ^
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    * n. I$ n$ K+ g! v' G. |
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    & |8 {. _' D7 K+ L4 ?, {) ]  `
  328. ; the file operations performed.- J% Q# Y; Z; p; n- d
  329. ; http://php.net/realpath-cache-size# K9 h) f5 S7 T
  330. ;realpath_cache_size = 16k
    - H1 _5 x$ ^0 q" R  t; f

  331. 5 K/ G0 O, m( f; {+ _# H8 t
  332. ; Duration of time, in seconds for which to cache realpath information for a given. `2 [' n) D2 i; x
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    : ?' r7 H2 z: f" |1 ?' T1 @  j) t6 B
  334. ; value.
    : {6 e5 S4 C  V1 b& ]2 _" {
  335. ; http://php.net/realpath-cache-ttl7 w; x) ~9 |: s: b
  336. ;realpath_cache_ttl = 120
    & E. O( m  u5 T2 i* p# g0 W0 e1 l6 G
  337. 5 R: d( \8 O& m; z) S: d
  338. ; Enables or disables the circular reference collector.
    # \* W- t% s- C) U! p; |  S
  339. ; http://php.net/zend.enable-gc
    % |6 b" x, {' Y8 @5 {  E
  340. zend.enable_gc = On
    & Z2 H* w$ z9 s* U3 W8 n

  341. / @  C" m/ K4 S+ m
  342. ; If enabled, scripts may be written in encodings that are incompatible with& s  i' [$ J4 i; n" F4 l, S
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    # [) \2 d: q, F* R3 i! ~
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    % g( z' s7 ?# N( Z
  345. ; Default: Off
    : O1 `+ _+ `+ [8 g
  346. ;zend.multibyte = Off( V8 N7 p9 Z& h" L

  347. " A3 W* m% l2 t& y- C
  348. ; Allows to set the default encoding for the scripts.  This value will be used9 S; t0 g) s" Z/ K6 {
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.* B% H9 [# _3 F0 K7 r
  350. ; Only affects if zend.multibyte is set.
    2 l3 P+ W5 [9 Z4 @8 r. H4 v
  351. ; Default: ""
    . d- g) E; N' U* y8 ?! W' D6 S
  352. ;zend.script_encoding =- t' G9 j5 O) G  |+ b: d
  353. ) w( L" c0 ^4 {' R; B- X; T
  354. ;;;;;;;;;;;;;;;;;
    ) x8 K2 W' @7 b. q
  355. ; Miscellaneous ;
    4 m2 E6 j8 O9 ?! `1 }
  356. ;;;;;;;;;;;;;;;;;
    - @' X5 o; P  m. X1 {
  357. 4 a7 b  F# D+ s/ N" ]
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    + j7 b7 V- I, V5 e& }
  359. ; (e.g. by adding its signature to the Web server header).  It is no security3 @6 G3 R' ^" k
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ N" ?0 Z& j! S5 w! |
  361. ; on your server or not.
    4 P" [- z$ y3 H. h5 e
  362. ; http://php.net/expose-php
    - b7 w% T# E8 ~
  363. expose_php = On
    2 l5 y+ }: x+ j3 B$ i
  364. ; h( e% O. }% o# S2 T& d3 |: z/ {
  365. ;;;;;;;;;;;;;;;;;;;
    # x  I0 ^. T- K2 f4 D9 b
  366. ; Resource Limits ;
    ! |7 W; ]# {3 H" N( I+ K- O
  367. ;;;;;;;;;;;;;;;;;;;
    - U, p! n7 l# o* m  {
  368. 4 V, e; H/ J& }) y' i& J" {5 p1 t+ s
  369. ; Maximum execution time of each script, in seconds
    % s! ^, m1 n- `# h
  370. ; http://php.net/max-execution-time. {. Y- ?6 O' l5 v  B1 B
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI) q. n6 d2 N) K" G9 A
  372. max_execution_time = 300
    * [4 C+ e6 i* G8 K- y) c4 ]

  373. " _& U* z/ M/ [2 S0 Q% j, n' J8 F
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    & s# @" L- {2 K8 \" ?# ?
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly; l" @+ f. P' r( P: ?( h
  376. ; long running scripts.% t- \6 E6 e. B5 j# g% s1 M$ J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    $ W% ^4 `1 C; e1 \& m$ G2 q
  378. ; Default Value: -1 (Unlimited)# A1 a3 t* _* j! k
  379. ; Development Value: 60 (60 seconds)
    + {; A& H/ e5 w5 I+ N" o1 w) d
  380. ; Production Value: 60 (60 seconds)
    $ l0 D/ K; l/ F+ ]
  381. ; http://php.net/max-input-time+ Y/ p  \* J9 K: v9 x; \" F
  382. max_input_time = 606 _2 \/ d2 |0 w& D# P
  383. 8 L0 E, n. R+ n' B
  384. ; Maximum input variable nesting level
    - w7 ]  B; |; v
  385. ; http://php.net/max-input-nesting-level9 H1 P3 l" x% s2 K$ h
  386. ;max_input_nesting_level = 64% ?& j  q+ L* q) T9 m% I; ^1 V

  387. : {7 b$ B- ~" X& b% }
  388. ; How many GET/POST/COOKIE input variables may be accepted3 W0 `$ H: n9 Z" h
  389. ; max_input_vars = 1000+ z% U0 h$ |! C% _( z
  390. - ~7 d9 e' o5 F* Q
  391. ; Maximum amount of memory a script may consume (128MB)
    ( F; H) I3 L* N2 X2 J4 L5 _
  392. ; http://php.net/memory-limit
    / ~) C  M4 L" l! R
  393. memory_limit = 128M8 e/ y+ m8 q2 X; w

  394. 6 q& [* |3 t) H) C
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , X& _& P: v- `; w% M3 r
  396. ; Error handling and logging ;
    ! X# D5 W. X$ a) Z# L
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 U# c( I  c6 i9 w' N
  398. / Z1 B$ D. G& s; n: t: o5 I; b0 \
  399. ; This directive informs PHP of which errors, warnings and notices you would like+ F4 S; B3 I. n
  400. ; it to take action for. The recommended way of setting values for this% ~# h9 o. `; E* a" \' T4 b% a# o
  401. ; directive is through the use of the error level constants and bitwise
    4 E3 T- X+ k- I2 m
  402. ; operators. The error level constants are below here for convenience as well as
    3 I# O) L1 h1 B0 t
  403. ; some common settings and their meanings.1 }7 x$ u0 I6 J
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; [' {- ]2 ?3 ]5 w8 P6 r$ Y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # x7 o: B7 ?* l3 P% W1 b
  406. ; recommended coding standards in PHP. For performance reasons, this is the3 f4 W$ s! q/ r6 A1 g, A* x, p
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! q3 z; g* Q1 T; K! R6 y% |
  408. ; resources complaining about best practices and coding standards. That's what# v( R/ B+ K& M, T+ Y4 Y. x4 I/ H
  409. ; development servers and development settings are for.
    7 {) |4 u, }; k' r" W& @: t, w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    9 K! A7 ^; n( i3 H( `- C# v/ d
  411. ; means it pretty much reports everything which is exactly what you want during
    ) \. V- z* a. I7 h8 p9 B
  412. ; development and early testing.
    6 U. t4 Q7 j0 B: h: y2 \
  413. ;
    # G0 u. m: G0 E
  414. ; Error Level Constants:1 D9 j0 ?1 c3 ~8 G/ z+ k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! H- y2 M, T. i! X
  416. ; E_ERROR           - fatal run-time errors- P# ]$ {2 k9 d+ M% ~) O/ D7 s+ T
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 g2 W! l4 t; B) l# ]5 M
  418. ; E_WARNING         - run-time warnings (non-fatal errors)# l: U, ~, }, _6 d* [5 O
  419. ; E_PARSE           - compile-time parse errors$ j3 o. o" w7 R: O- L6 B# D$ R  G
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ Y7 |( N* \# e8 `5 i
  421. ;                     from a bug in your code, but it's possible that it was
    + s* a' M7 @" ?! |+ j- I; e9 j
  422. ;                     intentional (e.g., using an uninitialized variable and  P6 B/ A( ~( p8 K6 Z
  423. ;                     relying on the fact it is automatically initialized to an
    / ^/ O) J% w0 l8 D
  424. ;                     empty string). u  B) p% m& c/ J
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 E  u+ U( L3 N$ O
  426. ;                     to your code which will ensure the best interoperability8 V5 y* B* o/ T. X! ]1 I
  427. ;                     and forward compatibility of your code
    & e8 S5 o! I( G2 M  n+ M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup0 j. ~& w$ @% v& G1 m
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's5 D# h- H" u  a/ s' {( ?# B
  430. ;                     initial startup
    , F. Z2 k; V, v7 P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 K* ~5 J4 d" F; k
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " b! V* P4 z" b8 G% u
  433. ; E_USER_ERROR      - user-generated error message
    5 d1 v) Z5 n  T$ M" I
  434. ; E_USER_WARNING    - user-generated warning message
    $ B$ v; h! Y6 f) x
  435. ; E_USER_NOTICE     - user-generated notice message
    . F, S$ w6 M% T  V
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 M9 z; _6 a6 ~) W
  437. ;                     of PHP2 s: F1 X$ V0 [9 _8 f# K" A9 B% z$ [
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : B: C2 b; n; C2 r5 }8 n
  439. ;. @& L: s: m" w$ C5 k
  440. ; Common Values:) q' D4 z$ N  Z8 N0 R9 P! F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 n$ c3 p5 U9 D" n( p7 T8 s) q( P, |2 s
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    7 o' q. `2 E" b- ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)" p1 Y1 V, n/ m5 x2 @- X6 b
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    % `/ O% F+ @5 y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 h: m, X. @# x( y' l
  446. ; Development Value: E_ALL5 ~* V" _9 ^. v/ M3 D; W2 _! r, N
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ h  }5 T7 H7 }
  448. ; http://php.net/error-reporting# K6 {3 j4 R( |% L9 h
  449. error_reporting = E_ALL & ~E_NOTICE7 M$ Q, s0 \9 O! @$ ]0 [1 C
  450. $ ~2 t) x  W9 D) ^
  451. ; This directive controls whether or not and where PHP will output errors,
    5 C% h" m' S/ M) E4 |# H5 ~+ C
  452. ; notices and warnings too. Error output is very useful during development, but
    " \) b0 L! X) L( k# j8 }( ], U
  453. ; it could be very dangerous in production environments. Depending on the code
    " f0 [/ A2 y/ d5 M5 ^
  454. ; which is triggering the error, sensitive information could potentially leak" _0 x9 h+ A& D0 C; Q* `8 n; J
  455. ; out of your application such as database usernames and passwords or worse.4 h/ i7 J  ^9 a$ ^2 e
  456. ; For production environments, we recommend logging errors rather than; K6 t: F4 n* `) I
  457. ; sending them to STDOUT.- X) h# [( u! K0 U/ [# T: i" C9 s8 M
  458. ; Possible Values:
    * Z4 T# F2 b0 `& v
  459. ;   Off = Do not display any errors" x# D9 [: x- T" o
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" L- g0 ~$ k3 |, h  v
  461. ;   On or stdout = Display errors to STDOUT6 n0 o7 u. f2 Q9 _/ G
  462. ; Default Value: On+ c# \3 O2 `: ?$ ?) d
  463. ; Development Value: On0 Q; \; Z- n1 R  |" x  I; z
  464. ; Production Value: Off; u( y! m6 N6 B' W' r4 W8 E
  465. ; http://php.net/display-errors
    ( L9 M+ Q7 S; l1 N3 P" {
  466. display_errors = On* D. {: z5 A6 N

  467. . v$ o( B2 \* |! C4 o# ~+ V: \8 @' R
  468. ; The display of errors which occur during PHP's startup sequence are handled6 r" p; z/ C! r& V' \
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    - h4 ~/ `5 z+ m, ~8 V& ]- d
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ' L; E- u' @+ q( l% U
  471. ; debugging configuration problems. We strongly recommend you7 O  Z- y: `# k1 J! }
  472. ; set this to 'off' for production servers.
    . ?, G% I2 F) x5 e6 U' n# I
  473. ; Default Value: Off( e, d/ W  w3 O
  474. ; Development Value: On
    & J( O! A) ?7 p8 O
  475. ; Production Value: Off
    ! Z5 j$ M- k( g1 M
  476. ; http://php.net/display-startup-errors
    $ v5 j, Y+ u, K: ~. k
  477. display_startup_errors = Off
    # g. m) A" \, H+ [8 U

  478. , s7 p8 X" W2 M. U% E) o
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . _9 i7 p- C* S' Q. C5 P6 K5 Z
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / Y; k: ^- L; I5 R. U) G" n  V
  481. ; directive found below. While errors should not be displayed on productions
      y! l) ^# W+ \- }, `5 o
  482. ; servers they should still be monitored and logging is a great way to do that.
    0 d3 i& R2 j$ P
  483. ; Default Value: Off
    % z* z# R% `$ V+ ], {
  484. ; Development Value: On( S/ ~& X+ e1 V$ W0 x9 ]  q
  485. ; Production Value: On2 m9 ~4 Z! g0 z' E; @+ l3 F
  486. ; http://php.net/log-errors
    # L. g# p! {# t5 S# f5 p' N
  487. log_errors = On
    1 q* x& y: G  M& P8 f

  488. 3 y' s7 k) \! Q. a9 N) P
  489. ; Set maximum length of log_errors. In error_log information about the source is
    7 L: P/ Z* q9 @! k* V( S9 P- d' V6 Z
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 Y1 o$ R2 ]7 M
  491. ; http://php.net/log-errors-max-len
    6 k) i7 u0 ~  z
  492. log_errors_max_len = 1024
    0 ~  ]2 q* ^6 y1 y' \! q
  493. % f/ L5 i  a6 w9 T) s- n
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    3 k, v4 T! B, F, w$ |+ o) D
  495. ; line unless ignore_repeated_source is set true.( i: M# v4 n+ h
  496. ; http://php.net/ignore-repeated-errors
    / [/ |# z$ J1 V+ T: S, O
  497. ignore_repeated_errors = Off" x& a; B. |& [$ p! j2 _
  498. + L, K  y9 p! g& q9 @
  499. ; Ignore source of message when ignoring repeated messages. When this setting
      a* W2 P* y# P$ s+ _0 x0 w- `
  500. ; is On you will not log errors with repeated messages from different files or
    . A8 k! v2 b! V/ J$ K" v; u9 `
  501. ; source lines.
    " K2 `" u/ d9 _0 w6 J0 x, Y
  502. ; http://php.net/ignore-repeated-source1 w7 P6 g4 g, L/ S; n
  503. ignore_repeated_source = Off( v3 X% I; Y0 G" \0 H
  504. ) }& s# U2 O. J. C* q; t
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on4 T1 l2 z( X9 Z) d& ~& K5 K
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    2 X! V) P  h4 s* T
  507. ; error reporting includes E_WARNING in the allowed list
    ' w* D; r0 {4 C1 y  Q6 b
  508. ; http://php.net/report-memleaks
    * e- z- V+ |/ I/ d' V, O
  509. report_memleaks = On
    ' q/ ?8 ^/ I" [! V' X' L. Z

  510. , a" X8 Q1 f* c- m* m8 R: m, i
  511. ; This setting is on by default.1 a( P4 M# \/ ~! ]  g2 \& c
  512. ;report_zend_debug = 0
    - ]8 E5 F8 e# ~7 V- p, Z

  513. " c% ^! C# i, C# S2 b9 S
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; [* A" n9 E. A+ j
  515. ; to On can assist in debugging and is appropriate for development servers. It should* B, f/ E, g' R! G( O$ B1 W
  516. ; however be disabled on production servers.
    $ ~: l9 l, q1 U! M
  517. ; Default Value: Off+ C$ X; w* ^% e9 I" k' M4 ]
  518. ; Development Value: On
    % m' s* A& U1 \5 k, `
  519. ; Production Value: Off& N' j! s$ P) h& G0 M4 s/ ]
  520. ; http://php.net/track-errors4 a2 A5 d; ^2 `  f5 X7 q( K! v
  521. track_errors = Off* X3 k  w' X3 {% }3 Y4 ?

  522. 2 O" L3 P: N: W# J5 a3 w/ _
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    8 r8 C- q% A2 {& [4 P$ v; E& K
  524. ; http://php.net/xmlrpc-errors
    8 Q! @; n& ~) s% d5 J! D! ^
  525. ;xmlrpc_errors = 00 y6 x1 D9 d1 W! k5 A' M- i, U

  526. $ i4 Z& C6 T; h, A3 R! q7 U- m2 D: ~
  527. ; An XML-RPC faultCode
    4 P! A, ]) r# }7 M
  528. ;xmlrpc_error_number = 0
    9 w. L, y4 t1 O# y/ ^* Z3 z+ K- r
  529. , P7 }# K/ G/ l5 Y  y% e  }2 c
  530. ; When PHP displays or logs an error, it has the capability of formatting the+ H+ ]( L/ Y4 K9 o4 y6 S
  531. ; error message as HTML for easier reading. This directive controls whether& a2 I& `- ^  q* s& u
  532. ; the error message is formatted as HTML or not.
    * S; |6 n* o" g( \
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI" l& v) u+ {) ?
  534. ; Default Value: On. f% P# x+ E# y9 a9 Z* l2 K9 V
  535. ; Development Value: On* r1 ]8 L+ A7 ?
  536. ; Production value: On9 j( B2 h7 S. R6 w! a$ v
  537. ; http://php.net/html-errors
    0 v# R& ]$ B; n1 q
  538. html_errors = On
    * }+ t# ^1 \, P- ^6 A" ]) i
  539. ! G' M/ ~" N+ B
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 {; P7 E3 s" X' u; v9 J0 r
  541. ; produces clickable error messages that direct to a page describing the error
    6 |  p9 t$ i' k" J
  542. ; or function causing the error in detail.
    1 G: \: O& q1 {, {) w8 {3 _
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / p$ q4 k& ?3 r; f- ?& [& v* x' x
  544. ; and change docref_root to the base URL of your local copy including the
      `  ]; |1 ?( N3 `$ l( a- J- t. c" ~9 o
  545. ; leading '/'. You must also specify the file extension being used including
    $ D) L: E9 s/ a) k$ \0 `0 G+ c7 l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which( o1 n; r: @+ w/ j0 J2 t
  547. ; case no links to documentation are generated.8 i2 N' E; P" F" {) k
  548. ; Note: Never use this feature for production boxes.
    # u' t" V* u# p8 V; L! s2 K6 _
  549. ; http://php.net/docref-root- m, t% B& f* p: `: }; b+ S
  550. ; Examples2 y% r* P" _7 R2 m- b8 D
  551. ;docref_root = "/phpmanual/"
    3 o# ^! j  u( @: b/ f

  552. . C, ?2 ]" W/ ^* J  O
  553. ; http://php.net/docref-ext
    7 d7 W. }$ e  a  X# W! p- w
  554. ;docref_ext = .html7 t6 ~$ Y, M% k, I; R1 t% J0 Y4 @
  555. + M5 X0 w' K6 q
  556. ; String to output before an error message. PHP's default behavior is to leave6 _3 S" D& a! s* X" \
  557. ; this setting blank.' n  @+ Y* ^6 F+ n; E4 G  X( z' e
  558. ; http://php.net/error-prepend-string
    1 p% u( {5 c2 F5 K4 Q, a3 ?
  559. ; Example:
    # B" b7 z* T- Z1 T( V
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ a% e& ]" x; H, _" T! _1 Y

  561. : u$ c. E4 X7 b' n; K( s  Z
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 S) F1 s+ g- f: ~& D; h3 e
  563. ; this setting blank.
    ! W! o/ U  b# z- G5 j$ C; q3 A
  564. ; http://php.net/error-append-string
    + s& ]% w# h- J5 U8 L
  565. ; Example:
    ) j5 r" D0 @' g$ h1 ?
  566. ;error_append_string = "</span>"7 a9 \& m& y. \* q1 u

  567. 0 R+ M  C( i- `+ n0 u- L
  568. ; Log errors to specified file. PHP's default behavior is to leave this value  K7 Y  l2 L6 g# }* t9 ^# t" s
  569. ; empty.$ y. z( ]/ _% Q1 Z* U  i
  570. ; http://php.net/error-log$ v% T) D% [$ \( v+ I! P8 D
  571. ; Example:: n& {* v9 E# |& @' b8 ?( Y
  572. ;error_log = php_errors.log0 K, V6 \7 ~6 Q5 e
  573. ; Log errors to syslog (Event Log on Windows).
    * r) b3 R- Y) H! W7 {
  574. ;error_log = syslog
    . m$ p) C0 T2 g  j( l! ?) S0 L
  575. * d, [" J  K2 O0 J4 s+ S' b$ Q
  576. ;windows.show_crt_warning
    7 v/ r. f1 [4 i5 j1 r
  577. ; Default value: 08 G* n5 o& l3 D( l' t
  578. ; Development value: 0
    5 E& v  D) l3 B8 f8 m
  579. ; Production value: 0
    0 l( m( q! T8 e9 Q7 v4 P4 o" I
  580. & M9 ?/ O: A2 C; F2 ~
  581. ;;;;;;;;;;;;;;;;;
    8 H( o/ U2 ^( q( Z' _7 G
  582. ; Data Handling ;. G0 f% D9 Z% D$ ?9 S
  583. ;;;;;;;;;;;;;;;;;
    ' u9 o: |# E# @$ L
  584. 0 d0 a7 I. m0 L
  585. ; The separator used in PHP generated URLs to separate arguments.+ S- K/ ~" Q: k; I, F* E
  586. ; PHP's default setting is "&".
    ; ~7 f- K, }$ d* a
  587. ; http://php.net/arg-separator.output; R. B/ \" I# R" ?8 e! w
  588. ; Example:
    % b. t& Y- T! l2 P' |  d$ i
  589. ;arg_separator.output = "&amp;"+ D! O. v. v! J0 m# ?: G8 x
  590. 2 k) A6 n) n/ a/ G; Z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; C" B& a$ `' s- J; W6 i2 W+ N6 O: T+ w
  592. ; PHP's default setting is "&".
    6 r+ z* `2 i; [2 F7 k
  593. ; NOTE: Every character in this directive is considered as separator!( h1 s4 ~9 Q) O0 _0 a; E' @: _
  594. ; http://php.net/arg-separator.input6 i5 A) N/ l' f- e1 M
  595. ; Example:
    ( E, B% I& K  a7 ~! h
  596. ;arg_separator.input = ";&"
    ; }7 K. [# F, y" \4 g* i  N2 q, x

  597.   z# e+ z3 k  P' l
  598. ; This directive determines which super global arrays are registered when PHP9 g' M% s5 c0 a8 K
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super" Y! ^" [; J# o! |: L# d
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( B- i4 k7 o$ x+ f$ [* N) r$ K
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    5 b8 n( u+ ]  y3 q2 t
  602. ; used as the others, ENV is not recommended on productions servers. You
    6 J; d  b2 F0 g: s* [
  603. ; can still get access to the environment variables through getenv() should you
    * x- y$ Z( z  @$ k& P; p
  604. ; need to.
      C8 A& i% y6 F$ P2 N% q
  605. ; Default Value: "EGPCS"6 ~' D" D% ^6 Y7 g" g* N
  606. ; Development Value: "GPCS"
    / |# q8 r$ x, T4 ^0 b4 i+ c* r
  607. ; Production Value: "GPCS";
    + l5 H/ I! b$ o( h: h
  608. ; http://php.net/variables-order
    7 {. M6 O9 i* g
  609. variables_order = "GPCS"
    / e' \0 {  I0 g& o- E: q

  610. 6 c. X  _. M9 M" ]$ D
  611. ; This directive determines which super global data (G,P & C) should be
    : U9 Y; x$ W; W
  612. ; registered into the super global array REQUEST. If so, it also determines
    ' [* y5 K4 E- ^3 |* \2 ]* `$ _
  613. ; the order in which that data is registered. The values for this directive
    7 C4 ^0 M$ T" b; X
  614. ; are specified in the same manner as the variables_order directive,4 \! |9 X/ w: q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) N6 l$ x0 x; j2 j
  616. ; in the variables_order directive. It does not mean it will leave the super6 _  i1 ~  x1 |. V1 p8 }7 V8 ^- o9 H
  617. ; globals array REQUEST empty.
    # i4 Q: r! c+ Y+ G: G+ e
  618. ; Default Value: None
    ( I! t! r" x$ S" N0 x2 b& L& _3 [
  619. ; Development Value: "GP"
    % K; H! d# ~) n, u% m$ K; b, m
  620. ; Production Value: "GP"
    ' q' V' _: Q1 s5 G+ Z& e. {' r' N
  621. ; http://php.net/request-order
    % i9 T1 z# X% U- ?. {. x
  622. request_order = "GP"* M5 S. I4 ^& }& N5 Y

  623. ' [% c3 n; n$ @) i' B- ]+ R
  624. ; This directive determines whether PHP registers $argv & $argc each time it$ R( w' t( w4 u$ W) C2 g( E, N
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    - u5 b- g# c7 l6 g
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ( y% C, ]2 x+ K( ^1 A' C
  627. ; that were passed when the script was invoked. These arrays are extremely
    $ N% k: w# f% h3 b
  628. ; useful when running scripts from the command line. When this directive is' _7 e) Q5 c+ j( ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
      s5 S  P. u3 G5 q. w4 L
  630. ; a script is executed. For performance reasons, this feature should be disabled+ u$ W7 c5 _* {4 `+ I5 {& B  e
  631. ; on production servers." v/ X8 `' J# G/ n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 h9 r! K; D9 d
  633. ; Default Value: On( I6 l8 X# I/ h
  634. ; Development Value: Off# Q% ~; R/ P% Y! w* O9 {6 \1 t/ v" I
  635. ; Production Value: Off
    # z2 `0 N! w# D. T! b
  636. ; http://php.net/register-argc-argv9 h5 x2 @1 ~" S, J% ^' ~
  637. register_argc_argv = Off7 ^% q* y+ t% |, H

  638. * o% Y2 H' T! U8 z8 z1 l+ Q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    & g' m3 i; [1 \% O; e5 y* d( L
  640. ; first used (Just In Time) instead of when the script starts. If these; Z6 ~& h$ M2 c3 @8 y9 E( i6 Y
  641. ; variables are not used within a script, having this directive on will result
    5 E' [/ t9 l* j1 m" a' W# V
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    : f# D  M1 z; ^
  643. ; for this directive to have any affect.3 E7 T* L3 n5 D( z( U
  644. ; http://php.net/auto-globals-jit5 c% _1 D% V( ^* L( I8 F( l" R
  645. auto_globals_jit = On  S. L% R) `# w7 h! S
  646. ! I$ ?' s+ t7 x; f2 \
  647. ; Whether PHP will read the POST data.6 y# z. I1 Y  X4 {& L$ V8 V
  648. ; This option is enabled by default.$ E+ l" c# l1 _8 r
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST$ z' F* E+ B: C
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    7 B2 o/ d4 r1 S3 n+ [# z1 w
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    * U7 e1 O) ?8 k  f
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.2 @# K$ \# s; Z
  653. ; http://php.net/enable-post-data-reading
    % a1 t9 ]. {2 f$ ^( `' }0 @# \
  654. ;enable_post_data_reading = Off
    % n3 z" P' t% m5 D
  655. + I. H. a3 R$ l8 c% \3 p: j- f
  656. ; Maximum size of POST data that PHP will accept.
    " g9 Z5 \: {# M2 |* p% G
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    7 ]; E; W! W  \! n; ]9 `
  658. ; is disabled through enable_post_data_reading.
    % v" }: d! k; a2 B/ N
  659. ; http://php.net/post-max-size; X1 K, h8 Q# u3 d8 P4 F5 `- U! I$ |
  660. post_max_size = 50M
    - `8 o# k+ m- r8 o
  661. " q# C$ f+ J9 }& j! w: T
  662. ; Automatically add files before PHP document.+ i. g' f- |, h
  663. ; http://php.net/auto-prepend-file9 ]  `6 n( f' Y+ V5 ]3 z, [2 o$ T' d
  664. auto_prepend_file =/ n7 B! z; k+ F0 @" q# `

  665. 7 \$ n# q& x7 {/ f# n4 U
  666. ; Automatically add files after PHP document.1 N6 k0 Q+ B9 z$ x8 s. Q5 a
  667. ; http://php.net/auto-append-file
    ( ~7 s/ N3 I) q  |5 _/ n
  668. auto_append_file =
    ) V0 q8 Y+ W6 ^4 V. q  u, ^( A

  669. ) [" v7 F0 D2 \* M2 l' N
  670. ; By default, PHP will output a media type using the Content-Type header. To8 T. M' o- @4 j+ v% N  d: B1 R
  671. ; disable this, simply set it to be empty.
    ; ]7 E$ X% n" I2 R9 {% O1 h
  672. ;
    3 S" X. U) R/ [# e: S
  673. ; PHP's built-in default media type is set to text/html.# [7 s# v1 i; y' v1 x' r: B
  674. ; http://php.net/default-mimetype
      [0 Y# R- Q: d- n) O' p$ i
  675. default_mimetype = "text/html"
    6 k0 J0 {% Q! o( z

  676. 4 C: E$ n$ z0 t
  677. ; PHP's default character set is set to UTF-8.
    ' z6 b6 \6 n- s: V8 C! Z# m  n7 X
  678. ; http://php.net/default-charset
    3 o$ u, }: f0 q4 i: U, o; W& `
  679. default_charset = "UTF-8"1 X0 w& a/ f& \& ]  z

  680.   v! X3 S: E# b! l% ]1 [7 N
  681. ; PHP internal character encoding is set to empty.
    9 H) ^& R5 o" n2 X5 ?8 w+ n
  682. ; If empty, default_charset is used.# f1 E) n4 V& J6 y0 M3 b
  683. ; http://php.net/internal-encoding
    + `# b9 b; B1 l, y% C/ u
  684. ;internal_encoding =1 B0 u9 f! q- G3 T* {# o- a) \
  685. $ d: e' M) C' Q) M, w3 k$ z
  686. ; PHP input character encoding is set to empty.2 q4 O; H) a7 a, h. s# E. v
  687. ; If empty, default_charset is used.! m' d7 P2 L7 q
  688. ; http://php.net/input-encoding7 W% N4 Q- T; q% M9 q
  689. ;input_encoding =
    " ~, T1 Q( l2 K

  690. . l8 W3 L- c' i  ^8 F
  691. ; PHP output character encoding is set to empty.% u9 X% ^( Y& S. u7 [3 u
  692. ; If empty, default_charset is used.
    5 y/ `# F1 d2 m  v5 }# {
  693. ; See also output_buffer.
    7 r7 b" O+ ~& p7 p7 |* n; D4 ?
  694. ; http://php.net/output-encoding
    $ v# {- F* m) w4 T
  695. ;output_encoding =
    ' P/ X; ~6 P/ e1 @" i

  696. ) ?/ d, s# J) ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is9 H. a5 g# {6 h/ X
  698. ; to disable this feature and it will be removed in a future version.0 J8 _3 z8 B: W& s* m8 J9 {
  699. ; If post reading is disabled through enable_post_data_reading,
    0 e' R) ?/ P+ G& ^# _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    & \1 v9 c. o6 M- D3 q
  701. ; http://php.net/always-populate-raw-post-data- }1 `: |  @; K# @- a3 n
  702. ;always_populate_raw_post_data = -1& }+ ~# Y; p0 }& w1 o
  703. 4 h7 n8 h" a1 A7 p
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % s# O# ]" ^- _4 I4 `. @9 ?4 @# q% D
  705. ; Paths and Directories ;
    8 ^$ d3 p' b0 J7 ^) ?, e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % y2 m& t# I0 f8 ?4 U$ f* n0 a

  707. # R' S; C" u; h/ c
  708. ; UNIX: "/path1:/path2"! G. q$ @  G/ A2 j8 ?( B3 d
  709. ;include_path = ".:/php/includes"
    ( P) h; I. O8 g
  710. ;4 B; ], {( P5 g+ O
  711. ; Windows: "\path1;\path2"
    ' Y* V6 i2 P; @' h
  712. ;include_path = ".;c:\php\includes"
    ) l% d- ]% m7 H& j3 x5 [
  713. ;
    9 }$ Q. z& Z' n; R: J; O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"$ u. w5 \/ G  h1 W2 s
  715. ; http://php.net/include-path+ h9 [! d: e7 c- J( h

  716. 7 w+ t# X( G4 C5 ~1 L7 @8 ]
  717. ; The root of the PHP pages, used only if nonempty.
    - h& h, W0 n; k
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    , g, v: B0 t' u* l% h
  719. ; if you are running php as a CGI under any web server (other than IIS)' A1 W9 V+ o. e4 t$ o  V! K
  720. ; see documentation for security issues.  The alternate is to use the0 Q5 X2 h; o. a7 Z7 K* l
  721. ; cgi.force_redirect configuration below) T! v  q4 w% @
  722. ; http://php.net/doc-root
    % J/ w: r5 C3 y3 D3 d" f
  723. doc_root =* d$ |1 m# `( Z# m% D9 m
  724. ; w! L7 T  [, j: @% {
  725. ; The directory under which PHP opens the script using /~username used only! L7 s" b1 ?. B, {( A) j4 B% Z
  726. ; if nonempty.& O. h) d* I5 I
  727. ; http://php.net/user-dir' V+ W9 `- Y& f
  728. user_dir =
    0 L; N1 f, [& y: j2 ~8 t

  729. , r5 g: n0 X9 F: \# o& a
  730. ; Directory in which the loadable extensions (modules) reside.
    . _$ D! I/ m, W$ ^8 q- v( O3 V) a
  731. ; http://php.net/extension-dir3 ?' L0 D$ r6 l2 q0 }0 m
  732. ; extension_dir = "./"6 e9 H; t0 P) }2 e  |( Y; N
  733. ; On windows:1 e% j: F7 W- z' E
  734. ; extension_dir = "ext"* E- l0 h- _, a$ l
  735. ! D4 |5 N5 H$ l8 f1 M  h  Q5 |
  736. ; Directory where the temporary files should be placed.
    1 v( e' d9 u0 O; C" A% m
  737. ; Defaults to the system default (see sys_get_temp_dir)6 ?: u  h! F9 e2 Z2 q
  738. ; sys_temp_dir = "/tmp"$ F& f8 ^* X/ P+ \- g
  739. * i( B, }% V0 l- m  O$ @# m
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 B3 Q% H7 d9 H  R
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ U  R% O6 J  K% z3 N8 _6 w
  742. ; disabled on them.
    ; N. Z+ c" M" L$ l* H5 u
  743. ; http://php.net/enable-dl4 V9 Q6 {8 X% F! L
  744. enable_dl = Off* ?7 J" h/ q8 a4 W

  745. # {7 a" ]9 ~. E/ C2 @; M, ]  P; M
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. s3 I3 a( Z, ~* R  r3 D! P  a3 `3 z
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ; A6 V5 Z7 I6 W# H& B/ @
  748. ; turn it off here AT YOUR OWN RISK2 x  _: w+ o3 m3 R
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + O% m" B& |# t: m/ k
  750. ; http://php.net/cgi.force-redirect
    + p) T( U% d1 L% ?9 k; `
  751. ;cgi.force_redirect = 1
    3 I# U1 W5 R. `. X0 [2 `- d# M

  752. ( N( m5 N1 R2 w  u4 i! k
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 w% c1 J/ a1 v) W
  754. ; every request. PHP's default behavior is to disable this feature.
    5 {: ?" o" {! x) B/ a2 J  c
  755. ;cgi.nph = 1
    0 u$ e" h) w& V5 w& Y7 h
  756. 1 L& p8 ^" v8 h( e: q! p- Y
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape; p8 r. |; I8 X* h- S: Q- B# M& Q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 d+ L% ~/ e; u" c5 Q, [' \/ l7 l: u9 y
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY, N. P! I3 I8 F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
      j% {) M- M5 t& R- G1 M
  761. ; http://php.net/cgi.redirect-status-env
    ! e( R9 p  Q: g3 W
  762. ;cgi.redirect_status_env =
    ) p4 t4 Q, z" v& Y

  763. 5 Y2 M$ F! L) R; x$ B
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    8 H5 @, K( ~7 w, l; G* z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok  n- w( j" @( i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 j# s$ H0 l$ L/ U4 m2 u2 |: k
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ U3 Q: |: n7 Y$ Z" w4 {
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% d' y- G0 L/ }3 u% X
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 N1 w8 U; x8 j# ~! p) a1 B- n
  770. ; http://php.net/cgi.fix-pathinfo; }& X' t/ t$ P# o# B  k3 R
  771. cgi.fix_pathinfo=1
    ' t8 V, P1 H% M9 U6 e
  772. $ g: Y6 X& s+ \8 Q- i
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 A1 I6 M! K! o3 C9 G9 B# @: l
  774. ; of the web tree and people will not be able to circumvent .htaccess security.1 B7 f% r6 w$ m+ t$ H( }9 [
  775. ; http://php.net/cgi.dicard-path' r; u3 H: R6 M+ j( w
  776. ;cgi.discard_path=1
    3 N' W! v/ j+ }. m  z: C5 w) e' ~
  777. ; H3 j( F/ ?4 g1 N& e# e5 x" C3 r
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , {8 h0 z0 p& R+ _6 z
  779. ; security tokens of the calling client.  This allows IIS to define the% e! `% f0 ~) e, `
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    " _( o; j& F6 x' Z4 k
  781. ; does not currently support this feature (03/17/2002)
    $ i" A9 Q5 |) T9 j: S% @2 ~
  782. ; Set to 1 if running under IIS.  Default is zero.2 K& Q5 N0 o7 o) p1 J5 Y
  783. ; http://php.net/fastcgi.impersonate
    , @) m& k5 H3 t5 Y# y
  784. ;fastcgi.impersonate = 14 e8 X. S$ }( G( h

  785. " N0 T  S4 N* [" H6 N/ N' c
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable8 ?; A. Z; A. F# G  B
  787. ; this feature.
    - h& o9 [" p9 B
  788. ;fastcgi.logging = 09 j; D3 Z0 K7 m) s$ b  ]
  789. ! o3 ?; L0 @( W- t  G
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to' @' D1 q8 d2 y- g& m! {" l
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * D* k- w6 ]6 J+ ^. H# n6 W5 `
  792. ; is supported by Apache. When this option is set to 1, PHP will send$ P5 Z; i, S: c! Q
  793. ; RFC2616 compliant header.
    / P, z$ i$ T: Q0 @! ^+ ^
  794. ; Default is zero.
    , G+ F6 [4 Z) |8 G
  795. ; http://php.net/cgi.rfc2616-headers
      c* D5 a5 M. y# z3 o
  796. ;cgi.rfc2616_headers = 0$ c  b6 E/ A7 R. I
  797. 6 ?+ ?* ?8 w/ ~8 f- i' j1 B2 [2 j
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * k8 c9 {4 \$ i% D" u
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ' b/ H4 t8 D1 b+ V: N2 A; X
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 Y2 j) B% W! Z) c9 S2 m
  801. ; mode skips this line and ignores its content if this directive is turned on.
      t5 S4 R  S4 P: Y. D
  802. ; http://php.net/cgi.check-shebang-line
    , P/ P) @7 r6 N9 o6 Y# m
  803. ;cgi.check_shebang_line=1
    7 M8 J, H0 h) @9 k: m" O. v
  804. . d" Y% c8 `- u) `* r4 B2 J4 H
  805. ;;;;;;;;;;;;;;;;% l! k$ e+ K( ^( ?) x. ?
  806. ; File Uploads ;
    ; ]  S, k' s% H  r. G3 w
  807. ;;;;;;;;;;;;;;;;
    ( t" d: s7 n! T; K; ?

  808. 1 h6 }0 ]+ ?1 u& B" x! P( F
  809. ; Whether to allow HTTP file uploads.2 a( Y; R% p0 L  q6 ?& R* i3 L& A
  810. ; http://php.net/file-uploads( J) G) Z* J+ k* ?
  811. file_uploads = On
    8 D9 Z# n" ?- g& m' ^8 i
  812. % N; T7 `6 G8 @' H
  813. ; Temporary directory for HTTP uploaded files (will use system default if not0 ]* T9 V& C* r, x) u8 b$ B, a
  814. ; specified).+ \! l  r$ \7 M( i
  815. ; http://php.net/upload-tmp-dir9 w  O3 Y5 r- r4 h! `3 B% v& F  }
  816. ;upload_tmp_dir =3 m3 ?3 B8 ?! E6 p2 e, Y7 I3 d
  817. ( J' ]  ]3 i5 j. r: {
  818. ; Maximum allowed size for uploaded files.+ R# b0 g5 s, I5 H- {
  819. ; http://php.net/upload-max-filesize$ m6 H: p' O5 z4 M2 v
  820. upload_max_filesize = 50M3 |/ }* G$ m0 k( d6 }

  821. # y* J4 n. @) U. M" W0 Y
  822. ; Maximum number of files that can be uploaded via a single request, g  E5 M# V/ Q& t  M; x* ^
  823. max_file_uploads = 20- v5 E5 }9 T$ Z6 H0 S% N
  824. ; y4 d& X. \( G7 k3 p* V
  825. ;;;;;;;;;;;;;;;;;;
    & H, m! a" F" \& ~, x1 y3 D
  826. ; Fopen wrappers ;
    / D3 n! M9 e$ C& f
  827. ;;;;;;;;;;;;;;;;;;2 M+ S0 X; H4 |+ I) h3 h4 D6 L0 n
  828. 0 N8 J$ b$ Z  \3 @, {1 b
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 [' k7 b7 x- r$ ^  D) p
  830. ; http://php.net/allow-url-fopen1 ?& M9 W/ l# l. o/ M/ M
  831. allow_url_fopen = On0 l! o* O" s& I4 c4 {- P7 M

  832. * s) K% M* ?/ D
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    % L! w0 _5 v& V
  834. ; http://php.net/allow-url-include+ O7 }5 X" @5 x+ v! N7 I! g* m
  835. allow_url_include = Off: N; @/ p" R+ q& `
  836. * \, N2 Q& W1 v; {$ G4 D
  837. ; Define the anonymous ftp password (your email address). PHP's default setting" y% j8 k% L9 j" N7 _/ b
  838. ; for this is empty.
    & h2 y8 P7 x; G9 [8 W: {
  839. ; http://php.net/from
    2 c# y( c  D2 K" F1 k' l9 A/ b
  840. ;from="john@doe.com"
    7 s) n6 a; t9 Q& w9 S/ {: \
  841. , L1 p' l" w3 v- @9 W$ v) f
  842. ; Define the User-Agent string. PHP's default setting for this is empty." L# t$ x7 R6 r3 n, }
  843. ; http://php.net/user-agent
    & {5 `+ I2 ?, t; ?7 Y% _
  844. ;user_agent="PHP"
    # S; e' M  T; ]9 o: H

  845. ; _% A) q7 F3 T. W, A% S
  846. ; Default timeout for socket based streams (seconds)' |7 w. u6 z' H& S7 r% }4 z
  847. ; http://php.net/default-socket-timeout9 b5 d# ^$ m. `5 ]8 f& d- f
  848. default_socket_timeout = 60
    0 u: K- c) Z( f6 j$ v1 h# T
  849. : A7 ~7 N/ k6 y6 T( v6 a" y
  850. ; If your scripts have to deal with files from Macintosh systems,6 i, z" W! V  G4 F
  851. ; or you are running on a Mac and need to deal with files from2 B8 s1 P, H5 c# E- u( f0 H
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ! M  r( H" C- ?
  853. ; automatically detect the EOL character in those files so that8 q9 ]& \6 g# O" ?; d8 y1 a
  854. ; fgets() and file() will work regardless of the source of the file.& E+ I" P$ r8 D! l) G- s, ~% V) [
  855. ; http://php.net/auto-detect-line-endings: r( H! [: I2 b) m0 R
  856. ;auto_detect_line_endings = Off' \# }/ r& A% b. Z

  857. ) \1 W+ |4 Y2 R7 E  }9 ?" k
  858. ;;;;;;;;;;;;;;;;;;;;;;5 @  B4 \# `* k  {6 H. [; h8 e- I
  859. ; Dynamic Extensions ;
    - U1 M  P) \4 m$ z7 X% h
  860. ;;;;;;;;;;;;;;;;;;;;;;7 D. k' ~0 a& ^2 A/ Z6 j/ k
  861. & s4 i( e& d- N
  862. ; If you wish to have an extension loaded automatically, use the following
    ) F9 J8 R1 k: _2 h, B4 h7 r
  863. ; syntax:
    " G( _, U' Q$ J4 r9 ~6 j, e
  864. ;
    3 h" s( s/ W! E1 e1 D+ D
  865. ;   extension=modulename.extension
      |$ |! y1 h* p: P
  866. ;5 _6 d; T; E* b; t8 o
  867. ; For example, on Windows:1 w+ i( W, k8 j: b( H+ t5 Y
  868. ;, |% i$ L. e" @: ^3 ]
  869. ;   extension=msql.dll: [6 j% {: d0 q! l" `
  870. ;( |  |1 y; ]& K6 e' J( @: M
  871. ; ... or under UNIX:
    9 N( H+ @1 C  x5 O0 }
  872. ;% J1 T+ R$ N! T
  873. ;   extension=msql.so) v9 a* n6 ?" K
  874. ;
    5 F/ ]% c7 J2 y2 x# T
  875. ; ... or with a path:
    2 @' @7 K, S& @% C
  876. ;* B  O" N8 A: P  }2 t* I% G
  877. ;   extension=/path/to/extension/msql.so1 F& P! L4 i: O$ K1 o
  878. ;
    % I, [1 Y& i1 Z  V9 R
  879. ; If you only provide the name of the extension, PHP will look for it in its
    * f6 X" W) r0 D
  880. ; default extension directory.
    1 L/ _2 _* }" v/ b: j, K
  881. ;4 _( @" Y4 ]0 B; i4 _& X. Q
  882. ; Windows Extensions- K& k* O& X. a8 G2 S3 D
  883. ; Note that ODBC support is built in, so no dll is needed for it.) S! D: j3 l% n: M4 K0 G5 s2 K
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    * L# J7 k5 j8 ~& m/ I
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).$ B& V6 W0 c  E" Y. y. K
  886. ; Be sure to appropriately set the extension_dir directive.5 M0 J8 a# I( T& x+ P! X
  887. ;
    ' y7 h- W9 z8 W" U* e
  888. ;extension=php_bz2.dll* l7 {  J" C- x5 G) P  t( W4 F0 b
  889. ;extension=php_curl.dll4 V7 o& f+ y3 b; Q4 X
  890. ;extension=php_fileinfo.dll
    5 r9 m' }: t: T) N; _" H, t3 @
  891. ;extension=php_gd2.dll
    ! ^8 ]  B" w. R1 B* C
  892. ;extension=php_gettext.dll) C7 l% v! N9 O3 w
  893. ;extension=php_gmp.dll
    $ l$ H: a3 `* G$ i! E
  894. ;extension=php_intl.dll. f6 V4 c7 q# x! m+ C: ^6 ~
  895. ;extension=php_imap.dll7 @' K7 w6 G& j, w5 N5 E
  896. ;extension=php_interbase.dll4 e+ o$ w) E4 U/ J* p
  897. ;extension=php_ldap.dll5 p+ N6 L2 l/ e7 M* y9 l
  898. ;extension=php_mbstring.dll$ \! I% F) _6 x& W8 ?
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ; B3 o& \, ?/ Z8 p" [4 S
  900. ;extension=php_mysql.dll
    5 @6 d, b% H- m$ C; [/ e' B
  901. ;extension=php_mysqli.dll( j9 Y* m7 Z5 I. z  ^
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 n* r% Y, X$ u* P  \) D& K: ?
  903. ;extension=php_openssl.dll
    $ B- t& `( d3 F' A8 F
  904. ;extension=php_pdo_firebird.dll
    3 [( w  X  G' |
  905. ;extension=php_pdo_mysql.dll) V! e% ?( L. y, f- z' z6 c0 F. p
  906. ;extension=php_pdo_oci.dll( c) F1 B( B6 i9 {- c* J
  907. ;extension=php_pdo_odbc.dll+ L: K: n( Y* J/ q+ E
  908. ;extension=php_pdo_pgsql.dll
    : m+ M( I, z# }& {: C
  909. ;extension=php_pdo_sqlite.dll
    6 A5 H. F8 q  e5 K; J
  910. ;extension=php_pgsql.dll, u& E5 \6 `  T. Q
  911. ;extension=php_shmop.dll
    0 C5 T1 Q; V! a' }3 h9 m. z; r

  912. + q0 E/ B# {8 s, P+ [1 n1 I
  913. ; The MIBS data available in the PHP distribution must be installed. * P, |# E1 a- m
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 }( K) i% ^: J% M+ |2 U
  915. ;extension=php_snmp.dll. _% `/ A$ A/ O- Y# O
  916. * R& x6 D+ W; D" C
  917. ;extension=php_soap.dll
    ! |4 T6 I& x; B; c+ B  Y
  918. ;extension=php_sockets.dll
    $ m1 z" k5 }$ s9 P
  919. ;extension=php_sqlite3.dll
    8 Q/ @5 v5 B; h
  920. ;extension=php_sybase_ct.dll. m% V- [. J0 F; U
  921. ;extension=php_tidy.dll
    + G* M- k6 f) ~. |3 M1 ]
  922. ;extension=php_xmlrpc.dll
    - w, ~/ c$ s) ^) j7 G5 e
  923. ;extension=php_xsl.dll
    , `4 i) I: k( W# G# p5 Z

  924. ) y) B7 W) l3 ]. d9 W6 s) S
  925. ;;;;;;;;;;;;;;;;;;;+ v* \, z9 b7 w$ T9 v
  926. ; Module Settings ;
    3 R. _6 N% M( I, Q
  927. ;;;;;;;;;;;;;;;;;;;! g# j# E* W2 _6 J7 s% G" `
  928. # w/ w% ~+ E1 k+ ~
  929. [CLI Server]
    4 U4 J3 C9 F8 G) f: C) g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.% c3 x6 k$ R( F- ~5 A( X' G
  931. cli_server.color = On; J7 g0 w* @+ C+ u. q
  932. ; o2 y5 _: w- Y9 X/ e
  933. [Date], h: J  V- ]1 K1 Z* b$ ?" p
  934. ; Defines the default timezone used by the date functions6 Z- f5 a% W3 B9 b
  935. ; http://php.net/date.timezone8 R# D! o. e, r& p0 v5 b( T) B/ C
  936. date.timezone = PRC
    ( q! p8 }- s2 n, z$ I2 d  D

  937. ; b. d! e( f* O$ Z$ H& m: Q, [' n
  938. ; http://php.net/date.default-latitude
    , u; u( G1 O& `6 H9 d: S
  939. ;date.default_latitude = 31.7667
    3 F' H2 w8 y2 b2 A: G& u6 ~
  940. + S' _6 `+ h3 l3 u7 d0 f
  941. ; http://php.net/date.default-longitude8 R: ?0 C0 P' i9 W0 b& N- T
  942. ;date.default_longitude = 35.2333
    $ G  T! T" k, A) j

  943. 8 l( |+ }3 |7 m- {) B) s
  944. ; http://php.net/date.sunrise-zenith
    ; e% z- C8 w; L) u. W8 i: x
  945. ;date.sunrise_zenith = 90.583333$ G3 k; i2 D/ l* Y' e
  946.   |. x, f& \; Y: x6 ~$ B# Y
  947. ; http://php.net/date.sunset-zenith+ \/ Q4 r  R7 }4 p8 A( g
  948. ;date.sunset_zenith = 90.583333
    0 O5 z  [7 F) q" a7 Z/ ]/ x

  949. . @, ?7 W" K' W  Y
  950. [filter]1 ]  V- T6 y: D4 |
  951. ; http://php.net/filter.default
    * {' O8 F5 a. z9 N; D
  952. ;filter.default = unsafe_raw
    6 O* ]. K$ m- Q7 Z, D
  953. 8 g2 Z$ g: ]9 @) {
  954. ; http://php.net/filter.default-flags
    8 c7 |2 U+ ]/ M# [# N! Q; J! B
  955. ;filter.default_flags =
    # Z# Z6 T. `$ v% C

  956. * j" I+ z/ P% n( e8 U, A( I* W* }
  957. [iconv]- w  h5 t/ k; |$ W
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : P- y( F" c" J. H! E
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
      O( i! f5 H& i- ?# U2 p9 c
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 A7 a+ P* z% R& x' R) C( s
  961. ;iconv.input_encoding =( m3 Y2 |% h' d3 q8 }  C

  962. 8 m: G) j& R; ~) q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 l7 n8 e7 a5 Z$ |7 G8 \! p% m
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 ~( ^- Y0 {4 A  G! B" X) G0 J
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ ]0 `5 L. T5 [3 p6 N. r
  966. ;iconv.internal_encoding =0 Q+ H9 I# y" J+ B
  967. " o( x  x6 H3 _% X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( F% b( l4 J9 T3 S8 v8 ?, C0 r% m
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , z+ t1 d5 `) p4 n! Z& D
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 W; P! R* V/ v$ N% I+ V# l7 C& _
  971. ; To use an output encoding conversion, iconv's output handler must be set
    9 ]2 ]9 ^# m6 A$ P! R8 ]
  972. ; otherwise output encoding conversion cannot be performed.
    / w% z- u* G9 y; g
  973. ;iconv.output_encoding =
    ( ^% q' L' D% b

  974. 2 w  T8 j! K( e! o$ y/ j' d9 }7 X
  975. [intl]" z% T+ [' d3 j* y* B
  976. ;intl.default_locale =
    ; h1 n. m+ v5 e) x
  977. ; This directive allows you to produce PHP errors when some error! E$ X! D6 t/ e
  978. ; happens within intl functions. The value is the level of the error produced.
    ! v$ X9 R$ q7 _6 k2 m6 U, T
  979. ; Default is 0, which does not produce any errors.
    " h. o2 p1 P# h% J- y5 s& |/ f
  980. ;intl.error_level = E_WARNING
    ( s0 |: b) Y' f8 L# d: `
  981. ;intl.use_exceptions = 09 A% T5 ?2 u( K/ ]% N1 l5 I' P( V
  982. . G6 A1 d) U- c+ b. ^+ g" y, w# \
  983. [sqlite3]% Z- I! Y" V  m% |
  984. ;sqlite3.extension_dir =
    : y! Y  R- t- W) [3 j

  985. $ K8 ^1 }( k1 M
  986. [Pcre]6 k$ @; M( H) c* w
  987. ;PCRE library backtracking limit.! ]7 ^! B* @" k+ |" o+ ]
  988. ; http://php.net/pcre.backtrack-limit7 v- E2 N6 X$ o( U. W
  989. ;pcre.backtrack_limit=100000. H* k) M, V9 S' m' R
  990. , I; V" W' Z( N5 h' S
  991. ;PCRE library recursion limit.* r+ ?6 c5 x! }2 G  p1 [
  992. ;Please note that if you set this value to a high number you may consume all( a5 t! i  Z( ]- J+ M9 G% B2 ~3 P% _
  993. ;the available process stack and eventually crash PHP (due to reaching the# d% `. O. Y: |* X" R
  994. ;stack size limit imposed by the Operating System).
    ) d+ j+ \1 c9 s* ^3 ^( E- z) k
  995. ; http://php.net/pcre.recursion-limit
    * v' I  P& r* _6 V8 t
  996. ;pcre.recursion_limit=1000008 G8 i+ F$ F# E+ Y7 c5 B
  997. 0 H: b+ e" v1 ]7 R; B: h5 T
  998. [Pdo]
      O6 Z5 E: J# w5 A' k
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 M- p6 }* r- o; w4 `1 y
  1000. ; http://php.net/pdo-odbc.connection-pooling! |3 C2 o+ u# [
  1001. ;pdo_odbc.connection_pooling=strict
    " }# f( L3 Z5 g+ L4 ]
  1002. ; T4 s& Z6 S2 a. J3 r2 f( o, v  h
  1003. ;pdo_odbc.db2_instance_name4 `" K! }2 |, l. U, }4 A

  1004. 0 X( O$ t# b4 i* W7 n  N
  1005. [Pdo_mysql]4 n; L& v1 y- M
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' C5 m9 w/ \" i/ [! P9 l8 ^
  1007. ; http://php.net/pdo_mysql.cache_size" K9 L* n/ x6 A. v3 M
  1008. pdo_mysql.cache_size = 2000
    * `2 g7 ]+ d2 \6 `9 D) I) T

  1009. 0 T4 ^% h2 S( H$ h
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 c$ Q! [! N  y
  1011. ; MySQL defaults.: s. z! ~4 f6 o. j0 K+ c. U% c2 R
  1012. ; http://php.net/pdo_mysql.default-socket8 t. H; q7 m# ?6 Q6 J5 c3 Q
  1013. pdo_mysql.default_socket=% {# E) s) ?8 W9 W

  1014. ; `# J5 M4 q7 d
  1015. [Phar]/ g2 t/ e" M, v4 s
  1016. ; http://php.net/phar.readonly! O" v- Q( h7 |" p1 b$ n  t% A& R
  1017. ;phar.readonly = On3 B" _9 F+ N7 R# {' s; d# B. [, [

  1018. 6 J( I+ D. ?: P/ p- |1 B- g, y
  1019. ; http://php.net/phar.require-hash& V2 `* h7 M) u. S. h( a' J( P
  1020. ;phar.require_hash = On  }: `7 N# P( n3 X& l, K

  1021. , c% f* u: @) S3 e
  1022. ;phar.cache_list =
    - J& {3 e1 q9 C# c  _0 M  u/ \

  1023. / c" J( A4 U4 v2 q% a
  1024. [mail function]
    - e# M8 x& @6 R) g2 r) x) @6 {
  1025. ; For Win32 only.8 {. z. P3 u2 ~3 {+ s- w
  1026. ; http://php.net/smtp
    $ o) q6 H! k5 j7 D) h$ i+ Y5 z
  1027. SMTP = localhost* [; y% K% U7 b, r4 |$ q# b
  1028. ; http://php.net/smtp-port: }" ]+ f( S5 s  C  i
  1029. smtp_port = 25
    6 ~0 G9 P% \$ k4 S$ ~5 R+ H* f7 D
  1030. 3 }0 q4 Z* G9 h, [  j! l
  1031. ; For Win32 only.0 F" p, A- }7 e! T9 d6 d
  1032. ; http://php.net/sendmail-from2 Q$ r+ ^& \7 Q7 A! q2 i8 l1 r
  1033. ;sendmail_from = me@example.com8 [5 D( i! i* o  ?, Q

  1034. 7 I' T0 Q3 `: I9 I! h! C  I
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 S6 G: V! c$ U7 q: R$ G
  1036. ; http://php.net/sendmail-path, X/ b; B9 H6 T" O9 e7 v- b2 g
  1037. sendmail_path = /usr/sbin/sendmail -t -i/ ]' [2 r5 {4 ?# [+ @/ _

  1038. 8 R9 r5 h0 `, `9 _4 c; F7 W! }
  1039. ; Force the addition of the specified parameters to be passed as extra parameters7 Z3 W9 x; B) ?4 z: b
  1040. ; to the sendmail binary. These parameters will always replace the value of. C8 @+ ~1 ]( g# N. Q( {: f
  1041. ; the 5th parameter to mail().
    0 j7 K, ~0 Y& o6 t% g) ~0 e; ?; o
  1042. ;mail.force_extra_parameters =
    ' `$ f7 M, @; y( A- t1 n" d) x
  1043. 1 U& z5 S* k4 Y7 F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename2 i( v1 D( _0 ^6 [* t+ f" r
  1045. mail.add_x_header = On
      z9 d, s2 H$ y3 H4 s2 L

  1046. ! s2 D" }5 y2 {& n* B
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 I- K( k+ M* R
  1048. ; the full path of the script, line number, To address and headers.
    2 @" ^- D' k, r! k1 \
  1049. ;mail.log =1 E0 _! D7 w7 A, ^. \
  1050. ; Log mail to syslog (Event Log on Windows).
    / `9 A2 t5 p* S& `
  1051. ;mail.log = syslog
    ! G- e& V2 k; U6 C8 l4 E

  1052. # ?  r* C+ y& ~
  1053. [SQL]
    3 E2 J1 ?8 p: j% T
  1054. ; http://php.net/sql.safe-mode
    ; o) P' M: j- @0 G5 z
  1055. sql.safe_mode = Off8 K( [& B/ R  ?' O/ P. R
  1056. * l' {& g. J, t# x5 R6 N  J% B
  1057. [ODBC]$ |8 f; U, q9 J, x) R7 e; C& D, P
  1058. ; http://php.net/odbc.default-db% c& @- e& F( ]& W# d
  1059. ;odbc.default_db    =  Not yet implemented
    & f4 D6 o" A( n0 k" v3 A& ?) g
  1060. 5 f! ?$ ^8 B+ R8 Q+ B
  1061. ; http://php.net/odbc.default-user
    . I; \+ T) s3 f' b- [; ^
  1062. ;odbc.default_user  =  Not yet implemented
    ' T9 |* d' U( R- K

  1063. 3 x& \, s  k7 G& {* o( N7 o$ j
  1064. ; http://php.net/odbc.default-pw
    & [7 M8 ]* n% U! b. |1 _$ m# c
  1065. ;odbc.default_pw    =  Not yet implemented
    4 H9 `% e6 g6 n4 `/ ~4 _
  1066. 2 b+ S! [) S# {  K
  1067. ; Controls the ODBC cursor model.9 t* d& W( d  |- e% Q7 N  k
  1068. ; Default: SQL_CURSOR_STATIC (default).( @0 E6 g) ^# V5 ^2 ^7 P5 _! F4 Q) b
  1069. ;odbc.default_cursortype
    8 \! }$ Y* L2 V& }6 m0 i
  1070. $ }% }( g, i1 d) T" R* K7 W
  1071. ; Allow or prevent persistent links.; N( s" P, S' o5 ~' A1 u' F
  1072. ; http://php.net/odbc.allow-persistent8 Q9 `; o# o9 w- u; N* G& ^
  1073. odbc.allow_persistent = On! ]5 H& E7 j: s2 A

  1074. - g' L9 {- I0 l1 G+ k: E
  1075. ; Check that a connection is still valid before reuse.
    - x# p2 \* s) s3 @8 d% q* D
  1076. ; http://php.net/odbc.check-persistent: e+ e! A  {  p0 _( u0 N- a. h9 e
  1077. odbc.check_persistent = On' R3 S2 P9 V% E* @( D& {+ ^

  1078. , G3 _8 J- C: Y
  1079. ; Maximum number of persistent links.  -1 means no limit.
    4 U* f$ f4 Y/ _; r
  1080. ; http://php.net/odbc.max-persistent* f. A% P) b* _; U5 u
  1081. odbc.max_persistent = -1
    ! v2 ?2 c9 E3 w9 ^) `! s; w% s
  1082. % E2 w3 s, N! @
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 n* K/ q. u, E: W/ Z  ]
  1084. ; http://php.net/odbc.max-links
    " T. [. H) x/ n* _0 J( a
  1085. odbc.max_links = -12 L- r; R2 j. _
  1086. 1 s. C6 `) s- i
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means& i& B( ]2 z7 T9 X/ }  K/ |$ I  J
  1088. ; passthru.
    , w: Y7 r7 K# [' q6 o. e' p& p: U$ y
  1089. ; http://php.net/odbc.defaultlrl
    / r0 f1 `0 Y. Y3 l" J7 v/ k
  1090. odbc.defaultlrl = 4096( l4 h8 i- m! ~$ `

  1091. 2 T" r0 i/ y4 k: X* I- z
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 c  T- G& O  V
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 s; d& M( y8 V
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    + y, z/ `! j/ \9 V2 f' J
  1095. ; http://php.net/odbc.defaultbinmode
    + X+ p% V- j8 X( n! u
  1096. odbc.defaultbinmode = 16 W% t2 f9 c0 T8 r7 u

  1097.   n5 d( ^! A' [- R7 o/ P2 u
  1098. ;birdstep.max_links = -11 p( A6 w1 V, d5 z

  1099. : G0 r/ W! T2 S5 a5 w1 ?
  1100. [Interbase]! e3 h$ i* H+ ~, v
  1101. ; Allow or prevent persistent links.8 X. v( M% G3 r3 Q/ G* ]( y
  1102. ibase.allow_persistent = 1# O0 l, j6 }# R: r8 p7 y1 d' v
  1103. 5 r8 }1 n  d7 l8 E/ S5 \  ]  f
  1104. ; Maximum number of persistent links.  -1 means no limit.
    & z; {. G, G" ~2 G, T6 i7 f5 V  b
  1105. ibase.max_persistent = -1
    6 g3 k6 k# S' B0 i" A& S# `8 z; u0 N
  1106. ) @8 z9 K2 H- f8 x# g) f
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 [3 q1 b1 g+ @; ^' Z- e' i
  1108. ibase.max_links = -1
    # G$ Z1 K6 p! d, c: m$ P* }
  1109. 2 {3 X" p  W- v4 w0 k  S! y
  1110. ; Default database name for ibase_connect().
    / i1 N9 R, n( u% P6 I' h
  1111. ;ibase.default_db =
    & l! ^8 b$ R+ [. h

  1112. : m0 }& |, E$ V: k' ^
  1113. ; Default username for ibase_connect().
    3 T7 l$ C4 D6 P# Z( ^/ C
  1114. ;ibase.default_user =* D& L3 ~& Y! L5 c/ j6 B7 C
  1115.   A) }: _- T/ o' [% Q
  1116. ; Default password for ibase_connect().6 U3 `6 A. C) G7 H6 H9 E3 A+ y2 q
  1117. ;ibase.default_password =1 |/ q: W" L% D9 j2 @% k% Z
  1118. ! z, L1 `% {0 W5 Q; |4 u4 w
  1119. ; Default charset for ibase_connect().4 m2 w- p+ K! G  g
  1120. ;ibase.default_charset =
    0 U; C9 t+ b! `

  1121. . C8 ?* A. J8 V; i; F4 j. U
  1122. ; Default timestamp format.% u1 D6 ?% [8 p# g$ X* I: m2 B
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    7 a6 i- u9 D9 X6 H! {8 _, Y1 @% ^

  1124. ) k' W1 }: f- ?% B% |3 }" v
  1125. ; Default date format.* P. Y0 k0 H# ~0 ~' z
  1126. ibase.dateformat = "%Y-%m-%d"
    / w& @& K! x% f

  1127. : P, G% B$ N+ Q' n+ y3 `; [4 v
  1128. ; Default time format.. c& y- y! K2 b3 F  v; S9 i
  1129. ibase.timeformat = "%H:%M:%S"  X! Q% M, C; z% [( E
  1130. " a( T; T! `' R/ E0 f
  1131. [MySQL]
    6 q# ]7 \8 F+ k+ z1 Y
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! m( ~8 T" K2 n5 _! d
  1133. ; http://php.net/mysql.allow_local_infile
    & R' B3 x, R$ k* H( C
  1134. mysql.allow_local_infile = On
    $ V7 ]: r. H- V: o

  1135. 7 H6 O9 m4 z7 I4 b
  1136. ; Allow or prevent persistent links.
    & n! C- N0 d4 a1 x2 Z
  1137. ; http://php.net/mysql.allow-persistent
      B. V: w. n# m' ^& ~, G
  1138. mysql.allow_persistent = On, H* ~& S1 H# B$ L' _- Y5 {/ c

  1139. + Y( K5 N& ^6 Q, l) a. P! \% S
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / P2 v) d) R1 r& v
  1141. ; http://php.net/mysql.cache_size/ [9 V- n; l9 K
  1142. mysql.cache_size = 2000
    . D& X& i( O5 @7 ^; O

  1143. . u  T' V9 F! ]) u
  1144. ; Maximum number of persistent links.  -1 means no limit.2 `( `& v. t8 @. o$ ?
  1145. ; http://php.net/mysql.max-persistent
    % C5 M1 W+ ~4 x1 k/ v( h
  1146. mysql.max_persistent = -1) B; t; W" q% W6 V7 V

  1147. & }6 {+ N1 [* Y/ T) G  O
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 a' w( F# w- W& H
  1149. ; http://php.net/mysql.max-links
    + ?7 [1 q. W$ o4 J" A9 w# G; [
  1150. mysql.max_links = -1' l4 [' Y- g/ o! B9 i5 [
  1151. ( X" j# R- F( @
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    + q: R* I8 h  @9 F# z! z4 y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' E1 k  K  u. i2 r2 W
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 m+ e7 N6 T! z0 r3 g( V  p
  1155. ; at MYSQL_PORT.
    0 Y( X/ U* j  E9 x2 p
  1156. ; http://php.net/mysql.default-port
    & P6 `/ d  n. [$ J" w- |5 P
  1157. mysql.default_port =
    8 a& Q1 M7 H$ S% g3 ~
  1158. 9 s( V8 d4 S  C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 Y# u  e8 R; a1 l' n( _6 L
  1160. ; MySQL defaults.8 Z$ `7 ?- s  U+ e
  1161. ; http://php.net/mysql.default-socket
    - Z  F( E. i1 s* |( r
  1162. mysql.default_socket =/ X; ~! i, [% g: Y: z$ I& K
  1163. ( T9 W1 n; @( k+ ~: d( s, ?% E2 F/ E' h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).3 b, C, C. w/ {3 b1 ^3 h* X5 U$ L. G
  1165. ; http://php.net/mysql.default-host7 z2 j0 u6 e6 J- q1 o( U/ g
  1166. mysql.default_host =' |5 K. ]+ Q; B  J2 y; T% V/ r  H" [$ D

  1167. 7 q6 O% Z5 H6 j$ O7 E5 V
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).1 `) E# h: A  Q. v+ J
  1169. ; http://php.net/mysql.default-user& Y2 ^0 u) Q7 I- e
  1170. mysql.default_user =
    : d) G3 f" U+ o% R! E3 ~5 T

  1171. 8 y: ], i( Z  K: o6 m
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    0 e1 O* \5 J- x6 g* ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    : r- Q* M2 B9 V8 ~# a$ _$ \8 ]# R: y
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")) g- F* ?3 ?  U
  1175. ; and reveal this password!  And of course, any users with read access to this
    3 o! t+ j; F9 Z) C
  1176. ; file will be able to reveal the password as well.3 `/ g" s! h, k" B
  1177. ; http://php.net/mysql.default-password
    : P$ H/ |/ {6 i+ L3 D
  1178. mysql.default_password =0 p" N, h0 i% \- d9 k; B

  1179. $ A+ b; f4 V& X( l) _  |! [
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    - _1 T; q+ O7 {2 n; g
  1181. ; http://php.net/mysql.connect-timeout/ c5 |6 h5 I% j- q1 F, K9 c
  1182. mysql.connect_timeout = 60" w* c2 ^3 a4 F0 J2 s: U! ?/ C

  1183. ( A8 ^6 ?5 K, ^' R* k& \  Y
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 v* g* Y4 `, q3 T
  1185. ; SQL-Errors will be displayed.
    : ]% e+ d& H4 K& {
  1186. ; http://php.net/mysql.trace-mode; i- a4 y; V' P* n- |8 C
  1187. mysql.trace_mode = Off
    ( z" n# C8 ?2 j7 g- {( P

  1188. , _2 J3 _* a+ B2 Y
  1189. [MySQLi]# i, s: X- n# P- H, h
  1190. + `8 G5 \& |9 h! ]" \# D
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 c; y/ R; }6 D' x5 p4 b+ H
  1192. ; http://php.net/mysqli.max-persistent
    1 ^( J2 ], P) c% H! ^5 w' }0 S5 g
  1193. mysqli.max_persistent = -19 M% P5 Y) Z. d0 Y# Y; @( D8 J3 {

  1194. " }" J! W3 `8 o. f' M; [
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 x0 G3 e: R" U2 V, A$ C
  1196. ; http://php.net/mysqli.allow_local_infile8 K- Q1 @5 I4 u2 _0 U
  1197. ;mysqli.allow_local_infile = On
    & F' ]: \, |; r* c  G8 X; m4 V9 ~

  1198. * C+ ?6 p5 m: G; F, ]: s2 o$ g
  1199. ; Allow or prevent persistent links.+ g4 ?( n& U5 T- Z( n# @
  1200. ; http://php.net/mysqli.allow-persistent
    ) K( Y8 D- h! X4 D2 O' K" h# A3 O4 w
  1201. mysqli.allow_persistent = On; i9 X  s& P  K1 r* H5 t
  1202. 7 y. X9 r) {3 E# }2 _
  1203. ; Maximum number of links.  -1 means no limit.
    : M7 v! J( @& t, o+ L% n
  1204. ; http://php.net/mysqli.max-links
    : @0 U; |& Y" b0 f: J9 {2 Z  u
  1205. mysqli.max_links = -1
    7 S8 P# X2 v2 Q

  1206. 2 l2 u+ m% N* P- C# s$ I- P
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & O9 y5 l5 Z" _' G) v
  1208. ; http://php.net/mysqli.cache_size" M- V. W8 \3 x$ C- K
  1209. mysqli.cache_size = 2000
    ; C# {& E0 i* l" ?2 M2 R
  1210. * T& z. f+ P: N) ^3 G
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    7 `7 |( j2 S% d4 T/ \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) j' t. a) c& b* `( \* i
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, M/ A# \$ ?8 f! \
  1214. ; at MYSQL_PORT.& u, r# d% a/ V  v6 U. M
  1215. ; http://php.net/mysqli.default-port
    / O4 ~) q! C. K7 S! |! U
  1216. mysqli.default_port = 3306
    / R1 h1 q9 C. T

  1217. ! {4 [7 j( c' F- s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & }1 Z% G4 y: g' Y* D) a
  1219. ; MySQL defaults.5 g: X' x; n7 Z2 _5 G3 L
  1220. ; http://php.net/mysqli.default-socket
    1 W# X# Q8 ]6 s( F7 h
  1221. mysqli.default_socket =7 a8 t1 q" t* E; l
  1222. - E- X; `, ?, A6 n& z
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ e5 t4 C2 k& \' {, C- s3 \
  1224. ; http://php.net/mysqli.default-host" R, ]6 c8 s* Q" Q% u1 ^+ l1 J* B
  1225. mysqli.default_host =; R, u' ~" ]% u, i3 U. l

  1226. 8 h2 i$ @5 k# M4 i
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ! x& J( F9 c- P7 [; S* P
  1228. ; http://php.net/mysqli.default-user3 |/ }- g1 n2 i8 D
  1229. mysqli.default_user =$ }! ]( }2 m9 q) r% k0 e3 v

  1230. 0 D; T( O6 @; K* t. I
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 g; t! _' C! g% M4 u
  1232. ; Note that this is generally a *bad* idea to store passwords in this file." b9 o+ D9 O, p; @# B  l8 i7 ~& f. e6 H
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " d" F5 }4 r$ l. {/ w' O8 b& S0 O
  1234. ; and reveal this password!  And of course, any users with read access to this
    : m- S- D3 j/ n# j& s
  1235. ; file will be able to reveal the password as well.
    3 K; y/ V) u2 K, y" x; P1 [6 e
  1236. ; http://php.net/mysqli.default-pw  L& B2 k' w  |4 @$ s" }( a% S
  1237. mysqli.default_pw =
    ; i3 X5 z) u/ a8 s+ O0 f+ f
  1238. + _( n, c  O$ c2 m8 s3 ?
  1239. ; Allow or prevent reconnect
    $ [0 t& _& x- S
  1240. mysqli.reconnect = Off" J3 W* B  ], x" ?* Q  B
  1241. " m% z- A+ V8 b6 E( K
  1242. [mysqlnd]
    7 O! s. S: v2 m
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 o8 z: o, W- L6 p) ~' b% D4 w) r9 S
  1244. ; used to tune and monitor MySQL operations.
    ! e1 ~3 v4 m5 h! |$ X% K' {1 {$ J! Z
  1245. ; http://php.net/mysqlnd.collect_statistics% s8 Q1 s3 L! C& A" w) g' N
  1246. mysqlnd.collect_statistics = On
    : [# w  C6 U. g& }8 P
  1247. 8 M, T) Q* R0 N8 V2 }
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be) i' B6 t0 l* O4 S  V, D: f* L
  1249. ; used to tune and monitor MySQL operations.! O* J7 p' n4 P! B$ S1 n! a# U9 T
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    5 ^' c- r$ [. x! T+ T
  1251. mysqlnd.collect_memory_statistics = Off
    ! Z  U/ L7 _, J3 A2 v- c
  1252. 8 Q( ^2 A4 ?/ w, ]
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ; ~$ v3 {- F. j$ X' `* X4 G
  1254. ; file.
    ! C. n6 m, G+ T9 w6 C. f( k" Y
  1255. ; http://php.net/mysqlnd.debug& a4 \5 I! D6 `7 F0 E9 \3 X
  1256. ;mysqlnd.debug =
    ' K: B0 ^' |. B
  1257. - {4 M/ d5 d! s7 M" i) e" Q
  1258. ; Defines which queries will be logged.
    8 J4 E* G* R5 G# v
  1259. ; http://php.net/mysqlnd.log_mask
    ( K8 y* z4 _/ {5 V
  1260. ;mysqlnd.log_mask = 0
    # z  C/ |( N8 W3 h+ S

  1261. . p0 B' D3 q( {4 b! y6 _4 L
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.  y3 `& d" \( n- c" G! j
  1263. ; http://php.net/mysqlnd.mempool_default_size
    6 G  n4 s# t! Q' ?% f
  1264. ;mysqlnd.mempool_default_size = 16000
    % e' r6 U# L3 y

  1265. 1 o0 C0 K: _/ L2 R
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    " ~3 P2 L( l8 P# h
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    8 b1 P8 [7 A- d+ B1 i
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    * T9 v7 \* R# _  m

  1269. * `4 E- K( x* Z0 c) }+ [! p9 p) p8 ?
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    1 e9 Q- c$ d) D; @5 T; z% B
  1271. ; bytes.
    + C) S( m6 z: h% M+ I: w
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( c+ L' Q2 U, `
  1273. ;mysqlnd.net_read_buffer_size = 32768" g/ g/ E) k! C5 |9 q' l1 H

  1274. ' r% S9 i0 A) ^, y4 \" {
  1275. ; Timeout for network requests in seconds.
    9 }) F* E: c, l4 y
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ! B% ~# C  T, l8 y! @( `9 D. Z
  1277. ;mysqlnd.net_read_timeout = 315360007 |- D/ o- u1 h8 g/ q; A- z
  1278. 2 L6 W+ ~( `, A
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' [2 S! N* y: ]3 B9 L
  1280. ; key.
    ( q' n% `6 C$ W
  1281. ; http://php.net/mysqlnd.sha256_server_public_key8 ]) c+ ?  _  I" x
  1282. ;mysqlnd.sha256_server_public_key =3 V# y" @! t. Q. M! n
  1283. ' U% \' X$ c. m/ T& n& F! {
  1284. [OCI8]; F7 T% L. N$ d' x
  1285. % n: k* D4 y; A  Q. a& f
  1286. ; Connection: Enables privileged connections using external
    ! T/ [' S9 U7 P0 u! ]
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- C1 I4 m3 |8 w& B) K
  1288. ; http://php.net/oci8.privileged-connect
    + h1 y! |9 h1 x- d5 y* S; S
  1289. ;oci8.privileged_connect = Off+ F$ H' o' n8 |& i; L

  1290. % U( }/ ^- R3 A1 R" R7 G# p
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    / [1 Y! v4 U4 L- S+ [' X
  1292. ; process. Using -1 means no limit.
    9 W6 t5 V9 G* k! b# F% J
  1293. ; http://php.net/oci8.max-persistent& x- L$ q/ L5 ~# F' C* f0 w
  1294. ;oci8.max_persistent = -1# q5 k- ]3 M* ?$ E$ P
  1295. . v0 b- _( D- X% I1 F% Y, o
  1296. ; Connection: The maximum number of seconds a process is allowed to* h! D& F; j1 x2 l, F
  1297. ; maintain an idle persistent connection. Using -1 means idle
    9 K7 {! C5 k+ s! I1 h
  1298. ; persistent connections will be maintained forever.
    # Z7 E2 x' J3 o1 }4 Y+ g% Z# Q
  1299. ; http://php.net/oci8.persistent-timeout
    4 o3 l  R( d) d+ p( L
  1300. ;oci8.persistent_timeout = -1
    ) J; m3 x0 k* f* N5 }

  1301. 9 e" ^$ o3 t( d! G& m. ]+ g
  1302. ; Connection: The number of seconds that must pass before issuing a+ t9 v* g5 s( H+ s8 W  ~
  1303. ; ping during oci_pconnect() to check the connection validity. When
    6 ]' W$ ]/ K7 G5 `. d) p
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables0 G) ?' X4 v* n4 e* D6 {1 Q
  1305. ; pings completely.6 k9 Y7 a6 N) A8 m: v3 J
  1306. ; http://php.net/oci8.ping-interval1 f: u$ w) G/ v( V
  1307. ;oci8.ping_interval = 60/ y2 l. d; E/ n& z) l9 u2 B7 [

  1308.   v, ^0 W; y0 r
  1309. ; Connection: Set this to a user chosen connection class to be used
    , B5 J. W4 b: z4 N5 v* x" V8 X, E
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    . A3 Y2 ~; D0 k) c6 ^1 g9 A
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    . C/ [4 q) E3 E3 G2 Q, l8 [
  1312. ; the same string for all web servers running the same application,
    9 W" \/ g  O; }* I' V2 |' n; |
  1313. ; the database pool must be configured, and the connection string must
    8 i: m4 F: `2 Y
  1314. ; specify to use a pooled server.5 R# Z5 p+ j* D: w5 q
  1315. ;oci8.connection_class =0 n2 T! C% ^" q/ Y/ Y
  1316. ; ^! r6 f: a$ J; E5 i/ O: ^6 c
  1317. ; High Availability: Using On lets PHP receive Fast Application" H3 w& d7 y/ G/ ^* w
  1318. ; Notification (FAN) events generated when a database node fails. The
    8 O+ d. F/ y+ {3 C3 _
  1319. ; database must also be configured to post FAN events./ ]' y0 c; _2 D+ k5 R" w% k
  1320. ;oci8.events = Off8 C0 O( A8 v5 ^+ K
  1321. 9 L/ ]  K3 n: `2 L; g
  1322. ; Tuning: This option enables statement caching, and specifies how
    7 s0 b# [7 g9 @4 N8 G
  1323. ; many statements to cache. Using 0 disables statement caching.9 G) W1 T1 y0 g$ q. c, r3 l
  1324. ; http://php.net/oci8.statement-cache-size
    6 j4 W# _2 v8 D. `  e
  1325. ;oci8.statement_cache_size = 20+ E. ~! s: Z/ v2 Z. u+ `4 {

  1326. / z" O' u4 {7 B6 Y
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 T( S$ R; T' [; D: ]1 Q' D
  1328. ; rows that will be fetched automatically after statement execution.( a3 ]& c- @- H( U: `3 m+ u& f3 z
  1329. ; http://php.net/oci8.default-prefetch
    - }6 q1 t; d/ F  p/ J  y
  1330. ;oci8.default_prefetch = 100: h" d) V4 n  c

  1331. % C7 I# M3 _+ E
  1332. ; Compatibility. Using On means oci_close() will not close
    * ~8 z. O8 N& n# Y& O/ C1 H
  1333. ; oci_connect() and oci_new_connect() connections.8 Y* _" T# L# M) s3 Y. c
  1334. ; http://php.net/oci8.old-oci-close-semantics
    : D3 x: F: W# X* U
  1335. ;oci8.old_oci_close_semantics = Off! w+ g/ I- j" U! L' z
  1336.   D5 q3 E) Z: V( U3 i. u
  1337. [PostgreSQL]
    7 Q5 C% Q2 `( S
  1338. ; Allow or prevent persistent links.
    % j" c8 t% @, v* T, F9 k6 m5 E- b
  1339. ; http://php.net/pgsql.allow-persistent
    * J! Z1 }! ]" I9 V0 q" U/ a1 H
  1340. pgsql.allow_persistent = On
    0 C! x. ?6 X6 A- A9 V4 w# }) t, |6 T

  1341. . k5 }: Q: U6 [& [6 n7 \
  1342. ; Detect broken persistent links always with pg_pconnect().2 u  l- k4 ^! i4 ?
  1343. ; Auto reset feature requires a little overheads.+ F* Y7 ~$ u. [
  1344. ; http://php.net/pgsql.auto-reset-persistent
    0 k$ X1 F5 R& r) g  S$ U2 p. o% s! B) \
  1345. pgsql.auto_reset_persistent = Off
      D! S7 Q" I) [; G$ X" _% P
  1346. , E" [( K+ x  y  v
  1347. ; Maximum number of persistent links.  -1 means no limit.# t/ b) ]* r! G! j3 \" s- d
  1348. ; http://php.net/pgsql.max-persistent
    $ W* _) u2 Q/ i
  1349. pgsql.max_persistent = -1
    ) t$ x0 a  }0 S) d1 J
  1350. 9 u0 l) w& X+ u6 c( h* I
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . \) |, l; `* H( L1 ^
  1352. ; http://php.net/pgsql.max-links0 _. E) i% Y3 ]
  1353. pgsql.max_links = -1- d1 Q% @, M1 F8 Q, ?. x* E
  1354. ! W/ m% ]( t9 B, i0 p1 ]: Q( \
  1355. ; Ignore PostgreSQL backends Notice message or not.; D/ j2 F3 ]5 e7 ]* ~
  1356. ; Notice message logging require a little overheads.
    9 a$ W7 L8 i% L3 G- s4 n) P, _9 N& V
  1357. ; http://php.net/pgsql.ignore-notice4 x7 I6 v; v6 h9 X! j
  1358. pgsql.ignore_notice = 00 C# l: o: I( w6 C8 `' T$ @8 r* `
  1359. 4 [8 A- `! V" p
  1360. ; Log PostgreSQL backends Notice message or not.
    ; h! O8 C8 ]8 Q! Q' R
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
      B7 [; ^7 \" R% z
  1362. ; http://php.net/pgsql.log-notice
    ) J/ z" @' R+ ^) p0 ^0 c  A/ c) P' D
  1363. pgsql.log_notice = 0
    5 f* `5 V' k3 W7 c3 k6 b& O$ L

  1364. ' V( N9 w! s. a- g% K& K6 h9 f
  1365. [Sybase-CT]# W$ e* T8 t9 |4 @# y' u. R9 B, W
  1366. ; Allow or prevent persistent links.; x" k3 I7 J) L4 t' z
  1367. ; http://php.net/sybct.allow-persistent/ T; e( o0 [" Q
  1368. sybct.allow_persistent = On
    5 A& W: O2 I6 P; _
  1369. 8 S" @  l* o) p2 O3 z
  1370. ; Maximum number of persistent links.  -1 means no limit.; d7 f4 `) L, R4 P1 m" \
  1371. ; http://php.net/sybct.max-persistent+ \6 v' Y" m4 Y  y
  1372. sybct.max_persistent = -1
    % c0 y2 N4 A  p
  1373. # x. D( _7 q4 u& ]
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., O% |3 L" e6 A
  1375. ; http://php.net/sybct.max-links
    + V! G2 n3 [& V# q$ K
  1376. sybct.max_links = -1
    # Z' e9 V, e3 Q6 L1 v. \
  1377. ! s( B* C/ P; B4 u" J5 i; \6 A
  1378. ; Minimum server message severity to display.
    . D& A4 ]/ B, a
  1379. ; http://php.net/sybct.min-server-severity  S$ O# j! |! v: v0 r3 ]
  1380. sybct.min_server_severity = 10, Q# U+ }' \) d( p! A4 u
  1381. # \: }- U  T- o' X" m
  1382. ; Minimum client message severity to display.9 U/ d5 R6 i% y, n
  1383. ; http://php.net/sybct.min-client-severity
    * V# T! h7 W7 U
  1384. sybct.min_client_severity = 102 M6 n" W/ c- t% |3 e& S5 H! l; S
  1385. $ R5 p# U% @; t' i
  1386. ; Set per-context timeout/ l2 N/ y( G- h
  1387. ; http://php.net/sybct.timeout
    , f, Q7 a, b- v& t& O
  1388. ;sybct.timeout=0 |8 d5 q' Y* F- q

  1389. 9 m; I* O% `) e9 m9 M
  1390. ;sybct.packet_size
    - W$ h& E0 |, C2 @" U/ W
  1391. # d8 c6 B) A; f8 I: p9 {
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.$ N: S! {' n8 c& h
  1393. ; Default: one minute
    " M7 U9 K7 S9 n# [& p' S  y/ T; t4 ?
  1394. ;sybct.login_timeout=
    , e4 K3 ]! J( w" U% r+ U0 F2 V/ ?9 p
  1395. 8 n& P- k# p0 f* D1 v
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.) \, S, y& G0 M& c( a% f
  1397. ; Default: none5 ?2 J" m1 ]& [% {2 |7 r
  1398. ;sybct.hostname=
    2 o( E. X" _1 P
  1399. 5 Y- b3 S3 W" f: q
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) ^; i- g& ~  c/ d  U- @1 T! E6 r
  1401. ; Default: 0( O4 d* r  }& _" F& L
  1402. ;sybct.deadlock_retry_count=3 p5 @3 W* i* A0 C6 d" _
  1403. 5 m! r' u; A& j& K# w4 E- S
  1404. [bcmath]
    4 m( g; ?5 f# J9 O1 e
  1405. ; Number of decimal digits for all bcmath functions.- T; R0 N' }. e7 @" ?) s+ A
  1406. ; http://php.net/bcmath.scale
    4 j, `, B- q. h& n; J6 E) F
  1407. bcmath.scale = 0& q: X: P$ R- c0 ^: f8 T" Z( g

  1408. , r. N  [4 l! ~4 b: K  C9 v6 j  C
  1409. [browscap]0 W4 d  J. L4 D  x. U  R
  1410. ; http://php.net/browscap" _1 ]7 Q$ U' o, j# F) a# }+ O
  1411. ;browscap = extra/browscap.ini# w9 b6 E+ v% g9 j; v
  1412. 8 B/ r  F4 I" R
  1413. [Session]& ~! [. N6 `0 f$ m3 y; b
  1414. ; Handler used to store/retrieve data.
    * E4 k5 [) z" S4 K9 V, I
  1415. ; http://php.net/session.save-handler" p* @6 n% N6 C' d' w4 x
  1416. session.save_handler = files7 `; u4 {, O+ f, z& |- g; i

  1417. / B+ g/ Q: {' q0 [, R+ n  R. E
  1418. ; Argument passed to save_handler.  In the case of files, this is the path7 I  u/ d# |) T$ z2 Z9 @* [( g" Q
  1419. ; where data files are stored. Note: Windows users have to change this* }) \7 o5 d+ h
  1420. ; variable in order to use PHP's session functions.
    4 U) x. d# i& t; v7 o5 A7 D
  1421. ;
    $ w* c# m' J" a$ P, S1 J5 |/ K
  1422. ; The path can be defined as:
    * d5 r( C1 }( }1 q
  1423. ;
    , ~( b6 A1 {5 Y0 d- C# x
  1424. ;     session.save_path = "N;/path"
    0 f% `3 v5 g* C7 E" R1 W) ]
  1425. ;
    5 p! _" I0 ?+ @+ f3 N& K
  1426. ; where N is an integer.  Instead of storing all the session files in6 d+ V% F# ?. I2 W, K8 T1 K+ W
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    2 W9 l0 ~2 R1 I% A: ^; i5 u
  1428. ; store the session data in those directories.  This is useful if- K( @% z8 M# h6 w
  1429. ; your OS has problems with many files in one directory, and is
    " _3 {. t( v& }3 P. ~
  1430. ; a more efficient layout for servers that handle many sessions.  K  \+ H( ?- A1 c! ^0 Z# M, u
  1431. ;- W% [5 l6 n% }
  1432. ; NOTE 1: PHP will not create this directory structure automatically.  W) M* X( ^+ o3 @
  1433. ;         You can use the script in the ext/session dir for that purpose.0 y) W- Y0 o) ^) w$ D
  1434. ; NOTE 2: See the section on garbage collection below if you choose to5 d5 f# y/ w, {1 U
  1435. ;         use subdirectories for session storage
    ' s" n5 |+ X- V# D8 }! L6 i% Y# O2 ?3 C
  1436. ;8 \( y% K2 X- {
  1437. ; The file storage module creates files using mode 600 by default.
    . D- F; K! R, c- N! k
  1438. ; You can change that by using/ r9 w7 s( L& e8 h3 S
  1439. ;( i% ~" J" L) U6 n' P/ Z
  1440. ;     session.save_path = "N;MODE;/path", U) k! @8 ~4 q7 U! `" C$ |6 I0 D
  1441. ;; p7 Z, m, {6 b( s, ^% W8 ?
  1442. ; where MODE is the octal representation of the mode. Note that this0 T! h3 x( o2 N0 T
  1443. ; does not overwrite the process's umask.
    & `+ ?* k+ s5 C9 y  S$ J8 u
  1444. ; http://php.net/session.save-path
    % D, @6 c: v' M6 O1 a( M$ z
  1445. ;session.save_path = "/tmp"
    0 `  @: x7 k, J! r% S7 [9 `

  1446. . V% M# V6 d1 ~3 k) O
  1447. ; Whether to use strict session mode.
    + Y  w) r& r9 U; K0 c$ F$ S% [6 [
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate$ d3 U+ K8 f: r9 c8 M% |3 o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects- `7 o) j2 t% O% |6 M; Z. A4 x
  1450. ; applications from session fixation via session adoption vulnerability. It is+ w3 o! A' g5 D- @5 J7 Q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ( w! i9 F5 k& ?( a  a0 {3 K# g% V% k9 N
  1452. ; https://wiki.php.net/rfc/strict_sessions7 h$ ~/ X1 @- J5 R
  1453. session.use_strict_mode = 0
    " p9 Q3 i% y: P+ A% {7 a
  1454.   d" T: J8 @( ?+ W* g/ Q
  1455. ; Whether to use cookies.9 u8 I. {' K4 x
  1456. ; http://php.net/session.use-cookies: n; t& U# i0 l9 F7 U9 M, }2 x0 k
  1457. session.use_cookies = 1: O6 c# [( X; B: T8 t4 k
  1458. 2 R5 |) G% s' ^2 W. ?0 X( p
  1459. ; http://php.net/session.cookie-secure# I; [. y8 b2 z5 @7 G2 s) I
  1460. ;session.cookie_secure =3 X/ J0 @2 D: w. V3 B+ N% y, i

  1461. 7 g7 H9 \1 d8 V+ O' ?) G) n0 M0 S
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ }6 P* T* a" _& x6 b( X
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      ]& j6 E1 d/ g* i) i7 ^$ A
  1464. ; session hijacking when not specifying and managing your own session id. It is
      M# t9 ?" L) j! J% u
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 ]; N4 e: C9 A8 `
  1466. ; http://php.net/session.use-only-cookies
    0 p/ A9 c, B8 }6 h
  1467. session.use_only_cookies = 1$ L- u: m5 {; \% J, ~. x/ y; m& O
  1468. 0 D) A. \6 U6 s' U3 I, h
  1469. ; Name of the session (used as cookie name).( M- S  d4 w0 T4 U
  1470. ; http://php.net/session.name
    * P# w- w" n* N8 b/ [) J! G
  1471. session.name = PHPSESSID4 ]1 e+ X& t5 u! H# D" \

  1472. , R( y( Y/ U- d; d& m, w4 h9 Q
  1473. ; Initialize session on request startup.  d! B) y$ u, K, V: q/ U& V$ `
  1474. ; http://php.net/session.auto-start
      J7 M; P  G8 x' R5 m1 ?% M, B
  1475. session.auto_start = 0
    ! ?7 c1 q* ]' `! e! |
  1476. . [7 f8 U3 [% ]7 q, X' v! T
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    : ~9 q/ s# s* v; \7 s' E: g4 O
  1478. ; http://php.net/session.cookie-lifetime
    " L5 `5 H3 Y8 x1 k/ _' O
  1479. session.cookie_lifetime = 0% U9 f+ W5 Z7 R& Q; I+ U. Q) A
  1480. 0 ~/ e1 U; x1 O. R
  1481. ; The path for which the cookie is valid.
    6 {, p' b! Q% d- D5 M5 g4 ^
  1482. ; http://php.net/session.cookie-path) [- y% e4 M9 Y9 ]6 Z3 P+ ]5 R) k% D
  1483. session.cookie_path = /! i5 b$ W* ~. Z1 o* u+ v
  1484. ! L6 v6 H8 L+ m. b/ `
  1485. ; The domain for which the cookie is valid.$ n' r! S! d2 z/ W( j
  1486. ; http://php.net/session.cookie-domain2 f( K, v) |1 t' z7 I* J
  1487. session.cookie_domain =
    ) L  Z! S* g3 K) V% m0 r! \+ C
  1488. . s) y' m) y; t6 m
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    & Y$ h" p1 k' ~% q
  1490. ; http://php.net/session.cookie-httponly5 d; |2 f- ]0 t1 Z# g; h; u
  1491. session.cookie_httponly =
    : M- K& c* h- |% p& b% V% o' q

  1492. 4 K- [6 J- t/ i" ?! X! W4 ^% w8 H
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    0 ~) x7 e, k  R) o3 @' r
  1494. ; http://php.net/session.serialize-handler
    2 n$ p8 ^- x4 i. R  ~1 t! H
  1495. session.serialize_handler = php
    . l, n  C, o; h& H

  1496. , U+ O5 w+ i, h0 F  C
  1497. ; Defines the probability that the 'garbage collection' process is started. h$ ?0 R/ |+ D5 ~2 L6 E
  1498. ; on every session initialization. The probability is calculated by using& S, k/ g. X( m/ \' W% Y. ~
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! Y' h& w: G4 [
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    9 u% `* n4 A  C" g% Y* P: S
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    - |/ {& g0 H5 o. }
  1502. ; the gc will run on any give request.
    * y: F( S0 ]5 U. F+ j$ Q0 ]
  1503. ; Default Value: 1
    1 h5 c" y# B! H9 r7 A
  1504. ; Development Value: 1
    , b% `6 z' r8 o: j/ R9 Z6 l
  1505. ; Production Value: 1% w* W) f) q/ `# [  M
  1506. ; http://php.net/session.gc-probability# r% U' Q) w4 D8 U& g& O+ J
  1507. session.gc_probability = 14 i, E% E, T: C6 P$ ^  G5 \; \

  1508. 6 M% C: K- y6 Z) v) K2 I
  1509. ; Defines the probability that the 'garbage collection' process is started on every* |% W2 R8 i- W8 |" @6 Y' s
  1510. ; session initialization. The probability is calculated by using the following equation:4 G- {4 ?% s+ ?2 X9 e( g$ b
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; S1 a# Z& ~$ ?4 V1 d0 x6 }2 R0 H' M2 X
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - `. }" @6 V1 T/ W6 J' D
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& c, ^- t- O. Y: a; F# N
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you2 [/ c' D- J/ x& k
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 U5 _+ V! a# o: r% o8 |
  1516. ; this is a more efficient approach.
    % h0 F0 B6 f/ W; n! A
  1517. ; Default Value: 100
    ; r! U! n! S9 d7 [- W" q! x4 E
  1518. ; Development Value: 1000
    2 ?2 W$ e3 _* b, g+ P2 `
  1519. ; Production Value: 1000
    - ^+ I) E: r; P) t  ]1 A5 m
  1520. ; http://php.net/session.gc-divisor
    6 Y* z4 K4 H7 a$ E
  1521. session.gc_divisor = 1000, l9 `- }3 p" L8 z

  1522. ; L* l% x5 G' h2 C
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    1 C" S8 o, S9 ~* e) }# N! l2 j6 Z
  1524. ; cleaned up by the garbage collection process.8 R5 u4 i- m, T* X; |
  1525. ; http://php.net/session.gc-maxlifetime
    / J3 b4 j! J/ j- j' T
  1526. session.gc_maxlifetime = 1440
    . {$ L2 r2 Q" O, n
  1527. 9 \6 H+ A+ l; a( @- g) M
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    7 t2 X7 `) f7 w  w
  1529. ;       (see session.save_path above), then garbage collection does *not*
    * e6 H! i6 w/ y; c& _% b) Q
  1530. ;       happen automatically.  You will need to do your own garbage( N2 j" k$ ^% H+ T
  1531. ;       collection through a shell script, cron entry, or some other method.
    4 Z4 P) U3 d" Q) x5 U! T
  1532. ;       For example, the following script would is the equivalent of
    " v" {6 r- ^; @8 W8 s1 m4 \% x
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 r( ^1 ?" ?8 ~) g1 f
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm8 P# P! z1 s2 }1 o# w8 W4 w" U9 E; I

  1535. " c" b9 V( E6 A# _; w
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ) B" A4 F! C. C8 {5 _6 K, J
  1537. ; HTTP_REFERER has to contain this substring for the session to be1 q, F( J# {$ B. c: g
  1538. ; considered as valid.
    : f- ~! R. R3 o' r9 i5 E1 a- n
  1539. ; http://php.net/session.referer-check
    ; Q+ ?6 I. F' ^9 k
  1540. session.referer_check =
    2 ~. U, i$ q! y6 j6 Y

  1541. ! G5 i9 U. u7 F4 {1 o! h% r
  1542. ; How many bytes to read from the file.
    % c$ W0 _  k; @2 n, r1 O( V# U
  1543. ; http://php.net/session.entropy-length
    $ y9 L6 x5 P% L0 L1 [1 T
  1544. ;session.entropy_length = 32
    9 y) v3 c6 d  G* V. H

  1545. " A1 u* _0 j( c  G1 {" u0 \& ?0 \
  1546. ; Specified here to create the session id.  g# w) d3 x% v" H
  1547. ; http://php.net/session.entropy-file
    $ S  H8 a4 z5 G" ^% C$ {
  1548. ; Defaults to /dev/urandom
    ; @: I1 U* D; I# ~. Y
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom; b0 @' f, u, |
  1550. ; If neither are found at compile time, the default is no entropy file.
    . e* Z$ ]2 ^' H- U5 s
  1551. ; On windows, setting the entropy_length setting will activate the; ?' d, N4 p4 r
  1552. ; Windows random source (using the CryptoAPI)9 a) k4 E+ O1 e& q3 d, k" ~" `* v
  1553. ;session.entropy_file = /dev/urandom! R, V4 @# F1 c6 i/ s

  1554. 1 S& U% V2 g7 M* S- T
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects, ]9 S7 K( j3 |" h
  1556. ; or leave this empty to avoid sending anti-caching headers.6 y& Q+ }* k: @$ f
  1557. ; http://php.net/session.cache-limiter/ p% v+ R6 v9 _
  1558. session.cache_limiter = nocache  N/ e6 w: G- f% F. y
  1559.   o% n. w1 O) b
  1560. ; Document expires after n minutes.
    ( w. z  y* y' c# R$ N
  1561. ; http://php.net/session.cache-expire  s" y5 t) ^8 d% p* E# I$ }
  1562. session.cache_expire = 180
      U0 K9 z. T6 v, E' p5 \
  1563. + a, W  F$ R) m1 H
  1564. ; trans sid support is disabled by default.
    ' Z2 X% X7 a( W
  1565. ; Use of trans sid may risk your users' security.
    ; ~* J/ V7 j; S7 s
  1566. ; Use this option with caution.# n1 C' B( O+ J/ s; \& P6 k# F
  1567. ; - User may send URL contains active session ID; ^5 ?! N% F8 i
  1568. ;   to other person via. email/irc/etc.2 h; ^5 i) c6 y9 C
  1569. ; - URL that contains active session ID may be stored- M& m. @6 u! {& E- K  P" ~
  1570. ;   in publicly accessible computer.9 c9 K3 d: @8 j5 f
  1571. ; - User may access your site with the same session ID/ n0 I  w% {9 `
  1572. ;   always using URL stored in browser's history or bookmarks.! A' [* g2 i/ a4 \% k: |# x9 i
  1573. ; http://php.net/session.use-trans-sid
    1 j# h  e* o. H( g
  1574. session.use_trans_sid = 0
    . j6 S- ?: {4 b8 N0 K
  1575. ( f& y$ _3 o, p1 |+ \' _1 i
  1576. ; Select a hash function for use in generating session ids.( k, W: H' e; |3 Z0 E& o  x
  1577. ; Possible Values
    ' u8 i, @4 m, m7 i9 j- T& v
  1578. ;   0  (MD5 128 bits)! N0 F. _+ O2 q
  1579. ;   1  (SHA-1 160 bits)3 }+ n% W! G2 w6 K
  1580. ; This option may also be set to the name of any hash function supported by
    ; P% d7 `1 \2 U4 K" P0 `
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; P8 R  ~8 n6 x6 j% N
  1582. ; function.
    6 ^8 ]  }% s/ y5 m3 o
  1583. ; http://php.net/session.hash-function& w0 i- r8 }6 S- U( y( C4 T! U
  1584. session.hash_function = 0$ C! Y/ S& G7 i% s$ P2 Y  x
  1585. : ~$ g* ~- ^9 m
  1586. ; Define how many bits are stored in each character when converting" f6 a: D3 E. E7 a6 ?5 p' m" T1 Y
  1587. ; the binary hash data to something readable.# E& W" f6 Q, K" a( z
  1588. ; Possible values:
    # X, K& _2 M7 U4 y: h$ D
  1589. ;   4  (4 bits: 0-9, a-f)- ?8 s( P$ m$ d2 w- f
  1590. ;   5  (5 bits: 0-9, a-v)3 K& }9 K$ o* q6 H) V' j2 j
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* D8 T' V7 \3 z' M! G
  1592. ; Default Value: 4
    / n% M) c& p  k5 A  c- f
  1593. ; Development Value: 5
    % O8 n+ ^. g( ~+ {4 ~: U2 L1 x# r
  1594. ; Production Value: 5
    ( ^# a% j" X* D  |; M! Z
  1595. ; http://php.net/session.hash-bits-per-character/ I' Z/ d& B  L. e. m+ R
  1596. session.hash_bits_per_character = 5( W4 W& S' ^. N

  1597. ( ]5 a9 \0 I) ~  T+ X  M1 q2 s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    & _0 t. ]# Z% o3 {2 `. y
  1599. ; form/fieldset are special; if you include them here, the rewriter will+ {, J$ G! p8 Q
  1600. ; add a hidden <input> field with the info which is otherwise appended6 w- ?( a6 q* T7 ]5 N* P: A; k
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.1 z5 M- J6 `6 j- V! I
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , l5 o- W; A( G' d* ]; ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 v, e, `& j5 K9 D4 ~4 H6 X
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" @. y3 |% u; _
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . c  h4 ?# D- X
  1606. ; http://php.net/url-rewriter.tags
    3 v3 Y' o2 t0 R9 m0 B4 `
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 Q# _/ o$ ]' N+ K$ s

  1608. ' v8 W) t7 Y& B& }7 r
  1609. ; Enable upload progress tracking in $_SESSION
    " |4 `, {  T+ V. u6 |$ e/ p
  1610. ; Default Value: On$ \" [) v; O$ M6 g  b! h1 r0 U
  1611. ; Development Value: On
    + @3 i; U- G7 W# F. ^3 b( t3 S
  1612. ; Production Value: On
    6 [: M, N4 r& [" d6 z- q1 e
  1613. ; http://php.net/session.upload-progress.enabled
    " r; `( M) L. N
  1614. ;session.upload_progress.enabled = On
    ; R7 K" A  \& F, j1 u

  1615. 7 S; p0 n6 z; S5 A
  1616. ; Cleanup the progress information as soon as all POST data has been read2 \& y9 \9 ?) P1 h
  1617. ; (i.e. upload completed).
    1 D4 f' v' \$ Q* u6 p5 U9 T
  1618. ; Default Value: On: J" s/ _/ n/ U- R8 |7 Q6 P
  1619. ; Development Value: On9 k0 K0 [# C" ^8 ?# A. Z4 U
  1620. ; Production Value: On
    . s% |4 W* l3 {; n# L9 \
  1621. ; http://php.net/session.upload-progress.cleanup
    + L) E4 H  v7 b$ [
  1622. ;session.upload_progress.cleanup = On( Z, [" p+ ^: S% @, h" R9 x
  1623. ' C6 y7 r" J; l2 o; }3 D$ B
  1624. ; A prefix used for the upload progress key in $_SESSION
    ( ^& R- b9 r: j. Z1 ^7 O; \
  1625. ; Default Value: "upload_progress_"* n6 S& \- R3 H3 L- m8 ]
  1626. ; Development Value: "upload_progress_"
    & c7 r: z4 @1 \
  1627. ; Production Value: "upload_progress_"4 r3 n! t0 x. a9 p2 `; V
  1628. ; http://php.net/session.upload-progress.prefix' g! g- I. h0 o
  1629. ;session.upload_progress.prefix = "upload_progress_"
    . R2 q( S3 Z/ B1 C+ k# a8 F

  1630. $ G+ s, F- M& Y5 x8 {+ S! _
  1631. ; The index name (concatenated with the prefix) in $_SESSION/ o9 ]! F: O! P, U
  1632. ; containing the upload progress information8 S8 f% ]) Q8 Q+ F: Q) O
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 |. N1 X8 g8 S) W8 E/ s( X. X8 }
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 @& e) R. J' D: I( D3 w2 e
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"5 R3 J! i) ^3 W  d' ^/ {0 i9 Q
  1636. ; http://php.net/session.upload-progress.name: i5 G3 R1 j8 r$ F0 |$ Z
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& r  V( L/ t: i% Q
  1638. 6 w4 F- t: a. q2 f( O. r
  1639. ; How frequently the upload progress should be updated.
      I, g8 P/ d+ L1 z3 n
  1640. ; Given either in percentages (per-file), or in bytes- N0 i5 a1 x: M! {1 e9 a7 F
  1641. ; Default Value: "1%"  o3 A  {. Z% q$ e8 O
  1642. ; Development Value: "1%"
    5 f2 Z: y% F$ r" v
  1643. ; Production Value: "1%"( |* o! U% M) N. z+ L
  1644. ; http://php.net/session.upload-progress.freq9 \6 p8 g  _6 A7 f' ~0 Y
  1645. ;session.upload_progress.freq =  "1%"" E0 P* u( @9 N, D2 k0 I
  1646. , \& c4 S, n8 }! U, H( {' }
  1647. ; The minimum delay between updates, in seconds
    " K: x- {0 u6 k: h$ }
  1648. ; Default Value: 1
    9 x1 d' z# @( A' V. k
  1649. ; Development Value: 1
    * b# [! [/ D- I
  1650. ; Production Value: 1
    1 D5 e9 y& v" a0 }- Q; A: i
  1651. ; http://php.net/session.upload-progress.min-freq# h9 U( \4 e1 W* R/ q6 @% Y" E
  1652. ;session.upload_progress.min_freq = "1"
    1 i! L; h2 A# T1 L3 m; x

  1653. " f7 q+ M# Z; e9 G" C6 t' Y' L
  1654. [MSSQL]+ q! N% k* [, R
  1655. ; Allow or prevent persistent links./ G; v& [4 F7 c: w: I5 }
  1656. mssql.allow_persistent = On2 m; o* g$ X9 Z+ T( K. u3 _

  1657. ' J! y2 Y# s& V0 }" C
  1658. ; Maximum number of persistent links.  -1 means no limit.! h% n* ~9 t* f% G8 |0 u5 v$ n# C8 h
  1659. mssql.max_persistent = -1
    # T( b) Q4 n* D; s9 b; q

  1660. ; @! M: I7 c' H  p# B
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      q+ v0 p+ ]& g
  1662. mssql.max_links = -1% h9 t4 F: C$ _2 k$ ^9 {
  1663. ! ?# @: B3 D7 k* t2 j0 k( ]+ B) _: {
  1664. ; Minimum error severity to display.9 w' W  ?& Q% ?# p. m
  1665. mssql.min_error_severity = 107 F* i' n& p& }4 }  c

  1666. 7 o0 F; ^/ m: y* I5 W
  1667. ; Minimum message severity to display.
    % v' I  l0 l$ o' H9 J% V  U
  1668. mssql.min_message_severity = 109 U1 _5 g" Z- w5 \0 F7 i

  1669. . C/ d3 s" P" d) ^; |# u
  1670. ; Compatibility mode with old versions of PHP 3.0.
    / {8 ~$ ?: N# }' O/ @5 O
  1671. mssql.compatibility_mode = Off# H0 K2 V7 F/ c

  1672. : U/ v  e1 h) P' s2 c2 g
  1673. ; Connect timeout
    ( t# ~& B& q" w' N7 m9 [
  1674. ;mssql.connect_timeout = 5
    5 y9 q. m0 I2 Q5 X( ~/ Z& e3 `

  1675. # p' r' M- K( t3 D1 y+ J
  1676. ; Query timeout; `6 J1 d* k% C$ S9 O2 Y
  1677. ;mssql.timeout = 60
    . o. c9 m* s3 J. b% H& A; Z

  1678. # X: k# s' z3 O* ~: z) Y5 U
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    2 a- Z  _" q4 b
  1680. ;mssql.textlimit = 4096
    2 g" f/ [2 O( E$ n6 t1 w4 Q
  1681. $ R; u7 O- z0 n! |* Z! |/ `
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    # t  p0 J# z' S3 ^4 _* t& o
  1683. ;mssql.textsize = 4096
    * J& i' h. O/ u6 a% N& T

  1684. - }4 {8 Q8 j' W, I3 J. \( X
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    , E1 c4 L! A+ B' j$ O9 {7 _% q6 o
  1686. ;mssql.batchsize = 0! P/ O3 c6 q3 E9 m* j; L$ M% m

  1687. ) G5 y+ @* q2 q# D4 N
  1688. ; Specify how datetime and datetim4 columns are returned
    ' V6 C5 v; ^1 U6 k  Q! u
  1689. ; On => Returns data converted to SQL server settings
    1 ?, i. e7 U. m" [( w( M& B
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    5 ^  @+ y* D; r/ _3 M
  1691. ;mssql.datetimeconvert = On$ A9 o: M" [6 |
  1692. - x9 ?+ l5 D* L; d& _: O' Y
  1693. ; Use NT authentication when connecting to the server8 |8 a* D7 {1 C6 Y
  1694. mssql.secure_connection = Off
    ! N  o, @$ t- ?/ W% `0 O/ @$ \
  1695. 9 j5 B2 z" b& d6 {9 k3 G
  1696. ; Specify max number of processes. -1 = library default
    ) ?& X6 l1 h' [9 T& i4 d% F- l
  1697. ; msdlib defaults to 25
    5 Z( V8 Z$ F  P
  1698. ; FreeTDS defaults to 4096, w! y9 q6 S$ [  }1 j8 R/ _4 p# [
  1699. ;mssql.max_procs = -1
    / w3 N9 G  u1 o* P& M2 N

  1700. 6 {; v4 q5 D+ ?, \7 e% t' w( |
  1701. ; Specify client character set.5 J3 }$ Z) J- \+ b/ C- {
  1702. ; If empty or not set the client charset from freetds.conf is used$ p7 h- v5 U( G  a& E8 M. G$ M
  1703. ; This is only used when compiled with FreeTDS
    : E; @7 C9 |$ w) D: C8 s# o% t" f
  1704. ;mssql.charset = "ISO-8859-1"
    % X9 S5 n1 W1 M+ M: O, \3 Q& z) I

  1705. + \9 h, k  D4 K. N" l2 n' _* f
  1706. [Assertion]) L* U& F5 i1 J
  1707. ; Assert(expr); active by default.# E: |5 s$ z3 ?
  1708. ; http://php.net/assert.active7 v0 p: W8 A! V2 ]* {1 ^
  1709. ;assert.active = On
    . T: S- W' O! @, v' i
  1710. 3 H% [* x% ~$ k; E# a
  1711. ; Issue a PHP warning for each failed assertion.
    6 m# h& ~1 M* w
  1712. ; http://php.net/assert.warning( u4 `6 D6 g" G& }9 R, {
  1713. ;assert.warning = On
    + R; d: G. ?0 Z2 V. F

  1714. 0 @% t* M; _) C( {
  1715. ; Don't bail out by default.2 S. O" P3 j2 z: L
  1716. ; http://php.net/assert.bail" C4 w/ k* G, Q' Q
  1717. ;assert.bail = Off3 y# o% B! x6 W6 A, a5 M% U
  1718. % E0 W2 K2 c% }! S
  1719. ; User-function to be called if an assertion fails.
      p+ |! v+ D5 w
  1720. ; http://php.net/assert.callback  k' z5 ^9 U3 r9 `) |; a
  1721. ;assert.callback = 0( ^- k( ~# J4 y- h* \
  1722. : H5 q6 i2 N2 `8 D6 o" Q
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    - |1 `& t3 B/ N* B, j3 S0 l
  1724. ; error_reporting(0) around the eval().* z1 S, v  B$ t0 N4 r- h% C
  1725. ; http://php.net/assert.quiet-eval
    ) i" P+ ]. Y$ q! }  i
  1726. ;assert.quiet_eval = 0# M" P$ q$ J! N5 g- [7 |
  1727. . I7 Q; y5 R$ t4 H( P, B
  1728. [COM]* h. k  p8 P4 P2 P  j* X) U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    - ]5 C( R( W7 e0 i: U$ D1 h
  1730. ; http://php.net/com.typelib-file( `. e" r3 J! n4 s! g+ }6 v5 F
  1731. ;com.typelib_file =5 c8 j8 v$ M5 ]+ [. _

  1732. * k% i# R/ Z' \  Z
  1733. ; allow Distributed-COM calls
    / m/ v- H, r! H; Y% r! s( e' V6 Q# Y0 W
  1734. ; http://php.net/com.allow-dcom+ q% P2 ~3 a+ y
  1735. ;com.allow_dcom = true
    ! j! d% e4 {" P6 ]9 k' l
  1736. 8 o" ]. U; Z/ E4 }
  1737. ; autoregister constants of a components typlib on com_load()
    , H2 O- z& ~  F, A( A0 B* \( c
  1738. ; http://php.net/com.autoregister-typelib- b) r! A8 K% j+ H7 ~4 a# [" ]
  1739. ;com.autoregister_typelib = true
    0 y& R' \% u; l5 O$ `* Z. M
  1740. + Z4 V, w8 o) V, e( [
  1741. ; register constants casesensitive
    / O9 N8 `, T/ x5 _' g1 S) \  E
  1742. ; http://php.net/com.autoregister-casesensitive
    0 {' K$ H" _8 b* m- X
  1743. ;com.autoregister_casesensitive = false; z% j; [# z# t; r! R
  1744. ) r1 A# ]& X" q8 r7 g% M
  1745. ; show warnings on duplicate constant registrations4 h, U: f! X, q; R& J2 A
  1746. ; http://php.net/com.autoregister-verbose$ [6 z2 G2 o& @( b. a8 Z0 V# m/ H
  1747. ;com.autoregister_verbose = true
    0 v* b& X3 {( Y' x4 f
  1748. ! F+ Z+ r0 F1 X' A. s: o9 S9 \
  1749. ; The default character set code-page to use when passing strings to and from COM objects.( y0 G+ e: ~/ j* w) C2 ]$ l
  1750. ; Default: system ANSI code page4 r6 L- R7 p9 K: k7 A# N' y
  1751. ;com.code_page=
    & |- F: b8 D2 V( `

  1752. ( V5 C7 K; b- b1 b" _* {* c  H+ Q
  1753. [mbstring]4 k& Z: ?; n& o( C, X2 m; K
  1754. ; language for internal character representation.& ~% r' F: d! n* b$ O' J  w
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    1 j2 ?  Q; n. r  S
  1756. ; http://php.net/mbstring.language
    1 G1 l' `1 s) v5 ]" N
  1757. ;mbstring.language = Japanese$ x0 D0 v# G; G) @! c2 D) }* @' E
  1758. : n/ A; V  Q1 c0 @9 F5 ]
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! @: {. q" i7 i) L: D/ X% |
  1760. ; internal/script encoding.
    " _  e  L7 P" r9 j7 _4 J
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) F$ ?6 p7 @% ^" V
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; f9 o7 j) q( {; ~3 N1 e8 [* E+ R
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , B$ W) C2 _% X$ C
  1764. ;mbstring.internal_encoding =) k0 H' K1 n- B5 K
  1765. % h1 O( Z2 o3 ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.; l7 [, h* p1 ]. x# E. O# W
  1767. ; http input encoding.
    * D' d$ q( ]' b  h+ @4 y
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.  e" n+ ?9 N. }$ W5 l6 }
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used., \, C; M5 J; H8 n1 ~
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) g: d( f! K/ t* i3 |
  1771. ; http://php.net/mbstring.http-input: @- D8 K: \" s8 _6 c' y' W. `: B8 g
  1772. ;mbstring.http_input =
    ) O& c" C2 s$ R) F
  1773. 3 O/ x# P. I8 I" C
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.( |& D4 O' o5 L; a
  1775. ; http output encoding.- \/ a7 L6 r9 `; c8 }
  1776. ; mb_output_handler must be registered as output buffer to function.
    2 J( p1 i- N# U1 u$ k3 M) n5 E6 F% N
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.0 u- M$ @9 q/ q4 `( l1 K2 e: S6 h
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output, W& v+ c# o% Q! v
  1779. ; To use an output encoding conversion, mbstring's output handler must be set+ i" u% d( O& x9 u3 e1 J, I
  1780. ; otherwise output encoding conversion cannot be performed.
    " g0 B& ^) b+ S5 s6 U; S
  1781. ; http://php.net/mbstring.http-output% b, Q# A, m% X
  1782. ;mbstring.http_output =5 ^7 W6 s* _$ u

  1783. 8 H2 ?' c- U4 j8 a8 x7 L; r+ Z5 |
  1784. ; enable automatic encoding translation according to
    3 }$ }9 g( J  Y, ~0 |
  1785. ; mbstring.internal_encoding setting. Input chars are
    , f! t; P  p0 s- \3 }" n
  1786. ; converted to internal encoding by setting this to On.
    3 D# A' p) f8 o  F1 Z
  1787. ; Note: Do _not_ use automatic encoding translation for) I  C, {( {) E1 p1 I' g, w
  1788. ;       portable libs/applications.
    : y, y) t; z  d/ W
  1789. ; http://php.net/mbstring.encoding-translation
    - j! E7 k4 E# O- @9 i1 g# e  b
  1790. ;mbstring.encoding_translation = Off* j7 F" S& p" `) A. Y  S

  1791.   v* Y3 ~( Q, I1 S5 E9 v( x. n- F
  1792. ; automatic encoding detection order.
    ' \' l! _+ r& P! X
  1793. ; "auto" detect order is changed according to mbstring.language4 n6 Z" `( g' A3 d6 r
  1794. ; http://php.net/mbstring.detect-order- I/ {6 c+ K0 s1 Q) j) a
  1795. ;mbstring.detect_order = auto
    + l4 y7 r1 {, Z# v

  1796. 6 `% Y9 {1 m/ U
  1797. ; substitute_character used when character cannot be converted/ X! [$ s1 H% x2 ?/ v0 u( C2 J
  1798. ; one from another
    - j; M: b& s" H7 ?2 M
  1799. ; http://php.net/mbstring.substitute-character
    & R' j5 y) {0 w! m3 x& g8 ^' Y* U
  1800. ;mbstring.substitute_character = none
    , n2 M& W& |: Y, g/ B

  1801. & r' K2 O8 c5 t2 }4 E  {
  1802. ; overload(replace) single byte functions by mbstring functions.
    # O) Q+ B; X& Q! [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1 A' A" O# c9 n' u4 ]" X
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ; m9 v) I4 U' `, [, q) Y+ l, F( G
  1805. ; For example, 7 for overload everything.
    * _1 s" M6 F3 J# r
  1806. ; 0: No overload1 n) H" M: d) a
  1807. ; 1: Overload mail() function
    / a9 ]: \, f8 i
  1808. ; 2: Overload str*() functions
    ; H. S1 Q+ x9 `
  1809. ; 4: Overload ereg*() functions
    : d2 G: T8 R, x) V) R
  1810. ; http://php.net/mbstring.func-overload
    * V3 w' l8 W" m7 d( g' ?
  1811. ;mbstring.func_overload = 0
    4 L9 D: j/ M$ O3 @( ~1 {& c" L: Z  G
  1812. 3 A7 f" d6 Z: L. i& X' f. `
  1813. ; enable strict encoding detection.
    0 @) m& @. @# T& r
  1814. ; Default: Off! S. M5 t4 n* R2 D8 k" Q  @, s
  1815. ;mbstring.strict_detection = On( R7 ]* {8 I' e6 ~2 K$ ^0 _. x
  1816. 3 A5 g% e4 B& S- ~) G$ {
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 ^- `* Q" I4 e! Z9 l  e6 a% i  }
  1818. ; is activated.; G& K  J4 I0 u
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( n* y7 G% v3 _4 h+ r5 r9 N( ?- c
  1820. ;mbstring.http_output_conv_mimetype=
    % ]' q1 k* V% O$ |9 O1 p* s7 }8 _
  1821. ) O0 W) N  }# u) _
  1822. [gd]" L' n7 D8 F  z; P
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    0 \& O; y5 t- x# v# O6 E! b
  1824. ; a gd image. The warning will then be displayed as notices
    / C. u6 w" E! m* d) O2 L0 r
  1825. ; disabled by default) O" n; G5 K) C9 T* \: x
  1826. ; http://php.net/gd.jpeg-ignore-warning& o# e+ |( j7 w/ ^- p; g
  1827. ;gd.jpeg_ignore_warning = 0
    ) K0 i1 m/ k5 z
  1828. % G* ^. L) A5 h  S5 M( l' X
  1829. [exif]
    + E: H' e) x. e, @: o4 ?# l: Z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    # a; c" V6 o% d: t  O
  1831. ; With mbstring support this will automatically be converted into the encoding
    0 x% ?" X) J7 V. W8 V! Y, V- q; v# P
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    - C+ f9 ?' w0 j
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ; g( [. w1 T& Y3 X) [( D3 `2 M( o) f
  1834. ; intel byte order. A decode setting cannot be empty.2 ~2 b; K! O3 B
  1835. ; http://php.net/exif.encode-unicode6 D$ a; G6 E' V4 c7 H' A9 P
  1836. ;exif.encode_unicode = ISO-8859-15
    3 w4 s/ h7 Q/ a4 N+ G4 K, l# Q' N9 Y
  1837. 5 N% ^6 a8 _: p5 ^) v
  1838. ; http://php.net/exif.decode-unicode-motorola5 g3 o0 T* S( j# v
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      E$ W( y  ~& x7 x! q) |; f

  1840. 1 j# |* P! [$ I: I  X
  1841. ; http://php.net/exif.decode-unicode-intel3 U' i. c: ]+ J
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    $ r3 t+ f( O; F6 ]- X1 Q, `. Y
  1843. 8 U; Q# x; k( p9 l1 t8 h7 b+ I" U
  1844. ; http://php.net/exif.encode-jis
    & t* \" L# z1 x$ g  a5 ^2 H
  1845. ;exif.encode_jis =) C4 [" K$ e: z% d

  1846. + m6 Q0 W$ G7 ]
  1847. ; http://php.net/exif.decode-jis-motorola
    2 g" _$ |6 H& y2 v/ a
  1848. ;exif.decode_jis_motorola = JIS
    1 ?) d7 Z. H, O: J# Z* [) Q. J6 z% ]
  1849. 6 v$ [' ?3 j0 t! c4 S4 o) i  Z
  1850. ; http://php.net/exif.decode-jis-intel
    . C, q; D: T) Y' G' _
  1851. ;exif.decode_jis_intel    = JIS
    % ?& _3 ]3 M' ?; s0 J# j

  1852. . q( ^& M  h( F% s
  1853. [Tidy]
    # d% H  n* [% B9 r" w7 j& C: L% x* U
  1854. ; The path to a default tidy configuration file to use when using tidy
    + x0 Z1 s7 j1 P6 ~' V) G
  1855. ; http://php.net/tidy.default-config& T1 F4 L3 G' ^2 H* E1 Y! m
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 ^/ a/ `+ [$ C* f) q: u; S
  1857. * R# d( S7 W0 y0 r$ S
  1858. ; Should tidy clean and repair output automatically?
    7 ]! r) I* i9 f" k
  1859. ; WARNING: Do not use this option if you are generating non-html content" m7 t( y: @8 n4 `) h" c
  1860. ; such as dynamic images
    5 y! i4 e, y/ r3 o1 ?. g
  1861. ; http://php.net/tidy.clean-output
    ) i4 P7 {+ s# \$ C( a9 m
  1862. tidy.clean_output = Off
      p/ f5 ]1 K: Y7 C3 c" @7 R$ ?
  1863. . M* Q8 ^! Z1 |: b; ^" v
  1864. [soap]
    ' a! v  \2 c! _" d' w( l
  1865. ; Enables or disables WSDL caching feature.3 e; \. ]) Y0 `3 u4 k4 `
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ( b5 ?" u: s2 j2 }
  1867. soap.wsdl_cache_enabled=15 \+ ~* ~/ I7 d9 a. Z( s+ K
  1868. ) }& O/ h2 }. E0 o: s1 M
  1869. ; Sets the directory name where SOAP extension will put cache files.
    9 G5 r' W- G. C
  1870. ; http://php.net/soap.wsdl-cache-dir
    . ]2 Y# O. ~( m* o& F# N( w4 t
  1871. soap.wsdl_cache_dir="/tmp"# E8 y  F8 i5 @4 x" s5 L

  1872. * F; @9 S0 A$ u# l% a# }4 f
  1873. ; (time to live) Sets the number of second while cached file will be used
    / M" O' F& _. l6 z: u
  1874. ; instead of original one.9 ]+ G9 S1 e4 @9 a3 j  [
  1875. ; http://php.net/soap.wsdl-cache-ttl
    5 X" V# A4 g8 |
  1876. soap.wsdl_cache_ttl=864003 d& Y' g( s/ i( [  C
  1877. : R- S9 u: \% g. x- P- }" [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)" ?  b3 s" p8 T! X6 o9 N
  1879. soap.wsdl_cache_limit = 5. n9 H. h( O: |7 C" b
  1880. 5 z8 z9 q0 O4 {0 D3 s
  1881. [sysvshm]: [$ {5 a) p+ [" l5 d9 G
  1882. ; A default size of the shared memory segment6 {" L4 I" i+ T* z+ S
  1883. ;sysvshm.init_mem = 100009 |' G8 W: Y( k# }7 K  i7 m1 T
  1884. 4 s$ T6 t4 d. Y7 Q+ `- X* p& ^& P
  1885. [ldap]
    + Q" g( p, @. y' k$ R
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ' b4 N3 u, u% V( G/ Q. ~
  1887. ldap.max_links = -1
    2 p; t! J: q9 Q6 u
  1888. 9 K. h% T8 v7 \: n. @, X; r
  1889. [mcrypt]
    ( V1 I( R" g# [( [5 y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open, i; k4 t% {) }9 g( ?$ W7 z! v! x
  1891. $ @3 r  `5 N  Q( e  J5 _5 I
  1892. ; Directory where to load mcrypt algorithms7 O7 t( f0 t! w
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ' Z% F& j+ [' q7 A* s
  1894. ;mcrypt.algorithms_dir=
    / W- j. c0 R2 q: y+ s" S9 T

  1895. - {5 v  }' S. e6 ~1 ]8 A% Q
  1896. ; Directory where to load mcrypt modes
    ! l: r7 \& x1 F4 K, m& P
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) V0 D9 s5 E& M7 _
  1898. ;mcrypt.modes_dir=; e' b; A- f* m' a& U: }1 d/ P9 \# c' `7 {
  1899. 2 g9 E& e+ X" U; ]5 E
  1900. [dba]" ^8 {% ?7 Z" {3 x# G& e
  1901. ;dba.default_handler=
    7 \( _" |$ K0 @9 \, f

  1902. ' s& a- F" A! x, D9 x! z/ c
  1903. [opcache]
    9 I, x) D" ^6 a) I* q+ l
  1904. ; Determines if Zend OPCache is enabled& m5 W7 T& T$ ^4 w" P  U% n) `
  1905. ;opcache.enable=0
    : }9 t; N) x! g, z1 w& G1 `' n
  1906. 1 ]- S  [" L0 z4 X$ {* g
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    1 O! p) Q( v6 D* o( B2 @
  1908. ;opcache.enable_cli=0
    * H2 U9 s7 p$ q' f. w

  1909. 9 I0 |- }0 T- U' ~0 k0 s
  1910. ; The OPcache shared memory storage size./ o7 P4 _9 _) R' Q
  1911. ;opcache.memory_consumption=64
    5 ?: l: r+ }) D  }
  1912. - o" C* f: {- U: x2 M3 D, z
  1913. ; The amount of memory for interned strings in Mbytes.
    ; W2 F% b. p+ w4 L% a
  1914. ;opcache.interned_strings_buffer=40 K( k; ]1 {2 V

  1915. & ?9 X- a; s; i6 [7 t
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    ! F6 x4 I1 X+ J# k4 j. ^
  1917. ; Only numbers between 200 and 100000 are allowed.: w- }/ C# E" C$ W; w
  1918. ;opcache.max_accelerated_files=2000
    5 |( g6 q# I4 U; `
  1919. ! X! x7 b7 U; P! V
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% ]" V; G/ M7 a' x: z: \  |
  1921. ;opcache.max_wasted_percentage=5
    * d* S0 ?) r$ f$ n) s2 W
  1922. / c+ R1 ^) T- p8 E
  1923. ; When this directive is enabled, the OPcache appends the current working
    " q, y' U4 l) z$ ]
  1924. ; directory to the script key, thus eliminating possible collisions between) ]2 L. j2 g& S) y/ p1 B3 N: F
  1925. ; files with the same name (basename). Disabling the directive improves5 Y# c: f6 E+ f" X5 I( I2 o  B
  1926. ; performance, but may break existing applications.
    " `0 Z$ A. e" e
  1927. ;opcache.use_cwd=1
    7 t# j- X4 H9 ~6 W  [" V7 R
  1928.   N$ f/ V9 r3 m' F3 j5 e
  1929. ; When disabled, you must reset the OPcache manually or restart the
    - c1 Z- q. f8 n, y9 ]
  1930. ; webserver for changes to the filesystem to take effect.
    1 t4 d5 l5 i' _$ n2 m, d, D- N, N9 B
  1931. ;opcache.validate_timestamps=1
    7 ?# I: W0 [# L$ `  y$ ^- n% c9 E
  1932. 9 E( ~' f+ D; [7 s8 q! k
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & [, ?$ z* i  H4 T, Z
  1934. ; memory storage allocation. ("1" means validate once per second, but only1 h0 |/ f. F2 W
  1935. ; once per request. "0" means always validate)0 ^$ ^/ Z; j, o
  1936. ;opcache.revalidate_freq=2
    5 r8 ?! u3 s& n' K0 s9 W* U
  1937. 2 {. m2 S4 d$ ~9 Y" U" ?0 X) j+ ]
  1938. ; Enables or disables file search in include_path optimization
    # M# l# a8 ]3 X/ p8 U
  1939. ;opcache.revalidate_path=0
    ( k8 X/ o' }" ^

  1940. + `, q! w; m+ o: c) a/ g$ }3 {( \
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 R) X* S$ Y- b# K: v
  1942. ; size of the optimized code.  M/ }; Q7 V2 C1 o! y( s
  1943. ;opcache.save_comments=1
    & Q- o" a# ~5 S0 r3 p. Z; s
  1944. % F2 V: \! s8 Q
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"! x5 Y/ B9 x: F! b4 M
  1946. ; may be always stored (save_comments=1), but not loaded by applications. Y  {9 A# f3 U! k" h, l" q0 }2 g
  1947. ; that don't need them anyway.7 H$ U' q( l8 d. C3 g* z+ [
  1948. ;opcache.load_comments=1, G( V& j. ~4 \; v: p# I1 x" w# D
  1949. 4 ?: S; @) U- S+ M
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
      Y1 c% x9 q9 g$ K) H
  1951. ;opcache.fast_shutdown=0
    * v6 n9 B2 |5 P- ~0 V: M* l% `5 L
  1952. 3 @2 o$ E  l% g8 c/ W- U; S
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' H/ y5 }2 ]$ Y6 o: `3 G; e  K
  1954. ;opcache.enable_file_override=0
    ' j- ]+ f+ n/ B+ b+ |* o

  1955. # D3 f% g% r% P2 E' e' h$ p1 P
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache) Q& X* y; m; B; i
  1957. ; passes1 V; T9 \$ U* D2 L8 |
  1958. ;opcache.optimization_level=0xffffffff% Z! `; R1 l* M- r4 o; d4 Z

  1959. , ~' U/ z4 P' @" ~1 h
  1960. ;opcache.inherited_hack=1; q2 i. K% B& K
  1961. ;opcache.dups_fix=0
    8 S! N8 h4 V  T9 j5 N0 i- |

  1962. 1 n6 [1 _# m7 G
  1963. ; The location of the OPcache blacklist file (wildcards allowed).8 p" Z, ~" k" d9 f
  1964. ; Each OPcache blacklist file is a text file that holds the names of files; ^3 N0 C/ O" n8 B1 |8 J
  1965. ; that should not be accelerated. The file format is to add each filename
    1 C( s* e* S# e  v3 n' o: w9 [
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ) W9 X& h$ M4 |
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 ?- ^3 e0 V, R+ ?
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : z# X3 u% }, ?% ?2 J
  1969. ;opcache.blacklist_filename=8 M* {/ M* |5 P: L

  1970. 8 c: @  U, |( x8 ^! O' j* {
  1971. ; Allows exclusion of large files from being cached. By default all files# @1 ]0 Z7 _2 ]# ]
  1972. ; are cached.) ]( V  }, ?1 u. R
  1973. ;opcache.max_file_size=0
    " `! `2 w& L6 K) ^: Z/ W& B# o
  1974. " D8 x7 r* f3 J5 y* m/ J
  1975. ; Check the cache checksum each N requests.
    9 `+ P8 c. e- Z4 b; H5 q
  1976. ; The default value of "0" means that the checks are disabled.
      B3 Q6 A( K# H1 D* n1 o* x
  1977. ;opcache.consistency_checks=0
    2 ?( a; f- U& m9 i$ h
  1978. 2 o) @! M; K. `% G3 b
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ {6 N3 O1 y9 T' g
  1980. ; is not being accessed., s$ t8 ?/ C3 _4 l
  1981. ;opcache.force_restart_timeout=180( F' D7 K& S  m- S* H; q- @

  1982. . e$ G8 `. E/ {8 e" a
  1983. ; OPcache error_log file name. Empty string assumes "stderr".% F* ~, \% R5 ~% H/ y: g1 k: g
  1984. ;opcache.error_log=8 ~" ^9 W5 s5 k2 o  |1 V

  1985. % A& ^+ B% o9 K2 {
  1986. ; All OPcache errors go to the Web server log.
    1 Z  h% y8 h1 P! \  U1 ?. M
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.; j" q+ h# z" I4 u( x% u
  1988. ; You can also enable warnings (level 2), info messages (level 3) or+ _$ q0 N. c1 _( `
  1989. ; debug messages (level 4).
    ; E  y. y, A) @* n2 z. b
  1990. ;opcache.log_verbosity_level=11 F# `5 [% q* C+ Y2 b
  1991. % m* N& L. k8 |0 u7 Z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' J- s9 M( h7 b* z. Y6 |5 I8 U
  1993. ;opcache.preferred_memory_model=
    + \( k+ s. E+ e5 J
  1994. # V) w0 P; k4 O1 x9 B  J+ X, |( A
  1995. ; Protect the shared memory from unexpected writing during script execution.# Y/ ]0 ^9 @9 B7 I" t( P6 K
  1996. ; Useful for internal debugging only.$ j, L/ _3 J, \
  1997. ;opcache.protect_memory=0. C# D+ \  [' \' P

  1998. % }8 I: M5 s, u
  1999. ; Validate cached file permissions.. K: Z+ {) W: M4 h& n" ^5 `" [
  2000. ; opcache.validate_permission=0& t* N2 r. h6 z
  2001. - o  Z; A2 Q0 \! I2 }
  2002. ; Prevent name collisions in chroot'ed environment.
    9 G0 a+ U5 O/ V2 n: |
  2003. ; opcache.validate_root=0
    ! B# p1 O. N! ?3 S+ X4 f

  2004. 6 }  x5 I5 V( G" h
  2005. [curl]4 V$ t: C) o8 E6 Z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an$ G- B6 r3 K, }; |- l7 o
  2007. ; absolute path.: V( [0 E( i7 n/ W2 c8 T8 @
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    3 w, [/ _6 w2 u0 ^1 Y  Q

  2009. - Y3 `3 |- ~; x5 |* j
  2010. [openssl]
    + E* e& G+ c. O% U
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ; Y+ T) Z- E1 H2 l
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should& l9 i/ L. q$ W" c' x9 s/ a+ i$ o
  2013. ; not specify a value for this directive as PHP will attempt to use the5 _! }/ M# }2 X# N- ?
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    & H5 Q/ M8 k& y: }5 i  o
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 ]( k5 a% N' k/ T* V& \3 B; b6 t
  2016. ; option.+ {- z% }8 A* h/ y" M+ o$ i
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 T9 v& e' B' a) w& b

  2018. # N' z' N5 r1 Z2 r2 a
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    : S# s* k6 i% ^
  2020. ; directory pointed to by openssl.capath is searched for a suitable
      b" X. m0 D/ A4 P; [: `; o
  2021. ; certificate. This value must be a correctly hashed certificate directory.- D. Z2 L! M( O0 x3 p
  2022. ; Most users should not specify a value for this directive as PHP will1 Y+ U' ^0 \2 u; b5 M
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,& x" T$ i& [, O  B5 m: Y, N1 c8 m+ X. K
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    0 t$ [7 U7 `3 S) Q4 ]7 @
  2025. ; SSL stream context option.; `3 r' h& s, c) |5 X
  2026. ;openssl.capath=& I# t: [' n" ]3 r
  2027. / P! \+ ^+ X4 e5 G( s' M; E
  2028. ; Local Variables:
    ! U0 t; X* Y* f0 Y8 e
  2029. ; tab-width: 4
    . }* D8 j5 I, X$ _
  2030. ; End:+ p) J& ]$ C2 z+ f

  2031. , o  A! I# [- \1 Y! {4 ]& l
  2032. ;eaccelerator
    ; C2 p6 Q' Q' s
  2033. ) ]; Q" U. d6 j- B$ H; Z: F2 V8 n
  2034. ;ionCube
    ) ]9 `( ]" W3 V$ ?& n

  2035. 8 P3 x+ J. |2 x1 w; m
  2036. ;opcache
    2 {0 P2 R: H# I: Q! J" e
  2037. $ Q8 _5 j% n* i. F% M, h
  2038. [Zend ZendGuard Loader]
    3 V. Q" A9 N0 v5 G3 J- Y" _1 G
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' M1 s& C6 Q7 p8 N
  2040. zend_loader.enable=18 G; D3 t8 f+ d  J5 ?
  2041. zend_loader.disable_licensing=0
    : i( w  y- S+ r; N* R
  2042. zend_loader.obfuscation_level_support=3& |: Z: n) W! a0 @0 Z# b
  2043. zend_loader.license_path=
    - m1 r8 V/ H, |
  2044. / ~' I9 u* g( p  K
  2045. ;xcache/ H  q: S5 U* H8 h) h

  2046. , f5 X+ m) U) k
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146926 {, m8 W% z7 t. N# S# D7 Y- ]

  {+ n7 k% H) @4 |" n" g$ E' x8 p5 ~
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,3 \2 ~- W, l) {% B

1 |5 x: S2 V: w1 ~6 jDiscuz!程序版本选择:6 m; D/ Y: z0 g* H9 A
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,. v3 L5 e, {. r1 I& A" [
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
( ]' o  k1 Q& D" ]+ r$ BDiscuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
! {- `+ d$ N% z4 N5 X3 s
/ u6 z1 E6 T+ ~* mDiscuz!插件模板版本选择:
2 h$ e( W1 i# a很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
3 n4 {) J% ?, G! f# t针对这个问题做个统一的普及:9 b$ ?  d- ~9 h# X9 Q4 O
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% |; {$ @- U9 }" ?
  m8 B* q6 ?( T5 b+ p4 Y. M" E所以7 s0 m0 ]% E) Y! F1 q. f
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
7 k. R4 l* _2 C# Y打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。& }2 j6 r2 m8 K6 \. C$ v
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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